/* Original Afterhours interface. No remote fonts, images, or UI framework. */
:root {
  color-scheme: dark;
  --bg: #111614;
  --surface: #181e1b;
  --surface-raised: #1e2521;
  --text: #eaece5;
  --muted: #99a298;
  --subtle: #727e73;
  --line: #2b342d;
  --accent: #e9a16e;
  --accent-hover: #f4b687;
  --accent-ink: #24190f;
  --error: #edaba7;
  --success: #b0ccb6;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f1e9;
  --surface: #faf9f3;
  --surface-raised: #eaece2;
  --text: #202820;
  --muted: #657064;
  --subtle: #717c6f;
  --line: #d7dbce;
  --accent: #c57640;
  --accent-hover: #b86530;
  --accent-ink: #fff9ef;
  --error: #a3433c;
  --success: #356a47;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
svg { display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:focus-visible, input:focus-visible, select:focus-visible { outline-offset: 2px; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.micro-label { color: var(--muted); font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { top: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 45px; padding: 11px 19px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; transition: background .15s, border-color .15s, transform .15s; }
.button-primary { color: var(--accent-ink); background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button-outline { border-color: var(--line); background: transparent; }
.button-outline:hover { background: var(--surface-raised); border-color: var(--subtle); }
.button-small { min-height: 37px; padding: 8px 13px; gap: 12px; font-size: 11px; }
.button-small .icon { width: 15px; height: 15px; }
.button-full { width: 100%; justify-content: space-between; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; }
.text-link:hover { color: var(--accent); }
.text-link .icon { width: 16px; height: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 8px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; }
.icon-button:hover { background: var(--surface-raised); color: var(--text); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 23px; font-weight: 700; letter-spacing: -.065em; }
.brand-mark, .brand-dot { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: 20px; }
.main-nav a { position: relative; color: var(--muted); font-size: 12px; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after { position: absolute; bottom: -32px; left: 0; right: 0; height: 2px; background: var(--accent); content: ""; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; padding-top: 74px; padding-bottom: 63px; }
.small-spark { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.hero h1 { margin: 22px 0 23px; font-size: clamp(44px, 5.4vw, 68px); font-weight: 600; line-height: 1.08; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.hero-copy > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 30px; }
.hero-actions .text-link { color: var(--muted); }
.hero-actions .text-link:hover { color: var(--text); }
.hero-footnote { display: flex; align-items: center; gap: 8px; margin-top: 35px; color: var(--subtle); font-size: 10px; }
.tiny-square { width: 4px; height: 4px; background: var(--subtle); }
.hero-feature { min-width: 0; overflow: hidden; border: 1px solid #354035; border-radius: 12px; background: #19201b; color: #eaece5; transition: border-color .2s; }
.hero-feature:hover { border-color: #7b7e5c; }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 22px 0; }
.feature-top .eyebrow { color: #a1ac9b; }
.tag { display: inline-block; padding: 4px 8px; border: 1px solid #475043; border-radius: 4px; font-size: 9px; }
.tag-dark { background: #161d19; color: #c4ccbd; }
.feature-map { position: relative; min-height: 250px; }
.feature-map > svg { width: 100%; height: 260px; }
.map-contours { stroke: #344137; stroke-width: .7; }
.map-route { stroke: #e8a369; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 4 5; }
.map-point { fill: #e8a369; }
.map-pulse { stroke: #e8a369; stroke-opacity: .4; }
.map-coordinate { position: absolute; top: 27px; left: 23px; color: #7d8e7a; font: 8px ui-monospace, monospace; letter-spacing: .08em; }
.map-label { position: absolute; bottom: 22px; left: 23px; color: #d4ddc9; font-size: 24px; font-weight: 500; letter-spacing: -.05em; line-height: 1.15; }
.feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px; border-top: 1px solid #354035; }
.feature-bottom .micro-label { color: #94a38e; font-size: 10px; }
.feature-bottom h2 { margin: 3px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -.045em; }
.feature-bottom h2 span { margin-left: 5px; color: #91a08a; font: 10px ui-monospace, monospace; letter-spacing: 0; }
.round-arrow { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #44513f; border-radius: 50%; color: #c0cca9; }
.category-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-strip > span { color: var(--subtle); font-size: 11px; }
.category-strip > div { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 11px; }
.category-strip div > span { color: var(--subtle); }
.category-strip a { color: var(--muted); }
.category-strip a:hover { color: var(--accent); }
.collection { padding-top: 54px; padding-bottom: 54px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.section-heading h2 { margin: 9px 0 0; font-size: 27px; font-weight: 500; letter-spacing: -.045em; line-height: 1.25; }
.section-heading > .text-link { padding-bottom: 3px; color: var(--muted); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.catalog-tabs { display: flex; gap: 5px; }
.catalog-tabs a { padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 11px; }
.catalog-tabs a:hover { color: var(--text); }
.catalog-tabs a.selected { color: var(--text); border-color: var(--line); background: var(--surface-raised); }
.catalog-filter { display: flex; align-items: center; gap: 10px; }
.search-field { display: flex; align-items: center; gap: 9px; width: 221px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.search-field .icon { width: 15px; height: 15px; color: var(--subtle); }
.search-field input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font-size: 11px; }
.search-field:focus-within { border-color: var(--accent); }
.search-field input::placeholder { color: var(--subtle); }
.catalog-filter select { max-width: 170px; padding: 9px 25px 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 10px; }
.catalog-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 17px 0; color: var(--subtle); font-size: 10px; }
.member-note { display: flex; align-items: center; gap: 5px; }
.member-note .icon { width: 11px; height: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: var(--subtle); transform: translateY(-3px); }
.product-art { position: relative; display: block; height: 177px; overflow: hidden; background: var(--art-bg); color: var(--art-ink); }
.art-orange { --art-bg: #bb8054; --art-ink: #3a2b20; --art-highlight: #ffd4a8; }
.art-violet { --art-bg: #7978a5; --art-ink: #2c2b46; --art-highlight: #c9c5f5; }
.art-mint { --art-bg: #8aab98; --art-ink: #263e33; --art-highlight: #d5e6c3; }
.art-blue { --art-bg: #7596ad; --art-ink: #253b4c; --art-highlight: #c4e1ed; }
.art-rose { --art-bg: #ac7c82; --art-ink: #4a2b32; --art-highlight: #f4c1ba; }
.art-amber { --art-bg: #b3a375; --art-ink: #413922; --art-highlight: #f4e8b0; }
.art-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, var(--art-ink) 1px, transparent 1px), linear-gradient(to bottom, var(--art-ink) 1px, transparent 1px); background-size: 32px 32px; opacity: .09; mask-image: linear-gradient(135deg, #000, transparent 80%); }
.art-category { position: absolute; top: 16px; left: 17px; font-size: 9px; letter-spacing: .02em; }
.art-name { position: absolute; bottom: 31px; left: 17px; font-size: 24px; font-weight: 600; letter-spacing: -.055em; }
.art-name > span { opacity: .45; }
.art-runtime { position: absolute; bottom: 15px; left: 18px; font: 8px ui-monospace, monospace; letter-spacing: .03em; }
.art-open { position: absolute; right: 15px; bottom: 17px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid color-mix(in srgb, var(--art-ink) 25%, transparent); border-radius: 50%; }
.art-open .icon { width: 13px; height: 13px; }
.package-mark { position: absolute; display: block; top: 38px; right: 26px; width: 95px; height: 95px; color: var(--art-highlight); }
.package-mark i { position: absolute; display: block; }
.mark-route i:nth-child(1) { width: 56px; height: 52px; top: 21px; left: 15px; border: 8px solid currentColor; border-bottom: 0; border-left: 0; border-radius: 0 8px 0 0; }
.mark-route i:nth-child(2) { width: 41px; height: 27px; top: 49px; left: -9px; border: 8px solid currentColor; border-top: 0; border-right: 0; border-radius: 0 0 0 8px; }
.mark-route i:nth-child(3) { width: 16px; height: 16px; top: 13px; right: 13px; border: 3px solid var(--art-bg); border-radius: 50%; background: currentColor; outline: 1px solid currentColor; }
.mark-chain i { width: 58px; height: 33px; border: 8px solid currentColor; border-radius: 25px; transform: rotate(-40deg); }
.mark-chain i:nth-child(1) { top: 13px; left: 32px; }
.mark-chain i:nth-child(2) { top: 42px; left: 2px; }
.mark-chain i:nth-child(3) { width: 30px; height: 8px; top: 43px; left: 34px; border: 0; border-radius: 0; background: currentColor; }
.mark-frame i { width: 38px; height: 38px; border: 7px solid currentColor; }
.mark-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.mark-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.mark-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.mark-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.mark-queue i { width: 67px; height: 14px; left: 14px; border-radius: 3px; background: currentColor; transform: skew(-20deg); }
.mark-queue i:nth-child(1) { top: 14px; }
.mark-queue i:nth-child(2) { top: 40px; left: 7px; opacity: .75; }
.mark-queue i:nth-child(3) { top: 66px; left: 0; opacity: .45; }
.mark-orbit { border: 2px solid currentColor; border-radius: 50%; }
.mark-orbit::before { position: absolute; inset: 19px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.mark-orbit i:nth-child(1) { width: 20px; height: 20px; top: 35px; left: 35px; border-radius: 50%; background: currentColor; }
.mark-orbit i:nth-child(2) { width: 15px; height: 15px; top: 6px; right: 4px; border: 4px solid var(--art-bg); border-radius: 50%; background: currentColor; }
.mark-grid i { width: 33px; height: 33px; background: currentColor; border-radius: 4px; }
.mark-grid i:nth-child(1) { top: 9px; left: 9px; }
.mark-grid i:nth-child(2) { top: 9px; right: 9px; opacity: .65; }
.mark-grid i:nth-child(3) { bottom: 9px; left: 9px; opacity: .65; }
.mark-grid i:nth-child(4) { bottom: 9px; right: 9px; opacity: .3; }
.product-card-body { padding: 17px 18px 0; }
.product-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card-title h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.04em; }
.type-badge { padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 9px ui-monospace, monospace; text-transform: capitalize; }
.product-card-body > p { min-height: 37px; margin: 9px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 0; border-top: 1px solid var(--line); }
.version { color: var(--muted); font: 9px ui-monospace, monospace; }
.version > span { color: var(--subtle); }
.product-card-footer .text-link { font-size: 10px; }
.product-card-footer .icon { width: 13px; height: 13px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; color: var(--subtle); font-size: 11px; }
.pagination > div { display: flex; gap: 8px; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 10px; text-align: center; }
.empty-search { display: inline-flex; color: var(--subtle); }
.empty-state h3 { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.empty-state p { color: var(--muted); }
.session-banner { display: flex; align-items: center; gap: 35px; margin-bottom: 65px; padding: 31px 37px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.session-symbol { display: grid; place-items: center; width: 72px; height: 72px; flex-shrink: 0; border: 1px solid #46533d; border-radius: 50%; color: #c6d39b; background: #252f22; }
.session-symbol .icon { width: 27px; height: 27px; }
.session-banner h2 { margin: 8px 0 10px; font-size: 26px; font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.session-banner p { margin: 0; color: var(--muted); font-size: 11px; }
.session-banner > .button { margin-left: auto; white-space: nowrap; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px 0 37px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 18px; font-weight: 600; letter-spacing: -.055em; }
.site-footer p { margin: 5px 0 0; color: var(--subtle); font-size: 10px; }
.footer-links { display: flex; gap: 22px; color: var(--muted); font-size: 10px; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--subtle); font-size: 9px; }
.listing-page, .detail-page { padding-top: 48px; padding-bottom: 72px; }
.page-intro { max-width: 650px; margin: 15px 0 45px; }
.page-intro h1 { margin: 15px 0 17px; font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -.06em; }
.page-intro p { max-width: 520px; color: var(--muted); line-height: 1.9; }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 11px; }
.back-link:hover { color: var(--text); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 45px; }
.detail-art { height: 320px; border-radius: 12px; }
.detail-art .package-mark { top: 64px; right: 70px; transform: scale(1.7); }
.detail-art .art-category { top: 26px; left: 29px; font-size: 11px; }
.detail-art .art-name { left: 28px; bottom: 52px; font-size: 51px; }
.detail-art .art-runtime { left: 30px; bottom: 30px; font-size: 11px; }
.detail-description { padding-top: 33px; }
.detail-description h2 { max-width: 540px; margin: 12px 0 17px; font-size: 29px; font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.detail-description > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.feature-list { padding: 0; margin: 26px 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.feature-list .icon { width: 16px; height: 16px; color: var(--accent); }
.access-card { padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.access-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.access-card-heading .eyebrow { font-size: 8px; }
.access-card h1 { margin: 21px 0 5px; font-size: 38px; line-height: 1.2; font-weight: 500; letter-spacing: -.055em; }
.access-card > p { color: var(--muted); font-size: 12px; }
.package-facts { margin: 25px 0; border-top: 1px solid var(--line); }
.package-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.package-facts dt { color: var(--subtle); }
.package-facts dd { margin: 0; text-align: right; }
.access-footnote { display: flex; align-items: flex-start; gap: 7px; margin-top: 16px; color: var(--subtle); font-size: 10px; }
.access-footnote .icon { width: 12px; height: 12px; margin-top: 2px; }
.release-box { margin-top: 30px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.release-box h3 { margin: 0 0 5px; font-size: 15px; font-weight: 500; }
.release-box ul { padding-left: 17px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.release-box li + li { margin-top: 6px; }
.stream-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stream-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stream-art { position: relative; display: grid; place-items: center; height: 200px; overflow: hidden; background: var(--art-bg); color: var(--art-ink); }
.stream-art .tag { position: absolute; left: 16px; top: 16px; }
.stream-play { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid currentColor; border-radius: 50%; transition: transform .2s; }
.stream-card:hover .stream-play { transform: scale(1.08); }
.stream-play .icon { width: 28px; height: 28px; }
.stream-duration { position: absolute; right: 16px; bottom: 15px; font: 10px ui-monospace, monospace; }
.stream-body { padding: 22px; }
.stream-body .micro-label { font-size: 9px; }
.stream-body h2 { margin: 10px 0; font-size: 22px; font-weight: 500; letter-spacing: -.045em; line-height: 1.25; }
.stream-body p { min-height: 76px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.watch-layout { max-width: 940px; margin-inline: auto; }
.locked-player { position: relative; display: grid; place-items: center; min-height: 400px; overflow: hidden; border-radius: 12px; background: color-mix(in srgb, var(--art-bg) 12%, var(--bg)); }
.locked-player .art-grid { opacity: .15; }
.locked-player-content { z-index: 1; text-align: center; padding: 35px 20px; }
.player-lock { display: flex; justify-content: center; margin-bottom: 20px; color: var(--accent); }
.player-lock .icon { width: 30px; height: 30px; }
.locked-player h2 { margin: 14px 0 25px; font-size: 36px; font-weight: 500; letter-spacing: -.055em; line-height: 1.2; }
.player-duration { position: absolute; bottom: 18px; left: 23px; color: var(--subtle); font: 10px ui-monospace, monospace; }
.watch-description { display: flex; align-items: start; justify-content: space-between; gap: 35px; margin-top: 35px; }
.watch-description h1 { margin: 11px 0 15px; font-size: 32px; font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.watch-description p { max-width: 540px; color: var(--muted); }
.related-tool { flex-shrink: 0; width: 250px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.related-tool strong { display: block; margin: 5px 0 15px; font-size: 19px; font-weight: 500; }
.related-tool strong > span { color: var(--subtle); font: 9px ui-monospace, monospace; }
.release-feed { max-width: 870px; }
.release-item { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.release-item > time { padding-top: 4px; color: var(--subtle); font: 11px ui-monospace, monospace; }
.release-heading { display: flex; align-items: center; gap: 15px; }
.release-heading h2 { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.release-version { color: var(--accent); font: 10px ui-monospace, monospace; }
.release-item ul { padding-left: 17px; color: var(--muted); font-size: 12px; }
.release-item li + li { margin-top: 6px; }
.release-item .text-link { margin-top: 7px; font-size: 11px; }
.auth-page { display: grid; grid-template-columns: 1fr 400px; align-items: center; gap: 100px; min-height: 690px; padding-top: 60px; padding-bottom: 65px; }
.auth-story h1 { margin: 18px 0 20px; font-size: 48px; font-weight: 500; letter-spacing: -.055em; line-height: 1.1; }
.auth-story > p { max-width: 345px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.auth-story-note { color: var(--subtle); font-size: 10px; }
.auth-illustration { position: relative; width: 320px; height: 260px; margin: 25px 0 15px; }
.auth-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 100px; height: 100px; }
.orbit-two { width: 180px; height: 180px; }
.orbit-three { width: 255px; height: 255px; }
.auth-center { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 14px; transform: translate(-50%, -50%) rotate(-9deg); background: var(--surface); }
.auth-center .brand-mark { width: 35px; height: 35px; }
.orbit-label { position: absolute; padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--subtle); background: var(--bg); font: 8px ui-monospace, monospace; letter-spacing: .07em; }
.orbit-label-one { top: 40px; left: 50px; }
.orbit-label-two { top: 119px; right: 9px; }
.orbit-label-three { bottom: 27px; left: 88px; }
.auth-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.auth-card .back-link { display: block; margin-bottom: 33px; font-size: 10px; }
.auth-card h2 { margin: 12px 0 8px; font-size: 27px; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; }
.auth-description { margin: 0 0 27px; color: var(--muted); font-size: 11px; }
.auth-form > label, .password-label label { display: block; margin-bottom: 8px; font-size: 11px; }
.auth-form input:not([type="hidden"]) { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; background: var(--bg); color: var(--text); font-size: 12px; }
.auth-form input:not([type="hidden"]):focus { border-color: var(--accent); }
.auth-form input::placeholder { color: var(--subtle); }
.password-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 20px; }
.password-label a { color: var(--muted); font-size: 9px; }
.password-label a:hover { color: var(--accent); }
.password-field { position: relative; }
.password-field input { padding-right: 44px !important; }
.password-field .icon-button { position: absolute; top: 5px; right: 5px; }
.password-field .icon { width: 17px; height: 17px; }
.auth-submit { margin-top: 24px; }
.auth-return { justify-content: center; width: 100%; margin-top: 19px; color: var(--muted); font-size: 11px; }
.membership-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.membership-note .icon { width: 13px; height: 13px; margin-top: 2px; color: var(--subtle); }
.membership-note p { margin: 0; color: var(--subtle); font-size: 9px; line-height: 1.8; }
.form-notice { padding: 11px 12px; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.form-error { color: var(--error); background: color-mix(in srgb, var(--error) 5%, var(--bg)); border-color: color-mix(in srgb, var(--error) 30%, var(--line)); }
.form-success { color: var(--success); background: color-mix(in srgb, var(--success) 5%, var(--bg)); }
.loading-spinner { display: none; width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.htmx-request .auth-submit .loading-spinner { display: block; }
.htmx-request .auth-submit .submit-arrow { display: none; }
.htmx-request .auth-submit { opacity: .75; pointer-events: none; }
.error-page { padding-top: 100px; padding-bottom: 130px; }
.error-page h1 { margin: 20px 0; font-size: 57px; font-weight: 500; letter-spacing: -.06em; line-height: 1.1; }
.error-page p { margin-bottom: 30px; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1500px) { .hero { padding-top: 90px; padding-bottom: 75px; } }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { gap: 20px; }
  .main-nav { gap: 19px; margin-left: 0; }
  .header-actions { gap: 8px; }
  .header-actions .button { gap: 8px; }
  .hero { gap: 35px; }
  .hero h1 { font-size: 55px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { padding-inline: 14px; }
  .product-grid { gap: 16px; }
  .version > span { display: none; }
  .detail-grid { gap: 27px; grid-template-columns: minmax(0, 1fr) 310px; }
  .auth-page { gap: 55px; grid-template-columns: 1fr 370px; }
}
@media (max-width: 800px) {
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: 15px; }
  .brand { font-size: 22px; }
  .menu-toggle { display: inline-flex; margin-left: auto; order: 2; }
  .header-actions { margin-left: auto; order: 1; }
  .main-nav { display: none; order: 3; flex-basis: 100%; padding: 3px 0 20px; gap: 26px; }
  .nav-open .main-nav { display: flex; }
  .main-nav a.active::after { bottom: -7px; }
  .hero { gap: 27px; padding-top: 45px; padding-bottom: 42px; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 17px; }
  .hero-footnote { margin-top: 25px; }
  .feature-top { padding: 16px 16px 0; }
  .feature-top .eyebrow { font-size: 8px; }
  .feature-map, .feature-map > svg { min-height: 225px; height: 225px; }
  .feature-bottom { padding: 16px; }
  .feature-bottom h2 { font-size: 23px; }
  .category-strip { align-items: flex-start; flex-direction: column; gap: 12px; }
  .category-strip > div { gap: 17px; }
  .section-heading h2 { font-size: 24px; }
  .catalog-toolbar { flex-wrap: wrap; gap: 16px; }
  .catalog-filter { width: 100%; }
  .search-field { flex: 1; width: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session-banner { gap: 23px; flex-wrap: wrap; padding: 27px; }
  .session-banner > .button { margin-left: 95px; }
  .site-footer { flex-wrap: wrap; }
  .copyright { flex-basis: 100%; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .access-card { grid-row: 1; }
  .access-card .button { max-width: 340px; }
  .package-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .detail-art { height: 300px; }
  .stream-grid { grid-template-columns: 1fr; }
  .stream-card { display: grid; grid-template-columns: .8fr 1fr; }
  .stream-art { height: 100%; min-height: 210px; }
  .stream-body p { min-height: 0; }
  .watch-description { flex-direction: column; }
  .related-tool { width: 100%; }
  .auth-page { grid-template-columns: 1fr; gap: 35px; max-width: 520px; }
  .auth-story h1 { font-size: 40px; }
  .auth-story h1 br { display: none; }
  .auth-story > p { max-width: none; }
  .auth-illustration, .auth-story-note { display: none; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { gap: 7px; min-height: 68px; }
  .brand { font-size: 21px; gap: 3px; }
  .brand-mark { width: 24px; height: 24px; }
  .header-actions .button { font-size: 9px; padding: 7px 9px; min-height: 33px; }
  .header-actions .button .icon { display: none; }
  .theme-toggle { display: none; }
  .main-nav { justify-content: space-between; gap: 7px; }
  .main-nav a { font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding-top: 37px; gap: 30px; }
  .hero h1 { font-size: 53px; margin-top: 18px; }
  .hero-copy > p { max-width: 355px; font-size: 13px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 17px; margin-top: 24px; }
  .hero-actions .text-link { font-size: 10px; }
  .hero-actions .button { font-size: 11px; gap: 12px; }
  .hero-footnote { margin-top: 20px; }
  .feature-map, .feature-map > svg { height: 245px; }
  .category-strip > div { font-size: 10px; gap: 11px; }
  .category-strip > span { font-size: 10px; }
  .collection { padding-top: 37px; padding-bottom: 37px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading > .text-link { font-size: 10px; }
  .catalog-tabs { gap: 2px; }
  .catalog-tabs a { padding-inline: 13px; }
  .catalog-filter { gap: 7px; }
  .catalog-filter select { max-width: 135px; padding-right: 18px; font-size: 9px; }
  .search-field { padding-inline: 9px; }
  .search-field input { font-size: 10px; }
  .catalog-summary { font-size: 9px; }
  .member-note { font-size: 8px; }
  .product-grid { grid-template-columns: 1fr; gap: 19px; }
  .product-art { height: 189px; }
  .product-card-body > p { min-height: 0; }
  .version > span { display: inline; }
  .session-banner { gap: 18px; padding: 24px; margin-bottom: 45px; }
  .session-symbol { width: 49px; height: 49px; }
  .session-symbol .icon { width: 21px; height: 21px; }
  .session-banner > div:nth-child(2) { flex: 1; }
  .session-banner h2 { font-size: 22px; }
  .session-banner p { font-size: 10px; }
  .session-banner > .button { margin-left: 67px; font-size: 10px; }
  .site-footer { gap: 21px; }
  .footer-links { gap: 18px; font-size: 9px; }
  .page-intro { margin-top: 2px; margin-bottom: 30px; }
  .page-intro h1 { font-size: 39px; }
  .page-intro p { font-size: 12px; }
  .listing-page, .detail-page { padding-top: 35px; padding-bottom: 45px; }
  .detail-art { height: 260px; }
  .detail-art .package-mark { top: 47px; right: 30px; transform: scale(1.3); }
  .detail-art .art-name { font-size: 39px; }
  .package-facts { grid-template-columns: 1fr; }
  .detail-description h2 { font-size: 25px; }
  .stream-card { display: block; }
  .stream-art { height: 200px; }
  .locked-player { min-height: 340px; }
  .locked-player h2 { font-size: 29px; }
  .watch-description h1 { font-size: 29px; }
  .release-item { grid-template-columns: 1fr; gap: 12px; }
  .release-heading h2 { font-size: 22px; }
  .auth-page { padding-top: 37px; padding-bottom: 45px; gap: 25px; min-height: 0; }
  .auth-story h1 { font-size: 37px; }
  .auth-card { padding: 25px 22px; }
  .auth-card h2 { font-size: 26px; }
  .error-page { padding-top: 65px; padding-bottom: 80px; }
  .error-page h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
