/* game.css — Grave Manners v2: the scene is the game. Big type, big targets (copy rules: body 20px, buttons 22px, plaques 22px). */
:root { --ghost-fs: 34px; --joke-fs: 28px; --btn-fs: 22px; --plaque-fs: 22px; --name-fs: 18px; }
@media (max-width: 720px) { :root { --ghost-fs: 24px; --joke-fs: 22px; --btn-fs: 19px; --plaque-fs: 17px; --name-fs: 15px; } }
body { font-size: 20px; }
.btn { font-size: var(--btn-fs); min-height: 64px; padding: 0 28px; }
.btn-sm { min-height: 56px; font-size: 19px; }

/* ---------- HOME v2 ---------- */
.home2 { position: relative; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 18px calc(24px + var(--safe-b)); overflow: hidden; }
.home2 .hero-bg { animation-duration: 60s; }
.home2 .wordmark { width: min(70%, 520px); margin-bottom: 8px; position: relative; z-index: 2; }
.home2 .tagline { position: relative; z-index: 2; margin-bottom: 26px; }
.case-plaque { position: relative; z-index: 2; width: min(100%, 560px); padding: 22px 24px 24px; text-align: center; }
.case-plaque .cp-no { font-family: var(--font-display); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); }
.case-plaque .cp-title { font-family: var(--font-display); font-size: clamp(26px, 6vw, 36px); font-weight: 700; color: #fff2cf; margin-top: 4px; line-height: 1.1; }
.case-plaque .cp-ghost { font-style: italic; font-size: 22px; color: var(--parchment-2); margin: 12px 0 20px; }
.case-plaque .cp-meta { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 14px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.home-links { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.home-links .btn { min-height: 52px; font-size: 15px; padding: 0 16px; }
.home-top { position: absolute; top: 0; left: 0; right: 0; }

/* ---------- STAGE ---------- */
#screen-case { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; background: var(--ink); }
.stage-wrap { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.stage-scroller { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #000; }
.stage { position: relative; aspect-ratio: 16 / 9; width: 100%; flex: none; margin: 0 auto; overflow: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 50%; }
.stage .room-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage .fog { opacity: .35; }
.stage .dim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .4s; }
.stage.zoomed .dim { opacity: 1; }
.stage-scroller.fadeout .stage { opacity: 0; transform: scale(1.12); transition: opacity .35s, transform .35s; }
.stage-scroller.fadein .stage { animation: roomIn .7s ease both; }
@keyframes roomIn { from { opacity: 0; transform: scale(1.08) } to { opacity: 1; transform: scale(1) } }
@media (max-width: 720px) { .stage-scroller { overflow-x: auto; overflow-y: hidden; justify-content: flex-start; -webkit-overflow-scrolling: touch; } .stage { margin: 0; } .stage-scroller.portrait { overflow: hidden; justify-content: center; } }

/* spots */
.spot { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; z-index: 3; }
.spot::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,140,.9) 0%, rgba(255,190,90,.45) 35%, rgba(255,170,60,0) 70%); opacity: 0; filter: blur(1px); }
.spot.hint::before { animation: spotpulse 2.5s ease-in-out infinite; }
.spot.strong::before { animation-duration: 1.8s; inset: 2px; }
@keyframes spotpulse { 0%,100% { opacity: .62; transform: scale(.95) } 50% { opacity: 1; transform: scale(1.22) } }
.spot:hover::before { opacity: .95; transform: scale(1.2); animation: none; }
.spot.done::before { opacity: 0; animation: none; }
.spot.done::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 26px; margin: -13px 0 0 -9px; background: var(--brass-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c1.6 2 2.6 3.5 2.6 5.2a2.6 2.6 0 0 1-5.2 0c0-1.7 1-3.2 2.6-5.2z'/%3E%3Cpath d='M9.5 10.5h5V19h-5zM7 19h10v1.8H7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c1.6 2 2.6 3.5 2.6 5.2a2.6 2.6 0 0 1-5.2 0c0-1.7 1-3.2 2.6-5.2z'/%3E%3Cpath d='M9.5 10.5h5V19h-5zM7 19h10v1.8H7z'/%3E%3C/svg%3E") center/contain no-repeat; filter: drop-shadow(0 0 6px rgba(255,190,80,.9)); }
.spot.done.evidence::after { background: var(--spirit-2); filter: drop-shadow(0 0 8px rgba(127,216,255,.9)); }
.stage.magnifier { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='rgba(0,0,0,.25)' stroke='%23f3d27c' stroke-width='1.8'/%3E%3Cpath d='M15 15l6 6' stroke='%23f3d27c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, pointer; }

/* HUD */
.hud-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: flex-start; justify-content: space-between; padding: calc(10px + var(--safe-t)) 12px 0; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.tray { display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(10,10,12,.82); box-shadow: inset 0 0 0 1px rgba(212,169,74,.55); }
.tray .slot { width: 46px; height: 46px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 2px rgba(212,169,74,.35); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 0; padding: 0; }
.tray .slot.empty::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px dashed rgba(212,169,74,.4); }
.tray .slot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.tray .slot.alibi { box-shadow: inset 0 0 0 2px rgba(127,216,255,.6); }
.tray .slot.alibi img { transform: none; }
.tray .tl { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); margin-left: 6px; white-space: nowrap; }
.plaque-top { font-family: var(--font-display); font-size: var(--plaque-fs); font-weight: 700; letter-spacing: .08em; color: #2a1c05; padding: 10px 20px; border-radius: 6px; background: linear-gradient(180deg, rgba(255,244,205,.75), rgba(255,235,170,.15) 45%, rgba(0,0,0,.12)), var(--brass-tx) center/512px; box-shadow: inset 0 1px 0 rgba(255,245,210,.8), inset 0 -2px 0 rgba(90,66,16,.7), 0 0 0 1px #5a4210, 0 6px 16px rgba(0,0,0,.6); white-space: nowrap; }
.plaque-top .cnt { color: #5a4210; margin-left: .5em; }
.hud-right { display: flex; gap: 8px; }
.icon-btn.tog.off { opacity: .6; }
.hud-nav { display: contents; }
@media (max-width: 720px) { .hud-top { flex-wrap: wrap; gap: 6px; } .hud-nav { display: flex; order: 3; width: 100%; align-items: center; justify-content: center; gap: 8px; } .plaque-top { flex: 1; text-align: center; font-size: 15px; padding: 7px 10px; overflow: hidden; text-overflow: ellipsis; } .tray .slot { width: 38px; height: 38px; } .tray .tl { display: none; } }
/* portrait phone: the 9:16 room fills the width; the HUD sits ABOVE the stage (nothing hides the room) and the exits become chevrons beside the plaque */
.stage-wrap.portrait .hud-top { position: relative; padding-bottom: 8px; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.0)), var(--leather) center/512px; box-shadow: inset 0 -1px 0 rgba(212,169,74,.45); }
.stage-wrap.portrait .hud-nav .exit { position: static; transform: none; min-height: 40px; width: 44px; padding: 0; justify-content: center; border-radius: 6px; flex: none; }
.stage-wrap.portrait .hud-nav .exit span { display: none; }
.stage-wrap.portrait .hud-nav .exit .ic { width: 20px; height: 20px; }

/* exits */
.exit { position: absolute; top: 50%; z-index: 9; transform: translateY(-50%); min-height: 64px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; font-family: var(--font-display); font-size: var(--btn-fs); font-weight: 700; letter-spacing: .06em; color: #2a1c05; background: linear-gradient(180deg, rgba(255,244,205,.75), rgba(255,235,170,.15) 45%, rgba(0,0,0,.12)), var(--brass-tx) center/512px; box-shadow: inset 0 1px 0 rgba(255,245,210,.8), inset 0 -2px 0 rgba(90,66,16,.7), 0 0 0 1px #5a4210, 0 8px 22px rgba(0,0,0,.6); }
.exit.left { left: 0; border-radius: 0 10px 10px 0; } .exit.right { right: 0; border-radius: 10px 0 0 10px; }
.exit .ic { width: 22px; height: 22px; }
.exit.pulse { animation: exitpulse 1.4s ease-in-out infinite; }
@keyframes exitpulse { 0%,100% { filter: brightness(1) } 50% { filter: brightness(1.35) drop-shadow(0 0 14px rgba(255,200,90,.9)) } }
@media (max-width: 720px) { .exit { top: auto; bottom: 12px; transform: none; min-height: 56px; font-size: 16px; padding: 0 12px; } }

/* ghost plate */
.ghost-plate { position: absolute; left: 16px; bottom: 16px; z-index: 11; display: flex; align-items: flex-end; gap: 12px; max-width: min(640px, calc(100% - 32px)); cursor: pointer; }
.ghost-plate .gp { width: 120px; height: 150px; border-radius: 50% / 42%; background-size: cover; background-position: center 18%; filter: grayscale(1) brightness(1.35) contrast(.85); opacity: .85; mix-blend-mode: screen; flex: none; animation: float 5s ease-in-out infinite; }
.ghost-plate .gl { font-size: var(--ghost-fs); line-height: 1.25; color: #f1ead8; background: rgba(10,10,12,.85); padding: 14px 20px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(127,216,255,.35); max-width: 520px; }
.ghost-plate .gl.new { animation: rise .4s ease both; }
@media (max-width: 720px) { .ghost-plate { left: 10px; right: 10px; bottom: 78px; max-width: none; } .ghost-plate .gp { width: 72px; height: 92px; } .ghost-plate .gl { padding: 10px 14px; } }
.stage-wrap.portrait .ghost-plate { left: 8px; right: 8px; bottom: 8px; max-width: calc(100% - 136px); align-items: center; gap: 8px; }
.stage-wrap.portrait .ghost-plate .gp { width: 52px; height: 66px; }
.stage-wrap.portrait .ghost-plate .gl { font-size: 18px; line-height: 1.2; padding: 8px 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stage-wrap.portrait .stage-scroller::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55)); pointer-events: none; z-index: 4; }

/* joke plate at the spot */
.joke { position: absolute; z-index: 12; transform: translate(-50%, -110%); max-width: 320px; padding: 12px 18px; font-size: var(--joke-fs); line-height: 1.25; color: var(--ink-on-vellum); background: var(--vellum) center/512px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(90,66,16,.6), var(--shadow); animation: pop .25s ease both; pointer-events: none; text-align: center; }
.joke::after { content: ''; position: absolute; left: 50%; bottom: -10px; margin-left: -8px; border: 8px solid transparent; border-top-color: #e9dcbd; border-bottom: 0; }

/* strip (status only) */
.strip { position: relative; z-index: 8; display: flex; gap: 10px; justify-content: center; align-items: flex-end; padding: 10px 12px calc(10px + var(--safe-b)); background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.35)), var(--leather) center/512px; box-shadow: inset 0 1px 0 rgba(212,169,74,.6), inset 0 2px 0 rgba(10,10,12,1), inset 0 3px 0 rgba(212,169,74,.25); min-height: 150px; }
.strip .sf { width: 118px; text-align: center; color: var(--parchment); }
.strip .sf .frame { width: 96px; margin: 0 auto; }
.strip .sf .nm { font-family: var(--font-display); font-size: 15px; line-height: 1.15; font-weight: 700; margin-top: 4px; }
.strip .sf.out .nm { color: var(--mute); text-decoration: line-through; }
.strip .sf.last .frame .gild { animation: glow 2s ease-in-out infinite; }
@media (max-width: 720px) { .strip { gap: 6px; min-height: 0; padding-bottom: calc(8px + var(--safe-b)); flex-wrap: wrap; } .strip .sf, .strip .sf .frame { width: 15vw; } .strip .sf .nm { font-size: 11px; } }
.accuse-btn { position: absolute; right: 16px; bottom: 16px; z-index: 11; }
@media (max-width: 720px) { .accuse-btn { right: 10px; bottom: 78px; min-height: 56px; font-size: 17px; padding: 0 16px; } }
.stage-wrap.portrait .accuse-btn { right: 8px; bottom: 12px; min-height: 48px; font-size: 16px; padding: 0 14px; }

