:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f4f5;
  --line: #e5e6e8;
  --text: #202124;
  --muted: #656a72;
  --brand: #701d38;
  --brand-2: #4c1829;
  --gold: #50565e;
  --danger: #b42332;
  --shadow: 0 6px 20px rgba(32, 33, 36, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
}

button {
  border: 0;
  font: inherit;
}

.app-shell {
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 14px calc(118px + env(safe-area-inset-bottom));
  position: relative;
}

.topbar {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 44px;
  gap: 11px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  margin: -14px -14px 14px;
  padding: max(14px, env(safe-area-inset-top)) 14px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 18, 13, 0.1);
}

.brand-logo-shell {
  width: 92px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: visible;
  position: relative;
  background: #ffffff;
  border: 0;
  border-radius: 8px;
}

.brand-logo-shell img {
  width: 94%;
  height: 94%;
  max-width: none;
  max-height: none;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
}

.topbar-copy {
  min-width: 0;
}

.eyebrow,
.topbar h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar h1 {
  color: #07120d;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.brand-slogan {
  max-width: 36ch;
  margin-top: 4px;
  color: #2f3833;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.25;
}

.topbar .icon-button {
  color: #07120d;
  background: #f1f4f2;
  border-color: rgba(7, 18, 13, 0.1);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-button svg,
.nav-item svg,
.meta-row svg,
.play-button svg {
  width: 20px;
  height: 20px;
}

main {
  overflow: hidden;
}

.screen {
  display: none;
  animation: rise 220ms ease both;
}

.screen.active {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-panel {
  min-height: 340px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 18, 13, 0.06), rgba(7, 18, 13, 0.94)),
    url("https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?auto=format&fit=crop&w=1200&q=80")
      center/cover;
  box-shadow: var(--shadow);
}

.feature-overlay {
  width: 100%;
  padding: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #07120d;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-panel h2,
.video-feature h2,
.headline-card h2 {
  margin-top: 12px;
  max-width: 13ch;
  font-size: 2.15rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.feature-panel p,
.headline-card p {
  margin-top: 10px;
  max-width: 28ch;
  color: #dce9de;
  line-height: 1.45;
}

.section-intro {
  padding: 4px 2px 18px;
}

.section-intro h2 {
  margin-top: 12px;
  font-size: 2.2rem;
  line-height: 1;
}

.section-intro p {
  margin-top: 8px;
  max-width: 30ch;
  color: var(--muted);
  line-height: 1.45;
}

.tournament-search {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 0 15px;
  color: #68746d;
  background: #e9eef0;
  border-radius: 8px;
}

.tournament-search svg {
  width: 23px;
  height: 23px;
}

.tournament-search input {
  min-width: 0;
  color: #111814;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
}

.tournament-search input::placeholder {
  color: #68746d;
}

.storefront-heading {
  margin-top: 18px;
}

.featured-tournament {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.featured-tournament.loading-state {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 18px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-tournament.loading-state p {
  font-weight: 850;
}

.featured-slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 10px;
  min-height: 292px;
  padding: 18px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 244, 0.88)),
    #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.featured-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.feature-red {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 222, 215, 0.82)),
    #ffffff;
}

.feature-lime {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(221, 255, 204, 0.82)),
    #ffffff;
}

.feature-dark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(210, 219, 215, 0.84)),
    #ffffff;
}

.featured-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.featured-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.featured-copy h2 {
  margin-top: 14px;
  color: #101712;
  font-size: 1.8rem;
  line-height: 0.98;
}

.featured-copy p {
  margin-top: 10px;
  color: #3f4a43;
  line-height: 1.35;
}

.featured-copy .primary-action,
.featured-copy .ghost-action {
  width: max-content;
  margin-top: 18px;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.12);
}

.featured-copy .ghost-action {
  color: #111814;
  background: #eef3f4;
  border-color: #d9e4e6;
}

