/* Noely: emerald and ivory. Playfair Display for headings, Manrope for everything else. */
@font-face { font-family: Manrope; src: url(fonts/manrope.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url(fonts/playfair.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #F2F7F3; --bg2: #E8F0EA; --surface: #FFFFFF; --surface2: #EEF5F0; --ink: #0A2218; --ink2: #36524A; --ink3: #6A8479;
  --line: #D5E3DA; --accent: #0FAE6E; --accent-ink: #FFFFFF; --accent-soft: #DDF5E8; --accent-line: #A6E4C3; --gold: #B8902F;
  --up: #0E9B62; --down: #DB4B34; --burn: #E8603F; --glow: rgba(15, 174, 110, .18); --shadow: 0 1px 2px rgba(10, 34, 24, .06), 0 8px 28px rgba(10, 34, 24, .07);
  --r: 16px; --r2: 24px; --head: 'Playfair Display', Georgia, serif; --body: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --top: 68px; --tape: 68px; color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #05130E; --bg2: #071A13; --surface: #0A1F17; --surface2: #102A20; --ink: #E7F7EE; --ink2: #A8C5B7; --ink3: #6F8F80;
  --line: #17382B; --accent: #38E89A; --accent-ink: #032014; --accent-soft: #0E3827; --accent-line: #1B6A49; --gold: #E4C16B;
  --up: #38E89A; --down: #FF7A66; --burn: #FF8A63; --glow: rgba(56, 232, 154, .16); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 34px rgba(0, 0, 0, .35); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #05130E; --bg2: #071A13; --surface: #0A1F17; --surface2: #102A20; --ink: #E7F7EE; --ink2: #A8C5B7; --ink3: #6F8F80;
  --line: #17382B; --accent: #38E89A; --accent-ink: #032014; --accent-soft: #0E3827; --accent-line: #1B6A49; --gold: #E4C16B;
  --up: #38E89A; --down: #FF7A66; --burn: #FF8A63; --glow: rgba(56, 232, 154, .16); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 34px rgba(0, 0, 0, .35); color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; margin: 0; text-wrap: balance; }
h3 { font-size: 20px; } h4 { font-size: 16px; }
p { margin: 0; } a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; letter-spacing: -.01em; }
.up { color: var(--up); } .down { color: var(--down); } .dim { color: var(--ink3); } .mut { color: var(--ink2); }
.mono, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; }
.row { display: flex; align-items: center; gap: 10px; } .col { display: flex; flex-direction: column; gap: 12px; } .wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; } .gap6 { gap: 6px; } .sp { flex: 1; } .tr { text-align: right; } .ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint { font-size: 13px; color: var(--ink3); }
.av { width: 18px; height: 18px; border-radius: 50%; display: inline-block; vertical-align: -4px; margin-right: 6px; }

