/* robotdev 95 — Windows 95 theme on top of 98.css (served at /vendor/98/98.css). */

:root {
  --desk: #008080;
  --face: #c0c0c0;
  --hi: #ffffff;
  --lo: #808080;
  --dk: #0a0a0a;
  --navy: #000080;
  --tip: #ffffe1;
  --buy: #007a00;
  --sell: #c00000;
  --screen: #45ff8a;
  --px: 'Pixelated MS Sans Serif', Arial, sans-serif;
  --body: Tahoma, Verdana, 'Segoe UI', sans-serif;
  --mono: 'Courier New', Courier, monospace;
  --raised: inset -1px -1px var(--dk), inset 1px 1px var(--hi), inset -2px -2px var(--lo), inset 2px 2px #dfdfdf;
  --sunken: inset -1px -1px var(--hi), inset 1px 1px var(--lo), inset -2px -2px #dfdfdf, inset 2px 2px var(--dk);
  --thin-sunken: inset -1px -1px var(--hi), inset 1px 1px var(--lo);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--desk);
  color: #000;
  font: 13px/1.45 var(--body);
  padding-bottom: 46px;
  overflow-x: hidden;
}
::selection { background: var(--navy); color: #fff; }
img { max-width: 100%; }
a { color: #0000ee; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.px { font-family: var(--px); }
.muted { color: #333; }
.dim { color: #666; }
.acc { color: var(--navy); font-weight: bold; }

/* ---------- windows ---------- */
.desk { width: min(1200px, 100% - 24px); margin: 0 auto; padding: 18px 0 8px; display: grid; gap: 16px; }
.window { min-width: 0; }
.window-body { margin: 10px; }
.title-bar { padding: 3px 3px 3px 4px; }
.title-bar-text { display: flex; align-items: center; gap: 6px; font-family: var(--px); font-size: 11px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title-bar-text img { width: 16px; height: 16px; image-rendering: pixelated; flex: none; }
.title-bar-controls button { cursor: default; }
.status-bar { font-family: var(--px); font-size: 11px; }
.status-bar-field { padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-bar-field b { font-weight: bold; }

h1, h2, h3, h4 { font-family: var(--px); font-weight: bold; letter-spacing: 0; margin: 0; }
p { margin: 0; }

/* buttons: 98.css styles <button>; links that look like buttons */
button, .btn { font-family: var(--px); font-size: 11px; color: #000; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 75px; min-height: 23px; padding: 0 12px;
  background: var(--face); box-shadow: var(--raised);
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
}
.btn:active { box-shadow: var(--sunken); padding: 1px 11px 0 13px; }
.btn:focus-visible, button:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.btn-lg, button.btn-lg { min-height: 34px; padding: 0 20px; font-weight: bold; }
.btn-sm, button.btn-sm { min-height: 21px; min-width: 0; padding: 0 8px; }
.btn-primary, button.btn-primary { font-weight: bold; box-shadow: inset -1px -1px var(--dk), inset 1px 1px var(--hi), inset -2px -2px var(--lo), inset 2px 2px #dfdfdf, 0 0 0 1px #000; }
.btn[disabled], button[disabled] { color: var(--lo); text-shadow: 1px 1px 0 var(--hi); cursor: default; }

/* form fields */
.input, input.input, textarea.input, select.input {
  width: 100%; font-family: var(--body); font-size: 13px; padding: 5px 6px; height: auto;
  background: #fff; border: 0; box-shadow: var(--sunken); color: #000; outline: none; border-radius: 0;
}
textarea.input { resize: vertical; min-height: 70px; }
.input:focus { outline: 1px dotted #000; outline-offset: -4px; }
.field { display: grid; gap: 4px; }
.field > label { font-family: var(--px); font-size: 11px; display: flex; justify-content: space-between; gap: 8px; }
.field .opt { color: #555; font-weight: normal; }
.field .hint { font-size: 12px; color: #444; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* status lights */
.pulse { display: inline-block; width: 8px; height: 8px; background: #00c000; box-shadow: inset -1px -1px #006000, inset 1px 1px #8f8; flex: none; animation: led 1.6s steps(1) infinite; }
.pulse.off { background: #808080; box-shadow: inset -1px -1px #404040; animation: none; }
.pulse.warn { background: #e0a000; box-shadow: inset -1px -1px #806000; animation: none; }
@keyframes led { 50% { background: #60ff60; } }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 6px; font-family: var(--px); font-size: 11px; background: var(--face); box-shadow: var(--thin-sunken); white-space: nowrap; }
.pill.acc, .pill.pump { background: var(--navy); color: #fff; box-shadow: none; font-weight: normal; }
.pill.warn { background: var(--tip); color: #000; box-shadow: inset 0 0 0 1px #000; }
.pill.vio { color: var(--navy); }
.kicker { font-family: var(--px); font-size: 11px; color: var(--navy); }

/* progress bar (Win95 segmented blocks) */
.prog { margin-top: 6px; }
.prog .bar { height: 14px; background: #fff; box-shadow: var(--thin-sunken); padding: 2px; overflow: hidden; }
.prog .bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 10px); transition: width 0.6s steps(12); }
.prog .bar.done i { background: repeating-linear-gradient(90deg, #008000 0 8px, transparent 8px 10px); }
.prog .lbl { display: flex; justify-content: space-between; font-family: var(--px); font-size: 11px; color: #333; margin-top: 2px; }

/* toast = Win95 tooltip */
.toast { position: fixed; left: 50%; bottom: 56px; transform: translateX(-50%); padding: 4px 8px; background: var(--tip); border: 1px solid #000; font-family: var(--px); font-size: 11px; opacity: 0; transition: opacity 0.15s; pointer-events: none; z-index: 90; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35); }
.toast.on { opacity: 1; }

/* ---------- taskbar + start menu ---------- */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 36px;
  display: flex; align-items: center; gap: 4px; padding: 3px;
  background: var(--face); box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff;
}
.start-btn { display: flex !important; align-items: center; gap: 5px; min-width: 0 !important; height: 28px; padding: 0 8px !important; font-weight: bold; }
.start-btn img { width: 18px; height: 18px; image-rendering: pixelated; }
.start-btn.on { box-shadow: var(--sunken); }
.task-items { display: flex; gap: 4px; min-width: 0; flex: 1; overflow: hidden; }
.task { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; min-width: 0; max-width: 180px; background: var(--face); box-shadow: var(--raised); font-family: var(--px); font-size: 11px; color: #000; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task img { width: 16px; height: 16px; image-rendering: pixelated; flex: none; }
.task.on { box-shadow: var(--sunken); background: repeating-conic-gradient(#c0c0c0 0% 25%, #fff 0% 50%) 0 0 / 2px 2px; font-weight: bold; }
.tray { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px; box-shadow: var(--thin-sunken); }
.tray button { height: 22px; min-height: 22px; }
.clock { font-family: var(--px); font-size: 11px; padding: 0 4px; white-space: nowrap; }
.wallet-btn { display: inline-flex !important; align-items: center; gap: 6px; padding: 0 8px !important; }
.wallet-btn.on { font-weight: bold; }
.nav-ca { display: none !important; align-items: center; gap: 6px; padding: 0 8px !important; }
.nav-ca.on { display: inline-flex !important; }

.start-menu { position: fixed; left: 3px; bottom: 37px; z-index: 85; display: flex; background: var(--face); box-shadow: var(--raised); padding: 3px; min-width: 230px; }
.start-side { width: 26px; background: linear-gradient(0deg, #000080, #1084d0); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.start-side span { writing-mode: vertical-rl; transform: rotate(180deg); color: #c0c0c0; font: bold 18px/1 Arial, sans-serif; letter-spacing: 1px; white-space: nowrap; }
.start-side span b { color: #fff; }
.start-menu ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.start-menu li a { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 8px; color: #000; text-decoration: none; font-family: var(--px); font-size: 11px; }
.start-menu li a img { width: 24px; height: 24px; image-rendering: pixelated; }
.start-menu li a .ic { width: 24px; text-align: center; font-size: 18px; }
.start-menu li a:hover { background: var(--navy); color: #fff; }
.start-menu li.sep { height: 2px; margin: 3px 2px; box-shadow: inset 0 1px var(--lo), inset 0 -1px var(--hi); }

/* "It's now safe to turn off your computer" */
.shutdown { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center; cursor: pointer; }
.shutdown p { color: #ff8a00; font: 22px/1.4 var(--px); text-align: center; padding: 20px; }

/* ---------- Botty, the assistant ---------- */
.botty { position: fixed; right: 14px; bottom: 46px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.botty > * { pointer-events: auto; }
.botty-tip { position: relative; width: 250px; background: var(--tip); border: 1px solid #000; border-radius: 6px; padding: 10px 10px 8px; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3); font-size: 12px; }
.botty-tip::after { content: ""; position: absolute; right: 40px; bottom: -10px; border: 10px solid transparent; border-top-color: #000; border-bottom: 0; }
.botty-tip::before { content: ""; position: absolute; right: 41px; bottom: -8px; border: 9px solid transparent; border-top-color: var(--tip); border-bottom: 0; z-index: 1; }
.botty-tip .x { position: absolute; top: 3px; right: 3px; min-width: 16px !important; min-height: 14px !important; width: 16px; height: 14px; padding: 0 !important; font: bold 10px/1 Arial; }
.botty-tip p { margin: 0 14px 8px 0; }
.botty-tip .row { display: flex; gap: 6px; flex-wrap: wrap; }
.botty-tip .row button, .botty-tip .row .btn { min-width: 0; padding: 0 8px; }
.botty-img { width: 84px; cursor: pointer; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.35)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ---------- home: hero ---------- */
.hero-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: center; padding: 10px 8px 14px; }
.hero-art { position: relative; background: var(--navy); box-shadow: var(--sunken); padding: 18px; display: grid; place-items: center; min-height: 260px; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px); pointer-events: none; }
.hero-art img { width: 190px; image-rendering: pixelated; position: relative; }
.hero-art .scr { position: absolute; left: 10px; top: 8px; color: var(--screen); font: 11px var(--px); }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; font-family: var(--px); font-size: 11px; color: #333; }
.eyebrow s { color: #808080; }
.hero-copy h1 { font-size: 33px; line-height: 1.15; margin: 10px 0 12px; }
.hero-copy h1 .glow { color: var(--navy); }
.lede { font-size: 14px; max-width: 620px; margin: 0 0 16px; }
.hero-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font: 11px var(--px); color: #222; }
.hero-tags span::before { content: "\2713  "; color: #008000; }

/* ticker = scrolling marquee in a sunken field */
.ticker { height: 22px; overflow: hidden; background: #000; box-shadow: var(--sunken); position: relative; margin: 0 8px 8px; }
.ticker-track { display: flex; gap: 26px; align-items: center; height: 22px; width: max-content; padding-left: 100%; animation: tick 70s linear infinite; font: 11px var(--px); white-space: nowrap; color: var(--screen); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.ticker .tk { display: inline-flex; gap: 6px; color: #a0ffc4; }
.ticker .tk b { color: #fff; font-weight: normal; }
.ticker .tk .buy { color: #45ff8a; }
.ticker .tk .sell { color: #ff6060; }
.ticker .tk .new { color: #ffd84a; }

/* ---------- board ---------- */
.board-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.board-head { display: flex; gap: 8px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.tabs { display: flex; align-items: flex-end; flex-wrap: wrap; }
.tabs button { min-width: 0; min-height: 22px; padding: 2px 12px 3px; background: var(--face); box-shadow: inset -1px 0 var(--dk), inset 1px 1px var(--hi), inset -2px 0 var(--lo), inset 2px 2px #dfdfdf; border-radius: 3px 3px 0 0; position: relative; }
.tabs button.on { padding-bottom: 6px; margin-top: -3px; z-index: 2; font-weight: bold; }
.tabs button:active { box-shadow: inset -1px 0 var(--dk), inset 1px 1px var(--hi), inset -2px 0 var(--lo), inset 2px 2px #dfdfdf; padding: 2px 12px 3px; }
.search { display: flex; align-items: center; gap: 6px; font: 11px var(--px); padding-bottom: 4px; }
.search svg { display: none; }
.search input { width: 220px; font-family: var(--body); font-size: 12px; padding: 3px 5px; border: 0; box-shadow: var(--sunken); outline: none; height: auto; }
.board-panel { box-shadow: var(--raised); padding: 10px; position: relative; z-index: 1; background: var(--face); }

.king { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; margin-bottom: 10px; background-color: var(--tip); box-shadow: inset 0 0 0 1px #000; color: #000; text-decoration: none; }
.king img { width: 72px; height: 72px; object-fit: cover; box-shadow: var(--sunken); padding: 2px; background: #fff; }
.king .crown { font: bold 11px var(--px); color: var(--navy); }
.king h3 { font-size: 22px; margin: 2px 0 4px; }
.king h3 small { font: 13px var(--body); color: #333; margin-left: 6px; }
.king .mc { font: bold 22px var(--px); text-align: right; }
.king .mc small { display: block; font: 11px var(--px); color: #333; }

.grid-coins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: #fff; box-shadow: var(--sunken); padding: 8px; min-height: 160px; }
.lc { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 8px; background-color: var(--face); box-shadow: var(--raised); color: #000; text-decoration: none; }
.lc:hover { outline: 1px dotted #000; outline-offset: -4px; }
.lc img { width: 56px; height: 56px; object-fit: cover; background: #fff; box-shadow: var(--sunken); padding: 2px; }
.lc .r1 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.lc .sym { font: bold 11px var(--px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc .sym small { font: 12px var(--body); color: #444; margin-left: 4px; }
.lc .mc { font: bold 11px var(--px); white-space: nowrap; }
.lc .meta { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 11px; color: #333; margin-top: 4px; align-items: center; }
.lc .meta .acc { color: var(--buy); font-weight: normal; }
.lc .last { font-size: 11px; color: #444; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc .last .acc { color: var(--buy); }
.flash-buy { background-color: #c8f0c8 !important; }
.flash-sell { background-color: #f4c8c8 !important; }
.lc.enter { animation: pop 0.4s steps(3) both; }
@keyframes pop { from { opacity: 0; } }
.lc-empty { grid-column: 1 / -1; padding: 40px 16px; text-align: center; display: grid; gap: 12px; justify-items: center; }

/* list boxes: live trades + trenches */
.listbox { list-style: none; margin: 0; padding: 0; background: #fff; box-shadow: var(--sunken); max-height: 300px; overflow-y: auto; }
.listbox li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; padding: 3px 6px; font-size: 12px; align-items: center; border-bottom: 1px dotted #c0c0c0; }
.listbox li:nth-child(odd) { background: #f4f4f4; }
.listbox li.empty { display: block; padding: 16px 10px; color: #444; background: #fff; }
.listbox li.enter { animation: hl 1.2s steps(2); }
@keyframes hl { 0% { background: var(--navy); color: #fff; } }
.listbox .side { font: bold 11px var(--px); text-transform: uppercase; }
.listbox .side.buy { color: var(--buy); }
.listbox .side.sell { color: var(--sell); }
.listbox .what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listbox .what a { color: var(--navy); }
.listbox .t { color: #555; font-size: 11px; white-space: nowrap; }
.trench li { grid-template-columns: 22px minmax(0, 1fr) auto; }
.trench .av { width: 18px; height: 18px; display: grid; place-items: center; font: bold 11px var(--px); color: #000; box-shadow: var(--thin-sunken); }
.trench .nodev { color: var(--sell); font-size: 11px; }
.trench-head { font-size: 12px; margin-bottom: 8px; display: grid; gap: 8px; }
.trench-head b { font-family: var(--px); }
.side-col { display: grid; gap: 16px; min-width: 0; }

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.panel-head h3 { font-size: 11px; display: flex; align-items: center; gap: 6px; }

/* ---------- notepad, steps, features, help ---------- */
.notepad { background: #fff; box-shadow: var(--sunken); padding: 12px 14px; font: 13px/1.6 var(--mono); }
.menubar { display: flex; gap: 2px; font: 11px var(--px); padding: 0 2px 4px; }
.menubar span { padding: 2px 6px; }
.menubar span::first-letter { text-decoration: underline; }
.versus { display: grid; grid-template-columns: 1fr 1fr; }
.versus > div { padding: 4px 14px 8px 0; }
.versus .us { border-left: 1px dashed #808080; padding-left: 14px; }
.versus h3 { font: bold 13px var(--mono); margin-bottom: 6px; }
.versus .big { font: bold 15px var(--mono); margin: 0 0 8px; }
.versus .them .big { color: #555; text-decoration: line-through; }
.versus ul { margin: 0; padding-left: 18px; }
.versus li { margin: 2px 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.step { background: #fff; box-shadow: var(--sunken); padding: 12px; }
.step .n { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--navy); color: #fff; font: bold 11px var(--px); }
.step h3 { font-size: 11px; margin: 8px 0 4px; }
.step p { font-size: 12px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.feature .fi { width: 32px; height: 32px; display: grid; place-items: center; background: var(--face); box-shadow: var(--raised); font-size: 16px; }
.feature h3 { font-size: 11px; margin-bottom: 2px; }
.feature p { font-size: 12px; }

.faq { display: grid; gap: 2px; background: #fff; box-shadow: var(--sunken); padding: 6px; }
.faq details { padding: 4px 6px; }
.faq summary { cursor: pointer; font: 11px var(--px); list-style: none; display: flex; align-items: center; gap: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-grid; place-items: center; width: 11px; height: 11px; border: 1px solid #808080; font: 10px/1 var(--mono); background: #fff; flex: none; }
.faq details[open] summary::before { content: "\2212"; }
.faq summary:hover { color: var(--navy); text-decoration: underline; }
.faq details p { margin: 6px 0 4px 17px; font-size: 12.5px; }

/* chat logs (home demo + coin chat) */
.chatlog { background: #fff; box-shadow: var(--sunken); padding: 8px; min-height: 280px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.msg { font-size: 12.5px; line-height: 1.4; animation: pop 0.3s steps(2) both; }
.msg .who { font-weight: bold; margin-right: 6px; }
.msg.user .who { color: var(--navy); }
.msg.dev .who { color: #008000; }
.msg.dev .who::after { content: "[AI DEV]"; margin-left: 4px; font: 11px var(--px); color: #fff; background: #008000; padding: 0 3px; }
.msg.sys { color: #666; font-style: italic; text-align: center; }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 5px; height: 5px; background: #008000; opacity: 0.3; animation: dot 1s steps(1) infinite; }
.typing i:nth-child(2) { animation-delay: 0.33s; }
.typing i:nth-child(3) { animation-delay: 0.66s; }
@keyframes dot { 50% { opacity: 1; } }

/* dialogs */
.dialog-body { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 6px 4px; }
.dialog-body img { width: 48px; image-rendering: pixelated; }
.dialog-body h2 { font-size: 22px; margin-bottom: 6px; }
.dialog-actions { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

footer.foot { width: min(1200px, 100% - 24px); margin: 6px auto 0; color: #fff; font: 11px var(--px); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; text-shadow: 1px 1px 0 #004040; }
footer.foot a { color: #fff; }

/* ---------- launch wizard ---------- */
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.wizard { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
.wizard-art { background: linear-gradient(180deg, #000080 0%, #1084d0 100%); box-shadow: var(--sunken); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 380px; }
.wizard-art img { width: 120px; image-rendering: pixelated; }
.wizard-art ol { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 4px; }
.wizard-art li { font: 11px var(--px); color: #9fb8ff; padding: 3px 6px; }
.wizard-art li.on { color: #fff; font-weight: bold; background: rgba(255, 255, 255, 0.15); }
.wizard-art li.done { color: #c8ffd8; }
.wizard-art li.done::before { content: "\2713  "; }
.wiz-page { display: grid; gap: 12px; align-content: start; }
.wiz-page h2 { font-size: 22px; }
.wiz-page .intro { font-size: 13px; color: #222; }
.wiz-nav { display: flex; justify-content: flex-end; gap: 6px; padding-top: 12px; margin-top: 14px; box-shadow: inset 0 1px var(--lo), inset 0 2px var(--hi); }
.wiz-nav .sp { flex: 1; }

.drop { display: flex; align-items: center; gap: 12px; padding: 8px; background: #fff; box-shadow: var(--sunken); cursor: pointer; }
.drop.drag { outline: 2px dashed var(--navy); outline-offset: -6px; }
.drop .thumb { width: 56px; height: 56px; background: var(--face) center/cover; box-shadow: var(--raised); display: grid; place-items: center; color: #444; flex: none; font-size: 26px; }
.drop.wide .banner-thumb { width: 132px; height: 44px; background: var(--face) center/cover; box-shadow: var(--raised); display: grid; place-items: center; color: #444; flex: none; font-size: 22px; }
.drop b { display: block; font: bold 11px var(--px); }
.drop span { font-size: 12px; color: #444; }
.ticker-wrap { position: relative; }
.ticker-wrap::before { content: "$"; position: absolute; left: 7px; top: 50%; transform: translateY(-50%); color: #666; font-family: var(--mono); z-index: 1; }
.ticker-wrap .input { padding-left: 18px; text-transform: uppercase; font-family: var(--mono); }

.persona-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.persona { text-align: left; padding: 8px !important; min-height: 64px !important; display: block !important; }
.persona b { display: block; font: bold 11px var(--px); }
.persona span { display: block; font: 11px/1.3 var(--body); color: #333; margin-top: 3px; }
.persona.on { box-shadow: var(--sunken) !important; background: repeating-conic-gradient(#c0c0c0 0% 25%, #fff 0% 50%) 0 0 / 2px 2px; }

.devbuy { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sol-input { position: relative; width: 150px; }
.sol-input .input { padding-right: 38px; font-family: var(--mono); font-size: 14px; }
.sol-input span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 11px var(--px); color: #444; }
.buy-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.buy-chips button { min-width: 42px; }
.buy-chips button.on { box-shadow: var(--sunken); font-weight: bold; }

.summary { background: #fff; box-shadow: var(--sunken); padding: 10px 12px; display: grid; gap: 4px; font-size: 12.5px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary b { font-family: var(--px); font-size: 11px; text-align: right; }

.wizard-layout > .side { display: grid; gap: 16px; position: sticky; top: 12px; }
.pv-banner { aspect-ratio: 3 / 1; background: #fff center/cover; box-shadow: var(--sunken); margin-bottom: 8px; }
.pv-top { display: flex; gap: 10px; align-items: center; }
.pv-img { width: 56px; height: 56px; background: #fff center/cover; box-shadow: var(--sunken); flex: none; }
.pv-sym { font: bold 22px var(--px); }
.pv-name { font-size: 12px; color: #333; }
.pv-ca { margin-top: 8px; padding: 4px 6px; background: #fff; box-shadow: var(--sunken); font: 12px var(--mono); color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-ca b { color: var(--navy); }
.preview .msg { margin-top: 8px; background: #fff; box-shadow: var(--sunken); padding: 6px 8px; }
.cost { display: grid; gap: 4px; font-size: 12px; }
.cost div { display: flex; justify-content: space-between; gap: 10px; }
.cost b { font: 11px var(--px); text-align: right; }
.cost b.acc { color: var(--navy); font-weight: bold; }

.error-box { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 8px 10px; background: #fff; box-shadow: var(--sunken); font-size: 12.5px; }
.error-box::before { content: "\2716"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e00000; color: #fff; font: bold 14px Arial; border: 1px solid #600; }
.notice { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 8px 10px; background: var(--tip); box-shadow: inset 0 0 0 1px #000; font-size: 12.5px; }
.notice::before { content: "!"; display: grid; place-items: center; width: 28px; height: 26px; background: #ffd800; border: 1px solid #000; clip-path: polygon(50% 0, 100% 100%, 0 100%); font: bold 15px Arial; padding-top: 7px; }

/* progress dialog: "copying files" */
.progress { display: grid; gap: 10px; }
.copyanim { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 18px; position: relative; overflow: hidden; }
.copyanim .folder { font-size: 32px; line-height: 1; }
.copyanim .doc { position: absolute; left: 60px; top: 10px; font-size: 18px; animation: fly 1.6s linear infinite; }
@keyframes fly { 0% { left: 60px; top: 22px; opacity: 0; } 15% { opacity: 1; } 50% { top: 2px; } 85% { opacity: 1; } 100% { left: calc(100% - 90px); top: 22px; opacity: 0; } }
.pstep { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #666; }
.pstep .dot { width: 16px; height: 16px; display: grid; place-items: center; box-shadow: var(--thin-sunken); background: #fff; font: 10px var(--px); flex: none; }
.pstep.active { color: #000; font-weight: bold; }
.pstep.active .dot { background: var(--navy); color: #fff; }
.pstep.done { color: #000; }
.pstep.done .dot { color: #008000; font-size: 0; }
.pstep.done .dot::after { content: "\2713"; font: bold 12px Arial; }
.pay-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.spinner-sm { width: 16px; height: 16px; background: url("/assets/botty-head.svg") center/contain no-repeat; animation: spin 1s steps(8) infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form h2.title { font: bold 22px var(--px); margin: 0; color: #000; text-transform: none; letter-spacing: 0; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; background: #fff; box-shadow: var(--sunken); font: bold 20px var(--mono); letter-spacing: 3px; }
.kv { display: grid; gap: 8px; }
.kv > div { display: grid; gap: 3px; }
.kv span { font: 11px var(--px); }
.kv code { font: 12px var(--mono); padding: 5px 6px; background: #fff; box-shadow: var(--sunken); overflow-wrap: anywhere; cursor: pointer; }
.manual { font-size: 12.5px; }
.manual summary { cursor: pointer; font: 11px var(--px); color: #0000ee; text-decoration: underline; }
.manual[open] summary { margin-bottom: 8px; }
.form { display: grid; gap: 12px; }

/* ---------- coin page ---------- */
.coin-banner { box-shadow: var(--sunken); background: #fff; aspect-ratio: 3 / 1; max-height: 300px; width: 100%; overflow: hidden; padding: 2px; }
.coin-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coin-hero { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 10px 2px 4px; }
.coin-banner:not(.hidden) + .coin-hero { align-items: flex-start; }
.coin-hero img { width: 80px; height: 80px; object-fit: cover; background: #fff; box-shadow: var(--sunken); padding: 2px; }
.coin-banner:not(.hidden) + .coin-hero img { margin: -46px 0 0 14px; box-shadow: var(--raised); padding: 3px; background: var(--face); width: 92px; height: 92px; }
.coin-hero h1 { font-size: 33px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.coin-hero h1 small { font: 14px var(--body); color: #333; }
.coin-hero .desc { margin: 4px 0 8px; font-size: 13px; max-width: 720px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 8px; background: #fff; box-shadow: var(--sunken); font: 12px var(--mono); cursor: pointer; overflow: hidden; }
.ca-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-row, .trade-links { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.trade-links { margin-top: 0; }
.status-banner { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--tip); box-shadow: inset 0 0 0 1px #000; }

.coin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.chart iframe { width: 100%; height: 440px; border: 0; display: block; background: #fff; box-shadow: var(--sunken); padding: 2px; }
.mstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.mstats > div { background: #fff; box-shadow: var(--sunken); padding: 6px 8px; }
.mstats .v { font: bold 11px var(--px); }
.mstats .l { font-size: 11px; color: #444; }
.up { color: var(--buy); }
.down { color: var(--sell); }
.coin-prog { margin-top: 8px; }

.trades-tbl { list-style: none; margin: 0; padding: 0; background: #fff; box-shadow: var(--sunken); max-height: 360px; overflow-y: auto; }
.trades-tbl li { display: grid; grid-template-columns: 52px 1fr 1fr auto; gap: 8px; padding: 3px 8px; font-size: 12px; border-bottom: 1px dotted #c0c0c0; align-items: center; }
.trades-tbl li:nth-child(odd) { background: #f4f4f4; }
.trades-tbl li.empty { display: block; padding: 14px 10px; }
.trades-tbl li.enter { animation: hl 1.2s steps(2); }
.trades-tbl .buy { color: var(--buy); font: bold 11px var(--px); }
.trades-tbl .sell { color: var(--sell); font: bold 11px var(--px); }
.trades-tbl a { color: var(--navy); }
.list-head { display: grid; grid-template-columns: 52px 1fr 1fr auto; gap: 8px; margin-bottom: 2px; }
.list-head span { font: 11px var(--px); background: var(--face); box-shadow: var(--raised); padding: 2px 6px; }

.feed { list-style: none; margin: 0; padding: 0; background: #fff; box-shadow: var(--sunken); max-height: 360px; overflow-y: auto; }
.feed li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 6px 8px; border-bottom: 1px dotted #c0c0c0; }
.feed li.empty { display: block; padding: 14px 10px; }
.feed img, .feed .ph { width: 24px; height: 24px; object-fit: cover; background: var(--face); box-shadow: var(--thin-sunken); }
.feed .txt { font-size: 12.5px; overflow-wrap: anywhere; }
.feed .sub { font-size: 11px; color: #555; display: flex; gap: 8px; margin-top: 2px; }
.feed .kind { font: 11px var(--px); color: var(--navy); text-transform: uppercase; }

.devcard .head { display: flex; align-items: center; gap: 10px; }
.dev-avatar { width: 48px; height: 52px; background: url("/assets/botty.svg") center/contain no-repeat; flex: none; }
.dev-avatar svg { display: none; }
.devcard .t { font: bold 11px var(--px); }
.devcard .s { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.gauge { margin-top: 10px; }
.gauge .bar { height: 18px; background: #fff; box-shadow: var(--sunken); padding: 3px; }
.gauge .bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--navy) 0 9px, transparent 9px 11px); transition: width 0.6s steps(12); }
.gauge .lbl { display: flex; justify-content: space-between; font-size: 12px; margin: 4px 0; }
.gauge .lbl b { font: bold 11px var(--px); }
.dstats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 8px; }
.dstats > div { background: #fff; box-shadow: var(--sunken); padding: 6px 8px; }
.dstats .v { font: bold 11px var(--px); }
.dstats .l { font-size: 11px; color: #444; }
.refuel { margin-top: 8px; font-size: 12px; }
.refuel code { display: block; margin-top: 4px; padding: 4px 6px; background: #fff; box-shadow: var(--sunken); font: 11px var(--mono); overflow-wrap: anywhere; cursor: pointer; }

.chatbox .msgs { background: #fff; box-shadow: var(--sunken); height: 300px; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.chatbox form { display: flex; gap: 6px; margin-top: 6px; }
.chatbox .msg.user { text-align: right; color: var(--navy); }
.loading { display: grid; place-items: center; gap: 10px; padding: 60px 0; font: 11px var(--px); color: #fff; }
.spinner { width: 32px; height: 32px; background: url("/assets/botty-head.svg") center/contain no-repeat; animation: spin 1s steps(8) infinite; }
.empty { color: #333; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .board-layout, .coin-grid, .wizard-layout { grid-template-columns: minmax(0, 1fr); }
  .wizard-layout > .side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 190px; }
  .hero-art img { width: 130px; }
  .hero-copy h1 { font-size: 22px; }
  .grid-coins, .features, .versus, .steps, .row2, .row3 { grid-template-columns: minmax(0, 1fr); }
  .versus .us { border-left: 0; padding-left: 0; border-top: 1px dashed #808080; padding-top: 8px; }
  .wizard { grid-template-columns: minmax(0, 1fr); }
  .wizard-art { min-height: 0; flex-direction: row; padding: 8px; }
  .wizard-art img { width: 56px; }
  .wizard-art ol { display: flex; flex-wrap: wrap; }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .mstats { grid-template-columns: 1fr 1fr; }
  .search input { width: 150px; }
  .task-items { display: none; }
  .clock { display: none; }
  .coin-hero h1 { font-size: 22px; }
  .king { grid-template-columns: 52px minmax(0, 1fr); }
  .king img { width: 52px; height: 52px; }
  .king .mc { grid-column: 1 / -1; text-align: left; }
  .botty-tip { width: 200px; }
  .botty-img { width: 60px; }
  .chart iframe { height: 340px; }
  .trades-tbl li, .list-head { grid-template-columns: 44px 1fr auto; }
  .trades-tbl li .hide-sm, .list-head .hide-sm { display: none; }
}

.wiz-page .dim { color: #333; }
.progress h2 { font-size: 18px; }

/* board: robotdev coins + the pump.fun coins that have no dev */
.grid-coins { max-height: 720px; overflow-y: auto; align-content: start; }
.lc { position: relative; overflow: hidden; }
.lc .stamp { position: absolute; right: 6px; bottom: 5px; z-index: 1; transform: rotate(-7deg); padding: 0 4px; border: 2px solid currentColor; font: bold 11px var(--px); letter-spacing: 1px; background: rgba(255, 255, 255, 0.55); pointer-events: none; }
.lc.pf .stamp { color: var(--sell); }
.lc.rd .stamp { color: var(--buy); }
.lc .meta { padding-right: 66px; }
.lc .nodev { color: var(--sell); }
.lc .av-big { width: 56px; height: 56px; display: grid; place-items: center; font: bold 24px var(--px); color: #000; box-shadow: var(--sunken); }
.lc.pf { background-color: #d4d4d4; }
.board-sep { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 8px; margin-top: 4px; background: linear-gradient(90deg, var(--navy), #1084d0); color: #fff; font: 11px var(--px); position: sticky; top: -8px; z-index: 2; }
.board-sep > span { display: flex; align-items: center; gap: 6px; }
.board-sep b { color: #ffb0b0; }
.lc-cta { grid-column: 1 / -1; grid-template-columns: 64px minmax(0, 1fr); align-items: center; background: var(--tip) !important; box-shadow: inset 0 0 0 1px #000; }
.lc-cta img { width: 60px; height: auto; background: none; box-shadow: none; padding: 0; }
.lc-cta b { display: block; font: bold 13px var(--px); }
.lc-cta span { display: block; font-size: 12px; margin: 2px 0 6px; }
.lc-cta .btn { display: inline-flex; margin: 0; }

/* Botty's 15-second pitch */
.botty-tip p { min-height: 3.2em; }
.botty-tip .story-step { font: 11px var(--px); color: #555; align-self: center; margin-right: auto; }
.botty-tip.story p::after { content: "_"; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* X Account Manager */
#x-body { display: grid; gap: 8px; font-size: 12.5px; }
.x-row { display: flex; gap: 6px; flex-wrap: wrap; }
.x-acct { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #fff; box-shadow: var(--sunken); }
.x-acct .pill { margin-left: auto; }
.x-acct a { color: #000; text-decoration: none; }
.x-logo { width: 28px; height: 28px; display: grid; place-items: center; background: #000; color: #fff; font: bold 16px Arial, sans-serif; flex: none; }
#x-offer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feed .sub a { color: var(--navy); }

/* pump.fun cards carry no stamp, so their meta line doesn't need room for one */
.lc.pf .meta { padding-right: 0; }

/* platform token CA: pinned to the top of every page */
.ca-bar { position: sticky; top: 0; z-index: 95; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 6px 10px; background: var(--tip); border-bottom: 2px solid #000; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.ca-bar .ca-live { display: inline-flex; align-items: center; gap: 6px; font: bold 11px var(--px); color: #007a00; white-space: nowrap; }
.ca-bar .ca-lbl { font: bold 11px var(--px); color: var(--navy); }
.ca-bar .ca-addr { padding: 4px 8px; background: #fff; box-shadow: var(--sunken); font: bold 14px var(--mono); overflow-wrap: anywhere; cursor: pointer; max-width: 100%; }
.ca-bar button { min-width: 0; }
@media (max-width: 720px) { .ca-bar .ca-addr { font-size: 12px; flex: 1 1 100%; text-align: center; } }