.featured-slide img {
  width: 100%;
  height: 250px;
  align-self: center;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.placeholder-art {
  display: grid;
  place-items: center;
  align-self: center;
  height: 230px;
  color: #07120d;
  background:
    linear-gradient(135deg, rgba(155, 225, 93, 0.9), rgba(0, 201, 167, 0.85)),
    #9be15d;
  border-radius: 8px;
}

.placeholder-art svg {
  width: 74px;
  height: 74px;
}

.featured-dots {
  display: flex;
  gap: 7px;
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
}

.featured-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: #c3ced1;
  border-radius: 999px;
}

.featured-dots button.active {
  width: 20px;
  background: #111814;
}

.tournament-mosaic {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.tournament-sections {
  display: grid;
  gap: 22px;
  margin-top: 4px;
}

.tournament-home-section {
  display: grid;
}

.tournament-home-section .storefront-heading {
  margin-top: 18px;
  margin-bottom: 12px;
}

.section-count {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #07120d;
  background: var(--brand);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 950;
}

.tournament-section.upcoming .section-count {
  background: var(--gold);
}

.tournament-section.completed .section-count {
  color: var(--text);
  background: #526059;
}

.tournament-home-section.completed .section-count {
  color: var(--text);
  background: #526059;
}

.tournament-home-section.upcoming .section-count {
  background: var(--gold);
}

.tournament-home-feature {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #17251d;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.tournament-home-feature > .tournament-card-art {
  width: 100%;
  height: 360px;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.tournament-home-feature .tournament-generated-art svg {
  width: 92px;
  height: 92px;
}

.tournament-home-feature .tournament-generated-art span {
  font-size: 0.88rem;
}

.tournament-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 13, 0.04) 20%, rgba(7, 18, 13, 0.94) 86%);
}

.tournament-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 360px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.tournament-feature-label {
  display: flex;
  gap: 9px;
  align-items: center;
}

.tournament-feature-label > span {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tournament-feature-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #07120d;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  object-fit: contain;
  font-weight: 950;
}

.tournament-feature-copy h2 {
  max-width: 13ch;
  margin-top: 10px;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
}

.tournament-feature-copy > p {
  max-width: 31ch;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.tournament-feature-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
}

.tournament-feature-footer > span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 850;
}

.tournament-feature-footer span svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.tournament-feature-footer button {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #07120d;
  background: var(--brand);
  border-radius: 999px;
}

.tournament-feature-footer button svg {
  width: 21px;
  height: 21px;
}

.tournament-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.tournament-home-grid.active-more {
  margin-top: 11px;
}

.tournament-home-grid .empty-tournament-strip {
  grid-column: 1 / -1;
}