/* ---------------------------------------------------------------- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.pri { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 22px var(--glow); }
.btn.pri:hover { filter: brightness(1.06); }
.btn.soft { background: var(--accent-soft); border-color: transparent; color: var(--ink); }
.btn.up { background: var(--up); color: var(--accent-ink); border-color: transparent; } .btn.down { background: var(--down); color: #fff; border-color: transparent; }
.btn.lg { height: 52px; padding: 0 30px; font-size: 16px; } .btn.sm { height: 34px; padding: 0 14px; font-size: 13px; } .btn.block { width: 100%; }
.ib { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); flex: none; }
.ib:hover { border-color: var(--accent-line); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--surface2); font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); }
.chip img { width: 16px; height: 16px; border-radius: 50%; } .chip.soft { background: var(--accent-soft); border-color: transparent; }
.chip.burn { background: color-mix(in srgb, var(--burn) 14%, transparent); border-color: transparent; color: var(--burn); }
.seg { display: inline-flex; padding: 4px; gap: 2px; background: var(--surface2); border-radius: 999px; border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.inp { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.inp:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.inp input, .inp textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 12px 0; font-weight: 600; }
.inp textarea { resize: vertical; min-height: 84px; font-weight: 500; }
.inp .u { color: var(--ink3); font-weight: 700; font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 8px; } .field > label, .lbl { font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px; box-shadow: var(--shadow); }
.callout { padding: 14px 18px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 14.5px; }
.empty { text-align: center; padding: 64px 20px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.skel { height: 84px; border-radius: var(--r); background: linear-gradient(100deg, var(--surface2) 30%, var(--surface) 50%, var(--surface2) 70%) 0 0 / 220% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { to { background-position: -220% 0; } }
.star { font-size: 20px; color: var(--ink3); line-height: 1; } .star.on { color: var(--gold); }
.divider, .perf { border: 0; border-top: 1px solid var(--line); margin: 14px 0; } .perf { border-top-style: dashed; }
.tt { width: 100%; border-collapse: collapse; font-size: 14px; } .tt th { text-align: left; font-size: 12.5px; color: var(--ink3); font-weight: 700; padding: 10px 8px; white-space: nowrap; } .tt td { padding: 11px 8px; border-top: 1px solid var(--line); white-space: nowrap; } .tt th.tr, .tt td.tr { text-align: right; }
.scroll { overflow-x: auto; }
.kv2 { display: flex; flex-direction: column; gap: 10px; } .kv2 > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; } .kv2 span:first-child { color: var(--ink3); font-size: 13.5px; flex: none; }
.stack { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--line); } .stack i { display: block; height: 100%; }
.parts { display: flex; flex-direction: column; gap: 10px; } .parts > div { display: flex; align-items: center; gap: 10px; } .parts i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.parts span span { display: block; font-size: 12.5px; color: var(--ink3); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: 0; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: var(--shadow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); cursor: grab; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--surface); border: 2px solid transparent; border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 80; max-width: calc(100vw - 32px); font-weight: 600; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; background: rgba(2, 12, 8, .6); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px; z-index: 90; overflow: auto; }
.mbox { background: var(--surface); border-radius: var(--r2); padding: 24px; width: min(480px, 100%); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }

/* ---------------------------------------------------------------- shell: top bar, tape, footer, dock */
.top { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; } .brand b { font-family: var(--head); font-size: 24px; font-weight: 800; letter-spacing: -.02em; } .brand img, .logo { border-radius: 50%; display: block; }
.pills { display: flex; gap: 4px; margin-left: 22px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.pills a { height: 36px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; color: var(--ink2); transition: background .15s, color .15s; }
.pills a:hover { color: var(--ink); } .pills a.on { background: var(--accent); color: var(--accent-ink); }
.find { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: min(300px, 26vw); color: var(--ink3); }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; } .find kbd { font: 700 11px var(--body); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.netchip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 13.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px var(--glow); } .dot.off { background: var(--ink3); box-shadow: none; }
#msearch { display: none; }

.tape { height: var(--tape); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg2); position: relative; display: flex; flex-direction: column; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.lane { flex: 1; display: flex; align-items: center; width: max-content; animation: tape 90s linear infinite; } .lane.rev { animation-direction: reverse; animation-duration: 110s; } .tape:hover .lane { animation-play-state: paused; }
.lane a { display: inline-flex; align-items: center; gap: 8px; margin: 0 5px; padding: 3px 12px 3px 4px; border-radius: 99px; font-size: 12.5px; white-space: nowrap; border: 1px solid transparent; transition: background .6s, border-color .6s; }
.lane img { width: 20px; height: 20px; border-radius: 50%; } .lane b { font-weight: 800; } .lane .px { font-weight: 700; } .lane .ch { font-weight: 800; font-size: 11.5px; }
.lane a.tick-up { animation: tup 1.2s ease-out; } .lane a.tick-down { animation: tdn 1.2s ease-out; }
@keyframes tup { from { background: color-mix(in srgb, var(--up) 28%, transparent); border-color: var(--up); } }
@keyframes tdn { from { background: color-mix(in srgb, var(--down) 28%, transparent); border-color: var(--down); } }
/* faint Noely marks behind every page */
.marks { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.marks img { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); max-width: 60vw; max-height: 60vw; opacity: .055; transform: rotate(var(--r)); filter: saturate(.8); }
[data-theme="light"] .marks img { opacity: .07; }
.tape, .page, .foot { position: relative; z-index: 1; }
@keyframes tape { to { transform: translateX(-50%); } }

