/* SunnyToken — precise typography, an open ledger, one dark data surface. */
@font-face { font-family: Instrument; src: url(/fonts/instrument-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Instrument; src: url(/fonts/instrument-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Instrument; src: url(/fonts/instrument-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Instrument; src: url(/fonts/instrument-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: JBMono; src: url(/fonts/jbmono.woff) format('woff'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #fff;
  --bg-subtle: #f5f5f5;
  --seg: #f0f0f0;
  --seg-on: #111;
  --ink: #171a18;
  --ink2: #2a2a2a;
  --mute: #68706b;
  --faint: #777;
  --line: #e6e9e6;
  --line-strong: #d6dcd7;
  --hover: #f6f6f6;
  --cc: #cc896b;
  --cx: #0a0a0a;
  --ok: #3d6b4c;
  --warn: #b44a2e;
  --btn-bg: #ededed;
  --btn-fg: #0a0a0a;
  --btn-bg-hover: #e2e2e2;
  --btn-primary-bg: #0a0a0a;
  --btn-primary-fg: #fff;
  --btn-primary-hover: #222;
  --btn-sm-bg: #fff;
  --btn-sm-fg: #0a0a0a;
  --btn-sm-border: #dedede;
  --btn-off-bg: #f1f1f1;
  --btn-off-fg: #a3a3a3;
  --sans: Instrument, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, JBMono, Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select { font-family: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: #dedede; }
code { font: 12.5px/1.45 var(--mono); background: var(--bg-subtle); padding: 1px 5px; border-radius: 4px; }
b, strong { font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
.wrap { width: min(1384px, 100%); margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.grow { flex: 1; }
.muted { color: var(--mute); }
#app { min-height: 70vh; }

/* 顶栏 */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.2) blur(12px); }
.hdr-in { display: flex; align-items: center; gap: 36px; height: 80px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--sans); letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.brand-mark { flex: none; width: 22px; height: 22px; }
.language-control { flex-shrink: 0; display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 9px; background: #f5f5f5; }
.language-control button { border: 0; background: transparent; color: var(--mute); font: 500 12px/1 var(--sans); padding: 8px 10px; border-radius: 6px; cursor: pointer; min-height: 30px; }
.language-control button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 3px #00000012; }
.language-control button:hover { color: var(--ink); }
.language-control select { border: 0; background: transparent; height: 36px; padding-left: 0; padding-right: 18px; border-radius: 0; max-width: 90px; font-size: 13px; }
.wordmark:hover { text-decoration: none; }
.hdr-nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.hdr-nav a { font: 500 14px/1 var(--sans); color: var(--mute); height: 100%; display: inline-flex; align-items: center; }
.hdr-nav a:hover { color: var(--ink); text-decoration: none; }
.hdr-nav a.on { color: var(--ink); }
.hdr-r { display: flex; align-items: center; gap: 16px; }
.nav-link { font: 500 14px/1 var(--sans); color: var(--mute); background: none; border: 0; padding: 0; cursor: pointer; }
.nav-link:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 15px/1 var(--sans); letter-spacing: -0.011em; cursor: pointer; white-space: nowrap; transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--btn-bg-hover); text-decoration: none; }
.btn.primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn.primary:hover { background: var(--btn-primary-hover); }
.hdr .btn { height: 40px; padding: 0 22px; font-size: 14px; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; background: var(--btn-sm-bg); color: var(--btn-sm-fg); border: 1px solid var(--btn-sm-border); }
.btn.sm:hover { background: var(--hover); }
.btn.off, .btn.off:hover { color: var(--btn-off-fg); background: var(--btn-off-bg); cursor: not-allowed; }
.btn .mark { flex: none; }

/* A live usage instrument gives the page its single visual focal point. */
.home { padding-bottom: 48px; }
.home-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 56px; padding: 44px 0 36px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(42px, 4.2vw, 58px); font-weight: 500; line-height: 1.16; letter-spacing: -.045em; }
.hero h1 span { display: block; color: #68706b; white-space: nowrap; }
html[lang="en"] .hero h1 { letter-spacing: -.052em; }
.lede { margin: 24px 0 0; max-width: 35em; font-size: 17px; line-height: 1.7; color: var(--mute); }
.hero .lede { margin-top: 22px; max-width: 29em; font-size: 16px; line-height: 1.8; text-wrap: balance; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.hero-actions .btn { font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover { text-decoration: none; }
.text-link:hover svg { transform: translateX(3px); }
.usage-panel { position: relative; isolation: isolate; overflow: hidden; background: #191b1a; border: 1px solid #282d29; border-radius: 12px; color: #f5f6f4; padding: 24px 28px 18px; min-width: 0; box-shadow: 0 8px 22px -20px #161916; }
.usage-panel::before { content: ''; position: absolute; z-index: -1; top: 0; left: 0; width: 560px; height: 560px; pointer-events: none; background: radial-gradient(circle, rgba(194, 213, 200, .11), rgba(194, 213, 200, .035) 36%, transparent 68%); transform: translate3d(calc(var(--light-x, 0px) - 50%), calc(var(--light-y, 0px) - 50%), 0); opacity: 0; transition: opacity .55s ease; }
.usage-panel.is-lit::before { opacity: 1; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.panel-zone { font: 11px/1.4 var(--mono); letter-spacing: .03em; color: #a4afa6; }
.usage-total { display: flex; align-items: baseline; gap: 10px; min-height: 80px; padding: 16px 0; font-size: 58px; font-weight: 400; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.usage-total small { font-size: 28px; font-weight: 400; color: #bac2bc; }
.tool-share { padding: 18px 0 22px; border-top: 1px solid #3b423c; border-bottom: 1px solid #3b423c; }
.usage-rail { position: relative; overflow: hidden; display: flex; height: 23px; background: transparent; mask-image: repeating-linear-gradient(to right, #000 0 3px, transparent 3px 8px); }
.usage-rail::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 24%; background: linear-gradient(90deg, transparent, rgba(245, 246, 232, .56), transparent); opacity: 0; pointer-events: none; }
.usage-panel.is-pulsing .usage-rail:not(.is-empty)::after { animation: usage-data-sweep 1.65s cubic-bezier(.2, .6, .35, 1) both; }
.usage-panel.is-pulsing .sync-state.connected::before { animation: usage-status-pulse 1.65s ease-out both; }
@keyframes usage-data-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  18% { opacity: .8; }
  76% { opacity: .55; }
  100% { transform: translateX(425%); opacity: 0; }
}
@keyframes usage-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(146, 175, 153, 0); }
  24% { box-shadow: 0 0 0 4px rgba(146, 175, 153, .13); }
  75% { box-shadow: 0 0 0 7px rgba(146, 175, 153, 0); }
}
.usage-rail i { display: block; height: 100%; transition: width .7s ease; }
.usage-rail .cc, .swatch.cc { background: var(--cc); }
.usage-rail .cx, .swatch.cx { background: #c6cfc8; }
.usage-rail.is-empty { background: #465047; }
.share-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12px; color: #e0e5e1; }
.share-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.share-legend b { font: 10px/1.3 var(--mono); color: #a4afa6; margin-left: 2px; }
.swatch { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 1px; }
.share-unavailable { font-size: 12px; color: #bbc3bc; margin: 0; }
.metrics { display: grid; grid-template-columns: .85fr .85fr 1.3fr; margin: 22px 0 0; }
.metric { padding: 0 18px; min-width: 0; border-left: 1px solid #3b423c; }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric:last-child { padding-right: 0; }
.metric .k { display: block; margin-bottom: 10px; font: 400 11px/1.3 var(--sans); color: #b4bfb7; }
.metric .v { display: block; font: 400 25px/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.panel-status { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 10px; color: #a4afa6; }
.sync-state { display: inline-flex; align-items: center; gap: 6px; }
.sync-state::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #929b94; }
.sync-state.connected::before { background: #92af99; }
.subline { margin: 0; font: 12px/1.5 var(--sans); color: var(--mute); }
.subline:empty { display: none; }
.subline a { font-weight: 500; color: var(--ink); }
.integration-strip { display: grid; gap: 28px; padding: 38px 0 0; margin: 0; border-top: 1px solid var(--line); }
.integration-strip h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.integration-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.integration-link { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 8px 0; border-radius: 8px; }
.integration-link:hover { text-decoration: none; }
.integration-visual { display: grid; place-items: center; width: 100%; height: 144px; transform: translateY(var(--logo-offset, 0px)); }
.integration-float { display: flex; animation: agent-float var(--float-duration, 7s) ease-in-out var(--float-delay, 0s) infinite; }
.integration-visual .mark { display: block; width: clamp(72px, 10vw, 128px); height: auto; aspect-ratio: 1; transform: rotate(var(--logo-tilt, 0deg)) scale(var(--logo-scale, 1)); transition: transform .35s ease; }
.integration-link:focus-visible .mark { transform: translateY(-6px) rotate(0deg) scale(calc(var(--logo-scale, 1) * 1.04)); }
.integration-list [data-agent="claude-code"] { --logo-offset: -8px; --logo-tilt: -7deg; --logo-scale: .94; --float-delay: -1.8s; }
.integration-list [data-agent="codex"] { --logo-offset: 10px; --logo-tilt: 5deg; --float-duration: 8s; --float-delay: -3.5s; }
.integration-list [data-agent="cursor"] { --logo-offset: -6px; --logo-tilt: -5deg; --logo-scale: .9; --float-duration: 7.5s; --float-delay: -1s; }
.integration-list [data-agent="gemini-cli"] { --logo-offset: 8px; --logo-tilt: 6deg; --float-duration: 8.5s; --float-delay: -4.5s; }
.integration-list [data-agent="kimi-code"] { --logo-offset: -10px; --logo-tilt: -6deg; --logo-scale: .9; --float-duration: 7.8s; --float-delay: -2.5s; }
.integration-list [data-agent="qwen-code"] { --logo-offset: 7px; --logo-tilt: 5deg; --float-duration: 8.2s; --float-delay: -5s; }
@keyframes agent-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (hover: hover) and (pointer: fine) {
  .integration-link:hover .mark { transform: translateY(-6px) rotate(0deg) scale(calc(var(--logo-scale, 1) * 1.04)); }
}
.brand-color { object-fit: contain; }
.integration-note { color: var(--mute); font-size: 11px; line-height: 1.6; margin: 0; }
.c-agents { max-width: 220px; }
.agent-cell { display: inline-flex; align-items: center; gap: 5px; margin: 3px 12px 3px 0; font-size: 11px; white-space: nowrap; }
.model-provider { display: block; color: var(--mute); margin-top: 3px; font-size: 10px; }
.model-provider:empty { display: none; }
.split { display: flex; height: 4px; overflow: hidden; border-radius: 3px; }
.split i { display: block; height: 100%; }
.integration-copy { display: flex; flex-direction: column; align-items: center; gap: 7px; max-width: 100%; text-align: center; }
.integration-name { font-size: 16px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.integration-status { font-size: 12px; line-height: 1.4; color: var(--mute); }
.integration-status.available { color: var(--ok); }
@media (max-width: 800px) {
  .integration-strip { padding-top: 28px; gap: 24px; }
  .integration-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 12px; }
  .integration-link { gap: 16px; }
  .integration-visual { height: 112px; }
  .integration-visual .mark { width: clamp(64px, 19vw, 96px); }
  .integration-name { font-size: 14px; }
  .integration-status { font-size: 11px; }
}
@media (max-width: 480px) {
  .integration-list { column-gap: 8px; }
  .integration-visual { height: 96px; }
  .integration-visual .mark { width: clamp(60px, 19vw, 84px); }
  .integration-name { font-size: 12px; }
  .integration-status { font-size: 10px; }
}
.dashboard { background: var(--bg); }
.board-section { scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-heading h2 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.countries { margin: 16px 0 0; font-size: 12px; color: var(--mute); }
.countries b { font-weight: 500; color: var(--ink); margin-right: 8px; }
#it-curve:not(:empty) { margin: 24px 0 28px; }
.split { margin-top: 8px; }
.main { min-width: 0; }
/* One quiet activity ledger, with the same hierarchy as the leaderboard. */
.section-description { margin: 8px 0 24px; font-size: 13px; line-height: 1.7; color: var(--mute); }
.live { scroll-margin-top: 24px; }
.feed-status { display: inline-flex; align-items: center; gap: 7px; flex: none; color: var(--mute); font-size: 12px; }
.feed-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #9aa29c; }
.feed-status[data-state="ready"]::before { background: #698d74; }
.feed-status[data-state="error"]::before { background: var(--warn); }
.feed-list { padding: 0; margin: 0; list-style: none; }
.rate, .live-note, .cap, .legend, .sum { font-size: 12px; line-height: 1.6; color: var(--faint); }
.rate, .live-note { margin: 16px 0 0; }
.rate:empty { display: none; }
.feed-error { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--mute); }
.feed-error button { flex: none; }
.ev { display: grid; grid-template-columns: 28px minmax(0, 1fr) 100px 150px; align-items: center; gap: 20px; min-height: 76px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ev:hover { text-decoration: none; }
.ev:hover .ev-name { text-decoration: underline; text-underline-offset: 3px; }
.ev-mark { width: 28px; display: grid; place-items: center; }
.ev-main { min-width: 0; }
.ev-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 15px/1.4 var(--sans); letter-spacing: -.02em; }
.ev-sub { display: block; margin-top: 4px; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-time { font-size: 12px; color: var(--mute); }
.ev-n { text-align: right; font: 500 15px/1.4 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.ev-n small { display: block; margin-top: 4px; font-size: 10px; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.join-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.join-banner h2 { font-size: 23px; font-weight: 500; }
.join-banner p { color: var(--mute); font-size: 13px; margin: 8px 0 0; }
.join-banner > a { flex: none; }
.mark { display: inline-block; vertical-align: -2px; }
.tool-mark { background: currentColor; mask: var(--brand-icon) center / contain no-repeat; -webkit-mask: var(--brand-icon) center / contain no-repeat; }
.tool-claude-code { color: var(--cc); }
.dot { width: 6px; height: 6px; border-radius: 99px; background: var(--cx); display: inline-block; flex: none; }
.dot.cc { background: var(--cc); }
td .dot { margin-right: 8px; vertical-align: 1px; }
.c-user > .dot { margin-left: 8px; margin-right: 0; }
h2.space { margin-top: 28px; }

/* 24 小时 */
.hourchart { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; height: 64px; align-items: end; }
.hb { height: 100%; display: flex; flex-direction: column-reverse; align-items: stretch; }
.hb i { display: block; width: 100%; border-radius: 3px 3px 0 0; }
.hb i.cc { background: var(--cc); }
.hb i.cx { background: var(--cx); }
.hb.future i { display: none; }
.haxis { display: flex; justify-content: space-between; margin-top: 6px; font: 11px/1 var(--sans); color: var(--faint); font-variant-numeric: tabular-nums; }
.cap { margin: 8px 0 0; }

/* 榜单 */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 24px; }
.seg { display: inline-flex; align-items: center; gap: 0; }
.seg button { height: 36px; padding: 0 14px; border: 0; background: transparent; color: var(--mute); font: 500 13px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
#seg-period { gap: 2px; padding: 3px; background: #f1f3f1; border-radius: 8px; }
#seg-period button { justify-content: center; padding: 0 16px; height: 32px; border-radius: 6px; }
#seg-period button.on { color: var(--ink); background: white; box-shadow: 0 1px 4px #00000012; }
.seg button .mark { width: 12px; height: 12px; }
.board-filters { position: relative; flex: none; }
.board-filters summary { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 7px; list-style: none; font-size: 13px; cursor: pointer; }
.board-filters summary::-webkit-details-marker { display: none; }
.board-filters[open] summary, .board-filters summary:hover { background: var(--hover); }
#filter-count { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--mute); }
.board-filter-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 64px)); padding: 20px; display: grid; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px #171a1812; z-index: 10; }
.board-filter-panel > label:not(.chk) { font-size: 12px; color: var(--mute); }
.board-filter-panel > select { width: 100%; max-width: none; margin-bottom: 6px; }
.board-filter-panel .chk { margin: 4px 0 8px; }
.board-filter-panel > button { justify-self: start; }
.board-text-action { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 500 13px/1.5 var(--sans); cursor: pointer; text-decoration: none; }
.board-text-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.board-filter-summary { display: flex; align-items: baseline; gap: 16px; margin: -8px 0 20px; font-size: 12px; color: var(--mute); overflow-wrap: anywhere; }
.board-filter-summary > span { min-width: 0; }
.board-filter-summary > button { margin-left: auto; white-space: nowrap; font-size: 12px; }
.board-message, .feed-message { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 150px; padding: 32px; border-radius: 8px; background: #f7f8f7; }
.board-message h3, .feed-message h3 { font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.board-message p, .feed-message p { margin: 9px 0 0; color: var(--mute); font-size: 14px; line-height: 1.7; }
.feed-message { min-height: 120px; }
.feed-message > :last-child:not(:first-child) { flex: none; }
.feed-message .text-link { font-size: 13px; }
.board-message-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; flex: none; gap: 24px; max-width: 100%; }
.board-message .btn { height: 40px; padding: 0 20px; font-size: 13px; }
.board-preview-notice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.board-preview-notice strong { color: var(--ink); font-weight: 500; font-size: 14px; }
.board-preview-notice button { margin-left: auto; }
.board-preview-footer { display: flex; justify-content: flex-end; padding-top: 16px; }
.board-preview-footer a { color: var(--mute); }
.board-user-status { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.board-user-status .status + .status { margin-left: 0; }
.board-mobile-agents { display: none; }
#board { table-layout: fixed; }
#board .detail { overflow-x: auto; }
#board > tbody > tr > .c-user { white-space: normal; overflow-wrap: anywhere; }
#board > thead .c-rank, #board > tbody > tr > .c-rank { width: 44px; }
#board > thead .c-user { width: 34%; }
#board > thead .c-num { width: 18%; }
#board > tbody > tr:not(.dt) > td { height: 72px; }
#board .c-num > .ptrack { width: 100%; max-width: 150px; margin: 8px 0 0 auto; height: 3px; }
#board .agent-cell { gap: 8px; font-size: 13px; }
#board .agent-cell .mark { width: 18px; height: 18px; }
select {
  height: 38px; max-width: 190px; padding: 0 28px 0 12px; border: 1px solid var(--line-strong); border-radius: 7px;
  background: var(--bg); color: var(--ink); font: 500 13px/1 var(--sans); cursor: pointer;
}
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); cursor: pointer; user-select: none; }
.chk input { accent-color: var(--ink); margin: 0; }
.sum { margin: 0 0 24px; font-size: 12px; }
#hidden-note { font-size: 12px; margin: 0 0 16px; }
.sum b { color: var(--ink); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 0; max-width: 78ch; }
.legend .mark { margin-right: 4px; }
.pair td { height: auto; padding-top: 16px; padding-bottom: 16px; line-height: 1.45; vertical-align: top; }
.pair td + td { color: var(--mute); }
.legend .dot { margin-right: 2px; }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font: 500 13px/1.2 var(--sans); color: var(--mute); letter-spacing: 0; padding: 0 16px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th .mark { margin-right: 6px; vertical-align: -2px; }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
.tbl th.sorted, .tbl th.sorted button { color: var(--ink); }
.tbl th .arr { display: inline-block; width: 10px; margin-left: 3px; font-size: 10px; }
.tbl td { height: 66px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.tbl tr.r { cursor: pointer; }
.tbl tr.r:hover td { background: var(--hover); }
.tbl tr.open td { background: var(--hover); border-bottom-color: transparent; }
.tbl tr.held .u, .tbl tr.held .c-num { color: var(--faint); }
.tbl .c-rank, .tbl .c-status, .tbl .c-num { width: 1%; white-space: nowrap; }
.tbl .c-rank { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13px; }
.tbl .c-user { font-weight: 500; letter-spacing: -0.015em; white-space: nowrap; }
.tbl .c-user .u:hover { text-decoration: underline; text-underline-offset: 3px; }
.tbl .c-num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); white-space: nowrap; font-size: 15px; }
.tbl .c-num.strong { color: var(--ink); font-weight: 500; }
.tbl th.c-num { text-align: right; }
.tbl .c-mix { width: 16%; min-width: 88px; }
.tbl td.loading { text-align: center; color: var(--mute); height: 72px; }
.m-only { display: none; }
.status { font-size: 11px; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.status.warn { color: var(--warn); }
.status + .status { margin-left: 8px; }
.ptrack { display: block; height: 4px; border-radius: 0; background: #f0f2f0; overflow: hidden; }
.pbar { display: flex; height: 100%; border-radius: 0; overflow: hidden; background: transparent; }
.pbar i { display: block; height: 100%; }
.pbar i.cc { background: var(--cc); }
.pbar i.cx { background: var(--cx); }
.tbl .dt td { height: auto; padding: 0 12px 16px; background: var(--hover); }
.detail .mini { max-width: 720px; }
.detail .mini td { height: 36px; background: transparent; font-size: 13px; }
.detail .mini th { background: transparent; }
.detail .more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 500; }
tr.grp td { height: 40px; font-weight: 600; color: var(--ink); }

/* 接入 */
.join { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.sn { font: 400 13px/1.9 var(--mono); color: var(--ink); }
.steps h3 { font-size: 19px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; }
.steps p { margin: 0 0 14px; max-width: 62ch; font-size: 14px; line-height: 1.7; color: var(--mute); }
.cmd { display: flex; align-items: center; gap: 12px; max-width: 680px; min-width: 0; margin: 8px 0 0; padding: 8px 8px 8px 14px; background: var(--bg-subtle); border-radius: 7px; }
.cmd code { flex: 1; min-width: 0; background: none; padding: 0; border-radius: 0; overflow-x: auto; white-space: pre; color: var(--ink); font-size: 12px; }
.cmd .btn { flex-shrink: 0; border-radius: 5px; font-size: 12px; }

/* 内页 */
.page { padding-top: 72px; padding-bottom: 100px; }
.page h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.page h1 .dot { width: 8px; height: 8px; margin-left: 10px; vertical-align: 3px; }
.crumb { margin-bottom: 16px; font-size: 13px; }
.crumb a { color: var(--mute); }
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 0; font-size: 13px; color: var(--mute); }
.stats { display: flex; flex-wrap: wrap; gap: 22px 36px; margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { min-width: 96px; }
.stat .k { font-size: 12px; color: var(--faint); }
.stat .v { margin-top: 6px; font: 600 28px/1.15 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat .s { margin-top: 4px; font-size: 12px; color: var(--faint); }
.sec-s { margin-top: 36px; }
.sec-s h2, .side h2, .blk h2 { font-size: 15px; letter-spacing: -0.02em; }
.note { margin: 8px 0; font-size: 14px; line-height: 1.6; color: var(--mute); max-width: 68ch; }
.chart { display: grid; grid-template-columns: 52px 1fr; gap: 8px; margin-top: 16px; }
.chart .ylab { display: flex; flex-direction: column; justify-content: space-between; height: 140px; text-align: right; font: 11px/1 var(--sans); color: var(--faint); font-variant-numeric: tabular-nums; }
.chart .plot { position: relative; height: 160px; }
.chart .grid { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.chart .g0 { top: 0; }
.chart .g1 { top: 70px; }
.chart .bars { position: relative; display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; height: 140px; align-items: end; }
.chart .bars .b { height: 100%; display: flex; flex-direction: column-reverse; }
.chart .bars .b i { display: block; width: 100%; background: var(--ink); border-radius: 1px 1px 0 0; }
.xlab { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; font: 11px/1 var(--sans); color: var(--faint); }
.xlab span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.kv { margin: 12px 0 0; }
.kv > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; }

.join-page { padding-top: 72px; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .8fr); gap: 56px; align-items: start; }
.side { border-left: 1px solid var(--line); padding-left: 32px; position: sticky; top: 80px; }
.form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; align-items: center; }
.narrow { max-width: 640px; }
.prose { max-width: 760px; }
.alist { margin-top: 12px; }
.arow { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.arow .an { font: 500 13px/1.4 var(--sans); color: var(--faint); padding-top: 3px; }
.arow h3 { font-size: 18px; }
.arow p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink2); max-width: 66ch; }
.page-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.devcode { margin: 18px 0 8px; font: 500 28px/1 var(--mono); letter-spacing: .12em; }
.err { min-height: 1.2em; margin: 8px 0 0; color: var(--warn); font-size: 13px; }
.loading { padding: 48px 0; color: var(--mute); }

.foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.foot p { margin: 0; max-width: 78ch; font-size: 11px; line-height: 1.7; color: var(--faint); }
.foot > a:last-child { font-size: 12px; color: var(--mute); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(6px); background: var(--ink); color: var(--bg); font-size: 13px; padding: 8px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 1100px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .hero { gap: 40px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 48px; }
  .usage-panel { padding: 24px 24px 18px; }
  .usage-total { font-size: 54px; }
  .metric { padding-left: 12px; padding-right: 12px; }
  .metric .v { font-size: 23px; }
  .tbl th, .tbl td { padding-left: 10px; padding-right: 10px; }
  .tbl .c-mix { min-width: 64px; }
  .hdr-in { gap: 24px; }
  .hdr-nav { gap: 20px; }
}
@media (max-width: 900px) {
  .hero { gap: 28px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 42px; }
  .hero .lede { font-size: 14px; }
  .hero-actions { gap: 16px; flex-wrap: wrap; }
  .hero-actions .btn, .text-link { font-size: 13px; }
  .share-legend { flex-direction: column; gap: 8px; }
  .share-legend > span { justify-content: space-between; }
  .share-legend b { margin-left: auto; }
  .join-grid { grid-template-columns: 1fr; }
  .side { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; margin-top: 20px; }
  .hdr-in { flex-wrap: wrap; height: auto; padding-top: 16px; padding-bottom: 10px; gap: 10px 22px; }
  .hdr-nav { order: 4; width: 100%; height: 30px; }
  .tbl .c-sec { display: none; }
  .m-only { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
  .board-mobile-agents { display: block; margin-top: 4px; color: var(--mute); font-size: 11px; font-weight: 400; line-height: 1.5; }
  #board > thead .c-user { width: auto; }
  #board > thead .c-num { width: 30%; }
  .board-message { align-items: flex-start; flex-direction: column; }
  .board-message-actions { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .hdr-in { gap: 10px 16px; }
  .wordmark { font-size: 18px; gap: 8px; }
  .brand-mark { width: 19px; height: 19px; }
  .hdr-r { gap: 12px; }
  .hdr .btn { height: 34px; padding: 0 16px; font-size: 12px; }
  .hdr-r .nav-link { font-size: 12px; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hdr-nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 28px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 44px; }
  .hero .lede { margin-top: 22px; max-width: 30em; margin-top: 18px; font-size: 14px; }
  .hero-actions { margin-top: 24px; gap: 24px; }
  .usage-panel { padding: 22px; }
  .usage-total { min-height: 88px; font-size: 56px; }
  .share-legend { flex-direction: row; gap: 10px; }
  .share-legend > span { gap: 6px; font-size: 11px; }
  .share-legend b { font-size: 9px; margin-left: 2px; }
  .tool-share { padding: 17px 0 18px; }
  .metric .k { font-size: 10px; }
  .metric .v { font-size: 24px; }
  .section-heading { align-items: baseline; gap: 12px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading .subline { font-size: 10px; }
  .toolbar { gap: 10px; margin: 18px 0 20px; }
  #seg-period button { font-size: 12px; padding: 0 10px; }
  .board-filters summary { font-size: 12px; padding: 0 10px; gap: 6px; }
  .board-message, .feed-message { padding: 24px; gap: 22px; }
  .feed-message { align-items: flex-start; flex-direction: column; }
  .section-description { margin-bottom: 20px; }
  .feed-status { font-size: 11px; }
  .ev { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 12px; padding: 18px 0; }
  .ev-mark { grid-row: 1 / 3; width: 24px; }
  .ev-main { grid-column: 2; }
  .ev-time { grid-column: 2; font-size: 11px; }
  .ev-n { grid-column: 3; grid-row: 1 / 3; font-size: 14px; }
  .ev-name { font-size: 14px; }
  .ev-sub { font-size: 11px; }
  .join-banner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .join-banner h2 { font-size: 22px; }
  .board-message h3, .feed-message h3 { font-size: 20px; }
  .board-message p, .feed-message p { font-size: 13px; }
  .board-message-actions { gap: 18px; }
  .board-preview-notice { gap: 8px; }
  .board-preview-notice > span { order: 3; flex-basis: 100%; }
  .board-preview-notice > button { font-size: 12px; }
  #board > thead .c-rank, #board > tbody > tr > .c-rank { width: 30px; }
  #board > thead .c-num { width: 132px; }
  .chk { font-size: 12px; }
  .sum { font-size: 11px; line-height: 1.8; margin-bottom: 18px; }
  .tbl .c-user { white-space: normal; overflow-wrap: anywhere; }
  .tbl th { font-size: 11px; }
  .tbl td { height: 64px; font-size: 13px; }
  .tbl .c-num { font-size: 13px; }
  .tbl .c-mix { width: 18%; min-width: 40px; }
  .tbl .c-rank { font: 11px/1.4 var(--mono); }
  .tbl .c-user .u { display: inline-block; max-width: 140px; }
  .legend { gap: 6px; font-size: 11px; }
  .legend > span:last-child { flex-basis: 100%; }
  .join { margin-top: 56px; padding-top: 56px; }
  .home { padding-bottom: 32px; }
  .home-section { margin-top: 32px; padding-top: 24px; }
  .page, .join-page { padding-top: 40px; padding-bottom: 64px; }
  .page h1 { font-size: 36px; line-height: 1.2; }
  .page .lede { font-size: 16px; }
  .stat .v { font-size: 24px; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .arow { grid-template-columns: 1fr; gap: 4px; }
  .foot { grid-template-columns: 1fr; gap: 14px; }
  .foot .wordmark { font-size: 16px; }
  .hourchart { height: 56px; gap: 3px; }
}
@media (max-width: 520px) {
  .hdr-r .btn { display: none; }
  .hdr-in { gap: 8px 12px; }
  .wordmark { font-size: 17px; }
  .language-control select { font-size: 12px; max-width: 74px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(36px, 11vw, 43px); }
  .usage-panel { padding-left: 20px; padding-right: 20px; }
  .usage-total { font-size: 54px; }
  .metric { padding-left: 10px; padding-right: 10px; }
  .metric .v { font-size: 23px; }
  .metric .k { min-height: 26px; margin-bottom: 6px; }
  .panel-status { font-size: 9px; }
  .share-legend b { display: none; }
  .tbl th, .tbl td { padding-left: 8px; padding-right: 8px; }
  .tbl .c-mix { display: none; }
  .tbl .c-user .u { max-width: 132px; }
  .detail .mini { min-width: 540px; }
  .detail { overflow-x: auto; max-width: calc(100vw - 80px); }
  .steps li { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
  .cmd { gap: 6px; padding-left: 10px; }
  .cmd .btn { height: 30px; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 360px) {
  .metric .v { font-size: 20px; }
  .ev-n { font-size: 12px; }
  .ev { gap: 10px; }
  .section-heading { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .usage-panel::before { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Compact onboarding and honest empty states. */
.usage-waiting strong { display: block; font-size: 18px; font-weight: 500; color: #f5f6f4; }
.usage-waiting p { font-size: 13px; color: #b4bfb7; margin: 7px 0 0; }
.tool-share:has(.usage-waiting) { padding: 6px 0 20px; border-top: 0; }
.btn.outline { background: white; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.outline:hover { background: var(--hover); }
.privacy-details summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; }
.privacy-details summary::-webkit-details-marker { display: none; }
.privacy-details summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 2px 0 auto; flex: none; }
.privacy-details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.join-page { padding-top: 44px; padding-bottom: 64px; }
.join-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); column-gap: 48px; row-gap: 28px; }
.join-heading { grid-column: 1; }
.join-heading h1 { font-size: clamp(34px, 3.5vw, 48px); font-weight: 500; line-height: 1.2; }
.join-heading .lede { margin-top: 12px; font-size: 17px; }
.setup-steps { grid-column: 1; list-style: none; margin: 0; padding: 0; }
.setup-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.setup-steps li:first-child { padding-top: 0; border-top: 0; }
.setup-steps li:last-child { padding-bottom: 0; }
.setup-steps .sn { height: 30px; background: #f1f2f1; border-radius: 6px; text-align: center; font-size: 12px; line-height: 30px; }
.setup-steps h2 { font-size: 21px; font-weight: 500; }
.setup-steps .note { margin: 8px 0 14px; font-size: 13px; line-height: 1.7; }
.setup-steps .cmd { max-width: none; padding: 16px; align-items: flex-start; }
.setup-steps .cmd code { line-height: 1.9; }
.cmd.terminal { background: #191b1a; }
.cmd.terminal code { color: #f5f6f4; }
.cmd.terminal .btn { background: #262b27; color: #e0e5e1; border-color: #505951; }
.setup-note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--mute); }
.agent-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-top: 14px; }
.agent-tabs button { display: flex; align-items: center; gap: 7px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--mute); padding: 8px 0 12px; margin-bottom: -1px; font: 500 13px/1.5 var(--sans); white-space: nowrap; cursor: pointer; }
.agent-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); }
.agent-tabs .mark { width: 20px; height: 20px; }
.protocol-mark { font: 14px var(--mono); }
#agent-setup { padding-top: 2px; }
#agent-setup .text-link { margin-top: 12px; font-size: 13px; }
.join-account { grid-column: 2; grid-row: 1 / 3; padding: 28px; border: 1px solid var(--line-strong); border-radius: 12px; }
.join-account h2 { font-size: 25px; font-weight: 500; }
.join-account .note { font-size: 14px; }
.join-account .form { display: grid; gap: 10px; margin: 24px 0 0; }
.join-account .form .btn { justify-content: center; width: 100%; min-height: 46px; border-radius: 8px; font-size: 14px; }
.join-account .oauth-github { background: #191b1a; color: white; }
.join-account .oauth-github:hover { background: #303531; }
.join-account .oauth-google { background: white; border: 1px solid var(--line-strong); }
.join-account .oauth-google:hover { background: #f7f8f7; }
.join-account .form .mark { width: 20px; height: 20px; }
.signed-account { display: flex; align-items: center; gap: 10px; margin: 24px 0 16px; }
.signed-account .btn { margin-left: auto; font-size: 12px; }
.join-preview { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.preview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.preview-heading h3 { font-size: 14px; font-weight: 500; }
.preview-heading > span { font-size: 11px; color: var(--mute); }
.preview-total { font-size: 42px; font-weight: 500; letter-spacing: -.035em; margin: 16px 0; }
.preview-total small { font-size: 14px; font-weight: 400; color: var(--mute); letter-spacing: 0; }
.preview-bar { height: 6px; display: flex; overflow: hidden; border-radius: 3px; margin-bottom: 14px; }
.preview-agent { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.preview-agent b { margin-left: auto; font-weight: 500; }
.join-preview > p { font-size: 11px; color: var(--mute); margin: 16px 0 0; }
.privacy-details { margin-top: 32px; border: 1px solid var(--line); border-radius: 10px; }
.privacy-details summary { padding: 22px 24px; }
.privacy-details summary strong { font-size: 18px; font-weight: 500; }
.privacy-details summary > span { font-size: 12px; color: var(--mute); margin-left: auto; }
.privacy-details summary::after { margin-left: 0; }
.privacy-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; padding: 0 24px 24px; }
.privacy-body h3 { font-size: 14px; }
.privacy-body p { color: var(--mute); font-size: 13px; line-height: 1.9; margin: 8px 0 0; }
.privacy-body .privacy-footnote { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 1100px) {
  .join-grid { column-gap: 28px; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
  .join-account { padding: 22px; }
  .agent-tabs { gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .join-grid { grid-template-columns: 1fr; gap: 28px; }
  .join-account { grid-row: 2; grid-column: 1; }
  .setup-steps { grid-row: 3; }
  .join-preview { display: none; }
  .join-account .form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .join-page { padding-top: 32px; }
  .join-heading h1 { font-size: 36px; }
  .join-heading .lede { font-size: 15px; }
  .join-account h2 { font-size: 22px; }
  .join-account .form { grid-template-columns: 1fr; margin-top: 20px; }
  .setup-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .setup-steps h2 { font-size: 20px; }
  .setup-steps .cmd { flex-direction: column; gap: 12px; padding: 14px; }
  .setup-steps .cmd code { width: 100%; font-size: 11px; }
  .setup-steps .cmd .btn { align-self: flex-end; }
  .agent-tabs { gap: 6px 16px; }
  .agent-tabs button { font-size: 12px; padding-bottom: 10px; }
  .privacy-details summary { padding: 20px; flex-wrap: wrap; gap: 10px; }
  .privacy-details summary strong { font-size: 17px; flex-basis: 100%; }
  .privacy-details summary > span { margin-left: 0; }
  .privacy-details summary::after { margin-left: auto; }
  .privacy-body { grid-template-columns: 1fr; padding: 0 20px 20px; }
}
@media (max-width: 380px) {
  #seg-period button { font-size: 11px; padding: 0 7px; }
  .board-filters summary > svg { display: none; }
  .language-control button { padding: 7px 8px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 39px; }
}
