/* VEYDRIS Chat + Ascension im Profil-Stil (29.10.2026): ruhiger, kompakter, nichts übertrieben */
@layer pv.pv {
  /* ---------- Welt-Chat ---------- */
  body.vey-renewal #view .world-chat-page .world-chat-page__hero { padding: 14px 20px !important; }
  body.vey-renewal #view .world-chat-page .world-chat-page__hero h1 { font-size: 26px !important; margin: 2px 0 !important; }
  body.vey-renewal #view .world-chat-page .world-chat-page__hero p { margin: 0 !important; font-size: 13px !important; opacity: .8 !important; }
  /* Doppelte Überschrift im Chat-Kasten weg, Regeln + Discord in eine ruhige Zeile */
  body.vey-renewal #view .world-chat > header { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px 14px !important; padding: 0 0 10px !important; border: 0 !important; }
  body.vey-renewal #view .world-chat > header > div { display: none !important; }
  body.vey-renewal #view .world-chat .wc-rules { flex: 1 1 280px !important; margin: 0 !important; padding: 8px 36px 8px 12px !important; position: relative !important; border: 1px solid rgba(255,255,255,.07) !important; border-radius: 10px !important; background: rgba(255,255,255,.03) !important; color: var(--pv-muted, #a59c8b) !important; font-size: 12px !important; line-height: 1.4 !important; }
  body.vey-renewal #view .world-chat .wc-rules-close { position: absolute !important; right: 6px !important; top: 6px !important; width: 24px !important; height: 24px !important; min-width: 0 !important; padding: 0 !important; border-radius: 7px !important; }
  body.vey-renewal #view .world-chat .wc-discord { background: transparent !important; border: 1px solid rgba(143,155,255,.5) !important; color: #c3caff !important; box-shadow: none !important; padding: 7px 12px !important; border-radius: 10px !important; font-size: 11px !important; letter-spacing: .08em !important; }
  /* Nachrichten: schlanke Zeilen */
  body.vey-renewal #view .world-chat .wc-log { padding: 6px !important; border-radius: 14px !important; background: rgba(8,7,14,.55) !important; }
  body.vey-renewal #view .world-chat .wc-message { padding: 8px 12px !important; margin: 0 0 4px !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; box-shadow: none !important; transition: background .15s !important; }
  body.vey-renewal #view .world-chat .wc-message:hover, body.vey-renewal #view .world-chat .wc-message:focus-within { background: rgba(255,255,255,.045) !important; }
  body.vey-renewal #view .world-chat .wc-message.is-mine { background: rgba(232,196,128,.08) !important; box-shadow: inset 2px 0 0 rgba(232,196,128,.65) !important; }
  body.vey-renewal #view .world-chat .wc-message.is-mention { background: rgba(143,155,255,.1) !important; box-shadow: inset 2px 0 0 rgba(143,155,255,.7) !important; }
  /* Melden / Stumm nur beim Darüberfahren (Touch: bleibt, aber klein und blass) */
  body.vey-renewal #view .world-chat .wc-message .wc-tools { opacity: 0 !important; transition: opacity .15s !important; }
  body.vey-renewal #view .world-chat .wc-message:hover .wc-tools, body.vey-renewal #view .world-chat .wc-message:focus-within .wc-tools { opacity: 1 !important; }
  @media (hover: none) { body.vey-renewal #view .world-chat .wc-message .wc-tools { opacity: .55 !important; } }
  /* Eingabe in einer Zeile */
  body.vey-renewal #view .world-chat .wc-form { display: grid !important; grid-template-columns: 1fr auto auto !important; gap: 8px !important; align-items: center !important; }
  body.vey-renewal #view .world-chat .wc-form > label { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; }
  body.vey-renewal #view .world-chat .wc-form input { min-width: 0 !important; height: 44px !important; border-radius: 12px !important; }
  body.vey-renewal #view .world-chat .wc-form .button { height: 44px !important; min-width: 78px !important; padding: 0 16px !important; border-radius: 12px !important; width: auto !important; }
  body.vey-renewal #view .world-chat .wc-hint { display: block !important; margin-top: 6px !important; text-align: right !important; opacity: .55 !important; font-size: 11px !important; }
  /* ---------- Ascension: Rang-Karten ---------- */
  body.vey-renewal #view .sanctum-rune { display: grid !important; grid-template-columns: 52px 1fr auto !important; align-items: center !important; gap: 14px !important; padding: 12px 16px !important; border-radius: 14px !important; }
  body.vey-renewal #view .sanctum-rune .ascension-icon { width: 48px !important; height: 48px !important; font-size: 22px !important; border-radius: 12px !important; display: grid !important; place-items: center !important; }
  body.vey-renewal #view .sanctum-rune h3 { margin: 2px 0 !important; font-size: 15px !important; }
  body.vey-renewal #view .sanctum-rune p { margin: 0 !important; font-size: 12.5px !important; line-height: 1.4 !important; color: var(--pv-muted, #a59c8b) !important; }
  body.vey-renewal #view .sanctum-rune > .button { min-width: 108px !important; min-height: 40px !important; border-style: solid !important; }
  @media (max-width: 640px) {
    body.vey-renewal #view .world-chat .wc-form { grid-template-columns: 92px 1fr !important; }
    body.vey-renewal #view .world-chat .wc-form input { grid-column: 1 / -1 !important; }
    body.vey-renewal #view .world-chat .wc-form .button { width: 100% !important; }
    body.vey-renewal #view .world-chat .wc-form .wc-share { grid-column: 1 !important; grid-row: 2 !important; }
    body.vey-renewal #view .world-chat .wc-form button[type="submit"] { grid-column: 2 !important; grid-row: 2 !important; }
    body.vey-renewal #view .world-chat .wc-rules { font-size: 11.5px !important; }
    body.vey-renewal #view .sanctum-rune { grid-template-columns: 44px 1fr !important; gap: 10px 12px !important; padding: 12px !important; }
    body.vey-renewal #view .sanctum-rune .ascension-icon { width: 42px !important; height: 42px !important; }
    body.vey-renewal #view .sanctum-rune > .button { grid-column: 1 / -1 !important; min-height: 38px !important; }
  }
}
