:root {
  --bg: #07070a;
  --panel: #111116;
  --panel-2: #17171d;
  --text: #f7f4ef;
  --muted: #95939d;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #f0b35c;
  --accent-2: #ff7b57;
  --shell: min(1200px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); opacity: .13; pointer-events: none; }
.ambient-one { width: 420px; height: 420px; background: #d97837; top: 5%; right: -200px; }
.ambient-two { width: 320px; height: 320px; background: #493ac4; top: 58%; left: -180px; }

.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 146px; height: auto; }
.desktop-nav { display: flex; gap: 38px; font-size: 14px; color: var(--muted); }
.desktop-nav a { position: relative; padding: 32px 0; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; }
.desktop-nav a.active::after { content: ""; position: absolute; bottom: 22px; left: 50%; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .login-button { border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; transition: .2s; }
.icon-button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-button:hover, .login-button:hover { border-color: rgba(240,179,92,.5); background: rgba(240,179,92,.08); }
.login-button { max-width: 250px; padding: 11px 17px; border-radius: 24px; display: inline-flex; align-items: center; }
.login-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 7px; }

.hero { min-height: 600px; position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: 50px 0 80px; }
.eyebrow, .section-kicker { color: var(--accent); font-size: 11px; letter-spacing: .24em; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 30px; height: 1px; background: var(--accent); }
.hero h1 { margin: 25px 0 22px; font-family: Georgia, "Songti SC", serif; font-size: clamp(50px, 6vw, 82px); line-height: 1.02; letter-spacing: -.05em; font-weight: 400; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 460px; }
.hero-actions { display: flex; gap: 13px; margin-top: 32px; }
.primary-button, .secondary-button, .membership-button { border: 0; cursor: pointer; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: linear-gradient(135deg, var(--accent), #d78c3c); color: #17100a; padding: 14px 22px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.primary-button svg { width: 15px; fill: currentColor; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(240,179,92,.22); }
.secondary-button { padding: 14px 22px; color: #fff; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 4px; }
.secondary-button:hover { background: rgba(255,255,255,.1); }
.hero-meta { display: flex; gap: 10px; margin-top: 24px; color: #77757e; font-size: 11px; }
.hero-meta span { border: 1px solid var(--line); padding: 5px 8px; border-radius: 2px; }
.hero-reel { height: 520px; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--line); border-radius: 120px 12px 12px 12px; background: radial-gradient(circle at 80% 10%, rgba(240,179,92,.15), transparent 32%), linear-gradient(145deg, #17151c, #0d0d12); box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.hero-reel-head, .hero-reel-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.hero-reel-head { padding: 38px 30px 8px 52px; }
.hero-reel-head > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.hero-reel-head small { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.hero-reel-head strong { font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 400; }
.hero-reel-controls { display: flex; gap: 7px; }
.hero-reel-controls button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.035); cursor: pointer; transition: .2s; }
.hero-reel-controls button:hover { border-color: var(--accent); color: var(--accent); }
.hero-stack { min-width: 0; display: flex; align-items: center; overflow-x: auto; overflow-y: hidden; padding: 22px 27% 22px 7%; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; touch-action: pan-y; }
.hero-stack::-webkit-scrollbar { display: none; }
.hero-stack.dragging { cursor: grabbing; user-select: none; }
.hero-stack-loading { width: 100%; align-self: center; color: var(--muted); font-size: 12px; text-align: center; }
.hero-stack-loading button { margin-top: 12px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 3px; background: rgba(255,255,255,.05); cursor: pointer; }
.hero-stack-card { position: relative; flex: 0 0 67%; min-width: 0; margin-right: -22%; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; opacity: .42; transform: scale(.82) rotate(2.5deg); transform-origin: center bottom; transition: opacity .28s, transform .28s, filter .28s; filter: saturate(.65) brightness(.7); }
.hero-stack-card:nth-child(even) { transform: scale(.82) rotate(-2.5deg); }
.hero-stack-card.active { z-index: 5; opacity: 1; transform: scale(1) rotate(0); filter: none; }
.hero-stack-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: linear-gradient(145deg,#49352f,#17151d 72%); box-shadow: 0 18px 35px rgba(0,0,0,.5); }
.hero-stack-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.48), transparent 52%); }
.hero-stack-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stack-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(240,179,92,.92); color: #18100a; font-size: 15px; transform: translate(-50%,-50%) scale(.75); opacity: 0; transition: .2s; box-shadow: 0 10px 35px rgba(0,0,0,.45); }
.hero-stack-card.active:hover .hero-stack-play, .hero-stack-card.active:focus-visible .hero-stack-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.hero-stack-copy { display: flex; flex-direction: column; min-width: 0; padding: 14px 3px 0; opacity: 0; transform: translateY(4px); text-shadow: 0 2px 8px #000; transition: opacity .2s, transform .2s; }
.hero-stack-card.active .hero-stack-copy { opacity: 1; transform: translateY(0); }
.hero-stack-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.hero-stack-copy small { margin-top: 5px; overflow: hidden; color: #aaa7ae; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hero-reel-foot { padding: 7px 30px 24px 52px; color: #77757e; font-size: 10px; letter-spacing: .08em; }
.hero-reel-foot span:first-child { color: var(--accent); }

.search-panel { max-height: 0; opacity: 0; overflow: hidden; transition: .3s; }
.search-panel.open { max-height: 110px; opacity: 1; padding-top: 28px; }
.search-box { height: 62px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--accent); }
.search-box svg { width: 21px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; color: #fff; font-size: 18px; }
.search-box input::placeholder { color: #55535b; }
.search-box button { cursor: pointer; }
.search-box .search-submit { height: 36px; padding: 0 18px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: #17110a; font-size: 12px; font-weight: 700; }
.search-box .search-close { width: 34px; border: 0; background: none; color: #777; font-size: 26px; }

.content-section { padding: 92px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section-heading h2, .membership h2 { font-family: Georgia, "Songti SC", serif; font-weight: 400; font-size: 34px; margin: 8px 0 0; }
.catalog-summary { color: var(--muted); font-size: 12px; }
.catalog-nav { margin-bottom: 32px; border-top: 1px solid var(--line); }
.catalog-nav-loading { padding: 18px 0; color: var(--muted); }
.catalog-nav-row { min-width: 0; display: grid; grid-template-columns: 72px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.catalog-nav-row > strong { color: var(--text); font-size: 13px; }
.catalog-nav-row > div { min-width: 0; display: flex; gap: 8px; padding: 11px 0; overflow-x: auto; scrollbar-width: none; }
.catalog-nav-row > div::-webkit-scrollbar { display: none; }
.catalog-nav-all { background: rgba(255,255,255,.018); }
.category { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; transition: .2s; }
.category:hover, .category.active { color: #17100a; background: var(--accent); border-color: var(--accent); }
.category small { margin-left: 6px; opacity: .65; font-size: 9px; }
.movie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; }
.movie-card { cursor: pointer; min-width: 0; animation: fadeIn .35s ease both; }
.poster { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 5px; background: #0d0e12; isolation: isolate; }
.poster-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.poster.has-image::before, .poster.has-image .poster-glow { display: none; }
.poster::before { content: ""; position: absolute; width: 76%; height: 65%; border-radius: 48% 52% 20% 25%; background: var(--shape); left: 12%; bottom: -12%; transform: rotate(var(--angle)); filter: blur(.2px); z-index: -1; }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, rgba(4,4,7,.8)); }
.poster-glow { position: absolute; width: 80px; height: 80px; top: 15%; right: 12%; border-radius: 50%; background: var(--glow); filter: blur(3px); box-shadow: 0 0 45px var(--glow); }
.poster-rank { position: absolute; z-index: 2; top: 12px; left: 12px; min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(7,7,10,.6); backdrop-filter: blur(8px); font-size: 10px; border: 1px solid rgba(255,255,255,.15); }
.poster-quality { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 4px 6px; border-radius: 2px; background: rgba(7,7,10,.72); font-size: 9px; color: #ddd; }
.poster-play { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(4,4,6,.28); transition: opacity .2s; }
.poster-play span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(240,179,92,.93); color: #14100b; font-size: 18px; padding-left: 3px; transform: scale(.8); transition: transform .2s; }
.movie-card:hover .poster-play { opacity: 1; }
.movie-card:hover .poster-play span { transform: scale(1); }
.movie-info { padding-top: 13px; }
.movie-info h3 { margin: 0 0 7px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-info p { color: #77757d; margin: 0; font-size: 11px; }
.movie-info .movie-date { margin-bottom: 5px; color: #c4a879; font-variant-numeric: tabular-nums; }
.catalog-loading, .catalog-error { grid-column: 1 / -1; min-height: 220px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); }
.catalog-error { align-content: center; gap: 9px; }
.catalog-error strong { color: var(--text); }
.catalog-error span { font-size: 11px; }
.catalog-error button { padding: 8px 13px; border: 1px solid var(--line); background: transparent; color: var(--accent); }
.empty-state { text-align: center; padding: 70px 0; color: var(--muted); }
.empty-state span { color: var(--accent); font-size: 40px; }
.empty-state h3 { color: #ddd; margin: 12px 0 8px; }
.empty-state p { margin: 0; font-size: 13px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 42px; }
.pagination button { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: #111116; color: var(--muted); cursor: pointer; }
.pagination button:hover, .pagination button.active { border-color: var(--accent); color: #17100a; background: var(--accent); }
.pagination button:disabled { opacity: .35; cursor: not-allowed; }
.pagination span { color: var(--muted); }

.membership { min-height: 330px; margin-bottom: 90px; padding: 58px 64px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 55px; align-items: center; position: relative; overflow: hidden; background: linear-gradient(120deg, #1a1514, #181820 55%, #201712); border: 1px solid var(--line); }
.membership::after { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; border: 1px solid rgba(240,179,92,.17); border-radius: 50%; box-shadow: 0 0 0 40px rgba(240,179,92,.025), 0 0 0 80px rgba(240,179,92,.018); }
.membership-copy { position: relative; z-index: 1; }
.membership-copy p { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 380px; }
.benefits { border-left: 1px solid var(--line); }
.benefits div { display: flex; gap: 15px; padding: 12px 24px; }
.benefits strong { color: var(--accent); font-size: 11px; }
.benefits span { color: #c3c0c6; font-size: 13px; }
.membership-button { position: relative; z-index: 1; white-space: nowrap; padding: 15px 20px; background: transparent; border: 1px solid rgba(240,179,92,.5); color: var(--accent); }
.membership-button:hover { background: rgba(240,179,92,.08); }
.membership-button span { margin-left: 20px; }

.footer { min-height: 150px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #67656d; font-size: 11px; }
.footer p { max-width: 400px; text-align: center; }
.footer-brand { opacity: .72; }
.footer-brand .brand-logo { width: 130px; }
.mobile-nav { display: none; }

.modal { width: min(820px, calc(100% - 30px)); max-height: 88vh; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: #111116; color: #fff; overflow: hidden; overscroll-behavior: contain; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.modal[open] { display: grid; grid-template-columns: .82fr 1.18fr; animation: modalIn .25s ease both; }
.modal::backdrop { background: rgba(2,2,4,.78); backdrop-filter: blur(8px); }
.modal-close { position: absolute; z-index: 5; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(5,5,7,.55); color: #fff; font-size: 22px; cursor: pointer; }
.movie-switch-controls { position: absolute; z-index: 5; left: 14px; top: 14px; display: flex; align-items: center; gap: 7px; padding: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(5,5,7,.72); backdrop-filter: blur(8px); }
.movie-switch-controls button { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05); cursor: pointer; }
.movie-switch-controls button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.movie-switch-controls button:disabled { opacity: .3; cursor: default; }
.movie-switch-controls span { min-width: 48px; color: #bbb7c0; font-size: 9px; letter-spacing: .08em; text-align: center; }
.modal-poster { min-height: 490px; background: var(--poster, linear-gradient(145deg, #382523, #111118)); position: relative; overflow: hidden; }
.modal-poster.has-image { min-height: 0; align-self: center; aspect-ratio: 16 / 9; background-color: #09090c; background-position: center; background-size: contain; background-repeat: no-repeat; }
.modal-poster.has-image::before, .modal-poster.has-image::after { display: none; }
.modal-poster::before { content: ""; position: absolute; width: 100%; height: 75%; border-radius: 50%; bottom: -20%; left: 0; background: var(--shape, #0a0a0e); transform: rotate(var(--angle, -8deg)); }
.modal-poster::after { content: ""; position: absolute; width: 110px; height: 110px; right: 20%; top: 18%; border-radius: 50%; background: var(--glow, #e9a75a); box-shadow: 0 0 60px var(--glow, #e9a75a); }
.modal-body { padding: 70px 45px 42px; align-self: center; }
.modal-label { color: var(--accent); font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.modal-body h2, .login-form h2 { font-family: Georgia, "Songti SC", serif; font-weight: 400; font-size: 38px; margin: 13px 0; }
.modal-meta { color: #9c99a2; font-size: 12px; }
.modal-description { color: #aaa7ae; font-size: 13px; line-height: 1.9; margin: 25px 0 32px; }
.modal-actions { display: flex; gap: 10px; }
.watch-player { padding-top: 20px; scroll-margin-top: 12px; }
.watch-player[hidden] { display: none; }
.watch-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.watch-heading button { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 5px; padding: 9px 14px; cursor: pointer; }
.player-stage { position: relative; background: #000; width: 100%; aspect-ratio: 16 / 9; outline: none; }
.player-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.player-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-corner-cover { position: absolute; z-index: 2; box-sizing: border-box; display: grid; place-items: center; min-width: 1px; min-height: 1px; overflow: hidden; pointer-events: none; }
.player-corner-cover[hidden] { display: none; }
.player-corner-cover img { display: block; box-sizing: border-box; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.player-controls { position: absolute; z-index: 3; inset: auto 0 0; padding: 28px 16px 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.85)); transition: opacity .2s; }
.controls-hidden .player-controls { opacity: 0; pointer-events: none; }
.controls-hidden { cursor: none; }
.player-controls:focus-within { opacity: 1; pointer-events: auto; }
.player-progress-controls { display: flex; }
.player-progress-controls input { width: 100%; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.player-stage-actions { display: flex; gap: 10px; align-items: center; }
.player-stage-actions[hidden], .player-progress-controls[hidden] { display: none; }
.player-stage-actions button { display: grid; place-items: center; min-width: 40px; height: 40px; border: 0; border-radius: 4px; color: #fff; background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
.player-stage-actions button:hover { background: rgba(255,255,255,.15); }
.player-stage-actions button:focus-visible { outline: 2px solid var(--accent); }
.player-stage-actions svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.player-controls-spacer { flex: 1; }
.player-time { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-volume { width: 75px; accent-color: var(--accent); }
.player-rate { width: 58px; height: 40px; border: 0; border-radius: 4px; color: #fff; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.player-rate option { color: #fff; background: #202024; }
.player-message { position: absolute; z-index: 2; top: 35%; left: 10%; right: 10%; text-align: center; color: #fff; font-size: 14px; text-shadow: 0 1px 4px #000; pointer-events: none; }
.player-status { padding: 16px 0 24px; }
.player-status h2 { font-size: 20px; line-height: 1.5; margin: 0 0 6px; }
.player-status > span { color: var(--muted); font-size: 12px; }
.player-fullscreen-open { overflow: hidden; }
.player-stage.is-viewport-fullscreen { position: fixed; inset: 0; z-index: 2000; width: 100%; height: 100vh; height: 100dvh; aspect-ratio: auto; }
.player-stage:fullscreen { width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; }
.player-stage:-webkit-full-screen { width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; }
@media (max-width: 600px) {
  .watch-player { width: 100%; padding-top: 12px; }
  .watch-heading, .player-status { padding-left: 16px; padding-right: 16px; }
  .player-stage-actions { gap: 4px; }
  .player-controls { padding-left: 8px; padding-right: 8px; }
  .player-volume { display: none; }
  .player-rate { width: 52px; }
  .player-status h2 { font-size: 17px; }
}

.movie-switch-hint { margin: 16px 0 0; color: #67656e; font-size: 10px; }
.modal.switching-down .modal-poster, .modal.switching-down .modal-body { animation: detailSwitchDown .22s ease both; }
.modal.switching-up .modal-poster, .modal.switching-up .modal-body { animation: detailSwitchUp .22s ease both; }
.favorite-button { padding: 13px 18px; border: 1px solid var(--line); background: transparent; color: #ddd; cursor: pointer; }
.favorite-button.active { border-color: var(--accent); color: var(--accent); }
.login-modal[open] { grid-template-columns: .9fr 1.1fr; }
.login-art { min-height: 500px; padding: 48px 38px; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(circle at 50% 28%, rgba(240,179,92,.5), transparent 16%), repeating-radial-gradient(ellipse at 50% 28%, transparent 0 30px, rgba(240,179,92,.08) 31px 32px), linear-gradient(145deg, #2d1f1e, #0d0d13); }
.login-art span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; font-size: 12px; margin-bottom: 20px; }
.login-art strong { font-family: Georgia, "Songti SC", serif; font-weight: 400; font-size: 27px; line-height: 1.4; }
.login-form { padding: 55px 45px; display: flex; flex-direction: column; justify-content: center; }
.login-form > p { color: #77757f; font-size: 12px; margin: -4px 0 25px; }
.login-form label { color: #aaa7af; font-size: 11px; margin-bottom: 15px; }
.login-form input { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 3px; background: #0c0c10; color: #fff; outline: none; }
.login-form input:focus { border-color: rgba(240,179,92,.55); }
.login-form .primary-button { width: 100%; margin-top: 5px; }
.adult-confirm { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.adult-confirm input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.adult-confirm span { color: #8f8c95; }
.form-feedback { display: none; margin: -3px 0 13px; padding: 9px 11px; border: 1px solid rgba(255,123,87,.28); border-radius: 3px; background: rgba(255,123,87,.08); color: #f2a38d; font-size: 11px; line-height: 1.55; }
.form-feedback:not(:empty) { display: block; }
.register-art { background: radial-gradient(circle at 50% 28%, rgba(204,106,73,.5), transparent 16%), repeating-radial-gradient(ellipse at 50% 28%, transparent 0 30px, rgba(240,179,92,.08) 31px 32px), linear-gradient(145deg, #311c1d, #0d0d13); }
.member-center-modal { width: min(980px, calc(100% - 30px)); max-height: 88vh; padding: 0; display: none; grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); }
.member-center-modal[open] { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); animation: modalIn .25s ease both; }
.member-center-head { padding: 36px 42px 26px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg,#1c1717,#111116 65%); }
.member-center-head h2 { margin: 9px 0 5px; font-family: Georgia, "Songti SC", serif; font-size: 34px; font-weight: 400; }
.member-center-head p { margin: 0; max-width: 680px; color: #8f8c95; font-size: 12px; overflow-wrap: anywhere; }
.member-center-head .secondary-button { padding: 11px 17px; background: transparent; border: 1px solid var(--line); color: #bbb8c0; }
.member-center-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.member-center-actions [hidden] { display: none; }
.profile-completion { margin: 20px 42px 0; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(240,179,92,.34); background: rgba(240,179,92,.07); }
.profile-completion[hidden] { display: none; }
.profile-completion div { display: grid; gap: 5px; }
.profile-completion strong { color: #e9d0ab; font-size: 13px; }
.profile-completion span { color: #8f8c95; font-size: 11px; }
.profile-completion button { flex: 0 0 auto; padding: 9px 13px; border: 1px solid rgba(240,179,92,.45); background: #171316; color: var(--accent); }
.purchase-history { padding: 28px 42px 38px; min-height: 330px; overflow-y: auto; }
.purchase-history-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.purchase-history-title h3 { margin: 0 0 6px; font-size: 18px; }
.purchase-history-title p { margin: 0; color: #77757f; font-size: 11px; }
.purchase-history-title button, .member-empty button { border: 1px solid var(--line); background: #15151a; color: #bbb8c0; padding: 8px 12px; cursor: pointer; }
.account-security { margin: 0 0 18px; border: 1px solid var(--line); background: #101015; }
.account-security[hidden] { display: none; }
.account-security summary { padding: 13px 15px; color: #c9c5cd; cursor: pointer; font-size: 12px; }
.account-security form { padding: 0 15px 15px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: end; gap: 10px; }
.account-security label { display: grid; gap: 6px; color: #85828c; font-size: 10px; }
.account-security input { min-width: 0; padding: 10px 11px; border: 1px solid var(--line); background: #09090d; color: #f5f2f3; }
.account-security button { padding: 10px 13px; border: 1px solid rgba(240,179,92,.45); background: #171316; color: var(--accent); }
.account-security .form-feedback { grid-column: 1 / -1; margin: 0; min-height: 16px; color: #b9b5be; font-size: 11px; }
.purchase-history-list { display: grid; gap: 12px; }
.purchase-record { display: grid; grid-template-columns: 180px minmax(0,1fr); border: 1px solid var(--line); background: #0d0d11; }
.purchase-record-cover { aspect-ratio: 16/9; align-self: center; display: grid; place-items: center; background: #08080b; color: #66636b; font-size: 11px; overflow: hidden; }
.purchase-record-cover img { width: 100%; height: 100%; object-fit: contain; }
.purchase-record-main { padding: 17px 19px; min-width: 0; }
.purchase-record-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.purchase-record h4 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.purchase-record-main > p { margin: 7px 0 13px; color: #77757f; font-size: 11px; }
.entitlement-status { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; font-size: 10px; }
.entitlement-status.active { color: #95d5a5; background: rgba(63,142,82,.15); border: 1px solid rgba(63,142,82,.3); }
.entitlement-status.expired { color: #8c8991; background: #17171c; border: 1px solid #282830; }
.purchase-record dl { margin: 0 0 13px; display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 12px; }
.purchase-record dl div { min-width: 0; }
.purchase-record dt { color: #66636b; font-size: 9px; }
.purchase-record dd { margin: 4px 0 0; color: #bbb8c0; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.purchase-record-main > button { border: 0; padding: 7px 0; background: none; color: var(--accent); font-size: 11px; cursor: pointer; }
.member-loading, .member-empty { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #77757f; font-size: 12px; text-align: center; }
.member-empty strong { color: #bbb8c0; }
.adult-confirmation-needed button { border-color: rgba(240,179,92,.45); color: var(--accent); }
.purchase-channels { display:grid; gap:10px; margin:4px 0 18px; }
.purchase-channels button { width:100%; padding:13px 14px; border:1px solid rgba(240,179,92,.35); border-radius:3px; background:#151217; color:#f2d3a4; cursor:pointer; }
.purchase-channels button:hover { border-color:#f0b35c; background:#1e1819; }
.purchase-unavailable { margin: 0; padding: 13px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; background: #111116; color: #8f8c95; font-size: 12px; line-height: 1.7; }
.form-link { border: 0; background: none; color: var(--accent); font-size: 11px; margin-top: 17px; cursor: pointer; }
.entry-popup { width: min(440px, calc(100% - 30px)); max-height: 88vh; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: #111116; color: #fff; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.entry-popup[open] { animation: modalIn .25s ease both; }
.entry-popup::backdrop { background: rgba(2,2,4,.8); backdrop-filter: blur(8px); }
.entry-popup > img { width: 100%; max-height: 260px; object-fit: contain; background: #09090c; }
.entry-popup-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(5,5,7,.65); color: #fff; font-size: 20px; }
.entry-popup-body { padding: 32px; }
.entry-popup-body h2 { margin: 12px 0; font-family: Georgia, "Songti SC", serif; font-size: 29px; font-weight: 400; }
.entry-popup-body p { margin: 0 0 24px; white-space: pre-wrap; color: #aaa7ae; font-size: 13px; line-height: 1.8; }
.entry-popup-body .primary-button { display: inline-flex; align-items: center; justify-content: center; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 35px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border: 1px solid rgba(240,179,92,.3); border-radius: 3px; background: #1b1817; color: #eee; font-size: 12px; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes detailSwitchDown { from { opacity: .25; transform: translateY(18px); } }
@keyframes detailSwitchUp { from { opacity: .25; transform: translateY(-18px); } }

@media (max-width: 900px) {
  .hero { min-height: 550px; grid-template-columns: 1fr 1fr; }
  .hero-reel { height: 440px; border-radius: 90px 12px 12px 12px; }
  .movie-grid { grid-template-columns: repeat(3, 1fr); }
  .membership { grid-template-columns: 1fr 1fr; padding: 45px; }
  .membership-button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 30px); }
  body { padding-bottom: 70px; }
  .topbar { height: 66px; }
  .desktop-nav, .login-button { display: none; }
  .brand-logo { width: 126px; }
  .hero { display: block; min-height: 760px; overflow: visible; border-bottom: 0; }
  .hero-copy { padding: 45px 0 0; }
  .hero h1 { font-size: 49px; margin-top: 18px; }
  .hero-copy > p { max-width: 330px; font-size: 13px; line-height: 1.75; }
  .hero-reel { position: absolute; width: calc(100% + 15px); height: 365px; left: 0; bottom: 15px; border-radius: 56px 8px 8px 8px; }
  .hero-reel-head { padding: 24px 18px 4px 27px; }
  .hero-reel-head strong { font-size: 18px; }
  .hero-reel-controls button { width: 34px; height: 34px; }
  .hero-stack { padding: 14px 24% 15px 5%; }
  .hero-stack-card { flex-basis: 75%; margin-right: -25%; }
  .hero-stack-copy { padding-top: 10px; }
  .hero-stack-copy strong { font-size: 14px; }
  .hero-reel-foot { padding: 4px 18px 17px 27px; }
  .hero-actions { margin-top: 24px; }
  .hero-meta { display: none; }
  .content-section { padding: 65px 0 72px; }
  .section-heading h2 { font-size: 29px; }
  .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 11px; }
  .catalog-nav-row { grid-template-columns: 55px 1fr; }
  .catalog-nav-row > strong { font-size: 12px; }
  .category { padding: 7px 12px; }
  .catalog-summary { max-width: 170px; text-align: right; line-height: 1.5; }
  .pagination { gap: 4px; }
  .pagination button { min-width: 34px; height: 36px; padding: 0 9px; }
  .membership { margin-bottom: 65px; padding: 38px 25px; grid-template-columns: 1fr; gap: 25px; }
  .membership h2 { font-size: 29px; }
  .benefits { border-left: 0; border-top: 1px solid var(--line); padding-top: 10px; }
  .benefits div { padding-left: 0; }
  .membership-button { grid-column: auto; }
  .footer { min-height: 170px; flex-direction: column; justify-content: center; gap: 15px; text-align: center; }
  .footer p { margin: 0; }
  .mobile-nav { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; height: 67px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px 8px max(4px, env(safe-area-inset-bottom)); background: rgba(10,10,14,.95); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: #77757e; font-size: 9px; }
  .mobile-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .mobile-nav .active { color: var(--accent); }
  .mobile-nav .nav-search { width: 43px; height: 43px; margin-top: -21px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #15100a; border: 5px solid var(--bg); }
  .mobile-nav button:nth-child(3) > span:last-child { margin-top: -2px; }
  .modal[open], .login-modal[open] { display: block; overflow-y: auto; }
  .modal-poster { min-height: 260px; }
  .modal-body { padding: 32px 25px; }
  .movie-switch-controls { position: sticky; left: 14px; top: 10px; width: max-content; margin: 0 0 -46px 14px; }
  .movie-switch-hint { text-align: center; }
  .modal-body h2, .login-form h2 { font-size: 30px; }
  .login-art { min-height: 210px; padding: 28px 25px; }
  .login-art strong { font-size: 22px; }
  .login-form { padding: 32px 25px 38px; }
  .member-center-head { padding: 30px 25px 22px; align-items: flex-start; flex-direction: column; }
  .member-center-head h2 { font-size: 29px; }
  .member-center-actions { width: 100%; justify-content: flex-start; }
  .profile-completion { margin: 16px 20px 0; align-items: flex-start; flex-direction: column; }
  .purchase-history { padding: 24px 20px 30px; }
  .account-security form { grid-template-columns: 1fr; }
  .purchase-record { grid-template-columns: 1fr; }
  .purchase-record-cover { width: 100%; }
  .purchase-record dl { grid-template-columns: 1fr; gap: 8px; }
  .entry-popup-body { padding: 27px 24px; }
  .toast { bottom: 88px; max-width: calc(100% - 30px); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.credit-checkout { display:grid; gap:12px; min-width:0; font-size:12px; line-height:1.7; }
.credit-checkout p { margin:0; }
.credit-checkout small { color:#a4a0aa; }
.credit-checkout label { color:#d9d2da; }
.credit-checkout button:disabled { opacity:.45; cursor:default; }
.credit-amount-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.credit-amount-row input { min-width:0; width:100%; border:1px solid var(--line); padding:10px; background:#09090d; color:#fff; font:inherit; }
.credit-amount-row button { padding:10px; }
#creditOrder { border-top:1px solid var(--line); padding-top:15px; display:grid; gap:12px; }
#creditOrder[hidden] { display:none; }
.credit-order-head { display:flex; align-items:center; gap:12px; justify-content:space-between; }
.credit-order-head button,.credit-receive button { width:auto; padding:6px 10px; font:inherit; }
.credit-order-id { color:#8f8995; overflow-wrap:anywhere; font-size:10px; }
.credit-receive { display:grid; gap:6px; min-width:0; padding:10px; background:#09090d; border:1px solid var(--line); }
.credit-receive code { overflow-wrap:anywhere; font-size:12px; color:#e4d5bc; }
.credit-receive button { justify-self:start; }
.credit-fee { color:#d9bc85; }
.credit-bbt-pay { display:block; text-align:center; padding:12px; border:1px solid #d6a252; color:#161010; background:var(--accent); text-decoration:none; }
.member-wallet-entry { text-decoration:none; text-align:center; font-size:12px; }
.member-time-credit { padding:16px; margin:18px 0; border:1px solid var(--line); font-size:12px; color:#aaa4ae; }
.member-time-credit h3 { margin:0 0 10px; color:#ddd7de; }
.member-time-credit summary { cursor:pointer; padding:10px 0; }
.credit-history-row { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:7px 0; border-top:1px solid var(--line); }

/* Member center: shared surfaces and compact actions. */
.member-center-modal[open] { display: flex; flex-direction: column; border-radius: 22px; max-height: min(88vh, 880px); max-height: min(88dvh, 880px); overflow: hidden; background: #111115; border: 1px solid #333039; }
.member-center-head { flex: 0 0 auto; padding: 32px 38px 26px; gap: 24px; background: radial-gradient(ellipse at 0 0,rgba(216,170,102,.12),transparent 70%),#151418; }
.member-center-head > div:first-child { min-width: 0; }
.member-center-head h2 { font-family: inherit; font-size: 28px; font-weight: 600; letter-spacing: .04em; }
.member-center-head p { line-height: 1.8; color: #a6a0ac; }
.member-center-head .modal-label { color: #c8a56e; letter-spacing: .18em; font-size: 10px; }
.member-center-actions { gap: 10px; padding-right: 12px; }
.member-center-modal button,.member-center-modal a,.member-center-modal summary { -webkit-tap-highlight-color: transparent; }
.member-center-head .secondary-button,.profile-completion button,.account-security button,.member-empty button { min-height: 44px; border-radius: 11px; padding: 10px 15px; font-size: 12px; line-height: 1.5; cursor: pointer; transition: background .18s,border-color .18s,color .18s; }
.member-center-head .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #222027; border-color: #39343e; color: #d8d2dc; }
.member-center-head .secondary-button:hover { background: #302a30; border-color: #6c5840; color: #fff0d8; }
.member-center-actions [hidden] { display: none; }
.member-center-head .member-wallet-entry { border-color: #635035; background: linear-gradient(135deg,#342b20,#201e1b); color: #f3d4a2; padding: 8px 13px; font-weight: 600; }
.member-wallet-entry img { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.member-wallet-entry svg,.member-refresh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.member-wallet-entry svg { width: 14px; height: 14px; color: #b89c75; }
.member-center-head [data-member-logout] { background: transparent; color: #a49ba9; border-color: #302c35; }
.member-center-head [data-member-logout]:hover { background: #2d2024; border-color: #774550; color: #efb4bd; }
.member-center-modal :is(button,a,summary,input):focus-visible { outline: 2px solid #e7bb79; outline-offset: 4px; }
.member-center-modal .modal-close { top: 10px; right: 10px; border-radius: 50%; width: 32px; height: 32px; background: #242127; border: 1px solid #39333d; color: #aaa1af; }
.profile-completion { flex: 0 0 auto; margin: 20px 38px 0; border-radius: 13px; padding: 15px 18px; }
.profile-completion span { line-height: 1.7; }
.profile-completion button,.account-security button { background: #30271d; border-color: #665035; color: #edc88c; }
.profile-completion button:hover,.account-security button:hover { background: #443423; border-color: #ba9156; }
.purchase-history { flex: 1 1 auto; min-height: 0; padding: 24px 38px 32px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4e4243 transparent; }
.purchase-history-title { align-items: center; margin-bottom: 20px; }
.purchase-history-title h3 { font-size: 17px; color: #e6dfe8; }
.purchase-history-title p { line-height: 1.7; color: #99919f; }
.purchase-history-title .member-refresh { width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #242129; border: 1px solid #403744; color: #d3bb98; transition: background .18s,border-color .18s; }
.purchase-history-title .member-refresh:hover { background: #382f29; border-color: #8a6a44; }
.member-refresh:active svg { transform: rotate(35deg); }
.account-security { border-radius: 12px; border-color: #302b35; background: #19171e; overflow: hidden; }
.account-security summary { padding: 16px 18px; color: #bdb3c5; }
.account-security form { padding: 0 18px 18px; gap: 12px; }
.account-security input { border-radius: 9px; min-height: 44px; }
.member-time-credit { margin: 0 0 26px; padding: 22px 24px; border-radius: 15px; border-color: #4b3e30; background: radial-gradient(ellipse at 100% 0,rgba(210,166,99,.11),transparent 65%),#1c1918; }
.member-time-credit h3 { color: #d4bc96; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.member-time-credit [data-credit-summary] { color: #f1d6ad; font-size: clamp(18px,3.5vw,25px); font-weight: 600; margin: 12px 0; line-height: 1.5; overflow-wrap: anywhere; }
.member-time-credit > p:last-of-type { color: #a69b91; line-height: 1.7; }
.member-time-credit details { margin-top: 14px; border-top: 1px solid #3e342c; }
.member-time-credit summary { padding: 14px 0 0; color: #baa98e; }
.member-time-credit [data-credit-history] { padding-top: 12px; color: #b0a699; }
.credit-history-row { line-height: 1.7; padding: 12px 0; }
.member-center-modal .member-empty { border: 1px dashed #39303d; border-radius: 14px; background: #17141b; min-height: 170px; padding: 24px; color: #a095a8; }
.member-center-modal .member-empty strong { color: #d0c5d8; font-size: 14px; }
.purchase-record { border-radius: 14px; overflow: hidden; background: #18151d; border-color: #342c3b; }
.purchase-record-main > button { min-height: 44px; padding: 10px 15px; border-radius: 9px; background: #33271e; color: #f0c790; }
@media (max-width: 700px) {
  .member-center-modal[open] { width: calc(100% - 24px); max-height: 92vh; max-height: 92dvh; border-radius: 18px; }
  .member-center-head { padding: 26px 20px 20px; gap: 18px; flex-direction: column; align-items: stretch; }
  .member-center-head h2 { font-size: 25px; }
  .member-center-head p { padding-right: 6px; }
  .member-center-actions { padding-right: 0; justify-content: flex-start; gap: 8px; }
  .member-center-head .secondary-button { padding: 8px 12px; }
  .profile-completion { margin: 16px 20px 0; flex-wrap: wrap; gap: 12px; padding: 14px; }
  .purchase-history { padding: 20px; }
  .purchase-history-title { gap: 12px; }
  .member-time-credit { padding: 18px; margin-bottom: 22px; }
}

.daily-checkin { margin-top: 22px; padding: 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; border: 1px solid #675035; border-radius: 12px; background: linear-gradient(115deg,#32271d,#24201d); }
.daily-checkin > div { display: grid; gap: 7px; }
.checkin-eyebrow { color: #c9a473; font-size: 10px; letter-spacing: .12em; }
.daily-checkin strong { color: #f4d8ad; font-size: 16px; }
.daily-checkin p { margin: 0; line-height: 1.7; font-size: 11px; color: #b8a78f; }
.daily-checkin button { min-height: 44px; padding: 12px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e4bd7b; border-radius: 10px; color: #291c0c; background: linear-gradient(135deg,#f3d49c,#d6a456); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.daily-checkin button:hover:not(:disabled) { background: #f6daa7; }
.daily-checkin button:disabled { cursor: default; opacity: .65; }
.daily-checkin button.is-claimed { color: #c9be9e; border-color: #625840; background: #302c24; opacity: 1; }
.daily-checkin svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.daily-checkin .checkin-feedback { grid-column: 1 / -1; }
.daily-checkin .checkin-feedback:empty { display: none; }
@media(max-width:700px) { .daily-checkin { grid-template-columns: 1fr; padding: 16px; gap: 12px; } .daily-checkin button { width: 100%; } }

.member-credit-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-credit-head h3 { margin: 0; }
.member-credit-head .member-topup { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; flex: 0 0 auto; border: 1px solid #78603d; border-radius: 10px; background: #33291d; color: #edc88c; padding: 10px 13px; font: inherit; font-size: 12px; cursor: pointer; }
.member-topup svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.member-credit-head .member-topup:hover { background: #493821; border-color: #bf955c; }
.credit-checkout [hidden] { display: none; }

.checkin-float { position: fixed; z-index: 35; right: max(24px,env(safe-area-inset-right)); bottom: calc(28px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 12px 18px; border: 1px solid #d9af6c; border-radius: 18px; color: #f5d6a1; background: linear-gradient(135deg,#49331f,#261d17); box-shadow: 0 6px 24px #0008,inset 0 1px 0 #ffe1aa20; cursor: pointer; font: inherit; text-align: left; transition: background .18s,transform .18s; }
.checkin-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.checkin-float span { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.checkin-float small { font-size: 10px; font-weight: 400; color: #c8ac82; }
.checkin-float:hover { background: #503820; transform: translateY(-2px); }
.checkin-float:focus-visible { outline: 2px solid #f1cc8c; outline-offset: 4px; }
.checkin-float[hidden],.modal-open .checkin-float { display: none; }
@media(max-width:700px) { .checkin-float { right: max(14px,env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom)); min-height: 56px; padding: 10px 13px; gap: 8px; border-radius: 16px; } .checkin-float svg { width: 25px; height: 25px; } }

.payment-guide { margin: 16px 0; padding: 14px 16px; border: 1px solid #78603d; border-radius: 10px; background: #33291d; font-size: 13px; line-height: 1.7; }
.payment-guide strong { color: #edc88c; }
.payment-guide p { margin: 8px 0; color: #d9d2da; }
.payment-guide a { display: inline-flex; align-items: center; min-height: 44px; color: #edc88c; text-underline-offset: 3px; }
