* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
html, body, #app {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  max-width: 100%;
  background: #090b11;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}
body {
  overflow-x: hidden;
  overflow-x: clip;
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
}
.site-nav {
  padding-top: env(safe-area-inset-top, 0px);
}
img:not(.avatar):not(.crest-img),
video, canvas, svg {
  max-width: 100%;
  height: auto;
}
.crest-img,
.avatar {
  flex-shrink: 0;
}
.arena-bg {
  background-image:
    linear-gradient(to bottom, rgba(9,11,17,.32), rgba(9,11,17,.78) 58%, rgba(9,11,17,.94)),
    url("/images/arena-bg.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.arena-home {
  background-image:
    linear-gradient(to bottom, rgba(9,11,17,.18), rgba(9,11,17,.42) 52%, rgba(9,11,17,.9)),
    url("/images/arena-home-bg.png");
}
.glass {
  background: rgba(12, 16, 26, 0.72);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.staff-card {
  text-align: left;
}
.admin-team-title {
  margin-top: 3rem;
  text-align: center;
  font-size: clamp(1.45rem, 7vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
@media (min-width: 640px) {
  .admin-team-title {
    letter-spacing: 0.22em;
  }
}
.admin-team-title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 0.85rem auto 0;
  background: #e8b425;
}
.messenger-first {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1.25rem auto 0;
  padding: 0.7rem 1.15rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0b1018;
  background: #e8b425;
  border-radius: 0.4rem;
  box-shadow: 0 0 0 3px rgba(232, 180, 37, 0.22);
  min-height: 2.75rem;
}
.messenger-first:hover {
  color: #0b1018;
  filter: brightness(1.05);
}
.community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(232, 180, 37, 0.5);
  border-radius: 0.4rem;
  color: #e8b425;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  word-break: break-word;
  touch-action: manipulation;
}
.community-link:hover {
  background: rgba(232, 180, 37, 0.12);
  color: #fff;
}
.messenger-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #0084ff;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}
.join-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(16, 21, 34, 0.8);
  min-height: 2.75rem;
}
.join-link-card:hover {
  border-color: rgba(232, 180, 37, 0.45);
}
.join-link-card.clicked {
  border-color: rgba(232, 180, 37, 0.7);
}
.join-link-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
}
.join-link-card p {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: #999;
}
.join-link-status {
  margin-top: 0.35rem !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8b425 !important;
}
.join-community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.join-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}
.join-dismiss:hover,
.join-skip:hover {
  border-color: rgba(232, 180, 37, 0.55);
  color: #e8b425;
}
.join-skip {
  background: none;
  border: 0;
  color: #999;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.invite-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}
.invite-url {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.85rem !important;
}
.header-auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
}
.header-auth a {
  white-space: nowrap;
  min-height: 2.25rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}
