.atlas-copy-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:16px 20px;border:1px solid var(--line,#29495b);border-radius:16px;background:var(--panel,#0c1d29)}.atlas-copy-bar>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.atlas-copy-bar small{color:var(--muted,#a2b5c4);font-size:11px}.atlas-copy-bar button,.atlas-copy-dialog button{border:1px solid var(--mint,#55d9c1);color:var(--ink,#edf6fb);background:transparent;border-radius:10px;padding:10px 15px;cursor:pointer}.atlas-copy-bar.enabled{border-color:var(--mint,#55d9c1)}.atlas-copy-dialog{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;color:var(--ink,#edf6fb);background:var(--panel,#0c1d29);border:1px solid var(--line,#29495b);border-radius:20px;padding:24px}.atlas-copy-dialog::backdrop{background:#031014cc;backdrop-filter:blur(6px)}.atlas-copy-dialog header{display:flex;justify-content:space-between;align-items:start;gap:14px}.atlas-copy-dialog h2{margin:0;font-size:22px}.atlas-copy-dialog header p,.atlas-copy-summary{font-size:12px;color:var(--muted,#a2b5c4)}.atlas-copy-dialog fieldset{border:0;padding:0;margin:0;display:grid;gap:18px}.atlas-copy-dialog label{display:grid;gap:7px;font-size:12px}.atlas-copy-dialog select,.atlas-copy-dialog input[type=number]{width:100%;font:inherit;background:var(--panel2,#142738);color:inherit;border:1px solid var(--line,#29495b);border-radius:10px;padding:11px}.atlas-copy-dialog input[type=number]{direction:ltr;font-variant-numeric:tabular-nums}.atlas-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.atlas-copy-checks{display:grid;gap:10px;border-block:1px solid var(--line,#29495b);padding:14px 0;font-size:12px}.atlas-copy-checks label{display:flex;align-items:center;gap:9px}.atlas-copy-checks input{accent-color:var(--mint,#55d9c1)}.atlas-copy-dialog #atlasCopySave{background:var(--mint,#55d9c1);color:#06181b;font-weight:800}.atlas-copy-error{color:var(--red,#ff7984);font-size:12px}.atlas-copy-dialog button:disabled{opacity:.55;cursor:wait}@media(max-width:600px){.atlas-copy-bar{align-items:start;flex-direction:column}.atlas-copy-grid{grid-template-columns:1fr 1fr}.atlas-copy-dialog{padding:18px}.atlas-copy-bar>div:first-child{align-items:start;flex-direction:column;gap:3px}}

/* Final public surface layer. Existing layouts, visibility and data colors stay local. */
:root {
  --polish-radius: 20px;
  --polish-edge: color-mix(in srgb, var(--mint) 22%, var(--line));
  --polish-wash: color-mix(in srgb, var(--mint) 5%, transparent);
  --polish-shadow: 0 8px 22px #00000012;
}
html body .site-header {
  border-bottom-color: var(--polish-edge) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 18px #00000014;
}
.site-header .brand { gap: 10px; }
.site-header .brand-orbit { border-color: var(--polish-edge); background: var(--polish-wash); }
.site-header .brand-orbit i { border-color: var(--line); }
.site-header .brand small { color: var(--muted); }
.site-header .desktop-nav { padding: 5px; border: 1px solid var(--line); border-radius: 15px; }
.site-header .nav-link { font-size: 12px; font-weight: 600; border-radius: 10px; }
.site-header .header-actions { gap: 8px; }
.site-header :is(.theme-picker,.language-picker) { border-radius: 10px; }
.site-header :is(.help-btn,.about-btn) { border-radius: 10px; font-weight: 600; }
.site-header .help-btn { color: var(--ink); background: var(--panel2); border-color: var(--line); }
.site-header .live-state { color: var(--muted); }
.product-shell { --polish-card-pad: clamp(16px, 1.65vw, 24px); }
.product-shell :is(.page-intro,.capital-heading) { border-color: var(--line); }
.product-shell .page-intro { padding-block: clamp(30px, 4vw, 56px) 28px; }
.product-shell .page-intro h1 {
  margin-block: 14px 12px;
  font-size: clamp(31px, 3.8vw, 54px);
  line-height: 1.4;
  letter-spacing: -.025em;
  font-weight: 800;
}
.product-shell .page-intro p { margin-block: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.product-shell :is(.page-intro>span,.section-heading>div>span,.capital-heading>span) { font-size: 10px; letter-spacing: .12em; }
.product-shell .section-heading { gap: 18px; }
.product-shell .section-heading h2 { line-height: 1.55; letter-spacing: -.02em; }
.product-shell .section-heading p { color: var(--muted); line-height: 1.85; }
.product-shell :is(.signal-card,.trader-card,.lens-card,.movement-card,.vision-lab,.vision-result,.community-callout,.public-value,.arena-panel,.rules-card,.convoy-builder,.convoy-live) {
  border-radius: var(--polish-radius);
  box-shadow: var(--polish-shadow) !important;
}
.product-shell :is(.signal-card,.trader-card,.market-card,.radar-card,.meme-card) {
  transition: border-color 160ms ease;
}
.product-shell :is(.signal-card,.trader-card,.market-card,.radar-card,.meme-card):hover {
  transform: none;
  box-shadow: var(--polish-shadow) !important;
}
.product-shell :is(.market-card,.radar-card,.contract-scanner,.meme-trader-section,.trader-network,.network-group,.lab-builder,.lab-results,.lab-status,.market-empty-state) {
  background: var(--panel) !important;
  border-color: var(--line);
  color: var(--ink);
  border-radius: var(--polish-radius);
}
.product-shell :is(.market-card,.radar-card) { padding: var(--polish-card-pad); }
.product-shell :is(.market-card .market-reason,.market-card .market-next-step>small,.market-price-time,.radar-card p,.meme-disclaimer,.radar-disclaimer) { color: var(--muted); }
.product-shell :is(.market-prices,.market-empty-state,.market-leader-group,.market-pulse-card) { border-color: var(--line); }
.product-shell .market-prices { background: var(--panel2); }
.product-shell .market-prices small { color: var(--muted); }
#page-today .home-market-overview { border-color: var(--polish-edge); box-shadow: var(--polish-shadow) !important; }
#page-today .home-market-overview .section-heading { margin-bottom: 18px; }
#page-today .market-pulse-card { border-radius: 14px; }
#page-today .market-leader-group { background: var(--panel2); border-radius: 14px; }
#heroSignal[data-primary-state="NO_SIGNAL"] { box-shadow: var(--polish-shadow) !important; }
.primary-wait-copy h2 { line-height: 1.5; }
.primary-wait-copy p { line-height: 1.95; }
.product-shell :is(.primary-action,.secondary-action,.section-heading button) {
  min-height: 42px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.65;
}
.product-shell :is(.control-row,.trader-toolbar,.meme-toolbar) { gap: 14px; }
.product-shell .trader-mode-guide { background: var(--panel2); border-color: var(--line); }
.product-shell .search-field { border-radius: 12px; }
.product-shell .search-field:focus-within { border-color: var(--mint) !important; }
.product-shell .search-field input { min-width: 0; }
.product-shell :is(.chips,.trader-view-tabs,.capital-board-periods,.trader-network-windows) { border-radius: 12px; }
.product-shell .chips button { border-radius: 8px; font-weight: 600; }
.product-shell :is(.chips button:not(.active),.trader-view-tabs button[aria-selected=false]) { color: var(--muted); }
.product-shell .trader-view-tabs { gap: 6px; padding: 5px; border: 1px solid var(--line); background: var(--panel2); }
.product-shell .trader-view-tabs button { border-radius: 9px; min-height: 42px; font-weight: 600; }
.product-shell .trader-view-tabs button[aria-selected=true] { border-color: var(--polish-edge); background: var(--acid); color: var(--ocean-base,#071211); }
:root[data-resolved-theme=light] .product-shell .trader-view-tabs button[aria-selected=true] { color: #fff; }
.product-shell :is(.market-sort,.order-picker,.capital-board-controls label,.lab-fields label,.contract-scanner form) :is(input,select) {
  border-radius: 9px;
}
.product-shell :is(.market-board,.capital-table-wrap) { border-color: var(--polish-edge) !important; border-radius: 17px; }
.product-shell .market-board-head { background: var(--panel2); color: var(--muted); padding-block: 15px; }
.product-shell .market-row { border-top-color: var(--line); padding-block: 17px; }
.product-shell .market-row :is(.market-symbol small,.market-fresh,.market-rank) { color: var(--muted); }
.product-shell :is(.market-row,.capital-table td,.capital-table th,.market-prices strong,.market-pulse-card b,.arena-metric b) { font-variant-numeric: tabular-nums; }
.product-shell .capital-table :is(th,td) { border-bottom-color: var(--line); }
.product-shell .capital-table th { font-weight: 600; }
.product-shell .capital-table tbody tr:nth-child(even) { background: var(--polish-wash); }
.product-shell :is(.market-pagination,.trader-pagination,.capital-pagination) { border-color: var(--line); color: var(--muted); font-size: 12px; }
.product-shell :is(.market-pagination,.trader-pagination,.capital-pagination) button {
  min-height: 42px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel2); color: var(--ink); font: inherit; cursor: pointer;
}
.product-shell :is(.market-pagination,.trader-pagination,.capital-pagination) button:disabled { opacity: .45; cursor: default; }
/* Dialogs keep their current geometry and charts; a solid backdrop avoids costly blur. */
html body :is(.market-dialog,.trader-dialog,.market-discovery-dialog,.help-dialog,.about-dialog,.primary-decision,.radar-source-dialog,.atlas-copy-dialog)::backdrop {
  background: #020d0cd9;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html body :is(.help-dialog,.about-dialog,.primary-decision,.radar-source-dialog) {
  color: var(--ink); background: var(--panel) !important; border-color: var(--polish-edge);
  box-shadow: 0 18px 50px #00000035;
}
:is(.market-dialog,.trader-dialog,.help-dialog,.about-dialog,.primary-decision,.radar-source-dialog) .dialog-head {
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
:is(.market-dialog,.trader-dialog,.help-dialog,.about-dialog,.primary-decision,.radar-source-dialog) .dialog-head h2 { line-height: 1.5; }
html body :is(.market-dialog,.trader-dialog) :is(.chart-stage,.terminal-chart-card) { background: var(--panel); border-color: var(--line); }
:is(.help-dialog,.about-dialog) :is(p,.privacy-note,.guide-note) { color: var(--muted); line-height: 1.9; }
:is(.help-dialog,.about-dialog) :is(.guide-grid article,.visitor-panel article) { background: var(--panel2); border-color: var(--line); border-radius: 13px; }
html body .mobile-nav { backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--polish-edge) !important; box-shadow: 0 4px 20px #00000028; }
.mobile-nav .nav-link { border-radius: 12px; }
.mobile-nav .nav-link.active { background: var(--polish-wash); }
.product-shell .page.active { animation: polish-enter 200ms ease-out; }
html body dialog[open] { animation: polish-enter 160ms ease-out; }
.site-header .nav-link,.product-shell :is(.primary-action,.secondary-action,.section-heading button,.chips button,.trader-view-tabs button) { transition: color 140ms ease, border-color 140ms ease; }
@keyframes polish-enter { from { opacity: .5; } to { opacity: 1; } }
@media(hover:hover) {
  .product-shell :is(.secondary-action,.section-heading button):hover:not(:disabled),
  .site-header :is(.help-btn,.about-btn,.round-btn):hover:not(:disabled) { border-color: var(--mint) !important; }
  .product-shell :is(.chips button:not(.active),.trader-view-tabs button[aria-selected=false]):hover { color: var(--ink); background: var(--polish-wash); }
}
@media(min-width:1100px) {
  .site-header { gap: 22px; }
  .site-header .nav-link { padding-inline: 13px; }
}
@media(max-width:760px) {
  .product-shell { --polish-radius: 16px; --polish-card-pad: 16px; }
  .product-shell .page-intro { padding-block: 30px 22px; }
  .product-shell .page-intro h1 { font-size: clamp(28px, 7.3vw, 38px); line-height: 1.5; letter-spacing: -.02em; }
  .product-shell .page-intro p { font-size: 12px; line-height: 1.9; }
  .product-shell .section-heading { gap: 12px; }
  .product-shell .section-heading h2 { line-height: 1.6; }
  .product-shell .trader-view-tabs { gap: 3px; }
  .product-shell .trader-view-tabs button { padding-inline: 9px; font-size: 11px; }
  .product-shell .market-row { padding-block: 15px; }
  :is(.help-dialog,.about-dialog,.primary-decision,.radar-source-dialog) .dialog-head { gap: 12px; }
  :is(.help-dialog,.about-dialog,.primary-decision,.radar-source-dialog) .dialog-head h2 { font-size: 21px; }
  .site-header .header-actions { gap: 5px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .product-shell .page.active,html body dialog[open] { animation: none; }
  .site-header .nav-link,.product-shell :is(.signal-card,.trader-card,.market-card,.radar-card,.meme-card,.primary-action,.secondary-action,.section-heading button,.chips button,.trader-view-tabs button) { transition: none; }
}

/* Public microinteractions: user-triggered motion and one static-heading accent. */
.site-header .desktop-nav .nav-link,.product-shell .trader-view-tabs button {
  position: relative;
  transition: color 140ms ease, border-color 140ms ease, translate 180ms ease, scale 120ms ease;
}
.site-header .desktop-nav .nav-link::after,.product-shell .trader-view-tabs button::after {
  content: ""; position: absolute; inset-inline: calc(50% - 9px); bottom: 5px;
  height: 2px; border-radius: 2px; background: currentColor; pointer-events: none;
  transform: scaleX(0); opacity: .7; transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.site-header .desktop-nav .nav-link.active::after,
.product-shell .trader-view-tabs button[aria-selected=true]::after { transform: scaleX(1); }
.product-shell :is(.primary-action,.secondary-action,.section-heading button,.chips button) {
  transition: color 140ms ease, border-color 140ms ease, translate 180ms cubic-bezier(.2,.8,.2,1), scale 120ms ease;
}
.product-shell :is(button.signal-card,button.trader-card,.market-card[role=button],button.capital-podium-card) {
  transition: border-color 160ms ease, translate 200ms cubic-bezier(.2,.8,.2,1), scale 120ms ease;
}
.product-shell .page-intro { position: relative; }
.product-shell .page-intro::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 80px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg,var(--acid),var(--blue)); pointer-events: none;
  transform-origin: left;
}
.product-shell .page.active>.page-intro::after { animation: atlas-accent-enter 650ms cubic-bezier(.2,.8,.2,1) both; }
[dir=rtl] .product-shell .page-intro::after { transform-origin: right; }
@keyframes atlas-accent-enter {
  from { opacity: 0; transform: scaleX(.2); }
  to { opacity: 1; transform: scaleX(1); }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .site-header .desktop-nav .nav-link:hover:not(:disabled),
  .product-shell :is(.trader-view-tabs button,.chips button):hover:not(:disabled) { translate: 0 -1px; }
  .site-header .desktop-nav .nav-link:hover::after,
  .product-shell .trader-view-tabs button:hover::after { transform: scaleX(.65); }
  .site-header .desktop-nav .nav-link.active:hover::after,
  .product-shell .trader-view-tabs button[aria-selected=true]:hover::after { transform: scaleX(1); }
  .product-shell :is(.primary-action,.secondary-action,.section-heading button):hover:not(:disabled):not([aria-disabled=true]) { transform: none; translate: 0 -2px; }
  .product-shell :is(button.signal-card,button.trader-card,.market-card[role=button],button.capital-podium-card):hover:not(:disabled) {
    translate: 0 -3px; border-color: var(--acid) !important;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .site-header .desktop-nav .nav-link:active:not(:disabled),
  .product-shell :is(.primary-action,.secondary-action,.section-heading button,.chips button,.trader-view-tabs button,button.signal-card,button.trader-card,.market-card[role=button],button.capital-podium-card):active:not(:disabled):not([aria-disabled=true]) { scale: .985; }
}
@media(prefers-reduced-motion:reduce) {
  .product-shell .page.active>.page-intro::after { animation: none; }
  .site-header .desktop-nav .nav-link,.site-header .desktop-nav .nav-link::after,
  .product-shell .trader-view-tabs button::after,
  .product-shell :is(.primary-action,.secondary-action,.section-heading button,.chips button,.trader-view-tabs button,button.signal-card,button.trader-card,.market-card[role=button],button.capital-podium-card) { transition: none; }
  .product-shell :is(.primary-action,.secondary-action,.section-heading button):hover { transform: none; }
}
html.atlas-enhanced-motion .product-shell .page.active { animation: none; }
html.lenis,html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth.lenis-scrolling iframe { pointer-events: none; }
