:root {
  color-scheme: dark;
  --bg: #10110f;
  --panel: #171916;
  --panel-raised: #1c1e1a;
  --line: #2b2e29;
  --muted: #8d9188;
  --text: #f3f4ef;
  --lime: #c4fa72;
  --lime-dim: #9dcf54;
  --red: #ff7c6e;
  --mono: "DM Mono", Consolas, monospace;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.announcement { height: 32px; display: flex; align-items: center; gap: 9px; justify-content: center; background: var(--lime); color: #151713; font: 500 9px var(--mono); letter-spacing: .1em; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5c9630; box-shadow: 0 0 0 3px #7caf4542; }
.announcement-divider { opacity: .44; }
.announcement-end { position: absolute; right: max(32px, calc((100vw - 1180px) / 2)); letter-spacing: 0; }
.positive { color: #9fd851 !important; }
.announcement .positive { color: #24521a !important; }
.negative { color: var(--red) !important; }
.topbar { height: 76px; padding: 0 max(32px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.08em; }
.brand-icon { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; background: var(--lime); }
.brand-icon svg { width: 22px; fill: none; stroke: #151713; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-period, .title-dot { color: var(--lime); }
.primary-nav { display: flex; align-items: center; gap: 33px; height: 100%; margin-left: 50px; }
.nav-link { color: #898c85; font-size: 12px; height: 100%; display: grid; place-items: center; position: relative; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { content: ""; position: absolute; height: 2px; background: var(--lime); bottom: -1px; left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 11px; }
.header-social { display: flex; align-items: center; gap: 10px; }
.header-social-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--lime); font-size: 17px; font-weight: 600; transition: border-color .2s, background .2s; }
.header-social-button:hover { border-color: var(--lime); background: #c4fa7210; }
.header-ca { padding: 7px 9px; border: 1px solid #343830; border-radius: 4px; background: #171916; color: #b8bcb2; font: 8px var(--mono); white-space: nowrap; }
.create-button, .wallet-button { height: 38px; border: 1px solid var(--line); border-radius: 5px; padding: 0 15px; background: transparent; cursor: pointer; font-size: 11px; white-space: nowrap; transition: border-color .2s, background .2s; }
.create-button:hover, .wallet-button:hover { border-color: var(--lime); background: #c4fa7210; }
.create-button { color: var(--lime); border-color: #455136; }
.wallet-button { display: flex; align-items: center; gap: 8px; }
.wallet-indicator { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }
.wallet-account { position: relative; }
.wallet-chevron { color: #969a91; font-size: 12px; line-height: 1; transition: transform .18s; }
.wallet-account.open .wallet-chevron { transform: rotate(180deg); }
.menu-button { display: none; border: 0; background: none; font-size: 20px; }
.ticker-tape { position: relative; z-index: 4; height: 41px; display: flex; align-items: center; overflow: visible; border-bottom: 1px solid var(--line); }
.ticker-track { width: min(1180px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; white-space: nowrap; font: 10px var(--mono); color: #a9aca5; }
.ticker-track b { font-weight: 500; color: #f1f2eb; margin-right: 6px; }
.ticker-track i { font-style: normal; margin-left: 4px; font-size: 9px; }
.ticker-status { color: #a9aca5; font-size: 8px; }
.ticker-quotes { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 22px; }
.ticker-quote { color: #a9aca5; }
.ticker-quote b { font-weight: 500; color: #f1f2eb; margin-right: 6px; }
.ticker-quote i { font-style: normal; margin-left: 4px; font-size: 9px; }
.ticker-quote-unavailable { color: #e6bc79; }
.ticker-key-setup { position: relative; font: 9px var(--mono); }
.ticker-key-setup[hidden] { display: none; }
.ticker-key-setup summary { color: var(--lime); cursor: pointer; }
.ticker-key-setup form { position: absolute; top: calc(100% + 12px); right: 0; z-index: 20; width: min(440px, calc(100vw - 36px)); padding: 18px; border: 1px solid #39452f; border-radius: 5px; background: #171b14; box-shadow: 0 14px 36px #0009; white-space: normal; }
.ticker-key-setup label, .ticker-key-setup small { display: block; color: #a6ab9f; }
.ticker-key-setup form > div { display: flex; gap: 9px; margin: 12px 0; }
.ticker-key-setup input { min-width: 0; min-height: 46px; flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: #10110f; color: var(--text); font: 13px var(--mono); }
.ticker-key-setup button { padding: 0 14px; border: 1px solid #455136; border-radius: 3px; background: #c4fa7210; color: var(--lime); cursor: pointer; font: 11px var(--mono); white-space: nowrap; }
.ticker-key-setup small { font: 8px/1.5 var(--mono); }
.wallet-details { position: absolute; top: calc(100% + 9px); right: 0; z-index: 10; width: min(340px, calc(100vw - 36px)); margin: 0; padding: 15px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; border: 1px solid #39452f; border-radius: 5px; background: #171b14; box-shadow: 0 14px 36px #0009; opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; transition: opacity .16s, transform .16s, visibility .16s; }
.wallet-details[hidden] { display: none; }
.wallet-account:hover .wallet-details:not([hidden]), .wallet-account:focus-within .wallet-details:not([hidden]), .wallet-account.open .wallet-details:not([hidden]) { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.wallet-account.open .wallet-details:not([hidden]) { display: grid; opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.wallet-details-label { display: flex; align-items: center; gap: 8px; color: var(--lime); font: 9px var(--mono); letter-spacing: .06em; }
.wallet-address { grid-column: 1 / -1; font: 9px var(--mono); color: #c7cbc1; overflow-wrap: anywhere; }
.wallet-balances { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 17px; color: #a6ab9f; font: 10px var(--mono); }
.wallet-balances strong { color: var(--text); font-weight: 500; }
.wallet-details > p { grid-column: 1 / -1; margin: 0; color: #878d81; font-size: 9px; line-height: 1.5; }
.wallet-details > p a { color: var(--lime); }
main { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.hero { min-height: 435px; position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; padding: 61px 43px 48px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 9px var(--mono); color: #a9ada4; letter-spacing: .12em; }
.eyebrow-line { display: inline-block; width: 18px; height: 1px; background: var(--lime); }
.hero h1 { font-size: clamp(54px, 6.3vw, 78px); line-height: .98; letter-spacing: -.075em; margin: 24px 0 18px; font-weight: 700; }
.hero h1 span { color: var(--lime); }
.hero-copy > p { max-width: 395px; color: #a3a69f; font-size: 14px; line-height: 1.85; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 25px; }
.button-primary { border: 0; border-radius: 4px; min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 17px; background: var(--lime); color: #171914; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.button-primary:hover { background: #d5ff9c; transform: translateY(-1px); }
.button-primary span { font-size: 15px; }
.button-text { background: none; border: 0; color: #d7d9d3; font-size: 11px; cursor: pointer; padding: 8px 0; }
.button-text span { color: var(--lime); margin-left: 5px; }
.hero-footnote { display: flex; align-items: center; gap: 9px; margin-top: 37px; font: 8px var(--mono); color: #858a80; letter-spacing: .09em; }
.pulse-ring { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #c4fa7227; }
.footnote-number { color: var(--lime); }
.footnote-divider { height: 12px; width: 1px; background: #44483f; margin: 0 4px; }
.hero-visual { min-height: 300px; max-width: 460px; width: 100%; justify-self: end; padding: 20px 22px 15px; position: relative; background: linear-gradient(145deg, #1a1c18, #151713); border: 1px solid #31352c; border-radius: 5px; z-index: 1; }
.visual-topline, .visual-bottom { display: flex; justify-content: space-between; align-items: center; font: 8px var(--mono); letter-spacing: .1em; color: #8c9086; }
.visual-live { display: flex; align-items: center; gap: 8px; color: var(--lime); }
.visual-question { font-size: 19px; letter-spacing: -.04em; font-weight: 600; line-height: 1.45; margin: 23px 0 6px; }
.visual-question strong { color: var(--lime); font-family: var(--mono); font-size: 17px; }
.chart-wrap { position: relative; height: 126px; padding-left: 35px; }
.chart-axis { position: absolute; left: 0; top: 10px; bottom: 19px; display: flex; flex-direction: column; justify-content: space-between; font: 8px var(--mono); color: #74796f; }
.hero-chart { width: 100%; height: 100px; overflow: visible; position: absolute; bottom: 14px; left: 35px; width: calc(100% - 35px); }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--lime); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-guide { stroke: #555c4b; stroke-width: 1; stroke-dasharray: 3 5; }
.chart-point { fill: var(--lime); stroke: #1c2115; stroke-width: 3; }
.chart-date { position: absolute; left: 35px; right: 0; bottom: 0; display: flex; justify-content: space-between; font: 7px var(--mono); color: #71766c; }
.visual-bottom { border-top: 1px solid #30332c; padding-top: 12px; margin-top: 5px; }
.visual-chance { display: flex; align-items: center; gap: 7px; }
.chance-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--lime); }
.visual-chance strong, .visual-volume strong { color: #e9ece3; font-weight: 500; }
.visual-sticker { position: absolute; right: -20px; top: 42%; width: 57px; height: 57px; transform: rotate(10deg); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; background: var(--lime); color: #171914; font: 8px var(--mono); line-height: 1.05; text-align: center; box-shadow: 0 4px 22px #0008; }
.visual-sticker b { font: 13px var(--sans); }
.hero-orbit { position: absolute; border: 1px solid #252820; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 540px; height: 540px; right: -260px; top: -95px; }
.orbit-two { width: 690px; height: 690px; right: -335px; top: -170px; }
.market-section { padding: 59px 0 66px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading h2, .how-intro h2 { margin: 11px 0 0; font-size: 35px; line-height: 1.1; letter-spacing: -.06em; }
.section-side { display: flex; align-items: center; gap: 8px; padding-bottom: 5px; font: 9px var(--mono); color: #81867b; }
.section-side-dot { width: 3px; height: 3px; background: #656a61; border-radius: 50%; }
.market-toolbar { margin-top: 29px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.funds-panel { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; padding: 13px 15px; border: 1px solid var(--line); background: #151714; }
.funds-mode { display: flex; gap: 4px; padding: 3px; border: 1px solid #33372e; border-radius: 4px; background: #11130f; }
.funds-mode-button { min-height: 30px; padding: 0 11px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #999d94; font-size: 10px; cursor: pointer; }
.funds-mode-button.selected { border-color: #52653b; background: #c4fa7216; color: var(--lime); }
.funds-summary { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.funds-summary span, .portfolio-heading > span { color: #858a80; font: 8px var(--mono); letter-spacing: .07em; }
.funds-summary strong { color: var(--lime); font: 13px var(--mono); }
.funds-summary .funds-disabled { color: #e6bc79; }
.funds-panel > p { flex: 1 1 250px; margin: 0; color: #92968d; font-size: 9px; line-height: 1.65; }
.portfolio-panel { margin: 10px 0 20px; border: 1px solid var(--line); background: #131512; }
.portfolio-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.portfolio-heading h3 { margin: 0; font-size: 11px; }
.portfolio-empty { margin: 0; padding: 14px 15px; color: #858a80; font-size: 9px; }
.portfolio-trade { display: flex; justify-content: space-between; gap: 14px; padding: 12px 15px; border-bottom: 1px solid #242722; }
.portfolio-trade:last-child { border-bottom: 0; }
.portfolio-trade > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.portfolio-trade strong, .portfolio-trade-result b { font-size: 9px; font-weight: 600; }
.portfolio-trade > div:first-child span { overflow: hidden; color: #858a80; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-trade-result { flex: 0 0 auto; text-align: right; }
.portfolio-trade-result span { color: #e6bc79; font: 7px var(--mono); }
.leaderboard-panel { margin: -10px 0 24px; border: 1px solid var(--line); background: #131512; }
.leaderboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.leaderboard-heading h3 { margin: 0; font-size: 11px; }
.leaderboard-heading p { margin: 5px 0 0; color: #858a80; font: 8px var(--mono); }
.leaderboard-refresh { min-height: 30px; padding: 0 10px; border: 1px solid #3b4135; border-radius: 3px; background: #1d201b; color: var(--lime); font: 8px var(--mono); cursor: pointer; }
.leaderboard-refresh:disabled { opacity: .6; cursor: wait; }
.leaderboard-prize-note { margin: 0; padding: 10px 15px; border-bottom: 1px solid #242722; color: #a7aa9f; font-size: 9px; line-height: 1.6; }
.leaderboard-entry { display: grid; grid-template-columns: 34px minmax(80px, 1fr) auto auto; align-items: center; gap: 10px; min-height: 40px; padding: 8px 15px; border-bottom: 1px solid #242722; }
.leaderboard-entry:last-child { border-bottom: 0; }
.leaderboard-rank { color: var(--lime); font: 9px var(--mono); }
.leaderboard-entry strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-wins { color: #c1c5bb; font: 8px var(--mono); }
.leaderboard-prize { color: #858a80; font: 7px var(--mono); }
.demo-odds-note { min-height: 30px; display: flex; align-items: center; margin: 6px 0; color: #858a80; font: 7px var(--mono); letter-spacing: .035em; }
.resolved-label { margin: 0 0 9px; color: #e6bc79; font: 8px var(--mono); }
.search-box { height: 37px; width: 228px; flex: 0 0 228px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #171916; border: 1px solid var(--line); border-radius: 4px; }
.search-box svg { width: 15px; height: 15px; fill: none; stroke: #848980; stroke-width: 1.7; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.search-box input::placeholder { color: #747970; }
.search-box kbd { color: #767a71; font: 9px var(--mono); border: 1px solid #3c4038; padding: 2px 4px; border-radius: 2px; }
.filter-group { display: flex; align-items: center; gap: 5px; }
.filter-chip { height: 30px; min-width: 38px; padding: 0 10px; border: 1px solid transparent; background: transparent; border-radius: 3px; color: #9a9e94; font: 9px var(--mono); cursor: pointer; }
.filter-chip:hover { color: #fff; }
.filter-chip.selected { background: #c4fa7216; border-color: #52653b; color: var(--lime); }
.sort-select { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: #83877e; font: 8px var(--mono); letter-spacing: .05em; }
.sort-select select { border: 0; color: #dadcd6; background: transparent; font: 10px var(--sans); outline: 0; cursor: pointer; }
.sort-select option { background: #1a1c18; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 17px; }
.market-card { background: #151714; border: 1px solid var(--line); border-radius: 4px; padding: 17px 16px 14px; min-height: 225px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, background .2s; }
.market-card:hover { border-color: #52623e; background: #191c17; transform: translateY(-2px); }
.card-head { display: flex; align-items: center; justify-content: space-between; }
.stock-info { display: flex; align-items: center; gap: 9px; }
.stock-logo { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #282b25; color: #e9ece5; font-weight: 700; font-size: 9px; border: 1px solid #393d33; }
.stock-label { font: 10px var(--mono); font-weight: 500; }
.stock-name { margin-top: 3px; font-size: 8px; color: #848980; }
.tag { padding: 4px 6px; border-radius: 2px; background: #c4fa7214; color: var(--lime); font: 7px var(--mono); letter-spacing: .06em; }
.market-question { min-height: 44px; font-size: 15px; font-weight: 600; line-height: 1.42; letter-spacing: -.025em; margin: 19px 0 9px; }
.card-chart { width: 100%; height: 37px; margin-bottom: 12px; }
.card-chart path { fill: none; stroke: #9ed954; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.card-chart .chart-underlay { fill: url(#smallFade); stroke: none; }
.market-stats { display: flex; align-items: center; justify-content: space-between; font: 8px var(--mono); color: #858a80; margin-bottom: 12px; }
.market-stats strong { color: #f1f3eb; font-weight: 500; }
.odds-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.odds-button { min-height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border: 1px solid #34402a; border-radius: 3px; background: #c4fa720b; color: var(--lime); font-size: 9px; cursor: pointer; transition: .2s; }
.odds-button span:last-child { font: 10px var(--mono); font-weight: 500; }
.odds-button:hover { color: #12150f; background: var(--lime); }
.odds-button:disabled { opacity: .45; cursor: not-allowed; }
.odds-button:disabled:hover { color: var(--lime); background: #c4fa720b; }
.odds-button.no { border-color: #54332f; background: #ff7c6e0a; color: #ff9e91; }
.odds-button.no:hover { background: #ff9e91; color: #1a100e; }
.odds-button.no:disabled:hover { color: #ff9e91; background: #ff7c6e0a; }
.empty-state { text-align: center; padding: 65px 20px; border: 1px dashed var(--line); margin-top: 16px; }
.empty-state > span { color: var(--lime); font-size: 26px; }
.empty-state h3 { margin: 10px 0; }
.empty-state p { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.how-section { display: grid; grid-template-columns: .9fr 1.5fr; gap: 70px; padding: 62px 43px 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-intro h2 { font-size: 37px; margin-top: 17px; line-height: 1.12; }
.how-intro h2 span { color: var(--lime); }
.how-intro p { color: #999d94; font-size: 11px; line-height: 1.8; max-width: 265px; margin: 17px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.step-card { position: relative; padding: 17px 14px; min-height: 165px; border: 1px solid var(--line); background: #151714; }
.step-number { position: absolute; top: 17px; right: 14px; color: #70756c; font: 8px var(--mono); }
.step-icon { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 20px; background: #c4fa7215; color: var(--lime); font-size: 16px; }
.step-card h3 { font-size: 12px; margin: 0 0 8px; }
.step-card p { font-size: 9px; color: #92968d; line-height: 1.65; margin: 0; }
.protocol-section { padding: 54px 43px 59px; border-bottom: 1px solid var(--line); }
.protocol-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.protocol-heading h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.045em; margin: 15px 0 0; }
.protocol-heading h2 span { color: var(--lime); }
.protocol-status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 8px 10px; border: 1px solid #544735; border-radius: 3px; color: #e6bc79; font: 8px var(--mono); letter-spacing: .05em; }
.protocol-status i { width: 6px; height: 6px; border-radius: 50%; background: #e6bc79; }
.protocol-summary { max-width: 690px; margin: 14px 0 22px; color: #999d94; font-size: 10px; line-height: 1.8; }
.protocol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.protocol-card { min-height: 165px; padding: 16px 15px; border: 1px solid var(--line); background: #151714; }
.protocol-index, .protocol-state { color: #858a80; font: 8px var(--mono); letter-spacing: .04em; }
.protocol-card h3 { margin: 18px 0 8px; font-size: 12px; }
.protocol-card p { min-height: 56px; margin: 0 0 15px; color: #92968d; font-size: 9px; line-height: 1.7; }
.protocol-state { color: #e6bc79; }
.bottom-cta { padding: 34px 43px; min-height: 135px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.bottom-cta h2 { font-size: 25px; letter-spacing: -.05em; margin: 11px 0 0; }
.bottom-cta .button-primary { z-index: 1; }
.cta-star { color: #c4fa7217; position: absolute; font-size: 140px; right: 33%; top: -26px; }
.site-footer { margin-top: 0; border-top: 1px solid var(--line); background: #0d0e0c; }
.footer-main { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 54px 0 42px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(130px, .7fr) minmax(160px, .8fr); gap: clamp(38px, 9vw, 130px); }
.footer-about { max-width: 500px; }
.footer-brand { font-size: 21px; }
.footer-brand .brand-icon { width: 32px; height: 32px; }
.footer-brand .brand-icon svg { width: 22px; }
.footer-description { max-width: 455px; margin: 23px 0 18px; color: #a3a69f; font-size: 13px; line-height: 1.8; }
.footer-disclaimer { max-width: 520px; margin: 0 0 20px; color: #666a62; font-size: 10px; line-height: 1.8; scroll-margin-top: 20px; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-nav h2 { margin: 3px 0 7px; color: #666a62; font: 9px var(--mono); letter-spacing: .12em; }
.footer-nav a, .footer-nav button { padding: 0; border: 0; background: transparent; color: #a6a9a2; font: 12px var(--sans); text-align: left; cursor: pointer; transition: color .2s; }
.footer-nav a:hover, .footer-nav button:hover { color: var(--lime); }
.footer-bottom { min-height: 50px; padding: 12px max(32px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #242722; color: #656960; font: 8px var(--mono); letter-spacing: .04em; }
.footer-bottom i { color: var(--lime); font-style: normal; padding: 0 5px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 18px; background: #050605c9; backdrop-filter: blur(5px); }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(465px, 100%); max-height: min(90vh, 740px); overflow-y: auto; padding: 30px; border: 1px solid #3a4033; border-radius: 6px; background: #171916; box-shadow: 0 20px 90px #0008; }
.modal-close { position: absolute; right: 17px; top: 13px; border: 0; background: transparent; color: #a9ada4; font-size: 25px; cursor: pointer; }
.modal-kicker { color: var(--lime); font: 9px var(--mono); letter-spacing: .1em; }
.modal h2 { font-size: 25px; letter-spacing: -.05em; margin: 9px 0 20px; }
.trade-question { color: #dadcd6; border-bottom: 1px solid var(--line); padding-bottom: 17px; font-size: 13px; line-height: 1.6; }
.trade-stock { color: var(--lime); font: 10px var(--mono); margin-bottom: 6px; }
.choice-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.choice-button { height: 42px; border: 1px solid #3b4135; background: #1d201b; border-radius: 3px; color: #a8aca2; cursor: pointer; }
.choice-button.active.yes { border-color: var(--lime); color: var(--lime); background: #c4fa7214; }
.choice-button.active.no { border-color: #ff8f81; color: #ff9e91; background: #ff7c6e12; }
.form-label { display: block; margin: 13px 0 7px; color: #aeb2a8; font-size: 10px; }
.input-wrap { height: 43px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #3b3f38; border-radius: 3px; background: #11130f; }
.input-wrap input, .form-control { width: 100%; color: var(--text); background: transparent; border: 0; outline: 0; font: 12px var(--sans); }
.input-wrap .currency { color: var(--lime); font: 10px var(--mono); }
.input-wrap .max-button { color: var(--lime); border: 0; background: transparent; font: 9px var(--mono); cursor: pointer; }
.estimate { display: flex; justify-content: space-between; padding: 13px 1px 17px; color: #93988e; font-size: 10px; }
.estimate strong { color: var(--text); font: 10px var(--mono); }
.modal-submit { width: 100%; }
.demo-note { color: #858a80; font-size: 9px; line-height: 1.6; text-align: center; margin: 12px 0 0; }
.create-market-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 0 16px; }
.create-market-tab { min-height: 36px; border: 1px solid var(--line); border-radius: 3px; background: #171916; color: #a6ab9f; font: 9px var(--mono); cursor: pointer; }
.create-market-tab.selected { border-color: #52653b; background: #c4fa7216; color: var(--lime); }
.token-market-panel { padding: 15px; border: 1px solid #544735; background: #e6bc790a; }
.token-market-panel[hidden], #demo-market-panel[hidden] { display: none; }
.token-market-panel h3 { margin: 0 0 10px; color: #e6bc79; font-size: 12px; }
.token-market-panel p { margin: 0 0 10px; color: #a7aa9f; font-size: 10px; line-height: 1.7; }
.token-market-panel p:last-child { margin-bottom: 0; }
.real-funds-blocked { margin-top: 18px; padding: 15px; border: 1px solid #544735; background: #e6bc790a; }
.real-funds-blocked strong { color: #e6bc79; font-size: 11px; }
.real-funds-blocked p { margin: 9px 0 0; color: #a7aa9f; font-size: 10px; line-height: 1.7; }
.create-form .form-control, .create-form select.form-control { height: 42px; padding: 0 11px; border: 1px solid #3b3f38; border-radius: 3px; background: #11130f; }
.create-form input.form-control { display: block; }
.create-form select.form-control { color: var(--text); }
.create-form select.form-control option { background: #171916; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 20; max-width: calc(100% - 30px); transform: translate(-50%, 20px); border: 1px solid #4d6338; border-radius: 4px; padding: 12px 18px; background: #1b2116; color: #e8f8d8; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .announcement-end { display: none; }
  .primary-nav { gap: 18px; margin-left: 20px; }
  .header-actions { gap: 7px; }
  .header-social { gap: 8px; }
  .header-ca { padding: 6px 8px; font-size: 7px; }
  .create-button, .wallet-button { padding: 0 10px; }
  .hero { padding-left: 20px; padding-right: 25px; gap: 25px; }
  .hero h1 { font-size: 62px; }
  .market-toolbar { flex-wrap: wrap; }
  .filter-group { order: 3; width: 100%; overflow-x: auto; }
  .sort-select { margin-left: auto; }
  .how-section { padding-left: 20px; padding-right: 20px; gap: 30px; }
  .protocol-section { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 650px) {
  .announcement { font-size: 8px; }
  .topbar { height: 65px; padding: 0 10px; }
  .brand { gap: 7px; font-size: 18px; }
  .brand-icon { width: 28px; height: 28px; }
  .brand-icon svg { width: 20px; }
  .primary-nav { display: none; }
  .header-actions { gap: 5px; }
  .header-social { flex-direction: column; gap: 2px; }
  .header-social-button { width: 28px; height: 25px; font-size: 14px; }
  .header-ca { padding: 3px 4px; font-size: 6px; }
  .create-button { height: 34px; gap: 3px; padding: 0 7px; font-size: 9px; }
  .create-button span { display: none; }
  .create-button::after { content: "Create"; }
  .wallet-button { height: 34px; gap: 4px; padding: 0 6px; font-size: 8px; }
  .menu-button { display: none; }
  .ticker-tape { height: 36px; }
  .wallet-details { width: min(320px, calc(100vw - 36px)); gap: 9px 10px; padding: 12px; }
  .wallet-details-label { font-size: 8px; }
  .wallet-balances { gap: 10px; font-size: 9px; }
  .wallet-address { font-size: 9px; }
  .ticker-track { width: max-content; margin-left: 18px; justify-content: flex-start; gap: 24px; animation: tape 28s linear infinite; }
  @keyframes tape { to { transform: translateX(-35%); } }
  main { width: calc(100% - 36px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding: 47px 6px 31px; min-height: auto; }
  .hero h1 { font-size: 58px; margin-top: 20px; }
  .hero-copy > p { max-width: 440px; font-size: 13px; line-height: 1.75; }
  .hero-footnote { margin-top: 27px; }
  .hero-visual { min-height: 275px; width: calc(100% - 7px); justify-self: auto; padding: 17px 16px 13px; }
  .visual-question { font-size: 17px; }
  .visual-sticker { right: -12px; }
  .orbit-one { width: 390px; height: 390px; right: -240px; top: 180px; }
  .orbit-two { width: 500px; height: 500px; right: -290px; top: 120px; }
  .market-section { padding: 43px 0 48px; }
  .section-heading { align-items: start; gap: 14px; }
  .section-heading h2 { font-size: 29px; }
  .section-side { white-space: nowrap; padding-top: 20px; font-size: 8px; gap: 5px; }
  .market-toolbar { margin-top: 20px; gap: 10px; }
  .search-box { width: 100%; flex: 1 1 100%; }
  .filter-group { gap: 2px; padding-bottom: 2px; }
  .filter-chip { padding: 0 8px; }
  .sort-select { margin-left: 0; }
  .funds-panel { align-items: flex-start; flex-direction: column; gap: 11px; }
  .funds-summary { min-width: 0; }
  .funds-panel > p { flex-basis: auto; }
  .portfolio-trade { padding: 11px; }
  .leaderboard-entry { grid-template-columns: 24px minmax(65px, 1fr) auto; gap: 7px; padding: 9px 11px; }
  .leaderboard-prize { grid-column: 2 / -1; }
  .market-grid { grid-template-columns: 1fr; gap: 9px; }
  .market-card { min-height: 211px; padding: 15px; }
  .market-question { min-height: auto; margin: 15px 0 6px; }
  .card-chart { height: 30px; margin-bottom: 8px; }
  .how-section { display: block; padding: 42px 5px 46px; }
  .how-intro h2 { font-size: 34px; }
  .how-intro p { max-width: 360px; }
  .steps { grid-template-columns: 1fr; margin-top: 24px; }
  .step-card { min-height: 130px; padding: 14px; }
  .step-icon { margin-bottom: 12px; }
  .step-card p { max-width: 330px; }
  .protocol-section { padding: 42px 5px 46px; }
  .protocol-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .protocol-heading h2 { font-size: 25px; }
  .protocol-summary { margin: 13px 0 18px; }
  .protocol-grid { grid-template-columns: 1fr; gap: 8px; }
  .protocol-card { min-height: auto; padding: 15px; }
  .protocol-card h3 { margin-top: 14px; }
  .protocol-card p { min-height: auto; margin-bottom: 12px; }
  .bottom-cta { padding: 28px 5px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .bottom-cta h2 { font-size: 23px; }
  .cta-star { right: 2%; top: -4px; font-size: 100px; }
  .footer-main { width: calc(100% - 36px); padding: 37px 0 30px; grid-template-columns: 1fr 1fr; gap: 31px 20px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-description { margin-top: 18px; font-size: 12px; }
  .footer-disclaimer { margin-bottom: 16px; }
  .footer-nav { gap: 12px; }
  .footer-nav h2 { margin-bottom: 4px; }
  .footer-nav a, .footer-nav button { font-size: 11px; }
  .footer-bottom { padding: 12px 18px; flex-wrap: wrap; font-size: 7px; }
  .modal { padding: 26px 20px 20px; }
}
@media (max-width: 360px) {
  .topbar { padding: 0 7px; }
  .brand { gap: 5px; font-size: 16px; }
  .brand-icon { width: 25px; height: 25px; border-radius: 7px; }
  .brand-icon svg { width: 18px; }
  .header-actions { gap: 3px; }
  .header-social { gap: 2px; }
  .header-social-button { width: 28px; }
  .header-ca { font-size: 5px; }
  .create-button { padding: 0 5px; }
  .wallet-button { gap: 4px; padding: 0 5px; font-size: 8px; }
}
@media (max-width: 360px) {
  .topbar { padding: 0 7px; }
  .brand { gap: 5px; font-size: 16px; }
  .brand-icon { width: 25px; height: 25px; border-radius: 7px; }
  .brand-icon svg { width: 18px; }
  .header-actions { gap: 4px; }
  .header-social { gap: 2px; }
  .header-social-button { width: 27px; }
  .header-ca { padding: 3px; font-size: 5px; }
  .create-button { padding: 0 6px; }
  .wallet-button { padding: 0 5px; }
  .wallet-chevron { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