.header-user-name {
  display: inline-block;
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
@media (min-width: 480px) {
  .header-auth {
    gap: 0.5rem;
  }
  .header-auth a {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
  .header-user-name {
    max-width: 10rem;
  }
}
.ticker { animation: ticker 28s linear infinite; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
input, select, textarea {
  background: rgba(9,11,17,.8);
  border: 1px solid #1c2433;
  color: white;
  border-radius: .5rem;
  width: 100%;
  padding: .75rem .9rem;
  color-scheme: dark;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(232,180,37,.7);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; touch-action: manipulation; }
.gold { color: #e8b425; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8b425;
  color: #0b1018;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: .4rem;
  padding: .55rem 1rem;
  font-size: .75rem;
  border: 0;
  min-height: 2.5rem;
  touch-action: manipulation;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1c2433;
  background: transparent;
  color: white;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: .4rem;
  padding: .55rem 1rem;
  font-size: .75rem;
  min-height: 2.5rem;
  touch-action: manipulation;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  overscroll-behavior-x: contain;
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap table { min-width: 40rem; }
th { text-align: left; color: #999; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .75rem; }
td { padding: .75rem; border-top: 1px solid rgba(255,255,255,.06); }
.table-wrap th:nth-child(1),
.table-wrap td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 1;
  background: rgba(16, 21, 34, 0.96);
}
.staff-activity table { min-width: 48rem; font-size: 0.85rem; }
.staff-activity tr.staff-idle td { color: #c9a227; }
.staff-log {
  max-height: 28rem;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.06);
}
.staff-log-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.staff-log-when {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  padding-top: 0.15rem;
}
@media (max-width: 700px) {
  th, td { padding: 0.55rem 0.45rem; }
}
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 40; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: min(18rem, 100%);
  z-index: 50;
  background: #090b11; border-right: 1px solid #1c2433;
  transform: translateX(-100%); transition: transform .2s ease;
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
}
.sidebar.open { transform: translateX(0); }
.sidebar nav {
  overflow-y: auto;
  flex: 1;
}
.nav-tree,
.nav-sub {
  border: 0;
  background: transparent;
}
.nav-tree > summary,
.nav-sub > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  touch-action: manipulation;
}
.nav-tree > summary::-webkit-details-marker,
.nav-sub > summary::-webkit-details-marker,
.nav-tree > summary::marker,
.nav-sub > summary::marker {
  display: none;
  content: "";
}
.nav-tree > summary::after,
.nav-sub > summary::after {
  content: "▾";
  color: #e8b425;
  font-size: 0.75rem;
}
.nav-tree[open] > summary::after,
.nav-sub[open] > summary::after {
  transform: rotate(180deg);
}
.nav-sub > summary {
  padding-left: 1.75rem;
  font-size: 0.8rem;
}
.nav-sublink,
.nav-subsub {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 1.25rem 0.45rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  touch-action: manipulation;
}
.nav-subsub {
  padding-left: 2.5rem;
}
.crest-img {
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}
.crest-regional {
  width: min(280px, 70vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 80, 180, 0.3));
}
.region-card {
  width: 100%;
  text-align: center;
  background: rgba(9, 11, 17, 0.55);
  border: 1px solid #1c2433;
  border-radius: 0.75rem;
  padding: 1rem;
  color: #fff;
}
.region-card.selected {
  border-color: #e8b425;
  box-shadow: 0 0 0 1px #e8b425;
}
.region-card-crests {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.region-card-crest {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.result-shot {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #000;
  border-radius: 0.5rem;
  border: 1px solid #1c2433;
}
input[type="file"] {
  padding: 0.55rem;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #999;
  font-size: 0.875rem;
}
.check-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
  accent-color: #e8b425;
}
input[type="datetime-local"],
input[type="date"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 640px) {
  input[type="datetime-local"] {
    width: auto;
    min-width: 13.5rem;
  }
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 4.4rem;
}
.password-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #e8b425;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem;
}
.avatar {
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(232, 180, 37, 0.45);
  background: #101522;
  display: inline-block;
  vertical-align: middle;
}
.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #e8b425;
}
.fixture-highlight {
  box-shadow: 0 0 0 1px #e8b425;
  border-radius: 0.75rem;
}
.stats-desk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1rem;
}
.match-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.match-chip {
  background: rgba(9, 11, 17, 0.72);
  border: 1px solid #1c2433;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
}
.match-chip span {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
}
.match-chip.selected {
  border-color: #e8b425;
  box-shadow: 0 0 0 1px #e8b425;
  color: #e8b425;
}
.stats-shots {
  max-height: 75vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.35rem;
}
.stats-form-wrap {
  position: sticky;
  top: 1rem;
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 0.2rem;
}
.shot-card {
  text-align: left;
  width: 100%;
  background: rgba(9, 11, 17, 0.72);
  border: 1px solid #1c2433;
  border-radius: 0.75rem;
  padding: 0.85rem;
  color: inherit;
}
.shot-card.selected {
  border-color: #e8b425;
  box-shadow: 0 0 0 1px #e8b425;
}
.shot-empty {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px dashed #1c2433;
  border-radius: 0.5rem;
  color: #999;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stats-shots .result-shot {
  max-height: none;
}
.stat-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .stat-cols {
    grid-template-columns: 1fr;
  }
}
.stat-player {
  font-size: 0.95rem;
  font-weight: 800;
  color: #e8b425;
}
.stat-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}
.stat-field input {
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  padding: 0.55rem 0.7rem;
}
.btn-gold:disabled,
button.btn-gold:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ocr-raw {
  max-height: 12rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: #000;
  border: 1px solid #1c2433;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.7rem;
  color: #ccc;
}
@media (max-width: 900px) {
  .stats-desk {
    grid-template-columns: 1fr;
  }
  .stats-shots,
  .stats-form-wrap {
    max-height: none;
    position: static;
  }
}
.rules-toc {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0.75rem;
  background: rgba(9, 11, 17, 0.45);
  max-height: 18rem;
  overflow: auto;
}
.rules-toc-link {
  color: #e8b425;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rules-toc-link:hover {
  color: #fff;
}
.rules-doc {
  color: rgba(255,255,255,.8);
  font-size: 0.875rem;
  line-height: 1.65;
}
.rules-section {
  padding-top: 1.75rem;
  scroll-margin-top: 4.5rem;
}
.rules-section h2 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.rules-sub {
  margin-top: 1.1rem;
  scroll-margin-top: 4.5rem;
}
.rules-sub h3 {
  color: #e8b425;
  font-size: 0.9rem;
  font-weight: 700;
}
.rules-doc p {
  margin-top: 0.6rem;
}
.rules-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}
.rules-list li + li {
  margin-top: 0.25rem;
}
.about-doc {
  color: rgba(255,255,255,.82);
  font-size: 0.95rem;
  line-height: 1.75;
}
.about-section {
  padding-top: 1.85rem;
  scroll-margin-top: 4.5rem;
}
.about-section h2 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-kicker {
  margin-top: 0.85rem;
  color: #e8b425;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-doc p,
.about-section p {
  margin-top: 0.7rem;
}
.rules-note {
  margin-top: 0.75rem;
  border-left: 3px solid #e8b425;
  background: rgba(232, 180, 37, 0.08);
  padding: 0.7rem 0.9rem;
  color: #fff;
}
.regional-ack-panel {
  border-left: 3px solid #e8b425;
  box-shadow: inset 3px 0 0 rgba(232, 180, 37, 0.25);
}
.coming-soon-badge {
  display: inline-block;
  margin-top: 0.35rem;
  border: 1px solid rgba(232, 180, 37, 0.45);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8b425;
}
.nav-soon {
  margin-left: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8b425;
}
.community-card-soon {
  opacity: 0.88;
  cursor: default;
}
.regional-ack-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8b425;
}
.regional-ack h2 {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.regional-ack p {
  margin-top: 0.55rem;
  color: rgba(255,255,255,.82);
  font-size: 0.875rem;
  line-height: 1.55;
}
.regional-ack p:first-of-type {
  margin-top: 0.65rem;
}
.regional-ack strong {
  color: #e8b425;
  font-weight: 800;
}
.news-body {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  line-height: 1.7;
  word-break: break-word;
}
.news-body p {
  margin-top: 0.7rem;
}
.news-body > :first-child {
  margin-top: 0;
}
.news-body strong {
  color: #fff;
  font-weight: 800;
}
.news-body em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}
.news-center {
  text-align: center;
}
.news-right {
  text-align: right;
}
.news-indent {
  padding-left: 1.75rem;
  border-left: 2px solid rgba(232, 180, 37, 0.35);
}
.news-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin-top: 0.7rem;
}
.news-list li + li {
  margin-top: 0.25rem;
}
.news-rule {
  border: 0;
  border-top: 1px solid rgba(232, 180, 37, 0.35);
  margin: 1rem 0;
}
.news-fmt-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.news-fmt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid #1c2433;
  border-radius: 0.4rem;
  background: rgba(9, 11, 17, 0.65);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-fmt-btn:hover,
