/* Arc 1 portal geometry, Arc 2 palace palette. */
body[data-arc="16"]>.skip:not(:focus){position:absolute;transform:translateY(-200%);clip-path:inset(100%);width:1px;height:1px;overflow:hidden}
body[data-arc="16"] .portal-home{--ice:#9b773b;--rose:#68e4d5;--ink:#f8f5fc;--muted:#635775}
body[data-arc="16"] .portal-stage{height:clamp(510px,65vh,760px);min-height:570px;background:#efebf7}
body[data-arc="16"] .portal-copy{padding-bottom:95px}
body[data-arc="16"] .portal-copy h1{font-family:PalaceThai,Tahoma,serif;font-size:clamp(30px,3.5vw,54px)}
body[data-arc="16"] .portal-film{object-position:65% 40%;opacity:.85}
body[data-arc="16"] .portal-vignette{background:linear-gradient(90deg,#f8f5fcf5,#f8f5fcb8 35%,#f8f5fc22 75%),linear-gradient(0deg,#f8f5fc,transparent 40%)}
body[data-arc="16"] .portal-media-controls{bottom:62px}
body[data-arc="16"] .portal-catalog{padding-top:48px}
body[data-arc="16"] .portal-episode-art{aspect-ratio:2/3;overflow:hidden}
body[data-arc="16"] .portal-episode-art img{width:100%;height:100%;object-fit:cover}
body[data-arc="16"] .portal-episode.is-upcoming{border:1px solid #c5a66640;display:flex;flex-direction:column;justify-content:center;min-height:230px;padding:30px 18px;background:linear-gradient(145deg,#21152770,#f8f5fc);text-align:center;border-radius:5px}
.arc-coming-title{font:600 19px/1.8 PalaceThai,Tahoma,serif;color:#e5d7eb;margin:0 0 20px}.arc-coming-label{font:12px Chakra,Tahoma,sans-serif;letter-spacing:2px;color:#c8ac7c}
.arc2-progress{color:#baa9c7;font-size:13px}.arc2-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:22px}.arc2-empty{padding:25px;color:#635775}.arc2-release-gateway{display:block;margin:30px 5%;padding:24px 30px;border:1px solid #c5a66666;background:linear-gradient(120deg,#24172d,#100d18);color:#9b773b}.arc2-release-gateway strong{font-size:24px;display:block}.arc2-release-gateway span{font-size:13px}
@media(max-width:700px){body[data-arc="16"] .portal-stage{height:710px;min-height:710px}body[data-arc="16"] .portal-copy{width:90%;padding-bottom:145px}body[data-arc="16"] .portal-media-controls{left:5%;right:auto;bottom:65px}body[data-arc="16"] .portal-film{object-position:59% center}body[data-arc="16"] .portal-copy h1{font-size:38px}body[data-arc="16"] .portal-episode.is-upcoming{min-height:210px}.arc-coming-title{font-size:17px}}

body[data-arc="16"] .portal-episode.is-teaser{position:relative;overflow:hidden;isolation:isolate;min-height:360px;cursor:default} .arc-teaser-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none} .is-teaser::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#f8f5fc20,#f8f5fcb0 55%,#f8f5fcef);z-index:-1}.is-teaser .arc-coming-title,.is-teaser .arc-coming-label{position:relative;text-shadow:0 2px 10px #000}.is-teaser .arc-coming-label{letter-spacing:1px;line-height:1.8}

/* Portrait artwork stays intact inside the shared full-width hero. */
body[data-arc="16"] .portal-film{left:42%;width:58%;object-fit:contain;object-position:center;opacity:.94}body[data-arc="16"] .portal-stage{background:#f8f5fc}body[data-arc="16"] .portal-vignette{background:linear-gradient(90deg,#f8f5fcf5,#f8f5fcb8 35%,#f8f5fc10 75%),linear-gradient(0deg,#f8f5fc,transparent 40%)}@media(max-width:700px){body[data-arc="16"] .portal-film{left:18%;width:82%;object-position:right center;opacity:.55}}
/* Arc04 palette only; shared portal DOM, grid and controls are retained. */
body[data-arc="16"]{background:#f8f5fc;color:#30293e;--cyan:#9b773b;--pink:#126ba1;--line:#91bdd6;--muted:#635775}
body[data-arc="16"] .site-head,body[data-arc="16"] footer{background:#fff;color:#30293e;border-color:#91bdd6}
body[data-arc="16"] .brand,body[data-arc="16"] .brand span,body[data-arc="16"] .brand small,body[data-arc="16"] .site-head nav{color:#754b2b}
body[data-arc="16"] .portal-home{--ice:#9b773b;--rose:#9b773b;--ink:#30293e;--muted:#635775}
body[data-arc="16"] .portal-stage{background:#e5f5ff}
body[data-arc="16"] .portal-film{left:0;width:100%;object-fit:cover;object-position:center;opacity:1}
body[data-arc="16"] .portal-vignette{background:linear-gradient(90deg,#f8f5fcf5,#f8f5fce5 28%,#f8f5fc40 65%,transparent),linear-gradient(0deg,#f8f5fc,transparent 30%)}
body[data-arc="16"] .portal-year,body[data-arc="16"] .portal-copy h1,body[data-arc="16"] .portal-copy h1 em,body[data-arc="16"] .portal-section-head h2,body[data-arc="16"] .portal-manifesto h2{color:#754b2b;text-shadow:none}
body[data-arc="16"] .portal-copy p,body[data-arc="16"] .portal-secondary,body[data-arc="16"] .portal-kicker,body[data-arc="16"] .portal-stage-bottom,body[data-arc="16"] .portal-stage-bottom a,body[data-arc="16"] .arc2-progress,body[data-arc="16"] .arc-tab,body[data-arc="16"] .portal-manifesto p,body[data-arc="16"] .arc2-links a{color:#244f68;text-shadow:none}
body[data-arc="16"] .portal-cta,body[data-arc="16"] .header-resume{background:#9b773b;color:#fff;border-color:#9b773b}
body[data-arc="16"] .portal-media-controls button,body[data-arc="16"] #fx-toggle{background:#fffffff0;color:#754b2b;border-color:#6da5c4}
body[data-arc="16"] .portal-stage-bottom{background:#f8fcffe8;border-color:#91bdd6}
body[data-arc="16"] .portal-search input{color:#30293e}body[data-arc="16"] .portal-search input::placeholder{color:#635775}
body[data-arc="16"] .portal-search,body[data-arc="16"] .arc-tabs,body[data-arc="16"] .portal-manifesto{border-color:#91bdd6}
body[data-arc="16"] .portal-episode{background:#fff;border-color:#91bdd6;color:#30293e}
body[data-arc="16"] .portal-episode-info h3{color:#30293e}body[data-arc="16"] .episode-status,body[data-arc="16"] .episode-enter{color:#795234}
body[data-arc="16"] .portal-grain{opacity:.025}
body[data-arc="16"] .site-head .main-nav a{color:#6f5540}body[data-arc="16"] .site-head .main-nav a[aria-current="page"]{color:#754b2b;border-color:#9b773b}
body[data-arc="16"] .portal-media-controls #palace-film-toggle{background:#fff;color:#754b2b;border-color:#6da5c4}
@media(max-width:700px){body[data-arc="16"] .portal-film{left:0;width:100%;object-position:65% center;opacity:.65}body[data-arc="16"] .portal-vignette{background:linear-gradient(90deg,#f8f5fcf5,#f8f5fcc0 60%,#f8f5fc50),linear-gradient(0deg,#f8f5fc,transparent 45%)}body[data-arc="16"] .portal-copy{padding-bottom:145px}}

body[data-arc="16"]{--arc2-accent:#9b773b;--arc2-text:#30293e;--arc2-muted:#635775;background:#f8f5fc;color:#30293e}body[data-arc="16"] .portal-vignette{background:linear-gradient(90deg,#f8f5fc 0%,#f8f5fcee 23%,#f8f5fc80 50%,transparent 85%),linear-gradient(0deg,#f8f5fc,transparent 30%)}body[data-arc="16"] .portal-cta{background:#9b773b;color:#fff}body[data-arc="16"] .portal-year,body[data-arc="16"] h1{color:#744525}
@media(min-width:900px){body[data-arc="16"] .portal-film{left:32%;width:68%;object-fit:contain;object-position:center center}}@media(max-width:899px){body[data-arc="16"] .portal-film{left:0;width:100%;object-fit:contain;object-position:center bottom}}@media(max-width:700px){body[data-arc="16"] .portal-stage .portal-film{inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center;opacity:.55}}

body[data-arc="16"] .portal-stage .portal-film{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1}
@media(max-width:899px){body[data-arc="16"] .portal-stage .portal-film{object-position:60% center;opacity:.65}}

body[data-arc="16"] .portal-stage .portal-film{object-position:center} @media(max-width:899px){body[data-arc="16"] .portal-stage .portal-film{object-position:68% center}}
