@import url("/fonts.css");
:root {
  --bg: #101010;
  --panel: #191817;
  --panel2: #24211e;
  --ink: #f7f3eb;
  --muted: #bcb6ac;
  --accent: #ff751f;
  --line: #3c352d;
  --blue: #d7b66b;
  --font: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --display: "Barlow Condensed", Impact, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--font);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a,
button {
  touch-action: manipulation;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 20px;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.container {
  width: min(1300px, calc(100% - 96px));
  margin-inline: auto;
}
.preview-banner {
  background: #22271b;
  color: #c9d2b7;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.2px;
}
.preview-banner span {
  margin: 0 9px;
  color: var(--accent);
}
.site-header {
  height: 94px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  background: rgba(16, 18, 15, 0.96);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}
.brand > span {
  display: flex;
  flex-direction: column;
}
.brand small {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 3px;
  line-height: 1.3;
}
.brand b {
  font: 800 23px/1.2 var(--display);
  letter-spacing: 0.7px;
}
.brand-dot {
  color: var(--accent);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  height: 100%;
  font-size: 14px;
}
.desktop-nav a {
  color: #bfc3b8;
  position: relative;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}
.desktop-nav a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--accent);
  bottom: -35px;
  left: 0;
  right: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.portal-link {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #101010;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
}
.mobile-menu {
  display: none;
}
.mobile-nav {
  position: fixed;
  top: 122px;
  left: 0;
  right: 0;
  z-index: 29;
  background: #211c17;
  padding: 24px;
}
.mobile-nav a {
  display: block;
  padding: 11px;
  border-bottom: 1px solid var(--line);
}
.hero {
  min-height: 700px;
  height: calc(100svh - 124px);
  max-height: 850px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 25% 50%, #43512848, transparent 57%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent);
  z-index: -1;
}
.coordinate {
  position: absolute;
  right: 48px;
  top: 28px;
  font: 12px var(--display);
  letter-spacing: 2px;
  color: #8c9381;
}
.hero-copy {
  padding: 60px 48px 90px 0;
  z-index: 3;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 13px var(--display);
  letter-spacing: 2.6px;
  direction: ltr;
  justify-content: flex-end;
  width: max-content;
  margin-bottom: 27px;
}
.mini-flag {
  width: 23px;
  height: 15px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.mini-flag i {
  height: 5px;
  background: #cf433e;
}
.mini-flag i:nth-child(2) {
  background: #f5f5ed;
}
.mini-flag i:nth-child(3) {
  background: #181a16;
}
.mini-flag:after {
  content: "";
  position: absolute;
  left: 0;
  border-left: 9px solid #389968;
  border-top: 7.5px solid transparent;
  border-bottom: 7.5px solid transparent;
}
.hero h1 {
  font-size: clamp(55px, 5.8vw, 88px);
  letter-spacing: -3px;
  line-height: 1.25;
  font-weight: 700;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p {
  font-size: 19px;
  color: #bfc4b5;
  line-height: 1.9;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 12px 23px;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.25s,
    background 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn.primary {
  background: var(--accent);
  color: #171e0d;
}
.btn.primary:hover {
  background: #e7ffac;
}
.btn.outline {
  background: #211b1699;
  border-color: #535c46;
  color: var(--ink);
}
.btn.small {
  padding: 8px 15px;
  min-height: 38px;
  font-size: 14px;
}
.btn.danger {
  border-color: #94584d;
  color: #ffb6a8;
  background: #47231c;
}
.hero-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  font-size: 12px;
  color: #9ca38f;
}
.hero-foot b {
  font: 500 12px var(--display);
  letter-spacing: 1.8px;
  color: #d0d6c5;
}
.small-cross {
  width: 38px;
  height: 38px;
  border: 1px solid #485139;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 25px;
}
.hero-visual {
  height: 100%;
  position: absolute;
  left: 0;
  width: 58%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-art {
  width: 110%;
  max-width: none;
  position: absolute;
  left: -11%;
  transform: translate(var(--mx, 0), var(--my, 0)) rotate(-5deg);
  filter: drop-shadow(0 30px 65px #0009);
  mask-image: linear-gradient(90deg, #000 70%, transparent 99%);
  transition: transform 0.7s ease-out;
}
.hero-background-type {
  position: absolute;
  top: 7%;
  left: -1%;
  font: 900 clamp(160px, 21vw, 350px) / 1 var(--display);
  letter-spacing: -8px;
  color: #ff751f0b;
  -webkit-text-stroke: 1px #758f4540;
  transform: rotate(-5deg);
}
.orbit {
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid #899b4540;
  border-radius: 50%;
  transform: rotateX(25deg) rotate(-22deg);
}
.orbit:before {
  content: "";
  position: absolute;
  top: 4%;
  left: 30%;
  height: 9px;
  width: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
}
.orbit-one {
  animation: orbit 70s linear infinite;
}
.orbit-two {
  width: 670px;
  height: 670px;
  border-style: dashed;
  opacity: 0.5;
  animation: orbit 100s linear infinite reverse;
}
.visual-stamp {
  position: absolute;
  bottom: 22%;
  left: 12%;
  background: #20251adb;
  border: 1px solid #72834c;
  padding: 17px 23px;
  transform: rotate(-5deg);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 24px;
  column-gap: 20px;
}
.visual-stamp span {
  font: 12px var(--display);
  letter-spacing: 2px;
  grid-column: 1;
}
.visual-stamp b {
  font-size: 20px;
}
.visual-stamp svg {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  color: var(--accent);
}
.image-credit {
  position: absolute;
  bottom: 93px;
  left: 48px;
  font: 10px var(--display);
  letter-spacing: 1.5px;
  color: #9a9d8d;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 48px;
  border-top: 1px solid #5158415e;
  font: 12px var(--display);
  letter-spacing: 2px;
  direction: ltr;
}
.hero-bottom a {
  font: 13px var(--font);
  letter-spacing: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}
.hero-bottom a span {
  font-size: 24px;
  color: var(--accent);
}
.ticker {
  border-block: 1px solid var(--accent);
  background: var(--accent);
  color: #24170e;
  overflow: hidden;
  transform: rotate(-1deg);
  margin: 13px -10px 0;
  padding: 12px 0;
}
.ticker > div {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  direction: ltr;
  animation: ticker 55s linear infinite;
}
.ticker span {
  font: 700 22px var(--display);
  letter-spacing: 1px;
}
.ticker span:nth-child(4n + 3) {
  font: 600 19px var(--font);
}
.ticker b {
  font-size: 25px;
}
.section {
  padding-top: 88px;
  padding-bottom: 15px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  display: block;
  color: var(--accent);
  font: 600 12px/1.6 var(--display);
  letter-spacing: 2.4px;
  margin-bottom: 9px;
  direction: ltr;
  text-align: right;
}
.section-heading h2 {
  font-size: 34px;
  letter-spacing: -0.8px;
}
.text-link {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #d6dbcc;
  font-size: 14px;
  border-bottom: 1px solid #66704f;
  padding-bottom: 7px;
}
.text-link:hover {
  color: var(--accent);
}
.grid {
  display: grid;
  gap: 22px;
}
.grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.competition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 24px;
}
.tournament-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.tournament-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.tournament-poster {
  height: 238px;
  position: relative;
  overflow: hidden;
  background: #343d2a;
  isolation: isolate;
  padding: 24px;
  direction: ltr;
}
.tournament-poster:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    125deg,
    transparent 0,
    transparent 65px,
    #ff751f09 66px,
    #ff751f09 68px
  );
  z-index: -1;
}
.tournament-poster:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 45px solid #c8e58817;
  right: -30px;
  top: 35px;
  transform: rotate(25deg);
  z-index: -1;
}
.poster-meta {
  font: 500 11px var(--display);
  letter-spacing: 2px;
  color: #c0ccac;
}
.poster-word {
  font: 900 95px/0.84 var(--display);
  color: #e0f2bf;
  letter-spacing: -3px;
  position: absolute;
  left: 20px;
  top: 67px;
}
.poster-season {
  position: absolute;
  bottom: 16px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 12px var(--display);
  letter-spacing: 2px;
}
.poster-season b {
  font-size: 54px;
  line-height: 1;
}
.league {
  background: #242e36;
}
.league .poster-word {
  font-size: 60px;
  color: #bfd4e2;
  top: 66px;
}
.league .poster-meta {
  color: #b6c8d4;
}
.poster-line {
  position: absolute;
  bottom: 25px;
  left: 24px;
  width: 70px;
  height: 3px;
  background: var(--accent);
}
.card-content {
  padding: 23px;
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #455038;
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.4;
  color: #c4cdba;
  white-space: nowrap;
}
.tag.accent {
  color: var(--accent);
  background: #ff751f10;
  border-color: #6f843f;
}
.tag.sample {
  font-size: 11px;
  border: 0;
  color: #939b89;
  padding: 0;
}
.card-content h3 {
  font-size: 23px;
  margin: 18px 0 12px;
}
.meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.calendar-feature {
  padding: 27px;
  background: var(--accent);
  color: #1b2411;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 395px;
  position: relative;
  overflow: hidden;
}
.calendar-feature:after {
  content: "09";
  position: absolute;
  font: 800 140px var(--display);
  color: #222a100c;
  bottom: 37px;
  left: -7px;
  pointer-events: none;
}
.calendar-feature .eyebrow {
  color: #4d5c32;
  margin-top: 28px;
}
.calendar-feature h3 {
  font-size: 34px;
  line-height: 1.3;
}
.calendar-feature em {
  font-style: normal;
  color: #4d612a;
}
.calendar-feature p {
  font-size: 14px;
  margin: 20px 0;
}
.feature-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #4b5b333e;
  padding-top: 14px;
  font-size: 14px;
}
.feature-bottom span {
  font-size: 24px;
}
.team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
  padding: 22px;
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.team-card:before {
  content: "";
  height: 140px;
  position: absolute;
  top: 25px;
  left: 30px;
  right: 30px;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--team) 15%, transparent),
    transparent 70%
  );
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--team);
}
.team-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.team-top .tag {
  border: 0;
  background: #252a20;
  font-size: 11px;
}
.team-index {
  font: 500 10px var(--display);
  letter-spacing: 1.5px;
  color: #8a9380;
}
.team-emblem {
  font: 900 68px/1 var(--display);
  width: 114px;
  height: 114px;
  margin: 30px auto 24px;
  display: grid;
  place-items: center;
  color: var(--team);
  border: 1px solid color-mix(in srgb, var(--team) 38%, transparent);
  background: #1b1814;
  clip-path: polygon(13% 0, 100% 0, 100% 78%, 50% 100%, 0 78%, 0 14%);
  position: relative;
}
.team-card h3 {
  font: 700 26px var(--display);
  letter-spacing: 1px;
}
.team-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.team-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #a4ad98;
}
.team-bottom > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.invasion-banner {
  margin-top: 100px;
  min-height: 430px;
  background: #293424;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #61724b;
  position: relative;
  overflow: hidden;
}
.invasion-copy {
  padding: 52px;
  z-index: 2;
}
.invasion-copy h2 {
  font-size: 44px;
  line-height: 1.35;
  margin: 16px 0;
}
.invasion-copy h2 em {
  font-style: normal;
  color: var(--accent);
}
.invasion-copy p {
  color: #becab1;
  margin: 0 0 24px;
}
.invasion-art {
  position: relative;
  align-self: stretch;
}
.invasion-art > span {
  font: 900 330px var(--display);
  color: #ff751f14;
  position: absolute;
  inset-inline-end: 0;
  top: -45px;
}
.invasion-art img {
  position: absolute;
  width: 135%;
  max-width: none;
  left: -20%;
  top: 20%;
  transform: rotate(-9deg);
  mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}
