/* Desktop experience — a widescreen midnight cinema, not a stretched phone UI. */
:root {
  --desktop-shell: 1320px;
  --desktop-gutter: clamp(20px, 4vw, 64px);
  --desktop-nav-height: 72px;
  --display-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

.tabbar-desktop-search,
.tabbar-desktop-age,
.tabbar-desktop-wallet {
  display: none;
}

.watch-desktop-nav { display: none; }

.watch-shell,
.watch-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.watch-stage {
  overflow: hidden;
  background: #050505;
}

.watch-overlay-bar {
  position: absolute;
  z-index: 15;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(rgba(0,0,0,.68), transparent);
}

.watch-back {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  font-size: 26px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.watch-overlay-title {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-swipe-controls {
  position: absolute;
  z-index: 15;
  right: 12px;
  bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watch-swipe-controls button {
  display: grid;
  width: 46px;
  min-height: 46px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(0,0,0,.38);
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.watch-swipe-controls button span { font-size: 9px; }
.watch-swipe-controls button:disabled { opacity: .28; }
.watch-rail { display: none; }

.feed-player-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feed-mobile-copy {
  position: absolute;
  z-index: 15;
  right: 70px;
  bottom: 80px;
  left: 14px;
  color: #fff;
}

.feed-mobile-copy strong,
.feed-mobile-copy span { display: block; }
.feed-mobile-copy strong { font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.feed-mobile-copy span { margin-top: 4px; color: rgba(255,255,255,.8); font-size: 12px; }
.feed-story-panel { display: none; }

.catalog-page {
  min-height: 100vh;
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.catalog-page-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 12px;
}

.catalog-page-back {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  font-size: 24px;
}

.catalog-page-heading { min-width: 0; }
.catalog-page-heading > span,
.profile-account-kicker,
.profile-library-heading > p {
  display: block;
  margin: 0 0 3px;
  color: #d8ad4a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.catalog-page-heading h1 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font: 500 22px/1.1 var(--display-serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-page-toolbar > small { margin-left: auto; color: rgba(255,255,255,.45); }
.catalog-page-grid { padding: 0 16px; }

.catalog-search-controls {
  display: flex;
  gap: 8px;
  padding: 8px 16px 22px;
}
.catalog-search-controls input {
  min-width: 0;
  flex: 1;
  padding: 12px 15px;
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 14px;
}
.catalog-search-controls button {
  padding: 0 15px;
  color: #edca72;
  font-size: 13px;
  font-weight: 750;
}

.profile-page {
  min-height: 100vh;
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
  color: #fff;
}
.profile-account-hero {
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(216,173,74,.14), transparent);
}
.profile-user-row { display: flex; align-items: center; gap: 14px; }
.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #e9c76f;
  border: 1px solid rgba(216,173,74,.24);
  border-radius: 50%;
  background: rgba(216,173,74,.08);
  font-size: 24px;
}
.profile-user-name { font-size: 19px; font-weight: 700; }
.profile-wallet-line { margin-top: 4px; color: var(--coin-color); font-size: 13px; }
.profile-account-copy { max-width: 42ch; margin: 18px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.55; }
.profile-account-actions { margin-top: 18px; }
.profile-session-button {
  min-height: 40px;
  padding: 0 19px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: 13px;
}
.profile-session-button--primary { color: #17120a; border-color: transparent; background: #d9b66f; font-weight: 750; }
.profile-library-heading { display: none; }
.profile-library-section { padding: 8px 16px 20px; }
.profile-library-section > h2 { margin: 12px 0; font-size: 16px; }

@media (min-width: 768px) {
  html {
    min-width: 720px;
    overflow-y: scroll !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(216,173,74,.58) #090909;
    scrollbar-gutter: stable;
  }
  body {
    min-width: 720px;
    overflow-y: visible !important;
    user-select: text;
    -webkit-user-select: text;
  }
  html::-webkit-scrollbar { display: block; width: 11px; }
  html::-webkit-scrollbar-track { background: #090909; }
  html::-webkit-scrollbar-thumb {
    min-height: 60px;
    border: 3px solid #090909;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(239,202,111,.82), rgba(157,111,24,.78));
  }
  html::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f1ce75, #b98527); }

  .tabbar,
  #app.is-tab-foryou .tabbar {
    height: var(--desktop-nav-height);
    background: rgba(7,7,7,.9);
    border-bottom-color: rgba(255,255,255,.075);
  }

  .tabbar-inner {
    width: min(calc(100% - 40px), var(--desktop-shell));
    max-width: var(--desktop-shell);
    gap: 6px;
    padding: 0;
  }

  .tabbar-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-right: clamp(8px, 2vw, 28px);
  }
  .tabbar-brand::after { content: none !important; }
  .tabbar-brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #0a0906;
    border: 1px solid rgba(244,218,145,.6);
    border-radius: 11px 2px 11px 2px;
    background: linear-gradient(145deg, #f1d47e, #a8781c);
    box-shadow: 0 8px 24px rgba(196,144,34,.18);
    font: 900 13px/1 var(--display-serif);
    letter-spacing: .08em;
  }
  .tabbar-brand-copy { display: grid; }
  .tabbar-brand-copy b { color: #f5efe0; font: 700 17px/1 var(--display-serif); letter-spacing: .13em; }
  .tabbar-brand-copy small { margin-top: 4px; color: rgba(216,173,74,.68); font-size: 7px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }

  .tabbar-desktop-search {
    display: flex;
    min-width: 160px;
    max-width: 430px;
    min-height: 40px;
    flex: 1 1 390px;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    padding: 0 12px;
    color: rgba(255,255,255,.42);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    font-size: 11px;
    transition: border-color .2s ease, background .2s ease;
  }
  .tabbar-desktop-search:hover { color: rgba(255,255,255,.72); border-color: rgba(216,173,74,.36); background: rgba(216,173,74,.055); }
  .tabbar-desktop-search > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar-desktop-search kbd { margin-left: auto; padding: 2px 6px; color: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; font: inherit; }
  .tabbar-desktop-age { display: inline-grid; min-width: 34px; height: 34px; margin: 0 4px; place-items: center; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; font-size: 9px; font-weight: 800; }
  .tabbar-desktop-wallet { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 13px; color: #efcf77; border: 1px solid rgba(216,173,74,.25); border-radius: 999px; background: rgba(216,173,74,.06); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
  .tabbar-desktop-wallet:hover { border-color: rgba(216,173,74,.48); background: rgba(216,173,74,.12); }
  .tabbar-item { height: 40px; padding: 0 12px; }
  .tabbar-item .tab-icon { width: auto; height: auto; margin: 0; font-size: 11px; }
  .tabbar-item .tab-label { font-size: 11px; }

  .page { width: min(calc(100% - 40px), var(--desktop-shell)); max-width: var(--desktop-shell); padding-top: var(--desktop-nav-height); }
  #tab-home { padding-top: var(--desktop-nav-height); }
  .home-header { display: none; }

  .home-banner,
  .catalog-pulse,
  .home-section,
  .home-exclusive-section,
  .cat-chips {
    width: min(calc(100% - 40px), var(--desktop-shell));
    max-width: var(--desktop-shell);
    margin-right: auto;
    margin-left: auto;
  }

  .home-banner {
    width: min(calc(100% - 40px), var(--desktop-shell));
    height: clamp(620px, calc(100vh - 190px), 760px);
    min-height: 620px;
    margin-top: 22px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 0;
  }
  .featured-poster-card { min-height: 100%; padding: clamp(28px, 3.6vw, 48px); }
  .hero-content { grid-template-columns: minmax(0, 1fr); align-items: end; padding: clamp(44px, 5vw, 76px); }
  .hero-copy { max-width: 540px; padding: 0; text-shadow: 0 2px 22px rgba(0,0,0,.8); }
  .hero-copy h1 { max-width: 17ch; font-size: clamp(38px, 3.1vw, 52px); }
  .hero-copy p { max-width: 62ch; -webkit-line-clamp: 3; font-size: 14px; }
  .hero-scrim { background: linear-gradient(0deg, rgba(4,4,4,.98) 0%, rgba(4,4,4,.7) 34%, rgba(4,4,4,.1) 72%, transparent 100%), linear-gradient(90deg, rgba(4,4,4,.42), transparent 58%); }

  .catalog-pulse { margin-top: 18px; padding: 18px 22px; }
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; padding: 14px 0 10px; }
  .cat-chip { padding: 8px 14px; }
  .home-section, .home-exclusive-section { padding: 34px 0 0; }
  .home-section-header { margin-bottom: 17px; }
  .home-section-title { font-size: clamp(25px, 2.3vw, 34px); }
  .home-section-intro { font-size: 13px; }
  .drama-catalog-waterfall { column-count: 2; column-gap: 12px; }
  #tab-home .drama-card--detailed { min-height: clamp(560px, 64vh, 700px); margin-bottom: 12px; padding: 0; }
  #tab-home .drama-card--detailed:nth-child(4n + 2),
  #tab-home .drama-card--detailed:nth-child(4n + 3) { min-height: clamp(620px, 70vh, 760px); }
  #tab-home .drama-card--detailed .card-poster { width: 100%; height: 100%; }
  #tab-home .drama-card--detailed .card-copy { min-height: inherit; padding: 220px clamp(24px, 3vw, 38px) clamp(26px, 3vw, 38px); }
  #tab-home .drama-card--detailed .card-title { min-height: 0; margin-top: 12px; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.02; -webkit-line-clamp: unset; }
  .drama-card--detailed .card-description { max-width: 52ch; font-size: 13px; line-height: 1.6; }
  .drama-card--detailed .card-detail-action { font-size: 9px; }

  .drama-scroll,
  .drama-grid--2col,
  .drama-grid--3col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.5vw, 20px);
  }
  #tab-home .drama-card .card-title,
  .catalog-page .drama-card .card-title,
  .profile-page .drama-card .card-title {
    display: -webkit-box;
    min-height: 2.9em;
    margin-top: 10px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.42;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  #tab-home .drama-card .card-meta { margin-top: 4px; font-size: 10px; }

  .catalog-page { min-height: 100vh; padding-bottom: 60px; }
  .catalog-page-toolbar { gap: 18px; padding: 48px 0 28px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .catalog-page-back { width: 46px; height: 46px; flex-basis: 46px; transition: border-color .2s, color .2s; }
  .catalog-page-back:hover { color: #e7c467; border-color: rgba(216,173,74,.4); }
  .catalog-page-heading > span { margin-bottom: 7px; }
  .catalog-page-heading h1 { font-size: clamp(34px, 4vw, 54px); }
  .catalog-page-toolbar > small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .catalog-page-grid { padding: 30px 0 60px; }
  .catalog-search-controls { max-width: 760px; padding: 30px 0 6px; }
  .catalog-search-controls input { min-height: 52px; padding: 0 19px; border-radius: 12px; font-size: 15px; }
  .catalog-search-controls button { min-width: 116px; border: 1px solid rgba(216,173,74,.34); border-radius: 12px; background: rgba(216,173,74,.08); }

  .profile-page { padding-bottom: 70px; }
  .profile-desktop-layout { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: 48px 0 70px; }
  .profile-account-column { position: sticky; top: calc(var(--desktop-nav-height) + 28px); align-self: start; }
  .profile-account-hero { padding: 30px; border: 1px solid rgba(216,173,74,.18); border-radius: 24px 5px 24px 5px; background: radial-gradient(circle at 80% 0, rgba(216,173,74,.16), transparent 50%), #11110f; }
  .profile-account-kicker { margin-bottom: 22px; }
  .profile-user-name { font: 500 25px/1.15 var(--display-serif); }
  .profile-account-copy { font-size: 13px; }
  .profile-session-button { width: 100%; min-height: 46px; }
  .profile-account-column .identity-profile-card { margin: 18px 0 0; padding: 21px; }
  .profile-account-column .identity-profile-top { display: grid; }
  .profile-account-column .identity-profile-code { width: fit-content; }
  .profile-library-heading { display: block; padding: 6px 0 30px; }
  .profile-library-heading h1 { margin: 5px 0 10px; font: 500 clamp(38px, 4vw, 58px)/1 var(--display-serif); }
  .profile-library-heading > span { color: rgba(255,255,255,.46); font-size: 13px; }
  .profile-library-sections { display: grid; gap: 20px; }
  .profile-library-section { min-height: 260px; padding: 24px; border: 1px solid rgba(255,255,255,.075); border-radius: 5px 22px 5px 22px; background: rgba(255,255,255,.025); }
  .profile-library-section > h2 { margin: 0 0 20px; font: 500 26px/1.1 var(--display-serif); }
  .profile-library-section .drama-grid--3col { grid-template-columns: repeat(3, minmax(0,1fr)); padding: 0; }

  .auth-overlay > div { width: min(calc(100% - 40px), 440px) !important; max-width: 440px !important; padding: 30px !important; border: 1px solid rgba(216,173,74,.2); border-radius: 22px 5px 22px 5px !important; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
}

@media (min-width: 1024px) {
  .player-landscape-button { display: none; }
  .watch-desktop-nav { display: block; }

  .stage-page,
  .watch-page,
  .feed-page {
    top: var(--desktop-nav-height);
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
  }

  .watch-page {
    background:
      radial-gradient(circle at 20% 18%, rgba(216,173,74,.08), transparent 28rem),
      repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 46px),
      #070707;
  }
  .watch-shell {
    display: grid;
    grid-template-columns: minmax(520px, 1.5fr) minmax(340px, .72fr);
    gap: clamp(18px, 2vw, 30px);
    max-width: var(--desktop-shell);
    height: 100%;
    margin: 0 auto;
    padding: clamp(22px, 3vh, 34px) 0;
  }
  .watch-stage {
    min-width: 0;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 26px 5px 26px 5px;
    box-shadow: 0 30px 90px rgba(0,0,0,.52);
  }
  .watch-stage .player-stage { border-radius: inherit; }
  .watch-stage .player-ambient { opacity: 1; }
  .watch-stage .drama-video { object-fit: contain !important; }
  .watch-overlay-bar { padding: 18px; }
  .watch-overlay-title { display: none; }
  .watch-swipe-controls,
  .watch-stage .stage-episode-caption { display: none; }
  .watch-stage .ep-unlock-overlay { align-items: center !important; padding: 24px; }
  .watch-stage .ep-unlock-modal { max-width: 470px; border: 1px solid rgba(216,173,74,.2); border-radius: 22px 5px 22px 5px !important; box-shadow: 0 28px 90px rgba(0,0,0,.7); }

  .watch-rail {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    color: #f8f2e6;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 5px 26px 5px 26px;
    background: linear-gradient(155deg, rgba(216,173,74,.06), transparent 28%), rgba(16,16,14,.92);
  }
  .watch-rail-back { display: flex; min-height: 54px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 20px; color: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.07); font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
  .watch-rail-back:hover { color: #edca72; }
  .watch-rail-back span { font-size: 23px; line-height: 0; }
  .watch-rail-scroll { min-height: 0; flex: 1; overflow-y: auto; padding: clamp(24px, 3vw, 38px); scrollbar-width: thin; scrollbar-color: rgba(216,173,74,.32) transparent; }
  .watch-rail-kicker { display: flex; align-items: center; gap: 8px; color: #d9b45a; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .watch-rail-kicker span { width: 22px; height: 1px; background: #d9b45a; }
  .watch-rail h1 { margin: 17px 0 0; font: 500 clamp(32px, 3.1vw, 50px)/1.02 var(--display-serif); letter-spacing: -.035em; text-wrap: balance; }
  .watch-rail-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
  .watch-rail-meta span { padding: 5px 8px; color: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
  .watch-rail-description { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.65; }
  .watch-rail-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; margin-top: 25px; }
  .watch-rail-actions button { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 15px; color: #efcf78; border: 1px solid rgba(216,173,74,.25); border-radius: 10px; background: rgba(216,173,74,.055); }
  .watch-rail-actions button:last-child { color: #161108; border-color: transparent; background: linear-gradient(135deg, #f0d27d, #b9821d); }
  .watch-rail-actions button:disabled { cursor: not-allowed; opacity: .3; }
  .watch-rail-actions small { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .watch-episode-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.075); }
  .watch-episode-heading div > span,
  .watch-episode-heading div > strong { display: block; }
  .watch-episode-heading div > span { color: rgba(255,255,255,.38); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
  .watch-episode-heading div > strong { margin-top: 4px; color: #ead08e; font: 500 19px/1 var(--display-serif); }
  .watch-episode-heading > small { color: rgba(255,255,255,.35); font-size: 9px; }
  .watch-episode-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; margin-top: 14px; }
  .watch-episode-grid button { display: grid; min-width: 0; aspect-ratio: 1; place-content: center; color: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.085); border-radius: 9px 2px 9px 2px; background: rgba(255,255,255,.025); }
  .watch-episode-grid button:hover { color: #f0d17c; border-color: rgba(216,173,74,.34); }
  .watch-episode-grid button.active { color: #171108; border-color: #e8c66e; background: #e8c66e; box-shadow: 0 8px 24px rgba(216,173,74,.15); }
  .watch-episode-grid button.locked { opacity: .46; }
  .watch-episode-grid button span { font: 600 15px/1 var(--display-serif); }
  .watch-episode-grid button small { margin-top: 5px; font-size: 6px; font-weight: 900; letter-spacing: .12em; }
  .watch-rail-footer { display: flex; min-height: 46px; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 0 20px; color: rgba(255,255,255,.28); border-top: 1px solid rgba(255,255,255,.06); }
  .watch-rail-footer span { color: rgba(216,173,74,.6); font: 700 11px var(--display-serif); letter-spacing: .15em; }
  .watch-rail-footer small { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }

  .feed-page {
    background:
      radial-gradient(circle at 18% 35%, rgba(216,173,74,.075), transparent 34rem),
      linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px) 0 0 / 42px 42px,
      #070707;
  }
  .feed-item {
    display: grid;
    grid-template-columns: minmax(520px, 1.45fr) minmax(330px, .72fr);
    gap: clamp(20px, 3vw, 42px);
    width: min(calc(100% - 64px), var(--desktop-shell));
    height: 100%;
    margin: 0 auto;
    padding: 30px 0;
  }
  .feed-player-frame { position: relative; inset: auto; min-width: 0; height: 100%; border: 1px solid rgba(255,255,255,.09); border-radius: 26px 5px 26px 5px; background: #050505; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
  .feed-player-frame .player-stage { border-radius: inherit; }
  .feed-player-frame .player-ambient { opacity: 1; }
  .feed-player-frame .drama-video { object-fit: contain !important; }
  .feed-mobile-copy { display: none; }
  .feed-story-panel { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 42px); color: #f8f2e6; border: 1px solid rgba(255,255,255,.07); border-radius: 5px 26px 5px 26px; background: linear-gradient(155deg, rgba(216,173,74,.07), transparent 38%), rgba(15,15,13,.9); }
  .feed-story-index { margin-bottom: auto; color: #e6c46c; font: 500 30px/1 var(--display-serif); }
  .feed-story-index span { color: rgba(255,255,255,.25); font-size: 16px; }
  .feed-story-kicker { display: flex; align-items: center; gap: 8px; color: #d9b45a; font-size: 8px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
  .feed-story-kicker span { width: 22px; height: 1px; background: #d9b45a; }
  .feed-story-panel h1 { margin: 17px 0 0; font: 500 clamp(35px, 3.3vw, 55px)/1 var(--display-serif); letter-spacing: -.035em; text-wrap: balance; }
  .feed-story-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
  .feed-story-meta span { padding: 5px 8px; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: 8px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
  .feed-story-panel > p { display: -webkit-box; margin: 18px 0 0; overflow: hidden; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
  .feed-story-cta { display: flex; min-height: 50px; align-items: center; justify-content: space-between; margin-top: 26px; padding: 0 17px; color: #171108; border-radius: 11px 2px 11px 2px; background: linear-gradient(135deg,#f0d27d,#b9821d); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
  .feed-story-controls { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; }
  .feed-story-controls button { width: 38px; height: 38px; color: #e6c46c; border: 1px solid rgba(216,173,74,.24); border-radius: 50%; }
  .feed-story-controls button:disabled { opacity: .25; }
  .feed-story-controls > span { margin-left: 5px; color: rgba(255,255,255,.32); font-size: 8px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

  .watch-page.content-holding-state,
  .watch-page.stage-loading { top: var(--desktop-nav-height); left: 0; width: 100%; }
}

@media (min-width: 1100px) {
  .drama-scroll,
  .drama-grid--2col,
  .drama-grid--3col { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .profile-library-section .drama-grid--3col { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .drama-catalog-waterfall { column-count: 2; }
}

@media (min-width: 1440px) {
  .drama-scroll,
  .drama-grid--2col,
  .drama-grid--3col { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .profile-library-section .drama-grid--3col { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (hover: hover) and (pointer: fine) {
  .drama-card { transition: transform .25s ease, filter .25s ease; }
  .drama-card .card-poster { transition: border-color .25s ease, box-shadow .25s ease; }
  .drama-card .card-poster img { transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
  .drama-card:hover { z-index: 2; transform: translateY(-5px); }
  .drama-card:hover .card-poster { border-color: rgba(216,173,74,.42) !important; box-shadow: 0 22px 50px rgba(0,0,0,.42); }
  .drama-card:hover .card-poster img { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .feed-page { scroll-behavior: auto; }
}
