@font-face{font-family:"Prompt";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/Prompt-Regular.ttf") format("truetype")}
@font-face{font-family:"Prompt";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/Prompt-Medium.ttf") format("truetype")}
@font-face{font-family:"Prompt";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/Prompt-SemiBold.ttf") format("truetype")}
@font-face{font-family:"Prompt";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/Prompt-Bold.ttf") format("truetype")}
/* JUDGMENT: preview design tokens and responsive layout; not audience-tested thresholds. */
:root{color-scheme:dark;--bg:#141318;--panel:#201e24;--line:#343138;--ink:#f5f0ed;--muted:#aaa3ad;--pink:#e68fa8;--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Prompt","Noto Sans Thai",Tahoma,sans-serif;font-size:15px;line-height:1.7}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--pink);outline-offset:5px}.preview-bar{background:#30252d;color:#f0bbcc;font-size:11px;letter-spacing:2px;text-align:center;padding:6px}.preview-bar span{letter-spacing:0;margin-left:12px;color:#d3c7d0}header{max-width:1500px;margin:auto;padding:25px 5%;display:flex;align-items:center;gap:55px;border-bottom:1px solid var(--line)}.brand{font-size:32px;font-weight:700;letter-spacing:-2px;line-height:1;white-space:nowrap}.brand>span{color:var(--pink);font-style:italic}.brand small{display:block;font-size:10px;letter-spacing:5px;font-weight:400;padding-top:8px;color:var(--muted)}header nav{display:flex;gap:28px;font-size:14px;color:var(--muted)}header nav .active{color:var(--ink)}.header-search{margin-left:auto;border:1px solid var(--line);border-radius:30px;display:flex;padding:6px 14px;max-width:260px}.header-search input{width:100%;border:0;background:none;outline:none;font-size:12px;color:white}.header-search button{border:0;background:none;color:var(--pink);font-size:23px}main{max-width:1400px;margin:auto;padding:0 5%}.hero{position:relative;display:grid;grid-template-columns:1.15fr 1fr;gap:80px;align-items:center;padding:65px 0 78px;min-height:600px}.hero-glow{position:absolute;right:0;top:20px;width:50%;height:90%;background:radial-gradient(ellipse,#64405055,transparent 70%);z-index:-1}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:var(--pink)}.spark{font-size:20px;margin-right:8px}.hero h1{font-size:clamp(42px,5.2vw,74px);line-height:1.28;letter-spacing:-2px;margin:24px 0;font-weight:700}.pink{color:var(--pink)}.hero-copy>p{color:var(--muted);line-height:1.9;font-size:15px}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:32px}.button,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:8px;padding:12px 20px;line-height:1.5;font-weight:bold;font-size:14px}.button{background:var(--pink);color:#21151c;border:1px solid var(--pink)}.button:hover{background:#f1b0c4}.secondary{background:#26232b;color:var(--ink);border:1px solid #49434e}.text-link{font-size:13px}.hero-foot{font-size:11px;color:var(--muted);margin-top:42px}.hero-foot span{margin:0 18px;color:var(--pink)}.hero-feature{position:relative;display:block;max-width:370px;width:100%;margin:auto;transform:rotate(3deg);border:1px solid #78616a;border-radius:20px;box-shadow:0 30px 60px #0007;overflow:visible;background:#342630}.feature-image{aspect-ratio:3/3.5;overflow:hidden;border-radius:20px 20px 0 0}.feature-image img{width:100%;height:100%;object-fit:cover;object-position:top}.feature-label{padding:18px 24px;background:linear-gradient(120deg,#372830,#211e25);border-radius:0 0 20px 20px}.feature-label h2{font-size:20px;margin:8px 0}.feature-label>span:last-child{font-size:12px;color:#c7b8c1;display:flex;justify-content:space-between}.round-stamp{position:absolute;bottom:90px;right:-35px;background:#ebc4d0;color:#3b2730;width:100px;height:100px;border-radius:50%;border:5px solid #211e25;text-align:center;display:flex;flex-direction:column;justify-content:center;font-size:8px;line-height:1.8;transform:rotate(12deg);letter-spacing:1px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-head h2{font-size:28px;margin:7px 0 0}.result-count{font-size:12px;color:var(--muted)}.browse{border-top:1px solid var(--line);padding:38px 0}.language-chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.chip{padding:10px 20px;border-radius:30px;background:none;border:1px solid var(--line);color:var(--muted);font-size:13px}.chip.selected{background:var(--pink);color:#21151c;border-color:var(--pink)}.filter-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filter-row label{font-size:11px;color:var(--muted);flex:1}.filter-row input,.filter-row select,select#variant{display:block;background:#211f26;border:1px solid #49434d;border-radius:7px;color:var(--ink);padding:10px 12px;width:100%;min-width:130px;font-size:13px}.filter-row .secondary{padding:10px 20px}.clear{font-size:12px;padding-bottom:12px;color:var(--muted)}.evidence-note{font-size:11px;color:var(--muted);margin:17px 0 26px}.evidence-note a{text-decoration:underline;color:#d8a0b3}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 18px}.poster{aspect-ratio:2/3;position:relative;background:#26212a;border-radius:12px;overflow:hidden;border:1px solid #3c323d}.poster img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .2s}.card:hover .poster img{transform:scale(1.035)}.poster-placeholder{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:start;padding:20px;background:radial-gradient(ellipse at top right,#735064,#28212d 70%);color:#e8d5df;overflow:hidden}.poster-placeholder>span{font-size:9px;letter-spacing:2px}.poster-placeholder strong{font-size:20px;line-height:1.6;margin-bottom:25px}.badge{position:absolute;bottom:10px;left:8px;background:#16121ce8;color:#edb8c9;font-size:9px;padding:3px 7px;border:1px solid #68505d;border-radius:5px}.card-play{position:absolute;top:10px;right:9px;border-radius:50%;width:28px;height:28px;background:#1a172788;display:grid;place-items:center;font-size:10px;opacity:0}.card:hover .card-play{opacity:1}.card h3{font-size:14px;line-height:1.6;margin:12px 0 4px;font-weight:500}.card p{font-size:10px;margin:0;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:25px;margin:38px 0;color:var(--muted);font-size:12px}footer{border-top:1px solid var(--line);padding:42px 5%;max-width:1400px;margin:auto;display:flex;align-items:center;gap:35px;flex-wrap:wrap}footer p,footer a:not(.brand),footer>span{font-size:12px;color:var(--muted)}footer>span{margin-left:auto}.detail{display:grid;grid-template-columns:280px 1fr;gap:55px;padding:55px 0}.detail-art{aspect-ratio:2/3;align-self:start;border-radius:16px;overflow:hidden}.detail-art img{width:100%;height:100%;object-fit:contain}.detail h1{font-size:36px;line-height:1.5}.back{font-size:12px;color:var(--muted)}.synopsis{color:#cbc3ce;max-width:800px}.meta,.tags{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.pill,.tags a{background:#2c2430;padding:5px 12px;border-radius:6px}.pill{color:var(--pink)}.watch-section{border-top:1px solid var(--line);padding:35px 0}.watch-section>label{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.muted,#episode-status{font-size:12px;color:var(--muted)}.episode-list{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.episode-list button{background:#29242e;border:1px solid #4f414d;color:white;padding:10px 16px;border-radius:6px}.episode-list button.active{border-color:var(--pink);color:var(--pink)}#player-area{text-align:center;background:#0c0b0e;border-radius:16px;padding:24px;margin-top:25px}video{display:block;margin:auto;max-width:100%;width:360px;max-height:70vh;background:black}.aliases{margin:30px 0;color:var(--muted);font-size:12px}.prose,.empty{padding:70px 0;max-width:800px;min-height:55vh}.empty h1,.prose h1{font-size:36px}.continue-list{display:flex;gap:15px;overflow:auto;margin:20px 0 35px}.continue-card{min-width:250px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:15px}.continue-card small{display:block;color:var(--pink)}.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}[hidden]{display:none!important}@media(max-width:1000px){header{gap:25px}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{gap:35px}.round-stamp{right:-12px}.hero-actions{align-items:start;flex-direction:column;gap:15px}.hero-feature{max-width:310px}.detail{gap:30px;grid-template-columns:220px 1fr}.header-search{max-width:200px}}@media(max-width:620px){header{padding:20px 5%;flex-wrap:wrap;gap:20px}.brand{font-size:28px}header nav{margin-left:auto;gap:18px;font-size:12px}.header-search{max-width:none;width:100%;margin:0}.hero{grid-template-columns:1fr;gap:38px;padding:35px 0 45px}.hero h1{font-size:48px;margin:18px 0}.hero-copy>p{font-size:13px}.hero-actions{flex-direction:row;align-items:center;gap:18px}.hero-actions .text-link{font-size:11px}.hero-foot{margin-top:25px}.hero-feature{max-width:260px;transform:rotate(2deg)}.feature-image{aspect-ratio:3/3}.round-stamp{width:83px;height:83px;right:-20px;bottom:70px}.feature-label h2{font-size:16px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 14px}.section-head h2{font-size:23px}.section-head{align-items:start}.result-count{font-size:10px}.chip{padding:8px 13px;font-size:11px}.language-chips{gap:7px}.filter-row label:first-child{flex-basis:100%}.filter-row label{min-width:40%}.evidence-note{line-height:1.9}.detail{grid-template-columns:1fr;gap:25px;padding:30px 0}.detail-art{max-width:210px;width:100%;margin:auto}.detail h1{font-size:28px}.poster-placeholder strong{font-size:18px}.synopsis{font-size:14px}.preview-bar{font-size:9px}.preview-bar span{font-size:9px;margin-left:5px}.button,.secondary{font-size:12px;padding:11px 15px}footer{gap:20px;padding:30px 5%}footer>span{margin-left:0;width:100%}.prose h1{font-size:28px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* JUDGMENT: triptych proportions adapted to the reference composition. */
.hero{gap:35px;grid-template-columns:1fr 1.05fr}.hero-triptych{position:relative;height:440px;max-width:540px;width:100%;margin:auto}.hero-cover{position:absolute;top:55px;width:39%;height:320px;border:2px solid #514650;border-radius:14px;overflow:hidden;box-shadow:0 24px 35px #0007;background:#211e25}.hero-cover img{width:100%;height:100%;object-fit:contain}.hero-cover span{position:absolute;bottom:0;left:0;right:0;padding:28px 10px 10px;background:linear-gradient(transparent,#100d18ee);font-size:11px;text-align:center}.hero-cover-0{left:1%;transform:rotate(-12deg);z-index:1}.hero-cover-1{left:30%;top:30px;transform:rotate(2deg);height:365px;z-index:3}.hero-cover-2{right:0;transform:rotate(12deg);z-index:2}.hero-triptych .round-stamp{right:0;bottom:0;z-index:4}.home-shelf{padding:35px 0;border-top:1px solid var(--line)}.home-shelf .section-head h2{margin:0}.home-shelf .section-head p{margin:5px 0 0}.shelf-more{font-size:13px;color:var(--pink);white-space:nowrap}.home-language-note{margin-top:0}.home-shelf .grid{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:1000px){.hero-triptych{height:370px}.hero-cover{height:270px}.hero-cover-1{height:310px}.home-shelf .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.hero{grid-template-columns:1fr}.hero-triptych{max-width:360px;height:310px}.hero-cover{height:228px;top:40px}.hero-cover-1{height:260px;top:20px}.hero-cover span{font-size:9px}.hero-triptych .round-stamp{right:0;bottom:0}.home-shelf .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.home-shelf .card h3{font-size:11px}.home-shelf .badge{font-size:8px;left:4px;padding:2px 4px}.home-shelf .poster-placeholder{padding:8px}.home-shelf .poster-placeholder strong{font-size:12px}.home-shelf .section-head{align-items:center}.home-shelf .section-head p{font-size:10px}.shelf-more{font-size:11px}}
@media(max-width:620px){.hero-triptych{width:calc(100% - 36px)}}

/* JUDGMENT: Prompt typography tuned for Thai titles and clear tone hierarchy; owner review pending. */
.hero h1{letter-spacing:-.025em;line-height:1.4}.section-head h2,.detail h1,.prose h1{font-weight:600;line-height:1.5}.card h3{line-height:1.8}.hero-cover span{line-height:1.7}.brand{letter-spacing:-1.3px}

/* JUDGMENT: mobile readability tuning requested by owner; sizes are design choices, not audience research. */
@media(max-width:620px){
 .hero{padding-top:28px;gap:24px;min-height:0}
 .hero h1{font-size:clamp(34px,10.5vw,46px);line-height:1.4;letter-spacing:-.025em;margin:18px 0}
 .hero-copy>p{font-size:14px;line-height:1.85}
 .hero-actions{flex-wrap:wrap;margin-top:24px;gap:14px 18px}
 .hero-actions .text-link{font-size:12px}
 .hero-foot{font-size:10px;margin-top:22px}
 .hero-foot span{margin:0 12px}
 .hero-cover span{font-size:11px;line-height:1.6;padding:24px 7px 10px;overflow-wrap:anywhere}
 .home-shelf{padding:28px 0}
 .home-shelf .section-head{gap:12px;margin-bottom:20px}
 .home-shelf .section-head h2{font-size:24px}
 .home-shelf .section-head p{font-size:12px;line-height:1.7}
 .home-shelf .shelf-more{font-size:12px;padding:10px 0}
 .home-shelf .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
 .home-shelf .card{min-width:0}
 .home-shelf .poster{border-radius:12px}
 .home-shelf .card h3{font-size:14px;font-weight:500;line-height:1.65;margin:11px 0 6px;overflow-wrap:anywhere}
 .home-shelf .card p{font-size:11px;line-height:1.7;color:#bcb5c0;overflow-wrap:anywhere}
 .home-shelf .badge{font-size:10px;left:7px;bottom:8px;padding:3px 7px}
 .home-shelf .poster-placeholder{padding:12px}
 .home-shelf .poster-placeholder strong{font-size:17px;line-height:1.7}
}

/* JUDGMENT: detail/player touch layout; explicit episode selection stays under user control. */
.player-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}
.player-episode-link{color:var(--pink);padding:12px;font-size:13px}
#player-area{scroll-margin-top:16px}
#playing-title{overflow-wrap:anywhere}
.episode-list button{min-height:44px}
.episode-list button[aria-pressed="true"]{background:#47303e;border-color:var(--pink);color:#ffe0eb}
@media(max-width:620px){
 .detail{gap:22px;padding:26px 0 30px}
 .detail-art{max-width:170px;box-shadow:0 14px 35px #0005}
 .detail h1{font-size:26px;font-weight:600;line-height:1.55;margin:14px 0 18px;overflow-wrap:anywhere}
 .detail .eyebrow{margin:16px 0 0}
 .detail .back{display:inline-block;min-height:44px;padding:10px 0;font-size:13px}
 .detail .synopsis{font-size:14px;line-height:1.95;margin:20px 0}
 .detail .tags a{padding:9px 12px;min-height:40px}
 .detail .button{display:flex;width:100%;min-height:48px;font-size:14px;margin-top:22px}
 .watch-section{padding:28px 0}
 .watch-section .section-head h2{font-size:24px}
 .watch-section>label{font-size:14px}
 select#variant{min-width:0;max-width:100%;font-size:16px;min-height:50px;padding:12px 10px}
 .watch-section>.muted,#episode-status{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
 .episode-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:320px;overflow-y:auto;padding:8px 4px 12px;scroll-margin-top:18px;border-top:1px solid var(--line)}
 .episode-list:empty{display:none}
 .episode-list button{font-size:13px;min-height:48px;padding:10px 4px;overflow-wrap:anywhere}
 .episode-list>.button{grid-column:1/-1}
 #player-area{padding:14px 10px;border:1px solid var(--line);border-radius:14px}
 #playing-title{font-size:18px;line-height:1.6;margin:4px 0 14px}
 #player-area video{width:100%;max-height:65vh;max-height:65svh;border-radius:8px}
 #player-status{font-size:13px;line-height:1.8}
 #player-area .muted{font-size:12px;line-height:1.8}
 .player-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .player-actions button{font-size:13px;min-height:48px;padding:10px}
 .player-episode-link{grid-column:1/-1;font-size:14px;min-height:44px}
 .aliases{font-size:13px;line-height:1.9;overflow-wrap:anywhere}
 .aliases summary{padding:12px 0}
}
.episode-list button small{display:block;font-size:10px;line-height:1.5;margin-top:4px}.episode-list button:disabled{opacity:1;color:#aaa3ad;background:#1b191f;border-style:dashed;cursor:not-allowed}.related-series{margin-top:32px}
.member-gate{background:linear-gradient(120deg,#35232f,#211c26);border:1px solid #785265;border-radius:14px;padding:22px;margin:22px 0}.member-gate h3{margin:0 0 8px}.member-gate p{color:#d6c8d1;font-size:14px}.episode-list button.locked{border-color:#785265;color:#efbfd0}.join-panel{max-width:540px;margin:60px auto;padding:30px;background:var(--panel);border:1px solid var(--line);border-radius:18px;min-height:45vh}.join-panel h1{font-size:30px}.join-panel p{line-height:1.9}#google-login{margin:24px 0}#login-status{font-size:14px;color:var(--pink)}@media(max-width:620px){header nav{gap:12px;font-size:11px}.join-panel{margin:30px auto;padding:22px}.join-panel h1{font-size:26px}.member-gate{padding:18px}.member-gate .button{width:100%;min-height:48px}.member-gate p{font-size:13px}}
