@font-face {
  font-family: Geist;
  src: url('/brand/23b5627f36b977cb.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Geist Mono;
  src: url('/brand/bdb480b42b3975f8.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Montserrat;
  src: url('/brand/99b337341df2cca6.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
:root {
  color-scheme: dark;
  --bg: #060a15;
  --navy: #080e1c;
  --panel: #101a30;
  --raised: #162542;
  --line: #283a5e;
  --ink: #edf2ff;
  --muted: #a2b2d1;
  --gold: #ffcd72;
  --finch: #a2bafa;
  --green: #7fe6b5;
  --red: #ffa2a0;
  font: 1rem/1.5 Geist, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 72% -18%, #162a56, transparent 58%),
  var(--bg); color: var(--ink); }
a { color: var(--finch); text-underline-offset: .24em; }
a:hover { color: #e2ebff; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: fixed; z-index: 10; background: var(--panel); padding: .6rem; top: .4rem;
  left: .4rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.mast, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem max(4vw, 1rem); border-bottom: 1px solid var(--line); background: #080e1c; }
.identity img { display: block; width: 6rem; max-height: 4rem; object-fit: contain; }
.mast nav, .actions, .section-title, .filters { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.mast nav a { color: var(--muted); text-decoration: none; white-space: nowrap; font-weight: 600; }
.mast nav a:hover { color: var(--ink); }
.member-shell { display: grid; grid-template-columns: 14.15rem minmax(0, 1fr); min-height: 100dvh; }
.rail { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh;
  background: linear-gradient(170deg, #0c1429, #070b17 66%); border-right: 1px solid #293655; }
.rail .identity { display: grid; place-items: center; min-height: 11rem; border-bottom: 1px solid #1d2a45; }
.rail .identity img { width: 11rem; max-height: 9.2rem; }
.rail .identity>span { display: grid; justify-items: center; align-content: center; padding-bottom: .65rem; }
.rail .identity strong { color: #f3c67d; line-height: 1.18; font-family: Montserrat,sans-serif; }
.rail .identity small { color: var(--muted); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.rail .identity { text-decoration: none; }
.rail nav { display: grid; padding: .9rem .7rem; gap: .35rem; }
.rail nav a { display: flex; align-items: center; gap: .75rem; padding: .56rem .72rem; font-weight: 650;
  color: var(--muted); border: 1px solid transparent; text-decoration: none; border-radius: .5rem; white-space: nowrap; }
.rail nav a span { display: grid; width: 1.3rem; font-size: 1.1rem; place-items: center; }
.rail nav a:hover { background: #142342; color: var(--ink); }
.rail nav a[aria-current] { color: #fff2d9; border-color: #b18b51;
  background: linear-gradient(100deg, #4b3827, #1b2846); box-shadow: inset 3px 0 var(--gold); }
.rail-bottom { margin-top: auto; padding: .9rem; }
.rail-plan { display: grid; gap: .22rem; padding: .85rem; background: #111a30;
  border: 1px solid var(--line); border-radius: .65rem; }
.rail-plan .muted { font-size: .72rem; letter-spacing: .08em; }
.rail-plan strong { color: var(--gold); }
.plain { background: none; padding: .1rem 0; border: 0; color: var(--muted); }
.workspace { min-width: 0; }
.preview { color: #f4d798; background: #111a2c; border-bottom: 1px solid var(--line);
  padding: .48rem 1.25rem; font-size: .84rem; }
main { width: min(100%, 87rem); padding: clamp(.9rem, 2.4vw, 2rem); min-height: 74vh; margin: auto; }
.public-shell main { max-width: 77rem; }
.foot { border-top: 1px solid var(--line); border-bottom: 0; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
h1, h2, p { margin: 0 0 .65em; }
h1, h2 { font-family: Montserrat, system-ui, sans-serif; line-height: 1.13; }
h1 { font-size: clamp(1.95rem, 4vw, 3.3rem); font-weight: 780; letter-spacing: -.035em; }
h2 { font-size: clamp(1.18rem, 2.3vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; }
h1 em { color: var(--gold); font-style: normal; }
.eyebrow { color: var(--gold); font-size: .75rem; letter-spacing: .115em; font-weight: 760; text-transform: uppercase; }
.homepage, .desk-banner { border: 1px solid #675538; border-radius: .9rem; overflow: hidden;
  background: linear-gradient(90deg, #080f20 4%, #080f20ed 37%, #111a2f57 100%),
  url('/brand/gig-hero.webp') center 54% / cover no-repeat; }
.homepage { min-height: 27rem; display: grid; align-content: center; padding: clamp(1.2rem, 5vw, 4rem); }
.homepage h1 { font-size: clamp(2.5rem, 6.8vw, 5.65rem); margin-bottom: .85rem; }
.lead { max-width: 36rem; color: #c2d0eb; font-size: 1.08rem; margin-bottom: 1.3rem; }
.desk-banner { padding: clamp(1.1rem, 3vw, 2.1rem); min-height: 10.8rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; flex-wrap: wrap; }
.desk-banner h1 { display: flex; align-items: center; gap: .72rem; margin-bottom: .35em; color: var(--gold); }
.desk-banner p:last-child { margin-bottom: 0; max-width: 38rem; color: #c9d4ec; }
.feature-icon { display: grid; place-items: center; flex-shrink: 0; border: 1px solid #8b6e43; background: #2c271e;
  width: 2.45rem; height: 2.45rem; border-radius: .65rem; font-size: 1.22rem; color: var(--gold); }
.quote { padding: .7rem .9rem; border: 1px solid #546581; background: #081226e8;
  border-radius: .65rem; min-width: min(100%, 12rem); }
.quote .eyebrow { color: #cfddf7; font-size: .65rem; }
.quote strong { display: block; font: 750 1.65rem/1.2 Montserrat, system-ui, sans-serif; }
.quote time { display: block; color: var(--muted); margin-top: .23rem; font-size: .83rem; }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none;
  border: 1px solid #dbab59; padding: .58rem .9rem; border-radius: .45rem;
  background: linear-gradient(#ffe1a0, #f3ba5e); color: #231708; font-weight: 760; white-space: nowrap; }
.mast nav a.button { color: #231708; }
.button:hover { color: #211508; background: #ffe6b5; }
.button.secondary { background: #142344; border-color: #445d8d; color: var(--ink); }
.button.secondary:hover { background: #263c66; }
.button.compact { padding: .43rem .68rem; font-size: .9rem; }
.card, .callout { padding: clamp(.85rem, 2vw, 1.35rem); border: 1px solid var(--line); border-radius: .7rem;
  background: linear-gradient(145deg, #121e37, #0e172a); }
.callout { margin-top: 1.2rem; }
.callout p { color: var(--muted); }
.split, .traders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,17rem),1fr)); gap: .85rem; }
.featured { border-color: #8e7142; background: linear-gradient(140deg, #25213a, #121a2f); }
.market { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; margin: .9rem 0; }
.market h2 { margin-bottom: .25rem; }.market p:last-child { margin-bottom: 0; font-size: .88rem; }
.market .eyebrow { margin-bottom: .25rem; }
.spark { display: grid; grid-template-columns: repeat(36, 1fr); gap: 2px; align-items: end;
  height: 3.2rem; flex: 0 1 20rem; border-bottom: 1px solid #315073; }
.spark i { display: block; height: var(--height); border-radius: 2px 2px 0 0;
  background: linear-gradient(#88a8fe, #385486); }
.summary-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .75rem; margin-top: .85rem; }
.summary-card { display: flex; align-items: center; gap: .67rem; text-decoration: none; color: var(--ink); }
.summary-card:hover { color: var(--ink); border-color: #729ceb; }
.summary-card:nth-child(2) { border-color: #745e43; }
.summary-card strong { display: block; font: 740 1.42rem/1.2 Montserrat, system-ui, sans-serif; margin: .15rem 0; }
.summary-card small { display: block; color: var(--muted); font-size: .76rem; }
.summary-card .muted { font-size: .86rem; }
.intro { margin-bottom: 1.15rem; }.intro h1 { margin: 0; }
.sign { max-width: 29rem; margin: 1.5rem auto;
  background: linear-gradient(145deg,#132442,#0c162c); border-color: #68563c; }
.auth-stage { margin: 0 auto; padding: clamp(.75rem,3vw,1.6rem);
  background: linear-gradient(90deg,#080f20ed,#080f20a8),url('/brand/gig-hero.webp') center / cover no-repeat;
  border: 1px solid #283a5e; border-radius: .85rem; }
.auth-logo { display: block; width: 8.8rem; max-height: 7rem; object-fit: contain; margin: .55rem auto .2rem; }
.sign form { display: grid; gap: .85rem; }.sign input { width: 100%; }
.sign label, .filters label { display: grid; gap: .3rem; font-size: .88rem; }
.sign p:last-child { margin-top: 1rem; }
input, select { background: #091327; border: 1px solid #3f5279; border-radius: .4rem;
  min-height: 2.3rem; color: var(--ink); padding: .38rem .54rem; min-width: 0; }
.muted, .empty { color: var(--muted); }
.notice { padding: .7rem .9rem; background: #2d251a; border: 1px solid #775c38; border-radius: .4rem;
  color: #f4ddab; margin: .8rem 0; }
.plans .amount { font: 770 clamp(2rem,5vw,3.7rem)/1.2 Montserrat, sans-serif; margin: .2rem 0; color: var(--gold); }
.amount small { font: .88rem Geist, sans-serif; color: var(--muted); }
.plans ul { padding-left: 1.4rem; min-height: 5rem; }
.section-title { justify-content: space-between; margin-bottom: .75rem; }.section-title h2 { margin: 0; }
.feed { margin: 0; padding: 0; list-style: none; }
.feed li { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; padding: .65rem 0;
  border-top: 1px solid var(--line); }.feed time { margin-left: auto; color: var(--muted); }
.side, .status-chip { display: inline-flex; justify-content: center; border-radius: .28rem; padding: .16rem .42rem;
  font-size: .76rem; font-weight: 750; white-space: nowrap; }
.side { border: 1px solid currentColor; min-width: 5.4rem; letter-spacing: .05em; }
.buy { background: #103b2e; }.sell { background: #422333; }
.buy, .win { color: var(--green); }.sell, .loss { color: var(--red); }
.status-chip { background: #1d3159; border: 1px solid #334e7e; text-transform: capitalize; }
.section-note { margin: .7rem 0 0; font-size: .88rem; }
.signal-filters, .intelligence, .history, .timeline, .desk-actions { margin-top: .9rem; }
.filters { align-items: end; }.filters label { flex: 1 1 7.6rem; }
.history { padding-bottom: .7rem; }.history h2 { margin: 0; }
.table-wrap { max-width: 100%; overflow: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 41rem; font-size: .88rem; }
th, td { padding: .62rem .56rem; border-bottom: 1px solid #243759; text-align: left; white-space: nowrap; }
th { padding-top: .55rem; padding-bottom: .55rem; color: #b9c9e7; background: #192844; font-size: .8rem; }
tbody tr:nth-child(even) { background: #15233b; }tbody tr:hover { background: #1b2d4d; }
td small { display: block; color: var(--muted); font-size: .72rem; }
td.level, .quote time { font-family: Geist Mono, monospace; }
.rank { display: grid; width: 1.85rem; height: 1.85rem; place-items: center; border-radius: 50%;
  background: #272a35; border: 1px solid #78623f; color: var(--gold); font-weight: 750; }
.pagination { display: flex; gap: 1rem; justify-content: flex-end; margin-top: .65rem; }
.trader-top { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.trader-top a { font-weight: 700; }.trader-top strong { font: 730 1.5rem Montserrat,sans-serif; color: var(--gold); }
.trader p { font-size: .84rem; margin: .4rem 0 0; }
.hours { height: 3.9rem; display: grid; grid-template-columns: repeat(24,1fr); align-items: end; gap: 2px;
  margin-top: .8rem; border-bottom: 1px solid #415780; }
.hours span { display: block; height: var(--height); background: #f0bc6e; border-radius: 2px 2px 0 0; }
.hours-label { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .7rem; }
.metrics div { padding: .65rem; border: 1px solid var(--line); border-radius: .35rem; }
.metrics dt { color: var(--muted); font-size: .83rem; }.metrics dd { margin: 0; }
@media(max-width: 1120px) {
  .summary-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 760px) {
  .member-shell { display: block; }.rail { height: auto; position: relative; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail .identity { min-height: 4.5rem; justify-content: start; padding-left: .9rem; border: 0; }.rail .identity img { width: 5.6rem; max-height: 4.1rem; }
  .rail .identity>span { display: flex; gap: .45rem; align-items: center; padding: 0; }.rail .identity strong { font-size: .75rem; }.rail .identity small { display: none; }
  .rail nav { display: flex; flex-wrap: wrap; padding: .15rem .55rem .6rem; gap: .2rem; }
  .rail nav a { gap: .25rem; padding: .32rem .46rem; font-size: .82rem; }.rail nav a span { width: .95rem; font-size: .9rem; }
  .rail-bottom { position: absolute; top: .36rem; right: .55rem; padding: 0; }.rail-plan { gap: .1rem; padding: .28rem .5rem; font-size: .78rem; }
  .rail-plan .muted { display: none; }.preview { padding: .36rem .9rem; }.desk-banner { min-height: 0; }
}
@media(max-width: 520px) {
  .mast { align-items: start; flex-direction: column; gap: .35rem; }.mast nav { gap: .7rem; font-size: .86rem; }
  .mast .identity img { max-height: 3rem; }.homepage { min-height: 22rem; }
  .market { align-items: stretch; flex-direction: column; gap: .7rem; }.spark { flex: none; width: 100%; height: 2.7rem; }
  .summary-card { display: block; }.summary-card .feature-icon { display: none; }
  .feed time { font-size: .82rem; }.desk-banner .quote { width: 100%; }
  .rail .identity strong { display: none; }
}
.admin-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem}
.admin-nav a{border:1px solid #2a3d51;border-radius:.65rem;padding:.6rem .85rem;text-decoration:none}
.admin-nav a[aria-current=page]{background:#17374d;border-color:#65c9ed;color:#e4f7ff}
.profile-form{display:grid;gap:.8rem;justify-items:start}
.profile-form label,.invite-link{width:100%;max-width:48rem}
.news-list{list-style:none;padding:0}
.news-list li{border-bottom:1px solid #2a3d51;padding:.8rem 0}
.news-list li p{margin:0 0 .3rem}
.rail{overflow-y:auto}

/* Gateway surfaces and controls */
:root {
  --radius: 15px;
  --control-radius: 10px;
  --accent: #91b8fb;
  --glass: #0d1628;
}
body {
  background: radial-gradient(ellipse at 15% 0%, #172748 0%, transparent 48rem),
    radial-gradient(ellipse at 94% 21%, #231d3c 0%, transparent 45rem), var(--bg);
}
.mast, .foot, .rail {
  background: linear-gradient(152deg, #101d34, #080d19 75%);
}
.homepage, .desk-banner, .auth-stage {
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 24px 54px #02050d80, inset 0 1px #ffe5b716;
}
.card, .callout, .quote, .rail-plan, .metrics div {
  border-radius: var(--radius);
  background: linear-gradient(144deg, #182945 0%, #111e34 48%, #0d1728 100%);
  box-shadow: 0 11px 26px #01050f66, inset 0 1px #bed7ff12;
}
.sign, .featured {
  background: radial-gradient(ellipse at 4% 0%, #55412e88, transparent 75%),
    linear-gradient(145deg, #1e2b42, #0f182b);
}
.preview {
  background: linear-gradient(90deg, #2c292a, #141c31 53%, #0d1629);
  border-color: #a78b524d;
}
.admin-nav { margin: .95rem 0 1.25rem; }
.mast nav a, .rail nav a, .admin-nav a, .button, .plain, .pagination a, .section-title a,
td a, .news-list a, .trader-action {
  border-radius: var(--control-radius);
}
.mast nav a:not(.button), .rail nav a, .admin-nav a, .plain, .pagination a, .section-title a, td a {
  border: 1px solid color-mix(in srgb, var(--accent) 23%, #10192a);
  background: linear-gradient(140deg, #1a2a43, #111b2e 78%);
}
.mast nav a:not(.button), .plain, .pagination a, .section-title a, td a {
  display: inline-block;
  padding: .32rem .63rem;
  color: #dae7ff;
  text-decoration: none;
}
.rail nav a:nth-child(2), .admin-nav a:nth-child(2) { --accent: #91e2db; }
.rail nav a:nth-child(3), .admin-nav a:nth-child(3) { --accent: #f8ce83; }
.rail nav a:nth-child(4), .admin-nav a:nth-child(4) { --accent: #bbbcfa; }
.rail nav a:nth-child(5), .admin-nav a:nth-child(5) { --accent: #f9a6be; }
.rail nav a:nth-child(6), .admin-nav a:nth-child(6) { --accent: #9ee0a8; }
.rail nav a:nth-child(7), .admin-nav a:nth-child(7) { --accent: #f5ab81; }
.rail nav a:nth-child(8) { --accent: #f4daa4; }
.rail nav a > span { color: var(--accent); }
.rail nav a[aria-current], .admin-nav a[aria-current] {
  color: #fff5df;
  border-color: color-mix(in srgb, var(--accent) 64%, #222b39);
  background: linear-gradient(105deg, color-mix(in srgb, var(--accent) 25%, #161c2c), #151d30 85%);
  box-shadow: inset 3px 0 var(--accent);
}
.button {
  min-height: 2.55rem;
  --accent: #fff4ce;
  border-color: #edbd72;
  background: linear-gradient(148deg, #ffedbd 0%, #f8ca7b 48%, #d59848);
  box-shadow: 0 6px 17px #0006, inset 0 1px #fff7dcaa;
}
.button:hover { background-color: #ffdfa3; }
.button.secondary {
  --accent: #b2d6ff;
  background: linear-gradient(144deg, #203650, #122239);
  border-color: #6084b5;
  box-shadow: inset 0 1px #d1e6ff1a, 0 5px 12px #04081377;
}
input, select {
  min-height: 2.65rem;
  border-radius: var(--control-radius);
  background: linear-gradient(155deg, #111d32, #091322 85%);
}
.filters { column-gap: 1rem; }
.table-wrap { border: 1px solid #2b405f; border-radius: 12px; }
.history .table-wrap { margin-top: .8rem; }
.news-list li {
  margin: .5rem 0;
  border: 1px solid #344863;
  border-radius: var(--control-radius);
  background: linear-gradient(135deg, #1c2d46, #111b2b);
  padding: .75rem .9rem;
}
.news-list a { font-weight: 650; }
.side, .status-chip { border-radius: 7px; }
.buy { background: linear-gradient(145deg, #194e3f, #123128); }
.sell { background: linear-gradient(145deg, #5a3040, #312035); }
.summary-card:nth-child(2) { --accent: #8de4bb; }
.summary-card:nth-child(3) { --accent: #f4b294; }
.summary-card:nth-child(4) { --accent: #c4b4f9; }
.summary-card, .trader {
  --surface: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--accent) 17%, #17243b), transparent 78%),
    linear-gradient(145deg, #172438, #0d1627 79%);
  position: relative;
  border-color: color-mix(in srgb, var(--accent) 34%, #202a40);
  background: var(--surface);
  box-shadow: inset 0 2px color-mix(in srgb, var(--accent) 62%, transparent), 0 10px 24px #02050d66;
  min-width: 0;
}
.summary-card .feature-icon { color: var(--accent); border-color: currentColor; background: #111b2b; }
.summary-card strong, .trader-top strong { color: var(--accent); }
.traders { gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.8rem), 1fr)); }
.trader { display: flex; flex-direction: column; align-items: stretch; min-height: 17.5rem; }
.trader-top a { color: var(--ink); text-decoration: none; }
.trader-top a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.trader-top a:focus-visible { outline: none; }
.trader:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.trader .hours span { background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 25%, #1a2640)); }
.trader-action {
  display: flex; justify-content: space-between; gap: .6rem;
  margin-top: auto; transform: translateY(.24rem); padding: .38rem .64rem;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, var(--glass));
  border: 1px solid color-mix(in srgb, var(--accent) 32%, #202a40);
  font-size: .83rem; font-weight: 650;
}
.trader p:last-of-type { margin-bottom: .75rem; }
.source-rankings { padding-block: .78rem; }
.source-rankings summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.source-rankings[open] summary { margin-bottom: .7rem; }
.trader, .summary-card, .button, .rail nav a, .admin-nav a {
  position: relative;
  isolation: isolate;
  transition: border-color .2s ease, box-shadow .22s ease, translate .22s ease;
}
.trader::before, .summary-card::before, .button::before, .rail nav a::before, .admin-nav a::before {
  position: absolute; inset: 0; content: ""; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(circle 10rem at var(--pointer-x, 50%) var(--pointer-y, 50%),
    color-mix(in srgb, var(--accent) 27%, transparent), transparent 92%);
  opacity: 0; transition: opacity .23s ease;
}
@media (hover: hover) {
  .trader:hover, .summary-card:hover, .button:hover, .rail nav a:hover, .admin-nav a:hover {
    translate: 0 -2px;
    border-color: color-mix(in srgb, var(--accent) 70%, #353a4e);
  }
  .trader:hover::before, .summary-card:hover::before, .button:hover::before,
  .rail nav a:hover::before, .admin-nav a:hover::before { opacity: 1; }
}
@media(max-width: 760px) {
  .rail nav { gap: .35rem; }
  .rail nav a { min-height: 2.35rem; }
  .mast nav { gap: .45rem; }
  .trader { min-height: 16rem; }
}
@media(prefers-reduced-motion: reduce) {
  .trader, .summary-card, .button, .rail nav a, .admin-nav a,
  .trader::before, .summary-card::before, .button::before, .rail nav a::before, .admin-nav a::before {
    transition: none;
    translate: none;
  }
}

:root {
  --bg: #10152b;
  --line: #39557e;
  --muted: #b6c7e7;
  --ink: #f5f7ff;
  --gold: #ffe18a;
  --teal: #8df3cc;
  --rose: #ffaaaa;
}
body {
  background: radial-gradient(ellipse at 76% -12%, #ffce6045 0%, transparent 42rem),
    radial-gradient(ellipse at 0% 31%, #4c5dde38 0%, transparent 43rem),
    linear-gradient(150deg, #1d2441, var(--bg) 54%, #13192f);
}
.mast, .foot, .rail { background: linear-gradient(145deg, #1a2643, #0d1429 78%); }
.mast, .foot { border-color: #d4aa554f; }
.card, .callout, .quote {
  background: linear-gradient(145deg, #233958, #162942 48%, #101d34);
}
.featured, .sign {
  background: radial-gradient(ellipse at 5% 0%, #ffce5f3b, transparent 72%),
    linear-gradient(145deg, #273c59, #13223d);
}
.homepage, .desk-banner {
  background: linear-gradient(90deg, #10182f 0%, #14223de3 41%, #c9952a25 100%),
    url('/brand/gig-hero.webp') center 54% / cover no-repeat;
  border-color: #ceaa608c;
}
.homepage h1 em, .desk-banner h1 { color: var(--gold); text-shadow: 0 0 1.1rem #ffcc5b49; }
.button:not(.secondary) { background: linear-gradient(145deg, #fff1b6, #ffda76 50%, #e6aa49 100%); }
.trader, .summary-card {
  background: radial-gradient(ellipse at 4% 0%, color-mix(in srgb, var(--accent) 32%, #202e53), transparent 87%),
    linear-gradient(145deg, #20334e, #121c34 80%);
  border-color: color-mix(in srgb, var(--accent) 62%, #233655);
}
.trader-top a { color: var(--accent); }
.trader-label { display: inline-flex; align-items: center; gap: .42rem; color: var(--accent); }
.trader-label i { display: inline-block; width: .65rem; height: .65rem; border-radius: .2rem; background: var(--accent); box-shadow: 0 0 .85rem var(--accent); }
.trader-heading h1 { color: var(--accent); }
.targets { display: flex; flex-wrap: wrap; gap: .3rem; }
.target-mark { display: inline-flex; align-items: center; gap: .15rem; padding: .23rem .46rem; border-radius: 7px;
  border: 1px solid #4d6590; background: #253955; color: #e3ebfc; font-size: .77rem; font-weight: 650; white-space: nowrap; }
.target-hit { color: var(--teal); background: linear-gradient(140deg, #236850, #15413e); border-color: #57c8a2; }
.stop-hit { color: var(--rose); background: linear-gradient(140deg, #73394b, #472739); border-color: #d57587; }
.targets-hit td:first-child { box-shadow: inset 3px 0 #72deb5; }
.stopped td:first-child { box-shadow: inset 3px 0 #ec8299; }
.touch-list { display: grid; gap: .5rem; padding: 0; margin: .75rem 0 .1rem; list-style: none; }
.touch-list li { display: grid; grid-template-columns: max-content 1fr max-content; align-items: baseline; gap: .5rem 1rem;
  padding: .65rem .8rem; border: 1px solid; border-radius: 10px; }
.touch-list time { font-variant-numeric: tabular-nums; }
.member-access-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: .9rem 0 1.1rem; }
.member-access-tabs a { text-align: center; text-decoration: none; padding: .55rem .3rem; border: 1px solid #57759c;
  border-radius: 9px; background: linear-gradient(150deg, #263d5e, #182b46); color: #e5efff; }
.member-access-tabs a[aria-current] { color: #181b28; border-color: #ffd78c; background: linear-gradient(135deg, #ffe8b4, #e9b56b); font-weight: 750; }
.home-section { --home-gap: clamp(.75rem, 1.5vw, 1rem); margin-top: clamp(1.5rem, 4vw, 2.7rem); }
.home-section h3 { margin: .5rem 0 .45rem; font-size: 1.15rem; }
.home-grid, .home-plans { display: grid; gap: var(--home-gap); align-items: stretch; }
.home-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.home-plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
.home-card, .plans > .card {
  --home-accent: #92ccff;
  display: flex; flex-direction: column; align-items: start;
  min-width: 0; min-height: 14.2rem; padding: clamp(1rem, 1.8vw, 1.4rem);
  background: radial-gradient(ellipse at 1% 0%, color-mix(in srgb, var(--home-accent) 30%, #232332), transparent 84%),
    linear-gradient(145deg, #253041, #191f30 82%);
  border-color: color-mix(in srgb, var(--home-accent) 48%, #2b2940);
  box-shadow: inset 0 2px color-mix(in srgb, var(--home-accent) 65%, transparent), 0 12px 30px #0c080b58;
}
.home-grid .home-card:nth-child(2) { --home-accent: #73f5bd; }
.home-grid .home-card:nth-child(3) { --home-accent: #e5b6ff; }
.plans > .card { --home-accent: #73e1f4; }
.plans > .featured { --home-accent: #ffe07b; }
.plans > .card > :is(.button,form,.notice), .home-grid .targets { margin-top: auto; }
.plans > .card .button { min-width: 10rem; }
.home-section.card { border-color: #cfaa647d; background: linear-gradient(133deg, #34405c, #172747 82%); }
.home-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--home-accent);
  border-radius: 9px; color: var(--home-accent); background: #152642; font-size: 1.18rem; }
.coverage { margin: 1rem 0; }
.signal-alerts {
  position: fixed; right: clamp(.7rem, 2vw, 1.65rem); bottom: 1rem; z-index: 12;
  max-width: calc(100vw - 1.4rem); padding: .75rem 1rem; border: 1px solid #88d6b7;
  border-radius: 12px; color: #d0ffeb; background: linear-gradient(145deg, #275b56, #183740);
  box-shadow: 0 10px 30px #040d20aa; font-weight: 650;
}
.signal-alert-toggle[aria-pressed="true"] { color: #a7ffdc; border-color: #56b893; }
.account-strip {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem;
  padding: .55rem clamp(.9rem, 2.3vw, 2rem); border-bottom: 1px solid #9c753a66;
  background: linear-gradient(100deg, #323a56, #1a2743 60%, #151e38); color: #ffe5a4; font-size: .83rem;
}
.plan-badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .65rem;
  border: 1px solid; border-radius: 8px; font-size: .8rem; font-weight: 750; text-decoration: none;
}
.plan-badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.plan-free { color: #a9e6f6; background: #163b49; border-color: #5393a9; }
.plan-full { color: #fff0b1; background: #49432d; border-color: #dbbe6d; }
.workspace:has(.plan-free) .desk-banner { min-height: 0; padding: clamp(.9rem, 2vw, 1.55rem); }
.workspace:has(.plan-free) .desk-banner h1 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.workspace:has(.plan-free) .market { padding-block: .7rem; }
.call-board { padding-bottom: clamp(.85rem, 2vw, 1.35rem); }
.call-board .section-note { margin-top: .3rem; }
.call-count { color: #f3dfa1; border: 1px solid #8d8458; background: #222c48; border-radius: 8px; padding: .25rem .55rem; font-size: .83rem; }
.call-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 17.2rem),1fr)); gap: .7rem;
  list-style: none; margin: 0; padding: 0;
}
.call-tile {
  display: grid; gap: .57rem; min-width: 0; padding: .78rem;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, #2b3650); border-radius: 12px;
  background: radial-gradient(ellipse at 2% 0%, color-mix(in srgb, var(--accent) 15%, #1e293c), transparent 85%), #141e30;
  box-shadow: inset 0 2px color-mix(in srgb, var(--accent) 58%, transparent);
}
.call-tile-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem; }
.call-tile time, .entry-state { color: var(--muted); font-size: .78rem; }
.call-levels { display: grid; grid-template-columns: minmax(0,1fr) minmax(5rem,.72fr); gap: .38rem; margin: 0; }
.call-levels > div { padding: .35rem .48rem; border-radius: 8px; border: 1px solid #405273; background: #111a2acc; min-width: 0; }
.call-levels dt { color: var(--muted); font-size: .74rem; }
.call-levels dd { margin: .12rem 0 0; font: 650 .89rem/1.4 Geist Mono, monospace; color: var(--ink); }
.call-board-actions { margin-top: .8rem; }
.side.buy { color: #b4e3ff; background: linear-gradient(145deg, #1d5798, #182f67); border-color: #72bdff; }
.call-tile time, .call-board time, .recap-list time, .history td time { color: #a9dafa; }
.call-tile.call-active { border-top-color: #ffe075; box-shadow: inset 0 2px #f7cb68; }
.entry-state.active-trade, .status-chip.active-trade, .entry-state.scheduled-trade, .status-chip.scheduled-trade {
  padding: .22rem .48rem; border: 1px solid; border-radius: 7px; font-weight: 700;
}
.active-trade { color: #ffe68f; background: #514321; border-color: #d3af53; }
.scheduled-trade { color: #ddc9ff; background: #412965; border-color: #ab8dd2; }
.signal-trader { width: fit-content; text-underline-offset: .26em; text-decoration-color: #6a789c; }
.signal-trader:hover { text-decoration-color: currentColor; }
.history td .signal-trader { padding: .15rem .25rem; border-color: transparent; background: transparent; }
.trade-ledger td { vertical-align: top; }
.trade-ledger td .targets { max-width: 25rem; min-width: 7rem; }
.trade-ledger td small { margin-top: .25rem; }
.signal-switch { margin-block: .85rem .5rem; }
#selected-call { margin-top: 1rem; scroll-margin-top: .75rem; }
.source-sort { margin: .85rem 0; }
.source-sort summary { width: fit-content; cursor: pointer; padding: .52rem .8rem; border: 1px solid #617eab;
  border-radius: 9px; background: linear-gradient(140deg,#2b4675,#182a4a); color: var(--ink); font-weight: 700; }
.source-sort summary span { margin-left: .45rem; color: #ffe18a; }
.source-sort nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.source-sort nav a { padding: .4rem .65rem; color: var(--ink); border: 1px solid #5a729d; background: #203456;
  border-radius: 8px; text-decoration: none; }
.source-sort nav a[aria-current] { background: #ffe18a; color: #241b21; border-color: #ffe18a; font-weight: 700; }
.call-tile, .trader { background: linear-gradient(148deg,#1a2335,#111a2b 75%); }
.call-tile { border-color: #40516e; }
.call-tile.call-active { border-top-color: #efc66e; }
.trader { border-color: color-mix(in srgb,var(--accent) 58%,#28344b); }
.call-tile time, .call-board time, .recap-list time, .history td time { color: #f5f7ff; }
.signal-book tbody tr { background: #182235; }
.signal-book tbody tr:nth-child(even) { background: #121b2c; }
.signal-book tbody tr:hover { background: #23314c; }
.signal-book td { vertical-align: top; }
.signal-book .signal-entry, .signal-book .signal-stop { color: #ff9d9e; font-weight: 700; }
.signal-book .signal-targets, .signal-book .signal-targets .target-mark { color: #91edbd; }
.signal-book .signal-targets .target-mark { background: #173230; border-color: #407761; }
.signal-meta { display: grid; justify-items: start; gap: .16rem; margin-top: .36rem; font-size: .79rem; }
.signal-meta small { font-size: .75rem; }
.signal-meta .signal-move.win { color: #91edbd; }
.signal-meta .signal-move.loss { color: #ff9d9e; }
.signal-state { display: inline-flex; gap: .35rem; align-items: center; color: var(--muted); font-weight: 650; }
.signal-state::before { content:""; width: .36rem; height: .36rem; border-radius: 50%; background: currentColor; }
.signal-state.open { color: #ffda83; }
.signal-state.partial { color: #c0cbe0; }
.signal-state.scheduled { color: #dfc4ff; }
.owner-source-name strong { color: #fff1cb; margin-left: .45rem; }
.call-counts, .view-switch { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.call-count.buy { border-color: #426d61; color: #aff1d4; }
.call-count.sell { border-color: #845160; color: #fec5ca; }
.view-switch { margin-left: auto; }
.view-switch span { color: #dcccae; margin-right: .25rem; }
.view-switch button { padding: .28rem .52rem; border: 1px solid #61739b; border-radius: 7px; color: #fff0ca; background: #24314d; }
.view-switch button[aria-pressed="true"] { color: #241a15; background: #f3cb89; border-color: #eac17f; font-weight: 750; }
.recap-list { padding: 0; margin: 0; list-style: none; }
.recap-list li { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: center;
  gap: .4rem .8rem; padding: .6rem .2rem; border-bottom: 1px solid var(--line); }
.signal-performance .metrics dd { font-size: 1.13rem; font-weight: 700; }
.outcome-bar { height: .55rem; border-radius: 5px; overflow: hidden; background: #9b5569; margin-top: .8rem; }
.outcome-bar span { display: block; height: 100%; background: #7cd8aa; }
.mini-signals { display: grid; gap: .65rem; list-style: none; padding: 0; }
@media (max-width: 760px) {
  .home-grid, .home-plans { grid-template-columns: 1fr; }
  .home-card { min-height: 0; }
  .home-plans > .card { min-height: 12rem; }
  .rail { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .rail .identity { grid-column: 1; grid-row: 1; }
  .rail .rail-bottom { grid-column: 2; grid-row: 1; position: static; margin: .36rem .55rem; }
  .rail nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  .account-strip .view-switch { order: 3; margin-left: 0; flex-basis: 100%; }
  .recap-list li { grid-template-columns: 1fr auto; }
  .recap-list li .muted { grid-row: 2; grid-column: 1 / -1; font-size: .82rem; }
  .touch-list li { grid-template-columns: 1fr max-content; }
  .touch-list time { grid-column: 1 / -1; font-size: .85rem; }
}