.demo { background: var(--ink); color: var(--bg); text-align: center; font-size: 13px; font-weight: 700; padding: 7px 16px; }
.page { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 36px max(20px, env(safe-area-inset-right, 0px)) 80px max(20px, env(safe-area-inset-left, 0px)); }
.page > .in { animation: rise .4s ease backwards; } @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.foot { border-top: 1px solid var(--line); padding: 30px max(20px, env(safe-area-inset-left, 0px)) 40px; display: flex; flex-direction: column; gap: 16px; max-width: 1240px; width: 100%; margin: 0 auto; }
.fl { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .brand.sm b { font-size: 20px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; color: var(--ink2); font-size: 14px; } .foot a:hover { color: var(--accent); }
.foot p { color: var(--ink3); font-size: 13px; max-width: 80ch; }
.dock { display: none; }

/* ---------------------------------------------------------------- home */
.hero { overflow-x: clip; position: relative; text-align: center; padding: 56px 0 28px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero::before { content: ''; position: absolute; left: 50%; top: -60px; width: min(900px, 100%); aspect-ratio: 2/1; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.hero .sun { position: relative; width: 168px; height: 168px; border-radius: 50%; box-shadow: 0 0 0 10px var(--glow), 0 0 80px 10px var(--glow); }
.hero .sun img { width: 100%; height: 100%; border-radius: 50%; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; max-width: 17ch; position: relative; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
.lede { max-width: 58ch; font-size: 17.5px; color: var(--ink2); position: relative; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.sec { margin-top: 64px; } .sec > .hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; } .sec .hd h2 { font-size: clamp(26px, 3.4vw, 38px); } .sec .hd p { color: var(--ink2); margin-top: 8px; max-width: 56ch; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mtile { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; position: relative; overflow: hidden; }
.mtile:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.mtile.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.mtile .top2 { display: flex; align-items: center; gap: 10px; } .mtile img { width: 36px; height: 36px; border-radius: 50%; } .mtile b { font-size: 15px; } .mtile small { display: block; color: var(--ink3); font-weight: 600; font-size: 12px; }
.mtile .px { font-size: 22px; font-weight: 800; letter-spacing: -.02em; } .mtile .ch { font-size: 13px; font-weight: 800; } .mtile .cn { position: absolute; right: 14px; top: 14px; font-size: 11.5px; font-weight: 800; color: var(--ink3); }
.flash { animation: flash .9s ease; } @keyframes flash { 0% { background: var(--accent-soft); } }
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.orb { flex: 0 0 248px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.orb::before { content: ''; position: absolute; inset: -40% -30% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }
.orb:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-line); }
.orb .pic { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent-line); object-fit: cover; background: var(--surface2); }
.orb h4 { font-size: 18px; } .orb .tk { font-weight: 800; color: var(--ink3); font-size: 13px; }
.orb .foot2 { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; } .orb .foot2 b { font-size: 17px; }
.mix { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--line); } .mix i { display: block; height: 100%; }
.mixer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.donut { position: relative; width: min(100%, 300px); margin: 0 auto; aspect-ratio: 1; } .donut svg { width: 100%; height: 100%; transform: rotate(-90deg); } .donut circle { transition: stroke-dasharray .35s ease, stroke-dashoffset .35s ease; }
.donut .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .donut .mid b { font-family: var(--head); font-size: 40px; line-height: 1; } .donut .mid span { font-size: 12.5px; color: var(--ink3); font-weight: 700; margin-top: 6px; }
.sl3 { display: flex; flex-direction: column; gap: 20px; } .sl3 .field label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .stats > div { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); } .stats b { display: block; font-family: var(--head); font-size: clamp(26px, 3.2vw, 38px); } .stats span { color: var(--ink3); font-weight: 700; font-size: 13px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.flow > div { padding: 0 24px 0 0; position: relative; } .flow .node { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; }
.flow::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; border-top: 2px dashed var(--accent-line); } .flow h4 { font-size: 20px; margin-bottom: 8px; } .flow p { color: var(--ink2); }
.feed { display: flex; flex-direction: column; } .feed a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); font-size: 14px; } .feed a:first-child { border-top: 0; } .feed img { width: 30px; height: 30px; border-radius: 50%; }