.news-fmt-btn[aria-expanded="true"] {
  border-color: rgba(232, 180, 37, 0.7);
  color: #e8b425;
}
.news-fmt-btn strong,
.news-fmt-btn em {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
}
.news-emoji-wrap {
  position: relative;
}
.news-emoji-picker {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.35rem);
  left: 0;
  right: auto;
  display: grid;
  grid-template-columns: repeat(7, 2rem);
  gap: 0.25rem;
  padding: 0.55rem;
  border: 1px solid #1c2433;
  border-radius: 0.5rem;
  background: #101522;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-width: calc(100vw - 2rem);
}
.news-emoji-picker.hidden {
  display: none;
}
.news-emoji-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.3rem;
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
}
.news-emoji-btn:hover {
  background: rgba(232, 180, 37, 0.16);
}
.news-body-input {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.55;
}
.news-preview-wrap {
  border: 1px solid #1c2433;
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  background: rgba(9, 11, 17, 0.45);
}
.news-preview-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8b425;
  margin-bottom: 0.45rem;
}
.news-fresh-badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #e8b425;
  color: #0b1018;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes news-glow-pulse {
  0%, 100% {
    text-shadow: 0 0 6px rgba(232, 180, 37, 0.35);
    box-shadow: inset 3px 0 0 #e8b425;
  }
  50% {
    text-shadow: 0 0 16px rgba(232, 180, 37, 0.95), 0 0 28px rgba(232, 180, 37, 0.45);
    box-shadow: inset 3px 0 0 #fff3c4;
  }
}
.nav-news-glow {
  color: #e8b425;
  box-shadow: inset 3px 0 0 #e8b425;
  animation: news-glow-pulse 1.7s ease-in-out infinite;
}
.nav-news-glow:hover {
  color: #fff;
}

