:root {
  --on: #d7ff00;
  --on2: #a9c900;
  --bg: #050505;
  --card: #111;
  --line: #303030;
  --text: #f7f7f7;
  --muted: #a8a8a8;
  --danger: #ff5264;
  font-family: Inter, Arial, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 0, #1c2400 0, transparent 28%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 9px max(18px, 4vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #050505ef;
  border-bottom: 1px solid #333;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.brand b {
  font-size: 21px;
  font-style: italic;
  letter-spacing: 0.5px;
}
.brand b span,
.accent {
  color: var(--on);
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #bbb;
  margin-top: 3px;
}
.site-header nav {
  display: flex;
  gap: 22px;
}
.site-header nav a {
  color: #ddd;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.site-header nav a:hover {
  color: var(--on);
}
.city-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 108px;
  margin-left: auto;
  margin-right: 22px;
  border: 1px solid #4b5800;
  border-radius: 999px;
  background: linear-gradient(135deg, #151802, #080808 65%);
  box-shadow:
    inset 0 0 14px #d7ff0012,
    0 0 12px #d7ff0010;
}
.city-switcher-dot {
  position: absolute;
  left: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--on);
  box-shadow: 0 0 9px var(--on);
  pointer-events: none;
}
.city-switcher select {
  width: 100%;
  appearance: none;
  border: 0;
  outline: 0;
  padding: 8px 29px 8px 25px;
  background: transparent;
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.city-switcher select option {
  background: #0a0a0a;
  color: #fff;
}
.city-switcher-chevron {
  position: absolute;
  right: 10px;
  top: 4px;
  color: var(--on);
  font-size: 17px;
  pointer-events: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.city-launch-empty {
  display: grid;
  gap: 7px;
  min-height: 112px;
  align-content: center;
  border-color: #4b5800;
  background:
    radial-gradient(circle at 12% 50%, #d7ff0014, transparent 38%), #0a0a0a;
}
.city-launch-empty b {
  color: var(--on);
  font-size: 17px;
}
.city-launch-empty span {
  color: #aaa;
  line-height: 1.5;
}
.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--on);
  font-size: 28px;
}
.page {
  width: min(1160px, 92vw);
  margin: auto;
  padding: 54px 0 80px;
}
.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
}
.hero-copy h1 {
  font-size: clamp(50px, 8vw, 94px);
  line-height: 0.88;
  text-transform: uppercase;
  font-style: italic;
  margin: 0 0 28px;
  letter-spacing: -4px;
}
.hero-copy h1 span {
  display: inline-block;
  color: var(--on);
  text-shadow: 0 0 26px #d7ff0060;
  transform: skew(-8deg);
}
.hero-logo {
  width: min(520px, 100%);
  filter: drop-shadow(0 0 35px #d7ff0030);
}
.hero-gallery {
  width: min(620px, 100%);
  min-width: 0;
  margin-left: auto;
  filter: drop-shadow(0 18px 42px #0009);
}
.hero-gallery-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid #596800;
  border-radius: 22px;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px #d7ff0008,
    0 0 42px #d7ff0015;
  cursor: grab;
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.hero-gallery-track {
  display: flex;
  transform: translateX(-100%);
  transition: transform 850ms cubic-bezier(0.22, 0.72, 0.22, 1);
  will-change: transform;
}
.hero-gallery-track.is-resetting {
  transition: none;
}
.hero-gallery-track.is-dragging {
  transition: none;
}
.hero-gallery-viewport:active {
  cursor: grabbing;
}
.hero-gallery-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #050505;
  isolation: isolate;
}
.hero-gallery-slide::before {
  position: absolute;
  inset: -30px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, #0002 38%, #000d),
    var(--gallery-image) center / cover no-repeat;
  filter: blur(18px) saturate(0.82) brightness(0.54);
  transform: scale(1.08);
}
.hero-gallery-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-gallery-slide.is-logo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 55% 45%, #d7ff0010, transparent 42%), #030303;
}
.hero-gallery-slide.is-logo > img {
  width: 78%;
  height: 78%;
  filter: drop-shadow(0 0 30px #d7ff002a);
}
.hero-gallery-slide.is-logo figcaption {
  display: none;
}
.hero-gallery-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: clamp(40px, 10%, 68px) clamp(18px, 5%, 30px) clamp(17px, 4%, 25px);
  background: linear-gradient(transparent, #030303e8 56%);
  text-align: left;
}
.hero-gallery-slide figcaption b {
  color: #fff;
  font-size: clamp(17px, 2.4vw, 25px);
  font-style: italic;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero-gallery-slide figcaption span {
  color: #d7ff00;
  font-size: clamp(10px, 1.25vw, 13px);
  font-weight: 900;
  letter-spacing: 0.045em;
}
.hero-gallery-season {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  padding: 8px 11px;
  border: 1px solid #d7ff0070;
  border-radius: 9px;
  background: #070707d9;
  box-shadow: 0 0 20px #d7ff001d;
  text-align: right;
  text-transform: uppercase;
}
.hero-gallery-season span {
  color: var(--on);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.13em;
}
.hero-gallery-season b {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.07em;
}
.hero-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 18px;
  padding-top: 13px;
}
.hero-gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #4a4a4a;
  cursor: pointer;
  transition:
    width 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}