.tournament-home-tile {
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.tournament-home-tile > .tournament-card-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.tournament-home-tile .tournament-generated-art svg {
  width: 44px;
  height: 44px;
}

.tournament-tile-copy {
  padding: 11px;
}

.tournament-tile-heading {
  display: flex;
  gap: 7px;
  align-items: center;
}

.tournament-tile-heading > span {
  min-width: 0;
  overflow: hidden;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tournament-tile-logo {
  width: 27px;
  height: 27px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  color: #07120d;
  background: #fff;
  border-radius: 6px;
  object-fit: contain;
  font-size: 0.72rem;
  font-weight: 950;
}

.tournament-tile-copy h3 {
  display: -webkit-box;
  min-height: 2.35em;
  margin-top: 9px;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tournament-tile-copy p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.tournament-list {
  grid-template-columns: 1fr;
}

.status-block,
.poster-block {
  min-height: 178px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.status-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.status-block span,
.poster-block span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-block h3 {
  max-width: 12ch;
  font-size: 1.32rem;
  line-height: 1.02;
}

.status-block p {
  margin-top: 9px;
  max-width: 18ch;
  font-size: 0.82rem;
  line-height: 1.35;
}

.live-block {
  grid-column: span 2;
  min-height: 210px;
  color: #fff7e8;
  background:
    linear-gradient(135deg, rgba(204, 36, 29, 0.96), rgba(35, 51, 160, 0.86)),
    #cc241d;
}

.live-block p {
  color: rgba(255, 247, 232, 0.82);
}

.status-stat {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: #07120d;
  background: #ffd166;
  border-radius: 999px;
}

.status-stat strong {
  font-size: 2rem;
  line-height: 0.9;
}

.status-stat span {
  margin: 2px 0 0;
  font-size: 0.66rem;
}

.poster-block {
  min-height: 238px;
  background: #ffffff;
}

.poster-block img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.poster-block div {
  padding: 11px;
}

.poster-block span {
  margin-bottom: 3px;
  color: #cc241d;
}

.poster-block strong {
  color: #101712;
  line-height: 1.15;
}

.upcoming-block {
  min-height: 238px;
  color: #07120d;
  background:
    linear-gradient(145deg, rgba(155, 225, 93, 0.98), rgba(0, 201, 167, 0.78)),
    #9be15d;
}

.upcoming-block p {
  color: rgba(7, 18, 13, 0.7);
}

.closed-block {
  grid-column: span 2;
  min-height: 170px;
  color: #eaf4ec;
  background:
    linear-gradient(135deg, rgba(17, 24, 20, 0.96), rgba(80, 92, 84, 0.76)),
    #111814;
}

.closed-block p {
  color: rgba(234, 244, 236, 0.72);
}

.tournament-data-block {
  cursor: pointer;
}

.team-logo-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  margin-top: 16px;
}

.team-logo-stack img,
.team-logo-stack > span:not(.team-empty) {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #07120d;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
  object-fit: cover;
}

.team-logo-stack .team-empty {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  opacity: 0.78;
}

.upcoming-block > svg,
.closed-block > svg {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 14px;
  bottom: 14px;
  opacity: 0.72;
}

.tournament-contact {
  margin-top: 14px;
}

.public-tournament-card {
  position: relative;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--surface);
}

.public-tournament-card .tournament-poster {
  max-height: none;
}

.public-tournament-card.style-2 {
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(255, 255, 255, 0.025)),
    var(--surface);
}

.public-tournament-card.style-3 {
  background:
    linear-gradient(135deg, rgba(0, 201, 167, 0.12), rgba(255, 255, 255, 0.025)),
    var(--surface);
}

.tournament-card-art {
  width: 100%;
  height: 154px;
}

.tournament-generated-art {
  display: grid;
  gap: 8px;
  place-items: center;
  align-content: center;
  color: #07120d;
  background:
    linear-gradient(135deg, rgba(155, 225, 93, 0.98), rgba(0, 201, 167, 0.8)),
    var(--brand);
}

.tournament-generated-art.knockout {
  color: #fff7d7;
  background:
    linear-gradient(135deg, rgba(204, 36, 29, 0.96), rgba(35, 51, 160, 0.86)),
    #cc241d;
}

.tournament-generated-art.group {
  background:
    linear-gradient(135deg, rgba(155, 225, 93, 0.98), rgba(0, 201, 167, 0.78)),
    var(--brand);
}

.tournament-generated-art.mixed {
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.98), rgba(0, 201, 167, 0.76)),
    var(--gold);
}

.tournament-generated-art svg {
  width: 56px;
  height: 56px;
}

