:root {
  color-scheme: dark;
  --bg: #101010;
  --surface: #1b1b1b;
  --raised: #232323;
  --line: #383838;
  --line-soft: #2c2c2c;
  --text: #f0f0f0;
  --muted: #a9a9a9;
  --dim: #858585;
  --accent: #e6e6e6;
  --good: #7edc9f;
  --bad: #ff9b9b;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: radial-gradient(circle at 20% -12%, rgba(105,105,105,.18), transparent 33%), linear-gradient(#141414 0, var(--bg) 400px); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 2px solid #e1e1e1; outline-offset: 3px; }
.skip-link { position: fixed; top: -60px; left: 14px; z-index: 100; padding: 10px 14px; color: #101010; background: #fff; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.topbar { display: flex; align-items: center; min-height: 72px; padding: 0 clamp(18px, 3vw, 48px); border-bottom: 1px solid var(--line-soft); background: rgba(16,16,16,.87); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #f5f5f5; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: .12em; }
.brand-period { color: #bababa; margin-left: -10px; }
.brand-mark { width: 25px; height: 24px; display: flex; align-items: flex-end; gap: 3px; transform: skewX(-9deg); }
.brand-mark i { display: block; width: 4px; border-radius: 1px; background: #bdbdbd; }
.brand-mark i:nth-child(1) { height: 9px; opacity: .6; }
.brand-mark i:nth-child(2) { height: 15px; opacity: .8; }
.brand-mark i:nth-child(3) { height: 12px; }
.brand-mark i:nth-child(4) { height: 21px; }
.header-divider { width: 1px; height: 27px; margin: 0 23px; background: var(--line); }
.header-title, .eyebrow, .page-label, .site-footer, .session-indicator, .count-badge { font: 700 10px/1.45 var(--mono); letter-spacing: .11em; }
.header-title { color: #a8a8a8; white-space: nowrap; }
.top-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.top-nav a { padding: 10px 13px; border-radius: 3px; color: var(--muted); text-decoration: none; text-transform: uppercase; white-space: nowrap; font: 700 10px var(--mono); letter-spacing: .05em; }
.top-nav a:hover, .top-nav a[aria-current="page"] { background: #252525; color: #f5f5f5; }
.account-main { width: min(1260px, 100%); min-height: calc(100vh - 125px); margin: auto; padding: 34px clamp(18px, 3vw, 48px) 55px; }
.page-label { display: flex; align-items: center; gap: 9px; margin-bottom: 32px; color: #aaa; }
.label-dot { width: 5px; height: 5px; border-radius: 50%; background: #ddd; box-shadow: 0 0 10px #aaa; }
.eyebrow { color: #b6b6b6; }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, 450px); align-items: start; gap: clamp(32px, 7vw, 110px); padding-top: clamp(18px, 4.5vw, 70px); }
.entry-intro h1 { margin: 14px 0 20px; font-size: clamp(42px, 5.3vw, 75px); line-height: 1.04; letter-spacing: -.065em; font-weight: 720; }
.entry-intro h1 em { color: #bdbdbd; font-style: normal; font-weight: 450; }
.entry-intro > p { max-width: 550px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.benefit-list { width: min(500px, 100%); margin: 43px 0 28px; border-top: 1px solid var(--line); }
.benefit { display: flex; align-items: center; gap: 23px; padding: 17px 4px; border-bottom: 1px solid var(--line-soft); }
.benefit-number { width: 27px; color: #888; font: 700 11px var(--mono); }
.benefit strong { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 660; }
.benefit small { display: block; color: var(--dim); font-size: 12px; line-height: 1.45; }
.entry-intro .entry-footnote { max-width: 470px; padding-left: 13px; border-left: 2px solid #777; color: #939393; font-size: 11px; line-height: 1.6; }
.entry-side { display: grid; gap: 13px; }
.auth-card, .panel { border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(150deg, #212121, #191919 47%, #171717); box-shadow: 0 22px 50px rgba(0,0,0,.16); }
.auth-card { padding: 28px; }
.auth-card-head h2 { margin: 5px 0 4px; font-size: 23px; letter-spacing: -.04em; }
.auth-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 25px 0 21px; padding: 4px; border: 1px solid #343434; border-radius: 5px; background: #151515; }
.auth-tabs button { padding: 11px 8px; border: 0; border-radius: 3px; color: #a0a0a0; background: transparent; font-size: 11px; font-weight: 700; }
.auth-tabs button[aria-pressed="true"] { color: #111; background: #e7e7e7; }
.auth-card form label { display: block; margin: 17px 0 7px; color: #c8c8c8; font-size: 11px; font-weight: 650; }
.auth-card form input, .watch-form input { width: 100%; min-width: 0; height: 44px; padding: 0 13px; border: 1px solid #4a4a4a; border-radius: 3px; color: var(--text); background: #131313; font-size: 13px; }
.auth-card form input::placeholder, .watch-form input::placeholder { color: #737373; opacity: 1; }
.auth-card form input:focus, .watch-form input:focus { outline: none; border-color: #d3d3d3; box-shadow: 0 0 0 2px #e0e0e025; }
.auth-card form input[aria-invalid="true"], .watch-form input[aria-invalid="true"] { border-color: #d78585; }
.text-button { display: block; margin: 12px 0 0 auto; padding: 3px 0; border: 0; color: #c6c6c6; background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: #fff; }
.form-intro { margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.primary-button, .watch-input-row button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #eee; border-radius: 3px; color: #111; background: #e7e7e7; font-size: 11px; font-weight: 750; letter-spacing: .03em; }
.primary-button { margin-top: 24px; }
.primary-button:hover, .watch-input-row button:hover { background: #fff; }
.primary-button span, .watch-input-row button span { font-size: 18px; font-weight: 400; }
.field-hint { margin: 9px 0 -2px; color: var(--dim); font-size: 11px; line-height: 1.45; }
.auth-card-foot { margin: 21px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); color: #8d8d8d; font-size: 10px; line-height: 1.5; }
.form-notice, .notice { padding: 11px 12px; border: 1px solid #555; border-radius: 3px; color: #dedede; background: #272727; font-size: 12px; line-height: 1.5; }
.form-notice { margin: 0 0 16px; }
.notice { margin-bottom: 22px; }
.form-notice[data-tone="error"], .notice[data-tone="error"] { border-color: #8d5656; color: #ffc0c0; background: #301d1d; }
.form-notice[data-tone="success"], .notice[data-tone="success"] { border-color: #4f7560; color: #c3efd1; background: #1b2a21; }
.access-note { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid #333; border-radius: 5px; background: #171717; }
.access-icon { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border: 1px solid #555; border-radius: 3px; color: #ccc; font-size: 16px; }
.access-note strong { display: block; margin: 1px 0 5px; font-size: 12px; }
.access-note p { margin: 0; color: var(--dim); font-size: 11px; line-height: 1.5; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 29px 0 28px; }
.dashboard-heading h1 { margin: 6px 0; font-size: clamp(35px, 4vw, 53px); line-height: 1.05; letter-spacing: -.055em; }
.dashboard-heading h1 span { color: #a5a5a5; }
.dashboard-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.secondary-button { padding: 10px 14px; border: 1px solid #676767; border-radius: 3px; color: #dedede; background: #242424; white-space: nowrap; font: 700 10px var(--mono); text-transform: uppercase; }
.secondary-button:hover { border-color: #aaa; background: #303030; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .8fr); align-items: start; gap: 16px; }
.watchlist-card { padding: 25px; min-height: 420px; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.panel-heading h2 { display: flex; align-items: center; gap: 13px; margin: 6px 0 0; font-size: 24px; letter-spacing: -.035em; }
.count-badge { min-width: 27px; padding: 3px 6px; border: 1px solid #626262; border-radius: 3px; text-align: center; color: #ddd; background: #303030; font-size: 10px; }
.panel-ornament { color: #aaa; font-size: 27px; line-height: 1; }
.panel-description { max-width: 610px; margin: 14px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.watch-form { margin-bottom: 20px; }
.watch-form label, .list-head { color: #aaa; font: 700 10px var(--mono); letter-spacing: .1em; }
.watch-form label { display: block; margin-bottom: 7px; }
.watch-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.watch-form input { text-transform: uppercase; font: 700 13px var(--mono); }
.watch-input-row button { width: auto; gap: 17px; }
.list-head { display: flex; justify-content: space-between; padding: 12px 3px 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.watch-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 3px; border-bottom: 1px solid var(--line-soft); }
.ticker-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #5e5e5e; border-radius: 4px; color: #ddd; background: #303030; font: 700 12px var(--mono); }
.watch-row a { display: inline-block; font: 750 13px var(--mono); text-decoration: none; }
.watch-row a:hover { text-decoration: underline; }
.watch-row small { display: block; margin-top: 3px; color: var(--dim); font-size: 10px; }
.remove-button { padding: 7px 9px; border: 1px solid #4c4c4c; border-radius: 3px; color: #bdbdbd; background: #222; font-size: 10px; }
.remove-button:hover { border-color: #aaa; color: #fff; }
.empty-watch { padding: 44px 15px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.6; }
.account-rail { display: grid; gap: 13px; }
.identity-card, .availability-card { padding: 23px; }
.identity-avatar { display: grid; place-items: center; width: 45px; height: 45px; margin: 21px 0 13px; border: 1px solid #858585; border-radius: 5px; color: #fff; background: linear-gradient(140deg, #545454, #333); font-size: 22px; font-weight: 800; }
.identity-card h2, .availability-card h2 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.025em; }
.identity-card p { margin: 0 0 16px; color: #bbb; overflow-wrap: anywhere; font-size: 12px; }
.session-indicator { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid #536d5b; border-radius: 3px; color: #addcba; background: #213026; font-size: 9px; }
.session-indicator i { width: 5px; height: 5px; border-radius: 50%; background: var(--good); }
.availability-card h2 { margin: 12px 0 9px; }
.availability-card p { margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.availability-card a { display: inline-flex; align-items: center; gap: 9px; color: #e0e0e0; font: 700 10px var(--mono); text-decoration: none; text-transform: uppercase; }
.availability-card a:hover { text-decoration: underline; }
.rail-footnote { margin: 1px 3px; color: #858585; font-size: 10px; line-height: 1.5; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; max-width: 1260px; margin: auto; padding: 15px clamp(18px, 3vw, 48px) 30px; border-top: 1px solid var(--line-soft); color: #777; font-size: 9px; }
@media (max-width: 850px) {
  .entry-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 15px; }
  .entry-intro h1 { font-size: clamp(43px, 8vw, 64px); }
  .benefit-list { margin-top: 30px; }
  .entry-side { max-width: 540px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .account-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-footnote { grid-column: 1 / -1; }
}
@media (max-width: 610px) {
  .topbar { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .header-divider, .header-title { display: none; }
  .top-nav { order: 2; width: 100%; justify-content: space-between; margin: 0; border-top: 1px solid var(--line-soft); padding-top: 6px; }
  .top-nav a { padding: 8px 7px; font-size: 9px; }
  .account-main { padding: 26px 16px 40px; }
  .page-label { margin-bottom: 22px; }
  .entry-intro > p { font-size: 13px; }
  .entry-intro h1 { margin-top: 8px; }
  .auth-card { padding: 22px 19px; }
  .dashboard-heading { align-items: start; }
  .dashboard-heading p { font-size: 11px; }
  .watchlist-card { padding: 18px; }
  .watch-input-row { grid-template-columns: 1fr; }
  .watch-input-row button { width: 100%; }
  .account-rail { grid-template-columns: 1fr; }
  .site-footer { display: block; padding: 16px; }
  .site-footer span { display: block; margin: 3px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
