/* Scoped styles for the short-drama catalogue. */
body.sd-page { margin: 0; background: #090909; color: #f6f6f6; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.5; }
.sd-shell, .sd-shell * { box-sizing: border-box; }
.sd-shell { width: min(100%, 1120px); margin: 0 auto; padding: 0 16px 24px; }
.sd-shell a { color: inherit; text-decoration: none; }
.sd-shell button { font: inherit; cursor: pointer; }
.sd-shell button, .sd-shell a { -webkit-tap-highlight-color: transparent; }
.sd-shell :focus-visible { outline: 2px solid #ffda32; outline-offset: 4px; }
.sd-top { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sd-brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.sd-brand strong { font-size: 23px; font-weight: 800; letter-spacing: .5px; }
.sd-brand span { font-size: 11px; color: #777; }
.sd-top .sd-back { color: #a0a0a0; font-size: 12px; white-space: nowrap; }
.sd-hero { position: relative; overflow: hidden; border-radius: 16px; background: #131313; }
.sd-slide { position: relative; display: none; min-height: 375px; isolation: isolate; }
.sd-slide.is-active { display: block; }
.sd-hero-picture { position: absolute; inset: 0; z-index: -2; background: linear-gradient(145deg, #3e382c, #111); }
.sd-hero-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; opacity: .85; }
.sd-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.02) 12%, rgba(9,9,9,.2) 30%, rgba(9,9,9,.9) 63%, #090909 100%); }
.sd-hero-copy { min-height: 375px; padding: 182px 20px 24px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.sd-eyebrow { color: #ffda32; font-size: 10px; font-weight: 700; letter-spacing: 2px; margin: 0 0 6px; }
.sd-hero-title { max-width: 100%; margin: 0; color: #fff; font-size: 26px; line-height: 1.25; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-hero-blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #c2c0bb; margin: 10px 0 0; font-size: 12px; line-height: 1.8; max-width: 600px; }
.sd-hero-meta { color: #858585; font-size: 11px; margin: 8px 0 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-shell .sd-watch { display: inline-flex; align-items: center; gap: 8px; justify-content: center; min-height: 39px; padding: 0 21px; border-radius: 24px; background: #ffda32; color: #171300; font-size: 12px; font-weight: 800; }
.sd-play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; }
.sd-carousel-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 13px; gap: 8px; background: #090909; }
.sd-arrow { flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #414141; border-radius: 50%; background: #1d1d1d; color: #d0d0d0; display: grid; place-items: center; padding: 0; }
.sd-arrow svg { width: 15px; height: 15px; }
.sd-dots { display: flex; align-items: center; justify-content: center; gap: 1px; }
.sd-dot { width: 20px; height: 24px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.sd-dot::after { content: ""; display: block; width: 4px; height: 4px; border-radius: 4px; background: #555; transition: width .2s, background .2s; }
.sd-dot[aria-current="true"]::after { width: 17px; background: #ffda32; }
.sd-shell .notice_bars { width: 100%; margin: 0 0 14px; padding: 0; }
.sd-shell .van-notice-bar { display: flex; align-items: center; gap: 6px; min-height: 34px; height: auto; padding: 8px 10px; border-radius: 6px; background: #28210d; color: #ffda32; font-size: 12px; line-height: 1.5; }
.sd-shell .van-notice-bar marquee { flex: 1; min-width: 0; font-size: 12px; }
.sd-shell .van-notice-bar > span { flex-shrink: 0; }
.sd-shell .van-notice-bar .left_icon { flex-shrink: 0; }
.sd-shell .md-banner-list { margin: 0 0 16px; padding: 0; }
.sd-section { margin-top: 24px; }
.sd-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 15px; }
.sd-section-title { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; margin: 0; }
.sd-section-title::before { content: ""; width: 3px; height: 17px; flex-shrink: 0; border-radius: 2px; background: #ffda32; }
.sd-sort { display: flex; border: 1px solid #282828; border-radius: 20px; background: #131313; padding: 3px; flex-shrink: 0; }
.sd-sort a { padding: 4px 13px; font-size: 12px; color: #888; border-radius: 15px; }
.sd-sort a.is-active { background: #ffda32; color: #171300; font-weight: 700; }
.sd-categories { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 17px; padding: 0 0 2px; }
.sd-categories::-webkit-scrollbar { display: none; }
.sd-categories a { display: block; flex: 0 0 auto; padding: 6px 13px; border-radius: 6px; background: #191919; border: 1px solid transparent; color: #a6a6a6; font-size: 12px; white-space: nowrap; }
.sd-categories a.is-active { color: #ffda32; border-color: #594a1b; background: #292410; }
.sd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.sd-card { min-width: 0; }
.sd-card-link { display: block; }
.sd-card-picture { position: relative; overflow: hidden; border-radius: 9px; background: #202020; aspect-ratio: 3 / 4.15; }
.sd-card-picture::before { content: "短剧"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; color: #666; letter-spacing: 4px; }
.sd-card-picture img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.sd-badge { position: absolute; left: 7px; top: 8px; padding: 3px 6px; border-radius: 3px; background: #ffda32; color: #191500; font-size: 10px; line-height: 1.25; font-weight: 800; }
.sd-score { position: absolute; right: 7px; top: 8px; padding: 3px 5px; border-radius: 4px; background: rgba(0,0,0,.64); color: #ffda32; font-size: 11px; line-height: 1.25; font-weight: 700; }
.sd-remarks { position: absolute; inset: auto 0 0; padding: 28px 8px 8px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 11px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-card h3 { color: #f5f5f5; font-size: 14px; line-height: 1.5; margin: 9px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.sd-card p { color: #858585; font-size: 11px; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-empty { border: 1px solid #252525; border-radius: 12px; padding: 42px 20px; text-align: center; color: #858585; margin: 12px 0 24px; }
.sd-empty strong { display: block; color: #ddd; font-size: 17px; margin-bottom: 8px; }
.sd-empty p { margin: 0; font-size: 12px; }
.sd-pages { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 27px 0 10px; color: #666; font-size: 11px; }
.sd-shell .sd-next { min-width: 136px; padding: 10px 24px; border: 1px solid #44402b; border-radius: 24px; color: #ffda32; font-size: 12px; text-align: center; }
.sd-pages p { margin: 0; }
.sd-image-failed { visibility: hidden; }
@media (hover: hover) { .sd-card-link:hover .sd-card-picture img { transform: scale(1.025); } .sd-top .sd-back:hover { color: #ffda32; } }
@media (min-width: 680px) { .sd-shell { padding: 0 28px 34px; } .sd-top { height: 76px; } .sd-hero { border-radius: 18px; } .sd-slide, .sd-hero-copy { min-height: 420px; } .sd-hero-copy { padding: 155px 34px 34px; } .sd-hero-title { font-size: 35px; } .sd-hero-blurb { font-size: 14px; } .sd-hero-meta { font-size: 12px; } .sd-slide::after { background: linear-gradient(90deg, rgba(9,9,9,.78), rgba(9,9,9,.07)), linear-gradient(0deg, #090909, transparent 76%); } .sd-carousel-nav { padding: 0 16px 16px; } .sd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 27px 18px; } .sd-section-title { font-size: 21px; } .sd-card h3 { font-size: 15px; } .sd-card p { font-size: 12px; } }
@media (min-width: 1024px) { .sd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sd-hero-picture img { object-position: center 37%; } }
@media (max-width: 359px) { .sd-shell { padding-left: 12px; padding-right: 12px; } .sd-brand span { display: none; } .sd-hero-copy { padding-left: 15px; padding-right: 15px; } .sd-section-title { font-size: 17px; } .sd-sort a { padding: 4px 10px; } }
@media (prefers-reduced-motion: reduce) { .sd-dot::after, .sd-card-picture img { transition: none; } }