.news-card {
  background: #211c17;
  border: 1px solid var(--line);
  overflow: hidden;
}
.news-image {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: #262f20;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.news-card:hover img {
  transform: scale(1.05);
}
.news-image > span {
  position: absolute;
  right: 20px;
  bottom: 16px;
  background: #121a0cde;
  padding: 5px 12px;
  font-size: 12px;
}
.news-text {
  padding: 22px;
}
.news-text h3 {
  font-size: 22px;
  margin: 9px 0 12px;
}
.news-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.ad-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 78px;
  margin-bottom: 75px;
  border-block: 1px solid #425031;
  padding: 28px 20px;
  background: linear-gradient(100deg, #1a2213, transparent);
}
.ad-label {
  writing-mode: vertical-rl;
  font-size: 11px;
  color: #89917f;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.ad-banner h3 {
  font-size: 22px;
}
.ad-banner p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 7px;
}
.ad-banner > .tag,
.ad-banner > .btn {
  margin-inline-start: auto;
}
footer {
  background: #090c08;
  border-top: 1px solid #292f22;
  padding: 55px 48px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 55px;
  padding-bottom: 50px;
}
.footer-brand {
  font: 800 55px/0.83 var(--display);
  letter-spacing: -1px;
  text-align: right;
}
.footer-brand span {
  color: var(--accent);
}
.footer-top h3 {
  font-size: 20px;
}
.footer-top p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-size: 12px;
  color: #9aa38d;
  flex-wrap: wrap;
}
.socials a:hover {
  color: var(--accent);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  font-size: 13px;
  align-content: start;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #293020;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: #8a9380;
}
.motion-toggle {
  font: 12px var(--font);
  background: transparent;
  color: #afb99f;
}
.page-head {
  padding-top: 65px;
  padding-bottom: 38px;
}
.page-head h1 {
  font-size: 48px;
}
.page-head p {
  color: var(--muted);
  margin-top: 15px;
  max-width: 680px;
  line-height: 1.9;
}
.page-body {
  padding-bottom: 80px;
  min-height: 450px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s,
    transform 0.6s,
    border-color 0.3s;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--accent);
  color: #182010;
  padding: 15px 25px;
  box-shadow: 0 10px 50px #0009;
  z-index: 100;
  max-width: 90%;
  font-size: 14px;
  transition: 0.3s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.error-screen {
  padding: 100px;
  text-align: center;
}
dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid #687951;
  padding: 30px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 90svh;
}
dialog::backdrop {
  background: #030601bb;
  backdrop-filter: blur(9px);
}
dialog .dialog-close {
  position: absolute;
  left: 16px;
  top: 16px;
}
.no-motion *,
.no-motion *:before,
.no-motion *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.no-motion .reveal {
  opacity: 1;
  transform: none;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes route-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
main {
  animation: route-in 0.4s ease-out;
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-right: max(48px, calc((100vw - 1400px) / 2));
  }
  .hero-art {
    width: 105%;
    left: -3%;
  }
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 17px;
    font-size: 13px;
  }
  .site-header {
    padding-inline: 25px;
    gap: 15px;
  }
  .brand b {
    font-size: 20px;
  }
  .brand img {
    width: 45px;
    height: 45px;
  }
  .container {
    width: calc(100% - 60px);
  }
  .hero-copy {
    padding-right: 30px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-visual {
    width: 59%;
    left: -4%;
  }
  .grid.four {
    gap: 14px;
  }
  .team-card {
    padding: 17px;
  }
  .team-index {
    display: none;
  }
  .invasion-copy {
    padding: 38px;
  }
  .invasion-copy h2 {
    font-size: 39px;
  }
}
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  .hero {
    min-height: 670px;
    max-height: 770px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .hero-visual {
    width: 66%;
    left: -15%;
    opacity: 0.85;
  }
  .hero-art {
    left: -5%;
  }
  .hero-copy {
    z-index: 3;
    width: 62%;
  }
  .hero {
    display: block;
  }
  .hero-copy {
    position: relative;
    padding-top: 115px;
  }
  .hero-visual {
    top: 0;
  }
  .orbit {
    width: 400px;
    height: 400px;
  }
  .orbit-two {
    width: 500px;
    height: 500px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-background-type {
    top: 12%;
  }
  .visual-stamp {
    bottom: 17%;
    left: 20%;
  }
  .competition-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calendar-feature {
    grid-column: 1/-1;
    min-height: 190px;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  .calendar-feature > div:first-child {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
    align-items: center;
  }
  .calendar-feature .eyebrow {
    margin: 0;
  }
  .calendar-feature h3 {
    grid-column: 2;
    font-size: 28px;
  }
  .calendar-feature h3 br {
    display: none;
  }
  .calendar-feature p {
    grid-column: 2;
    margin: 10px 0;
  }
  .feature-bottom {
    width: 170px;
    flex-shrink: 0;
  }
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 2fr;
    gap: 35px;
  }
  .footer-links {
    grid-column: 1/-1;
    display: flex;
    gap: 30px;
  }
  .invasion-copy {
    padding: 35px;
  }
  .invasion-copy h2 {
    font-size: 34px;
  }
  .invasion-art img {
    top: 30%;
    width: 155%;
  }
  .invasion-banner {
    min-height: 400px;
  }
  .image-credit {
    left: 110px;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }
  .preview-banner {
    font-size: 10px;
    padding: 6px 8px;
  }
  .site-header {
    height: 76px;
    padding-inline: 16px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 45px;
    height: 45px;
  }
  .brand b {
    font-size: 20px;
  }
  .brand small {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .portal-link {
    padding: 10px;
    font-size: 12px;
  }
  .portal-link svg {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .icon-btn {
    width: 37px;
    height: 37px;
  }
  .mobile-nav {
    top: 103px;
  }
  .hero {
    height: auto;
    min-height: 810px;
    max-height: none;
    display: flex;
    flex-direction: column;
  }
  .coordinate {
    top: 19px;
    right: 20px;
    font-size: 10px;
  }
  .hero-copy {
    width: 100%;
    padding: 65px 24px 0;
    text-align: center;
  }
  .hero-kicker {
    margin: 0 auto 19px;
    font-size: 11px;
    letter-spacing: 1.8px;
  }
  .hero h1 {
    font-size: 55px;
    letter-spacing: -2px;
    line-height: 1.25;
  }
  .hero-copy > p {
    font-size: 15px;
    margin-top: 19px;
    line-height: 1.8;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 25px;
    gap: 10px;
  }
  .btn {
    padding: 11px 17px;
    font-size: 14px;
    min-height: 45px;
  }
  .hero-foot {
    display: none;
  }
  .hero-visual {
    position: relative;
    height: 310px;
    min-height: 310px;
    width: 110%;
    left: 0;
    top: auto;
    margin-top: 20px;
    opacity: 1;
  }
  .hero-art {
    width: 100%;
    left: -1%;
    mask-image: linear-gradient(0deg, #000 85%, transparent);
    transform: translate(var(--mx, 0), var(--my, 0)) rotate(-6deg);
  }
  .hero-background-type {
    font-size: 140px;
    top: -4%;
    left: 0;
  }
  .orbit {
    width: 260px;
    height: 260px;
  }
  .orbit-two {
    width: 330px;
    height: 330px;
  }
  .visual-stamp {
    left: 11%;
    bottom: 9%;
    padding: 9px 14px;
    column-gap: 9px;
  }
  .visual-stamp span {
    font-size: 9px;
  }
  .visual-stamp b {
    font-size: 14px;
  }
  .visual-stamp svg {
    width: 17px;
  }
  .image-credit {
    bottom: 5px;
    left: 30px;
    font-size: 8px;
  }
  .hero-bottom {
    position: relative;
    margin-top: 28px;
    padding: 13px 20px;
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .hero-bottom a {
    font-size: 11px;
    gap: 10px;
  }
  .ticker {
    margin-top: 0;
    padding: 9px 0;
  }
  .ticker span {
    font-size: 19px;
  }
  .ticker span:nth-child(4n + 3) {
    font-size: 15px;
  }
  .section {
    padding-top: 53px;
  }
  .section-heading {
    margin-bottom: 23px;
    gap: 12px;
    align-items: center;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .text-link {
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
  }
  .competition-grid {
    gap: 17px;
    grid-template-columns: 1fr;
  }
  .tournament-poster {
    height: 220px;
  }
  .competition-grid .calendar-feature {
    grid-column: auto;
  }
  .calendar-feature {
    min-height: 215px;
    padding: 24px;
    display: block;
  }
  .calendar-feature p {
    font-size: 13px;
  }
  .feature-bottom {
    width: 100%;
    margin-top: 12px;
  }
  .card-content {
    padding: 20px;
  }
  .card-content h3 {
    font-size: 21px;
  }
  .grid.four {
    gap: 12px;
  }
  .team-card {
    padding: 12px;
  }
  .team-top .tag {
    font-size: 10px;
    padding: 3px 6px;
  }
  .team-emblem {
    width: 85px;
    height: 90px;
    font-size: 50px;
    margin: 23px auto 20px;
  }
  .team-card h3 {
    font-size: 21px;
    letter-spacing: 0.3px;
  }
  .team-card p {
    font-size: 12px;
  }
  .team-bottom {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    margin-top: 16px;
    padding-top: 12px;
  }
  .team-bottom .sample {
    font-size: 9px;
  }
  .invasion-banner {
    margin-top: 58px;
    display: block;
    min-height: 610px;
  }
  .invasion-copy {
    padding: 30px 25px;
  }
  .invasion-copy h2 {
    font-size: 38px;
  }
  .invasion-copy p {
    font-size: 14px;
  }
  .invasion-art {
    height: 220px;
  }
  .invasion-art img {
    width: 105%;
    left: -9%;
    top: -15%;
  }
  .invasion-art > span {
    font-size: 180px;
    top: -70px;
  }
  .grid.three {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-card:last-child {
    grid-column: auto;
    display: block;
  }
  .news-image {
    height: 210px;
  }
  .news-text h3 {
    font-size: 21px;
  }
  .ad-banner {
    padding: 22px 10px;
    gap: 14px;
    margin-top: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
  }
  .ad-banner h3 {
    font-size: 20px;
  }
  .ad-banner p {
    font-size: 12px;
  }
  .ad-banner > .tag {
    margin-right: 38px;
    margin-inline-start: 38px;
  }
  footer {
    padding: 35px 22px 0;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 35px;
  }
  .footer-brand {
    font-size: 42px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
  }
  .page-head {
    padding-top: 40px;
    padding-bottom: 28px;
  }
  .page-head h1 {
    font-size: 34px;
  }
  .page-head .row-between {
    align-items: start;
    flex-direction: column;
  }
  .page-head p {
    font-size: 15px;
  }
  .page-body {
    padding-bottom: 50px;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
}
/* Community pages and control room */
.filterbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #424d35;
  padding: 0 14px;
  min-width: 250px;
  color: var(--muted);
  background: #161b12;
}
.search-box input {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 12px 0;
  outline: 0;
  width: 100%;
  font-size: 14px;
}
.filter-tabs,
.season-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-tabs button,
.season-links a {
  background: transparent;
  color: #afb8a2;
  font-size: 14px;
  padding: 9px 16px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.filter-tabs button.selected,
.season-links .selected {
  color: var(--accent);
  background: #ff751f0c;
  border-color: #55683a;
}
.filter-tabs button:hover,
.season-links a:hover {
  color: var(--ink);
  border-color: #4c583e;
}
.season-links {
  margin-bottom: 30px;
  direction: ltr;
  justify-content: flex-end;
}
.empty-state {
  padding: 50px 22px;
  text-align: center;
  background: #171c13;
  border: 1px dashed #3c4730;
  grid-column: 1/-1;
  color: #939f84;
}
.empty-state svg {
  margin-bottom: 15px;
  color: #7e915e;
}
.empty-state h3 {
  font-size: 21px;
  color: #d5dccb;
}
.empty-state p {
  margin: 10px auto 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.9;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px;
  margin-bottom: 24px;
}
.panel h2 {
  font-size: 25px;
  margin-bottom: 18px;
}
.panel h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.panel > p {
  color: #acb69e;
  line-height: 1.9;
  margin-bottom: 19px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
}
.detail-grid .panel:last-child {
  margin-bottom: 0;
}
.team-profile {
  display: flex;
  gap: 35px;
  align-items: center;
  padding-block: 55px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.team-profile .team-emblem {
  margin: 0;
  width: 165px;
  height: 165px;
  flex-shrink: 0;
  font-size: 80px;
}
.team-profile h1 {
  font: 800 60px var(--display);
  letter-spacing: 1px;
}
.team-profile p {
  color: var(--muted);
  margin-top: 4px;
}
.team-profile > .btn {
  margin-inline-start: auto;
}
.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}
.roster-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.roster-row bdi {
  margin-inline-start: auto;
  color: var(--muted);
  font: 16px var(--display);
}
.roster-row > span {
  color: #a6b395;
}
.roster-no {
  font: 500 27px var(--display);
  color: var(--accent) !important;
}
.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.achievement-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.achievement-list svg {
  color: var(--accent);
}
.notice {
  padding: 16px;
  background: #ff751f0a;
  border-right: 2px solid #8cac4d;
  color: #c2cea9;
  font-size: 14px;
  line-height: 1.9;
  margin-block: 20px;
}
.detail-poster .tournament-card {
  display: block;
  pointer-events: none;
}
.detail-poster .tournament-poster {
  height: 310px;
}
.detail-poster .poster-word {
  font-size: 140px;
  top: 83px;
}
.detail-poster .league .poster-word {
  font-size: 88px;
}
.detail-poster .card-content {
  display: none;
}
.detail-poster {
  margin-bottom: 24px;
}
.facts {
  margin: 25px 0;
}
.facts > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  font-size: 14px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
}
.full {
  width: 100%;
  margin-top: 16px;
}
.hint {
  font-size: 12px !important;
  line-height: 1.9 !important;
  color: #9aa88a !important;
  margin: 12px 0 !important;
}
.stream-panel > svg {
  color: var(--accent);
  margin-bottom: 15px;
}
.stream-panel p {
  font-size: 14px;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 22px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: right;
}
th {
  color: #a4b18f;
  font-weight: 500;
  background: #20291a;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid #36452a;
}
td {
  color: #e0e7d6;
}
.stream-group + .stream-group {
  margin-top: 55px;
}
.stream-row {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.stream-row h3 {
  font-size: 20px;
}
.stream-row p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.stream-row > .btn,
.stream-row > .text-link {
  margin-inline-start: auto;
}
.stream-icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  flex-shrink: 0;
  border: 1px solid #58783b;
  color: var(--accent);
  background: #ff751f0a;
}
.stream-row > .sample {
  margin-inline-start: auto;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.calendar-toolbar h2 {
  font-size: 27px;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flip svg {
  transform: rotate(180deg);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.weekday {
  padding: 14px;
  text-align: center;
  background: #222a1b;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: #bdcaaa;
}
.calendar-cell {
  min-height: 122px;
  background: #171d12;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 12px;
  overflow: hidden;
}
.calendar-cell.blank {
  background: #11160e;
}
.day-number {
  font: 500 23px var(--display);
  color: #b7c2a6;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}
.today .day-number {
  background: var(--accent);
  color: #1b2510;
  border-radius: 50%;
}
.calendar-event {
  font-size: 12px;
  line-height: 1.7;
  display: block;
  width: 100%;
  text-align: right;
  color: #dfffa1;
  background: #31441f;
  border-right: 2px solid var(--accent);
  padding: 6px 7px;
  margin-top: 9px;
  word-break: break-word;
}
.community-event {
  background: #203b3d;
  color: #afe7ed;
  border-color: #d7b66b;
}
.calendar-list-heading {
  margin-top: 40px;
}
.event-list-row {
  display: flex;
  width: 100%;
  text-align: right;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.event-date {
  font: 600 35px var(--display);
  color: var(--accent);
  width: 46px;
  text-align: center;
  border-left: 1px solid #455436;
  padding-left: 18px;
  box-sizing: content-box;
}
.event-date small {
  display: block;
  font: 12px var(--font);
}
.event-list-row b {
  font-size: 18px;
}
.event-list-row > span > small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.event-list-row > .sample {
  margin-inline-start: auto;
}
.event-list-row > svg {
  color: var(--accent);
}
.event-modal p {
  margin: 20px 0;
  color: #becbb0;
  line-height: 1.9;
}
.player-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.player-avatar {
  display: grid;
  place-items: center;
  background: #252f1c;
  border: 1px solid #526b39;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 30px 0;
  color: #bcd589;
}
.player-card h3 {
  font-size: 26px;
  margin-bottom: 13px;
}
.player-card > p {
  color: var(--muted);
  font-size: 15px;
  min-height: 60px;
}
.creator-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.creator-visual {
  height: 290px;
  position: relative;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--creator) 35%, #24170e),
    #161c12
  );
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-visual:before {
  content: "";
  width: 230px;
  height: 230px;
  border: 1px solid var(--creator);
  position: absolute;
  transform: rotate(35deg);
  opacity: 0.25;
  z-index: -1;
}
.creator-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-number {
  position: absolute;
  left: 12px;
  top: -20px;
  font: 800 210px var(--display);
  color: var(--creator);
  opacity: 0.09;
  z-index: -1;
}
.creator-symbol {
  color: var(--creator);
  width: 135px;
  height: 135px;
  border: 1px solid color-mix(in srgb, var(--creator) 30%, transparent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.creator-visual > span:last-child {
  position: absolute;
  bottom: 18px;
  right: 20px;
  background: #17200dcc;
  padding: 4px 12px;
  font-size: 12px;
}
.creator-body {
  padding: 25px;
}
.creator-body h3 {
  font-size: 26px;
}
.creator-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 18px;
  min-height: 50px;
}
.invasion-page {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 20% 50%, #5163336e, transparent 65%);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 55px;
}
.invasion-page h1 {
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: -2px;
  margin: 25px 0;
}
.invasion-page h1 em {
  font-style: normal;
  color: var(--accent);
}
.invasion-page .container > p {
  max-width: 470px;
  color: #b8c6a4;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.invasion-date {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #aab997;
  margin-top: 25px;
  flex-wrap: wrap;
}
.invasion-page-art {
  position: absolute;
  left: -10%;
  width: 65%;
  top: 20%;
  z-index: -1;
}
.invasion-page-art > span {
  position: absolute;
  left: 10%;
  top: -150px;
  font: 900 420px var(--display);
  color: #ff751f12;
}
.invasion-page-art img {
  position: relative;
  transform: rotate(-8deg);
  mask-image: linear-gradient(90deg, black 50%, transparent 100%);
}
.invasion-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}
.invasion-steps article {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px;
}
.invasion-steps b {
  font: 700 46px var(--display);
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.invasion-steps h3 {
  font-size: 24px;
  margin-bottom: 15px;
}
.invasion-steps p {
  font-size: 15px;
  color: var(--muted);
}
.official-links {
  margin-top: 35px;
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}
.official-links h3 {
  margin: 0;
}
.article-body {
  max-width: 900px;
}
.article-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  background: #25301c;
  border: 1px solid var(--line);
}
.article-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  margin: 25px 0;
}
.prose {
  font-size: 19px;
  line-height: 2;
  color: #d0d9c4;
  margin-bottom: 30px;
}
.prose p {
  margin-bottom: 20px;
}
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  min-height: 720px;
  align-items: center;
  padding-block: 70px;
}
.auth-intro img {
  width: 250px;
  margin-bottom: 30px;
}
.auth-intro h1 {
  font-size: 49px;
}
.auth-intro p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 20px;
  max-width: 430px;
}
.auth-card {
  background: var(--panel);
  border: 1px solid #4c5e38;
  padding: 42px;
}
.auth-card h2 {
  font-size: 34px;
  margin-bottom: 26px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.auth-tabs button {
  flex: 1;
  background: transparent;
  color: var(--muted);
  padding: 13px;
}
.auth-tabs .selected {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0;
  font-size: 14px;
  color: #ccd7bd;
}
.field > span > i {
  color: var(--accent);
  font-style: normal;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #465538;
  background: #10170c;
  padding: 12px 13px;
  color: var(--ink);
  border-radius: 0;
  min-height: 48px;
  font-size: 16px;
}
.field input[type="color"] {
  padding: 4px;
  height: 48px;
}
.field input[type="datetime-local"],
.field input[type="date"] {
  direction: ltr;
  text-align: left;
}
.field textarea {
  resize: vertical;
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  margin-block: 20px;
  color: #c8d4b8;
}
.checkbox input {
  accent-color: var(--accent);
  height: 18px;
  width: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-error {
  color: #ffaf97;
  background: #58291933;
  font-size: 14px;
  margin-bottom: 15px;
}
.form-error:not(:empty) {
  padding: 13px;
  border-right: 2px solid #cc7255;
}
.privacy-note {
  font-size: 12px;
  color: #9cae87;
  line-height: 1.9;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 27px;
}
.portal-shortcuts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.subheading {
  margin-top: 30px;
}
.text-button {
  background: transparent;
  font-size: 13px;
  text-decoration: underline;
  color: #c0d4a4;
  padding: 9px;
}
.danger-text {
  color: #ffb39e;
}
.request-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.request-row > div:first-child {
  flex: 1;
  min-width: 150px;
}
.request-row p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.request-row b {
  font-size: 17px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.admin-stats > div {
  background: #202b18;
  border: 1px solid #3c512d;
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.admin-stats b {
  font: 600 44px var(--display);
  color: var(--accent);
}
.admin-stats span {
  font-size: 14px;
  margin-top: 9px;
  color: #b2c2a0;
}
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 6px;
}
.admin-nav button {
  padding: 12px 20px;
  text-align: right;
  background: #171e12;
  color: #aebba0;
  border-right: 2px solid transparent;
  font-size: 14px;
}
.admin-nav button.selected {
  background: #2b3a20;
  color: var(--accent);
  border-color: var(--accent);
}
.admin-content {
  min-width: 0;
}
.admin-record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.admin-record b {
  font-size: 16px;
}
.admin-record p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.admin-record .sample {
  margin-inline-start: 10px;
}
.admin-content > .row-between {
  margin-bottom: 20px;
}
.admin-content > .row-between h2 {
  margin: 0;
}
.upload-label {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  background: #27351c;
  border: 1px dashed #5a7540;
  padding: 12px;
  font-size: 12px;
  color: #c4d8ac;
  margin-top: -7px;
}
.upload-label input {
  max-width: 190px;
  font-size: 11px;
}
dialog > h2 {
  font-size: 28px;
  margin-bottom: 24px;
  padding-left: 34px;
}
dialog > form {
  margin-top: 20px;
}
dialog .btn[type="submit"] {
  width: 100%;
}
dialog .eyebrow {
  text-align: right;
  padding-left: 45px;
}
.image-missing {
  display: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, #000 65%, transparent);
  opacity: 0.8;
}
.no-motion .hero-video {
  display: none;
}
@media (max-width: 980px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .team-profile {
    gap: 22px;
    flex-wrap: wrap;
  }
  .team-profile h1 {
    font-size: 45px;
  }
  .team-profile .team-emblem {
    width: 125px;
    height: 130px;
    font-size: 65px;
  }
  .team-profile > .btn {
    margin-inline-start: 0;
  }
  .auth-page {
    gap: 35px;
  }
  .auth-card {
    padding: 28px;
  }
  .auth-intro h1 {
    font-size: 38px;
  }
  .auth-intro img {
    width: 190px;
  }
  .invasion-page h1 {
    font-size: 60px;
  }
  .invasion-page-art {
    left: -23%;
    width: 78%;
  }
  .invasion-page .container > p {
    max-width: 380px;
  }
  .admin-layout {
    grid-template-columns: 165px 1fr;
  }
  .admin-stats {
    gap: 12px;
  }
  .admin-stats > div {
    padding: 20px;
  }
  .calendar-cell {
    min-height: 110px;
    padding: 8px;
  }
  .calendar-event {
    font-size: 11px;
  }
  .invasion-steps {
    gap: 15px;
  }
  .invasion-steps article {
    padding: 22px;
  }
}
@media (max-width: 640px) {
  .filterbar {
    gap: 15px;
  }
  .search-box {
    width: 100%;
    min-width: 0;
  }
  .filter-tabs {
    gap: 5px;
  }
  .filter-tabs button {
    font-size: 12px;
    padding: 8px 11px;
  }
  .panel {
    padding: 23px;
  }
  .panel h2 {
    font-size: 23px;
  }
  .team-profile {
    padding-block: 35px;
    gap: 20px;
  }
  .team-profile h1 {
    font-size: 35px;
  }
  .team-profile .team-emblem {
    height: 105px;
    width: 100px;
    font-size: 56px;
  }
  .team-profile p {
    font-size: 13px;
  }
  .team-profile .eyebrow {
    font-size: 9px;
  }
  .team-profile > .btn {
    width: 100%;
  }
  .detail-grid {
    gap: 20px;
  }
  .roster-row {
    gap: 12px;
    font-size: 12px;
  }
  .roster-row bdi {
    font-size: 14px;
  }
  .season-links {
    justify-content: flex-start;
    gap: 7px;
  }
  .season-links a {
    font-size: 13px;
    padding: 7px 12px;
  }
  .detail-poster .tournament-poster {
    height: 250px;
  }
  .detail-poster .poster-word {
    font-size: 100px;
    top: 75px;
  }
  .detail-poster .league .poster-word {
    font-size: 70px;
    top: 60px;
  }
  .stream-row {
    padding: 20px 16px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .stream-row h3 {
    font-size: 17px;
  }
  .stream-row > .btn {
    margin-inline-start: 68px;
  }
  .stream-row > .sample {
    margin-inline-start: 0;
  }
  .stream-icon {
    width: 44px;
    height: 44px;
  }
  .calendar-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .calendar-toolbar h2 {
    font-size: 25px;
  }
  .calendar-toolbar .inline-actions {
    width: 100%;
    justify-content: space-between;
  }
  .weekday {
    font-size: 10px;
    padding: 12px 2px;
  }
  .calendar-cell {
    min-height: 73px;
    padding: 5px 3px;
  }
  .day-number {
    font-size: 19px;
    width: 24px;
    height: 24px;
  }
  .calendar-event {
    font-size: 0;
    height: 6px;
    margin-top: 7px;
    padding: 0;
    border: 0;
    background: var(--accent);
    border-radius: 2px;
  }
  .calendar-event.community-event {
    background: var(--blue);
  }
  .calendar-event:focus-visible {
    outline-offset: 3px;
  }
  .event-list-row {
    padding: 15px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .event-list-row b {
    font-size: 16px;
  }
  .event-list-row .event-date {
    font-size: 30px;
    padding-left: 10px;
    width: 38px;
  }
  .event-list-row > .sample {
    margin-inline-start: 62px;
  }
  .event-list-row > svg {
    margin-inline-start: auto;
  }
  .calendar-list-heading h2 {
    font-size: 24px;
  }
  .creator-visual {
    height: 290px;
  }
  .invasion-page {
    min-height: 800px;
    display: block;
    padding-top: 55px;
    margin-bottom: 35px;
  }
  .invasion-page h1 {
    font-size: 53px;
    letter-spacing: -1px;
  }
  .invasion-page .container > p {
    font-size: 16px;
    max-width: 100%;
  }
  .invasion-page-art {
    top: auto;
    bottom: 40px;
    width: 115%;
    left: -10%;
  }
  .invasion-page-art > span {
    font-size: 250px;
    top: -100px;
  }
  .invasion-page-art img {
    mask-image: linear-gradient(0deg, black 80%, transparent);
  }
  .invasion-date {
    font-size: 11px;
    gap: 8px;
  }
  .invasion-steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .invasion-steps article {
    display: grid;
    grid-template-columns: 55px 1fr;
    column-gap: 20px;
    padding: 24px;
  }
  .invasion-steps b {
    grid-row: 1/3;
    margin: 0;
  }
  .invasion-steps h3 {
    font-size: 23px;
    margin-bottom: 10px;
  }
  .invasion-steps p {
    font-size: 14px;
    grid-column: 2;
  }
  .auth-page {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 35px;
  }
  .auth-intro img {
    width: 140px;
    margin-bottom: 25px;
  }
  .auth-intro h1 {
    font-size: 36px;
  }
  .auth-intro p {
    font-size: 15px;
    margin-top: 12px;
  }
  .auth-card {
    padding: 25px;
  }
  .auth-card h2 {
    font-size: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .admin-stats > div {
    padding: 18px;
  }
  .admin-stats b {
    font-size: 35px;
  }
  .admin-stats span {
    font-size: 12px;
  }
  .admin-layout {
    display: block;
  }
  .admin-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .admin-nav button {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 15px;
    border-right: 0;
    border-bottom: 2px solid transparent;
    font-size: 13px;
  }
  .admin-record {
    flex-wrap: wrap;
    gap: 12px;
  }
  .admin-record > div:first-child {
    width: 100%;
  }
  .admin-content {
    padding: 20px;
  }
  .admin-content h2 {
    font-size: 21px;
  }
  .admin-content > .row-between .btn {
    padding: 9px 13px;
  }
  .request-row {
    gap: 12px;
  }
  .portal-shortcuts {
    gap: 8px;
  }
  .portal-shortcuts .btn {
    padding: 9px 13px;
    font-size: 12px;
  }
  dialog {
    padding: 25px 20px;
  }
  .upload-label {
    flex-wrap: wrap;
  }
  .official-links {
    gap: 20px;
  }
  .prose {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-video {
    display: none;
  }
}

.ad-image {
  width: 140px;
  max-height: 85px;
  object-fit: cover;
}
.has-hero-video .hero-art {
  opacity: 0;
}
.has-hero-video .hero-video {
  z-index: 2;
}
.hero-visual .visual-stamp {
  z-index: 3;
}
.team-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

