/* ==========================================================================
   The Turret & The Table
   Castle Dunmorrow by candlelight: wet stone, soot, blood-red wax, tarnished
   gold, and moonlight through fog. Heavy, slow, theatrical. Nothing bounces.
   ========================================================================== */

:root {
    --soot: #09080a;
    --stone: #15130f;
    --stone-2: #24201b;
    --stone-3: #3a332b;
    --bone: #ece3cf;
    --bone-dim: rgba(236, 227, 207, 0.66);
    --bone-faint: rgba(236, 227, 207, 0.32);
    --blood: #8a0f16;
    --blood-hi: #c3262a;
    --blood-deep: #4a060b;
    --gold: #c8a35b;
    --gold-hi: #f0d79b;
    --gold-lo: #6f5022;
    --moon: #a9bccd;
    --moon-dim: rgba(169, 188, 205, 0.5);
    --pine: #1d3a2d;
    --pine-hi: #3f7a5c;
    --parch: #e6d8b6;
    --ink: #22170f;

    --f-title: 'Cinzel', 'Trajan Pro', serif;
    --f-deco: 'Cinzel Decorative', 'Cinzel', serif;
    --f-body: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --f-chalk: 'Caveat', 'Segoe Print', cursive;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-heavy: cubic-bezier(.65, 0, .35, 1);
    --ease-land: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
    background: var(--soot);
    color: var(--bone);
    font-family: var(--f-body);
    font-size: 20px;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: lining-nums;
    overflow: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- atmosphere ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--soot); }