.hero-gallery-dot.is-active {
  width: 30px;
  background: var(--on);
  box-shadow: 0 0 14px #d7ff0075;
}
.hero-gallery-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.actions,
.inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  border: 1px solid var(--on);
  border-radius: 8px;
  background: var(--on);
  color: #050505;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px #d7ff003a;
}
.btn.secondary {
  background: transparent;
  color: var(--on);
}
.btn.danger {
  border-color: var(--danger);
  background: transparent;
  color: var(--danger);
}
.eyebrow {
  text-transform: uppercase;
  color: var(--on);
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 12px;
}
.section-title {
  font-size: clamp(34px, 5vw, 58px);
  font-style: italic;
  text-transform: uppercase;
  margin: 4px 0 10px;
}
.muted {
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 60px;
}
.stat,
.card {
  background: linear-gradient(145deg, #151515, #090909);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.stat {
  padding: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  color: var(--on);
  font-size: 36px;
}
.stat span {
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 22px;
}
.card h2,
.card h3 {
  margin-top: 0;
}
.next-game {
  border-color: #9caf00;
  box-shadow: inset 0 0 45px #d7ff0009;
  position: relative;
  overflow: hidden;
}
.next-game:before {
  content: "GET READY";
  position: absolute;
  right: -28px;
  top: 16px;
  transform: rotate(35deg);
  background: var(--on);
  color: #000;
  padding: 5px 34px;
  font-weight: 1000;
  font-size: 10px;
}
.season-finale-session,
.friendly-session {
  position: relative;
  padding-top: 58px;
}
.season-finale-session {
  border-color: #d5af24;
  box-shadow:
    inset 0 0 38px #ffd84a0c,
    0 0 0 1px #ffe46a12;
}
.friendly-session {
  border-color: #5d8f87;
  box-shadow: inset 0 0 38px #56dec50a;
}
.next-game.season-finale-session:before,
.next-game.friendly-session:before {
  display: none;
}
.public-session-mode-badge {
  position: absolute;
  top: 17px;
  right: 18px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.public-season-finale-badge {
  isolation: isolate;
  overflow: visible;
  border: 1px solid #fff1a8;
  background: linear-gradient(110deg, #fff4a4, #ffd328 45%, #a97600);
  box-shadow:
    0 0 9px #fff7bcaa,
    0 0 24px #ffd9007a,
    0 0 46px #ffb80038;
  color: #080700;
  text-shadow: 0 1px 0 #fff7c4;
  animation: season-finale-badge-glow 2.2s ease-in-out infinite;
}
.public-season-finale-badge i {
  display: inline-block;
  margin-right: 5px;
  color: #fffbe0;
  font-size: 15px;
  font-style: normal;
  line-height: 0;
  text-shadow:
    0 0 5px #fff,
    0 0 12px #ffdd31;
  transform-origin: center;
  animation: season-finale-spark 1.55s ease-in-out infinite;
}
@keyframes season-finale-badge-glow {
  0%,
  100% {
    filter: brightness(1);
    transform: translateZ(0) scale(1);
  }
  50% {
    filter: brightness(1.15);
    transform: translateZ(0) scale(1.025);
  }
}
@keyframes season-finale-spark {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
.public-friendly-badge {
  border: 1px solid #87ded0;
  background: linear-gradient(110deg, #d9fff8, #69b8aa);
  box-shadow: 0 0 17px #5bdfc528;
  color: #05110f;
}
.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.facts.session-facts {
  grid-template-areas:
    "date start duration"
    "location players courts";
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.session-date-fact {
  grid-area: date;
}
.session-start-fact {
  grid-area: start;
}
.session-duration-fact {
  grid-area: duration;
}
.session-location-fact {
  grid-area: location;
}
.session-player-count-fact {
  grid-area: players;
}
.session-court-count-fact {
  grid-area: courts;
}
.fact {
  padding: 14px;
  border: 1px solid #343434;
  border-radius: 10px;
}
.fact small {
  display: block;
  color: var(--on);
  font-weight: 800;
  margin-bottom: 5px;
}
.channel-bar {
  margin-top: 55px;
  border-top: 1px solid #333;
  padding-top: 24px;
  text-align: center;
}
.channel-bar a {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #444;
  border-radius: 50%;
  color: var(--on);
  text-decoration: none;
  font-weight: 1000;
  margin: 0 5px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #292929;
  border-radius: 16px;
  background: #0d0d0d;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th {
  color: var(--on);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  background: #151515;
}
th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid #292929;
}
tr:last-child td {
  border-bottom: 0;
}
.rank {
  width: 64px;
  text-align: center;
  font-weight: 1000;
}
.rank.top {
  font-size: 19px;
}
.rank.gold {
  color: #ffd34e;
}
.rank.silver {
  color: #d7dde5;
}
.rank.bronze {
  color: #d99057;
}
.avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--on), #607200);
  color: #080808;
  font-size: 24px;
  font-weight: 1000;
  border: 3px solid #272727;
  margin: auto;
}
.player-photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid #3a3a3a;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--on), #607200);
  color: #080808;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 5px 14px #0008;
}
.player-photo-slot > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.leaderboard-avatar.has-photo > img {
  object-position: var(--leaderboard-photo-x, 50%)
    var(--leaderboard-photo-y, 28%);
  transform-origin: var(--leaderboard-photo-x, 50%)
    var(--leaderboard-photo-y, 28%);
  transform: scale(var(--leaderboard-photo-zoom, 1.3));
}
.friend-avatar {
  width: 82px;
  height: 82px;
  margin: auto;
  border-color: #697900;
  border-width: 3px;
  font-size: 24px;
  box-shadow:
    0 9px 24px #000a,
    0 0 20px #d7ff0015;
}
.friend {
  text-align: center;
}
.friend h3 {
  margin: 12px 0 3px;
}
.member-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #485400;
  border-radius: 999px;
  background: #101500;
  color: var(--on);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.friend .member-id {
  margin: 5px auto 12px;
}
.friend .numbers {
  display: flex;
  justify-content: center;
  gap: 9px 14px;
  flex-wrap: wrap;
  color: #aaa;
  font-size: 13px;
}
.friend .numbers span {
  white-space: nowrap;
}
.friend .numbers b {
  color: #fff;
}
.talent {
  display: flex;
  gap: 15px;
  align-items: center;
}
.talent .avatar {
  width: 58px;
  height: 58px;
  margin: 0;
  flex: 0 0 auto;
}
.talent p {
  margin: 5px 0 0;
}
.empty {
  padding: 44px;
  text-align: center;
  border: 1px dashed #444;
  border-radius: 16px;
  color: #aaa;
}
.cover {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: 12px;
  background: #222;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  text-transform: uppercase;
  color: #b8b8b8;
  font-weight: 800;
  letter-spacing: 1px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #090909;
  color: #fff;
  border: 1px solid #3a3a3a;
  border-radius: 9px;
  padding: 12px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #d7ff0038;
  border-color: var(--on);
}
.checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px;
}
.admin-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.admin-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #333;
  border-radius: 8px;
  color: #ddd;
  text-decoration: none;
}
.admin-nav a:hover {
  border-color: var(--on);
  color: var(--on);
}
.admin-request-notification {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border: 1px solid #f0ff8a;
  border-radius: 999px;
  background: var(--on);
  color: #090b00;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 12px #d7ff0045;
}
.admin-request-notification[hidden] {
  display: none;
}
.city-context {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -10px 0 22px;
  padding: 7px 11px;
  border: 1px solid #4b5800;
  border-radius: 999px;
  background: #111500;
  color: var(--on);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.city-context::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on);
  box-shadow: 0 0 8px var(--on);
  content: "";
}
.admin-list {
  display: grid;
  gap: 10px;
}
.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #0d0d0d;
}
.admin-player-row[hidden] {
  display: none !important;
}
.schedule-round {
  margin-top: 18px;
}
.court {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid #333;
  border-radius: 10px;
  margin: 8px 0;
  text-align: center;
}
.vs {
  color: var(--on);
  font-weight: 1000;
}
.rest {
  color: #aaa;
  font-size: 13px;
}
.score-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.score-actions button {
  padding: 8px;
  border: 1px solid #444;
  background: #0b0b0b;
  color: #fff;
  border-radius: 7px;
  cursor: pointer;
}
.score-actions button:hover {
  border-color: var(--on);
  color: var(--on);
}
#toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: 330px;
  padding: 14px 18px;
  background: #171717;
  border: 1px solid var(--on);
  border-radius: 10px;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.25s;
}
#toast.show {
  transform: none;
  opacity: 1;
}
.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--on);
  font-weight: 900;
  letter-spacing: 2px;
}
.loading-copy {
  display: inline-flex;
  align-items: baseline;
}
.loading-dots {
  display: inline-flex;
  width: 1.45em;
  justify-content: flex-start;
  margin-left: 0.14em;
  letter-spacing: 0;
}
.loading-dots > span {
  display: inline-block;
  opacity: 0.25;
  animation: padel-loading-dot 1.05s infinite ease-in-out;
}
.loading-dots > span:nth-child(2) {
  animation-delay: 0.16s;
}
.loading-dots > span:nth-child(3) {
  animation-delay: 0.32s;
}
@keyframes padel-loading-dot {
  0%,
  65%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  32% {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 10px #d7ff0099;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading-dots > span {
    opacity: 1;
    animation: none;
  }
}
.error {
  border-color: var(--danger) !important;
  color: #ff9aa5;
}
.poster {
  background: #080808;
  border: 2px solid var(--on);
  padding: 24px;
  border-radius: 18px;
}
@media (max-width: 820px) {
  .menu {
    display: block;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 18px;
    background: #090909;
    border-bottom: 1px solid #333;
    grid-template-columns: repeat(2, 1fr);
  }
  .site-header nav.open {
    display: grid;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
    text-align: center;
  }
  .hero-logo {
    grid-row: 1;
    width: 270px;
    margin: auto;
  }
  .hero-gallery {
    grid-row: 1;
    width: min(680px, 100%);
    margin: 0 auto 8px;
  }
  .hero-copy h1 {
    letter-spacing: -2px;
  }
  .actions {
    justify-content: center;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .checks {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    padding-inline: 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand b {
    font-size: 17px;
  }
  .city-switcher {
    min-width: 91px;
    margin-right: 6px;
  }
  .city-switcher-dot {
    left: 9px;
    width: 6px;
    height: 6px;
  }
  .city-switcher select {
    padding: 7px 23px 7px 21px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .city-switcher-chevron {
    right: 7px;
    top: 3px;
  }
  .menu {
    padding: 4px;
    font-size: 26px;
  }
  .brand small {
    display: none;
  }
  .page {
    padding-top: 35px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .facts,
  .checks {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 16px 8px;
  }
  .stat strong {
    font-size: 28px;
  }
  .admin-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .court {
    grid-template-columns: 1fr;
  }
  .vs:after {
    content: "";
  }
}

.schedule-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
}
.schedule-fairness-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.schedule-fairness-summary > div {
  display: grid;
  gap: 5px;
  min-height: 68px;
  align-content: center;
  padding: 11px 13px;
  border: 1px solid #4d5900;
  border-radius: 12px;
  background: linear-gradient(145deg, #151b05, #090b05);
  text-align: center;
}
.schedule-fairness-summary small {
  color: #aeb48e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.schedule-fairness-summary b {
  color: #efffa1;
  font-size: 13px;
}
@media (max-width: 720px) {
  .schedule-fairness-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.schedule-poster {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% -10%, #1d2500 0, transparent 25%), #050505;
  border: 1px solid #667600;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 34px);
  box-shadow:
    0 24px 70px #0008,
    inset 0 0 80px #d7ff0008;
}
.schedule-poster:before,
.schedule-poster:after {
  content: "";
  position: absolute;
  z-index: 0;
  background: var(--on);
  opacity: 0.12;
  transform: skew(-28deg);
}
.schedule-poster:before {
  width: 320px;
  height: 12px;
  right: -80px;
  top: 42px;
}
.schedule-poster:after {
  width: 240px;
  height: 8px;
  left: -70px;
  bottom: 44px;
}
.schedule-poster > * {
  position: relative;
  z-index: 1;
}
.poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}
.poster-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.poster-brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px #d7ff0030);
}
.poster-brand strong {
  display: block;
  font-size: clamp(32px, 5vw, 64px);
  font-style: italic;
  letter-spacing: -3px;
  line-height: 0.8;
}
.poster-brand strong span,
.poster-brand em {
  color: var(--on);
}
.poster-brand small {
  display: block;
  margin-top: 13px;
  letter-spacing: 4px;
  font-size: 10px;
  font-weight: 900;
}
.poster-brand em {
  font-style: normal;
}
.poster-season {
  min-width: 210px;
  text-align: center;
  text-transform: uppercase;
  font-style: italic;
}
.poster-season b {
  display: block;
  background: var(--on);
  color: #060606;
  padding: 10px 20px;
  font-size: clamp(21px, 3vw, 34px);
  transform: skew(-7deg);
}
.poster-season span {
  display: block;
  font-weight: 1000;
  font-size: 18px;
  margin-top: 9px;
  letter-spacing: 1px;
}
.poster-season .poster-friendly-mode {
  display: inline-flex;
  margin-top: 9px;
  padding: 5px 10px;
  border: 1px solid #82ddcf;
  border-radius: 999px;
  color: #c7fff6;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.poster-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #455000;
  border-bottom: 1px solid #455000;
  margin: 0 0 18px;
}
.poster-facts > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 12px;
  text-transform: uppercase;
  font-weight: 1000;
}
.poster-facts > div + div {
  border-left: 1px solid #455000;
}
.poster-facts > div > b {
  color: var(--on);
  font-size: 32px;
}
.poster-facts span {
  display: grid;
  gap: 4px;
}
.poster-facts small {
  color: var(--on);
  font-size: 11px;
  letter-spacing: 0.8px;
}
.poster-table-wrap {
  overflow: auto;
  border: 1px solid var(--on);
  border-radius: 12px;
}
.poster-table {
  min-width: 900px;
  background: #080808;
}
.poster-table th,
.poster-table td {
  border-right: 1px solid #7f9300;
  border-bottom: 1px solid #7f9300;
  text-align: center;
  padding: 14px;
}
.poster-table thead th {
  background: linear-gradient(180deg, #e4ff19, #bddc00);
  color: #060606;
  font-size: 13px;
  font-style: italic;
}
.poster-table tbody th {
  width: 150px;
  background: #090909;
  color: #fff;
}
.poster-table tbody th b {
  display: block;
  color: var(--on);
  font-size: 15px;
}
.poster-table tbody th span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  white-space: nowrap;
}
.poster-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  min-width: 280px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.poster-match b {
  color: var(--on);
  font-size: 16px;
}
.rest-list {
  min-width: 120px;
  line-height: 1.55;
  font-weight: 700;
}
.poster-motto {
  width: min(780px, 90%);
  margin: 25px auto 0;
  padding: 8px;
  text-align: center;
  background: linear-gradient(
    90deg,
    transparent,
    var(--on) 15%,
    var(--on) 85%,
    transparent
  );
  color: #050505;
  font-size: clamp(20px, 4vw, 38px);
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 3px;
  transform: skew(-5deg);
}
.schedule-poster.exporting {
  width: 1180px;
  max-width: none;
  margin: 0;
  padding: 34px;
}
.schedule-poster.exporting .poster-table-wrap {
  overflow: visible;
}
.schedule-poster.exporting .poster-table {
  min-width: 100%;
}
.schedule-poster.exporting .poster-head {
  align-items: center;
  flex-direction: row;
}
.schedule-poster.exporting .poster-facts {
  grid-template-columns: repeat(3, 1fr);
}
.schedule-poster.exporting .poster-facts > div + div {
  border-left: 1px solid #455000;
  border-top: 0;
}
.home-session-list {
  display: grid;
  gap: 18px;
}
.home-session-list .card:not(.next-game) {
  border-color: #3a420f;
}
.form-heading {
  justify-content: space-between;
  margin-bottom: 16px;
}
.form-heading h2 {
  margin: 0;
}
.fairness-note {
  padding: 14px 16px;
  border: 1px solid #3b3b3b;
  border-radius: 10px;
  background: #090909;
  color: #c8c8c8;
  line-height: 1.45;
}
.fairness-note.success {
  border-color: #6c7f00;
  background: #111700;
  color: #e9ff7d;
}
.fairness-note.warning {
  border-color: #a56a00;
  background: #1e1400;
  color: #ffd37a;
}
.participation-summary {
  margin: -2px 0 18px;
  padding: 11px 14px;
  border: 1px solid #687800;
  border-radius: 9px;
  background: #101500;
  color: #e8ff72;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.round-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}
.round-heading h2 {
  margin: 0;
}
.round-heading span {
  color: var(--on);
  font-weight: 900;
  font-size: 13px;
}
.match-team {
  display: grid;
  gap: 8px;
}
.match-player-row {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #303030;
  border-radius: 9px;
  background: #090909;
}
.mini-check {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 11px;
  font-weight: 800;
}
.mini-check input {
  accent-color: var(--danger);
}
button:disabled {
  opacity: 0.58;
  cursor: wait;
}
.home-event-section {
  margin-top: 52px;
}
.home-event {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #576500;
}
.home-event-cover {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #171717;
}
.home-event-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 1000;
  font-style: italic;
}
.home-event-placeholder span {
  color: var(--on);
}
.home-event-copy {
  padding: clamp(24px, 4vw, 42px);
  align-self: center;
}
.home-event-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-style: italic;
  margin: 8px 0 12px;
}
.home-event-copy > p {
  color: #c8c8c8;
  line-height: 1.65;
}
.event-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.event-facts span {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #353535;
  border-radius: 10px;
}
.event-facts small {
  color: var(--on);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}
.upload-note {
  color: #999;
  line-height: 1.4;
}
.event-cover-preview {
  width: min(100%, 520px);
  max-height: 260px;
  object-fit: cover;
  border: 1px solid #4b5700;
  border-radius: 12px;
  margin-top: 6px;
}
.event-admin-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
}
.event-admin-thumb {
  width: 88px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: #171717;
}
.event-thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--on);
  font-weight: 1000;
}
.event-admin-details {
  min-width: 0;
}
@media (max-width: 560px) {
  .round-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .round-heading span {
    font-size: 12px;
  }
  .match-player-row {
    width: 100%;
  }
}
@media (max-width: 760px) {
  .schedule-toolbar,
  .poster-head {
    align-items: stretch;
    flex-direction: column;
  }
  .schedule-toolbar .inline {
    width: 100%;
  }
  .schedule-toolbar .btn {
    flex: 1;
    text-align: center;
  }
  .poster-brand {
    justify-content: center;
  }
  .poster-brand img {
    width: 76px;
    height: 76px;
  }
  .poster-brand strong {
    letter-spacing: -2px;
  }
  .poster-season {
    min-width: 0;
  }
  .poster-facts {
    grid-template-columns: 1fr;
  }
  .poster-facts > div + div {
    border-left: 0;
    border-top: 1px solid #455000;
  }
  .poster-facts > div {
    justify-content: flex-start;
  }
  .schedule-poster {
    margin-inline: -2vw;
  }
  .home-event {
    grid-template-columns: 1fr;
  }
  .home-event-cover {
    min-height: 220px;
    aspect-ratio: 16/9;
  }
  .event-admin-row {
    grid-template-columns: 72px 1fr;
  }
  .event-admin-thumb {
    width: 72px;
    height: 54px;
  }
  .event-admin-row .btn {
    grid-column: 1/-1;
    width: 100%;
    text-align: center;
  }
  .event-facts {
    grid-template-columns: 1fr;
  }
}
@media print {
  body {
    background: #050505 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .site-header,
  .page > .eyebrow,
  .page > .section-title,
  .admin-nav,
  .schedule-toolbar {
    display: none !important;
  }
  .page {
    width: 100%;
    padding: 0;
  }
  .schedule-poster {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }
  .poster-table-wrap {
    overflow: visible;
  }
  .poster-table {
    min-width: 100%;
    font-size: 10px;
  }
  .poster-table th,
  .poster-table td {
    padding: 8px;
  }
  .poster-match {
    min-width: 0;
    font-size: 10px;
  }
}
.channel-bar a img {
  display: block;
  width: 23px;
  height: 23px;
}
.channel-bar a:hover {
  border-color: var(--on);
  background: #d7ff000d;
  transform: translateY(-2px);
}
.name-search {
  display: grid;
  gap: 7px;
  width: min(460px, 100%);
  margin: 20px 0 24px;
}
.name-search label {
  color: #b8b8b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.name-search input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: #090909;
  color: #fff;
}
.name-search input:focus {
  outline: 2px solid #d7ff0038;
  border-color: var(--on);
}
.name-search input::placeholder {
  color: #777;
}
.search-empty {
  margin-top: 18px;
}
.friend-link[hidden],
.talent[hidden] {
  display: none !important;
}
.friend-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
}
.friend-link.is-my-profile .friend {
  position: relative;
  border-color: #8ba300;
  background:
    radial-gradient(circle at 50% 0%, #d7ff0011, transparent 42%), var(--card);
  box-shadow:
    inset 0 0 0 1px #d7ff0012,
    0 12px 30px #0007;
}
.my-profile-label {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border: 1px solid #91a600;
  border-radius: 999px;
  background: #111700e8;
  color: var(--on);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.friend-link .friend {
  height: 100%;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.friend-link:hover .friend,
.friend-link:focus-visible .friend {
  transform: translateY(-4px);
  border-color: #7f9400;
  box-shadow:
    0 16px 36px #0008,
    0 0 24px #d7ff0012;
}
.friend-link:focus-visible {
  outline: 2px solid var(--on);
  outline-offset: 4px;
}
.view-profile {
  display: inline-block;
  margin-top: 16px;
  color: var(--on);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.back-link {
  display: inline-block;
  margin: 6px 0 20px;
  color: var(--on);
  font-weight: 800;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}
.player-profile {
  padding: clamp(18px, 3.5vw, 38px);
  border-color: #596800;
  overflow: hidden;
  box-shadow:
    inset 0 0 70px #d7ff0008,
    0 24px 80px #0008;
}
.player-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  padding-bottom: 28px;
  border-bottom: 1px solid #333;
}
.profile-avatar-shell {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border: 1px solid #647500;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 25%, #d7ff0028, transparent 38%), #080a02;
  box-shadow:
    inset 0 0 24px #d7ff0013,
    0 0 26px #d7ff000f;
}
.profile-avatar {
  width: 86px;
  height: 86px;
  margin: 0;
  border-radius: 22px;
  font-size: 28px;
  flex: 0 0 auto;
}
.profile-avatar.player-photo-slot {
  border-radius: 22px;
  border-color: #788a00;
  box-shadow: 0 8px 24px #0009;
}
.profile-photo {
  display: block;
  object-fit: cover;
  border: 1px solid #788a00;
  background: #0d0d0d;
}
.player-profile-head.has-profile-hero-photo {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: 272px;
  padding-right: clamp(250px, 27vw, 340px);
}
.has-profile-hero-photo .profile-identity,
.has-profile-hero-photo .profile-scoreboard {
  position: relative;
  z-index: 2;
}
.has-profile-hero-photo .profile-scoreboard {
  grid-column: 1;
  margin-top: 26px;
}
.profile-hero-photo.player-photo-slot {
  position: absolute;
  z-index: 1;
  top: -30px;
  right: -12px;
  display: block;
  width: clamp(270px, 29vw, 360px);
  height: 302px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.94;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 100%),
    linear-gradient(to bottom, #000 0%, #000 64%, #000c 76%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 100%),
    linear-gradient(to bottom, #000 0%, #000 64%, #000c 76%, transparent 100%);
  mask-composite: intersect;
}
.profile-identity {
  min-width: 0;
}
.player-profile-head h2 {
  margin: 5px 0 10px;
  font-size: clamp(30px, 5vw, 50px);
  font-style: italic;
  line-height: 0.98;
}
.player-profile-head p {
  margin: 6px 0 0;
}
.profile-identity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-identity-meta > span {
  padding: 6px 9px;
  border: 1px solid #363636;
  border-radius: 999px;
  color: #b8b8b8;
  background: #090909;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.profile-identity-meta > span b {
  color: var(--on);
}
.profile-member-id {
  margin: 0;
}
.profile-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 9px;
}
.player-profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  padding-top: 14px;
}
.player-profile-actions .btn {
  margin: 0;
  padding: 10px 14px;
  font-size: 10px;
}
.profile-sign-out {
  appearance: none;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #8c8c8c;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profile-sign-out:hover {
  color: #fff;
}
.master-recovery-request {
  justify-self: start;
  width: fit-content;
  margin-top: 2px;
}
.master-recovery-request:disabled {
  cursor: wait;
  opacity: 0.65;
}
.owner-recovery-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.owner-recovery-card {
  width: min(520px, 100%);
}
.owner-recovery-card h1 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 7vw, 52px);
  font-style: italic;
  text-transform: uppercase;
}
.player-access-modal .join-modal-panel {
  width: min(460px, 100%);
}
.player-access-modal .join-modal-panel h2 {
  padding-right: 30px;
}
.player-access-modal .player-photo-editor-panel {
  width: min(560px, 100%);
}
.leaderboard-photo-editor {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 13px 18px;
  align-items: center;
  margin: 8px 0 2px;
  padding: 16px;
  border: 1px solid #465300;
  border-radius: 16px;
  background:
    radial-gradient(circle at 19% 20%, #d7ff0018, transparent 38%), #080a04;
}
.leaderboard-photo-preview.player-photo-slot {
  grid-row: 1 / span 4;
  width: 132px;
  height: 132px;
  margin: 0;
  border-color: #8aa000;
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow:
    0 10px 28px #000b,
    0 0 22px #d7ff0018;
}
.leaderboard-photo-preview.player-photo-slot.is-dragging {
  cursor: grabbing;
}
.leaderboard-photo-preview > img {
  object-position: var(--leaderboard-photo-x, 50%)
    var(--leaderboard-photo-y, 28%);
  transform-origin: var(--leaderboard-photo-x, 50%)
    var(--leaderboard-photo-y, 28%);
  transform: scale(var(--leaderboard-photo-zoom, 1.3));
  pointer-events: none;
}
.leaderboard-photo-editor-copy {
  display: grid;
  gap: 3px;
}
.leaderboard-photo-editor-copy strong {
  color: var(--on);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.leaderboard-photo-editor-copy span {
  color: #aaa;
  font-size: 11px;
  line-height: 1.4;
}
.leaderboard-photo-control {
  display: grid;
  gap: 5px;
}
.leaderboard-photo-control > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #cecece;
  font-size: 10px;
  font-weight: 800;
}
.leaderboard-photo-control output {
  color: var(--on);
}
.leaderboard-photo-control input[type="range"] {
  width: 100%;
  accent-color: var(--on);
}
@media (max-width: 520px) {
  .leaderboard-photo-editor {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 11px 13px;
    padding: 13px;
  }
  .leaderboard-photo-preview.player-photo-slot {
    width: 112px;
    height: 112px;
  }
}
.player-login-admin {
  display: grid;
  gap: 15px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid #465200;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, #d7ff000d, transparent 34%), #090a06;
}
.player-login-admin h3 {
  margin: 4px 0 5px;
  font-size: 20px;
}
.player-login-admin p {
  margin: 0;
}
.player-login-admin .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.profile-points,
.profile-trophies {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 132px;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid #7d9200;
  border-radius: 18px;
  background: linear-gradient(145deg, #1c2403, #090b00);
  text-align: center;
  box-shadow: inset 0 0 26px #d7ff000b;
}
.profile-points > span,
.profile-trophies > span {
  color: #a5a98c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.profile-points strong {
  color: var(--on);
  font-size: clamp(31px, 5vw, 44px);
  line-height: 1;
}
.profile-historical-points {
  border-color: #787878;
  background:
    radial-gradient(circle at 75% 25%, #ffffff12, transparent 42%),
    linear-gradient(145deg, #1b1b1b, #080808);
  box-shadow: inset 0 0 26px #ffffff08;
}
.profile-historical-points strong {
  color: #fff;
}
.profile-trophies {
  appearance: none;
  font: inherit;
  cursor: help;
  border-color: #8f7024;
  background:
    radial-gradient(circle at 75% 25%, #ffcc4d25, transparent 42%),
    linear-gradient(145deg, #211a05, #0b0901);
  box-shadow:
    inset 0 0 26px #ffc84510,
    0 0 22px #ffca3a0b;
}
.profile-trophies:hover,
.profile-trophies[aria-expanded="true"] {
  border-color: #f1c555;
  box-shadow:
    inset 0 0 30px #ffc84518,
    0 0 24px #ffca3a20;
}
.profile-trophies:focus-visible {
  outline: 1px solid #ffd76a;
  outline-offset: 2px;
}
.profile-trophies strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffd76a;
  font-size: clamp(31px, 5vw, 44px);
  line-height: 1;
}
.profile-trophies strong i {
  font-size: 0.54em;
  font-style: normal;
  filter: drop-shadow(0 0 8px #ffca3a66);
}
.player-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.player-stat {
  display: grid;
  gap: 6px;
  padding: 15px 12px;
  border: 1px solid #353535;
  border-radius: 12px;
  background: #090909;
  text-align: center;
}
.player-stat small {
  color: #aaa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.player-stat strong {
  font-size: clamp(25px, 4vw, 34px);
}
@media (max-width: 820px) {
  .player-profile-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .player-profile-head.has-profile-hero-photo {
    grid-template-columns: minmax(0, 1fr);
    min-height: 258px;
    padding-right: 225px;
  }
  .has-profile-hero-photo .profile-scoreboard {
    grid-column: 1;
  }
  .profile-hero-photo.player-photo-slot {
    width: 268px;
    height: 286px;
  }
  .profile-scoreboard {
    grid-column: 1 / -1;
  }
  .profile-points,
  .profile-trophies {
    text-align: center;
  }
  .profile-points strong,
  .profile-trophies strong {
    justify-content: center;
  }
  .player-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .player-profile {
    margin-inline: -6px;
    padding: 16px;
  }
  .player-profile-head {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding-bottom: 20px;
  }
  .player-profile-head.has-profile-hero-photo {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-right: 0;
  }
  .has-profile-hero-photo .profile-identity {
    z-index: 2;
    width: 52%;
    min-height: 156px;
  }
  .has-profile-hero-photo .profile-scoreboard {
    z-index: 3;
    margin-top: 4px;
  }
  .profile-hero-photo.player-photo-slot {
    top: -18px;
    right: -16px;
    width: 178px;
    height: 188px;
    opacity: 0.92;
  }
  .profile-avatar-shell {
    width: 72px;
    height: 72px;
    border-radius: 19px;
  }
  .profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 19px;
  }
  .player-profile-head h2 {
    margin-bottom: 8px;
    font-size: clamp(25px, 9vw, 36px);
  }
  .profile-identity-meta {
    gap: 5px;
  }
  .profile-identity-meta > span {
    padding: 5px 7px;
    font-size: 8px;
  }
  .profile-scoreboard {
    margin-top: 3px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .player-profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .player-profile-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }
  .profile-sign-out {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .player-login-admin {
    padding: 14px;
  }
  .player-login-admin .form-grid {
    grid-template-columns: 1fr;
  }
  .profile-points,
  .profile-trophies {
    min-width: 0;
    padding: 14px 16px;
  }
  .profile-trophies {
    grid-column: 1 / -1;
  }
  .player-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .player-stat {
    padding: 12px 6px;
  }
  .player-stat:nth-child(4),
  .player-stat:nth-child(5) {
    grid-column: span 1;
  }
}
.points-negative {
  color: #ff8290;
}
.admin-nav a[href="#/admin/points"] {
  border-color: #4c5800;
}
.admin-nav a[href="#/admin/points"]:hover {
  border-color: var(--on);
}
.visitor-dashboard {
  margin: 22px 0 34px;
}
.visitor-dashboard > h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic;
  margin: 5px 0 16px;
}
.visitor-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.visitor-total {
  text-align: center;
}
.visitor-total small {
  display: block;
  color: #aaa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.visitor-total strong {
  display: block;
  margin-top: 8px;
  color: var(--on);
  font-size: clamp(38px, 6vw, 58px);
}
.visitor-history h3 {
  margin: 0;
}
.visitor-chart-scroll {
  overflow-x: auto;
  margin-top: 14px;
  padding: 8px 0 4px;
  scrollbar-color: #667600 #151515;
  scrollbar-width: thin;
}
.visitor-days-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(42px, 1fr));
  gap: 10px;
  align-items: end;
  min-width: 720px;
}
.visitor-day {
  display: grid;
  grid-template-rows: 22px 120px auto;
  gap: 8px;
  justify-items: center;
  min-width: 0;
}
.visitor-day time {
  color: #bbb;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.visitor-day > b {
  color: var(--on);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.visitor-bar {
  display: flex;
  align-items: flex-end;
  width: 14px;
  height: 120px;
  overflow: hidden;
  background: #242424;
  border-radius: 999px;
}
.visitor-bar span {
  display: block;
  width: 100%;
  min-height: 6px;
  background: linear-gradient(0deg, #809600, var(--on));
  border-radius: inherit;
}
@media (max-width: 900px) {
  .visitor-totals {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .visitor-history {
    padding: 16px;
  }
  .visitor-days-chart {
    grid-template-columns: repeat(14, 40px);
    gap: 8px;
    min-width: max-content;
  }
}
.visitor-history h3 {
  margin: 0;
}
.visitor-city-note {
  margin: 12px 0 0;
  color: #898989;
  font-size: 11px;
  line-height: 1.5;
}
.homepage-gallery-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0;
  border-color: #596800;
  background:
    radial-gradient(circle at 100% 0, #d7ff0010, transparent 36%), #0d0d0d;
}
.homepage-gallery-admin h2 {
  margin: 4px 0 7px;
}
.homepage-gallery-admin p {
  max-width: 650px;
  margin: 0;
}
.homepage-gallery-admin form {
  justify-content: flex-end;
  flex: 0 0 auto;
}
.gallery-settings-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 18px;
  border-color: #596800;
  background:
    radial-gradient(circle at 100% 0, #d7ff0012, transparent 38%), #0d0d0d;
}
.gallery-settings-card h2,
.gallery-editor h2,
.gallery-admin-heading h2 {
  margin: 5px 0 7px;
}
.gallery-settings-card p,
.gallery-editor p {
  margin: 0;
}
.gallery-setting-action {
  justify-content: end;
}
.gallery-setting-action .btn {
  margin-top: auto;
}
.gallery-editor {
  margin-bottom: 30px;
}
.gallery-editor .form-heading,
.gallery-admin-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.gallery-admin-heading {
  align-items: end;
}
.gallery-admin-list {
  display: grid;
  gap: 12px;
}
.gallery-admin-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
}
.gallery-admin-row.is-hidden {
  opacity: 0.58;
}
.gallery-admin-row > img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #353535;
  border-radius: 10px;
  background: #080808;
}
.gallery-admin-copy {
  min-width: 0;
}
.gallery-admin-copy > b {
  display: block;
  margin: 4px 0;
  font-size: 17px;
}
.gallery-admin-copy > p {
  margin: 0;
  color: #aaa;
  font-size: 12px;
}
.gallery-admin-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 280px;
}
.gallery-order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1 0 100%;
}
.gallery-order-actions .btn {
  min-width: 0;
  padding-inline: 11px;
}
.gallery-order-actions .btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}
.gallery-upload-limit {
  display: block;
  margin-top: 7px;
  line-height: 1.5;
}
.gallery-order-help {
  margin: 7px 0 0;
}
.preview-note {
  margin-top: 16px;
  border-style: dashed;
  color: #b9b9b9;
}
@media (max-width: 760px) {
  .homepage-gallery-admin {
    align-items: stretch;
    flex-direction: column;
  }
  .homepage-gallery-admin form,
  .homepage-gallery-admin .btn {
    width: 100%;
  }
  .homepage-gallery-admin .btn {
    text-align: center;
  }
  .gallery-settings-card {
    grid-template-columns: 1fr;
  }
  .gallery-editor .form-heading,
  .gallery-admin-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .gallery-admin-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }
  .gallery-admin-row > img {
    width: 92px;
  }
  .gallery-admin-actions {
    grid-column: 1 / -1;
    max-width: none;
  }
  .gallery-admin-actions .btn {
    flex: 1;
    text-align: center;
  }
  .gallery-order-actions {
    width: 100%;
  }
}
.time-parts {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto minmax(68px, 1fr) minmax(
      76px,
      0.9fr
    );
  gap: 8px;
  align-items: center;
}
.time-parts > span {
  color: var(--on);
  font-weight: 1000;
}
.teammate-panel {
  padding: 18px;
  border: 1px solid #424900;
  border-radius: 12px;
  background: #0b0d05;
}
.teammate-panel .form-heading {
  align-items: center;
}
.teammate-panel .form-heading p {
  margin: 5px 0 0;
  font-size: 12px;
}
.female-teammate-rule {
  display: grid;
  gap: 10px;
}
.female-teammate-rule .check {
  align-items: flex-start;
  border-color: #586500;
  background: linear-gradient(120deg, #151a05, #090a07 72%);
}
.female-teammate-rule .check > input {
  margin-top: 3px;
}
.female-teammate-rule .check > span {
  display: grid;
  gap: 4px;
}
.female-teammate-rule .check b {
  color: var(--on);
}
.female-teammate-rule .check small {
  color: #b5b5b5;
  line-height: 1.45;
}
.female-teammate-rule .fairness-note {
  margin: 0;
}
.teammate-request {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  gap: 10px;
  align-items: end;
  padding: 14px 0;
  border-top: 1px solid #303500;
}
.excluded-teammate-request {
  grid-template-columns: 1fr 1fr auto;
}
.teammate-request:first-child {
  border-top: 0;
}
.teammate-request .btn {
  margin-bottom: 1px;
}
.teammate-panel > #teammate-preview {
  margin-top: 12px;
}
@media (max-width: 760px) {
  .teammate-request {
    grid-template-columns: 1fr 1fr;
  }
  .teammate-request .field:nth-child(3) {
    grid-column: 1/-1;
  }
  .teammate-request .btn {
    width: 100%;
  }
  .excluded-teammate-request {
    grid-template-columns: 1fr 1fr;
  }
  .excluded-teammate-request .btn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .time-parts {
    grid-template-columns: minmax(52px, 1fr) auto minmax(60px, 1fr) minmax(
        66px,
        0.9fr
      );
  }
  .teammate-request {
    grid-template-columns: 1fr;
  }
  .excluded-teammate-request {
    grid-template-columns: 1fr;
  }
  .excluded-teammate-request .btn {
    grid-column: auto;
  }
  .teammate-request .field:nth-child(3) {
    grid-column: auto;
  }
  .teammate-panel .form-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .teammate-panel .form-heading .btn {
    width: 100%;
  }
}
.metric-number {
  font-variant-numeric: tabular-nums;
  transform-origin: center;
  will-change: transform, filter;
  text-shadow:
    0 0 8px #d7ff00a0,
    0 0 22px #d7ff0048;
  filter: drop-shadow(0 0 7px #d7ff0065);
}
.metric-number.counting {
  animation: metric-count-pulse 1.1s ease-in-out infinite alternate;
}
@keyframes metric-count-pulse {
  from {
    transform: translateY(1px) scale(0.97);
    filter: drop-shadow(0 0 5px #d7ff0055);
  }
  to {
    transform: translateY(-2px) scale(1.035);
    filter: drop-shadow(0 0 15px #d7ff00a0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .metric-number.counting {
    animation: none;
  }
}
.deferred-session-option {
  border-color: #758600;
  background: linear-gradient(135deg, #161d00, #090b04);
}
.deferred-session-option span {
  display: grid;
  gap: 4px;
}
.deferred-session-option small {
  color: #aeb58f;
  line-height: 1.4;
}
.schedule-setup-deferred {
  opacity: 0.32;
  filter: grayscale(0.65);
}
.pending-badge {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid #7f9200;
  border-radius: 999px;
  background: #151b00;
  color: var(--on);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.pending-session-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-color: #657400;
}
.pending-session-intro h2 {
  margin: 5px 0 8px;
}
@media (max-width: 700px) {
  .pending-session-intro {
    align-items: stretch;
    flex-direction: column;
  }
  .pending-session-intro .btn {
    text-align: center;
  }
}
.rest-first-request {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(130px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px 0;
  border-top: 1px solid #303500;
}
.rest-first-request:first-child {
  border-top: 0;
}
.rest-first-request .btn {
  margin-bottom: 1px;
}
.first-round-rest-panel > #rest-first-preview {
  margin-top: 12px;
}
.session-roster-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-color: #596800;
}
.session-roster-card h2 {
  margin: 5px 0 8px;
}
.session-roster-card p {
  max-width: 760px;
  line-height: 1.55;
}
.page.schedule-page {
  width: min(1420px, 96vw);
}
.schedule-page .schedule-poster {
  padding-inline: clamp(20px, 3vw, 42px);
}
.schedule-page .poster-table {
  min-width: 1040px;
}
.schedule-poster.exporting {
  width: 1320px;
}
.leaderboard-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.leaderboard-cup {
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 12px #ffd34e88);
  font-size: 0.8em;
  transform: rotate(-7deg);
}
.leaderboard-motto {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  width: max-content;
  max-width: 100%;
  margin: 2px 0 24px;
  padding: 10px 20px;
  border-left: 4px solid var(--on);
  background: linear-gradient(90deg, #d7ff001d, transparent);
  color: #fff;
  font-size: clamp(18px, 3vw, 30px);
  font-style: italic;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: skew(-5deg);
  text-shadow: 0 0 18px #d7ff003c;
}
.leaderboard-view-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 8px auto;
}
.leaderboard-view-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid #343434;
  border-radius: 999px;
  background: #0b0b0b;
  color: #aaa;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.leaderboard-view-tabs a.is-active {
  border-color: #819900;
  background: #171d00;
  color: var(--on);
}
.leaderboard-view-tabs .hall-of-fame-tab {
  border-color: #8e711b;
  background: linear-gradient(135deg, #2c2105, #120f06);
  color: #f2cf65;
  box-shadow: inset 0 0 18px #ffcf3a10;
}
.leaderboard-view-tabs .hall-of-fame-tab.is-active {
  border-color: #f0c64f;
  color: #ffe187;
  box-shadow:
    0 0 20px #d8a72b20,
    inset 0 0 20px #ffcf3a18;
}
.hall-of-fame-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid #7f681f;
  border-radius: 18px;
  background: linear-gradient(125deg, #211a06, #0a0a0a 68%);
}
.hall-of-fame-intro h2 {
  margin: 5px 0 7px;
  color: #ffe08a;
}
.hall-of-fame-intro p {
  max-width: 680px;
  margin: 0;
  color: #c8c1aa;
  line-height: 1.55;
}
.hall-of-fame-intro > span {
  font-size: 54px;
  filter: drop-shadow(0 0 15px #ffc62e44);
}
.hall-of-fame-tools {
  margin-left: auto;
}
.leaderboard-control-stack {
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(max-content, 1fr);
  grid-template-areas: "tools tabs";
  align-items: end;
  column-gap: 24px;
  width: 100%;
}
.leaderboard-control-stack .leaderboard-tools {
  grid-area: tools;
  width: 100%;
}
.leaderboard-control-stack .leaderboard-view-tabs {
  grid-area: tabs;
  align-self: end;
  justify-self: end;
  margin: 0 0 24px;
}
.historical-leaderboard table {
  min-width: 760px !important;
}
.historical-leaderboard th,
.historical-leaderboard td {
  text-align: center !important;
}
.historical-leaderboard th:first-child,
.historical-leaderboard td:first-child {
  width: 130px !important;
}
.historical-leaderboard th:nth-child(2),
.historical-leaderboard td:nth-child(2) {
  width: 300px !important;
}
.historical-leaderboard .historical-points-column {
  width: 155px !important;
  color: #f5d26c;
}
.historical-player-cell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
}
.leaderboard-motto span:nth-of-type(2) {
  color: var(--on);
}
.leaderboard-motto i {
  color: #697627;
}
.leaderboard-motto b {
  font-style: normal;
  filter: drop-shadow(0 0 8px #ff7a00aa);
}
@media (max-width: 700px) {
  .rest-first-request {
    grid-template-columns: 1fr 1fr;
  }
  .rest-first-request .btn {
    grid-column: 1/-1;
    width: 100%;
  }
  .session-roster-card {
    align-items: stretch;
    flex-direction: column;
  }
  .session-roster-card .btn {
    text-align: center;
  }
  .page.schedule-page {
    width: 96vw;
  }
  .leaderboard-title {
    gap: 10px;
  }
  .leaderboard-motto {
    padding-inline: 13px;
    letter-spacing: 0.03em;
  }
}
@media (max-width: 480px) {
  .rest-first-request {
    grid-template-columns: 1fr;
  }
}
.opponent-request {
  display: grid;
  grid-template-columns:
    minmax(110px, 0.55fr) minmax(260px, 1fr) auto minmax(260px, 1fr)
    auto;
  gap: 12px;
  align-items: end;
  padding: 16px 0;
  border-top: 1px solid #303500;
}
.opponent-request:first-child {
  border-top: 0;
}
.opponent-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid #343b00;
  border-radius: 10px;
  background: #080a03;
}
.opponent-team > span {
  grid-column: 1/-1;
  color: var(--on);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.14em;
}
.opponent-vs {
  align-self: center;
  color: var(--on);
  font-style: italic;
}
.opponent-request > .btn {
  margin-bottom: 1px;
}
.opponent-panel > #opponent-preview {
  margin-top: 12px;
}
@media (max-width: 920px) {
  .opponent-request {
    grid-template-columns: 1fr auto 1fr;
  }
  .opponent-round-field {
    grid-column: 1/-1;
  }
  .opponent-request > .btn {
    grid-column: 1/-1;
    width: 100%;
  }
}
@media (max-width: 620px) {
  .opponent-request {
    grid-template-columns: 1fr;
  }
  .opponent-team {
    grid-template-columns: 1fr;
  }
  .opponent-team > span {
    grid-column: auto;
  }
  .opponent-vs {
    text-align: center;
  }
  .opponent-request > .btn,
  .opponent-round-field {
    grid-column: auto;
  }
}

/* Schedule poster: mirrors the approved black and neon match-card template. */
.page.schedule-page {
  width: min(1580px, 97%);
}
.schedule-page .schedule-poster {
  padding: 24px 34px 20px;
  background:
    radial-gradient(circle at 30% -25%, #232b00 0, transparent 28%),
    linear-gradient(135deg, #070707, #010101 55%, #060700);
  border: 0;
  border-radius: 0;
  box-shadow:
    0 28px 90px #000c,
    inset 0 0 110px #d7ff0008;
}
.schedule-page .schedule-poster:before {
  width: 420px;
  height: 10px;
  right: -70px;
  top: 72px;
  opacity: 0.2;
}
.schedule-page .schedule-poster:after {
  width: 360px;
  height: 8px;
  left: -100px;
  bottom: 44px;
  opacity: 0.22;
}
.schedule-page .poster-head {
  min-height: 150px;
  margin: 0 10px 4px;
  align-items: center;
}
.schedule-page .poster-brand {
  gap: 16px;
}
.schedule-page .poster-brand img {
  width: 142px;
  height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px #d7ff0036);
}
.schedule-page .poster-brand strong {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.78;
  text-shadow: 0 4px 0 #161616;
}
.schedule-page .poster-brand small {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 5.5px;
}
.schedule-page .poster-season {
  min-width: 310px;
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
}
.schedule-page .poster-season b {
  padding: 14px 34px;
  background: linear-gradient(180deg, #e7ff18, #bedc00);
  font-size: clamp(30px, 3.5vw, 50px);
  letter-spacing: 1px;
  clip-path: polygon(4% 3%, 100% 0, 96% 88%, 2% 100%, 6% 52%);
  transform: skew(-5deg);
  text-shadow: 0 2px 0 #8da500;
}
.schedule-page .poster-season span {
  margin-top: 10px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: 1.5px;
}
.schedule-page .poster-facts {
  width: min(900px, 72%);
  margin: -4px auto 18px;
  border: 0;
}
.schedule-page .poster-facts > div {
  min-height: 74px;
  padding: 8px 28px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(15px, 1.5vw, 22px);
  letter-spacing: 0.3px;
}
.schedule-page .poster-facts > div + div {
  border-left: 2px solid #647400;
}
.schedule-page .poster-facts > div > b {
  font-size: 44px;
  line-height: 1;
  text-shadow: 0 0 16px #d7ff0060;
}
.schedule-page .poster-facts small {
  font-size: clamp(12px, 1.2vw, 17px);
  letter-spacing: 0.5px;
}
.schedule-page .poster-table-wrap {
  border: 2px solid #cde900;
  border-radius: 14px;
  background: #050505;
}
.schedule-page .poster-table {
  min-width: var(--schedule-table-min, 1160px);
  background: #050505;
  table-layout: fixed;
}
.schedule-page .poster-table th,
.schedule-page .poster-table td {
  border-right: 1px solid #b4ce00;
  border-bottom: 1px solid #b4ce00;
  padding: 12px 14px;
}
.schedule-page .poster-table thead th {
  height: 42px;
  background: linear-gradient(180deg, #e5ff17, #bdd900);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(15px, 1.5vw, 22px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.8px;
}
.schedule-page .poster-table thead th:first-child {
  width: 190px;
}
.schedule-page .poster-table thead th:last-child {
  width: 210px;
}
.schedule-page .poster-table tbody tr {
  height: 92px;
}
.schedule-page .poster-table tbody th {
  width: 190px;
  padding-inline: 10px;
}
.schedule-page .poster-table tbody th b {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.schedule-page .poster-table tbody th span {
  margin-top: 3px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(14px, 1.35vw, 20px);
  font-weight: 900;
}
.schedule-page .poster-match {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: var(--schedule-player-font, clamp(13px, 1.18vw, 18px));
  font-weight: 900;
  line-height: 1.25;
}
.schedule-page .poster-team,
.schedule-page .rest-list {
  display: grid;
  gap: 5px;
  align-content: center;
}
.schedule-page .poster-team > span,
.schedule-page .rest-list > span {
  display: block;
  white-space: nowrap;
}
.schedule-page .poster-match b {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(17px, 1.5vw, 23px);
  font-style: italic;
  font-weight: 500;
}
.schedule-page .rest-list {
  min-width: 150px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: var(--schedule-player-font, clamp(13px, 1.18vw, 18px));
  font-weight: 900;
  line-height: 1.25;
}
.schedule-page .poster-motto {
  position: relative;
  width: min(1180px, 88%);
  margin: 24px auto 0;
  padding: 10px 42px;
  background: linear-gradient(
    90deg,
    transparent 0,
    #d7ff00 8%,
    #d7ff00 92%,
    transparent 100%
  );
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(25px, 3.2vw, 44px);
  letter-spacing: 4px;
  line-height: 1;
  clip-path: polygon(
    0 28%,
    8% 6%,
    88% 5%,
    100% 32%,
    93% 68%,
    75% 89%,
    10% 94%,
    2% 67%
  );
}
.schedule-poster.exporting {
  width: var(--poster-export-width, 1600px);
  max-width: none;
  margin: 0;
  padding: 28px 38px 22px;
}
.schedule-export-host {
  position: fixed;
  z-index: -1;
  top: 0;
  left: -20000px;
  width: max-content;
  pointer-events: none;
}
.schedule-export-host .schedule-poster.exporting {
  display: block;
}
.schedule-poster.exporting .poster-table {
  min-width: 100%;
}
@media (max-width: 900px) {
  .schedule-page .poster-head {
    align-items: center;
    flex-direction: row;
  }
  .schedule-page .poster-brand img {
    width: 96px;
    height: 96px;
  }
  .schedule-page .poster-brand strong {
    font-size: 48px;
  }
  .schedule-page .poster-brand small {
    font-size: 8px;
    letter-spacing: 3px;
  }
  .schedule-page .poster-season {
    min-width: 220px;
  }
  .schedule-page .poster-facts {
    width: 92%;
    margin-top: 8px;
  }
}
@media (max-width: 680px) {
  .schedule-page .schedule-poster {
    margin-inline: 0;
    padding: 20px 16px;
  }
  .schedule-page .poster-head {
    align-items: stretch;
    flex-direction: column;
  }
  .schedule-page .poster-brand {
    justify-content: center;
  }
  .schedule-page .poster-season {
    min-width: 0;
  }
  .schedule-page .poster-facts {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 18px;
  }
  .schedule-page .poster-facts > div {
    justify-content: flex-start;
  }
  .schedule-page .poster-facts > div + div {
    border-left: 0;
    border-top: 1px solid #455000;
  }
  .schedule-page .poster-table {
    min-width: var(--schedule-table-min, 1020px);
  }
}
/* Compact schedule for a 20-player session across four courts. */
.schedule-page .schedule-poster--four-court,
.schedule-page .schedule-poster--four-court.exporting {
  padding: 24px 25px 100px;
  background: #101307;
}
.schedule-page .schedule-poster--four-court:before,
.schedule-page .schedule-poster--four-court:after {
  content: none;
}
.schedule-page .schedule-poster--four-court .poster-head {
  justify-content: flex-start;
  gap: 22px;
  min-height: 70px;
  margin: 0 16px 20px;
}
.schedule-page .schedule-poster--four-court .poster-brand img {
  width: 70px;
  height: 70px;
}
.schedule-page .schedule-poster--four-court .poster-season {
  display: flex;
  align-items: center;
  min-width: 0;
  text-align: left;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-style: italic;
}
.schedule-page .schedule-poster--four-court .poster-season b,
.schedule-page .schedule-poster--four-court .poster-season span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid #d7ff00;
  clip-path: none;
  transform: skew(-8deg);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
}
.schedule-page .schedule-poster--four-court .poster-season b {
  background: #d7ff00;
  color: #090a03;
}
.schedule-page .schedule-poster--four-court .poster-season span {
  background: #101307;
  color: #fff;
  font-weight: 500;
}
.schedule-page
  .schedule-poster--four-court
  .poster-season
  .poster-friendly-mode {
  height: auto;
  margin: 0 0 0 16px;
  font-size: 11px;
  font-style: normal;
  transform: none;
}
.schedule-page .schedule-poster--four-court .poster-table-wrap {
  border: 1px solid #d7ff00;
  border-radius: 7px;
}
.schedule-page .schedule-poster--four-court .poster-table {
  width: 100%;
  min-width: var(--schedule-table-min, 1570px);
  background: #080b04;
}
.schedule-page .schedule-poster--four-court .poster-table th,
.schedule-page .schedule-poster--four-court .poster-table td {
  padding: 10px 7px;
  border-color: #d0ea00;
}
.schedule-page .schedule-poster--four-court .poster-table thead th {
  height: 56px;
  background: #d7ff00;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}
.schedule-page .schedule-poster--four-court .poster-table thead th:first-child,
.schedule-page .schedule-poster--four-court .poster-table tbody th {
  width: 137px;
}
.schedule-page .schedule-poster--four-court .poster-table thead th:last-child {
  width: 150px;
}
.schedule-page .schedule-poster--four-court .poster-table tbody tr {
  height: 136px;
}
.schedule-page .schedule-poster--four-court .poster-table tbody th {
  background: #080b04;
}
.schedule-page .schedule-poster--four-court .poster-table tbody th b,
.schedule-page .schedule-poster--four-court .poster-table tbody th span {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}
.schedule-page .schedule-poster--four-court .poster-table tbody th span {
  margin-top: 7px;
  color: #fff;
}
.schedule-page .schedule-poster--four-court .poster-match {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 3px;
  min-width: 0;
  font-weight: 900;
  line-height: 1.4;
}
.schedule-page .schedule-poster--four-court .poster-match b {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
}
.schedule-page .schedule-poster--four-court .poster-team > span,
.schedule-page .schedule-poster--four-court .rest-list > span {
  letter-spacing: -0.35px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.schedule-page .schedule-poster--four-court .rest-list {
  min-width: 0;
  font-weight: 900;
}
.schedule-scroll-hint {
  display: none;
  margin: 0 0 9px;
  color: #aeb979;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .schedule-scroll-hint {
    display: block;
  }
}
.hero-actions {
  align-items: stretch;
}
.hero-join-row {
  flex-basis: 100%;
}
.join-community-cta {
  position: relative;
  overflow: hidden;
  min-width: 190px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 26px #d7ff002b;
}
.join-community-cta:after {
  content: "↗";
  margin-left: 9px;
}
.join-community-cta.is-unavailable {
  opacity: 0.72;
}
.home-community-join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid #667700;
  border-radius: 16px;
  background: linear-gradient(110deg, #161e00, #090909 60%);
  box-shadow: inset 0 0 55px #d7ff000a;
}
.home-community-join h3 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3.5vw, 38px);
  font-style: italic;
  text-transform: uppercase;
}
.session-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.session-card-actions .btn {
  margin: 0;
}
.join-game-button {
  min-width: 120px;
}
body.modal-open {
  overflow: hidden;
}
.join-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #000c;
  backdrop-filter: blur(9px);
}
.join-modal[hidden] {
  display: none !important;
}
.join-modal-panel {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid #788b00;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, #273000 0, transparent 35%), #0b0b0b;
  box-shadow:
    0 28px 90px #000,
    0 0 45px #d7ff0018;
}
.join-modal-panel h2 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 6vw, 46px);
  font-style: italic;
  text-transform: uppercase;
}
.join-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #111;
  color: #ddd;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.join-game-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.join-success {
  text-align: center;
  padding: 14px 0;
}
.join-success[hidden],
#join-game-form-state[hidden] {
  display: none !important;
}
.join-success-ball {
  font-size: 56px;
  filter: drop-shadow(0 0 14px #d7ff0080);
}
.join-success p {
  margin: 0 auto 24px;
  color: #ccc;
  line-height: 1.6;
}
.community-form-settings {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  align-items: end;
  border-color: #4e5b00;
}
.community-form-settings h2 {
  margin: 5px 0 7px;
}
.community-form-settings p {
  margin: 0;
  line-height: 1.5;
}
.community-form-settings form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.join-request-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 16px;
}
.join-request-toolbar h2 {
  margin: 5px 0 0;
}
.join-request-list {
  display: grid;
  gap: 14px;
}
.profile-login-request {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #343434;
}
.profile-login-request > p {
  margin: 0;
}
.profile-login-request > .btn {
  justify-self: start;
}
.profile-login-request .join-game-form {
  display: grid;
  gap: 12px;
}
.profile-login-request .join-game-form[hidden],
.profile-login-request-success[hidden] {
  display: none;
}
.profile-login-request-success {
  color: var(--on);
}
.join-request-card {
  border-color: #383838;
}
.join-request-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.join-request-heading h2 {
  margin: 9px 0 0;
}
.join-request-heading time {
  color: #999;
  font-size: 12px;
}
.request-status {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.request-status.pending {
  color: #ffe474;
}
.request-status.hold {
  color: #8dc8ff;
}
.request-status.approved {
  color: var(--on);
}
.request-status.rejected {
  color: #ff8290;
}
.join-request-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.join-request-meta span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #090909;
}
.join-request-meta small {
  color: var(--on);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}
