/* Independent frame, scenery, character and live controls: no flattened UI artwork. */
:root{--hunt-parchment:#f7dfaa url('/assets/hunt-panels/parchment.webp') center/420px auto;--hunt-emerald:radial-gradient(ellipse at 30% 0,#135d3e,#053525 75%)}
body .story-adventure .hunt-progress-board{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible}
body .hunt-chart-panel,body .hunt-story-panel,body .story-event-notice:has(.hunt-standing){border:26px solid transparent!important;border-image:url('/assets/hunt-panels/frame.webp') 210 / 38px / 0 stretch!important;border-radius:0!important;background:var(--hunt-parchment)!important;background-clip:padding-box!important;box-shadow:0 12px 20px -12px #10200dcc!important;position:relative;isolation:isolate;margin:22px 0!important;padding:10px!important;outline:0!important}
body .hunt-chart-panel{background:#71c8ee!important;padding:0!important;border-width:22px!important}
body .hunt-progress-board:has(.prize-pot-banner) .hunt-chart-panel .hunt-board-heading{background:var(--hunt-emerald)!important;border:1px solid #bb8b27!important;border-radius:7px!important;padding:12px 16px!important;box-shadow:inset 0 0 0 2px #154d32,0 3px 5px #45300b80!important;gap:10px;position:relative;z-index:3}
body .hunt-chart-panel .hunt-board-title{font:800 clamp(20px,2.8vw,32px)/1.15 'Fraunces',Georgia,serif!important;color:#fff1b8!important;max-width:none!important;text-shadow:0 2px #17301b!important}
body .hunt-chart-panel .hunt-board-title small{display:none!important}
body .hunt-chart-panel .hunt-board-live{font-size:13px!important;color:#fff3c1!important;max-width:none!important;background:#083c2b;border:1px solid #bd9340;border-radius:24px;padding:8px 12px;white-space:nowrap}
body .hunt-chart-panel .hunt-board-live:before{background:#b2ff4b;box-shadow:0 0 8px #a1ff28;width:8px;height:8px}
body .hunt-chart-panel .hunt-board-expand{background:linear-gradient(135deg,#fff3ae,#ffd85a 45%,#d99b1c)!important;color:#073c38!important;border:2px solid #a76b16;box-shadow:inset 0 0 0 2px #ffeeb1,0 3px #6d4617;border-radius:13px;width:44px;height:44px}
body .hunt-chart-panel .hunt-board-canvas,body .hunt-board-dialog .hunt-board-canvas{background:#86d2f5 url('/assets/hunt-panels/sky.webp') center bottom/cover no-repeat;overflow:hidden;padding:18px 10px 36px;isolation:isolate}
body .hunt-chart-panel .hunt-board-canvas:before,body .hunt-board-dialog .hunt-board-canvas:before{inset:8% 12% 20% 20%;background:url('/assets/hunt-panels/cloud.webp') center/contain no-repeat!important;opacity:.25!important;animation:panel-cloud-drift 45s ease-in-out infinite alternate!important;z-index:-1}
body .hunt-board-canvas:after{display:none!important}
body .hunt-chart-panel .hunt-board-chart{height:clamp(130px,20vw,260px);margin:30px 12px 26px 45px}
body .hunt-board-axis{color:#073c4c!important;text-shadow:0 1px #e5f7ff;font-size:clamp(12px,1.4vw,16px)!important}
body .hunt-board-field{border-color:#17617a!important}.hunt-board-grid{border-color:#23657c66!important}
body .hunt-chart-panel .hunt-board-empty{color:#123f50!important;background:#edfaffdc!important;border:1px solid #fff;padding:9px;border-radius:20px;top:30%;font-size:14px!important}
body .hunt-story-panel .story-hero{display:grid!important;grid-template-columns:minmax(110px,23%) minmax(0,1fr)!important;gap:22px!important;margin:0!important;padding:5px 8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;align-items:center!important}
body .hunt-story-panel .story-character-scene{background:radial-gradient(ellipse at 30% 30%,#64324f,#301d32)!important;border:3px solid #c59136!important;border-radius:30px!important;box-shadow:inset 0 0 0 3px #f4d289,0 4px 7px #552c2255!important;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;padding:10px 6px 0!important;min-height:210px;overflow:visible}
body .hunt-story-panel .story-host{width:100%!important;max-width:240px!important;height:clamp(200px,24vw,300px)!important;object-fit:contain!important;object-position:center bottom!important;transform:translate(-3px,7px)!important;filter:drop-shadow(0 5px 4px #210e3155)!important}
body .hunt-story-panel .story-telling{min-width:0}
html body #app .hunt-story-panel #story-title,body .hunt-story-panel #story-title{font-size:clamp(25px,3.5vw,46px)!important;line-height:1.12!important;color:#073823!important;text-shadow:none!important;margin:0 0 12px!important;overflow-wrap:anywhere}
body .hunt-story-panel .story-progress-copy{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 12px!important}
body .hunt-story-panel .story-progress-copy strong{color:#4d2d10!important;font:800 clamp(20px,2.7vw,32px)/1.2 'Fraunces',Georgia,serif!important;text-shadow:none!important}
body .hunt-story-panel .story-progress-copy strong span{color:inherit!important}
body .hunt-story-panel .story-progress-tokens{display:flex!important;gap:8px!important;flex-wrap:wrap;margin-top:8px!important}
body .hunt-story-panel .story-collection-item{width:clamp(32px,4.5vw,58px)!important;height:clamp(32px,4.5vw,58px)!important;background:none!important;border:0!important}
body .hunt-story-panel .story-collection-item:not(.is-found) img{filter:grayscale(1) sepia(.15)!important;opacity:.65!important}
body .hunt-story-panel .story-audio{margin:12px 0 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body .hunt-story-panel .story-audio h2{display:none!important}
body .hunt-story-panel .story-player{background:var(--hunt-emerald)!important;border:2px solid #c79534!important;box-shadow:inset 0 0 0 2px #ffe4a6,0 4px 5px #70401855!important;padding:5px 14px 5px 5px!important;border-radius:50px!important;gap:14px!important;min-height:64px!important}
body .hunt-story-panel [data-story-play]{display:grid!important;place-items:center!important;width:57px!important;height:57px!important;min-width:57px!important;min-height:57px!important;padding:13px!important;border:2px solid #fff0ab!important;border-radius:50%!important;background:conic-gradient(from 30deg,#ffe58e,#e3a526,#ffea97,#ffd152,#ffe58e)!important;color:#034a2d!important;box-shadow:0 2px 0 #815217,inset 0 0 0 2px #ffd36a!important;transform:none!important}
body .hunt-story-panel [data-story-play] svg{width:28px!important;height:28px!important;display:block!important;transform:none!important}
body .hunt-story-panel .story-wave{flex:1;min-width:20px;height:40px!important}.hunt-story-panel .story-wave i{background:#fff0b9!important}
body .hunt-story-panel .story-audio-time{color:#fff5d4!important;font-size:clamp(12px,1.6vw,18px)!important;white-space:nowrap}
body .hunt-story-panel .story-audio-status:empty{display:none!important}
body .hunt-story-panel .story-audio-status{color:#403016!important}
body .story-adventure .hunt-story-panel .story-read{background:transparent!important;color:#073823!important;border:0!important;border-top:1px solid #a47c3a!important;border-radius:0!important;box-shadow:none!important;margin:15px 8px 0!important;padding:0!important}
body .hunt-story-panel .story-read summary{color:#073823!important;text-align:center;padding:12px!important;font:800 clamp(18px,2.3vw,27px)/1.2 'Fraunces',Georgia,serif!important;text-shadow:none!important;min-height:44px}
body .hunt-story-panel .story-read p,body .hunt-story-panel .story-read strong{color:#203b25!important;text-shadow:none!important;line-height:1.6;padding:0 10px}
body .story-event-notice:has(.hunt-standing){padding:16px!important}
.hunt-standing{display:flex;gap:24px;align-items:center;min-height:140px}.standing-content{flex:1;min-width:0}.standing-medal{width:clamp(90px,16vw,180px);flex:none;position:relative}.standing-medal[hidden]{display:none}.standing-medal img{width:100%;display:block;filter:drop-shadow(0 6px 4px #432d2855)}
html body #app .hunt-standing .standing-position{color:#103d23!important;text-shadow:none!important;font-size:clamp(24px,3.4vw,42px)!important;line-height:1.25!important;margin:0 0 18px!important}
body .hunt-standing .standing-position strong{color:#83451e!important;text-shadow:0 1px #fff4d5!important}.hunt-standing.is-second .standing-position strong{color:#515f67!important;text-shadow:0 1px white!important}.hunt-standing.is-first .standing-position strong{color:#875100!important;text-shadow:0 1px #fff8c2,0 0 12px #ffda60!important}
.standing-clock{display:flex;align-items:center;gap:16px;flex-wrap:wrap}body .hunt-standing .standing-clock>strong{font:800 clamp(18px,2.3vw,28px)/1.2 'Fraunces',Georgia,serif!important;color:#163f27!important}.standing-digits{display:flex;gap:8px}
body .hunt-standing .standing-digits>span{display:flex;align-items:baseline;justify-content:center;gap:2px;padding:8px 10px!important;min-width:58px;border:2px solid #c79534;border-radius:10px;background:var(--hunt-emerald);color:#fff1c1!important;box-shadow:inset 0 0 0 1px #ffe7aa,0 3px #82531d;font:800 clamp(21px,3vw,35px)/1.1 'Fraunces',Georgia,serif;font-variant-numeric:tabular-nums}
body .hunt-standing .standing-digits small{color:#fff1c1!important;font-size:.58em}.standing-review{font-size:14px!important;color:#314735!important}.standing-rank-fallback{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;background:linear-gradient(135deg,#edbf77,#a36629);border:4px double #ffe0a0;font:800 45px Georgia!important;color:#523015!important}
.hunt-standing.is-first .standing-medal{animation:standing-glow 3s ease-in-out infinite}.hunt-standing.is-first .standing-medal:after{content:'✦';position:absolute;right:4%;top:22%;font-size:24px;color:#fff4b8;text-shadow:0 0 8px #ffd334;animation:standing-sparkle 2.4s ease-in-out infinite}
body dialog.hunt-board-dialog{background:var(--hunt-parchment)!important;border:18px solid transparent!important;border-image:url('/assets/hunt-panels/frame.webp') 210 / 30px / 0 stretch!important;border-radius:0!important;padding:14px;box-shadow:0 20px 70px #092b3999!important}
@keyframes panel-cloud-drift{to{transform:translateX(9%)}}@keyframes standing-glow{50%{filter:drop-shadow(0 0 9px #faca43aa)}}@keyframes standing-sparkle{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1)}}
@media(max-width:600px){body .hunt-chart-panel,body .hunt-story-panel,body .story-event-notice:has(.hunt-standing){border-width:15px!important;border-image-width:25px!important;padding:6px!important;margin:18px 0!important}body .hunt-chart-panel{padding:0!important}body .hunt-progress-board:has(.prize-pot-banner) .hunt-chart-panel .hunt-board-heading{padding:9px 8px!important;gap:5px}body .hunt-chart-panel .hunt-board-title{font-size:19px!important}body .hunt-chart-panel .hunt-board-live{padding:5px 7px;font-size:10px!important}body .hunt-chart-panel .hunt-board-chart{margin-left:34px;margin-right:7px;height:135px}body .hunt-chart-panel .hunt-board-canvas{padding:12px 4px 23px}body .hunt-chart-panel .hunt-board-axis{left:-34px}body .hunt-story-panel .story-hero{grid-template-columns:80px minmax(0,1fr)!important;gap:12px!important;padding:6px!important;align-items:start!important}body .hunt-story-panel .story-telling{display:contents}body .hunt-story-panel .story-character-scene{grid-row:1/3;min-height:150px;border-radius:18px!important;padding:3px!important}body .hunt-story-panel .story-host{height:155px!important;width:100%!important;object-fit:contain!important}body .hunt-story-panel #story-title{grid-column:2;font-size:25px!important;margin:3px 0 0!important}body .hunt-story-panel .story-progress-copy{grid-column:2;margin:0!important}body .hunt-story-panel .story-progress-copy strong{font-size:21px!important}body .hunt-story-panel .story-audio{grid-column:1/-1;margin-top:6px!important}body .hunt-story-panel .story-collection-item{width:33px!important;height:33px!important}body .hunt-story-panel .story-player{padding-right:10px!important;gap:10px!important}body .hunt-story-panel .story-read{margin-top:10px!important}.hunt-standing{gap:10px;min-height:130px;align-items:flex-start;flex-wrap:wrap}.standing-medal{width:80px}.standing-content{min-width:170px}html body #app .hunt-standing .standing-position{font-size:24px!important;margin-bottom:12px!important}.standing-clock{gap:8px}.standing-digits{gap:5px}body .hunt-standing .standing-digits>span{min-width:40px;padding:7px 5px!important;font-size:24px}body .hunt-standing .standing-clock>strong{font-size:19px!important}}
@media(prefers-reduced-motion:reduce){.hunt-standing *,body .hunt-chart-panel .hunt-board-canvas:before,body .hunt-board-dialog .hunt-board-canvas:before{animation:none!important;transition:none!important}}html[data-world-motion=off] .hunt-standing *,html[data-world-motion=off] .hunt-board-canvas:before{animation:none!important}
/* A single continuous texture and complete corners, with no external glowing stroke. */
body .hunt-story-panel,body .story-event-notice:has(.hunt-standing),body dialog.hunt-board-dialog{background-size:cover!important;background-repeat:no-repeat!important}
body .hunt-chart-panel,body .hunt-story-panel,body .story-event-notice:has(.hunt-standing),body dialog.hunt-board-dialog{border-image-slice:330!important}
body .hunt-story-panel .story-host{position:relative!important;left:auto!important;bottom:auto!important;max-height:none!important}
body .hunt-story-panel .story-hero:after,body .hunt-story-panel .story-character-scene:before{display:none!important}
body .hunt-story-panel .story-read summary{justify-content:center!important}
body .hunt-story-panel [data-story-play]{flex-basis:57px!important}
body .hunt-chart-panel,body .hunt-story-panel,body .story-event-notice:has(.hunt-standing),body dialog.hunt-board-dialog{background-clip:border-box!important;border-radius:18px!important}
@media(max-width:600px){body .hunt-story-panel .story-hero{grid-template-columns:90px minmax(0,1fr)!important;grid-template-rows:min-content min-content auto!important}body .hunt-story-panel .story-character-scene{min-height:135px!important}body .hunt-story-panel .story-host{height:135px!important}body .hunt-story-panel #story-title{font-size:24px!important}.standing-content{min-width:160px}body .hunt-standing .standing-digits>span{min-width:36px;font-size:22px;padding:7px 4px!important}}
@media(max-width:430px){.hunt-standing.has-place{display:grid;grid-template-columns:75px minmax(0,1fr);gap:10px;align-items:center}.hunt-standing.has-place .standing-content{display:contents}.hunt-standing.has-place .standing-medal{width:75px}.hunt-standing.has-place .standing-position{grid-column:2}.hunt-standing.has-place .standing-clock,.hunt-standing.has-place .standing-review{grid-column:1/-1}.hunt-standing.has-place .standing-clock{justify-content:center;text-align:center}.standing-digits{max-width:100%}body .hunt-standing .standing-digits>span{min-width:0;font-size:22px}.standing-review{margin:6px 0}}
body dialog.hunt-board-dialog .hunt-board-dialog-heading{background:var(--hunt-emerald)!important;border:1px solid #b58b39;border-radius:9px;padding:12px!important;align-items:center;gap:10px}
body dialog.hunt-board-dialog .hunt-board-dialog-heading h2{color:#fff1bd!important;text-shadow:none!important;font-size:clamp(22px,3vw,32px)!important}
body dialog.hunt-board-dialog .hunt-board-dialog-heading p{color:#f5e8c4!important;font-size:12px!important}
body dialog.hunt-board-dialog .hunt-board-dialog-heading button{flex:none;background:linear-gradient(#ffe992,#dca928)!important;color:#133b2a!important;border:2px solid #fff0b2;display:grid;place-items:center;padding:0}
body dialog.hunt-board-dialog .hunt-board-explainer{color:#233e2c!important;background:#fff7dfd9!important;font-size:13px!important;line-height:1.5;padding:12px!important;border-radius:10px}
@media(max-width:430px){body dialog.hunt-board-dialog{padding:7px!important}body dialog.hunt-board-dialog .hunt-board-chart{height:35dvh;margin-left:32px}.hunt-board-dialog .hunt-board-axis{left:-33px}}
body .hunt-story-panel .story-character-scene{align-self:center!important;min-height:0!important;padding:8px 5px 0!important}
body .hunt-story-panel .story-host{height:auto!important;max-height:none!important;display:block!important}
/* Override the older purple-notice palette inside the new parchment panel. */
html body #app .hunt-standing .standing-clock>strong,html body #app .hunt-standing .standing-review{color:#163f27!important;text-shadow:none!important}
html body #app .hunt-standing .standing-position strong{color:#83451e!important;text-shadow:0 1px #fff4d5!important}
html body #app .hunt-standing.is-second .standing-position strong{color:#515f67!important}
html body #app .hunt-standing.is-first .standing-position strong{color:#875100!important;text-shadow:0 1px #fff8c2,0 0 12px #ffda60!important}
html body #app .hunt-standing .standing-digits>span,html body #app .hunt-standing .standing-digits small{color:#fff1c1!important}
