/* Approved quiet brown/gold entry. Public poster only; no teaser autoplay. */
.sd-home-entry{margin-top:26px;margin-bottom:30px;min-width:0}
.sd-home-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.sd-home-track::-webkit-scrollbar{display:none}
.sd-home-track>.sd-home-slide,.sd-home-track>.novel-home-entry-section{position:relative;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;margin:0}
.sd-home-drama{height:234px;overflow:hidden;isolation:isolate;border:1px solid #775525;border-radius:20px;background:#201209;color:#fff0de}
.sd-drama-poster{position:absolute;right:-5%;top:0;width:64%;height:100%;object-fit:cover;filter:brightness(.86) saturate(.77)}
.sd-drama-shade{position:absolute;inset:0;background:linear-gradient(90deg,#25170c 0%,#25170c 42%,#25170c99 54%,#25170c00 77%),linear-gradient(0deg,#23170ccb,transparent 38%);pointer-events:none}
.sd-drama-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;height:100%;padding:26px 24px;pointer-events:none}
.sd-drama-kicker{max-width:calc(100% - 78px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;letter-spacing:.08em;line-height:1.4;color:#e4bf78}
.sd-drama-badge{display:inline-flex;align-items:center;border:1px solid #b48b4966;border-radius:5px;padding:3px 7px;color:#ebc983;background:#24170dbb;font-size:10px;line-height:1.3;font-weight:600}
.sd-drama-copy>.sd-drama-badge{position:absolute;top:23px;right:20px}
.sd-drama-title{max-width:70%;margin:13px 0 0;font-family:'Nanum Myeongjo','Noto Serif KR',serif;font-size:29px;font-weight:600;line-height:1.5;letter-spacing:-.065em;color:#fff0de;text-shadow:0 1px 8px #190c0999;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sd-drama-cta{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;min-height:44px;margin-top:auto;color:#f4c56d;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer;pointer-events:auto}
.sd-home-track .novel-home-entry{height:234px}
.sd-home-controls,.sd-scene-controls{display:flex;justify-content:center;align-items:center;height:44px;margin-top:3px}
.sd-home-arrow,.sd-scene-arrow{border:0;background:transparent;color:#d5b77f;width:44px;height:44px;display:grid;place-items:center;font-size:22px;cursor:pointer}
.sd-home-arrow:disabled,.sd-scene-arrow:disabled{opacity:.3;cursor:default}
.sd-home-dots,.sd-scene-dots{display:flex;align-items:center;min-width:0;max-width:calc(100% - 88px);overflow-x:auto;scrollbar-width:none}
.sd-home-dots button,.sd-scene-dots button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;padding:0;cursor:pointer}
.sd-home-dots span,.sd-scene-dots span{display:block;width:5px;height:5px;border-radius:8px;background:#806947;transition:width .2s,background .2s}
.sd-home-dots button[aria-pressed=true] span,.sd-scene-dots button[aria-pressed=true] span{width:18px;background:#d6ad5e}
.sd-home-entry button:focus-visible,.sd-hero-carousel button:focus-visible,.sd-series-cta:focus-visible{outline:2px solid #efbf62;outline-offset:3px}
.sd-scene-hero{background:#24170e}.sd-scene-hero .sc-hero-nm{line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}
.sd-scene-hero .sc-hero-tag{display:block;max-width:calc(100% - 36px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.08em}
.sd-scene-hero .sc-hero-tag::before{display:inline-block;margin-right:7px;vertical-align:middle}
.sd-scene-hero .sd-drama-badge{margin-top:10px}
.sd-scene-hero .sc-hero-bt{grid-template-columns:1fr}.sd-scene-hero .sc-hero-bt .p{background:#d9b373;color:#24170e}
.sd-scene-library{margin-top:28px;margin-bottom:8px}
.sd-library-title{margin:0 18px 14px;color:#f3ece2;font-size:20px;font-weight:700;letter-spacing:-.035em}
.sd-series-rail{display:flex;gap:12px;overflow-x:auto;padding:0 18px 8px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.sd-series-rail::-webkit-scrollbar{display:none}
.sd-series-card{flex:0 0 180px;min-width:0;overflow:hidden;border:1px solid #6e512d77;border-radius:12px;background:#24190f;scroll-snap-align:start}
.sd-series-still{height:128px;background:linear-gradient(145deg,#402b18,#20160f);overflow:hidden}
.sd-series-poster{display:block;width:100%;height:100%;object-fit:cover}
.sd-series-copy{padding:12px 12px 6px}
.sd-series-character{margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e4bf78;font-size:11px;font-weight:600;line-height:1.4}
.sd-series-title{margin:0;color:#f2e7d8;font-size:15px;font-weight:700;line-height:1.45;height:2.9em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.sd-series-count{margin:7px 0 0;color:#bda98b;font-size:10px;line-height:1.4}
.sd-series-cta{display:block;width:100%;min-height:44px;padding:8px 0;border:0;background:transparent;color:#e9bf76;font-size:12px;font-weight:600;text-align:left;cursor:pointer}
.sd-episode-actions{display:grid;gap:6px;min-width:0}
.sd-episode-actions.is-multiple{grid-template-columns:1fr 1fr}
.sd-drama-copy>.sd-episode-actions{width:100%;max-width:330px;margin-top:auto;pointer-events:auto}
.sd-episode-actions>.sd-drama-cta{margin-top:0;justify-content:flex-start}
.sd-episode-actions.is-multiple>.sd-drama-cta{justify-content:center;min-width:0;border:1px solid #c09a5266;border-radius:7px;padding:5px 8px;background:#271a10e6;font-size:12px;white-space:nowrap}
.sd-episode-actions.is-multiple>.sd-episode-latest{background:#d5ac63;border-color:#d5ac63;color:#24170e}
.sd-series-copy>.sd-episode-actions{margin-top:7px}
.sd-episode-actions.is-multiple>.sd-series-cta{min-width:0;padding:6px 3px;border:1px solid #b08a4c55;border-radius:6px;text-align:center;font-size:11px;white-space:nowrap}
.sd-episode-choose{grid-column:1/-1;min-height:44px;padding:0;border:0;background:transparent;color:#dac295;font-size:11px;font-weight:600;text-align:left;cursor:pointer;pointer-events:auto}
.sd-drama-copy .sd-episode-choose{text-decoration:underline;text-underline-offset:3px}
.sd-home-drama.has-episode-picker .sd-drama-copy{padding-top:18px;padding-bottom:18px}
.sd-home-drama.has-episode-picker .sd-drama-title{margin-top:8px;font-size:25px;line-height:1.35}
.sd-home-drama.has-episode-picker .sd-drama-badge{top:18px}
.sd-episode-actions button:focus-visible,.sd-episode-picker button:focus-visible{outline:2px solid #efbf62;outline-offset:3px}
.sd-episode-picker{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,520px);max-height:75vh;max-height:75dvh;box-sizing:border-box;padding:22px 20px calc(20px + env(safe-area-inset-bottom,0px));border:1px solid #806035;border-bottom:0;border-radius:20px 20px 0 0;background:#24190f;color:#f2e7d8;overflow-y:auto;overscroll-behavior:contain;color-scheme:dark}
.sd-episode-picker:not([open]){display:none}
.sd-episode-picker::backdrop{background:#0009}
.sd-episode-picker *{box-sizing:border-box}
.sd-episode-picker-heading{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.sd-episode-picker-heading h2{margin:6px 0 0;font-size:19px;line-height:1.45;overflow-wrap:anywhere}
.sd-episode-close{flex-shrink:0;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:#ffffff0a;color:#e7d3b4;font-size:24px;cursor:pointer}
.sd-episode-picker-meta{margin:8px 0 18px;color:#bda98b;font-size:12px}
.sd-episode-list{display:grid;gap:8px}
.sd-episode-option{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px;border:1px solid #80603566;border-radius:9px;background:#19120c;color:#f2e7d8;text-align:left;font:inherit;cursor:pointer}
.sd-episode-number{flex:0 0 34px;color:#e4bf78;font-size:12px;font-weight:700}
.sd-episode-title{flex:1;min-width:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.sd-episode-latest-label{flex-shrink:0;padding:3px 6px;border-radius:4px;background:#d5ac631a;color:#edc980;font-size:10px;font-weight:700}
.sd-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:400px){.sd-home-drama,.sd-home-track .novel-home-entry{height:222px}.sd-drama-copy{padding:24px 19px}.sd-drama-title{font-size:25px}.sd-drama-poster{right:-11%;width:70%}.sd-drama-cta{font-size:13px}}
@media(max-width:340px){.sd-drama-title{font-size:23px}.sd-drama-copy{padding-left:16px}.sd-drama-poster{right:-17%;width:77%}}
@media(prefers-reduced-motion:reduce){.sd-home-dots span,.sd-scene-dots span{transition:none}.sd-home-track{scroll-behavior:auto}}
.sd-episode-price-label{flex-shrink:0;color:#d8b875;font-size:11px;white-space:nowrap}
