/* GridMeet -- neon pink on black, app-dashboard look */
:root {
  --bg: #06060a;
  --bg2: #0b0b11;
  --panel: #121218;
  --panel2: #1a1a22;
  --panel3: #212129;
  --line: #26262f;
  --line2: #34343f;
  --ink: #f6f6fa;
  --muted: #9698a8;
  --pink: #ff2d87;
  --pink2: #ff69b4;
  --pink3: #c81f6b;
  --glow: rgba(255,45,135,.35);
  --radius: 16px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 520px at 85% -8%, rgba(255,45,135,.10), transparent 60%),
                    radial-gradient(700px 420px at 5% 8%, rgba(255,45,135,.07), transparent 65%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main a:not(.btn):not(.chip):not(.cardlink):not(.linkcard):not(.channel):not(.peek):not(.more):not(.tile):not(.qa):not(.feat):not(.stack) { color: var(--pink2); }
main a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .75rem; }
.wrap { width: min(1240px, 92vw); margin: 0 auto; }
.narrow { width: min(720px, 92vw); }
.block { margin: 3rem auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: var(--mono); }
.right { text-align: right; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--pink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 60; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(6,6,10,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 900; letter-spacing: -.04em; font-size: 1.2rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: block; filter: drop-shadow(0 0 14px var(--glow)); }
.brand.small .brand-mark { width: 30px; height: 30px; }
.brand .amp { color: var(--pink); margin: 0 .08em; }
.brand.small { font-size: 1rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; font-size: .94rem; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on { color: var(--pink2); }
.pill-link { padding: .32rem .75rem; border: 1px solid var(--line2); border-radius: 999px; color: var(--ink) !important; }
.ghost-link { color: var(--muted); }
.inline { display: inline; }
.linkbtn { background: none; border: 0; color: var(--muted); font: inherit; font-size: .94rem; cursor: pointer; padding: 0; }
.linkbtn:hover { color: var(--ink); }
.linkbtn.danger { color: #ff5f6d; }
.navtoggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.burger { display: none; }
.navtoggle:focus-visible ~ .burger { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: linear-gradient(120deg, var(--pink), var(--pink3)); color: #fff;
  font-weight: 700; padding: .74rem 1.2rem; border-radius: 11px; border: 0;
  font-size: .95rem; cursor: pointer; font-family: inherit;
  box-shadow: 0 10px 26px rgba(255,45,135,.28); transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 32px rgba(255,45,135,.4); text-decoration: none; }
.btn.small { padding: .5rem .9rem; font-size: .88rem; }
.btn.wide { width: 100%; }
.btn.ghost { background: var(--panel2); color: var(--ink); border: 1px solid var(--line2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--pink); color: var(--pink2); filter: none; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,45,135,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,45,135,.06) 1px, transparent 1px); background-size: 58px 58px; mask-image: radial-gradient(75% 70% at 50% 15%, #000 25%, transparent 100%); }
.hero-inner { position: relative; padding: 4.2rem 0 3.4rem; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.hero-logo { width: clamp(96px, 13vw, 148px); height: auto; border-radius: 24px; margin-bottom: 1.2rem; filter: drop-shadow(0 12px 30px rgba(255,45,135,.35)); }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--pink); font-weight: 800; margin-bottom: .8rem; }
.hero h1 { text-transform: uppercase; letter-spacing: -.03em; line-height: 1.02; }
.grad { background: linear-gradient(100deg, var(--pink2), var(--pink) 55%, var(--pink3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.05rem; color: #c4c6d4; max-width: 58ch; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 1.2rem; max-width: 420px; margin-bottom: 2rem; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: .35rem; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; text-align: center; }
.pillar .ic { width: 26px; height: 26px; color: var(--pink); filter: drop-shadow(0 0 8px var(--glow)); }
.pillar:hover { color: var(--ink); text-decoration: none; }
.stats { display: flex; gap: 2.2rem; flex-wrap: wrap; margin: 0; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.stats dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.stats dd { margin: .1rem 0 0; font-size: 1.75rem; font-weight: 900; font-family: var(--mono); color: var(--ink); }

/* ---------- hub panel (the app-screen card) ---------- */
.hub { background: linear-gradient(180deg, var(--panel), #0e0e14); border: 1px solid var(--line2); border-radius: 26px; padding: 1.2rem; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,45,135,.08); }
.hub-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .2rem .3rem 1rem; }
.hub-head h2 { margin: 0; font-size: 1.35rem; }
.hub-head p { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.tile { position: relative; border-radius: 14px; padding: .85rem .9rem 1rem; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.tile:hover { border-color: var(--pink); transform: translateY(-2px); text-decoration: none; }
.tile .ic { color: var(--pink); width: 22px; height: 22px; margin-bottom: 2.2rem; filter: drop-shadow(0 0 10px var(--glow)); }
.tile b { display: block; font-size: .95rem; }
.tile span { display: block; color: var(--muted); font-size: .8rem; }
.tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,45,135,.22), transparent 70%); }
.qa-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: .7rem; }
.qa { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .7rem .25rem; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: .66rem; color: var(--muted); text-align: center; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.qa .ic { color: var(--pink); width: 19px; height: 19px; }
.qa:hover { color: var(--ink); border-color: var(--pink); text-decoration: none; }
.hub-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }

/* ---------- section headings ---------- */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.6rem 0 1.3rem; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.sec-title { display: flex; align-items: center; gap: .5rem; color: var(--pink); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 900; margin: 0; }
.sec-title .ic { width: 17px; height: 17px; }
.more { color: var(--pink2) !important; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.lanes { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.empty { color: var(--muted); background: var(--panel); border: 1px dashed var(--line2); border-radius: var(--radius); padding: 1.5rem; }

/* ---------- cards ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card.pad { padding: 1.15rem; }
.linkcard { display: block; transition: border-color .15s ease, transform .15s ease; }
.linkcard:hover, .cardlink:hover { text-decoration: none; }
.card:has(.cardlink:hover), .linkcard:hover { border-color: var(--pink); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,45,135,.12); }
.tag { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; padding: .22rem .6rem; border-radius: 999px; background: rgba(255,45,135,.12); color: var(--pink2); border: 1px solid rgba(255,45,135,.3); }
.k-car-meet, .k-cruise { color: var(--pink2); }
.k-drifting { color: #ff2d87; }
.k-sim-racing { color: #ff8ac4; }
.k-game-night { color: #d46bff; border-color: rgba(212,107,255,.35); background: rgba(212,107,255,.1); }
.k-track-day { color: #ff6a9f; }
.meta { color: var(--muted); font-size: .83rem; margin: .35rem 0 0; }

/* dashboard section cards */
.dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 1rem; }
.dash-card { display: flex; flex-direction: column; padding: 1.1rem; gap: .7rem; }
.dash-card h3 { margin: 0; }
.dash-card .body { flex: 1; }
.mini { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; display: block; }
.mini:hover { border-color: var(--pink); text-decoration: none; }
.mini b { display: block; font-size: .95rem; }
.mini .muted { font-size: .8rem; }
.progress { height: 6px; border-radius: 999px; background: var(--panel3); overflow: hidden; margin-top: .6rem; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink2), var(--pink)); border-radius: 999px; }
.stack { display: flex; align-items: center; }
.stack .av { margin-right: -10px; border: 2px solid var(--panel); }
.stack .count { margin-left: 1rem; font-size: .8rem; color: var(--muted); }

.event-card .cardlink { display: flex; gap: .9rem; padding: 1rem; }
.datechip { flex: 0 0 auto; width: 64px; text-align: center; background: rgba(255,45,135,.1); border: 1px solid rgba(255,45,135,.28); border-radius: 12px; padding: .5rem .25rem; }
.datechip b { display: block; font-size: .95rem; color: var(--pink2); }
.datechip span { display: block; font-size: .76rem; color: var(--muted); font-family: var(--mono); }
.datechip.big { width: 100%; display: flex; justify-content: space-between; padding: .8rem 1rem; margin-bottom: .8rem; }
.datechip.big b, .datechip.big span { font-size: 1.05rem; }
.event-body h3 { margin: .35rem 0 .2rem; }

.thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(150deg, #1c1020, #0c0c12 60%); display: flex; align-items: center; justify-content: center; }
.thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 20%, rgba(255,45,135,.22), transparent 70%); }
.thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.thumb-ph { position: relative; color: rgba(255,105,180,.42); }
.thumb-ph .ic { width: 48px; height: 48px; }
.stage { position: absolute; left: .6rem; bottom: .6rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .11em; background: rgba(6,6,10,.85); border: 1px solid var(--line2); padding: .18rem .55rem; border-radius: 999px; z-index: 2; }
.build-body { padding: .9rem 1rem 1.05rem; }

/* ---------- feature index (the numbered strip) ---------- */
.index-band { background: linear-gradient(180deg, #0a0a10, var(--bg)); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.4rem; }
.index-band h2 { text-align: center; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.6rem; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .9rem 1.2rem; }
.feat { display: flex; align-items: center; gap: .6rem; padding: .5rem .3rem; border-radius: 10px; }
.feat:hover { background: var(--panel); text-decoration: none; }
.feat .ic { color: var(--pink); width: 22px; height: 22px; filter: drop-shadow(0 0 8px var(--glow)); }
.feat .num { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.feat b { display: block; font-size: .82rem; font-weight: 600; }

/* ---------- tables ---------- */
.table-card { padding: 0; }
.board-head { padding: 1rem 1.15rem .3rem; }
.table { width: 100%; border-collapse: collapse; font-size: .91rem; }
.table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 800; }
.table td { padding: .68rem 1rem; border-bottom: 1px solid rgba(38,38,47,.65); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .pos { font-family: var(--mono); color: var(--muted); width: 2.5rem; }
.table .best { color: var(--pink2); font-weight: 800; }
.table form { display: inline; }

/* ---------- chat ---------- */
.chatpeek { padding: .4rem; }
.peek { display: flex; gap: .7rem; padding: .55rem; border-radius: 12px; }
.peek:hover { background: var(--panel2); text-decoration: none; }
.peek-head { margin: 0; font-size: .83rem; }
.peek-head b { font-size: .89rem; }
.chan { color: var(--pink2); font-family: var(--mono); font-size: .77rem; }
.peek-body { margin: .1rem 0 0; color: #c4c6d4; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.chatpage { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.channels h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--pink); font-weight: 900; }
.channel { display: block; padding: .6rem .75rem; border-radius: 12px; border: 1px solid transparent; margin-bottom: .3rem; }
.channel b { display: block; font-family: var(--mono); font-size: .91rem; }
.channel span { display: block; font-size: .77rem; color: var(--muted); }
.channel:hover { background: var(--panel); text-decoration: none; }
.channel.on { background: rgba(255,45,135,.1); border-color: rgba(255,45,135,.4); }
.chatbox { display: flex; flex-direction: column; height: min(72vh, 720px); }
.chat-head { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.chat-head h1 { font-size: 1.3rem; font-family: var(--mono); margin: 0; }
.stream { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.stream > :first-child { margin-top: auto; }
.msg { display: flex; gap: .7rem; }
.msg-body { margin: .1rem 0 0; color: #dcdee9; overflow-wrap: anywhere; white-space: pre-wrap; }
.composer { display: flex; gap: .6rem; padding: .8rem; border-top: 1px solid var(--line); background: var(--panel2); }
.composer input { flex: 1; }
.composer.signedout { align-items: center; justify-content: space-between; }
.composer.signedout p { margin: 0; }

/* ---------- avatars ---------- */
.av { border-radius: 50%; object-fit: cover; background: linear-gradient(140deg, var(--pink2), var(--pink3)); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; flex: 0 0 auto; }
.av.s { width: 34px; height: 34px; font-size: .76rem; }
.av.m { width: 44px; height: 44px; font-size: .9rem; }
.av.l { width: 64px; height: 64px; font-size: 1.1rem; }
.av.xl { width: 92px; height: 92px; font-size: 1.6rem; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: .9rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
input, textarea, select { background: var(--bg2); border: 1px solid var(--line2); color: var(--ink); border-radius: 11px; padding: .7rem .85rem; font: inherit; font-size: .95rem; width: 100%; }
input::placeholder, textarea::placeholder { color: #5f6070; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(255,45,135,.55); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }
input[type="file"] { padding: .5rem; color: var(--muted); }
.form .btn { align-self: flex-start; }
.searchbar { display: flex; gap: .6rem; margin-bottom: 1rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.2rem; }
.filters .spacer { flex: 1; }
.chip { padding: .38rem .85rem; border: 1px solid var(--line2); border-radius: 999px; font-size: .84rem; color: var(--muted); background: var(--panel); font-weight: 600; }
.chip:hover { color: var(--ink); text-decoration: none; }
.chip.on { background: linear-gradient(120deg, var(--pink), var(--pink3)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(255,45,135,.28); }
.notice { background: rgba(255,45,135,.1); border: 1px solid rgba(255,45,135,.35); padding: .8rem 1rem; border-radius: 12px; }
.error { background: rgba(255,60,80,.12); border: 1px solid rgba(255,60,80,.4); padding: .8rem 1rem; border-radius: 12px; }
.auth { padding-top: 2rem; }
.avatar-row { display: flex; gap: 1rem; align-items: center; }
.avatar-row label { flex: 1; }
.inline-form { margin-top: 1rem; }

/* ---------- detail pages ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.detail h2 { margin-top: 2rem; }
.hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.2rem; border: 1px solid var(--line2); }
.crumbs { font-size: .8rem; color: var(--muted); }
.prose { white-space: pre-line; color: #c8cad8; max-width: 68ch; }
.sticky { position: sticky; top: 88px; }
.specs { margin: 0 0 1rem; display: grid; gap: .55rem; }
.specs div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(38,38,47,.7); padding-bottom: .45rem; }
.specs dt { color: var(--muted); font-size: .81rem; }
.specs dd { margin: 0; font-weight: 700; text-align: right; font-size: .89rem; }
.rsvp { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.people { list-style: none; margin: .3rem 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.people a { display: flex; align-items: center; gap: .5rem; font-size: .89rem; }
.comments { display: flex; flex-direction: column; gap: 1rem; }
.comment { display: flex; gap: .7rem; }
.danger-form { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.profile-head { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.list li { border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.list.tight { gap: .35rem; margin-top: .8rem; font-size: .86rem; }
.list.tight li { display: flex; justify-content: space-between; color: var(--muted); }
.list.tight b { color: var(--ink); font-family: var(--mono); }
.member { text-align: center; }
.member .av { margin: 0 auto .6rem; }
.rules ul { padding-left: 1.1rem; color: #c8cad8; }
.rules li { margin-bottom: .4rem; }
.rules h2:first-of-type { margin-top: 0; }

/* ---------- mobile app bar ---------- */
.appbar { display: none; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 4rem; padding: 2.6rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
.footcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.4rem; }
.footcols h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--pink); font-weight: 900; }
.footcols a { display: block; font-size: .9rem; color: #c4c6d4; padding: .18rem 0; }
.footcols a:hover { color: var(--pink2); }
.copyright { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; }
.copyright p { margin: 0; font-size: .83rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 3rem; }
  .pillars { max-width: none; grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lanes, .detail, .chatpage, .footer-inner { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .burger { display: flex; flex-direction: column; gap: 4px; margin-left: auto; cursor: pointer; padding: .5rem; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: .2rem; padding: 1rem 4vw; display: none; margin-left: 0; }
  .nav a, .nav form { padding: .5rem 0; }
  .navtoggle:checked ~ .nav { display: flex; }
  .chatbox { height: min(72vh, 620px); }
  .row { grid-template-columns: 1fr; }
  .stats { gap: 1.4rem; }
  .stats dd { font-size: 1.35rem; }
  body { padding-bottom: 74px; }
  .appbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
    background: rgba(10,10,16,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    padding: .45rem .4rem calc(.45rem + env(safe-area-inset-bottom, 0px));
  }
  .appbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: .3rem 0; }
  .appbar a.on { color: var(--pink2); }
  .appbar a.on .ic { filter: drop-shadow(0 0 8px var(--glow)); }
  .appbar .ic { width: 21px; height: 21px; }
  .appbar .mid { flex: 0 0 auto; margin-top: -22px; }
  .appbar .mid .ic { width: 24px; height: 24px; color: #fff; }
  .appbar .mid .bubble { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(255,45,135,.5); border: 3px solid var(--bg); background: var(--panel); }
.appbar .mid .bubble img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 560px) {
  .qa-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
