/* Florida Bay Roleplay - public site + member portal */

@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #05090f;
  --bg-1: #080e17;
  --bg-2: #0c141f;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .045);
  --surface-3: rgba(255, 255, 255, .07);
  --glass: rgba(10, 17, 27, .66);
  --line: rgba(160, 190, 222, .1);
  --line-2: rgba(160, 190, 222, .18);
  --ink: #eef3f8;
  --ink-2: #a6b3c3;
  --ink-3: #6d7c8f;
  --sun: #ff7a45;
  --amber: #ffbe5c;
  --rose: #ff5a85;
  --sea: #35e2cd;
  --sky: #55c4ff;
  --dusk: #8f7cff;
  --good: #3ddc97;
  --warn: #ffc24d;
  --bad: #ff5f6d;
  --discord: #5865f2;
  --grad-sun: linear-gradient(100deg, #ffc35c 0%, #ff7a45 48%, #ff4f86 100%);
  --grad-sea: linear-gradient(110deg, #35e2cd, #55c4ff);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -28px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
em { font-style: normal; }
::selection { background: rgba(255, 122, 69, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: -.01em; }
kbd { font: 600 .82em var(--font-mono); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--surface-2); }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .94rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-sm { --h: 36px; padding: 0 15px; font-size: .86rem; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sun { background: var(--grad-sun); color: #1a0b05; box-shadow: 0 10px 30px -10px rgba(255, 110, 70, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-sun:hover { box-shadow: 0 16px 40px -12px rgba(255, 110, 70, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-glass { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255, 255, 255, .1); border-color: rgba(200, 220, 240, .28); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-discord:hover { background: #6773f5; }
.btn-danger { background: rgba(255, 95, 109, .12); border-color: rgba(255, 95, 109, .3); color: #ffb3ba; }
.btn-danger:hover { background: rgba(255, 95, 109, .2); }
.btn-good { background: rgba(61, 220, 151, .14); border-color: rgba(61, 220, 151, .32); color: #9ff0c9; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-2);
  color: var(--ink-2); font-size: .74rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.pill.plain::before { display: none; }
.pill-good { color: #7ef0bd; background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .25); }
.pill-warn { color: #ffd27a; background: rgba(255, 194, 77, .1); border-color: rgba(255, 194, 77, .25); }
.pill-bad { color: #ff9aa3; background: rgba(255, 95, 109, .1); border-color: rgba(255, 95, 109, .26); }
.pill-sea { color: #7ff0e1; background: rgba(53, 226, 205, .1); border-color: rgba(53, 226, 205, .25); }
.pill-sun { color: #ffb08a; background: rgba(255, 122, 69, .1); border-color: rgba(255, 122, 69, .28); }
.pill-dusk { color: #c3b8ff; background: rgba(143, 124, 255, .12); border-color: rgba(143, 124, 255, .28); }

/* ---------- reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--delay, 0ms), transform .8s var(--ease) var(--delay, 0ms); }
.js-reveal .reveal.visible { opacity: 1; transform: none; }

/* =================================================================
   LANDING
   ================================================================= */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(255, 122, 69, .25)); }
.brand span { display: grid; line-height: 1.05; }
.brand b { font: 700 1rem var(--font-display); letter-spacing: -.01em; }
.brand small { color: var(--ink-3); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-top: 3px; }

.topnav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.topnav-inner {
  pointer-events: auto;
  width: min(1200px, 100% - 28px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 9px 9px 16px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.topnav.scrolled .topnav-inner, .topnav.open .topnav-inner {
  background: rgba(8, 13, 21, .72);
  border-color: var(--line);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.topnav-links { display: flex; gap: 4px; }
.topnav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: .9rem; font-weight: 500; transition: color .2s, background .2s; }
.topnav-links a:hover { color: var(--ink); background: var(--surface-2); }
.topnav-actions { display: flex; align-items: center; gap: 6px; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.menu-toggle i { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-toggle i:first-child { top: 16px; }
.menu-toggle i:last-child { top: 23px; }
.topnav.open .menu-toggle i:first-child { top: 19.5px; transform: rotate(45deg); }
.topnav.open .menu-toggle i:last-child { top: 19.5px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: clamp(760px, 100svh, 1040px); display: grid; grid-template-rows: 1fr auto; isolation: isolate; overflow: hidden; }
.hero-sky {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 40% at 50% 88%, rgba(255, 118, 74, .5), transparent 70%),
    radial-gradient(40% 30% at 18% 30%, rgba(143, 124, 255, .16), transparent 70%),
    radial-gradient(35% 30% at 85% 25%, rgba(85, 196, 255, .1), transparent 70%),
    linear-gradient(180deg, #05090f 0%, #0b1224 30%, #1c1833 55%, #3d2238 72%, #7a3a46 84%, #a1484a 88%, #0b1626 89%);
}
.hero-scene { position: absolute; left: 0; right: 0; top: 22%; z-index: -2; width: 100%; height: 100%; stroke: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.grain {
  position: absolute; inset: 0; z-index: -1; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sun { transform-origin: 800px 600px; animation: sun-rise 2.4s var(--ease) both; }
.sun-glow { animation: glow 6s ease-in-out infinite alternate; transform-origin: 800px 600px; }
.reflection rect { animation: shimmer 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.reflection rect:nth-child(2n) { animation-delay: -1.2s; }
.reflection rect:nth-child(3n) { animation-delay: -2.1s; }
.stars circle { animation: twinkle 4s ease-in-out infinite; }
.stars circle:nth-child(3n) { animation-delay: -1.3s; }
.stars circle:nth-child(3n+1) { animation-delay: -2.6s; }
.fronds { transform-box: fill-box; transform-origin: 30% 90%; animation: sway 7s ease-in-out infinite alternate; }
.palm-right .fronds { animation-duration: 8.5s; animation-delay: -2s; }
.birds { animation: drift 26s linear infinite; }
@keyframes sun-rise { from { transform: translateY(70px); opacity: 0; } }
@keyframes glow { to { transform: scale(1.06); opacity: .85; } }
@keyframes shimmer { 50% { transform: scaleX(.82); opacity: .2; } }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.8deg); } }
@keyframes drift { from { transform: translateX(-260px); } to { transform: translateX(260px); } }

.hero-content { align-self: center; display: grid; justify-items: center; text-align: center; padding: 150px 20px 40px; max-width: 980px; margin-inline: auto; }
.status-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 30px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(8, 13, 21, .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .84rem; color: var(--ink-2);
}
.status-chip b { color: var(--ink); font-weight: 600; }
.status-chip .sep { width: 1px; height: 12px; background: var(--line-2); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2s infinite; }
.status-chip.offline .pulse { background: var(--warn); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero h1 { font-size: clamp(3rem, 8.4vw, 7.2rem); font-weight: 700; letter-spacing: -.045em; line-height: .94; text-wrap: balance; text-shadow: 0 10px 50px rgba(5, 9, 15, .5); }
.hero h1 em, .section-head h2 em, .showcase h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em;
  background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero .lead { margin-top: 26px; max-width: 640px; color: rgba(230, 238, 246, .82); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.hero-dock {
  position: relative; z-index: 2;
  width: min(980px, 100% - 32px); margin: 0 auto 48px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: rgba(8, 13, 21, .62); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.dock-item { display: grid; gap: 2px; padding: 16px 20px; text-align: left; border-right: 1px solid var(--line); }
.dock-item:last-child { border-right: 0; }
.dock-item > span { color: var(--ink-3); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dock-item b { font-weight: 600; font-size: .98rem; }
.dock-copy { position: relative; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; transition: background .2s; }
.dock-copy > span, .dock-copy > b { grid-column: 1; }
.dock-copy svg { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--ink-3); transition: color .2s; }
.dock-copy:hover { background: var(--surface-2); }
.dock-copy:hover svg { color: var(--sea); }

/* marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 600 1.05rem var(--font-display); color: var(--ink-2); letter-spacing: -.01em; white-space: nowrap; }
.marquee i { color: var(--sun); font-style: normal; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--sea); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; font-size: clamp(2.3rem, 5.2vw, 4.2rem); letter-spacing: -.04em; text-wrap: balance; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 580px; text-wrap: pretty; }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-head.split p { max-width: 400px; margin: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  min-height: 320px; padding: 26px;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .4s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(70% 60% at 50% 0%, rgba(255, 122, 69, .1), transparent 70%); }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile-wide { grid-column: span 2; }
.tile h3 { font-size: 1.42rem; }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; text-wrap: pretty; }
.tile-tag { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 122, 69, .12); color: #ffb08a; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tile-tag.tag-sea { background: rgba(53, 226, 205, .1); color: #7ff0e1; }
.tile-art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; }

.art-sync { gap: 0; }
.art-sync .node { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .84rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.art-sync .node svg { width: 18px; height: 18px; }
.art-sync .node-core { padding: 14px 18px; color: var(--ink); border-color: rgba(255, 122, 69, .4); box-shadow: 0 0 0 6px rgba(255, 122, 69, .06), 0 20px 40px -20px rgba(255, 122, 69, .6); }
.art-sync .node-core img { width: 26px; height: 26px; }
.art-sync .wire { position: relative; flex: 1; max-width: 90px; min-width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); overflow: hidden; }
.art-sync .wire::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--grad-sea); border-radius: 2px; animation: flow 2.2s linear infinite; }
.art-sync .wire:last-of-type::after { animation-delay: -1.1s; animation-direction: reverse; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

.case-card { width: 100%; max-width: 270px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 20px 40px -24px #000; transform: rotate(-3deg); transition: transform .5s var(--ease); }
.tile:hover .case-card { transform: rotate(0); }
.case-card small { display: block; color: var(--ink-3); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.case-card b { font-size: .95rem; white-space: nowrap; }
.hero .btn-glass { background: rgba(8, 13, 21, .55); }

.art-wave { gap: 5px; }
.art-wave i { width: 6px; border-radius: 3px; background: var(--grad-sea); height: 20px; animation: wave 1.3s ease-in-out infinite; }
.art-wave i:nth-child(2n) { animation-delay: -.3s; }
.art-wave i:nth-child(3n) { animation-delay: -.6s; }
.art-wave i:nth-child(5n) { animation-delay: -.9s; }
.art-wave i:nth-child(7n) { animation-delay: -.45s; }
@keyframes wave { 50% { height: 70px; opacity: .7; } }

.art-steps { gap: 6px; flex-wrap: wrap; }
.art-steps span { padding: 6px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink-3); }
.art-steps span.done { color: #7ef0bd; border-color: rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .08); }
.art-steps span.now { color: #1a0b05; background: var(--grad-sun); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(255, 122, 69, .8); }
.art-steps i { width: 14px; height: 1.5px; background: var(--line-2); }

.art-faces span { width: 52px; height: 52px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem var(--font-display); color: #fff; border: 3px solid var(--bg-1); background: linear-gradient(135deg, hsl(var(--h) 80% 62%), hsl(calc(var(--h) + 40) 70% 45%)); }
.art-faces span:first-child { margin-left: 0; }
.art-faces em { margin-left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .25); color: #7ef0bd; font-size: .74rem; font-weight: 600; white-space: nowrap; }

.art-chat { flex-direction: column; align-items: stretch; gap: 10px; }
.bubble { max-width: 78%; padding: 11px 14px; border-radius: 16px; font-size: .88rem; color: var(--ink-2); }
.bubble b { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.bubble.them { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 5px; }
.bubble.them b { color: var(--ink-3); }
.bubble.us { align-self: flex-end; background: rgba(53, 226, 205, .1); border: 1px solid rgba(53, 226, 205, .22); border-bottom-right-radius: 5px; color: var(--ink); }
.bubble.us b { color: var(--sea); }

/* stats band */
.stats-band { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #a9b8c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--ink-3); font-size: .9rem; }

/* departments */
.departments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dept {
  --tone: 255 122 69;
  position: relative; padding: 30px; min-height: 420px;
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: radial-gradient(90% 60% at 100% 0%, rgb(var(--tone) / .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  overflow: hidden; transition: transform .45s var(--ease), border-color .3s;
}
.dept:hover { transform: translateY(-4px); border-color: rgb(var(--tone) / .35); }
.dept-police { --tone: 85 196 255; }
.dept-fire { --tone: 255 106 74; }
.dept-civ { --tone: 53 226 205; }
.dept-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgb(var(--tone) / .12); border: 1px solid rgb(var(--tone) / .3); color: rgb(var(--tone)); }
.dept-icon svg { width: 26px; height: 26px; }
.dept-num { position: absolute; top: 18px; right: 26px; font: 700 5.5rem/1 var(--font-display); letter-spacing: -.06em; color: rgb(var(--tone) / .08); }
.dept small { margin-top: auto; color: rgb(var(--tone)); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dept h3 { margin-top: 8px; font-size: 2rem; }
.dept p { margin-top: 12px; color: var(--ink-2); }
.dept ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dept li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; color: var(--ink-2); }

/* Coastal Passport + interactive explorer */
.tile-passport { background: radial-gradient(90% 90% at 100% 0%, rgba(255, 194, 77, .13), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.passport-art { gap: 28px; }
.passport-ring { width: 112px; height: 112px; display: grid; place-items: center; align-content: center; border-radius: 50%; border: 1px dashed rgba(255,194,77,.65); box-shadow: 0 0 0 8px rgba(255,194,77,.04); transform: rotate(-5deg); }
.passport-ring b { font: 700 2.2rem/1 var(--font-display); color: var(--sun-2); }
.passport-ring small { margin-top: 5px; color: var(--ink-3); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.passport-art > div { display: flex; gap: 8px; }
.passport-art i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; border: 1px dashed var(--line-2); color: var(--ink-3); font: 700 .76rem var(--font-display); font-style: normal; }
.passport-art i.stamped { color: var(--good); border-style: solid; border-color: rgba(61,220,151,.36); background: rgba(61,220,151,.08); }
.passport-art i.featured { color: var(--sun-2); border-color: rgba(255,194,77,.5); background: rgba(255,194,77,.08); animation: glow-stamp 2.2s ease-in-out infinite alternate; }
@keyframes glow-stamp { to { box-shadow: 0 0 24px rgba(255,194,77,.28); transform: rotate(8deg); } }

.explorer-section { border-block: 1px solid var(--line); background: radial-gradient(60% 60% at 15% 50%, rgba(53,226,205,.05), transparent 70%), var(--bg-1); overflow: hidden; }
.explorer { display: grid; grid-template-columns: 1.45fr .8fr; min-height: 570px; border: 1px solid var(--line-2); border-radius: 30px; overflow: hidden; background: #070d15; box-shadow: var(--shadow); }
.explorer-map { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 65% 40%, rgba(53,226,205,.09), transparent 40%), linear-gradient(145deg,#101f2a,#08111c 52%,#111426); }
.explorer-map::before { content: ""; position: absolute; inset: 5%; z-index: -1; clip-path: polygon(35% 2%,58% 8%,68% 25%,88% 38%,74% 56%,71% 77%,58% 96%,37% 89%,26% 74%,8% 64%,18% 43%,25% 22%); background: linear-gradient(155deg,#24382e,#17291f 48%,#2c291d); border: 1px solid rgba(255,255,255,.1); filter: drop-shadow(0 28px 35px rgba(0,0,0,.55)); }
.explorer-map::after { content: "FLORIDA BAY  /  FIELD MAP"; position: absolute; left: 26px; bottom: 24px; color: rgba(255,255,255,.35); font: 600 .65rem var(--font-mono); letter-spacing: .18em; }
.map-coast { position: absolute; inset: 0; pointer-events: none; opacity: .38; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 42px 42px; }
.map-coast i { position: absolute; width: 220px; height: 2px; background: linear-gradient(90deg,transparent,rgba(85,196,255,.25),transparent); transform: rotate(-17deg); }
.map-coast i:nth-child(1) { left: 4%; top: 27%; }.map-coast i:nth-child(2) { right: 2%; top: 54%; }.map-coast i:nth-child(3) { left: 28%; bottom: 15%; }
.map-point { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .76rem; font-weight: 600; transform: translate(-50%,-50%); white-space: nowrap; text-shadow: 0 2px 8px #000; transition: color .2s, transform .3s var(--ease); }
.map-point i { position: relative; width: 13px; height: 13px; border-radius: 50%; background: #182a28; border: 2px solid var(--sea); box-shadow: 0 0 0 5px rgba(53,226,205,.08); }
.map-point i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--sea); opacity: 0; }
.map-point:hover,.map-point.active { color: #fff; transform: translate(-50%,-50%) scale(1.08); }
.map-point.active i { border-color: var(--sun-2); box-shadow: 0 0 0 7px rgba(255,194,77,.1),0 0 24px rgba(255,194,77,.5); }
.map-point.active i::after { opacity: 1; background: var(--sun-2); }
.map-compass { position: absolute; right: 24px; top: 22px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); font: 700 .8rem var(--font-mono); }
.map-compass::after { content: ""; position: absolute; top: 6px; border: 4px solid transparent; border-bottom: 11px solid var(--sun-2); }
.region-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px,5vw,64px); border-left: 1px solid var(--line); background: radial-gradient(100% 70% at 100% 0%,rgba(255,122,69,.09),transparent),var(--bg-2); }
.region-number { position: absolute; right: 28px; top: 20px; color: rgba(255,255,255,.04); font: 700 7rem/1 var(--font-display); }
.region-card > small { color: var(--sea); font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.region-card h3 { margin-top: 12px; font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.04em; }
.region-card > p { margin-top: 14px; color: var(--ink-2); }
.region-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.region-tags span { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: .72rem; }
.region-scene { margin: 28px 0; padding: 16px; border-left: 2px solid var(--sun); background: rgba(255,122,69,.055); }
.region-scene small { display: block; color: var(--sun-2); font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.region-scene b { display: block; margin-top: 6px; font: 500 1rem/1.5 var(--font-display); }
.region-card .btn { align-self: flex-start; }
.region-card.region-swap { animation: region-swap .35s var(--ease); }
@keyframes region-swap { from { opacity: .25; transform: translateX(10px); } }

.field-guide { display: grid; grid-template-columns: 1fr 1.1fr .8fr; gap: 16px; margin-top: 16px; }
.field-guide > div,.city-brief { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: rgba(255,255,255,.018); }
.field-guide h3 { margin-top: 12px; font-size: 1.55rem; }
.guide-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.guide-options button { padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: .78rem; font-weight: 600; transition: .2s; }
.guide-options button:hover,.guide-options button.active { color: #150b05; border-color: transparent; background: var(--grad-sun); }
.guide-result { display: flex; flex-direction: column; justify-content: center; }
.guide-result small,.city-brief > small { color: var(--sea); font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.guide-result b { margin-top: 8px; font: 600 1.12rem/1.4 var(--font-display); }
.guide-result p { margin-top: 7px; color: var(--ink-3); font-size: .85rem; }
.guide-result.pop { animation: guide-pop .35s var(--ease); }
@keyframes guide-pop { 50% { transform: scale(.985); opacity: .55; } }
.city-brief { display: grid; gap: 10px; }
.city-brief div { display: flex; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.city-brief div span { color: var(--ink-3); font-size: .78rem; }.city-brief div b { font-size: .82rem; text-align: right; }

/* join steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--grad-sun); color: #1a0b05; font: 800 1.1rem var(--font-display); box-shadow: 0 10px 26px -10px rgba(255, 122, 69, .8); }
.step h3 { margin-top: 22px; font-size: 1.4rem; }
.step p { margin-top: 10px; color: var(--ink-2); }
.text-link { display: inline-block; margin-top: 16px; color: var(--sea); font-weight: 600; font-size: .92rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.code-copy { margin-top: 18px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--bg); color: var(--ink); font-size: .9rem; transition: border-color .2s, background .2s; }
.code-copy svg { width: 17px; height: 17px; color: var(--ink-3); }
.code-copy:hover { border-color: var(--sea); background: rgba(53, 226, 205, .05); }
.code-copy:hover svg { color: var(--sea); }

/* showcase */
.showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.showcase h2 { margin-top: 16px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; }
.checks { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(53, 226, 205, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335e2cd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid rgba(53, 226, 205, .3); }
.mock { border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 10px rgba(255, 255, 255, .02); overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.showcase:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.mock-bar span { margin-left: auto; margin-right: auto; font: 500 .74rem var(--font-mono); color: var(--ink-3); padding: 3px 14px; border-radius: 6px; background: var(--surface-2); }
.mock-body { display: grid; grid-template-columns: 60px 1fr; min-height: 320px; }
.mock-side { display: grid; align-content: start; justify-items: center; gap: 12px; padding: 16px 0; border-right: 1px solid var(--line); }
.mock-side img { width: 30px; height: 30px; margin-bottom: 8px; }
.mock-side i { width: 28px; height: 28px; border-radius: 9px; background: var(--surface-2); }
.mock-side i.on { background: rgba(255, 122, 69, .2); box-shadow: inset 0 0 0 1px rgba(255, 122, 69, .4); }
.mock-main { padding: 22px; display: grid; gap: 10px; align-content: start; }
.mock-kicker { color: var(--sea); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mock-title { font: 700 1.5rem var(--font-display); letter-spacing: -.03em; margin-bottom: 6px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.mock-stats div { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.mock-stats small { display: block; color: var(--ink-3); font-size: .68rem; }
.mock-stats b { font: 700 1.4rem var(--font-display); }
.mock-row { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 600 1.06rem var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6b3c3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); }

/* cta */
.cta-band { padding: 40px 0 120px; }
.cta {
  position: relative; display: grid; justify-items: center; text-align: center;
  padding: 70px 24px; border-radius: 36px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 140, 90, .25);
  background: radial-gradient(70% 90% at 50% 120%, rgba(255, 122, 69, .45), transparent 70%), radial-gradient(50% 60% at 50% -20%, rgba(143, 124, 255, .2), transparent 70%), var(--bg-1);
}
.cta img { width: 120px; height: 120px; margin-bottom: 18px; filter: drop-shadow(0 18px 40px rgba(255, 122, 69, .45)); }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.045em; }
.cta p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }

.footer { border-top: 1px solid var(--line); padding: 34px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; color: var(--ink-2); font-size: .9rem; }
.footer nav a:hover { color: var(--ink); }
.footer small { color: var(--ink-3); font-size: .8rem; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px);
  max-width: min(460px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px;
  background: rgba(16, 24, 36, .92); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--ink); font-size: .9rem; font-weight: 500; box-shadow: 0 24px 50px -20px #000;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255, 95, 109, .4); color: #ffc2c7; }

/* =================================================================
   PORTAL
   ================================================================= */
body.app { background: var(--bg); }
body.app::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 85% -5%, rgba(255, 122, 69, .09), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(53, 226, 205, .05), transparent 70%);
}

/* auth */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 44px; border-right: 1px solid var(--line); }
.auth-art .hero-sky { background: radial-gradient(70% 45% at 50% 78%, rgba(255, 118, 74, .55), transparent 70%), linear-gradient(180deg, #060a12 0%, #0d1428 40%, #2a1d3d 62%, #6a2f42 74%, #a1484a 79%, #0b1626 80%); }
.auth-art .hero-scene { top: 0; opacity: .95; }
.auth-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 9, 15, .2), transparent 30%, transparent 70%, rgba(5, 9, 15, .7)); }
.auth-quote { max-width: 460px; }
.auth-quote h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -.04em; line-height: 1; }
.auth-quote h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-quote p { margin-top: 14px; color: rgba(230, 238, 246, .8); }
.auth-panel { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card .brand { margin-bottom: 44px; }
.auth-card h1 { font-size: 2.3rem; letter-spacing: -.04em; }
.auth-card > p { margin-top: 10px; color: var(--ink-2); }
.auth-card .btn-discord { margin-top: 30px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--ink-3); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 12px; }
.auth-note { display: block; margin-top: 26px; color: var(--ink-3); font-size: .8rem; line-height: 1.55; }
.form-message { min-height: 1.4em; margin-top: 14px; color: #ff9aa3; font-size: .88rem; }
.form-message.good { color: #7ef0bd; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; color: var(--ink-3); font-size: .86rem; }
.back-link:hover { color: var(--ink); }

/* form fields */
.field { display: grid; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field small { font-weight: 400; color: var(--ink-3); font-size: .8rem; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25);
  color: var(--ink); font-size: .94rem; font-weight: 400;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6b3c3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field select option { background: var(--bg-2); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(53, 226, 205, .6); box-shadow: 0 0 0 4px rgba(53, 226, 205, .1); background: rgba(0, 0, 0, .35); }
.field input:disabled { opacity: .6; }
.code-input { text-align: center; font: 600 1.5rem var(--font-mono) !important; letter-spacing: .5em; padding-left: calc(14px + .5em) !important; }
.inline-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* shell */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100svh; }
.sidebar {
  position: sticky; top: 0; height: 100svh; z-index: 40;
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 14px 14px;
  border-right: 1px solid var(--line);
  background: rgba(7, 12, 19, .82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.sidebar .brand { padding: 4px 8px 20px; }
.nav { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 2px; margin: 0 -4px; padding: 0 4px; }
.nav-label { padding: 18px 12px 8px; color: var(--ink-3); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav-label:first-child { padding-top: 4px; }
.nav button {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 12px; border-radius: 11px; color: var(--ink-2); font-size: .92rem; font-weight: 500; text-align: left;
  transition: background .2s, color .2s;
}
.nav button svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.nav button:hover { background: var(--surface-2); color: var(--ink); }
.nav button.active { background: linear-gradient(90deg, rgba(255, 122, 69, .14), rgba(255, 122, 69, .04)); color: var(--ink); }
.nav button.active::before { content: ""; position: absolute; left: -4px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad-sun); }
.nav button.active svg { color: var(--sun); opacity: 1; }
.nav .badge { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 122, 69, .16); color: #ffb08a; font-size: .72rem; font-weight: 700; }
.user-card { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.user-card div { min-width: 0; flex: 1; }
.user-card b { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-card small { display: block; color: var(--ink-3); font-size: .76rem; }
.icon-btn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--ink-2); transition: background .2s, color .2s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--surface-3); color: var(--ink); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  padding: 18px clamp(18px, 3vw, 40px);
  background: rgba(5, 9, 15, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar .titles { flex: 1; min-width: 0; }
.topbar .crumb { color: var(--ink-3); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.topbar h1 { font-size: 1.5rem; letter-spacing: -.03em; margin-top: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.live-pill .pulse { width: 7px; height: 7px; }
.drawer-btn { display: none; }
.content { flex: 1; padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 40px) 60px; display: grid; gap: 18px; align-content: start; width: 100%; max-width: 1360px; animation: page-in .45s var(--ease); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.scrim { display: none; }

/* cards */
.card { border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015)); box-shadow: var(--shadow); min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 1.08rem; letter-spacing: -.015em; }
.card-head p { margin-top: 3px; color: var(--ink-3); font-size: .84rem; }
.card-body { padding: 20px 22px; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.grid-2.even { grid-template-columns: 1fr 1fr; }

/* live operations */
.ops-status { display:flex; align-items:center; gap:11px; padding:8px 12px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.ops-status > i { width:9px; height:9px; border-radius:50%; background:#ff5f6d; box-shadow:0 0 0 5px rgba(255,95,109,.1); }
.ops-status.online > i { background:#3ddc97; box-shadow:0 0 0 5px rgba(61,220,151,.1); }
.ops-status b,.ops-status small { display:block; }
.ops-status small { color:var(--ink-3); margin-top:2px; font-size:.72rem; }
.ops-event { position:relative; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:20px; margin:18px 0; padding:25px; border:1px solid rgba(255,194,77,.28); border-radius:18px; background:linear-gradient(120deg,rgba(255,194,77,.12),rgba(255,122,69,.06),var(--surface)); }
.ops-event::after { content:""; position:absolute; right:12%; top:-80px; width:210px; height:210px; border-radius:50%; background:rgba(255,194,77,.06); }
.ops-event h2 { margin:9px 0 5px; }
.ops-event p { margin:0 0 10px; color:var(--ink-2); }
.ops-event small { display:flex; align-items:center; gap:6px; color:var(--ink-3); }
.ops-event small svg { width:15px; height:15px; }
.ops-event .btn { position:relative; z-index:2; }
.ops-scenes,.handoffs { padding:0 20px 20px; display:grid; gap:9px; }
.ops-scene { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.ops-scene b,.ops-scene span,.ops-scene small { display:block; }
.ops-scene small { color:var(--sea); font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; }
.ops-scene span { color:var(--ink-3); margin-top:4px; font-size:.78rem; }
.handoff { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding:14px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.handoff.pinned { border-color:rgba(255,194,77,.3); background:rgba(255,194,77,.045); }
.handoff.resolved { opacity:.56; }
.handoff p { margin:10px 0 0; color:var(--ink-2); line-height:1.55; }
.handoff > div > small { display:block; margin-top:8px; color:var(--ink-3); }
.form-split { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.ops-coords { padding:12px 14px; border:1px solid var(--line); border-radius:12px; }
.ops-coords summary { cursor:pointer; color:var(--ink-2); font-weight:650; }
.ops-coords[open] summary { margin-bottom:14px; }
.check-row { display:flex; align-items:flex-start; gap:10px; padding:12px; border:1px solid var(--line); border-radius:12px; cursor:pointer; }
.check-row input { width:auto; margin-top:3px; }
.check-row b,.check-row small { display:block; }
.check-row small { margin-top:3px; color:var(--ink-3); }

/* hosted ticket transcripts */
.transcript-page { min-height:100svh; background:radial-gradient(circle at 15% -10%,rgba(53,226,205,.1),transparent 35%),radial-gradient(circle at 90% 10%,rgba(255,122,69,.08),transparent 30%),var(--bg); }
.transcript-nav { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; width:min(1180px,calc(100% - 36px)); margin:auto; padding:15px 0; border-bottom:1px solid var(--line); background:rgba(5,9,15,.8); backdrop-filter:blur(18px); }
.transcript-shell { width:min(980px,calc(100% - 36px)); margin:0 auto; padding:56px 0 90px; }
.transcript-loading { min-height:55svh; display:grid; place-items:center; align-content:center; gap:10px; text-align:center; }
.transcript-loading h1 { margin:8px 0 0; font-size:1.55rem; }
.transcript-loading p { margin:0; color:var(--ink-3); }
.transcript-auth { width:min(520px,100%); margin:5vh auto 0; padding:34px; text-align:center; }
.transcript-auth > img { border-radius:18px; margin-bottom:18px; }
.transcript-auth h1 { margin:10px 0; font-family:"Bricolage Grotesque",sans-serif; font-size:2rem; }
.transcript-auth > p:not(.form-message) { margin:0 auto 24px; max-width:430px; color:var(--ink-2); line-height:1.65; }
.transcript-auth .auth-form { text-align:left; }
.transcript-hero { position:relative; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:30px; padding:34px; border:1px solid var(--line-2); border-radius:24px; background:linear-gradient(125deg,rgba(53,226,205,.1),rgba(8,13,21,.94) 58%,rgba(255,122,69,.07)); box-shadow:0 35px 70px -45px #000; }
.transcript-hero::after { content:""; position:absolute; width:250px; height:250px; right:-70px; top:-110px; border-radius:50%; border:1px dashed rgba(255,194,77,.2); }
.transcript-hero h1 { max-width:700px; margin:10px 0 8px; font-family:"Bricolage Grotesque",sans-serif; font-size:clamp(1.8rem,5vw,3rem); line-height:1.05; }
.transcript-hero p { margin:0; color:var(--ink-2); }
.transcript-seal { position:relative; z-index:2; flex:none; width:142px; height:142px; display:grid; place-items:center; align-content:center; border:1px dashed rgba(255,194,77,.55); border-radius:50%; background:rgba(255,194,77,.035); transform:rotate(3deg); }
.transcript-seal small,.transcript-seal span { color:#ffcc71; font-size:.65rem; font-weight:750; letter-spacing:.1em; text-transform:uppercase; }
.transcript-seal b { margin:4px 0; font-family:var(--mono); font-size:1.8rem; }
.transcript-facts { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:14px 0 22px; }
.transcript-facts > div { padding:15px 17px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.transcript-facts > .wide { grid-column:1/-1; }
.transcript-facts small,.transcript-facts b { display:block; }
.transcript-facts small { margin-bottom:5px; color:var(--ink-3); font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.transcript-facts b { font-size:.84rem; }
.transcript-tools { position:sticky; top:76px; z-index:15; display:flex; align-items:center; gap:12px; margin:0 0 22px; padding:10px; border:1px solid var(--line); border-radius:15px; background:rgba(8,13,21,.88); backdrop-filter:blur(16px); }
.transcript-tools .search { flex:1; max-width:none; }
.transcript-tools > span { color:var(--ink-3); font-size:.76rem; white-space:nowrap; }
.transcript-messages { display:grid; gap:5px; }
.transcript-message { display:grid; grid-template-columns:42px 1fr; gap:12px; padding:13px 12px; border-radius:14px; }
.transcript-message:hover { background:rgba(255,255,255,.02); }
.transcript-message > img { width:42px; height:42px; border-radius:50%; object-fit:cover; background:var(--surface-2); }
.transcript-bubble { min-width:0; }
.transcript-bubble header { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-height:22px; }
.transcript-bubble header > b { font-size:.88rem; }
.transcript-bubble header > small { color:var(--ink-3); font-size:.7rem; }
.transcript-bubble > p { margin:3px 0 0; color:var(--ink-2); font-size:.9rem; line-height:1.6; overflow-wrap:anywhere; }
.transcript-embed { max-width:650px; margin-top:9px; padding:12px 14px; border-left:3px solid var(--embed,#43e8d8); border-radius:4px 11px 11px 4px; background:var(--surface); }
.transcript-embed > small,.transcript-embed > b,.transcript-embed > p { display:block; }
.transcript-embed > small { color:var(--ink-3); font-size:.68rem; }
.transcript-embed > b { margin-top:4px; }
.transcript-embed > p { margin:5px 0; color:var(--ink-2); font-size:.84rem; line-height:1.5; }
.transcript-embed > div { margin-top:8px; }
.transcript-embed > div strong,.transcript-embed > div span { display:block; font-size:.8rem; }
.transcript-embed > div span { margin-top:2px; color:var(--ink-2); line-height:1.45; }
.transcript-attachments { display:flex; flex-wrap:wrap; gap:8px; margin-top:9px; }
.transcript-attachment { overflow:hidden; display:flex; align-items:center; gap:11px; min-width:220px; max-width:460px; padding:9px; border:1px solid var(--line); border-radius:11px; background:var(--surface); }
.transcript-attachment:hover { border-color:var(--line-2); }
.transcript-attachment img { width:72px; height:54px; border-radius:7px; object-fit:cover; }
.transcript-attachment span,.transcript-attachment b,.transcript-attachment small { display:block; min-width:0; }
.transcript-attachment b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.78rem; }
.transcript-attachment small { margin-top:3px; color:var(--ink-3); font-size:.68rem; }
.transcript-reactions { display:flex; gap:5px; margin-top:8px; }
.transcript-reaction { padding:3px 8px; border:1px solid var(--line); border-radius:999px; background:var(--surface); font-size:.72rem; }
.transcript-footer { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:38px; padding-top:24px; border-top:1px solid var(--line); color:var(--ink-3); }
.transcript-footer b,.transcript-footer small { display:block; }
.transcript-footer b { color:var(--ink-2); font-size:.78rem; }
.transcript-footer small { margin-top:3px; font-size:.68rem; }
@media (max-width:720px) { .transcript-shell { padding-top:28px; } .transcript-hero { align-items:flex-start; padding:24px; } .transcript-seal { width:90px; height:90px; } .transcript-seal small { display:none; } .transcript-seal b { font-size:1.25rem; } .transcript-facts { grid-template-columns:1fr 1fr; } .transcript-tools { top:70px; flex-wrap:wrap; } .transcript-tools .search { flex-basis:100%; } }
@media (max-width:480px) { .transcript-nav { width:calc(100% - 24px); } .transcript-shell { width:calc(100% - 20px); } .transcript-hero { display:block; } .transcript-seal { margin-top:20px; } .transcript-message { grid-template-columns:32px 1fr; padding-inline:4px; } .transcript-message > img { width:32px; height:32px; } .transcript-auth { padding:24px 18px; } }

/* welcome */
.welcome {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 122, 69, .16), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(53, 226, 205, .07), transparent 60%), var(--bg-1);
}
.welcome::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 260px; height: 260px; z-index: -1; background: url("logo-720.webp") center / contain no-repeat; opacity: .07; transform: rotate(-8deg); }
.welcome .who { flex: 1; min-width: 240px; }
.welcome small { color: var(--sea); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.welcome h2 { margin-top: 6px; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.welcome p { margin-top: 6px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* avatars */
.av { --s: 40px; position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h, 20) 75% 58%), hsl(calc(var(--h, 20) + 45) 70% 42%)); color: #fff; font: 700 calc(var(--s) * .36) var(--font-display); letter-spacing: -.02em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av-xs { --s: 26px; }
.av-sm { --s: 32px; }
.av-lg { --s: 64px; }
.av-xl { --s: 112px; box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(255, 255, 255, .1), 0 24px 50px -16px rgba(0, 0, 0, .8); }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person div { min-width: 0; }
.person b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person small { display: block; color: var(--ink-3); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-tile { position: relative; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.stat-tile .ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(var(--tone, 255 122 69) / .12); color: rgb(var(--tone, 255 122 69)); margin-bottom: 16px; }
.stat-tile .ico svg { width: 19px; height: 19px; }
.stat-tile span { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 500; }
.stat-tile strong { display: block; margin-top: 4px; font: 700 2rem/1.1 var(--font-display); letter-spacing: -.04em; }
.stat-tile small { display: block; margin-top: 4px; color: var(--ink-3); font-size: .78rem; }
button.stat-tile { text-align: left; transition: border-color .2s, transform .3s var(--ease); }
button.stat-tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tone-sea { --tone: 53 226 205; }
.tone-sky { --tone: 85 196 255; }
.tone-dusk { --tone: 143 124 255; }
.tone-good { --tone: 61 220 151; }
.tone-bad { --tone: 255 95 109; }
.tone-warn { --tone: 255 194 77; }

/* activity / timeline */
.feed { display: grid; }
.feed-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border-bottom: 0; }
.feed-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); }
.feed-ico svg { width: 17px; height: 17px; }
.feed-row .txt { flex: 1; min-width: 0; }
.feed-row b { display: block; font-weight: 600; font-size: .92rem; }
.feed-row small { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.feed-row time { flex: none; color: var(--ink-3); font-size: .78rem; white-space: nowrap; }

.quick { display: grid; gap: 10px; padding: 18px; }
.quick button, .quick a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: left; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.quick button:hover, .quick a:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(3px); }
.quick .feed-ico { background: rgba(var(--tone, 255 122 69) / .12); color: rgb(var(--tone, 255 122 69)); }
.quick b { display: block; font-weight: 600; font-size: .92rem; }
.quick small { display: block; color: var(--ink-3); font-size: .8rem; }
.quick .chev { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 380px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: .9rem; }
.search input:focus { outline: none; border-color: rgba(53, 226, 205, .5); box-shadow: 0 0 0 4px rgba(53, 226, 205, .08); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); }
.seg button { height: 32px; padding: 0 13px; border-radius: 9px; color: var(--ink-2); font-size: .84rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface-3); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.seg button em { margin-left: 5px; color: var(--ink-3); font-size: .78rem; }
.toolbar .spacer { flex: 1; }
.page-intro { color: var(--ink-2); max-width: 760px; }

/* tables */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { position: sticky; top: 0; padding: 12px 16px; text-align: left; color: var(--ink-3); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--line); background: rgba(8, 13, 21, .6); }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); white-space: nowrap; }
.tbl td.wrap { white-space: normal; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .02); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.strong { color: var(--ink); font-weight: 500; }
.tbl .reason { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .clip { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tbl .actions { display: flex; justify-content: flex-end; gap: 6px; }
.id-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font: 500 .8rem var(--font-mono); white-space: nowrap; cursor: copy; transition: border-color .2s; }
.id-chip:hover { border-color: var(--line-2); }
.prio { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .82rem; }
.prio i { width: 8px; height: 8px; border-radius: 2px; background: var(--ink-3); }
.prio.p1 i { background: var(--bad); } .prio.p2 i { background: var(--sun); } .prio.p3 i { background: var(--warn); } .prio.p4 i { background: var(--sky); }

/* case cards */
.cases { display: grid; gap: 12px; }
.case {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 18px 20px 18px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.case::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink-3); opacity: .5; }
.case.is-active::before { background: var(--bad); opacity: 1; }
.case.is-lifted::before { background: var(--good); opacity: 1; }
.case-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); }
.case.is-active .case-ico { background: rgba(255, 95, 109, .1); color: #ff9aa3; }
.case-ico svg { width: 22px; height: 22px; }
.case-main { min-width: 0; }
.case-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.case-top h3 { font-size: 1.05rem; letter-spacing: -.015em; }
.case-main p { margin-top: 6px; color: var(--ink-2); font-size: .9rem; }
.case-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; color: var(--ink-3); font-size: .8rem; }
.case-side { display: grid; justify-items: end; gap: 8px; }

/* roster */
.roster-group + .roster-group { margin-top: 30px; }
.group-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.group-head h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.group-head span { color: var(--ink-3); font-size: .84rem; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.member {
  position: relative; display: grid; gap: 14px; padding: 18px; text-align: left;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .25s, transform .35s var(--ease), background .25s;
}
.member:hover { border-color: rgba(255, 122, 69, .3); background: var(--surface-2); transform: translateY(-3px); }
.member .top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.member .top div { min-width: 0; flex: 1; }
.member b { display: block; font-size: .98rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member small { display: block; color: var(--ink-3); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member .callsign { position: absolute; top: 14px; right: 14px; font: 600 .74rem var(--font-mono); color: var(--ink-3); padding: 2px 7px; border-radius: 6px; background: var(--surface-2); }
.member .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.meter { height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad-sea); }
.member .hrs { font-size: .78rem; color: var(--ink-3); }
.member .hrs b { display: inline; color: var(--ink); font-size: .82rem; }
.online-dot { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 2.5px var(--bg-1); }

/* profile */
.profile-hero { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; background: var(--bg-1); }
.profile-cover { height: 150px; background: radial-gradient(60% 140% at 20% 100%, rgba(255, 122, 69, .55), transparent 60%), radial-gradient(50% 120% at 80% 0%, rgba(143, 124, 255, .35), transparent 60%), radial-gradient(40% 100% at 100% 100%, rgba(53, 226, 205, .25), transparent 60%), #0b1220; position: relative; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .12; mix-blend-mode: overlay; }
.profile-id { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; padding: 0 28px 26px; margin-top: -56px; position: relative; }
.profile-id .who { flex: 1; min-width: 220px; padding-bottom: 4px; }
.profile-id h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.profile-id p { margin-top: 4px; color: var(--ink-2); }
.profile-id .chips { margin-top: 10px; }
.callsign-badge { display: grid; justify-items: end; gap: 2px; padding-bottom: 6px; }
.callsign-badge small { color: var(--ink-3); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.callsign-badge b { font: 700 1.8rem var(--font-mono); letter-spacing: -.04em; background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.bars div { flex: 1; min-width: 6px; height: 100%; display: flex; align-items: flex-end; }
.bars i { display: block; width: 100%; min-height: 3px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #ffb35c, #ff6a55); opacity: .85; transition: opacity .2s; }
.bars div:hover i { opacity: 1; }
.bars-empty { height: 140px; display: grid; place-items: center; color: var(--ink-3); font-size: .88rem; }
.timeline { display: grid; padding: 8px 22px 16px; }
.tl { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 12px 0; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 46px; bottom: -4px; width: 1.5px; background: var(--line); }
.tl b { display: block; font-size: .92rem; font-weight: 600; }
.tl small { display: block; color: var(--ink-3); font-size: .8rem; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* appeal cards */
.appeal-card { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.appeal-card .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.quote { padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .22); border-left: 3px solid var(--line-2); color: var(--ink-2); font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.appeal-card .meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-3); font-size: .8rem; }
.appeal-card .foot { display: flex; justify-content: flex-end; gap: 8px; }

/* empty + loading */
.empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 56px 24px; color: var(--ink-3); }
.empty .feed-ico { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 8px; background: rgba(var(--tone, 53 226 205) / .1); color: rgb(var(--tone, 53 226 205)); }
.empty .feed-ico svg { width: 24px; height: 24px; }
.empty b { color: var(--ink); font: 600 1.06rem var(--font-display); }
.loading { display: grid; place-items: center; gap: 14px; min-height: 50vh; color: var(--ink-3); font-size: .9rem; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--sun); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.callback { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.callback-card { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 44px 36px; width: min(420px, 100%); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--bg-1); box-shadow: var(--shadow); }
.callback-card img { width: 84px; height: 84px; }
.callback-card p { color: var(--ink-2); }

/* dialog */
.dialog { width: min(600px, calc(100% - 24px)); max-height: calc(100svh - 40px); padding: 0; border-radius: 24px; border: 1px solid var(--line-2); background: #0b121c; color: var(--ink); box-shadow: 0 60px 120px -30px #000; }
.dialog[open] { animation: dialog-in .35s var(--ease); }
.dialog::backdrop { background: rgba(2, 5, 9, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dialog form { display: flex; flex-direction: column; max-height: calc(100svh - 40px); }
.dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 24px 16px; }
.dialog header small { color: var(--sea); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.dialog header h2 { margin-top: 4px; font-size: 1.4rem; letter-spacing: -.03em; }
.dialog .body { display: grid; gap: 16px; padding: 4px 24px 22px; overflow-y: auto; }
.dialog footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: .88rem; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); }
.callout svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.callout.warn { border-color: rgba(255, 194, 77, .3); background: rgba(255, 194, 77, .07); color: #ffe0a3; }
.callout.good { border-color: rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .07); color: #b6f5d6; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.choice span small { color: var(--ink-3); font-weight: 400; font-size: .76rem; }
.choice input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.choice input:checked + span { border-color: rgba(53, 226, 205, .6); background: rgba(53, 226, 205, .07); box-shadow: 0 0 0 3px rgba(53, 226, 205, .08); }
.choice .approve input:checked + span { border-color: rgba(61, 220, 151, .6); background: rgba(61, 220, 151, .08); box-shadow: 0 0 0 3px rgba(61, 220, 151, .1); }
.choice .deny input:checked + span { border-color: rgba(255, 95, 109, .55); background: rgba(255, 95, 109, .07); box-shadow: 0 0 0 3px rgba(255, 95, 109, .08); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kv div { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.kv small { display: block; color: var(--ink-3); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.kv b { display: block; margin-top: 3px; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.kv .wide { grid-column: 1 / -1; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-map { min-height: 480px; }
  .region-card { border-left: 0; border-top: 1px solid var(--line); }
  .field-guide { grid-template-columns: 1fr 1fr; }
  .city-brief { grid-column: 1 / -1; }
  .grid-2, .grid-2.even { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .topnav-links {
    position: absolute; left: 14px; right: 14px; top: calc(100% + 8px);
    display: grid; gap: 2px; padding: 10px; border-radius: 20px;
    background: rgba(8, 13, 21, .94); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .topnav-links a { padding: 13px 16px; font-size: 1rem; }
  .topnav.open .topnav-links { opacity: 1; transform: none; pointer-events: auto; }
  .menu-toggle { display: block; }
  .hide-sm { display: none; }
  .departments, .steps { grid-template-columns: 1fr; }
  .dept { min-height: 0; }
  .dept small { margin-top: 40px; }
  .section-head.split { display: block; }
  .section-head.split p { margin-top: 18px; }
  .hero-dock { grid-template-columns: 1fr 1fr; }
  .dock-item:nth-child(2) { border-right: 0; }
  .dock-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .auth-quote h2 { font-size: 2rem; }

  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 284px; transform: translateX(-102%); transition: transform .35s var(--ease); box-shadow: 30px 0 60px -30px #000; }
  .shell.nav-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(2, 5, 9, .6); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .shell.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .drawer-btn { display: grid; }
  .live-pill span:last-child { display: none; }
  .topbar h1 { font-size: 1.25rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { min-height: 0; }
  .passport-art { flex-wrap: wrap; }
  .explorer { border-radius: 22px; }
  .explorer-map { min-height: 420px; }
  .map-point span { display: none; }
  .map-point.active span { display: block; position: absolute; top: 20px; padding: 4px 7px; border-radius: 6px; background: rgba(5,9,15,.85); }
  .region-card { padding: 34px 24px; }
  .field-guide { grid-template-columns: 1fr; }
  .city-brief { grid-column: auto; }
  .art-sync .node { padding: 8px 10px; font-size: .76rem; }
  .art-sync .node-core { padding: 10px 12px; }
  .hero-content { padding-top: 120px; }
  .hero-dock { grid-template-columns: repeat(3, 1fr); }
  .dock-item { padding: 13px 14px; border-bottom: 1px solid var(--line); }
  .dock-item > span { font-size: .62rem; letter-spacing: .1em; }
  .dock-item b { font-size: .9rem; }
  .dock-item:nth-child(3) { border-right: 0; }
  .dock-copy { grid-column: 1 / -1; border-bottom: 0; }
  .dock-item:nth-child(2) { border-right: 1px solid var(--line); }
  .stat { padding: 30px 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-tile { padding: 16px; }
  .stat-tile strong { font-size: 1.6rem; }
  .case { grid-template-columns: auto 1fr; }
  .case-side { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .case-ico { width: 40px; height: 40px; }
  .choice { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .profile-id { padding: 0 18px 20px; }
  .callsign-badge { justify-items: start; }
  .topbar { padding: 14px 16px; }
  .live-pill { display: none; }
  .search { max-width: none; }
  .welcome { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
