/* Automated Milkers Machine: manga / anime theme.
   Ink-outlined panels with offset shadows, screentone dots, a sunburst behind
   the mascot, Japanese labels. Colours come from the mascot: orange, cobalt
   hair, golden eyes, black jacket, cow print. chart.js reads --sell (the MM
   side), --buy, --line, --muted from here. */

:root {
  --bg: #fff4e6;
  --bg2: #ffe8cc;
  --panel: #ffffff;
  --ink: #16111c;
  --muted: #6e6070;
  --line: #eddcc6;
  --edge: #16111c;
  --drop: #16111c;
  --orange: #ff6a00;
  --orange-soft: #ffe0c2;
  --blue: #2557ff;
  --blue-soft: #e0e7ff;
  --gold: #ffc21a;
  --gold-soft: #fff0bd;
  --pink: #ff3d8b;
  --pink-soft: #ffe1ee;
  --sell: #ef3a6b;
  --sell-soft: rgba(239, 58, 107, 0.12);
  --buy: #0f9f78;
  --buy-soft: rgba(15, 159, 120, 0.12);
  --range: #8a7f94;
  --tone: rgba(22, 17, 28, 0.075);
  --ray: rgba(255, 176, 0, 0.42);
  --radius: 16px;
  --display: 'Dela Gothic One', 'M PLUS Rounded 1c', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  --pop: 'Mochiy Pop One', 'M PLUS Rounded 1c', 'Hiragino Sans', system-ui, sans-serif;
  --sans: 'M PLUS Rounded 1c', ui-sans-serif, system-ui, -apple-system, 'Hiragino Sans', 'Yu Gothic', 'Segoe UI', sans-serif;
  --mono: 'M PLUS 1 Code', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #120d18;
    --bg2: #1d1526;
    --panel: #1b1423;
    --ink: #fff1e2;
    --muted: #b8a7ba;
    --line: #33283f;
    --edge: #f1dfcc;
    --drop: #ff6a00;
    --orange: #ff7a1a;
    --orange-soft: #3d2210;
    --blue: #7591ff;
    --blue-soft: #1c2345;
    --gold: #ffcb38;
    --gold-soft: #3a2e0f;
    --pink: #ff6fae;
    --pink-soft: #3b1c2d;
    --sell: #ff5c88;
    --sell-soft: rgba(255, 92, 136, 0.15);
    --buy: #2fd6a1;
    --buy-soft: rgba(47, 214, 161, 0.14);
    --range: #9d93a6;
    --tone: rgba(255, 241, 226, 0.05);
    --ray: rgba(255, 122, 26, 0.22);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #120d18;
  --bg2: #1d1526;
  --panel: #1b1423;
  --ink: #fff1e2;
  --muted: #b8a7ba;
  --line: #33283f;
  --edge: #f1dfcc;
  --drop: #ff6a00;
  --orange: #ff7a1a;
  --orange-soft: #3d2210;
  --blue: #7591ff;
  --blue-soft: #1c2345;
  --gold: #ffcb38;
  --gold-soft: #3a2e0f;
  --pink: #ff6fae;
  --pink-soft: #3b1c2d;
  --sell: #ff5c88;
  --sell-soft: rgba(255, 92, 136, 0.15);
  --buy: #2fd6a1;
  --buy-soft: rgba(47, 214, 161, 0.14);
  --range: #9d93a6;
  --tone: rgba(255, 241, 226, 0.05);
  --ray: rgba(255, 122, 26, 0.22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background-color: var(--bg);
  background-image: radial-gradient(var(--tone) 1.3px, transparent 1.7px);
  background-size: 13px 13px;
  color: var(--ink);
  font: 500 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; margin: 0; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 1060px; }
.jp { font-family: var(--display); font-weight: 400; letter-spacing: 0.06em; }
.stamp {
  display: inline-block; font: 400 12px/1 var(--display); letter-spacing: 0.1em;
  background: var(--ink); color: var(--bg); padding: 5px 9px 4px; border-radius: 6px;
  transform: rotate(-2deg);
}

/* ------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: #16111c; color: #fff4e6;
  border-bottom: 3px solid var(--orange);
}
.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2.5px solid #ffc21a; background: #ff6a00; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text .jp { font-size: 10px; color: #ffc21a; letter-spacing: 0.32em; }
.brand-text .name { font: 400 17px/1.15 var(--display); letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top nav { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; border: 2.5px solid var(--edge); background: var(--panel); color: var(--ink);
  text-decoration: none; font: 400 14px/1 var(--pop); cursor: pointer; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--drop); transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--drop); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--drop); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.pink { background: var(--orange); color: #16111c; }
.btn.big { height: 50px; font-size: 16px; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.top .btn { background: transparent; color: #fff4e6; border-color: rgba(255, 244, 230, 0.45); box-shadow: none; height: 36px; font-size: 13px; }
.top .btn:hover { border-color: #ffc21a; color: #ffc21a; transform: none; }
.top .btn.pink { background: #ff6a00; color: #16111c; border-color: #ffc21a; box-shadow: 3px 3px 0 #ffc21a; }
.top .btn.pink:hover { color: #16111c; transform: translate(-1px, -1px); }

/* ------------------------------------------------------------ marquee */
.marquee {
  background: var(--gold); color: #16111c; overflow: hidden; white-space: nowrap;
  border-bottom: 3px solid #16111c; font: 400 13px/1 var(--display); letter-spacing: 0.08em;
}
.marquee .track { display: inline-flex; animation: marquee 46s linear infinite; }
.marquee span { padding: 9px 0 8px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 34px; align-items: center; padding: 34px 0 26px; overflow-x: clip; }
.hero > div, .grid > *, .stat, .card { min-width: 0; }
.hero.solo { grid-template-columns: minmax(0, 1fr); padding-bottom: 20px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 700 13px/1.3 var(--sans); color: var(--muted); }
.kicker .stamp { background: var(--orange); color: #16111c; border: 2px solid var(--edge); }
.hero h1 {
  margin: 14px 0 0; font: 400 clamp(36px, 5.4vw, 68px)/1.04 var(--display); letter-spacing: 0.005em;
  text-shadow: 3px 3px 0 var(--orange-soft);
  overflow-wrap: anywhere;
}
.hero h1 .tick {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-size: 0.5em; line-height: 1; padding: 8px 14px 7px; border-radius: 12px;
  background: var(--orange); color: #16111c; border: 3px solid var(--edge); box-shadow: 4px 4px 0 var(--drop);
  transform: rotate(-4deg); text-shadow: none;
}
.hero p { margin: 16px 0 14px; max-width: 640px; font-size: 16px; }
.hero.solo h1 { font-size: clamp(32px, 4.6vw, 56px); }
.ca { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; padding: 6px 6px 6px 14px; border: 2.5px solid var(--edge); border-radius: 999px; background: var(--panel); box-shadow: 3px 3px 0 var(--drop); }
.ca code { min-width: 0; font: 600 13px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca button { border: 2px solid var(--edge); background: var(--gold); color: #16111c; border-radius: 999px; padding: 4px 12px; font: 400 12px var(--pop); cursor: pointer; flex: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.links a { font: 700 13px var(--sans); text-decoration: none; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--edge); background: var(--panel); }
.links a:hover { background: var(--gold-soft); }
.links:empty { display: none; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.chips li { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--panel); border: 2px dashed var(--edge); }
.chips b { font: 700 14px var(--mono); color: var(--orange); margin-right: 4px; }

.hero-art { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; margin: 10px 18px 10px 0; }
.burst {
  position: absolute; inset: -30%; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 3deg, var(--ray) 0 6deg, transparent 6deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 42%, transparent 71%);
  mask-image: radial-gradient(circle, #000 42%, transparent 71%);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.frame {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 24px;
  border: 3.5px solid var(--edge); box-shadow: 9px 9px 0 var(--drop); background: #ff6a00;
  transform: rotate(2.5deg);
}
.frame .pic { display: block; width: 100%; height: 100%; object-fit: cover; }
.bubble {
  position: absolute; left: -26px; top: 6%; z-index: 2; max-width: 62%;
  font: 400 14px/1.35 var(--pop); background: var(--panel); color: var(--ink);
  padding: 10px 14px; border: 2.5px solid var(--edge); border-radius: 18px; box-shadow: 3px 3px 0 var(--drop);
  transform: rotate(-4deg);
}
.bubble::after {
  content: ''; position: absolute; right: 26px; bottom: -11px; width: 18px; height: 18px;
  background: var(--panel); border-right: 2.5px solid var(--edge); border-bottom: 2.5px solid var(--edge);
  transform: rotate(45deg) skew(10deg, 10deg);
}
.vtext {
  position: absolute; right: -20px; top: 22%; z-index: 2; writing-mode: vertical-rl;
  font: 400 21px/1 var(--display); letter-spacing: 0.14em; color: #16111c;
  background: var(--gold); padding: 12px 7px; border: 2.5px solid var(--edge); box-shadow: 3px 3px 0 var(--drop);
}
.sticker {
  position: absolute; left: -12px; bottom: 7%; z-index: 2; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font: 400 15px/1.05 var(--display); color: #fff;
  background: var(--blue); border: 3px solid var(--edge); box-shadow: 3px 3px 0 var(--drop); transform: rotate(-12deg);
}
.coin-page .bubble, .coin-page .vtext, .coin-page .sticker { display: none; }
.coin-page .hero-art { width: min(100%, 360px); }

/* ------------------------------------------------------------ panels */
.card { background: var(--panel); border: 2.5px solid var(--edge); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--drop); }
.card > header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 2.5px solid var(--edge); background: var(--bg2); border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; }
.card > header h2, .ptitle, .section-title { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0; font: 400 16px/1.2 var(--display); letter-spacing: 0.02em; }
.card > header h2 .jp, .ptitle .jp, .section-title .jp, .stat .k .jp {
  font-size: 11px; background: var(--ink); color: var(--bg); padding: 4px 7px 3px; border-radius: 5px; letter-spacing: 0.1em;
}
.sub { font: 700 12px var(--sans); letter-spacing: 0; }
.card > header .right { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 13px; }
.ptitle { font-size: 19px; margin-bottom: 14px; }
.section-title { font-size: 22px; margin-bottom: 14px; }
.section-title .jp { font-size: 12px; }
.seg { display: inline-flex; border: 2px solid var(--edge); border-radius: 999px; padding: 2px; background: var(--panel); }
.seg button { border: 0; background: none; padding: 3px 11px; border-radius: 999px; cursor: pointer; font: 700 12.5px var(--mono); color: var(--muted); }
.seg button.on { background: var(--orange); color: #16111c; }
.live { gap: 7px; font: 400 12px var(--pop); color: var(--muted); }
.live::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 3px var(--buy-soft); animation: pulse 1.6s infinite; }

.note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; margin-bottom: 18px; background: repeating-linear-gradient(-45deg, var(--gold-soft) 0 14px, var(--panel) 14px 28px); }
.note p { margin: 0; flex: 1 1 320px; }
.note .stamp { background: var(--pink); color: #fff; }

.soon { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 24px; margin: 4px 0 26px; background: repeating-conic-gradient(from 180deg at 100% 0%, var(--gold-soft) 0 4deg, transparent 4deg 10deg), var(--panel); position: relative; overflow: hidden; }
.soon::after { content: '近日公開'; position: absolute; right: 22px; bottom: 16px; font: 400 52px/1 var(--display); color: color-mix(in srgb, var(--ink) 9%, transparent); letter-spacing: 0.08em; pointer-events: none; }
.soon-face { width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--edge); box-shadow: 4px 4px 0 var(--drop); background: #ff6a00; object-fit: cover; }
.soon-kicker { display: flex; align-items: center; gap: 10px; font: 400 13px var(--pop); color: var(--muted); }
.soon-kicker .stamp { background: var(--orange); color: #16111c; border: 2px solid var(--edge); }
.soon h2 { margin: 10px 0 6px; font: 400 clamp(22px, 3vw, 30px)/1.15 var(--display); }
.soon p { margin: 0 0 6px; max-width: 720px; position: relative; z-index: 1; }

/* ------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.stat { position: relative; background: var(--panel); border: 2.5px solid var(--edge); border-radius: 14px; padding: 13px 14px 12px; box-shadow: 4px 4px 0 var(--drop); overflow: hidden; }
.stat::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--orange); border-bottom: 2px solid var(--edge); }
.stat:nth-child(2)::before { background: var(--blue); }
.stat:nth-child(3)::before { background: var(--gold); }
.stat:nth-child(4)::before { background: var(--pink); }
.stat:nth-child(5)::before { background: var(--buy); }
.stat:nth-child(6)::before { background: var(--ink); }
.stat .k { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 4px; font: 700 11.5px/1.3 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat .k .jp { font-size: 10px; text-transform: none; }
.stat .v { font: 700 22px/1.25 var(--mono); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone { display: inline-block; padding: 2px 11px; border-radius: 999px; font: 400 13px/1.6 var(--pop); border: 2px solid var(--edge); }
.zone.sell { background: var(--sell); color: #fff; }
.zone.buy { background: var(--buy); color: #fff; }
.zone.mid, .zone.none { background: var(--bg2); color: var(--muted); }
.zone.above, .zone.below { background: var(--gold); color: #16111c; }

/* ------------------------------------------------------------ layout */
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 20px; align-items: start; }
.launch-grid { grid-template-columns: minmax(0, 1fr) 380px; }

/* ------------------------------------------------------------ chart */
.chart-box { position: relative; height: 470px; }
.chart-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chart-tip { position: absolute; pointer-events: none; background: var(--panel); border: 2px solid var(--edge); border-radius: 10px; padding: 6px 9px; font: 12px/1.45 var(--mono); box-shadow: 3px 3px 0 var(--drop); display: none; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 16px; border-top: 2.5px solid var(--edge); font: 700 12px var(--sans); color: var(--muted); }
.legend i { display: inline-block; width: 20px; height: 0; border-top: 2.5px solid; vertical-align: middle; margin-right: 6px; }
.legend i.l-mm { border-color: var(--sell); }
.legend i.l-buy { border-color: var(--buy); }
.legend i.dash { border-top-style: dashed; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; font: 400 14px var(--pop); }
.feed-empty { padding: 22px 18px; color: var(--muted); font: 400 14px/1.55 var(--pop); }

/* ------------------------------------------------------------ feed */
.brain > header { background: var(--ink); color: var(--bg); }
.brain > header h2 .jp { background: var(--orange); color: #16111c; }
.brain > header .live { color: var(--bg); opacity: 0.85; }
.feed { max-height: 1020px; overflow: auto; }
.thought { padding: 13px 16px; border-bottom: 2px dashed var(--line); }
.thought:last-child { border-bottom: 0; }
.thought .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.badge { display: inline-block; font: 400 11px/1 var(--pop); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 7px; border: 2px solid var(--edge); background: var(--bg2); color: var(--ink); }
.badge.sell { background: var(--sell); color: #fff; }
.badge.buy { background: var(--buy); color: #fff; }
.badge.hold, .badge.watch { background: var(--bg2); color: var(--muted); }
.badge.stop, .badge.system { background: var(--pink); color: #fff; }
.badge.lp { background: var(--blue); color: #fff; }
.badge.claim, .badge.topup { background: var(--gold); color: #16111c; }
.thought h3 { margin: 7px 0 4px; font: 800 15.5px/1.35 var(--sans); }
.thought p { margin: 0; font-size: 14px; }
.thought .notes { margin: 9px 0 0; padding: 8px 12px 8px 10px; border-radius: 10px; background: var(--gold-soft); border-left: 5px solid var(--orange); font-size: 13px; list-style: none; }
.thought .notes li { position: relative; padding-left: 16px; margin: 2px 0; }
.thought .notes li::before { content: '✦'; position: absolute; left: 0; color: var(--orange); font-size: 11px; top: 2px; }
.thought details { margin-top: 8px; font-size: 13px; }
.thought summary { cursor: pointer; color: var(--muted); font: 400 12px var(--pop); }
.thought.muted { font-size: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin-top: 6px; font: 12px/1.6 var(--mono); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.new { animation: flash 1.4s ease-out; }
@keyframes flash { from { background: var(--gold-soft); } to { background: transparent; } }
.more { display: block; width: 100%; padding: 12px; border: 0; border-top: 2.5px solid var(--edge); background: var(--bg2); color: var(--ink); font: 400 13px var(--pop); cursor: pointer; border-radius: 0 0 calc(var(--radius) - 3px) calc(var(--radius) - 3px); }
.more:hover { background: var(--gold-soft); }

/* ------------------------------------------------------------ sections */
.section { margin: 22px 0; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; align-items: start; }
.pad { padding: 16px 18px; }
.panel { position: relative; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { position: relative; margin: 8px 0; padding-left: 22px; }
.rules li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--orange); }
.rules b, .why b { font-family: var(--mono); color: var(--orange); }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 13px 42px; min-height: 30px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 29px; height: 29px; border-radius: 50%; background: var(--orange); color: #16111c; border: 2.5px solid var(--edge); display: grid; place-items: center; font: 700 13px var(--mono); }
.why p:first-of-type { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font: 700 11.5px var(--sans); text-transform: uppercase; letter-spacing: 0.05em; background: var(--panel); }
td.num { font-family: var(--mono); text-align: right; }
th.num { text-align: right; }
.table-scroll { overflow-x: auto; }
.cow {
  height: 22px; border-top: 3px solid #16111c; border-bottom: 3px solid #16111c;
  background: #fffaf2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='22' viewBox='0 0 220 22'%3E%3Cpath d='M8 0h30c4 7-2 16-12 15S2 7 8 0z' fill='%2316111c'/%3E%3Cpath d='M70 5c8-4 22-2 24 6s-12 11-20 9-10-11-4-15z' fill='%2316111c'/%3E%3Cpath d='M128 0h26c2 6-4 13-13 12s-15-7-13-12z' fill='%2316111c'/%3E%3Cpath d='M180 11c6-6 18-6 22 1s-6 10-14 9-12-6-8-10z' fill='%2316111c'/%3E%3C/svg%3E") repeat-x 0 0 / 220px 22px;
}
footer { margin-top: 40px; }
.foot { padding: 22px 16px 42px; color: var(--muted); font-size: 13px; }
.foot-brand { font: 400 16px var(--display); color: var(--ink); margin-bottom: 6px; }
.foot-brand .jp { color: var(--orange); margin-right: 6px; }
.foot p { margin: 0; max-width: 760px; }
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.agent-card { display: flex; gap: 12px; align-items: center; padding: 11px; border: 2.5px solid var(--edge); border-radius: 14px; text-decoration: none; background: var(--panel); box-shadow: 4px 4px 0 var(--drop); transition: transform 0.08s, box-shadow 0.08s; min-width: 0; }
.agent-card:hover { transform: translate(-1px, -2px) rotate(-0.6deg); box-shadow: 5px 6px 0 var(--drop); }
.agent-card img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: var(--orange-soft); border: 2px solid var(--edge); flex: none; }
.agent-card div { min-width: 0; }
.agent-card b { display: block; font: 400 14px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-card span { font-size: 12.5px; }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 999px; font: 400 13px var(--pop); border: 2.5px solid var(--orange); display: none; z-index: 20; }

/* ------------------------------------------------------------ launch */
.form { display: grid; gap: 14px; }
.form .ptitle { margin-bottom: 0; }
.field label { display: block; font: 800 14px var(--sans); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field input, .field textarea { width: 100%; border: 2.5px solid var(--edge); border-radius: 12px; padding: 10px 12px; background: var(--bg); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; border: 2.5px dashed var(--edge); border-radius: 14px; padding: 12px; cursor: pointer; background: repeating-linear-gradient(-45deg, var(--bg) 0 10px, var(--panel) 10px 20px); }
.drop:hover { border-color: var(--orange); }
.drop img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; background: var(--orange-soft); border: 2px solid var(--edge); }
.err { color: var(--sell); font-weight: 800; }
.err:empty { display: none; }
.quote { font-size: 13px; }
.quote dd { text-align: right; font-weight: 700; }
.deposit { text-align: center; padding: 20px 16px; }
.deposit .amt { display: inline-block; font: 700 36px/1.2 var(--mono); margin: 8px 0; padding: 2px 14px; background: var(--gold); color: #16111c; border: 2.5px solid var(--edge); border-radius: 12px; box-shadow: 3px 3px 0 var(--drop); }
.deposit .gap { margin-bottom: 10px; }
.deposit .addr { font: 13px var(--mono); overflow-wrap: anywhere; padding: 10px; border-radius: 12px; background: var(--bg); border: 2px dashed var(--edge); }
.deposit-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.status-line { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 14px; font: 400 14px var(--pop); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); border: 2px solid var(--edge); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

@media (max-width: 1080px) {
  .grid, .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .feed { max-height: 760px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; }
  .hero-art { order: -1; width: min(78%, 330px); margin: 18px auto 6px; }
  .coin-page .hero-art { width: min(56%, 220px); }
  .hero p { font-size: 15px; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .chart-box { height: 360px; }
  .top nav .btn:not(.pink) { display: none; }
  .launch-page .top nav .btn { display: inline-flex; }
  .brand-text .name { font-size: 13px; white-space: normal; line-height: 1.08; }
  .top .btn.pink { font-size: 12px; height: 34px; }
  .top .btn.pink { padding: 0 12px; }
  .soon { grid-template-columns: minmax(0, 1fr); text-align: left; padding: 18px; }
  .soon-face { width: 104px; height: 104px; }
  .soon::after { font-size: 34px; right: 14px; bottom: 12px; }
  .bubble { left: -10px; font-size: 12px; padding: 8px 11px; }
  .vtext { right: -12px; font-size: 16px; padding: 9px 5px; }
  .sticker { width: 58px; height: 58px; font-size: 12px; left: -6px; }
  .card > header .right { margin-left: 0; }
  .stat .v { font-size: 19px; }
}
@media (max-width: 420px) {
  .brand-text .jp { display: none; }
  .brand img { width: 36px; height: 36px; }
  .top .wrap { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .new, .dot, .live::before, .burst, .marquee .track { animation: none; }
  .btn, .agent-card { transition: none; }
}
