@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --blue: #0A2A88;
  --blue-deep: #071E66;
  --sky: #6EC1F5;
  --red: #D3111F;
  --gold: #F2B705;
  --cream: #F4F1EA;
  --cream-2: #E8E3D8;
  --ink: #10233F;
  --muted: #5C6B80;
  --line: #E6E1D6;
  --card: #fff;
  --shadow: 0 10px 30px rgba(16, 35, 63, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--blue); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.topbar {
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; background: #fff; padding: 0; flex: none; }
.topbar .brand img,
.footer .brand img {
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .7),
    inset 0 -7px 8px rgba(0, 0, 0, .38),
    0 8px 12px rgba(0, 0, 0, .45);
}
.brand span { max-width: 220px; line-height: 1.15; }
.topbar .brand span,
.footer .brand span { max-width: none; white-space: nowrap; text-transform: uppercase; letter-spacing: 0; font-size: 15px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a, .lang a { color: rgba(255,255,255,.88); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.nav a.is-active { color: var(--gold); background: none; box-shadow: none; }
.lang a.is-active { color: var(--gold); }
.login-link { background: var(--red); color: #fff !important; margin-left: 8px; width: 136px; justify-content: center; white-space: nowrap; }
.lang { display: flex; align-items: center; gap: 2px; margin-left: 8px; padding: 0 4px; background: rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.55); font-weight: 800; font-size: 13px; }
.menu-btn, .bottom-nav { display: none; }

.hero, .page-hero {
  background: var(--blue);
  color: #fff;
  padding: 54px 28px 64px;
}
.page-hero {
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 48px 0;
  background: var(--blue);
}
.page-hero p { margin: 0; }
.page-hero-about { position: relative; overflow: hidden; }
.page-hero-about .wrap { position: relative; z-index: 1; }
.about-hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.about-crest {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  flex: none;
  box-shadow:
    inset 0 3px 2px rgba(255, 255, 255, .75),
    inset 0 -12px 14px rgba(0, 0, 0, .4),
    0 16px 24px rgba(0, 0, 0, .45);
}
.hero-about { position: absolute; inset: 0; pointer-events: none; }
.hero-about .lines {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background-image: repeating-linear-gradient(-18deg, transparent 0 34px, rgba(110, 193, 245, .16) 34px 35px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.page-hero-abstract { position: relative; overflow: hidden; background: var(--blue); }
.page-hero-abstract .wrap { position: relative; z-index: 1; }
.hero-motion { position: absolute; inset: 0; pointer-events: none; }
.hero-motion .mesh {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background-image: repeating-linear-gradient(-28deg, transparent 0 12px, rgba(110, 193, 245, .22) 12px 13px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.hero-split { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hud { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; min-width: 250px; }
.hud li {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 8px 12px 10px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(110, 193, 245, .18), transparent 80%);
  overflow: hidden;
}
.hud b { color: #6EC1F5; font-size: 12px; letter-spacing: .16em; }
.hud strong { color: #fff; font-size: 26px; letter-spacing: -.03em; }
.hud span { color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hud i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 35%;
  background: var(--gold);
  animation: hud-bar 2.6s ease-in-out infinite;
}
.hud li:nth-child(2) i { animation-delay: .4s; }
.hud li:nth-child(3) i { animation-delay: .8s; }
@keyframes hud-bar { 50% { width: 100%; } }
.page-hero-link { position: relative; overflow: hidden; }
.page-hero-link .wrap { position: relative; z-index: 1; }
.hero-link { position: absolute; inset: 0; pointer-events: none; }
.hero-link .ring {
  position: absolute;
  right: 7%;
  top: 50%;
  width: 210px;
  height: 210px;
  margin-top: -105px;
  border: 1px solid rgba(110, 193, 245, .5);
  border-radius: 50%;
  animation: link-pulse 3.8s ease-out infinite;
}
.hero-link .ring-2 {
  width: 320px;
  height: 320px;
  margin-top: -160px;
  right: 1%;
  border-color: rgba(242, 183, 5, .4);
  animation-delay: 1.3s;
}
@keyframes link-pulse {
  0% { transform: scale(.7); opacity: .1; }
  65% { opacity: .75; }
  100% { transform: scale(1); opacity: 0; }
}
.link-board { position: relative; margin: 0; min-width: min(280px, 100%); padding: 2px 0 2px 22px; }
.link-board::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(#6EC1F5, #F2B705);
}
.link-board div { position: relative; padding: 7px 0 7px 8px; }
.link-board div::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F2B705;
  box-shadow: 0 0 10px #F2B705;
}
.link-board dt { color: #6EC1F5; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.link-board dd { margin: 2px 0 0; color: #fff; font-size: 15px; font-weight: 700; word-break: break-word; }
@media (max-width: 800px) {
  .link-board { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-link .ring { animation: none; opacity: .4; }
}
@media (max-width: 800px) {
  .hero-split { flex-direction: column; align-items: flex-start; }
  .hero-motion .mesh { width: 100%; opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .hud i { animation: none; }
}
.page-hero-board { position: relative; overflow: hidden; }
.page-hero-board .wrap { position: relative; z-index: 1; }
.hero-board { position: absolute; inset: 0; pointer-events: none; }
.hero-board .lanes {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background-image: repeating-linear-gradient(180deg, transparent 0 16px, rgba(110, 193, 245, .28) 16px 17px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%);
  mask-image: linear-gradient(90deg, transparent, #000 18%);
}
.hero-board .sweep {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #F2B705 30%, #fff 50%, #F2B705 70%, transparent);
  box-shadow: 0 0 16px #F2B705;
  animation: board-sweep 4.4s ease-in-out infinite;
}
@keyframes board-sweep {
  0% { right: 58%; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { right: 3%; opacity: 0; }
}
.board { margin: 0; padding: 0; list-style: none; display: flex; gap: 10px; }
.board li {
  position: relative;
  width: 132px;
  padding: 12px 8px 14px;
  text-align: center;
  background: rgba(7, 30, 102, .55);
  border: 1px solid rgba(110, 193, 245, .5);
}
.board li::before, .board li::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #F2B705;
}
.board li::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.board li::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.board span {
  display: block;
  min-height: 26px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.board strong { display: block; margin-top: 4px; color: #fff; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.board i { display: block; height: 2px; margin: 10px 8px 0; background: rgba(110, 193, 245, .3); overflow: hidden; }
.board i::after {
  content: "";
  display: block;
  height: 100%;
  width: 42%;
  background: #F2B705;
  animation: board-tick 2.4s ease-in-out infinite;
}
.board li:nth-child(2) i::after { animation-delay: .35s; }
.board li:nth-child(3) i::after { animation-delay: .7s; }
@keyframes board-tick {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(280%); }
}
@media (max-width: 800px) {
  .board { display: none; }
  .hero-board .lanes { width: 100%; opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-board .sweep, .board i::after { animation: none; }
}
.page-hero-data { position: relative; overflow: hidden; }
.page-hero-data .wrap { position: relative; z-index: 1; }
.hero-data { position: absolute; inset: 0; pointer-events: none; }
.hero-data .grid {
  position: absolute;
  right: 0;
  top: -20%;
  width: 54%;
  height: 140%;
  background-image:
    linear-gradient(rgba(110, 193, 245, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 193, 245, .35) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
  mask-image: linear-gradient(90deg, transparent, #000 28%);
  animation: grid-shift 8s linear infinite;
}
.hero-data .scan {
  position: absolute;
  right: 0;
  width: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F2B705 40%, #fff);
  box-shadow: 0 0 18px #F2B705;
  animation: data-scan 3.4s ease-in-out infinite;
}
.hero-data .frame {
  position: absolute;
  right: 6%;
  top: 16%;
  width: min(320px, 38%);
  height: 68%;
  border: 1px solid rgba(110, 193, 245, .75);
}
.hero-data .frame::before, .hero-data .frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #F2B705;
}
.hero-data .frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.hero-data .frame::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.hero-data .readout {
  position: absolute;
  right: 8%;
  top: 28%;
  width: min(250px, 30%);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}
.hero-data .readout li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; }
.hero-data .readout b { color: #6EC1F5; }
.hero-data .readout span { color: rgba(255,255,255,.72); white-space: pre-line; }
.hero-data .readout .star-level { display: block; font-size: 12px; }
.hero-data .readout em { color: #F2B705; font-style: normal; }
@keyframes grid-shift { to { background-position: 26px 26px; } }
@keyframes data-scan {
  0% { top: 10%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 86%; opacity: 0; }
}
@media (max-width: 800px) {
  .hero-data .frame, .hero-data .readout { display: none; }
  .hero-data .grid, .hero-data .scan { width: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-data .grid, .hero-data .scan { animation: none; }
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  min-height: calc(100vh - 67px);
  min-height: calc(100dvh - 67px);
  display: flex;
  align-items: center;
  padding: 48px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("../hero.jpg") center 32% / cover no-repeat;
  animation: hero-drift 36s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 30, 102, .92) 0%, rgba(10, 42, 136, .78) 36%, rgba(10, 42, 136, .42) 64%, rgba(10, 42, 136, .28) 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(-1.2%, 0, 0); }
  to { transform: scale(1.1) translate3d(1.2%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; transform: scale(1.06); }
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--sky); }
.hero h1, .page-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin: 12px 0; letter-spacing: -.04em; max-width: 680px; }
.page-hero-competition h1 { max-width: 100%; white-space: nowrap; font-size: min(52px, 5.6cqi); }
.comp-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.comp-logo { width: 52px; height: 52px; object-fit: cover; flex: none; background: #fff; border-radius: 50%; padding: 0; }
.comp-title { display: flex; align-items: center; gap: 18px; }
.comp-title > div { min-width: 0; flex: 1; container-type: inline-size; }
.comp-title .comp-logo { width: 84px; height: 84px; padding: 0; }
.comp-head { display: flex; align-items: flex-start; gap: 16px; }
.comp-head > div { min-width: 0; flex: 1; }
.comp-head .comp-logo { width: 72px; height: 72px; object-fit: contain; }
.comp-head h2 { margin-top: 0; }
.comp-logo-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.comp-logo-form .coach-hint { flex: 1 0 100%; }
.comp-logo-form .btn { margin: 0; }
.comp-logo-form .btn-light { border: 1.5px solid var(--line); }
.comp-name-cell { display: flex; align-items: center; gap: 12px; }
.comp-name-cell .comp-logo { width: 40px; height: 40px; object-fit: contain; }
#comp-logo-preview { width: 72px; height: 72px; object-fit: contain; }
.comp-title h1 { margin: 0 0 8px; }
.page-hero-competition .comp-title { align-items: flex-start; }
.page-hero-competition .comp-logo { margin-top: 4px; }
.page-hero-competition .comp-hero-status { margin: 0 0 10px; }
.page-hero-competition .status-pill { letter-spacing: 0; text-transform: none; }
.academy-title { display: flex; align-items: center; gap: 16px; }
.academy-title img { width: 112px; height: 112px; object-fit: contain; flex: none; background: #fff; border-radius: 24px; }
.academy-title h1 { margin: 0; }
.page-hero-academy { height: auto; min-height: 260px; }
.academy-hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.page-hero .academy-title p { margin: 6px 0 0; color: var(--gold); font-weight: 800; }
.profile { margin: 0; padding: 0; list-style: none; display: flex; flex: none; flex-wrap: nowrap; }
.profile li { flex: none; min-width: 128px; padding: 0 20px; border-left: 1px solid rgba(110, 193, 245, .4); }
.profile li:first-child { padding-left: 0; border-left: 0; }
.profile > li > span { display: block; color: #6EC1F5; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile strong { display: block; width: max-content; margin-top: 8px; color: #fff; font-size: 22px; line-height: 1.1; letter-spacing: -.03em; }
.profile-year strong { margin-left: auto; margin-right: auto; text-align: center; font-size: 32px; }
.profile .stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2em;
  width: max-content;
  color: var(--gold);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.profile .stars span {
  display: block;
  flex: none;
  color: var(--gold);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.page-hero .age-pills { margin: 10px 0 0; }
@media (max-width: 800px) {
  .academy-hero { flex-direction: column; align-items: flex-start; }
  .profile { flex-wrap: wrap; gap: 16px 0; }
  .profile li { min-width: 0; padding: 0 16px 0 0; border-left: 0; }
}
.page-hero .age-pills span { background: rgba(255,255,255,.16); color: #fff; }
.page-hero .player-pill { background: var(--gold) !important; color: var(--blue); }
.hero p, .page-hero p { max-width: 520px; color: rgba(255,255,255,.86); font-size: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.btn, button.btn {
  min-height: 44px;
  border-radius: 12px;
  border: 0;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-light { background: #fff; color: var(--blue); }
.btn-gold { background: var(--gold); color: var(--blue); }
.btn[disabled], .is-disabled { opacity: .55; pointer-events: none; }

.section { padding: 42px 0; }
.section h2 { font-size: 32px; letter-spacing: -.03em; margin: 0 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-link { font-weight: 800; color: var(--blue); text-decoration: none; white-space: nowrap; }
.band .section-link { color: #fff; }
.home-page .card { border-top: 3px solid var(--gold); }
.home-news { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.home-news .muted { font-size: 13px; font-weight: 700; }
.academy-note + .academy-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.academy-note h3 { margin: 4px 0; }
.academy-note p { margin: 0; }
.home-news p { margin: 8px 0 0; }
.faq { display: grid; gap: 12px; margin-top: 16px; }
.home-faq h2 { text-align: center; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 10px 0 0; }
.finance-revenue { margin: 0 0 18px; }
.finance-competitions { margin: 0; }
.finance-competitions > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.finance-competitions .task strong a,
.finance-competitions .task strong a:hover { color: var(--ink); font-weight: 800; text-decoration: none; }
.finance-competitions > p { margin: 8px 0 0; }
.finance-competitions .finance-back { display: inline-block; margin-bottom: 10px; color: var(--blue); font-weight: 800; text-decoration: none; }
.finance-competitions .table-wrap { margin-top: 14px; }
.finance-competitions td a { color: var(--blue); font-weight: 800; }
.finance-comp { display: flex; align-items: center; gap: 12px; min-width: 0; }
.finance-comp img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; flex: none; background: #fff; }
.finance-comp > span:not(.academy-mark) { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--ink); }
.finance-price { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--blue-deep); background: var(--gold); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.finance-revenue > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.finance-revenue > b { display: block; margin-top: 4px; font-size: 32px; letter-spacing: -.03em; color: var(--blue); }
.finance-revenue .task:first-of-type { margin-top: 8px; }
.filters { display: grid; grid-template-columns: minmax(180px, 1.6fr) repeat(3, minmax(0, 1fr)) auto; gap: 10px; margin: 18px 0; width: 100%; }
.filters.is-pair { grid-template-columns: minmax(180px, 1.6fr) repeat(2, minmax(0, 1fr)) auto; }
.filters input, .filters select, .field input, .field select, .field textarea {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  width: 100%;
}
.filters input, .filters select, .filters .btn { width: 100%; min-width: 0; }
.pill { border-radius: 999px !important; }
.squad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; }
.squad-grid h3 { margin: 0 0 8px; font-size: 16px; color: var(--blue); }
.squad-list { display: grid; gap: 8px; }
.squad-list .check { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.squad-list .check .coach-thumb, .squad-person .coach-thumb { width: 28px; height: 36px; }
.squad-people { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 6px; }
.squad-person { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.player-select { display: flex; align-items: center; gap: 8px; }
.field .player-select select { flex: 1; min-width: 0; width: auto; }
.squad-list .check input { width: 18px; height: 18px; min-height: 0; margin: 0; }
.squad-names { margin: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.field .team-select { display: flex; align-items: center; gap: 8px; }
.field .team-select select { flex: 1; min-width: 0; width: auto; }
.field .team-select .team-logo { width: 36px; height: 36px; flex: none; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label .optional { font-weight: 600; color: var(--muted); }
.grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.about-objective { margin: 0 0 14px; font-size: 40px; font-weight: 800; line-height: 1.2; color: var(--blue); white-space: nowrap; text-align: center; }
.about-objective span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.about-chance { margin: 0 auto 18px; max-width: 820px; text-align: center; font-size: 20px; line-height: 1.45; }
.about-points { margin-top: 22px; }
.about-points .card { border-top: 3px solid var(--gold); }
.about-points .card-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.about-points .card-icon svg { width: 22px; height: 22px; display: block; }
.about-points .card p { margin: 0 0 12px; }
.about-points .card a { font-weight: 800; color: var(--blue); text-decoration: none; }
.about-actions { margin-top: 22px; text-align: center; }
.grid-2 { grid-template-columns: 1.4fr .8fr; }
.card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}
.card h3 { margin: 0 0 6px; }
form.card h1 { margin: 0 0 18px; font-size: 32px; letter-spacing: -.03em; }
form.card h2 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -.02em; }
form.card h2:first-of-type { margin-top: 0; }
form.card h1 ~ h2:first-of-type { margin-top: 22px; }
.academy-logo { width: 72px; height: 72px; object-fit: contain; display: block; margin-bottom: 12px; }
.directory-count { margin: 18px 0 10px; color: var(--muted); font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pager a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--blue); text-decoration: none; font-weight: 800; box-shadow: var(--shadow); }
.pager a.is-current { background: var(--blue); color: #fff; }
.directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.academy-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  border-top: 3px solid var(--gold);
}
.academy-card:hover { box-shadow: 0 16px 36px rgba(16, 35, 63, .12); }
.academy-card .academy-logo { width: 72px; height: 72px; margin: 0; background: var(--cream); border-radius: 50%; padding: 6px; }
.academy-card h3 { margin: 0 0 2px; }
.academy-card .age-pills { margin: 8px 0 4px; }
.academy-card .age-pills span { font-size: 12px; padding: 3px 8px; }
.fact-list { display: grid; gap: 8px; margin: 0 0 16px; }
.fact-list div { display: flex; justify-content: space-between; gap: 12px; }
.fact-list dt, .fact-list dd { margin: 0; }
.fact-list dd { font-weight: 800; }
.age-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.age-pills span { background: var(--cream); border-radius: 999px; padding: 6px 12px; font-weight: 800; }
.player-pill { background: var(--blue) !important; color: #fff; }
.public-links { display: grid; gap: 6px; margin-top: 12px; }
.contact-grid .card { border-top: 3px solid var(--gold); }
.contact-grid h3 { margin: 0 0 14px; }
.contact-grid .fact-list div { display: grid; gap: 2px; }
.contact-grid .fact-list dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-grid .btn { width: 100%; }
.leaflet-marker-icon.map-pin { background: none; border: none; }
.map-hover-wrap { position: relative; isolation: isolate; }
.map-hover-wrap > .leaflet-container { position: relative; z-index: 1; }
.academy-hover {
  display: none;
  position: absolute;
  z-index: 2;
  width: max-content;
  max-width: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, .16);
  text-decoration: none;
  white-space: nowrap;
}
.academy-hover.is-on { display: flex; }
.academy-hover img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.academy-hover span { display: block; width: max-content; }
.academy-hover strong, .academy-hover em { display: block; white-space: nowrap; }
.academy-hover strong { font-size: 14px; }
.academy-hover em { font-style: normal; color: var(--muted); font-size: 12px; }
.academy-hover .stars { color: var(--gold); letter-spacing: .06em; font-size: 14px; line-height: 1.2; }
.academy-hover .players { color: var(--blue); font-weight: 800; }
.academy-hover .ages { color: var(--blue); font-weight: 800; }
.muted { color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.map-frame, .sabah-map { background: #e7eef3; border-radius: 18px; min-height: 360px; overflow: hidden; }
.sabah-map { display: block; width: 100%; height: 420px; padding: 0; border: 0; }
.band { background: var(--blue); color: #fff; }
.band-lines { position: relative; overflow: hidden; }
.band-lines .wrap { position: relative; z-index: 1; }
.band-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(-18deg, transparent 0 42px, rgba(110, 193, 245, .08) 42px 43px);
}
.band.section { padding: 88px 0; }
.band h2 { font-size: 48px; }
.band p { font-size: 20px; max-width: 640px; }
.band .card { color: var(--ink); }
.band .star-grid { margin-top: 32px; }
.band .star-card { padding: 44px 28px; }
.band .stars { font-size: 44px; letter-spacing: 4px; }
.band .star-card strong { font-size: 28px; margin: 12px 0 8px; white-space: pre-line; line-height: 1.2; }
.band .star-card .star-level { font-size: 16px; }
.band .star-card .muted { padding-top: 16px; color: var(--blue); font-size: 22px; }
.step-no { color: var(--red); font-weight: 800; font-size: 28px; }
.step-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.rhino-page .card { border-top: 3px solid var(--gold); }
.rhino-page h2 { margin-top: 8px; }
.criterion-pills { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.bonus-pills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.criterion-pills span { display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border-radius: 999px; padding: 12px 10px; font-weight: 800; box-shadow: var(--shadow); text-align: center; }
.criterion-pills svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.home-page .star-grid { margin-top: 18px; }
.rhino-page .star-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.star-card { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.star-card strong { display: block; margin: 8px 0 0; font-size: 18px; white-space: pre-line; line-height: 1.25; }
.star-card .star-level { font-size: 12px; font-weight: 700; }
.star-card p { max-width: none; margin: 10px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: break-word; }
.star-card .muted { margin-top: auto; padding-top: 14px; color: var(--blue); font-size: 17px; font-weight: 800; }
.portal-home .star-block h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.02em; }
.portal-home .star-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.portal-home .star-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 20px 18px; }
.portal-home .star-card strong { margin: 8px 0 0; }
.portal-home .star-card p { margin: 10px 0 0; color: var(--muted); font-weight: 600; overflow-wrap: break-word; }
.portal-home .star-card .muted { margin-top: auto; padding-top: 14px; color: var(--blue); font-size: 17px; font-weight: 800; }
.rhino-apply { margin-top: 22px; text-align: center; }
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.82);
  border-top: 4px solid var(--gold);
}
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; padding: 36px 0 28px; align-items: start; }
.footer-brand { display: grid; justify-items: start; gap: 14px; }
.socials { display: flex; gap: 10px; }
.socials a, .socials span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  color: #fff;
}
.socials a:hover { background: var(--gold); color: var(--blue); }
.socials svg { width: 18px; height: 18px; display: block; }
.footer-links, .footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; }
.footer-contact strong { color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); padding: 14px 0 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal nav { display: flex; gap: 16px; }
.footer-legal a { color: #fff; font-weight: 700; text-decoration: none; }
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal h2:first-child { margin-top: 0; }
.flash {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--blue);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: opacity .3s ease, transform .3s ease;
}
.flash::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230A2A88'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flash.is-hide { opacity: 0; transform: translateY(-6px); }
.flash.error { color: var(--red); border-top-color: var(--red); }
.flash.error::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23D3111F'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.status { color: var(--red); font-weight: 800; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; }
.status-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.status-tabs .btn { width: auto; }
.status-pill { background: var(--cream); color: var(--blue); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.comp-list { display: grid; gap: 12px; }
.past-heading { margin: 28px 0 12px; font-size: 28px; }
.comp-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: inherit; text-decoration: none; border-top: 3px solid var(--gold); }
.comp-row h3 { margin: 0 0 4px; }
.comp-fee { margin-top: 6px; color: var(--blue); font-weight: 800; }
.empty-card { background: #fff; border-radius: 18px; border-top: 3px solid var(--gold); box-shadow: var(--shadow); padding: 28px; }
.empty-card p { margin: 0; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 252px;
  background: var(--blue);
  color: #fff;
  padding: 18px 14px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar .brand {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 6px 8px 16px;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--gold);
}
.sidebar .brand img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 50%;
  background: #fff;
}
.sidebar .brand img.is-tjy {
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #000;
}
.sidebar .brand span { font-size: 14px; font-weight: 700; max-width: none; line-height: 1.25; }
.side-nav { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.side-title { margin: 14px 14px 2px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.side-title:first-child { margin-top: 2px; }
.side-link {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.side-link svg { width: 18px; height: 18px; flex: none; }
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.side-count { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--gold); }
.side-link.is-active .side-count { color: var(--blue); }
.notice-list { display: grid; gap: 10px; }
.notice-list a { color: inherit; text-decoration: none; }
.notice-list strong { color: var(--blue); }
.side-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.side-link.is-active { background: #fff; color: var(--blue); }
.side-link.is-active:hover { background: #fff; color: var(--blue); }
.side-link.is-disabled { opacity: .4; }
.side-link.is-disabled:hover { background: transparent; color: rgba(255,255,255,.86); }
.sidebar > .side-account { margin-top: 8px; }
.sidebar > .side-logout { margin-top: 0; }
.side-legal { display: flex; justify-content: center; gap: 10px; padding: 8px 8px 2px; }
.side-legal a { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700; text-decoration: none; }
.side-legal a:hover, .side-legal a.is-active { color: #fff; }
button.side-link { width: 100%; background: transparent; border: 0; text-align: left; cursor: pointer; }
.side-account, .side-logout { gap: 10px; }
.modal {
  border: 0;
  border-top: 3px solid var(--gold);
  border-radius: 22px;
  padding: 28px;
  width: min(420px, calc(100% - 32px));
  box-shadow: var(--shadow);
  color: var(--ink);
}
.modal::backdrop { background: rgba(16, 35, 63, .45); }
.sample-modal[open] { width: min(860px, calc(100% - 32px)); height: min(820px, calc(100vh - 32px)); max-height: calc(100vh - 32px); padding: 16px; display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.sample-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sample-modal-bar strong { color: var(--blue); }
.sample-modal-bar .btn-light { border: 1.5px solid var(--line); }
.sample-modal iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cert-link { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 800; cursor: pointer; text-align: left; }
.cert-link:hover { text-decoration: underline; }
.cert-view { min-height: 0; display: grid; }
.cert-view iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cert-view p { align-self: center; text-align: center; }
.modal h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; color: var(--blue); }
.modal p { margin: 0; color: var(--muted); font-weight: 600; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.modal-actions .btn-light { border: 1.5px solid var(--line); }
.id-card + .modal-actions { justify-content: center; margin-top: 12px; gap: 8px; }
.id-card + .modal-actions .btn { min-height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.main { flex: 1; padding: 28px 32px 96px; }
.page-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.page-head.is-actions { justify-content: flex-end; margin-bottom: 18px; }
.page-head h1 { margin: 0 0 18px; font-size: 36px; letter-spacing: -.03em; }
.kicker { margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.page-head:has(.kicker) { align-items: center; margin-bottom: 18px; }
.page-head:has(.kicker) h1 { margin: 0; }
.page-head:has(.kicker) .who { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.page-head:has(.kicker) .who:has(.who-photo) { padding: 4px 14px 4px 4px; }
.who { color: var(--muted); font-weight: 600; }
a.who { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
a.who:has(.who-photo) { padding: 4px 14px 4px 4px; }
a.who:hover { color: var(--blue); }
.who-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.account-form .photo-row { margin-bottom: 18px; }
.account-form .photo-frame { width: 120px; height: 120px; border-radius: 50%; }
.account-form .photo-frame img.is-current { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-form { width: 100%; max-width: none; }
.account-form h2 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -.02em; }
.account-form .muted { margin: 0 0 14px; }
.account-form .btn { margin-top: 8px; }
.strength { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.strength-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.strength-bar i { display: block; height: 100%; width: 0; border-radius: 99px; }
.strength-label { font-size: 13px; font-weight: 800; min-width: 64px; }
.strength[data-level="1"] .strength-bar i { width: 33%; background: var(--red); }
.strength[data-level="1"] .strength-label { color: var(--red); }
.strength[data-level="2"] .strength-bar i { width: 66%; background: var(--gold); }
.strength[data-level="2"] .strength-label { color: #8A6A00; }
.strength[data-level="3"] .strength-bar i { width: 100%; background: var(--blue); }
.strength[data-level="3"] .strength-label { color: var(--blue); }
.match-note { margin: 8px 0 0; color: var(--red); font-size: 13px; font-weight: 800; }
.roster-form .grid-3, .roster-form .grid-2 { margin-bottom: 4px; }
.roster-bar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.roster-bar.has-total { justify-content: space-between; }
.roster-total { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.roster-total span { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.roster-total b { color: var(--blue); font-size: 22px; }
.scout-results { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.scout-results span { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.scout-results b { color: var(--blue); font-size: 18px; margin-left: 6px; }
.roster-list { margin-top: 16px; }
.roster-modal { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.roster-modal .field:last-of-type { margin-bottom: 0; }
.photo-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.photo-frame { width: 160px; height: 200px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); overflow: hidden; position: relative; flex: none; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.photo-frame.is-crop { cursor: grab; touch-action: none; }
.photo-frame img { position: absolute; max-width: none; user-select: none; }
.photo-side { display: grid; gap: 8px; align-content: start; min-width: 0; }
.photo-side .btn { justify-self: start; }
.photo-side .btn-light { border: 1.5px solid var(--line); width: auto; }
.file-name, .coach-hint, .photo-error { margin: 0; font-size: 13px; color: var(--muted); }
.photo-error { color: var(--red); font-weight: 700; }
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coach-grid-3 { grid-template-columns: 1.4fr .7fr 1fr; }
.comp-status-row { display: grid; grid-template-columns: 1fr .8fr 1.3fr; gap: 12px; align-items: start; }
.comp-manage { margin-bottom: 18px; }
.comp-manage h2 { margin: 0 0 12px; font-size: 20px; }
.comp-manage ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.comp-manage li { font-weight: 600; line-height: 1.45; }
.comp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
.comp-form .field { margin: 0; }
.comp-form .span-2 { grid-column: 1 / -1; }
.comp-form .coach-hint { margin-top: 6px; }
.comp-form textarea { min-height: 120px; resize: vertical; }
.comp-form .btn { justify-self: start; }
.comp-status-save { display: flex; align-items: center; gap: 8px; }
.comp-status-save select { flex: 1; min-width: 0; }
.comp-status-save .btn { flex: none; width: auto; margin: 0; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--blue); padding: 6px; cursor: pointer; }
.password-eye svg { display: block; width: 100%; height: 100%; }
.password-eye .is-shut { display: none; }
.password-eye[aria-pressed="true"] .is-open { display: none; }
.password-eye[aria-pressed="true"] .is-shut { display: block; }
.phone-field { display: flex; gap: 8px; }
.phone-prefix { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); font-weight: 800; white-space: nowrap; }
.phone-field input { flex: 1; min-width: 0; }
.crop-zoom { width: 160px; }
.coach-thumb { width: 36px; height: 45px; object-fit: cover; border-radius: 8px; background: var(--cream); display: block; flex: none; }
.coach-thumb.is-empty { display: grid; place-items: center; color: var(--blue); font-size: 14px; font-weight: 800; }
.name-cell { display: flex; align-items: center; gap: 10px; }
.name-cell a { color: var(--blue); font-weight: 800; text-decoration: none; }
.people-list .name-cell a,
.people-list .name-cell a:hover { color: var(--ink); font-weight: 800; text-decoration: none; }
.person-head { display: flex; align-items: center; gap: 22px; }
.person-initial { font-size: 42px; font-weight: 800; color: var(--blue); }
.person-meta { display: grid; gap: 8px; min-width: 0; }
.person-view .person-meta h2 { margin: 0; overflow-wrap: anywhere; }
.person-meta p { margin: 0; font-weight: 800; color: var(--blue); }
.person-facts { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.person-view .report-actions { justify-content: flex-start; margin-top: 18px; }
.person-tallies { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.person-tallies span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: 13px; font-weight: 700; }
.person-tallies b { color: var(--blue); }
.person-view .round-heading a { color: inherit; text-decoration: none; }
.score-side.is-own { color: var(--blue); font-weight: 800; }
.person-events { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.person-event { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
.person-event.is-yellow { background: var(--gold); color: var(--blue-deep); }
.person-event.is-red { background: var(--red); color: #fff; }
.name-cell a:hover { text-decoration: underline; }
.scout-list .name-cell a,
.scout-list .name-cell a:hover { color: var(--ink); font-weight: 800; text-decoration: none; }
.table-wrap td.scout-actions { white-space: nowrap; }
.table-wrap td.scout-actions form { display: inline-flex; margin: 0 0 0 6px; }
.table-wrap td.scout-actions .btn { min-height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; width: auto; }
.user-list .name-cell > span { color: var(--ink); font-weight: 800; }
.table-wrap td.user-status { white-space: nowrap; }
.table-wrap td.user-status form { display: inline-flex; margin: 0 0 0 8px; vertical-align: middle; }
.table-wrap td.user-status .btn { min-height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; width: auto; }
.scout-list .name-cell > span { font-weight: 800; }
.scout-reason { display: block; max-width: 240px; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.scout-scores { font-size: 12px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.scout-scores span { display: block; color: var(--muted); }
.scout-scores.is-row { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; white-space: normal; }
.scout-scores.is-row span { display: inline; }
.scout-scores b { color: var(--ink); font-weight: 700; }
.section-lead { margin: -8px 0 16px; }
.section-lead h2 { margin: 0; font-size: 20px; }
.section-lead p { margin: 4px 0 0; color: var(--muted); }
.photo-frame img.is-current { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; background: var(--cream); color: var(--muted); white-space: nowrap; }
.status-pill.is-on { background: #E7F0FF; color: var(--blue); }
.status-pill.is-open { background: #1F8F4E; color: #fff; }
.status-pill.is-unpaid { background: #FDE8EA; color: var(--red); }
.limit-form { display: flex; align-items: center; gap: 8px; }
.team-limit { width: 96px; min-height: 44px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 8px 12px; }
.status-pill.is-invite { background: #FFF6D8; color: #8A6A00; }
.status-pill.is-coming_soon { background: #6EC1F5; color: #071E66; }
.status-pill.is-registration_open { background: #1F8F4E; color: #fff; }
.status-pill.is-in_progress { background: #F2B705; color: #071E66; }
.status-pill.is-results { background: #071E66; color: #fff; }
.status-pill.is-draft { background: var(--cream-2); color: var(--muted); }
.status-pill.is-pending { background: #FFF6D8; color: #8A6A00; }
.status-pill.is-needs_information { background: var(--sky); color: var(--blue-deep); }
.status-pill.is-rejected { background: #FDE8EA; color: var(--red); }
.status-pill.is-awaiting_payment { background: var(--gold); color: var(--blue-deep); }
.status-pill.is-active { background: #1F8F4E; color: #fff; }
.status-pill.is-grace { background: #E7F0FF; color: var(--blue); }
.status-pill.is-expired { background: var(--blue-deep); color: #fff; }
.status-pill.is-suspended { background: var(--red); color: #fff; }
.status-pill.is-waived { background: var(--gold); color: var(--blue-deep); }
.review-page { display: grid; gap: 18px; }
.review-page > .grid-2 { grid-template-columns: 1fr 1fr; align-items: stretch; }
.review-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.review-status { margin: 0; }
.review-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-left: auto; }
.review-buttons form { margin: 0; }
.review-buttons .btn-light { border: 1.5px solid var(--line); }
.review-modal textarea { min-height: 110px; }
.review-page .card h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.02em; }
.review-page .card > p { margin: 0; }
.review-page .card > p + p { margin-top: 8px; }
.review-facts { display: grid; gap: 14px; margin: 0; }
.review-facts div { display: grid; gap: 2px; }
.review-facts dt { font-size: 13px; font-weight: 800; color: var(--muted); }
.review-facts dd { margin: 0; }
.review-facts dd span { display: block; }
.review-logo { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
a.status-pill { text-decoration: none; }
.scout-card { margin-top: 18px; }
.scout-player { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.scout-player .photo-frame { width: 96px; height: 120px; border-radius: 14px; }
.scout-player .person-initial { font-size: 32px; }
.scout-player .scout-facts { flex: 1; margin: 0; }
.scout-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.scout-card h2 { margin: 22px 0 10px; font-size: 18px; }
.scout-card h2:first-child { margin-top: 0; }
.scout-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 12px; }
.scout-facts.is-single { grid-template-columns: 1fr; }
.scout-facts span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.scout-facts b { font-weight: 800; }
.scout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scout-grid > .field, .scout-scores > .field { min-width: 0; margin-bottom: 0; }
.scout-card textarea { min-height: 96px; }
.scout-card input[readonly],
.portal-home input[readonly] { background: var(--cream); cursor: default; }
@media (max-width: 640px) {
  .photo-row, .coach-grid, .coach-grid-3, .comp-status-row, .comp-form { display: grid; grid-template-columns: 1fr; }
  .comp-form .span-2 { grid-column: auto; }
}
.portal-home { display: grid; gap: 18px; }
.portal-home .stat { position: relative; padding: 18px 18px 16px 20px; }
.portal-home .stat::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 99px; background: var(--gold); }
.portal-home .stat span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.portal-home .stat b { margin-top: 6px; font-size: 26px; }
.portal-home .stat small { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; text-transform: none; }
.portal-home .card h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.02em; }
.legal-copy h2 { margin: 18px 0 6px; font-size: 18px; }
.legal-copy h2:first-of-type { margin-top: 0; }
.legal-copy p { margin: 0 0 10px; }
.portal-split { align-items: start; }
.portal-home .chart-pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
.portal-home .chart-pair > .card { height: 100%; }
.task { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.task .muted { display: block; margin-top: 2px; }
.task-actions { display: flex; align-items: center; gap: 8px; }
.task:first-of-type { border-top: 0; padding-top: 8px; }
.task strong { display: block; }
.comp-group { margin: 18px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.comp-group:first-of-type { margin-top: 8px; }
.comp-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.portal-home > .muted a { color: var(--blue); font-weight: 800; text-decoration: none; }
.task strong a { color: var(--blue); text-decoration: none; }
.task strong a:hover { text-decoration: underline; }
.task .btn-light { border: 1.5px solid var(--line); width: auto; }
.task-link { min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; }
.task-link.is-pay { background: var(--red); }
.task-note { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.meter-label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.meter-label b { color: var(--blue); }
.portal-home .bar { height: 10px; background: var(--cream-2); }
.portal-home .bar i { background: var(--gold); border-radius: 99px; }
.portal-news .academy-note h3 { font-size: 20px; }
.portal-home form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.stat-grid.report-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portal-home .stat-grid.report-stats:has(> :only-child) { grid-template-columns: minmax(220px, 320px); }
.report-ages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.report-age-chart { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; }
.age-donut { margin: 0; }
.age-donut svg { width: 168px; height: 168px; display: block; }
.age-donut text { font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif; font-size: 22px; font-weight: 800; fill: var(--blue); }
.age-swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.report-roster .muted { margin: -6px 0 14px; }
.report-roster input[readonly] { background: var(--cream); cursor: default; }
.portal-home h3 { margin: 8px 0 12px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.match-count { display: inline-flex; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--cream); color: var(--blue); font-size: 13px; letter-spacing: 0; vertical-align: middle; }
.match-list { display: grid; gap: 8px; max-height: 320px; margin: 8px 0 14px; overflow: auto; }
.match-list:empty { display: none; }
.match-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.match-summary { display: grid; grid-template-columns: 7.2rem minmax(0, 1.4fr) minmax(4rem, .6fr) minmax(0, 1fr); gap: 10px; flex: 1; min-width: 0; align-items: center; }
.match-summary strong, .match-summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-summary span:empty::before { content: "—"; color: var(--muted); }
.match-delete { min-height: 36px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--red); flex: none; }
.match-list + .btn, #match-empty + .match-list + .btn, #match-empty + .btn { border: 1.5px solid var(--line); }
.match-modal { width: min(560px, calc(100% - 32px)); }
.fixture-modal { width: min(640px, calc(100% - 32px)); }
.fixture-modal .field { margin-bottom: 12px; }
.fixture-modal .coach-grid:last-of-type { grid-template-columns: 1.4fr .8fr .8fr; }
.fixture-open { margin-top: 16px; }
.team-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.team-pick { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 8px; }
.team-pick legend { padding: 0 4px; font-size: 13px; font-weight: 800; color: var(--blue); }
.team-pick label { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.team-pick input { width: 18px; height: 18px; min-height: 0; margin: 0; flex: none; }
.team-pick .team-logo { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .fixture-modal .coach-grid, .fixture-modal .coach-grid:last-of-type, .team-picks, .squad-grid { grid-template-columns: 1fr; }
}
.match-modal .field { margin-bottom: 12px; }
#match-empty { margin: 4px 0 14px; }
.report-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.rhino-item { display: grid; gap: 10px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.rhino-item:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.rhino-item .check { align-items: center; margin: 0; }
.rhino-item .check input { margin-top: 0; }
.rhino-files, .doc-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rhino-files a, .doc-pick a { font-weight: 800; color: var(--blue); }
.rhino-files .btn-light, .doc-pick .btn-light { border: 1.5px solid var(--line); width: auto; }
.field .doc-pick .btn { display: inline-flex; margin: 0; }
.portal-home .bonus-ask h3 { margin: 0; font-size: 16px; letter-spacing: 0; text-transform: none; color: inherit; }
.bonus-ask h3 a { margin-left: 6px; font-weight: 700; }
.yes-no { display: flex; gap: 22px; align-items: center; }
.yes-no .check { margin: 0; }
.yes-no .check input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--blue); }
.bonus-attach { display: grid; gap: 8px; }
.bonus-attach[hidden] { display: none; }
.bonus-attach p, .rhino-files > span { margin: 0; font-weight: 800; }
.rhino-sample { display: flex; align-items: center; gap: 10px; margin: 0; }
.rhino-sample span { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rhino-sample a { font-weight: 800; color: var(--blue); }
.item-editor { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.item-editor h3 { margin: 0; font-size: 16px; }
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 12px; }
.item-editor .field { margin: 0; }
.item-editor .note { margin: 6px 0 0; }
.rhino-files .file-name { margin: 0; }
.report-actions .btn-light { border: 1.5px solid var(--line); }
.profile-logo { display: flex; align-items: center; gap: 16px; }
.profile-logo img, .profile-logo-empty { width: 72px; height: 72px; border-radius: 18px; background: var(--cream); object-fit: contain; flex: none; }
.profile-logo .btn-light { border: 1.5px solid var(--line); display: inline-flex; width: auto; margin: 0; }
.profile-docs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.profile-docs a { font-weight: 700; text-decoration: none; }
.profile-notice { border-top: 3px solid var(--gold); }
.profile-notice p { margin: 0; color: var(--muted); font-weight: 600; }
.age-groups { display: grid; gap: 10px; }
.age-line, .day-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.train-times { display: grid; gap: 8px; }
.train-day { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.train-day .check { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; }
.train-day .check input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; flex: 0 0 22px; }
.train-day input[type="time"]:disabled { opacity: .45; }
.train-to { color: var(--muted); font-weight: 800; }
@media (max-width: 640px) {
  .train-day { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .train-day .check { grid-column: 1 / -1; }
}
.age-line strong { min-width: 64px; }
.age-line .check, .day-picks .check { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.age-line .check input, .day-picks .check input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; flex: 0 0 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid.dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid.dash-stats.dash-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
a.card.stat { color: inherit; text-decoration: none; }
a.card.stat:hover { box-shadow: 0 16px 36px rgba(16, 35, 63, .12); }
.dash-ages { margin: 8px 0 0; }
.dash-ages span { display: inline-flex; align-items: center; gap: 8px; }
.dash-ages b { color: var(--blue); }
.stat-grid.rhino-stats { grid-template-columns: 1fr 1fr; }
.stat b { display: block; margin-top: 12px; font-size: 28px; color: var(--blue); letter-spacing: -.03em; }
.stat b.alert { color: var(--red); }
.stat span { color: var(--muted); font-weight: 600; }
.bars { display: grid; gap: 10px; }
.bar { height: 8px; background: #ece7dc; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }
.table-wrap { overflow-x: auto; }
.table-wrap td form { display: inline-block; margin: 0 6px 6px 0; }
.table-wrap td .btn-light { border: 1.5px solid var(--line); width: auto; }
.team-cell { display: flex; align-items: center; gap: 10px; }
.team-logo { width: 36px; height: 36px; object-fit: contain; flex: none; background: var(--cream); border-radius: 50%; padding: 3px; }
.team-cell a { color: inherit; font-weight: 700; text-decoration: none; }
.score-card { margin-bottom: 16px; }
.event-lines { margin-top: 16px; }
.icon-delete { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--red); cursor: pointer; }
.icon-delete svg { width: 18px; height: 18px; }
.icon-delete:hover { background: #fde8ea; }
.rules-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.rules-join { padding-left: 22px; border-left: 1px solid var(--line); }
.rules-join h2 { margin-top: 0; }
.join-card { margin-top: 16px; }
.tab-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.settings-tabs { display: grid; gap: 18px; }
.settings-tabs .status-tabs { margin: 0; }
.settings-tabs .status-tabs label { cursor: pointer; }
.settings-tabs .tab-panel { display: none; }
.settings-tabs .card h2 { margin: 18px 0 12px; }
.settings-tabs .card h2:first-child { margin-top: 0; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.settings-grid .field,
.settings-span { margin: 0; }
.settings-span { grid-column: 1 / -1; }
.settings-checks { display: grid; gap: 12px; margin-top: 14px; }
.field .coach-hint { margin: 6px 0 0; }
.plan-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.plan-status p { margin: 0; flex: 1; min-width: 220px; }
.plan-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-choice { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--cream); }
button.plan-choice { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.plan-choice span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan-choice b { font-size: 28px; line-height: 1.1; color: var(--blue); }
.plan-choice s { color: var(--muted); font-weight: 700; }
.plan-choice .btn { margin-top: auto; }
.plan-code { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.plan-code .field { margin: 0; }
.plan-code .btn { width: auto; }
.plan-tabs { display: grid; gap: 18px; }
.plan-tabs .status-tabs { margin: 0; }
.plan-tabs .status-tabs label { cursor: pointer; }
.plan-tabs .tab-panel { display: none; }
.plan-tabs .card h2 { margin: 22px 0 8px; }
.plan-tabs .card h2:first-child { margin-top: 0; }
.plan-tabs #plan-prices:checked ~ .status-tabs label[for="plan-prices"],
.plan-tabs #plan-access:checked ~ .status-tabs label[for="plan-access"],
.plan-tabs #plan-chip:checked ~ .status-tabs label[for="plan-chip"],
.plan-tabs #plan-codes:checked ~ .status-tabs label[for="plan-codes"],
.plan-tabs #plan-receipts:checked ~ .status-tabs label[for="plan-receipts"] { background: var(--blue); color: #fff; }
.plan-tabs #plan-prices:checked ~ .tab-panels .panel-prices,
.plan-tabs #plan-access:checked ~ .tab-panels .panel-access,
.plan-tabs #plan-chip:checked ~ .tab-panels .panel-chip,
.plan-tabs #plan-codes:checked ~ .tab-panels .panel-codes,
.plan-tabs #plan-receipts:checked ~ .tab-panels .panel-receipts { display: block; }
.plan-aside { margin-top: 16px; }
.rm-field { display: flex; align-items: center; gap: 8px; }
.rm-field span { font-weight: 800; color: var(--blue); }
.rm-field input { flex: 1; }
.gateway-keys { margin-top: 12px; }
.gateway-keys[hidden] { display: none; }
.settings-check .coach-hint { margin: 4px 0 0 28px; }
.settings-save { margin-top: 18px; }
.settings-tabs #set-fees:checked ~ .status-tabs label[for="set-fees"],
.settings-tabs #set-contact:checked ~ .status-tabs label[for="set-contact"],
.settings-tabs #set-rhino:checked ~ .status-tabs label[for="set-rhino"] { background: var(--blue); color: #fff; }
.settings-tabs #set-fees:checked ~ .tab-panels .panel-fees,
.settings-tabs #set-contact:checked ~ .tab-panels .panel-contact,
.settings-tabs #set-rhino:checked ~ .tab-panels .panel-rhino { display: block; }
.comp-tabs .status-tabs label { cursor: pointer; }
.comp-tabs .tab-panel { display: none; }
.comp-tabs #tab-teams:checked ~ .status-tabs label[for="tab-teams"],
.comp-tabs #tab-fixtures:checked ~ .status-tabs label[for="tab-fixtures"],
.comp-tabs #tab-standings:checked ~ .status-tabs label[for="tab-standings"],
.comp-tabs #tab-bracket:checked ~ .status-tabs label[for="tab-bracket"],
.comp-tabs #tab-scorers:checked ~ .status-tabs label[for="tab-scorers"],
.comp-tabs #tab-yellow:checked ~ .status-tabs label[for="tab-yellow"],
.comp-tabs #tab-red:checked ~ .status-tabs label[for="tab-red"],
.comp-tabs #tab-awards:checked ~ .status-tabs label[for="tab-awards"],
.comp-tabs #tab-format:checked ~ .status-tabs label[for="tab-format"],
.comp-tabs #tab-rules:checked ~ .status-tabs label[for="tab-rules"],
.comp-tabs #tab-goals:checked ~ .status-tabs label[for="tab-goals"],
.comp-tabs #tab-cards:checked ~ .status-tabs label[for="tab-cards"] { background: var(--blue); color: #fff; }
.comp-tabs #tab-teams:checked ~ .tab-panels .panel-teams,
.comp-tabs #tab-fixtures:checked ~ .tab-panels .panel-fixtures,
.comp-tabs #tab-standings:checked ~ .tab-panels .panel-standings,
.comp-tabs #tab-bracket:checked ~ .tab-panels .panel-bracket,
.comp-tabs #tab-scorers:checked ~ .tab-panels .panel-scorers,
.comp-tabs #tab-yellow:checked ~ .tab-panels .panel-yellow,
.comp-tabs #tab-red:checked ~ .tab-panels .panel-red,
.comp-tabs #tab-awards:checked ~ .tab-panels .panel-awards,
.comp-tabs #tab-format:checked ~ .tab-panels .panel-format,
.comp-tabs #tab-rules:checked ~ .tab-panels .panel-rules,
.comp-tabs #tab-goals:checked ~ .tab-panels .panel-goals,
.comp-tabs #tab-cards:checked ~ .tab-panels .panel-cards { display: block; }
.comp-split { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.comp-split th, .comp-split td { padding: 12px 8px; }
.comp-stack { display: grid; gap: 16px; align-content: start; }
.comp-format, .comp-copy { margin: 0; white-space: pre-line; line-height: 1.55; font-weight: 600; color: var(--ink); }
.comp-rules { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.comp-edit { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.comp-edit > h2 { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.award-block + .award-block { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.award-block h3 { margin: 8px 0 10px; font-size: 16px; color: var(--blue); }
.award-block .team-pick { margin-bottom: 12px; }
.comp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.comp-pair h2 { margin: 0 0 8px; font-size: 16px; }
.score-edit { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.score-edit:first-child { border-top: 0; padding-top: 0; }
.score-edit p { margin: 0; }
.score-edit-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; }
.score-edit-actions .field { width: 110px; margin: 0; }
.score-edit-actions .btn,
.score-edit-actions .icon-delete { margin-bottom: 2px; }
.score-edit-actions .btn-light { border: 1.5px solid var(--line); }
td.pts, th.pts { font-weight: 800; color: var(--blue); }
.comp-tabs .status-tabs label { padding: 8px 12px; font-size: 13px; }
.score-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.round-heading { margin: 22px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.round-heading:first-child { margin-top: 0; }
.bracket { display: flex; align-items: stretch; gap: 32px; overflow-x: auto; padding-bottom: 8px; }
.panel-standings .bracket { margin-top: 28px; }
.bracket-round { flex: 1 0 250px; min-width: 250px; display: flex; flex-direction: column; }
.bracket-pairs { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 18px; margin-top: 12px; }
.bracket-pair { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.bracket-round.has-next .bracket-pair::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 18%;
  bottom: 18%;
  width: 16px;
  border: 2px solid var(--gold);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}
.bracket-round.has-next .bracket-pair.single::after { top: 50%; bottom: auto; height: 0; border: 0; border-top: 2px solid var(--gold); }
.bracket-match { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bracket-side { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 40px; padding: 7px 10px; }
.bracket-side + .bracket-side { border-top: 1px solid var(--line); }
.bracket-side.is-winner { box-shadow: inset 3px 0 0 var(--gold); }
.bracket-side img, .bracket-side i { width: 28px; height: 28px; border-radius: 50%; background: var(--cream); }
.bracket-side a, .bracket-side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: inherit; text-decoration: none; }
.bracket-side strong { font-weight: 800; color: var(--blue); }
.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.awards li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.awards li:first-child { border-top: 0; padding-top: 0; }
.awards > li > span:first-child { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.awards strong { font-size: 22px; color: var(--blue); }
.award-meta { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-weight: 700; color: var(--blue); }
.award-meta i { color: var(--gold); font-style: normal; line-height: 1; }
.awards em, .awards b { font-style: normal; font-weight: 700; color: var(--muted); }
.fixture { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.fixture:first-child { border-top: 0; padding-top: 4px; }
.fixture-meta { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 700; }
.fixture-meta .dot { color: var(--gold); line-height: 1; }
.fixture .score-side span, .fixture .score-side a { white-space: normal; overflow: visible; text-overflow: unset; }
.score-line { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.score-side { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; font-weight: 700; text-align: right; flex-wrap: nowrap; }
.score-side.away { justify-content: flex-start; text-align: left; }
.score-side > span, .score-side > a { min-width: 0; }
.score-side span, .score-side a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
.score-num { font-size: 16px; font-weight: 800; color: var(--blue); background: var(--cream); border-radius: 10px; padding: 4px 10px; letter-spacing: .04em; }
.score-line .team-logo { width: 28px; height: 28px; padding: 2px; }
a.academy-name,
a.academy-name:hover { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.academy-name img { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: contain; background: var(--cream); padding: 3px; }
.academy-mark { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #7A4A08; color: #fff; font-weight: 800; letter-spacing: .04em; line-height: 1; box-shadow: inset 0 0 0 2px #F2B705; }
.academy-name .academy-mark { width: 36px; height: 36px; flex: none; font-size: 13px; }
.review-mark { width: 72px; height: 72px; font-size: 26px; margin-bottom: 14px; box-shadow: inset 0 0 0 4px #F2B705; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th.col-center, td.col-center { text-align: center; }
th { font-size: 13px; color: var(--muted); }
.login-screen {
  background:
    linear-gradient(180deg, rgba(10, 42, 136, .92), rgba(7, 30, 102, .94)),
    url("../pitch.svg") center / cover;
  background-color: var(--blue);
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 48px 16px;
}
.login-card { width: min(440px, 100%); background: #fff; border-radius: 22px; border-top: 3px solid var(--gold); padding: 28px; box-shadow: var(--shadow); }
.login-crest { width: 84px; height: 84px; object-fit: contain; display: block; margin: 0 auto 8px; background: var(--cream); border-radius: 50%; padding: 8px; }
.login-card h1 { margin: 8px 0 18px; font-size: 32px; }
.login-card .btn { width: 100%; }
.login-links { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 0; font-weight: 700; }
.progress { display: flex; gap: 6px; margin-bottom: 16px; }
.progress i { height: 6px; flex: 1; border-radius: 99px; background: #ddd; }
.progress i.on { background: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.check input { width: 22px; height: 22px; margin-top: 2px; }
.note { background: #fff; border-radius: 14px; padding: 12px 14px; color: var(--muted); }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.wizard-actions.is-end { justify-content: flex-end; }
.wizard-actions .btn { width: auto; margin: 0; }
.wizard-actions .btn-light { border: 1.5px solid var(--line); }
.resend-code { border: 1.5px solid var(--line); width: auto; margin: 0 0 16px; }
.reg-part[hidden] { display: none; }
.register-fee { margin: 0 0 8px; font-weight: 800; color: var(--blue); }
.register-fee.is-exempt { margin-bottom: 14px; font-weight: 700; color: var(--muted); }

@media (max-width: 1200px) {
  .topbar { gap: 10px; padding: 10px 16px; }
  .topbar .brand span { font-size: 13px; }
  .nav a { padding: 0 8px; }
}
@media (max-width: 800px) {
  .hero { padding: 36px 0; }
}
@media (max-width: 980px) {
  .grid-3, .grid-2, .stat-grid, .directory, .step-grid, .criterion-pills, .bonus-pills { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .btn { grid-column: 1 / -1; }
  .topbar .brand span { display: none; }
  .nav { display: none; }
  .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: var(--blue-deep); padding: 12px; }
  .menu-btn { display: inline-flex; margin-left: auto; background: transparent; color: #fff; border: 0; min-width: 44px; min-height: 44px; }
  .sidebar { position: fixed; z-index: 30; transform: translateX(-110%); transition: transform .2s ease; }
  .sidebar.is-open { transform: none; }
  .main { padding: 20px 16px 110px; }
  .main:has(.account-form) { padding-bottom: 110px; }
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    justify-content: space-around;
    z-index: 25;
  }
  .bottom-nav a { min-height: 52px; display: flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 13px; color: var(--blue); }
}
@media (max-width: 700px) {
  .about-objective { white-space: normal; font-size: 28px; }
  .about-crest { width: 96px; height: 96px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .portal-home .chart-pair, .comp-pair, .stat-grid, .stat-grid.dash-stats, .stat-grid.dash-stats.dash-four, .stat-grid.report-stats, .stat-grid.rhino-stats, .filters, .directory, .step-grid, .home-news, .criterion-pills, .bonus-pills, .rules-layout, .item-grid, .settings-grid, .plan-choices, .plan-code, .person-facts { grid-template-columns: 1fr; }
  .person-head { align-items: flex-start; }
  .score-edit-actions { flex-wrap: wrap; justify-content: flex-start; }
  .match-summary { grid-template-columns: 1fr 1fr; }
  .report-ages, .scout-scores, .scout-grid, .scout-facts { grid-template-columns: 1fr 1fr; }
  .report-age-chart { grid-template-columns: 1fr; justify-items: center; }
  .rules-join { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
}
.modal.id-modal {
  width: min(300px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.modal.id-modal .id-card { width: 100%; }
.id-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.id-link:hover { text-decoration: underline; }
.id-sheet { display: grid; justify-items: center; gap: 18px; }
.id-actions { display: flex; gap: 10px; }
.id-card {
  width: min(300px, 100%);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--gold);
}
.id-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--blue-deep);
  color: #fff;
}
.id-head img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; background: #fff; }
.id-head p { margin: 0; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.id-head strong { display: block; margin-top: 1px; font-size: 13px; line-height: 1.25; }
.id-body { padding: 14px 14px 12px; text-align: center; }
.id-photo {
  width: 108px;
  height: 136px;
  margin: 0 auto 10px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
}
.id-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.id-photo.is-empty { display: flex; align-items: center; justify-content: center; }
.id-photo span { font-size: 40px; font-weight: 800; color: var(--blue); }
.id-body h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.id-role {
  display: inline-block;
  margin: 6px 0 0;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.id-also { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.id-code { margin: 10px 0 0; color: var(--blue); font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.id-code-label { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.id-facts { display: grid; gap: 6px; margin: 12px 0 0; text-align: left; font-size: 13px; }
.id-facts div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.id-facts dt { color: var(--muted); font-weight: 700; }
.id-facts dd { margin: 0; font-weight: 800; text-align: right; }
@media print {
  .sidebar, .page-head, .bottom-nav, .id-actions, .flash { display: none !important; }
  .app-shell, .main { display: block; background: #fff; padding: 0; min-height: 0; }
  .id-card { box-shadow: none; }
}
