﻿/* Dramlyx design layer on top of the compiled Tailwind utilities. */
:root {
  --ac: #e8294f;
  --ac2: #ff4d6d;
  --acd: #3a0a16;
  --gd: #e8c268;
  --on-gd: #2b1e00;
  --bg: #0a0a0c;
  --sf: #141417;
  --sf2: #1d1d22;
  --tx: #f5f5f7;
  --mu: #a1a1aa;
  --line: rgba(255, 255, 255, .08);
  --header-h: 52px;
  --nav-h: 58px;
  --maxw: 1180px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--tx); overscroll-behavior-y: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; }
::selection { background: rgba(232, 41, 79, .35); }
::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- shell ---------- */
.dl-page { min-height: 100vh; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
.dl-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .dl-container { padding: 0 24px; } .dl-page { padding-bottom: 0; } }

/* ---------- header ---------- */
.dl-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 12, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
}
.dl-header.is-clear { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.dl-header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); padding: 0 12px 0 6px; max-width: var(--maxw); margin: 0 auto; }
.dl-icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--tx); }
.dl-icon-btn:active { background: rgba(255, 255, 255, .08); }
.dl-logo-badge {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(145deg, #ff4d6d, #d62046);
  color: #fff; font-weight: 900; font-size: 15px; line-height: 1;
  box-shadow: 0 2px 10px rgba(232, 41, 79, .45);
}
.dl-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.dl-pill-accent { background: linear-gradient(92deg, #f0345c, #e8294f); color: #fff; box-shadow: 0 4px 16px rgba(232, 41, 79, .4); }
.dl-coin-pill {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px;
  border-radius: 999px; background: rgba(232, 194, 104, .14); color: var(--gd);
  font-size: 13px; font-weight: 700; border: 1px solid rgba(232, 194, 104, .28);
}

/* ---------- drawer ---------- */
.dl-drawer-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55); display: flex; }
.dl-drawer {
  width: min(284px, 82vw); background: #101013; height: 100%; padding: 14px 12px calc(16px + env(safe-area-inset-bottom));
  border-right: 1px solid var(--line); overflow-y: auto; animation: dl-slide-in .22s cubic-bezier(.22, 1, .36, 1);
  padding-top: calc(14px + env(safe-area-inset-top));
}
@keyframes dl-slide-in { from { transform: translateX(-100%); } }
.dl-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.dl-drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.dl-drawer-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 12px;
  font-size: 15px; color: #e7e7ea;
}
.dl-drawer-nav a:active, .dl-drawer-nav a:hover { background: rgba(255, 255, 255, .06); }