.join-request-meta b {
  line-height: 1.45;
}
.join-request-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.request-approved-note {
  display: block;
  padding: 12px 14px;
  border: 1px solid #6b7c00;
  border-radius: 10px;
  background: #111700;
  color: #e8ff70;
  font-weight: 800;
}
.request-player-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #3e4800;
  border-radius: 12px;
  background: #0b0d05;
}
.request-player-link .field {
  min-width: 0;
}
.request-player-state {
  grid-column: 1 / -1;
  margin: 0;
  color: #999;
  font-size: 11px;
  font-weight: 800;
}
.request-player-state.is-linked {
  color: var(--on);
}
.request-player-identity {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #383838;
  border-radius: 10px;
  background: #090909;
}
.request-player-identity small {
  color: var(--on);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}
.request-player-identity.is-linked {
  border-color: #596800;
}
.admin-nav a[href="#/admin/requests"] {
  border-color: #4c5800;
}
@media (max-width: 760px) {
  .home-community-join,
  .join-request-heading,
  .join-request-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .community-form-settings {
    grid-template-columns: 1fr;
  }
  .community-form-settings form {
    grid-template-columns: 1fr;
  }
  .community-form-settings .btn,
  .home-community-join .btn {
    width: 100%;
    text-align: center;
  }
  .join-request-meta {
    grid-template-columns: 1fr;
  }
  .join-request-actions .btn {
    flex: 1;
  }
  .request-player-link {
    grid-template-columns: 1fr;
  }
  .request-player-link .btn,
  .request-player-state {
    grid-column: 1;
  }
  .join-request-heading time {
    order: -1;
  }
  .hero-join-row {
    display: flex;
    justify-content: center;
  }
  .hero-join-row .btn {
    width: auto;
    min-width: 164px;
    padding: 10px 16px;
    font-size: 13px;
  }
}
.rank-cell {
  display: grid;
  grid-template-columns: 64px 36px;
  align-items: center;
  justify-content: start;
  column-gap: 8px;
  min-height: 30px;
  white-space: nowrap;
}
.rank-cell > .rank {
  display: inline-block;
  align-self: center;
  justify-self: center;
}
.rank-cell > .standard-rank {
  display: inline-grid;
  place-items: center;
  position: relative;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #f3f3f3;
  font-size: 22px;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 0 12px #d7ff0026;
}
.rank-cell > .standard-rank::after {
  position: absolute;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--on);
  box-shadow: 0 0 8px #d7ff0066;
  content: "";
}
.rank-movement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 3px;
  min-width: 36px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  line-height: 1;
}
.rank-movement.up {
  color: #aee86c;
  transform: translateY(-4px);
}
.rank-movement.down {
  color: #d99ba2;
  transform: translateY(4px);
}
.rank-movement > span {
  font-size: 15px;
  font-weight: 800;
}
.rank-movement small {
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}
.rank-new {
  display: block;
  justify-self: center;
  width: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: center;
  box-shadow: none;
}
.community-signature {
  margin: 18px 0 0;
  color: #d8d8d8;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(16px, 1.8vw, 19px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.community-signature span {
  display: inline-block;
  margin-left: 4px;
  color: #ff6178;
  font-family: Arial, sans-serif;
  font-size: 0.9em;
  font-style: normal;
  text-shadow: 0 0 10px #ff526477;
  transform: translateY(-1px);
}
.compact-leaderboard table {
  min-width: 0;
  table-layout: fixed;
}
.compact-leaderboard th:first-child,
.compact-leaderboard td:first-child {
  width: 144px;
}
.compact-leaderboard th:last-child,
.compact-leaderboard td:last-child {
  width: 118px;
}
.compact-leaderboard th:nth-child(2),
.compact-leaderboard td:nth-child(2) {
  padding-left: 10px;
}
@media (max-width: 560px) {
  .compact-leaderboard th,
  .compact-leaderboard td {
    padding: 14px 9px;
  }
  .compact-leaderboard th:first-child,
  .compact-leaderboard td:first-child {
    width: 112px;
  }
  .compact-leaderboard th:last-child,
  .compact-leaderboard td:last-child {
    width: 76px;
  }
  .compact-leaderboard th:nth-child(2),
  .compact-leaderboard td:nth-child(2) {
    padding-left: 4px;
  }
  .compact-leaderboard .rank-cell {
    grid-template-columns: 52px 28px;
    column-gap: 3px;
  }
  .compact-leaderboard .rank {
    width: 52px;
  }
  .compact-leaderboard .rank-movement {
    min-width: 28px;
  }
  .compact-leaderboard .rank-new {
    width: 28px;
    font-size: 9px;
  }
  .compact-leaderboard td:nth-child(2) {
    font-size: 13px;
    line-height: 1.25;
  }
  .compact-leaderboard th:last-child {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .compact-leaderboard td:last-child {
    text-align: center;
  }
}
.session-admin-group {
  margin-top: 34px;
}
.session-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.session-group-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  font-style: italic;
  text-transform: uppercase;
}
.session-group-heading > span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid #576500;
  border-radius: 50%;
  color: var(--on);
  font-weight: 1000;
}
.session-status-line {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.schedule-ready-badge {
  border-color: #4d9a5e;
  background: #0c1c10;
  color: #9cffad;
}
.ended-badge {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid #444;
  border-radius: 999px;
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.session-ended-row {
  opacity: 0.78;
}
.draft-player-selector {
  padding: 16px;
  border: 1px solid #3d4700;
  border-radius: 12px;
  background: #0c0f05;
}
.draft-player-selector .form-heading {
  align-items: end;
}
.draft-player-selector .form-heading p {
  margin: 5px 0 0;
}
.player-draft-picker {
  display: grid;
  gap: 14px;
}
.draft-player-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #303030;
  border-radius: 11px;
  background: #090909;
}
.chosen-player-group {
  border-color: #697900;
  background: linear-gradient(120deg, #151c02, #090909 70%);
  box-shadow: inset 0 0 30px #d7ff0009;
}
.frequent-player-group {
  border-color: #566400;
  background: linear-gradient(120deg, #111701, #090909 72%);
}
.frequent-player-group .draft-player-group-heading > div {
  display: grid;
  gap: 3px;
}
.frequent-player-group .draft-player-group-heading > span {
  color: var(--on);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.frequent-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.frequent-player-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27px;
  gap: 3px 8px;
  align-items: center;
  min-height: 49px;
  padding: 9px 10px;
  border: 1px solid #3b4300;
  border-radius: 9px;
  background: #0d0f08;
  color: #f3f3f3;
  text-align: left;
  cursor: pointer;
}
.frequent-player-pick:hover {
  border-color: var(--on);
}
.frequent-player-pick > span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frequent-player-pick > b {
  display: grid;
  grid-row: span 2;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: var(--on);
  color: #080808;
  font-size: 11px;
}
.frequent-player-pick > small {
  color: #929873;
  font-size: 9px;
}
.frequent-player-pick.is-selected {
  border-color: #5c5c5c;
  opacity: 0.45;
}
.draft-player-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.draft-player-group-heading b {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.draft-player-group-heading small {
  color: #858585;
  font-size: 10px;
}
.draft-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 8px;
}
.draft-player-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 20px;
  gap: 9px;
  align-items: center;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid #333;
  border-radius: 9px;
  background: #0c0c0c;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}
.draft-player-choice[hidden] {
  display: none !important;
}
.available-player-search {
  max-width: 420px;
  margin: 10px 0;
}
.draft-player-choice:hover {
  border-color: #687600;
  transform: translateY(-1px);
}
.draft-player-choice input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--on);
}
.draft-player-name {
  overflow-wrap: anywhere;
  color: #eee;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}
.draft-player-level {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #5d6c00;
  border-radius: 8px;
  background: #151b04;
  color: var(--on);
  font-size: 11px;
  font-weight: 1000;
}
.draft-player-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #d7ff0018;
  color: transparent;
  font-size: 11px;
  font-weight: 1000;
}
.draft-player-choice.is-selected {
  border-color: #819500;
  background: #151c02;
}
.draft-player-choice.is-selected .draft-player-check {
  background: var(--on);
  color: #070707;
  box-shadow: 0 0 12px #d7ff0045;
}
.draft-player-empty {
  margin: 0;
  padding: 12px;
  border: 1px dashed #343434;
  border-radius: 9px;
  color: #777;
  text-align: center;
  font-size: 11px;
}
.draft-count-pill {
  padding: 6px 10px;
  border: 1px solid #647400;
  border-radius: 999px;
  color: var(--on);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.frequent-player-group {
  border-color: #586700;
  background: linear-gradient(135deg, #1d2605, #0a0b07 62%), #0a0a0a;
}
.frequent-player-group .draft-player-group-heading > div {
  display: grid;
  gap: 4px;
}
.frequent-player-group .draft-player-group-heading > span {
  color: var(--on);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.frequent-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.frequent-player-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 3px 8px;
  align-items: center;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid #465200;
  border-radius: 10px;
  background: #0d1007;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.frequent-player-pick > span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frequent-player-pick > b {
  grid-row: span 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--on);
  color: #050505;
  font-size: 11px;
}
.frequent-player-pick > small {
  color: #9da472;
  font-size: 10px;
}
.frequent-player-pick:hover {
  border-color: var(--on);
}
.frequent-player-pick.is-selected {
  opacity: 0.45;
}
.draft-roster-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.draft-roster-summary > div {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid #3c4600;
  border-radius: 10px;
  background: #0e1205;
}
.draft-roster-summary small {
  color: #92987b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.draft-roster-summary b {
  color: var(--on);
  font-size: 21px;
}
.ranking-schedule-note {
  display: grid;
  gap: 6px;
  padding: 15px 17px;
  border: 1px solid #7b8e00;
  border-radius: 11px;
  background: linear-gradient(120deg, #192000, #090b04);
  box-shadow: inset 0 0 34px #d7ff000a;
}
.ranking-schedule-note b {
  color: var(--on);
  font-size: 15px;
  text-transform: uppercase;
}
.ranking-schedule-note span {
  color: #c8ceb0;
  font-size: 12px;
  line-height: 1.55;
}
.draft-schedule-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 620px) {
  .session-group-heading {
    align-items: center;
  }
  .draft-roster-summary {
    grid-template-columns: 1fr;
  }
  .draft-player-selector .form-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .draft-count-pill {
    align-self: flex-start;
  }
  .draft-player-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .draft-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .draft-schedule-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .draft-schedule-actions .btn {
    text-align: center;
  }
}
@media (max-width: 430px) {
  .draft-player-selector {
    padding: 12px;
  }
  .draft-player-group {
    padding: 10px;
  }
  .draft-player-grid {
    grid-template-columns: 1fr;
  }
}
.scoring-close-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-color: #596700;
  background: linear-gradient(115deg, #171d04, #0b0b0b 64%);
}
.scoring-close-card h2 {
  margin: 5px 0 4px;
  font-size: clamp(24px, 4vw, 34px);
}
.scoring-close-card p {
  max-width: 680px;
  margin: 0;
  color: #b9b9b9;
  line-height: 1.55;
}
.scoring-close-card button[disabled] {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}
.scoring-close-card.is-closed {
  border-color: #3b5c42;
  background: linear-gradient(115deg, #0c1b10, #0b0b0b 64%);
}
.scoring-locked-badge,
.match-scoring-locked {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid #4f7658;
  border-radius: 999px;
  color: #a9d8b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.match-scoring-locked {
  margin: 10px 0;
  border-color: #3f5143;
  color: #9caf9f;
}
.scoring-close-card ~ .card input:disabled,
.schedule-round input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
@media (max-width: 640px) {
  .scoring-close-card {
    align-items: stretch;
    flex-direction: column;
  }
  .scoring-close-card .btn,
  .scoring-locked-badge {
    align-self: stretch;
    text-align: center;
  }
}
.round-workflow-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--on);
  background: #121701;
  color: #dce89e;
  line-height: 1.5;
}
.round-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.round-heading-actions .btn {
  padding: 8px 12px;
  font-size: 11px;
}
.round-heading-actions small {
  color: #929292;
  font-size: 10px;
}
.round-confirmed {
  border-color: #3f6648;
  background: linear-gradient(145deg, #111a12, #090909);
}
.round-confirmed-badge {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #4f7658;
  border-radius: 999px;
  color: #a9d8b3 !important;
  font-size: 10px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-scoring-page {
  width: min(1480px, 96vw);
}
.live-scoring-courts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 12px;
}
.scoring-court-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  align-content: start;
  margin: 0;
  padding: 46px 12px 13px;
  overflow: hidden;
  background: linear-gradient(145deg, #101200, #090909 46%);
  border-color: #414900;
}
.scoring-court-label {
  position: absolute;
  inset: 0 0 auto;
  padding: 9px 12px;
  background: linear-gradient(90deg, #d7ff00, #aabd00);
  color: #070707;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.scoring-team-label {
  color: #9bab50;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}
.scoring-match-control {
  display: grid;
  gap: 8px;
  text-align: center;
}
.scoring-court-card .score-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.scoring-court-card .score-actions button {
  min-height: 43px;
  padding: 7px 5px;
  font-size: 11px;
  line-height: 1.2;
}
.scoring-court-card .score-actions button.is-selected {
  border-color: var(--on);
  background: #d7ff0026;
  color: #f3ff9b;
  box-shadow: 0 0 14px #d7ff0038;
}
.score-pending-feedback {
  color: #d7ff00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.scoring-no-show-grid {
  margin-top: 12px;
}
.session-no-show-selector {
  padding: 14px;
  border: 1px solid #3d4700;
  border-radius: 12px;
  background: #0c0f05;
}
.session-no-show-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.session-no-show-heading > div {
  display: grid;
  gap: 4px;
}
.session-no-show-heading label {
  margin: 0;
}
.session-no-show-lock-note {
  display: block;
  margin-top: 8px;
}
.session-no-show-choice.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.session-no-show-choice.is-disabled:hover {
  border-color: #333;
  transform: none;
}
.live-scoring-page .match-player-row {
  min-width: 0;
}
.live-scoring-page .match-player-row b {
  overflow-wrap: anywhere;
  line-height: 1.25;
}
@media (max-width: 640px) {
  .live-scoring-page {
    width: 94vw;
  }
  .live-scoring-courts {
    grid-template-columns: 1fr;
  }
  .session-no-show-heading {
    align-items: flex-start;
  }
  .round-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .round-heading-actions {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
  .round-heading-actions .btn {
    width: 100%;
    text-align: center;
  }
  .scoring-court-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "team-a team-b"
      "control control";
    gap: 8px;
    padding: 43px 8px 10px;
  }
  .scoring-team-a {
    grid-area: team-a;
  }
  .scoring-team-b {
    grid-area: team-b;
  }
  .scoring-match-control {
    grid-area: control;
  }
  .live-scoring-page .match-team {
    gap: 5px;
  }
  .live-scoring-page .match-player-row {
    gap: 4px;
    min-height: 40px;
    padding: 7px 6px;
    border-radius: 8px;
  }
  .live-scoring-page .match-player-row b {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .live-scoring-page .mini-check {
    justify-content: flex-start;
    gap: 3px;
    overflow: hidden;
    font-size: 9px;
    white-space: nowrap;
  }
  .live-scoring-page .mini-check input {
    width: 13px;
    height: 13px;
  }
}
.community-feed-section {
  margin: 0 0 58px;
}
.community-feed {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid #4c5900;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 50%, #d7ff0012, transparent 32%),
    linear-gradient(120deg, #101400, #090909 64%);
  box-shadow:
    inset 0 0 55px #d7ff0007,
    0 18px 55px #0005;
}
.community-feed-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(16px, 2.25vw, 24px);
  font-style: italic;
  font-weight: 1000;
  letter-spacing: 0.055em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 0 16px #d7ff002b;
}
.community-feed-heading::before {
  content: "";
  width: 6px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--on);
  box-shadow: 0 0 16px #d7ff0080;
  transform: skew(-9deg);
}
.community-feed-heading span {
  color: var(--on);
}
.community-feed-heading b {
  color: #fff;
  font: inherit;
}
.feed-ticker {
  height: 204px;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 15%,
    #000 85%,
    transparent 100%
  );
}
.feed-track {
  display: grid;
  grid-auto-rows: 68px;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.feed-track.is-shifting {
  transform: translateY(-68px);
}
.feed-track.is-resetting,
.feed-track.is-resetting .feed-line {
  transition: none !important;
}
.feed-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 7px 18px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    color 0.7s ease;
}
.feed-line > span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 850;
}
.feed-emoji {
  display: inline-block;
  font-style: normal;
  vertical-align: -0.08em;
  filter: drop-shadow(0 0 8px #d7ff0038);
}
.feed-line small {
  max-width: 100%;
  overflow: hidden;
  color: #9b9b9b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.feed-line.is-previous,
.feed-line.is-next {
  opacity: 0.34;
  transform: scale(0.92);
}
.feed-line.is-current {
  opacity: 1;
  color: #f8ffe0;
  transform: scale(1.04);
}
.feed-line.is-current > span {
  font-weight: 1000;
  text-shadow: 0 0 18px #d7ff0030;
}
.feed-line.is-clickable {
  cursor: pointer;
}
.feed-line.is-clickable:hover,
.feed-line.is-clickable:focus-visible {
  color: var(--on);
  outline: none;
}
.feed-line.is-clickable:focus-visible > span {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.feed-line.is-after {
  opacity: 0;
  transform: scale(0.9);
}
.feed-track.is-shifting .feed-line.is-previous {
  opacity: 0;
}
.feed-track.is-shifting .feed-line.is-current {
  opacity: 0.34;
  transform: scale(0.92);
}
.feed-track.is-shifting .feed-line.is-next {
  opacity: 1;
  color: #f8ffe0;
  transform: scale(1.04);
}
.feed-track.is-shifting .feed-line.is-next > span {
  font-weight: 1000;
  text-shadow: 0 0 18px #d7ff0030;
}
.feed-track.is-shifting .feed-line.is-after {
  opacity: 0.34;
  transform: scale(0.92);
}
.feed-track.single-line {
  height: 100%;
  place-content: center;
}
.feed-track.single-line .feed-line {
  min-height: 204px;
}
.feed-line-link-controls {
  padding: 14px;
  border: 1px solid #343a1e;
  border-radius: 12px;
  background: #111509;
  margin-top: 12px;
}
.feed-destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feed-line-link-controls .field {
  margin: 0;
}
.feed-click-toggle {
  margin-top: 14px;
}
.feed-link-privacy {
  margin: 9px 0 0;
  font-size: 12px;
}

.profile-history-block {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #303030;
}
.profile-history-block h3,
.profile-chart-card h3 {
  margin: 5px 0 0;
  font-size: clamp(24px, 4vw, 34px);
  font-style: italic;
  text-transform: uppercase;
}
.profile-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.profile-section-heading > span {
  color: #858585;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}
.profile-chart-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-chart-help {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  padding: 0;
  border: 1px solid #d7ff0070;
  border-radius: 50%;
  background: #d7ff000d;
  color: #d7ff00b8;
  font:
    850 12px/1 Arial,
    sans-serif;
  cursor: help;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
.profile-chart-help:hover,
.profile-chart-help[aria-expanded="true"] {
  border-color: var(--on);
  color: var(--on);
  box-shadow: 0 0 10px #d7ff0030;
}
.profile-chart-help:focus-visible {
  outline: 1px solid var(--on);
  outline-offset: 3px;
}
.profile-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.profile-insight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #303030;
  border-radius: 13px;
  background: linear-gradient(145deg, #0d0d0d, #070707);
}
.profile-insight > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid #3d4600;
  border-radius: 10px;
  background: #111500;
  font-size: 17px;
}
.profile-insight > div {
  display: grid;
  justify-items: center;
  min-width: 0;
  gap: 3px;
  text-align: center;
}
.profile-insight small {
  color: #8f8f8f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.profile-insight strong {
  font-size: 20px;
  line-height: 1;
}
.profile-insight-trigger {
  cursor: help;
}
.profile-insight-trigger:focus-visible,
.profile-insight-link:focus-visible {
  outline: 1px solid var(--on);
  outline-offset: 2px;
}
.profile-insight-link {
  width: 100%;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
.profile-insight-link:hover {
  border-color: #788d00;
  background: linear-gradient(145deg, #131703, #080808);
}
.profile-movement {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.profile-movement.positive {
  color: #7bf09a;
}
.profile-movement.negative {
  color: #ff7a88;
}
.profile-movement.neutral {
  color: #e5e5e5;
  font-size: 14px;
}
.recent-form-block {
  position: relative;
}
.recent-form {
  display: grid;
  grid-auto-columns: calc((100% - 36px) / 5);
  grid-auto-flow: column;
  gap: 9px;
  min-width: 100%;
}
.recent-form-scroll {
  overflow-x: auto;
  padding: 2px 0 7px;
  scrollbar-color: #667600 #151515;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
}
.form-result {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 58px;
  padding: 10px 8px;
  border: 1px solid #3a3a3a;
  border-radius: 13px;
  background: linear-gradient(145deg, #0e0e0e, #080808);
  color: inherit;
  font-family: inherit;
  text-align: center;
  cursor: help;
  scroll-snap-align: end;
}
.form-result i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
.form-result b {
  font-size: 20px;
}
.form-result.result-w {
  color: #67ee86;
  border-color: #285f34;
}
.form-result.result-w i {
  background: #48da6c;
}
.form-result.result-l {
  color: #ff7583;
  border-color: #6d2931;
}
.form-result.result-l i {
  background: #f75264;
}
.form-result.result-d {
  color: #fff;
  border-color: #777;
}
.form-result.result-d i {
  background: #fff;
}
.profile-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.profile-social-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #303700;
  border-radius: 14px;
  background:
    radial-gradient(circle at 9% 7%, #d7ff0010, transparent 30%),
    linear-gradient(145deg, #0d0e09, #080808);
}
.profile-social-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.profile-social-title > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #151900;
  font-size: 19px;
}
.profile-social-title h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.05;
  text-transform: uppercase;
}
.profile-social-players {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.profile-social-players span {
  padding: 7px 9px;
  border: 1px solid #4b5700;
  border-radius: 9px;
  color: #f5f8e8;
  background: #101300;
  font-size: 12px;
  font-weight: 850;
}
.profile-social-card p {
  margin: 0;
  color: #818181;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.profile-social-card p strong {
  color: var(--on);
  font-size: 16px;
}
.profile-connections-empty {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px dashed #394100;
  border-radius: 14px;
  color: #777;
  text-align: center;
}
.profile-connections-empty b {
  color: #e2e7cc;
}
.profile-connections-empty span {
  font-size: 10px;
}
.profile-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.75fr);
  gap: 14px;
  margin-top: 30px;
}
.profile-chart-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #303500;
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 0%, #d7ff000a, transparent 40%), #080808;
}
.profile-chart-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: #667600 #151515;
  scrollbar-width: thin;
}
.profile-performance-chart {
  display: block;
  width: max(100%, 650px);
  height: auto;
  min-height: 240px;
  font-family: inherit;
}
.profile-chart-grid line {
  stroke: #2a2a2a;
  stroke-width: 1;
}
.profile-chart-grid text,
.profile-chart-axis-label {
  fill: #707070;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.profile-chart-zero {
  stroke: #656565;
  stroke-dasharray: 5 5;
  stroke-width: 1;
}
.profile-chart-area {
  fill: url(#profile-performance-area);
}
.profile-chart-line {
  fill: none;
  stroke: var(--on);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 6px #d7ff0055);
}
.profile-chart-point circle {
  fill: #0d0d0d;
  stroke: var(--on);
  stroke-width: 3;
}
.profile-chart-point.is-unscored circle {
  fill: #101010;
  stroke: #858585;
  stroke-dasharray: 3 2;
  filter: none;
}
.profile-chart-point.is-unscored .profile-chart-value,
.profile-chart-point.is-unscored .profile-chart-label {
  fill: #929292;
}
.profile-chart-value {
  fill: #f5f5f5;
  font-size: 10px;
  font-weight: 900;
}
.profile-chart-label {
  fill: #aeb38f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.profile-chart-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 30px;
  color: #777;
  text-align: center;
}
.profile-chart-empty b {
  color: #ddd;
}
.profile-chart-empty span {
  max-width: 250px;
  font-size: 11px;
}
.profile-analytics-warning {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(215, 255, 0, 0.34);
  border-radius: 14px;
  background: rgba(215, 255, 0, 0.07);
  text-align: center;
}
.profile-analytics-warning span {
  color: var(--muted);
  font-size: 0.88rem;
}
.profile-outcome {
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 13px 0 4px;
}
.profile-donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(
    #69e889 0 var(--win-end),
    #f3f3f3 var(--win-end) var(--draw-end),
    #f15d6e var(--draw-end) 100%
  );
  box-shadow: 0 0 30px #d7ff000d;
}
.profile-donut::before {
  width: 120px;
  height: 120px;
  border: 1px solid #323232;
  border-radius: 50%;
  background: #090909;
  content: "";
}
.profile-donut > div {
  position: absolute;
  display: grid;
  text-align: center;
}
.profile-donut strong {
  color: var(--on);
  font-size: 34px;
  line-height: 1;
}
.profile-donut span {
  color: #8d8d8d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-outcome-legend {
  display: grid;
  width: 100%;
  gap: 8px;
}
.profile-outcome-legend > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-bottom: 1px solid #242424;
}
.profile-outcome-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.outcome-win i {
  background: #69e889;
}
.outcome-loss i {
  background: #f15d6e;
}
.outcome-draw i {
  background: #f3f3f3;
}
.profile-outcome-legend span {
  display: grid;
}
.profile-outcome-legend b {
  font-size: 11px;
}
.profile-outcome-legend small {
  color: #737373;
  font-size: 9px;
}
.profile-outcome-legend strong {
  font-size: 14px;
}
.profile-achievement-block {
  margin-top: 30px;
}
.profile-season-stack {
  display: grid;
  gap: 12px;
}
.profile-season-group {
  padding: 16px;
  border: 1px solid #323232;
  border-radius: 15px;
  background: #080808;
}
.profile-season-group.is-current {
  border-color: #708200;
  background: linear-gradient(135deg, #d7ff0008, transparent 42%), #090a05;
  box-shadow: inset 0 0 28px #d7ff0007;
}
.profile-season-heading,
.profile-season-group > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.profile-season-group > summary {
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 0;
  cursor: pointer;
  list-style: none;
}
.profile-season-group > summary::-webkit-details-marker {
  display: none;
}
.profile-season-group[open] > summary {
  margin-bottom: 14px;
}
.profile-season-heading span,
.profile-season-group summary span {
  color: var(--on);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-season-heading h4,
.profile-season-group summary h4 {
  margin: 2px 0 0;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  text-transform: uppercase;
}
.profile-season-heading > b,
.profile-season-group summary > b {
  color: #9a9a9a;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.profile-season-group summary > i {
  color: var(--on);
  font-style: normal;
  transition: transform 0.2s ease;
}
.profile-season-group[open] summary > i {
  transform: rotate(180deg);
}
.achievement-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.achievement-history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid #343434;
  border-radius: 12px;
  background: #0a0a0a;
}
.achievement-history-item[hidden] {
  display: none;
}
.achievement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: auto;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  background: radial-gradient(
    circle,
    #d7ff001f 0%,
    #d7ff0008 48%,
    transparent 72%
  );
  filter: drop-shadow(0 0 8px #d7ff003b);
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
  color: inherit;
  font-family: inherit;
  cursor: help;
}
.achievement-icon:focus-visible {
  outline: 1px solid var(--on);
  outline-offset: 2px;
}
.achievement-icon.is-combo {
  min-width: 62px;
  font-size: 18px;
  letter-spacing: -0.08em;
}
.achievement-icon.badge-mvp {
  width: 42px;
  min-width: 42px;
  padding-inline: 0;
  background: radial-gradient(circle, #ffd54a26, transparent 70%);
  color: #ffd54a;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  text-shadow: 0 0 8px #ffd54a88;
}
.achievement-history-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.achievement-history-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}
.achievement-repeat {
  display: inline-flex;
  min-width: 28px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border: 1px solid #677b00;
  border-radius: 999px;
  background: #171d00;
  color: var(--on);
  font-size: 10px;
  font-family: inherit;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
}
.achievement-history-item b {
  color: #f3ffc2;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.achievement-history-item small {
  overflow: hidden;
  color: #8f8f8f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}
.achievement-history-item .achievement-share-window {
  color: #d7ff00;
  white-space: normal;
  font-size: 12px;
}
.achievement-history-item .achievement-share-window[hidden] {
  display: none;
}
.achievement-expired-message {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 9px 11px;
  border: 1px solid #4b5340;
  border-radius: 8px;
  background: #1a2017;
  color: #e4e9dc;
  font-size: 11px;
  line-height: 1.4;
}
.achievement-expired-message[hidden] {
  display: none;
}
.achievement-share {
  justify-self: end;
  min-width: 56px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #667800;
  border-radius: 999px;
  background: linear-gradient(145deg, #1c2305, #0b0d05);
  color: var(--on);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
  box-shadow: inset 0 0 12px #d7ff0009;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.achievement-share:hover,
.achievement-share:focus-visible {
  border-color: var(--on);
  background: var(--on);
  color: #080808;
  outline: 1px solid #efffb0;
  outline-offset: 2px;
  transform: translateY(-1px);
}
.achievement-share.is-expired {
  border-color: #505050;
  background: #202020;
  color: #bbb;
  box-shadow: none;
}
.achievement-share.is-expired:hover,
.achievement-share.is-expired:focus-visible {
  border-color: #777;
  background: #292929;
  color: #ddd;
  outline-color: #777;
  transform: none;
}
.achievement-card-modal {
  z-index: 96;
  padding: 10px;
}
.achievement-card-panel {
  width: min(980px, 100%);
  max-height: calc(100vh - 20px);
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(300px, 1.22fr);
  grid-template-rows: auto auto 1fr;
  gap: 16px clamp(18px, 4vw, 40px);
  align-items: start;
  padding: clamp(18px, 3vw, 30px);
}
.achievement-card-heading {
  padding-right: 34px;
}
.achievement-card-heading h2 {
  margin: 5px 0 7px;
  font-size: clamp(25px, 3.5vw, 38px);
}
.achievement-card-heading p,
.achievement-card-editor > p {
  margin: 0;
  color: #a5a5a5;
  font-size: 11px;
  line-height: 1.5;
}
.achievement-card-design-step,
.achievement-card-editor {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.achievement-card-step {
  display: flex;
  align-items: center;
  gap: 9px;
}
.achievement-card-step > span {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--on);
  border-radius: 50%;
  background: #d7ff0012;
  color: var(--on);
  font-size: 11px;
  font-weight: 900;
}
.achievement-card-step > div {
  display: grid;
  gap: 2px;
}
.achievement-card-step strong {
  color: #f3f7df;
  font-size: 12px;
}
.achievement-card-step small {
  color: #888;
  font-size: 9px;
}
.achievement-template-chooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 9px;
  padding: 2px;
}
.achievement-template-chooser button {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  padding: 8px 7px 7px;
  border: 2px solid #343800;
  border-radius: 13px;
  background: linear-gradient(145deg, #151705, #090a04);
  color: #c9cfaa;
  font: inherit;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.achievement-template-chooser button:hover,
.achievement-template-chooser button:focus-visible,
.achievement-template-chooser button.is-selected {
  border-color: var(--on);
  color: #efffb7;
  outline: 0;
  background: linear-gradient(145deg, #222903, #0c0e03);
  box-shadow:
    0 0 0 2px #d7ff001d,
    0 8px 20px #0007;
}
.achievement-template-chooser button.is-selected {
  transform: translateY(-1px);
}
.achievement-template-chooser button::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--on);
  color: #090a03;
  font-size: 11px;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.75);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.achievement-template-chooser button.is-selected::after {
  opacity: 1;
  transform: scale(1);
}
.achievement-template-chooser img {
  width: min(100%, 78px);
  aspect-ratio: 941 / 1672;
  object-fit: cover;
  border-radius: 7px;
  background: #050505;
}
.achievement-template-chooser button > span {
  display: grid;
  gap: 2px;
}
.achievement-template-chooser button b {
  font-size: 9px;
  font-weight: 850;
}
.achievement-template-chooser button small {
  color: #70745d;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.achievement-template-chooser button.is-selected small {
  color: var(--on);
}
.achievement-card-workspace {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  min-width: 0;
}
.achievement-card-preview {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  width: min(100%, 370px);
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 26px 70px #000c,
    0 0 30px #d7ff001c;
}
.achievement-card-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achievement-card-photo {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  background: transparent;
  touch-action: none;
  cursor: grab;
}
.achievement-card-photo:active {
  cursor: grabbing;
}
.achievement-card-photo[hidden] {
  display: none;
}
.achievement-card-photo-mask {
  display: block;
  overflow: hidden;
  border-radius: 50%;
}
.achievement-card-photo canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.achievement-card-editor > .achievement-card-save-status {
  display: block;
  color: #cbd59e;
  font-size: 12px;
  line-height: 1.5;
}
.achievement-card-player-name {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 2%;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.055em;
  line-height: 0.94;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 5px #000b;
}
.achievement-card-timestamp {
  position: absolute;
  z-index: 4;
  top: 2.1%;
  right: 2.6%;
  color: #f5efd8;
  font-family: Arial, sans-serif;
  font-size: 2.05cqw;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: right;
  white-space: pre-line;
  text-shadow: 0 1px 2px #0009;
}
.achievement-card-preview.is-light-template .achievement-card-timestamp {
  color: #30362b;
  text-shadow: 0 1px 1px #fff9;
}
.achievement-card-primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.achievement-card-primary-actions .btn {
  min-width: 0;
  margin: 0;
  text-align: center;
}
.achievement-card-primary-actions .btn:first-child {
  grid-column: 1 / -1;
}
.achievement-card-crop-controls {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #394100;
  border-radius: 12px;
  background: #090a04;
}
.achievement-card-crop-controls[hidden] {
  display: none;
}
.achievement-card-crop-controls label {
  display: grid;
  gap: 5px;
}
.achievement-card-crop-controls label > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #cbd59e;
  font-size: 9px;
  font-weight: 850;
}
.achievement-card-crop-controls input {
  width: 100%;
  accent-color: var(--on);
}
.achievement-card-preview.is-exporting {
  box-shadow: none;
}
.achievement-more {
  margin-top: 14px;
}
.profile-season-empty {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px dashed #394100;
  border-radius: 12px;
  color: #7e7e7e;
  text-align: center;
}
.profile-season-empty b {
  color: #d8dfb2;
  font-size: 13px;
}
.profile-season-empty span {
  font-size: 10px;
}
@media (max-width: 900px) {
  .profile-analytics-grid {
    grid-template-columns: 1fr;
  }
  .profile-outcome {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    padding-inline: 12px;
  }
}

@media (max-width: 700px) {
  .profile-insights,
  .achievement-history,
  .profile-social-grid {
    grid-template-columns: 1fr;
  }
  .profile-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .profile-section-heading > span {
    text-align: left;
  }
  .profile-chart-card {
    padding: 15px;
  }
  .profile-outcome {
    grid-template-columns: 1fr;
  }
  .achievement-card-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .achievement-card-heading {
    padding-right: 28px;
  }
  .achievement-card-heading h2 {
    font-size: 25px;
  }
  .achievement-card-design-step {
    order: 2;
  }
  .achievement-card-workspace {
    order: 3;
    width: 100%;
  }
  .achievement-card-preview {
    width: auto;
    height: min(52vh, 570px);
    max-width: 100%;
  }
  .achievement-card-editor {
    order: 4;
  }
  .achievement-card-editor > p {
    display: none;
  }
  .achievement-card-primary-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .achievement-card-primary-actions .btn:first-child {
    grid-column: auto;
  }
  .profile-season-heading,
  .profile-season-group > summary {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .profile-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .profile-insight {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 11px;
  }
  .profile-insight > span {
    width: 29px;
    height: 29px;
    font-size: 15px;
  }
  .profile-insight strong {
    font-size: 17px;
  }
  .recent-form {
    grid-auto-columns: calc((100% - 16px) / 5);
    gap: 4px;
    min-width: 100%;
  }
  .form-result {
    min-width: 0;
    min-height: 56px;
    padding-inline: 2px;
  }
  .profile-donut {
    width: 155px;
    height: 155px;
  }
  .profile-donut::before {
    width: 108px;
    height: 108px;
  }
  .profile-season-group {
    padding: 12px;
  }
  .profile-season-heading > b,
  .profile-season-group summary > b {
    font-size: 8px;
  }
  .achievement-history-item {
    gap: 8px;
    padding: 11px;
  }
  .achievement-icon {
    min-width: 40px;
    height: 40px;
  }
  .achievement-icon.is-combo {
    min-width: 58px;
  }
  .achievement-icon.badge-mvp {
    width: 40px;
    min-width: 40px;
  }
  .achievement-share {
    min-width: 54px;
    min-height: 36px;
    padding-inline: 8px;
  }
  .achievement-card-modal {
    padding: 5px;
  }
  .achievement-card-panel {
    max-height: calc(100vh - 10px);
    padding: 14px 12px;
    border-radius: 14px;
  }
  .achievement-card-heading p {
    font-size: 10px;
  }
  .achievement-card-preview {
    height: min(48vh, 505px);
  }
  .achievement-card-primary-actions .btn {
    padding-inline: 7px;
    font-size: 9px;
  }
}

.feed-editor {
  border-color: #596800;
}
.feed-editor .form-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.feed-editor h2 {
  margin: 5px 0 7px;
}
.feed-editor p {
  margin: 0;
}
.feed-batch-field {
  padding: 16px;
  border: 1px solid #303600;
  border-radius: 14px;
  background: rgba(197, 255, 0, 0.025);
}
.feed-support-label {
  margin-top: 12px;
}
.feed-admin-row.is-hidden {
  opacity: 0.58;
}
.feed-admin-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.feed-admin-meta span {
  padding: 4px 7px;
  border: 1px solid #454545;
  border-radius: 999px;
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.scoring-closed-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .community-feed-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding-left: 14px;
  }
  .community-feed-heading::before {
    position: absolute;
    margin-left: -14px;
    height: 42px;
  }
  .feed-ticker {
    height: 252px;
  }
  .feed-track {
    grid-auto-rows: 84px;
  }
  .feed-track.is-shifting {
    transform: translateY(-84px);
  }
  .feed-line {
    padding: 8px 4px;
  }
  .feed-line > span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.25;
  }
  .feed-line small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.25;
  }
  .feed-track.single-line .feed-line {
    min-height: 252px;
  }
  .feed-destination-grid {
    grid-template-columns: 1fr;
  }
  .achievement-history {
    grid-template-columns: 1fr;
  }
  .feed-editor .form-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .scoring-closed-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .scoring-closed-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .home-session-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 8vw 16px 0;
    margin-right: calc(50% - 50vw);
    scroll-padding-inline: 0 8vw;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .home-session-list::-webkit-scrollbar {
    display: none;
  }
  .home-session-list > .card {
    flex: 0 0 min(84vw, 400px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .home-session-list .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .facts.session-facts {
    grid-template-areas:
      "date start"
      "duration location"
      "courts players";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-session-list .fact {
    min-width: 0;
    padding: 11px 10px;
  }
  .home-session-list .fact b {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.35;
  }
  .home-session-list .fact:last-child {
    grid-column: auto;
  }
  .home-session-list .session-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-session-list .session-card-actions .btn {
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .home-session-list > .card {
    flex-basis: 86vw;
  }
  .home-session-list .session-card-actions {
    grid-template-columns: 1fr;
  }
}

.leaderboard-player-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.leaderboard-player-primary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.leaderboard-player-primary > b,
.leaderboard-player-link {
  min-width: 0;
  text-align: center;
}
.leaderboard-player-link {
  color: inherit;
  font-weight: 1000;
  line-height: 1.25;
  text-decoration: none;
  touch-action: pan-x pan-y;
}
.leaderboard-player-link:hover,
.leaderboard-player-link:focus-visible {
  color: var(--on);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.leaderboard-player-link:focus-visible {
  outline: 1px solid var(--on);
  outline-offset: 3px;
  border-radius: 4px;
}
.leaderboard-avatar {
  width: 38px;
  height: 38px;
  font-size: 11px;
}
.leaderboard-avatar.rank-avatar-1 {
  border-color: #ffd65b;
  box-shadow:
    0 5px 14px #0008,
    0 0 12px #ffc83d38;
}
.leaderboard-avatar.rank-avatar-2 {
  border-color: #cbd2dc;
  box-shadow:
    0 5px 14px #0008,
    0 0 10px #dce5f128;
}
.leaderboard-avatar.rank-avatar-3 {
  border-color: #cb875a;
  box-shadow:
    0 5px 14px #0008,
    0 0 10px #d8874f28;
}
.leaderboard-player-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  width: 100%;
}
.leaderboard-player-heading > span {
  grid-column: 1;
  margin-left: 50px;
  text-align: center;
}
.leaderboard-badges {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}
.leaderboard-table th:not(:first-child),
.leaderboard-table td:not(:first-child) {
  text-align: center;
}
.leaderboard-table th:first-child,
.leaderboard-table td:first-child {
  text-align: left;
}
.leaderboard-table:not(.compact-leaderboard) table {
  min-width: 900px;
  table-layout: fixed;
}
.leaderboard-table:not(.compact-leaderboard) th:first-child,
.leaderboard-table:not(.compact-leaderboard) td:first-child {
  width: 150px;
}
.leaderboard-table:not(.compact-leaderboard) th:nth-child(2),
.leaderboard-table:not(.compact-leaderboard) td:nth-child(2) {
  width: 330px;
  padding-right: 32px;
}
.leaderboard-table:not(.compact-leaderboard) .leaderboard-points-column {
  width: 120px;
}
.leaderboard-badge {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 19px;
  line-height: 1;
  cursor: help;
  filter: drop-shadow(0 0 7px #d7ff0028);
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}
.leaderboard-badge:hover {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 0 9px #d7ff0055);
}
.leaderboard-badge:focus-visible {
  outline: 1px solid var(--on);
  outline-offset: 2px;
  border-radius: 5px;
}
.leaderboard-badge-tooltip {
  position: fixed;
  z-index: 80;
  display: grid;
  justify-items: center;
  gap: 7px;
  width: min(280px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid #718300;
  border-radius: 10px;
  background: #101303f7;
  box-shadow:
    0 12px 35px #000c,
    0 0 22px #d7ff0020;
  color: #fff;
  text-align: center;
  pointer-events: none;
}
.leaderboard-badge-tooltip[hidden] {
  display: none;
}
.leaderboard-badge-tooltip b {
  width: 100%;
  color: var(--on);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
}
.leaderboard-badge-tooltip span {
  width: 100%;
  color: #d4d4d4;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.leaderboard-badge.badge-birthday_shoutout {
  width: 62px;
  letter-spacing: -3px;
}
.leaderboard-badge.badge-mvp {
  width: 25px;
}
.mvp-badge-wordmark {
  color: #ffd54a;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 5px #ffd54a,
    0 0 11px #ffad3355;
}
.compact-leaderboard .leaderboard-player-cell {
  grid-template-columns: minmax(0, 1fr) 65px;
  gap: 5px;
  min-width: 0;
}
.compact-leaderboard .leaderboard-player-heading {
  grid-template-columns: minmax(0, 1fr) 65px;
  gap: 5px;
}
.compact-leaderboard .leaderboard-player-primary {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 6px;
}
.compact-leaderboard .leaderboard-avatar {
  width: 28px;
  height: 28px;
  border-width: 1px;
  font-size: 8px;
}
.compact-leaderboard .leaderboard-player-primary > b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-leaderboard .leaderboard-player-heading > span {
  margin-left: 36px;
}
.compact-leaderboard .leaderboard-badges {
  min-width: 0;
}
.compact-leaderboard .leaderboard-badge {
  width: 22px;
  height: 22px;
  font-size: 17px;
}
.compact-leaderboard .leaderboard-badge.badge-birthday_shoutout {
  width: 39px;
  font-size: 13px;
  letter-spacing: -4px;
}

/* Desktop-only alignment. Keep the approved mobile leaderboard dimensions
   untouched while giving names and up to four badges separate, centered lanes. */
@media (min-width: 641px) {
  .leaderboard-table:not(.compact-leaderboard) table {
    min-width: 1060px;
  }
  .leaderboard-table:not(.compact-leaderboard) th:nth-child(2),
  .leaderboard-table:not(.compact-leaderboard) td:nth-child(2) {
    width: 460px;
    padding-inline: 24px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-cell {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 18px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-heading {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 18px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-player-heading
    > span {
    margin-left: 50px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-link,
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-primary > b {
    overflow-wrap: anywhere;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-badges {
    justify-self: stretch;
    width: 150px;
    min-height: 32px;
    padding-left: 12px;
    border-left: 1px solid #2b3116;
    gap: 8px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-badge {
    flex: 0 0 auto;
  }
}

.leaderboard-tools {
  display: flex;
  align-items: end;
  gap: 12px;
  width: min(690px, 100%);
}
.leaderboard-tools .name-search {
  flex: 1 1 460px;
}
.btn.secondary.leaderboard-guide-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 24px;
  border-color: #e5ff47;
  background: linear-gradient(135deg, #e4ff22, #b5d600);
  box-shadow:
    0 0 0 1px #d7ff001c,
    0 0 24px #d7ff0038;
  color: #090b00;
  white-space: nowrap;
  animation: leaderboard-guide-glow 2.8s ease-in-out infinite;
}
.btn.secondary.leaderboard-guide-button:hover {
  background: linear-gradient(135deg, #f0ff79, #c6e900);
  box-shadow: 0 0 30px #d7ff0060;
}
.leaderboard-guide-button span:last-child {
  font-size: 11px;
}
@keyframes leaderboard-guide-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px #d7ff001c,
      0 0 18px #d7ff002c;
  }
  50% {
    box-shadow:
      0 0 0 1px #d7ff0040,
      0 0 30px #d7ff0050;
  }
}
.leaderboard-guide-panel {
  width: min(850px, 100%);
}
.leaderboard-guide-panel:focus {
  outline: none;
}
.leaderboard-guide-panel h2 {
  margin-bottom: 8px;
}
.leaderboard-guide-intro {
  max-width: 680px;
  margin-top: 0;
  line-height: 1.6;
}
.leaderboard-points-guide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 12px;
}
.leaderboard-points-guide > div {
  display: grid;
  gap: 5px;
  padding: 14px 10px;
  border: 1px solid #384300;
  border-radius: 10px;
  background: #0d1007;
  text-align: center;
}
.leaderboard-points-guide small {
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.leaderboard-points-guide strong {
  color: var(--on);
  font-size: 23px;
}
.leaderboard-guide-heading {
  margin: 30px 0 12px;
}
.leaderboard-guide-heading h3 {
  margin: 5px 0 0;
  font-size: 25px;
  font-style: italic;
  text-transform: uppercase;
}
.leaderboard-badge-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.leaderboard-guide-badge {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #090909;
}
.leaderboard-guide-badge > span {
  display: grid;
  place-items: center;
  width: 52px;
  min-width: 52px;
  height: 36px;
  overflow: visible;
  font-size: 23px;
  line-height: 1;
  white-space: nowrap;
}
.leaderboard-guide-badge > span.is-emoji-pair {
  font-size: 19px;
  letter-spacing: -1px;
}
.leaderboard-guide-badge > span.is-emoji-triple {
  font-size: 15px;
  letter-spacing: -2px;
}
.leaderboard-guide-badge b {
  color: #f6ffcf;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.leaderboard-guide-badge p {
  margin: 4px 0 0;
  color: #aaa;
  font-size: 11px;
  line-height: 1.45;
}
.leaderboard-guide-done {
  display: block;
  margin: 24px 0 0 auto;
}
.leaderboard-guide-category + .leaderboard-guide-category {
  margin-top: 24px;
}
.leaderboard-guide-category h4 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a4300;
  color: var(--on);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-admin-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
  border-color: #657400;
}
.badge-admin-intro h2 {
  margin: 5px 0 7px;
  font-size: clamp(26px, 4vw, 38px);
  font-style: italic;
  text-transform: uppercase;
}
.badge-admin-intro p {
  max-width: 720px;
  margin: 0;
  line-height: 1.55;
}
.badge-admin-summary {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.badge-admin-summary span {
  display: grid;
  min-width: 92px;
  padding: 13px;
  border: 1px solid #465200;
  border-radius: 11px;
  background: #0c0f05;
  color: #aaa;
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
}
.badge-admin-summary b {
  color: var(--on);
  font-size: 25px;
}
.badge-admin-jump {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid #303600;
  border-radius: 12px;
  background: #090b03;
  scrollbar-width: thin;
}
.badge-admin-jump button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #3f4800;
  border-radius: 8px;
  background: transparent;
  color: #d9d9d9;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-admin-jump button:hover,
.badge-admin-jump button:focus-visible {
  border-color: var(--on);
  color: var(--on);
  outline: none;
}
.badge-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
}
.badge-admin-grid.is-award-only {
  grid-template-columns: minmax(0, 1fr);
}
.badge-admin-grid.is-award-only .badge-award-editor {
  width: 100%;
}
.badge-editor,
.badge-award-editor {
  border-color: #414900;
  scroll-margin-top: 90px;
}
.badge-award-editor {
  border-color: #687800;
  background:
    radial-gradient(circle at 100% 0, #d7ff0010, transparent 36%), #0d0d0d;
}
.badge-award-editor h2 {
  margin: 5px 0 7px;
}
.badge-award-editor > p {
  margin: 0 0 20px;
  line-height: 1.5;
}
.badge-definition-row.is-draft {
  border-style: dashed;
  opacity: 0.76;
}
.badge-definition-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.badge-definition-copy > div {
  min-width: 0;
}
.badge-definition-copy .muted {
  margin: 4px 0;
  line-height: 1.45;
}
.badge-definition-copy small {
  color: #8c8c8c;
  font-size: 10px;
}
.badge-definition-icon {
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 1px solid #3f470e;
  border-radius: 11px;
  background: #0d1006;
  font-size: 24px;
}
.badge-player-visibility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.badge-admin-search {
  width: min(520px, 100%);
  margin-bottom: 12px;
}
#badge-visibility,
#badge-history,
#badge-catalogue {
  scroll-margin-top: 90px;
}
.badge-catalogue-heading {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid #3d4700;
}
.badge-catalogue-list {
  padding: 14px;
  border: 1px solid #303600;
  border-radius: 14px;
  background: #080a03;
}
.badge-player-visibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #303030;
  border-radius: 10px;
  background: #090909;
}
.badge-player-visibility span {
  display: grid;
  gap: 3px;
}
.badge-player-visibility small {
  color: #929292;
  font-size: 10px;
}
.badge-player-visibility .btn,
.badge-award-row > .btn {
  flex: 0 0 auto;
  padding: 8px 11px;
  font-size: 10px;
}
.badge-award-row.is-hidden {
  opacity: 0.58;
}
.admin-nav a[href="#/admin/badges"] {
  border-color: #4c5800;
}

@media (max-width: 620px) {
  .leaderboard-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
  }
  .leaderboard-tools .name-search {
    flex-basis: auto;
    width: 100%;
    margin-bottom: 10px;
  }
  .leaderboard-guide-button {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }
  .leaderboard-points-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .leaderboard-points-guide > div:first-child {
    grid-column: 1 / -1;
  }
  .leaderboard-badge-guide {
    grid-template-columns: 1fr;
  }
  .leaderboard-guide-badge {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 10px;
  }
  .leaderboard-guide-badge > span {
    width: 48px;
    min-width: 48px;
  }
  .leaderboard-guide-badge > span.is-emoji-pair {
    font-size: 18px;
  }
  .leaderboard-guide-badge > span.is-emoji-triple {
    font-size: 14px;
  }
  .leaderboard-guide-panel {
    padding: 24px 18px;
  }
  .leaderboard-guide-done {
    width: 100%;
  }
  .badge-admin-intro {
    align-items: stretch;
    flex-direction: column;
  }
  .badge-admin-summary {
    width: 100%;
  }
  .badge-admin-summary span {
    flex: 1;
  }
  .badge-admin-grid,
  .badge-player-visibility-list {
    grid-template-columns: 1fr;
  }
  .badge-player-visibility {
    align-items: stretch;
    flex-direction: column;
  }
  .badge-player-visibility .btn {
    width: 100%;
  }
}

.rank.top.medal {
  display: inline-grid;
  place-items: center;
  width: 64px;
  min-height: 36px;
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px #0008);
}
.rank.top.medal.gold {
  filter: drop-shadow(0 0 9px #ffd54a55);
}
.rank.top.medal.silver {
  filter: drop-shadow(0 0 8px #dfe7ef44);
}
.rank.top.medal.bronze {
  filter: drop-shadow(0 0 8px #d88b4a44);
}
.leaderboard-badge.season-podium-badge {
  width: 50px;
  overflow: visible;
}
.leaderboard-badge.badge-king_of_season {
  width: 58px;
}
.leaderboard-badge.badge-season_queen {
  width: 54px;
}
.season-podium-icons {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 18px;
  letter-spacing: -4px;
  transform: translateX(-2px);
}
.season-podium-icons > span {
  display: inline-grid;
  place-items: center;
}
.season-cup {
  position: relative;
}
.season-cup > b {
  position: absolute;
  top: 5px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  color: #4d3100;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 1px #fff3;
}
.podium-shimmer {
  isolation: isolate;
  overflow: hidden;
  padding: 2px 3px;
  border-radius: 7px;
  filter: drop-shadow(0 1px 1px #000b);
}
.king-icons {
  font-size: 21px;
  transform: translateX(-2px) scale(1.08);
}
.silver-icons {
  filter: drop-shadow(0 0 5px #dfe9ff80);
}
.bronze-icons {
  filter: drop-shadow(0 0 5px #ff9a4d70);
}
.queen-icons {
  filter: drop-shadow(0 0 5px #ffd75c80);
}
.podium-shimmer::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -30%;
  bottom: -30%;
  left: -45%;
  width: 18%;
  background: linear-gradient(90deg, transparent, #fff8c9d9 48%, transparent);
  transform: translateX(-120%) skewX(-16deg);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: season-king-shimmer 4.8s ease-in-out infinite;
}
.season-trophy-section {
  margin-top: 34px;
}
.admin-season-trophy-section {
  margin: 10px 0 34px;
}
.season-trophy-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.season-trophy-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(25px, 4vw, 38px);
  font-style: italic;
  text-transform: uppercase;
}
.season-trophy-heading > span {
  color: var(--muted);
  font-size: 13px;
}
.season-trophy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.season-trophy-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 116px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #cfff0029;
  border-radius: 18px;
  background: linear-gradient(145deg, #171717, #0b0b0b);
}
.season-trophy-emoji {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 30px;
  line-height: 1;
}
.season-trophy-card h3 {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.15;
  text-transform: uppercase;
}
.season-trophy-winners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-weight: 900;
}
.season-trophy-winners a {
  color: var(--text);
  text-decoration: none;
}
.season-trophy-winners a:hover {
  color: var(--accent);
}
.trophy-tie,
.season-trophy-card p {
  color: var(--muted);
}
.season-trophy-card p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.3;
}
.season-trophy-card.trophy-season_queen {
  border-color: #ffd95a55;
  box-shadow: inset 0 0 22px #ffd54a0b;
}
@media (max-width: 900px) {
  .season-trophy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .season-trophy-heading {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
  .season-trophy-grid {
    grid-auto-columns: 84%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 2px 2px 9px;
    scroll-snap-type: x mandatory;
  }
  .season-trophy-card {
    scroll-snap-align: start;
  }
}
.golden-shield {
  filter: sepia(1) saturate(4.5) hue-rotate(355deg) brightness(1.18);
}
@keyframes season-king-shimmer {
  0%,
  67% {
    opacity: 0;
    transform: translateX(-120%) skewX(-16deg);
  }
  70% {
    opacity: 0.9;
  }
  82% {
    opacity: 0.9;
    transform: translateX(720%) skewX(-16deg);
  }
  86%,
  100% {
    opacity: 0;
    transform: translateX(720%) skewX(-16deg);
  }
}
.compact-leaderboard .leaderboard-badge.season-podium-badge {
  width: 44px;
}
.compact-leaderboard .leaderboard-badge.badge-king_of_season {
  width: 50px;
}
.compact-leaderboard .leaderboard-badge.badge-season_queen {
  width: 48px;
}
.compact-leaderboard .season-podium-icons {
  font-size: 16px;
}
.compact-leaderboard .king-icons {
  font-size: 18px;
}
.season-finale-field {
  align-items: flex-start;
  border-color: #8c7300;
  background: linear-gradient(120deg, #211a00, #0b0b08 68%);
  box-shadow: inset 0 0 28px #ffd4000c;
}
.season-finale-field > input {
  margin-top: 3px;
}
.season-finale-field > span {
  display: grid;
  gap: 4px;
}
.season-finale-field b {
  color: #ffe46a;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.season-finale-field small {
  color: #aaa;
  font-size: 11px;
  line-height: 1.45;
}
.season-finale-field.is-disabled {
  border-color: #393939;
  background: #101010;
  box-shadow: none;
  opacity: 0.6;
}
.session-mode-field small {
  color: #969696;
  line-height: 1.5;
}
.schedule-mode-summary {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #4a4a4a;
  border-radius: 999px;
  color: #b9b9b9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.schedule-mode-summary.is-friendly {
  border-color: #538e84;
  background: #0b1c19;
  color: #9ff5e6;
}
.pending-session-intro .schedule-mode-summary {
  margin-top: 12px;
}
.friendly-session-badge {
  border-color: #538e84;
  background: #0b1c19;
  color: #9ff5e6;
}
.friendly-scoring-intro {
  border-color: #4e857b;
  background: linear-gradient(135deg, #101413, #07110f);
}
.friendly-scoring-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.friendly-scoring-title span {
  padding: 5px 9px;
  border: 1px solid #5ca697;
  border-radius: 999px;
  color: #a8ffef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.season-playoff-field {
  padding: 16px;
  border: 1px solid #5b4c12;
  border-radius: 14px;
  background: #121006;
}
.season-playoff-field > div:first-child {
  display: grid;
  gap: 5px;
  margin-bottom: 13px;
}
.season-playoff-field small {
  color: #aaa;
  line-height: 1.5;
}
.season-playoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.season-playoff-grid label {
  display: grid;
  gap: 6px;
}
.season-playoff-grid span {
  color: #d7ff00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.season-queen-playoff {
  margin-top: 14px;
}
.season-finale-badge {
  border-color: #ffe778;
  background: linear-gradient(110deg, #3d2d00, #171100 64%, #4d3700);
  box-shadow:
    0 0 9px #fff1a84d,
    0 0 22px #ffd50042;
  color: #fff0a3;
  text-shadow: 0 0 10px #ffd42699;
}

@media (max-width: 620px) {
  .season-finale-session,
  .friendly-session {
    padding-top: 53px;
  }
  .public-session-mode-badge {
    top: 14px;
    right: 14px;
    min-height: 25px;
    padding: 4px 9px;
    font-size: 9px;
  }
  .season-playoff-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-season-finale-badge,
  .public-season-finale-badge i {
    animation: none;
  }
}

.delegated-admin-intro,
.admin-create-account {
  margin-bottom: 22px;
}
.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.admin-permission-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.admin-permission-heading label {
  margin: 0;
}
.session-admin-preset {
  padding: 8px 12px;
  font-size: 9px;
}

.quick-session-panel {
  margin: 0 0 20px;
  padding: 20px;
  border: 1px solid #596800;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, #d7ff0018, transparent 34%),
    linear-gradient(135deg, #161d03, #080908 66%);
}
.quick-session-heading,
.participation-dashboard-head,
.participation-directory-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.quick-session-heading h2,
.participation-dashboard-head h2,
.participation-directory-head h2 {
  margin: 4px 0;
  font-size: clamp(27px, 4vw, 40px);
  font-style: italic;
  text-transform: uppercase;
}
.quick-session-heading p,
.participation-dashboard-head p {
  margin: 0;
  color: #a6a6a6;
}
.quick-session-heading > span {
  padding: 7px 10px;
  border: 1px solid #465200;
  border-radius: 999px;
  color: #b9c391;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}
.quick-session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 16px;
}
.quick-session-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #404800;
  border-radius: 12px;
  background: #090b06;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}
.quick-session-card:hover {
  border-color: var(--on);
  transform: translateY(-2px);
}
.quick-session-card small {
  color: var(--on);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.quick-session-card b {
  color: #fff;
  font-size: 18px;
}
.quick-session-card span {
  overflow: hidden;
  color: #aaa;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-session-card em {
  margin-top: 3px;
  color: #d8debd;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.session-template-notice {
  display: grid;
  gap: 4px;
  margin: -2px -2px 18px;
  padding: 13px 15px;
  border: 1px solid #687900;
  border-radius: 11px;
  background: #171e04;
}
.session-template-notice b {
  color: var(--on);
  font-size: 14px;
}
.session-template-notice span {
  color: #bec5a2;
  font-size: 11px;
  line-height: 1.5;
}

.participation-dashboard {
  display: grid;
  gap: 18px;
}
.participation-filters {
  display: flex;
  gap: 10px;
  align-items: end;
}
.participation-filters .field {
  min-width: 145px;
}
.participation-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.participation-kpis article,
.participation-summary-grid article {
  display: grid;
  align-content: center;
  min-height: 136px;
  padding: 17px;
  border: 1px solid #465300;
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 15%, #d7ff0013, transparent 45%), #0b0d08;
  text-align: center;
}
.participation-kpis small,
.participation-summary-grid small {
  color: #a9af91;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.participation-kpis b,
.participation-summary-grid b {
  display: block;
  margin: 5px 0;
  color: var(--on);
  font-size: clamp(32px, 5vw, 48px);
  font-variant-numeric: tabular-nums;
}
.participation-kpis span,
.participation-summary-grid span {
  color: #969696;
  font-size: 11px;
  line-height: 1.35;
}
.participation-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.participation-summary-grid article {
  min-height: 115px;
  border-color: #333;
  background: #0c0c0c;
}
.participation-summary-grid b {
  font-size: 30px;
}
.participation-directory {
  display: grid;
  gap: 13px;
  margin-top: 8px;
}
.participation-directory-head .field {
  width: min(260px, 100%);
}
.participation-player-list {
  display: grid;
  gap: 9px;
}
.participation-player {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(300px, 1fr) minmax(
      150px,
      0.7fr
    );
  gap: 16px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #303030;
  border-radius: 13px;
  background: #0b0b0b;
}
.participation-player-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.participation-avatar {
  width: 44px;
  height: 44px;
  font-size: 12px;
}
.participation-player-main > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.participation-player-main b {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.participation-player-main span:not(.participation-status) {
  color: #929292;
  font-size: 10px;
}
.participation-status {
  padding: 5px 7px;
  border: 1px solid #536000;
  border-radius: 999px;
  color: #cbe778;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}
.participation-status.regular {
  border-color: #718500;
  background: #182000;
  color: var(--on);
}
.participation-status.at-risk {
  border-color: #794850;
  background: #1f0f12;
  color: #ff9ca8;
}
.participation-player-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.participation-player-numbers span {
  display: grid;
  gap: 2px;
  text-align: center;
}
.participation-player-numbers b {
  color: #f3f3f3;
  font-size: 16px;
}
.participation-player-numbers small {
  color: #787878;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}
.participation-pattern {
  display: grid;
  gap: 7px;
}
.participation-pattern > span {
  color: #858585;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}
.participation-pattern > div {
  display: flex;
  gap: 6px;
}
.participation-pattern i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #303030;
}
.participation-pattern i.played {
  background: var(--on);
  box-shadow: 0 0 8px #d7ff0050;
}

@media (max-width: 900px) {
  .participation-kpis,
  .participation-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .participation-player {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 620px) {
  .quick-session-panel {
    padding: 15px;
  }
  .quick-session-heading,
  .participation-dashboard-head,
  .participation-directory-head {
    align-items: stretch;
    flex-direction: column;
  }
  .quick-session-heading > span {
    align-self: flex-start;
  }
  .quick-session-grid {
    grid-template-columns: 1fr;
  }
  .participation-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .participation-filters .field {
    min-width: 0;
  }
  .participation-kpis article,
  .participation-summary-grid article {
    min-height: 116px;
    padding: 13px 9px;
  }
  .participation-kpis b {
    font-size: 34px;
  }
  .participation-summary-grid b {
    font-size: 27px;
  }
  .participation-player {
    padding: 12px;
  }
  .participation-player-main {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }
  .participation-avatar {
    width: 40px;
    height: 40px;
  }
  .participation-pattern {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .participation-pattern > div {
    justify-content: flex-end;
  }
  .frequent-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 390px) {
  .frequent-player-grid {
    grid-template-columns: 1fr;
  }
}
.admin-preset-note {
  margin: 0 0 12px;
  color: #a6a6a6;
  font-size: 11px;
  line-height: 1.5;
}
.admin-permission-choice {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #0d0d0d;
  cursor: pointer;
}
.admin-permission-choice:has(input:checked) {
  border-color: #8aa800;
  background: linear-gradient(120deg, #171d00, #0d0d0d 72%);
}
.admin-permission-choice input,
.admin-active-toggle input {
  width: auto;
  flex: 0 0 auto;
  accent-color: var(--on);
}
.admin-permission-choice b {
  font-size: 12px;
  line-height: 1.35;
}
.admin-city-choice span {
  display: grid;
  gap: 2px;
}
.admin-city-choice small {
  color: #929292;
  font-size: 10px;
  font-weight: 750;
}
.admin-account-list {
  display: grid;
  gap: 14px;
}
.admin-account-card {
  padding: 18px;
  border: 1px solid #303030;
  border-radius: 16px;
  background: linear-gradient(145deg, #121212, #090909);
}
.admin-account-card.master-account,
.admin-create-account {
  border-color: #677d00;
  box-shadow: inset 0 0 26px #cfff0010;
}
.admin-account-heading,
.master-account {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.admin-account-heading h3,
.master-account h3 {
  margin: 4px 0;
}
.admin-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d8d8d8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.managed-admin-form .admin-permission-grid {
  margin: 16px 0;
}
.managed-admin-form > .field {
  max-width: 430px;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .leaderboard-control-stack {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tabs"
      "tools";
    justify-items: end;
    width: 100%;
    margin-left: auto;
    column-gap: 0;
  }
  .leaderboard-control-stack .leaderboard-view-tabs {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 7px;
  }
  .leaderboard-view-tabs a {
    min-width: 0;
    padding-inline: 8px;
    font-size: 9px;
  }
  .hall-of-fame-intro {
    align-items: flex-start;
    padding: 17px;
  }
  .hall-of-fame-intro > span {
    font-size: 36px;
  }
  .hall-of-fame-intro p {
    font-size: 12px;
  }
  .historical-leaderboard table {
    min-width: 100% !important;
  }
  .historical-leaderboard th:first-child,
  .historical-leaderboard td:first-child {
    width: 88px !important;
  }
  .historical-leaderboard th:nth-child(2),
  .historical-leaderboard td:nth-child(2) {
    width: auto !important;
  }
  .historical-leaderboard .historical-points-column {
    width: 116px !important;
  }
  .historical-leaderboard .historical-secondary-column,
  .historical-leaderboard th:nth-child(n + 4) {
    display: none;
  }
  .historical-player-cell {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }
  .historical-player-cell .leaderboard-avatar {
    width: 34px;
    height: 34px;
  }
  .admin-permission-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-permission-grid {
    grid-template-columns: 1fr;
  }
  .admin-account-card {
    padding: 15px;
  }
  .admin-account-heading {
    align-items: center;
  }
  .leaderboard-table:not(.compact-leaderboard) table {
    min-width: 660px;
    table-layout: fixed;
  }
  .leaderboard-table:not(.compact-leaderboard) th,
  .leaderboard-table:not(.compact-leaderboard) td {
    padding: 13px 6px;
  }
  .leaderboard-table:not(.compact-leaderboard) th:first-child,
  .leaderboard-table:not(.compact-leaderboard) td:first-child {
    width: 58px;
  }
  .leaderboard-table:not(.compact-leaderboard) th:nth-child(2),
  .leaderboard-table:not(.compact-leaderboard) td:nth-child(2) {
    width: clamp(212px, calc(100vw - 163px), 238px);
    padding-right: 6px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-points-column {
    width: 72px;
    text-align: center;
    /* Keep the primary score comfortably visible while reclaiming the extra
       room from the ranking side of the row. */
    padding-left: 10px;
    padding-right: 2px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-cell {
    grid-template-columns: 38px 19px;
    column-gap: 1px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank,
  .leaderboard-table:not(.compact-leaderboard) .rank.top.medal {
    width: 38px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank.top.medal {
    min-height: 32px;
    font-size: 27px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement,
  .leaderboard-table:not(.compact-leaderboard) .rank-new {
    min-width: 19px;
    width: 19px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement {
    gap: 1px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement > span {
    font-size: 13px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement small {
    font-size: 9px;
  }
  .leaderboard-table:not(.compact-leaderboard) th:first-child {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-cell {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 5px;
    min-width: 0;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-heading {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 5px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-primary {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 5px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-avatar {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-player-heading
    > span {
    margin-left: 45px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-primary > b {
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-link {
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-badges {
    justify-content: center;
    justify-self: stretch;
    width: 86px;
    margin-left: 0;
    gap: 5px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-badge {
    flex: 0 0 17px;
    width: 17px;
    height: 20px;
    font-size: 15px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-badge.season-podium-badge {
    width: 50px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-badge.badge-king_of_season {
    width: 58px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-badge.badge-season_queen {
    width: 54px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-badge.badge-mvp {
    flex-basis: 20px;
    width: 20px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-badge.badge-birthday_shoutout {
    width: 24px;
    font-size: 12px;
    letter-spacing: -5px;
  }
  .compact-leaderboard th,
  .compact-leaderboard td {
    padding: 13px 6px;
  }
  .compact-leaderboard th:first-child,
  .compact-leaderboard td:first-child {
    width: 96px;
  }
  .compact-leaderboard th:last-child,
  .compact-leaderboard td:last-child {
    width: 68px;
  }
  .compact-leaderboard th:nth-child(2),
  .compact-leaderboard td:nth-child(2) {
    padding-left: 2px;
  }
  .compact-leaderboard .rank-cell {
    grid-template-columns: 44px 30px;
    column-gap: 6px;
  }
  .compact-leaderboard .rank,
  .compact-leaderboard .rank.top.medal {
    width: 44px;
  }
  .compact-leaderboard .rank.top.medal {
    min-height: 32px;
    font-size: 29px;
  }
  .compact-leaderboard .rank-movement,
  .compact-leaderboard .rank-new {
    min-width: 30px;
    width: 30px;
  }
  .compact-leaderboard .leaderboard-player-cell {
    grid-template-columns: minmax(0, 1fr) 65px;
    gap: 4px;
  }
  .compact-leaderboard .leaderboard-player-heading {
    grid-template-columns: minmax(0, 1fr) 65px;
    gap: 4px;
  }
  .compact-leaderboard .leaderboard-player-primary > b {
    font-size: 12px;
  }
  .compact-leaderboard .leaderboard-badges {
    min-width: 20px;
  }
  .compact-leaderboard .leaderboard-badge.season-podium-badge {
    width: 40px;
  }
  .compact-leaderboard .leaderboard-badge.badge-king_of_season {
    width: 48px;
  }
  .compact-leaderboard .leaderboard-badge.badge-season_queen {
    width: 46px;
  }
  .compact-leaderboard .season-podium-icons {
    font-size: 15px;
  }
}

@media (max-width: 370px) {
  .leaderboard-table:not(.compact-leaderboard) th:first-child,
  .leaderboard-table:not(.compact-leaderboard) td:first-child {
    width: 52px;
  }
  .leaderboard-table:not(.compact-leaderboard) th:nth-child(2),
  .leaderboard-table:not(.compact-leaderboard) td:nth-child(2) {
    width: 210px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-points-column {
    width: 66px;
    padding-left: 6px;
    padding-right: 0;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-cell {
    grid-template-columns: 34px 17px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank,
  .leaderboard-table:not(.compact-leaderboard) .rank.top.medal {
    width: 34px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank.top.medal {
    font-size: 25px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement,
  .leaderboard-table:not(.compact-leaderboard) .rank-new {
    min-width: 17px;
    width: 17px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement > span {
    font-size: 12px;
  }
  .leaderboard-table:not(.compact-leaderboard) .rank-movement small {
    font-size: 8px;
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-player-primary {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .leaderboard-table:not(.compact-leaderboard) .leaderboard-avatar {
    width: 38px;
    height: 38px;
  }
  .leaderboard-table:not(.compact-leaderboard)
    .leaderboard-player-heading
    > span {
    margin-left: 43px;
  }
}

.how-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(230px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
  border-color: #6f8200;
  background:
    radial-gradient(circle at 86% 28%, #d7ff0028, transparent 33%),
    linear-gradient(135deg, #111408, #050505 64%);
}
.how-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -110px;
  width: 310px;
  height: 310px;
  border: 1px solid #d7ff0028;
  border-radius: 50%;
  box-shadow:
    0 0 0 35px #d7ff0008,
    0 0 0 70px #d7ff0005;
}
.how-intro h2 {
  max-width: 690px;
  margin: 8px 0 16px;
  font-size: clamp(30px, 5vw, 61px);
  font-style: italic;
  line-height: 0.98;
  text-transform: uppercase;
}
.how-intro p,
.how-section-heading > p,
.how-achievements p {
  max-width: 720px;
  color: #c6c6c6;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}
.how-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.how-intro-tags span {
  padding: 9px 12px;
  border: 1px solid #3e4800;
  border-radius: 999px;
  background: #0a0b07;
  font-size: 13px;
  font-weight: 850;
}
.how-intro-mark {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 220px;
  color: #fff;
  font-size: clamp(39px, 6vw, 72px);
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -0.06em;
  line-height: 0.82;
  text-shadow: 0 8px 30px #000;
}
.how-intro-mark b {
  color: var(--on);
}
.how-intro-mark small {
  margin-top: 20px;
  color: #f4f4f4;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.how-section {
  margin-top: clamp(42px, 7vw, 84px);
}
.how-section-heading {
  margin-bottom: 22px;
}
.how-section-heading h2,
.how-achievements h2,
.how-cta h2 {
  margin: 5px 0 10px;
  font-size: clamp(27px, 4vw, 45px);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-steps li {
  min-width: 0;
  padding: 20px;
  border: 1px solid #2c2f20;
  border-radius: 16px;
  background: linear-gradient(155deg, #151515, #090909);
}
.how-steps li > span {
  color: var(--on);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
}
.how-steps h3,
.how-principles h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}
.how-steps p,
.how-principles p {
  margin: 0;
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.55;
}
.how-dark-panel,
.how-season-panel,
.how-achievements {
  padding: clamp(24px, 5vw, 50px);
  border: 1px solid #343b10;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 8%, #d7ff0013, transparent 30%), #090a07;
}
.how-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.how-principles article {
  padding: 20px;
  border: 1px solid #2f321d;
  border-radius: 15px;
  background: #10110d;
}
.how-principles article > span {
  font-size: 29px;
}
.how-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.how-points > div {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border: 1px solid #4e5b00;
  border-radius: 16px;
  background: linear-gradient(145deg, #14170a, #080907);
  text-align: center;
}
.how-points small {
  color: #c7c7c7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.how-points strong {
  margin-top: 4px;
  color: var(--on);
  font-size: clamp(30px, 5vw, 45px);
  line-height: 1;
}
.how-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 16px;
  margin-top: 16px;
  padding: 18px;
  border-left: 3px solid var(--on);
  background: #111;
  color: #b9b9b9;
  font-size: 14px;
  line-height: 1.5;
}
.how-note b {
  color: #fff;
}
.how-season-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  border-color: #8ca000;
}
.how-season-panel p {
  max-width: 700px;
  color: #c5c5c5;
  font-size: 16px;
  line-height: 1.65;
}
.how-podium {
  display: flex;
  align-items: end;
  gap: 4px;
  padding: 18px;
  font-size: clamp(38px, 6vw, 62px);
  filter: drop-shadow(0 0 16px #d7ff0030);
}
.how-podium span:nth-child(2) {
  transform: translateY(-18px) scale(1.14);
}
.how-achievements {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.9fr);
  gap: 30px;
  align-items: center;
}
.how-badge-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.how-badge-cloud span {
  padding: 11px 13px;
  border: 1px solid #4b5600;
  border-radius: 11px;
  background: #111407;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  box-shadow: 0 0 14px #d7ff000f;
}
.how-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: clamp(42px, 7vw, 80px);
  padding: clamp(23px, 4vw, 40px);
  border-color: #7f9300;
}
.how-cta h2 {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-steps li:last-child {
    grid-column: 1 / -1;
  }
  .how-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .how-intro,
  .how-achievements {
    grid-template-columns: 1fr;
  }
  .how-intro-mark {
    min-height: 150px;
    padding-top: 8px;
  }
  .how-steps,
  .how-principles {
    grid-template-columns: 1fr;
  }
  .how-steps li:last-child {
    grid-column: auto;
  }
  .how-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-points > div {
    min-height: 100px;
  }
  .how-note {
    grid-template-columns: 1fr;
  }
  .how-note span + b {
    margin-top: 7px;
  }
  .how-season-panel,
  .how-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .how-podium {
    align-self: center;
  }
  .how-cta .actions {
    width: 100%;
  }
  .how-cta .btn {
    flex: 1 1 160px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feed-track,
  .feed-line {
    transition: none;
  }
  .btn.secondary.leaderboard-guide-button {
    animation: none;
  }
  .podium-shimmer::after {
    display: none;
  }
}
