/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
@layer properties;
.visible {
  visibility: visible;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.static {
  position: static;
}
.container {
  width: 100%;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.hidden {
  display: none;
}
.table {
  display: table;
}
.grow {
  flex-grow: 1;
}
.border-collapse {
  border-collapse: collapse;
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.flex-wrap {
  flex-wrap: wrap;
}
.border {
  border-style: var(--tw-border-style);
  border-width: 1px;
}
.outline {
  outline-style: var(--tw-outline-style);
  outline-width: 1px;
}
.filter {
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.backdrop-filter {
  -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
}
.transition {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
:root {
  --green: #177C46;
  --green-dark: #07552E;
  --yellow: #FFD43A;
  --navy: #102C4A;
  --soft: #EDF5EF;
  --red: #C4473F;
  --mint: #DDF8E9;
  --sky: #E2F1FF;
  --line: rgba(16, 44, 74, .12);
  --shadow: 0 16px 38px rgba(16, 44, 74, .14);
  --personal-bg: #EDF5EF;
  --personal-text: #102C4A;
  --personal-font: system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  color: var(--navy);
  font-family: var(--personal-font);
  background: var(--green-dark);
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #0a4d2b 0%, #177c46 48%, #f2c233 120%);
}
button, a, input, textarea {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
.app-shell {
  width: min(100%, 820px);
  min-height: 100vh;
  margin: 0 auto;
  color: var(--personal-text);
  background: linear-gradient(180deg, rgba(255,255,255,.86), var(--personal-bg) 230px);
  padding-bottom: 98px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.brand-logo-img {
  width: min(250px, 46vw);
  max-width: 250px;
  object-fit: contain;
  display: block;
  flex: 0 1 auto;
}
.brand-fallback {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand.no-logo-img .brand-logo-img {
  display: none;
}
.brand.no-logo-img .brand-fallback {
  display: flex;
}
.brand-ball {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: inset 0 -5px rgba(16,44,74,.12), 0 8px 18px rgba(255,212,58,.45);
}
.brand strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
}
.brand small {
  display: block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .74rem;
  opacity: .72;
}
.top-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 6px;
  justify-items: center;
  justify-content: stretch;
}
.locale-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #edf2f7;
  border: 1px solid var(--line);
}
.locale-switch a {
  min-width: 50px;
  padding: 7px 8px;
  border-radius: 999px;
  font-size: .75rem;
  text-align: center;
  font-weight: 800;
}
.locale-switch a.active, .segmented .active {
  background: var(--navy);
  color: #fff;
}
.balance {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
}
.screen {
  display: grid;
  gap: 16px;
  padding: 16px;
}
.home-hero, .chat-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.home-hero h1, .chat-hero h1 {
  margin: 6px 0 4px;
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0;
}
.home-hero p, .chat-hero p {
  margin: 0;
  max-width: 32rem;
  color: rgba(255,255,255,.82);
  line-height: 1.35;
}
.hero-ball {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: rgba(255,255,255,.16);
  font-size: 2.8rem;
}
.rolling-ball-track {
  --track: min(320px, 42vw);
  position: relative;
  width: var(--track);
  min-width: 160px;
  height: 118px;
  overflow: hidden;
}
.rolling-ball-track:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .36);
}
.rolling-ball {
  position: absolute;
  left: 0;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: transparent;
  font-size: 3.7rem;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .24));
  animation: rolling-ball 5.8s linear infinite;
  will-change: transform;
}
@keyframes rolling-ball {
  0% {
    transform: translateX(-96px) translateY(0) rotate(0deg);
  }
  12% {
    transform: translateX(calc((var(--track) - 92px) * .12)) translateY(-8px) rotate(115deg);
  }
  24% {
    transform: translateX(calc((var(--track) - 92px) * .24)) translateY(0) rotate(230deg);
  }
  38% {
    transform: translateX(calc((var(--track) - 92px) * .38)) translateY(-6px) rotate(360deg);
  }
  52% {
    transform: translateX(calc((var(--track) - 92px) * .52)) translateY(0) rotate(500deg);
  }
  68% {
    transform: translateX(calc((var(--track) - 92px) * .68)) translateY(-5px) rotate(650deg);
  }
  84% {
    transform: translateX(calc((var(--track) - 92px) * .84)) translateY(0) rotate(805deg);
  }
  100% {
    transform: translateX(var(--track)) translateY(0) rotate(980deg);
  }
}
.eyebrow {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,212,58,.22);
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 1000;
}
.glass-panel, .card, .ticket, .chat-composer {
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-pot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
}
.hero-pot div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 8px;
  background: var(--yellow);
}
.hero-pot span, .hero-pot small {
  opacity: .72;
  font-size: .82rem;
}
.hero-pot strong {
  font-size: 1.55rem;
}
.competition-picker {
  display: grid;
  gap: 8px;
}
.competition {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.competition:hover, .match-card:hover {
  transform: translateY(-2px);
}
.competition.active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,212,58,.35), var(--shadow);
}
.competition-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--soft);
}
.competition small, .card-head span, .online-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf2f7;
  font-size: .76rem;
  font-weight: 900;
}
.segmented {
  display: flex;
  gap: 6px;
  padding: 5px;
  overflow-x: auto;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
}
.segmented.floating {
  position: sticky;
  top: 76px;
  z-index: 6;
  backdrop-filter: blur(12px);
}
.segmented button {
  flex: 1 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 8px 12px;
  background: transparent;
  color: var(--navy);
  font-weight: 900;
}
.match-list {
  display: grid;
  gap: 12px;
}
.ticket {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.ticket, .card, .competition-card, .team-advice-card, .content-panel {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ticket:hover, .card:hover, .competition-card:hover, .team-advice-card:hover {
  transform: translateY(-2px);
}
.ticket:before, .ticket:after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--personal-bg);
  transform: translateY(-50%);
}
.ticket:before {
  left: -12px;
}
.ticket:after {
  right: -12px;
}
.match-card.live {
  border-color: rgba(196,71,63,.28);
}
.match-card.done {
  opacity: .82;
}
.match-card.betted {
  border-color: rgba(23, 124, 70, .42);
  box-shadow: 0 0 0 3px rgba(23, 124, 70, .12), var(--shadow);
}
.match-card.betted .match-state {
  background: var(--yellow);
  color: var(--navy);
}
.match-meta, .times, .match-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: rgba(16,44,74,.68);
  font-size: .88rem;
}
.match-meta strong {
  color: var(--red);
}
.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  font-size: 1.32rem;
}
.teams strong:last-child {
  text-align: right;
}
.teams span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: .82rem;
  font-weight: 1000;
}
.match-state {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 900;
}
.chevron {
  font-size: 1.8rem;
  line-height: 1;
}
.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
  text-align: center;
  font-weight: 900;
}
.back {
  display: inline-flex;
  width: max-content;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16,44,74,.08);
}
.premium-ticket {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #1d6b53);
}
.match-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1;
}
.match-hero h1 span {
  opacity: .6;
  font-size: .6em;
}
.match-hero p {
  margin: 0;
  color: rgba(255,255,255,.78);
}
.match-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.countdown, .stake {
  display: inline-flex;
  width: max-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 1000;
}
.final-score-card {
  display: grid;
  gap: 8px;
  margin-top: -4px;
  padding: 12px;
  border: 1px solid rgba(0,94,184,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16,44,74,.08);
}
.final-score-card > span {
  color: #607489;
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
}
.final-score-card div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.final-score-card strong {
  min-width: 0;
  font-size: .98rem;
}
.final-score-card strong:last-child {
  text-align: right;
}
.final-score-card b {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--adp-blue-dark);
  color: #fff;
  font-size: 1.05rem;
}
.final-score-card small {
  color: #607489;
  font-weight: 900;
}
.card {
  padding: 16px;
  border-radius: 8px;
}
.card h2, .card h3 {
  margin: 0 0 10px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.winner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.winner-grid button, .score-picker button, .account-actions > *, .chat-message footer button, .swatches button, .sheet-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background: #edf2f7;
  color: var(--navy);
  font-weight: 900;
}
.winner-grid button {
  display: grid;
  gap: 2px;
}
.winner-grid button.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23,124,70,.25);
}
.score-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.score-picker div {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
}
.score-picker span, .score-picker strong {
  grid-column: 1 / -1;
  text-align: center;
}
.score-picker strong {
  font-size: 2.45rem;
  line-height: 1;
}
.bet-feedback {
  margin: 12px 0 0;
  padding: 10px;
  border-radius: 8px;
  font-weight: 900;
}
.bet-feedback.ok, .lock-note.ok, .alert.success {
  background: #daf7e5;
  color: var(--green-dark);
}
.bet-feedback.warn, .alert.error {
  background: #ffe4e1;
  color: var(--red);
}
.scorer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scorers label {
  display: block;
  margin: 8px 0;
  padding: 8px;
  border-radius: 8px;
  background: #f5f8fa;
}
.primary-action {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 1000;
  box-shadow: 0 8px 0 rgba(16,44,74,.14);
}
.primary-action.disabled {
  opacity: .48;
  box-shadow: none;
}
.primary-action.compact {
  width: auto;
  min-height: 44px;
  box-shadow: none;
}
.lock-note {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
}
.chat-screen {
  min-height: calc(100dvh - 82px);
  grid-template-rows: auto auto auto;
  align-content: start;
  overflow: visible;
  background: linear-gradient(180deg, #eef5f8 0%, #f8fbfd 100%);
}
.bistro-hero {
  border: 1px solid rgba(255,255,255,.24);
  background: radial-gradient(circle at 88% 20%, rgba(255, 212, 58, .38), transparent 24%), linear-gradient(135deg, var(--adp-blue-dark), var(--adp-blue) 46%, #0f7f49);
}
.online-pill {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.chat-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  height: clamp(320px, 58dvh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 10px 22px;
  border: 1px solid rgba(0, 94, 184, .09);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0,94,184,.035) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,251,253,.7)), radial-gradient(circle at 18% 12%, rgba(0,94,184,.08), transparent 28%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.chat-feed:before {
  content: '';
  margin-top: auto;
}
.chat-feed .inline-empty {
  margin: auto;
}
.chat-feed::-webkit-scrollbar {
  width: 8px;
}
.chat-feed::-webkit-scrollbar-track {
  background: transparent;
}
.chat-feed::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(16,44,74,.18);
}
.chat-feed::-webkit-scrollbar-thumb:hover {
  background: rgba(16,44,74,.28);
}
.chat-message {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-message.mine {
  justify-content: flex-end;
}
.chat-message.theirs {
  justify-content: flex-start;
}
.chat-message.admin {
  justify-content: center;
}
.mini-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16,44,74,.12);
  font-size: 1.2rem;
}
.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bubble {
  position: relative;
  max-width: min(78%, 560px);
  padding: 11px 12px 9px;
  border: 1px solid rgba(16,44,74,.08);
  border-radius: 20px 20px 20px 7px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 26px rgba(16,44,74,.09);
}
.theirs .bubble:before, .mine .bubble:before {
  content: '';
  position: absolute;
  bottom: 8px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
  z-index: -1;
}
.theirs .bubble:before {
  left: -4px;
}
.mine .bubble:before {
  right: -4px;
}
.mine .bubble {
  color: #fff;
  border-color: rgba(255,255,255,.18);
  border-radius: 20px 20px 7px 20px;
  background: linear-gradient(135deg, var(--adp-blue), #117c59);
  box-shadow: 0 12px 28px rgba(0,94,184,.18);
}
.admin .bubble {
  max-width: 94%;
  border: 2px solid var(--yellow);
  background: #fff8d2;
}
.bubble header, .bubble footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.bubble header span {
  font-size: .76rem;
  opacity: .64;
}
.bubble header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bubble p {
  margin: 6px 0 8px;
  line-height: 1.45;
}
.bubble footer {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.message-delete {
  display: grid;
  place-items: center;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: inherit;
  font-size: 1.05rem;
  line-height: 1;
  opacity: .72;
  transition: opacity .15s ease, background .15s ease, transform .15s ease;
}
.message-delete:hover {
  opacity: 1;
  transform: scale(1.04);
}
.theirs .message-delete {
  display: none;
}
.bubble footer button {
  min-height: 31px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16,44,74,.07);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(16,44,74,.04);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.mine .bubble footer button {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.bubble footer button:hover {
  transform: translateY(-1px);
}
.bubble footer button.active, .mine .bubble footer button.active {
  background: linear-gradient(135deg, var(--yellow), #ffe98a);
  color: var(--navy);
  box-shadow: 0 7px 16px rgba(255,212,58,.26), inset 0 0 0 1px rgba(16,44,74,.08);
}
.reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.reaction-pill .reaction-count {
  min-width: 14px;
  text-align: center;
  font-size: .76rem;
  opacity: .84;
}
.reaction-pill.active .reaction-emoji {
  filter: drop-shadow(0 2px 4px rgba(16,44,74,.18));
}
.reaction-add {
  min-width: 34px;
  font-size: 1rem;
  border: 1px dashed rgba(16,44,74,.18) !important;
}
.reply-action {
  margin-left: auto;
}
.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(0,94,184,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(16,44,74,.12);
  backdrop-filter: blur(16px);
}
.chat-composer input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
}
.chat-composer button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 1000;
}
.chat-composer .composer-emoji {
  min-width: 48px;
  padding: 0;
  background: #edf5ef;
  color: var(--navy);
  font-size: 1.2rem;
}
@media (max-width: 560px) {
  .screen.chat-screen {
    gap: 10px;
    min-height: calc(100dvh - 76px);
    padding: 12px;
  }
  .chat-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .chat-hero h1 {
    margin-top: 0;
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }
  .chat-hero p {
    font-size: .92rem;
  }
  .online-pill {
    justify-self: start;
  }
  .chat-feed {
    height: clamp(340px, calc(100dvh - 302px), 620px);
    max-height: none;
    padding: 12px 8px 16px;
    border-radius: 12px;
  }
  .chat-message {
    gap: 6px;
  }
  .mini-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 1rem;
  }
  .bubble {
    max-width: calc(100% - 42px);
    padding: 10px 11px 8px;
    border-radius: 18px 18px 18px 6px;
  }
  .mine .bubble {
    border-radius: 18px 18px 6px 18px;
  }
  .bubble header {
    gap: 6px;
    align-items: flex-start;
  }
  .bubble header span {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .bubble p {
    overflow-wrap: anywhere;
  }
  .bubble footer {
    gap: 6px;
  }
  .reply-action {
    margin-left: 0;
  }
  .chat-composer {
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    padding: 7px;
    border-radius: 18px;
  }
  .chat-composer input {
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
  }
  .chat-composer button {
    min-height: 46px;
    padding: 0 12px;
  }
  .chat-composer .composer-emoji {
    min-width: 46px;
    padding: 0;
  }
}
@media (max-width: 380px) {
  .screen.chat-screen {
    padding-inline: 10px;
  }
  .chat-feed {
    height: clamp(310px, calc(100dvh - 292px), 600px);
  }
  .bubble {
    max-width: calc(100% - 36px);
  }
  .chat-composer {
    grid-template-columns: 1fr 42px 54px;
  }
  .chat-composer button {
    padding: 0 8px;
    font-size: .86rem;
  }
  .chat-composer .composer-emoji {
    min-width: 42px;
  }
}
.ranking {
  display: grid;
  gap: 10px;
}
.rank-row {
  display: grid;
  grid-template-columns: 32px 42px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16,44,74,.08);
}
.rank-row.leader {
  background: var(--yellow);
}
.rank-row small {
  display: block;
  font-weight: 900;
  color: var(--green-dark);
}
.daily-points {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.daily-points span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #eef4f8;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 900;
}
.daily-points b {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--adp-blue-dark);
  color: #fff;
  font-size: .7rem;
}
.avatar, .big-avatar {
  font-size: 2rem;
}
.big-avatar, .avatar-button {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  line-height: 1;
}
.plain-rule, .soft {
  opacity: .78;
  line-height: 1.45;
}
.chips, .mini-stats, .swatches, .role-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span, .mini-stats span, .role-strip span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(16,44,74,.06);
}
.clean-list {
  padding-left: 20px;
  line-height: 1.6;
}
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.profile-card h1 {
  margin: 4px 0;
}
.profile-card p {
  margin: 0;
  overflow-wrap: anywhere;
  opacity: .75;
}
.super-profile {
  background: linear-gradient(135deg, #fff, #f7fbff);
}
.profile-balance {
  padding: 10px;
  border-radius: 8px;
  background: var(--yellow);
}
.account-actions {
  display: grid;
  gap: 10px;
}
.account-actions > * {
  display: grid;
  place-items: center;
  text-align: center;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16,44,74,.08);
}
.account-actions .admin-entry {
  color: #fff;
  background: var(--navy);
}
.profile-edit-form {
  display: grid;
  gap: 12px;
}
.profile-edit-form label {
  display: grid;
  gap: 7px;
  color: #526a80;
  font-size: .82rem;
  font-weight: 1000;
}
.profile-edit-form input {
  width: 100%;
  min-height: 50px;
  border: 2px solid rgba(0, 94, 184, .14);
  background: #f8fbff;
  color: var(--navy);
  font-weight: 900;
}
.profile-edit-form input:focus {
  border-color: var(--adp-blue);
  outline: 3px solid rgba(0, 94, 184, .14);
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(16,44,74,.5);
  backdrop-filter: blur(6px);
  display: grid;
  align-items: end;
  animation: sheet-fade .2s ease;
}
.sheet[hidden] {
  display: none;
}
.sheet-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: 90vh;
  overflow: auto;
  margin: 0 auto;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: #fff;
  box-shadow: 0 -20px 60px rgba(16,44,74,.28);
  animation: sheet-up .28s cubic-bezier(.16,.84,.44,1);
}
.sheet-grabber {
  display: block;
  width: 44px;
  height: 5px;
  margin: -6px auto 14px;
  border-radius: 999px;
  background: rgba(16,44,74,.18);
}
.sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.sheet-close:hover {
  background: #e2e8f1;
  transform: rotate(90deg);
}
.preview {
  min-height: 92px;
  display: grid;
  place-items: center;
  margin: 12px 0 4px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-size: 1.4rem;
  font-weight: 1000;
}
.sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  position: sticky;
  bottom: 0;
  padding-top: 4px;
  background: linear-gradient(to top, #fff 70%, transparent);
}
@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes sheet-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 30;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 900;
  transition: .2s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  width: min(820px, 100%);
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.bottom-nav a {
  flex: 1 1 0;
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 58px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.1rem;
}
.bottom-nav span {
  font-size: .72rem;
}
.bottom-nav a.active {
  background: var(--navy);
  color: #fff;
}
.nav-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  font-size: 1.1rem !important;
  line-height: 1;
}
.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-avatar-photo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}
.avatar .avatar-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.big-avatar.has-photo {
  padding: 0;
  overflow: hidden;
}
.big-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.profile-identity {
  min-width: 0;
}
.profile-identity > summary {
  list-style: none;
  cursor: pointer;
  display: block;
}
.profile-identity > summary::-webkit-details-marker {
  display: none;
}
.profile-identity > summary h1, .profile-identity > summary p {
  margin: 0;
}
.profile-identity .edit-hint {
  font-size: .62em;
  opacity: .4;
  vertical-align: middle;
}
.profile-identity > summary:hover .edit-hint, .profile-identity[open] .edit-hint {
  opacity: .9;
}
.profile-identity .profile-edit-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}
input {
  min-height: 44px;
  border: 2px solid #dce6ee;
  border-radius: 8px;
  padding: 10px;
}
.alert {
  padding: 10px;
  border-radius: 8px;
  font-weight: 800;
}
[hidden] {
  display: none !important;
}
@media (min-width: 720px) {
  .competition-picker {
    grid-template-columns: repeat(3, 1fr);
  }
  .match-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .teams {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .teams strong:last-child {
    text-align: center;
  }
  .account-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 430px) {
  .topbar {
    align-items: flex-start;
  }
  .brand small {
    max-width: 120px;
  }
  .hero-ball {
    width: 58px;
    height: 58px;
    font-size: 2rem;
  }
  .score-picker, .scorer-columns {
    grid-template-columns: 1fr;
  }
  .rank-row {
    grid-template-columns: 28px 38px 1fr;
  }
  .rank-row b, .rank-row em {
    justify-self: start;
    grid-column: 3;
  }
}
:root {
  --adp-blue: #005eb8;
  --adp-blue-dark: #004b93;
  --adp-green: #177C46;
}
.topbar-adp {
  min-height: 76px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-bottom: 4px solid var(--adp-blue);
  box-shadow: 0 10px 26px rgba(0, 94, 184, .14);
}
.brand-adp {
  gap: 12px;
}
.adp-logo {
  display: grid;
  place-items: center;
  align-items: center;
  min-width: 96px;
  height: 52px;
  padding: 6px 13px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--adp-blue), var(--adp-blue-dark));
  box-shadow: inset 0 -4px rgba(0, 0, 0, .14), 0 9px 18px rgba(0, 94, 184, .22);
  font-size: 1.34rem;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1;
}
.brand-copy strong {
  display: block;
  color: var(--adp-blue-dark);
  font-size: 1.28rem;
  letter-spacing: 0;
}
.brand-copy small {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: #34516d;
  font-size: .76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-adp .locale-switch {
  background: #eaf2fb;
  border-color: rgba(0, 94, 184, .16);
}
.topbar-adp .locale-switch a.active {
  background: var(--adp-blue);
}
.balance {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
  background: var(--adp-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 124, 70, .22);
}
.balance span {
  font-size: .72rem;
  font-weight: 800;
  opacity: .86;
}
.balance strong {
  font-size: .96rem;
}
@media (max-width: 520px) {
  .topbar-adp {
    align-items: center;
    gap: 8px;
    padding: 10px;
  }
  .adp-logo {
    min-width: 88px;
    height: 46px;
    padding: 5px 7px;
    font-size: 1.05rem;
  }
  .brand-copy small {
    max-width: 118px;
  }
  .brand-logo-img {
    width: min(180px, 44vw);
    max-width: 180px;
  }
  .locale-switch a {
    min-width: 44px;
    padding-inline: 6px;
  }
  .balance {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 7px 10px;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .topbar-adp {
    padding-inline: 8px;
  }
  .brand-logo-img {
    width: min(150px, 40vw);
    max-width: 150px;
  }
  .top-actions {
    gap: 4px;
  }
  .locale-switch a {
    min-width: 38px;
    padding: 6px 4px;
    font-size: .68rem;
  }
  .balance {
    padding: 6px 8px;
  }
}
.api-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(0, 94, 184, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
  box-shadow: 0 10px 26px rgba(0, 94, 184, .1);
}
.admin-api-panel {
  margin-top: 16px;
  background: linear-gradient(135deg, #ffffff, #eef7ff 58%, #edf7ef);
}
.admin-api-panel .eyebrow {
  background: rgba(0, 94, 184, .1);
  color: var(--adp-blue);
}
.api-panel h2 {
  margin: 6px 0 3px;
  color: var(--adp-blue-dark);
  font-size: 1.1rem;
}
.api-panel p {
  margin: 0;
  color: #48627c;
  line-height: 1.35;
}
.api-panel button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--adp-blue);
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(0, 94, 184, .2);
}
@media (max-width: 520px) {
  .api-panel {
    grid-template-columns: 1fr;
  }
}
.pitch-hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px) 0 0 / 52px 100%, linear-gradient(0deg, transparent calc(50% - 2px), rgba(255,255,255,.55) calc(50% - 1px), rgba(255,255,255,.55) calc(50% + 1px), transparent calc(50% + 2px)), radial-gradient(circle at center, transparent 0 42px, rgba(255,255,255,.48) 43px 45px, transparent 46px), linear-gradient(135deg, #0d6739, #159553);
}
.pitch-hero:before, .pitch-hero:after {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 18%;
  width: 54px;
  border: 2px solid rgba(255,255,255,.42);
  z-index: -1;
}
.pitch-hero:before {
  left: 0;
  border-left: 0;
}
.pitch-hero:after {
  right: 0;
  border-right: 0;
}
.login-screen {
  min-height: 100vh;
  align-content: center;
  gap: 18px;
  background: radial-gradient(circle at 12% 16%, rgba(255, 212, 58, .22), transparent 30%), linear-gradient(180deg, rgba(255,255,255,.88), rgba(237,245,239,.96));
}
.modern-login-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  min-height: 240px;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px) 0 0 / 58px 100%, linear-gradient(0deg, transparent calc(50% - 2px), rgba(255,255,255,.5) calc(50% - 1px), rgba(255,255,255,.5) calc(50% + 1px), transparent calc(50% + 2px)), radial-gradient(circle at center, transparent 0 44px, rgba(255,255,255,.42) 45px 47px, transparent 48px), linear-gradient(135deg, var(--adp-blue-dark), var(--adp-blue) 44%, var(--green) 100%);
  box-shadow: 0 20px 44px rgba(0, 75, 147, .24);
}
.modern-login-hero:after {
  content: '';
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(255,255,255,.34);
  border-radius: 50%;
  z-index: -1;
}
.login-brand-card {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 900;
}
.login-brand-card .adp-logo {
  min-width: 70px;
  height: 40px;
  font-size: 1rem;
  box-shadow: none;
}
.modern-login-hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: .95;
  letter-spacing: 0;
}
.modern-login-hero p {
  max-width: 28rem;
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.42;
}
.login-ball {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 -10px rgba(0,0,0,.08), 0 16px 28px rgba(0,0,0,.22);
  font-size: 3.1rem;
}
.login-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-color: rgba(0,94,184,.14);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(16,44,74,.12);
}
.login-card-head h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.login-card-head p {
  margin: 0;
  color: #5f7388;
  line-height: 1.4;
}
.login-field {
  display: grid;
  gap: 7px;
  font-weight: 1000;
}
.login-field span {
  color: #526a80;
  font-size: .82rem;
}
.login-field input {
  min-height: 54px;
  border: 2px solid rgba(0,94,184,.14);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--navy);
  font-weight: 900;
}
.login-field input:focus {
  border-color: var(--adp-blue);
  outline: 3px solid rgba(0,94,184,.14);
}
@media (max-width: 520px) {
  .modern-login-hero {
    grid-template-columns: 1fr;
    min-height: 220px;
    padding-top: 78px;
  }
  .login-ball {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    font-size: 2.2rem;
  }
  .login-brand-card {
    right: 16px;
  }
}
.competition-strip {
  display: grid;
  gap: 10px;
}
.competition-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  box-shadow: 0 10px 24px rgba(16,44,74,.08);
}
.competition-card.active {
  border-color: var(--adp-blue);
  box-shadow: 0 0 0 3px rgba(0,94,184,.14), 0 10px 24px rgba(16,44,74,.08);
}
.competition-card.archived {
  opacity: .84;
}
.competition-card strong {
  display: block;
  font-size: 1rem;
}
.competition-card small {
  display: block;
  margin-top: 3px;
  color: #5a7187;
  font-weight: 800;
}
.help-screen {
  background: linear-gradient(180deg, #f4faf7 0%, #f9fbfc 100%);
}
.help-team-list {
  display: grid;
  gap: 14px;
}
.team-advice-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,251,249,.98)), radial-gradient(circle at 0 0, rgba(20,134,77,.12), transparent 34%);
  box-shadow: 0 14px 32px rgba(16,44,74,.08);
}
.team-advice-card header div {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.team-flag {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef6f1;
  font-size: 1.45rem;
}
.team-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px;
}
.team-metrics section {
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,44,74,.06);
}
.scorer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scorer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 999px;
  background: #edf5ef;
  color: var(--green-dark);
  font-size: .84rem;
}
.scorer-badges b {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.squad-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.squad-table span {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(16,44,74,.06);
}
.squad-table b {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #edf3f8;
  color: var(--adp-blue-dark);
  font-size: .74rem;
}
.team-advice-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.team-advice-card h2 {
  margin: 0;
  font-size: 1.25rem;
}
.team-advice-card header > span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f2f6f3;
  color: #607489;
  font-size: .78rem;
  font-weight: 1000;
}
.form-row {
  display: flex;
  gap: 7px;
}
.form-pill {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  font-size: .84rem;
}
.form-pill.win {
  background: var(--green);
}
.form-pill.loss {
  background: var(--red);
}
.form-pill.draw {
  background: #9aa8b8;
}
.form-pill.empty {
  background: #e6edf2;
  color: #8292a3;
}
.team-label, .scorer-line {
  margin: 0;
}
.team-insight {
  padding: 12px;
  border-radius: 8px;
  background: #e5f5ec;
  color: #0c6538;
  font-weight: 900;
  line-height: 1.35;
}
.team-advice-card summary {
  cursor: pointer;
  font-weight: 900;
}
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.scorer-select-label {
  display: block;
  margin: 6px 0 7px;
  color: #526a80;
  font-size: .82rem;
  font-weight: 1000;
}
.scorer-select {
  width: 100%;
  min-height: 52px;
  margin-bottom: 14px;
  border: 2px solid rgba(0, 94, 184, .18);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}
