:root {
  color-scheme: dark;
  --bg: #0d121a;
  --line: rgba(169,190,219,.14);
  --line-strong: rgba(169,190,219,.24);
  --text: #f2f6fc;
  --muted: #9aabc0;
  --faint: #708197;
  --accent: #79b5ff;
  --accent-bright: #a7d2ff;
  --gold: #f0bd73;
  --telegram-safe-top: 0px;
  --telegram-safe-bottom: 0px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  background:
    radial-gradient(ellipse at 84% -10%, rgba(72,127,192,.19), transparent 36rem),
    radial-gradient(ellipse at -10% 44%, rgba(41,75,118,.14), transparent 30rem), var(--bg);
}
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: max(12px, env(safe-area-inset-top), var(--telegram-safe-top)) max(14px, calc((100vw - 1120px) / 2));
  background: rgba(13,18,26,.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px;
  color: #101a26; font-size: 14px; font-weight: 1000; background: linear-gradient(145deg,#c4e4ff,#6daeff 68%,#4b8edb);
}
.brand-copy { display: grid; gap: 3px; min-width: 0; }
.brand-copy strong { font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
.brand-copy small { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #9be0be; }
.status-dot.is-warning { background: var(--gold); }
.main-content { width: min(1120px,100%); margin: 0 auto; padding: 27px 22px 112px; flex: 1; }
.bottom-nav {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5,1fr);
  padding: 8px max(10px,calc((100vw - 640px)/2)) calc(8px + max(env(safe-area-inset-bottom),var(--telegram-safe-bottom)));
  background: rgba(13,18,26,.96); backdrop-filter: blur(20px); border-top: 1px solid var(--line);
}
.nav-item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-height: 54px; border: 0; border-radius: 12px; background: transparent;
  color: var(--faint); font-size: 10px; font-weight: 700; cursor: pointer;
}
.nav-item.is-active { color: var(--accent-bright); background: rgba(121,181,255,.08); }
.nav-icon { font-size: 20px; line-height: 1; }
.nav-count {
  position: absolute; top: 3px; right: calc(50% - 25px); min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 8px; color: #101a26; background: var(--accent-bright); font-size: 9px; font-weight: 900;
}
h1,h2,h3,p { margin-top: 0; }
h1 { margin: 7px 0; font-size: clamp(27px,4vw,39px); line-height: 1.04; letter-spacing: -.05em; }
h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
h3 { margin: 0; font-size: 15px; }
p { line-height: 1.55; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 10px; letter-spacing: .17em; font-weight: 900; }
.lead { max-width: 610px; margin: 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.muted { color: var(--muted); }
.tiny { font-size: 11px; line-height: 1.5; }
.section { margin-top: 27px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 5px 0 21px; }
.hero-panel {
  position: relative; overflow: hidden; min-height: 238px; padding: clamp(22px,4vw,38px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid rgba(121,181,255,.23); border-radius: 23px;
  background: radial-gradient(circle at 83% 47%,rgba(91,157,232,.2),transparent 17rem), linear-gradient(112deg,#1c2b3e,#151f2d 70%);
  box-shadow: 0 16px 44px rgba(0,0,0,.25);
}
.hero-panel:after {
  content: "CS2"; position: absolute; right: 5%; top: 50%; transform: translateY(-50%) rotate(-8deg);
  color: rgba(121,181,255,.055); font-size: clamp(90px,17vw,180px); font-weight: 1000; letter-spacing: -.12em; pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 600px; }
.hero-copy h1 { font-size: clamp(30px,5vw,47px); }
.hero-copy .lead { max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.hero-side { position: relative; z-index: 1; min-width: 108px; text-align: center; }
.hero-number { color: var(--accent-bright); font-size: 54px; line-height: 1; font-weight: 1000; letter-spacing: -.07em; }
.hero-number-label { margin-top: 7px; color: var(--muted); font-size: 10px; }
.hero-team-count { margin-top: 14px; }
.btn {
  min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 11px; padding: 0 15px;
  background: #202d3e; color: var(--text); font-size: 12px; font-weight: 850; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(121,181,255,.48); background: #293b50; }
.btn-primary { color: #0d1825; border-color: transparent; background: linear-gradient(135deg,#b9ddff,#73b2ff 62%,#5a99e5); box-shadow: 0 9px 26px rgba(76,145,233,.2); }
.btn-quiet { background: rgba(255,255,255,.025); }
.btn-small { min-height: 34px; padding: 0 11px; font-size: 11px; }
.text-button { padding: 5px 0; border: 0; background: transparent; color: var(--accent-bright); font-size: 11px; font-weight: 800; cursor: pointer; }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.stat-panel {
  position: relative; overflow: hidden; padding: 16px 15px 15px 18px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(155deg,rgba(29,40,55,.97),rgba(21,30,43,.97)); box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.stat-panel:before { content:""; position:absolute; left:0; top:13px; bottom:13px; width:3px; background:#79b5ff; }
.stat-panel:nth-child(2):before { background:#c6ed70; }
.stat-panel:nth-child(3):before { background:#f0b45f; }
.stat-value { font-size: 26px; font-weight: 950; letter-spacing: -.05em; }
.stat-label { color: var(--muted); font-size: 10px; margin-top: 3px; line-height: 1.4; }
.soft-pill,.count-pill,.role-pill,.status-pill {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%;
  border-radius: 7px; padding: 5px 8px; font-size: 9px; font-weight: 850;
}
.soft-pill { color:#a4b4c8; background:rgba(164,180,200,.09); }
.count-pill { color:#c6ed70; background:rgba(198,237,112,.12); }
.status-pill { color:#f0cb8e; background:rgba(240,180,95,.1); }
.role-pill { color:#b9cce4; background:rgba(121,181,255,.11); }
.role-pill--awper { color:#d0c2ff; background:rgba(181,155,255,.13); }
.role-pill--igl { color:#b8d9ff; background:rgba(121,181,255,.14); }
.role-pill--entry { color:#ffd0ac; background:rgba(240,163,109,.13); }
.role-pill--support { color:#9be8db; background:rgba(112,208,192,.12); }
.role-pill--lurker { color:#f5bdd0; background:rgba(229,142,167,.12); }
.role-pill--rifler { color:#d8f2a2; background:rgba(198,237,112,.11); }
.role-pill--anchor { color:#f2d8a4; background:rgba(229,189,114,.12); }
.role-pill--flex { color:#bfdbf4; background:rgba(139,180,216,.12); }
.filter-bar { display: grid; grid-template-columns: minmax(150px,1fr) 145px 170px; gap: 9px; margin: 16px 0 20px; }
.field,.select-field {
  width: 100%; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid rgba(169,190,219,.2);
  border-radius: 10px; color: #edf3fb; background: #131d29; font-size: 12px;
}
.field:focus,.select-field:focus { border-color: rgba(121,181,255,.64); outline: none; }
.player-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.player-card {
  --card-role-accent:#79b5ff; position:relative; min-width:0; min-height:250px; padding:10px; overflow:hidden; text-align:left;
  display:flex; flex-direction:column; gap:9px; border:1px solid rgba(169,190,219,.13); border-radius:15px;
  background:linear-gradient(145deg,rgba(34,47,64,.98),rgba(20,29,42,.98) 78%); box-shadow:0 8px 24px rgba(0,0,0,.12); cursor:pointer;
}
.player-card:before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:var(--card-role-accent); z-index:2; pointer-events:none; }
.player-card--role-awper { --card-role-accent:#b59bff; }
.player-card--role-igl { --card-role-accent:#79b5ff; }
.player-card--role-entry { --card-role-accent:#f0a36d; }
.player-card--role-support { --card-role-accent:#70d0c0; }
.player-card--role-lurker { --card-role-accent:#e58ea7; }
.player-card--role-rifler { --card-role-accent:#c6ed70; }
.player-card--role-anchor { --card-role-accent:#e5bd72; }
.player-card--role-flex { --card-role-accent:#8bb4d8; }
.player-card-top { position:relative; display:block; min-height:146px; }
.player-visual { position:relative; display:inline-flex; flex:0 0 auto; width:58px; height:58px; overflow:hidden; isolation:isolate; border-radius:13px; background:#182435; }
.player-visual--card { width:100%; height:155px; border-radius:12px; }
.player-visual--profile { width:110px; height:132px; border-radius:15px; }
.team-crest-fallback {
  position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; color:#f4f7fb;
  background:radial-gradient(circle at 50% 23%,color-mix(in srgb,var(--team-accent) 48%,transparent),transparent 48%),linear-gradient(150deg,var(--team-deep),#141e2c 84%);
  border:1px solid color-mix(in srgb,var(--team-accent) 42%,transparent);
  clip-path:polygon(50% 0%,95% 13%,91% 77%,50% 100%,9% 77%,5% 13%);
}
.team-crest-fallback:before { content:""; position:absolute; width:70%; height:70%; border:1px solid color-mix(in srgb,var(--team-accent) 33%,transparent); transform:rotate(45deg); }
.team-crest-fallback:after { content:""; position:absolute; width:145%; height:1px; transform:rotate(-38deg); background:color-mix(in srgb,var(--team-accent) 35%,transparent); }
.team-crest-sigil { position:absolute; top:14px; z-index:1; color:color-mix(in srgb,var(--team-accent) 88%,#fff); font-size:32px; line-height:1; font-weight:800; }
.team-crest-mark { position:absolute; bottom:20px; z-index:2; font-size:8px; line-height:1; letter-spacing:.17em; font-weight:1000; text-transform:uppercase; }
.team-crest-rule { position:absolute; z-index:1; bottom:13px; width:23px; height:1px; background:var(--team-accent); }
.player-visual-image { position:absolute; z-index:2; inset:0; width:100%; height:100%; opacity:0; transition:opacity .18s ease; }
.player-visual-image.is-loaded { opacity:1; }
.player-visual-image--portrait { object-fit:cover; object-position:center top; }
.player-visual-image--logo { object-fit:contain; padding:9px; background:rgba(12,18,27,.86); }
.player-visual-team-logo {
  position:absolute; z-index:3; right:5px; bottom:5px; display:grid; place-items:center; width:27px; height:27px; padding:3px;
  border:1px solid rgba(255,255,255,.2); border-radius:7px; background:rgba(9,15,24,.94); box-shadow:0 2px 8px rgba(0,0,0,.38);
}
.player-visual-team-logo-image { display:block; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .18s ease; }
.player-visual-team-logo-image.is-loaded { opacity:1; }
.player-visual--profile .player-visual-team-logo { width:32px; height:32px; }
.ovr-badge {
  position:absolute; z-index:4; top:7px; right:7px; min-width:48px; padding:7px 8px 6px; border-radius:10px;
  color:#18202b; background:linear-gradient(145deg,#ffe0a0,#e5ac56); font-size:20px; line-height:1; font-weight:1000; text-align:center;
}
.ovr-badge small { display:block; margin-top:4px; font-size:7px; letter-spacing:.1em; }
.player-card-copy { min-width:0; display:grid; gap:3px; padding:0 2px; }
.player-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f2f6fc; font-size:14px; font-weight:900; }
.player-team { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#9aadc4; font-size:10px; }
.player-card-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:7px; margin-top:auto; padding:0 2px; }
.team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.team-card {
  min-width:0; display:flex; align-items:center; gap:12px; padding:13px; text-align:left; border:1px solid var(--line);
  border-radius:15px; background:linear-gradient(145deg,rgba(34,47,64,.98),rgba(20,29,42,.98)); cursor:pointer;
}
.team-visual {
  position:relative; display:grid; place-items:center; width:56px; height:56px; flex:0 0 56px; overflow:hidden;
  border-radius:13px; background:linear-gradient(145deg,var(--team-deep),#111b29);
  border:1px solid color-mix(in srgb,var(--team-accent) 45%,transparent);
}
.team-visual img { position:absolute; inset:0; z-index:2; width:100%; height:100%; padding:6px; object-fit:contain; opacity:0; }
.team-visual img.is-loaded { opacity:1; }
.team-visual-fallback { display:grid; place-items:center; color:var(--team-accent); font-size:25px; font-weight:950; }
.team-visual-fallback small { font-size:8px; letter-spacing:.13em; }
.team-card-copy { display:grid; gap:4px; flex:1; min-width:0; }
.team-card-copy strong { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.team-card-copy small { color:var(--muted); font-size:10px; }
.progress-track { height:6px; overflow:hidden; border-radius:5px; background:#0d1520; }
.progress-track span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#568fd0,#79b5ff 70%,#c6ed70); }
.directory-stats { margin:12px 0 18px; }
.pack-panel {
  display:grid; grid-template-columns:160px minmax(0,1fr); gap:22px; align-items:center;
  margin-top:18px; padding:22px; border:1px solid rgba(121,181,255,.22); border-radius:20px;
  background:radial-gradient(circle at 15% 50%,rgba(121,181,255,.16),transparent 13rem),linear-gradient(145deg,#1c2a3b,#141e2b);
}
.pack-art {
  min-height:210px; display:flex; flex-direction:column; justify-content:space-between; align-items:center;
  padding:20px 14px; border:1px solid rgba(190,220,255,.32); border-radius:16px;
  color:#102033; background:linear-gradient(150deg,#d3e9ff,#79b7ff 58%,#426da8);
  box-shadow:0 14px 35px rgba(0,0,0,.28),inset 0 0 0 5px rgba(255,255,255,.15);
}
.pack-art-mark { font-size:38px; font-weight:1000; letter-spacing:-.08em; }
.pack-art-label { font-size:11px; font-weight:950; letter-spacing:.17em; line-height:1.5; text-align:center; }
.pack-copy h2 { margin:7px 0; }
.pack-copy>p { max-width:560px; margin:8px 0 15px; color:var(--muted); font-size:12px; }
.pack-timer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0; padding:11px 13px; border:1px solid var(--line); border-radius:11px; background:rgba(8,14,22,.32); }
.pack-timer strong { color:var(--accent-bright); font-size:17px; font-variant-numeric:tabular-nums; }
.pack-open-button { width:100%; max-width:320px; }
.pack-open-button:disabled { cursor:not-allowed; opacity:.55; transform:none; }
.pack-copy .pack-footnote { margin-top:13px; margin-bottom:0; font-size:10px; }
.pack-result-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }

.empty-state { padding:34px 22px; text-align:center; border:1px dashed var(--line-strong); border-radius:16px; background:rgba(24,34,48,.62); }
.empty-state p { max-width:420px; margin:8px auto 17px; color:var(--muted); font-size:12px; }
.modal-root:empty { display:none; }
.modal-root:not(:empty) { position:fixed; z-index:80; inset:0; display:grid; place-items:center; padding:20px; }
.modal-backdrop { position:absolute; inset:0; background:rgba(3,7,13,.82); backdrop-filter:blur(7px); }
.modal {
  position:relative; width:min(680px,100%); max-height:min(88vh,850px); overflow:auto; padding:21px;
  border:1px solid rgba(155,185,221,.18); border-radius:19px; background:linear-gradient(155deg,#1e2a39,#141d29);
  box-shadow:0 30px 90px rgba(0,0,0,.58);
}
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:16px; }
.modal-head h2 { margin-top:5px; }
.modal-close { width:34px; height:34px; flex:0 0 34px; border:1px solid rgba(169,190,219,.15); border-radius:10px; background:rgba(255,255,255,.03); font-size:22px; cursor:pointer; }
.profile-head { display:flex; align-items:center; gap:13px; padding:12px; border:1px solid rgba(169,190,219,.14); border-radius:14px; background:rgba(10,16,25,.35); }
.profile-copy { min-width:0; flex:1; }
.profile-name { color:#f2f6fc; font-size:21px; font-weight:950; overflow-wrap:anywhere; }
.profile-team { color:#a2b4cb; font-size:12px; margin-top:3px; }
.profile-meta { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.attribute-list { display:grid; gap:10px; margin-top:12px; }
.attribute-row { display:grid; grid-template-columns:115px minmax(60px,1fr) 28px; align-items:center; gap:10px; font-size:11px; color:var(--muted); }
.attribute-track { height:7px; overflow:hidden; border-radius:8px; background:#0d1520; }
.attribute-fill { display:block; height:100%; border-radius:8px; background:linear-gradient(90deg,#568fd0,#79b5ff 70%,#c6ed70); }
.attribute-score { color:#eaf3ff; text-align:right; font-size:12px; }
.modal-note { margin-top:13px; padding:10px 12px; border-radius:10px; color:#c7b58d; background:rgba(240,180,95,.075); font-size:10px; line-height:1.5; }
.profile-extra { display:grid; gap:10px; }
.profile-extra>div { display:flex; justify-content:space-between; gap:15px; border-bottom:1px solid rgba(169,190,219,.1); padding-bottom:8px; }
.profile-extra strong { text-align:right; font-size:11px; }
.team-progress-panel { padding:13px; margin-bottom:15px; border:1px solid var(--line); border-radius:12px; background:rgba(10,16,25,.35); }
.team-progress-copy { display:flex; align-items:baseline; gap:7px; margin-bottom:10px; }
.team-progress-copy strong { font-size:22px; }
.team-progress-copy span { color:var(--muted); font-size:11px; }
.team-progress-copy b { margin-left:auto; color:var(--accent-bright); font-size:12px; }
.team-player-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.toast-root {
  position:fixed; z-index:100; left:50%; bottom:90px; transform:translate(-50%,12px); max-width:calc(100% - 28px);
  padding:11px 15px; border:1px solid rgba(121,181,255,.28); border-radius:11px; color:#eaf3ff; background:#1c3045;
  font-size:11px; opacity:0; pointer-events:none; transition:opacity .18s ease,transform .18s ease;
}
.toast-root.is-visible { opacity:1; transform:translate(-50%,0); }
.loading-panel,.error-panel { display:grid; justify-items:center; gap:12px; padding:55px 20px; text-align:center; color:var(--muted); }
.loader { width:28px; height:28px; border:3px solid rgba(121,181,255,.17); border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.error-panel { border:1px solid rgba(238,130,139,.2); border-radius:16px; background:rgba(238,130,139,.06); }
.error-panel h2 { color:var(--text); }
.error-panel p { max-width:600px; margin:0; color:var(--muted); font-size:12px; }
@media(max-width:850px) {
  .player-grid,.team-player-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  .topbar { padding:9px 12px; }
  .brand-mark { width:36px; height:36px; flex-basis:36px; }
  .brand-copy strong { font-size:10px; }
  .brand-copy small { font-size:9px; max-width:160px; }
  .topbar-status { font-size:9px; gap:5px; }
  .main-content { padding:19px 13px 108px; }
  .hero-panel { min-height:218px; border-radius:19px; padding:22px 17px; gap:9px; }
  .hero-copy h1 { font-size:31px; }
  .hero-panel:after { top:27%; right:-7%; font-size:98px; }
  .hero-side { min-width:70px; }
  .hero-number { font-size:40px; }
  .hero-number-label { font-size:9px; }
  .stats-grid { gap:7px; }
  .stat-panel { padding:12px 8px 12px 12px; }
  .stat-value { font-size:21px; }
  .stat-label { font-size:9px; }
  .player-grid,.team-player-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .pack-panel { grid-template-columns:1fr; gap:16px; padding:15px; }
  .pack-art { min-height:140px; max-width:100%; }
  .pack-copy { min-width:0; }
  .pack-open-button { max-width:none; }
  .pack-result-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .player-card { min-height:225px; padding:8px; gap:8px; }
  .player-card-top { min-height:126px; }
  .player-visual--card { height:132px; }
  .player-name { font-size:12px; }
  .ovr-badge { min-width:42px; padding:6px; font-size:17px; }
  .role-pill,.count-pill,.soft-pill,.status-pill { font-size:8px; padding:4px 6px; }
  .filter-bar { grid-template-columns:1fr 1fr; gap:7px; }
  .filter-bar .field { grid-column:1/-1; }
  .page-heading { align-items:flex-start; }
  .modal-root:not(:empty) { padding:10px; }
  .modal { padding:15px; max-height:91vh; }
  .player-visual--profile { width:92px; height:112px; }
  .profile-head { gap:9px; padding:9px; }
  .profile-name { font-size:18px; }
  .attribute-row { grid-template-columns:104px minmax(40px,1fr) 25px; gap:7px; }
  .team-card { padding:9px; gap:8px; }
  .team-visual { width:45px; height:45px; flex-basis:45px; }
  .team-card-copy strong { font-size:11px; }
  .team-card-copy small { font-size:9px; }
}
@media(max-width:370px) {
  .topbar-status { max-width:90px; white-space:normal; line-height:1.2; }
  .brand-copy small { max-width:128px; }
  .hero-panel { align-items:flex-start; }
  .hero-side { padding-top:23px; }
  .hero-copy h1 { font-size:28px; }
  .player-card { min-height:210px; }
  .player-card-top { min-height:112px; }
  .player-visual--card { height:118px; }
  .player-card-bottom { gap:5px; }
  .team-grid { grid-template-columns:1fr; }
}