/* ---------- bottom nav ---------- */
.dl-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; justify-content: space-around; align-items: center;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 10, 12, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.dl-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #8b8b93; min-width: 72px; padding: 6px 0; }
.dl-bottom-nav a.active { color: #fff; }
.dl-bottom-nav a.active svg { color: var(--ac2); }
@media (min-width: 768px) { .dl-bottom-nav { display: none; } }

/* ---------- hero ---------- */
.dl-hero { padding: 18px 16px 10px; position: relative; overflow: hidden; }
.dl-hero::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 420px;
  background: radial-gradient(ellipse at 70% 20%, rgba(232, 41, 79, .18), transparent 60%);
  pointer-events: none;
}
.dl-hero h1 {
  font-size: clamp(26px, 8vw, 38px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em;
  margin: 0 0 8px; max-width: 12ch;
}
.dl-hero-sub { color: #b9b9c1; font-size: 13.5px; line-height: 1.55; max-width: 26ch; margin-bottom: 16px; }
.dl-hero-body { display: flex; gap: 14px; align-items: flex-start; }
.dl-hero-feature { position: relative; width: 172px; flex: none; }
.dl-hero-feature .dl-poster { border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); }
.dl-hero-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px;
  border-radius: 7px; background: rgba(232, 194, 104, .92); color: #2b1e00; font-size: 11px; font-weight: 800;
}
.dl-hero-points { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.dl-hero-point { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #f0f0f3; }
.dl-hero-point i {
  width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(232, 41, 79, .16); color: var(--ac2); flex: none;
}
.dl-hero-cta { display: flex; gap: 10px; margin-top: 18px; }
.dl-hero-cta .dl-btn { flex: 1; height: 46px; border-radius: 999px; font-size: 15px; }
.dl-hero-cta .ghost { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- buttons ---------- */
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 700;
  transition: transform .12s ease, opacity .12s ease;
}
.dl-btn:active { transform: scale(.97); }
.dl-btn[disabled] { opacity: .45; pointer-events: none; }
.dl-btn-accent { background: linear-gradient(92deg, #f0345c, #e8294f); color: #fff; box-shadow: 0 6px 20px rgba(232, 41, 79, .34); }
.dl-btn-gold { background: linear-gradient(92deg, #f3d27a, #d9a640); color: #2b1e00; }
.dl-btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid var(--line); }
.dl-btn-line { background: transparent; border: 1px solid rgba(232, 41, 79, .45); color: var(--ac2); }
.dl-btn.sm { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.dl-btn.block { width: 100%; }

/* ---------- rails & cards ---------- */
.dl-rail { padding: 18px 0 4px; }
.dl-rail-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px 10px; }
.dl-rail-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.dl-more { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: #8b8b93; }
.dl-rail-scroll {
  display: flex; gap: 11px; overflow-x: auto; padding: 0 16px 6px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.dl-rail-scroll > * { scroll-snap-align: start; }
.dl-rail-more { display: grid; place-items: center; width: 60px; color: #7c7c85; font-size: 20px; }
.dl-card { display: block; flex: none; }
.dl-card-cover { position: relative; border-radius: 11px; overflow: hidden; background: #17171b; }
.dl-card-cover .dl-poster { border-radius: 11px; }
.dl-card-fade { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); }
.dl-badge {
  position: absolute; top: 6px; z-index: 2; display: inline-flex; align-items: center;
  height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .01em;
}
.dl-badge-new { left: 6px; background: rgba(232, 41, 79, .92); color: #fff; }
.dl-badge-eps { right: 6px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.dl-card-title {
  margin-top: 7px; font-size: 12.5px; line-height: 1.32; font-weight: 600; color: #f0f0f3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 33px;
}
.dl-card-meta { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 10.5px; color: #8b8b93; overflow: hidden; white-space: nowrap; }
.dl-tag {
  display: inline-flex; align-items: center; height: 17px; padding: 0 6px; border-radius: 4px;
  background: rgba(255, 255, 255, .07); color: #b9b9c1; font-size: 10px; flex: none;
}
.dl-poster { position: relative; overflow: hidden; background: #17171b; width: 100%; }
.dl-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- grids ---------- */
.dl-grid { display: grid; gap: 12px 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 420px) { .dl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) { .dl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; } }
@media (min-width: 1000px) { .dl-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.dl-grid .dl-card { width: auto; }
.dl-grid .dl-card-title { font-size: 13px; }

/* ---------- chips / segmented ---------- */
.dl-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; scrollbar-width: none; }
.dl-chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid transparent; color: #cfcfd6; font-size: 12.5px; white-space: nowrap;
}
.dl-chip.active { background: rgba(232, 41, 79, .14); border-color: rgba(232, 41, 79, .45); color: #ff8ea0; font-weight: 600; }
.dl-seg { display: inline-flex; padding: 3px; background: rgba(255, 255, 255, .06); border-radius: 999px; gap: 2px; }
.dl-seg button { height: 28px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; color: #a9a9b2; }
.dl-seg button.active { background: #f5f5f7; color: #0a0a0c; font-weight: 700; }

/* ---------- inputs ---------- */
.dl-input, .dl-textarea, .dl-select {
  width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; font-size: 14px; color: var(--tx); outline: none;
}
.dl-input::placeholder, .dl-textarea::placeholder { color: #77777f; }
.dl-input:focus, .dl-textarea:focus { border-color: rgba(232, 41, 79, .5); background: rgba(255, 255, 255, .07); }
.dl-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.dl-label { display: block; font-size: 12.5px; color: #a9a9b2; margin: 0 0 6px; font-weight: 600; }
.dl-field { margin-bottom: 14px; }
.dl-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #b9b9c1; line-height: 1.5; }
.dl-check input { width: 18px; height: 18px; accent-color: var(--ac); margin-top: 1px; flex: none; }

/* ---------- sheets ---------- */
.dl-sheet-wrap {
  position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px);
}
.dl-sheet {
  width: 100%; background: #16161a; border-radius: 22px 22px 0 0; border-top: 1px solid var(--line);
  animation: dl-sheet-up .26s cubic-bezier(.22, 1, .36, 1); display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 640px) {
  .dl-sheet-wrap { align-items: center; justify-content: center; }
  .dl-sheet { max-width: 480px; border-radius: 18px; }
}
@keyframes dl-sheet-up { from { transform: translateY(24px); opacity: .6; } }
.dl-sheet-grip { width: 38px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .18); margin: 8px auto 4px; }
.dl-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px 20px; }
.dl-sheet-head h3 { font-size: 17px; font-weight: 800; margin: 0; }
.dl-sheet-body { padding: 4px 18px 20px; overflow-y: auto; }

/* ---------- states ---------- */
.dl-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 24px; text-align: center; color: #8b8b93; }
.dl-state h3 { color: #e9e9ee; font-size: 16px; margin: 4px 0 0; }
.dl-state p { font-size: 13px; margin: 0; max-width: 32ch; line-height: 1.5; }
.dl-state-icon { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #b9b9c1; }
.dl-spinner { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .12); border-top-color: var(--ac2); animation: dl-spin .8s linear infinite; display: block; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
.dl-skel { background: linear-gradient(90deg, #17171b, #1f1f25, #17171b); background-size: 200% 100%; animation: dl-shimmer 1.2s infinite; border-radius: 11px; }
@keyframes dl-shimmer { to { background-position: -200% 0; } }

/* ---------- toasts ---------- */
.dl-toasts { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.dl-toast { background: rgba(30, 30, 36, .96); color: #fff; font-size: 13px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); animation: dl-pop .2s ease; max-width: 80vw; text-align: center; }
.dl-toast.is-error { background: rgba(160, 30, 50, .96); }
.dl-toast.is-ok { background: rgba(20, 120, 80, .96); }
@keyframes dl-pop { from { transform: scale(.92); opacity: 0; } }

/* ---------- cookie bar ---------- */
.dl-cookie {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom));
  z-index: 60; background: rgba(22, 22, 26, .97); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.dl-cookie p { font-size: 11.5px; line-height: 1.5; color: #a9a9b2; margin: 0; }
.dl-cookie .dl-btn { flex: none; }

/* ---------- footer ---------- */
.dl-footer { padding: 30px 16px 34px; border-top: 1px solid var(--line); margin-top: 26px; text-align: center; color: #8b8b93; }
.dl-social p { font-size: 13px; margin: 0 0 12px; color: #c9c9d1; }
.dl-footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin: 20px 0 16px; font-size: 12.5px; }
.dl-footer-links a { color: #b9b9c1; }
.dl-footer-mail { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.dl-footer-mail a { color: #d9d9e0; }
.dl-copyright { font-size: 11px; color: #6f6f77; margin: 18px 0 0; line-height: 1.6; }

/* ---------- detail ---------- */
.dl-detail-hero { position: relative; }
.dl-detail-cover { position: relative; margin: 10px 16px 0; border-radius: 16px; overflow: hidden; }
.dl-detail-cover .dl-poster { border-radius: 16px; }
.dl-detail-grad { position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(0deg, #0a0a0c, rgba(10, 10, 12, .5) 55%, transparent); }
.dl-detail-play {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(92deg, #f0345c, #e8294f); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 26px rgba(232, 41, 79, .5);
}
.dl-detail-title { font-size: 24px; line-height: 1.2; font-weight: 900; letter-spacing: -.02em; margin: 16px 0 8px; }
.dl-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12px; color: #a9a9b2; }
.dl-detail-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #5c5c64; }
.dl-detail-actions { display: flex; gap: 10px; margin: 16px 0 6px; }
.dl-detail-actions .dl-btn { flex: 1; height: 46px; border-radius: 999px; }
.dl-detail-desc { font-size: 13.5px; line-height: 1.65; color: #b9b9c1; margin: 14px 0 0; white-space: pre-line; }
.dl-detail-desc.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dl-expand { color: var(--ac2); font-size: 12.5px; font-weight: 600; margin-top: 6px; }

/* ---------- player ---------- */
.dl-player { position: fixed; inset: 0; background: #000; z-index: 80; display: flex; flex-direction: column; }
.dl-player-stage { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; background: #000; }
.dl-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.dl-player-top { position: absolute; inset: 0 0 auto; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; display: flex; align-items: center; gap: 10px; background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent); z-index: 3; }
.dl-player-ep { font-size: 13px; color: #e9e9ee; font-weight: 600; }
.dl-player-center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.dl-player-center button { pointer-events: auto; width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); color: #fff; }
.dl-player-bottom { position: absolute; inset: auto 0 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .3) 60%, transparent); z-index: 3; }
.dl-progress { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; }
.dl-progress-track { height: 3px; width: 100%; border-radius: 999px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.dl-progress-fill { height: 100%; background: var(--ac2); border-radius: 999px; }
.dl-player-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; color: #fff; font-size: 12px; }
.dl-player-row .spacer { flex: 1; }
.dl-player-tools { display: flex; align-items: center; gap: 16px; }
.dl-player-tools button { display: inline-flex; align-items: center; gap: 5px; color: #e9e9ee; font-size: 12px; }
.dl-ep-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 2px; }
.dl-ep-strip button { flex: none; min-width: 40px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #d5d5dd; font-size: 12px; }
.dl-ep-strip button.active { background: #f5f5f7; color: #0a0a0c; font-weight: 700; }
.dl-ep-strip button.locked { opacity: .55; }

/* ---------- misc blocks ---------- */
.dl-notice { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; background: rgba(232, 194, 104, .08); border: 1px solid rgba(232, 194, 104, .22); color: #e8c268; font-size: 12.5px; line-height: 1.5; }
.dl-pass-card {
  margin: 16px; padding: 14px; border-radius: 16px; display: flex; gap: 12px; align-items: center;
  background: linear-gradient(120deg, rgba(232, 194, 104, .12), rgba(20, 22, 25, .9) 55%);
  border: 1px solid rgba(232, 194, 104, .25);
}
.dl-pass-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(232, 194, 104, .14); color: var(--gd); flex: none; }
.dl-pass-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 3px; color: #f3e6c4; }
.dl-pass-card p { font-size: 11.5px; color: #b9b9a2; margin: 0 0 8px; line-height: 1.45; }
.dl-section-title { font-size: 18px; font-weight: 800; margin: 26px 0 12px; padding: 0 16px; }
.dl-genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 16px; }
.dl-genre-card { position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 4 / 3; background: #1a1a1f; }
.dl-genre-card img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.dl-genre-card span { position: absolute; inset: auto 0 0; padding: 8px 9px; font-size: 12px; font-weight: 700; background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent); }
.dl-tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.dl-tag-grid a { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 12px; border-radius: 9px; background: rgba(255, 255, 255, .05); font-size: 12.5px; color: #d5d5dd; }
.dl-tag-grid em { font-style: normal; font-size: 10px; color: #6f6f77; }
.dl-lang-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.dl-lang-grid a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12px; color: #d5d5dd; }
.dl-lang-grid b { font-size: 10px; color: #8b8b93; font-weight: 700; letter-spacing: .04em; }
.dl-faq { padding: 0 16px; }
.dl-faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.dl-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq p { font-size: 12.5px; color: #a9a9b2; line-height: 1.6; margin: 10px 0 0; }
.dl-faq svg { color: #8b8b93; }
.dl-cta-card { margin: 22px 16px; border-radius: 18px; overflow: hidden; position: relative; min-height: 190px; display: flex; align-items: flex-end; padding: 18px; }
.dl-cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.dl-cta-card .inner { position: relative; z-index: 1; }
.dl-cta-card h3 { font-size: 20px; font-weight: 900; margin: 0 0 6px; }
.dl-cta-card p { font-size: 12px; color: #c9c9d1; margin: 0 0 12px; }

/* ---------- lists ---------- */
.dl-list { padding: 4px 16px; }
.dl-list-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl-list-item:last-child { border-bottom: 0; }
.dl-list-item .grow { flex: 1; min-width: 0; }
.dl-list-item h4 { font-size: 14px; font-weight: 650; margin: 0 0 3px; }
.dl-list-item p { font-size: 12px; color: #8b8b93; margin: 0; }
.dl-list-item .chev { color: #5c5c64; }
.dl-hist-thumb { width: 62px; border-radius: 8px; overflow: hidden; flex: none; }
.dl-progress-mini { height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); margin-top: 7px; overflow: hidden; }
.dl-progress-mini i { display: block; height: 100%; background: var(--ac2); }
.dl-avatar { width: 52px; height: 52px; border-radius: 999px; background: linear-gradient(145deg, #2a2a31, #1d1d22); display: grid; place-items: center; color: #b9b9c1; font-weight: 800; font-size: 20px; flex: none; }
.dl-stat-row { display: flex; gap: 8px; padding: 14px 16px; }
.dl-stat { flex: 1; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; }
.dl-stat b { display: block; font-size: 16px; font-weight: 800; }
.dl-stat span { font-size: 10.5px; color: #8b8b93; }
.dl-menu-group { margin: 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dl-menu-group .dl-list-item { padding: 14px 16px; }
.dl-menu-group .dl-list-item + .dl-list-item { border-top: 1px solid var(--line); border-bottom: 0; }
.dl-wallet-card { margin: 16px; border-radius: 18px; padding: 18px; background: linear-gradient(120deg, rgba(232, 194, 104, .16), rgba(22, 22, 26, .95) 60%); border: 1px solid rgba(232, 194, 104, .25); }
.dl-wallet-card .num { font-size: 34px; font-weight: 900; letter-spacing: -.02em; color: #f3e6c4; line-height: 1; }
.dl-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 16px; }
.dl-price-card { position: relative; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 12px 8px; text-align: center; }
.dl-price-card.active { border-color: rgba(232, 41, 79, .55); background: rgba(232, 41, 79, .08); }
.dl-price-card b { display: block; font-size: 15px; font-weight: 800; }
.dl-price-card small { display: block; font-size: 10.5px; color: #8b8b93; margin-top: 2px; }
.dl-price-card .price { margin-top: 8px; font-size: 12px; color: var(--ac2); font-weight: 700; }
.dl-price-card .flag { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); background: var(--ac); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.dl-vip-card { margin: 16px; border-radius: 16px; padding: 16px; background: linear-gradient(135deg, #2a2313, #17161a 70%); border: 1px solid rgba(232, 194, 104, .3); }
.dl-vip-card .crown { color: var(--gd); }
.dl-tabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.dl-tabs button { padding: 12px 0; font-size: 14px; color: #8b8b93; border-bottom: 2px solid transparent; font-weight: 600; }
.dl-tabs button.active { color: #fff; border-bottom-color: var(--ac); }
.dl-comment { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dl-comment .avatar { width: 32px; height: 32px; border-radius: 999px; background: #26262c; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #b9b9c1; flex: none; }
.dl-comment .body { font-size: 13px; line-height: 1.5; color: #e2e2e8; }
.dl-comment .meta { font-size: 10.5px; color: #77777f; margin-top: 5px; display: flex; gap: 12px; align-items: center; }
.dl-comment-bar { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: rgba(10, 10, 12, .96); }
.dl-search-bar { display: flex; align-items: center; gap: 8px; padding: 8px 16px 10px; }
.dl-search-input { flex: 1; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.dl-search-input input { flex: 1; background: none; border: 0; outline: none; color: var(--tx); font-size: 14px; }
.dl-hscroll { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.dl-empty-inline { padding: 28px 16px; text-align: center; color: #77777f; font-size: 12.5px; }
.dl-banner { margin: 12px 16px; border-radius: 13px; padding: 11px 13px; background: rgba(232, 41, 79, .1); border: 1px solid rgba(232, 41, 79, .28); color: #ffb3c0; font-size: 12.5px; display: flex; gap: 9px; align-items: center; }

/* ---------- episode grid / paywall / feed / auth ---------- */
.ep-cell {
  position: relative; height: 42px; border-radius: 9px; background: rgba(255, 255, 255, .06);
  color: #d5d5dd; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 3px;
  border: 1px solid transparent;
}
.ep-cell.active { background: #f5f5f7; color: #0a0a0c; }
.ep-cell.locked { color: #7c7c85; background: rgba(255, 255, 255, .03); }
.ep-cell.locked svg { color: var(--gd); }
.ep-cell:hover { border-color: rgba(232, 41, 79, .5); }
.paywall {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 30px; width: 100%;
}
.paywall h3 { font-size: 17px; font-weight: 800; margin: 0; }
.paywall p { font-size: 12.5px; color: #a9a9b2; margin: 0 0 6px; }
.lock-icon {
  width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(232, 194, 104, .12); color: var(--gd); border: 1px solid rgba(232, 194, 104, .3);
}
.feed-wrap { position: fixed; inset: 0; background: #000; }
.feed-scroll { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed-scroll::-webkit-scrollbar { display: none; }
.feed-slide { position: relative; height: 100%; scroll-snap-align: start; display: flex; align-items: flex-end; overflow: hidden; }
.feed-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.15) 45%, rgba(0,0,0,.35)); pointer-events: none; }
.feed-mute { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 38px; height: 38px; border-radius: 999px; background: rgba(0,0,0,.45); display: grid; place-items: center; color: #fff; z-index: 3; }
.feed-info { position: relative; z-index: 2; padding: 0 74px calc(20px + env(safe-area-inset-bottom)) 16px; width: 100%; }
.feed-title { font-size: 17px; font-weight: 800; color: #fff; display: block; margin-bottom: 4px; }
.feed-sub { font-size: 11.5px; color: #d5d5dd; margin: 0 0 10px; }
.feed-actions { display: flex; gap: 8px; }
.feed-side { position: absolute; right: 10px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 3; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.feed-side button { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; }
.feed-side .ring { width: 42px; height: 42px; border-radius: 999px; background: rgba(0,0,0,.4); display: grid; place-items: center; backdrop-filter: blur(4px); }
.feed-side em { font-style: normal; font-size: 10px; color: #e2e2e8; }
.danmaku-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.danmaku-layer span { position: absolute; left: 100%; white-space: nowrap; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.9); animation: dm-fly 7s linear forwards; }
@keyframes dm-fly { to { transform: translateX(calc(-100vw - 120%)); } }
.dl-auth-card { border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 18px; padding: 20px 18px; }
.g-badge {
  width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center;
  background: #fff; color: #4285f4; font-weight: 900; font-size: 12px; margin-right: 4px;
}
.chart-rank { width: 22px; text-align: center; font-size: 15px; font-weight: 900; color: #6f6f77; flex: none; }
.chart-rank.top { color: var(--ac2); }
/* ---------- language switcher ---------- */
.dl-lang-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; color: #d5d5dd; margin-right: 6px;
}
.dl-lang-btn:active { background: rgba(255, 255, 255, .12); }
.dl-lang-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; color: #e7e7ea; text-align: left;
}
.dl-lang-row:last-child { border-bottom: 0; }
.dl-lang-row.active { color: var(--ac2); font-weight: 700; }