/* A quiet charge line, with the evidence one fold away. */
.story-game .case-meter-shell{padding:6px 16px 0;border-top:0;border-bottom:1px solid #383838;background:#0b0b0b;color:#dfdfd5}
.case-charge-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:11px;align-items:center;min-height:40px}
.case-charge{position:relative;min-width:0;height:13px}.case-charge-track{position:absolute;inset:0;border:1px solid #60605a;background:#141413;box-shadow:0 2px #000;overflow:hidden}
.case-charge-fill{position:absolute;left:2px;top:2px;bottom:2px;display:block;width:var(--case-charge,0%);max-width:calc(100% - 4px);background:#bcbcb1}
.case-charge-grid{position:absolute;inset:2px;display:block;background:repeating-linear-gradient(90deg,transparent 0 calc(20% - 2px),#0b0b0b calc(20% - 2px) 20%)}
.case-charge[data-gaining=true] .case-charge-fill{animation:case-charge-fill .24s cubic-bezier(.22,1,.36,1) both}
.case-charge[data-ready=true] .case-charge-fill{background:#eeeedd}
.story-game .case-meter-shell .case-charge-ticks{position:absolute;inset:0;display:block;list-style:none;margin:0;padding:0;border:0;background:transparent;pointer-events:none}
.case-meter-shell .case-charge-ticks li,.case-meter-shell .case-charge-ticks li:last-child{position:absolute;top:0;bottom:0;display:block;width:4px;min-width:0;min-height:0;margin:0;padding:0;gap:0;transform:translateX(-4px)}
.case-charge-ticks li[data-step="0"]{left:40%}.case-charge-ticks li[data-step="1"]{left:60%}.case-charge-ticks li[data-step="2"]{left:80%}.case-charge-ticks li[data-step="3"]{left:100%}
.case-meter-shell .case-charge-ticks li>span{position:absolute;display:block;width:2px;height:2px;top:5px;left:1px;border:0;background:#464640;box-shadow:none;font-size:0}
.case-meter-shell .case-charge-ticks li[data-state=clean]>span,.case-meter-shell .case-charge-ticks li[data-state=done]>span{background:#eeeedd}
.case-meter-shell .case-charge-ticks li[data-just-earned=true]>span{animation:case-meter-spark .5s steps(5,end) both}.case-meter-shell .case-charge-ticks li[data-just-earned=true]::after{display:none}
.case-charge-tool{display:grid;place-items:center;width:32px;height:32px;color:#bfbfb2;opacity:.28;transform:rotate(-7deg);pointer-events:none}.case-charge-tool svg{display:block;image-rendering:pixelated}
.case-charge-tool[data-ready=true]{opacity:1;color:#eeeedd;animation:case-tool-ready .2s cubic-bezier(.22,1,.36,1) both}
.story-game .case-clue-file{margin:0;border:0;padding:0}.case-clue-file>summary{display:flex;align-items:center;gap:7px;min-height:36px;padding:3px 0 8px;color:#aaa99d;font:10px/1.5 'Courier New',monospace;list-style:none;cursor:pointer}
.case-clue-file>summary::-webkit-details-marker,.case-receipt-details>summary::-webkit-details-marker{display:none}.case-clue-file>summary::before,.case-receipt-details>summary::before{content:'+';display:inline-block;width:9px;font:13px/1 monospace}.case-clue-file[open]>summary::before,.case-receipt-details[open]>summary::before{content:'−'}
.case-clue-file>summary:hover,.case-clue-file>summary:focus-visible{color:#eeeedd}.case-clue-file>summary:focus-visible,.case-receipt-details>summary:focus-visible{outline:1px solid currentColor;outline-offset:2px}
.case-kept-clues{padding:0 0 14px}.case-kept-clue{border-top:1px solid #363632;padding:13px 0 12px;margin:0}.case-kept-clue:last-child{padding-bottom:0}
.case-kept-clue>small,.case-kept-claim>small{display:block;font:10px/1.6 'Courier New',monospace;color:#aaa99d}.story-game .case-kept-clue>h3{font:700 14px/1.5 'Courier New',monospace;margin:8px 0 6px}.story-game .case-kept-clue>p,.story-game .case-kept-claim>p{font:16px/1.65 Georgia,serif;margin:0;max-width:none;color:#deded3}
.case-kept-claim{padding:3px 0 14px}.story-game .case-kept-claim>p{padding-left:11px;border-left:1px solid #67675e;margin-top:7px;font-size:15px}
.story-game .case-first-call{margin:15px 0 18px;padding:10px 13px}.story-game .case-first-call>p{margin:5px 0 0;font-size:15px}
.story-game .case-judgment-receipt{margin:14px 0;padding:0;border:0}.story-game .case-judgment-status{font:11px/1.6 'Courier New',monospace;margin:0 0 6px;color:#c4c4b8}
.story-game .case-receipt-details{margin:0;padding:0;border:0}.case-receipt-details>summary{display:flex;gap:7px;align-items:center;min-height:40px;padding:7px 0;font:10px/1.6 'Courier New',monospace;color:#aaa99d;list-style:none;cursor:pointer}
.case-receipt-details[open]{padding-bottom:8px!important}.case-receipt-details .case-judgment-pair{padding:6px 0 14px}.case-receipt-details .case-check-receipt{margin:0}
@keyframes case-charge-fill{from{width:var(--case-charge-from,0%)}to{width:var(--case-charge,0%)}}
@keyframes case-meter-spark{0%{box-shadow:0 -5px #eeeedd,0 5px #eeeedd}100%{box-shadow:0 -9px transparent,0 9px transparent}}
@keyframes case-tool-ready{0%{transform:translateY(2px) rotate(-12deg)}100%{transform:translateY(0) rotate(-7deg)}}
@media(max-width:600px){.story-game .case-meter-shell{padding:4px 12px 0}.case-charge-row{gap:9px;min-height:35px;grid-template-columns:minmax(0,1fr) 28px}.case-charge-tool{width:28px;height:28px}.case-charge-tool svg{width:25px;height:25px}.case-clue-file>summary{min-height:36px;font-size:10px}.story-game .case-kept-clue>h3{font-size:13px}.story-game .case-kept-clue>p{font-size:16px}.case-kept-clue>small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.case-charge[data-gaining=true] .case-charge-fill,.case-charge-tool[data-ready=true],.case-meter-shell .case-charge-ticks li[data-just-earned=true]>span{animation:none!important}}
.world-is-quiet .case-meter-shell *,.clash-still .case-meter-shell *,.case-meter-shell[data-case-active=false] *{animation:none!important}
