/* hyped.family: punchy colors, practical trading surfaces. */
:root {
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --max-width: 1200px;
  --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem;
  --text-xl: clamp(1.35rem, 2vw, 1.75rem);
  --text-2xl: clamp(1.65rem, 3vw, 2.1rem);
  --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem;
  --acid: #b8ff39; --pink: #ff6eb8; --yellow: #ffe85c;
  --r-card: 18px; --r-panel: 12px; --r-input: 10px; --r-float: 18px;
}
[data-theme="dark"] {
  --bg: #101914; --bg-2: #141f19; --panel: #19261e; --panel-2: #223329;
  --text: #f4f8eb; --muted: #b2c0b5; --ink: #0b120e; --line: #314638;
  --mint: #b8ff39; --lemon: #b8ff39; --sky: #6cebd4; --grape: #ff6eb8;
  --strawberry: #ff7892; --bubblegum: #ff6eb8; --gold: #ffe85c;
  --up: #b8ff39; --down: #ff8da3; --hero: none;
  --shadow: 0 3px 0 #0b120e; --shadow-lg: 0 4px 0 #0b120e;
}
[data-theme="light"] {
  --bg: #f3f7e9; --bg-2: #f8fbf2; --panel: #fffef6; --panel-2: #e7eddb;
  --text: #17241b; --muted: #526052; --ink: #111b14; --line: #bac9b3;
  --mint: #b8ff39; --lemon: #b8ff39; --sky: #64d7c0; --grape: #ab215f;
  --strawberry: #cf3557; --bubblegum: #ff6eb8; --gold: #ffe85c;
  --up: #346200; --down: #af1637; --hero: none;
  --shadow: 0 3px 0 #d5dfc8; --shadow-lg: 0 4px 0 #d5dfc8;
}
body { background-image: none; }
h1,h2,h3 { font-weight: 400; letter-spacing: -.045em; }
.shell { width: min(var(--max-width), 100% - 3rem); }
.awning--top { height: 5px; background: linear-gradient(90deg,var(--acid) 0 62%,var(--pink) 62% 85%,var(--yellow) 85%); }
.topbar { top: 5px; background: var(--bg); backdrop-filter: none; }
.topbar__inner { height: 82px; gap: var(--space-8); }
.brand__mark { width: 39px; height: 39px; color: var(--acid); flex-shrink: 0; }
.brand__word { font-size: 1.38rem; letter-spacing: -.06em; font-weight: 400; }
.brand__suffix { color: var(--muted); }
.nav { border: 0; background: transparent; gap: var(--space-2); padding: 0; }
.nav a { min-height: 44px; display: flex; align-items: center; padding: var(--space-2) var(--space-3); border-radius: 8px; }
.nav a.active { color: var(--text); background: var(--panel-2); }
.network { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--muted); margin-right: var(--space-2); }
.iconbtn { width: 44px; height: 44px; border: 1px solid var(--line); box-shadow: none; background: transparent; border-radius: 10px; }
.btn { border-radius: 9px; border-width: 1px; min-height: 44px; box-shadow: 0 3px 0 var(--ink); }
.btn--primary { color: #101914; border-color: #101914; }
.btn:hover { transform: translateY(-2px); filter: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { box-shadow: none; }
.family-hero { display: grid; grid-template-columns: 1fr 305px; margin-top: var(--space-6); border: 1px solid #0b120e; border-radius: 18px; overflow: hidden; background: var(--acid); color: #101914; }
.family-hero__copy { padding: var(--space-8) var(--space-10); }
.eyebrow { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); letter-spacing: .12em; font-weight: 700; text-transform: uppercase; margin-bottom: var(--space-4); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.family-hero h1 { font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.02; text-transform: uppercase; }
.family-hero h1 span { display: block; }
.family-hero__copy > p { max-width: 510px; margin-top: var(--space-4); font-size: var(--text-sm); line-height: 1.6; }
.hero-actions { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-5); }
.hero-actions .btn { background: #101914; color: var(--acid); border-color: #101914; box-shadow: none; }
.hero-text-link { font-size: var(--text-sm); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.family-hero__stamp { background: var(--pink); border-left: 1px solid #101914; padding: var(--space-6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); position: relative; }
.family-hero__stamp img { width: 126px; height: 126px; transform: rotate(-10deg); transition: transform .25s ease; }
.family-hero__stamp:hover img { transform: rotate(6deg) scale(1.05); }
.family-hero__stamp b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; letter-spacing: -.05em; text-align: center; line-height: 1.05; }
.family-hero__stamp small { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; }
.family-strip { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-2); border-bottom: 1px solid var(--line); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .055em; color: var(--muted); }
.family-strip b { color: var(--text); }
.toolbar { margin-top: var(--space-6); }
.search { border: 1px solid var(--line); box-shadow: none; border-radius: 10px; min-height: 48px; }
.search:focus-within { border-color: var(--grape); }
.panel { border-width: 1px; padding: var(--space-6); }
.chip { min-height: 40px; border-width: 1px; border-radius: 8px; padding-inline: var(--space-4); }
.chip.active { background: var(--acid); color: #101914; box-shadow: none; border-color: #101914; }
.tabs { border-width: 1px; border-radius: 8px; }
.tabs button { min-height: 40px; border-radius: 5px; }
.tabs button.active { background: var(--panel); box-shadow: none; color: var(--text); }
.count { border: 0; border-radius: 5px; padding: .25rem .5rem; }
.grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-4); }
.card { padding: var(--space-3); border-width: 1px; gap: var(--space-2); box-shadow: none; }
.card:hover { border-color: var(--mint); box-shadow: 0 4px 0 var(--ink); }
.card__img { border-width: 1px; }
.card__name { font-size: var(--text-base); }
.card__mc { font-family: var(--font-body); font-weight: 700; }
.card__foot, .badge, .trade .addr, .trade .when, .tbl th, .axis { font-size: var(--text-xs); }
.badge { border-width: 1px; }
.card__foot { gap: var(--space-2); flex-wrap: wrap; }
.panel--gold, .panel--glow { background: var(--panel); }
.create { padding: 0; }
.create__side { background: var(--panel-2); }
.create__side .preview { border-top: 5px solid var(--pink); }
.create__form { border-right-width: 1px; }
.field input,.field textarea,.field select,.amount { border-width: 1px; }
.tier { border-width: 1px; min-height: 66px; }
.pcts button { min-height: 44px; }
.bars i { background: var(--mint); }
.kpi:nth-child(2) { border-top: 3px solid var(--pink); }
.kpi:nth-child(3) { border-top: 3px solid var(--yellow); }
.tbl { display: block; overflow-x: auto; }
.tbl tbody, .tbl thead { width: 100%; }
.footer { margin-top: var(--space-12); }
.footer__card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.awning--card { display: none; }
.footer__grid { padding: var(--space-8) 0; grid-template-columns: 1.5fr .7fr .9fr 1.2fr; }
.footer__grid .brand { color: var(--text); margin-bottom: var(--space-3); }
.footer__grid p { font-size: var(--text-sm); }
.footer__grid a { min-height: 32px; }
.footer__bottom { padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.doc { line-height: 1.8; }
.doc h1 { margin-bottom: var(--space-4); }
.doc p { margin-block: var(--space-3); }
.skip-link { position: fixed; left: var(--space-4); top: -100px; background: var(--acid); color: #101914; padding: var(--space-3); z-index: 100; }
.skip-link:focus { top: var(--space-4); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.load-status { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-6); }
@media(max-width: 1000px) {
  .topbar__inner { gap: var(--space-4); }
  .network { display: none; }
  .family-hero { grid-template-columns: 1fr 240px; }
  .family-hero__copy { padding: var(--space-8); }
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .topbar__inner { height: auto; min-height: 118px; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-3); padding-bottom: var(--space-2); }
  .topbar__right { margin-left: auto; }
  .brand__word { font-size: 1.15rem; }
  .brand__mark { width: 32px; height: 32px; }
  .nav { display: flex; order: 3; width: 100%; justify-content: space-between; }
  .nav a { padding: var(--space-2) var(--space-3); min-height: 40px; }
  .family-hero { grid-template-columns: 1fr; margin-top: var(--space-4); }
  .family-hero__copy { padding: var(--space-6); }
  .family-hero__stamp { flex-direction: row; justify-content: space-between; border-left: 0; border-top: 1px solid #101914; padding: var(--space-4) var(--space-6); gap: var(--space-3); }
  .family-hero__stamp img { width: 60px; height: 60px; }
  .family-hero__stamp b { font-size: 1.25rem; text-align: left; }
  .family-hero__stamp small { display: none; }
  .family-strip { flex-wrap: wrap; justify-content: flex-start; gap: var(--space-2) var(--space-4); }
  .family-strip span { font-size: .75rem; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-3); }
  .panel { padding: var(--space-4); }
  .create { padding: 0; }
  .create__form,.create__side { padding: var(--space-5); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer__grid > :first-child,.footer__grid > :last-child { grid-column: 1 / -1; }
  .toolbar { gap: var(--space-2); flex-wrap: nowrap; }
  .toolbar .search { flex-basis: auto; min-width: 0; }
  .toolbar > .btn { margin-left: 0; padding-inline: var(--space-3); }
  .search { padding: var(--space-3); }
  .search kbd { display: none; }
  .section-head > div { margin-left: 0 !important; }
  .tabs button { padding-inline: var(--space-2); }
  .card { padding: var(--space-2); }
  .card__name { font-size: var(--text-sm); }
  .topbar__right { gap: var(--space-2); }
  .hero-actions { gap: var(--space-3); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .family-hero__stamp img { transition: none; } }
