/* BasketKrug — shared-server web application. No remote fonts or trackers. */
:root {
  color-scheme: light;
  --forest: #123e31; --forest-dark: #0c2d24; --forest-soft: #e8f0e9;
  --orange: #ed8b3c; --orange-dark: #b85418; --orange-soft: #fff0df;
  --ink: #223b32; --muted: #6b7b72; --subtle: #9ba69f;
  --canvas: #f6f7f2; --paper: #fff; --line: #e3e8df;
  --danger: #b6413e; --danger-soft: #fff1ee;
  --shadow: 0 8px 28px #1d3d2a06; --radius: 20px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
  font-size: 15px; line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
img { display: block; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .52; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #d97f32; outline-offset: 4px;
}
::selection { background: #f6d1a7; color: var(--forest-dark); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { letter-spacing: -.03em; }
p { margin-bottom: 1em; }
small { font-size: .8rem; }
.app-layout { min-height: 100dvh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; background: var(--forest-dark); color: #ecf2eb; padding: 35px 22px 22px; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 7px 43px; }
.brand-logo { width: 45px; height: 45px; flex: 0 0 45px; border-radius: 13px; }
.brand-word { font-size: 22px; font-weight: 750; letter-spacing: -.07em; line-height: 1.15; white-space: nowrap; }
.brand-tag { display: block; margin-top: 5px; color: #a4baad; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.sidebar-label { color: #718e7d; font-size: 8px; letter-spacing: .15em; font-weight: 700; padding: 0 16px; margin-bottom: 13px; }
.nav-label { flex: 1; }
.nav-lock { display: inline-flex; opacity: .5; }
.nav-lock .icon { width: 12px; height: 12px; }
.sidebar nav { display: grid; gap: 7px; }
.nav-link { border: 0; background: transparent; display: flex; gap: 13px; align-items: center; min-height: 48px; border-radius: 12px; padding: 12px 16px; font-weight: 550; color: #b7c9bd; transition: background .18s, color .18s; }
.nav-link:hover { color: #fff; background: #ffffff0b; }
.nav-link.active { color: #fff; background: #ffffff11; box-shadow: inset 3px 0 var(--orange); }
.nav-link.active .nav-icon { color: var(--orange); }
.nav-icon, .icon { width: 20px; height: 20px; flex: 0 0 20px; display: inline-flex; align-items: center; justify-content: center; }
.nav-icon svg, .icon svg { width: 100%; height: 100%; }
.sidebar-footer { margin-top: auto; border-top: 1px solid #ffffff13; padding: 23px 10px 0; font-size: 12px; color: #9db5a6; }
.sidebar-footer strong { color: #ecf2eb; font-size: 13px; }
.sidebar-footer p { margin-bottom: 12px; }
.sidebar-footer a:hover { color: #fff; }
.sidebar-footer .nav-link { padding-left: 0; font-size: 12px; }
.sidebar-footer .footer-links { margin-top: 10px; font-size: 10px; gap: 7px; display: grid; }
.sidebar-note { display: flex; gap: 11px; margin-bottom: 13px; }
.sidebar-note > .icon { width: 30px; height: 30px; flex-basis: 30px; color: #cbbd84; margin-top: 2px; }
.sidebar-note p { margin-bottom: 0; line-height: 1.6; font-size: 11px; }
.sidebar-note strong { font-size: 11px; }
.main-area { min-width: 0; }
.topbar { height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 42px; border-bottom: 1px solid var(--line); background: #fdfefb; }
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 9px; min-width: 0; }
.breadcrumb strong { color: var(--ink); font-weight: 550; }
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sync-label { color: var(--muted); font-size: 10px; display: inline-flex; align-items: center; gap: 7px; margin-right: 12px; }
.sync-label i { width: 5px; height: 5px; border-radius: 50%; background: #7fa065; }
.account-trigger { display: flex; gap: 9px; align-items: center; }
.account-mini-avatar { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 650; border-radius: 50%; color: var(--forest); background: #e6eddf; }
.account-trigger-copy { display: grid; }
.account-trigger-copy strong { font-size: 11px; font-weight: 650; }
.account-trigger-copy small { font-size: 9px; color: var(--muted); }
.account-trigger > .icon { width: 12px; height: 12px; color: var(--muted); }
.page { max-width: 1380px; margin: 0 auto; padding: 35px 42px 60px; animation: page-in .2s ease-out; }
.page-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 750; color: var(--muted); margin-bottom: 9px; }
.page-title { font-size: clamp(27px, 2.4vw, 36px); font-weight: 700; line-height: 1.18; margin: 0 0 10px; letter-spacing: -.045em; }
.page-description { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 0; max-width: 700px; }
.page-actions, .inline-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-actions { flex-shrink: 0; }
.button { min-height: 43px; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 13px; line-height: 1.3; white-space: normal; transition: background .18s, box-shadow .18s, transform .18s; background: #fff; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--forest); border-color: var(--forest); }
.button.primary:hover:not(:disabled) { background: #1c5341; box-shadow: 0 4px 12px #123e311a; }
.button.secondary { background: #fff; border-color: #dbe3d8; color: var(--forest); }
.button.secondary:hover:not(:disabled) { background: #f0f5ec; }
.button.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.button.ghost:hover:not(:disabled) { color: var(--forest); background: #e9efe5; }
.button.danger { color: var(--danger); background: var(--danger-soft); border-color: #f4d8d0; }
.button.small { min-height: 34px; font-size: 12px; padding: 7px 12px; border-radius: 9px; }
.button.icon-only { padding: 10px; min-width: 43px; }
.button .icon { width: 17px; height: 17px; flex-basis: 17px; }
.badge, .pill, .chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; background: var(--forest-soft); color: #49644e; font-size: 10px; font-weight: 650; line-height: 1.5; }
.badge.muted, .pill { background: #f0f2eb; color: var(--muted); }
.badge.green { background: #e8f2e6; color: #426b3b; }
.badge.orange { background: var(--orange-soft); color: #a45a22; }
.badge.red { background: var(--danger-soft); color: var(--danger); }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.card-header { padding: 22px 24px 17px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.card-title { font-size: 17px; font-weight: 650; letter-spacing: -.035em; margin: 0; }
.card-body { padding: 0 24px 24px; }
.card-body:first-child { padding-top: 24px; }
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid + .section-heading, .card + .section-heading { margin-top: 30px; }
.hero { position: relative; border-radius: 23px; overflow: hidden; isolation: isolate; padding: 35px 36px; background: var(--forest); color: #fff; min-height: 258px; margin-bottom: 26px; display: flex; align-items: center; gap: 20px; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 90% 40%, #659a6e25, transparent 50%); z-index: -1; }
.hero-content { flex: 1; min-width: 0; position: relative; z-index: 1; max-width: 620px; }
.hero-kicker { color: #c5d7bc; font-size: 10px; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; display: flex; gap: 7px; align-items: center; }
.hero-kicker::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.hero-title { font-size: clamp(28px, 2.8vw, 39px); line-height: 1.16; letter-spacing: -.05em; max-width: 550px; margin: 0 0 15px; font-weight: 650; }
.hero-description { color: #c2d4c7; max-width: 500px; font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero .button.primary { color: #183f2c; background: #f4a154; border-color: #f4a154; }
.hero .button.primary:hover:not(:disabled) { background: #ffb269; }
.hero .button.secondary { color: #edf4e8; border-color: #ffffff35; background: transparent; }
.hero .button.secondary:hover:not(:disabled) { background: #ffffff13; }
.button.light { color: #173d2a; background: #f3a45c; border-color: #f3a45c; }
.button.light:hover:not(:disabled) { background: #ffb56e; }
.button.ghost-light { color: #deeadc; background: transparent; border-color: #ffffff25; }
.button.ghost-light:hover:not(:disabled) { background: #ffffff12; }
.hero-dot { display: none; }
.hero-note { display: block; font-size: 11px; color: #a8c1b0; margin-top: 18px; }
.hero-note .icon { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.hero-graphic { position: relative; height: 240px; width: 270px; flex: 0 0 270px; display: flex; align-items: center; justify-content: center; align-self: center; }
.hero-orbit { position: absolute; width: 240px; height: 240px; border: 1px solid #ffffff1d; border-radius: 50%; transform: rotate(-22deg); }
.hero-orbit::before { content: ''; position: absolute; inset: 25px; border: 1px solid #ffffff1a; border-radius: 50%; }
.hero-orbit::after { content: ''; position: absolute; inset: -30px; border: 1px solid #ffffff0b; border-radius: 50%; }
.hero-ball { width: 145px; height: 145px; border: 2px solid #eed6a2; border-radius: 50%; background: #ef9342; position: relative; overflow: hidden; transform: rotate(-22deg); box-shadow: 12px 20px 32px #0002; }
.hero-ball::before { content: ''; position: absolute; left: 47%; top: -10%; width: 4%; height: 120%; background: #204c36; }
.hero-ball::after { content: ''; position: absolute; left: -10%; top: 47%; width: 120%; height: 4%; background: #204c36; }
.hero-ball span { position: absolute; width: 80%; height: 130%; top: -15%; border: 4px solid #204c36; border-radius: 50%; }
.hero-ball span:first-child { left: -49%; }
.hero-ball span:last-child { right: -49%; }
.hero-ball:has(> svg)::before, .hero-ball:has(> svg)::after { display: none; }
.hero-ball > .icon { position: absolute; inset: 0; width: 100%; height: 100%; color: #164733; stroke-width: 1; }
.hero-graphic-caption { position: absolute; bottom: -9px; left: 0; right: 0; text-align: center; color: #88a98f; font-size: 7px; letter-spacing: .2em; }
.court-mark { width: 32px; height: 32px; position: absolute; border: 1px solid #b9cc9b45; border-radius: 50%; }
.court-one { top: 17px; right: 26px; }
.court-two { bottom: 14px; left: 24px; width: 9px; height: 9px; background: #e99b4a; border: 0; }
.hero-graphic img { width: 152px; border-radius: 34px; box-shadow: 0 20px 35px #0002; transform: rotate(-12deg); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 26px 0 15px; }
.section-heading h2, .section-heading h3 { font-size: 19px; font-weight: 650; margin: 0; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.section-heading a { color: var(--forest); font-size: 12px; font-weight: 600; }
.stats-grid, .metric-grid { display: grid; gap: 13px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-tile { border: 1px solid var(--line); border-radius: 16px; padding: 19px 21px; background: #fff; min-width: 0; }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 550; margin-bottom: 9px; display: block; }
.stat-value { font-variant-numeric: tabular-nums; font-size: 29px; font-weight: 650; letter-spacing: -.05em; line-height: 1.1; }
.stat-unit { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; }
.stat-foot { display: block; color: var(--muted); font-size: 10px; margin-top: 8px; line-height: 1.4; }
.stat-foot .icon { width: 11px; height: 11px; vertical-align: -2px; }
.stat-tile > .stat-value { display: block; }
a.stat-tile:hover { border-color: #becdb5; }
.toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.toolbar .field { min-width: 150px; flex: 1 1 150px; margin-bottom: 0; }
.toolbar .search-field { min-width: 230px; flex: 2 1 230px; }
.search-field { position: relative; }
.search-field > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a9b8d; pointer-events: none; width: 18px; }
.search-field .input { padding-left: 42px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; min-width: 0; }
.field-label, label { font-size: 12px; color: #455c4d; font-weight: 600; }
.input, .select, .textarea, input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-width: 0; background: #fff; border: 1px solid #dce3d8; border-radius: 10px; color: var(--ink); padding: 11px 13px; min-height: 44px; transition: border-color .15s, box-shadow .15s; }
.input::placeholder, input::placeholder, .textarea::placeholder, textarea::placeholder { color: #98a298; font-weight: 400; }
.input:hover, .select:hover, .textarea:hover { border-color: #abbcab; }
.input:focus, .select:focus, .textarea:focus, input:focus, select:focus, textarea:focus { border-color: #54795d; box-shadow: 0 0 0 3px #54795d12; outline-offset: 2px; }
.textarea, textarea { resize: vertical; min-height: 145px; line-height: 1.65; }
.select, select { padding-right: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full-width { grid-column: 1 / -1; }
.help-text { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; margin: 0; }
.form-error { color: var(--danger); font-size: 12px; margin-top: 7px; }
.alert { border-radius: 12px; border: 1px solid var(--line); padding: 13px 16px; font-size: 12px; line-height: 1.6; margin: 16px 0; }
.alert p:last-child { margin-bottom: 0; }
.alert.info { color: #587047; background: #eff4e8; border-color: #e3ead8; }
.alert.error { color: #9b443c; background: var(--danger-soft); border-color: #f4d8d0; }
.alert.success { color: #436a43; background: #eaf4e7; border-color: #d8e9d2; }
.empty-state { display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; padding: 48px 24px; min-height: 215px; gap: 6px; }
.empty-state h2, .empty-state h3 { font-size: 19px; margin: 8px 0 2px; }
.empty-state p { color: var(--muted); max-width: 460px; font-size: 13px; line-height: 1.65; margin: 0 0 14px; }
.empty-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #f0f3e9; border: 1px solid #e7eddf; border-radius: 17px; color: #839778; }
.empty-icon .icon { width: 24px; height: 24px; flex-basis: 24px; }
.loading { padding: 60px 20px; color: var(--muted); text-align: center; font-size: 13px; }
.loading::before { content: ''; display: block; width: 25px; height: 25px; border: 2px solid #dfe8dc; border-top-color: var(--forest); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
.skeleton { border-radius: 8px; background: linear-gradient(100deg, #ebeee5 30%, #f7f8f3 50%, #ebeee5 70%); background-size: 250% 100%; animation: shimmer 1.6s infinite; min-height: 18px; }
.player-list { display: grid; gap: 0; }
.player-row { display: flex; align-items: center; gap: 14px; padding: 17px 21px; min-width: 0; border-bottom: 1px solid #edf0e8; transition: background .15s; }
.player-row:last-child { border-bottom: 0; }
a.player-row:hover { background: #f8faf3; }
.player-avatar, .profile-avatar, .account-avatar { width: 43px; height: 43px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #eaf0e4; color: #52714e; font-size: 13px; font-weight: 650; letter-spacing: -.03em; flex: 0 0 43px; }
.player-row > :nth-child(2) { min-width: 0; flex: 1; }
.player-name { font-size: 13px; font-weight: 600; line-height: 1.4; }
.player-meta { color: var(--muted); font-size: 11px; margin-top: 4px; line-height: 1.45; }
.player-info .player-meta { display: block; }
.player-team-text { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.player-row > .icon:last-child { width: 14px; height: 14px; flex-basis: 14px; color: #a5b19d; }
.watch-indicator { display: inline-flex; margin-left: 6px; color: #c8843d; vertical-align: -2px; }
.watch-indicator .icon { width: 12px; height: 12px; }
.directory-header { padding: 13px 53px 12px 22px; background: #fafbf6; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 9px; font-weight: 650; color: #819079; letter-spacing: .07em; text-transform: uppercase; }
.directory-card .pagination { padding: 18px 22px; border-top: 1px solid var(--line); }
.directory-card + .help-text { margin: 15px 0; }
.player-meta span + span::before { content: ' · '; color: var(--subtle); }
.player-numbers { display: flex; align-items: center; justify-content: flex-end; gap: 25px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.player-number { text-align: right; font-size: 16px; font-weight: 650; min-width: 35px; }
.player-number small { display: block; color: var(--muted); font-size: 10px; font-weight: 450; }
.player-numbers:has(>strong) { display: grid; gap: 2px; text-align: right; }
.player-numbers > strong { font-size: 16px; }
.player-numbers > small { color: var(--muted); font-size: 9px; }
.team-grid, .saved-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 22px; display: flex; flex-direction: column; min-width: 0; gap: 10px; transition: box-shadow .18s, border-color .18s; }
.team-card:hover { border-color: #bdccb6; box-shadow: 0 7px 22px #14351a09; }
.team-title { font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.team-meta { font-size: 11px; color: var(--muted); line-height: 1.65; }
.team-card .chip-list { margin-top: auto; padding-top: 12px; }
.team-card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 8px; }
.team-emblem { display: inline-flex; align-items: center; justify-content: center; background: #eff2e9; color: #758d63; border-radius: 13px; width: 40px; height: 40px; }
.team-emblem .icon { width: 21px; height: 21px; }
.team-title, .team-meta { margin-bottom: 0; }
.team-card-top .badge .icon { width: 11px; height: 11px; }
.team-card-link { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: #58744a; margin-top: 10px; border-top: 1px solid #edf0e8; padding-top: 14px; }
.team-card-link .icon { width: 13px; height: 13px; }
.game-list { display: grid; gap: 13px; }
.game-card { display: block; border: 1px solid var(--line); background: #fff; padding: 19px 22px; border-radius: 16px; transition: border-color .18s, box-shadow .18s; min-width: 0; }
a.game-card:hover { border-color: #bdccb6; box-shadow: 0 5px 18px #14351a08; }
.game-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 10px; color: var(--muted); }
.game-matchup { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin: 18px 0; }
.game-team { font-size: 14px; font-weight: 650; line-height: 1.4; }
.game-team:last-child { text-align: right; }
.game-score { font-size: 23px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--forest); white-space: nowrap; letter-spacing: -.05em; text-align: center; }
.game-score small { font-size: 11px; color: var(--muted); font-weight: 450; display: block; letter-spacing: 0; }
.game-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.game-bottom > span { display: inline-flex; align-items: center; gap: 5px; }
.game-bottom .icon { width: 12px; height: 12px; flex-basis: 12px; }
.games-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-card > .game-card, .game-detail-card > .game-card { border: 0; border-radius: 0; padding: 23px 26px; }
.event-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: #fbfcf7; border-top: 1px solid var(--line); }
.event-footer .button { flex-shrink: 0; }
.event-footer .help-text { font-size: 10px; }
.event-card .empty-state { min-height: 195px; padding: 29px 22px; }
.game-detail-card .game-matchup { margin: 30px 0; gap: 25px; }
.game-detail-card .game-team { font-size: 21px; }
.game-detail-card .game-score { font-size: 37px; }
.game-detail-actions { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.protocol-card { margin-bottom: 20px; }
.card-header > h2 { font-size: 17px; margin: 0; }
.staff-list { display: grid; gap: 13px; }
.staff-list > div { display: flex; gap: 12px; justify-content: space-between; align-items: center; font-size: 12px; }
.staff-list span { color: var(--muted); font-size: 11px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.detail-layout > * { min-width: 0; }
.detail-main, .detail-aside { display: grid; gap: 20px; min-width: 0; }
.detail-layout + .card, .card + .sources-details { margin-top: 22px; }
.back-link { margin: -6px 0 18px -11px; }
.profile-header { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 25px; }
.profile-header.card { padding: 25px; overflow: visible; }
.profile-avatar { width: 72px; height: 72px; flex-basis: 72px; font-size: 24px; border-radius: 22px; }
.profile-title { font-size: 30px; line-height: 1.2; margin: 0 0 7px; letter-spacing: -.05em; }
.profile-header > .profile-title { flex: 1; min-width: 180px; margin: 0; }
.profile-title h1 { font-size: inherit; line-height: 1.2; margin: 0 0 9px; }
.profile-title .chip-list { margin-top: 12px; }
.profile-title .chip { letter-spacing: 0; }
.profile-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.profile-actions { margin-left: auto; display: flex; gap: 8px; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 18px 0 23px; overflow-x: auto; }
.tab { background: transparent; padding: 13px 0; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; white-space: nowrap; font-weight: 550; }
.tab.active { color: var(--forest); border-bottom-color: var(--forest); }
.tabs > a.tab { display: inline-flex; align-items: center; gap: 8px; }
.tabs > a.tab .icon { width: 16px; height: 16px; flex-basis: 16px; }
.tabs > a.tab > span { background: #edf1e7; color: #819079; border-radius: 5px; padding: 1px 5px; font-size: 9px; line-height: 1.5; }
.tabs > a.tab.active > span { color: #355839; background: #e4eddd; }
.segmented { display: inline-flex; background: #edf1e7; padding: 4px; border-radius: 10px; gap: 2px; }
.segmented button { border: 0; background: transparent; padding: 7px 13px; font-size: 11px; color: var(--muted); border-radius: 7px; font-weight: 600; }
.segmented button.active, .segmented button[aria-pressed=true] { background: #fff; color: var(--forest); box-shadow: 0 1px 4px #183c2410; }
.coverage-note { color: #7c755e; background: #f6f4e8; border: 1px solid #eae6d1; border-radius: 12px; padding: 13px 15px; font-size: 11px; line-height: 1.65; margin: 17px 0; }
.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0; }
.metric-grid .stat-tile { padding: 17px; }
.metric-grid .stat-value { font-size: 25px; }
.shooting-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shooting-row { padding: 8px 0; font-size: 12px; }
.shooting-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.shooting-row strong { font-variant-numeric: tabular-nums; }
.shooting-value { font-size: 17px; font-weight: 650; letter-spacing: -.03em; }
.shooting-track { display: block; width: 100%; height: 5px; margin: 7px 0 11px; }
.stat-summary { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 3px 0 16px; color: var(--muted); font-size: 11px; }
.stat-summary strong { color: var(--ink); }
.progress-track { height: 6px; border-radius: 5px; background: #eef2e8; margin: 11px 0 7px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: #7b9b69; max-width: 100%; }
.table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table th { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: #819079; font-weight: 650; background: #f9faf5; }
.data-table td, .data-table th { padding: 13px 15px; border-bottom: 1px solid #edf0e8; text-align: right; }
.data-table td:first-child, .data-table th:first-child { text-align: left; padding-left: 22px; }
.data-table td:last-child, .data-table th:last-child { padding-right: 22px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcf6; }
.data-table a { color: var(--forest); font-weight: 600; }
.data-table a:hover { text-decoration: underline; }
.table-muted { color: var(--muted); font-size: 10px; display: block; margin-top: 3px; font-weight: 400; }
.history-chart { padding: 22px 0 0; overflow-x: auto; }
.history-chart > svg { display: block; width: 100%; min-width: 520px; max-width: none; font-size: 13px; }
.history-chart > svg .chart-value { position: static; font-size: 14px; }
.history-chart > svg .chart-label { font-size: 12px; }
.chart-column:hover .chart-bar { fill: var(--orange); }
.chart-bars { display: flex; align-items: flex-end; gap: 14px; height: 155px; min-width: 240px; border-bottom: 1px solid #dce4d8; padding: 0 9px; }
.chart-bar { position: relative; background: #b4c7a4; border-radius: 5px 5px 0 0; min-width: 16px; max-width: 44px; flex: 1; min-height: 2px; transition: background .15s; }
.chart-bar:hover { background: var(--forest); }
.chart-value { position: absolute; top: -23px; width: 100%; text-align: center; color: #607553; font-size: 10px; }
.chart-label { color: var(--muted); font-size: 9px; white-space: nowrap; }
.chart-labels { display: flex; gap: 14px; padding: 9px 9px 0; min-width: 240px; }
.chart-labels .chart-label { flex: 1; min-width: 16px; max-width: 44px; text-align: center; }
.timeline-list { display: grid; }
.timeline-row { padding: 15px 0; border-bottom: 1px solid #edf0e8; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; }
.timeline-row:last-child { border-bottom: 0; }
.note-form .textarea { min-height: 190px; }
.note-footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 11px; }
.note-footer span { color: var(--muted); font-size: 10px; }
.source-list { display: grid; gap: 12px; }
.source-card { padding: 14px 0; border-bottom: 1px solid #edf0e8; font-size: 11px; line-height: 1.65; color: var(--muted); }
.source-card:last-child { padding-bottom: 0; border-bottom: 0; }
.source-name { color: var(--ink); font-size: 12px; font-weight: 650; display: block; margin-bottom: 5px; }
.source-heading { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 7px; }
.source-heading .source-name { margin-bottom: 0; }
.source-card p { margin-bottom: 8px; }
.source-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.source-link .icon { width: 13px; height: 13px; flex-basis: 13px; }
.sources-details > summary { cursor: pointer; list-style: none; }
.sources-details > summary::-webkit-details-marker { display: none; }
.sources-details > summary::after { content: '+'; color: var(--muted); font-size: 22px; font-weight: 400; }
.sources-details[open] > summary::after { content: '−'; }
.coverage-note { display: flex; align-items: flex-start; gap: 10px; }
.coverage-note .icon { width: 16px; height: 16px; flex-basis: 16px; margin-top: 2px; }
.coverage-note p { margin-bottom: 0; }
.note-form > .button.primary { margin-top: 16px; width: 100%; }
.note-form + .help-text { margin-top: 13px; }
.source-card a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.account-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 22px; align-items: start; }
.account-card { padding: 26px; }
.account-profile { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.account-profile .badge { margin-top: 10px; }
.account-actions { margin-top: 23px; }
.account-actions .button { width: 100%; }
.account-row > strong { font-weight: 550; max-width: 65%; line-height: 1.6; }
.danger-zone { margin-top: 21px; padding: 23px 25px; border-color: #eadfd7; background: #fffcf8; }
.danger-zone h3 { font-size: 16px; margin-bottom: 10px; }
.danger-zone p { font-size: 12px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.account-avatar { width: 60px; height: 60px; flex-basis: 60px; font-size: 22px; border-radius: 18px; margin-bottom: 17px; }
.account-name { font-size: 22px; margin: 0 0 6px; line-height: 1.3; font-weight: 650; }
.account-meta { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.account-row { display: flex; justify-content: space-between; align-items: start; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.account-row:last-child { border-bottom: 0; }
.account-row > :first-child { color: var(--muted); }
.account-row > :last-child { text-align: right; overflow-wrap: anywhere; }
.admin-list { display: grid; }
.card > .admin-list { padding: 0 24px; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.admin-row:last-child { border-bottom: 0; }
.admin-info { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
.admin-info { flex: 1; }
.admin-info > span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.admin-info small { color: var(--muted); display: block; margin-top: 4px; font-size: 11px; }
.invite-code { background: #f2f5ec; border: 1px dashed #9db291; border-radius: 12px; padding: 17px; font: 650 21px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-align: center; overflow-wrap: anywhere; }
.invite-result { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 3px; }
.invite-result > h3 { font-size: 18px; margin: 16px 0 8px; }
.invite-result > p { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.invite-code { display: block; max-width: 100%; white-space: pre-wrap; word-break: break-word; }
.invite-result .inline-actions { margin: 14px 0 16px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 21px; }
.pagination-info { color: var(--muted); font-size: 11px; }
.pagination .inline-actions { gap: 7px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1000px; margin: 32px auto; align-items: center; }
.auth-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 24px; margin-bottom: 9px; }
.auth-card .button.primary { width: 100%; margin-top: 4px; }
.auth-intro h1 { font-size: 39px; line-height: 1.18; letter-spacing: -.055em; margin-bottom: 20px; }
.auth-intro h1 { white-space: pre-line; }
.auth-benefits { display: grid; gap: 12px; margin-top: 25px; }
.auth-benefits > div { display: flex; align-items: center; gap: 10px; color: #556f4b; font-size: 12px; }
.auth-benefits .icon { width: 17px; height: 17px; flex-basis: 17px; }
.auth-card > form { margin-top: 24px; }
.auth-card > .auth-switch { padding-top: 20px; margin: 22px 0 15px; border-top: 1px solid var(--line); border-bottom: 0; display: block; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auth-card > .auth-switch a, .auth-card .help-text a { color: var(--forest); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }
.auth-intro p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.auth-intro .eyebrow { color: var(--orange-dark); }
.access-card { padding: 31px; }
.access-card > .empty-icon { margin-bottom: 22px; }
.access-card h2 { font-size: 29px; line-height: 1.25; margin-bottom: 17px; }
.access-card > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.75; }
.access-card .hero-actions { margin: 23px 0 20px; }
.access-card a:not(.button) { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.feature-grid { margin-top: 23px; }
.feature-card { padding: 25px; }
.feature-card > .icon { width: 25px; height: 25px; color: #6b885c; margin-bottom: 19px; }
.feature-card h3 { font-size: 16px; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 0; }
.feature-item { display: flex; align-items: start; gap: 16px; padding: 17px 0; }
.feature-item > .icon { margin-top: 3px; width: 23px; height: 23px; flex-basis: 23px; color: #7a925f; }
.feature-item h3 { font-size: 16px; margin-bottom: 7px; }
.feature-item p { font-size: 12px; }
.auth-switch { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.auth-switch button { border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.auth-switch button.active { color: var(--forest); border-bottom-color: var(--forest); }
.password-field { position: relative; }
.password-field input { padding-right: 46px; }
.password-field button { position: absolute; right: 5px; top: 4px; height: 36px; width: 36px; border: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--muted); }
.password-field button:hover { background: #f1f4ec; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 23px; color: var(--muted); font-size: 11px; }
.footer-links a:hover { text-decoration: underline; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #99a38f; font-size: 10px; margin: 0 42px; padding: 20px 0 24px; border-top: 1px solid var(--line); }
.page-footer a { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--forest); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.table-strong { font-weight: 700; color: var(--forest); }
.skip-link { position: fixed; top: -80px; left: 15px; padding: 12px 18px; background: var(--forest); color: #fff; z-index: 120; border-radius: 10px; font-size: 13px; }
.skip-link:focus { top: 15px; }
.toast-region { position: fixed; right: 25px; bottom: 25px; z-index: 100; display: grid; gap: 9px; max-width: min(400px, calc(100vw - 32px)); }
.toast { color: #fff; background: var(--forest); border: 1px solid #ffffff22; box-shadow: 0 8px 30px #123e3126; border-radius: 13px; padding: 14px 18px; font-size: 12px; line-height: 1.55; animation: page-in .2s ease-out; }
.toast { display: flex; align-items: flex-start; gap: 9px; }
.toast .icon { width: 17px; height: 17px; flex-basis: 17px; margin-top: 1px; }
.toast.error { background: #98423a; }
.mobile-only, .mobile-brand, .mobile-nav { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.error-layout { max-width: 560px; margin: 70px auto; text-align: center; }
.dialog { border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100vw - 32px)); width: 100%; overflow: visible; }
.dialog::backdrop { background: #0b251a66; backdrop-filter: blur(3px); }
.dialog-backdrop { position: fixed; inset: 0; background: #0b251a66; backdrop-filter: blur(3px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.dialog-card { border-radius: 22px; background: #fff; width: 100%; max-width: 510px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 28px; box-shadow: 0 25px 70px #0a281f33; }
.dialog-card h2 { font-size: 23px; margin-bottom: 12px; }
.dialog-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.dialog-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px; }
.confirm-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; font-weight: 450; line-height: 1.65; color: var(--muted); padding: 2px 0; }
.confirm-checkbox input[type=checkbox] { appearance: auto; width: 16px; height: 16px; min-height: 16px; flex: 0 0 16px; margin: 3px 0 0; accent-color: var(--forest); padding: 0; }
.saved-player-card, .saved-team-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 21px; min-width: 0; }
.saved-player-card.card { padding: 0; display: flex; flex-direction: column; }
.saved-player-card .player-row { align-items: flex-start; padding: 20px 18px; }
.saved-player-card .player-row .player-numbers, .saved-player-card .player-row > .icon:last-child { display: none; }
.saved-player-card .player-row .player-avatar { margin: 0; }
.saved-note { margin: 0; padding: 18px 20px; }
.saved-note p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.75; }
.saved-card-link { padding: 0 20px 20px; margin-top: auto; font-size: 11px; }
.saved-card-link .icon { width: 13px; height: 13px; }
.unavailable-card { padding: 24px; }
.unavailable-card h3 { font-size: 16px; }
.unavailable-card p { font-size: 12px; color: var(--muted); }
.saved-player-card .player-avatar { margin-bottom: 15px; }
.saved-player-card .player-name { font-size: 15px; }
.saved-player-card p { font-size: 12px; color: var(--muted); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.saved-player-card .inline-actions, .saved-team-card .inline-actions { padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--line); }
.offline-banner { position: sticky; top: 0; padding: 9px 18px; font-size: 12px; text-align: center; color: #9f4b25; background: #fff0db; border-bottom: 1px solid #f0dcc2; z-index: 35; }
.text-muted { color: var(--muted); }
.text-small { font-size: 12px; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.stack { display: grid; gap: 20px; }
.nowrap { white-space: nowrap; }
.wrap-anywhere { overflow-wrap: anywhere; }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (min-width: 1550px) { .page { padding-top: 42px; } }
@media (max-width: 1250px) {
  .app-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding-left: 15px; padding-right: 15px; }
  .brand-word { font-size: 20px; }
  .brand-logo { width: 39px; height: 39px; flex-basis: 39px; }
  .topbar { padding: 0 28px; }
  .page { padding: 29px 28px 50px; }
  .hero { padding: 29px; }
  .hero-graphic { width: 200px; flex-basis: 200px; }
  .games-catalog { grid-template-columns: minmax(0, 1fr); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; }
  .card-header { padding: 19px 20px 16px; }
  .card-body { padding: 0 20px 20px; }
  .stats-grid { gap: 10px; }
  .stat-tile { padding: 17px; }
  .team-grid, .saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-grid { grid-template-columns: 310px minmax(0, 1fr); }
  .page-footer { margin: 0 28px; }
}
@media (max-width: 1020px) {
  .app-layout { grid-template-columns: 202px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .brand { gap: 9px; margin-left: 4px; }
  .brand-word { font-size: 18px; }
  .brand-tag { font-size: 8px; }
  .nav-link { font-size: 13px; gap: 10px; padding: 11px 14px; }
  .topbar { padding: 0 24px; }
  .page { padding: 27px 24px 45px; }
  .hero { padding: 28px; }
  .hero-graphic { opacity: .7; position: absolute; right: -70px; top: 22px; z-index: -1; }
  .hero-content { max-width: 86%; }
  .hero-title { font-size: 32px; }
  .hero-description { max-width: 430px; }
  .detail-layout, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-layout > aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-heading { align-items: flex-start; }
  .page-actions { flex-shrink: 1; }
  .auth-layout { grid-template-columns: 1fr; max-width: 500px; gap: 25px; margin: 10px auto; }
  .auth-intro h1 { font-size: 31px; }
  .auth-intro p { margin-bottom: 0; }
}
@media (max-width: 760px) {
  :root { font-size: 14px; }
  .app-layout { display: block; }
  .sidebar { display: none; }
  .main-area { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .topbar { height: 69px; padding: 0 20px; background: #fcfdf9; }
  .breadcrumb { display: none; }
  .mobile-brand { display: flex; gap: 9px; align-items: center; }
  .mobile-brand img { width: 34px; height: 34px; border-radius: 10px; }
  .mobile-brand .brand-word { font-size: 19px; }
  .mobile-brand > strong { font-size: 19px; letter-spacing: -.06em; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .button { font-size: 12px; padding: 8px 12px; min-height: 36px; }
  .topbar-actions .badge { display: none; }
  .account-trigger-copy, .account-trigger > .icon { display: none; }
  .page { padding: 25px 18px 30px; }
  .page-heading { margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
  .page-title { font-size: 29px; margin-bottom: 8px; }
  .page-description { font-size: 12px; line-height: 1.65; }
  .eyebrow { font-size: 9px; margin-bottom: 8px; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
  .hero { border-radius: 18px; padding: 27px 24px; min-height: 260px; margin-bottom: 22px; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 30px; max-width: 310px; }
  .hero-description { font-size: 12px; max-width: 330px; }
  .hero-graphic { right: -120px; top: 65px; opacity: .25; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: 12px; min-height: 42px; padding: 10px 13px; }
  .hero-note { font-size: 10px; margin-top: 15px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .stat-tile { padding: 17px 18px; border-radius: 13px; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 27px; }
  .stat-foot { font-size: 10px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .grid, .stack { gap: 16px; }
  .section-heading { margin-top: 24px; }
  .section-heading h2, .section-heading h3 { font-size: 18px; }
  .section-heading p { font-size: 10px; }
  .section-heading a { font-size: 11px; }
  .card { border-radius: 16px; }
  .card-header { padding: 19px 18px 15px; gap: 10px; }
  .card-title { font-size: 16px; }
  .card-body { padding: 0 18px 20px; }
  .card-body:first-child { padding-top: 20px; }
  .toolbar { gap: 10px; margin-bottom: 16px; }
  .toolbar .field { min-width: 130px; flex-basis: 130px; }
  .toolbar .search-field { flex-basis: 100%; min-width: 0; }
  .input, .select, .textarea, input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; min-height: 45px; padding: 11px 12px; }
  .search-field .input { padding-left: 40px; }
  .field-label, label { font-size: 11px; }
  .button { min-height: 44px; }
  .button.small { min-height: 36px; }
  .player-row { gap: 12px; padding: 16px; }
  .player-avatar { width: 39px; height: 39px; flex-basis: 39px; border-radius: 12px; font-size: 12px; }
  .player-name { font-size: 12px; }
  .player-meta { font-size: 10px; }
  .player-numbers { gap: 13px; }
  .player-number { min-width: 22px; font-size: 14px; }
  .player-number small { font-size: 9px; }
  .team-grid, .saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-card { padding: 17px; border-radius: 14px; gap: 8px; }
  .team-title { font-size: 15px; }
  .team-meta { font-size: 10px; }
  .game-card { padding: 16px 17px; border-radius: 14px; }
  .game-top { font-size: 9px; }
  .game-matchup { gap: 12px; margin: 17px 0; }
  .game-team { font-size: 12px; }
  .game-score { font-size: 22px; }
  .game-bottom { font-size: 10px; flex-wrap: wrap; }
  .game-detail-card .game-team { font-size: 15px; }
  .game-detail-card .game-score { font-size: 29px; }
  .game-detail-card .game-matchup { gap: 14px; margin: 25px 0; }
  .event-card > .game-card, .game-detail-card > .game-card { padding: 19px; }
  .event-footer { padding: 13px 18px; flex-wrap: wrap; }
  .game-detail-actions { padding: 14px 18px; }
  .directory-header { padding: 12px 43px 12px 17px; }
  .directory-card .pagination { padding: 16px; }
  .profile-header { gap: 15px; margin-bottom: 20px; }
  .profile-header.card { padding: 20px; }
  .profile-avatar { width: 59px; height: 59px; flex-basis: 59px; font-size: 20px; border-radius: 18px; }
  .profile-title { font-size: 24px; }
  .profile-meta { font-size: 11px; gap: 6px; }
  .profile-actions { margin-left: 0; width: 100%; }
  .profile-actions .button { flex: 1; }
  .detail-layout > aside { grid-template-columns: minmax(0, 1fr); }
  .tabs { gap: 22px; margin: 15px 0 20px; }
  .tab { font-size: 12px; }
  .metric-grid { gap: 9px; }
  .metric-grid .stat-tile { padding: 15px 13px; }
  .metric-grid .stat-value { font-size: 22px; }
  .metric-grid .stat-label { font-size: 9px; }
  .shooting-grid { gap: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shooting-row { font-size: 10px; }
  .data-table { font-size: 11px; }
  .data-table td, .data-table th { padding: 13px 12px; }
  .data-table td:first-child, .data-table th:first-child { padding-left: 17px; }
  .account-card { padding: 22px; }
  .danger-zone { padding: 21px; }
  .card > .admin-list { padding: 0 18px; }
  .admin-info { font-size: 12px; }
  .admin-row > .account-mini-avatar { display: none; }
  .admin-row > .badge { font-size: 9px; padding: 3px 6px; }
  .auth-benefits { gap: 10px; margin-top: 20px; }
  .auth-benefits > div { font-size: 11px; }
  .admin-row { gap: 12px; align-items: flex-start; }
  .admin-row .inline-actions { flex-direction: column; align-items: stretch; }
  .pagination { flex-wrap: wrap; padding-top: 17px; gap: 12px; }
  .pagination-info { font-size: 10px; }
  .auth-layout { margin-top: 0; gap: 23px; }
  .auth-intro h1 { font-size: 31px; }
  .auth-intro p { font-size: 12px; }
  .auth-card { padding: 24px; border-radius: 18px; }
  .auth-card h2 { font-size: 23px; }
  .access-card { padding: 24px; }
  .access-card h2 { font-size: 26px; }
  .feature-card { padding: 23px; }
  .feature-card > .icon { margin-bottom: 14px; }
  .page-footer { margin: 0 18px; padding: 16px 0 22px; font-size: 9px; flex-wrap: wrap; }
  .page-footer > span:nth-child(2) { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; border-top: 1px solid #dfe6d8; background: #fcfdf9f5; backdrop-filter: blur(16px); padding: 9px 7px calc(9px + env(safe-area-inset-bottom)); }
  .mobile-nav .nav-link { display: flex; flex-direction: column; justify-content: center; gap: 4px; border-radius: 10px; min-height: 49px; padding: 6px 1px; font-size: 9px; color: #829078; font-weight: 550; }
  .mobile-nav .nav-link.active { color: var(--forest); background: #edf3e6; box-shadow: none; }
  .mobile-nav .nav-link.active .nav-icon { color: var(--forest); }
  .mobile-nav .nav-icon { width: 19px; height: 19px; flex-basis: 19px; }
  .mobile-nav > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; min-height: 49px; padding: 6px 1px; font-size: 9px; color: #829078; font-weight: 550; }
  .mobile-nav > a.active { color: var(--forest); background: #edf3e6; }
  .mobile-nav > a .icon { width: 19px; height: 19px; flex-basis: 19px; }
  .mobile-only { display: initial; }
  .desktop-only { display: none !important; }
  .toast-region { bottom: calc(89px + env(safe-area-inset-bottom)); left: 16px; right: 16px; max-width: none; }
  .dialog-card { padding: 24px; border-radius: 18px; }
  .dialog-actions { gap: 8px; }
  .dialog-actions .button { flex: 1; }
  .saved-player-card, .saved-team-card { padding: 17px; }
  .saved-player-card.card { padding: 0; }
  .saved-player-card .player-row { padding: 18px 17px; }
  .saved-note { padding: 16px 18px; }
  .saved-card-link { padding: 0 18px 18px; }
  .footer-links { gap: 8px 14px; font-size: 10px; }
}
@media (max-width: 420px) {
  .page { padding-left: 15px; padding-right: 15px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 25px 21px; }
  .hero-title { font-size: 28px; }
  .team-grid, .saved-grid { grid-template-columns: minmax(0, 1fr); }
  .player-numbers .player-number:nth-child(n+2) { display: none; }
  .profile-title { font-size: 22px; }
  .game-matchup { gap: 9px; }
  .game-team { font-size: 11px; }
  .shooting-grid { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .shooting-row { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .topbar, .mobile-nav, .page-actions, .profile-actions, .toast-region, .button, .footer-links { display: none !important; }
  .app-layout { display: block; }
  .page { padding: 0; }
  .card { break-inside: avoid; box-shadow: none; }
  body { background: #fff; }
}