/* ---------------------------------------------------------------- explore */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; } .head h1 { font-size: clamp(32px, 4.6vw, 52px); } .head p { color: var(--ink2); margin-top: 8px; }
.bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 28px 0 14px; } .bar .inp { min-width: 220px; flex: 1; max-width: 340px; min-height: 42px; border-radius: 999px; }
.ctable { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.crow { display: grid; grid-template-columns: 44px minmax(220px, 2.4fr) repeat(5, minmax(84px, 1fr)); align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); transition: background .15s; }
.crow:first-child { border-top: 0; } a.crow:hover { background: var(--surface2); } .crow.h { color: var(--ink3); font-size: 12.5px; font-weight: 800; padding-block: 12px; background: var(--surface2); }
.crow .nm { display: flex; align-items: center; gap: 12px; min-width: 0; } .crow .nm img { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; border: 1px solid var(--line); } .crow .nm b { display: block; font-size: 15px; } .crow .nm small { color: var(--ink3); font-weight: 700; font-size: 12.5px; }
.crow .c { text-align: right; font-weight: 700; } .crow .rk { color: var(--ink3); font-weight: 800; font-size: 13px; }
.crow .burned { color: var(--burn); }

/* ---------------------------------------------------------------- coin page */
.chead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; } .cimg { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent-line); object-fit: cover; background: var(--surface2); }
.chead h1 { font-size: clamp(26px, 3.4vw, 40px); } .chead .tk { font-family: var(--body); font-weight: 800; color: var(--ink3); font-size: 18px; }
.pricebox { margin-left: auto; text-align: right; } .pricebox .num:first-child { font-family: var(--head); font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; display: block; line-height: 1; } .pricebox #pc { font-weight: 800; }
.offbadge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 800 12px var(--body); white-space: nowrap; }
.offnote { margin-bottom: 18px; } .offnote .num { overflow-wrap: anywhere; }
.cwrap { display: grid; grid-template-columns: 270px minmax(0, 1fr) 350px; gap: 18px; align-items: start; }
.cwrap > * { min-width: 0; } .vit { display: flex; flex-direction: column; gap: 14px; } .vit .box { padding: 18px; }
.ring { display: flex; align-items: center; gap: 14px; } .ring .donut { width: 96px; margin: 0; flex: none; } .ring .donut .mid b { font-size: 18px; } .ring .donut .mid span { display: none; }
.meter { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; } .meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--burn), #FFB36B); border-radius: 99px; transition: width .4s; }
.chartbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px; box-shadow: var(--shadow); } .chartbox .tb { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.chart { height: 400px; position: relative; } .chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.ctabs { margin: 22px 0 14px; } #tabbody .box { box-shadow: none; }
.ticket { position: sticky; top: calc(var(--top) + var(--tape) + 18px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.sd { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface2); border-radius: 999px; } .sd button { height: 40px; border-radius: 999px; font-weight: 800; color: var(--ink2); } .sd .b.on { background: var(--up); color: var(--accent-ink); } .sd .s.on { background: var(--down); color: #fff; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .quick button { height: 36px; border-radius: 10px; background: var(--surface2); font-weight: 800; font-size: 13px; } .quick button:hover { background: var(--accent-soft); }
.out { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: var(--surface2); border-radius: 12px; }
.scrim { display: none; } .sheetbar { display: none; }
.theme-box { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface2); } .theme-box img { width: 44px; height: 44px; border-radius: 50%; }

/* ---------------------------------------------------------------- launch */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.lsec { padding: 24px; border-radius: var(--r2); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; margin-bottom: 16px; } .lsec > h3 { display: flex; align-items: center; gap: 10px; } .lsec > h3 i { font-style: normal; font: 800 13px var(--body); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; } .picker button { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); font-weight: 700; font-size: 13.5px; text-align: left; } .picker button img { width: 26px; height: 26px; border-radius: 50%; } .picker button.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--glow); }
.pick-note { font-size: 13.5px; }
.up-img { display: flex; align-items: center; gap: 14px; } .up-img .pv { width: 72px; height: 72px; border-radius: 50%; border: 2px dashed var(--accent-line); object-fit: cover; background: var(--surface2); }
.presets { display: flex; gap: 8px; flex-wrap: wrap; } .presets button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface2); font-weight: 800; font-size: 13px; } .presets button:hover { border-color: var(--accent); }
.lprev { position: sticky; top: calc(var(--top) + var(--tape) + 18px); display: flex; flex-direction: column; gap: 14px; } .lprev .orb { flex: none; width: 100%; }
.err { color: var(--down); font-size: 13.5px; font-weight: 700; min-height: 18px; }