.tournament-generated-art span {
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.empty-tournament-strip {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 850;
}

.round-icon-button,
.back-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.round-icon-button {
  width: 42px;
  height: 42px;
}

.round-icon-button svg {
  width: 19px;
  height: 19px;
}

.back-button {
  min-height: 42px;
  padding: 0 12px;
  margin-bottom: 12px;
  font-weight: 850;
}

.back-button svg {
  width: 18px;
  height: 18px;
}

.tournament-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tournament-card-meta span {
  padding: 6px 8px;
  color: #dce9de;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.tournament-detail {
  scroll-margin-top: 86px;
}

.detail-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-heading h2 {
  margin-top: 12px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.detail-heading p,
.muted-copy {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.detail-stats div {
  min-width: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-stats strong {
  display: block;
  color: var(--brand);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.detail-stats span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.public-fixture-board,
.public-fixture-list {
  display: grid;
  gap: 10px;
}

.public-matchday {
  display: grid;
  gap: 9px;
}

.public-matchday-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.public-matchday-heading strong {
  color: var(--brand);
}

.public-fixture-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.public-fixture-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.public-fixture-date strong {
  color: var(--gold);
}

.public-fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.public-fixture-teams span {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.public-fixture-teams span:last-child {
  text-align: right;
}

.public-fixture-teams strong {
  padding: 7px 6px;
  color: #07120d;
  background: var(--gold);
  border-radius: 8px;
  text-align: center;
}

.public-fixture-card small {
  color: var(--muted);
  font-weight: 750;
  text-transform: capitalize;
}

.public-fixture-card small.done {
  color: var(--brand);
}

.public-fixture-card small.live {
  color: var(--danger);
}

.public-fixture-card small.paused {
  color: var(--gold);
}

.status-pill.red {
  color: #fff7d7;
  background: #cc241d;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.primary-action,
.ghost-action,
.text-action {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 850;
}

.primary-action {
  color: #07120d;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.primary-action.small {
  min-height: 38px;
}

.ghost-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.text-action {
  min-height: 36px;
  color: var(--brand);
  background: transparent;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 2px 12px;
}

.section-heading h3 {
  font-size: 1.18rem;
}

.section-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.event-card,
.tournament-card,
.matchday-card,
.contact-panel,
.empty-card,
.fixture-card,
.table-card,
.score-strip,
.headline-card,
.news-list article,
.video-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tournament-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tournament-poster {
  width: 100%;
  max-height: 480px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.tournament-body {
  padding: 14px;
}

.tournament-title-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: start;
}

.tournament-title-row h3 {
  margin-top: 10px;
  font-size: 1.36rem;
  line-height: 1.08;
}

.tournament-logo-badge,
.detail-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  align-self: start;
  overflow: hidden;
  color: #07120d;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 238, 240, 0.9)),
    #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 1.2rem;
  font-weight: 950;
  object-fit: cover;
}

.generated-logo {
  background:
    linear-gradient(135deg, var(--brand), var(--gold)),
    var(--brand);
}

.detail-title-lockup {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.detail-logo {
  width: 66px;
  height: 66px;
  border-radius: 14px;
}

.tournament-body p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.muted-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.matchday-card {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 14px;
}

.matchday-card h4 {
  color: var(--gold);
  font-size: 0.96rem;
}

.fixture-line {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.fixture-line span {
  color: #07120d;
  background: var(--gold);
  border-radius: 6px;
  padding: 5px 6px;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.fixture-line strong {
  line-height: 1.3;
}

.contact-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(155, 225, 93, 0.16), rgba(0, 201, 167, 0.08));
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-panel a {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.empty-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.empty-card svg {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.empty-card p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.event-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
}

.date-tile {
  height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #07120d;
  background: var(--brand);
  border-radius: 8px;
}

.date-tile.warm {
  background: var(--gold);
}

.date-tile span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-tile strong {
  font-size: 1.7rem;
  line-height: 1;
}

.event-card h4,
.fixture-card strong,
.news-list h4,
.video-grid h4 {
  font-size: 0.98rem;
  line-height: 1.25;
}

.event-card p,
.fixture-card p,
.news-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  color: #d8e9db;
  font-size: 0.78rem;
}

.meta-row span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.score-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.score-strip span,
.headline-card span,
.video-feature span,
.news-list span,
.video-grid span {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.score-strip strong {
  display: block;
  margin-top: 3px;
  font-size: 1.2rem;
}

.table-card {
  margin-top: 14px;
  overflow: hidden;
}

.league-row {
  display: grid;
  grid-template-columns: 34px 1fr 42px 48px;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-top: 1px solid var(--line);
}

.league-row:first-child {
  border-top: 0;
}

.league-row.header {
  min-height: 38px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fixture-list {
  display: grid;
  gap: 10px;
}

.fixture-card {
  padding: 14px;
}

.fixture-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
}

.video-feature {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.video-feature img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
}

.video-feature > div {
  padding: 16px;
}

.play-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 218px;
  right: 16px;
  color: #07120d;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.video-grid article {
  overflow: hidden;
}

.video-grid img {
  width: 100%;
  aspect-ratio: 1.15;
  display: block;
  object-fit: cover;
}

.video-grid h4,
.video-grid span {
  display: block;
  margin: 9px 10px 0;
}

.video-grid span {
  margin-bottom: 10px;
}

.headline-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(7, 18, 13, 0.1), rgba(7, 18, 13, 0.94)),
    url("https://images.unsplash.com/photo-1577223625816-7546f13df25d?auto=format&fit=crop&w=1200&q=80")
      center/cover;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.news-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.news-list article {
  padding: 14px;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: fixed;
  left: 50%;
  bottom: calc(6px + env(safe-area-inset-bottom));
  z-index: 20;
  width: min(calc(100% - 28px), 492px);
  transform: translateX(-50%);
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 209, 102, 0.28)),
    rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
}

.nav-item {
  min-width: 0;
  min-height: 62px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #4b4030;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
  position: relative;
  z-index: 1;
}

.nav-item span {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(0.6rem, 2.55vw, 0.72rem);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.nav-item.active {
  color: #21170c;
  background: radial-gradient(circle at 50% 30%, rgba(155, 225, 93, 0.96), rgba(255, 209, 102, 0.72));
  box-shadow:
    0 9px 18px rgba(122, 80, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transform: translateY(-2px);
}

@media (min-width: 800px) {
  .app-shell {
    padding-top: 22px;
  }

  .feature-panel {
    min-height: 420px;
  }
}

.hub-heading { display: grid; gap: 10px; padding: 8px 0 20px; }
.hub-heading h2 { font-size: 1.5rem; line-height: 1.25; margin-top: 8px; }
.hub-heading p { color: #656a72; font-size: .88rem; }
.hub-heading .back-button { justify-self: start; margin: 0; }
.hub-summary { max-width: 65ch; }
.hub-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid #e5e6e8; margin-bottom: 20px; }
.hub-tabs a { flex: 1; text-align: center; padding: 12px 8px; text-decoration: none; color: #656a72; font-size: .85rem; font-weight: 650; border-bottom: 3px solid transparent; }
.hub-tabs a[aria-current] { color: #701d38; border-bottom-color: #701d38; }
.hub-content { display: grid; gap: 16px; }
.hub-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.hub-filters label { font-size: .72rem; color: #656a72; }
.hub-filters select { display: block; width: 100%; margin-top: 5px; padding: 10px 5px; min-height: 44px; border: 1px solid #d8dadd; border-radius: 6px; background: #fff; color: #202124; font: inherit; }
.hub-match-list { display: grid; gap: 12px; }
.hub-match { display: grid; gap: 14px; color: #202124; text-decoration: none; padding: 16px; border: 1px solid #e5e6e8; border-radius: 8px; background: #fff; }
.hub-match:hover { border-color: #701d38; background: #fafafa; }
.hub-match-meta { display: flex; justify-content: space-between; gap: 10px; color: #656a72; font-size: .72rem; }
.hub-match-meta svg { width: 16px; height: 16px; flex-shrink: 0; }
.hub-live { color: #b42332; font-weight: 750; }
.hub-score { display: grid; grid-template-columns: minmax(0,1fr) 72px minmax(0,1fr); align-items: center; gap: 8px; text-align: center; }
.hub-score > span, .hub-score > a { display: grid; justify-items: center; gap: 8px; font-size: .85rem; font-weight: 650; overflow-wrap: anywhere; color: #202124; text-decoration: none; }
.hub-score > strong { font-size: 1.25rem; color: #701d38; }
.hub-badge { width: 36px; height: 36px; object-fit: contain; display: inline-grid; place-items: center; background: #f3f4f5; border-radius: 6px; color: #701d38; flex-shrink: 0; }
.hub-empty { padding: 20px; background: #f3f4f5; font-size: .9rem; color: #656a72; }
.hub-team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.hub-team-grid a { display: flex; align-items: center; gap: 10px; border: 1px solid #e5e6e8; padding: 14px; border-radius: 8px; text-decoration: none; color: #202124; font-size: .85rem; }
.hub-team-grid strong { min-width: 0; overflow-wrap: anywhere; }
.hub-team-grid svg { width: 16px; min-width: 16px; margin-left: auto; }
.hub-team-title { display: flex; align-items: center; gap: 12px; }
.hub-facts { margin: 0; }
.hub-facts div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #e5e6e8; }
.hub-facts dt { color: #656a72; font-size: .85rem; }
.hub-facts dd { margin: 0; overflow-wrap: anywhere; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hub-actions a { display: inline-flex; align-items: center; gap: 8px; color: #701d38; padding: 12px; background: #f3f4f5; border-radius: 6px; text-decoration: none; font-size: .85rem; }
.hub-actions svg { width: 18px; height: 18px; }
.hub-match-detail { display: grid; gap: 20px; text-align: center; padding: 24px 12px; background: #f3f4f5; border-radius: 8px; }
.hub-match-detail .status-pill { justify-self: center; }
.hub-match-detail .hub-badge { width: 52px; height: 52px; background: #fff; }
.hub-rounds { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.hub-rounds section { flex: 0 0 min(90%,340px); display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
@media(max-width: 370px) { .hub-team-grid { grid-template-columns: 1fr; } .hub-match { padding: 12px; } }
.match-calendar { border: 1px solid #e5e6e8; border-radius: 8px; padding: 12px; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-toolbar button,.ko-board-title button,.ko-dialog-bar button { display: grid; place-items: center; width: 40px; height: 40px; background: #f3f4f5; color: #701d38; border-radius: 6px; }
.cal-toolbar svg,.ko-board svg,.ko-dialog svg { width: 20px; height: 20px; }
.cal-week,.cal-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; }
.cal-week { font-size: .7rem; color: #656a72; padding-bottom: 8px; }
.cal-days button,.cal-blank { height: 40px; }
.cal-days button { background: #fff; color: #202124; border-radius: 6px; position: relative; font-size: .85rem; }
.cal-days button[aria-current] { box-shadow: inset 0 0 0 1px #701d38; }
.cal-days button[aria-pressed="true"] { background: #701d38; color: #fff; }
.cal-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal-days .cal-dot { position: absolute; bottom: 4px; left: calc(50% - 2px); }
.cal-footer { display:flex; justify-content:space-between; align-items:center; font-size:.72rem; color:#656a72; padding-top:8px; }
.cal-footer button { min-height:36px; background:#f3f4f5; color:#701d38; padding:0 14px; border-radius:6px; }
.cal-team { font-size:.8rem; display:flex; align-items:center; gap:12px; }
.cal-team select { min-width:0; flex:1; padding:12px; border:1px solid #ddd; border-radius:6px; background:white; font:inherit; }
.cal-selection { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.cal-selection h3 { font-size:1rem; }
.cal-selection span { font-size:.8rem; color:#656a72; }
.ko-board { display:grid; gap:8px; padding:12px; border:1px solid #e5e6e8; border-radius:8px; background:white; }
.ko-board-title,.ko-dialog-bar { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.ko-board-title h3 { font-size:1rem; }
.ko-sections,.ko-semis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.ko-section { position:relative; display:grid; gap:3px; padding:10px; text-align:left; border-radius:6px; background:#701d38; color:white; min-width:0; }
.ko-section span { font-size:.75rem; }.ko-section strong { font-size:1rem; }.ko-section small { font-size:.65rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ko-section svg { position:absolute; top:8px; right:8px; width:14px; }
.ko-node { display:grid; gap:2px; border:1px solid #ddd; border-radius:5px; padding:7px; background:#fff; color:#202124; text-decoration:none; min-width:0; }
.ko-node small { font-size:.6rem; color:#701d38; font-weight:700; }
.ko-node span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:.7rem; }
.ko-node b { font-size:.65rem; color:#701d38; }
.ko-node.pending { background:#f6f6f7; }
.ko-connector { height:9px; width:50%; margin:auto; border:1px solid #aeb0b5; border-top:0; }
.ko-final { width:65%; margin:auto; min-width:0; }
.ko-champion { display:flex; justify-content:center; align-items:center; gap:8px; color:#701d38; text-align:center; font-size:.8rem; }
.ko-expanded { position:fixed; inset:8px; z-index:50; height:calc(100dvh - 16px); align-content:center; }
.ko-dialog { width:min(700px,calc(100% - 16px)); max-height:calc(100dvh - 16px); padding:12px; border:1px solid #ddd; border-radius:8px; color:#202124; background:white; }
.ko-dialog::backdrop { background:rgba(20,20,22,.6); }
.ko-dialog-bar { margin-bottom:12px; }
.ko-path-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ko-path-grid section { min-width:0; display:grid; gap:8px; align-content:space-around; }
.ko-path-grid h4 { font-size:.75rem; color:#701d38; }
.ko-path-grid .ko-node { min-height:64px; }
@media(max-height:600px) {
 .ko-expanded { gap:4px; padding:8px; }
 .ko-expanded .ko-section { padding:6px; }
 .ko-expanded .ko-connector { height:3px; }
 .ko-path-grid .ko-node { min-height:44px; padding:4px; }
 .ko-path-grid { gap:6px; }
}
/* Public sports identity: white surfaces, charcoal type, burgundy accents. */
body { font-family: "Avenir Next", "Segoe UI", Arial, sans-serif; line-height: 1.5; }
h1, h2, h3, h4 { font-weight: 750; overflow-wrap: anywhere; letter-spacing: 0; }
button, input { font-family: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #701d38; outline-offset: 4px; }
.app-shell { width: min(100%, 760px); }
.topbar { background: #fff; border-color: var(--line); }
.topbar h1 { color: #202124; font-size: 1.2rem; line-height: 1.2; }
.brand-slogan { color: #50565e; font-size: .72rem; line-height: 1.45; font-weight: 400; }
.topbar .icon-button, .icon-button { color: #202124; background: #f3f4f5; border-color: var(--line); }
.tournament-search { background: #f3f4f5; color: #656a72; min-height: 48px; }
.tournament-search input { font-size: .9rem; font-weight: 500; color: #202124; }
.tournament-search input::placeholder { color: #656a72; }
.section-heading h3 { font-size: 1.3rem; color: #202124; }
.section-heading p { font-size: .8rem; font-weight: 400; }
.section-count, .tournament-home-section.upcoming .section-count,
.tournament-home-section.completed .section-count { color: #701d38; background: #f3f4f5; font-weight: 700; }
.tournament-home-feature { background: #701d38; box-shadow: none; }
.tournament-home-feature > .tournament-card-art { height: 100%; }
.tournament-feature-shade { background: linear-gradient(180deg, transparent 15%, rgba(20,20,22,.9) 100%); }
.tournament-feature-label > span, .tournament-feature-footer span svg { color: #fff; }
.tournament-feature-copy h2 { line-height: 1.12; max-width: 22ch; font-size: 2rem; }
.tournament-feature-copy > p { font-size: .9rem; font-weight: 400; }
.tournament-feature-footer button, .play-button, .primary-action {
  color: #fff; background: #701d38; box-shadow: none;
}
.tournament-home-tile { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tournament-tile-copy { padding: 14px; }
.tournament-tile-copy h3 { font-size: 1rem; line-height: 1.35; min-height: 2.7em; }
.tournament-tile-copy p { font-size: .76rem; }
.tournament-generated-art, .tournament-generated-art.knockout { color: #fff; background: #701d38; }
.tournament-generated-art.group { color: #fff; background: #34383e; }
.tournament-generated-art.mixed { color: #fff; background: #676d75; }
.generated-logo { color: #701d38; background: #f3f4f5; }
.tournament-logo-badge, .detail-logo { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: none; object-fit: contain; }
.public-tournament-card, .public-tournament-card.style-2, .public-tournament-card.style-3 { background: #fff; }
.empty-tournament-strip { color: #656a72; background: #f3f4f5; border-color: #d8dadd; font-weight: 500; }
.detail-panel { padding: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; gap: 22px; }
.detail-heading h2 { font-size: 1.55rem; line-height: 1.25; }
.detail-heading p { font-size: .9rem; }
.detail-stats { gap: 0; padding: 16px 0; border-block: 1px solid var(--line); }
.detail-stats div { background: #fff; border: 0; border-right: 1px solid var(--line); border-radius: 0; text-align: center; }
.detail-stats div:last-child { border-right: 0; }
.public-fixture-card { background: #fff; border-color: var(--line); padding: 16px; }
.public-fixture-teams strong { background: #701d38; color: #fff; font-size: 1.2rem; }
.public-fixture-teams span { font-weight: 650; }
.public-fixture-date, .public-fixture-card small { font-weight: 500; }
.public-matchday-heading { padding-top: 12px; }
.public-fixture-card small.paused { color: #656a72; }
.status-pill, .status-pill.red { color: #fff; background: #701d38; font-size: .68rem; font-weight: 700; border-radius: 4px; }
.back-button, .round-icon-button, .ghost-action { background: #f3f4f5; color: #202124; border-color: var(--line); font-weight: 600; }
.tournament-card-meta span { color: #50565e; background: #f3f4f5; }
.contact-panel { background: #f3f4f5; border: 0; border-radius: 0; }
.contact-panel a { color: #701d38; }
.score-strip { background: #701d38; color: #fff; border: 0; }
.score-strip span { color: #fff; }
.score-strip .primary-action { background: #fff; color: #701d38; }
.table-card { border-inline: 0; border-radius: 0; }
.league-row { min-height: 54px; font-size: .86rem; grid-template-columns: 26px minmax(0,1fr) 32px 38px; }
.league-row.header { background: #f3f4f5; font-weight: 650; }
.league-row:not(.header):nth-child(odd) { background: #fafafa; }
.league-row span:last-child { font-weight: 750; color: #701d38; }
.fixture-card { background: #fff; }
.video-feature { border: 1px solid var(--line); }
.video-feature h2 { font-size: 1.55rem; line-height: 1.2; max-width: 26ch; }
.video-feature img { height: 280px; }
.play-button { top: 202px; }
.video-grid article { background: #fff; box-shadow: var(--shadow); }
.video-grid h4 { font-weight: 650; }
.headline-card { color: #fff; border: 0; }
.headline-card h2 { font-size: 1.65rem; line-height: 1.2; max-width: 26ch; }
.headline-card span { color: #fff; }
.headline-card p { color: #eee; }
.news-list { gap: 0; }
.news-list article { padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; }
.news-list h4 { margin-top: 6px; font-size: 1.1rem; }
.news-list p { margin-top: 8px; line-height: 1.55; }
.bottom-nav { width: min(calc(100% - 20px), 732px); padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 2px 24px rgba(32,33,36,.1); }
.nav-item { color: #656a72; border-radius: 6px; min-height: 58px; }
.nav-item span { font-size: .68rem; font-weight: 650; }
.nav-item.active { color: #fff; background: #701d38; box-shadow: none; transform: none; }
.nav-item svg { width: 22px; height: 22px; stroke-width: 1.8; }
@media (max-width: 370px) {
  .topbar { grid-template-columns: 72px minmax(0,1fr); gap: 10px; }
  .brand-logo-shell { width: 72px; }
  .topbar > .icon-button { display: none; }
  .topbar h1 { font-size: 1.05rem; }
  .brand-slogan { font-size: .68rem; }
  .tournament-feature-copy { padding: 16px; }
  .tournament-feature-copy h2 { font-size: 1.7rem; }
}
@media (min-width: 600px) {
  .tournament-home-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tournament-feature-copy { min-height: 400px; padding: 28px; }
  .brand-slogan { max-width: 60ch; }
}
@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .nav-item { transition: none; }
}
