:root {
  color-scheme: light;
  --navy: #071426;
  --navy-2: #102743;
  --blue: #4b9eff;
  --blue-soft: #eaf3ff;
  --gold: #e8b854;
  --ink: #152438;
  --muted: #718096;
  --line: #e6eaf0;
  --surface: #ffffff;
  --canvas: #f4f6f9;
  --green: #15845c;
  --red: #c75252;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #91c4ff; outline-offset: 2px; }
.app-shell { min-height: 100dvh; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.topbar { height: 72px; background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1080px) / 2)); }
.brand { display: flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #142c49; color: var(--gold); }
.brand-name { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .08em; }
.brand-caption { color: #9eb1c9; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.tournament-select { appearance: none; max-width: 180px; border: 1px solid #2a3c53; background: #11233a; border-radius: 10px; color: #e4ecf5; padding: 9px 30px 9px 11px; font-size: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23b8c6d6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.top-new { border: 1px solid #33475f; background: transparent; color: white; border-radius: 10px; padding: 10px 13px; font-size: 12px; font-weight: 700; }
.top-new:hover { background: #162b45; }
.top-share, .top-join { border: 1px solid #33475f; background: #142b46; color: #eaf2fb; border-radius: 10px; padding: 10px 12px; font-size: 12px; font-weight: 700; }
.top-share { color: #f2cb79; }
.top-share:hover, .top-join:hover { background: #1b385a; }
.sync-status { color: #9eb1c9; font-size: 10px; white-space: nowrap; }
.sync-status.pending { color: #f2cb79; }
.main { width: min(100% - 40px, 1020px); margin: 0 auto; padding: 28px 0 48px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; margin: 2px 0 20px; }
.eyebrow { color: #7990ab; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.page-heading h1 { font-size: clamp(25px, 4vw, 32px); letter-spacing: -.045em; margin: 5px 0 0; }
.page-subtitle { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; padding: 12px 16px; font-size: 13px; font-weight: 700; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #173454; }
.btn-gold { background: var(--gold); color: #172538; }
.btn-light { background: #f0f4f8; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 9px 12px; font-size: 12px; border-radius: 9px; }
.icon { display: inline-grid; place-items: center; flex: none; }
.panel { background: var(--surface); border: 1px solid #ebeff4; border-radius: 18px; box-shadow: 0 5px 20px rgba(22, 42, 67, .035); }
.overview-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 235px; min-height: 250px; padding: 30px 34px; border-radius: 22px; background: radial-gradient(circle at 80% 14%, rgba(86, 157, 224, .25), transparent 31%), linear-gradient(115deg, #0b1c32 0%, #112d4c 65%, #10243d 100%); color: white; }
.overview-hero::after { content: ''; position: absolute; right: 10%; top: -100px; width: 260px; height: 420px; transform: rotate(27deg); border-left: 1px solid rgba(183, 212, 244, .11); border-right: 1px solid rgba(183, 212, 244, .08); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; align-self: center; max-width: 520px; }
.hero-tag { color: #f0ca7a; font-size: 10px; letter-spacing: .19em; font-weight: 700; text-transform: uppercase; }
.overview-hero h1 { font-size: clamp(27px, 5vw, 42px); line-height: 1.08; letter-spacing: -.05em; margin: 13px 0 10px; }
.hero-meta { color: #b0c2d8; font-size: 13px; }
.hero-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hero-progress { width: 116px; height: 4px; background: #38516e; border-radius: 5px; overflow: hidden; }
.hero-progress span { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.hero-progress-copy { color: #c3d1e1; font-size: 11px; }
.hero-emblem { position: relative; z-index: 1; align-self: center; justify-self: center; display: grid; place-items: center; width: 166px; height: 166px; border: 1px solid rgba(232, 184, 84, .3); border-radius: 50%; box-shadow: 0 0 0 13px rgba(232,184,84,.035), 0 0 60px rgba(83,152,218,.17); color: var(--gold); }
.hero-emblem::before, .hero-emblem::after { content: ''; position: absolute; border: 1px solid rgba(232,184,84,.16); border-radius: 50%; inset: 12px; }
.hero-emblem::after { inset: 25px; border-color: rgba(232,184,84,.11); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.stat-card { padding: 17px 18px; }
.stat-label { color: #7e8b9c; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stat-value { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.05em; margin-top: 8px; }
.stat-note { color: var(--muted); font-size: 11px; margin-top: 3px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 16px; margin-top: 17px; }
.section-card { padding: 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 16px; letter-spacing: -.025em; margin: 0; }
.text-link { border: 0; padding: 4px; background: transparent; color: #347cc7; font-size: 11px; font-weight: 700; }
.empty-inline { color: var(--muted); font-size: 12px; padding: 18px 4px; }
.next-match { padding: 14px; background: #f7f9fb; border-radius: 14px; }
.next-meta { color: #8997a8; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.next-teams { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; gap: 8px; margin: 13px 0; }
.team-side { min-width: 0; display: flex; align-items: center; gap: 9px; }
.team-side:last-child { flex-direction: row-reverse; text-align: right; }
.team-copy { min-width: 0; }
.team-name { color: var(--ink); font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.club-name { color: #8090a1; font-size: 10px; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vs { color: #a5afbb; text-align: center; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 11px; font-weight: 800; }
.team-badge { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: #2c70b6; font-size: 10px; font-weight: 800; }
.team-badge.alt { background: #fff4df; color: #9a6a12; }
.next-match .btn { width: 100%; }
.mini-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eef1f5; }
.mini-result:last-child { border: 0; padding-bottom: 0; }
.mini-result:first-child { padding-top: 0; }
.mini-result-names { min-width: 0; color: #506075; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-result-score { flex: none; border-radius: 7px; background: #f0f3f7; padding: 5px 8px; font-weight: 800; font-size: 11px; }
.standings-preview { width: 100%; border-collapse: collapse; font-size: 11px; }
.standings-preview th { text-align: right; color: #8996a7; font-weight: 600; padding: 0 6px 9px; }
.standings-preview th:first-child, .standings-preview td:first-child { text-align: left; padding-left: 0; }
.standings-preview td { text-align: right; padding: 10px 6px; border-top: 1px solid #edf0f4; color: #526176; }
.rank { display: inline-grid; width: 20px; height: 20px; place-items: center; background: #f2f5f8; border-radius: 7px; color: #6b7a8d; font-weight: 700; margin-right: 7px; }
.rank.top { background: #fff3db; color: #9a6a12; }
.ranked-name { color: var(--ink); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.full-table { width: 100%; border-collapse: collapse; min-width: 570px; }
.full-table th { color: #8794a5; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 13px 12px; text-align: right; }
.full-table th:nth-child(2), .full-table td:nth-child(2) { text-align: left; }
.full-table td { border-top: 1px solid #edf0f4; padding: 14px 12px; text-align: right; color: #617085; font-size: 12px; }
.full-table .player-col { color: var(--ink); font-weight: 700; }
.full-table .points { color: var(--navy); font-weight: 800; }
.qualified-row { background: linear-gradient(90deg, rgba(255,246,226,.62), transparent 75%); }
.table-note { display: flex; gap: 7px; align-items: center; color: #8290a0; font-size: 11px; padding: 15px 2px 0; }
.fixture-round { margin-bottom: 20px; }
.round-head { display: flex; justify-content: space-between; align-items: center; padding: 0 3px 10px; }
.round-head h2 { font-size: 14px; margin: 0; }
.round-count { color: #8996a7; font-size: 11px; }
.match-list { display: grid; gap: 10px; }
.match-card { display: grid; grid-template-columns: 1fr 104px; align-items: center; gap: 14px; padding: 15px 17px; background: white; border: 1px solid #ebeff4; border-radius: 15px; box-shadow: 0 3px 10px rgba(22,42,67,.025); }
.match-main { min-width: 0; }
.match-meta { color: #8a98a9; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 10px; }
.match-line { display: grid; grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr); align-items: center; gap: 9px; }
.match-line .team-side { gap: 8px; }
.match-line .team-badge { width: 30px; height: 30px; border-radius: 10px; }
.match-line .team-name { font-size: 12px; }
.match-result { text-align: center; color: #a4afbc; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 800; font-size: 12px; }
.match-result.played { color: var(--navy); font-size: 15px; }
.match-result .score-dash { color: #9aa6b4; padding: 0 3px; }
.match-action { width: 100%; border: 1px solid #e7edf4; background: #f7f9fb; color: #53647a; border-radius: 9px; padding: 9px 7px; font-size: 10px; font-weight: 700; }
.match-action:hover { border-color: #b6d2ef; color: #226bb3; background: #f0f7ff; }
.match-action.done { color: var(--green); border-color: #dcefe8; background: #f2faf6; }
.roster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.roster-card { display: flex; align-items: center; gap: 12px; border: 1px solid #ebeff4; background: white; border-radius: 14px; padding: 14px; }
.roster-card .team-badge { width: 42px; height: 42px; border-radius: 13px; }
.roster-info { min-width: 0; }
.roster-info strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roster-info span { display: block; color: #8190a0; font-size: 11px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bracket-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bracket-card { background: #fff; border: 1px solid #e9edf3; border-radius: 16px; padding: 17px; }
.bracket-label { color: #8a98a9; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; margin-bottom: 12px; }
.bracket-player { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #eff2f5; padding: 10px 0; font-size: 12px; }
.bracket-player:first-of-type { border: 0; }
.bracket-player strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bracket-score { color: #69798e; font-weight: 800; }
.bracket-winner { color: var(--green); }
.champion-banner { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 17px; background: #fff7e6; border: 1px solid #f2dfb4; border-radius: 15px; }
.champion-icon { color: #b37c1c; }
.champion-banner strong { display: block; font-size: 13px; }
.champion-banner span { display: block; color: #8d754d; font-size: 11px; margin-top: 3px; }
.bracket-cta { margin-top: 17px; }
.callout { border: 1px solid #e7edf4; border-radius: 14px; padding: 16px; background: #f8fafc; color: #617085; font-size: 12px; line-height: 1.55; }
.empty-state { padding: 65px 24px; text-align: center; background: white; border: 1px solid #ebeff4; border-radius: 20px; }
.empty-state .empty-icon { color: #c99943; margin: 0 auto 17px; }
.empty-state h2 { font-size: 21px; margin-bottom: 8px; }
.empty-state p { max-width: 390px; margin: 0 auto 21px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.landing { background: radial-gradient(circle at 82% 20%, rgba(78,148,213,.19), transparent 24%), linear-gradient(125deg, #09182b, #123351); color: white; border-radius: 24px; padding: clamp(28px, 7vw, 64px); min-height: 410px; display: flex; align-items: center; position: relative; overflow: hidden; }
.landing::after { content: ''; position: absolute; width: 330px; height: 330px; border-radius: 50%; right: -75px; top: 35px; border: 1px solid rgba(238,196,112,.18); box-shadow: 0 0 0 18px rgba(238,196,112,.025), 0 0 0 42px rgba(238,196,112,.018); }
.landing-copy { position: relative; z-index: 1; max-width: 590px; }
.landing h1 { font-size: clamp(35px, 7vw, 62px); line-height: 1.03; letter-spacing: -.06em; margin: 15px 0; }
.landing p { color: #b8c8da; font-size: 15px; line-height: 1.65; max-width: 480px; margin-bottom: 25px; }
.landing .hero-tag { font-size: 11px; }
.landing-join { display: inline-flex; align-items: center; margin-left: 12px; padding: 11px 14px; border: 1px solid #59738f; border-radius: 10px; background: transparent; color: #eaf2fb; font-size: 12px; font-weight: 700; }
.landing-join:hover { background: rgba(255,255,255,.08); }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 16px; }
.feature-card { padding: 16px; }
.feature-card strong { display: block; font-size: 12px; margin: 10px 0 5px; }
.feature-card span { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.bottom-nav { position: fixed; z-index: 10; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 650px); padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border: 1px solid #e9edf2; border-bottom: 0; border-radius: 18px 18px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -6px 24px rgba(17,37,59,.08); }
.nav-item { border: 0; background: transparent; color: #8b98a7; display: grid; justify-items: center; gap: 4px; padding: 4px 0 2px; font-size: 9px; font-weight: 600; }
.nav-item.active { color: #1e67ac; }
.nav-item.active .nav-icon { background: #edf5ff; }
.nav-icon { width: 32px; height: 26px; display: grid; place-items: center; border-radius: 9px; }
.dialog { width: min(560px, calc(100% - 26px)); max-height: min(88dvh, 820px); overflow: auto; border: 0; border-radius: 20px; padding: 0; color: var(--ink); box-shadow: 0 25px 90px rgba(2, 15, 30, .28); }
dialog { width: min(560px, calc(100% - 26px)); max-height: min(88dvh, 820px); border: 0; border-radius: 20px; padding: 0; color: var(--ink); box-shadow: 0 25px 90px rgba(2, 15, 30, .28); }
dialog::backdrop { background: rgba(5, 18, 34, .6); backdrop-filter: blur(3px); }
.modal-inner { padding: 23px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.modal-head h2 { font-size: 20px; letter-spacing: -.04em; margin: 0; }
.modal-head p { color: var(--muted); font-size: 12px; margin: 5px 0 0; }
.modal-close { border: 0; background: #f1f4f7; color: #637187; border-radius: 10px; width: 34px; height: 34px; display: grid; place-items: center; }
.form-field { display: grid; gap: 7px; margin: 13px 0; }
.form-field label, .field-label { color: #5e6c7f; font-size: 11px; font-weight: 700; }
.form-field input { width: 100%; border: 1px solid #dde4eb; border-radius: 10px; padding: 12px; color: var(--ink); background: white; font-size: 13px; }
.form-field input::placeholder { color: #a7b1be; }
.participants-head { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 9px; }
.participants-head strong { font-size: 12px; }
.participants-head span { color: #8996a7; font-size: 10px; }
.participant-row { border: 1px solid #e7ebf0; border-radius: 13px; padding: 12px; margin-bottom: 9px; }
.participant-title { display: flex; justify-content: space-between; align-items: center; color: #738197; font-size: 10px; font-weight: 700; margin-bottom: 9px; }
.remove-player { border: 0; background: transparent; color: #af6262; font-size: 10px; font-weight: 700; padding: 3px; }
.participant-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.participant-fields input { min-width: 0; border: 1px solid #e2e7ed; border-radius: 9px; padding: 10px; font-size: 12px; }
.add-player { width: 100%; border: 1px dashed #cbd5df; background: #fafbfd; color: #52647c; border-radius: 10px; padding: 11px; font-size: 11px; font-weight: 700; }
.form-hint { color: #8190a0; font-size: 10px; line-height: 1.5; margin: 12px 0 0; }
.invite-code-box { display: grid; gap: 8px; justify-items: center; padding: 20px; border: 1px solid #e8edf2; border-radius: 14px; background: #f8fafc; }
.invite-code-box span { color: #8996a7; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.invite-code-box strong { color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(24px, 7vw, 32px); letter-spacing: .13em; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 17px; margin-top: 18px; border-top: 1px solid #edf0f4; }
.score-entry { display: grid; grid-template-columns: 1fr 54px 14px 54px 1fr; gap: 8px; align-items: center; margin: 20px 0; }
.score-player { min-width: 0; text-align: center; }
.score-player .team-badge { margin: 0 auto 8px; }
.score-player strong { display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-input { width: 100%; text-align: center; border: 1px solid #dce4ed; background: #f9fbfd; border-radius: 12px; height: 52px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 21px; font-weight: 800; color: var(--navy); }
.score-colon { color: #9ba7b4; font-weight: 800; text-align: center; }
.penalty-pick { border: 1px solid #f0dfb6; background: #fffaee; border-radius: 12px; padding: 12px; }
.penalty-pick label { display: block; font-size: 11px; font-weight: 700; color: #82682e; margin-bottom: 8px; }
.penalty-pick select { width: 100%; border: 1px solid #ead7a9; border-radius: 9px; background: white; padding: 10px; color: var(--ink); font-size: 12px; }
.error-note { color: var(--red); font-size: 11px; margin: 8px 0 0; }
.footer-note { color: #8a98a9; font-size: 10px; text-align: center; padding: 22px 0 0; }

@media (max-width: 700px) {
  .topbar { height: auto; min-height: 64px; padding: 9px 14px; gap: 9px; flex-wrap: wrap; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-name { font-size: 13px; }
  .brand-caption { font-size: 9px; }
  .top-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
  .tournament-select { max-width: 125px; padding: 8px 25px 8px 8px; font-size: 10px; }
  .top-new, .top-share, .top-join { padding: 8px 9px; font-size: 10px; }
  .sync-status { display: none; }
  .main { width: min(100% - 28px, 560px); padding: 20px 0 30px; }
  .overview-hero { grid-template-columns: 1fr 105px; min-height: 195px; padding: 22px 20px; border-radius: 18px; }
  .overview-hero h1 { font-size: 28px; }
  .hero-emblem { width: 87px; height: 87px; }
  .hero-emblem svg { width: 41px; height: 41px; }
  .hero-emblem::before { inset: 7px; }
  .hero-emblem::after { inset: 14px; }
  .hero-foot { flex-wrap: wrap; gap: 8px; margin-top: 17px; }
  .stats-grid { gap: 8px; margin-top: 11px; }
  .stat-card { padding: 12px; border-radius: 13px; }
  .stat-label { font-size: 8px; letter-spacing: .04em; }
  .stat-value { font-size: 20px; margin-top: 7px; }
  .stat-note { font-size: 9px; }
  .home-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 11px; }
  .section-card { padding: 16px; border-radius: 15px; }
  .page-heading { margin-bottom: 15px; }
  .page-heading h1 { font-size: 26px; }
  .page-subtitle { font-size: 11px; }
  .feature-row { gap: 8px; }
  .feature-card { padding: 12px; }
  .feature-card span { font-size: 10px; }
  .landing { min-height: 440px; border-radius: 19px; }
  .landing::after { width: 240px; height: 240px; right: -90px; top: auto; bottom: -80px; }
  .landing p { font-size: 13px; }
  .match-card { grid-template-columns: 1fr 80px; gap: 8px; padding: 12px; border-radius: 13px; }
  .match-line { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); gap: 5px; }
  .match-line .team-side { gap: 6px; }
  .match-line .team-badge { width: 27px; height: 27px; border-radius: 9px; font-size: 9px; }
  .match-line .team-name { font-size: 10px; }
  .match-action { font-size: 9px; padding: 9px 4px; }
  .roster-grid, .bracket-wrap { grid-template-columns: 1fr; gap: 9px; }
  .bottom-nav { max-width: 100%; border-radius: 16px 16px 0 0; }
  .nav-item { font-size: 8px; }
  .full-table th, .full-table td { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 380px) {
  .brand-caption { display: none; }
  .brand { gap: 8px; }
  .tournament-select { max-width: 105px; }
  .overview-hero { grid-template-columns: 1fr 75px; padding: 19px 16px; }
  .hero-emblem { width: 68px; height: 68px; }
  .hero-emblem svg { width: 33px; height: 33px; }
  .hero-emblem::before { inset: 5px; }
  .hero-emblem::after { inset: 10px; }
  .team-name { font-size: 10px; }
  .team-badge { width: 28px; height: 28px; }
  .participant-fields { grid-template-columns: 1fr; }
}
