:root[data-inudex-theme=white]{--bg:#edf1f6;--panel:#fff;--line:#c3cbd7;--muted:#526173;--text:#172437;--orange:#a54a00;--green:#08734c;--red:#bd233d;--surface:#f4f6fa}
:root[data-inudex-theme=neon]{--bg:#0b0920;--panel:#15122c;--line:#49406d;--muted:#b6b0d0;--text:#f2efff;--orange:#bca0ff;--surface:#201a3b}
html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]),html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) body{background:var(--bg);color:var(--text)}
html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) :is(.site-header,.panel,.coin-browser,.coin-directory,.chart-stage,.chart-placeholder,.launchpad-chart,.chart-toolbar,.chart-context,.chart-footnote,.coin-chip,.coin-row,.directory-filters,select,input,.icon-button,.change-chip,.window-buttons,.window-buttons button,th,.count-badge,.chain-badge,.chart-action,.trade-button){background:var(--panel);color:var(--text);border-color:var(--line)}
html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) :is(.micro-note,.section-label,.section-label>span,.price-secondary,.key-stats span,.key-stats small,.feed-tools small,.address,.chart-context,.chart-footnote,.records-disclosure>summary,.records-disclosure>summary>span,.pool-control,.directory-heading,.coin-chip small,.coin-row small,th,.data-note){color:var(--muted)}
html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) :is(.price-value,.key-stats strong,.token-heading h1,.brand,.site-header nav a,.chart-toolbar h2,.activity-total,.flow-counts strong){color:var(--text)}
html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) #history-chart line{stroke:var(--line)}html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) #history-chart text{fill:var(--muted)}html[data-inudex-theme]:not([data-inudex-theme=classic],[data-inudex-theme=clash]) #history-chart path{stroke:var(--orange)}
html[data-inudex-theme=neon] .panel{box-shadow:0 0 18px #8c51ff12}html[data-inudex-theme=neon] .terminal-themes{border-bottom-color:#7a55b9}html[data-inudex-theme=white] .chart-stage iframe{filter:none}
html[data-inudex-theme=white] .feed-badge{background:transparent!important;color:#855000}html[data-inudex-theme=white] :is(.outbound-icon,.subtle-link,.chart-actions a,.window-buttons strong){color:var(--text)}

/* INU workshop: individually mounted boards, inspired by the Fusion Lab sign. */

/* Compact page-local theme menu. */
.site-header .theme-picker{display:flex;align-items:center;gap:6px;font:600 10px 'DM Sans',sans-serif;white-space:nowrap;margin-left:auto;flex-shrink:0;color:var(--text)}
.site-header .theme-picker select{max-width:100px;min-height:30px;font-size:11px;padding:5px 22px 5px 8px;color:var(--text);background:var(--panel);border:1px solid var(--line)}
@media(max-width:760px){.site-header .theme-picker{margin-left:auto}.site-header .header-trade{margin-left:auto}.site-header .theme-picker select{max-width:90px}}
/* Bold white lettering with a fine black edge; keep the existing panel sizes. */
/* Neon: pitch-black canvas and a shuffled four-color accent palette. */
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]){--bg:#000;--panel:#000;--surface:#000;--text:#f4f5ff;--muted:#bfc4d6;--orange:#ff61d8;--line:#7d4f9a;--neon-accent:#bd8bff}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) body{background:#000;color:var(--text)}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) :is(.site-header,.coin-browser,.token-heading,.panel,.records-disclosure){background:#000;border:1px solid var(--neon-accent);border-radius:6px;box-shadow:inset 0 0 8px color-mix(in srgb,var(--neon-accent) 9%,transparent),0 0 9px color-mix(in srgb,var(--neon-accent) 20%,transparent)}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .site-header{border-width:0 0 1px;border-radius:0}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .coin-browser{margin:9px 0;padding:14px 12px}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .token-heading{padding:0 10px;margin:0 0 8px}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .terminal-grid{gap:10px}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .market-sidebar{gap:10px;padding-right:3px;scrollbar-color:#bd8bff #000}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) :is(.chart-stage,.chart-toolbar,.chart-context,.chart-footnote,.chart-placeholder,.launchpad-chart,.window-buttons,.window-buttons button,.coin-chip,.coin-row,.directory-filters,.chart-action,.icon-button,.change-chip,.count-badge,select,input,th,.chain-badge){background:#000;border-color:var(--neon-accent);color:var(--text)}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) :is(.section-label,.chart-toolbar h2,.directory-heading h2,.token-heading h1,.price-value,.key-stats strong,.activity-total strong,.flow-counts strong,.reward-stats strong,.pool-details strong,.detail-panel dd,.coin-chip strong,.coin-row strong){color:var(--neon-accent);text-shadow:0 0 7px color-mix(in srgb,var(--neon-accent) 35%,transparent)}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .key-stats>div:nth-child(4n+1){--neon-accent:#47cfff}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .key-stats>div:nth-child(4n+2){--neon-accent:#ff61d8}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .key-stats>div:nth-child(4n+3){--neon-accent:#bd8bff}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .key-stats>div:nth-child(4n){--neon-accent:#54ff9f}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .coin-chip:nth-child(4n+1){--neon-accent:var(--ticker-rim-1,#47cfff)}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .coin-chip:nth-child(4n+2){--neon-accent:var(--ticker-rim-2,#ff61d8)}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .coin-chip:nth-child(4n+3){--neon-accent:var(--ticker-rim-3,#bd8bff)}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .coin-chip:nth-child(4n){--neon-accent:var(--ticker-rim-4,#54ff9f)}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) :is(.chart-action:hover,.window-buttons button[aria-pressed=true],.coin-chip[aria-pressed=true]){border-color:var(--neon-accent);color:var(--neon-accent);box-shadow:inset 0 0 8px color-mix(in srgb,var(--neon-accent) 20%,transparent)}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .trade-button{background:#000;color:#54ff9f!important;border-color:#54ff9f;box-shadow:0 0 8px #54ff9f22}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .positive{color:#54ff9f}:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .negative{color:#ff79b4}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) .chart-stage iframe{filter:contrast(1.6)}

/* Every native terminal label joins the neon palette; provider iframe UI stays provider-owned. */
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) body{--text:#47cfff;--muted:#bd8bff;color:#47cfff}
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) body :is(h1,h2,h3,p,a,button,label,input,summary,span,strong,small,dt,dd,th,td,code,.eyebrow,.price-value,.section-label,.activity-total,.flow-counts,.key-stats,.chart-context,.chart-footnote,.table-guide,.data-note,.feed-badge){color:var(--neon-accent,#47cfff);text-shadow:0 0 5px color-mix(in srgb,var(--neon-accent,#47cfff) 25%,transparent)}
:root[data-inudex-theme=neon] body :is(.positive,.positive strong){color:#54ff9f!important}
:root[data-inudex-theme=neon] body :is(.negative,.negative strong){color:#ff61d8!important}
:root[data-inudex-theme=neon] .site-header .inu-nav a:nth-child(4n+1){--neon-accent:#47cfff}
:root[data-inudex-theme=neon] .site-header .inu-nav a:nth-child(4n+2){--neon-accent:#ff61d8}
:root[data-inudex-theme=neon] .site-header .inu-nav a:nth-child(4n+3){--neon-accent:#bd8bff}
:root[data-inudex-theme=neon] .site-header .inu-nav a:nth-child(4n){--neon-accent:#54ff9f}
/* Deliberate exception to theme colors: always-readable native picker and options. */
:root[data-inudex-theme] body .site-header .theme-picker select,
:root[data-inudex-theme] body .site-header .theme-picker select option{background:#000!important;color:#fff!important;-webkit-text-fill-color:#fff;color-scheme:dark;text-shadow:none!important;font-weight:700;border-color:#888;box-shadow:none}
:root[data-inudex-theme=white]:not([data-inudex-theme=classic]) body :is(.activity-total strong,.flow-counts strong,.detail-panel dd,.reward-stats strong,.pool-details strong){color:var(--text)}

/* INU atelier: real grain, satin brass, and dark inset reading surfaces.
   Keep the historical timber key so existing theme preferences survive. */

/* The launchpad coin is spotlighted by exact mint, never by ticker matching. */
:root[data-inudex-theme] body .featured-coins .coin-chip.launchpad-coin{
 --spotlight:#ffb657;
 position:relative;overflow:hidden;border:2px solid var(--spotlight);
 box-shadow:inset 0 0 14px #ffac3e1c,0 0 9px #ffac3e55;
 animation:launchpad-glow 3.2s ease-in-out infinite;
}
:root[data-inudex-theme] body .featured-coins .coin-chip.launchpad-coin[aria-pressed=true]{outline:2px solid var(--spotlight);outline-offset:2px}
:root[data-inudex-theme] body .featured-coins .launchpad-coin .launchpad-label{
 display:block;font-size:8px;line-height:1.4;letter-spacing:.8px;text-transform:uppercase;
 color:var(--spotlight);margin-top:4px;font-weight:800;
}
:root[data-inudex-theme] body .featured-coins .launchpad-coin::after{
 content:'';position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(110deg,transparent 30%,#fff2 48%,transparent 65%);
 transform:translateX(-120%);animation:launchpad-sheen 6s ease-in-out infinite;
}
:root[data-inudex-theme=white] body .featured-coins .coin-chip.launchpad-coin{--spotlight:#8a4600}
:root[data-inudex-theme=neon] body .featured-coins .coin-chip.launchpad-coin{--spotlight:#54ff9f;--neon-accent:#54ff9f}
.featured-coins{padding:5px 4px 10px}
@keyframes launchpad-glow{50%{box-shadow:inset 0 0 14px color-mix(in srgb,var(--spotlight) 15%,transparent),0 0 14px color-mix(in srgb,var(--spotlight) 40%,transparent)}}
@keyframes launchpad-sheen{0%,65%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){
 :root[data-inudex-theme] body .featured-coins .coin-chip.launchpad-coin,
 :root[data-inudex-theme] body .featured-coins .launchpad-coin::after{animation:none}
 :root[data-inudex-theme] body .featured-coins .launchpad-coin::after{display:none}
}

/* Match Classic’s black chart surface in INU and Neon; White keeps its light chart. */
:root[data-inudex-theme=neon]:not([data-inudex-theme=classic]) :is(.chart-stage,.chart-placeholder,.launchpad-chart){background:#000;background-image:none}
