:root {
  color-scheme: light;
  --green: #16734a;
  --green-dark: #125d3c;
  --green-pale: #eaf5ef;
  --ink: #202b26;
  --muted: #84908a;
  --line: #edf0ee;
  --canvas: #f8faf9;
  --sidebar: #101b17;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, select, input { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { background: var(--sidebar); bottom: 0; color: #aab6af; display: flex; flex-direction: column; left: 0; padding: 27px 17px 16px; position: fixed; top: 0; width: 246px; z-index: 5; }
.brand { align-items: center; color: #f7fbf8; display: flex; gap: 10px; margin: 0 0 38px 6px; text-decoration: none; }
.brand-mark { align-items: center; background: #1c8454; border-radius: 10px 10px 10px 3px; color: white; display: flex; font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; height: 34px; justify-content: center; width: 34px; }
.brand-name { font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -1.2px; }
.brand-name .brand-by { color: #aab6af; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.workspace-label, .nav-label { color: #748079; font-size: 10px; font-weight: 700; letter-spacing: 1px; margin: 0 8px 11px; }
.workspace-switcher { align-items: center; background: #1a2721; border: 1px solid #29362f; border-radius: 9px; color: #eff5f1; display: flex; gap: 9px; padding: 9px; text-align: left; }
.workspace-avatar, .profile-avatar { align-items: center; background: #dcece2; border-radius: 8px; color: #286141; display: flex; flex: 0 0 auto; font-size: 10px; font-weight: 700; height: 33px; justify-content: center; width: 33px; }
.workspace-copy, .profile-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.workspace-copy strong, .profile-copy strong { color: #e8eee9; font-size: 12px; font-weight: 600; }
.workspace-copy small, .profile-copy small { color: #87938c; font-size: 10px; }
.chevron { color: #8c9891; font-size: 16px; }
.main-nav { display: grid; gap: 4px; margin: 0 -3px; }
.nav-label { margin-top: 30px; }
.nav-item { align-items: center; background: none; border: 0; border-radius: 7px; color: #a7b2ab; display: flex; gap: 12px; padding: 10px 11px; text-align: left; width: 100%; }
.nav-item:hover, .nav-item.active { background: #1c3025; color: #effaf3; }
.nav-item.active { box-shadow: inset 2px 0 #51c184; }
.nav-icon { color: #a1b0a7; font-size: 16px; text-align: center; width: 17px; }
.nav-count { background: #293831; border-radius: 20px; color: #bec9c1; font-size: 10px; margin-left: auto; padding: 2px 7px; }
.tournament-label { margin-top: 31px; }
.tournament-link { align-items: center; background: none; border: 0; border-radius: 7px; color: #e5eee8; display: flex; font-size: 12px; gap: 10px; padding: 10px 9px; text-align: left; }
.tournament-dot { background: #4ec27f; border-radius: 50%; height: 7px; width: 7px; }
.tournament-more { color: #839088; font-size: 19px; margin-left: auto; }
.create-sidebar { background: none; border: 0; color: #8f9a93; font-size: 12px; margin: 5px 0; padding: 9px 8px; text-align: left; }
.create-sidebar span { color: #70c28f; font-size: 17px; margin-right: 5px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom > .nav-item { margin-bottom: 13px; }
.profile-card { align-items: center; border-top: 1px solid #29342e; display: flex; gap: 9px; padding: 16px 4px 0; }
.profile-more { background: none; border: 0; color: #a4b0a8; font-size: 18px; }
.main-content { margin-left: 246px; min-height: 100vh; padding: 0 42px 0; }
.topbar { align-items: center; border-bottom: 1px solid #e9eeeb; display: flex; height: 68px; justify-content: space-between; margin: 0 -42px; padding: 0 42px; }
.breadcrumb { align-items: center; color: #8c9690; display: flex; font-size: 12px; gap: 11px; }
.breadcrumb strong { color: #3d4942; font-weight: 600; }
.crumb-divider { color: #c4ccc7; }
.topbar-actions, .topbar-user { align-items: center; display: flex; }
.topbar-actions { gap: 18px; }
.admin-access-button { font-size: 10px; padding: 7px 10px; white-space: nowrap; }
.connection-status { background: #fff8ef; border: 1px solid #f1ddbd; border-radius: 7px; color: #875b23; font-size: 11px; line-height: 1.5; margin: 12px auto 0; max-width: 1380px; padding: 10px 13px; }
.announcement-ticker { align-items: center; background: #edf7f0; border: 1px solid #d5e9db; border-radius: 8px; color: #244d35; display: flex; gap: 14px; margin: 12px auto 0; max-width: 1380px; min-height: 42px; overflow: hidden; padding: 0 12px; }
.announcement-label { background: #d8eddf; border-radius: 5px; flex: 0 0 auto; font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 6px 8px; }
.announcement-viewport { flex: 1; min-width: 0; overflow: hidden; }
.announcement-track { animation: announcement-scroll 38s linear infinite; display: flex; width: max-content; }
.announcement-copy { flex: 0 0 auto; font-size: 11px; font-weight: 600; padding-right: 48px; white-space: nowrap; }
.announcement-ticker:hover .announcement-track, .announcement-ticker:focus-within .announcement-track { animation-play-state: paused; }
.announcement-edit { background: transparent; border: 0; color: #39754d; cursor: pointer; display: none; flex: 0 0 auto; font-size: 10px; font-weight: 700; padding: 6px; }
.admin-mode .announcement-edit { display: block; }
.announcement-edit:hover { text-decoration: underline; }
@keyframes announcement-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announcement-viewport { overflow: visible; } .announcement-track { animation: none; width: auto; } .announcement-copy { white-space: normal; } }
.connection-status[hidden] { display: none; }
body:not(.admin-mode) #create-tournament,
body:not(.admin-mode) #reset-tournament,
body:not(.admin-mode) #create-tournament-side,
body:not(.admin-mode) #add-match,
body:not(.admin-mode) #matches-add-button,
body:not(.admin-mode) #generate-group-fixtures,
body:not(.admin-mode) #add-team-button,
body:not(.admin-mode) #add-group-team-button,
body:not(.admin-mode) #shuffle-groups,
body:not(.admin-mode) #edit-group-settings,
body:not(.admin-mode) #create-bracket,
body:not(.admin-mode) #add-hall-of-fame,
body:not(.admin-mode) #upload-hall-media,
body:not(.admin-mode) #score-submission-admin,
body:not(.admin-mode) #score-submission-review,
body:not(.admin-mode) .hall-of-fame-actions,
body:not(.admin-mode) .hall-media-delete,
body:not(.admin-mode) .team-edit-button,
body:not(.admin-mode) .score-edit { display: none !important; }
#reset-tournament[hidden] { display: none !important; }
.welcome-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 8px; }
.button-reset { background: #fff5f2; border: 1px solid #f0d5cf; color: #a54d40; font-size: 10px; padding: 10px 13px; white-space: nowrap; }
.button-reset:hover { background: #fceae6; border-color: #e9c0b7; }
.icon-button { background: none; border: 0; color: #68766e; font-size: 19px; position: relative; }
.notification-button span { background: #eb7564; border: 2px solid var(--canvas); border-radius: 50%; height: 8px; position: absolute; right: 0; top: 0; width: 8px; }
.topbar-divider { background: #e4e9e6; height: 24px; width: 1px; }
.topbar-user { color: #4b5750; font-size: 12px; gap: 9px; }
.small-avatar { height: 30px; width: 30px; }
.page-view { display: none; margin: 0 auto; max-width: 1380px; padding-top: 31px; }
.page-view.active { display: block; }
.welcome-row, .page-title-row { align-items: center; display: flex; justify-content: space-between; margin-bottom: 25px; }
.eyebrow { align-items: center; color: #77847c; display: flex; font-size: 10px; font-weight: 700; gap: 7px; letter-spacing: 1px; }
.live-dot { background: #43b779; border-radius: 50%; box-shadow: 0 0 0 3px #e2f3e9; height: 6px; width: 6px; }
.eyebrow-divider { color: #bac4bd; }
h1, h2, p { margin: 0; }
h1 { color: #202b26; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 750; letter-spacing: -.8px; margin-top: 9px; }
.wave { color: #e9a948; font-size: 18px; vertical-align: 2px; }
.page-subtitle { color: #89948d; font-size: 12px; margin-top: 6px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 7px; display: inline-flex; font-size: 12px; font-weight: 600; gap: 8px; justify-content: center; padding: 10px 15px; transition: .15s ease; }
.button-primary { background: var(--green); box-shadow: 0 2px 4px #11653e1c; color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-primary > span { font-size: 17px; font-weight: 400; line-height: 12px; }
.button-secondary { background: white; border-color: #e1e7e3; color: #55625a; }
.hall-of-fame-list { display: grid; gap: 13px; }
.hall-of-fame-card { align-items: center; background: white; border: 1px solid #e9eeeb; border-radius: 10px; box-shadow: 0 2px 8px #28352d05; display: flex; gap: 16px; min-width: 0; padding: 18px; }
.hall-of-fame-trophy { align-items: center; background: #fff5df; border-radius: 10px; color: #bc8423; display: flex; flex: 0 0 48px; font-size: 27px; height: 48px; justify-content: center; }
.hall-of-fame-details { flex: 1; min-width: 0; }
.hall-of-fame-season { color: #718078; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.hall-of-fame-details h2 { color: #26332c; font-family: Manrope, sans-serif; font-size: 17px; margin-top: 4px; overflow-wrap: anywhere; }
.hall-of-fame-details p { color: #929d95; font-size: 11px; margin-top: 4px; }
.hall-of-fame-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.hall-of-fame-delete { color: #a34d45; }
.hall-of-fame-media-panel { margin-top: 24px; }
.hall-of-fame-media-list { display: grid; gap: 13px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.hall-media-card { background: white; border: 1px solid #e9eeeb; border-radius: 9px; min-width: 0; overflow: hidden; }
.hall-media-preview-link { background: #f2f5f3; display: block; }
.hall-media-preview { aspect-ratio: 16 / 10; display: block; object-fit: cover; width: 100%; }
.hall-media-copy { padding: 12px; }
.hall-media-copy h3 { color: #26332c; font-size: 13px; overflow-wrap: anywhere; }
.hall-media-copy p { color: #89948d; font-size: 10px; line-height: 1.5; margin-top: 5px; }
.hall-media-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.hall-media-actions .button { font-size: 10px; padding: 8px 10px; text-decoration: none; }
.hall-media-delete { color: #a34d45; }
.stats-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card, .panel { background: #fff; border: 1px solid #e9eeeb; border-radius: 9px; box-shadow: 0 2px 8px #28352d05; }
.stat-card { min-height: 136px; padding: 17px 18px 14px; }
.stat-heading { align-items: center; color: #77837b; display: flex; font-size: 11px; justify-content: space-between; }
.stat-icon { align-items: center; border-radius: 7px; display: flex; font-size: 14px; height: 29px; justify-content: center; width: 29px; }
.green-icon { background: #e9f5ed; color: #27834d; }
.blue-icon { background: #eaf1fb; color: #537db6; }
.orange-icon { background: #fff3e8; color: #d68d3b; }
.purple-icon { background: #f2edfb; color: #8260b5; }
.stat-value { color: #26332c; font-family: Manrope, sans-serif; font-size: 26px; font-weight: 750; letter-spacing: -.5px; margin: 8px 0 7px; }
.stat-total { color: #a6b0aa; font-size: 15px; font-weight: 500; margin-left: 3px; }
.stat-foot { color: #929d95; font-size: 10px; }
.stat-foot strong { color: #59675e; font-weight: 600; }
.trend-up { color: #298752; font-weight: 600; }
.progress-track { background: #edf2ef; border-radius: 5px; height: 4px; margin: -1px 0 7px; overflow: hidden; }
.progress-track span { background: #39a66c; border-radius: 5px; display: block; height: 100%; width: 43%; }
.content-grid { display: grid; gap: 17px; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .95fr); margin-top: 19px; }
.panel { padding: 19px 19px 17px; }
.panel-heading { align-items: flex-start; display: flex; justify-content: space-between; }
.panel-heading h2 { color: #29352e; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: -.2px; }
.panel-heading p { color: #929c95; font-size: 10px; margin-top: 5px; }
.calendar-icon { color: #9ca9a0; margin-left: 4px; }
.text-button { background: none; border: 0; color: #27804e; font-size: 10px; font-weight: 600; padding: 1px; }
.text-button span { font-size: 14px; margin-left: 3px; }
.match-list { margin-top: 15px; }
.match-row { align-items: center; border-top: 1px solid #f0f2f1; display: grid; gap: 10px; grid-template-columns: 54px minmax(0, 1fr) 75px minmax(0, 1fr) 75px; min-height: 58px; }
.match-time { color: #859189; font-size: 10px; }
.match-time { display: flex; flex-direction: column; gap: 3px; }
.match-time small { color: #a1aaa4; font-size: 8px; line-height: 1.25; }
.deadline-warning { color: #a85e0b; font-size: 8px; font-weight: 700; line-height: 1.2; }
.match-row.deadline-soon { background: #fffaf0; }
.deadline-team-warning .team-name { color: #9b5b10; }
.deadline-team-warning .team-crest { box-shadow: 0 0 0 2px #f2c36a; }
.status-deadline-warning, .status-deadline-expired { border-radius: 4px; font-size: 9px; font-weight: 700; padding: 4px 7px; white-space: nowrap; }
.status-deadline-warning { background: #fff0c9; color: #975407; }
.status-deadline-expired { background: #fff0ed; color: #b84538; }
.match-team { align-items: center; color: #46534a; display: flex; font-size: 11px; font-weight: 600; gap: 7px; min-width: 0; }
.match-team.home { justify-content: flex-end; }
.match-team.away { justify-content: flex-start; }
.team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-crest { align-items: center; border-radius: 50%; display: flex; flex: 0 0 auto; font-size: 8px; font-weight: 700; height: 25px; justify-content: center; width: 25px; }
.team-crest.has-logo { background: #fff; border: 1px solid #e9eeeb; overflow: hidden; }
.team-crest-logo { height: 100%; object-fit: contain; padding: 2px; width: 100%; }
.crest-green { background: #e8f2ea; color: #287949; }
.crest-blue { background: #e8eff9; color: #466a9a; }
.crest-red { background: #f9eae9; color: #b75e55; }
.crest-yellow { background: #fbf3df; color: #a17b2b; }
.crest-purple { background: #f0eafa; color: #765aa3; }
.crest-cyan { background: #e2f2f2; color: #398080; }
.crest-orange { background: #faeee4; color: #a96d35; }
.crest-pink { background: #f8e9f0; color: #a95677; }
.match-score { align-items: center; color: #344139; display: flex; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 750; gap: 7px; justify-content: center; white-space: nowrap; }
.match-score.completed { flex-direction: column; gap: 2px; white-space: normal; }
.score-result { color: #344139; font-size: 13px; font-weight: 750; white-space: nowrap; }
.score-correction-request { background: none; border: 0; color: #287949; cursor: pointer; font: 600 8px "DM Sans", sans-serif; padding: 2px 0; white-space: nowrap; }
.score-correction-request:hover { text-decoration: underline; }
.match-score.upcoming { color: #aab3ad; font-size: 11px; font-weight: 500; }
.match-status { justify-self: end; }
.status-live, .status-finished, .status-upcoming { border-radius: 4px; font-size: 9px; font-weight: 600; padding: 4px 7px; white-space: nowrap; }
.status-live { background: #fff0ed; color: #d66d5c; }
.status-finished { background: #eff2f0; color: #77827b; }
.status-upcoming { background: #eef4ff; color: #5e7eb1; }
.score-edit { background: none; border: 0; color: #7d8981; font: inherit; padding: 0; }
.score-edit:hover { color: var(--green); }
.score-edit.score-entry { background: #eaf5ee; border-radius: 5px; color: #287949; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 600; padding: 6px 8px; }
.score-edit.schedule-entry { color: #60766a; cursor: pointer; font-family: "DM Sans", sans-serif; font-size: 8px; font-weight: 600; }
.score-edit.schedule-entry:hover { color: var(--green); text-decoration: underline; }
.participant-score-submit { background: #eaf5ee; border: 0; border-radius: 5px; color: #287949; cursor: pointer; font: 600 9px "DM Sans", sans-serif; padding: 6px 8px; }
.participant-score-submit:hover { background: #d8eddf; }
.score-submission-admin, .score-submission-review { margin-bottom: 14px; }
.score-submission-admin .panel-heading, .score-submission-review .panel-heading { margin-bottom: 0; }
#participant-score-toggle { min-width: 62px; }
#participant-score-toggle.is-enabled { background: #e8f5ec; border-color: #b8dcc3; color: #237746; }
.score-submission-list { display: grid; gap: 9px; margin-top: 13px; }
.score-submission-card { align-items: center; background: #fbfcfb; border: 1px solid #e8eeea; border-radius: 8px; display: flex; gap: 12px; justify-content: space-between; padding: 11px; }
.score-submission-info { display: grid; gap: 4px; min-width: 0; }
.score-submission-info strong { color: #344139; font-size: 11px; }
.score-submission-info span { color: #77827b; font-size: 9px; overflow-wrap: anywhere; }
.score-submission-info b { color: #237746; font-size: 11px; }
.score-submission-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 7px; }
.score-submission-actions .button { font-size: 9px; padding: 7px 9px; }
.walkover-entry { background: #fff0ed; border-radius: 5px; color: #b65a4e; font-family: "DM Sans", sans-serif; font-size: 8px; font-weight: 600; padding: 5px 7px; }
.match-score.upcoming { align-items: center; flex-direction: column; gap: 4px; }
.bracket-match-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 5px; }
.bracket-match-actions .score-edit { font-size: 8px; }
.bracket-match-actions .score-entry { background: #eaf5ee; border-radius: 5px; color: #287949; font-weight: 600; padding: 5px 7px; }
.bracket-match-actions .walkover-entry { padding: 4px 6px; }
.add-match-button { background: #fbfcfb; border: 1px dashed #d9e2dc; border-radius: 6px; color: #647269; font-size: 10px; margin-top: 10px; padding: 8px; width: 100%; }
.add-match-button span { color: #27804e; font-size: 15px; margin-right: 4px; }
.match-empty, .empty-table-cell { color: #929c95; font-size: 10px; padding: 18px 8px; text-align: center; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; text-align: left; width: 100%; }
th { border-bottom: 1px solid #eff2f0; color: #9aa49d; font-size: 9px; font-weight: 600; padding: 15px 7px 9px; }
td { border-bottom: 1px solid #f1f3f2; color: #647168; font-size: 10px; padding: 9px 7px; }
tbody tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { padding-left: 1px; width: 24px; }
th:not(:nth-child(2)):not(:first-child), td:not(:nth-child(2)):not(:first-child) { text-align: center; }
.standing-team { align-items: center; color: #48554c; display: flex; font-size: 10px; font-weight: 600; gap: 7px; white-space: nowrap; }
.standing-team .team-crest { height: 22px; width: 22px; }
.qualified td:first-child { color: #338957; font-weight: 700; }
.wildcard-label { background: #fff4df; border-radius: 10px; color: #9a7021; font-size: 8px; margin-left: 5px; padding: 3px 5px; white-space: nowrap; }
.qualified-teams-grid { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qualified-team-card { align-items: center; background: white; border: 1px solid #e9eeeb; border-left: 3px solid #42a96c; border-radius: 8px; display: flex; gap: 9px; min-width: 0; padding: 10px; }
.qualified-team-card.wildcard-team { background: #fffcf4; border-left-color: #d49b36; }
.qualified-team-rank { color: #79857d; font-size: 10px; text-align: center; width: 14px; }
.qualified-team-copy { flex: 1; min-width: 0; }
.qualified-team-copy strong { color: #46534a; display: block; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qualified-team-copy span { color: #929c95; display: block; font-size: 8px; margin-top: 4px; }
.qualification-badge { background: #eaf5ee; border-radius: 12px; color: #327c50; font-size: 8px; padding: 5px 7px; white-space: nowrap; }
.wildcard-team .qualification-badge { background: #fbf0d6; color: #91691f; }
.qualification-empty { background: white; border: 1px dashed #d9e2dc; border-radius: 8px; color: #89948d; font-size: 11px; grid-column: 1 / -1; padding: 18px; text-align: center; }
.bracket-panel { overflow: hidden; }
.bracket-board { display: flex; gap: 28px; margin-top: 17px; overflow-x: auto; padding: 4px 12px 16px 2px; scrollbar-color: #c8d8cd transparent; scrollbar-width: thin; }
.bracket-round { flex: 0 0 236px; min-width: 0; }
.bracket-round h3 { align-items: center; color: #58655d; display: flex; font-family: Manrope, sans-serif; font-size: 11px; gap: 7px; margin: 0 0 12px; }
.bracket-round h3::before { background: #39a66c; border-radius: 2px; content: ""; height: 15px; width: 3px; }
.bracket-round-matches { display: grid; grid-template-rows: repeat(16, 72px); position: relative; }
.bracket-match-slot { align-self: center; grid-row: span 2; min-width: 0; position: relative; z-index: 1; }
.bracket-round-2 .bracket-match-slot { grid-row: span 4; }
.bracket-round-3 .bracket-match-slot { grid-row: span 8; }
.bracket-round-4 .bracket-match-slot { grid-row: span 16; }
.bracket-match-slot::before, .bracket-match-slot::after { content: ""; pointer-events: none; position: absolute; right: -15px; }
.bracket-match-slot::after { background: #cbd7cf; height: 2px; top: 50%; width: 15px; }
.bracket-match-slot::before { background: #cbd7cf; bottom: 0; top: 50%; width: 2px; }
.bracket-match-slot:nth-child(even)::before { bottom: 50%; top: 0; }
.bracket-round-4 .bracket-match-slot::before, .bracket-round-4 .bracket-match-slot::after { display: none; }
.bracket-match { background: linear-gradient(145deg, #fff 0%, #f9fbf9 100%); border: 1px solid #e2eae4; border-radius: 10px; box-shadow: 0 5px 14px #1e372510; padding: 10px; position: relative; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; z-index: 1; }
.bracket-match:hover { border-color: #b7d6c1; box-shadow: 0 8px 20px #1e37251a; transform: translateY(-2px); }
.bracket-match-has-winner { background: linear-gradient(145deg, #fff 0%, #f1f8f2 100%); border-color: #b9d9c2; }
.bracket-match-heading, .bracket-match-footer { align-items: center; display: flex; justify-content: space-between; }
.bracket-match-heading { color: #929c95; font-size: 8px; margin-bottom: 7px; }
.bracket-match-time { color: #87948b; font-size: 8px; margin: -2px 0 5px; }
.bracket-team { align-items: center; border-top: 1px solid #f0f2f1; color: #69756d; display: flex; font-size: 9px; gap: 6px; min-height: 35px; }
.bracket-team .team-crest, .bracket-team-placeholder { flex: 0 0 auto; height: 21px; width: 21px; }
.bracket-team-placeholder { display: block; }
.bracket-team strong { flex: 1; font-size: 9px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bracket-team > span:last-child { color: #435047; font-weight: 700; }
.bracket-team.bracket-winner { background: #eaf5ed; border-radius: 5px; color: #237746; margin: 0 -4px; padding: 0 4px; }
.bracket-team.bracket-winner strong { font-weight: 700; }
.bracket-match-footer { border-top: 1px solid #f0f2f1; margin-top: 2px; padding-top: 8px; }
.bracket-score { background: #edf2ee; border-radius: 5px; color: #344139; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 750; padding: 4px 7px; }
.bracket-match-has-winner .bracket-score:not(.bracket-versus) { background: #e5f3e9; color: #237746; }
.bracket-versus, .bracket-pending { color: #9aa49d; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 400; }
.bracket-match .score-edit.score-entry { font-size: 8px; padding: 5px 7px; }
.bracket-match .score-edit:not(.score-entry) { font-size: 9px; }
.bracket-match .score-edit:disabled, #create-bracket:disabled { cursor: default; opacity: .65; }
.points { color: #354139; font-weight: 700; }
.standings-legend { align-items: center; border-top: 1px solid #f0f2f1; color: #969f99; display: flex; font-size: 9px; gap: 7px; margin-top: 10px; padding-top: 12px; }
.legend-dot { background: #39a66c; border-radius: 2px; height: 8px; width: 3px; }
.activity-panel { margin-top: 18px; padding-bottom: 5px; }
.activity-heading { margin-bottom: 9px; }
.activity-item { align-items: center; border-top: 1px solid #f0f2f1; display: flex; gap: 11px; min-height: 56px; }
.activity-icon { align-items: center; border-radius: 7px; display: flex; font-size: 13px; height: 30px; justify-content: center; width: 30px; }
.score-activity { background: #fff3e7; color: #ce8439; }
.team-activity { background: #eaf5ee; color: #398455; }
.schedule-activity { background: #edf2fa; color: #6280ad; }
.activity-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.activity-copy strong { color: #4c5850; font-size: 10px; font-weight: 600; }
.activity-copy span, .activity-item time { color: #969f99; font-size: 9px; }
.activity-item-status { color: #849088; font-size: 9px; }
.activity-copy b { color: #69766d; font-weight: 600; }
.page-footer { color: #a2aca5; display: flex; font-size: 9px; justify-content: space-between; padding: 20px 1px 23px; }
.page-footer a { color: #668873; text-decoration: none; }
.page-title-row { margin-bottom: 23px; }
.page-title-row h1 { margin-top: 7px; }
.match-page-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.full-panel { min-height: 200px; }
.full-match-list { margin-top: 10px; }
.full-match-list .match-row { grid-template-columns: 115px minmax(0, 1fr) 100px minmax(0, 1fr) 90px; min-height: 70px; }
.filter-select { background: white; border: 1px solid #e4eae6; border-radius: 6px; color: #5e6b62; font-size: 11px; padding: 8px 25px 8px 10px; }
.group-filter { min-width: 120px; }
.full-standings-table td, .full-standings-table th { padding: 6px 8px; }
.full-standings-table th { padding-bottom: 6px; padding-top: 7px; }
.full-standings-table .standing-team .team-crest { height: 20px; width: 20px; }
.status-pill { background: #eaf5ee; border-radius: 20px; color: #27804e; font-size: 10px; padding: 6px 10px; }
.full-panel > .standings-legend { border: 0; padding-bottom: 2px; }
.teams-grid { display: grid; gap: 13px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.teams-empty { background: white; border: 1px dashed #d9e2dc; border-radius: 8px; color: #89948d; font-size: 11px; grid-column: 1 / -1; padding: 22px; text-align: center; }
.info-section { margin-bottom: 20px; }
.info-section-heading { margin: 0 0 11px 2px; }
.info-section-heading h2, .info-panel .panel-heading h2 { color: #29352e; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; }
.info-section-heading p, .info-panel .panel-heading p { color: #929c95; font-size: 10px; margin-top: 5px; }
.info-group-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
.info-group-card { background: #fff; border: 1px solid #e9eeeb; border-radius: 9px; min-width: 0; padding: 14px; }
.info-group-title { align-items: center; color: #354139; display: flex; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; justify-content: space-between; margin-bottom: 10px; }
.info-group-title > span { color: #929c95; font-family: "DM Sans", sans-serif; font-size: 9px; font-weight: 500; }
.info-leader { align-items: center; background: #f4f8f5; border-radius: 6px; display: flex; gap: 7px; margin: 5px 0; padding: 7px; }
.info-leader strong { color: #48554c; flex: 1; font-size: 10px; }
.info-leader > span:last-child { color: #2c8050; font-size: 9px; font-weight: 700; white-space: nowrap; }
.info-group-card > small { color: #929c95; display: block; font-size: 9px; margin: 7px 2px 0; }
.information-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.info-panel { min-width: 0; padding: 17px; }
.info-list { margin-top: 11px; }
.info-row { align-items: center; border-top: 1px solid #f0f2f1; display: flex; gap: 8px; min-height: 43px; }
.info-row:first-child, .fixture-row:first-child { border-top: 0; }
.info-rank { color: #89958c; font-size: 10px; text-align: center; width: 15px; }
.info-row > strong { color: #4d5951; flex: 1; font-size: 10px; }
.info-row-detail { color: #969f99; font-size: 9px; }
.info-row > b { color: #2c8050; font-size: 10px; white-space: nowrap; }
.fixture-row { align-items: center; border-top: 1px solid #f0f2f1; display: flex; gap: 10px; justify-content: space-between; min-height: 54px; }
.fixture-row > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fixture-row strong { color: #4d5951; font-size: 10px; }
.fixture-row strong span { color: #9ba59e; font-weight: 400; }
.fixture-row small, .fixture-deadline { color: #929c95; font-size: 9px; }
.fixture-deadline { text-align: right; white-space: nowrap; }
.compact-standings { margin-top: 5px; }
.compact-standings th { padding: 8px 5px; }
.compact-standings td { padding: 8px 5px; }
.compact-standings th:nth-child(2), .compact-standings td:nth-child(2) { text-align: left; }
.standings-info-card .text-button { font-family: "DM Sans", sans-serif; font-size: 9px; }
.group-recap-panel { margin-bottom: 25px; }
.group-recap-grid { display: grid; gap: 9px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 14px; }
.recap-item { align-items: center; background: #f6f8f6; border-radius: 7px; display: flex; flex-direction: column; gap: 5px; padding: 12px; }
.recap-item strong { color: #3d4a42; font-size: 11px; }
.recap-item span { color: #89948d; font-size: 9px; }
.recap-item b { color: #29804e; font-size: 10px; }
.inline-group-select { background: transparent; border: 0; color: #718078; cursor: pointer; font-size: 10px; outline: 0; padding: 0; }
.group-cards { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 17px; }
.group-card { background: #fff; border: 1px solid #e9eeeb; border-radius: 9px; min-height: 130px; padding: 16px; }
.group-card-heading { align-items: center; display: flex; gap: 10px; }
.group-badge { align-items: center; background: #e9f5ed; border-radius: 8px; color: #27834d; display: flex; font-size: 14px; font-weight: 700; height: 34px; justify-content: center; width: 34px; }
.group-card-heading h2 { color: #344139; font-family: Manrope, sans-serif; font-size: 13px; }
.group-card-heading p { color: #929c95; font-size: 10px; margin-top: 4px; }
.group-member-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.group-member-list > span:not(.group-empty) { align-items: center; background: #f6f8f6; border-radius: 20px; color: #68756c; display: inline-flex; font-size: 9px; gap: 5px; padding: 4px 8px 4px 4px; }
.group-member-list .team-crest { height: 19px; width: 19px; }
.group-empty { color: #a0aaa3; font-size: 10px; }
.deadline-badge { background: #edf2fa; color: #6080ae; }
.deadline-summary { color: #2d7950; display: block; font-family: Manrope, sans-serif; font-size: 21px; margin: 13px 0 8px; }
.assignment-panel { margin-bottom: 25px; }
.group-assignment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.assignment-row { align-items: center; border-top: 1px solid #f0f2f1; display: flex; gap: 10px; justify-content: space-between; min-width: 0; padding: 9px 7px; }
.assignment-team { align-items: center; color: #4d5951; display: flex; font-size: 11px; gap: 7px; min-width: 0; }
.assignment-team .team-crest { height: 24px; width: 24px; }
.assigned-group { background: #eaf5ee; border-radius: 20px; color: #327c50; font-size: 10px; font-weight: 600; padding: 6px 10px; white-space: nowrap; }
.sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.custom-deadline-field[hidden] { display: none; }
.form-field[hidden], .field-hint[hidden] { display: none; }
.team-card { align-items: center; background: white; border: 1px solid #e9eeeb; border-radius: 8px; cursor: pointer; display: flex; gap: 11px; padding: 15px; }
.team-card:hover { border-color: #b7d8c2; box-shadow: 0 3px 12px #163c2610; }
.team-card:focus-within { outline: 2px solid #73bd8d; outline-offset: 2px; }
.team-card-open { align-items: center; background: transparent; border: 0; color: inherit; display: flex; flex: 1; gap: 11px; min-width: 0; padding: 0; text-align: left; }
.team-card-open:hover .team-card-copy strong { color: var(--green); }
.team-card .team-crest { height: 37px; width: 37px; font-size: 10px; }
.team-card-copy { min-width: 0; }
.team-card-copy strong { color: #3c4941; display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-card-copy span { color: #98a29b; display: block; font-size: 9px; margin-top: 5px; }
.team-edit-button { flex: 0 0 auto; margin-left: auto; padding: 7px 10px; }
.team-matches-heading { align-items: center; }
.team-matches-identity { align-items: center; display: flex; gap: 11px; }
.team-matches-identity .team-crest { height: 38px; width: 38px; }
.team-matches-identity h2 { color: #29352e; font-family: Manrope, sans-serif; font-size: 14px; }
.team-matches-identity p { color: #929c95; font-size: 10px; margin-top: 5px; }
.team-match-list { border-top: 1px solid #f0f2f1; }
.modal-backdrop { align-items: center; background: #101b1775; display: flex; inset: 0; justify-content: center; overflow-y: auto; padding: 18px; position: fixed; z-index: 10; }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.score-modal .modal { transform: translateY(-40px); }
.modal { background: #fff; border-radius: 11px; box-shadow: 0 16px 50px #101b1733; display: flex; flex-direction: column; margin: auto; max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); max-width: 430px; min-height: 0; overflow: hidden; padding: 22px; width: 100%; }
.modal-header { align-items: flex-start; display: flex; flex: 0 0 auto; justify-content: space-between; margin-bottom: 16px; }
.modal-header h2 { color: #25322a; font-family: Manrope, sans-serif; font-size: 18px; margin-top: 7px; }
.modal-close { background: none; border: 0; color: #8c9890; font-size: 25px; line-height: 20px; }
#modal-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
#modal-fields { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 5px 0; }
.form-grid { display: grid; gap: 13px; grid-template-columns: 1fr 1fr; }
.form-grid .form-field:first-child, .form-grid .full-field { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { color: #657168; font-size: 10px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { background: #fff; border: 1px solid #dfe6e1; border-radius: 6px; color: #38453c; font: 12px "DM Sans", sans-serif; outline: 0; padding: 10px; width: 100%; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #4ca775; box-shadow: 0 0 0 3px #e8f5ed; }
.form-field textarea { resize: vertical; }
.form-field input[type="checkbox"] { accent-color: var(--green); flex: 0 0 auto; height: 15px; margin: 0; padding: 0; width: 15px; }
.field-hint { color: #929c95; font-size: 9px; line-height: 1.4; }
.setup-section-heading { align-items: center; color: #435047; display: flex; font-size: 11px; justify-content: space-between; }
.setup-section-heading span { color: #27804e; font-size: 9px; font-weight: 600; }
.tournament-team-assignments { border: 1px solid #e9eeeb; border-radius: 7px; margin-top: 8px; max-height: 230px; overflow-y: auto; }
.tournament-team-assignment { align-items: center; border-top: 1px solid #f0f2f1; display: flex; gap: 10px; justify-content: space-between; min-height: 39px; padding: 5px 8px; }
.tournament-team-assignment:first-child { border-top: 0; }
.tournament-team-choice { align-items: center; color: #58655d; display: flex; flex: 1; font-size: 10px; gap: 7px; min-width: 0; }
.tournament-team-choice strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tournament-team-choice .team-crest { height: 21px; width: 21px; }
.tournament-team-group { background: #fff; border: 1px solid #e1e7e3; border-radius: 5px; color: #536057; flex: 0 0 92px; font-size: 9px; padding: 5px; width: 92px; }
.tournament-team-group:disabled { background: #f5f7f5; color: #a5aea8; }
.setup-qualification-note { background: #f4f8f5; border-radius: 6px; color: #647168; font-size: 9px; line-height: 1.5; padding: 9px; }
.setup-reset-warning { background: #fff8ef; border: 1px solid #f1ddbd; border-radius: 7px; padding: 10px; }
.setup-reset-warning label { align-items: flex-start; color: #875b23; display: flex; font-size: 10px; gap: 8px; line-height: 1.5; }
.logo-preview { align-items: center; background: #f6f8f6; border: 1px solid #e9eeeb; border-radius: 7px; display: flex; height: 68px; justify-content: center; width: 68px; }
.logo-preview[hidden] { display: none; }
.logo-preview img { height: 56px; object-fit: contain; width: 56px; }
.score-inputs { align-items: end; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.score-entry-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.score-entry-field span { color: #657168; font-size: 10px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-inputs input { min-width: 0; text-align: center; }
.score-inputs .score-separator { align-self: end; color: #8b9690; padding-bottom: 9px; }
.modal-actions { background: #fff; border-top: 1px solid #eff2f0; display: flex; flex: 0 0 auto; gap: 8px; justify-content: flex-end; margin-top: 12px; padding: 13px 0 2px; }
.modal-actions .button { min-width: 104px; }
.form-error { color: #bf4c42; font-size: 11px; margin-top: 8px; }
.toast { background: #20362a; border-radius: 7px; bottom: 22px; box-shadow: 0 5px 18px #101b1733; color: white; font-size: 12px; opacity: 0; padding: 11px 16px; pointer-events: none; position: fixed; right: 24px; transform: translateY(8px); transition: .2s ease; z-index: 15; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (min-width: 1450px) { .main-content { padding-left: 55px; padding-right: 55px; } .topbar { margin-left: -55px; margin-right: -55px; padding-left: 55px; padding-right: 55px; } }
@media (max-width: 1180px) {
  .main-content { padding-left: 25px; padding-right: 25px; }
  .topbar { margin-left: -25px; margin-right: -25px; padding-left: 25px; padding-right: 25px; }
  .content-grid { grid-template-columns: minmax(0, 1.2fr) minmax(310px, .9fr); }
  .stats-grid { gap: 10px; }
  .stat-card { padding-left: 13px; padding-right: 13px; }
  .match-row { gap: 5px; grid-template-columns: 46px minmax(0, 1fr) 63px minmax(0, 1fr) 64px; }
}
@media (max-width: 960px) {
  .sidebar { width: 205px; padding-left: 12px; padding-right: 12px; }
  .main-content { margin-left: 205px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sidebar { bottom: auto; height: 58px; padding: 0 15px; right: 0; top: 0; width: auto; }
  .brand { margin: 0; }
  .brand-mark { height: 31px; width: 31px; }
  .brand-name { font-size: 19px; }
  .workspace-label, .workspace-switcher, .nav-label, .tournament-link, .create-sidebar, .sidebar-bottom { display: none; }
  .main-nav { background: #101b17; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; justify-content: flex-start; left: 10px; margin: 0; overflow-x: auto; padding: 5px 4px; position: fixed; right: 10px; scrollbar-width: none; z-index: 7; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav { border-radius: 10px; box-shadow: 0 4px 16px #101b1733; }
  .main-nav .nav-item { align-items: center; flex: 0 0 58px; flex-direction: column; font-size: 8px; gap: 2px; justify-content: center; min-width: 0; padding: 5px 1px; white-space: nowrap; }
  .main-nav .nav-item.active { box-shadow: inset 0 2px #51c184; }
  .main-nav .nav-icon { font-size: 14px; }
  .main-nav .nav-count { display: none; }
  .main-content { margin-left: 0; padding: 58px 15px 86px; }
  .topbar { height: 52px; margin: 0 -15px; padding: 0 15px; }
  .topbar-user > span:not(.chevron), .topbar-user .chevron { display: none; }
  .topbar-actions { gap: 12px; }
  .topbar-divider { display: none; }
  .page-view { padding-top: 23px; }
  .welcome-row, .page-title-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .welcome-row .button, .page-title-row .button { width: 100%; }
  .welcome-actions { flex-direction: column; width: 100%; }
  .match-page-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .score-submission-card { align-items: flex-start; flex-direction: column; }
  .score-submission-actions { justify-content: flex-end; width: 100%; }
  h1 { font-size: 22px; }
  .stats-grid { gap: 9px; }
  .stat-card { min-height: 125px; padding: 13px; }
  .stat-value { font-size: 23px; }
  .content-grid { margin-top: 13px; }
  .panel { padding: 15px 13px; }
  .match-row { gap: 5px; grid-template-columns: 40px minmax(0, 1fr) 54px minmax(0, 1fr); padding: 7px 0; }
  .match-status { display: none; }
  .match-team { font-size: 10px; gap: 5px; }
  .match-team .team-crest { height: 22px; width: 22px; }
  .match-score { font-size: 11px; gap: 4px; }
  .match-time { font-size: 9px; }
  .standings-panel { overflow: hidden; }
  .activity-item time { display: none; }
  .activity-copy strong { font-size: 9px; }
  .page-footer { flex-direction: column; gap: 8px; }
  .full-match-list .match-row { grid-template-columns: 42px minmax(0, 1fr) 55px minmax(0, 1fr); }
  .full-match-list .match-status { display: none; }
  .teams-grid { gap: 8px; grid-template-columns: 1fr; }
  .group-cards, .group-assignment-list { grid-template-columns: 1fr; }
  .information-grid { grid-template-columns: 1fr; }
  .info-group-grid { grid-template-columns: 1fr; }
  .qualified-teams-grid { grid-template-columns: 1fr; }
  .hall-of-fame-card { align-items: flex-start; gap: 10px; padding: 12px; }
  .hall-of-fame-trophy { flex-basis: 38px; font-size: 22px; height: 38px; }
  .hall-of-fame-details h2 { font-size: 14px; }
  .hall-of-fame-actions { flex-direction: column; }
  .hall-of-fame-actions .button { font-size: 10px; padding: 7px 9px; }
  .hall-of-fame-media-panel .panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hall-of-fame-media-panel .panel-heading > button { width: 100%; }
  .hall-of-fame-media-list { grid-template-columns: 1fr; }
  .info-row-detail { display: none; }
  .fixture-row { align-items: flex-start; flex-direction: column; gap: 5px; padding: 9px 0; }
  .fixture-deadline { text-align: left; }
  .team-card { padding: 11px; }
  #standings-page { padding-top: 12px; }
  #standings-page .page-title-row { align-items: center; flex-direction: row; gap: 8px; margin-bottom: 12px; }
  #standings-page .page-title-row > div { min-width: 0; }
  #standings-page .page-title-row .page-subtitle { display: none; }
  #standings-page .page-title-row .group-filter { flex: 0 0 auto; min-width: 100px; width: auto; }
  #standings-page .panel { padding: 10px 9px; }
  #standings-page .panel-heading { align-items: center; }
  #standings-page .panel-heading p { margin-top: 3px; }
  .full-standings-table td, .full-standings-table th { padding: 4px 6px; }
  .full-standings-table th { padding-bottom: 5px; padding-top: 5px; }
  .full-standings-table .standing-team { font-size: 9px; gap: 5px; }
  .full-standings-table .standing-team .team-crest { height: 18px; width: 18px; }
  #standings-page .standings-legend { font-size: 8px; margin-top: 6px; padding-top: 6px; }
}
@media (orientation: landscape) and (max-width: 960px) and (max-height: 500px) {
  .sidebar { bottom: auto; height: 52px; padding: 0 15px; right: 0; top: 0; width: auto; }
  .brand { margin: 0; }
  .brand-mark { height: 31px; width: 31px; }
  .brand-name { font-size: 19px; }
  .workspace-label, .workspace-switcher, .nav-label, .tournament-link, .create-sidebar, .sidebar-bottom { display: none; }
  .main-nav { background: #101b17; border-radius: 10px; bottom: calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 4px 16px #101b1733; display: flex; justify-content: flex-start; left: 8px; margin: 0; overflow-x: auto; padding: 4px; position: fixed; right: 8px; scrollbar-width: none; z-index: 7; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav .nav-item { align-items: center; flex: 0 0 64px; flex-direction: column; font-size: 9px; gap: 2px; justify-content: center; min-width: 0; padding: 4px 1px; text-align: center; white-space: nowrap; }
  .main-nav .nav-item.active { box-shadow: inset 0 2px #51c184; }
  .main-nav .nav-icon { font-size: 14px; }
  .main-nav .nav-count { display: none; }
  .main-content { margin-left: 0; padding: 52px 18px 70px; }
  .topbar { height: 46px; margin: 0 -18px; padding: 0 18px; }
  .topbar-user > span:not(.chevron), .topbar-user .chevron { display: none; }
  .topbar-actions { gap: 12px; }
  .topbar-divider { display: none; }
  .page-view { padding-top: 18px; }
  .panel { min-width: 0; }
  .match-team .team-name { min-width: 0; }
  .table-wrap { max-width: 100%; }
}
@media (max-height: 700px) {
  .modal-backdrop { align-items: flex-start; padding-bottom: 12px; padding-top: 12px; }
  .modal { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
}
@media (max-width: 700px) {
  .modal-backdrop { align-items: flex-start; padding: 12px; }
  .modal { margin: 0 auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 18px; }
  .modal-header { margin-bottom: 12px; }
  .modal-actions .button { flex: 1; min-width: 0; }
}