/* Fluid layout across phones, tablets, and desktops */
.min-h-screen {
  min-height: 100vh;
  min-height: 100dvh;
}
.min-h-\[calc\(100vh-3\.5rem\)\] {
  min-height: calc(100vh - 3.5rem);
  min-height: calc(100dvh - 3.5rem);
}
.glass {
  min-width: 0;
}
.page-kicker {
  letter-spacing: 0.16em;
  overflow-wrap: anywhere;
}
.tracking-\[0\.3em\],
.tracking-\[0\.35em\] {
  letter-spacing: 0.16em;
}
@media (min-width: 480px) {
  .tracking-\[0\.3em\] { letter-spacing: 0.3em; }
  .tracking-\[0\.35em\] { letter-spacing: 0.35em; }
}
.hero-title {
  font-size: clamp(2.15rem, 11vw, 4.5rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
}
.page-title {
  font-size: clamp(1.65rem, 6vw, 2.25rem);
  overflow-wrap: anywhere;
}
.community-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}
.community-card .min-w-0 {
  min-width: 0;
}
.division-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.region-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.signup-steps {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}
.signup-steps > div {
  min-width: 0;
  flex: 1 1 0;
}
.signup-steps .step-label {
  overflow-wrap: anywhere;
  letter-spacing: 0.06em;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
  text-align: left;
}
.faq-q .faq-q-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.split-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}
.split-row > * {
  min-width: 0;
}
.header-crest {
  width: 44px !important;
  height: 44px !important;
}
input, select, textarea, button {
  max-width: 100%;
}
input, select, textarea {
  font-size: 1rem;
}
.btn-gold,
.btn-ghost {
  white-space: normal;
  text-align: center;
  word-break: break-word;
}
.header-auth .btn-gold,
.header-auth .btn-ghost {
  white-space: nowrap;
}
@media (min-width: 480px) {
  .page-kicker {
    letter-spacing: 0.3em;
  }
  .header-crest {
    width: 56px !important;
    height: 56px !important;
  }
}
@media (max-width: 639px) {
  .community-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .community-card .crest-img,
  .community-card .messenger-mark {
    width: 72px;
    height: 72px;
  }
  .community-card .crest-img {
    width: 72px !important;
    height: 72px !important;
  }
  .signup-steps .step-label {
    font-size: 0.52rem;
  }
}
@media (max-width: 420px) {
  .division-grid {
    grid-template-columns: 1fr;
  }
  .region-stat-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px), (hover: none) {
  .arena-bg {
    background-attachment: scroll;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker {
    animation: none;
  }
  .nav-news-glow {
    animation: none;
  }
}
@media (max-width: 480px) {
  .glass.p-5,
  .glass.p-6 {
    padding: 1rem;
  }
  .desk-box-summary,
  .desk-box-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .desk-box-summary {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .desk-box[open] > .desk-box-summary {
    padding-bottom: 0.35rem;
  }
  .desk-box-body {
    padding-bottom: 1rem;
  }
  .news-indent {
    padding-left: 1rem;
  }
}

.profile-leagues select,
.profile-leagues input {
  width: 100%;
}

.structure-folds {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.structure-fold {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}
.structure-fold + .structure-fold,
.structure-folds + .structure-fold {
  margin-top: 0.5rem;
}
.structure-fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  touch-action: manipulation;
}
.structure-fold > summary::-webkit-details-marker,
.structure-fold > summary::marker {
  display: none;
  content: "";
}
.structure-fold > summary::after {
  content: "▾";
  color: #e8b425;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.structure-fold[open] > summary::after {
  transform: rotate(180deg);
}
.structure-fold-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}
.structure-fold-title {
  font-weight: 700;
}
.structure-fold-meta {
  color: #999999;
  font-size: 0.75rem;
}
.structure-fold-body {
  padding: 0 0.9rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.structure-fold-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0 0.25rem;
}
.structure-div-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}
.manage-fixture-row {
  flex-direction: column;
  align-items: stretch;
}
.manage-fixture-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  width: 100%;
}
.manage-fixture-edit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.55rem;
}
.manage-fixture-edit label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999999;
}
.manage-fixture-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
}
.manage-fixture-edit-note {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.75rem;
  color: #999999;
}
.structure-add-div,
.structure-add-region-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.desk-box > summary {
  list-style: none;
}
.desk-box-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
  touch-action: manipulation;
}
.desk-box-summary::-webkit-details-marker,
.desk-box-summary::marker {
  display: none;
  content: "";
}
.desk-box-summary::after {
  content: "▾";
  color: #e8b425;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.desk-box[open] > .desk-box-summary::after {
  transform: rotate(180deg);
}
.desk-box[open] > .desk-box-summary {
  padding-bottom: 0.35rem;
}
.desk-box-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}
.desk-box-heading h2 {
  margin: 0;
}
.desk-box-meta {
  color: #999999;
  font-size: 0.75rem;
}
.desk-box-body {
  padding: 0 1.25rem 1.25rem;
}
.desk-box:not([open]) > .desk-box-body {
  display: none;
}
.desk-fold-body {
  padding-top: 0.75rem;
}
.desk-fold-body .structure-folds {
  margin-top: 0.75rem;
}
.desk-fold-selects select {
  width: 100%;
}
@media (min-width: 768px) {
  .structure-add-div {
    grid-template-columns: 1fr 1fr auto;
  }
  .structure-add-region-form {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

