.health-chip.faded {opacity:.28; border-style:dashed;}
.health-row {flex-wrap:wrap;}
.player-name {flex-wrap:wrap;line-height:1.15;}
.turn-indicator {flex:none;white-space:nowrap;}
#cinematic[hidden]{display:none}
#cinematic{position:fixed;inset:0;z-index:35;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:7vh 24px;background:linear-gradient(#000b,transparent 22%,transparent 65%,#000e);text-align:center;pointer-events:auto}
#cinematic p{font:600 clamp(18px,2.5vw,32px)/1.4 var(--display);letter-spacing:.12em;max-width:850px;text-shadow:0 2px 12px #000}
.cinematic-label{font:10px var(--mono);letter-spacing:.4em;color:var(--acid)}
#cinematic-skip{background:#111a12d9;border:1px solid #839171;padding:12px 20px;font:10px var(--mono);letter-spacing:.12em}
.cinematic-active .app-shell,.cinematic-active .game-shell{opacity:0;pointer-events:none}
.cinematic-active .topbar,.cinematic-active main,.cinematic-active .bottom-strip,.cinematic-active .result-pop{visibility:hidden}
#mode-label {max-width:440px;line-height:1.5;}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;} .screen-flash,.gun-flare{display:none!important;}}
#cinematic.sequence-entry{isolation:isolate;background:linear-gradient(0deg,#070908d9,transparent 29%,transparent 85%,#08090880)}
#cinematic.sequence-entry::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#000c,transparent 26%,transparent 89%,#0003);box-shadow:inset 0 3vh #080908,inset 0 -3vh #080908}
#cinematic.sequence-entry p{font:500 clamp(16px,1.4vw,23px)/1.4 Georgia,serif;letter-spacing:.065em;color:ivory}
#cinematic.sequence-entry .cinematic-label{display:none}
#cinematic.sequence-entry #cinematic-skip{position:absolute;right:3vw;top:5vh;background:#101310b3;color:#deddd0;border-color:#aaa9}
.at-threshold .overlay{align-items:end;justify-items:start}
.at-threshold .overlay-veil{background:linear-gradient(90deg,#050b0baa,transparent 73%);backdrop-filter:none}
.at-threshold .modal{max-width:470px;padding:20px 24px;background:#0c1515ed}
.at-threshold .modal-title{font-size:clamp(28px,4vw,44px)}
.at-threshold .modal-title em{display:inline}
.at-threshold .mode-options{margin-bottom:0}
.at-threshold main,.at-threshold .topbar,.at-threshold .bottom-strip{visibility:hidden}
#cinematic.sequence-wake .cinematic-label,#cinematic.sequence-wake p{display:none}
#cinematic.sequence-wake::before{content:"";position:absolute;inset:0;background:#010404;pointer-events:none;animation:eyes-open 2.1s both}
#cinematic.sequence-wake button{position:relative}
@keyframes eyes-open{0%{opacity:1}32%{opacity:.42}47%{opacity:.86}100%{opacity:0}}
#inspection{position:fixed;z-index:16;left:50%;bottom:17%;transform:translateX(-50%);max-width:min(550px,92vw);padding:10px 15px;background:#101811f5;color:#e3e9d7;border:1px solid #777f66;font:13px/1.4 var(--mono);pointer-events:none}
#inspection[hidden]{display:none}
@media(min-width:820px){
.three-ready .game-layout{display:block}
.three-ready .opponent-section{position:absolute;inset:9% 0 auto;height:auto;min-height:0;padding:0 3vw;pointer-events:none}
.three-ready .keeper-info h2{font-size:30px}
.three-ready .table-section{position:absolute;left:3vw;top:27%;width:185px;height:auto;min-height:0;border:0;pointer-events:none}
.three-ready .table-content{padding:0}
.three-ready .chamber-meta{display:grid;gap:4px}
.three-ready .chamber-meta .total,.three-ready .table-stamp,.three-ready .scene-hint{display:none}
.three-ready .player-section{position:absolute;bottom:32px;left:0;right:0;padding:8px 3vw;background:linear-gradient(0deg,#080d0bf5,#090f0ce8);border-top:1px solid #505746}
.three-ready .player-topline{margin:0 0 4px}.three-ready .player-id>.tiny-label,.three-ready .action-foot,.three-ready .player-id>.player-name>.tiny-label{display:none}
.three-ready .player-name{font-size:17px}.three-ready .interaction-grid{gap:24px}.three-ready .player-items{margin:2px 0}.three-ready .item-button,.three-ready .action{height:42px;min-height:0;padding:3px 5px}.three-ready .action strong{font-size:17px}.three-ready .action-kicker,.three-ready .action small{display:none}
.three-ready .item-button svg{height:18px}.three-ready .section-heading{margin:0}.three-ready .item-caption{margin:0;min-height:12px}
}
.modal:has(.release-sheet){max-width:515px;background:#d7caab;color:#29251e;transform:rotate(-1deg);border:1px solid #9d896d}
.release-sheet{font:17px/1.5 Georgia,serif}.release-sheet h2{font:600 39px/1.03 Georgia,serif;margin:18px 0;border-bottom:2px solid #433d30;padding-bottom:13px}.release-sheet label{display:block;margin-top:24px;font-size:13px}.release-sheet input{box-sizing:border-box;width:100%;background:transparent;border:0;border-bottom:1px solid #433d30;border-radius:0;color:#24211c;padding:8px 0;font:italic 25px Georgia,serif;margin:0 0 20px}.release-sheet button{background:#33382b;color:#fbefcd}


/* 0.4: clauses, Nerve, wager, three shell kinds, instrument costs */
.shell-count.flare i{background:#e9b44c;box-shadow:0 0 8px #e9b44c88}
.rack-shell.known-flare{background:#e9b44c;box-shadow:0 0 10px #e9b44caa}
.rack-shell.inked{outline:2px solid #c4372c;outline-offset:2px}
button.rack-shell.markable{cursor:pointer;border:0;padding:0}
button.rack-shell.markable:hover,button.rack-shell.markable:focus-visible{outline:2px solid #e8e4d2;outline-offset:3px}
.micro-heading.wager{color:#e9b44c;margin-left:1rem}
.standing{display:flex;flex-direction:column;gap:.3rem;align-items:flex-end}
.nerve-row{display:flex;gap:.28rem;align-items:center;font-size:.62rem;letter-spacing:.14em;color:#aab59c}
.nerve-label{margin-right:.3rem}
.nerve-pip{width:.55rem;height:.55rem;border-radius:50%;border:1px solid #7f8c72;display:inline-block}
.nerve-pip.on{background:#d9e3b8;box-shadow:0 0 6px #d9e3b8aa}
.seal-label{margin-left:.5rem;font-size:.6rem;letter-spacing:.14em;color:#c4372c}
.item-button{position:relative}
.item-button .cost{position:absolute;top:.2rem;right:.3rem;font-size:.62rem;color:#e9b44c}
.item-button.unaffordable{opacity:.5}
.wager-options{display:grid;gap:.6rem;margin:1rem 0}
.wager-choice{display:flex;flex-direction:column;gap:.2rem;text-align:left;padding:.8rem 1rem;background:#10171399;border:1px solid #7f8c7266;color:inherit;cursor:pointer}
.wager-choice:hover:not(:disabled),.wager-choice:focus-visible{border-color:#e9b44c}
.wager-choice:disabled{opacity:.4;cursor:not-allowed}
.wager-choice strong{letter-spacing:.16em}
.result-pop.flare strong{color:#e9b44c}
span.keeper-item{display:inline-flex}
@media (prefers-reduced-motion: reduce){.nerve-pip.on,.rack-shell.known-flare{box-shadow:none}}
