/* Scoped additions: keep the established character/gallery/player layout. */
html body .site-header .brand-cluster-v181{grid-area:brand;display:flex;align-items:center;justify-content:center;gap:16px;min-width:0;}
html body #supportV181{width:auto;min-height:36px;padding:5px 12px;border:1px solid #d9a5b3;border-radius:18px;color:#ffe7b0;background:linear-gradient(#652554,#300e31);font:700 19px/1.1 'Caveat',cursive;cursor:pointer;white-space:normal;}
html body .site-header .nav a[href="#beta"]{background-image:linear-gradient(#17051577,#17051588),url('mystery_v181.png')!important;background-size:cover!important;background-position:center!important;}
html body #home .logo-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;}
html body #home .logo-card--serial{grid-column:1!important;grid-row:1!important;}
html body #home .logo-card--novel{grid-column:2!important;grid-row:1!important;}
html body #home .episodes-v180,html body #home .itch-card-v181{min-width:0;width:100%;padding:clamp(14px,2vw,24px);border:1px solid #93637a;border-radius:26px;background:linear-gradient(145deg,rgba(66,25,64,.92),rgba(25,7,30,.96));box-shadow:inset 0 0 0 5px #d4a5bb09,0 14px 32px #0004;}
html body #home .episodes-v180{grid-column:1!important;grid-row:2!important;}
html body #home .itch-card-v181{grid-column:2!important;grid-row:2!important;text-align:center;}
#episodesV180 h2,#itchCardV181 h2{margin:0 0 22px;font:700 clamp(30px,3vw,42px)/1.15 'Caveat',cursive;color:#ffe39a;text-align:center;}
#itchCardV181 .cta{max-width:100%;white-space:normal;}
#episodesV180 .episode-list-v180{list-style:none;margin:0;padding:0;display:grid;gap:20px;}
#episodesV180 .episode-row-v180{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:clamp(12px,1.5vw,22px);min-width:0;padding:0 0 20px;margin:0;border-bottom:1px solid #b48c9b38;}
#episodesV180 .episode-row-v180[hidden],.experience-overlay-v181[hidden]{display:none!important;}
#episodesV180 .episode-row-v180 img,#episodesV180 .episode-placeholder-v180{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;max-width:100%;border-radius:12px;}
#episodesV180 .episode-row-v180 h3{margin:3px 0 12px;padding:0;color:#ffe39a;font:700 clamp(23px,2vw,31px)/1.12 'Caveat','Segoe Print',cursive;text-align:left;overflow-wrap:anywhere;}
#episodesV180 .episode-row-v180 p{margin:3px 0 12px;color:#e0c4b1;font:700 clamp(19px,1.5vw,24px)/1.2 'Caveat','Segoe Print',cursive;text-align:left;}
.episode-label-v181{display:block;color:#c7a9b7;font:500 12px/1.25 system-ui,sans-serif;letter-spacing:.03em;}
#episodesV180 .episode-placeholder-v180,.experience-dialog-v181 .episode-placeholder-v180{display:grid;place-items:center;background:#4b484e;color:#bbb7bd;font:700 50px/1 system-ui,sans-serif;aspect-ratio:1672/941;border-radius:12px;}
html body .episode-details-v181,html body #episodeToggleV180,.experience-dialog-v181 button{display:inline-grid;place-items:center;min-height:44px;padding:8px 18px;border:1px solid #fcb4a1;border-radius:14px;background:linear-gradient(#ff5848,#c00d24 65%,#800b23);color:#ffe39a;cursor:pointer;box-shadow:0 3px 0 #590b1f;font:700 23px/1 'Caveat',cursive;}
html body #episodeToggleV180{display:grid;width:48px;margin:20px auto 0;font:24px/1 system-ui;}
.episode-details-v181:focus-visible,#episodeToggleV180:focus-visible,#supportV181:focus-visible,.experience-dialog-v181 button:focus-visible{outline:3px solid #ffe39a;outline-offset:4px;}
.experience-overlay-v181{position:fixed;inset:0;z-index:2147483646;background:#08020de6;display:flex;align-items:center;justify-content:center;padding:24px;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overscroll-behavior:contain;}
.experience-dialog-v181{position:relative;width:min(900px,100%);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:28px;border:1px solid #eac098;border-radius:24px;background:linear-gradient(135deg,#421537,#17091e);box-shadow:0 20px 70px #0009;color:#ffe6bb;}
.experience-dialog-v181 h2{padding:0 50px;margin:0 0 8px;text-align:center;font:700 clamp(28px,4vw,40px)/1.15 'Caveat',cursive;}
.experience-dialog-v181 .experience-close-v181{position:absolute;top:12px;right:12px;width:40px;min-height:40px;padding:0;border-radius:50%;font:26px/1 system-ui;}
.experience-dialog-v181>img{display:block;width:100%;height:auto;max-height:46vh;object-fit:contain;border-radius:12px;}
.episode-number-v181{text-align:center;color:#c9a7b8;font:15px/1.4 system-ui;margin:0 0 18px;}
.experience-dialog-v181 .episode-date-v181{font:700 24px/1.3 'Caveat',cursive;margin:18px 0 12px;}
.experience-dialog-v181 .episode-description-v181{font:17px/1.7 system-ui,sans-serif;white-space:pre-line;margin:0 0 24px;text-align:left;}
.episode-controls-v181{display:flex;justify-content:space-between;gap:20px;}
.experience-dialog-v181 .episode-controls-v181 button{font:26px/1 system-ui;width:60px;}
.experience-dialog-v181 button:disabled{opacity:.35;cursor:default;}
.support-body-v181{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:24px;margin-top:24px;}
.support-body-v181 img{width:100%;height:auto;border-radius:12px;}
.support-body-v181 p{font:700 clamp(25px,3vw,34px)/1.25 'Caveat',cursive;text-align:left;margin:0;}
.help-noise-v181{display:none;position:fixed;inset:0;z-index:0;pointer-events:none;background:#888 var(--static-v181) repeat;background-size:96px 96px;}
html.help-static-v181 body :is(header,main,footer,#artemPlayerV100) [data-morse-v181]{position:relative!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;}
html.help-static-v181 body :is(header,main,footer,#artemPlayerV100) [data-morse-v181] *{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;}
html.help-static-v181 body :is(header,main,footer,#artemPlayerV100) [data-morse-v181]::after{content:attr(data-morse-v181)!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;pointer-events:none!important;color:#ffe1a6!important;-webkit-text-fill-color:#ffe1a6!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important;font:700 clamp(12px,1.5vw,22px)/1.25 ui-monospace,monospace!important;letter-spacing:0!important;overflow:hidden;white-space:normal;text-align:center;}
html.help-static-v181 .help-noise-v181{display:block;animation:static-drift-v181 1s steps(2,end) infinite;}
html.help-static-v181 main,html.help-static-v181 footer{position:relative;z-index:1;}
html.help-static-v181 main img,html.help-static-v181 footer img{visibility:hidden!important;opacity:0!important;}
html.help-static-v181 :is(#home .logo-frame,#characters .character-image-wrap,#media .poppy-tree-v178,#media .poppy-shot-v177,.episode-row-v180,#itchCardV181){background:#888 var(--static-v181) repeat!important;box-shadow:none!important;}
html.help-static-v181 .episode-row-v180>div{background:#160b18d9;padding:10px;border-radius:12px;}
html.help-static-v181 .poppy-tree-overlay-v178{visibility:hidden!important;}
#fcRepairCountdownV171 .fc-repair-countdown-value-v171{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;transform:none!important;font:700 32px/1 system-ui,sans-serif!important;font-variant-numeric:tabular-nums!important;text-align:center!important;letter-spacing:0!important;}
@keyframes static-drift-v181{to{background-position:47px 31px;}}
@media(max-width:1000px){html body #home .logo-cards{grid-template-columns:minmax(0,1fr)!important;}html body #home .logo-card--novel{grid-column:1!important;grid-row:3!important;}html body #home .itch-card-v181{grid-column:1!important;grid-row:4!important;}html body .site-header .brand-cluster-v181{flex-direction:column;gap:3px;}html body #supportV181{font-size:16px;padding:3px 8px;min-height:32px;}#episodesV180 .episode-row-v180 h3{font-size:clamp(23px,4.8vw,31px);}#episodesV180 .episode-row-v180 p{font-size:clamp(19px,4vw,23px);}}
@media(max-width:600px){.experience-dialog-v181{padding:20px 16px;}.experience-dialog-v181 h2{padding:0 36px;font-size:28px;}.experience-dialog-v181 .episode-description-v181{font-size:16px;}.support-body-v181{grid-template-columns:minmax(0,1fr);gap:18px;}.support-body-v181 p{text-align:center;}#fcRepairCountdownV171 .fc-repair-countdown-value-v171{font-size:28px!important;}html body .site-header .brand-cluster-v181 .brand-text{font-size:20px!important;}html body #supportV181{max-width:150px;}}
@media(max-width:380px){html body #supportV181{font-size:14px;max-width:108px;}html body .site-header .brand-cluster-v181 .brand-text{font-size:18px!important;}}
@media(max-width:600px){html body #episodesV180 .episode-details-v181{font-size:19px;padding:8px;max-width:100%;width:100%;}#episodesV180 .episode-row-v180 h3{font-size:23px;overflow-wrap:break-word;}#episodesV180 .episode-row-v180 p{font-size:21px;}}
@media(max-width:380px){#episodesV180 .episode-row-v180{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px;}#episodesV180 .episode-row-v180 h3{font-size:20px;}#episodesV180 .episode-row-v180 p{font-size:19px;}html body #episodesV180 .episode-details-v181{font-size:18px;}}
html body #supportV181,#episodesV180 h2,#itchCardV181 h2,html body .episode-details-v181,.experience-dialog-v181 h2,.support-body-v181 p,.experience-dialog-v181 .episode-date-v181{font-family:'Caveat','Segoe Print','Bradley Hand',cursive;}
@media(prefers-reduced-motion:reduce){html.help-static-v181 .help-noise-v181{animation:none;}}
