/* Internet Jury — built from the concept art in /concept art:
   newspaper / courtroom editorial. Newsreader serif headlines, deep burgundy (#8b1a24) call-to-action,
   newsprint textures, docket numbers, torn-paper verdicts and a rubber stamp. Light and dark. */
@font-face { font-family: "Newsreader"; src: url("/jury/fonts/newsreader-800.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/jury/fonts/newsreader-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #f4f2ed; --surface: #fdfcf9; --surface-2: #ece8df; --ink: #16140f; --muted: #57524a; --line: #dcd5c8;
  --accent: #8b1a24; --accent-ink: #ffffff; --accent-soft: #f4e4e3; --focus: #1f5fd6;
  --red: #8b1a24; --cta: #8b1a24; --cta-hover: #74141d; --bar: #8b1a24; --bar-2: #aaa39a; --track: #e2ddd3;
  --paper: #faf7f0; --paper-ink: #16140f; --news: #e6e1d6; --news-line: rgb(22 20 15 / 5.5%);
  --pa: #8b1a24; --pa-soft: #f4e4e3; --pb: #4e5a66; --pb-soft: #e3e7ea; --gold: #7a5200; --gold-soft: #f6ecd6; --warn: #7a5200;
  --radius: 4px; --radius-sm: 4px;
  --shadow: 0 1px 2px rgb(22 20 15 / 6%), 0 4px 14px rgb(22 20 15 / 6%);
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-display: var(--font-serif);
  --wrap-wide: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214; --surface: #18191c; --surface-2: #222327; --ink: #f1eee8; --muted: #b4afa6; --line: #34353a;
    --accent: #f0939a; --accent-ink: #111214; --accent-soft: #3a1d20; --focus: #8ab4f8;
    --red: #f0939a; --bar: #b8323d; --bar-2: #6f6c67; --track: #2c2d31;
    --paper: #1b1c1f; --paper-ink: #f1eee8; --news: #16171a; --news-line: rgb(241 238 232 / 6%);
    --pa: #f0939a; --pa-soft: #3a1d20; --pb: #9fb3c4; --pb-soft: #1f2a33; --gold: #f2c14e; --gold-soft: #33290f; --warn: #f2c14e;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 6px 20px rgb(0 0 0 / 30%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111214; --surface: #18191c; --surface-2: #222327; --ink: #f1eee8; --muted: #b4afa6; --line: #34353a;
  --accent: #f0939a; --accent-ink: #111214; --accent-soft: #3a1d20; --focus: #8ab4f8;
  --red: #f0939a; --bar: #b8323d; --bar-2: #6f6c67; --track: #2c2d31;
  --paper: #1b1c1f; --paper-ink: #f1eee8; --news: #16171a; --news-line: rgb(241 238 232 / 6%);
  --pa: #f0939a; --pa-soft: #3a1d20; --pb: #9fb3c4; --pb-soft: #1f2a33; --gold: #f2c14e; --gold-soft: #33290f; --warn: #f2c14e;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 6px 20px rgb(0 0 0 / 30%);
  color-scheme: dark;
}

body { background: var(--bg); }
h1, h2, .case-title, .ct-title, .spoken, .section-title, .page-title, .hero-h { font-family: var(--font-serif); }
h1 { font-weight: 800; letter-spacing: -.015em; }
h2 { font-weight: 800; }
.i { width: 1.05em; height: 1.05em; flex: none; }
a { color: var(--accent); }

/* ------------------------------------------------------------------ buttons */
.btn { border-radius: var(--radius); font-weight: 700; }
.btn-primary { --b: var(--cta); --i: #ffffff; border-color: var(--cta); text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; }
.btn-primary:hover { --b: var(--cta-hover); border-color: var(--cta-hover); filter: none; }
.btn-outline { --b: transparent; --i: var(--ink); border-color: var(--red); text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { font-size: 1rem; }
.pill { border-radius: var(--radius); }
.pill-on { background: var(--cta); color: #fff; border-color: var(--cta); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips .pill { min-height: 44px; padding: .3rem .9rem; font-size: .9rem; color: var(--ink); background: var(--surface); }
.chips .pill:hover { border-color: var(--ink); }
.chips .pill-on { color: #fff; background: var(--cta); }

/* ------------------------------------------------------------------ header & footer */
.site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header-inner { min-height: 72px; gap: 1rem; }
.brand { margin-right: 1.5rem; }
.brand-word { font-family: var(--font-serif); font-weight: 800; text-transform: uppercase; font-size: 1.85rem; letter-spacing: -.02em; word-spacing: .14em; line-height: 1; white-space: nowrap; color: var(--ink); }
.bw-jury { color: var(--red); }
.site-nav { margin-right: auto; gap: .6rem; }
.site-nav a { font-family: var(--font-serif); font-weight: 500; font-size: 1.08rem; color: var(--ink); border-radius: 0; padding-inline: .55rem; }
.site-nav a:hover { background: transparent; text-decoration: underline; text-underline-offset: .3em; }
.site-nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px 0 var(--red); }
.theme-toggle { border: 0; background: transparent; }
.header-cta { min-height: 46px; padding: .55rem 1.3rem; font-size: .9rem; }
@media (max-width: 760px) {
  .site-header-inner { min-height: 60px; }
  .brand-word { font-size: 1.45rem; }
  .theme-toggle { margin-left: auto; }
  .nav-menu summary { border: 0; background: transparent; }
  .nav-menu-panel a:not(.btn) { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; }
}
@media (max-width: 360px) { .brand-word { font-size: 1.25rem; } }
.site-footer { background: var(--surface); }
.footer-nav a { font-weight: 500; font-size: .9rem; }

/* ------------------------------------------------------------------ shared page furniture */
.page-head { margin: .5rem 0 1rem; }
.page-kicker, .hero-kicker { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 .3rem; }
.page-title { text-transform: uppercase; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); line-height: .95; margin: 0 0 .5rem; }
.section-head { margin: 2.25rem 0 .9rem; align-items: center; }
.section-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); text-transform: uppercase; letter-spacing: -.005em; margin: 0; }
.see-all { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-serif); font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.see-all:hover { text-decoration: underline; }
.docket-no { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-variant-numeric: tabular-nums; }
.case-cat { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.case-cat:hover { color: var(--ink); text-decoration: underline; }
.plain-link { color: inherit; text-decoration: none; }
.plain-link:hover { text-decoration: underline; }
.case-img { display: block; width: 100%; height: 100%; object-fit: cover; background: #2b2926; }
.case-img.is-art { filter: saturate(.9); }
/* <picture> (WebP sizes, src/responsive.js) must not change the box: the <img> inside lays out as before. */
.docket-photo picture, .vs-photo picture, .ct-media picture { display: contents; }

/* newsprint texture (hero, verdict stage) */
.newsprint, .hero, .verdict-stage {
  background-color: var(--news);
  background-image:
    radial-gradient(ellipse at 30% 40%, rgb(255 255 255 / 45%), transparent 60%),
    repeating-linear-gradient(0deg, var(--news-line) 0 2px, transparent 2px 9px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .verdict-stage { background-image: repeating-linear-gradient(0deg, var(--news-line) 0 2px, transparent 2px 9px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero, :root:not([data-theme="light"]) .verdict-stage { background-image: repeating-linear-gradient(0deg, var(--news-line) 0 2px, transparent 2px 9px); } }

/* ------------------------------------------------------------------ home hero */
.home-main { padding-top: 0; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero.has-photo { background: #d9d4c9 var(--hero) right center / cover no-repeat; }
@media (max-width: 899px) { .hero.has-photo { background-image: var(--hero-sm, var(--hero)); } }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(244 242 237 / 94%) 0%, rgb(244 242 237 / 80%) 45%, rgb(244 242 237 / 0%) 72%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 2rem; min-height: clamp(280px, 30vw, 380px); padding-block: 2rem; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero-kicker { color: var(--ink); letter-spacing: .1em; margin-bottom: .5rem; }
.hero-h { font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 1.6rem + 6vw, 6rem); line-height: .86; letter-spacing: -.03em; margin: 0 0 .6rem; }
.hero-h span { display: block; }
.hero-l2 { color: var(--red); }
.hero-line { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; margin: 0 0 .6rem; }
.hero-meta { margin: 0; color: var(--muted); font-size: .95rem; }
.hero-meta strong { color: var(--ink); }
.clipping { position: relative; justify-self: end; width: min(100%, 470px); aspect-ratio: 5 / 3.3; }
.clipping::before, .clipping::after { content: ""; position: absolute; inset: 6% 2% 4% 6%; background: #e9e4d8; box-shadow: 0 2px 10px rgb(22 20 15 / 18%); transform: rotate(-8deg); background-image: repeating-linear-gradient(0deg, rgb(22 20 15 / 10%) 0 2px, transparent 2px 8px); }
.clipping::after { transform: rotate(-3deg) translate(-4%, 2%); background-color: #efebe1; }
.clip-sheet { position: absolute; inset: 4% 0 6% 10%; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .55rem; padding: 1.5rem 1.6rem; background: #f7f4ec; color: #221f19; transform: rotate(-4deg); box-shadow: 0 6px 22px rgb(22 20 15 / 22%); font-family: "Courier New", Courier, ui-monospace, monospace; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, .7rem + .8vw, 1.35rem); line-height: 1.15;
  background-image: linear-gradient(transparent calc(100% - 38px), rgb(22 20 15 / 7%) calc(100% - 38px)), repeating-linear-gradient(0deg, transparent 0 6px, rgb(22 20 15 / 5%) 6px 7px); }
.clip-sheet .clip-head { font-size: .62em; letter-spacing: .14em; color: #8b1a24; border-bottom: 2px solid #221f19; padding-bottom: .4rem; margin-bottom: .3rem; }
@media (max-width: 899px) { .clipping { display: none; } .hero-inner { min-height: 0; padding-block: 1.5rem 1.75rem; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero.has-photo::before { background: linear-gradient(90deg, rgb(17 18 20 / 94%) 0%, rgb(17 18 20 / 80%) 45%, rgb(17 18 20 / 10%) 75%); } :root:not([data-theme="light"]) .clipping { filter: brightness(.86); } }
:root[data-theme="dark"] .hero.has-photo::before { background: linear-gradient(90deg, rgb(17 18 20 / 94%) 0%, rgb(17 18 20 / 80%) 45%, rgb(17 18 20 / 10%) 75%); }
:root[data-theme="dark"] .clipping { filter: brightness(.86); }
.home-body { padding-bottom: 1rem; }

/* ------------------------------------------------------------------ case tiles ("cases being judged") */
.ct-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ct-card { height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; box-shadow: var(--shadow); }
.ct-media { aspect-ratio: 12 / 5; overflow: hidden; background: #2b2926; }
.ct-body { display: flex; flex-direction: column; flex: 1; padding: .7rem .2rem .1rem; }
.ct-meta { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 .2rem; }
.ct-cat { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ct-title { font-weight: 500; font-size: 1.32rem; line-height: 1.14; letter-spacing: -.01em; margin: 0 0 .55rem; text-wrap: pretty; }
.ct-title a { color: var(--ink); text-decoration: none; padding-block: 11px; } /* inline padding: a 44px tap area, no line moves */
.ct-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.ct-votes { margin: auto 0 .45rem; font-size: .92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ct-split { margin: 0 0 .8rem; display: grid; gap: .3rem; }
.ct-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: center; gap: .6rem; }
.ct-row dt { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-row dd { margin: 0; display: grid; grid-template-columns: 1fr 2.8em; align-items: center; gap: .5rem; }
.ct-track { display: block; height: 10px; background: var(--track); }
.ct-track span { display: block; height: 100%; width: var(--pct); background: var(--bar); }
.ct-row.is-b .ct-track span { background: var(--bar-2); }
.ct-pct { font-size: .85rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ct-early { margin: 0 0 .8rem; }
.ct-split:has(+ .ct-note) { margin-bottom: .3rem; }
.ct-note { margin: 0 0 .8rem; }
.ct-btn { min-height: 44px; font-size: .85rem; }

/* ------------------------------------------------------------------ judge card (home loop + case page) */
.feed { min-height: 360px; }
.case-card { position: relative; border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.6rem); }
.case-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .8rem; margin: 0 0 .4rem; }
.case-title { font-weight: 500; font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.2rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 1rem; text-wrap: pretty; }
.docket { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .docket { grid-template-columns: minmax(0, 1fr) minmax(240px, 32%); align-items: start; } }
.docket-photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 899px) { .docket-photo { display: none; } }
.story { display: grid; gap: .8rem; }
@media (min-width: 700px) { .story { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .story > .case-update, .story > .side-none { grid-column: 1 / -1; } }
.side { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: .8rem 1rem .3rem; }
.side-h { font-family: var(--font-body); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .45rem; color: var(--muted); }
.side-note { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .78rem; }
.side-b .side-note { display: block; }
.comment-actions .linklike.muted { color: var(--muted); text-decoration: none; }
.comment-actions .linklike.muted:hover { text-decoration: underline; }
.side-text p, .case-update p { font-family: var(--font-serif); font-weight: 500; font-size: 1.06rem; line-height: 1.5; margin: 0 0 .65rem; }
.side-dot { display: none; }
.side-none { margin: 0; }
.pre-wrap { white-space: pre-wrap; }
.case-update { border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--surface); padding: .8rem 1rem .3rem; }
.story.is-clamped .side-text { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.story.is-clamped .case-update { display: none; }
@media (max-width: 699px) { .story.is-clamped .side-b { display: none; } }
.read-more { margin-top: .6rem; }
.case-foot { margin: .7rem 0 0; }

.deliberate { display: grid; gap: 1.5rem; margin-top: 1.4rem; grid-template-columns: minmax(0, 1fr); }
.has-aside .deliberate { margin-top: 1.75rem; }
@media (min-width: 900px) {
  .has-aside .deliberate { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem; }
  .has-aside .jury-room { border-left: 1px solid var(--line); padding-left: 2rem; }
  [data-feed] .deliberate { max-width: 560px; }
}

/* verdict radio list */
.verdict-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.verdict-q { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .5rem; padding: 0; }
.verdict-opts { display: grid; gap: .15rem; }
.v-opt { position: relative; display: flex; align-items: center; gap: .9rem; min-height: 50px; padding: .35rem .6rem .35rem .3rem; border-radius: var(--radius); cursor: pointer; }
.v-opt:hover { background: var(--surface-2); }
.v-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.v-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; background: var(--surface); }
.v-label { flex: 1; font-family: var(--font-serif); font-weight: 500; font-size: 1.18rem; line-height: 1.2; overflow-wrap: anywhere; }
.v-key { display: none; font-size: .75rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 .35rem; }
@media (pointer: fine) { .v-key { display: inline-block; } }
.v-opt:has(input:checked) .v-dot { border-color: var(--red); }
.v-opt:has(input:checked) .v-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.v-opt:has(input:checked) { background: var(--accent-soft); }
.v-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 1px; }
.cast-btn { margin-top: 1rem; min-height: 56px; font-size: 1rem; }
.case-card.is-busy { opacity: .7; pointer-events: none; }

/* case page */
.case-page .case-card:not(.result-card) { background: transparent; border: 0; box-shadow: none; padding: 0; }
.case-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .6rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .95rem; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
.case-nav-right { display: inline-flex; align-items: center; gap: .5rem; }
.case-nav-right .docket-no { color: var(--muted); margin-right: .4rem; }
.nav-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.nav-arrow:hover { border-color: var(--ink); }
.case-page .case-meta .docket-no { display: none; }
.case-foot-row { margin-top: 1.5rem; display: grid; gap: .5rem; }
.report-case summary { cursor: pointer; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.case-about { margin: 0; }
.owner-note { background: var(--gold-soft); border-color: transparent; }

/* jury discussion */
.jury-room { min-width: 0; }
.room-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin: 0 0 .5rem; }
.kicker-h { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.kicker-h .count { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg a { min-height: 44px; min-width: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .8rem; font-size: .88rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.seg a + a { border-left: 1px solid var(--line); }
.seg a.is-on { background: var(--ink); color: var(--bg); }
.room-gate { margin: 0 0 .6rem; }
.comments, .replies { list-style: none; margin: 0; padding: 0; }
.comment { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.comments > .comment:last-child { border-bottom: 1px solid var(--line); }
.comment.is-reply { grid-template-columns: 32px minmax(0, 1fr); padding: .6rem 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font-weight: 800; font-size: .85rem; border: 1px solid var(--line); }
.is-reply .avatar { width: 32px; height: 32px; font-size: .75rem; }
.replies { margin: .3rem 0 0; padding-left: .2rem; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; }
.comment-name { font-weight: 800; font-size: .92rem; }
.badge { font-size: .72rem; font-weight: 700; padding: .08rem .45rem; border-radius: 3px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge-owner { background: var(--accent-soft); color: var(--ink); border-color: transparent; }
.badge-warn { background: var(--gold-soft); color: var(--ink); border-color: transparent; }
.comment-text { margin: .25rem 0 .2rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.comment-profane summary { cursor: pointer; color: var(--muted); font-size: .9rem; min-height: 40px; display: flex; align-items: center; }
.comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; }
.inline-form { display: inline; margin: 0; }
.react { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; min-width: 48px; padding: .2rem .55rem; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .88rem; font-weight: 700; cursor: pointer; }
.react:hover { border-color: var(--ink); }
/* The kit's .check label is 40px; the whole label is the tap target for its radio or box, so make it 44px here. */
.check { min-height: 44px; }
.react.is-on, .react[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--red); }
.react.is-static { cursor: default; border-color: transparent; min-width: 0; padding-inline: .3rem; }
.react-n { font-variant-numeric: tabular-nums; }
.comment-actions .linklike { min-height: 44px; padding: 0 .35rem; margin-block: 0; display: inline-flex; align-items: center; }
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; margin-bottom: .75rem; }
.comment .composer { margin-top: .5rem; }
.composer-foot { justify-content: flex-end; }
.room-rules { margin: .8rem 0 0; }

/* ------------------------------------------------------------------ verdict: "The jury has spoken." */
.verdict-stage { scroll-margin-top: 4.5rem; margin-inline: calc(50% - 50vw); padding: clamp(1rem, 3vw, 2rem) max(16px, calc(50vw - 580px)); border-block: 1px solid var(--line); }
.result-card { container-type: inline-size; background: transparent; border: 0; box-shadow: none; padding: 0; }
.result-card > .vs-case, .result-card > .vs-paper { min-width: 0; }
[data-feed].result-card { padding: clamp(.8rem, 3vw, 1.4rem); border: 1px solid var(--line); background-color: var(--news); background-image: repeating-linear-gradient(0deg, var(--news-line) 0 2px, transparent 2px 9px); }
.result-card { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .result-card { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); align-items: start; } }
.vs-case .case-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin-bottom: 1rem; }
.vs-photo { margin: 0; background: #f7f3ea; padding: 10px; box-shadow: 0 6px 20px rgb(22 20 15 / 22%); transform: rotate(-2deg); aspect-ratio: 1 / 1; max-width: 360px; }
@media (max-width: 899px) { .vs-photo { display: none; } }
.vs-paper { position: relative; background: var(--paper); color: var(--paper-ink); padding: clamp(1.2rem, 4vw, 2.2rem) clamp(1rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.2rem); box-shadow: 0 8px 26px rgb(22 20 15 / 16%);
  clip-path: polygon(0.0% 0.0px,2.9% 6.4px,5.9% 2.0px,8.8% 1.5px,11.8% 5.1px,14.7% 3.7px,17.6% 2.3px,20.6% 5.3px,23.5% 5.3px,26.5% 3.8px,29.4% 4.8px,32.4% 4.5px,35.3% 5.7px,38.2% 1.7px,41.2% 2.6px,44.1% 5.0px,47.1% 4.9px,50.0% 0.4px,52.9% 4.8px,55.9% 3.3px,58.8% 6.5px,61.8% 5.7px,64.7% 0.9px,67.6% 3.6px,70.6% 6.5px,73.5% 4.8px,76.5% 4.5px,79.4% 4.0px,82.4% 6.4px,85.3% 6.4px,88.2% 2.6px,91.2% 2.3px,94.1% 5.9px,97.1% 2.3px,100.0% 1.1px,100.0% calc(100% - 2.1px),97.1% calc(100% - 3.0px),94.1% calc(100% - 2.1px),91.2% calc(100% - 6.6px),88.2% calc(100% - 3.9px),85.3% calc(100% - 5.1px),82.4% calc(100% - 6.1px),79.4% calc(100% - 0.4px),76.5% calc(100% - 1.9px),73.5% calc(100% - 3.9px),70.6% calc(100% - 3.6px),67.6% calc(100% - 3.0px),64.7% calc(100% - 1.4px),61.8% calc(100% - 6.4px),58.8% calc(100% - 0.4px),55.9% calc(100% - 2.6px),52.9% calc(100% - 2.4px),50.0% calc(100% - 4.7px),47.1% calc(100% - 6.5px),44.1% calc(100% - 3.6px),41.2% calc(100% - 1.2px),38.2% calc(100% - 2.8px),35.3% calc(100% - 2.0px),32.4% calc(100% - 2.6px),29.4% calc(100% - 3.0px),26.5% calc(100% - 2.3px),23.5% calc(100% - 3.7px),20.6% calc(100% - 4.3px),17.6% calc(100% - 1.6px),14.7% calc(100% - 6.3px),11.8% calc(100% - 3.2px),8.8% calc(100% - 6.0px),5.9% calc(100% - 4.4px),2.9% calc(100% - 4.4px),0.0% calc(100% - 3.6px)); }
.spoken { font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); line-height: .95; letter-spacing: -.025em; margin: .2rem 0 .3rem; text-align: center; text-wrap: balance; }
.sp-red { color: var(--red); }
.jurors { margin: 0 0 1.2rem; text-align: center; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; }
.jurors strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.jurors .small { font-family: var(--font-body); font-size: .85rem; }
.jury-bars { gap: .55rem; }
.jury-bars .bar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(80px, 1fr) 3.6em; align-items: center; gap: .9rem; min-height: 34px; border: 0; background: transparent; overflow: visible; border-radius: 0; }
.jury-bars .bar-label { padding: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.14rem; line-height: 1.2; }
.jury-bars .bar-track { position: relative; display: block; height: 22px; background: var(--track); }
.jury-bars .bar .bar-fill { position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); background: var(--bar); opacity: .78; }
.jury-bars .bar.is-lead .bar-fill { opacity: 1; }
.jury-bars .bar-value { padding: 0; text-align: right; font-family: var(--font-serif); font-weight: 800; font-size: 1.35rem; color: var(--red); }
.jury-bars .bar.is-mine .bar-label { font-weight: 600; }
.jury-bars .bar-tag { margin-left: .5rem; font-family: var(--font-body); color: #fff; background: var(--cta); padding: .05rem .4rem; border-radius: 3px; vertical-align: .15em; }
@container (max-width: 520px) {
  .jury-bars .bar { grid-template-columns: minmax(0, 1fr) 3.2em; row-gap: .25rem; }
  .jury-bars .bar-track { grid-column: 1 / -1; grid-row: 2; height: 14px; }
  .spoken { font-size: 2.1rem; }
  .preview-row { flex-direction: column; align-items: flex-start; gap: .3rem; }
}
.you-line { margin: 1rem 0 0; font-weight: 800; text-align: center; }
.preview { margin-top: 1.2rem; border: 1px solid var(--line); padding: .8rem 1rem .6rem; background: var(--surface); }
.preview-h { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin: 0 0 .2rem; }
.preview-row { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.preview-row .comment-text { font-family: var(--font-serif); font-weight: 500; font-size: 1.08rem; margin: 0; }
.preview-agree { flex: none; margin: 0; font-family: var(--font-serif); font-weight: 800; font-size: 1.25rem; color: var(--red); }
.preview .small { margin: .3rem 0 0; }
.result-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; padding-right: 150px; }
.result-actions .btn { flex: 1 1 200px; min-height: 56px; }
.verdict-note { margin: 1rem 0 0; padding-right: 150px; }
.stamp { position: absolute; right: clamp(.6rem, 2vw, 1.4rem); bottom: clamp(1.2rem, 3vw, 2rem); display: grid; padding: .45rem .7rem; border: 3px solid var(--red); outline: 1px solid var(--red); outline-offset: -7px; color: var(--red); font-family: var(--font-body); font-weight: 800; font-size: .82rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-12deg); opacity: .85; pointer-events: none; }
@container (max-width: 620px) {
  .result-actions, .verdict-note { padding-right: 0; }
  .stamp { position: static; justify-self: end; margin: 1rem .4rem 0 auto; width: max-content; transform: rotate(-6deg); }
  .vs-paper { display: grid; overflow-x: clip; } /* the stamp's entry animation scales it up; never let it widen the page */
}
.after-verdict { display: grid; gap: 1.5rem; margin-top: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .after-verdict { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; } }
.case-story { border-radius: var(--radius); }
.case-story .story { grid-template-columns: minmax(0, 1fr); }
.case-story summary { cursor: pointer; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; min-height: 44px; display: flex; align-items: center; }
.case-story[open] summary { margin-bottom: .6rem; }
.feed-extra .btn-primary { min-height: 56px; }
.feed-controls { justify-content: flex-start; margin: .75rem 0 0; }

/* ------------------------------------------------------------------ submit CTA & rubber stamp */
.submit-cta { position: relative; margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: center; padding: clamp(1.2rem, 4vw, 2.2rem); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.submit-cta h2 { text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1; margin: 0; }
.submit-cta .stamp { position: static; justify-self: start; transform: rotate(-8deg); font-size: 1rem; }
@media (min-width: 760px) { .submit-cta { grid-template-columns: minmax(0, 1fr) auto; } .submit-cta .stamp { justify-self: end; margin-right: 1.5rem; } }

/* ------------------------------------------------------------------ reminders & submission */
.reminder { font-family: var(--font-serif); font-weight: 800; font-size: 1.2rem; color: var(--red); margin: 0; }
.reminder-inline { font-size: 1.05rem; }
.reminder-box { border: 2px dashed var(--red); border-radius: var(--radius); padding: .9rem 1rem; background: var(--accent-soft); }
.reminder-box p { margin: 0 0 .3rem; }
.wizard fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard fieldset.step + fieldset.step { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wizard legend { font-family: var(--font-serif); font-weight: 800; font-size: 1.35rem; margin-bottom: .7rem; padding: 0; display: flex; align-items: center; gap: .5rem; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cta); color: #fff; font-family: var(--font-body); font-size: .85rem; font-weight: 800; flex: none; }
.wizard .field { margin-top: .5rem; }
.js .wizard:not(.show-all) fieldset.step { display: none; }
.js .wizard:not(.show-all) fieldset.step.is-current { display: block; border-top: 0; margin-top: 0; padding-top: 0; }
.step-nav { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.step-nav .btn-primary { margin-left: auto; }
.step-dots { list-style: none; display: flex; gap: .35rem; padding: 0; margin: 0 0 .5rem; }
.step-dots li { flex: 1; height: 6px; background: var(--surface-2); font-size: 0; }
.step-dots li.is-done { background: var(--cta); }
.wizard.show-all .step-dots { display: none; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .45rem; }
.cat-opt { position: relative; display: block; }
.cat-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cat-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .4rem .6rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; text-align: center; }
.cat-opt input:checked + span { border-color: var(--red); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--red); }
.cat-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field-error { color: var(--red); font-weight: 700; margin: .35rem 0 0; font-size: .92rem; }
.notice-warn { border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: var(--gold-soft); }
.issues { margin: 0; padding-left: 1.2rem; }
mark.flag { border-radius: 3px; padding: 0 .15rem; color: var(--ink); }
mark.flag-hard { background: color-mix(in srgb, var(--red) 30%, transparent); box-shadow: inset 0 -2px 0 var(--red); }
mark.flag-soft, mark.flag-allegation { background: color-mix(in srgb, var(--gold) 28%, transparent); box-shadow: inset 0 -2px 0 var(--gold); }
.preview-card { border-style: dashed; }
.verdict-preview .pill { min-height: 36px; font-size: .85rem; }
.edit-case > summary { list-style: none; width: fit-content; }
.edit-case > summary::-webkit-details-marker { display: none; }
.edit-case[open] > summary { margin-bottom: .8rem; }
.owner-box { border: 2px solid var(--gold); }
.owner-link { font-size: .85rem; }
.record .stat-n { font-family: var(--font-serif); font-size: 2rem; }
.manage-page .spoken { margin-bottom: .4rem; text-align: left; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
.tile-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.tile { border-radius: var(--radius); }
.tile-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; }
.list-nav .pill, .sort .pill { min-height: 44px; padding: .3rem .9rem; font-size: .88rem; }
.list-nav { margin-top: 1.5rem; }
.card { border-radius: var(--radius); }
.wizard.show-all .step-nav [data-next-step], .wizard.show-all .step-nav [data-prev-step] { display: none; }
.wizard.show-all .step-nav { justify-content: flex-end; }
@media (prefers-reduced-motion: no-preference) {
  .case-card.is-entering { animation: ij-in .28s cubic-bezier(.2,.8,.2,1); }
  @keyframes ij-in { from { opacity: 0; transform: translateY(10px); } }
  .you-line { animation: ij-in .4s .3s both; }
  .jury-bars .bar-fill { transition: width .8s cubic-bezier(.2,.8,.2,1); }
  .stamp { animation: ij-stamp .35s .5s both cubic-bezier(.2,1.6,.4,1); }
  @keyframes ij-stamp { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } }
}
@media (prefers-reduced-motion: no-preference) { html.js .bars.is-animating .bar-fill { width: 0; } }

/* Practice cases and jury dilemmas from the editors (content hub). */
.practice-tag { display: inline-block; padding: .05rem .45rem; border: 1.5px solid var(--accent); color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
.ct-votes .practice-tag { margin-right: .35rem; }
.feed-controls[hidden] { display: none; }
.empty-state .cluster { margin: 0; }

/* 7 Oct 2026 (night audit): at phone widths the header holds the badge, the name, the theme switch, "Sign in" and the
   menu without scrolling sideways (at 390px it measured 466px wide). Tighter spacing and a smaller name; on the
   narrowest phones the menu wraps to a second row rather than push past the edge. */
@media (max-width: 480px) {
  .site-header .site-header-inner { gap: .35rem; flex-wrap: wrap; }
  .brand { margin-right: 0; width: min-content; }
  .brand-word { font-size: 1.15rem; }
  .header-signin { padding: 0 .4rem; }
}
@media (max-width: 420px) { .brand-word { font-size: 1rem; word-spacing: .08em; } .site-header .site-header-inner { gap: .25rem; } .header-signin { padding: 0 .25rem; } .nav-menu { margin-left: auto; } }
