/* HQ-Fenster: Raid Night (30.10.) – Bild füllt die ganze Karte, sichtbares Schließen-×, kein loser Mond */
@layer pv.pv {
  html body.vey-renewal .raid-night-call > section {
    display: grid !important;
    grid-template-columns: minmax(0, 11fr) minmax(0, 10fr) !important;
    align-items: stretch !important;
    width: min(940px, 100%) !important;
    min-height: min(500px, 84vh) !important;
    border-radius: 10px !important;
    padding: 0 !important;
    background:
      radial-gradient(70% 90% at 24% 55%, rgba(210, 40, 70, .38), transparent 72%),
      radial-gradient(60% 50% at 100% 0%, rgba(120, 60, 200, .18), transparent 70%),
      linear-gradient(160deg, #1b0c17, #07040a) !important;
    box-shadow: 0 40px 120px -20px #000, 0 0 100px -24px rgba(230, 50, 80, .85), inset 0 0 0 1px rgba(236, 212, 158, .12) !important;
  }
  html body.vey-renewal .raid-night-call .rnc-moon { display: none !important; }
  html body.vey-renewal .raid-night-call .rnc-boss {
    grid-column: 1 !important; grid-row: 1 !important;
    min-height: 100% !important; align-self: stretch !important;
    margin: 0 !important;
    background: var(--boss-art) 50% 22% / cover no-repeat !important;
    -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, #000 62%, transparent 100%) !important;
    filter: saturate(1.12) contrast(1.05) !important;
  }
  html body.vey-renewal .raid-night-call .rnc-copy {
    grid-column: 2 !important; grid-row: 1 !important;
    align-self: center !important;
    display: grid !important; gap: 14px !important;
    padding: 56px 60px 56px 8px !important;
  }
  html body.vey-renewal .raid-night-call .rnc-copy > span {
    justify-self: start !important;
    padding: 5px 12px !important;
    border: 1px solid rgba(255, 154, 166, .4) !important;
    border-radius: 99px !important;
    background: rgba(200, 40, 60, .16) !important;
    font-size: 11px !important; letter-spacing: .26em !important;
  }
  html body.vey-renewal .raid-night-call .rnc-copy h2 { font-size: clamp(34px, 3.6vw, 48px) !important; line-height: 1.04 !important; }
  html body.vey-renewal .raid-night-call .rnc-copy p { font-size: 15.5px !important; line-height: 1.6 !important; color: #eadada !important; }
  html body.vey-renewal .raid-night-call .rnc-actions { gap: 6px !important; margin-top: 8px !important; justify-items: stretch !important; }
  html body.vey-renewal .raid-night-call .rnc-actions .button.primary { width: 100% !important; min-width: 0 !important; min-height: 52px !important; font-size: 13px !important; letter-spacing: .12em !important; }
  html body.vey-renewal .raid-night-call .rnc-later { justify-self: center !important; padding: 10px 16px !important; font-size: 12px !important; }
  html body.vey-renewal .raid-night-call .collection-reveal-close {
    position: absolute !important; z-index: 20 !important; top: 52px !important; right: 54px !important;
    width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important;
    font-size: 0 !important; color: transparent !important; line-height: 0 !important;
    border: 1px solid rgba(236, 212, 158, .55) !important; border-radius: 50% !important;
    background: rgba(12, 8, 16, .85) !important; box-shadow: 0 4px 16px rgba(0, 0, 0, .5) !important;
  }
  html body.vey-renewal .raid-night-call .collection-reveal-close::before,
  html body.vey-renewal .raid-night-call .collection-reveal-close::after {
    content: "" !important; display: block !important; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px;
    background: #f3d59a; transform: translate(-50%, -50%) rotate(45deg);
  }
  html body.vey-renewal .raid-night-call .collection-reveal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
  html body.vey-renewal .raid-night-call .collection-reveal-close:is(:hover, :focus-visible)::before,
  html body.vey-renewal .raid-night-call .collection-reveal-close:is(:hover, :focus-visible)::after { background: #fff; }
  @media (max-width: 720px) {
    html body.vey-renewal .raid-night-call > section { grid-template-columns: 1fr !important; grid-template-rows: auto auto !important; min-height: 0 !important; max-height: 94svh; overflow-y: auto !important; }
    html body.vey-renewal .raid-night-call .rnc-boss { grid-column: 1 !important; grid-row: 1 !important; min-height: clamp(190px, 34svh, 280px) !important; background-position: 50% 18% !important; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent) !important; mask-image: linear-gradient(180deg, #000 60%, transparent) !important; }
    html body.vey-renewal .raid-night-call .rnc-copy { grid-column: 1 !important; grid-row: 2 !important; padding: 0 34px 38px !important; text-align: center !important; justify-items: center !important; }
    html body.vey-renewal .raid-night-call .rnc-copy > span { justify-self: center !important; }
    html body.vey-renewal .raid-night-call .collection-reveal-close { top: 46px !important; right: 46px !important; }
  }
}

@layer pv.pv {
  /* Alle Schließen-Knöpfe der Fund-/Belohnungsfenster: × als Linien gezeichnet, nie leer */
  html body.vey-renewal :is(.collection-reveal-close, .reward-close) {
    font-size: 0 !important; color: transparent !important; line-height: 0 !important;
    border: 1px solid rgba(236, 212, 158, .55) !important; border-radius: 50% !important;
    background: rgba(12, 8, 16, .88) !important; position: relative;
  }
  html body.vey-renewal :is(.collection-reveal-close, .reward-close)::before,
  html body.vey-renewal :is(.collection-reveal-close, .reward-close)::after {
    content: "" !important; display: block !important; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px;
    background: #f3d59a; transform: translate(-50%, -50%) rotate(45deg);
  }
  html body.vey-renewal :is(.collection-reveal-close, .reward-close)::after { transform: translate(-50%, -50%) rotate(-45deg); }
  html body.vey-renewal :is(.collection-reveal-close, .reward-close):is(:hover, :focus-visible)::before,
  html body.vey-renewal :is(.collection-reveal-close, .reward-close):is(:hover, :focus-visible)::after { background: #fff; }
}

@layer pv.pv {
  /* Kleine Bestätigungsfenster: größer, luftiger, Gold-Titel */
  html body.vey-renewal .vey-confirm-layer .vey-confirm:not(.cleanup) {
    width: min(460px, calc(100vw - 32px)) !important;
    padding: 34px 34px 28px !important;
    gap: 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 30px 90px -20px #000, 0 0 70px -24px rgba(180, 120, 255, .55) !important;
  }
  html body.vey-renewal .vey-confirm-layer .vey-confirm:not(.cleanup) h2,
  html body.vey-renewal .vey-confirm-layer .vey-confirm:not(.cleanup) h3 { font-size: clamp(24px, 3vw, 30px) !important; line-height: 1.12 !important; }
  html body.vey-renewal .vey-confirm-layer .vey-confirm:not(.cleanup) p { font-size: 15px !important; line-height: 1.55 !important; }
  html body.vey-renewal .vey-confirm-layer .vey-confirm:not(.cleanup) .vey-confirm__actions { margin-top: 10px !important; gap: 12px !important; }
  html body.vey-renewal .vey-confirm-layer .vey-confirm:not(.cleanup) .vey-confirm__actions .button { flex: 1 1 0 !important; min-height: 50px !important; font-size: 13px !important; letter-spacing: .1em !important; }
  /* Heldenmenü-Schließen */
  html body.vey-renewal .hud-sheet__close {
    font-size: 0 !important; color: transparent !important; position: relative !important; overflow: visible !important;
    border: 1px solid rgba(236, 212, 158, .55) !important; border-radius: 50% !important; background: rgba(12, 8, 16, .88) !important;
  }
  html body.vey-renewal .hud-sheet__close::before, html body.vey-renewal .hud-sheet__close::after {
    content: "" !important; display: block !important; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: #f3d59a; transform: translate(-50%, -50%) rotate(45deg);
  }
  html body.vey-renewal .hud-sheet__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
}

@layer pv.pv {
  /* Kampf am Handy (PLAYVEYDRIS): Elite-Name nie mitten im Wort trennen, Turm-Karte mit Innenabstand, CRIT/HEAVY-Chip über der Zahl */
  html body.vey-renewal .encounter-intro .ei-card { max-width: min(92vw, 520px) !important; padding-inline: clamp(14px, 4vw, 28px) !important; box-sizing: border-box !important; }
  html body.vey-renewal .encounter-intro .ei-card b { overflow-wrap: normal !important; word-break: normal !important; hyphens: none !important; text-wrap: balance; font-size: clamp(20px, 6vw, 30px) !important; line-height: 1.12 !important; }
  @media (max-width: 640px) {
    html body.vey-renewal .combat-toolbar .combat-identity { padding-inline: 14px !important; box-sizing: border-box !important; }
    html body.vey-renewal .floating-damage > small { position: absolute !important; bottom: 100% !important; left: 50% !important; transform: translateX(-50%) !important; margin: 0 0 2px !important; font-size: 11px !important; white-space: nowrap !important; z-index: 0 !important; }
  }
}

@layer pv.pv {
  /* 30.10.: „Realm travelers · 25 NPCs“ links unten entfernt – nur echte Spieler zählen */
  html body.vey-renewal .realm-travelers { display: none !important; }
}