.scorer-select:focus {
  border-color: var(--adp-blue);
  outline: 3px solid rgba(0, 94, 184, .14);
}
.compact-lineups .player-row {
  grid-template-columns: 34px 1fr;
}
.lineup-team {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf8;
}
.lineup-team header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.lineup-team h3 {
  margin: 0;
}
.player-list {
  display: grid;
  gap: 6px;
}
.player-row {
  display: grid;
  grid-template-columns: auto 34px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}
.player-row span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e9f0f4;
  font-size: .75rem;
  font-weight: 1000;
}
.player-row.pickable {
  border: 1px solid rgba(23,124,70,.18);
}
.player-row input:disabled {
  opacity: .35;
}
.score-audit {
  display: grid;
  gap: 8px;
}
.emoji-menu {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 35;
  width: min(420px, calc(100vw - 24px));
  max-height: min(68vh, 560px);
  overflow: auto;
  transform: translateX(-50%);
  padding: 14px;
  border: 1px solid rgba(0,94,184,.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,253,.96)), radial-gradient(circle at 12% 0, rgba(255,212,58,.18), transparent 28%);
  box-shadow: 0 22px 60px rgba(16,44,74,.24);
  backdrop-filter: blur(18px);
}
.emoji-menu > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.emoji-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.emoji-filters button {
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
}
.emoji-filters button.active {
  background: var(--adp-blue-dark);
  color: #fff;
}
.emoji-menu section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 8px;
}
.emoji-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #edf2f7;
  font-weight: 1000;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.emoji-menu button:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 8px 18px rgba(16,44,74,.1);
}
.emoji-menu [hidden] {
  display: none;
}
@media (max-width: 560px) {
  .emoji-menu {
    left: 10px;
    right: 10px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: auto;
    max-height: min(62dvh, 520px);
    transform: none;
    padding: 12px;
    border-radius: 18px;
  }
  .emoji-menu > div {
    gap: 10px;
  }
  .emoji-filters {
    margin-inline: -2px;
    padding-inline: 2px;
    scrollbar-width: none;
  }
  .emoji-filters::-webkit-scrollbar {
    display: none;
  }
  .emoji-menu section {
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  }
  .emoji-menu button {
    min-height: 40px;
  }
}
.avatar-button {
  border: 0;
  cursor: pointer;
}
.avatar-button.has-photo {
  overflow: hidden;
  padding: 0;
}
.avatar-button img, .photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-button:focus {
  outline: 3px solid rgba(0, 94, 184, .22);
}
.avatar-panel {
  display: grid;
  gap: 14px;
}
.avatar-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.avatar-tab-panel[hidden] {
  display: none;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  gap: 10px;
  max-height: 320px;
  overflow: auto;
}
.avatar-grid button {
  aspect-ratio: 1;
  min-height: 52px;
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 8px;
  background: #f5f8fb;
  font-size: 1.8rem;
  cursor: pointer;
}
.avatar-grid button:hover {
  background: #edf5ef;
}
.photo-upload {
  display: grid;
  gap: 6px;
  min-height: 132px;
  place-items: center;
  padding: 18px;
  border: 1px dashed rgba(0, 94, 184, .36);
  border-radius: 8px;
  background: #f5f8fb;
  color: var(--adp-blue-dark);
  cursor: pointer;
  text-align: center;
}
.photo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.photo-upload span {
  color: #607287;
  font-weight: 800;
}
.photo-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #edf2f7;
  box-shadow: inset 0 0 0 1px rgba(16, 44, 74, .12);
}
.admin-screen {
  display: grid;
  gap: 16px;
  background: #f5f8fb;
  max-width: 1120px;
}
.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--adp-blue-dark), var(--adp-blue));
  color: #fff;
}
.admin-hero h1 {
  margin: 4px 0;
  font-size: 1.8rem;
}
.admin-hero p {
  margin: 0;
  opacity: .86;
}
.primary-action.compact {
  width: auto;
  min-height: 42px;
  padding: 0 14px;
  text-decoration: none;
}
.ea .admin-screen {
  padding: 0;
}
.ea .admin-hero, .ea .content-panel {
  border-radius: 10px;
}
.ea .content-panel {
  border: 1px solid rgba(16, 44, 74, .1);
}
.content-panel {
  padding: 16px;
  border: 1px solid rgba(16, 44, 74, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 44, 74, .08);
}
.content-panel h2 {
  margin-top: 0;
}
.participant-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.participant-form input, .participant-form select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.admin-table th, .admin-table td {
  padding: 11px 9px;
  border-bottom: 1px solid #e7edf2;
  text-align: left;
}
.admin-table th {
  color: #536b83;
  font-size: .78rem;
  text-transform: uppercase;
}
.admin-table button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 9px;
  background: #edf3f8;
  color: var(--adp-blue-dark);
  font-weight: 900;
  cursor: pointer;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.admin-table td:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 260px;
}
.admin-table button:disabled {
  cursor: wait;
  opacity: .55;
}
.admin-table button.danger-action, .danger-action {
  background: #ffe9e5;
  color: #9f2618;
}
.admin-note {
  margin: 8px 0 12px;
  border-left: 4px solid var(--yellow);
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff9d8;
  color: var(--navy);
  font-weight: 850;
}
.manual-api-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 10px;
  background: #fff;
}
.manual-api-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}
.manual-api-form label {
  display: grid;
  gap: 6px;
  color: #536b83;
  font-size: .82rem;
  font-weight: 1000;
}
.manual-api-form input, .manual-api-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: var(--navy);
}
.manual-api-status {
  min-height: 22px;
  margin: 0;
  color: var(--adp-blue-dark);
  font-weight: 900;
}
.manual-api-output {
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #0f2438;
  color: #d8f3ff;
  font-size: .78rem;
  white-space: pre-wrap;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.admin-stat-grid article {
  padding: 14px;
  border-radius: 8px;
  background: #edf5ef;
}
.admin-stat-grid article:first-child {
  background: var(--adp-blue-dark);
  color: #fff;
}
.admin-stat-grid article:nth-child(2) {
  background: var(--yellow);
  color: var(--adp-blue-dark);
}
.admin-stat-grid h2 {
  margin: 4px 0;
}
.admin-stat-grid p {
  margin: 0;
  opacity: .82;
}
@media (max-width: 560px) {
  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}
.match-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.modern-match-card {
  display: grid;
  gap: 16px;
  min-height: 0;
  border: 1px solid rgba(0, 94, 184, .13);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(246, 250, 252, .98)), radial-gradient(circle at 18% 0, rgba(0, 94, 184, .12), transparent 34%);
  box-shadow: 0 12px 28px rgba(16, 44, 74, .08);
  color: var(--navy);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.modern-match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 94, 184, .28);
  box-shadow: 0 18px 34px rgba(16, 44, 74, .12);
}
.modern-match-card.live {
  border-color: rgba(20, 134, 77, .32);
  background: linear-gradient(135deg, #f5fff9, #fff);
}
.modern-match-card.done {
  background: linear-gradient(135deg, #f5f7fa, #fff);
}
.match-card-top, .match-card-bottom, .match-card-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.match-card-top span, .match-card-times span, .match-card-bottom span, .bettor-time {
  color: #5f7286;
  font-size: .82rem;
  font-weight: 900;
}
.match-card-top strong {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--yellow);
  color: var(--adp-blue-dark);
  font-size: .78rem;
}
.match-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.match-card-main strong {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 1.14rem;
  line-height: 1.12;
}
.match-card-main strong:last-child {
  justify-content: flex-end;
  text-align: right;
}
.team-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  background: #eef5f8;
  box-shadow: inset 0 0 0 1px rgba(16,44,74,.05);
}
.match-versus {
  display: grid;
  place-items: center;
  min-width: 50px;
  height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--adp-blue-dark);
  color: #fff;
  font-weight: 1000;
  letter-spacing: 0;
}
.modern-match-card .match-state {
  color: var(--adp-blue-dark);
}
.modern-match-card .chevron {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf3f8;
  color: var(--adp-blue-dark);
}
.results-archives {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.results-screen {
  background: linear-gradient(180deg, #f6f9fb 0%, #fbfcf8 100%);
}
.results-head {
  padding-bottom: 4px;
}
.modern-ranking {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0, 94, 184, .1);
  box-shadow: 0 12px 28px rgba(16,44,74,.06);
}
.modern-ranking .rank-row {
  border: 1px solid rgba(16,44,74,.06);
  box-shadow: none;
}
.modern-ranking .rank-row.leader {
  background: linear-gradient(135deg, var(--yellow), #fff4a3);
  border-color: rgba(198, 145, 0, .24);
}
.modern-ranking .rank {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--adp-blue-dark);
  color: #fff;
}
.results-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 94, 184, .1);
  border-radius: 8px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 28px rgba(16,44,74,.06);
}
.validated-grid {
  display: grid;
  gap: 10px;
}
.validated-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(16,44,74,.06);
}
.validated-card small, .validated-card span {
  color: #607489;
  font-weight: 900;
}
.validated-card strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.validated-card b {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--adp-blue-dark);
  color: #fff;
}
.archive-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.archive-strip .competition-card {
  min-height: 86px;
  justify-content: flex-start;
  border: 1px solid rgba(0, 94, 184, .14);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 44, 74, .07);
}
.archive-strip .competition-card.active {
  border-color: rgba(20, 134, 77, .34);
  background: linear-gradient(135deg, #f2fbf5, #fff);
}
.nonante-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 44px;
}
.nonante-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ffe047, #ffd43a);
  box-shadow: 0 6px 16px rgba(255,212,58,.4);
}
.nonante-head h2 {
  margin: 0;
  font-size: 1.4rem;
}
.nonante-head p {
  margin: 2px 0 0;
  color: #607287;
  font-weight: 700;
  font-size: .9rem;
}
.nonante-preview {
  flex-direction: column;
  gap: 2px;
  background: var(--personal-bg, #edf5ef);
  color: var(--personal-text, var(--navy));
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px rgba(16,44,74,.1);
}
.nonante-preview span {
  font-size: .78rem;
  font-weight: 700;
  opacity: .7;
}
.nonante-group {
  margin-top: 18px;
}
.nonante-label {
  margin: 0 0 10px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7789a0;
  font-weight: 900;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}
.palette-grid .swatch-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 12px;
  justify-content: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.palette-grid .swatch-chip:hover {
  border-color: rgba(16,44,74,.28);
  transform: translateY(-1px);
}
.palette-grid .swatch-chip.active {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16,44,74,.12);
}
.palette-grid .swatch-dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(16, 44, 74, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff;
}
.nonante-fonts {
  border-radius: 14px;
  padding: 6px;
}
.nonante-fonts button {
  min-height: 44px;
  border-radius: 10px;
}
.ghost-action {
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.ghost-action:hover {
  background: #f4f7fb;
  border-color: rgba(16,44,74,.28);
}
.sheet-actions .primary-action {
  flex: 1;
}
.matchdays {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}
.section-head.compact {
  margin-bottom: 4px;
}
.section-head.compact h2 {
  margin: 0;
  font-size: 1rem;
}
.matchday {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  overflow: hidden;
}
.matchday > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 900;
  color: var(--navy);
}
.matchday > summary::-webkit-details-marker {
  display: none;
}
.matchday > summary::after {
  content: '⌄';
  margin-left: auto;
  font-size: 1.1rem;
  opacity: .5;
  transition: transform .2s ease;
}
.matchday[open] > summary::after {
  transform: rotate(180deg);
}
.matchday[open] > summary {
  border-bottom: 1px solid var(--line);
}
.matchday-num {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
}
.matchday-date {
  color: #607287;
  font-weight: 800;
  font-size: .85rem;
}
.matchday-count {
  margin-left: auto;
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: .8rem;
}
.matchday[open] > summary .matchday-count {
  margin-left: 0;
}
.matchday-games {
  display: grid;
}
.matchday-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--navy);
  border-top: 1px solid rgba(16,44,74,.06);
}
.matchday-row:first-child {
  border-top: 0;
}
.matchday-row:hover {
  background: rgba(16,44,74,.04);
}
.matchday-time {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: .82rem;
  color: #607287;
  min-width: 40px;
}
.matchday-teams {
  font-weight: 700;
  font-size: .9rem;
}
.matchday-teams b {
  padding: 0 4px;
  font-weight: 900;
}
.matchday-row.live {
  background: rgba(210,31,47,.06);
}
.matchday-row.live .matchday-time {
  color: #d21f2f;
}
.matchday-row.betted {
  background: rgba(23,124,70,.06);
}
.matchday-row.betted .chevron {
  color: #1a9e5f;
  font-weight: 900;
}
.admin-competition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.competition-summary .competition-card {
  cursor: pointer;
}
.empty-row td {
  padding: 22px;
  color: #607287;
  font-weight: 900;
  text-align: center;
}
.empty-admin-card {
  display: grid;
  gap: 6px;
  min-height: 104px;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(0, 94, 184, .24);
  border-radius: 8px;
  background: #f8fbfd;
  color: #607287;
}
.empty-admin-card strong {
  color: var(--adp-blue-dark);
  font-size: 1rem;
}
.admin-competition-grid article {
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}
.admin-competition-grid article:first-child {
  background: linear-gradient(135deg, #edf5ef, #fff);
}
.admin-competition-grid .competition-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.admin-competition-grid .competition-card.selected {
  border-color: var(--adp-blue);
  box-shadow: 0 0 0 3px rgba(0, 94, 184, .12), 0 14px 30px rgba(16, 44, 74, .1);
}
.admin-competition-grid .competition-card button, .admin-bracket button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  background: var(--adp-blue-dark);
  color: #fff;
  font-weight: 900;
}
.admin-competition-grid h3, .admin-competition-grid p {
  margin: 0;
}
.admin-competition-grid p {
  margin-top: 6px;
  color: #536b83;
  font-weight: 900;
}
.admin-table tr.editing {
  background: #fff9d8;
}
.admin-table tr.editing [contenteditable="true"] {
  outline: 2px solid rgba(0, 94, 184, .22);
  outline-offset: 3px;
  border-radius: 4px;
}
.admin-table tr.is-removed {
  opacity: .62;
  background: #f7f3f0;
}
.admin-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
}
.competition-form, .compact-form {
  margin-bottom: 14px;
}
.competition-manager {
  margin-top: 14px;
}
.competition-workbench {
  border: 1px solid rgba(0, 94, 184, .16);
  background: linear-gradient(135deg, #fff, #f6fbff);
}
.workbench-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.workbench-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(0, 94, 184, .1);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}
.workbench-grid small {
  color: #64778b;
  font-weight: 1000;
  text-transform: uppercase;
}
.workbench-grid p {
  margin: 0;
  color: #536b83;
  font-weight: 800;
}
.logo-editor {
  display: flex;
  gap: 8px;
}
.admin-logo-preview {
  width: max-content;
  min-width: 86px;
}
.logo-editor input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font-weight: 1000;
}
.logo-editor button, .api-fixture-list button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--adp-blue-dark);
  color: #fff;
  font-weight: 1000;
}
.api-fixture-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.api-fixture-list article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.api-fixture-list span, .muted-money {
  color: #64778b;
  font-weight: 850;
}
.admin-table tr.non-bettor {
  background: #f6f8fa;
}
.admin-bracket, .planner-knockout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.admin-bracket article, .planner-knockout article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(0, 94, 184, .14);
  border-radius: 8px;
  padding: 13px;
  background: linear-gradient(135deg, #fff, #f6fafc);
  box-shadow: 0 10px 22px rgba(16, 44, 74, .07);
}
.admin-bracket small, .planner-knockout small {
  color: #64778b;
  font-weight: 1000;
  text-transform: uppercase;
}
.admin-bracket strong, .planner-knockout strong {
  color: var(--navy);
}
.admin-bracket span, .planner-knockout span {
  color: var(--adp-blue-dark);
  font-weight: 900;
}
.payment-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.payment-summary article {
  border-radius: 8px;
  padding: 14px;
  background: #edf5ef;
}
.payment-summary article:nth-child(2) {
  background: var(--yellow);
  color: var(--adp-blue-dark);
}
.payment-summary article:nth-child(3) {
  background: var(--adp-blue-dark);
  color: #fff;
}
.payment-summary small, .payment-summary strong {
  display: block;
}
.payment-summary strong {
  margin-top: 4px;
  font-size: 1.25rem;
}
.day-ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.participant-detail {
  scroll-margin-top: 18px;
}
.participant-workbench, .scorer-admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.participant-workbench article, .scorer-admin-list article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 8px;
  background: #f8fbfd;
}
.participant-workbench small, .scorer-admin-list small {
  color: #64778b;
  font-weight: 1000;
  text-transform: uppercase;
}
.miro-planner {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(rgba(6, 21, 44, .74), rgba(6, 21, 44, .8)), repeating-linear-gradient(90deg, #175d36 0 80px, #1d7041 80px 160px);
  color: #fff;
  overflow: hidden;
}
.planner-title {
  text-align: center;
  font-weight: 1000;
  font-size: clamp(1.2rem, 3vw, 2rem);
}
.planner-knockout-lane {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.planner-knockout-lane article {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 12px;
  border: 2px solid rgba(255, 212, 58, .56);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
}
.planner-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.planner-groups article {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  color: var(--navy);
}
.planner-groups h3 {
  margin: 0 0 4px;
  font-size: .95rem;
}
.planner-groups span {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0, 94, 184, .08);
  font-weight: 900;
}
.day-ledger article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(0, 94, 184, .12);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #fff, #edf5ef);
}
.day-ledger small {
  color: #64778b;
  font-weight: 1000;
}
.day-ledger strong {
  color: var(--adp-blue-dark);
  font-size: 1.3rem;
}
.day-ledger span {
  color: #536b83;
  font-weight: 850;
}
.tournament-planner {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(16, 44, 74, .94), rgba(10, 87, 50, .9)), repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, .08) 70px 74px);
  color: #fff;
}
.tournament-planner .card-head h2, .tournament-planner .card-head span {
  color: #fff;
}
.planner-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.planner-groups article {
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
}
.planner-groups h3 {
  margin: 0 0 8px;
  font-size: .92rem;
}
.planner-groups ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.planner-groups li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 6px;
  padding: 7px 8px;
  background: #f5f8fb;
  font-weight: 900;
}
@media (min-width: 760px) {
  .match-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
@media (max-width: 560px) {
  .match-card-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .match-card-main strong:last-child {
    text-align: left;
  }
  .match-versus {
    width: auto;
    height: auto;
    border-radius: 999px;
    padding: 6px 10px;
  }
}
.rank-row em.gain-positive {
  color: #1a9e5f;
  font-weight: 900;
}
:root {
  --adp-ink: #102c4a;
  --adp-muted: #607489;
  --adp-surface: rgba(255, 255, 255, .92);
  --adp-surface-strong: #ffffff;
  --adp-border: rgba(16, 44, 74, .11);
  --adp-shadow-sm: 0 8px 22px rgba(16, 44, 74, .08);
  --adp-shadow-md: 0 18px 42px rgba(16, 44, 74, .13);
  --adp-radius: 14px;
  --adp-radius-sm: 10px;
}
html {
  background: linear-gradient(145deg, #063f28 0%, #126a41 48%, #f1c93b 118%);
}
body {
  color: var(--adp-ink);
  background: linear-gradient(180deg, rgba(0, 94, 184, .12), transparent 220px), linear-gradient(145deg, #063f28 0%, #126a41 50%, #f1c93b 125%);
}
.app-shell {
  width: min(100%, 900px);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,249,252,.94) 290px, var(--personal-bg));
  box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 26px 70px rgba(0,0,0,.18);
}
.screen {
  gap: 18px;
  padding: 18px;
}
.topbar-adp {
  min-height: 72px;
  border-bottom: 1px solid rgba(0, 94, 184, .16);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,255,.9));
  box-shadow: 0 10px 30px rgba(0, 75, 147, .10);
}
.brand-logo-img {
  filter: drop-shadow(0 6px 12px rgba(0, 94, 184, .12));
}
.locale-switch, .segmented {
  border-color: rgba(0, 94, 184, .12);
  background: rgba(238, 244, 250, .84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.locale-switch a, .segmented button, .balance, .match-state, .eyebrow, .online-pill, .competition small, .card-head span {
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.locale-switch a.active, .segmented .active {
  background: linear-gradient(135deg, var(--adp-blue-dark), var(--adp-blue));
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 94, 184, .18);
}
.balance {
  background: linear-gradient(135deg, var(--adp-green), #0f7f49);
  color: #fff;
}
.home-hero, .chat-hero, .modern-login-hero {
  border-radius: var(--adp-radius);
  box-shadow: var(--adp-shadow-md);
}
.pitch-hero {
  min-height: 188px;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px) 0 0 / 54px 100%, linear-gradient(0deg, transparent calc(50% - 2px), rgba(255,255,255,.54) calc(50% - 1px), rgba(255,255,255,.54) calc(50% + 1px), transparent calc(50% + 2px)), radial-gradient(circle at center, transparent 0 42px, rgba(255,255,255,.42) 43px 45px, transparent 46px), linear-gradient(135deg, #0d5d3a 0%, #128f57 54%, #005eb8 124%);
}
.home-hero h1, .chat-hero h1, .modern-login-hero h1, .section-head h1 {
  line-height: 1.02;
}
.competition-logo {
  max-width: min(180px, 60vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.hero-pot, .card, .ticket, .team-advice-card, .content-panel, .results-panel, .competition-card, .matchday, .final-score-card, .chat-feed, .chat-composer, .sheet-panel, .login-card {
  border: 1px solid var(--adp-border);
  border-radius: var(--adp-radius);
  background: var(--adp-surface);
  box-shadow: var(--adp-shadow-sm);
}
.hero-pot {
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(247,251,253,.78));
}
.hero-pot div {
  border: 1px solid rgba(255, 212, 58, .42);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 58, .96), rgba(255, 237, 146, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.card, .ticket, .team-advice-card, .results-panel {
  padding: 18px;
}
.card-head h2, .section-head h1, .results-head h1, .team-advice-card h2 {
  margin-top: 0;
}
.section-head {
  padding: 4px 2px;
}
.section-head p, .soft, .plain-rule, .match-hero p, .team-label {
  color: var(--adp-muted);
}
.segmented.floating {
  top: 80px;
  border-radius: 999px;
  padding: 6px;
}
.segmented button {
  border-radius: 999px;
}
.matchday {
  overflow: hidden;
  background: rgba(255,255,255,.88);
}
.matchday > summary {
  min-height: 58px;
  padding: 13px 16px;
}
.matchday-num {
  background: linear-gradient(135deg, var(--adp-blue-dark), var(--adp-blue));
}
.matchday-date {
  color: var(--adp-muted);
}
.matchday-row {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 12px 16px;
}
.matchday-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  border-radius: 999px;
  background: #eef4f8;
}
.matchday-teams {
  min-width: 0;
  overflow-wrap: anywhere;
}
.matchday-teams b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  margin: 0 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16,44,74,.08);
}
.matchday-row.live {
  background: linear-gradient(90deg, rgba(196,71,63,.08), rgba(255,255,255,.92));
}
.matchday-row.betted {
  background: linear-gradient(90deg, rgba(23,124,70,.10), rgba(255,255,255,.92));
}
.premium-ticket {
  border-color: rgba(255,255,255,.28);
  background: radial-gradient(circle at 88% 10%, rgba(255, 212, 58, .28), transparent 30%), linear-gradient(135deg, #102c4a 0%, #005eb8 62%, #0f7f49 130%);
}
.winner-grid button, .score-picker div, .scorer-select, .primary-action, .account-actions > *, .ghost-action {
  border-radius: var(--adp-radius-sm);
}
.winner-grid button.active {
  background: linear-gradient(135deg, var(--adp-green), #0f7f49);
}
.score-picker div {
  border: 1px solid rgba(0,94,184,.10);
  background: linear-gradient(180deg, #f6faf8, #eef6f2);
}
.score-picker button {
  border-radius: 999px;
}
.score-picker strong {
  color: var(--adp-blue-dark);
}
.scorer-select {
  min-height: 54px;
  border: 1.5px solid rgba(0,94,184,.18);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.primary-action {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), #ffe98a);
  box-shadow: 0 9px 0 rgba(16,44,74,.13), 0 18px 34px rgba(255,212,58,.20);
}
.primary-action:hover {
  transform: translateY(-1px);
}
.team-advice-card {
  overflow: hidden;
}
.team-advice-card header {
  align-items: flex-start;
}
.team-flag {
  filter: drop-shadow(0 4px 10px rgba(16,44,74,.12));
}
.form-pill {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.scorer-badges span, .squad-table span, .bet-row, .validated-card {
  border-radius: var(--adp-radius-sm);
}
.profile-card {
  border-radius: var(--adp-radius);
}
.big-avatar, .avatar-button, .nav-avatar-photo {
  box-shadow: 0 10px 24px rgba(16,44,74,.13);
}
.account-actions {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.account-actions > * {
  min-height: 52px;
  border: 1px solid var(--adp-border);
}
.bottom-nav {
  width: min(900px, 100%);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(16,44,74,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 -14px 34px rgba(16,44,74,.10);
}
.bottom-nav a {
  min-width: 0;
  border-radius: 14px;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.bottom-nav a.active {
  background: linear-gradient(135deg, var(--adp-blue-dark), var(--adp-blue));
  box-shadow: 0 10px 24px rgba(0,94,184,.22);
}
.bottom-nav a:active {
  transform: translateY(1px);
}
.modern-login-hero {
  min-height: 250px;
}
.login-card {
  border-color: rgba(0,94,184,.13);
}
.login-field input, .profile-edit-form input, input, select, textarea {
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.login-field input:focus, .profile-edit-form input:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--adp-blue);
  outline: 3px solid rgba(0,94,184,.14);
}
.sheet {
  backdrop-filter: blur(8px);
}
.sheet-panel {
  max-height: min(86dvh, 760px);
  overflow: auto;
}
.chat-feed {
  border-radius: 18px;
}
.chat-composer {
  border-radius: 18px;
}
.bubble {
  box-shadow: 0 10px 28px rgba(16,44,74,.10);
}
.mine .bubble {
  background: linear-gradient(135deg, var(--adp-blue), #0f7f49);
}
@media (min-width: 760px) {
  .screen {
    padding: 22px;
  }
  .home-screen, .results-screen, .help-screen, .account-screen, .match-detail {
    gap: 20px;
  }
  .hero-pot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .help-team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .app-shell {
    width: 100%;
    box-shadow: none;
  }
  .screen {
    padding: 12px;
    gap: 12px;
  }
  .topbar-adp {
    min-height: 66px;
    padding: 9px 10px;
  }
  .top-actions {
    max-width: 46vw;
  }
  .locale-switch {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .locale-switch::-webkit-scrollbar {
    display: none;
  }
  .locale-switch a {
    min-width: 38px;
    padding: 6px 5px;
    font-size: .68rem;
  }
  .balance {
    width: 100%;
    min-width: 0;
    padding: 6px 8px;
    font-size: .78rem;
  }
  .home-hero, .chat-hero, .modern-login-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
  }
  .rolling-ball-track {
    --track: calc(100vw - 44px);
    width: 100%;
    min-width: 0;
    height: 92px;
    margin-top: 4px;
  }
  .hero-pot {
    grid-template-columns: 1fr;
  }
  .segmented.floating {
    top: 66px;
    margin-inline: -2px;
  }
  .matchday-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .matchday-time {
    justify-content: flex-start;
    width: max-content;
    grid-column: 1 / -1;
  }
  .matchday-teams {
    font-size: .9rem;
  }
  .final-score-card div {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .final-score-card strong:last-child {
    text-align: center;
  }
  .winner-grid, .score-picker, .scorer-columns {
    grid-template-columns: 1fr;
  }
  .profile-card {
    grid-template-columns: auto 1fr;
  }
  .profile-balance {
    grid-column: 1 / -1;
    width: max-content;
  }
  .bottom-nav a {
    min-height: 54px;
    font-size: 1rem;
  }
  .bottom-nav span {
    font-size: .66rem;
  }
}
@media (max-width: 390px) {
  .brand-logo-img {
    width: min(132px, 38vw);
  }
  .home-hero h1, .chat-hero h1, .match-hero h1 {
    font-size: clamp(1.55rem, 10vw, 2.1rem);
  }
  .card, .ticket, .team-advice-card, .results-panel {
    padding: 14px;
  }
}
:root {
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .7, .28, 1);
  --shadow: 0 1px 2px rgba(16, 44, 74, .05), 0 10px 26px rgba(16, 44, 74, .11);
  --shadow-lg: 0 2px 8px rgba(16, 44, 74, .07), 0 26px 60px rgba(16, 44, 74, .20);
  --ring: 0 0 0 3px rgba(255, 212, 58, .5);
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  letter-spacing: -.012em;
}
.card, .ticket, .glass-panel, .chat-composer, .final-score-card, .competition, .competition-card, .content-panel, .empty-state, .winner-grid button, .score-picker div, .score-picker button, .bet-feedback, .lock-note, .alert, .profile-balance, .account-actions > *, .hero-pot div, .toast {
  border-radius: var(--radius);
}
.home-hero, .chat-hero, .premium-ticket, .match-hero, .hero-pot, .segmented, .card.bet-card {
  border-radius: var(--radius-lg);
}
.card, .ticket, .glass-panel, .final-score-card, .competition, .competition-card, .content-panel {
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover, .ticket:hover, .competition:hover, .competition-card:hover, .content-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.primary-action {
  background: linear-gradient(135deg, #ffd94d, #f4b81f);
  box-shadow: 0 10px 22px rgba(244, 184, 31, .38);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.primary-action:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(244, 184, 31, .46);
}
.primary-action:active:not(.disabled) {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(244, 184, 31, .40);
}
input, textarea, select {
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: var(--ring);
}
.bottom-nav {
  box-shadow: 0 -8px 30px rgba(16, 44, 74, .10);
  border-top: 1px solid rgba(255, 255, 255, .6);
}
.bottom-nav a {
  border-radius: 14px;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.bottom-nav a:not(.active):hover {
  background: rgba(16, 44, 74, .06);
}
.bottom-nav a.active {
  background: linear-gradient(135deg, var(--navy), #1c4b7d);
  box-shadow: 0 8px 18px rgba(16, 44, 74, .28);
}
.segmented {
  padding: 6px;
}
.segmented button {
  border-radius: 12px;
  transition: background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.segmented .active {
  box-shadow: 0 6px 14px rgba(16, 44, 74, .24);
}
.hero-pot div {
  box-shadow: 0 10px 22px rgba(255, 212, 58, .30);
}
.premium-ticket .match-meta {
  color: rgba(255, 255, 255, .88);
}
.premium-ticket .match-meta strong {
  color: var(--yellow);
}
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
.avatar-panel h2 {
  margin: 2px 0 4px;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}
.avatar-upload {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f9fd, #eef4fb);
  border: 1px dashed rgba(16, 44, 74, .18);
}
.avatar-upload .scorer-select-label {
  margin: 0;
  font-weight: 800;
}
.avatar-upload input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: .9rem;
}
.avatar-upload input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), #1c4b7d);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.avatar-upload input[type="file"]::file-selector-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 44, 74, .28);
}
.avatar-grid {
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 10px;
  padding: 4px;
}
.avatar-grid button {
  aspect-ratio: 1;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, #ffffff, #f4f8fc);
  font-size: 1.75rem;
  box-shadow: 0 3px 8px rgba(16, 44, 74, .05);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), border-color .14s var(--ease);
}
.avatar-grid button:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--yellow);
  box-shadow: 0 12px 22px rgba(16, 44, 74, .16);
  background: #fff;
}
.avatar-grid button:active {
  transform: translateY(0) scale(1);
}
.nonante-head h2 {
  font-size: 1.55rem;
  letter-spacing: -.015em;
}
.nonante-badge {
  border-radius: 18px;
}
.nonante-preview {
  min-height: 108px;
  border-radius: 18px;
  font-size: 1.6rem;
}
.nonante-preview span {
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nonante-label {
  font-size: .74rem;
  letter-spacing: .12em;
  color: #59708c;
}
.palette-grid {
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.palette-grid .swatch-chip {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 78px;
  padding: 12px;
  border-radius: 16px;
  border-width: 1.5px;
  background: linear-gradient(160deg, #ffffff, #f7fafd);
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 44, 74, .05);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), border-color .14s var(--ease);
}
.palette-grid .swatch-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 44, 74, .22);
  box-shadow: 0 12px 24px rgba(16, 44, 74, .12);
}
.palette-grid .swatch-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), 0 4px 10px rgba(16, 44, 74, .18);
}
.palette-grid .swatch-chip.active {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16, 44, 74, .14), 0 10px 22px rgba(16, 44, 74, .12);
}
.palette-grid .swatch-chip.active::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 10px;
  color: var(--green);
  font-weight: 900;
}
.palette-grid .swatch-chip {
  position: relative;
}
.nonante-fonts {
  border-radius: 16px;
  padding: 6px;
  gap: 6px;
}
.nonante-fonts button {
  min-height: 48px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.help-team-list {
  gap: 16px;
  grid-template-columns: 1fr;
}
.team-advice-card {
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f7fbf9), radial-gradient(circle at 100% 0, rgba(20, 134, 77, .10), transparent 42%);
  box-shadow: 0 12px 30px rgba(16, 44, 74, .08);
}
.team-advice-card header {
  align-items: center;
}
.team-advice-card h2 {
  font-size: 1.3rem;
  letter-spacing: -.01em;
}
.team-flag {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.5rem;
}
.team-advice-card header > span {
  background: var(--navy);
  color: #fff;
  letter-spacing: .06em;
}
.team-metrics {
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 620px) {
  .team-metrics {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
  }
}
.pitch-hero {
  background: #2f9f40;
}
.pitch-hero:before, .pitch-hero:after {
  display: none;
}
.pitch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: inherit;
}
.pitch-hero .hero-copy {
  position: relative;
  z-index: 1;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(8, 42, 26, .30);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 30px rgba(4, 26, 14, .28);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  backdrop-filter: blur(8px) saturate(115%);
}
.pitch-hero .eyebrow {
  background: rgba(255, 212, 58, .95);
  color: #0b2138;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.hero-emblem {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}
.hero-emblem .eyebrow {
  margin-bottom: 4px;
}
.emblem-title {
  margin: 0;
  font-size: clamp(1.15rem, 4.6vw, 1.7rem) !important;
  letter-spacing: .01em;
  text-shadow: 0 2px 10px rgba(4, 26, 14, .55), 0 1px 2px rgba(4, 26, 14, .6);
}
.emblem-core {
  position: relative;
  display: grid;
  place-items: center;
  margin: 2px 0;
}
.emblem-bg {
  font-size: clamp(6rem, 20vw, 9.5rem);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .16);
  text-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  user-select: none;
}
.emblem-cup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(96px, 27vw, 150px);
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
}
.emblem-cup.emblem-emoji {
  font-size: clamp(3.4rem, 12vw, 5rem);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4));
}
.emblem-year {
  font-size: clamp(1.5rem, 6vw, 2.3rem);
  font-weight: 900;
  letter-spacing: .16em;
  text-shadow: 0 2px 10px rgba(4, 26, 14, .55);
}
.pitch-hero .hero-copy p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 6px rgba(4, 26, 14, .5);
}
.rolling-ball-track:before {
  display: none;
}
.rolling-ball {
  width: 74px;
  height: 74px;
  font-size: 3rem;
}
.rolling-ball-img {
  width: 62px;
  height: 62px;
  bottom: 24px;
}
.rolling-ball-track:after {
  width: 48px;
}
.rolling-ball-track:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 62px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .32), transparent 70%);
  animation: ball-shadow 5.8s linear infinite;
  will-change: transform, opacity;
}
@keyframes ball-shadow {
  0% {
    transform: translateX(-92px) scale(1);
    opacity: .5;
  }
  12% {
    transform: translateX(calc((var(--track) - 92px) * .12)) scale(.8);
    opacity: .32;
  }
  24% {
    transform: translateX(calc((var(--track) - 92px) * .24)) scale(1);
    opacity: .5;
  }
  38% {
    transform: translateX(calc((var(--track) - 92px) * .38)) scale(.82);
    opacity: .34;
  }
  52% {
    transform: translateX(calc((var(--track) - 92px) * .52)) scale(1);
    opacity: .5;
  }
  68% {
    transform: translateX(calc((var(--track) - 92px) * .68)) scale(.85);
    opacity: .36;
  }
  84% {
    transform: translateX(calc((var(--track) - 92px) * .84)) scale(1);
    opacity: .5;
  }
  100% {
    transform: translateX(var(--track)) scale(1);
    opacity: .5;
  }
}
.rolling-ball-img {
  width: 82px;
  height: 82px;
  bottom: 22px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .30));
}
.team-metrics section {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, #ffffff, #f6faf8);
  border: 1px solid rgba(16, 44, 74, .07);
  box-shadow: 0 4px 12px rgba(16, 44, 74, .04);
}
.team-label {
  margin-bottom: 10px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #59708c;
  font-weight: 900;
}
.form-row {
  gap: 8px;
}
.form-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 900;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .12), 0 3px 8px rgba(16, 44, 74, .12);
}
.scorer-badges {
  gap: 8px;
}
.scorer-badges span {
  padding: 7px 8px 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(23, 124, 70, .18);
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(16, 44, 74, .05);
}
.scorer-badges b {
  min-width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1a9e5f, #147c46);
  box-shadow: 0 3px 8px rgba(23, 124, 70, .3);
}
.squad-table {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.squad-table span {
  padding: 9px 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #f6faf8);
  border: 1px solid rgba(16, 44, 74, .07);
}
.squad-table b {
  min-width: 34px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.team-advice-card details > summary {
  padding: 10px 14px;
  border-radius: 12px;
  background: #eef2f8;
  color: var(--navy);
  transition: background .14s var(--ease);
}
.team-advice-card details > summary:hover {
  background: #e3e9f2;
}
@media (min-width: 760px) {
  .squad-table {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
.app-shell:has(.chat-screen) {
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}
.app-shell:has(.chat-screen) > .chat-screen {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
.app-shell:has(.chat-screen) .chat-hero, .app-shell:has(.chat-screen) .chat-composer {
  flex: 0 0 auto;
}
.app-shell:has(.chat-screen) .chat-feed {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}
