:root {
  /* Court of Muses — poured from the brand logo */
  --bg: #0b0a08;          /* deep ink black */
  --panel: #14110b;       /* warm ink panel */
  --panel2: #1c1811;
  --ink: #f0e6d2;         /* warm ivory */
  --muted: #9c9078;       /* muted warm taupe */
  --line: #3a3226;        /* brass-dark line */
  --gold: #c9a24b;        /* antique brass gold — trim, rules, headings */
  --gold-deep: #8a6f32;
  --sage: #a8c3b0;        /* sage mint — primary accent */
  --peach: #f2b0a4;       /* soft blush — tiny warm accents */
  --marble: #f0e6d2;
  --vixen: #f2b0a4;
  --lumen: #a8c3b0;
  --pixie: #a8d4f0;
  --abacus: #f5d78e;
  --risk-high: #ff6b6b;
  --risk-caution: #f5b942;
  --risk-clean: #6bff9e;
  --display: "Cinzel", "Georgia", "Times New Roman", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 700px at 30% -10%, #1e1a10 0%, var(--bg) 55%);
  color: var(--ink);
  font-family: "Georgia", "Times New Roman", serif;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; border-bottom: 1px solid var(--line);
  background: rgba(11,10,8,.82); backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark { height: 76px; width: auto; display: block; filter: drop-shadow(0 3px 12px rgba(201,162,75,.28)); }
h1 { font-family: var(--display); font-size: 25px; letter-spacing: 5px; color: var(--gold); font-weight: 700; }
.tagline { font-style: italic; color: var(--muted); font-size: 14px; margin-top: 2px; }
.meet-muse {
  color: var(--peach); text-decoration: none; font-style: normal;
  border-bottom: 1px dotted var(--peach); opacity: 0.9; white-space: nowrap;
}
.meet-muse:hover { opacity: 1; border-bottom-style: solid; }
.session { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: 1px; font-family: monospace; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 8px var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.sep { opacity: .4; }
.topnav { display: flex; gap: 20px; align-items: center; }
.topnav a { font-family: var(--display); font-size: 12px; letter-spacing: 3px; color: var(--muted); text-decoration: none; }
.topnav a:hover, .topnav a.active { color: var(--gold); }
.foot-link { color: var(--gold); text-decoration: none; }
.foot-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .topnav { gap: 12px; }
  .topnav a { font-size: 10px; letter-spacing: 2px; }
}

main { display: grid; grid-template-columns: 1fr 400px; gap: 0; flex: 1; min-height: 0; }
.courtroom { position: relative; min-height: 560px; }
#scene { position: absolute; inset: 0; }
#scene canvas { display: block; }
.scene-hint {
  position: absolute; bottom: 12px; left: 16px; font-size: 12px; color: var(--muted);
  font-style: italic; pointer-events: none; font-family: monospace; z-index: 4;
}
.vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse at 50% 42%, transparent 52%, rgba(8,5,14,.62) 100%);
}
.scene-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: rgba(20,16,29,.85); z-index: 5;
}
.scene-loading.hidden { display: none; }
.spinner { width: 44px; height: 44px; border: 4px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene-loading p { color: var(--muted); font-style: italic; }

#persona-card {
  position: absolute; top: 14px; left: 14px; width: 250px; z-index: 6;
  background: rgba(29,23,41,.95); border: 1px solid var(--gold); border-radius: 10px;
  padding: 14px 16px; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
#persona-card.hidden { display: none; }
#persona-close { position: absolute; top: 6px; right: 10px; background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.persona-name { display: flex; align-items: center; gap: 8px; font-size: 17px; letter-spacing: 2px; color: var(--gold); }
#persona-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.persona-role { font-size: 12px; color: var(--muted); font-style: italic; margin: 2px 0 8px; }
#persona-card p { font-size: 13px; line-height: 1.5; }

.docket {
  background: var(--panel); border-left: 1px solid var(--line);
  padding: 20px; overflow-y: auto; max-height: calc(100vh - 160px);
}
.docket h2 { font-family: var(--display); font-size: 14px; letter-spacing: 3px; color: var(--gold); margin: 22px 0 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.docket h2:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 20px;
  cursor: pointer; font-family: monospace; font-size: 13px; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip.active { border-color: var(--gold); background: #241d12; }
.chip .vdot { width: 9px; height: 9px; border-radius: 50%; }
.vdot.HIGH { background: var(--risk-high); } .vdot.CAUTION { background: var(--risk-caution); } .vdot.CLEAN { background: var(--risk-clean); }
.chip .age { color: var(--muted); font-size: 11px; }

.trial-meta { margin-top: 18px; }
.hidden { display: none !important; }
.token-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.t-name { font-size: 22px; color: var(--ink); }
.t-sub { font-family: monospace; font-size: 12px; color: var(--muted); margin-top: 4px; word-break: break-all; }
.t-desc { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: var(--ink); opacity: .85; margin-top: 8px; line-height: 1.45; }
.stamp {
  font-family: monospace; font-weight: 700; font-size: 15px; letter-spacing: 2px;
  padding: 8px 14px; border: 3px double; border-radius: 6px; transform: rotate(6deg);
  white-space: nowrap;
}
.stamp.HIGH { color: var(--risk-high); border-color: var(--risk-high); }
.stamp.CAUTION { color: var(--risk-caution); border-color: var(--risk-caution); }
.stamp.CLEAN { color: var(--risk-clean); border-color: var(--risk-clean); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.stat { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.stat label { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 3px; }
.stat span { font-family: monospace; font-size: 13px; }
.stat span.pos { color: var(--risk-clean); } .stat span.neg { color: var(--risk-high); }

.reasons { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; line-height: 1.6; }
.reasons div::before { content: "— "; }

.debate { display: flex; flex-direction: column; gap: 14px; }
.act { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.act-head {
  padding: 9px 12px; font-size: 12px; letter-spacing: 2px; color: var(--gold);
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
  font-family: monospace;
}
.act-head .act-title { color: var(--muted); letter-spacing: 0; font-style: italic; font-family: Georgia, serif; }
.lines { padding: 6px 12px 10px; }
.line { display: flex; gap: 10px; padding: 7px 8px; border-bottom: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; border-radius: 6px; transition: background .3s; }
.line:last-child { border-bottom: none; }
.line.speaking { background: rgba(201,162,75,.10); box-shadow: inset 2px 0 0 var(--gold); }
.who {
  flex-shrink: 0; font-family: monospace; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; height: fit-content; margin-top: 2px; letter-spacing: 1px;
}
.who.MARBLE { background: #2b2417; color: var(--marble); }
.who.VIXEN { background: #4a2b36; color: var(--vixen); }
.who.LUMEN { background: #274434; color: var(--lumen); }
.who.PIXIE { background: #33302a; color: var(--pixie); }
.who.ABACUS { background: #4a3f28; color: var(--abacus); }

.request input {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #0e0c08; color: var(--muted); font-family: monospace; font-size: 13px; cursor: not-allowed;
}
.request .note { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 8px; }

.foot-brand { font-family: var(--display); letter-spacing: 5px; color: var(--gold); font-size: 14px; font-style: normal; margin-bottom: 8px; }
footer {
  border-top: 1px solid var(--line); padding: 16px 28px; text-align: center;
  color: var(--muted); font-size: 13px; font-style: italic; background: rgba(11,10,8,.85);
}
.foot-sub { font-size: 11px; margin-top: 6px; opacity: .7; font-family: monospace; font-style: normal; }

@media (max-width: 1000px) {
  main { grid-template-columns: 1fr; }
  .courtroom { min-height: 420px; }
  .docket { max-height: none; border-left: none; border-top: 1px solid var(--line); }
}

/* live docket */
.docket-sec-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; color: var(--sage);
  font-family: monospace; margin: 16px 0 10px;
}
.docket-sec-head.archive { color: var(--muted); }
.docket-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 6px; }
.act.sealed { display: none; }
.act { animation: actIn .45s ease-out; }
@keyframes actIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.feed-notice {
  font-size: 12px; color: var(--muted); font-style: italic; text-align: center;
  padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; line-height: 1.5;
}

/* ---------- hero banner: full-bleed, edge to edge ---------- */
/* The banner spans the full viewport width at its natural aspect ratio —
   no letterboxing, no blur-fill sides, nothing cropped. */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--gold);
  background: #0b0a08; line-height: 0; }
.hero::before { display: none; }
.hero img { width: 100%; height: auto; display: block; }
/* ---------- THE GALLERY ---------- */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.meter-bar { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter-defend { height: 100%; background: linear-gradient(90deg, var(--sage), #7ba386); border-radius: 6px; transition: width .6s; }
.meter-labels { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 1px; color: var(--muted); margin-top: 6px; font-family: monospace; }
.gallery-empty { font-size: 13px; color: var(--muted); font-style: italic; }
.thread { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.thread-side { font-size: 11px; letter-spacing: 2px; margin-bottom: 6px; font-family: monospace; }
.thread-side.defend { color: var(--risk-clean); }
.thread-side.prosecute { color: var(--risk-high); }
.thread-text { font-size: 13.5px; font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 8px; }
.line.reply { background: rgba(201,162,75,.06); }
/* ---------- ADDRESS THE COURT ---------- */
.argue { background: var(--panel2); border: 1px solid var(--gold); border-radius: 10px; padding: 14px 16px; margin-top: 6px; }
.argue h2 { margin-top: 0 !important; }
.argue-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-bottom: 12px; }
.side-toggle { display: flex; gap: 8px; margin-bottom: 10px; }
.side-btn { flex: 1; padding: 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 12px; letter-spacing: 2px; cursor: pointer; font-family: inherit; }
.side-btn.defend.active { border-color: var(--risk-clean); color: var(--risk-clean); background: rgba(107,255,158,.07); }
.side-btn.prosecute.active { border-color: var(--risk-high); color: var(--risk-high); background: rgba(255,107,107,.07); }
#argue-text { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 13.5px; font-family: inherit; padding: 10px 12px; resize: vertical; line-height: 1.5; }
#argue-text:focus { outline: none; border-color: var(--gold); }
.argue-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
#argue-submit { padding: 10px 18px; border-radius: 8px; border: none; background: var(--gold); color: #171204; font-size: 12px; letter-spacing: 2px; font-weight: 700; cursor: pointer; font-family: inherit; }
#argue-submit:hover:not(:disabled) { filter: brightness(1.08); }
#argue-submit:disabled { opacity: .5; cursor: wait; }
.argue-count { font-size: 11px; color: var(--muted); font-family: monospace; }
.argue-status { font-size: 12.5px; font-style: italic; margin-top: 8px; min-height: 18px; color: var(--muted); }
.argue-status.ok { color: var(--risk-clean); }
.argue-status.err { color: var(--risk-high); }
.hidden { display: none !important; }

/* ---------- PETITION THE COURT ---------- */
.petition { background: var(--panel2); border: 1px solid var(--gold); border-radius: 10px; padding: 14px 16px; margin-top: 18px; }
.petition h2 { font-family: var(--display); font-size: 14px; letter-spacing: 3px; color: var(--gold); margin: 0 0 10px; }
.petition-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-bottom: 12px; line-height: 1.55; }
.petition-note b { color: var(--ink); font-style: normal; }
.petition input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 12.5px; font-family: monospace; padding: 10px 12px; margin-bottom: 8px; }
.petition input:focus { outline: none; border-color: var(--gold); }
.petition-row { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
#petition-submit { padding: 10px 18px; border-radius: 8px; border: none; background: var(--gold); color: #171204; font-size: 12px; letter-spacing: 2px; font-weight: 700; cursor: pointer; font-family: inherit; }
#petition-submit:hover:not(:disabled) { filter: brightness(1.08); }
#petition-submit:disabled { opacity: .5; cursor: wait; }
.petition-status { font-size: 12.5px; font-style: italic; margin-top: 8px; min-height: 18px; color: var(--muted); }
.petition-status.ok { color: var(--risk-clean); }
.petition-status.err { color: var(--risk-high); }

/* ---------- COURT GRADES ---------- */
.grade-badge { display: inline-block; font-family: monospace; font-size: 10.5px; letter-spacing: 1.5px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--panel); white-space: nowrap; }
.grade-badge.gS { color: #0d0b06; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.grade-badge.gA { color: var(--risk-clean); border-color: var(--risk-clean); }
.grade-badge.gB { color: var(--lumen); border-color: var(--lumen); }
.grade-badge.gC { color: var(--risk-caution); border-color: var(--risk-caution); }
.grade-badge.gD { color: var(--risk-high); border-color: var(--risk-high); }
.grade-line { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; }
.grade-label { font-size: 10.5px; letter-spacing: 2.5px; color: var(--muted); font-family: monospace; }
.petitioned-tag { font-size: 10.5px; letter-spacing: 1.5px; color: var(--gold); font-family: monospace; border: 1px dashed var(--gold); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.chip .grade-badge { font-size: 9.5px; padding: 1px 6px; }

/* ---------- THE COURT'S FUND ---------- */
.fund { max-width: 980px; margin: 0 auto; padding: 44px 28px 60px; }
.fund h2 { font-family: var(--display); font-size: 22px; letter-spacing: 5px; color: var(--gold); text-align: center; margin-bottom: 10px; }
.fund-lede { text-align: center; font-style: italic; color: var(--muted); margin-bottom: 24px; }
.fund-terms { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.fund-terms li { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.fund-terms li b { color: var(--gold); }
.fund-treasury { background: var(--panel2); border: 1px solid var(--gold); border-radius: 12px; padding: 20px 22px; margin-bottom: 30px; }
.fund-balance { font-family: monospace; margin-bottom: 10px; }
.fund-amount-val { font-size: 26px; color: var(--gold); font-weight: 700; }
.fund-goal { font-size: 13px; color: var(--muted); margin-left: 8px; }
.fund-bar { height: 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.fund-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 8px; transition: width .8s ease; }
.fund-status { margin-top: 10px; font-size: 12.5px; letter-spacing: 1px; color: var(--muted); font-family: monospace; }
.fund-status.armed { color: var(--risk-clean); }
.fund-address { margin-top: 12px; font-size: 12.5px; color: var(--muted); font-family: monospace; word-break: break-all; }
.fund-address code { color: var(--ink); background: var(--bg); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); }
.fund-copy { background: var(--panel); border: 1px solid var(--line); color: var(--gold); border-radius: 6px; padding: 3px 9px; cursor: pointer; font-size: 12px; margin-left: 6px; }
.fund-copy:hover { border-color: var(--gold); }
.fund-calls { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 30px; }
.calls-title { font-family: var(--display); font-size: 15px; letter-spacing: 4px; color: var(--gold); margin: 0 0 14px; text-align: center; }
.calls-empty { color: var(--muted); font-style: italic; font-size: 13.5px; text-align: center; margin: 6px 0; }
.call-banner { border: 1px solid var(--gold); border-radius: 10px; padding: 18px 20px; background: linear-gradient(180deg, rgba(201,162,75,.12), rgba(201,162,75,.03)); box-shadow: 0 0 24px rgba(201,162,75,.25); text-align: center; }
.call-banner.sell { border-color: var(--risk-caution); box-shadow: 0 0 24px rgba(201,162,75,.18); }
.call-kicker { font-size: 11px; letter-spacing: 3px; color: var(--gold); margin-bottom: 8px; font-family: monospace; }
.call-main { font-family: var(--display); font-size: 22px; letter-spacing: 1px; color: var(--ink); margin-bottom: 10px; }
.call-main b { color: var(--gold); }
.call-detail { font-size: 13px; color: var(--muted); line-height: 1.8; }
.call-detail code { color: var(--ink); background: var(--bg); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); font-size: 12px; word-break: break-all; }
.call-detail a { color: var(--gold); }
.ledger-title { font-size: 11px; letter-spacing: 3px; color: var(--muted); margin: 18px 0 10px; font-family: monospace; text-align: center; }
.ledger-row { display: flex; gap: 12px; align-items: baseline; font-size: 13px; padding: 8px 4px; border-top: 1px solid var(--line); }
.ledger-row code { font-size: 11.5px; color: var(--muted); }
.ledger-type { font-family: monospace; font-size: 11px; letter-spacing: 1px; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.ledger-type.buy { background: rgba(201,162,75,.15); color: var(--gold); border: 1px solid var(--gold); }
.ledger-type.sell { background: rgba(120,200,120,.1); color: var(--risk-clean); border: 1px solid var(--risk-clean); }
.ledger-status { color: var(--muted); font-size: 12px; }
.ledger-when { margin-left: auto; color: var(--muted); font-size: 11.5px; font-family: monospace; white-space: nowrap; }
.rubric-caps { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--risk-caution); border-radius: 8px; padding: 14px 18px; margin: 18px 0 6px; font-size: 13.5px; line-height: 1.7; }
.rubric-caps-title { font-family: monospace; font-size: 12px; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.rubric-caps ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.rubric-caps li b { color: var(--gold); }
.rubric-title { font-family: var(--display); font-size: 15px; letter-spacing: 4px; color: var(--gold); text-align: center; margin: 10px 0 16px; }
.rubric { display: grid; gap: 6px; margin-bottom: 18px; }
.rubric-row { display: grid; grid-template-columns: 130px 60px 1fr; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 13px; line-height: 1.55; align-items: baseline; }
.rubric-row.head { background: none; border: none; font-size: 11px; letter-spacing: 2px; color: var(--muted); font-family: monospace; padding: 4px 14px; }
.rubric-row span:first-child { color: var(--gold); font-weight: 700; }
.rubric-row span:nth-child(2) { font-family: monospace; color: var(--muted); }
.grades-scale { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.grades-scale .grade-badge { font-size: 11px; padding: 5px 12px; }
.fund-note { font-size: 12.5px; color: var(--muted); font-style: italic; text-align: center; line-height: 1.7; max-width: 720px; margin: 0 auto; }
@media (max-width: 700px) {
  .rubric-row { grid-template-columns: 1fr; gap: 2px; }
  .rubric-row.head { display: none; }
}

/* ---------- GRAND ENTRANCE ---------- */
.entrance { max-width: 980px; margin: 0 auto; padding: 56px 28px 72px; text-align: center; }
.intro-writeup { max-width: 760px; margin: 0 auto 40px; }
.intro-title { font-family: var(--display); font-size: 30px; letter-spacing: 7px; color: var(--gold); margin-bottom: 20px; }
.intro-writeup p { font-size: 16.5px; line-height: 1.75; color: var(--ink); margin-bottom: 14px; }
.intro-writeup p b { color: var(--gold); }
.fund-summary { background: var(--panel2); border: 1px solid var(--gold); border-radius: 14px; padding: 26px 30px; max-width: 720px; margin: 0 auto 8px; text-align: left; }
.fund-summary .fund-balance { text-align: center; }
.fund-summary-terms { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--muted); text-align: center; }
.fund-summary-terms b { color: var(--gold); }
/* the threshold: the golden door between the entrance hall and the court */
.threshold { padding: 56px 20px 8px; }
.threshold-flourish { color: var(--gold); letter-spacing: 14px; font-size: 15px; margin-bottom: 22px; opacity: 0.85; }
#attend-court {
  font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: 6px;
  color: #1d1503; padding: 24px 68px; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #f0d68a 0%, #c9a24b 45%, #a37f2e 100%);
  border: 2px solid #f0d68a;
  box-shadow: 0 0 28px rgba(201,162,75,.55), 0 0 90px rgba(201,162,75,.22), inset 0 1px 0 rgba(255,255,255,.5);
  animation: courtGlow 2.6s ease-in-out infinite;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#attend-court:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.1);
  box-shadow: 0 0 44px rgba(201,162,75,.8), 0 0 130px rgba(201,162,75,.35), inset 0 1px 0 rgba(255,255,255,.6); }
#attend-court:active { transform: translateY(1px) scale(.99); }
@keyframes courtGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(201,162,75,.45), 0 0 70px rgba(201,162,75,.16), inset 0 1px 0 rgba(255,255,255,.5); }
  50%      { box-shadow: 0 0 44px rgba(201,162,75,.75), 0 0 130px rgba(201,162,75,.32), inset 0 1px 0 rgba(255,255,255,.5); }
}
.threshold-sub { margin-top: 20px; font-size: 13px; font-style: italic; color: var(--muted); letter-spacing: 1px; }
@media (max-width: 700px) {
  .intro-title { font-size: 22px; letter-spacing: 4px; }
  #attend-court { font-size: 17px; letter-spacing: 4px; padding: 20px 40px; }
  .fund-summary { padding: 20px; }
}
