/* Public platform surfaces extend the existing MarbleRace identity. */
[hidden] { display:none !important; }
:root { --soft:#151f2c; --positive:#77dab6; --negative:#ff8d94; }
html[data-theme="light"] { --dark:#f6f7f9; --panel:#fff; --soft:#edf0f4; --ink:#152131; --muted:#556578; --line:#d7dee6; --paper:#152131; --positive:#13845e; --negative:#b43644; }
.platform-site h1,.platform-site h2,.platform-site h3 { font-family:Space,'PingFang SC',sans-serif; text-transform:none; letter-spacing:-.055em; }
.platform-site h2 { font-weight:600; font-size:clamp(29px,3.6vw,46px); line-height:1.18; }
.platform-site h3 { letter-spacing:-.025em; }
.header-inner { gap:24px; }
#navigation { gap:18px; }
#navigation a { font-size:10px; letter-spacing:.055em; white-space:nowrap; }
.header-actions { gap:12px; }
.theme-toggle { border:0; background:none; color:var(--muted); font-size:12px; padding:8px 0; }
.menu-button { flex-direction:column; justify-content:center; align-items:center; gap:6px; }
.menu-button span { width:24px; margin:0; flex-shrink:0; }
.header-demo { font-size:11px; padding:12px 17px; }
.platform-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:64px; align-items:center; padding-block:88px 60px; }
.platform-hero h1 { font-size:clamp(43px,5.1vw,72px); line-height:1.06; letter-spacing:-.06em; margin:26px 0; font-weight:600; }
.platform-hero-copy > p:not(.eyebrow) { font-size:17px; max-width:490px; }
.platform-hero .hero-cta { margin-top:28px; gap:12px; }
.platform-hero .hero-note { margin-top:24px; display:flex; flex-wrap:wrap; gap:8px; }
.platform-hero-art { position:relative; margin:0; overflow:hidden; border-radius:18px; border:1px solid var(--line); background:#111b29; min-height:410px; }
.platform-hero-art > img { width:100%; height:410px; object-fit:cover; object-position:57% center; }
.platform-hero-art figcaption { position:absolute; left:24px; right:24px; top:24px; color:#d9eaf5; font-size:9px; letter-spacing:.17em; }
.hero-art-label { position:absolute; left:26px; bottom:26px; color:white; }
.hero-art-label span { font-family:Anton,Space,sans-serif; font-size:54px; line-height:1; letter-spacing:.01em; }
.hero-art-label small { display:block; margin-top:12px; letter-spacing:.1em; text-transform:uppercase; font-size:9px; }
.platform-badge { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:30px; padding:5px 10px; font-size:10px; font-weight:600; line-height:1.5; white-space:nowrap; }
.platform-badge.live { color:var(--positive); background:var(--soft); }
.platform-badge.planned { color:var(--muted); }
.home-query { padding-block:12px 46px; }
.lookup-form { background:var(--panel); border:1px solid var(--line); padding:28px; border-radius:14px; }
.lookup-label { display:block; font-size:18px; font-weight:500; margin-bottom:16px; letter-spacing:-.025em; }
.lookup-input-row { display:flex; gap:10px; }
.lookup-input-row input { flex:1; min-width:0; }
input,textarea { font:inherit; border:1px solid var(--line); background:var(--dark); color:var(--ink); border-radius:8px; padding:14px 16px; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:.8; }
input:focus-visible,textarea:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.query-suggestions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:17px; }
.query-suggestions > span { font-size:9px; color:var(--muted); letter-spacing:.1em; padding-right:5px; }
.query-suggestions button { color:var(--muted); background:var(--soft); border:1px solid var(--line); font-size:11px; padding:5px 10px; border-radius:5px; }
.lookup-form .fine-print { margin-top:15px; }
.market-strip { border-block:1px solid var(--line); padding-block:22px; }
.strip-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; }
.strip-heading > span:last-child,.data-source { font-size:10px; color:var(--muted); }
.market-ticker { display:grid; grid-template-columns:repeat(6,1fr); margin:22px 0 8px; }
.ticker-asset { padding:0 24px; display:grid; gap:5px; border-right:1px solid var(--line); }
.ticker-asset:first-child { padding-left:0; }
.ticker-asset:last-child { border-right:0; }
.ticker-asset > span:first-child { font-size:11px; color:var(--muted); letter-spacing:.1em; }
.ticker-asset strong { font-size:20px; font-weight:500; }
.ticker-asset > span:last-child { font-size:11px; }
.positive { color:var(--positive); } .negative { color:var(--negative); }
.platform-section { padding-block:84px; }
.platform-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:36px; margin-bottom:32px; }
.platform-heading h2 { white-space:pre-line; margin-top:15px; max-width:600px; }
.platform-heading > p { max-width:360px; font-size:14px; }
.ecosystem-grid { display:grid; grid-template-columns:1.18fr 1fr; gap:24px; }
.ecosystem-token,.market-summary { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:30px; }
.ecosystem-card-top { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.token-brand { display:flex; gap:15px; align-items:center; min-width:0; }
.token-brand img { flex-shrink:0; }
.token-brand h3,.token-brand h2 { font-size:24px; letter-spacing:-.02em; }
.token-brand p { font-size:12px; }
.network-line { display:flex; gap:12px; color:var(--muted); font-size:9px; letter-spacing:.12em; margin:24px 0 14px; }
.public-address { display:flex; flex-wrap:wrap; align-items:center; gap:10px; background:var(--dark); border:1px solid var(--line); border-radius:8px; padding:12px; }
.public-address code { flex:1; font-size:12px; min-width:160px; }
.public-address [data-copy-feedback] { font-size:11px; width:100%; }
.public-address [data-copy-feedback]:empty { display:none; }
.small-button { background:var(--soft); color:var(--ink); border:1px solid var(--line); border-radius:6px; padding:6px 11px; font-size:11px; }
.small-button:disabled { opacity:.55; cursor:wait; }
.ecosystem-token .record-grid { margin:20px 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.market-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; padding:22px 0; border-block:1px solid var(--line); }
.market-metrics dt { color:var(--muted); font-size:11px; margin-bottom:7px; }
.market-metrics dd { margin:0; font-size:24px; font-weight:500; overflow-wrap:anywhere; }
.data-status { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:10px; margin:16px 0; }
.data-status .status-dot { width:6px; height:6px; background:var(--positive); box-shadow:none; }
.data-status .small-button { margin-left:auto; }
.fine-print { font-size:11px; line-height:1.7; }
.ecosystem-side { display:flex; flex-direction:column; gap:24px; }
.game-ecosystem { border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--panel); }
.game-ecosystem > img { width:100%; height:184px; object-fit:cover; }
.game-ecosystem > div { padding:24px; }
.game-ecosystem h3 { margin:14px 0 10px; }
.game-ecosystem p { font-size:13px; margin-bottom:18px; }
.utility-card { padding:24px; border:1px solid var(--line); border-radius:16px; flex:1; }
.utility-card h3 { font-size:22px; margin-bottom:12px; }
.utility-card p { font-size:13px; margin-bottom:16px; }
.module-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.module-card,.resource-card,.guide-card { border:1px solid var(--line); border-radius:12px; padding:24px; background:var(--panel); transition:border-color .2s; }
.module-card:hover,.resource-card:hover { border-color:var(--accent); }
.module-number { display:block; font-family:monospace; color:var(--accent); font-size:12px; margin-bottom:30px; }
.module-card h3 { font-size:23px; margin-bottom:12px; }
.module-card p,.resource-card p,.guide-card p { font-size:13px; }
.module-action { display:block; color:var(--accent); font-size:11px; margin-top:24px; }
.resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.resource-card h2,.resource-card h3 { font-size:24px; margin-bottom:14px; }
.capability-list { border-top:1px solid var(--line); }
.capability-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; border-bottom:1px solid var(--line); }
.capability-row h3 { font-size:17px; margin-bottom:5px; }
.capability-row p { font-size:12px; }
.platform-document { padding-block:58px 100px; }
.platform-document .document-intro { max-width:820px; margin-bottom:42px; }
.platform-document .document-intro h1 { font-size:clamp(40px,5vw,66px); line-height:1.1; white-space:pre-line; margin-top:20px; }
.platform-document .document-lead { font-size:16px; margin-top:24px; }
.platform-document > .ecosystem-token { max-width:900px; }
.market-summary .market-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
.market-summary .token-brand code { font-size:11px; }
.pool-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; }
.pool-table { width:100%; min-width:820px; border-collapse:collapse; background:var(--panel); font-size:12px; }
.pool-table th { text-align:left; font-weight:500; color:var(--muted); padding:18px; border-bottom:1px solid var(--line); white-space:nowrap; }
.pool-table td { padding:20px 18px; vertical-align:top; }
.pool-table td small { display:block; font-size:9px; color:var(--muted); max-width:175px; overflow-wrap:anywhere; margin-top:6px; }
.pool-table tr + tr td { border-top:1px solid var(--line); }
.workspace-grid { display:grid; grid-template-columns:210px minmax(0,1fr); gap:28px; }
.workspace-sidebar { border-right:1px solid var(--line); padding-right:24px; }
.workspace-sidebar h2 { font-size:16px; margin:9px 0 20px; letter-spacing:-.02em; }
.workspace-menu { display:grid; gap:6px; }
.workspace-menu button { text-align:left; border:0; color:var(--muted); background:transparent; padding:12px; border-radius:7px; font-size:13px; }
.workspace-menu button.is-active { background:var(--soft); color:var(--ink); }
.sidebar-links { display:grid; gap:18px; margin:30px 0; }
.workspace-content { min-width:0; }
.lookup-result { margin-top:22px; border:1px solid var(--line); border-radius:14px; background:var(--panel); padding:28px; min-height:190px; overflow-wrap:anywhere; }
.lookup-result h2 { font-size:28px; margin:12px 0 18px; }
.lookup-result > code { font-size:12px; }
.lookup-result > p { margin:12px 0; }
.lookup-result > a,.lookup-result > button { margin:14px 14px 0 0; display:inline-block; }
.lookup-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0; }
.lookup-metric { padding:16px; background:var(--dark); border:1px solid var(--line); border-radius:8px; min-width:0; }
.lookup-metric span { display:block; font-size:10px; color:var(--muted); margin-bottom:8px; }
.lookup-metric strong { font-size:20px; font-weight:500; }
.transfer-event { display:grid; gap:6px; padding:14px 0; border-bottom:1px solid var(--line); font-size:12px; }
.transfer-event code { font-size:11px; color:var(--muted); }
.read-only-notice { margin-top:34px; border-top:1px solid var(--line); padding-top:24px; }
.read-only-notice p { font-size:12px; margin-top:10px; }
.watchlist-row { display:flex; gap:12px; padding:16px 0; border-bottom:1px solid var(--line); }
.watchlist-open { border:0; background:none; color:var(--ink); padding:0; flex:1; min-width:0; text-align:left; font-size:12px; overflow-wrap:anywhere; }
.workspace-content textarea { display:block; width:100%; margin:16px 0; resize:vertical; }
.workspace-content label { display:block; margin-top:20px; color:var(--muted); }
.workspace-content [data-note-status] { margin-top:15px; font-size:12px; }
.doc-search-label { display:block; font-size:13px; margin-bottom:10px; }
[data-doc-search] { width:100%; max-width:570px; }
[data-doc-search-status] { font-size:11px; margin:12px 0 26px; }
.docs-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.guide-card h2 { font-size:24px; margin:16px 0; }
.guide-card a { margin-top:20px; display:inline-flex; }
.source-list { display:grid; gap:18px; margin:12px 0 24px; }
.roadmap-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.roadmap-card { padding:28px; border:1px solid var(--line); border-radius:12px; }
.roadmap-card h2 { font-size:25px; margin:16px 0; }
.partner-contact { padding:42px; margin:48px 0; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.partner-contact h2 { margin-bottom:20px; }
.partner-contact p { margin-bottom:24px; }
.access-price { display:block; font-size:36px; font-weight:500; color:var(--accent); margin:18px 0; }
.resource-card .button-outline { margin-top:22px; }
.ecosystem-token .document-actions { margin-bottom:0; }
.platform-site .experience { padding-top:42px; }
html[data-theme="light"] .site-header,html[data-theme="light"] .site-footer { background:var(--dark); }
html[data-theme="light"] .site-header { border-bottom:1px solid var(--line); }
html[data-theme="light"] .race-panel { background:var(--panel); color:var(--ink); }
html[data-theme="light"] .race-lane,html[data-theme="light"] .race-toolbar,html[data-theme="light"] .race-bottom { border-color:var(--line); }
html[data-theme="light"] .demo-section,html[data-theme="light"] .roadmap-section { background:var(--soft); }
@media (max-width:1150px) {
  .container { width:calc(100% - 64px); }
  #navigation { display:none; position:absolute; top:76px; left:0; right:0; padding:25px 32px; background:var(--panel); border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start; z-index:20; }
  #navigation.is-open { display:flex; }
  #navigation a { font-size:13px; }
  .menu-button { display:flex; }
  .platform-hero { gap:36px; padding-top:60px; }
  .platform-hero-art,.platform-hero-art > img { min-height:350px; height:350px; }
  .module-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .market-ticker { gap:16px; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ticker-asset { padding:0 16px; }
  .ticker-asset:nth-child(3) { border-right:0; }
  .ticker-asset:nth-child(4) { padding-left:0; }
}
@media (max-width:760px) {
  .container { width:calc(100% - 36px); }
  .header-inner { gap:16px; }
  .brand { font-size:20px; }
  .brand img { width:26px; height:26px; }
  .header-demo { display:none; }
  .header-actions { margin-left:auto; gap:14px; }
  .platform-hero { grid-template-columns:1fr; padding-block:45px 28px; gap:28px; }
  .platform-hero h1 { font-size:44px; margin:20px 0; }
  .platform-hero-copy > p:not(.eyebrow) { font-size:15px; }
  .platform-hero-art,.platform-hero-art > img { height:270px; min-height:270px; }
  .hero-art-label span { font-size:42px; }
  .lookup-form { padding:20px; }
  .lookup-label { font-size:16px; }
  .lookup-input-row { flex-direction:column; }
  .lookup-input-row input { width:100%; font-size:13px; }
  .query-suggestions button { font-size:10px; }
  .strip-heading { align-items:flex-start; }
  .strip-heading > span:last-child { text-align:right; max-width:150px; }
  .market-ticker { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .ticker-asset:nth-child(3) { border-right:1px solid var(--line); padding-left:0; }
  .ticker-asset:nth-child(2n) { border-right:0; padding-left:16px; }
  .ticker-asset:nth-child(5) { padding-left:0; }
  .ticker-asset strong { font-size:18px; }
  .platform-section { padding-block:48px; }
  .platform-heading { flex-direction:column; align-items:flex-start; gap:18px; }
  .platform-heading h2 { font-size:32px; }
  .platform-heading > p { max-width:none; }
  .ecosystem-grid,.resource-grid,.docs-grid,.roadmap-grid { grid-template-columns:1fr; }
  .ecosystem-token,.market-summary { padding:20px; }
  .ecosystem-card-top { flex-wrap:wrap; }
  .market-metrics dd { font-size:22px; }
  .module-grid { gap:12px; }
  .module-card { padding:18px; }
  .module-card h3 { font-size:20px; }
  .module-card p { font-size:12px; }
  .capability-row { gap:16px; align-items:flex-start; }
  .capability-row p { font-size:11px; }
  .capability-row .platform-badge { white-space:normal; max-width:115px; flex-shrink:0; text-align:center; }
  .platform-document { padding-block:40px 64px; }
  .platform-document .document-intro h1 { font-size:39px; }
  .platform-document .document-lead { font-size:14px; }
  .workspace-grid { grid-template-columns:1fr; gap:20px; }
  .workspace-sidebar { border-right:0; border-bottom:1px solid var(--line); padding:0 0 20px; }
  .workspace-menu { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .workspace-menu button { text-align:center; font-size:12px; padding:10px 5px; }
  .sidebar-links { display:none; }
  .workspace-sidebar .fine-print { margin-top:12px; }
  .lookup-result { padding:20px; }
  .lookup-result h2 { font-size:26px; }
  .lookup-metrics { grid-template-columns:1fr; }
  .market-summary .market-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .token-brand code { overflow-wrap:anywhere; }
  .partner-contact { padding:25px; }
  .source-list a { overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion:reduce) { .module-card,.resource-card { transition:none; } }
