:root {
  --ink: #12100e;
  --ink2: #1b1815;
  --paper: #f6efe2;
  --cream: #fbf6ec;
  --gold: #e8b53c;
  --gold-deep: #b8801a;
  --plum: #6d4aff;
  --red: #e0553d;
  --green: #3fa96a;
  --line: rgba(246, 239, 226, .14);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(120% 90% at 50% -10%, #2a2320 0%, #12100e 60%, #0b0a09 100%);
  color: var(--paper);
  font: 16px/1.55 ui-rounded, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.screen { display: none; position: relative; z-index: 2; }
.screen.active { display: block; }

h1, h2, h3 { font-family: "Bebas Neue", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif; letter-spacing: .04em; margin: 0 0 .3em; font-weight: 700; }
h2 { font-size: 1.7rem; text-transform: uppercase; }
.lead { margin: 0 0 1rem; opacity: .82; }
.lead.big { font-size: 1.2rem; font-weight: 600; opacity: 1; margin-top: 1.4rem; }
.meta { font-size: .8rem; opacity: .5; margin: .8rem 0 0; }
.meta.secret { letter-spacing: .1em; text-transform: uppercase; }
.fineprint { font-size: .75rem; opacity: .42; margin-top: 1rem; }
.fineprint.warn { color: var(--gold); opacity: .75; }
.err { color: var(--red); font-size: .9rem; min-height: 1.2em; margin: .7rem 0 0; font-weight: 600; }

/* ───────────────────────────── buttons ───────────────────────────── */
.btn {
  appearance: none; border: 1.5px solid var(--line); background: rgba(246,239,226,.06);
  color: var(--paper); font: inherit; font-weight: 700; letter-spacing: .02em;
  padding: .78rem 1.4rem; border-radius: 999px; cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { background: rgba(246,239,226,.13); border-color: rgba(246,239,226,.3); }
.btn:active { transform: scale(.96); }
.btn.primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #241a06; border-color: transparent;
  box-shadow: 0 6px 0 #7d5610, 0 14px 30px rgba(232,181,60,.28);
}
.btn.primary:hover { filter: brightness(1.07); }
.btn.primary:active { box-shadow: 0 2px 0 #7d5610; transform: translateY(4px) scale(.99); }
.btn.danger-ghost { border-color: rgba(224,85,61,.4); color: #f0a394; background: transparent; }
.ghost { background: none; border: 0; color: var(--paper); opacity: .5; font: inherit; cursor: pointer; text-decoration: underline; }
.row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }

/* ───────────────────────────── login ───────────────────────────── */
#screen-login { min-height: 100vh; display: none; place-items: center; padding: 2rem 1.2rem; }
#screen-login.active { display: grid; }
.stamp {
  position: fixed; top: 8%; left: 50%; transform: translateX(-50%) rotate(-11deg);
  font: 700 clamp(2.6rem, 13vw, 7rem)/1 "Bebas Neue", Impact, sans-serif;
  letter-spacing: .18em; color: var(--red); opacity: .1; pointer-events: none; white-space: nowrap;
}
.login-card {
  width: 100%; max-width: 420px; text-align: center; position: relative;
  background: rgba(246,239,226,.045); border: 1.5px solid var(--line);
  border-radius: 26px; padding: 2.6rem 1.8rem 1.8rem; backdrop-filter: blur(6px);
}
.llama-peek { font-size: 4rem; line-height: 1; animation: peek 3.4s ease-in-out infinite; }
@keyframes peek { 0%,100% { transform: translateY(0) rotate(-4deg) } 50% { transform: translateY(-9px) rotate(4deg) } }
.login-card h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: .92; margin: .5rem 0 .6rem; }
.login-card h1 span { color: var(--gold); }
.tagline { opacity: .68; font-size: .93rem; margin: 0 0 1.8rem; }
#login-form label { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-bottom: .5rem; }
.handle-input {
  display: flex; align-items: center; gap: .1rem; background: rgba(0,0,0,.32);
  border: 1.5px solid var(--line); border-radius: 14px; padding: .1rem .9rem; margin-bottom: 1rem;
}
.handle-input:focus-within { border-color: var(--gold); }
.handle-input span { opacity: .45; font-size: 1.15rem; font-weight: 700; }
.handle-input input {
  flex: 1; background: none; border: 0; outline: none; color: var(--paper);
  font: 700 1.15rem/1 inherit; padding: .85rem .3rem;
}
#login-form .btn { width: 100%; }

/* code word entry + the "you are X" confirmation */
.code-input {
  background: rgba(0,0,0,.32); border: 1.5px solid var(--line);
  border-radius: 14px; padding: .1rem .9rem; margin-bottom: 1rem;
}
.code-input:focus-within { border-color: var(--gold); }
.code-input input {
  width: 100%; background: none; border: 0; outline: none; color: var(--paper);
  font: 700 1.15rem/1 inherit; letter-spacing: .02em; padding: .85rem .3rem;
  text-align: center;
}
.whobox {
  display: grid; gap: .2rem; text-align: center; margin: .9rem 0 1.2rem;
  background: linear-gradient(170deg, var(--cream), #ecdfc6); color: #241d13;
  border-radius: 14px; padding: 1.1rem .9rem;
}
.whobox strong { font-size: 1.35rem; line-height: 1.15; }
.whobox span { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }
#confirm-who .row { gap: .6rem; }
#confirm-who .row .btn { flex: 1; }

/* ───────────────────────────── rules ───────────────────────────── */
#screen-rules { min-height: 100vh; display: none; place-items: center; padding: 2rem 1.2rem; }
#screen-rules.active { display: grid; }
.rules-card { max-width: 480px; }
.rules-card .tagline { margin-bottom: 1.4rem; }
.rules-card .btn.primary { width: 100%; margin-top: 1.4rem; }
.rules-scroll {
  background: linear-gradient(170deg, var(--cream), #ecdfc6);
  color: #241d13; border-radius: 16px; padding: 1.3rem 1.2rem 1.4rem;
  text-align: left; box-shadow: 0 14px 34px rgba(0,0,0,.42); position: relative;
}
.rules-scroll::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(36,29,19,.22); border-radius: 11px; pointer-events: none; }
.rules-head {
  font: 700 .95rem/1 "Bebas Neue", Impact, sans-serif; letter-spacing: .28em;
  text-align: center; opacity: .55; margin-bottom: .9rem;
}
ol.rules { margin: 0; padding-left: 1.5rem; }
ol.rules li { font-size: .93rem; line-height: 1.5; margin-bottom: .75rem; }
ol.rules li:last-child { margin-bottom: 0; }
ol.rules li::marker { font-weight: 800; color: var(--gold-deep); }
ol.rules b { color: #0f0b04; }

/* ───────────────────────────── home ───────────────────────────── */
.bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-bottom: 1.5px solid var(--line);
  position: sticky; top: 0; z-index: 5;
  background: rgba(18,16,14,.86); backdrop-filter: blur(10px);
}
.who strong { display: block; font-size: 1rem; }
.who span { font-size: .74rem; opacity: .5; letter-spacing: .08em; text-transform: uppercase; }
.bar-right { display: flex; align-items: center; gap: 1.1rem; }
.score { font: 700 1.7rem/1 "Bebas Neue", Impact, sans-serif; color: var(--gold); }
.score small { font-size: .6rem; letter-spacing: .12em; opacity: .6; margin-left: .2rem; }
.wrap { max-width: 640px; margin: 0 auto; padding: 1.4rem 1.2rem 5rem; }
.panel {
  background: rgba(246,239,226,.04); border: 1.5px solid var(--line);
  border-radius: 22px; padding: 1.5rem; margin-bottom: 1.2rem;
}
.panel.draw, .panel.cooldown { text-align: center; }
.btn.summon {
  font-size: 1.15rem; padding: 1.15rem 2rem; margin-top: .6rem;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #241a06; border-color: transparent;
  box-shadow: 0 7px 0 #7d5610, 0 18px 44px rgba(232,181,60,.34);
  animation: throb 2.6s ease-in-out infinite;
}
@keyframes throb { 0%,100% { transform: scale(1) } 50% { transform: scale(1.035) } }
.btn.summon:active { box-shadow: 0 2px 0 #7d5610; transform: translateY(5px); }

/* task card */
.task-card {
  background: linear-gradient(170deg, var(--cream), #ecdfc6);
  color: #241d13; border-radius: 16px; padding: 1.2rem 1.3rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
  position: relative; overflow: hidden;
}
.task-card::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(36,29,19,.22); border-radius: 11px; pointer-events: none; }
.task-num { font: 700 .7rem/1 "Bebas Neue", Impact, sans-serif; letter-spacing: .22em; opacity: .5; }
.task-card h3 { font-size: 1.4rem; margin: .35rem 0 .5rem; color: #1a1409; }
.task-card p { margin: 0; font-size: .95rem; line-height: 1.55; }
.target-line { margin-top: .8rem !important; font-weight: 800; color: #7a3a12; }
.worth { margin-top: .9rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.task-strip {
  background: rgba(232,181,60,.12); border-left: 3px solid var(--gold);
  padding: .6rem .9rem; border-radius: 0 8px 8px 0; margin-bottom: 1.2rem; font-weight: 700;
}

/* proof form */
#proof label, #suspicion label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin: 1rem 0 .45rem; }
textarea {
  width: 100%; background: rgba(0,0,0,.32); border: 1.5px solid var(--line); border-radius: 14px;
  color: var(--paper); font: inherit; padding: .9rem 1rem; resize: vertical; outline: none;
}
textarea:focus { border-color: var(--gold); }
.filelabel { cursor: pointer; display: inline-block !important; background: rgba(246,239,226,.07); border: 1.5px dashed var(--line); border-radius: 14px; padding: .9rem 1.2rem !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; opacity: 1 !important; font-weight: 700; }
.filelabel small { font-weight: 400; opacity: .5; }
#photo { display: none; }
.photo-preview { position: relative; margin-top: .9rem; display: inline-block; }
.photo-preview[hidden] { display: none; }
.photo-preview img { max-width: 100%; max-height: 260px; border-radius: 14px; display: block; }
.photo-preview button { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }

/* cooldown */
.big-llama { font-size: 4.6rem; line-height: 1; }
.big-llama.sulking { animation: sulk 3s ease-in-out infinite; display: inline-block; filter: grayscale(.4); }
@keyframes sulk { 0%,100% { transform: rotate(-8deg) translateY(0) } 50% { transform: rotate(-14deg) translateY(5px) } }
.big-llama.bouncing { animation: bounce .7s cubic-bezier(.3,1.6,.5,1) infinite; display: inline-block; }
@keyframes bounce { 0%,100% { transform: translateY(0) scale(1) } 40% { transform: translateY(-22px) scale(1.07) } }
.countdown { font: 700 2.9rem/1 "Bebas Neue", Impact, sans-serif; color: var(--gold); letter-spacing: .06em; margin: .6rem 0 0; font-variant-numeric: tabular-nums; }

/* suspicion board */
.susp-form { margin-top: .4rem; }
.susp-form[hidden] { display: none; }
.susp-list-head {
  font: 700 .72rem/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  opacity: .5; margin: 1.3rem 0 .6rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.susp-row { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.susp-row:last-of-type { border-bottom: 0; }
.susp-who { font-weight: 800; font-size: .95rem; }
.susp-what { font-size: .88rem; opacity: .62; margin-top: .15rem; }
.susp-actual { font-size: .8rem; color: var(--gold); margin-top: .25rem; }
.susp-row.hit .susp-who { color: var(--green); }
.susp-row.miss .susp-who { opacity: .55; }

/* dossier */
.dossier .count { color: var(--gold); font-size: 1.1rem; }
#dossier-list { list-style: none; margin: 0; padding: 0; }
#dossier-list li { border-top: 1px solid var(--line); padding: .85rem 0; }
#dossier-list li:first-child { border-top: 0; }
#dossier-list .d-title { font-weight: 800; }
#dossier-list .d-title::before { content: "✅ "; }
#dossier-list .d-story { font-size: .88rem; opacity: .62; margin: .25rem 0 0; }
#dossier-list .d-photo { font-size: .74rem; color: var(--gold); opacity: .8; }
.empty { opacity: .45; font-size: .9rem; }

/* ───────────────────────── the reveal stage ───────────────────────── */
#screen-reveal { min-height: 100vh; display: none; place-items: center; padding: 2rem 1.2rem; overflow-x: clip; }
#screen-reveal.active { display: grid; }
.stage { position: relative; width: 100%; max-width: 460px; text-align: center; }
.spotlight {
  position: absolute; left: 50%; top: -30%; width: 130%; height: 130%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 40%, rgba(232,181,60,.2), transparent 70%);
  pointer-events: none;
}
.llama-rig { position: relative; height: 300px; margin: 0 auto; width: 300px; }
/* Once the scroll is unrolling the llama has served its purpose: it fades out
   and its box collapses, so the task slides up and stands alone. The transition
   lives on the .exit state only, so drawing again snaps back instantly instead
   of animating in reverse while the llama is walking on. */
.llama-rig.exit {
  height: 0; opacity: 0; pointer-events: none;
  transition: height .55s cubic-bezier(.3,0,.2,1), opacity .45s ease;
}
.llama-rig.exit + .scroll {
  margin-top: 0;
  transition: margin-top .55s cubic-bezier(.3,0,.2,1);
}

.hat { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 160px; z-index: 3; }
.hat-top { width: 96px; height: 82px; margin: 0 auto; background: linear-gradient(100deg, #201c26, #100e14); border-radius: 8px 8px 3px 3px; }
.hat-band { width: 96px; height: 17px; margin: -17px auto 0; background: linear-gradient(180deg, #7b1f2b, #4d1119); position: relative; z-index: 2; }
.hat-brim { width: 160px; height: 20px; background: linear-gradient(180deg, #241f2b, #0d0b10); border-radius: 50%; margin-top: -4px; box-shadow: 0 14px 30px rgba(0,0,0,.6); }

.llama { position: absolute; left: 50%; bottom: 8px; width: 260px; transform: translateX(-30%) translateY(140%); z-index: 2; }
.llama-head { transform-origin: 100px 100px; }
.llama-neck { transform-origin: 90px 155px; }

/* choreography */
.llama-rig.enter .llama { animation: llama-in .85s cubic-bezier(.2,1.5,.4,1) forwards; }
@keyframes llama-in {
  0%   { transform: translateX(-30%) translateY(140%) rotate(-6deg); }
  70%  { transform: translateX(-30%) translateY(-6%) rotate(3deg); }
  100% { transform: translateX(-30%) translateY(0) rotate(0); }
}
.llama-rig.dip .llama-head { animation: dip 1.5s cubic-bezier(.4,0,.3,1) forwards; }
@keyframes dip {
  0%   { transform: rotate(0) translate(0,0); }
  35%  { transform: rotate(38deg) translate(26px, 42px); }
  65%  { transform: rotate(38deg) translate(26px, 42px); }
  100% { transform: rotate(0) translate(0,0); }
}
.llama-rig.chew .llama-head { animation: chew .16s ease-in-out 7; }
@keyframes chew { 0%,100% { transform: rotate(0) } 50% { transform: rotate(-5deg) translateY(-3px) } }
.llama-rig.spit .llama { animation: recoil .5s cubic-bezier(.3,1.7,.4,1); }
@keyframes recoil { 0%,100% { transform: translateX(-30%) translateY(0) } 30% { transform: translateX(-24%) translateY(-14px) rotate(-7deg) } }

/* scroll — in normal flow, so unrolling it shoves the caption and the
   accept/pass buttons down the page rather than painting on top of them. The
   negative margin keeps it looking like it came out of the hat. */
.scroll { position: relative; margin: -54px auto 0; transform: scale(.2); opacity: 0; width: 300px; z-index: 6; pointer-events: none; }
.scroll-rod { width: 300px; height: 15px; background: linear-gradient(180deg, #a9772f, #6d4715); border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.5); }
.scroll-paper { max-height: 0; overflow: hidden; background: linear-gradient(170deg, #fdf8ec, #eadfc4); color: #241d13; transition: max-height .75s cubic-bezier(.2,.9,.2,1); }
.scroll-inner { padding: 1.4rem 1.4rem 1.6rem; position: relative; }
.wax { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d0483a, #8d2418); display: grid; place-items: center; font-size: 1rem; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.scroll-num { font: 700 .72rem/1 "Bebas Neue", Impact, sans-serif; letter-spacing: .24em; opacity: .5; }
.scroll h3 { font-size: 1.55rem; margin: .35rem 0 .55rem; color: #1a1409; }
.scroll p { margin: 0; font-size: .95rem; line-height: 1.6; }
.scroll-worth { margin-top: 1rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .55; }
.scroll.fly { animation: scroll-fly .8s cubic-bezier(.2,1.4,.35,1) forwards; }
@keyframes scroll-fly {
  0%   { transform: translateY(90px) scale(.15) rotate(-30deg); opacity: 0; }
  55%  { transform: translateY(-26px) scale(1.06) rotate(6deg); opacity: 1; }
  100% { transform: translateY(0) scale(1) rotate(0); opacity: 1; }
}
.scroll.open .scroll-paper { max-height: 900px; }

/* drumroll */
.drumroll { display: flex; gap: .5rem; justify-content: center; height: 12px; margin: 1.6rem 0 .4rem; opacity: 0; transition: opacity .3s; }
.drumroll.on { opacity: 1; }
.drumroll i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: pulse .55s ease-in-out infinite; }
.drumroll i:nth-child(2) { animation-delay: .18s; }
.drumroll i:nth-child(3) { animation-delay: .36s; }
@keyframes pulse { 0%,100% { transform: scale(.5); opacity: .35 } 50% { transform: scale(1.25); opacity: 1 } }
.reveal-caption { font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; min-height: 2.6em; margin: .4rem 0 1rem; }

.decision { animation: rise .5s ease .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
.decision .row { justify-content: center; }
.target-pick { background: rgba(232,181,60,.09); border: 1.5px solid rgba(232,181,60,.28); border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: 1.1rem; text-align: left; }
.target-pick label { display: block; font-weight: 700; margin-bottom: .55rem; font-size: .92rem; }
/* the picker now lives inside #proof, whose label rule would shout at us */
#proof .target-pick label {
  text-transform: none; letter-spacing: 0; font-size: .95rem;
  opacity: 1; font-weight: 800; margin: 0 0 .55rem;
}
#proof .target-pick .meta { margin-top: .55rem; }
#target-other {
  width: 100%; margin-top: .6rem; background: rgba(0,0,0,.4);
  border: 1.5px solid var(--line); border-radius: 12px; color: var(--paper);
  font: inherit; padding: .8rem .9rem; outline: none;
}
#target-other:focus { border-color: var(--gold); }
select {
  width: 100%; background: rgba(0,0,0,.4); border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--paper); font: inherit; padding: .8rem .9rem; outline: none;
}
select:focus { border-color: var(--gold); }
select[multiple] { padding: .35rem; }
select[multiple] option { padding: .5rem .55rem; border-radius: 8px; }
select[multiple] option:checked { background: var(--gold) linear-gradient(0deg, var(--gold), var(--gold)); color: #241a06; font-weight: 700; }
.pickhint { font-size: .75rem; opacity: .5; margin: .5rem 0 0; }

/* ─────────────────────── end-of-game summary ─────────────────────── */
.sum-hero { text-align: center; }
.sum-hero h2 { letter-spacing: .14em; color: var(--gold); }
.sum-rank { font: 700 3.4rem/1 "Bebas Neue", Impact, sans-serif; color: var(--gold); margin: .5rem 0 .2rem; }
.sum-rank small { font-size: .8rem; letter-spacing: .1em; opacity: .55; }
.sum-breakdown, .sum-stats {
  display: grid; gap: .55rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}
.sum-cell {
  background: rgba(246,239,226,.05); border: 1px solid var(--line);
  border-radius: 12px; padding: .65rem .45rem; text-align: center;
}
.sum-cell b { display: block; font: 700 1.45rem/1 "Bebas Neue", Impact, sans-serif; color: var(--gold); }
.sum-cell span { font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; opacity: .55; line-height: 1.3; display: block; margin-top: .25rem; }
#screen-summary .panel h2 { font-size: 1.2rem; margin: 0 0 .3rem; }
#screen-summary .lead { font-size: .9rem; }
.sum-item { border-top: 1px solid var(--line); padding: .9rem 0; }
.sum-item:first-child { border-top: 0; padding-top: .4rem; }
.sum-item .d-title { font-weight: 800; font-size: .96rem; }
.sum-text { font-size: .86rem; opacity: .62; margin: .3rem 0 0; }
.sum-story { font-size: .9rem; margin: .5rem 0 0; padding-left: .75rem; border-left: 2px solid rgba(232,181,60,.5); }
.sum-tags { margin-top: .45rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
/* Points clawed back because somebody guessed this task. */
.sum-tags .lost { color: var(--red); opacity: 1; font-weight: 700; }
table.sum-board { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sum-board td { padding: .55rem .3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sum-board tr:last-child td { border-bottom: 0; }
.sum-board td.r { opacity: .4; width: 2rem; font-weight: 800; }
.sum-board td.p { text-align: right; font-weight: 800; color: var(--gold); white-space: nowrap; }
.sum-board tr.me td { background: rgba(232,181,60,.09); }
.sum-board tr.me td:first-child { border-radius: 8px 0 0 8px; }
.sum-board tr.me td:last-child { border-radius: 0 8px 8px 0; }
.sum-sub { font-size: .72rem; opacity: .45; }
#dossier-list .d-who { font-size: .78rem; color: var(--gold); opacity: .85; margin-top: .1rem; }

/* celebrate */
.celebrate { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(11,10,9,.9); backdrop-filter: blur(8px); padding: 1.2rem; }
.celebrate[hidden] { display: none; }
.celebrate-inner { text-align: center; animation: rise .4s ease both; }
.celebrate-inner h2 { font-size: 2.6rem; color: var(--gold); letter-spacing: .16em; }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 45; pointer-events: none; border-radius: 2px; }

@media (max-width: 420px) {
  .llama-rig { transform: scale(.86); transform-origin: center bottom; height: 262px; }
  .scroll { width: 270px; }
  .scroll-rod { width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
