/* ==========================================================================
   Ethowhisp – pages.cleaned.css (cleaned / restructured)
   Goal:
   - Same visual result, but structured + deduplicated
   - Duplicates merged via grouped selectors and CSS variables
   - Former selector names are documented near merges

   Notes on merges (search for "FORMERLY"):
   - .top-scroll-menu / .top-menu style merges are in components.cleaned.css (not here)
   - In THIS file:
     * .sticky-header definitions consolidated
     * .login-box / .notify-box / .user-counter / .checkbox-wrapper consolidated
     * .notice was conflicting globally → now scoped (verification vs create)
     * MOD-page duplicates consolidated
   ========================================================================== */

/* ==========================================================================
   0) Global helpers used by page styles
   ========================================================================== */
:root{
  /* Footer chips (FORMERLY duplicated in static-pages block) */
  --footer-font: .9rem;
  --footer-gap: .35rem;
  --footer-pad-y: .25rem;
  --footer-pad-x: .6rem;
  --footer-border: rgba(255,255,255,.12);

  /* Sticky header spacing (used by community jump links) */
  --sticky-offset: 80px;

  /* Moderation page color fallbacks */
  --mod-success: #1fb56c;
  --mod-success-press: #15955a;
  --mod-danger:  #e05666;
  --mod-danger-press: #be4756;

  /* Report OK/NOTOK color system (FORMERLY duplicated blocks) */
  --color-ok:        var(--green-300, #2ee6a6);
  --bg-ok:           color-mix(in oklab, var(--color-ok) 18%, transparent);
  --br-ok:           color-mix(in oklab, var(--color-ok) 35%, transparent);
  --color-notok:     var(--red-300, #ff7a7a);
  --bg-notok:        color-mix(in oklab, var(--color-notok) 18%, transparent);
  --br-notok:        color-mix(in oklab, var(--color-notok) 35%, transparent);
}

/* Utility: Full-bleed inside a padded container */
.full-bleed{
  --bleed: var(--padding, 1rem);
  margin-left: calc(-1 * var(--bleed));
  margin-right: calc(-1 * var(--bleed));
  width: calc(100% + (2 * var(--bleed)));
}

/* ==========================================================================
   1) Verification page (FORMERLY: css/pages/verification.css)
   ========================================================================== */

.verification-wrapper{
  color: var(--color-text);
  font-family: Arial, sans-serif;
}
.verification-instruction{
  font-size: var(--font-lg);
  margin-bottom: 1.5rem;
}
.verification-code-box{
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
  background-color: var(--color-box);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.verification-form{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.verification-form label{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: bold;
}

/* Einheitlicher Look für Date-Input */
.verification-form input[type="date"]{
  width: 100%;
  padding: 0.75rem;
  background-color: #3a2b60;
  color: var(--color-text);
  border-radius: var(--border-radius);
  margin-top: 0.5rem;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark; /* verhindert helle native UI (Safari/Chrome) */
}
.verification-form input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 0.85;
  cursor: pointer;
}

.verification-form input[type="file"],
.verification-form select{
  width: 100%;
  padding: 0.75rem;
  background-color: #3a2b60;
  color: var(--color-text);
  border-radius: var(--border-radius);
  margin-top: 0.5rem;
}
.verification-form select{
  appearance: none;
  border: none;
}

/* Submit button (FORMERLY: button[type="submit"] AND button.submit-btn) */
.verification-form button[type="submit"],
.verification-form button.submit-btn{
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}
.verification-form button[type="submit"]:hover{
  background-color: var(--color-primary-dark, #6f3fff);
}
.verification-form button.submit-btn:hover{
  background-color: var(--color-primary-hover, var(--color-primary-dark, #6f3fff));
}

#message{
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Hinweisbox + Upload Sections (FORMERLY: .notice, .upload-section...) */
.verification-wrapper .notice{
  background-color: var(--color-box);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-text);
  opacity: 0.95;
}
.upload-section{
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}
.upload-section h2{
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-title, var(--color-text));
  font-weight: normal;
}
.upload-section .hint{
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.upload-section input[type="file"]{
  width: 100%;
  padding: 0.6rem;
  background-color: #3a2b60;
  color: var(--color-text);
  border-radius: var(--border-radius);
  cursor: pointer;
  border: none;
}

.field-error{
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Verification: Mobile */
@media (max-width: 600px){
  .verification-wrapper{ padding: 1.2rem; }

  body[data-app="spa"] .verification-wrapper h1{
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .verification-code-box{
    font-size: 1.1rem;
    padding: 1rem;
    background-color: #2f1c4f;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
  }

  .verification-form{ gap: 1.2rem; }
  .verification-form label{ font-size: 0.95rem; }

  .verification-form input[type="file"],
  .verification-form select{
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
  }

  .verification-form button[type="submit"],
  .verification-form button.submit-btn{
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
    margin-top: 1rem;
  }

  #message{
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
  }

  .verification-wrapper .notice{
    font-size: 0.9rem;
    padding: 0.9rem 1rem;
  }

  .upload-section{
    padding: 0.9rem 1rem;
    margin-bottom: 1.2rem;
  }
  .upload-section h2{ font-size: 1rem; }
  .upload-section .hint{
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  .upload-section input[type="file"]{
    font-size: 0.95rem;
    padding: 0.65rem;
  }
}
.idcard-viewer{
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  background: rgba(0,0,0,0.92);
}
.idcard-viewer.is-open{ display:block; }

.idcard-viewer__panel{
  position: fixed;
  z-index: 10060;
  left: 8px;
  top: calc(8px + env(safe-area-inset-top));
  bottom: auto;
  width: 220px;
  background: rgba(25, 15, 50, 0.85);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  padding: 6px;
}

/* wichtig: kein vertical stacking erzwingen */
.idcard-viewer__panel input + input{ margin-top:0; }

.idcard-viewer__row{
  display:grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap:4px;
}
.idcard-viewer__row input{
  height:32px;
  font-size:13px;
  padding:3px 5px;
}

.idcard-viewer__panel button{
  margin-top:6px;
  height:32px;
  font-size:13px;
  padding:0;
}

.idcard-viewer__img{
  touch-action:none;
  transform-origin:center center;
}
/* Modal: Meta kompakter */
.verification-meta-compact { margin-bottom: 8px; font-size: 13px; line-height: 1.2; opacity: .9; }

/* Bilder untereinander */
.verification-images { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
.verification-imglabel { font-size: 12px; opacity: .8; margin-bottom: 4px; }
.verification-img { width: 100%; border-radius: 12px; display: block; }

/* Ausweis-Viewport: fix, overflow hidden -> kein Layout-Wachstum beim Zoom */
.idcard-viewport {
  width: 100%;
  height: min(46vh, 420px); /* fixierter sichtbarer Bereich */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.04);
  touch-action: none; /* wichtig für pinch/pan */
}

/* Bild transformiert sich im Viewport */
.idcard-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;        /* Radius sitzt am Viewport */
  transform-origin: 0 0;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;

  /* wichtig: Browser darf das Bild nicht "begrenzen" */
  max-width: none;
  max-height: none;
}

/* 3 Inputs in einer Reihe */
.verification-inputs-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.verification-label { font-size: 12px; opacity: .8; }

/* ==========================================================================
   2) Static “Info” pages base (FORMERLY: css/pages/static-pages.css)
   Applies to pages rendered under the SPA shell.
   ========================================================================== */

body[data-app="spa"]{
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: Arial, sans-serif;
  padding: 0;
}

body[data-app="spa"] main{
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0.3rem;
  text-align: center;
}

body[data-app="spa"] h1{
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--color-primary);
}
body[data-app="spa"] h2{
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 1.5rem 0 0.5rem;
  text-align: left;
}
body[data-app="spa"] h3{
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  text-align: left;
}

p, li{
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--color-muted);
  text-align: left;
}
ul{
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
ul li{ margin-bottom: 0.4rem; }

.compact-center-text{
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
}

a{ color: var(--color-primary); }
a:hover{ text-decoration: none; }

section{
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

/* ==========================================================================
   3) Sticky header (FORMERLY duplicated in static-pages + index page)
   ========================================================================== */

.sticky-header{
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(30, 18, 64, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);

  /* default padding (FORMERLY: static-pages variant) */
  padding: calc(env(safe-area-inset-top, 0px) + 0.5rem) 1.2rem 0.5rem;
}
header.sticky-header{
  height: auto;
}

body.page-index .sticky-header{
  /* page-index used larger padding (FORMERLY: index.css block) */
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) 2rem 1rem;
}

.sticky-header h1{
  font-weight: bold;
  color: var(--color-title, var(--color-text));
  padding-top: 0.6rem; /* keep from static-pages */
  font-size: 1.2rem;   /* default */
}
body.page-index .sticky-header h1{
  font-size: var(--font-xxl);
  color: var(--color-text);
}

.sticky-header .subtitle{
  font-size: 0.9rem;
  margin-top: 0.2rem;
  color: var(--color-muted);
  text-align: center;
}
body.page-index .sticky-header .subtitle{
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   4) “Box” patterns: login / notify / counter / checkbox
   (FORMERLY duplicated between static-pages and index page)
   ========================================================================== */

.login-box,
.notify-box,
.user-counter{
  background-color: var(--color-box);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-sizing: border-box;

  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body.page-index .login-box{ padding: 0.8rem; }
body.page-index .notify-box{ padding: 1.5rem; margin-bottom: 2rem; }

.login-box input,
.notify-box input{
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: var(--border-radius);
  background-color: #3a2b60;
  color: var(--color-text);
  font-size: 0.95rem;
}
body.page-index .notify-box input{
  margin: 1rem 0;
  padding: 0.75rem;
}

.login-links{
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: center;
}
body.page-index .login-links{ font-size: 0.6rem; }

.login-links a{
  color: var(--color-primary);
  margin: 0 0.5rem;
}

.user-counter{
  font-weight: bold;
  color: var(--color-muted);
}
.user-counter p{ margin-bottom: 0; font-weight: bold; color: var(--color-muted); }

.checkbox-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 24px;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
}
.checkbox-wrapper input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: #8f5aff;
}
.checkbox-wrapper a{
  text-decoration: underline;
  color: #ffffff;
}
.checkbox-wrapper a:hover{
  color: #c9a7ff;
  text-decoration: none;
}
.plain-label{ cursor: default; }

/* ==========================================================================
   5) Footer chips for SPA info pages (FORMERLY: footer block in static-pages)
   ========================================================================== */
/* ------------------------------------------------------------
   Footer Chips – Fallback (robust)
   Greift auch, wenn Markup/Klassen abweichen.
------------------------------------------------------------ */

/* Container: entweder #footer-links (neu) oder legacy footer.footer */
body.landing-page #footer-links,
body.static-page #footer-links,
body.landing-page #footer-container footer.footer,
body.static-page footer.footer,
body.static-page footer.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  padding: 18px 12px 28px;
  font-size: 0; /* versteckt " · " Textnodes */
}

/* Links: entweder .footer-chip (neu) oder alle Footer-Links im Container */
body.landing-page #footer-links .footer-chip,
body.static-page #footer-links .footer-chip,
body.landing-page #footer-container footer.footer a,
body.static-page footer.footer a,
body.static-page footer.footer-links a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;

  text-decoration: none;
  color: rgba(205, 171, 255, 0.95);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.landing-page #footer-links .footer-chip:hover,
body.static-page #footer-links .footer-chip:hover,
body.landing-page #footer-container footer.footer a:hover,
body.static-page footer.footer a:hover,
body.static-page footer.footer-links a:hover {
  background: rgba(0, 0, 0, 0.30);
}
/* ==========================================================================
   6) Community rules section extras (badges, anchors, jump button)
   ========================================================================== */

.badge{
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  line-height: 1;
  margin-right: 0.35rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.severity--light{ color:#ffd47a; border-color:rgba(255,212,122,0.3); }
.severity--severe{ color:#ff7a7a; border-color:rgba(255,122,122,0.35); }

.rules{ counter-reset: rule; list-style: none; padding-left: 0; margin: 0; }
.rule{
  margin: 1.2rem 0;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius, 0.6rem);
  background: rgba(255,255,255,0.02);
}
.rule h3{ margin: 0 0 0.3rem 0; }
.rule .explanation{ margin: 0.2rem 0 0.4rem; color: var(--color-muted, #ccc); }
.rule .examples{ display: grid; gap: 0.35rem; margin-top: 0.4rem; }
.rule .examples .ok{ border-left: 3px solid #6bd36b; padding-left: 0.6rem; }
.rule .examples .violation{ border-left: 3px solid #ff7a7a; padding-left: 0.6rem; }

.sanction-legend{ list-style: disc; padding-left: 1.2rem; margin: 0; }

.page-community section{ overflow: hidden; }

.scroll-footer-link{
  text-align: center;
  margin: 1rem 0;
}
.scroll-footer-link a{
  font-size: 0.75rem;
  color: var(--color-muted);
  opacity: 0.6;
  text-decoration: none;
}
.scroll-footer-link a:hover{
  opacity: 1;
  text-decoration: underline;
}

.has-jump{ position: relative; }

/* Ultra-dezenter Top-Right-Button */
.jump-footer{
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--color-muted);
  text-decoration: none;
  opacity: .18;
  pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 2;
}
.has-jump:hover .jump-footer,
.has-jump:focus-within .jump-footer{
  opacity: .55;
  pointer-events: auto;
}
.jump-footer:hover,
.jump-footer:focus-visible{
  opacity: .9;
  transform: scale(1.05);
  outline: none;
}

@media (pointer: coarse){
  .jump-footer{
    opacity: .35;
    pointer-events: auto;
    width: 28px;
    height: 28px;
  }
  .jump-footer::after{
    content: "";
    position: absolute;
    inset: -6px;
  }
}

/* Scroll anchor offset for rule links */
.rule,
[id^="r"]{
  scroll-margin-top: var(--sticky-offset);
}

/* ==========================================================================
   7) Reset password page (FORMERLY: css/pages/reset-password.css)
   ========================================================================== */

.reset-wrapper{
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  color: var(--color-text, #ffffff);
  font-family: system-ui, sans-serif;
}
.reset-wrapper h1{
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--primary-color, #a259ff);
  margin-bottom: 1rem;
}
.reset-wrapper p{
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--color-muted, #bbb);
}
.reset-form{
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.reset-form input[type="password"]{
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: var(--border-radius, 8px);
  border: 1px solid #ddd;
  background-color: var(--input-bg, #3a2b60);
  color: var(--color-text, #ffffff);
}
.reset-form button[type="submit"]{
  background-color: var(--color-primary, #a259ff);
  color: white;
  border: none;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border-radius: var(--border-radius, 8px);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.reset-form button[type="submit"]:hover{
  background-color: var(--color-primary-dark, #6f3fff);
}
.back-link{
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-muted, #bbb);
  font-size: 0.95rem;
  text-decoration: underline;
}
@media (max-width: 600px){
  .reset-wrapper{ padding: 1.2rem; }
  .reset-form input[type="password"]{
    font-size: 1rem;
    padding: 0.8rem;
  }
  .reset-form button[type="submit"]{
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
    margin-top: 0.5rem;
  }
  .back-link{
    margin-top: 1rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   8) Moderation pages (FORMERLY: /css/pages/mod.css + duplicates)
   ========================================================================== */

/* Meta-Zeile im Case */
.mod-meta{
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.mod-meta .line{
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.mod-meta .id{
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  opacity: 0.9;
}

/* Regel-Badge */
.badge-rule{
  display: inline-block;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(165, 94, 255, .15);
  border: 1px solid rgba(165, 94, 255, .35);
  color: var(--color-title);
  font-weight: 600;
  font-size: .85rem;
}

/* „Gebündelte Meldungen“ */
.mod-bundled{
  margin-top: .25rem;
  color: var(--color-muted);
  font-size: .9rem;
}

/* Vorschau */
.mod-preview .small{ color: var(--color-muted); }
.mod-preview .body{
  margin-top: .5rem;
  line-height: 1.5;
}

/* Buttonreihe (FORMERLY duplicated .mod-actions blocks) */
.mod-actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.mod-actions .btn{
  flex: 1 1 260px; /* 220→260 merged */
}

/* Toggle + Textarea */
.mod-toggle{
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
#ban-reason-wrap .input{
  min-height: 72px;
  width: 100%;
}

/* Divider (FORMERLY duplicated .divider blocks) */
.divider{
  height: 1px;
  background: rgba(255,255,255,.08);
  border: none;
}

/* Approve / Violation buttons */
.btn-approve{
  background: var(--mod-success);
  border-color: transparent;
}
.btn-approve:hover,
.btn-approve:focus{
  background: var(--mod-success-press);
}
.btn-violation{
  background: var(--mod-danger);
  border-color: transparent;
}
.btn-violation:hover,
.btn-violation:focus{
  background: var(--mod-danger-press);
}

/* Sperrungs-Begründung (FORMERLY duplicated .mod-reason blocks) */
.mod-reason{
  display: grid;
  gap: .5rem;
  margin: .25rem 0 1rem;
}
.mod-reason .input{
  width: 100%;
  min-height: 110px; /* merged: 84/110 → 110 */
  resize: vertical;
  padding: .9rem 1rem;
  line-height: 1.45;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: inherit;
}
.mod-reason .input:focus{
  outline: none;
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
.mod-reason .input.invalid{
  border-color: var(--mod-danger);
  box-shadow: 0 0 0 3px rgba(224,86,102,.18);
}
.mod-reason__footer{
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-content: space-between;
}
.mod-reason__counter{ color: var(--color-muted); }

/* Card list */
.open-reports-list{ display: grid; gap: .75rem; }

.modal-card{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--border-radius);
  padding: .9rem 1rem;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .04s ease;
}
.modal-card:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.20);
}
.modal-card:active{ transform: translateY(1px); }

.modal-card__meta{ color: var(--color-muted); }
.modal-card__rule{ margin-top: .35rem; }
.modal-card__snippet{ margin-top: .35rem; }
.modal-card__reason{ margin-top: .25rem; color: var(--color-muted); }

/* Sperr-Antrag Bereich */
.mod-ban-toggle{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: .25rem 0 .5rem;
}
.mod-ban-toggle__label{
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

/* ==========================================================================
   9) Info pages bottom padding for footer nav (glossar/regeln/community)
   ========================================================================== */

body.info-regeln main,
body.info-community main,
body.info-glossar main{
  padding-bottom: calc(50px + env(safe-area-inset-bottom) + 8px);
}

/* ==========================================================================
   Glossary (SPA + legacy styles unified)
   - Alpha rail fixed right (with dynamic top/bottom offsets)
   - Fix for global .card-expanded hiding (components.cleaned.css)
   ========================================================================== */

.glossary{
  padding-right: 40px; /* Platz für Rail rechts */
}

/* Alpha rail (rechts, fixed) */
.alpha-rail{
  position: fixed;
  right: 8px;
  top: calc(var(--alpha-rail-top, 96px) + env(safe-area-inset-top));
  bottom: calc(var(--alpha-rail-bottom, 56px) + env(safe-area-inset-bottom));
  height: calc(100dvh - var(--alpha-rail-top, 96px) - var(--alpha-rail-bottom, 56px)
               - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  opacity: .9;
  user-select: none;

  z-index: 600; /* wichtig: über cards/hover-layer */
}

.alpha-rail button{
  font: inherit;
  font-size: clamp(8px, 1.1vh, 10px);
  line-height: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--color-text);
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  min-height: 12px;
}

.alpha-rail button.active{
  background: var(--color-primary);
  color: var(--color-primary-text);
  border-color: rgba(255,255,255,.25);
  font-weight: 700;
}

@media (max-width: 600px){
  .alpha-rail{ right: 4px; }
}

/* Sections + divider */
.letter-section{
  margin: 1.2rem 0 .6rem;
  scroll-margin-top: calc(var(--alpha-rail-top, 96px) + 12px);
}

.letter-divider{
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .2rem 0 .6rem;
  color: var(--color-title);
  opacity: .9;
  font-weight: 700;
}
.letter-divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}

/* Glossary cards */
.glossary-card.post-card{
  cursor: pointer;
  overflow: hidden;
}

/* FIX: components.cleaned.css versteckt .card-expanded global */
.glossary-card.expanded .card-expanded{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* verhindert 120px Abstand pro Buchstabe (kommt global von .post-card:last-of-type) */
.glossary #glossaryMount .post-card:last-of-type{
  margin-bottom: 10px;
}

/* EINMALIG Platz nach unten (statt pro Section) */
.glossary #glossaryMount{
  padding-bottom: calc(52px + env(safe-area-inset-bottom) + 16px);
}

/* Glossar-Container: kein Hover-Transform */
.card.glossary{
  cursor: default;
  will-change: auto;
}
.card.glossary:hover{
  transform: none;
}

/* ==========================================================================
   10) Index page (landing) (FORMERLY: css/pages/index.css)
   ========================================================================== */

body.landing-page .sticky-header {
  padding-bottom: 1.2rem;
}

body.landing-page .sticky-header .subtitle {
  margin-top: 0.4rem;
  display: block;
}

																																																																													  
body.page-index{
  background-color: var(--color-bg);
  color: var(--color-text);
  padding: 1rem;
  font-family: Arial, sans-serif;
}
body.page-index main{
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
body.page-index h1{
  font-size: var(--font-xxl);
  margin-bottom: 1rem;
  font-weight: bold;
}
body.page-index p{
  font-size: var(--font-lg);
  margin-bottom: 1.5rem;
}

body.page-index footer{
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 3rem;
  padding-bottom: 0;
}
body.page-index footer a{
  color: var(--color-primary);
  text-decoration: underline;
  margin: 0 0.5rem;
}

/* ==========================================================================
   11) Impressum / Datenschutz / Community long-form pages
   (FORMERLY three separate blocks with near-identical main styles)
   ========================================================================== */

:is(.page-impressum, .page-datenschutz, .page-community) main{
  max-width: 900px;
  margin: 5rem auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1.05rem;
}
:is(.page-impressum, .page-datenschutz, .page-community) h1{
  font-size: var(--font-xxl);
  margin-bottom: 2rem;
  color: var(--color-primary);
  text-align: center;
}
.page-impressum section{ margin-bottom: 2rem; }
.page-impressum p{ margin-bottom: 1rem; color: var(--color-muted); }
.page-impressum a{ color: var(--color-primary); text-decoration: underline; }
.page-impressum footer{
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.page-datenschutz section{
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-datenschutz h2{
  font-size: var(--font-xl);
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.page-datenschutz p{ margin-bottom: 1rem; color: var(--color-muted); }
.page-datenschutz a{ color: var(--color-primary); text-decoration: underline; }
.page-datenschutz footer{
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.page-community section{
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-community h2{
  font-size: var(--font-xl);
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.page-community h3{
  font-size: var(--font-lg);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}
.page-community ul{
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-community ul li{ margin-bottom: 0.5rem; }

/* FOOTER selector in original was global `footer{...}` inside community.css.
   That would affect all pages. Now scoped to `.page-community footer` (safer). */
.page-community footer{
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ==========================================================================
   12) Feedback page (FORMERLY: css/pages/feedback.css)
   ========================================================================== */

textarea#feedback-content{
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
textarea#feedback-content:focus{
  outline: none;
  border-color: var(--color-primary, #8a2be2);
}

/* Feedback checkbox label (WARNING: generic `label` was global in original)
   FORMELY: `label { ... }` and `label input[type="checkbox"] { ... }`
   Now scoped to feedback page to avoid breaking other pages/components. */
body.page-feedback label{
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-top: 1rem;
  color: #ddd;
}
body.page-feedback label input[type="checkbox"]{
  accent-color: var(--color-primary, #8a2be2);
  width: 18px;
  height: 18px;
}

#send-feedback-btn{
  background-color: var(--color-primary, #8a2be2);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1.5rem;
  width: 100%;
}
#send-feedback-btn:hover{
  background-color: var(--color-primary-hover, #b266ff);
}
#feedback-success-msg{
  color: #00d56a;
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
}

/* ==========================================================================
   13) DM page emoji picker (FORMERLY: css/pages/dm.css)
   ========================================================================== */

.emoji-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
  justify-items: center;
}
.emoji-option{
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.emoji-option:hover{ transform: scale(1.3); }
.emoji-option.selected{
  outline: 2px solid var(--color-primary);
  border-radius: 0.4rem;
}

																																																																																																		
/* --- Chat: Longpress Context Menu (Message Popover) --- */
.chat-messages { position: relative; }

.msg-popover {
  position: absolute;
  z-index: 50;
  min-width: 170px;
  max-width: 220px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(24, 24, 24, 0.96);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.38);
  backdrop-filter: blur(10px);
}

.msg-popover[hidden] { display: none !important; }

.msg-popover__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.msg-popover__btn:hover { background: rgba(255,255,255,0.08); }
.msg-popover__btn:active { background: rgba(255,255,255,0.12); }

.msg-popover__btn.danger { color: rgba(255, 120, 120, 0.98); }

.msg-popover__sep {
  height: 1px;
  margin: 6px 0;
  background: rgba(255,255,255,0.10);
}

.msg-popover__hint {
  font-size: 12px;
  opacity: 0.75;
  padding: 6px 8px 2px;
}

/* Optional: subtle highlight for the message that opened the popover */
.message.is-popover-target {
  outline: 2px solid rgba(255,255,255,0.10);
  outline-offset: 2px;
}

/* Edited marker */
.msg-edited {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.70;
}
#chat-inputrow{ display:flex; }
	
/* ==========================================================================
   14) Create + Comment editor pages (FORMERLY: css/pages/create.css)
   ========================================================================== */

#create-container{
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}
#create-container main{
  flex: 1;
  padding: 0.5rem 0.3rem;
  display: flex;
  flex-direction: column;
}
.intro-text{
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}
.char-counter{
  align-self: flex-end;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

textarea#postText{
  flex: 1;
  font-size: 16px;
  resize: none;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--color-box);
  color: var(--color-text);
}
textarea#postText::placeholder{ color: var(--color-muted); }

.color-picker{
  display: flex;
  justify-content: space-around;
  padding: 12px;
  border-top: 1px solid #e0e0e0;
}
.color-option{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #ccc;
  position: relative;
  outline: none;
}
.color-option.is-selected,
.color-option[aria-pressed="true"]{
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #00000055;
  transform: scale(1.05);
}

/* IMPORTANT:
   `.notice` was global and conflicted with verification notice.
   FORMELY:
     - verification.css defined `.notice { ... }`
     - create.css defined `.notice { ... }` later (overriding everywhere)
   NOW:
     - verification notice is `.verification-wrapper .notice`
     - create editor notice is `#create-container .notice`  */
#create-container .notice{
  background: #ffe4e1;
  padding: 0.25rem;
  margin: 0;
  border-radius: 5px;
  color: #b91c1c;
  font-weight: bold;
  font-size: 10px;
  line-height: 1.3;
}

/* Post-Einstellungen Modal */
.settings-block{ margin-bottom: 1.5rem; }
.settings-block h4{
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-text);
  font-weight: bold;
}
.toggle-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.toggle-row label{
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.toggle-row input[type="checkbox"]{ accent-color: #7c3aed; }

/* Comment editor */
#comment-container{
  display: flex;
  flex-direction: column;
  height: 100vh;
}
#comment-container main{
  flex: 1;
  padding: 0.5rem 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#comment-container textarea#commentText{
  flex: 1;
  font-size: 16px;
  resize: none;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--color-box, #fff);
  color: var(--color-text, #000);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
#comment-container textarea#commentText::placeholder{ color: var(--color-muted); }

/* Watermark options + custom text color */
.wm-options{
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}
textarea#postText.use-custom-color{
  color: var(--postTextColor, var(--color-text));
}
textarea#postText.use-custom-color::placeholder{
  color: var(--color-muted);
}

/* ==========================================================================
   15) Blocked page (FORMERLY: css/components/blocked.css, but was inside pages.css)
   ========================================================================== */

.blocked-avatar{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(255, 255, 255, .08);
  margin-right: 12px;
}
.blocked-subtitle{ opacity: .85; font-size: .9rem; }
.blocked-badges{
  margin-top: 6px;
  display: flex;
  gap: 6px;
}
.blocked-badge{
  font-size: .75rem;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
}
.blocked-badge--ok{ background: rgba(0, 200, 0, .12); }
.blocked-badge--muted{ background: rgba(255, 255, 255, .06); }

.blocked-skeleton .blocked-avatar,
.blocked-skeleton .blocked-line{
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.12), rgba(255,255,255,.06));
}
.blocked-line{
  height: 10px;
  border-radius: 6px;
  margin: 6px 0;
}
.blocked-w-60{ width: 60%; }
.blocked-w-40{ width: 40%; }

/* ==========================================================================
   16) Beta page (FORMERLY: css/pages/beta.css)
   ========================================================================== */

body.beta-page{
  font-family: Arial, sans-serif;
  background: transparent;
  color: var(--color-text);
}
.beta-page [hidden]{ display: none !important; }

.beta-page .beta-header{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
}
.beta-page .beta-header .header-title{
  grid-column: 2;
  justify-self: center;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.beta-page .beta-header{ --ep-scale: 1.0; } /* only change this */

.beta-page .beta-header .points-badge{
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex: 0 0 auto;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  gap: calc(0.15rem * var(--ep-scale, .65));
  padding: calc(0.15rem * var(--ep-scale, .65)) calc(0.35rem * var(--ep-scale, .65));
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  opacity: .85;
}
.beta-page .beta-header .points-badge .points-label{
  font-size: calc(0.45rem * var(--ep-scale));
  opacity: .7;
  line-height: 1;
}
.beta-page .beta-header .points-badge #points-value{
  font-weight: 500;
  font-size: calc(0.50rem * var(--ep-scale));
  min-width: 2ch;
  text-align: right;
  line-height: 1;
}
/* =====================================================================
   Feed – Empty Placeholder
   ===================================================================== */

.feed-empty {
  padding: 14px;
}

.feed-empty-hero {
  position: relative;
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(255, 180, 255, 0.18), transparent 45%),
    radial-gradient(700px 360px at 90% 30%, rgba(140, 220, 255, 0.14), transparent 40%),
    radial-gradient(520px 320px at 30% 95%, rgba(190, 255, 210, 0.10), transparent 55%),
    rgba(255,255,255,0.04);
}

.feed-empty-watermark {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 12px;
  opacity: .65;
  letter-spacing: .4px;
  user-select: none;
  pointer-events: none;
}

.feed-empty-watermark strong { opacity: .95; }

.feed-empty-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.feed-empty-sub {
  margin: 8px 0 0;
  opacity: .85;
  line-height: 1.45;
}

.feed-empty-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.feed-empty-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  opacity: .92;
}

.feed-empty-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.feed-empty-actions .modal-option {
  width: 100%;
}

.feed-empty-actions .filter-btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   17) Admin reports cards (FORMERLY: mixed blocks, plus one syntax fix)
   ========================================================================== */

/* Basics */
.admin-reports .report-card{
  background: var(--panel-bg, rgba(255,255,255,0.03));
  /* FIX: removed stray ')' from original */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.report-card .meta{ font-size: .85rem; opacity: .8; }
.report-card .snippet{
  margin-top: .35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .9;
}

/* Expand/Collapse */
.card-expanded{ overflow: hidden; max-height: 0; transition: max-height .25s ease; }
.report-card.expanded .card-expanded{ max-height: 1200px; }

/* Header row */
.report-card .rc-top{
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.report-card time{ opacity: .8; font-variant-numeric: tabular-nums; }

/* Status badge */
.report-card .rc-status{
  display: inline-block;
  padding: .1rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
  line-height: 1;
}

/* Safe breaking for long strings inside cards */
.card code,
.card span,
.card div{
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Status colors: unified naming */
.rc-status.majority_ok{
  color: var(--color-ok);
  background: var(--bg-ok);
  border-color: var(--br-ok);
}
.rc-status.majority_violation{
  color: var(--color-notok);
  background: var(--bg-notok);
  border-color: var(--br-notok);
}

.report-card .rc-title{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

/* Meta grid */
.report-card .rc-meta{
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: .35rem;
}
.report-card .rc-meta > div{ display: grid; grid-template-columns: 1fr; }
.report-card .rc-meta dt{
  margin: 0;
  opacity: .75;
  font-size: .9rem;
}
.report-card .rc-meta dd{
  margin: 0;
  word-break: break-word;
}

/* Votes */
.votes li{ margin: .2rem 0; line-height: 1.25; }
.votes .vote-line strong{ margin-right: .25rem; }
.votes .vote-flag{ opacity: .85; font-size: .82rem; margin-left: .35rem; }

.rc-mod{
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: .5rem;
  display: grid;
  gap: .4rem;
}
.rc-mod .vote-line{
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}

.vote-chip{
  display: inline-block;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .2px;
  padding: .08rem .5rem;
  border-radius: .6rem;
  line-height: 1.1;
  vertical-align: baseline;
  border: 1px solid transparent;
}
.vote-chip.ok{    color: var(--color-ok);    background: var(--bg-ok);    border-color: var(--br-ok); }
.vote-chip.notok{ color: var(--color-notok); background: var(--bg-notok); border-color: var(--br-notok); }

.row-inline{ display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }

.report-card .rc-people{
  display: grid;
  row-gap: .35rem;
}
.report-card .rc-people > div{
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.rule-badge{
  display: inline-block;
  padding: .08rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1.15;
}

.snippet-box{
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: .35rem;
}
.snippet-title{
  font-size: .85rem;
  opacity: .75;
}
.snippet-pre{
  margin: 0;
  padding: .6rem .7rem;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  font: inherit;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 360px){
  .report-card{ padding: 10px 12px; }
  .report-card .rc-title{ font-size: 1rem; }
}
@media (min-width: 680px){
  .report-card .rc-meta{
    grid-template-columns: max-content 1fr;
    column-gap: 1rem;
    row-gap: .3rem;
  }
  .report-card .rc-meta > div{ display: contents; }
  .report-card .rc-meta dt{ text-align: right; opacity: .65; }
}

/* Buttons */
.report-card .btn{
  font: inherit;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  padding: .25rem .5rem;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.report-card .btn-xs{ font-size: .8rem; padding: .2rem .45rem; }
.report-card .btn-danger{ background: rgba(255,0,0,.08); border-color: rgba(255,0,0,.2); }

.card-list > .report-card{ margin-bottom: .75rem; }

/* Ban request special */
.report-card.ban-request{ cursor: pointer; }
.report-card.ban-request + .report-card.ban-request{ margin-top: .75rem; }

.ban-card-collapsed .rc-status{
  padding: .15rem .45rem;
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1;
  background: rgba(255,0,0,.08);
  border: 1px solid rgba(255,0,0,.25);
}
.ban-card-collapsed .chip{
  padding: .1rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  font-variant-numeric: tabular-nums;
}
.ban-people-line{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: .5rem .75rem;
  margin-top: .5rem;
}
.ban-people-line .meta{
  display: block;
  opacity: .8;
  font-size: .9rem;
  margin-bottom: .15rem;
}

/* Expanded */
.ban-card-expanded{ display: none; }
.ban-card-expanded .sep{
  border: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  margin: .75rem 0;
}
.ban-card-expanded .section{ margin-top: .5rem; }
.ban-card-expanded .section-title{
  font-weight: 700;
  opacity: .9;
  margin-bottom: .25rem;
}

/* Role badges */
.role-badge{
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .08rem .4rem;
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.role-badge.admin{     background: rgba(80,120,255,.10);  border-color: rgba(80,120,255,.25); }
.role-badge.moderator{ background: rgba(120,255,160,.08); border-color: rgba(120,255,160,.25); }
.role-badge.supermod{  background: rgba(255,180,60,.10);  border-color: rgba(255,180,60,.25); }

.ban-card-expanded .snippet-pre{
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.15);
  padding: .5rem .6rem;
  border-radius: 8px;
}

.ban-card-expanded .votes.small{
  list-style: none;
  padding: 0;
  margin: .25rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.ban-card-expanded .vote-line{
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  align-items: center;
  padding: .25rem 0;
  border-bottom: 1px dotted rgba(255,255,255,.08);
}
.ban-card-expanded .vote-line:last-child{ border-bottom: 0; }
.ban-card-expanded .votes.small .role-badge{
  font-size: .72rem;
  padding: .02rem .4rem;
}
.ban-card-expanded .vote-chip-wrap{ margin-top: .15rem; }
.flag.flag-ban{
  padding: .05rem .4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,120,60,.3);
  background: rgba(255,120,60,.1);
}


