@font-face{font-family:QuestItalic;src:url('assets/quest-italic.ttf')}
@font-face{font-family:RadioDigital;src:url('assets/radio-digital.ttf')}header #achievements{margin-left:auto;color:var(--yellow);white-space:nowrap}header #sound{margin-left:0}.episode-star{display:block;color:var(--yellow);margin-top:6px;font-size:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#panel-dialog{width:min(1200px,96vw);padding:44px 12px 14px;background:#080808;border-color:#28251a}#panel-media{container-type:inline-size}.game-stage{position:relative;width:100%;overflow:hidden;background:#080808;isolation:isolate}.game-stage .game-art,.game-stage .game-slide,.ball-background{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:fill!important;user-select:none;pointer-events:none}.game-draggable{touch-action:none;cursor:ew-resize;user-select:none}.game-status{min-height:1.4em;margin:12px 0 4px;color:#e9bd17;text-align:center;font-size:17px}.game-status:empty{min-height:0;margin:4px}#panel-actions{gap:6px}#panel-actions .game-button{font-family:Quest;font-size:12px;padding:12px 18px;background:#1e1c15}#panel-actions .game-continue,#panel-actions .game-bonus{color:#080808;background:var(--yellow)}#panel-actions .game-continue{order:10;margin-left:auto}#panel-actions .game-range{flex:1 0 100%;width:100%;margin:0}button:disabled{opacity:.4;cursor:default}#panel-note{font-size:14px;line-height:1.4;margin:10px 0 0;color:#a99f89}#panel-note:empty{display:none}.slide-counter{position:absolute;bottom:12px;left:12px;background:#080808c9;padding:5px 10px;font-size:14px}.ball-layer{position:absolute;inset:0;pointer-events:none}.game-stage .collection-ball{position:absolute;left:29.08%;top:63.2%;width:37.55%!important;height:auto!important;max-height:none!important;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(3px 4px 4px #0006)}.ball-copy{position:absolute;left:50.8%;top:38.4%;width:35%;font:2.5cqw/1.15 QuestItalic,Arial;text-shadow:2px 2px 2px #000}.ball-copy h2{font:inherit;margin:0 0 .4em;color:#fff}.ball-copy p{margin:0}.ball-count{font-size:16px;padding:5px 12px;color:#b5aa92}.panorama-caption{position:absolute;top:15.7%;left:33%;width:34%;font:2.5cqw/1.15 QuestItalic;text-shadow:2px 2px #000}.game-stage .radio-knob{position:absolute;left:84.4%;top:31.94%;width:16.38%!important;height:auto!important;max-height:none!important;transform-origin:center;pointer-events:none}.radio-frequency{position:absolute;left:31.35%;top:30.38%;font:9.55cqw/.8 RadioDigital,monospace;color:#131615;transform:rotate(-7.87deg);transform-origin:top left;width:22.8%;text-align:right;pointer-events:none}
.game-question{position:absolute;top:15.7%;left:11%;width:76%;text-shadow:2px 2px 3px #000;font-family:QuestItalic,Arial;animation:question-reveal .6s ease-out}.game-question.left-low{left:5.8%;top:30.8%}.game-question.right{left:46%;top:6.7%;width:48%}.game-question h2{font:2.2cqw/1.25 QuestItalic,Arial;margin:0 0 1cqw}.question-choices{display:flex;flex-direction:column;align-items:flex-start;padding-left:1.5%}.question-choices .game-button{font:2.2cqw/1.25 QuestItalic,Arial;min-height:0;padding:.3cqw 0;color:var(--yellow);text-align:left;text-shadow:inherit}.question-choices button:hover{color:#fff}.question-choices button[aria-pressed=true]{color:#fff;text-decoration:underline;text-underline-offset:4px}
#achievement-dialog{max-width:600px}#close-achievements{position:absolute;right:5px;top:0;font-size:30px;width:44px}#achievement-dialog h2{color:var(--yellow)}#achievement-dialog p{color:#bfb39b;line-height:1.5}#achievement-dialog article{padding:12px 0;border-bottom:1px solid #3b3422}#achievement-dialog h3{font:17px Quest;color:var(--yellow)}#achievement-dialog a{display:inline-block;padding:12px 0;color:#f0cd4d}
@keyframes question-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@media(max-width:700px){#panel-dialog{padding:44px 8px 12px;width:98vw;max-height:94svh}.game-status{font-size:15px}#panel-actions .game-button{font-size:10px;padding:10px 12px}#panel-actions .game-continue{margin-left:0}.game-question{position:relative;inset:auto!important;width:100%!important;padding:14px;background:#0a0907;animation:none}.game-stage:has(.game-question){aspect-ratio:auto!important;padding-top:44.5%;overflow:visible}.game-stage:has(.game-question) .game-art{height:auto!important;aspect-ratio:1000/445}.game-question h2{font-size:16px}.question-choices .game-button{font-size:15px;min-height:44px;padding:8px 0}.ball-layer{display:grid;grid-template-rows:auto auto}.game-stage:has(.ball-layer:not([hidden])){aspect-ratio:auto!important;min-height:360px;background:#080808}.ball-layer:not([hidden]){position:relative;min-height:360px;padding-top:54%}.ball-layer .ball-background{height:auto!important;aspect-ratio:1004/443}.game-stage .collection-ball{top:26cqw;width:46%!important;left:29%}.ball-copy{position:relative;inset:auto;width:auto;padding:0 18px 15px;font-size:14px;text-shadow:none}.ball-copy h2{color:var(--yellow);font-size:16px}.game-stage:has(.ball-layer:not([hidden]))>video{display:none}.episode-star{display:inline;margin-left:8px;font-size:17px}header{gap:4px}header #sound{min-width:70px}}
@media(prefers-reduced-motion:reduce){.game-question{animation:none}}

.game-stage{container-type:inline-size;margin-inline:auto}@media(min-width:701px){.game-stage{width:min(100%,calc((100svh - 220px)*var(--scene-ratio)))}}

@media(max-width:700px){#panel-dialog{max-width:98vw}.game-stage:has(.ball-layer:not([hidden]))>video{display:none!important}.ball-copy{background:#080808}}
#panel-actions .game-button{font-size:19px}.game-question{color:#fff}.question-choices .game-button{color:#fbc42f}
@media(max-width:700px){#panel-actions .game-button{font-size:17px}.ball-copy{font-size:22px;line-height:1.35}.ball-copy h2{font-size:24px}.game-question h2{font-size:23px}.question-choices .game-button{font-size:22px;line-height:1.3}.game-stage:has(.ball-layer:not([hidden])){min-height:0}.ball-layer:not([hidden]){min-height:0;padding-top:54%}}

.slide-counter{z-index:3}

header #chapters{margin-left:auto;font-size:18px}header #achievements{margin-left:0}#chapter-dialog{width:min(520px,94vw)}#close-chapters{position:absolute;right:5px;top:0;width:44px;font-size:30px}#chapter-dialog h2{color:var(--yellow)}#chapter-dialog p{color:#c1b69a;line-height:1.4}#chapter-list{display:grid;gap:8px}#chapter-list button{padding:14px 20px;text-align:left;font:24px Quest;background:#252015}#chapter-list button[aria-current=true]{color:var(--yellow);border-left:3px solid var(--yellow)}@media(max-width:700px){header #chapters{font-size:16px;padding:5px}header #achievements{padding:5px}header #sound{min-width:60px;padding:5px}header img{width:110px}#ended h2{font-size:28px}}@media(max-width:360px){header{padding-inline:8px}header img{width:88px}}
