/* Only the feature-flagged drama presentation. No feed, author or admin selectors. */
.sd-site{--sd-title-font:'LoveX Noto zh-TW',system-ui,sans-serif;background:var(--lx-page);color:var(--lx-text);margin:0;min-width:0}
.sd-site *, .sd-site *::before,.sd-site *::after{box-sizing:border-box}
.sd-site a{color:inherit;text-decoration:none}.sd-site button{font:inherit;cursor:pointer}.sd-site :focus-visible{outline:3px solid var(--lx-accent);outline-offset:3px}
.sd-site :is(h1,h2,h3,.sd-title){font-family:var(--sd-title-font);font-weight:600;font-synthesis:none;word-break:normal;overflow-wrap:anywhere;text-wrap:balance;line-height:1.5}
html[lang="ko"] .sd-site :is(h1,h2,h3,.sd-title){word-break:keep-all;overflow-wrap:break-word}
html[lang^="zh"] .sd-site :is(h1,h2,h3,.sd-title){line-break:strict}
html[lang="th"] .sd-site :is(h1,h2,h3,.sd-title){line-height:1.8}
.sd-site .sd-top{max-width:1440px;margin:auto;display:flex;align-items:center;gap:32px;padding:18px 32px;min-height:84px;border-bottom:1px solid var(--lx-line);position:relative;z-index:20}
.sd-site .sd-top .brand{white-space:nowrap;color:var(--lx-accent);font-size:26px;font-weight:750;line-height:1.4}
.sd-site .sd-top nav,.sd-site .sd-tools{display:flex;align-items:center;gap:20px}.sd-site .sd-tools{margin-left:auto;gap:12px}.sd-site .sd-top nav a,.sd-site .sd-tools>a{min-height:40px;display:inline-flex;align-items:center;white-space:nowrap;font-size:14px}
.sd-site .sd-top [aria-current],.sd-site .sd-bottom [aria-current]{color:var(--lx-accent)}.sd-site .sd-bottom{display:none}
.sd-site .lx-drama-shell{max-width:1440px;margin:auto;padding:24px 32px 64px;min-width:0}
.sd-site .sd-hero{position:relative;isolation:isolate;border:1px solid var(--lx-line);border-radius:22px;background:var(--lx-media);color:#fff;margin-bottom:28px}
.sd-site .sd-slide{position:relative;min-height:530px;overflow:hidden;border-radius:22px;isolation:isolate}
.sd-site .sd-slide::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#100c16fa 5%,#100c16d9 40%,#100c1630 90%),linear-gradient(0deg,#100c16f5,transparent 50%)}
.sd-site .sd-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 35%;z-index:-2}
.sd-site .sd-hero-copy{position:relative;padding:65px 48px 78px;max-width:760px;min-width:0}
.sd-site .sd-eyebrow{font-size:12px;color:#ffacd1;letter-spacing:2px}
.sd-site .sd-title{font-size:clamp(28px,3.4vw,48px);margin:20px 0 16px;line-height:1.45}
.sd-site .sd-synopsis{font-size:15px;line-height:1.9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;max-width:580px;margin:12px 0;color:#eee5ed}
.sd-site .sd-logline{font-size:17px;line-height:1.65;margin:10px 0}.sd-site .sd-hero-meta{font-size:13px;line-height:1.7;color:#d7c5d4}
.sd-site .sd-hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px}.sd-site .sd-hero-actions>a,.sd-site .sd-hero-actions>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:24px;font-size:14px;line-height:1.5;max-width:100%}
.sd-site .sd-hero-actions>button{border:1px solid #ffffff66;background:#1a122380;color:#fff;min-width:44px;font-size:24px;padding:0 10px}.sd-site .sd-hero-actions>button[aria-pressed=true]{color:#ff78b0}
.sd-site .sd-hero-nav{position:absolute;right:24px;bottom:16px;display:flex;align-items:center;gap:14px;font-size:12px;z-index:1}.sd-site .sd-hero-nav button{background:#191020b0;color:#fff;border:1px solid #ffffff55;border-radius:50%;width:40px;height:40px}
.sd-site .sd-category-list{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 32px}.sd-site .sd-category-list a{border:1px solid var(--lx-line);border-radius:25px;padding:10px 18px;min-height:42px;font-size:14px;line-height:1.5;display:flex;align-items:center;max-width:100%;overflow-wrap:anywhere}
.sd-site .sd-section{margin:32px 0}.sd-site .lx-drama-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.sd-site .lx-drama-section-heading h2{font-size:24px;margin:0}.sd-site .lx-drama-section-heading>a{font-size:13px;min-height:40px;display:flex;align-items:center;flex-shrink:0;color:var(--lx-accent)}
.sd-site .lx-theater-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 18px}.sd-site .lx-theater-card{min-width:0;background:transparent;border:0;overflow:visible;position:relative}.sd-site .lx-drama-cover{border-radius:12px;aspect-ratio:9/16;position:relative;background:linear-gradient(145deg,#533650,#17101e);display:block;overflow:hidden}
.sd-site .lx-drama-cover img{width:100%;height:100%;object-fit:cover;display:block}.sd-site .lx-theater-card .lx-drama-card-body{padding:12px 0 0}.sd-site .lx-theater-card h3{margin:0 0 6px;font-size:16px;line-height:1.65;display:block;overflow:visible;max-height:none;-webkit-line-clamp:unset}.sd-site .lx-theater-card h3 a{display:block}
.sd-site .lx-theater-card .lx-drama-author{font-size:12px;min-height:40px;display:flex;align-items:center;color:var(--lx-muted);overflow-wrap:anywhere;white-space:normal}.sd-site .lx-theater-card-stats{font-size:12px;display:flex;gap:8px;flex-wrap:wrap;line-height:1.6}
.sd-site .lx-theater-bookmark{width:40px;height:40px;min-width:40px;min-height:40px;right:6px;top:6px;background:#160e1fd9;color:#fff;border:1px solid #ffffff55;border-radius:50%;z-index:2}.sd-site .lx-theater-bookmark[aria-pressed=true]{color:#ff78b0}
.sd-site .lx-theater-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.sd-site .lx-theater-tags a{font-size:12px;line-height:1.7;min-height:40px;display:flex;align-items:center;padding:4px 8px;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.sd-site .lx-theater-play{width:44px;height:44px}.sd-site .lx-drama-cover-empty{display:grid;place-content:center;text-align:center;height:100%;color:#dab8d3;font-size:16px;line-height:2}
.sd-site .lx-drama-badge{font-size:10px;line-height:1.5;max-width:calc(100% - 56px);white-space:normal}.sd-site .lx-theater-intro{gap:20px}.sd-site .lx-theater-categories a{min-width:40px;min-height:40px;white-space:normal}.sd-site .lx-theater-sort select{max-width:100%;min-height:40px}
.sd-site .lx-drama-detail-info{grid-template-columns:minmax(240px,32%) minmax(0,1fr);gap:44px}.sd-site .lx-drama-detail-cover{max-width:350px;aspect-ratio:9/16;grid-column:auto;grid-row:auto}.sd-site .lx-drama-detail-copy{display:block;min-width:0}.sd-site .lx-drama-detail-copy h1{font-size:clamp(26px,3vw,44px);line-height:1.6;overflow:visible}.sd-site .lx-drama-detail-copy .lx-drama-author{min-height:40px;display:flex;align-items:center;overflow-wrap:anywhere}.sd-site .lx-drama-actions>*{min-height:44px;max-width:100%;white-space:normal}
.sd-site .sd-episode-groups{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.sd-site .sd-episode-groups button{min-height:40px;min-width:40px;border:1px solid var(--lx-line);border-radius:10px;background:var(--lx-raised);color:var(--lx-text);padding:8px 14px}.sd-site .sd-episode-groups [aria-pressed=true]{background:var(--lx-accent);color:var(--lx-on-accent)}
.sd-site .sd-episode-open{border:1px solid var(--lx-line);background:var(--lx-raised);color:var(--lx-text);padding:10px 18px;border-radius:12px;min-height:44px}.sd-site .lx-drama-episode-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.sd-site .lx-drama-episode-copy h3{font-size:14px;line-height:1.6;max-height:none;overflow:visible;display:block;-webkit-line-clamp:unset}.sd-site .lx-drama-episode-thumb{aspect-ratio:16/10}
.sd-site .sd-episode-drawer{border:1px solid var(--lx-line);border-radius:22px;background:var(--lx-surface);color:var(--lx-text);width:min(720px,calc(100% - 24px));max-height:85dvh;padding:20px}.sd-site .sd-episode-drawer::backdrop{background:#0009}.sd-site .sd-episode-drawer header{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;background:var(--lx-surface);z-index:2}.sd-site .sd-episode-drawer header button{min-width:44px;min-height:44px;background:var(--lx-raised);color:var(--lx-text);border:1px solid var(--lx-line);border-radius:50%}.sd-site .sd-episode-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.sd-site .sd-episode-options a{min-height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--lx-line);border-radius:9px;padding:8px;font-size:14px;overflow-wrap:anywhere}.sd-site .sd-episode-options [aria-current]{background:var(--lx-accent);color:var(--lx-on-accent)}
@media(max-width:1100px){.sd-site .sd-top{gap:20px;padding:16px 24px}.sd-site .sd-top nav{gap:14px}.sd-site .sd-tools{gap:8px}.sd-site .sd-desktop-publish{display:none!important}.sd-site .lx-theater-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sd-site .sd-top .brand{font-size:24px}}
@media(min-width:768px) and (max-width:1000px){.sd-site .sd-top nav a:last-child{display:none}.sd-site .lx-drama-detail-info{grid-template-columns:minmax(240px,40%) minmax(0,1fr);gap:24px}.sd-site .lx-drama-series-viewer .lx-story-layout{grid-template-columns:1fr}.sd-site .lx-drama-series-viewer .lx-story-media{height:70dvh;min-height:500px}.sd-site .lx-drama-series-viewer .lx-story-stage video{object-fit:contain;max-height:100%;max-width:100%}.sd-site .lx-drama-episode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){
 .sd-site .sd-top{padding:12px 16px;min-height:68px;gap:10px;flex-wrap:wrap}.sd-site .sd-top .brand{font-size:23px}.sd-site .sd-top nav{display:none}.sd-site .sd-tools{gap:8px}.sd-site .sd-tools>a{font-size:12px}.sd-site .sd-tools .theme-toggle{min-width:40px;min-height:40px;font-size:12px;padding:7px 9px}.sd-site .lx-language-menu>summary{min-width:40px;min-height:40px}
 .sd-site .sd-bottom{position:fixed;z-index:35;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--lx-surface);border-top:1px solid var(--lx-line);padding-bottom:env(safe-area-inset-bottom)}.sd-site .sd-bottom a{min-width:0;min-height:60px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:7px 4px;font-size:11px;line-height:1.4;text-align:center;overflow-wrap:anywhere}.sd-site .sd-bottom span{font-size:23px;line-height:1.1}
 .sd-site .lx-drama-shell{padding:16px 14px calc(86px + env(safe-area-inset-bottom))}.sd-site .sd-hero{margin:-16px -14px 22px;border:0;border-radius:0}.sd-site .sd-slide{border-radius:0;min-height:510px}.sd-site .sd-slide::after{background:linear-gradient(0deg,#100c16 0%,#100c16df 27%,#100c161a 80%,#100c1666)}.sd-site .sd-hero-image{object-position:50% 25%}
 .sd-site .sd-hero-copy{padding:190px 22px 78px;min-height:max(480px,calc(100svh - 176px));display:flex;flex-direction:column;justify-content:flex-end;max-width:none}.sd-site .sd-title{font-size:28px;line-height:1.65;margin:10px 0 12px;max-width:100%}.sd-site .sd-title[data-vertical]{position:absolute;writing-mode:vertical-rl;text-orientation:upright;top:55px;left:24px;height:190px;font-size:28px;line-height:1.6;letter-spacing:3px;margin:0;max-width:calc(100% - 80px)}
 .sd-site .sd-eyebrow{font-size:11px;letter-spacing:1px}.sd-site .sd-synopsis{font-size:13px;line-height:1.9;margin:8px 0}.sd-site .sd-logline{font-size:14px}.sd-site .sd-hero-meta{font-size:12px;margin:6px 0}.sd-site .sd-hero-actions{gap:8px;margin-top:12px}.sd-site .sd-hero-actions>a{font-size:12px;padding:10px 12px}.sd-site .sd-hero-nav{bottom:14px;right:22px}
 .sd-site .lx-theater-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.sd-site .lx-theater-card h3{font-size:14px;line-height:1.75}.sd-site .lx-theater-card .lx-drama-card-body{padding-top:8px}.sd-site .lx-theater-bookmark{right:3px;top:3px}.sd-site .lx-drama-badge{left:3px;top:6px;font-size:10px;padding:3px;max-width:calc(100% - 48px)}.sd-site .lx-theater-access{font-size:10px}.sd-site .lx-theater-card-stats{font-size:11px;display:block}.sd-site .lx-theater-card-stats>span{display:block}.sd-site .lx-theater-tags a{font-size:11px;padding:4px;min-height:40px}
 .sd-site .lx-drama-section-heading h2{font-size:20px}.sd-site .sd-section{margin:26px 0}.sd-site .sd-category-list{gap:8px;margin:20px 0}.sd-site .sd-category-list a{font-size:12px;padding:8px 12px}.sd-site .lx-theater-intro{flex-wrap:wrap}.sd-site .lx-theater-search{width:100%;max-width:100%}.sd-site .lx-theater-intro h1{font-size:25px}.sd-site .lx-theater-results-heading{flex-wrap:wrap;gap:12px}.sd-site .lx-theater-sort{max-width:100%;flex-wrap:wrap}.sd-site .lx-drama-detail-info{grid-template-columns:minmax(0,1fr);gap:18px}.sd-site .lx-drama-detail-cover{width:min(64vw,300px);margin:auto}.sd-site .lx-drama-detail-copy h1{font-size:27px}.sd-site .lx-drama-actions{gap:8px;flex-wrap:wrap}.sd-site .lx-drama-actions>*{font-size:13px}.sd-site .lx-drama-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.sd-site .lx-drama-episode-copy{padding:8px}.sd-site .lx-drama-episode-copy h3{font-size:13px}.sd-site .lx-drama-episode-copy .lx-drama-meta{font-size:11px}
 .sd-site .sd-episode-drawer{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:80dvh;border-radius:22px 22px 0 0;padding:16px 14px calc(20px + env(safe-area-inset-bottom))}.sd-site .sd-episode-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
}
@media(prefers-reduced-motion:reduce){.sd-site *{scroll-behavior:auto!important;transition:none!important}}
/* Review: preserve complete continuation titles and actionable touch areas. */
.sd-site .lx-theater-resume-copy{min-width:0}
.sd-site .lx-theater-resume-copy strong{font-family:var(--sd-title-font);white-space:normal;overflow:visible;text-overflow:clip;word-break:normal;overflow-wrap:anywhere;text-wrap:balance;line-height:1.7}
html[lang="ko"] .sd-site .lx-theater-resume-copy strong{word-break:keep-all;overflow-wrap:break-word}
.sd-site .sd-tools>a,.sd-site .sd-top nav a{min-width:40px;justify-content:center}
.sd-site .sd-hero-meta a{display:inline-flex;align-items:center;min-height:40px;min-width:40px;vertical-align:middle}
.sd-site .lx-theater-card h3 a{min-height:40px;min-width:40px}
.sd-site :is(.lx-drama-back,.lx-drama-cat-chip,.lx-drama-community a,.lx-drama-pagination a){display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:40px}
/* Category summary is mobile-only; keep its original breakpoint visibility. */
.sd-site summary:not([data-category-summary]){min-height:40px;display:flex;align-items:center}
.sd-site .lx-theater-category-filter>summary>.lx-category-arrow{flex:0 0 14px;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}

/* Approved mobile reel (7be1c77). Desktop presentation and non-home pages stay unchanged. */
.sd-site .sd-reel,.sd-site .sd-brand-mobile,.sd-site .sd-tools>a.sd-home-mobile-search{display:none}
@media(max-width:767px){
 .sd-home-page .sd-top{flex-wrap:nowrap;gap:8px;padding:10px 16px;min-height:68px}
 .sd-home-page .sd-top .brand{font-size:23px;flex:0 0 auto}
 .sd-home-page .sd-brand-full{display:none}.sd-home-page .sd-brand-mobile{display:inline}
 .sd-home-page .sd-tools{gap:4px;min-width:0}
 .sd-home-page .sd-tools>a.sd-home-mobile-search{display:inline-flex;font-size:28px;width:40px;height:40px;padding:0}
 .sd-home-page .sd-tools .theme-toggle{position:relative;font-size:0;width:40px;height:40px;padding:0;min-width:40px;flex:0 0 40px}
 .sd-home-page .sd-tools .theme-toggle::after{content:'☾';font-size:17px}
 html[data-theme=dark] .sd-home-page .sd-tools .theme-toggle::after{content:'☀'}
 .sd-home-page .lx-language-menu>summary{width:56px;padding:4px;gap:3px;font-size:11px}
 .sd-home-page .lx-language-full{display:none}.sd-home-page .lx-language-short{display:inline}
 .sd-home-page .lx-language-globe{width:14px;height:14px;flex:0 0 14px}.sd-home-page .lx-language-arrow{width:10px;height:10px;flex:0 0 10px}
 .sd-home-page .lx-drama-shell{padding:0 0 calc(60px + env(safe-area-inset-bottom))}
 .sd-home-page .sd-hero{margin:0;border:0;border-radius:0}
 .sd-home-page .sd-slide{min-height:0;border-radius:0}
 .sd-home-page .sd-hero-copy,.sd-home-page .sd-hero-nav,.sd-home-page .lx-drama-shell>.sd-section,.sd-home-page .lx-drama-shell>.sd-category-list,.sd-home-page .lx-drama-shell>.lx-theater-continue{display:none!important}
 .sd-home-page .sd-slide::after{background:linear-gradient(0deg,#0b0610ed 0%,#0d081146 40%,#0b061029 65%,#0b061080 100%)}
 .sd-home-page .sd-hero-image{object-position:center 36%}
 .sd-home-page .sd-hero[data-sd-swipe-compact=true]{touch-action:pan-x}
 .sd-home-page .sd-reel{display:grid;position:relative;grid-template-rows:44px minmax(110px,1fr) auto minmax(44px,auto) 20px;gap:8px;padding:12px 18px 6px;min-height:max(470px,calc(100svh - var(--sd-home-header,68px) - 60px - env(safe-area-inset-bottom)));color:#fff}
 .sd-home-page .sd-reel-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px}
 .sd-home-page .sd-reel-top>span,.sd-home-page .sd-reel-recent{background:#1e102b66;border:1px solid #ffffff30;border-radius:20px;padding:6px 10px}
 .sd-home-page .sd-reel-top a{min-height:40px;min-width:40px;display:inline-flex;align-items:center}
 .sd-home-page .sd-reel-top a[hidden]{display:none}
 .sd-home-page .sd-reel-title-zone{position:relative;min-height:110px;margin-right:70px;min-width:0;padding-top:clamp(12px,calc(16svh - 84px),48px)}
 .sd-home-page .sd-reel-center.sd-title{position:relative;top:auto;left:auto;right:auto;margin:0 0 0 auto;max-width:100%;height:140px;font-size:30px;line-height:1.35;letter-spacing:0;text-shadow:0 3px 30px #0007;pointer-events:none;overflow-wrap:anywhere;text-wrap:balance}
 .sd-home-page .sd-reel-center.sd-title[data-vertical]{writing-mode:vertical-rl;text-orientation:upright;line-height:1.6;letter-spacing:4px;font-size:38px}
 .sd-home-page .sd-reel-side{position:absolute;right:13px;bottom:157px;display:flex;flex-direction:column;gap:20px;width:52px}
 .sd-home-page .sd-reel-side button{color:#fff;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;width:52px;padding:5px;font-size:28px;line-height:1.2}
 .sd-home-page .sd-reel-side button[aria-pressed=true]{color:#ff78b0}
 .sd-home-page .sd-reel-side small{font-size:10px;line-height:1.4;overflow-wrap:anywhere;max-width:52px}
 .sd-home-page .sd-reel-info{margin:0 57px 0 2px;min-width:0}
 .sd-home-page .sd-reel-info h1{font-size:22px;line-height:1.5;letter-spacing:1px;margin:6px 0;overflow-wrap:anywhere}
 .sd-home-page .sd-reel-info h1 a{display:block;min-height:40px}
 .sd-home-page .sd-reel-eyebrow{font-size:10px;letter-spacing:2px;color:#ff8eb9}
 .sd-home-page .sd-reel-meta{font-size:11px;color:#ddc9d8;margin:0;line-height:1.6}
 .sd-home-page .sd-reel-meta a{display:inline-flex;align-items:center;min-width:40px;min-height:40px;vertical-align:middle}
 .sd-home-page .sd-reel-logline{font-size:12px;line-height:1.8;margin:6px 0;color:#ead7e4}
 .sd-home-page .sd-reel-synopsis{font-size:12px;line-height:1.8;color:#e2cfdd;margin:6px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal}
 .sd-home-page .sd-reel-cta{display:flex;gap:10px;min-width:0}
 .sd-home-page .sd-reel-cta>a{flex:1;min-width:0;min-height:44px;border-radius:6px;font-size:12px;display:flex;align-items:center;justify-content:center;line-height:1.5;padding:9px 12px;color:#25101b;background:#ff659a;text-align:center}
 .sd-home-page .sd-reel-cta>button{flex:0 0 48px;min-width:48px;min-height:44px;padding:0;border-radius:6px;border:1px solid #ffffff55;background:#ffffff11;color:#fff;font-size:22px}
 .sd-home-page .sd-reel-hint{text-align:center;font-size:10px;line-height:1.5;color:#d1afcc;align-self:center;pointer-events:none}
 .sd-home-page .sd-reel-picker-error{color:var(--lx-text)}
}
@media(max-width:767px) and (max-height:700px){
 .sd-home-page .sd-reel{grid-template-rows:44px minmax(100px,1fr) auto minmax(44px,auto) 20px}
 .sd-home-page .sd-reel-title-zone{min-height:100px;padding-top:12px}
 .sd-home-page .sd-reel-center.sd-title{height:110px;font-size:26px}
 .sd-home-page .sd-reel-center.sd-title[data-vertical]{font-size:32px}
 .sd-home-page .sd-reel-info h1{font-size:20px}
}