/* ---------------------------------------------------------------- docs, portfolio */
.docs { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; align-items: start; } .toc { position: sticky; top: calc(var(--top) + var(--tape) + 20px); display: flex; flex-direction: column; gap: 2px; } .toc a { padding: 8px 14px; border-radius: 10px; font-weight: 700; color: var(--ink2); font-size: 14px; border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; } .toc a.on, .toc a:hover { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }
.doc section { margin-bottom: 44px; scroll-margin-top: calc(var(--top) + var(--tape) + 24px); } .doc h2 { font-size: 32px; margin-bottom: 14px; } .doc h3 { margin: 22px 0 8px; } .doc p { color: var(--ink2); margin-bottom: 12px; font-size: 16px; } .doc ul { color: var(--ink2); padding-left: 20px; } .doc li { margin-bottom: 6px; }
.doc details { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; background: var(--surface); } .doc summary { font-weight: 800; cursor: pointer; } .doc details p { margin: 10px 0 0; }
.ptop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; } .ptop > div { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); } .ptop span { display: block; color: var(--ink3); font-size: 13px; font-weight: 700; } .ptop b { font-family: var(--head); font-size: 28px; }
.prow { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); } .prow:first-child { border-top: 0; } .prow img { width: 40px; height: 40px; border-radius: 50%; }
.who { display: flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .cwrap { grid-template-columns: minmax(0, 1fr) 340px; } .vit { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .crow { grid-template-columns: 36px minmax(180px, 2fr) repeat(3, minmax(76px, 1fr)); } .crow .hide1 { display: none; }
}
@media (max-width: 960px) {
  .pills, .find, .netchip { display: none; } #msearch { display: inline-flex; } .top { gap: 10px; } .stats { grid-template-columns: repeat(2, 1fr); }
  .mixer { grid-template-columns: 1fr; } .lgrid { grid-template-columns: 1fr; } .lprev { position: static; }
  .docs { grid-template-columns: 1fr; } .toc { position: static; flex-direction: row; overflow-x: auto; gap: 6px; } .toc a { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
  .dock { display: flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 50; gap: 2px; padding: 6px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); width: min(420px, calc(100vw - 32px)); }
  .dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 999px; font-size: 11px; font-weight: 800; color: var(--ink3); } .dock a.on { background: var(--accent); color: var(--accent-ink); }
  .page { padding-bottom: 120px; } .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .cwrap { grid-template-columns: minmax(0, 1fr); } .vit { display: flex; flex-direction: column; grid-row: auto; } .ticket.sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70; border-radius: 24px 24px 0 0; max-height: 86vh; overflow: auto; transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .ticket.sheet.open { transform: none; visibility: visible; } .scrim { position: fixed; inset: 0; background: rgba(2, 12, 8, .55); z-index: 65; } .scrim:not([hidden]) { display: block; }
  .sheetbar { display: flex; gap: 10px; position: fixed; left: 16px; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 55; } .sheetbar .btn { flex: 1; height: 48px; box-shadow: var(--shadow); }
  .page { padding-bottom: 170px; } .chart { height: 320px; }
}
@media (max-width: 640px) {
  .top { padding: 0 14px; gap: 8px; } .top .btn { padding: 0 14px; height: 38px; } .top .ib { width: 38px; height: 38px; } .top .brand img { width: 32px; height: 32px; }
  .page { padding-top: 22px; } .hero { padding-top: 28px; } .hero .sun { width: 128px; height: 128px; } .flow { grid-template-columns: 1fr; gap: 22px; } .flow::before { display: none; }
  .crow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; } .crow.h { display: none; } .crow .rk, .crow .c.hide2 { display: none; } .crow .c.m { display: block; } .crow .c small { display: block; font-weight: 600; color: var(--ink3); }
  .crow .c.x { display: none; } .ptop { grid-template-columns: 1fr; } .pricebox { margin-left: 0; text-align: left; width: 100%; } .brand b { font-size: 21px; }
  .sec { margin-top: 48px; } .mgrid { grid-template-columns: repeat(2, 1fr); } .orb { flex-basis: 220px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .tape { overflow-x: auto; } }
