:root {
  color-scheme: dark;
  --bg: #111513;
  --panel: #191e1b;
  --line: #2b332d;
  --muted: #939e95;
  --lime: #c6f66b;
  --ink: #eef2eb;
  font-family: Inter, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 5px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  background: #141916;
}
.logo {
  font-weight: 900;
  font-size: 27px;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo b {
  color: var(--lime);
  font-size: 34px;
}
.smallcap {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 700;
}
.sidebar .smallcap {
  margin: 48px 12px 16px;
}
.nav {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 14px;
  color: #a5afa7;
  border-radius: 7px;
  font-size: 14px;
  margin: 4px 0;
}
.nav.active {
  background: #263320;
  color: var(--lime);
}
.nav:hover {
  background: #222b23;
}
.nav-icon {
  font-size: 20px;
  width: 22px;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 22px 9px 0;
  line-height: 1.8;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 6px;
}
.shell {
  margin-left: 224px;
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  gap: 16px;
  font-size: 13px;
}
.topbar-left {
  color: var(--muted);
}
.demo {
  border: 1px solid #425132;
  color: var(--lime);
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 10px;
  letter-spacing: 1px;
  margin-right: 12px;
}
.role-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.role-wrap label {
  color: var(--muted);
  font-size: 11px;
}
select,
input,
textarea {
  background: #171e18;
  border: 1px solid #364039;
  color: var(--ink);
  border-radius: 6px;
  padding: 11px 12px;
  min-width: 0;
}
select {
  cursor: pointer;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #34422c;
  color: var(--lime);
  font-weight: 700;
  font-size: 11px;
}
main {
  max-width: 1450px;
  margin: auto;
  padding: 38px 42px 28px;
}
.eyebrow {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
  font-weight: 750;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
}
h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.button {
  border: 1px solid #3b443c;
  border-radius: 6px;
  background: #222a23;
  color: var(--ink);
  padding: 11px 16px;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.button.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #18200e;
}
.button:hover {
  filter: brightness(1.12);
}
.button.danger {
  color: #ffad98;
  border-color: #705045;
  background: #342620;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 278px;
  border: 1px solid #425037;
  border-radius: 10px;
  background: radial-gradient(
    ellipse at 76% 38%,
    #45582b 0%,
    #283820 30%,
    #1c281b 68%
  );
  padding: 34px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
}
.hero-copy {
  z-index: 1;
  max-width: 65%;
}
.hero h2 {
  font-size: 39px;
  line-height: 1.12;
  margin: 14px 0;
  letter-spacing: -1.5px;
}
.hero p {
  color: #b1bda9;
  max-width: 400px;
}
.hero .button {
  margin-top: 24px;
}
.hero-art {
  position: absolute;
  right: 5%;
  top: 22px;
  width: 260px;
  height: 260px;
  transform: rotate(-12deg);
  opacity: 0.88;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid #819752;
  width: 210px;
  height: 210px;
  transform: rotate(45deg);
  top: 18px;
  left: 18px;
}
.hero-art:after {
  width: 170px;
  height: 170px;
  top: 38px;
  left: 38px;
  border-color: #a2ba5e;
}
.hero-art svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px #10180b);
}
.hero-tag {
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b0c589;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 18px;
  gap: 14px;
}
.section-title span {
  font-size: 12px;
  color: var(--muted);
}
.filterbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 5px;
  font-size: 12px;
}
.tab.active {
  background: #303b26;
  color: var(--lime);
  border-color: #49553a;
}
.search {
  width: 235px;
  font-size: 12px;
}
.league-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.league-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--panel);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.league-card:hover {
  transform: translateY(-3px);
  border-color: #687d48;
}
.card-art {
  height: 135px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 100%, #63752f, #253124 65%);
}
.card-art:before {
  content: "";
  width: 160px;
  height: 160px;
  border: 1px solid #c4d58f44;
  position: absolute;
  transform: rotate(45deg);
}
.card-art:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid #c4d58f22;
  transform: rotate(45deg);
}
.card-art.orange {
  background: radial-gradient(ellipse at 60% 100%, #ab6338, #34251f 70%);
}
.card-art.blue {
  background: radial-gradient(ellipse at 60% 100%, #456d9a, #202c3b 70%);
}
.game-mark {
  font-weight: 900;
  font-style: italic;
  letter-spacing: -3px;
  font-size: 53px;
  color: #edf4d6;
  z-index: 1;
  text-shadow: 0 5px 20px #0007;
}
.game-mark small {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  text-align: center;
  font-style: normal;
  margin-top: 2px;
}
.pill {
  display: inline-block;
  border: 1px solid #536644;
  background: #26341f;
  color: #d2e8b8;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
}
.card-art .pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.card-body {
  padding: 20px;
}
.card-body .smallcap {
  font-size: 9px;
}
.card-body h3 {
  margin: 10px 0 7px;
}
.card-meta {
  display: flex;
  gap: 16px;
  color: #a7afa8;
  font-size: 11px;
  margin: 18px 0;
}
.card-footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.card-footer b {
  color: var(--lime);
  font-weight: 500;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  overflow: hidden;
}
.panel-head {
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-head h3 {
  font-size: 14px;
  margin: 0;
}
.match-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.match-row:last-child {
  border: 0;
}
.match-row:hover {
  background: #202820;
}
.match-date {
  color: var(--muted);
  font-size: 10px;
  min-width: 42px;
  line-height: 1.7;
}
.teams-line {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  flex-wrap: wrap;
}
.versus {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.badge {
  width: 32px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: #3d4626;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
  font-size: 12px;
  font-weight: 900;
  color: #dcf599;
  flex-shrink: 0;
}
.badge.purple {
  background: #3d3055;
  color: #cbb0f6;
}
.badge.blue {
  background: #284754;
  color: #a3d9ed;
}
.badge.big {
  width: 66px;
  height: 76px;
  font-size: 25px;
}
.status {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 20px;
  background: #303731;
  color: #b4c0b5;
  white-space: nowrap;
}
.status.pending {
  background: #41391e;
  color: #eed383;
}
.status.confirmed {
  background: #293d22;
  color: #b9e591;
}
.status.disputed {
  background: #482b27;
  color: #f1af9d;
}
.how {
  padding: 23px;
}
.how-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.how-item:last-child {
  margin-bottom: 0;
}
.step-num {
  display: grid;
  place-items: center;
  border: 1px solid #485538;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: var(--lime);
  font-size: 11px;
  flex-shrink: 0;
}
.how-item h4 {
  font-size: 12px;
  margin: 2px 0 6px;
}
.how-item p {
  font-size: 11px;
  line-height: 1.6;
}
.footer {
  font-size: 10px;
  color: #717f73;
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 15px;
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.back {
  font-size: 12px;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 23px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  margin: 25px 0;
}
.stat {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat b {
  display: block;
  font-size: 23px;
  margin-bottom: 7px;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  text-align: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
td:nth-child(2),
th:nth-child(2) {
  text-align: left;
}
td:nth-child(2) a {
  display: flex;
  align-items: center;
  gap: 12px;
}
tr:last-child td {
  border: 0;
}
tr.highlight {
  background: #23301d;
}
td:last-child {
  color: var(--lime);
  font-weight: 700;
}
.table-scroll {
  overflow: auto;
}
.note {
  padding: 18px 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.schedule-day {
  padding: 16px 22px;
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 1px;
  background: #20281f;
}
.team-title {
  display: flex;
  gap: 22px;
  align-items: center;
}
.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 22px;
}
.player {
  background: #212921;
  border: 1px solid var(--line);
  padding: 22px 12px;
  border-radius: 7px;
  text-align: center;
}
.player .avatar {
  margin: 0 auto 15px;
  width: 48px;
  height: 48px;
}
.player b {
  font-size: 13px;
}
.player p {
  font-size: 10px;
  margin-top: 7px;
}
.scoreboard {
  padding: 32px;
  background: radial-gradient(ellipse at 50% 0, #303b25, transparent 80%);
  text-align: center;
}
.score-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  margin: 25px 0;
}
.score-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  width: 160px;
}
.score {
  font-size: 45px;
  letter-spacing: 6px;
  font-weight: 750;
  white-space: nowrap;
}
.score small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
}
.flow {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.flow .done {
  color: var(--lime);
}
.form-body {
  padding: 24px;
}
.form-body p {
  font-size: 12px;
  margin-bottom: 22px;
}
.field {
  display: block;
  font-size: 12px;
  margin-bottom: 16px;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
}
.scores-input {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.scores-input input {
  font-size: 22px;
  font-weight: 700;
}
.upload {
  padding: 22px;
  border: 1px dashed #556046;
  border-radius: 7px;
  background: #20291d;
  font-size: 12px;
  line-height: 1.7;
}
.upload input {
  display: block;
  width: 100%;
  font-size: 11px;
  margin-top: 12px;
}
.upload small {
  color: var(--muted);
}
.preview {
  display: block;
  max-width: 100%;
  max-height: 230px;
  margin: 18px auto;
  border-radius: 6px;
}
.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.error {
  color: #ffb19d;
  font-size: 12px;
  margin-top: 14px;
}
.info {
  padding: 17px;
  border: 1px solid #4d583b;
  background: #252e20;
  border-radius: 6px;
  line-height: 1.7;
  font-size: 12px;
  color: #c1cdb5;
  margin-bottom: 18px;
}
.history {
  padding: 23px;
  font-size: 12px;
  line-height: 1.8;
}
.history div {
  border-left: 1px solid #4b5a3c;
  padding: 0 0 23px 19px;
}
.history div:last-child {
  padding-bottom: 0;
}
.history time {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
}
.mobile-brand {
  display: none;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #1a250e;
  padding: 14px 24px;
  border-radius: 7px;
  font-size: 12px;
  box-shadow: 0 8px 40px var(--nexus-color-0008);
  z-index: 10;
  display: none;
}
@media (min-width: 1500px) {
  main {
    padding-top: 48px;
  }
  .hero {
    min-height: 310px;
  }
  .card-art {
    height: 160px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding: 28px 14px;
  }
  .shell {
    margin-left: 190px;
  }
  main {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .league-grid {
    gap: 12px;
  }
  .card-body {
    padding: 15px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .hero-art {
    right: 0;
    opacity: 0.5;
  }
  .topbar-left {
    font-size: 11px;
  }
  .role-wrap label {
    display: none;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: 65px;
    padding: 5px 8px;
    z-index: 5;
    flex-direction: row;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .sidebar .logo,
  .sidebar .smallcap,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    font-size: 10px;
    flex-direction: column;
    gap: 3px;
    padding: 4px 16px;
    margin: 0;
  }
  .nav-icon {
    text-align: center;
    font-size: 19px;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 67px;
    padding: 0 18px;
  }
  .mobile-brand {
    display: block;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--lime);
  }
  .topbar-left {
    display: none;
  }
  .role-wrap {
    gap: 7px;
  }
  .role-wrap select {
    font-size: 10px;
    padding: 9px;
    max-width: 170px;
  }
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  main {
    padding: 27px 18px 90px;
  }
  h1 {
    font-size: 28px;
  }
  .heading {
    align-items: flex-start;
  }
  .heading > .button {
    font-size: 10px;
    padding: 10px;
  }
  .hero {
    padding: 26px 24px;
    min-height: 285px;
  }
  .hero-copy {
    max-width: 90%;
  }
  .hero h2 {
    font-size: 33px;
  }
  .hero-art {
    right: -80px;
    top: 45px;
    opacity: 0.25;
  }
  .hero-tag {
    display: none;
  }
  .hero p {
    font-size: 12px;
  }
  .league-grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    height: 150px;
  }
  .card-body {
    padding: 20px;
  }
  .filterbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    width: 100%;
  }
  .tabs {
    gap: 2px;
  }
  .tab {
    font-size: 11px;
    padding: 9px 11px;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .match-row {
    padding: 16px 14px;
    gap: 9px;
  }
  .teams-line {
    font-size: 11px;
    gap: 6px;
  }
  .teams-line .badge {
    display: none;
  }
  .match-date {
    min-width: 34px;
    font-size: 9px;
  }
  .status {
    font-size: 9px;
    padding: 5px 6px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(3) {
    border-bottom: 0;
  }
  .scoreboard {
    padding: 25px 12px;
  }
  .score-teams {
    gap: 12px;
  }
  .score-team {
    font-size: 12px;
    width: 110px;
  }
  .score {
    font-size: 32px;
  }
  .score-team .badge {
    width: 52px;
    height: 60px;
    font-size: 20px;
  }
  .flow {
    gap: 12px;
    font-size: 9px;
  }
  .form-body {
    padding: 20px;
  }
  .team-title {
    gap: 15px;
  }
  .roster {
    gap: 8px;
    margin: 15px;
  }
  .player {
    padding: 18px 7px;
  }
  .player b {
    font-size: 11px;
  }
  .footer {
    font-size: 9px;
  }
  .panel-head {
    padding: 18px;
  }
  .heading p {
    font-size: 12px;
  }
}
[hidden] {
  display: none !important;
}
.hero-secondary {
  display: inline-block;
  font-size: 12px;
  margin: 18px 0 0 18px;
  color: #d9e6cb;
}
.organizer-strip,
.launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 26px 30px;
  border: 1px solid #465539;
  border-radius: 8px;
  background: linear-gradient(110deg, #24321f, #192219);
  margin-top: 28px;
}
.organizer-strip h3 {
  margin: 10px 0;
}
.organizer-strip .button,
.launch-banner .button {
  flex-shrink: 0;
}
.local-note {
  padding-left: 0;
}
.field select {
  display: block;
  width: 100%;
  margin-top: 9px;
  font-size: 13px;
}
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form-divider h3 {
  font-size: 15px;
  margin: 0;
}
.setup-columns .scores-input input {
  font-size: 14px;
  font-weight: 400;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  font-size: 13px;
  align-items: center;
}
.review-grid span {
  color: var(--muted);
}
.review-grid b {
  text-align: right;
  font-weight: 500;
}
.team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.team-chips span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
}
.round-input,
.round-labels {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}
.round-labels {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.round-labels span {
  overflow-wrap: anywhere;
}
.round-input > span {
  font-size: 12px;
  color: var(--muted);
}
.round-input input {
  width: 100%;
  font-size: 20px;
  text-align: center;
  padding: 12px;
}
.round-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.round-results > div {
  padding: 14px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.round-results span,
.round-results small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.round-results b {
  display: block;
  margin: 10px 0;
  font-size: 20px;
}
.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 17px;
}
.heading h1,
.team-title h1,
.score-team b,
.card-body h3 {
  overflow-wrap: anywhere;
}
.role-wrap select {
  max-width: 235px;
}
.columns > * {
  min-width: 0;
}
.score-team b {
  max-width: 100%;
}
.setup-columns textarea {
  resize: vertical;
}
.heading > .button {
  flex-shrink: 0;
}
.league-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.league-card {
  max-width: 460px;
}
.setup-columns {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
}
.score small {
  letter-spacing: 0;
  font-size: 9px;
}
.form-body .info {
  font-size: 12px;
}
.table-scroll table {
  min-width: 480px;
}
.table-scroll td:nth-child(2) {
  min-width: 150px;
}
.game-mark {
  letter-spacing: -1px;
}
.scoreboard .smallcap {
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .setup-columns {
    grid-template-columns: 1fr;
  }
  .hero-secondary {
    margin-left: 0;
    display: block;
  }
  .hero {
    min-height: 310px;
  }
  .hero-copy {
    max-width: 73%;
  }
}
@media (max-width: 760px) {
  .heading {
    flex-wrap: wrap;
  }
  .heading > .button {
    font-size: 12px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero {
    padding: 26px 22px;
    min-height: 325px;
  }
  .hero-secondary {
    font-size: 11px;
  }
  .league-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .league-card {
    max-width: none;
  }
  .organizer-strip,
  .launch-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .organizer-strip p,
  .launch-banner p {
    font-size: 12px;
  }
  .role-wrap select {
    max-width: 175px;
  }
  .app-icon {
    width: 58px;
    height: 58px;
  }
  .scores-input {
    gap: 12px;
  }
  .score-teams {
    gap: 7px;
  }
  .score {
    font-size: 29px;
    letter-spacing: 2px;
  }
  .score-team {
    width: 100px;
    min-width: 0;
  }
  .score small {
    max-width: 100px;
    white-space: normal;
    font-size: 8px;
  }
  .round-input,
  .round-labels {
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .review-grid {
    gap: 16px;
    font-size: 12px;
  }
  .footer {
    flex-direction: column;
    line-height: 1.5;
  }
  .sidebar {
    height: calc(65px + env(safe-area-inset-bottom));
    padding-bottom: calc(5px + env(safe-area-inset-bottom));
  }
  main {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }
  .nav {
    min-height: 48px;
  }
  .form-body input,
  .form-body select,
  .form-body textarea {
    font-size: 16px;
  }
  .form-body .round-input input {
    font-size: 20px;
  }
  .setup-columns .scores-input input {
    font-size: 16px;
  }
  .search {
    font-size: 16px;
  }
  .button {
    min-height: 42px;
  }
  .table-scroll {
    overscroll-behavior-x: contain;
  }
}

/* App surfaces behave like native controls; editors retain text selection. */
html,body,body *{-webkit-user-select:none;user-select:none}
input,textarea,[contenteditable="true"],[contenteditable=""],[contenteditable="plaintext-only"],[contenteditable="true"] *,[contenteditable=""] *,[contenteditable="plaintext-only"] *{-webkit-user-select:text;user-select:text}
img,a{-webkit-user-drag:none}
