/* 黑金极光与星空视觉覆盖层，保留减少动画设置。修改公共选择器前检查所有路由。 */
/* V2.1 — Obsidian / Champagne / Aurora. Shared visual system, unchanged product flows. */
:root {
  --bg: #0b1015;
  --panel: #151c23;
  --soft: #202832;
  --gold: #e7c98f;
  --gold2: #fff0ca;
  --text: #f7f4ee;
  --muted: #a1a9b1;
  --line: #dce9fb15;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: #d5b47b;
  --ice: #94c8d3;
  color-scheme: dark;
}
body {
  background: #070b10;
  background-image:
    radial-gradient(ellipse at 15% 0%, #2041436b, transparent 48%),
    radial-gradient(ellipse at 94% 27%, #44325c42, transparent 44%);
  background-attachment: fixed;
  font-family: Inter, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0.15px;
}
#app {
  background:
    radial-gradient(ellipse 110% 550px at 0 0, #243c414d, transparent),
    radial-gradient(ellipse 90% 700px at 100% 1000px, #382b4833, transparent), #0c1117;
  padding-bottom: 120px;
  box-shadow:
    0 0 0 1px #ffffff05,
    0 30px 100px #0007;
}
header {
  background: linear-gradient(110deg, #151e27e8, #10141dde);
  border-bottom: 1px solid #c6d5e71a;
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  box-shadow: 0 8px 26px #00000015;
  height: 73px;
  gap: 10px;
}
header h1 {
  font-size: 22px;
  letter-spacing: 0.7px;
  font-weight: 730;
}
header .back {
  background: linear-gradient(140deg, #ffffff0c, #ffffff02);
  box-shadow: inset 0 1px 0 #fff1;
  border-radius: 15px;
  height: 42px;
  width: 42px;
  flex-shrink: 0;
}
.brand {
  gap: 11px;
}
.brand strong {
  font-size: 19px;
  letter-spacing: 1.2px;
}
.logo {
  background: linear-gradient(140deg, #fff0c9, #d7ae68);
  box-shadow:
    inset 0 1px 1px #fff8,
    0 5px 23px #e5bd6523;
  color: #282014;
  border-radius: 13px;
  transform: rotate(-3deg);
  position: relative;
}
.logo:after {
  content: '';
  position: absolute;
  right: 6px;
  top: 6px;
  width: 3px;
  height: 3px;
  background: #302716;
  border-radius: 50%;
}
.head-icon {
  color: #dedfcf;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content {
  padding: 22px 18px;
}
.gap {
  height: 21px;
}
h1,
h2 {
  font-weight: 730;
  letter-spacing: 0.6px;
}
.eyebrow {
  color: #dabe87;
  font-size: 9px;
  letter-spacing: 2.4px;
  font-weight: 650;
}
.section {
  margin: 30px 0 17px;
  gap: 12px;
}
.section h2 {
  font-size: 20px;
  position: relative;
  padding-left: 12px;
}
.section h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 10px;
  background: linear-gradient(var(--gold2), #b49359);
  box-shadow: 0 0 12px #dfbc7970;
}
.section .inline-link {
  font-size: 11px;
  color: #b7babc;
}
.hero {
  height: 415px;
  border-radius: 25px;
  background:
    linear-gradient(0deg, #0a141bf5 0%, #0a141baa 31%, #0b182020 75%),
    url('assets/hero.webp') 58% center/cover;
  box-shadow:
    inset 0 0 0 1px #dbe8f624,
    0 18px 44px #0005;
  isolation: isolate;
  position: relative;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 5% 92%, #26616936, transparent 62%),
    linear-gradient(125deg, #fff5d00d, transparent 45%);
  pointer-events: none;
  z-index: -1;
}
.hero:after {
  content: '原创精选 · DAILY PREMIERE';
  position: absolute;
  right: 18px;
  top: 19px;
  max-width: calc(100% - 36px);
  border: 1px solid #ffffff36;
  border-radius: 18px;
  background: #0c192a4d;
  backdrop-filter: blur(12px);
  padding: 6px 10px;
  color: #eee4cb;
  font-size: 8px;
  letter-spacing: 1.4px;
}
.hero-copy {
  left: 25px;
  right: 22px;
  bottom: 31px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #e6d6b7;
  background: #1421299e;
  border: 1px solid #e2c99f36;
  border-radius: 20px;
  padding: 5px 10px;
  margin-bottom: 3px;
  backdrop-filter: blur(9px);
}
.hero .eyebrow:before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #edc882;
  box-shadow: 0 0 9px #ffddb2;
}
.hero h2 {
  font-family: 'Songti SC', 'STSong', 'SimSun', serif;
  font-size: 41px;
  line-height: 1.22;
  letter-spacing: 2px;
  font-weight: 650;
  text-shadow: 0 3px 25px #0008;
  background: linear-gradient(125deg, #fffdf2 10%, #f8e6be 75%, #c4a573);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #cdd7d8;
}
.hero .primary {
  margin-top: 23px;
  border-radius: 13px;
  min-height: 43px;
  min-width: 140px;
  font-size: 12px;
  padding: 12px 20px;
}
.primary {
  background: linear-gradient(112deg, #d7b575, #f5dfaa 58%, #e2bd78);
  color: #282118;
  border: 1px solid #eed09c;
  box-shadow:
    inset 0 1px 0 #fff9,
    0 5px 19px #d5ae6220;
  font-weight: 720;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.primary:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, #fff5 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
.primary:hover:before {
  animation: buttonLight 0.9s var(--ease);
}
.secondary {
  border-color: #d3b98358;
  background: linear-gradient(125deg, #dcc99c0d, #ccdafa05);
  box-shadow: inset 0 1px 0 #ffffff09;
  color: #e3c991;
}
.primary,
.secondary {
  border-radius: 16px;
}
.primary.small,
.secondary.small {
  border-radius: 12px;
  min-height: 36px;
  font-size: 11px;
}
.primary:active,
.secondary:active {
  transform: scale(0.975);
}
.card {
  border-radius: 22px;
  border: 1px solid #d4e3f61a;
  background: linear-gradient(135deg, #ffffff08, #ffffff02), #141c25;
  box-shadow:
    inset 0 1px 0 #ffffff06,
    0 9px 25px #0000001f;
  padding: 19px;
  margin-bottom: 16px;
  position: relative;
}
.card.balance {
  background:
    radial-gradient(ellipse at 100% 0, #97815228, transparent 65%),
    linear-gradient(125deg, #26323a, #1b222a 65%);
  border-color: #d4bb8535;
  overflow: hidden;
}
.balance:after {
  content: '';
  pointer-events: none;
  position: absolute;
  right: -70px;
  top: -95px;
  width: 220px;
  height: 220px;
  border: 1px solid #e8d19914;
  border-radius: 50%;
  box-shadow:
    0 0 0 20px #ead9b006,
    0 0 0 45px #ead9b004;
}
.balance > * {
  position: relative;
  z-index: 1;
}
.balance b {
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.balance p.hint {
  color: #acb7bb;
}
.quick {
  gap: 10px;
  margin: 21px 0 25px;
}
.quick button {
  min-height: 101px;
  border: 1px solid #c4d7e419;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at top, #7f999b17, transparent 75%),
    linear-gradient(140deg, #ffffff08, #ffffff02), #141c24;
  box-shadow:
    inset 0 1px 0 #fff1,
    0 8px 15px #0002;
  padding: 14px 4px 12px;
}
.quick b {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 9px;
  background: #e4c28a12;
  border: 1px solid #e4c28a1b;
  border-radius: 13px;
  color: #efd29c;
}
.quick button:nth-child(2) b {
  color: #abd7dd;
  background: #7ac7d012;
  border-color: #8bd2d221;
}
.quick button:nth-child(3) b {
  color: #c4b6e5;
  background: #ac87e31a;
  border-color: #b898e52b;
}
.quick button:nth-child(4) b {
  color: #dbb0b0;
  background: #d3979914;
  border-color: #d397991a;
}
.quick strong {
  font-size: 11px;
  letter-spacing: 0.4px;
}
.quick small {
  font-size: 8px;
  color: #8f9eaa;
  line-height: 1.6;
}
.tabs {
  border-radius: 18px;
  background: linear-gradient(130deg, #ffffff05, #ffffff01), #111921;
  border-color: #c7dcec15;
  box-shadow: inset 0 1px 0 #fff05;
  padding: 5px;
  gap: 3px;
}
.tabs button {
  font-size: 13px;
  color: #98a9b7;
  border-radius: 13px;
  min-height: 42px;
}
.tabs button.active {
  background: linear-gradient(130deg, #ddbb7e, #f0d8a6);
  box-shadow:
    0 3px 12px #0002,
    inset 0 1px 0 #fff6;
  color: #2d261a;
}
.chips {
  gap: 8px;
  margin: 15px 0;
}
.chip {
  border-color: #c2d6e21e;
  padding: 7px 15px;
  border-radius: 28px;
  color: #9cabb8;
  background: #d9eafb04;
  font-size: 11px;
}
.chip.active {
  border-color: #ddc29169;
  color: #edd5a6;
  background: linear-gradient(125deg, #d8bb811d, #d8bb8106);
  box-shadow: 0 0 16px #ddc29108;
}
.grid {
  gap: 19px 12px;
}
.poster {
  border-radius: 15px;
  box-shadow: 0 10px 21px #0005;
  outline: 1px solid #fff1;
  outline-offset: -1px;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  will-change: auto;
}
.poster span {
  top: 9px;
  left: 8px;
  letter-spacing: 0.1px;
  background: #122a27c7;
  backdrop-filter: blur(12px);
  border: 1px solid #cadfc51a;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 8px;
  color: #e6eedd;
}
.poster:after {
  background: linear-gradient(transparent, #03101688);
}
.drama-card h3 {
  margin-top: 11px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
  color: #e9eef0;
}
.drama-card small {
  color: #8c9aa5;
  font-size: 9px;
}
.row .poster {
  border-radius: 12px;
  box-shadow: 0 6px 20px #0004;
}
.row h3 {
  font-size: 15px;
  letter-spacing: 0.3px;
}
.row p {
  color: #a5b0b9;
}
.tag {
  background: #548f7f27;
  border: 1px solid #8dbeae40;
  color: #b4e2d2;
  border-radius: 5px;
  font-size: 9px;
  padding: 1px 5px;
}
.goldtag {
  background: #ab874c24 !important;
  border-color: #d9b47843;
  color: #ebd1a1 !important;
}
.ad {
  background:
    radial-gradient(ellipse at 90% 30%, #d2ac7252, transparent 60%),
    linear-gradient(125deg, #1c3940, #263037 60%, #3d3333);
  border-color: #c9d4db25;
  padding: 20px 23px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px #0002;
}
.ad:before {
  content: '';
  position: absolute;
  right: -10px;
  top: -25px;
  width: 150px;
  height: 150px;
  transform: rotate(-22deg);
  border: 1px solid #eddaaf38;
  border-radius: 35px;
  box-shadow:
    0 0 0 12px #eddaaf09,
    0 0 0 27px #eddaaf07;
  pointer-events: none;
}
.ad h3 {
  font-size: 24px;
  letter-spacing: 2.8px;
  color: #f2dec0;
}
.ad p {
  color: #b4c8cf;
  font-size: 10px;
  margin-top: 4px;
}
.ad small {
  color: #aeb8be;
}
.icon-grid {
  gap: 10px;
}
.icon-grid button {
  border-radius: 19px;
  background:
    radial-gradient(ellipse at top, #95ada612, transparent),
    linear-gradient(140deg, #ffffff06, #ffffff02), #151d26;
  border-color: #c6d7e417;
  padding: 17px 5px 14px;
  box-shadow: inset 0 1px 0 #fff05;
}
.icon-grid b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin: auto;
  background: #d7b77e10;
  border-radius: 13px;
  color: #ebcc95;
}
.icon-grid button:nth-child(4n + 2) b {
  background: #82bfcc0e;
  color: #a2d1dc;
}
.icon-grid button:nth-child(4n + 3) b {
  background: #b395d20f;
  color: #c5b0e2;
}
.icon-grid strong {
  font-size: 11px;
  margin: 10px 0 4px;
}
.icon-grid small {
  font-size: 9px;
  color: #8d9eab;
}
.avatar {
  border: 2px solid #e5c88b8a;
  box-shadow:
    0 0 0 5px #e5c88b0a,
    0 5px 20px #0004;
}
.menu {
  padding: 0;
  background: linear-gradient(135deg, #ffffff07, #ffffff02), #131c25;
  border-radius: 22px;
}
.menu button {
  padding: 17px 18px;
  border-bottom-color: #cddcea0f;
}
.menu .glyph {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: linear-gradient(140deg, #dec18618, #dec18604);
  border: 1px solid #dec18612;
  color: #e3c995;
}
.menu strong {
  font-size: 14px;
  font-weight: 650;
}
.menu small {
  color: #8e9eaa;
  line-height: 1.7;
  font-size: 11px;
}
.menu .arrow {
  font-size: 22px;
  color: #80919e;
}
.dock {
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(452px, calc(100% - 26px));
  border: 1px solid #d1ddea35;
  border-radius: 24px;
  background: linear-gradient(130deg, #3a465361, #26303c80), #0e172cbd;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 #ffffff2b,
    0 13px 38px #0008;
  padding: 6px;
  gap: 5px;
  overflow: hidden;
}
.dock button {
  border-radius: 18px;
  padding: 6px 2px;
  min-height: 55px;
  font-size: 9px;
  color: #a4b1bd;
  position: relative;
  letter-spacing: 0.5px;
}
.dock b {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.dock button.active {
  color: #f1d8a7;
  background: linear-gradient(135deg, #dec49426, #dec49410);
  box-shadow: inset 0 1px 0 #fff2;
}
.dock button.active:after {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  right: calc(50% - 8px);
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: #ddbd7f;
  box-shadow: 0 0 7px #e7c6896b;
}
.fixed-action {
  background: linear-gradient(#111b25e6, #111b25f7);
  backdrop-filter: blur(25px);
  padding-top: 13px;
  border-color: #c9d9ec1c;
}
.fixed-action .primary {
  box-shadow: 0 6px 22px #e4c68b14;
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  background: linear-gradient(125deg, #ffffff03, transparent), #0b141c;
  border-color: #bfd3e61e;
  border-radius: 13px;
  box-shadow: inset 0 1px 2px #0003;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  color: #edf0f1;
  font-size: 14px;
}
input::placeholder,
textarea::placeholder {
  color: #7890a2;
  font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #dabe896d;
  box-shadow: 0 0 0 3px #dabe890b;
}
label.field {
  font-size: 13px;
  color: #e3e7e9;
  font-weight: 600;
  margin-bottom: 19px;
}
label.field input,
label.field textarea,
label.field select {
  margin-top: 10px;
}
input[type='checkbox'] {
  accent-color: #d8b77c;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.hint {
  font-size: 11px;
  line-height: 1.9;
  color: #96a5b1;
}
.error {
  line-height: 1.7;
  color: #eeb2aa;
}
.stats .card {
  border-radius: 19px;
  padding: 17px;
}
.stats b {
  font-size: 26px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.stats .card:nth-child(2) b {
  color: #97d4ca;
}
.stats .card:nth-child(3) b {
  color: #a7b6ea;
}
.stats .card:nth-child(4) b {
  color: #dece99;
}
.stats small {
  font-size: 10px;
}
.stats.four .card {
  border-radius: 15px;
  padding: 14px 3px;
}
.stats.four b {
  font-size: 22px;
}
.stats.four small {
  font-size: 9px;
}
.plan {
  border-radius: 19px;
  background: linear-gradient(140deg, #ffffff06, #ffffff01), #141e28;
  border-color: #c0d3e31a;
  padding: 21px 8px;
  position: relative;
  overflow: hidden;
}
.plan.active {
  background:
    radial-gradient(ellipse at 100% 0, #cfb47826, transparent 75%),
    linear-gradient(125deg, #2b2c28, #202729);
  border-color: #dabb8099;
  box-shadow:
    0 0 0 2px #dabb8010,
    0 8px 25px #0003;
}
.plan.active:after {
  content: '✓';
  position: absolute;
  right: 8px;
  top: 5px;
  font-size: 12px;
  color: #dfc088;
}
.plan b {
  font-size: 29px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.7px;
}
.plan small {
  color: #9da9b1;
  line-height: 1.9;
}
.feature-icons {
  gap: 4px;
}
.feature-icons button {
  font-size: 9px;
  min-width: 0;
}
.feature-icons b {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d5b87815, #d5b87802);
  border: 1px solid #d5b87827;
  font-size: 19px;
  color: #ecd19d;
}
.feature-icons small {
  font-size: 8px;
  color: #93a2ad;
}
.day {
  border-radius: 15px;
  background: linear-gradient(130deg, #ffffff05, #ffffff01), #15202b;
  border-color: #c2d4e71b;
  padding: 13px 3px;
  color: #8f9eab;
}
.day.active {
  background: radial-gradient(ellipse at top, #d9bc792a, transparent), #252a2a;
  border-color: #ddbf84a1;
  box-shadow: 0 0 16px #c6a66b14;
}
.day b {
  color: #b8c2ca;
  font-weight: 650;
}
.day.active b {
  color: #f2d7a0;
}
.days {
  gap: 7px;
  margin: 25px 0;
}
.episode-grid {
  gap: 10px;
}
.episode {
  background: linear-gradient(145deg, #ffffff06, #ffffff01), #1b2732;
  border-color: #c4d5e919;
  border-radius: 11px;
  min-height: 47px;
  color: #bdc9d1;
  font-variant-numeric: tabular-nums;
}
.episode.current {
  background: linear-gradient(135deg, #caa76b, #e5cfa6);
  color: #221b0f;
  border-color: #e9d3a6;
  box-shadow: 0 3px 15px #cea76721;
}
.episode.lock:after {
  font-size: 8px;
  top: 3px;
  right: 4px;
  background: #d5b98116;
  border-radius: 3px;
  padding: 0 2px;
}
.overlay-backdrop {
  background: #030812a8;
  backdrop-filter: blur(6px);
  animation: veilIn 0.2s ease-out;
}
.sheet {
  background:
    radial-gradient(ellipse at 0 0, #41525b38, transparent 65%),
    linear-gradient(140deg, #192630f5, #131a25fa);
  border-color: #d0dfe533;
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 #ffffff1c,
    0 25px 100px #0008;
  padding: 27px;
  animation: sheetIn 0.42s var(--ease);
}
.sheet.bottom {
  border-radius: 28px 28px 0 0;
  padding-top: 32px;
}
.sheet.bottom:before {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(50% - 17px);
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: #b4c2cd45;
}
.sheet h2 {
  font-size: 22px;
  letter-spacing: 0.8px;
  font-weight: 650;
}
.sheet .close {
  width: 34px;
  height: 34px;
  background: #ffffff07;
  border: 1px solid #ffffff0b;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  min-height: 34px;
  min-width: 34px;
  right: 14px;
  top: 13px;
}
.sheet .statement {
  background: linear-gradient(135deg, #ffffff05, #ffffff02);
  border: 1px solid #e2d7be10;
  border-radius: 18px;
  color: #e4e9eb;
  padding: 23px;
  line-height: 2;
}
.sheet .primary,
.sheet .secondary {
  font-size: 13px;
}
.sheet .credential .logo {
  box-shadow:
    0 0 50px #e8c98725,
    inset 0 1px 0 #fff8;
}
.credential canvas {
  box-shadow: 0 8px 35px #0003;
  border: 7px solid white;
}
.credential details {
  background: #ffffff03;
}
.bubble {
  background: linear-gradient(140deg, #324943, #233a36);
  border: 1px solid #afc8bb1c;
  color: #e7eeeb;
  box-shadow: 0 5px 15px #0001;
}
.bubble.reply {
  background: linear-gradient(140deg, #25323c, #1d2832);
  border-color: #bfd4e517;
}
.comment {
  border-bottom-color: #cbd9e512;
}
.comment p {
  line-height: 1.8;
  color: #ced7dd;
}
.comment .miniavatar {
  border: 1px solid #d5b9822a;
  background: linear-gradient(135deg, #304339, #22352f);
  color: #eed5a6;
}
.comment strong {
  font-size: 12px;
}
.comment .inline-link {
  font-size: 10px;
  color: #a3b0ba;
}
.record {
  border-color: #bdd4e312;
  line-height: 1.8;
}
.record small {
  color: #8fa1af;
}
.status {
  border: 1px solid #d4bb8030;
  border-radius: 6px;
  background: #d4bb8010;
  font-size: 9px;
  color: #ddcba7;
}
.rank-num {
  background: linear-gradient(135deg, #eed9ac, #b29362);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}
.login .logo {
  margin-top: 5px;
  box-shadow:
    0 0 70px #e5c38a26,
    inset 0 1px 0 #fff8;
}
.login .brand-title {
  font-weight: 600;
  letter-spacing: 2px;
  color: #ebdfc5;
  margin-bottom: 43px;
}
.login h2 {
  font-size: 34px;
  letter-spacing: 1px;
}
.login .agreement {
  line-height: 1.9;
  flex-wrap: wrap;
  gap: 4px;
  color: #a3b1ba;
}
.login .agreement input {
  margin-right: 3px;
}
.login .agreement button {
  font-size: 10px;
}
.login .primary {
  min-height: 53px;
}
.login-footer button {
  font-size: 13px;
}
.invite-hero {
  background:
    radial-gradient(ellipse at 90% 0, #695b3c55, transparent 55%),
    radial-gradient(ellipse at 0 75%, #3261615e, transparent 60%),
    linear-gradient(140deg, #132b30, #11202d);
  border-color: #d4bc833b;
  box-shadow:
    inset 0 1px 0 #e7d3aa14,
    0 12px 40px #0004;
  border-radius: 26px;
  padding: 34px 18px;
}
.invite-hero h2 {
  font-weight: 600;
  letter-spacing: 3px;
  color: #f3dbaa;
}
.invite-hero > strong {
  font-size: 73px;
  letter-spacing: -3px;
  color: #f2dfb6;
  text-shadow: 0 0 35px #e5c08722;
}
.agency-levels .card {
  background: linear-gradient(140deg, #d9c78c09, #b4d5e808), #132a30c9;
  border-color: #c5bb8c30;
  border-radius: 16px;
}
.agency-levels b {
  font-size: 36px;
}
.library button,
details {
  background: linear-gradient(135deg, #ffffff06, #ffffff02), #151e29;
  border-color: #c5d7e31b;
  border-radius: 18px;
}
.library button {
  font-size: 13px;
}
.library small {
  font-size: 9px;
  color: #93a3b0;
}
.mode-note,
.admin-notice {
  border-radius: 13px;
  border-color: #c0c7a822;
  background: #c0c7a807;
  color: #aab6be;
  font-size: 10px;
  line-height: 1.8;
}
.empty .illustration {
  opacity: 0.9;
  filter: drop-shadow(0 7px 23px #0002);
}
.empty strong {
  font-size: 15px;
  letter-spacing: 0.5px;
}
.empty small {
  font-size: 11px;
  color: #8d9eac;
}
.player {
  background: #070d14;
  border: 1px solid #ffffff08;
}
.player:before {
  opacity: 0.18;
}
.player .no-video {
  border: 1px solid #c4d6e512;
  border-radius: 23px;
  background: #10233158;
  backdrop-filter: blur(13px);
  padding: 25px;
}
.player .no-video h2 {
  font-size: 19px;
  margin-top: 10px;
}
.player-controls button {
  color: #e9e9e1;
  text-shadow: 0 2px 10px #0009;
}
.player-bottom .card {
  background: #1d3448a6;
  backdrop-filter: blur(20px);
  border-color: #cfdeea19;
  border-radius: 13px;
  font-size: 11px;
}
.player-bottom .secondary {
  background: #0f202b85;
}
.progress {
  background: #cbdbe02b;
}
.progress span {
  background: #edd3a1;
  box-shadow: 0 0 7px #f0d99a66;
}
#toast {
  background: linear-gradient(135deg, #2d3d49e8, #242d36f5);
  border-color: #d6c59c4f;
  backdrop-filter: blur(20px);
  border-radius: 17px;
  box-shadow: 0 9px 35px #0006;
  bottom: 106px;
  animation: toastIn 0.25s var(--ease);
  font-size: 12px;
}
.hd-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.quick .hd-icon,
.icon-grid .hd-icon {
  width: 23px;
  height: 23px;
}
.dock .hd-icon {
  width: 23px;
  height: 23px;
}
.head-icon .hd-icon {
  width: 23px;
  height: 23px;
}
.menu .hd-icon {
  width: 19px;
  height: 19px;
}
button {
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.28s var(--ease);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #e2c18b;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.hd-enter {
  animation: contentIn 0.45s var(--ease) both;
}
.hd-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.hd-reveal.hd-visible {
  opacity: 1;
  transform: none;
}
.hd-ripple {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #ffffff39;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out forwards;
}
.quick button,
.icon-grid button,
.dock button,
.plan {
  position: relative;
  overflow: hidden;
}
@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes veilIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes buttonLight {
  to {
    transform: translateX(130%);
  }
}
@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(12);
    opacity: 0;
  }
}
@keyframes toastIn {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .drama-card:hover .poster {
    transform: translateY(-5px);
    box-shadow: 0 17px 30px #0008;
  }
  .quick button:hover,
  .icon-grid button:hover,
  .library button:hover {
    transform: translateY(-3px);
    border-color: #d8c39645;
    box-shadow: 0 9px 24px #0004;
  }
  .menu button:hover {
    background: #d3dfe907;
  }
  .primary:hover {
    box-shadow: 0 6px 24px #d7b5753a;
  }
  .secondary:hover {
    border-color: #e1c7958a;
    background-color: #e1c79509;
  }
  .plan:hover {
    border-color: #d8c39660;
  }
  .chip:hover {
    border-color: #d0d5c538;
  }
  .dock button:hover {
    background: #d9d8c113;
  }
}
@media (min-width: 800px) {
  #app {
    max-width: 1160px;
    background:
      radial-gradient(ellipse 75% 750px at 0 0, #3057623b, transparent),
      radial-gradient(ellipse 70% 650px at 100% 800px, #4b375026, transparent), #0c1117;
  }
  .content {
    padding: 28px 45px;
  }
  .content.narrow {
    max-width: 680px;
  }
  .hero {
    height: 495px;
    border-radius: 30px;
    background-position: 60% 40%;
  }
  .hero-copy {
    left: 46px;
    bottom: 46px;
    right: 40px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 13px;
  }
  .hero h2 {
    font-size: 61px;
    letter-spacing: 3px;
    margin: 14px 0 15px;
    line-height: 1.16;
  }
  .hero p {
    font-size: 14px;
  }
  .hero .primary {
    font-size: 13px;
    padding: 13px 27px;
    margin-top: 25px;
  }
  .hero:after {
    top: 25px;
    right: 25px;
    font-size: 10px;
    padding: 7px 13px;
  }
  .brand strong {
    font-size: 21px;
  }
  header {
    height: 83px;
    padding: 0 44px;
    gap: 15px;
  }
  .quick {
    max-width: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 25px 0 32px;
  }
  .quick button {
    text-align: left;
    padding: 22px 22px 22px 80px;
    min-height: 95px;
    border-radius: 20px;
  }
  .quick b {
    position: absolute;
    left: 21px;
    top: 24px;
    width: 43px;
    height: 43px;
    margin: 0;
    border-radius: 14px;
  }
  .quick strong {
    font-size: 14px;
  }
  .quick small {
    font-size: 10px;
    margin-top: 5px;
  }
  .grid {
    gap: 26px 18px;
  }
  .drama-card h3 {
    font-size: 13px;
  }
  .drama-card small {
    font-size: 10px;
  }
  .poster {
    border-radius: 17px;
  }
  .section {
    margin: 35px 0 20px;
  }
  .section h2 {
    font-size: 23px;
  }
  .section .inline-link {
    font-size: 12px;
  }
  .dock {
    width: 535px;
    padding: 7px;
    bottom: 18px;
    border-radius: 25px;
    gap: 7px;
  }
  .dock button {
    min-height: 58px;
    font-size: 10px;
  }
  .dock b {
    height: 28px;
  }
  .fixed-action {
    width: min(1160px, 100%);
  }
  .fixed-action.actions,
  .fixed-action:has(.primary) {
    padding-left: max(25px, calc((100% - 640px) / 2));
    padding-right: max(25px, calc((100% - 640px) / 2));
  }
  .icon-grid {
    gap: 16px;
  }
  .icon-grid button {
    padding: 22px 8px 18px;
    border-radius: 21px;
  }
  .icon-grid strong {
    font-size: 12px;
  }
  .icon-grid small {
    font-size: 10px;
  }
  .icon-grid b {
    width: 44px;
    height: 44px;
  }
  .plan-grid {
    gap: 14px;
  }
  .plan {
    padding: 25px 10px;
  }
  .plan b {
    font-size: 34px;
  }
  .plan small {
    font-size: 12px;
  }
  .ad {
    padding: 24px 28px;
  }
  .ad h3 {
    font-size: 28px;
  }
  .ad p {
    font-size: 12px;
  }
  .ad:before {
    right: 15px;
    width: 185px;
    height: 185px;
  }
  .sheet {
    max-width: 520px;
  }
  .sheet.bottom {
    max-width: 600px;
    margin-bottom: 12px;
    border-radius: 28px;
    border-bottom: 1px solid #d0dfe533;
  }
  .overlay-backdrop.bottom {
    padding: 15px;
  }
  .login {
    padding-top: 62px;
  }
  .invite-hero h2 {
    font-size: 42px;
  }
}
@media (max-width: 360px) {
  header {
    padding: 0 12px;
    gap: 7px;
  }
  .brand strong {
    font-size: 16px;
    letter-spacing: 0.7px;
  }
  .logo {
    width: 35px;
    height: 35px;
    font-size: 27px;
  }
  .head-icon {
    min-width: 29px;
  }
  .head-icon .hd-icon {
    width: 20px;
    height: 20px;
  }
  .content {
    padding: 18px 13px;
  }
  .hero {
    height: 385px;
  }
  .hero-copy {
    left: 21px;
    right: 17px;
  }
  .hero h2 {
    font-size: 35px;
    letter-spacing: 1px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .quick {
    gap: 7px;
  }
  .quick strong {
    font-size: 10px;
  }
  .quick small {
    font-size: 7px;
  }
  .icon-grid {
    gap: 6px;
  }
  .icon-grid button {
    padding: 14px 2px;
  }
  .icon-grid strong {
    font-size: 10px;
  }
  .icon-grid small {
    font-size: 8px;
  }
  .plan-grid.vip b {
    font-size: 25px;
  }
  .day {
    min-width: 45px;
  }
  .sheet {
    padding: 24px 19px;
  }
  .stats.four b {
    font-size: 20px;
  }
  .sheet h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hd-reveal {
    opacity: 1;
    transform: none;
  }
  .hd-ripple {
    display: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  header,
  .dock,
  .sheet,
  .overlay-backdrop,
  .fixed-action {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .dock {
    background: #192733;
  }
  .sheet {
    background: #182530;
  }
  header {
    background: #15202a;
  }
}
@media (prefers-contrast: more) {
  :root {
    --muted: #c0cbd3;
    --line: #dce9fb55;
  }
  .card,
  .menu,
  .plan,
  .chip,
  .dock,
  .sheet {
    border-color: #dce9fb55;
  }
  .hint,
  .drama-card small,
  .menu small,
  .icon-grid small {
    color: #c0cbd3;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  header {
    background: #131d27;
  }
  .dock {
    background: #192733;
  }
  .sheet {
    background: #182530;
  }
  .overlay-backdrop {
    background: #030812db;
  }
}

/* Dream-sky background: visible through the page foundation, never over text. */
body {
  background: #070b14;
  isolation: isolate;
}
.hd-dream-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0, #15132e 0, transparent 62%),
    linear-gradient(165deg, #091121, #0a0c19 55%, #0b1220);
  contain: strict;
}
.hd-starfield {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}
.hd-nebula {
  position: absolute;
  width: 100vmax;
  height: 90vmax;
  opacity: 0.8;
  will-change: transform;
  mix-blend-mode: screen;
  border-radius: 50%;
  animation: nebulaDrift 32s ease-in-out infinite alternate;
}
.hd-nebula-violet {
  left: -45vmax;
  top: -35vmax;
  background: radial-gradient(
    ellipse at 50% 50%,
    #7560ff35 0,
    #b35bda26 24%,
    #5542ae13 45%,
    transparent 66%
  );
  transform: rotate(-22deg);
}
.hd-nebula-cyan {
  right: -50vmax;
  top: 4vh;
  background: radial-gradient(
    ellipse at 50% 50%,
    #27cab533 0,
    #238bab2d 25%,
    #3064bd14 45%,
    transparent 66%
  );
  animation-duration: 39s;
  animation-delay: -15s;
}
.hd-nebula-rose {
  left: -15vmax;
  bottom: -58vmax;
  background: radial-gradient(
    ellipse at 50% 50%,
    #ed9b6330 0,
    #bd4d8e28 24%,
    #7342a519 45%,
    transparent 66%
  );
  animation-duration: 43s;
  animation-delay: -23s;
}
.hd-sky-haze {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 58% 14% at 55% 40%, #ae83ed0c, transparent 72%),
    radial-gradient(ellipse 45% 9% at 55% 44%, #64dece12, transparent 70%);
  transform: rotate(-28deg);
  animation: skyLight 27s ease-in-out infinite alternate;
}
#app {
  z-index: 1;
  background:
    radial-gradient(ellipse 110% 600px at 0 0, #30315c20, transparent),
    radial-gradient(ellipse 90% 800px at 100% 800px, #245f6321, transparent), #0a101a9e;
  box-shadow:
    0 0 0 1px #bdd2e910,
    0 24px 100px #0005;
}
.hero {
  box-shadow:
    inset 0 0 0 1px #dbe8f62b,
    0 18px 44px #0004,
    0 0 50px #9380c913;
}
.card {
  background: linear-gradient(135deg, #ffffff08, #ffffff02), #141c25ed;
}
.quick button,
.icon-grid button {
  background-color: #141d28ef;
}
@keyframes nebulaDrift {
  0% {
    transform: translate3d(-2%, 0, 0) rotate(-12deg) scale(0.97);
  }
  50% {
    transform: translate3d(4%, 3%, 0) rotate(3deg) scale(1.04);
  }
  100% {
    transform: translate3d(2%, -4%, 0) rotate(13deg) scale(1.08);
  }
}
@keyframes skyLight {
  from {
    transform: rotate(-28deg) translateY(-3%);
    opacity: 0.45;
  }
  to {
    transform: rotate(-20deg) translateY(4%);
    opacity: 1;
  }
}
@media (min-width: 800px) {
  #app {
    background:
      radial-gradient(ellipse 80% 650px at 0 0, #4d386227, transparent),
      radial-gradient(ellipse 75% 900px at 100% 600px, #23576625, transparent), #0b111ba8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hd-nebula,
  .hd-sky-haze {
    animation: none !important;
    will-change: auto;
  }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  #app {
    background: #0c111b;
  }
  .hd-dream-sky {
    opacity: 0.45;
  }
  .card {
    background: #15202b;
  }
}
html.hd-sky-active .hd-nebula {
  animation: nebulaDrift 13s ease-in-out infinite alternate !important;
  opacity: 0.95;
}
html.hd-sky-active .hd-nebula-cyan {
  animation-duration: 17s !important;
  animation-delay: -6s !important;
}
html.hd-sky-active .hd-nebula-rose {
  animation-duration: 21s !important;
  animation-delay: -12s !important;
}
html.hd-sky-active .hd-sky-haze {
  animation: skyLight 12s ease-in-out infinite alternate !important;
}
html:not(.hd-sky-active) .hd-nebula,
html:not(.hd-sky-active) .hd-sky-haze {
  animation-play-state: paused !important;
}
.hd-sky-toggle {
  position: fixed;
  right: max(14px, calc((100vw - 1120px) / 2));
  bottom: 100px;
  z-index: 35;
  padding: 7px 11px;
  border: 1px solid #c8b1ed42;
  border-radius: 20px;
  background: #192638be;
  backdrop-filter: blur(14px);
  color: #c8c5e5;
  font-size: 10px;
  box-shadow: 0 4px 20px #0004;
  letter-spacing: 0.4px;
  min-height: 34px;
}
.hd-sky-toggle:hover {
  border-color: #dfc8ff8c;
  color: #eee4ff;
}
.hd-nebula-violet {
  background: radial-gradient(
    ellipse at 50% 50%,
    #8652ff65 0,
    #d05cc13d 25%,
    #6e38d322 45%,
    transparent 68%
  );
}
.hd-nebula-cyan {
  background: radial-gradient(
    ellipse at 50% 50%,
    #25ecc74d 0,
    #29b7da46 25%,
    #3869df25 45%,
    transparent 66%
  );
}
.hd-nebula-rose {
  background: radial-gradient(
    ellipse at 50% 50%,
    #ffa87248 0,
    #eb509f42 25%,
    #9845d325 45%,
    transparent 66%
  );
}
.hd-nebula-gold {
  left: -45vmax;
  top: 35vh;
  width: 80vmax;
  height: 80vmax;
  background: radial-gradient(ellipse, #edc7662c, #cb825824 26%, transparent 64%);
}
.hd-aurora-ribbon {
  position: absolute;
  inset: -35%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    #6566ff18 36deg,
    transparent 74deg,
    #36dfd51a 128deg,
    transparent 160deg,
    #d956b51b 224deg,
    transparent 260deg,
    #efc46413 302deg,
    transparent 345deg
  );
  filter: blur(30px);
  mix-blend-mode: screen;
  transform: rotate(-25deg);
  opacity: 0.8;
}
html.hd-sky-active .hd-aurora-ribbon {
  animation: hdRibbon 30s linear infinite !important;
}
html.hd-sky-active .hd-nebula-gold {
  animation-duration: 25s !important;
  animation-delay: -10s !important;
}
html:not(.hd-sky-active) .hd-aurora-ribbon {
  animation-play-state: paused !important;
}
.hd-starfield {
  opacity: 1;
}
#app {
  background:
    radial-gradient(ellipse 110% 600px at 0 0, #39306325, transparent),
    radial-gradient(ellipse 90% 800px at 100% 800px, #23696e20, transparent), #0a101a80;
}
@keyframes hdRibbon {
  from {
    transform: rotate(-25deg) scale(1);
  }
  to {
    transform: rotate(335deg) scale(1);
  }
}
.hd-opening {
  position: fixed;
  inset: 0;
  z-index: 300;
  overflow: hidden;
  background: #0b1122f2;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  animation: hdOpeningIn 0.5s ease-out;
  color: #fff4dc;
}
.hd-opening-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, #070d1b3b 0%, #0b142252 35%, #0a1127e8 75%, #080f20 100%),
    url('assets/hero.webp') 62% center/cover;
  opacity: 0.88;
}
.hd-opening:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 80%, #9239dd47, transparent 65%),
    radial-gradient(ellipse at 95% 40%, #25bfb43c, transparent 60%),
    linear-gradient(135deg, #e8b86912, transparent 55%);
  pointer-events: none;
}
.hd-opening:after {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(
    from 90deg,
    transparent 10%,
    #77c6e620 22%,
    transparent 35%,
    #d289d11e 47%,
    transparent 67%,
    #edc68c13 84%,
    transparent
  );
  animation: hdRibbon 35s linear infinite;
  pointer-events: none;
}
.hd-opening-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(22px + env(safe-area-inset-top)) 25px 20px;
  gap: 15px;
}
.hd-opening-top .brand strong {
  font-size: 18px;
  letter-spacing: 2px;
}
.hd-opening-skip {
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid #fff4;
  border-radius: 25px;
  background: #0c142b7d;
  backdrop-filter: blur(16px);
  padding: 8px 14px;
  font-size: 12px;
  color: #fff4df;
  min-height: 39px;
}
.hd-opening-skip span {
  font-size: 11px;
  color: #b6c9dc;
  font-variant-numeric: tabular-nums;
}
.hd-opening-orbit {
  position: absolute;
  width: min(80vw, 540px);
  height: min(80vw, 540px);
  right: -26%;
  top: 18%;
  border: 1px solid #eccb9d24;
  border-radius: 50%;
  box-shadow:
    0 0 0 22px #e5c69305,
    0 0 0 60px #bdcbed06,
    0 0 90px #977dde16;
  pointer-events: none;
}
.hd-opening-copy {
  margin-top: auto;
  margin-bottom: auto;
  padding: 65px 30px 30px;
  max-width: 580px;
  width: 100%;
  text-shadow: 0 3px 25px #0008;
}
.hd-opening-kicker {
  font-size: 9px;
  letter-spacing: 2px;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid #d4bd9738;
  border-radius: 25px;
  background: #24304665;
  backdrop-filter: blur(15px);
  color: #e3cda6;
}
.hd-opening-overline {
  font-size: 16px;
  letter-spacing: 4px;
  margin: 25px 0 14px;
  color: #ecdecd;
}
.hd-opening-copy h1 {
  font-family: 'Songti SC', 'STSong', 'SimSun', serif;
  font-size: clamp(48px, 12vw, 72px);
  line-height: 1.23;
  letter-spacing: 5px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff7e8, #f2d69d 70%, #c39761);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hd-opening-desc {
  font-size: 11px;
  line-height: 2;
  letter-spacing: 1px;
  color: #c3cbd8;
  margin: 21px 0 30px;
}
.hd-opening-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  padding: 13px 20px;
  border: 1px solid #f1d2a4;
  border-radius: 17px;
  background: linear-gradient(110deg, #d8b77e, #f3dcad 58%, #dabb85);
  box-shadow:
    inset 0 1px 0 #fff8,
    0 8px 32px #e3bc6d24;
  color: #251e18;
  font-weight: 650;
  font-size: 14px;
  text-shadow: none;
}
.hd-opening-cta span {
  font-size: 23px;
  font-weight: 400;
}
.hd-opening-enter {
  display: block;
  margin: 15px auto 0;
  font-size: 12px;
  color: #ccd4df;
  min-height: 40px;
  letter-spacing: 1px;
}
.hd-opening-bottom {
  display: flex;
  justify-content: space-between;
  padding: 15px 25px calc(27px + env(safe-area-inset-bottom));
  font-size: 8px;
  letter-spacing: 1px;
  color: #8494ab;
  gap: 10px;
}
.hd-opening-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff0b;
}
.hd-opening-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #69d9d2, #bc8adf, #f3d09e);
  box-shadow: 0 0 14px #c99edf;
  transition: width 0.1s linear;
}
.hd-opening-replay {
  position: fixed;
  right: max(14px, calc((100vw - 1120px) / 2));
  bottom: 142px;
  z-index: 35;
  padding: 7px 11px;
  border: 1px solid #d2bb8e38;
  border-radius: 20px;
  background: #192638be;
  backdrop-filter: blur(14px);
  color: #d7c7ab;
  font-size: 10px;
  box-shadow: 0 4px 20px #0004;
  letter-spacing: 0.4px;
  min-height: 34px;
}
.hd-opening-visible .hd-sky-toggle,
.hd-opening-visible .hd-opening-replay {
  visibility: hidden;
}
@keyframes hdOpeningIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 800px) {
  .hd-opening-top,
  .hd-opening-bottom {
    padding-left: max(40px, calc((100vw - 1060px) / 2));
    padding-right: max(40px, calc((100vw - 1060px) / 2));
  }
  .hd-opening-top {
    padding-top: 35px;
  }
  .hd-opening-copy {
    max-width: 560px;
    margin-left: max(40px, calc((100vw - 1060px) / 2));
    padding: 30px 0;
  }
  .hd-opening-copy h1 {
    font-size: 83px;
    letter-spacing: 7px;
  }
  .hd-opening-overline {
    font-size: 19px;
  }
  .hd-opening-desc {
    font-size: 13px;
  }
  .hd-opening-art {
    background-position: 62% 40%;
  }
  .hd-opening-cta {
    max-width: 350px;
  }
  .hd-opening-enter {
    margin-left: 0;
    text-align: left;
  }
  .hd-opening-orbit {
    width: 540px;
    height: 540px;
    right: 3%;
    top: 20%;
  }
  #app {
    background:
      radial-gradient(ellipse 80% 650px at 0 0, #4d386227, transparent),
      radial-gradient(ellipse 75% 900px at 100% 600px, #23576625, transparent), #0b111b8c;
  }
}
@media (max-height: 650px) {
  .hd-opening-top {
    padding-top: 15px;
  }
  .hd-opening-copy {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .hd-opening-copy h1 {
    font-size: 43px;
  }
  .hd-opening-overline {
    margin-top: 13px;
  }
  .hd-opening-desc {
    margin: 13px 0 17px;
  }
  .hd-opening-bottom {
    padding-bottom: 15px;
  }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  #app {
    background: #0c111b;
  }
  .hd-opening {
    background: #0b1122;
  }
  .hd-opening-art {
    opacity: 0.55;
  }
}