/* ---------- overlays ---------- */
.ov { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4,4,6,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ov.hidden { display: none; }
.card { width: min(560px, 100%); text-align: center; padding: 26px 22px 24px; animation: pop .35s cubic-bezier(.2,.9,.3,1.2) both; }
.card .medal { width: 220px; height: 220px; border-radius: 50%; margin: 0 auto 14px; background: #000; overflow: hidden; box-shadow: 0 0 0 2px rgba(212,169,74,.6), 0 0 40px rgba(255,190,80,.35); }
.card .medal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.card .medal.alibi { border-radius: 6px; width: 180px; height: 240px; box-shadow: none; background: none; overflow: visible; }
.card .medal.alibi .frame { width: 180px; }
.card .en { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: #fff2cf; line-height: 1.1; }
.card .eq { font-size: 30px; font-style: italic; color: var(--parchment-2); margin-top: 10px; line-height: 1.25; }
.card .ef { font-family: var(--font-display); font-size: 17px; letter-spacing: .06em; color: var(--brass-2); margin-top: 8px; }
.card .actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 720px) { .card .en { font-size: 30px; } .card .eq { font-size: 24px; } .card .medal { width: 160px; height: 160px; } }

/* lineup sheet */
.sheet2 { width: min(960px, 100%); max-height: 100dvh; overflow: auto; padding: 14px 16px calc(16px + var(--safe-b)); }
.sheet2 .sh-head { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 14px; }
.sheet2 .sh-head .medal { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 2px rgba(212,169,74,.6); flex: none; }
.sheet2 .sh-head .medal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.sheet2 .sh-head .sq { font-size: 30px; font-style: italic; color: #fff2cf; line-height: 1.2; }
.sheet2 .sh-head .si { font-size: 20px; color: var(--spirit-2); margin-top: 4px; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.faces.eight { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .faces, .faces.eight { grid-template-columns: repeat(2, 1fr); gap: 10px; } .sheet2 .sh-head .sq { font-size: 22px; } }
.face { position: relative; text-align: center; color: var(--parchment); padding: 0; }
.face .frame { width: 100%; }
.face .nm { font-family: var(--font-display); font-size: var(--name-fs); font-weight: 700; margin-top: 6px; }
.face.out .nm { color: var(--mute); text-decoration: line-through; }
.face.halo .frame .gild { filter: drop-shadow(0 0 14px rgba(255,200,90,.95)); }
.face.bounce .frame { animation: bounceback .65s ease both; }
@keyframes bounceback { 0% { transform: rotateY(0) } 30% { transform: rotateY(70deg) translateX(-3px) } 55% { transform: rotateY(-12deg) translateX(3px) } 75% { transform: rotateY(6deg) } 100% { transform: rotateY(0) } }
.sheet2 .sh-foot { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

/* enlarged face */
.big { width: min(560px, 100%); text-align: center; padding: 18px 18px calc(18px + var(--safe-b)); }
.big .frame { width: min(60vh, 100%); max-width: 360px; margin: 0 auto; }
.big .bn { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff2cf; margin-top: 10px; }
.big .br { font-style: italic; font-size: 20px; color: var(--parchment-2); }
.big .bq { font-size: 24px; color: var(--spirit-2); margin-top: 8px; font-style: italic; }
.big .actions { display: flex; gap: 10px; margin-top: 16px; }
.big .actions .btn { flex: 1; }
.big .bf { margin-top: 12px; font-size: 20px; color: var(--parchment-2); min-height: 28px; font-style: italic; }
.big .frame.bounce { animation: bounceback .65s ease both; }

/* verdict */
.verdict { position: fixed; inset: 0; z-index: 70; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; overflow: auto; }
.verdict .spot-light { position: absolute; inset: 0; background: radial-gradient(45% 60% at 50% 42%, rgba(255,214,150,.22), transparent 70%); }
.verdict .frame { width: min(36vh, 80vw, 340px); position: relative; z-index: 2; animation: rise 1s ease both; flex: none; }
.verdict .vn { position: relative; z-index: 2; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff2cf; margin-top: 16px; }
.verdict .vc { position: relative; z-index: 2; font-size: 24px; font-style: italic; color: var(--parchment); margin-top: 10px; min-height: 3.6em; max-width: 640px; line-height: 1.3; }
.verdict .vg { position: relative; z-index: 2; font-size: 22px; color: var(--spirit-2); margin-top: 16px; font-style: italic; min-height: 1.4em; }
.verdict .btn { position: relative; z-index: 2; margin-top: 18px; flex: none; }
.result-plaque { width: min(560px, 100%); text-align: center; padding: 24px 20px; animation: rise .6s ease both; }
.result-plaque .rl { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff2cf; line-height: 1.2; }
.result-plaque .rm { font-family: var(--font-display); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-2); margin-top: 6px; }
.result-plaque .rrow { display: flex; gap: 4px; justify-content: center; margin: 14px 0 6px; flex-wrap: wrap; color: var(--brass-2); }
.result-plaque .rrow .ic { width: 28px; height: 28px; } .result-plaque .rrow .ic.x { color: var(--blood-3); } .result-plaque .rrow .ic.g { color: var(--parchment-2); } .result-plaque .rrow .ic.w { color: var(--moss); }
.result-plaque .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.first-overlay .card p { font-size: 26px; color: #f1ead8; margin: 8px 0; line-height: 1.3; }
@media (max-width: 720px) {
  .ghost-plate { max-width: calc(100% - 178px); }
  .ghost-plate .gl { font-size: 21px; padding: 9px 12px; }
  .accuse-btn { padding: 0 14px; font-size: 16px; min-height: 52px; }
  .strip { gap: 4px; padding-left: 6px; padding-right: 6px; }
  .strip .sf, .strip .sf .frame { width: 14vw; }
  .strip .sf .nm { font-size: 10.5px; }
}


/* ---------- v3: the claim on every face, the board, the accusation ---------- */
.strip .sf { border: 0; background: none; padding: 0; cursor: pointer; }
.strip .sf .cl { font-size: 12px; line-height: 1.15; color: var(--mute); margin-top: 2px; font-style: italic; }
.strip .sf:hover .frame .gild { box-shadow: 0 0 14px rgba(212,169,74,.55); }
.faces .face .cl { font-size: 14px; color: var(--mute); font-style: italic; margin-top: 2px; }
.faces .face.out .cl { text-decoration: line-through; }

.bd-clues { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 16px; }
.bd-clue { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: rgba(10,10,12,.55); box-shadow: inset 0 0 0 1px rgba(212,169,74,.35); }
.bd-clue img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.bd-clue .ic { width: 30px; height: 30px; color: var(--brass); flex: none; }
.bd-clue span { font-size: 18px; line-height: 1.3; color: var(--parchment); }

.sheet2 .sh-head { position: relative; }
.sheet2 .sh-head .modal-close { position: absolute; top: -4px; right: -4px; }

.acc-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 6px; }
.acc-faces .acc-face { border: 0; background: none; padding: 6px; cursor: pointer; color: var(--parchment); border-radius: 8px; }
.acc-faces .acc-face:hover { background: rgba(201,48,58,.18); }
.acc-faces .acc-face .frame { width: 100%; }
.acc-faces .acc-face .nm { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-top: 4px; }
.result-plaque .rrow .ic.spent { opacity: .22; }
@media (max-width: 720px) { .bd-clue span { font-size: 15px; } .acc-faces { grid-template-columns: repeat(3, 1fr); gap: 6px; } .strip .sf .cl { font-size: 10px; } }

.plaque-top .cnt.low { color: var(--blood); font-weight: 700; }
.result-plaque .rrow .ic.w { color: var(--moss); }

/* An absence is the same object the trace would have been, drained of colour and struck through:
   what the scene shows was NOT there. It must never read as the thing itself. */
.medal.absent img, .bd-clue.absent img, .tray .slot.absent img { filter: grayscale(1) brightness(.6); }
.medal.absent, .tray .slot.absent { position: relative; }
.medal.absent::after, .tray .slot.absent::after {
  content: ''; position: absolute; left: 10%; right: 10%; top: 50%; height: 3px; margin-top: -1px;
  background: var(--blood-2); transform: rotate(-24deg); box-shadow: 0 0 8px rgba(201,48,58,.85); pointer-events: none;
}
.tray .slot.absent::after { height: 2px; }
.bd-clue.absent img { outline: 2px solid var(--blood); outline-offset: -2px; border-radius: 50%; }

/* the four weapons, with where each is kept — the second half of the case lives here */
.bd-weapons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 16px; }
.bd-weapon { padding: 9px 12px; border-radius: 8px; background: rgba(10,10,12,.5); box-shadow: inset 0 0 0 1px rgba(212,169,74,.28); }
.bd-weapon b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--parchment); font-weight: 700; }
.bd-weapon span { font-size: 13px; color: var(--mute); font-style: italic; }
@media (max-width: 720px) { .bd-weapons { grid-template-columns: 1fr; gap: 6px; } .bd-weapon b { font-size: 14px; } }

/* the subject printed on each object — the answer's topic, never the answer. Sits under the glow,
   legible without hovering because a phone has no hover and Ellen reads at 150%. */
.spot-tag{
  position:absolute; left:50%; top:calc(100% + 6px); transform:translateX(-50%);
  white-space:nowrap; pointer-events:none;
  font-family:var(--ui,inherit); font-size:11px; letter-spacing:.09em; text-transform:uppercase;
  color:#f0e3c2; background:rgba(12,9,7,.82); border:1px solid rgba(198,164,92,.45);
  border-radius:999px; padding:3px 9px; box-shadow:0 2px 10px rgba(0,0,0,.55);
}
.spot.done .spot-tag{display:none}
@media (max-width:760px){ .spot-tag{font-size:10px; padding:2px 7px; letter-spacing:.06em} }

/* the motive, under each portrait on the board. Deliberately quiet: it is characterisation, not
   evidence, and reading it as evidence would be reading it wrong. */
.face .mv{
  margin-top:5px; font-size:11.5px; line-height:1.35; color:var(--mute,#9c8f7a);
  font-style:italic; text-align:center; padding:0 6px; max-width:22ch;
}
.face.out .mv{opacity:.35}

/* a label near the frame hangs from the near edge instead of straddling it */
.spot-tag.tag-left{left:0; transform:none}
.spot-tag.tag-right{left:auto; right:0; transform:none}

/* the written cases, above the archive of generated ones */
.cb-h{font-family:var(--display,inherit);font-size:20px;color:var(--gold,#c6a45c);margin:2px 0 2px;letter-spacing:.02em}
.cb-p{margin:0 0 12px;color:var(--mute,#9c8f7a);font-style:italic;font-size:13px}
.cb-list{display:grid;gap:8px;margin-bottom:22px}
.btn.cb{text-align:left;align-items:flex-start;padding:12px 14px}
.btn.cb span{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.btn.cb i{font-style:italic;font-size:12.5px;color:var(--mute,#9c8f7a)}
