:root {
  --bg: #0a0b10;
  --surface: #12141c;
  --surface-2: #181b25;
  --surface-3: #20242f;
  --line: #242836;
  --line-2: #2f3443;
  --text: #eceef4;
  --muted: #8b92a5;
  --faint: #5d6476;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-soft: rgba(139, 92, 246, .14);
  --up: #34d399;
  --down: #fb7185;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 32px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text); background:
    radial-gradient(1200px 600px at 85% -10%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(34,211,238,.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: #b9a2ff; text-decoration: none; }
a:hover { color: #d4c6ff; }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 700; }
h2 { font-size: 16px; margin: 0; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 14px; margin: 24px 0 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
code { background: var(--surface-3); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, "JetBrains Mono", Consolas, monospace; font-size: 12px; }
::selection { background: rgba(139,92,246,.35); }

/* ---------- каркас ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 248px; flex-shrink: 0; display: flex; flex-direction: column; padding: 22px 14px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: rgba(18,20,28,.72); backdrop-filter: blur(14px); border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .04em; padding: 0 8px 22px; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 18px -6px rgba(139,92,246,.7);
}
.brand span { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0; color: var(--faint); margin-top: -2px; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; transition: background .15s, color .15s; }
.sidebar nav a:hover { background: var(--surface-2); color: var(--text); }
.sidebar nav a.on { background: var(--accent-soft); color: #fff; box-shadow: inset 2px 0 0 var(--accent); }
.sidebar nav a.sub { font-size: 13.5px; padding: 6px 12px 6px 16px; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); padding: 20px 12px 6px; font-weight: 600; }
.me { border-top: 1px solid var(--line); padding: 16px 10px 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.me b { color: var(--text); }
.me a, .me .link { color: var(--muted); }
.me a:hover, .me .link:hover { color: var(--text); }
.content { flex: 1; padding: 32px 40px 48px; min-width: 0; max-width: 1320px; }

/* ---------- карточки ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 40%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 2px 0 0; }
.actions { display: flex; gap: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid2 > .card { margin-bottom: 0; }
.grid2.tight { margin-bottom: 14px; }
.narrow-card { max-width: 440px; }

/* ---------- KPI ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.card .stat { background: var(--surface-2); box-shadow: none; }
.stat span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.stat b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; line-height: 1.15; }
.stat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-2); }
.stat.k-all::after { background: var(--accent); }
.stat.k-30::after { background: var(--accent-2); }
.stat.k-share::after { background: linear-gradient(var(--accent), var(--accent-2)); }
.stats.small .stat b { font-size: 20px; }
.meter { height: 6px; border-radius: 99px; background: var(--surface-3); margin-top: 12px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.delta {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; margin-top: 10px; font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 8px; background: var(--surface-3); color: var(--muted); line-height: 1.5;
}
.delta em { white-space: nowrap; }
.delta.up { color: var(--up); background: rgba(52,211,153,.12); }
.delta.down { color: var(--down); background: rgba(251,113,133,.12); }
.delta em { font-style: normal; font-weight: 400; opacity: .75; }
.up { color: var(--up); }
.down { color: var(--down); }
.period-note { margin: -4px 0 14px; }

/* ---------- кабинет ---------- */
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 28px; margin-bottom: 20px; border-radius: 22px; border: 1px solid var(--line);
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(139,92,246,.28), transparent 70%),
    radial-gradient(500px 200px at 100% 100%, rgba(34,211,238,.14), transparent 70%),
    var(--surface);
}
.hero-who { display: flex; align-items: center; gap: 18px; min-width: 0; }
.avatar {
  width: 64px; height: 64px; border-radius: 20px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px rgba(139,92,246,.9);
}
.hero h1 { margin: 0; }
.hero .muted { font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--text); }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; flex-wrap: wrap; }
.section-title h2 { font-size: 20px; letter-spacing: -.02em; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 20px; }
.cat-card {
  display: block; color: var(--text); padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s, background .15s;
}
.cat-card:hover { color: var(--text); transform: translateY(-2px); border-color: rgba(139,92,246,.5); background: var(--surface-2); }
.cat-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat-card .name { font-weight: 700; font-size: 15px; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: #c4b1ff; }
.cat-card .big { font-size: 26px; font-weight: 700; letter-spacing: -.03em; margin-top: 12px; font-variant-numeric: tabular-nums; }
.cat-card .sub { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cat-card .delta { margin-top: 8px; }

/* ---------- графики ---------- */
.chart-box { position: relative; height: 300px; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }

/* ---------- таблицы ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--faint); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; background: transparent; }
tr:last-child td { border-bottom: 0; }
tbody tr, table tr { transition: background .12s; }
table tr:hover td { background: rgba(255,255,255,.02); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.r { text-align: right; white-space: nowrap; }
tr.dim td { opacity: .45; }
.scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
/* компактный список релизов */
.rel-list { table-layout: fixed; font-size: 13.5px; }
.rel-list col.c-rank { width: 40px; }
.rel-list col.c-cat { width: 132px; }
.rel-list col.c-s { width: 132px; }
.rel-list col.c-s30 { width: 96px; }
.rel-list col.c-d { width: 104px; }
.rel-list col.c-share { width: 64px; }
.rel-list th { padding: 8px 10px; }
.rel-list td { padding: 8px 10px; border-bottom-color: rgba(255,255,255,.04); }
.rel-list tbody tr:hover td { background: rgba(139,92,246,.06); }
.rel-list tbody tr td:first-child { border-radius: 10px 0 0 10px; }
.rel-list tbody tr td:last-child { border-radius: 0 10px 10px 0; }
.rel-list td.num { white-space: nowrap; }
.rel-list td.num b { font-weight: 600; }
.rel-list .rank { color: var(--faint); font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.rel-list .rank.top3 { color: #fff; }
.rel-list tr:nth-child(1) .rank.top3 { color: #fbbf24; }
.rel-list tr:nth-child(2) .rank.top3 { color: #cbd5e1; }
.rel-list tr:nth-child(3) .rank.top3 { color: #f59e0b; opacity: .8; }
.rel-list .rel { min-width: 0; }
.rel-list .t-title, .rel-list .t-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-list .t-title { font-weight: 600; color: var(--text); }
.rel-list .t-artist { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.rel-list .upc { display: none; color: var(--faint); font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
@media (hover: hover) { .rel-list tr:hover .upc { display: inline; } }
.rel-list .bar { height: 3px; border-radius: 99px; background: var(--surface-3); margin: 5px 0 0 auto; width: 100%; overflow: hidden; }
.rel-list .bar i { display: block; height: 100%; margin-left: auto; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.rel-list .sub { font-size: 11.5px; color: var(--faint); margin-top: 1px; }
.rel-list .chg { font-size: 12px; font-weight: 600; }
.rel-list .faint, .faint { color: var(--faint); }
.pill { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;
        font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--surface-3); color: #c4b1ff; border: 1px solid var(--line-2); }
.pill:hover { border-color: var(--accent); color: #fff; }
td .t-title { font-weight: 600; color: var(--text); }
@media (max-width: 700px) { .hide-sm, .rel-list col.c-cat, .rel-list col.c-s30, .rel-list col.c-d, .rel-list col.c-share { display: none; } }
.tag { font-size: 11px; font-weight: 600; background: rgba(251,113,133,.14); color: var(--down); border-radius: 99px; padding: 2px 8px; }
.table-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.table-tools input { flex: 1 1 260px; max-width: 420px; }
details { margin: 18px 0; }
summary { cursor: pointer; color: #b9a2ff; }

/* ---------- формы ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
label.inline { flex-direction: row; align-items: center; gap: 8px; color: var(--muted); }
input, select {
  font: inherit; font-size: 14px; color: var(--text); padding: 9px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--surface-2); min-width: 0; transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: var(--faint); }
input[type=checkbox] { padding: 0; width: 16px; height: 16px; accent-color: var(--accent); }
input[type=file] { padding: 7px; }
input[type=file]::file-selector-button { font: inherit; font-size: 13px; color: var(--text); background: var(--surface-3); border: 0; border-radius: 8px; padding: 6px 10px; margin-right: 10px; cursor: pointer; }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=search] { padding-left: 36px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d6476' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 12px center; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
legend { color: var(--muted); font-size: 13px; padding: 0 6px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row .grow { flex: 1 1 200px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.checks label { flex-direction: row; align-items: center; color: var(--text); gap: 8px; font-weight: 400; }
.checks.names { max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
form.inline { display: inline; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface-2);
  color: var(--text); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--surface-3); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, #7c4dff, #6d5cf6 50%, #3b82f6); box-shadow: 0 8px 22px -10px rgba(124,77,255,.9); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.danger { color: var(--down); border-color: rgba(251,113,133,.35); background: transparent; }
.btn.wide { width: 100%; padding: 12px; }
.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.danger-link { color: var(--down); }

/* переключатель периода */
.period-pick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.period-pick select { min-width: 140px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line-2); }
.seg a { padding: 6px 13px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-radius: 10px; white-space: nowrap; transition: background .15s, color .15s; }
.seg a:hover { color: var(--text); background: var(--surface-3); }
.seg a.on { color: #fff; background: linear-gradient(135deg, #7c4dff, #5b6cf6); box-shadow: 0 4px 14px -6px rgba(124,77,255,.9); }

/* ---------- уведомления, вход ---------- */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; border: 1px solid; }
.flash.ok { background: rgba(52,211,153,.08); color: var(--up); border-color: rgba(52,211,153,.25); }
.flash.error { background: rgba(251,113,133,.08); color: var(--down); border-color: rgba(251,113,133,.25); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.login h1 { margin: 0; letter-spacing: .02em; }
.login-logo { width: 72px; height: 72px; border-radius: 20px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 12px 30px -10px rgba(139,92,246,.8); }
.login p { margin: -8px 0 4px; }

/* ---------- уведомления ---------- */
.notice {
  --c: #fbbf24; display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; margin-bottom: 14px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), color-mix(in srgb, var(--c) 5%, transparent)), var(--surface);
  box-shadow: inset 3px 0 0 var(--c);
}
.notice-info { --c: #8b5cf6; }
.notice-warning { --c: #fbbf24; }
.notice-critical { --c: #fb7185; }
.notice-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #0a0b10; background: var(--c); margin-top: 1px; }
.notice-body { font-size: 14px; color: #d7dae3; line-height: 1.5; }
.notice-body b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.notice.static { margin: 0; }
.notice-item { padding: 16px; }
.notice-item.off .notice { filter: grayscale(1); opacity: .5; }
.notice-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.notice-meta .actions { flex-wrap: wrap; }
.tag.on { background: rgba(52,211,153,.12); color: var(--up); }
.nav-count { margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #fbbf24; color: #0a0b10; }
textarea { font: inherit; font-size: 14px; color: var(--text); padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface-2); resize: vertical; min-height: 96px; }
textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.level-pick { padding: 3px; }
.level-pick .lv { flex-direction: row; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; color: var(--muted); cursor: pointer; font-weight: 600; font-size: 13.5px; }
.level-pick .lv input { position: absolute; opacity: 0; pointer-events: none; }
.level-pick .lv::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.level-pick .lv-info { --c: #8b5cf6; } .level-pick .lv-warning { --c: #fbbf24; } .level-pick .lv-critical { --c: #fb7185; }
.level-pick .lv:has(input:checked) { background: var(--surface-3); color: #fff; }

/* ---------- окно подтверждения ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(5,6,10,.65); backdrop-filter: blur(4px); animation: fade .12s ease-out; }
.modal { width: 100%; max-width: 400px; padding: 24px; border-radius: 18px; background: var(--surface-2);
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); animation: pop .14s ease-out; }
.modal-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px;
  color: var(--down); background: rgba(251,113,133,.14); margin-bottom: 14px; }
.modal-text { font-size: 15px; line-height: 1.5; color: var(--text); margin-bottom: 20px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.btn.danger-solid { border: 0; color: #fff; background: #e11d48; }
.btn.danger-solid:hover { background: #f43f5e; color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }

/* ---------- мобильные ---------- */
.topbar, .nav-backdrop { display: none; }
.only-mobile { display: none; }
.burger { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .topbar {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50;
    padding: 10px 16px; background: rgba(10,11,16,.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  }
  .topbar .brand { padding: 0; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: 280px; max-width: 85vw; height: 100vh;
    background: var(--surface); transform: translateX(-100%); transition: transform .22s ease; border-right: 1px solid var(--line);
  }
  body.nav-open .sidebar { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.6); }
  body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(5,6,10,.6); }
  body.nav-open { overflow: hidden; }
  .layout { display: block; }
  .content { padding: 18px 16px 40px; }
  .grid2 { grid-template-columns: 1fr; }
  .only-desktop { display: none; }
  .only-mobile { display: block; }

  h1 { font-size: 24px; }
  .page-head { margin-bottom: 14px; }
  .period-pick { width: 100%; }
  .seg { width: 100%; }
  .seg a { flex: 1; text-align: center; padding: 7px 4px; font-size: 13px; }
  .hero { padding: 18px; gap: 14px; }
  .hero-who { gap: 14px; }
  .avatar { width: 52px; height: 52px; font-size: 19px; border-radius: 16px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; border-radius: 14px; }
  .stat b { font-size: 21px; }
  .stat span { font-size: 12px; }
  .delta { font-size: 11px; padding: 2px 7px; }
  .card { padding: 16px; border-radius: 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 14px; border-radius: 14px; }
  .cat-card .big { font-size: 19px; margin-top: 8px; }
  .cat-card .sub { flex-direction: column; font-size: 11.5px; }
  .notice { padding: 12px 14px; gap: 10px; }
  .notice-body { font-size: 13px; }
  .section-title { margin: 22px 0 12px; }
  .section-title h2 { font-size: 18px; }
}
@media (max-width: 380px) {
  .cat-grid { grid-template-columns: 1fr; }
}