.backdrop .bg {
    position: absolute; inset: -3%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 2.4s var(--ease-heavy);
    animation: drift 60s ease-in-out infinite alternate;
    filter: saturate(.85) brightness(.72);
}
.backdrop .bg.on { opacity: 1; }
@keyframes drift { from { transform: scale(1.04) translate(-0.6%, 0.4%); } to { transform: scale(1.1) translate(0.8%, -0.6%); } }
/* Fallback skies until the paintings exist */
.bg[data-scene] { background-image: var(--art, none), var(--fallback); }
.bg[data-scene="gate"]    { --fallback: radial-gradient(90% 60% at 60% 30%, #3a3c46 0%, #16161b 50%, #070708 100%); }
.bg[data-scene="hall"]    { --fallback: radial-gradient(70% 60% at 50% 60%, #5a3417 0%, #24140b 45%, #0a0705 100%); }
.bg[data-scene="moor"]    { --fallback: radial-gradient(100% 70% at 50% 20%, #4b5560 0%, #1c2128 50%, #08090b 100%); }
.bg[data-scene="table"]   { --fallback: radial-gradient(70% 60% at 50% 55%, #6b2a12 0%, #2a120b 45%, #0a0506 100%); }
.bg[data-scene="turret"]  { --fallback: radial-gradient(60% 50% at 70% 25%, #3b4b62 0%, #121722 45%, #040508 100%); }
.bg[data-scene="fire"]    { --fallback: radial-gradient(60% 60% at 50% 75%, #a5401a 0%, #3c120a 40%, #070405 100%); }
.bg[data-scene="gallery"] { --fallback: radial-gradient(80% 60% at 50% 40%, #3b2c1f 0%, #17110c 50%, #070505 100%); }

.fog {
    position: absolute; inset: -20% -40%; pointer-events: none; opacity: .5;
    background:
        radial-gradient(30% 18% at 20% 70%, rgba(200, 210, 220, .14), transparent 70%),
        radial-gradient(35% 20% at 60% 80%, rgba(200, 210, 220, .12), transparent 70%),
        radial-gradient(25% 15% at 85% 65%, rgba(200, 210, 220, .10), transparent 70%);
    animation: fog-a 70s linear infinite;
}
.fog.f2 { opacity: .35; animation: fog-b 95s linear infinite; transform: scaleY(-1); }
@keyframes fog-a { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
@keyframes fog-b { from { transform: translateX(10%) scaleY(-1); } to { transform: translateX(-10%) scaleY(-1); } }
.vignette {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 95% at 50% 45%, transparent 45%, rgba(0, 0, 0, .78) 100%);
}
.candle-glow {
    position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(55% 45% at 50% 70%, rgba(255, 150, 60, .10), transparent 70%);
    animation: flicker 4.7s steps(1) infinite;
}
@keyframes flicker {
    0% { opacity: .9; } 11% { opacity: .75; } 23% { opacity: 1; } 37% { opacity: .82; }
    52% { opacity: .95; } 66% { opacity: .78; } 81% { opacity: 1; } 93% { opacity: .86; }
}
.grain {
    position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
body.night .candle-glow { opacity: .25; }
body.flash-red::after {
    content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none;
    background: radial-gradient(circle, rgba(195, 38, 42, .35), rgba(74, 6, 11, .8));
    animation: flash 1.6s var(--ease) forwards;
}
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

/* ---------- type ---------- */
.title { font-family: var(--f-title); font-weight: 600; letter-spacing: .04em; line-height: 1.02; margin: 0; }
.deco { font-family: var(--f-deco); font-weight: 700; }
.kicker {
    font-family: var(--f-title); font-weight: 600; text-transform: uppercase;
    letter-spacing: .32em; font-size: .62em; color: var(--gold);
}
.gilt {
    background: linear-gradient(180deg, #fff2c8 0%, #e8c477 38%, #9a6d2a 52%, #e2bd6c 70%, #fbe9b3 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 24px rgba(200, 160, 80, .18));
}
.blood-text { color: var(--blood-hi); text-shadow: 0 0 30px rgba(195, 38, 42, .45), 0 2px 0 #000; }
.rule {
    display: flex; align-items: center; gap: .8em; color: var(--gold);
}
.rule::before, .rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo), transparent); }

/* The wordmark: two words and a dagger for the ampersand */
.wordmark { text-align: center; line-height: .9; }
.wordmark .w { display: block; font-family: var(--f-deco); font-weight: 700; letter-spacing: .03em; }
.wordmark .amp {
    display: flex; align-items: center; justify-content: center; gap: .4em;
    font-family: var(--f-title); font-size: .32em; letter-spacing: .5em; color: var(--blood-hi); margin: .25em 0 .3em;
    text-transform: uppercase;
}
.wordmark .amp::before, .wordmark .amp::after { content: ''; width: 3.6em; height: 1px; background: linear-gradient(90deg, transparent, var(--blood-hi)); }
.wordmark .amp::after { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
    --b: var(--stone-3);
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 60px; padding: .6em 1.4em;
    font-family: var(--f-title); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 18px;
    border: 1px solid rgba(240, 215, 155, .28);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%), var(--b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .5);
    transition: transform .15s var(--ease), filter .2s;
    text-decoration: none; color: var(--bone);
    -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.btn:active { transform: translateY(1px) scale(.99); filter: brightness(1.15); }
.btn:disabled { opacity: .4; cursor: default; }
.btn-blood { --b: linear-gradient(180deg, #a3161d, #6c0a10); border-color: rgba(255, 140, 120, .35); }
.btn-gold { --b: linear-gradient(180deg, #d9b56b, #8c6427); color: #1c120a; border-color: #f4dda0; }
.btn-pine { --b: linear-gradient(180deg, #2d5a44, #173327); border-color: rgba(160, 230, 190, .3); }
.btn-ghost { --b: rgba(0, 0, 0, .25); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 68px; font-size: 19px; }
.btn small { display: block; font-family: var(--f-body); font-size: 14px; letter-spacing: .04em; text-transform: none; opacity: .75; font-weight: 500; }
.icon-btn {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(0, 0, 0, .35); border: 1px solid rgba(240, 215, 155, .2);
}
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- portraits ---------- */
.portrait {
    --size: 120px;
    position: relative; width: var(--size); aspect-ratio: 4 / 5; flex: none;
    transition: transform .8s var(--ease), opacity .8s, filter 1.2s;
}
.portrait .frame {
    position: absolute; inset: 0; padding: 7%;
    background:
        linear-gradient(135deg, #f3d995 0%, #a87a35 18%, #5d3f17 35%, #d7b066 52%, #6d4c1d 70%, #e8c97f 86%, #7e5a24 100%);
    border-radius: 4px;
    box-shadow: 0 0 0 1px #2a1a08, inset 0 0 0 1px rgba(255, 240, 200, .5), inset 0 0 0 4px rgba(60, 35, 10, .7), 0 12px 30px rgba(0, 0, 0, .65);
}
.portrait .frame::before {
    content: ''; position: absolute; inset: 4.5%; border: 1px solid rgba(40, 25, 5, .7); border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 230, 170, .35); pointer-events: none;
}
/* The painted frame sits over the picture, which fills the frame's opening
   (measured from art-src/frame.png, with a little bleed under the gilt) */
.portrait.has-frame-art .frame { background: none; box-shadow: none; padding: 0; }
.portrait.has-frame-art .frame::before {
    display: block; content: ''; position: absolute; inset: 0; z-index: 2; border: 0; border-radius: 0; box-shadow: none;
    background: var(--frame-art) center / 100% 100% no-repeat;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6));
}
.portrait.has-frame-art .canvas { position: absolute; left: 21%; right: 21%; top: 20.5%; bottom: 18%; width: auto; height: auto; }
.portrait.has-frame-art .plate { top: 96%; bottom: auto; }
.portrait .canvas {
    position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 1px;
    background: radial-gradient(80% 70% at 50% 35%, #4b3a2a, #1c140d);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .8);
}
.portrait .canvas img {
    width: 100%; height: 100%; object-fit: cover;
    /* An oil-portrait finish on a phone selfie */
    filter: sepia(.35) saturate(.85) contrast(1.08) brightness(.92);
}
.portrait .canvas::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(90% 80% at 50% 40%, transparent 50%, rgba(20, 10, 0, .55)),
                linear-gradient(180deg, rgba(255, 200, 120, .08), transparent 40%);
    mix-blend-mode: multiply;
}
.portrait .initial {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--f-deco); font-size: calc(var(--size) * .42); color: rgba(240, 215, 155, .55);
}
.portrait .initial svg { position: absolute; bottom: 0; width: 86%; left: 7%; opacity: .45; color: rgba(240, 215, 155, .5); }
.portrait .initial span { display: none; }
.portrait .plate {
    position: absolute; left: 50%; bottom: calc(var(--size) * -0.16); transform: translateX(-50%);
    min-width: 76%; max-width: 120%; padding: .18em .7em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: var(--f-title); font-weight: 600; font-size: max(13px, calc(var(--size) * .14)); letter-spacing: .06em; text-align: center;
    color: #1c120a; background: linear-gradient(180deg, #f2d690, #a8792f); border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.portrait.dead .canvas img, .portrait.dead .initial { filter: grayscale(1) contrast(1.1) brightness(.55); }
.portrait.dead { filter: saturate(.6); }
.portrait .stamp {
    position: absolute; left: 50%; top: 46%; z-index: 3;
    transform: translate(-50%, -50%) rotate(-14deg);
    padding: .15em .45em; white-space: nowrap;
    font-family: var(--f-title); font-weight: 700; letter-spacing: .1em; font-size: calc(var(--size) * .15);
    color: var(--blood-hi); border: 3px double var(--blood-hi); border-radius: 3px;
    background: rgba(20, 0, 0, .35);
    text-shadow: 0 0 10px rgba(195, 38, 42, .5);
    mix-blend-mode: normal;
}
.portrait .stamp.banished { color: #e7dcc4; border-color: #e7dcc4; background: rgba(0, 0, 0, .55); text-shadow: none; }
.portrait .stamp.just { animation: stamp .6s var(--ease-land) both; }
@keyframes stamp { from { transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); opacity: 0; } 60% { opacity: 1; } to { transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
.portrait .role-tag {
    position: absolute; top: calc(var(--size) * -0.1); left: 50%; transform: translateX(-50%); z-index: 4;
    padding: .1em .55em; border-radius: 2px; white-space: nowrap;
    font-family: var(--f-title); font-size: max(11px, calc(var(--size) * .1)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.role-tag.traitor { background: var(--blood); color: #fff1ea; box-shadow: 0 0 18px rgba(195, 38, 42, .6); }
.role-tag.faithful { background: var(--pine); color: #e8f5ec; }
.portrait .tick {
    position: absolute; right: -6px; top: -6px; z-index: 5; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; background: var(--gold); color: #1c120a; font-weight: 800; font-size: 15px;
    box-shadow: 0 0 0 2px #1c120a, 0 0 16px rgba(240, 215, 155, .6);
    animation: pop .4s var(--ease-land);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.portrait.offline::after {
    content: 'away'; position: absolute; right: 4px; bottom: 18%; z-index: 5;
    font: 600 11px var(--f-title); letter-spacing: .1em; text-transform: uppercase;
    background: rgba(0, 0, 0, .7); color: var(--bone-dim); padding: 1px 5px; border-radius: 2px;
}
.portrait.lit { filter: drop-shadow(0 0 22px rgba(240, 200, 120, .55)); transform: scale(1.06); }
.portrait.dim { opacity: .35; filter: grayscale(.6); }

/* ---------- the TV ---------- */
/* Big everywhere: the room has some older eyes in it */
body.tv { font-size: clamp(19px, 1.6vw, 36px); }
.tv-top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 20;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 1.1vw 2vw; pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent);
}
.tv-top .mark { font-family: var(--f-deco); font-size: 1.05em; color: var(--gold-hi); letter-spacing: .04em; opacity: .9; }
.tv-top .mark b { color: var(--blood-hi); font-family: var(--f-title); font-weight: 600; font-size: .75em; margin: 0 .3em; }
.tv-top .day { text-align: center; }
.tv-top .day .kicker { font-size: .7em; }
.tv-top .right { display: flex; justify-content: flex-end; align-items: center; gap: 1.2em; }
.pot {
    display: flex; align-items: center; gap: .55em; padding: .35em .9em .35em .5em;
    background: linear-gradient(180deg, rgba(40, 28, 12, .85), rgba(15, 10, 5, .85));
    border: 1px solid var(--gold-lo); border-radius: 40px;
    box-shadow: 0 0 30px rgba(200, 160, 80, .12);
}
.pot .coin {
    width: 1.6em; height: 1.6em; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff1be, #d2a650 45%, #7c5620 100%);
    box-shadow: inset 0 0 0 2px rgba(80, 50, 10, .6);
}
.pot .num { font-family: var(--f-title); font-weight: 700; font-size: 1.35em; letter-spacing: .04em; color: var(--gold-hi); min-width: 4.5em; }
.pot .lbl { font-size: .62em; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-family: var(--f-title); display: block; line-height: 1; }
.pot.bump { animation: bump .7s var(--ease); }
.pot.drop { animation: drop .7s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); box-shadow: 0 0 60px rgba(240, 210, 130, .5); } }
@keyframes drop { 30% { transform: scale(.94); box-shadow: 0 0 60px rgba(195, 38, 42, .6); } }
.dagger-flag {
    display: flex; align-items: center; gap: .4em; color: var(--blood-hi); font-family: var(--f-title); font-size: .7em; letter-spacing: .2em; text-transform: uppercase;
    animation: throb 2.4s ease-in-out infinite;
}
.dagger-flag svg { width: 1.6em; height: 1.6em; }
@keyframes throb { 50% { opacity: .55; } }

.timer {
    position: fixed; z-index: 21; right: 1.6vw; top: 5vw;
    width: 13vw; height: 13vw;
    transition: opacity .6s;
}
.timer svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(0, 0, 0, .85)); }
/* The numbers sit on top of the ring, big enough to read from the back of the room */
.timer .t {
    position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
    font-family: var(--f-title); font-weight: 700; font-size: 3.6vw; letter-spacing: .02em; color: var(--bone);
    text-shadow: 0 2px 6px #000;
}
.timer.low .t { color: var(--blood-hi); animation: throb 1s infinite; }
.timer.paused .t { color: var(--moon); }

#stage { position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; padding: 7vw 4vw 11vw; }
.scene { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.scene.enter { animation: scene-in 1.4s var(--ease) both; }
@keyframes scene-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.scene h1.title { font-size: 4.6em; }
.scene h2.title { font-size: 2.8em; }
.scene .lede { font-size: 1.5em; color: var(--bone-dim); font-style: italic; max-width: 36em; margin: .6em auto 0; }

.caption {
    position: fixed; left: 50%; bottom: 2.4vw; z-index: 30; transform: translateX(-50%);
    width: min(78vw, 70em); text-align: center;
    font-size: 1.7em; font-style: italic; line-height: 1.28; color: var(--bone);
    text-shadow: 0 2px 4px #000, 0 0 30px rgba(0, 0, 0, .9);
    opacity: 0; transition: opacity .5s;
    pointer-events: none;
}
.caption.on { opacity: 1; }
.caption .who { display: block; font-family: var(--f-title); font-style: normal; font-size: .5em; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; margin-bottom: .2em; }
body.no-captions .caption { display: none; }

.gallery-strip {
    position: fixed; left: 0; right: 0; bottom: 9.6vw; z-index: 6;
    display: flex; justify-content: center; gap: 1.4vw; padding: 0 3vw;
    transition: transform 1s var(--ease), opacity 1s;
}
.gallery-strip .portrait { --size: 7.2vw; }
.gallery-strip.away { transform: translateY(140%); opacity: 0; }

.tv-controls {
    position: fixed; right: 1.2vw; bottom: 1.2vw; z-index: 40; display: flex; gap: .5em; opacity: .25; transition: opacity .3s;
}
.tv-controls:hover { opacity: 1; }
.paused-banner {
    position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none;
    background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px);
}
.paused-banner .title { font-size: 5em; color: var(--moon); letter-spacing: .3em; }

/* The door you click to let sound in */
.enter-overlay {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; cursor: pointer;
    background: radial-gradient(60% 60% at 50% 45%, rgba(40, 12, 10, .5), rgba(0, 0, 0, .96)), var(--soot);
    transition: opacity 1.6s var(--ease-heavy);
}
.enter-overlay.gone { opacity: 0; pointer-events: none; }
.enter-overlay .inner { text-align: center; }
.enter-overlay .wordmark { font-size: 6vw; }
.enter-overlay .hint { margin-top: 3vw; font-family: var(--f-title); letter-spacing: .4em; text-transform: uppercase; font-size: 1em; color: var(--gold); animation: throb 3s infinite; }

/* -- lobby -- */
.lobby { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4vw; align-items: center; width: 100%; height: 100%; text-align: left; }
.lobby .wordmark { font-size: 5.2vw; margin-bottom: 1.5vw; text-align: left; }
.lobby .wordmark .amp { justify-content: flex-start; }
.join-card {
    display: grid; grid-template-columns: auto 1fr; gap: 1.6vw; align-items: center;
    padding: 1.4vw; background: rgba(10, 8, 6, .92); border: 1px solid var(--gold-lo); border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.join-card .qr { width: 12vw; height: 12vw; background: #ece3cf; padding: .6vw; border-radius: 3px; }
.join-card .qr img, .join-card .qr canvas, .join-card .qr svg { width: 100%; height: 100%; image-rendering: pixelated; }
.join-card .code { font-family: var(--f-title); font-weight: 700; font-size: 4.2vw; letter-spacing: .25em; color: var(--gold-hi); line-height: 1; }
.join-card .url { color: var(--bone-dim); font-size: 1.05em; }
.lobby-wall { display: flex; flex-wrap: wrap; gap: 2.4vw 1.6vw; justify-content: center; align-content: center; }
.lobby-wall .portrait { --size: 8.4vw; animation: hang 1.2s var(--ease-land) both; }
@keyframes hang { from { opacity: 0; transform: translateY(-40px) rotate(-4deg); } to { opacity: 1; transform: none; } }
.lobby-wall .empty-frame { width: 8.4vw; aspect-ratio: 4 / 5; border: 1px dashed rgba(200, 163, 91, .3); border-radius: 4px; background: rgba(8, 6, 5, .78); display: grid; place-items: center; color: var(--bone-faint); font-family: var(--f-title); font-size: .8em; letter-spacing: .1em; }
.lobby-settings { margin-top: 1.4vw; display: flex; flex-wrap: wrap; gap: .6em 1.2em; font-size: .85em; color: var(--bone-dim); }
.lobby-settings button { background: none; border: 1px solid var(--stone-3); border-radius: 30px; padding: .2em .8em; color: var(--bone-dim); }
.lobby-settings button.on { border-color: var(--gold); color: var(--gold-hi); }
.lobby .start-row { margin-top: 1.6vw; display: flex; gap: 1em; align-items: center; }

/* -- big moments -- */
.moment .title { font-size: 5.5em; }
.moment .sub { margin-top: .5em; font-size: 1.6em; color: var(--bone-dim); font-style: italic; }
.seal {
    width: 15vw; height: 15vw; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 38% 32%, #d23a33, #8a0f16 45%, #4a060b 100%);
    box-shadow: inset 0 -8px 24px rgba(0, 0, 0, .5), inset 0 6px 14px rgba(255, 160, 140, .3), 0 18px 50px rgba(0, 0, 0, .7);
    position: relative; animation: breathe 4s ease-in-out infinite;
}
.seal::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 2px solid rgba(255, 190, 170, .25); box-shadow: inset 0 0 0 6px rgba(60, 0, 0, .25); }
.seal svg { width: 52%; height: 52%; color: rgba(255, 210, 190, .55); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .5)); }
.seal.has-art { background: var(--seal-art) center / contain no-repeat; box-shadow: none; }
.seal.has-art::before, .seal.has-art svg { display: none; }
@keyframes breathe { 50% { transform: scale(1.03); } }

/* -- missions -- */
.mission-card { max-width: 60em; }
.mission-card .title { font-size: 4.4em; }
.mission-card .blurb { font-size: 1.6em; font-style: italic; color: var(--bone-dim); margin-top: .3em; }
.mission-rules { margin: 2vw auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4vw; max-width: 62em; text-align: left; }
.mission-rules .r { padding: 1vw 1.2vw; background: rgba(10, 8, 6, .9); border-top: 2px solid var(--gold-lo); font-size: 1.05em; }
.mission-rules .r b { display: block; font-family: var(--f-title); font-size: .78em; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .3em; }

.stones { display: flex; gap: 2vw; justify-content: center; margin: 2vw 0 1.4vw; }
.stone {
    width: 11vw; aspect-ratio: 3 / 4; border-radius: 46% 46% 10% 10% / 28% 28% 6% 6%;
    background: var(--stone-art, linear-gradient(160deg, #57524b, #2a2723 60%, #1a1815));
    background-size: cover; background-position: center;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, .6), inset 0 4px 10px rgba(255, 255, 255, .08), 0 24px 40px rgba(0, 0, 0, .7);
    display: grid; place-items: center; position: relative;
    transition: box-shadow 1s, filter 1s;
}
.stone .n { position: absolute; top: 14%; font-family: var(--f-title); font-weight: 700; color: rgba(255, 255, 255, .28); font-size: 1.4em; }
.stone .sym { width: 48%; opacity: .65; color: #cfc6b4; }
.stone .sym svg { width: 100%; height: auto; }
.stone.glow { box-shadow: inset 0 -10px 30px rgba(0, 0, 0, .6), 0 0 60px rgba(120, 200, 255, .55), 0 0 0 2px rgba(150, 220, 255, .5); filter: brightness(1.2); }
.attempts { display: flex; flex-direction: column; gap: .6vw; align-items: center; }
.attempt { display: flex; align-items: center; gap: 1vw; padding: .4vw 1.2vw; background: rgba(8, 6, 5, .88); border-radius: 40px; }
.attempt .syms { display: flex; gap: .6vw; }
.attempt .syms span { width: 2.4vw; height: 2.4vw; color: var(--bone-dim); display: grid; place-items: center; }
.attempt .syms svg { width: 100%; height: 100%; }
.attempt .glows { font-family: var(--f-title); color: #9fd8ff; letter-spacing: .1em; }
.keeper-line { display: flex; align-items: center; gap: 1vw; justify-content: center; margin-top: 1vw; font-size: 1.2em; color: var(--bone-dim); }
.keeper-line .portrait { --size: 4.4vw; }

.big-count { font-family: var(--f-title); font-weight: 700; font-size: 6em; line-height: 1; }
.big-count small { font-size: .3em; letter-spacing: .3em; color: var(--bone-dim); display: block; margin-top: .3em; }
.relic-log { display: flex; flex-direction: column-reverse; gap: .6vw; margin-top: 1.4vw; width: min(40em, 70vw); max-height: 15vw; overflow: hidden; }
.relic-log .e { --tint: var(--gold); display: flex; justify-content: space-between; align-items: center; gap: 1vw; padding: .6vw 1.2vw; background: rgba(8, 6, 5, .9); border: 1px solid color-mix(in srgb, var(--tint) 35%, transparent); border-radius: 3px; animation: slide-in .8s var(--ease) both; font-size: 1.2em; }
.relic-log .e span::before { content: '◆'; color: var(--tint); margin-right: .6em; font-size: .8em; }
.relic-log .e.shield { --tint: var(--moon); }
.relic-log .e.seer { --tint: #b98cff; }
.relic-log .e.cursed { --tint: var(--blood-hi); color: #ffb9b0; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

.scroll {
    position: relative; padding: 3vw 4vw; max-width: 70vw;
    background: var(--parch-art, linear-gradient(180deg, #ead9b0, #d6c08f));
    background-size: cover;
    color: var(--ink); border-radius: 3px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .8), inset 0 0 60px rgba(120, 80, 30, .35);
    transform: rotate(-.6deg);
}
.cipher-line { display: flex; flex-wrap: wrap; gap: 1.2vw 3vw; justify-content: center; }
.cipher-word { display: flex; gap: .5vw; }
.cipher-word .glyph { width: 3.6vw; height: 3.6vw; color: var(--ink); }
.cipher-answer { margin-top: 1.4vw; font-family: var(--f-title); font-size: 2.2em; letter-spacing: .2em; color: var(--blood); }

.gazette-slots { display: flex; gap: 1.4vw; justify-content: center; flex-wrap: wrap; margin-top: 1.4vw; }
.gazette-slots .w {
    min-width: 9vw; padding: .5vw 1vw; border-bottom: 3px solid var(--ink); font-family: var(--f-title); font-weight: 700;
    font-size: 2em; color: var(--ink); letter-spacing: .1em;
}
.gazette-slots .w small { display: block; font-family: var(--f-body); font-size: .4em; letter-spacing: .1em; color: rgba(34, 23, 15, .6); font-weight: 500; }
.masthead { font-family: 'UnifrakturMaguntia', var(--f-deco); font-size: 3.8em; color: var(--ink); line-height: 1; border-bottom: 3px double var(--ink); padding-bottom: .2em; margin-bottom: .3em; }

.shield-icon { width: 12vw; height: 12vw; margin: 0 auto; filter: drop-shadow(0 0 30px rgba(169, 188, 205, .35)); }
.shield-icon img, .shield-icon svg { width: 100%; height: 100%; object-fit: contain; }
.hands { display: flex; gap: 1vw; justify-content: center; margin-top: 1.6vw; min-height: 5vw; }
.hands .h { width: 4vw; height: 5vw; animation: hang .8s var(--ease-land) both; color: var(--bone-dim); }

.candle-ring { position: relative; width: 44vw; height: 30vw; margin: 0 auto; }
.candle-ring .c { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .3vw; }
.candle-ring .c .portrait { --size: 5vw; }
.flame {
    width: 1.4vw; height: 2.6vw; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(circle at 50% 70%, #fff7d8 0%, #ffcf63 35%, #ff7a1a 70%, transparent 72%);
    filter: blur(.5px) drop-shadow(0 0 1.2vw rgba(255, 170, 60, .9));
    animation: dance 1.6s ease-in-out infinite alternate;
    transform-origin: 50% 90%;
    transition: opacity .4s, transform .4s;
}
.flame.out { opacity: 0; transform: scaleY(.2); }
.flame.wait { opacity: .25; filter: grayscale(1); animation: none; }
@keyframes dance { 0% { transform: rotate(-3deg) scaleY(1); } 50% { transform: rotate(2deg) scaleY(1.08); } 100% { transform: rotate(-1deg) scaleY(.95); } }
.vigil-meter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.vigil-meter .big-count { font-size: 5em; }

.result-card .title { font-size: 4em; }
.result-card .gold { font-family: var(--f-title); font-size: 3.2em; color: var(--gold-hi); margin-top: .3em; }
.result-card .gold.neg { color: var(--blood-hi); }

/* -- the round table -- */
.table-ring { position: relative; width: 78vw; height: 34vw; margin-top: 1vw; }
.table-ring .board {
    position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
    width: 52vw; height: 17vw; border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 45%, #5c3a1e, #2b190c 70%, #120a05);
    box-shadow: inset 0 0 0 .5vw #1a0f07, inset 0 0 0 .7vw #6d4a25, 0 2vw 4vw rgba(0, 0, 0, .8);
}
.table-ring .board.has-art { background: var(--table-art) center / cover; box-shadow: 0 2vw 4vw rgba(0, 0, 0, .8); }
.table-ring .board .centre {
    position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
    font-family: var(--f-title); color: var(--gold-hi); font-size: 1.3em; letter-spacing: .14em;
}
.seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; transition: transform .8s var(--ease), opacity .6s; }
.seat .portrait { --size: 7.8vw; }
.slate {
    position: absolute; bottom: 104%; left: 50%; transform: translateX(-50%) rotate(-3deg) scale(.4); opacity: 0;
    min-width: 9vw; padding: .5vw .9vw; border-radius: 4px;
    background: var(--slate-art, linear-gradient(160deg, #2f3433, #171a1a));
    background-size: cover;
    border: .45vw solid #6b4a2a; box-shadow: 0 1vw 2vw rgba(0, 0, 0, .7);
    font-family: var(--f-chalk); font-weight: 700; font-size: 2.1em; color: #f1efe6; line-height: 1;
    text-shadow: 0 0 2px rgba(255, 255, 255, .4);
    transition: transform .7s var(--ease-land), opacity .5s;
    white-space: nowrap; z-index: 8;
}
.slate.up { transform: translateX(-50%) rotate(-3deg) scale(1); opacity: 1; }
.slate.forced::after { content: 'chosen for them'; display: block; font-family: var(--f-body); font-style: italic; font-size: .38em; color: #bbb; margin-top: .2em; }
.seat .votes-for { position: absolute; top: 100%; margin-top: 1.4vw; display: flex; gap: .25vw; }
.seat .votes-for i { width: .9vw; height: .9vw; border-radius: 50%; background: var(--blood-hi); box-shadow: 0 0 .6vw var(--blood-hi); animation: pop .4s var(--ease-land); }
.seat.speaking .portrait { filter: drop-shadow(0 0 2vw rgba(255, 200, 120, .7)); transform: scale(1.12); }
.seat.banished-glow .portrait { filter: drop-shadow(0 0 3vw rgba(195, 38, 42, .9)); transform: scale(1.3); z-index: 10; }
.verdict {
    position: fixed; inset: 0; z-index: 25; display: grid; place-items: center; pointer-events: none;
    background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, .3), rgba(0, 0, 0, .9));
    animation: scene-in 1.2s var(--ease) both;
}
.verdict .inner { text-align: center; }
.verdict .portrait { --size: 17vw; margin: 0 auto 3vw; }
.verdict .word { font-family: var(--f-deco); font-size: 8vw; line-height: 1; }
.verdict .word.traitor { color: var(--blood-hi); text-shadow: 0 0 4vw rgba(195, 38, 42, .7), 0 .3vw 0 #000; }
.verdict .word.faithful { color: #cfe8d8; text-shadow: 0 0 4vw rgba(80, 170, 120, .5), 0 .3vw 0 #000; }
.verdict .sub { margin-top: .6em; font-size: 1.8em; font-style: italic; color: var(--bone-dim); }
.verdict .name { font-family: var(--f-title); font-size: 2.4em; letter-spacing: .2em; color: var(--gold-hi); margin-bottom: .2em; }

/* -- breakfast -- */
.long-table { position: relative; width: 84vw; display: flex; flex-direction: column; align-items: center; gap: 2vw; }
.long-table .chairs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2vw 1.6vw; max-width: 84vw; }
.long-table .chair { width: 9vw; aspect-ratio: 4 / 5; border-radius: 4px; position: relative; }
.long-table .chair.empty { border: 1px dashed rgba(236, 227, 207, .16); background: radial-gradient(circle, rgba(0, 0, 0, .4), transparent); }
.long-table .chair .portrait { --size: 9vw; position: absolute; inset: 0; animation: walk-in 1.4s var(--ease) both; }
@keyframes walk-in { from { opacity: 0; transform: translateY(30px) scale(.94); filter: blur(4px) brightness(.3); } to { opacity: 1; transform: none; filter: none; } }
.long-table .chair.victim .portrait { animation: victim-in 2.4s var(--ease) both; }
@keyframes victim-in { from { opacity: 0; transform: scale(1.4); filter: brightness(3) blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* -- finale -- */
.embers { display: flex; gap: 2.4vw; justify-content: center; margin-top: 2vw; }
.ember { display: flex; flex-direction: column; align-items: center; gap: 1vw; }
.ember .portrait { --size: 9vw; }
.ember .choice { font-family: var(--f-title); font-weight: 700; letter-spacing: .14em; font-size: 1.1em; padding: .3em .8em; border-radius: 2px; opacity: 0; transform: translateY(10px); transition: all .8s var(--ease); }
.ember .choice.up { opacity: 1; transform: none; }
.ember .choice.end { background: var(--gold); color: #1c120a; }
.ember .choice.banish { background: var(--blood); color: #fff; }

/* -- ending -- */
.reveal-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 3vw 2vw; max-width: 88vw; margin-top: 2vw; }
.reveal-grid .portrait { --size: 8.6vw; }
.flip { perspective: 1000px; }
.flip .portrait { transition: transform 1s var(--ease); }
.winners-line { font-size: 1.6em; margin-top: 1.4vw; font-style: italic; color: var(--bone-dim); }
.share { font-family: var(--f-title); font-size: 2.4em; color: var(--gold-hi); margin-bottom: 4vw; }
.recap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3vw; width: 88vw; max-height: 74vh; text-align: left; }
.recap .col { overflow: hidden; }
.recap h3 { font-family: var(--f-title); color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .9em; margin: 0 0 .8em; border-bottom: 1px solid var(--gold-lo); padding-bottom: .4em; }
.recap table { width: 100%; border-collapse: collapse; font-size: .95em; }
.recap td, .recap th { padding: .3em .5em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.recap th { font-family: var(--f-title); font-weight: 600; letter-spacing: .1em; font-size: .75em; color: var(--bone-dim); text-align: left; }
.recap .t { color: var(--blood-hi); font-weight: 700; }
.diary { padding: .6em .9em; margin-bottom: .6em; background: rgba(230, 216, 182, .06); border: 1px solid rgba(200, 163, 91, .18); border-radius: 3px; font-style: italic; animation: slide-in .8s var(--ease) both; }
.diary b { display: block; font-style: normal; font-family: var(--f-title); font-size: .8em; letter-spacing: .1em; color: var(--gold); margin-right: .5em; }

/* ==========================================================================
   The phone
   ========================================================================== */
body.phone {
    overflow: auto; font-size: 20px; min-height: 100%;
    background: radial-gradient(120% 70% at 50% 0%, #1b1512 0%, #0b0908 55%, #050404 100%) fixed;
    overscroll-behavior: none;
}
body.phone.night { background: radial-gradient(120% 70% at 50% 0%, #0f141c 0%, #07090c 55%, #030304 100%) fixed; }
.ph-top {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: .6em;
    padding: calc(env(safe-area-inset-top) + 10px) 14px 10px;
    background: linear-gradient(180deg, rgba(8, 6, 5, .96), rgba(8, 6, 5, .75));
    border-bottom: 1px solid rgba(200, 163, 91, .14);
    backdrop-filter: blur(6px);
}
.ph-top .me { display: flex; align-items: center; gap: .55em; min-width: 0; }
.ph-top .me .portrait { --size: 34px; }
.ph-top .me .portrait .plate { display: none; }
.ph-top .me .nm { font-family: var(--f-title); font-weight: 600; letter-spacing: .05em; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-top .me .sub { font-size: 12px; color: var(--bone-faint); letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-title); }
.ph-top .pot { padding: .2em .7em .2em .3em; }
.ph-top .pot .num { font-size: 15px; min-width: 0; }
.ph-top .pot .coin { width: 20px; height: 20px; }
.ph-main { padding: 18px 16px calc(env(safe-area-inset-bottom) + 120px); max-width: 520px; margin: 0 auto; }
.ph-screen { animation: scene-in .7s var(--ease) both; display: flex; flex-direction: column; gap: 16px; }
.ph-screen h1 { font-family: var(--f-title); font-weight: 600; font-size: 31px; margin: 0; letter-spacing: .02em; line-height: 1.1; }
.ph-screen h2 { font-family: var(--f-title); font-weight: 600; font-size: 25px; margin: 0; letter-spacing: .02em; }
.ph-screen p { margin: 0; color: var(--bone-dim); }
.ph-screen .center { text-align: center; }
.ph-card {
    padding: 16px; border-radius: 6px;
    background: linear-gradient(180deg, rgba(36, 32, 27, .9), rgba(20, 17, 14, .9));
    border: 1px solid rgba(200, 163, 91, .18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.ph-card.parch { background: var(--parch-art, linear-gradient(180deg, #e9dbb7, #d3bd8d)); background-size: cover; color: var(--ink); border-color: #9c7f4b; }
.ph-card.parch p { color: rgba(34, 23, 15, .8); }
.ph-watch { text-align: center; padding: 40px 10px; }
.ph-watch .eye { width: 70px; height: 70px; margin: 0 auto 14px; color: var(--gold); opacity: .8; animation: throb 3s infinite; }
.ph-watch h2 { font-size: 24px; }
.ph-watch p { margin-top: 8px; font-style: italic; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-family: var(--f-title); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
input.txt, textarea.txt {
    width: 100%; padding: 14px 14px; border-radius: 4px; font: inherit; font-size: 20px;
    background: rgba(0, 0, 0, .45); color: var(--bone); border: 1px solid rgba(200, 163, 91, .3);
    outline: none;
}
input.txt:focus, textarea.txt:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 163, 91, .15); }
input.code-in { font-family: var(--f-title); font-weight: 700; letter-spacing: .4em; text-transform: uppercase; text-align: center; font-size: 30px; }
.ph-err { color: #ff9f94; min-height: 1.2em; font-size: 16px; text-align: center; }
.guest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guest-grid button {
    min-height: 58px; padding: 10px; border-radius: 4px; text-align: left;
    background: rgba(0, 0, 0, .35); border: 1px solid rgba(200, 163, 91, .25);
    font-family: var(--f-title); font-weight: 600; font-size: 17px; letter-spacing: .04em;
}
.guest-grid button small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--bone-faint); letter-spacing: 0; }
.guest-grid button[disabled] { opacity: .35; }
.guest-grid button.other { grid-column: span 2; text-align: center; font-style: italic; }
.selfie-preview { margin: 6px auto; }
.selfie-preview .portrait { --size: 170px; margin: 0 auto; }

/* The seal you hold to see who you are */
.peek {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(env(safe-area-inset-bottom) + 12px);
    background: linear-gradient(0deg, rgba(5, 4, 4, .98) 60%, transparent);
    display: flex; justify-content: center;
}
.peek-btn {
    display: flex; align-items: center; gap: 12px; width: 100%; max-width: 480px;
    padding: 10px 16px; border-radius: 40px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
    background: rgba(20, 16, 13, .95); border: 1px solid rgba(200, 163, 91, .25);
    font-family: var(--f-title); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--bone-dim);
}
.peek-btn .mini-seal { width: 40px; height: 40px; border-radius: 50%; flex: none; background: radial-gradient(circle at 38% 32%, #d23a33, #8a0f16 45%, #4a060b 100%); box-shadow: inset 0 -3px 8px rgba(0, 0, 0, .5); }
.peek-btn .mini-seal.has-art { background: var(--seal-art) center / contain no-repeat; box-shadow: none; }
.peek-btn .what { flex: 1; text-align: left; }
.peek-btn .what b { display: block; font-size: 16px; letter-spacing: .1em; color: var(--bone); }
.peek-btn.held .what b.traitor { color: var(--blood-hi); }
.peek-btn.held .what b.faithful { color: #9fe0bb; }

.role-card {
    position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; display: grid; place-items: center; text-align: center;
    background: #120c0a; border: 1px solid rgba(200, 163, 91, .3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
}
.role-card .art { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .85; }
.role-card .art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .9)); }
.role-card .words { position: relative; z-index: 2; align-self: end; padding: 22px 18px; }
.role-card .words .r { font-family: var(--f-deco); font-size: 44px; line-height: 1; }
.role-card.traitor { background: radial-gradient(80% 60% at 50% 35%, #5a0a10, #160304); }
.role-card.traitor .r { color: var(--blood-hi); text-shadow: 0 0 30px rgba(195, 38, 42, .7); }
.role-card.faithful { background: radial-gradient(80% 60% at 50% 35%, #1d3a2d, #06100b); }
.role-card.faithful .r { color: #d6efe0; }
.role-card .words p { color: var(--bone-dim); margin-top: 8px; font-size: 16px; }
.hold-seal {
    position: relative; width: 210px; height: 210px; margin: 10px auto; border-radius: 50%; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.hold-seal .seal { width: 100%; height: 100%; }
.hold-seal .ring { position: absolute; inset: -10px; }
.hold-seal .ring circle { transition: stroke-dashoffset .1s linear; }
.co-traitors { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.co-traitors .portrait { --size: 70px; }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; padding-bottom: 8px; }
.pick-grid button { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; position: relative; }
.pick-grid .portrait { --size: 98px; }
.pick-grid button.sel .portrait { filter: drop-shadow(0 0 14px rgba(240, 200, 120, .8)); transform: scale(1.06); }
.pick-grid button.sel::after { content: ''; position: absolute; inset: -6px -2px 10px; border: 2px solid var(--gold); border-radius: 8px; pointer-events: none; }
.pick-grid button.blood.sel .portrait { filter: drop-shadow(0 0 14px rgba(195, 38, 42, .9)); }
.pick-grid button.blood.sel::after { border-color: var(--blood-hi); }
.pick-grid button[disabled] { opacity: .3; }
.pick-grid .marks { position: absolute; top: -6px; right: 4px; display: flex; gap: 3px; z-index: 6; }
.pick-grid .marks .portrait { --size: 26px; }
.pick-grid .marks .portrait .plate { display: none; }

.clue-card { text-align: center; }
.clue-card .stone-mini { width: 120px; margin: 6px auto 8px; aspect-ratio: 3 / 4; border-radius: 46% 46% 10% 10% / 28% 28% 6% 6%; background: var(--stone-art, linear-gradient(160deg, #57524b, #2a2723 60%, #1a1815)); background-size: cover; display: grid; place-items: center; box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .6); }
.clue-card .stone-mini .sym { width: 55%; color: #ddd3bf; }
.clue-card .big { font-family: var(--f-title); font-size: 30px; font-weight: 700; letter-spacing: .06em; }
.lie-box { margin-top: 12px; padding: 12px; border: 1px dashed rgba(195, 38, 42, .5); border-radius: 6px; background: rgba(90, 8, 12, .2); }
.lie-box .label { color: var(--blood-hi); }
.rune-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rune-slot { aspect-ratio: 3 / 4; border-radius: 40% 40% 8% 8% / 22% 22% 6% 6%; background: linear-gradient(160deg, #4b4741, #24211d); border: 2px solid transparent; display: grid; place-items: center; position: relative; }
.rune-slot.active { border-color: var(--gold); box-shadow: 0 0 16px rgba(200, 163, 91, .5); }
.rune-slot .n { position: absolute; top: 6px; font-family: var(--f-title); font-size: 12px; color: rgba(255, 255, 255, .35); }
.rune-slot .sym { width: 56%; color: #e4dac6; }
.rune-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rune-choices button { padding: 8px 4px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(200, 163, 91, .2); border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-family: var(--f-title); letter-spacing: .05em; }
.rune-choices button svg { width: 34px; height: 34px; color: var(--bone); }
.scan-box { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid rgba(200, 163, 91, .3); }
.scan-box video { width: 100%; height: 100%; object-fit: cover; }
.scan-box .reticle { position: absolute; inset: 18%; border: 2px solid rgba(240, 215, 155, .7); border-radius: 12px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); }
.find-card { display: flex; gap: 12px; align-items: center; }
.find-card .ico { width: 54px; height: 54px; flex: none; border-radius: 6px; background: rgba(0, 0, 0, .35); display: grid; place-items: center; overflow: hidden; }
.find-card .ico img { width: 100%; height: 100%; object-fit: cover; }
.coord { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.coord div { padding: 10px 4px; border-radius: 6px; background: rgba(34, 23, 15, .1); border: 1px solid rgba(34, 23, 15, .25); }
.coord b { display: block; font-family: var(--f-title); font-size: 30px; line-height: 1.1; color: var(--ink); }
.coord small { font-family: var(--f-title); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(34, 23, 15, .65); }
.big-hold {
    position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; margin: 10px auto; max-width: 300px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
    background: radial-gradient(circle at 50% 60%, #2a1d12, #0c0806 70%);
    border: 1px solid rgba(200, 163, 91, .3); display: grid; place-items: center;
}
.big-hold .flame { width: 46px; height: 86px; }
.big-hold .wick { position: absolute; bottom: 22%; width: 34px; height: 30%; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #efe4c8, #b9a77c); }
.big-hold .flame { position: absolute; bottom: 50%; }
.big-hold.down { box-shadow: 0 0 60px rgba(255, 170, 60, .35), inset 0 0 40px rgba(255, 170, 60, .15); }
.chat { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; padding: 8px; background: rgba(0, 0, 0, .35); border-radius: 6px; }
.chat .m { font-size: 15px; }
.chat .m b { color: var(--blood-hi); font-family: var(--f-title); font-size: 12px; letter-spacing: .1em; margin-right: 6px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.seg { display: flex; border: 1px solid rgba(200, 163, 91, .3); border-radius: 30px; overflow: hidden; }
.seg button { flex: 1; padding: 10px; background: none; border: 0; font-family: var(--f-title); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.seg button.on { background: var(--blood); color: #fff; }
.steward {
    position: fixed; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 84px); z-index: 31;
}
.steward .icon-btn { width: 46px; height: 46px; background: rgba(15, 12, 10, .95); }
.steward-menu { position: absolute; right: 0; bottom: 56px; display: flex; flex-direction: column; gap: 8px; min-width: 190px; padding: 10px; background: rgba(15, 12, 10, .98); border: 1px solid rgba(200, 163, 91, .3); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .7); }
.steward-menu .btn { min-height: 44px; font-size: 13px; }
.steward-menu .note { font-size: 12px; color: var(--bone-faint); text-align: center; font-style: italic; }
.timer-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-title); font-weight: 700; letter-spacing: .06em; font-size: 22px; color: var(--bone); }
.timer-pill.low { color: var(--blood-hi); }
.ghost-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; border: 1px solid var(--moon-dim); color: var(--moon); font-family: var(--f-title); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.toast {
    position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 70px); transform: translateX(-50%); z-index: 50;
    padding: 12px 18px; border-radius: 6px; background: rgba(20, 16, 13, .97); border: 1px solid var(--gold-lo);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .7); max-width: 90vw; text-align: center; animation: scene-in .5s var(--ease) both;
}

/* The murdered: a great red X painted across the portrait */
.portrait .xmark { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.portrait.has-frame-art .xmark { inset: 16% 17% 14%; }
.portrait .xmark svg { width: 100%; height: 100%; overflow: visible; }
.portrait .xmark path {
    fill: none; stroke: #b3121b; stroke-linecap: round; stroke-width: 11;
    filter: drop-shadow(0 0 3px rgba(80, 0, 0, .8));
    stroke-dasharray: 140; stroke-dashoffset: 0; opacity: .92;
}
.portrait .xmark path.b { stroke-width: 10; }
.portrait .xmark.just path { animation: slash .45s cubic-bezier(.7, 0, .3, 1) both; }
.portrait .xmark.just path.b { animation-delay: .38s; }
@keyframes slash { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
/* The painted X: wiped on like a brush crossing the face */
.portrait .xmark.painted { inset: 2% 0 6%; display: grid; place-items: center; }
.portrait.has-frame-art .xmark.painted { inset: 10% 6% 8%; }
.portrait .xmark.painted img { width: 112%; max-width: none; height: auto; filter: drop-shadow(0 2px 3px rgba(40, 0, 0, .7)); opacity: .94; }
.portrait .xmark.painted.just img { animation: brush 1.1s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes brush {
    0% { clip-path: polygon(0 0, 0 0, 0 0); transform: scale(1.25) rotate(-6deg); opacity: 0; }
    40% { clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 0); opacity: 1; }
    100% { clip-path: polygon(-20% -20%, 120% -20%, 120% 120%, -20% 120%); transform: none; opacity: .94; }
}

/* The chalk slate */
.slate-pad {
    position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: 6px; overflow: hidden;
    background: var(--slate-art, linear-gradient(160deg, #2f3433, #171a1a)) center / 100% 100%;
    border: 8px solid #5b3d22; box-shadow: inset 0 0 30px rgba(0, 0, 0, .6), 0 10px 24px rgba(0, 0, 0, .6);
    touch-action: none;
}
.slate-pad canvas, .slate-pad img { position: absolute; inset: 6% 5%; width: 90%; height: 88%; touch-action: none; }
.flip-slate {
    position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
    background: rgba(5, 4, 4, .96); padding: 20px; animation: scene-in .4s var(--ease) both;
}
.flip-slate .slate-pad.big { width: 100%; max-width: 640px; animation: flip-up .8s .2s var(--ease) both; }
.flip-hint { font-family: var(--f-title); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: 14px; text-align: center; }
@keyframes flip-up { from { transform: perspective(800px) rotateY(90deg); } to { transform: perspective(800px) rotateY(0); } }
.slate img.hand { height: 3.6vw; width: auto; display: block; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .25)); }

/* Quarters and breakfast on the phone */
.door-sign { text-align: center; }
.door-sign .door-name { font-family: var(--f-deco); font-size: 34px; line-height: 1.05; color: var(--ink); margin: 6px 0 8px; }
.night-banner { padding: 12px 14px; }
.night-banner p { margin-top: 4px; font-size: 16px; }
.night-banner.turret { border-color: rgba(195, 38, 42, .5); background: linear-gradient(180deg, rgba(90, 8, 12, .55), rgba(20, 8, 8, .9)); }
.night-banner.turret .label { color: #ffb3a8; }
.summon-card { padding-top: 30px; }
body.phone.summoned::after {
    content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none;
    background: radial-gradient(circle at 50% 40%, rgba(240, 215, 155, .45), rgba(240, 215, 155, 0) 70%);
    animation: summon 2.6s ease-out both;
}
body.phone.summoned:has(.victim)::after { background: radial-gradient(circle at 50% 40%, rgba(195, 38, 42, .55), rgba(195, 38, 42, 0) 70%); }
@keyframes summon { 0%, 30%, 60% { opacity: 1; } 15%, 45% { opacity: .2; } 100% { opacity: 0; } }

/* The Laird's whisper during the vigil: on one phone only */
.whisper {
    padding: 14px 16px; border-radius: 8px; text-align: center;
    background: radial-gradient(120% 100% at 50% 0%, rgba(138, 15, 22, .45), rgba(20, 8, 8, .95));
    border: 1px solid rgba(195, 38, 42, .6); box-shadow: 0 0 40px rgba(195, 38, 42, .35);
    animation: scene-in .5s var(--ease) both;
}
.whisper .label { color: #ffb3a8; }
.whisper p { color: var(--bone); margin: 8px 0 6px; font-style: italic; }
.whisper-count { font-family: var(--f-title); font-weight: 700; font-size: 40px; color: var(--blood-hi); line-height: 1; }

/* ==========================================================================
   The landing page
   ========================================================================== */
body.landing { overflow: auto; }
.landing-inner { position: relative; z-index: 5; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.landing .wordmark { font-size: clamp(54px, 10vw, 140px); }
.landing .tag { font-size: clamp(18px, 2vw, 26px); font-style: italic; color: var(--bone-dim); max-width: 34em; margin: 18px auto 30px; }
.landing .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.landing .fine { margin-top: 26px; color: var(--bone-faint); font-size: 16px; }
.landing .fine a { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}
.portrait.has-frame-art.offline::after { right: 23%; bottom: 21%; }
.portrait.has-frame-art .stamp { z-index: 4; }
.portrait.has-frame-art .tick { right: 8%; top: 4%; }

/* ==========================================================================
   The prologue: cinema. Letterbox, a slow push into each painting, lines
   rising out of the dark, and the cruellest ones slammed down in red.
   ========================================================================== */
body.prologue-on .caption, body.prologue-on .gallery-strip, body.prologue-on .tv-top, body.prologue-on .timer { opacity: 0 !important; pointer-events: none; }
.prologue { position: fixed; inset: 0; z-index: 70; background: #000; opacity: 0; transition: opacity 1.4s var(--ease-heavy); overflow: hidden; }
.prologue.on { opacity: 1; }
.pr-bg {
    position: absolute; inset: -4%; background-size: cover; background-position: center;
    filter: saturate(.7) brightness(.5) contrast(1.1);
    background-color: #0a0807;
}
.pr-bg.push { animation: pr-push 34s cubic-bezier(.25, .1, .25, 1) both; }
@keyframes pr-push { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.18) translate(-1.5%, -1%); } }
.pr-fog { position: absolute; inset: -30% -50%; opacity: .55; pointer-events: none;
    background: radial-gradient(30% 16% at 25% 75%, rgba(210, 215, 225, .16), transparent 70%), radial-gradient(35% 18% at 70% 85%, rgba(210, 215, 225, .14), transparent 70%);
    animation: fog-a 50s linear infinite; }
.pr-glow { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
    background: radial-gradient(45% 40% at 50% 62%, rgba(255, 140, 50, .14), transparent 70%);
    animation: flicker 3.9s steps(1) infinite; }
.pr-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(85% 75% at 50% 52%, transparent 30%, rgba(0, 0, 0, .92) 100%); }
.pr-bar { position: absolute; left: 0; right: 0; height: 11vh; background: #000; z-index: 3; transition: transform 2.2s var(--ease-heavy); }
.pr-bar.top { top: 0; transform: translateY(-100%); } .pr-bar.bottom { bottom: 0; transform: translateY(100%); }
.prologue.on .pr-bar { transform: none; }
.pr-black { position: absolute; inset: 0; background: #000; z-index: 4; opacity: 0; transition: opacity 1.2s var(--ease-heavy); pointer-events: none; }
.pr-black.on { opacity: 1; }
.pr-chapter {
    position: absolute; top: calc(11vh + 3vh); left: 0; right: 0; z-index: 5; text-align: center;
    font-family: var(--f-title); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); font-size: 1.2vw;
    opacity: 0; transform: translateY(-8px);
}
.pr-chapter .n { display: block; font-family: var(--f-deco); letter-spacing: .1em; font-size: 2.4vw; color: var(--blood-hi); text-shadow: 0 0 20px rgba(195, 38, 42, .5); margin-bottom: .3em; }
.pr-chapter.show { animation: pr-chapter 6s var(--ease) both; }
@keyframes pr-chapter { 0% { opacity: 0; transform: translateY(-8px); letter-spacing: .8em; } 20% { opacity: 1; transform: none; letter-spacing: .5em; } 75% { opacity: .9; } 100% { opacity: .25; } }
.pr-lines {
    position: absolute; left: 9vw; right: 9vw; top: 27vh; bottom: 14vh; z-index: 5; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.2vh; text-align: center;
    font-family: var(--f-body); font-style: italic; font-weight: 500; font-size: var(--fs, 2.8vw); line-height: 1.28;
    color: #f3ead6; text-shadow: 0 2px 6px #000, 0 0 40px rgba(0, 0, 0, .9);
    transition: opacity 1.5s;
}
.pr-lines.fade { opacity: 0; }
.pr-lines.clearing { opacity: 0; transition: opacity .6s var(--ease-heavy); }
/* Every word is in place from the start; each one only fades in, so nothing reflows */
.pr-word { opacity: 0; filter: blur(5px); transition: opacity 1.4s var(--ease), filter 1.6s var(--ease); }
.pr-word.on { opacity: 1; filter: none; }
.pr-title { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.pr-title .wordmark { font-size: 8vw; }
/* After the prologue the title comes up in plain white, no gold, no red */
.pr-title .wordmark .w.gilt { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f6f1e7; filter: drop-shadow(0 0 2.4vw rgba(255, 255, 255, .25)) drop-shadow(0 .3vw .4vw rgba(0, 0, 0, .8)); }
.pr-title .wordmark .amp { color: #f6f1e7; }
.pr-title .wordmark .amp::before, .pr-title .wordmark .amp::after { background: linear-gradient(90deg, transparent, #f6f1e7); }
.pr-title.show { animation: pr-title 7s cubic-bezier(.35, 0, .25, 1) both; }
@keyframes pr-title {
    0% { opacity: 0; transform: scale(1.06); filter: blur(28px) brightness(1.25); }
    45% { opacity: .85; filter: blur(10px) brightness(1.15); }
    80% { opacity: 1; transform: scale(1.01); filter: blur(1px) brightness(1.05); }
    100% { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); }
}


/* The atmosphere shader sits over the paintings, under everything else */
.atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.prologue .atmosphere { z-index: 1; }
body.has-atmosphere .backdrop .fog { display: none; }

/* The ghosts' prophecy: on the phone, and their gold announced on the TV */
.ghost-card { border-color: rgba(169, 188, 205, .35); background: linear-gradient(180deg, rgba(30, 38, 48, .92), rgba(14, 16, 20, .95)); }
.ghost-card .label { color: var(--moon); }
.ghost-banner {
    position: fixed; left: 50%; top: 16vh; z-index: 60; transform: translateX(-50%); text-align: center;
    padding: 1.4vw 3vw; border-radius: 6px; background: rgba(12, 16, 22, .94); border: 1px solid rgba(169, 188, 205, .45);
    box-shadow: 0 0 60px rgba(169, 188, 205, .25); animation: scene-in .9s var(--ease) both; transition: opacity .8s;
}
.ghost-banner.gone { opacity: 0; }
.ghost-banner .kicker { color: var(--moon); font-size: .8em; }
.ghost-banner .gold { font-family: var(--f-title); font-weight: 700; font-size: 3.2em; color: var(--gold-hi); line-height: 1.1; }
.ghost-banner .who { font-style: italic; color: var(--bone-dim); font-size: 1.2em; }

/* The Scribe: who holds the quill on the TV, and every wrong try struck through */
.scribe-line { display: flex; gap: 1.6vw; align-items: center; justify-content: center; margin-top: 1.4vw; font-size: 2.3vw; text-align: left; }
.scribe-line .portrait { width: 7vw; flex: none; }
.scribe-line b { color: var(--gold-hi); }
.scribe-tries { display: flex; flex-wrap: wrap; gap: .4em 1.2em; margin-top: .3em; font-size: .9em; color: var(--bone-dim); }
.scribe-tries s { text-decoration-color: var(--blood); text-decoration-thickness: .12em; }

/* The Silent Charade: the dead perform on the left, the living wait to hear on the right */
.charade-ghosts { display: flex; gap: 1.2vw; align-items: center; justify-content: center; margin-top: 1vw; }
.charade-ghosts .portrait { width: 8vw; filter: grayscale(1) brightness(.85) drop-shadow(0 0 1.2vw rgba(169, 188, 205, .55)); animation: ghost-drift 6s ease-in-out infinite alternate; }
.charade-ghosts .portrait:nth-child(2n) { animation-delay: -3s; }
.charade-ghosts .lede { margin: 0 0 0 1vw; text-align: left; color: var(--moon); }
@keyframes ghost-drift { from { transform: translateY(-.4vw); } to { transform: translateY(.4vw); } }
.charade-living { display: flex; flex-wrap: wrap; gap: 1.4vw; justify-content: center; margin-top: 2vw; }
.charade-living .g { display: flex; flex-direction: column; align-items: center; width: 12vw; font-size: 1.9vw; }
.charade-living .g .portrait { width: 9.5vw; }
.charade-living .g span { margin-top: .4vw; color: var(--bone); }
.charade-words { display: flex; flex-wrap: wrap; gap: 1vw 2.4vw; justify-content: center; margin: 1.6vw auto; max-width: 70vw; }
.charade-words span { font-family: var(--f-title); font-size: 2.6vw; letter-spacing: .05em; color: var(--gold-hi); text-transform: uppercase; }
.charade-words span:not(.heard) { color: var(--bone-dim); }
.charade-words s { text-decoration-color: var(--blood-hi); text-decoration-thickness: .1em; }
.letter-boxes { display: flex; gap: 6px; justify-content: center; margin: 10px 0 4px; flex-wrap: wrap; }
.letter-boxes span { width: 26px; height: 34px; border-bottom: 3px solid var(--gold); }
.charade-word { font-family: var(--f-title); font-size: 1.9em; letter-spacing: .06em; color: var(--gold-hi); text-transform: uppercase; line-height: 1.1; margin-top: 4px; }
.charade-tries { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; color: var(--bone-dim); }
.charade-tries s { text-decoration-color: var(--blood); }
.charade-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.charade-row.got { opacity: .5; }
.charade-row.got .charade-word { font-size: 1.3em; }
.charade-row s { text-decoration-color: var(--blood); }

/* The shield auction */
.auction-bid { display: flex; flex-direction: column; align-items: center; gap: 1vw; margin-top: 1vw; }
.auction-bid .amt { font-family: var(--f-title); font-weight: 700; font-size: 7vw; line-height: 1; }
.auction-bid .amt.dim { font-size: 4vw; color: var(--bone-dim); }
.auction-bid .who { display: flex; align-items: center; gap: 1.2vw; font-size: 2.2vw; color: var(--bone); }
.auction-bid .who .portrait { width: 8vw; }
.auction-bid .who.big .portrait { width: 16vw; }
.auction-bid.bump .amt { animation: pot-bump .7s var(--ease); }
@keyframes pot-bump { 0% { transform: scale(1.25); } 100% { transform: scale(1); } }
.auction-going { font-family: var(--f-title); font-size: 3.4vw; color: var(--blood-hi); letter-spacing: .06em; min-height: 1.3em; margin-top: 1vw; text-align: center; }
.bid-buttons { display: grid; gap: 10px; margin-top: 12px; }
.bid-buttons .btn[disabled] { opacity: .35; }
#paddle.on { border-color: var(--gold); color: var(--gold-hi); }
#state.lifted { animation: paddle-lift .6s var(--ease); }
@keyframes paddle-lift { 0% { transform: translateY(-14px); box-shadow: 0 0 30px rgba(240, 215, 155, .45); } 100% { transform: none; } }
