@font-face {
  font-family: "MinecraftWEK";
  src:
    local("Minecraft"),
    local("Minecraftia"),
    local("Mojangles"),
    url("assets/fonts/Minecraft.ttf") format("truetype"),
    url("assets/fonts/Minecraft.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #070808;
  --surface: #101112;
  --panel: #171819;
  --panel-2: #202224;
  --line: #303336;
  --white: #f2f2ef;
  --paper: #eeeeeb;
  --muted: #a7aaad;
  --dim: #6f7377;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-soft-scrolling {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 255, 255, 0.08), transparent 30rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

body.modal-open {
  overflow: hidden;
}

body.drag-scroll-ready {
  cursor: grab;
}

body.drag-scrolling {
  cursor: grabbing;
  user-select: none;
}

body.drag-scrolling a,
body.drag-scrolling button {
  pointer-events: none;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 14px clamp(18px, 5vw, 84px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 12, 0.88);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #050606;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.06);
}

.logo-text {
  display: grid;
  line-height: 1;
}

.logo-text strong {
  font-size: 19px;
  font-weight: 900;
}

.logo-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a,
.login-link,
.secondary-action {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover,
.login-link:hover,
.secondary-action:hover {
  color: var(--white);
}

.store-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  line-height: inherit;
  text-shadow: none;
  transition: color 160ms ease, text-shadow 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.store-nav-link span {
  position: relative;
  right: auto;
  top: auto;
  display: inline-block;
  width: 14px;
  height: 12px;
  border: 2px solid #22b8ff;
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 rgba(18, 167, 255, 0.13);
  transform: translateY(1px);
  opacity: 0.78;
}

.store-nav-link span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -7px;
  width: 6px;
  height: 7px;
  border: 2px solid #22b8ff;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.store-nav-link::after {
  content: none;
}

.store-nav-link:hover {
  color: #58c8ff;
  border-color: rgba(18, 167, 255, 0.24);
  background: rgba(18, 167, 255, 0.11);
  box-shadow: 0 0 24px rgba(18, 167, 255, 0.16);
  text-shadow: 0 0 18px rgba(18, 167, 255, 0.28);
}

.store-nav-link:hover::after {
  content: none;
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-link,
.nav-ip,
.primary-action,
.secondary-action,
.store-button,
.read-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-ip,
.primary-action,
.read-link {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.login-link,
.secondary-action {
  color: var(--muted);
}

.login-link {
  background: rgba(255, 255, 255, 0.02);
}

.login-modal[hidden] {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.login-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 32px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    #101213;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.58);
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.login-brand {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.login-brand img {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #050606;
  object-fit: contain;
}

.login-brand span {
  display: block;
  margin-bottom: 5px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-brand strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--paper);
  font: inherit;
  outline: none;
}

.login-form input:focus {
  border-color: rgba(242, 242, 239, 0.72);
}

.login-form button[type="submit"] {
  min-height: 52px;
  margin-top: 4px;
  border: 1px solid var(--paper);
  border-radius: 8px;
  background: var(--paper);
  color: var(--black);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.login-form p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.55;
}

.login-view[hidden] {
  display: none;
}

.login-view {
  display: grid;
  gap: 18px;
}

.login-brand.centered {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  margin-bottom: 4px;
  text-align: center;
}

.login-brand.centered img {
  width: 68px;
  height: 68px;
  border-radius: 20px;
}

.login-brand.centered small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.login-form .login-text-action {
  min-height: auto;
  justify-self: end;
  margin: -2px 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d8d6d1;
  cursor: pointer;
  font-weight: 800;
  text-transform: none;
}

.login-switch {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.login-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d8d6d1;
  cursor: pointer;
  font-weight: 900;
}

.register-steps {
  display: grid;
  gap: 18px;
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
}

.register-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.register-steps b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper);
  color: var(--black);
  font-size: 16px;
}

.register-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.register-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.register-steps code {
  padding: 2px 7px;
  border: 1px solid rgba(242, 242, 239, 0.18);
  border-radius: 7px;
  background: rgba(242, 242, 239, 0.07);
  color: #d8d6d1;
}

.hero {
  padding-top: 84px;
  background: #121516;
}

.hero-scene {
  position: relative;
  display: flex;
  min-height: clamp(520px, 66svh, 720px);
  align-items: flex-end;
  padding: clamp(32px, 6vw, 92px) clamp(18px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.78) 0%, rgba(7, 8, 8, 0.34) 38%, rgba(7, 8, 8, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 8, 8, 0.18) 0%, rgba(7, 8, 8, 0.16) 52%, rgba(7, 8, 8, 0.82) 100%),
    url("assets/weknetwork-hero.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(18, 21, 22, 0.95));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.kicker {
  margin: 0 0 14px;
  color: rgba(242, 242, 239, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.48);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.subtitle {
  max-width: 610px;
  color: rgba(242, 242, 239, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.46);
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding-inline: 20px;
}

.hero .primary-action {
  border-color: #16a7ff;
  background: #12a7ff;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 167, 255, 0.26);
}

.hero .secondary-action {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 8, 0.68);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 28px clamp(18px, 6vw, 96px) 34px;
  background: #151818;
}

.hero-stats div {
  display: grid;
  min-height: 82px;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
}

.hero-stats strong {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1;
  font-weight: 900;
}

.hero-stats div:nth-child(1) strong {
  color: #35ffc3;
}

.hero-stats div:nth-child(2) strong {
  color: #39a2ff;
}

.hero-stats div:nth-child(3) strong {
  color: #a855ff;
}

.hero-stats div:nth-child(4) strong {
  color: #ffd038;
}

.hero-stats span {
  color: #bdb6aa;
  font-size: 15px;
}

.section,
.leaderboard-panel,
.topup-panel,
.news-panel,
.connect-panel,
.feature-panel,
.support-panel {
  padding: 96px clamp(18px, 6vw, 96px);
}

.section-title {
  max-width: 850px;
  margin-bottom: 34px;
}

.card-grid,
.rule-list,
.social-grid {
  display: grid;
  gap: 16px;
}

.card-grid,
.rule-list,
.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.rule-list article,
.leaderboard-card,
.season-card,
.news-main,
.news-list article,
.social-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(23, 24, 25, 0.86);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.info-card,
.rule-list article {
  min-height: 220px;
  padding: 24px;
}

.card-index {
  display: block;
  margin-bottom: 58px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 900;
}

.info-card p,
.rule-list p,
.panel-copy p,
.season-card p,
.news-main p,
.store-card p,
.application-card li {
  color: var(--muted);
  line-height: 1.65;
}

.news-panel,
.connect-panel,
.support-panel,
.rules {
  background: rgba(255, 255, 255, 0.018);
}

.leaderboard-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.07), transparent 22rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 46%),
    #090a0b;
}

.leaderboard-panel::after {
  content: "";
  position: absolute;
  right: clamp(-180px, -8vw, -80px);
  top: 52px;
  width: min(42vw, 520px);
  min-width: 300px;
  aspect-ratio: 0.72;
  background:
    linear-gradient(145deg, transparent 0 18%, rgba(255, 255, 255, 0.13) 18% 21%, transparent 21% 35%, rgba(255, 255, 255, 0.08) 35% 38%, transparent 38%),
    linear-gradient(25deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 52%, transparent 52%),
    rgba(255, 255, 255, 0.025);
  clip-path: polygon(48% 0, 88% 6%, 100% 40%, 76% 100%, 38% 92%, 0 48%);
  opacity: 0.5;
  transform: rotate(8deg);
}

.leaderboard-layout,
.news-layout,
.topup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 18px;
  align-items: start;
}

.leaderboard-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
}

.leaderboard-panel .section-title,
.news-panel .section-title,
.connect-panel .section-title {
  grid-column: 1 / -1;
}

.leaderboard-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.board-head,
.board-row {
  display: grid;
  grid-template-columns: 110px minmax(170px, 1fr) 130px;
  gap: 18px;
  align-items: center;
  min-height: 40px;
  padding: 0 76px;
}

.board-head {
  margin-bottom: 10px;
  background: #22252b;
  color: #a7a098;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.board-row {
  margin-bottom: 10px;
  background: rgba(15, 17, 20, 0.74);
  color: var(--white);
  font-weight: 900;
}

.board-row:hover {
  background: rgba(24, 27, 32, 0.9);
}

.board-row span {
  color: #a7a098;
  text-align: center;
}

.board-row b {
  color: var(--white);
  font-size: 15px;
  text-align: left;
}

.top-player {
  background: rgba(25, 28, 34, 0.9);
}

.board-row strong {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.avatar {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.avatar-one {
  background:
    linear-gradient(90deg, transparent 42%, #0b0c0d 42% 58%, transparent 58%),
    linear-gradient(#ffb56f 0 35%, #261714 35% 62%, #e26e3f 62%);
}

.avatar-two {
  background:
    linear-gradient(90deg, #f1c487 0 22%, #111 22% 28%, #f1c487 28% 72%, #111 72% 78%, #f1c487 78%),
    linear-gradient(#f8d59d 0 58%, #ffffff 58%);
}

.avatar-three {
  background:
    linear-gradient(90deg, #67351f 0 18%, #f1c19a 18% 82%, #67351f 82%),
    linear-gradient(#6b321f 0 30%, #f2c29e 30% 68%, #202020 68%);
}

.avatar-four {
  background:
    linear-gradient(90deg, #050505 0 22%, #b7b7b7 22% 34%, #050505 34% 66%, #b7b7b7 66% 78%, #050505 78%),
    linear-gradient(#111 0 55%, #2b2b2b 55%);
}

.avatar-five {
  background:
    linear-gradient(90deg, #cfe7ec 0 28%, #fff 28% 45%, #9fc5d0 45% 74%, #fff 74%),
    linear-gradient(#dff5fa 0 52%, #b2c9d1 52%);
}

.show-more {
  display: flex;
  min-width: 134px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 2px 0 0 auto;
  border: 0;
  background: #101216;
  color: var(--white);
  cursor: default;
  font-weight: 800;
}

.season-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  align-self: stretch;
  border-radius: 0;
  background: rgba(16, 18, 22, 0.64);
}

.season-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.season-stats span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.season-stats strong {
  color: var(--white);
  font-size: 24px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--surface);
}

.feature-panel .panel-copy {
  max-width: 780px;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.application-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.application-card,
.application-contact {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #111314;
  box-shadow: var(--shadow);
}

.application-card {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.application-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.14;
}

.media-card::after {
  background: #f2f2ef;
}

.famous-card::after {
  background: #8d8d8d;
}

.partner-card::after {
  background: #ffffff;
}

.application-badge {
  width: fit-content;
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.application-card h3,
.application-contact h3 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.95;
}

.application-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.application-card a {
  display: inline-flex;
  min-height: 46px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.application-contact {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.application-contact p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-lines {
  display: grid;
  gap: 10px;
}

.contact-lines a {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-lines span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-lines strong {
  color: var(--white);
  font-size: 24px;
}

.topup-panel {
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  background: var(--paper);
  color: var(--black);
}

.topup-panel .kicker,
.topup-intro p {
  color: #55585a;
}

.store-button {
  width: fit-content;
  margin-top: 10px;
  background: var(--black);
  color: var(--white);
}

.store-benefits {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.store-benefits div {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.store-benefits span {
  color: #55585a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-benefits strong {
  font-size: 20px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.store-tabs {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.store-tabs span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 13px;
  color: #55585a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-tabs .active {
  background: var(--black);
  color: var(--white);
}

.store-feature {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 213, 255, 0.16), rgba(255, 90, 173, 0.12), rgba(11, 92, 52, 0.12)),
    #fbfbf8;
}

.store-feature span {
  color: #55585a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-feature strong {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.1;
}

.store-feature a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 13px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  background: #f8f8f5;
  color: var(--black);
  overflow: hidden;
}

.store-card.featured {
  grid-column: auto;
}

.store-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #55585a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;
}

.rank-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  opacity: 0.22;
  pointer-events: none;
}

.rank-card.mvp {
  border-color: rgba(0, 177, 255, 0.42);
}

.rank-card.mvp::before {
  background: linear-gradient(135deg, #0aa8ff, #3ff7ff 44%, transparent 64%);
}

.rank-card.mvp::after {
  background: #00d5ff;
}

.rank-card.pro {
  border-color: rgba(255, 70, 170, 0.42);
}

.rank-card.pro::before {
  background: linear-gradient(135deg, #ff4faf, #ff9ccc 44%, transparent 64%);
}

.rank-card.pro::after {
  background: #ff5aad;
}

.rank-card.vip {
  border-color: rgba(11, 92, 52, 0.52);
}

.rank-card.vip::before {
  background: linear-gradient(135deg, #0b5c34, #1d8b57 44%, transparent 64%);
}

.rank-card.vip::after {
  background: #0b5c34;
}

.rank-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.9;
}

.rank-card p,
.rank-card ul,
.rank-buy {
  position: relative;
  z-index: 1;
}

.rank-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 24px;
  padding-left: 20px;
  color: #4f5254;
  font-weight: 700;
  line-height: 1.45;
}

.rank-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.store-card strong {
  display: block;
  font-size: 22px;
}

.rank-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 13px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-main,
.news-list article,
.social-card {
  padding: 24px;
}

.news-main {
  min-height: 320px;
}

.news-date,
.news-list span,
.social-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-main h3 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.96;
}

.read-link {
  width: fit-content;
  margin-top: 16px;
}

.social-card {
  display: grid;
  min-height: 160px;
  align-content: space-between;
}

.social-card strong {
  font-size: 26px;
}

.social-card small {
  color: var(--dim);
  font-weight: 800;
}

.community-connect {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding-block: clamp(92px, 12vw, 150px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.94), rgba(8, 10, 10, 0.72) 48%, rgba(8, 10, 10, 0.94)),
    linear-gradient(180deg, rgba(8, 10, 10, 0.9), rgba(8, 10, 10, 0.72) 44%, rgba(8, 10, 10, 0.96)),
    url("assets/weknetwork-hero.png") center / cover no-repeat;
}

.community-connect::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 34%, rgba(255, 255, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.06), transparent 16rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 86px 86px;
  opacity: 0.9;
  pointer-events: none;
}

.connect-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(42px, 8vw, 110px);
  width: min(1230px, 100%);
  margin: 0 auto;
  align-items: center;
}

.connect-copy {
  max-width: 620px;
}

.connect-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.98;
}

.connect-copy h2 span {
  display: block;
  color: #e4e1dc;
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.14);
}

.connect-copy > p:not(.kicker) {
  max-width: 560px;
  color: rgba(226, 222, 214, 0.76);
  font-size: 18px;
  line-height: 1.62;
}

.connect-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-top: 20px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(31, 34, 37, 0.88);
  color: #f5f2ec;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  transition: transform 220ms var(--ease-out), background 220ms ease, border-color 220ms ease;
}

.connect-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(42, 46, 50, 0.94);
}

.connect-cta .social-icon,
.connect-card .social-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
}

.connect-cta .social-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.connect-cta b {
  font-size: 24px;
  line-height: 1;
}

.connect-links {
  display: grid;
  gap: 12px;
}

.connect-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  background: rgba(29, 32, 33, 0.9);
  color: #f4f1ea;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
  transition: transform 220ms var(--ease-out), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.connect-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(38, 42, 44, 0.96);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.connect-card.discord .social-icon,
.connect-card.bilibili .social-icon,
.connect-card.youtube .social-icon {
  background: transparent;
}

.connect-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

.connect-card small {
  color: rgba(226, 222, 214, 0.68);
  font-size: 15px;
  font-weight: 700;
}

.creators-body,
.creator-apply-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.07), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%),
    #151818;
}

.creators-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  width: min(1230px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 90px;
}

.creator-sidebar {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.creator-tabs {
  display: grid;
  gap: 6px;
}

.creator-tabs button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(232, 229, 223, 0.68);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}

.creator-tabs button:hover,
.creator-tabs button.active {
  transform: translateX(2px);
  border-color: rgba(242, 242, 239, 0.52);
  background: rgba(242, 242, 239, 0.08);
  color: #f4f1ea;
}

.creator-tabs b {
  min-width: 30px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #d8d6d1;
  font-size: 12px;
  text-align: center;
}

.creator-apply-card {
  display: grid;
  min-height: 216px;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(242, 242, 239, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 16%, rgba(242, 242, 239, 0.1), transparent 8rem),
    rgba(16, 18, 20, 0.86);
  text-align: center;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease;
}

.creator-apply-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 242, 239, 0.46);
  background:
    radial-gradient(circle at 50% 16%, rgba(242, 242, 239, 0.16), transparent 8rem),
    rgba(22, 25, 27, 0.92);
}

.creator-apply-card i {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: rgba(242, 242, 239, 0.12);
  color: #f4f1ea;
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
}

.creator-apply-card strong {
  color: #f4f1ea;
  font-size: 18px;
}

.creator-apply-card span {
  color: rgba(232, 229, 223, 0.66);
  line-height: 1.45;
}

.creator-apply-card b {
  color: #f4f1ea;
}

.creator-content {
  display: grid;
  gap: 38px;
}

.creator-search {
  position: sticky;
  z-index: 5;
  top: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  background: rgba(24, 27, 28, 0.92);
  backdrop-filter: blur(16px);
}

.creator-search span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  color: rgba(232, 229, 223, 0.6);
  font-size: 0;
}

.creator-search span::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(232, 229, 223, 0.62);
  border-radius: 999px;
}

.creator-search span::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(232, 229, 223, 0.62);
  transform: rotate(45deg);
}

.creator-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f4f1ea;
  font: inherit;
  outline: none;
}

.creator-search input::placeholder {
  color: rgba(232, 229, 223, 0.42);
}

.creator-groups,
.creator-group,
.member-tier,
.member-tier-groups {
  display: grid;
  gap: 28px;
}

.member-tier {
  gap: 30px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.member-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-tier-head span {
  position: relative;
  display: inline-flex;
  min-width: 34px;
  align-items: center;
  font-size: 0;
}

.member-tier-head span::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.member-tier.staff .member-tier-head span::before {
  content: "\265B";
  background: #5b0f14;
  box-shadow: 0 0 22px rgba(105, 18, 25, 0.24);
}

.member-tier.helper .member-tier-head span::before {
  content: "";
  background: linear-gradient(180deg, #ffd95a, #d4a515);
  box-shadow: 0 0 24px rgba(255, 217, 90, 0.28);
}

.member-tier.helper .member-tier-head span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 20px;
  height: 5px;
  border-radius: 999px;
  background: #281e08;
  box-shadow:
    9px -6px 0 -1px #281e08,
    -4px 6px 0 -1px #281e08;
  transform: rotate(-38deg);
}

.member-tier.creators .member-tier-head span::before {
  content: "\2692";
  background: #1f7d3f;
  box-shadow: 0 0 22px rgba(31, 125, 63, 0.24);
}

.member-tier.media .member-tier-head span::before {
  content: "TV";
  background: #2f8ec8;
  box-shadow: 0 0 22px rgba(47, 142, 200, 0.24);
}

.member-tier-head h2 {
  margin: 0 auto 0 0;
  font-size: 28px;
}

.member-tier-head b {
  color: rgba(232, 229, 223, 0.6);
  font-size: 14px;
}

.creator-group {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.creator-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.creator-group h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.creator-group h2 span {
  color: #f4f1ea;
  font-size: 18px;
}

.creator-group header b {
  color: rgba(232, 229, 223, 0.66);
  font-size: 14px;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  gap: 16px;
}

.creator-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 178px;
  padding: 16px 12px;
  border: 1px solid rgba(242, 242, 239, 0.24);
  border-radius: 14px;
  background: rgba(23, 25, 26, 0.82);
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease;
}

.creator-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 242, 239, 0.52);
  background: rgba(29, 32, 33, 0.96);
}

.creator-card.owner,
.creator-card.media-owner {
  border-color: rgba(91, 15, 20, 0.74);
}

.creator-card.admin,
.creator-card.media-admin {
  border-color: rgba(224, 74, 82, 0.42);
}

.creator-card.helper {
  border-color: rgba(255, 217, 90, 0.72);
  box-shadow: 0 20px 54px rgba(255, 217, 90, 0.08), 0 20px 48px rgba(0, 0, 0, 0.22);
}

.creator-card.builder {
  border-color: rgba(44, 180, 91, 0.48);
}

.creator-card.developer {
  border-color: rgba(25, 58, 140, 0.68);
}

.creator-card.partner {
  border-color: rgba(151, 57, 224, 0.48);
}

.creator-card.famous {
  border-color: rgba(236, 143, 48, 0.48);
}

.creator-card.media {
  border-color: rgba(77, 180, 255, 0.46);
}

.creator-card .skin {
  width: 64px;
  height: 76px;
}

.creator-card strong {
  max-width: 100%;
  overflow: hidden;
  color: #f7f4ee;
  font-size: 16px;
  text-overflow: ellipsis;
}

.creator-card .member-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.member-pill.owner,
.creator-tabs [data-category="owner"] b {
  background: rgba(91, 15, 20, 0.9);
  color: #ffd7d7;
}

.member-pill.admin,
.creator-tabs [data-category="admin"] b {
  background: rgba(224, 74, 82, 0.22);
  color: #ff777f;
}

.member-pill.helper,
.creator-tabs [data-category="helper"] b {
  background: rgba(255, 217, 90, 0.22);
  color: #ffd95a;
}

.member-pill.builder,
.creator-tabs [data-category="builder"] b {
  background: rgba(44, 180, 91, 0.22);
  color: #5dff98;
}

.member-pill.developer,
.creator-tabs [data-category="developer"] b {
  background: rgba(25, 58, 140, 0.82);
  color: #9eb8ff;
}

.member-pill.media-owner,
.creator-tabs [data-category="media-owner"] b {
  background: rgba(91, 15, 20, 0.9);
  color: #ffd7d7;
}

.member-pill.media-admin,
.creator-tabs [data-category="media-admin"] b {
  background: rgba(224, 74, 82, 0.22);
  color: #ff777f;
}

.member-pill.partner,
.creator-tabs [data-category="partner"] b {
  background: rgba(151, 57, 224, 0.24);
  color: #cf8cff;
}

.member-pill.famous,
.creator-tabs [data-category="famous"] b {
  background: rgba(236, 143, 48, 0.24);
  color: #ffb25e;
}

.member-pill.media,
.creator-tabs [data-category="media"] b {
  background: rgba(77, 180, 255, 0.2);
  color: #8bd3ff;
}

.creator-card small {
  color: rgba(232, 229, 223, 0.58);
  font-weight: 800;
}

.creator-empty {
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(24, 26, 28, 0.82);
}

.creator-apply-page {
  position: relative;
  min-height: 100svh;
  padding-top: 84px;
  background: #171a1b;
  overflow: hidden;
}

.creator-apply-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 290px;
  padding: 76px clamp(18px, 8vw, 150px) 64px;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.82), rgba(7, 8, 8, 0.58)),
    url("assets/weknetwork-hero.png") center / cover no-repeat;
}

.creator-apply-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(40px, 5vw, 62px);
}

.creator-apply-hero p:not(.kicker) {
  color: rgba(232, 229, 223, 0.72);
  font-size: 18px;
}

.apply-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(242, 242, 239, 0.12);
  color: #f4f1ea;
  font-size: 24px;
}

.back-to-creators {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(242, 242, 239, 0.24);
  border-radius: 999px;
  background: rgba(242, 242, 239, 0.12);
  color: #f4f1ea;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms ease, background 180ms ease;
}

.back-to-creators:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 242, 239, 0.42);
  background: rgba(242, 242, 239, 0.18);
}

.back-to-creators[hidden] {
  display: none;
}

.apply-view {
  display: none;
}

.apply-view.is-active {
  display: block;
  animation: apply-view-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.apply-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1010px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 110px;
}

.apply-role-grid {
  width: min(1010px, calc(100% - 36px));
}

.apply-rank-card {
  appearance: none;
  display: grid;
  min-height: 244px;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(24, 26, 28, 0.82);
  color: inherit;
  font: inherit;
  text-align: center;
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease;
}

.apply-rank-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 242, 239, 0.22);
  background: rgba(31, 34, 36, 0.94);
}

.apply-rank-card i {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 12px;
  background: rgba(242, 242, 239, 0.1);
  color: #f4f1ea;
  font-style: normal;
  font-size: 34px;
}

.apply-rank-card.builder {
  border-color: rgba(44, 180, 91, 0.38);
}

.apply-rank-card.builder i {
  background: rgba(25, 108, 59, 0.72);
  color: #61f59a;
}

.apply-rank-card.developer {
  border-color: rgba(23, 69, 156, 0.48);
}

.apply-rank-card.developer i {
  background: rgba(12, 36, 92, 0.82);
  color: #5d91ff;
}

.apply-rank-card.media {
  border-color: rgba(92, 208, 255, 0.42);
}

.apply-rank-card.media i {
  background: rgba(42, 137, 178, 0.42);
  color: #7de2ff;
}

.apply-rank-card.partner-rank {
  border-color: rgba(160, 72, 255, 0.38);
}

.apply-rank-card.partner-rank i {
  background: rgba(160, 72, 255, 0.18);
  color: #b676ff;
}

.apply-rank-card.media-rank {
  border-color: rgba(70, 145, 255, 0.38);
}

.apply-rank-card.media-rank i {
  background: rgba(70, 145, 255, 0.18);
  color: #69aaff;
}

.apply-rank-card.famous-rank {
  border-color: rgba(255, 164, 42, 0.42);
}

.apply-rank-card.famous-rank i {
  background: rgba(255, 164, 42, 0.18);
  color: #ffb44a;
}

.apply-rank-card svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apply-rank-card.famous-rank svg {
  fill: currentColor;
  stroke: currentColor;
}

@keyframes apply-view-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(18px) scale(0.985);
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.apply-rank-card strong {
  color: #f4f1ea;
  font-size: 22px;
}

.apply-rank-card span {
  color: rgba(232, 229, 223, 0.66);
  line-height: 1.5;
}

.apply-step-heading {
  display: none;
}

.apply-step-heading h2,
.apply-requirements h2 {
  max-width: 920px;
  margin-bottom: 12px;
  color: #f4f1ea;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1;
}

.apply-step-heading p:not(.kicker),
.apply-requirements p {
  max-width: 720px;
  color: rgba(232, 229, 223, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.apply-choice-grid {
  padding-top: 36px;
}

.apply-requirements {
  display: grid;
  width: min(1010px, calc(100% - 36px));
  min-height: 520px;
  align-content: center;
  justify-items: center;
  gap: 26px;
  margin: 0 auto;
  padding: 56px 0 110px;
  text-align: center;
}

.apply-requirements ul {
  display: grid;
  gap: 20px;
  margin: 18px 0 20px;
  padding: 0;
  color: #f4f1ea;
  font-size: 20px;
  font-weight: 900;
  list-style: none;
}

.apply-requirements li {
  color: rgba(244, 241, 234, 0.88);
}

.apply-requirements b {
  color: #e8edf1;
}

.apply-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 310px));
  gap: 18px;
  width: min(640px, 100%);
}

.apply-actions button,
.apply-form-card button {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  background: rgba(24, 26, 28, 0.92);
  color: #f4f1ea;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.apply-actions button:hover,
.apply-form-card button:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 242, 239, 0.34);
  background: rgba(34, 37, 40, 0.96);
}

.apply-actions button:last-child,
.apply-form-card button {
  border-color: rgba(50, 200, 255, 0.32);
  background: linear-gradient(135deg, rgba(225, 231, 236, 0.95), rgba(161, 172, 181, 0.95));
  color: #121516;
  box-shadow: 0 18px 48px rgba(210, 220, 228, 0.16);
}

.developer-reqs .apply-actions button:last-child {
  border-color: rgba(242, 242, 239, 0.18);
  background: rgba(24, 26, 28, 0.92);
  color: #f4f1ea;
  box-shadow: none;
}

.developer-reqs .apply-actions button:first-child {
  border-color: rgba(88, 135, 255, 0.36);
  background: linear-gradient(135deg, rgba(88, 135, 255, 0.92), rgba(24, 51, 112, 0.96));
  color: #f4f1ea;
  box-shadow: 0 18px 48px rgba(88, 135, 255, 0.18);
}

.apply-form-card {
  display: grid;
  gap: 26px;
  width: min(1230px, calc(100% - 36px));
  margin: 56px auto 110px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 24px;
  background: rgba(24, 26, 28, 0.78);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.24);
}

.apply-form-card label {
  display: grid;
  gap: 14px;
  color: rgba(232, 229, 223, 0.72);
  font-weight: 800;
  line-height: 1.45;
}

.apply-form-card input,
.apply-form-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  background: rgba(18, 21, 22, 0.82);
  color: #f4f1ea;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.apply-form-card input {
  min-height: 52px;
  padding: 0 18px;
}

.apply-form-card textarea {
  min-height: 160px;
  padding: 18px;
  resize: vertical;
}

.apply-form-card input:focus,
.apply-form-card textarea:focus {
  border-color: rgba(232, 237, 241, 0.72);
  background: rgba(20, 23, 24, 0.96);
  box-shadow: 0 0 0 4px rgba(232, 237, 241, 0.08);
}

.apply-submit-note {
  min-height: 20px;
  color: rgba(232, 229, 223, 0.68);
  text-align: center;
}

.support-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    #202326;
}

.support-hero {
  display: grid;
  min-height: 250px;
  place-items: center;
  margin: -96px calc(clamp(18px, 6vw, 96px) * -1) 56px;
  padding: 96px clamp(18px, 6vw, 96px) 64px;
  text-align: center;
  background:
    linear-gradient(rgba(7, 8, 8, 0.58), rgba(7, 8, 8, 0.78)),
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.14), transparent 18rem),
    linear-gradient(135deg, #111416, #272b2e);
}

.support-hero h2 {
  max-width: 850px;
}

.support-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
}

.support-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.support-title span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}

.support-title h3 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  text-transform: uppercase;
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--dim);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.ticket-panel {
  display: grid;
  gap: 22px;
  align-content: start;
}

.ticket-panel p,
.ticket-panel small {
  color: var(--muted);
  line-height: 1.65;
}

.ticket-checklist {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.ticket-checklist span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticket-checklist ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.ticket-actions {
  display: grid;
  gap: 12px;
}

.ticket-button,
.ticket-secondary {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-button {
  background: var(--white);
  color: var(--black);
}

.ticket-secondary {
  border: 1px solid var(--line);
  color: var(--white);
}

.disabled-link {
  cursor: default;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .nav {
    display: none;
  }

  .logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .hero,
  .leaderboard-layout,
  .news-layout,
  .feature-panel,
  .topup-panel,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-scene {
    min-height: 560px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .rule-list,
  .social-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 14px;
    padding-inline: 14px;
  }

  .logo-text small {
    display: none;
  }

  .login-link {
    display: none;
  }

  .nav-ip {
    min-width: auto;
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(46px, 16vw, 72px);
  }

  .hero {
    padding-top: 76px;
  }

  .hero-scene {
    min-height: 520px;
    padding: 28px 18px;
    background-position: center;
  }

  .subtitle {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px 18px 26px;
  }

  .hero-stats div {
    min-height: 76px;
  }

  .hero-stats span {
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .feature-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .board-head,
  .board-row {
    grid-template-columns: 54px minmax(120px, 1fr) 74px;
    padding: 0 14px;
  }

  .board-row strong {
    gap: 10px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-feature {
    grid-template-columns: 1fr;
  }

  .store-card.featured {
    grid-column: auto;
  }

  .footer {
    flex-direction: column;
  }
}

.checkout-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 255, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, #151718, #080909 58%);
}

.checkout-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 9, 9, 0.82);
  backdrop-filter: blur(16px);
}

.checkout-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-nav a:hover {
  color: var(--white);
}

.checkout-shell {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.checkout-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.checkout-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.9;
}

.checkout-lead {
  max-width: 710px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.checkout-status {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.checkout-status span,
.order-badge,
.payment-form span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-status strong {
  font-size: 24px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.checkout-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(19, 21, 22, 0.9);
  box-shadow: var(--shadow);
}

.checkout-form-card {
  padding: clamp(20px, 4vw, 34px);
}

.checkout-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-card-head span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
}

.checkout-card-head h2 {
  margin: 0;
  font-size: 26px;
}

.checkout-step {
  margin-top: 28px;
}

.checkout-rank-options,
.payment-form {
  display: grid;
  gap: 12px;
}

.checkout-rank-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.checkout-rank-option.active {
  border-color: rgba(242, 242, 239, 0.78);
  background: rgba(255, 255, 255, 0.075);
}

.checkout-rank-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--paper);
}

.checkout-rank-option span {
  display: grid;
  gap: 5px;
}

.checkout-rank-option strong,
.checkout-rank-option b {
  font-size: 22px;
}

.checkout-rank-option small {
  color: var(--muted);
  font-weight: 800;
}

.payment-form label {
  display: grid;
  gap: 8px;
}

.payment-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0d0e;
  color: var(--white);
  font: inherit;
  outline: 0;
}

.payment-form input:focus {
  border-color: rgba(242, 242, 239, 0.78);
}

.payment-methods,
.payment-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-row {
  grid-template-columns: 1fr 1fr;
}

.payment-method {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 900;
}

.payment-method.active {
  background: var(--paper);
  color: var(--black);
}

.checkout-submit {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--black);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-note {
  color: var(--dim);
  line-height: 1.5;
}

.order-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.order-logo {
  width: 100%;
  max-height: 180px;
  border-radius: 8px;
  object-fit: contain;
  background: #050606;
}

.order-card h2 {
  font-size: clamp(34px, 5vw, 54px);
}

.order-card p {
  color: var(--muted);
  line-height: 1.6;
}

.order-lines {
  display: grid;
  gap: 10px;
}

.order-lines div,
.order-total,
.order-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.order-lines span,
.order-total span,
.order-support span {
  color: var(--dim);
  font-weight: 800;
}

.order-total strong {
  font-size: 30px;
}

.order-support a {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .checkout-hero,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .checkout-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-nav {
    width: 100%;
    justify-content: space-between;
  }

  .payment-methods,
  .payment-row {
    grid-template-columns: 1fr;
  }

  .order-card {
    position: static;
  }
}

.store-login-body {
  background:
    linear-gradient(180deg, rgba(132, 83, 0, 0.72) 0 46%, rgba(30, 34, 35, 0.96) 46% 100%),
    radial-gradient(circle at 50% 8%, rgba(255, 190, 68, 0.18), transparent 24rem),
    #1b1f20;
}

.store-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1340px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.store-back,
.store-cart {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  background: rgba(30, 24, 10, 0.32);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.store-back span,
.store-cart span {
  font-size: 20px;
  line-height: 1;
}

.store-cart b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  font-size: 13px;
}

.store-shell {
  width: min(1170px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 78px;
}

.store-login-hero {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 260px;
  color: #ffb835;
}

.store-server-stat,
.store-discord-stat {
  display: grid;
  gap: 5px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-server-stat {
  justify-items: end;
  text-align: right;
}

.store-discord-stat {
  justify-items: start;
}

.store-server-stat strong,
.store-discord-stat strong {
  font-size: 17px;
}

.store-server-stat span,
.store-discord-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.store-emblem {
  display: grid;
  width: clamp(132px, 17vw, 200px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  background: #050606;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.store-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.05);
}

.store-login-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: -8px;
}

.store-side {
  display: grid;
  gap: 16px;
}

.store-guest-card,
.store-category-nav,
.store-login-card {
  background: #222729;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.store-guest-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 100px;
  padding: 14px 20px;
}

.guest-avatar {
  width: 76px;
  height: 76px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 0 20%, #f1b585 20% 42%, transparent 42%),
    linear-gradient(90deg, #242a30 0 18%, #f2c49d 18% 72%, #242a30 72%),
    linear-gradient(#1d2227 0 34%, #f2c49d 34% 70%, #39414a 70%);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.14);
}

.store-guest-card strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
}

.store-guest-card button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 800;
}

.store-category-nav {
  display: grid;
  gap: 2px;
  padding: 16px 0;
}

.store-category-nav a {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 0 28px;
  border-left: 4px solid transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 20px;
  font-weight: 900;
}

.store-category-nav a.active,
.store-category-nav a:hover {
  border-left-color: #ffb01f;
  color: #ffb835;
}

.store-login-card {
  display: grid;
  gap: 18px;
  padding: 18px 22px;
}

.store-login-card label {
  color: #ffb835;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 900;
}

.store-login-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}

.store-login-row input {
  min-height: 58px;
  width: 100%;
  padding: 0 18px;
  border: 0;
  background: #1d2224;
  color: var(--white);
  font: inherit;
  font-size: 20px;
  outline: 0;
}

.store-login-row input::placeholder {
  color: rgba(255, 255, 255, 0.24);
}

.store-login-row button {
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  background: #b97908;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

.store-login-row button span {
  font-size: 30px;
  vertical-align: -2px;
}

.store-login-card small {
  color: rgba(255, 255, 255, 0.46);
  line-height: 1.45;
}

.store-checkout-layout {
  margin-top: 34px;
}

@media (max-width: 900px) {
  .store-login-layout,
  .store-login-hero {
    grid-template-columns: 1fr;
  }

  .store-server-stat,
  .store-discord-stat {
    justify-items: center;
    text-align: center;
  }

  .store-emblem {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .store-header {
    align-items: stretch;
    flex-direction: column;
  }

  .store-back,
  .store-cart {
    width: 100%;
  }

  .store-login-row {
    grid-template-columns: 1fr;
  }

  .store-login-row button {
    width: 100%;
  }
}

/* WEK.GG store identity overrides */
.store-login-body {
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.09), transparent 24rem),
    linear-gradient(180deg, #1c2021 0 46%, #111314 46% 100%);
}

.store-back,
.store-cart {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 10, 11, 0.72);
  color: var(--paper);
  border-radius: 0;
}

.store-cart b {
  background: var(--paper);
  color: var(--black);
}

.store-login-hero {
  color: var(--paper);
}

.store-server-stat strong,
.store-discord-stat strong {
  color: var(--paper);
  letter-spacing: 0.08em;
}

.store-server-stat span,
.store-discord-stat span {
  color: var(--muted);
}

.store-emblem {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: #050606;
}

.store-guest-card,
.store-category-nav,
.store-login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 20, 21, 0.94);
}

.guest-avatar {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, transparent 0 20%, #d9d9d5 20% 42%, transparent 42%),
    linear-gradient(90deg, #1b1f22 0 18%, #e7e2dc 18% 72%, #1b1f22 72%),
    linear-gradient(#111416 0 34%, #d8d1c8 34% 70%, #2d3338 70%);
}

.store-guest-card strong {
  color: var(--paper);
}

.store-guest-card button {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.store-guest-card button:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.store-category-nav a {
  border-left-color: transparent;
  color: var(--muted);
}

.store-category-nav a.active,
.store-category-nav a:hover {
  border-left-color: var(--paper);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
}

.store-login-card label {
  color: var(--paper);
}

.store-login-row input {
  border: 1px solid var(--line);
  border-right: 0;
  background: #0b0c0d;
  color: var(--white);
}

.store-login-row button {
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--black);
  font-weight: 900;
}

.store-login-card small {
  color: var(--muted);
}

.store-checkout-layout .checkout-card {
  background: rgba(15, 17, 18, 0.94);
}

@media (max-width: 560px) {
  .store-login-row input {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

/* Compact login revision */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-shell {
  padding-top: 58px;
}

.store-login-layout {
  display: block;
  max-width: 270px;
  margin-top: 0;
}

.store-side {
  position: relative;
}

.store-guest-card {
  position: relative;
  overflow: visible;
}

.store-login-popover {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  width: min(420px, calc(100vw - 48px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #181a1d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.store-login-popover.open {
  display: grid;
  gap: 8px;
}

.compact-login-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  border-radius: 7px;
  background: #262730;
  overflow: hidden;
}

.compact-login-row::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-left: 12px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #2b3036 0 22%, #e6d2bf 22% 74%, #2b3036 74%),
    linear-gradient(#171a1e 0 38%, #d6bda5 38% 72%, #343b42 72%);
}

.compact-login-row input {
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  outline: 0;
}

.compact-login-row input::placeholder {
  color: rgba(242, 242, 239, 0.34);
}

.compact-login-row button {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(242, 242, 239, 0.8);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.compact-login-row button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.store-login-popover small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.store-checkout-layout {
  margin-top: 34px;
}

@media (max-width: 560px) {
  .store-login-layout {
    max-width: none;
  }

  .store-login-popover {
    width: 100%;
  }
}

/* Tighter store top layout */
.store-shell {
  width: min(1170px, calc(100% - 36px));
  padding-top: 42px;
}

.store-login-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: none;
  margin-top: 0;
}

.store-side {
  align-self: start;
}

.store-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 224px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 48%),
    rgba(18, 20, 21, 0.94);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.overview-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-overview-card h1 {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.9;
}

.store-overview-card p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.overview-stats {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.overview-stats span {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-stats strong {
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
}

.store-checkout-layout {
  margin-top: 24px;
}

.checkout-form-card {
  padding-top: 26px;
}

@media (max-width: 900px) {
  .store-login-layout,
  .store-overview-card {
    grid-template-columns: 1fr;
  }

  .store-overview-card {
    min-height: auto;
  }
}

/* Horizontal store category tabs */
.store-shell {
  padding-top: 34px;
}

.store-account-bar {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.store-account-bar .store-guest-card {
  width: 270px;
}

.store-category-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.store-category-tabs a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  background: rgba(19, 21, 24, 0.92);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.store-category-tabs a:hover,
.store-category-tabs a.active {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(25, 28, 32, 0.98);
}

.store-category-tabs span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.store-checkout-layout {
  margin-top: 0;
}

@media (max-width: 760px) {
  .store-category-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .store-category-tabs {
    grid-template-columns: 1fr;
  }

  .store-account-bar .store-guest-card {
    width: 100%;
  }
}

/* Category dropdown store grid */
.store-category-tabs.has-dropdowns {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 10px;
  align-items: start;
  padding: 18px;
  border-radius: 8px;
  background: rgba(16, 18, 21, 0.72);
}

.store-category-tabs button {
  display: inline-flex;
  min-height: 52px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  background: rgba(19, 21, 24, 0.92);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-category-tabs button:hover,
.store-category-tabs button.active {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(44, 49, 58, 0.9);
}

.store-tab-menu {
  position: relative;
}

.store-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  min-width: 170px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(18, 20, 24, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.store-tab-menu:hover .store-dropdown,
.store-tab-menu:focus-within .store-dropdown {
  display: grid;
  gap: 4px;
}

.store-dropdown button {
  min-height: 36px;
  justify-content: flex-start;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  text-transform: none;
}

.store-dropdown button:hover,
.store-dropdown button.active {
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.store-products-card {
  display: grid;
  gap: 22px;
}

.store-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.store-products-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-products-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.store-product-card {
  display: grid;
  min-height: 245px;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 54%),
    rgba(12, 14, 15, 0.72);
}

.store-product-card span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-product-card h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.96;
}

.store-product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.store-product-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.store-product-buy strong {
  font-size: 22px;
}

.store-product-buy button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.store-product-buy button[data-add-product] {
  border-color: rgba(242, 242, 239, 0.72);
  background: var(--paper);
  color: var(--black);
}

@media (max-width: 1000px) {
  .store-category-tabs.has-dropdowns,
  .store-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .store-category-tabs.has-dropdowns,
  .store-product-grid {
    grid-template-columns: 1fr;
  }

  .store-dropdown {
    position: static;
    display: grid;
    margin-top: 6px;
  }
}

/* Clean dropdown chevrons */
.store-category-tabs .tab-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.78;
  transform: rotate(45deg);
}

.store-tab-menu:hover .tab-chevron,
.store-tab-menu:focus-within .tab-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

/* WEK rank text art */
.rank-preview-art,
.product-rank-art {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 42%),
    #151718;
  color: #54f7ff;
  font-family: "MinecraftWEK", "Press Start 2P", Consolas, "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 18px rgba(84, 247, 255, 0.24);
}

.rank-preview-art {
  min-height: 180px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(38px, 6vw, 70px);
}

.product-rank-art {
  min-height: 84px;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: clamp(22px, 3vw, 34px);
}

.rank-preview-art[data-tone="teal"],
.product-rank-art[data-tone="teal"] {
  color: #16d5d1;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 18px rgba(22, 213, 209, 0.28);
}

.rank-preview-art[data-tone="violet"],
.product-rank-art[data-tone="violet"] {
  color: #d95cff;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 20px rgba(217, 92, 255, 0.3);
}

.order-card .order-logo {
  display: none;
}

/* Store cleanup sync */
.topup-panel .store-card {
  min-height: 300px;
}

.topup-panel .rank-card h3 {
  margin-bottom: 28px;
}

.store-product-features {
  display: grid;
  gap: 7px;
  margin: 0 0 4px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.store-product-features li::marker {
  color: var(--white);
}

.nav a.active-page {
  color: var(--white);
}

.portal-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 74% 10%, rgba(18, 167, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #151819, #070808 62%);
}

.portal-main {
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto;
  padding: 154px 0 86px;
}

.portal-hero {
  position: relative;
  min-height: 430px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16)),
    linear-gradient(135deg, rgba(18, 167, 255, 0.16), transparent 42%),
    #121516;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portal-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.portal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(72px, 12vw, 152px);
}

.portal-hero p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.portal-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.application-command {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 18px;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(18, 21, 22, 0.9);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.application-command span,
.portal-contact-grid span,
.application-tiers article > span,
.grand-board-head span,
.grand-row em {
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-command strong {
  display: block;
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 0.95;
}

.application-command p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.portal-contact-grid {
  display: grid;
  gap: 12px;
}

.portal-contact-grid a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.portal-contact-grid strong {
  margin: 0;
  font-size: 30px;
}

.application-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.application-tiers article {
  position: relative;
  display: grid;
  min-height: 520px;
  align-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #121516;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.application-tiers article::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(18, 167, 255, 0.12);
}

.application-tiers h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.application-tiers p,
.application-tiers li {
  color: var(--muted);
  line-height: 1.65;
}

.application-tiers ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.application-tiers a {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
  margin-top: 34px;
}

.leaderboard-metrics div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.leaderboard-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}

.leaderboard-metrics span {
  color: var(--muted);
}

.grand-board {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(14, 16, 17, 0.88);
  box-shadow: var(--shadow);
}

.grand-board-head,
.grand-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 180px 160px;
  align-items: center;
  gap: 18px;
}

.grand-board-head {
  min-height: 54px;
  padding: 0 22px;
}

.grand-row {
  min-height: 104px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.grand-row.champion {
  border-color: rgba(18, 167, 255, 0.34);
  background: linear-gradient(90deg, rgba(18, 167, 255, 0.16), rgba(255, 255, 255, 0.035));
}

.grand-row span,
.grand-row b {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
}

.grand-row strong {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24px, 3vw, 36px);
}

.grand-row b {
  color: #58c8ff;
  text-align: right;
}

@media (max-width: 1100px) {
  .application-command,
  .application-tiers,
  .leaderboard-metrics {
    grid-template-columns: 1fr;
  }

  .grand-board-head,
  .grand-row {
    grid-template-columns: 76px minmax(0, 1fr) 120px;
  }

  .grand-board-head span:nth-child(3),
  .grand-row em {
    display: none;
  }
}

@media (max-width: 560px) {
  .portal-main {
    width: min(100% - 28px, 1380px);
    padding-top: 118px;
  }

  .portal-hero {
    min-height: 360px;
    padding: 28px;
  }

  .portal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .application-tiers article {
    min-height: auto;
  }

  .grand-board {
    padding: 10px;
  }

  .grand-board-head,
  .grand-row {
    grid-template-columns: 58px minmax(0, 1fr) 82px;
    gap: 10px;
    padding: 0 12px;
  }
}

/* Leaderboard v2 */
.lb-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 96, 31, 0.13), transparent 18rem),
    radial-gradient(circle at 8% 76%, rgba(18, 167, 255, 0.08), transparent 24rem),
    #111414;
}

.lb-topbar {
  position: sticky;
}

.lb-shell {
  width: min(1230px, calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 80px;
}

.version-switch {
  display: flex;
  width: fit-content;
  gap: 12px;
  margin: 0 auto 42px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.version-switch a {
  min-width: 168px;
  padding: 13px 24px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

.version-switch a.active {
  background: #12a7ff;
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 167, 255, 0.24);
}

.lb-card {
  padding: 28px 36px 34px;
  border-radius: 10px;
  background: rgba(27, 29, 31, 0.9);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.4);
}

.mode-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.mode-strip a {
  display: grid;
  min-height: 82px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
}

.mode-strip a.active,
.mode-strip a:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
}

.mode-icon {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.mode-icon.sumo { border: 4px solid #bc7b56; border-left-color: transparent; border-radius: 50%; transform: rotate(20deg); }
.mode-icon.builduhc { background: linear-gradient(135deg, #fff 0 28%, #f07b22 29% 58%, #68432a 59%); clip-path: polygon(18% 0, 92% 12%, 80% 86%, 8% 72%); }
.mode-icon.battle { background: linear-gradient(90deg, #178d29 0 35%, transparent 35% 45%, #0f6e20 45% 70%, transparent 70% 78%, #1baa34 78%); clip-path: polygon(16% 10%, 38% 10%, 45% 80%, 23% 80%, 0 42%, 16% 42%); }
.mode-icon.classic { background: linear-gradient(135deg, transparent 0 36%, #00d5c8 37% 47%, #aa8a55 48% 58%, transparent 59%); }
.mode-icon.classic::after { content: ""; position: absolute; right: 5px; top: 2px; width: 9px; height: 22px; background: #00e2d5; transform: rotate(45deg); }
.mode-icon.pearl { border: 5px solid #00b69b; border-radius: 50%; box-shadow: inset 0 0 0 5px #073d3a; }
.mode-icon.skywars { border: 5px solid #9eea76; border-radius: 50%; box-shadow: inset 0 0 0 5px #356b52; }
.mode-icon.archer { background: linear-gradient(135deg, transparent 0 38%, #bd8e27 39% 48%, transparent 49%), radial-gradient(circle at 72% 20%, #806221 0 15%, transparent 16%); }
.mode-icon.fireball { border-radius: 50%; background: radial-gradient(circle at 60% 45%, #ff9b25 0 18%, #5d2a14 19% 38%, #1b1b1b 39% 56%, transparent 57%); }
.mode-icon.bed { background: linear-gradient(#b51d2b 0 48%, #f4f4f0 49% 62%, #71402a 63%); transform: skewY(-20deg); }
.mode-icon.boxing { background: #19e0c9; clip-path: polygon(18% 20%, 48% 20%, 58% 38%, 80% 38%, 72% 72%, 36% 82%, 12% 58%); }

.lb-table-head,
.lb-player-row {
  display: grid;
  grid-template-columns: 82px 78px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 18px;
}

.lb-table-head {
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lb-table-head span:nth-child(2) { grid-column: 3; }
.lb-table-head span:nth-child(3) { grid-column: 4; text-align: right; }

.lb-list { display: grid; gap: 20px; }

.lb-player-row {
  min-height: 74px;
  color: var(--paper);
}

.lb-player-row > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  background: #2b303a;
  color: var(--paper);
  font-size: 26px;
  font-weight: 900;
}

.lb-player-row.rank-one > span { background: #12a7ff; box-shadow: 0 12px 30px rgba(18,167,255,.28); }
.lb-player-row strong { font-size: 19px; }
.lb-player-row b { color: #b7b0a8; font-size: 22px; text-align: right; }

.skin,
.skin-large,
.skin-head {
  display: inline-block;
  image-rendering: pixelated;
  background: linear-gradient(#111 0 34%, #f0a078 35% 52%, #111 53%);
  box-shadow: inset 8px 0 #050505, inset -8px 0 #050505;
}

.skin { width: 64px; height: 64px; }
.skin-large { width: 120px; height: 140px; }
.skin-head { width: 36px; height: 36px; }
.skin-dionyo { background: linear-gradient(#e3c47c 0 28%, #fff 29% 42%, #8d5731 43%); }
.skin-zaquez { background: linear-gradient(#4b1d13 0 32%, #e7a17d 33% 55%, #15191d 56%); }
.skin-expert { background: linear-gradient(#050505 0 42%, #a66c44 43% 58%, #0a0b0e 59%); }
.skin-eronce { background: linear-gradient(#edf7f5 0 42%, #dff4f1 43%); }
.skin-hevax { background: linear-gradient(#050505 0 40%, #ff9b25 41% 55%, #101010 56%); }
.skin-hotcloud { background: linear-gradient(#d88a00 0 42%, #f1b17e 43% 62%, #2b1a12 63%); }

.profile-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  width: min(1230px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 80px;
}

.profile-side {
  position: sticky;
  top: 104px;
  display: grid;
  min-height: 470px;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(27,29,31,.86);
}

.status-dot { color: var(--muted); text-align: center; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.status-dot small { display: block; margin-top: 6px; font-weight: 700; text-transform: none; }
.profile-side > strong { font-size: 24px; }
.ace-badge { padding: 8px 22px; border-radius: 999px; background: #11b8c6; color: white; font-weight: 900; }
.profile-side p { margin: 0; color: var(--dim); }
.club-box { width: 100%; padding: 18px; border: 1px solid rgba(18,167,255,.16); border-radius: 12px; background: rgba(18,167,255,.07); }
.club-box span { display: block; color: var(--dim); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.club-box b { color: #58c8ff; font-size: 18px; }

.profile-main,
.practice-main { display: grid; gap: 18px; }

.practice-overview {
  position: relative;
  min-height: 414px;
  padding: 34px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(18,21,22,.92), rgba(18,21,22,.58)), url("assets/weknetwork-hero.png") center / cover;
  overflow: hidden;
}

.overview-label,
.view-more { position: relative; z-index: 1; color: #58c8ff; font-weight: 900; text-transform: uppercase; }
.view-more { position: absolute; right: 28px; top: 28px; }
.overview-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-top: 28px; }
.overview-grid > div { padding: 18px; border-radius: 10px; background: rgba(0,0,0,.34); }
.overview-grid span { color: var(--dim); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.overview-grid strong { display: block; margin: 8px 0; font-size: 52px; line-height: 1; }
.top-ladders { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.top-ladders b { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; background: rgba(255,255,255,.04); }

.activity-card,
.classic-games-strip,
.elo-graph,
.match-history { padding: 18px; border-radius: 12px; background: rgba(17,20,21,.72); }
.activity-row,
.match-row { display: grid; align-items: center; color: var(--paper); }
.activity-row { grid-template-columns: 58px 44px minmax(0,1fr) 100px 160px; min-height: 56px; }
.activity-row > span { width: 44px; padding: 8px 0; border-radius: 7px; background: rgba(38,220,126,.14); color: #35ff86; text-align: center; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.activity-row small, .match-row small { display: block; color: var(--dim); }
.activity-row b { color: #35ff86; }

.classic-games-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.classic-games-strip h2 { grid-column: 1 / -1; font-size: 20px; }
.classic-games-strip div { padding: 14px; border-radius: 10px; background: rgba(18,167,255,.06); }
.classic-games-strip strong { display: inline-block; margin: 10px 8px 0 0; font-size: 20px; }
.classic-games-strip span { color: var(--dim); font-size: 11px; text-transform: uppercase; }

.practice-main h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(40px, 6vw, 62px); }
.back-link { color: var(--muted); font-weight: 900; }
.practice-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.practice-cards a { min-height: 148px; padding: 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(17,20,21,.82), rgba(17,20,21,.54)), url("assets/weknetwork-hero.png") center / cover; }
.practice-cards h3 { display: flex; align-items: center; gap: 10px; }
.practice-cards p { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 12px; border-radius: 8px; background: rgba(0,0,0,.34); }
.practice-cards span { color: var(--dim); font-size: 12px; text-transform: uppercase; }
.practice-cards em { display: block; color: #58c8ff; text-align: right; font-style: normal; font-weight: 900; }

.elo-graph { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: center; }
.elo-graph strong { font-size: 54px; }
.elo-chart {
  min-width: 0;
}

.elo-chart svg {
  display: block;
  width: 100%;
  height: 210px;
  overflow: visible;
}

.elo-grid line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.elo-area {
  fill: rgba(18, 201, 255, 0.13);
}

.elo-line {
  fill: none;
  stroke: #18c9ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(24, 201, 255, 0.22));
}

.elo-point {
  cursor: pointer;
  pointer-events: all;
}

.elo-point .elo-hit {
  fill: transparent;
  stroke: none;
  filter: none;
  pointer-events: all;
}

.elo-point > circle:not(.elo-hit) {
  fill: #18c9ff;
  stroke: rgba(232, 252, 255, 0.74);
  stroke-width: 1.5;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(24, 201, 255, 0.24));
  pointer-events: all;
  transition: r 140ms ease, fill 140ms ease, opacity 140ms ease, stroke-width 140ms ease;
}

.elo-graph:hover .elo-point > circle:not(.elo-hit),
.elo-chart:hover .elo-point > circle:not(.elo-hit),
.elo-graph:focus-within .elo-point > circle:not(.elo-hit) {
  opacity: 0.78;
}

.elo-tooltip {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.elo-tooltip rect {
  fill: rgba(0, 0, 0, 0.96);
  stroke: rgba(24, 201, 255, 0.72);
  stroke-width: 1;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 16px rgba(24, 201, 255, 0.14));
}

.elo-tooltip text {
  fill: #e8fcff;
  font-size: 12px;
  font-weight: 900;
}

.elo-point:hover > circle:not(.elo-hit),
.elo-point:focus > circle:not(.elo-hit) {
  r: 6;
  fill: #23d8ff;
  opacity: 1;
  stroke: #ffffff;
  stroke-width: 2;
}

.elo-graph:hover .elo-point:hover > circle:not(.elo-hit),
.elo-chart:hover .elo-point:hover > circle:not(.elo-hit),
.elo-graph:focus-within .elo-point:focus > circle:not(.elo-hit) {
  opacity: 1;
}

.elo-point:hover .elo-tooltip,
.elo-point:focus .elo-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.elo-dates text {
  fill: rgba(232, 252, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
}
.match-history h2 { display: flex; justify-content: space-between; font-size: 22px; }
.match-history h2 a { color: #58c8ff; font-size: 14px; }
.match-row { grid-template-columns: 46px 140px minmax(0,1fr) 80px minmax(0,1fr) 24px; min-height: 66px; border-radius: 8px; }
.match-row:hover { background: rgba(255,255,255,.035); }
.match-row strong { display: flex; align-items: center; gap: 10px; }
.match-row b { text-align: center; }
.match-row em { color: var(--muted); font-size: 34px; font-style: normal; }

.match-shell { width: min(1168px, calc(100% - 36px)); margin: 0 auto; padding: 128px 0 90px; }
.match-summary { display: grid; grid-template-columns: repeat(3,1fr); max-width: 740px; margin: 26px auto 18px; border-radius: 10px; background: rgba(24,25,36,.84); }
.match-summary div { display: grid; grid-template-columns: 42px 1fr; gap: 4px 14px; padding: 22px; align-items: center; }
.match-summary span { color: var(--dim); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.match-summary strong { grid-column: 2; font-size: 20px; }
.duel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.duel-card { padding: 26px; border-radius: 10px; background: rgba(24,22,34,.86); box-shadow: var(--shadow); }
.duel-card header { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 14px; }
.duel-card .skin-head { width: 74px; height: 74px; }
.duel-card strong { font-size: 28px; }
.duel-card em { padding: 4px 12px; border-radius: 999px; background: #20cc62; color: #07100a; font-size: 12px; font-style: normal; text-transform: uppercase; }
.duel-card b { display: block; color: #35ff86; font-size: 28px; }
.duel-card b.loss { color: #ff3f4f; }
.inventory { display: grid; grid-template-columns: repeat(9,1fr); gap: 2px; padding: 10px; border-radius: 8px; background: rgba(0,0,0,.22); }
.inventory i { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.04); background: rgba(255,255,255,.035); }
.inventory .sword { background: linear-gradient(135deg, transparent 0 38%, #dadada 39% 49%, #7d6233 50% 60%, transparent 61%); }
.inventory .diamond-sword { background: linear-gradient(135deg, transparent 0 38%, #00e1d1 39% 49%, #7d6233 50% 60%, transparent 61%); }
.match-stats { margin-top: 16px; padding: 16px; border-radius: 8px; background: rgba(0,0,0,.16); }
.match-stats p { display: flex; justify-content: space-between; color: var(--muted); }
.match-stats b { color: #ff3f4f; font-size: 18px; }

@media (max-width: 1000px) {
  .profile-shell, .duel-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .mode-strip, .practice-cards, .classic-games-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-grid, .elo-graph, .match-summary { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .lb-table-head, .lb-player-row { grid-template-columns: 56px 54px minmax(0,1fr) 80px; gap: 10px; }
  .mode-strip { grid-template-columns: 1fr 1fr; }
  .match-row { grid-template-columns: 36px minmax(0,1fr) 50px; }
  .match-row > span, .match-row strong:last-of-type { display: none; }
}

/* Texture pass: real leaderboard icons */
.mode-icon {
  width: 34px;
  height: 34px;
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  transform: none !important;
  image-rendering: pixelated;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.42));
}

.mode-icon::before,
.mode-icon::after {
  content: none !important;
}

.mode-icon.classic { background-image: url("assets/icons/classic.png") !important; }
.mode-icon.sumo { background-image: url("assets/icons/sumo.png") !important; }
.mode-icon.builduhc { background-image: url("assets/icons/build-uhc.png") !important; }
.mode-icon.battle { background-image: url("assets/icons/battle-rush.png") !important; }
.mode-icon.pearl { background-image: url("assets/icons/pearl.png") !important; }
.mode-icon.skywars { background-image: url("assets/icons/skywars.png") !important; }
.mode-icon.archer { background-image: url("assets/icons/archer.png") !important; }
.mode-icon.fireball { background-image: url("assets/icons/fireball.png") !important; }
.mode-icon.bed { background-image: url("assets/icons/bed.png") !important; }
.mode-icon.boxing { background-image: url("assets/icons/boxing.png") !important; }
.mode-icon.bridge { background-image: url("assets/icons/bridge.png") !important; }
.mode-icon.nodebuff { background-image: url("assets/icons/no-debuff.png") !important; }
.mode-icon.finaluhc { background-image: url("assets/icons/final-uhc.png") !important; }

.mode-strip .mode-icon {
  width: 40px;
  height: 40px;
}

.practice-cards .mode-icon,
.match-row .mode-icon,
.activity-row .mode-icon {
  width: 30px;
  height: 30px;
}

.pixel-hearts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3px;
  max-width: 230px;
}

.pixel-hearts i {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("assets/icons/heart.png") center / contain no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.lb-card {
  background:
    radial-gradient(circle at 70% 12%, rgba(18, 167, 255, 0.045), transparent 24rem),
    rgba(27, 29, 31, 0.93);
}

.mode-strip a {
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mode-strip a:hover,
.mode-strip a.active {
  transform: translateY(-2px);
}

.lb-player-row {
  border-radius: 12px;
  padding: 4px 10px 4px 0;
  transition: background 160ms ease, transform 160ms ease;
}

.lb-player-row:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(4px);
}

.practice-cards a,
.practice-overview,
.duel-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Leaderboard polish pass */
.lb-body {
  background:
    linear-gradient(180deg, rgba(9, 10, 10, 0.7), rgba(9, 10, 10, 0.92)),
    radial-gradient(circle at 92% 12%, rgba(255, 88, 33, 0.1), transparent 20rem),
    radial-gradient(circle at 6% 78%, rgba(18, 167, 255, 0.08), transparent 24rem),
    #101313;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.lb-body::before {
  opacity: 0.32;
}

.lb-topbar {
  min-height: 78px;
  background: rgba(9, 10, 10, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.045);
}

.lb-shell {
  width: min(1232px, calc(100% - 48px));
  padding-top: 120px;
}

.version-switch {
  gap: 14px;
  margin-bottom: 38px;
  padding: 8px;
  background: rgba(10, 11, 12, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.version-switch a {
  min-width: 170px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #b6b0a9;
}

.version-switch a.active {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.lb-card {
  padding: 26px 36px 34px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 12px;
  background:
    radial-gradient(circle at 72% 8%, rgba(18, 167, 255, 0.035), transparent 24rem),
    rgba(25, 27, 29, 0.88);
  box-shadow: 0 34px 130px rgba(0, 0, 0, 0.34);
}

.mode-strip {
  gap: 10px 18px;
  margin-bottom: 34px;
}

.mode-strip a {
  min-height: 76px;
  gap: 10px;
  color: #a9a39d;
  font-size: 15px;
}

.mode-strip a:hover,
.mode-strip a.active {
  color: #f0ede8;
}

.mode-strip a:hover {
  background: rgba(255, 255, 255, 0.022);
}

.mode-strip a.active {
  background: transparent;
  box-shadow: none;
}

.mode-strip .mode-icon {
  width: 34px;
  height: 34px;
}

.lb-table-head {
  grid-template-columns: 80px 84px minmax(0, 1fr) 130px;
  margin: 0 0 14px;
  padding: 0 0 0 0;
}

.lb-list {
  gap: 14px;
}

.lb-player-row {
  grid-template-columns: 80px 84px minmax(0, 1fr) 130px;
  min-height: 78px;
  padding: 0 8px 0 0;
  border-radius: 12px;
}

.lb-player-row:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(2px);
}

.lb-player-row > span {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #2a303a;
  font-size: 25px;
}

.lb-player-row.rank-one > span {
  background: linear-gradient(180deg, #22bdff, #0c98df);
  box-shadow: 0 12px 30px rgba(18, 167, 255, 0.24);
}

.lb-player-row strong {
  font-size: 18px;
  letter-spacing: 0;
}

.lb-player-row b {
  color: #a9a39d;
  font-size: 22px;
}

.skin,
.skin-head,
.skin-large {
  position: relative;
  background: none !important;
  box-shadow: none !important;
  overflow: visible;
}

.skin::before,
.skin-head::before,
.skin-large::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 34%;
  height: 28%;
  transform: translateX(-50%);
  background: var(--skin-hair, #111);
  box-shadow: inset 0 -12px var(--skin-face, #f0a078);
}

.skin::after,
.skin-large::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30%;
  width: 46%;
  height: 58%;
  transform: translateX(-50%);
  background: var(--skin-body, #111);
  box-shadow:
    -18px 6px 0 -4px var(--skin-arm, #111),
    18px 6px 0 -4px var(--skin-arm, #111),
    -9px 43px 0 -4px var(--skin-leg, #111),
    9px 43px 0 -4px var(--skin-leg, #111);
}

.skin-head::before {
  width: 100%;
  height: 100%;
  box-shadow: inset 0 -15px var(--skin-face, #f0a078);
}

.skin-dionyo { --skin-hair: #e8c978; --skin-face: #f1d9a1; --skin-body: #9a5f34; --skin-arm: #9a5f34; --skin-leg: #8a532f; }
.skin-zaquez { --skin-hair: #4b1d13; --skin-face: #e7a17d; --skin-body: #15191d; --skin-arm: #15191d; --skin-leg: #111; }
.skin-expert { --skin-hair: #050505; --skin-face: #a66c44; --skin-body: #0b0d10; --skin-arm: #0b0d10; --skin-leg: #0b0d10; }
.skin-eronce { --skin-hair: #edf7f5; --skin-face: #dff4f1; --skin-body: #e7faf9; --skin-arm: #dff4f1; --skin-leg: #d7eeee; }
.skin-hevax { --skin-hair: #050505; --skin-face: #ff9b25; --skin-body: #101010; --skin-arm: #101010; --skin-leg: #101010; }
.skin-hotcloud { --skin-hair: #d88a00; --skin-face: #f1b17e; --skin-body: #21130d; --skin-arm: #21130d; --skin-leg: #21130d; }

.profile-shell {
  width: min(1238px, calc(100% - 48px));
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  padding-top: 96px;
}

.profile-side {
  min-height: 470px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(25, 27, 29, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.profile-side > strong {
  font-size: 24px;
}

.ace-badge {
  background: linear-gradient(180deg, #16cbd2, #0ea9b0);
  box-shadow: 0 12px 26px rgba(17, 184, 198, 0.18);
}

.club-box {
  background: rgba(18, 167, 255, 0.06);
  border-color: rgba(18, 167, 255, 0.18);
}

.practice-overview {
  min-height: 314px;
  padding: 28px 34px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(13, 17, 20, 0.92), rgba(13, 17, 20, 0.68)),
    url("assets/weknetwork-hero.png") center / cover;
}

.overview-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  margin-top: 24px;
}

.overview-grid > div {
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(7, 8, 9, 0.42);
  backdrop-filter: blur(8px);
}

.overview-grid strong {
  font-size: clamp(40px, 5vw, 56px);
  word-break: normal;
}

.top-ladders {
  align-items: center;
}

.top-ladders b {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.035);
}

.activity-card,
.classic-games-strip,
.elo-graph,
.match-history {
  background: rgba(13, 16, 17, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.18);
}

.classic-games-strip {
  display: block;
  padding: 18px;
}

.classic-games-strip h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 21px;
}

.classic-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.classic-game-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  min-height: 130px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    rgba(17, 23, 31, 0.72);
  color: #f3f1ec;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.classic-game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 167, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0, rgba(18, 167, 255, 0.1), transparent 10rem),
    rgba(19, 26, 35, 0.82);
}

.classic-game-card b {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
}

.classic-game-card .mode-icon {
  width: 24px;
  height: 24px;
}

.classic-game-card span {
  display: grid;
  gap: 2px;
  color: rgba(232, 229, 223, 0.58);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.classic-games-strip .classic-game-card span {
  color: rgba(232, 229, 223, 0.58);
  font-size: 10px;
}

.classic-game-card strong {
  color: #f4f2ee;
  font-size: 18px;
}

.activity-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.activity-row {
  min-height: 58px;
  border-radius: 8px;
  padding-inline: 8px;
}

.activity-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.practice-main h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 5.2vw, 58px);
}

.practice-cards {
  gap: 12px;
}

.practice-cards a {
  min-height: 148px;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(16, 20, 23, 0.72), rgba(16, 20, 23, 0.52)),
    url("assets/weknetwork-hero.png") center / cover;
  box-shadow: 0 22px 70px rgba(0,0,0,.2);
}

.practice-cards p {
  margin-bottom: 8px;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(8px);
}

.match-history h2 {
  margin-bottom: 10px;
}

.match-row {
  min-height: 66px;
  padding: 0 12px;
  border-radius: 9px;
}

.match-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.match-shell {
  padding-top: 130px;
}

.match-summary {
  overflow: hidden;
  background: rgba(24, 25, 36, 0.78);
  box-shadow: 0 22px 80px rgba(0,0,0,.24);
}

.duel-card {
  background:
    radial-gradient(circle at 50% 0, rgba(18, 167, 255, 0.08), transparent 18rem),
    rgba(24, 22, 34, 0.88);
}

.inventory {
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  padding: 10px;
}

.inventory i {
  min-height: 50px;
  border-color: rgba(255,255,255,.035);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
}

@media (max-width: 1000px) {
  .profile-shell {
    width: min(100% - 32px, 1238px);
  }
}

/* Leaderboard fidelity pass: real skin renders, denser glass, smoother spacing */
.lb-topbar .nav {
  gap: clamp(30px, 3.8vw, 54px);
}

.lb-topbar .nav a {
  min-width: auto;
  letter-spacing: 0;
}

.lb-topbar .store-nav-link {
  gap: 8px;
  padding: 10px 16px;
  margin-left: 0;
  border-radius: 999px;
  color: #f2f4f5;
  background: rgba(18, 167, 255, 0.1);
  border: 1px solid rgba(18, 167, 255, 0.22);
  box-shadow: 0 12px 34px rgba(18, 167, 255, 0.08);
}

.lb-topbar .store-nav-link:hover {
  background: rgba(18, 167, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(18, 167, 255, 0.16);
}

.lb-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.035), transparent 18rem),
    radial-gradient(circle at 88% 12%, rgba(18, 167, 255, 0.04), transparent 18rem),
    rgba(24, 26, 28, 0.9);
}

.mode-strip {
  grid-template-columns: repeat(7, minmax(116px, 1fr));
}

.mode-strip a {
  border-radius: 12px;
}

.mode-strip a:hover,
.mode-strip a.active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 14px 34px rgba(0, 0, 0, 0.18);
}

.mode-strip a.active {
  box-shadow: none;
}

.lb-table-head {
  color: rgba(232, 229, 223, 0.42);
}

.lb-list {
  padding-bottom: 8px;
}

.lb-player-row {
  position: relative;
  border: 1px solid transparent;
}

.lb-player-row::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 160ms ease;
}

.lb-player-row:hover::before {
  opacity: 1;
}

.skin,
.skin-head,
.skin-large {
  display: inline-block;
  image-rendering: pixelated;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35));
}

.skin::before,
.skin::after,
.skin-head::before,
.skin-head::after,
.skin-large::before,
.skin-large::after {
  content: none !important;
}

.skin { width: 70px; height: 70px; }
.skin-large { width: 124px; height: 154px; }
.skin-head { width: 38px; height: 38px; background-position: center !important; }

.skin.skin-slepp,
.skin-large.skin-slepp { background-image: url("assets/skins/slepp-body.png") !important; }
.skin.skin-dionyo,
.skin-large.skin-dionyo { background-image: url("assets/skins/dionyo-body.png") !important; }
.skin.skin-zaquez,
.skin-large.skin-zaquez { background-image: url("assets/skins/zaquez-body.png") !important; }
.skin.skin-expert,
.skin-large.skin-expert { background-image: url("assets/skins/expertbot-body.png") !important; }
.skin.skin-eronce,
.skin-large.skin-eronce { background-image: url("assets/skins/eronce-body.png") !important; }
.skin.skin-hevax,
.skin-large.skin-hevax { background-image: url("assets/skins/hevax-body.png") !important; }
.skin.skin-hotcloud,
.skin-large.skin-hotcloud { background-image: url("assets/skins/hotcloud-body.png") !important; }

.skin-head.skin-slepp { background-image: url("assets/skins/slepp-head.png") !important; }
.skin-head.skin-dionyo { background-image: url("assets/skins/dionyo-head.png") !important; }
.skin-head.skin-zaquez { background-image: url("assets/skins/zaquez-head.png") !important; }
.skin-head.skin-expert { background-image: url("assets/skins/expertbot-head.png") !important; }
.skin-head.skin-eronce { background-image: url("assets/skins/eronce-head.png") !important; }
.skin-head.skin-hevax { background-image: url("assets/skins/hevax-head.png") !important; }
.skin-head.skin-hotcloud { background-image: url("assets/skins/hotcloud-head.png") !important; }

.profile-side {
  padding-top: 24px;
  gap: 14px;
}

.profile-side .skin-large {
  margin: 4px 0 0;
}

.practice-overview {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055), 0 30px 100px rgba(0, 0, 0, 0.32);
}

.overview-label,
.view-more,
.practice-cards em,
.match-history h2 a {
  color: #49c9ff;
}

.activity-card,
.classic-games-strip,
.elo-graph,
.match-history {
  border-radius: 14px;
}

.activity-row,
.match-row {
  position: relative;
  z-index: 0;
}

.activity-row::before,
.match-row::before {
  content: "";
  position: absolute;
  inset: 5px 0;
  z-index: -1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  opacity: 0;
  transition: opacity 160ms ease;
}

.activity-row:hover::before,
.match-row:hover::before {
  opacity: 1;
}

.duel-card .skin-head {
  width: 74px;
  height: 74px;
}

@media (max-width: 1100px) {
  .mode-strip {
    grid-template-columns: repeat(4, minmax(112px, 1fr));
  }
}

/* Interaction polish: make state changes visible instead of fake-static */
.lb-current-mode {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 2px 4px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.lb-current-mode span {
  color: rgba(232, 229, 223, 0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lb-current-mode strong {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f3f1ec;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
}

.lb-current-mode .mode-icon {
  width: 34px;
  height: 34px;
}

.lb-list {
  opacity: 1;
  transform: none;
}

.lb-list.is-ready {
  opacity: 1;
  transform: none;
}

.lb-list.is-ready .lb-player-row:nth-child(-n + 6) {
  animation: rowRise 260ms ease both;
}

.lb-list.is-ready .lb-player-row:nth-child(2) { animation-delay: 25ms; }
.lb-list.is-ready .lb-player-row:nth-child(3) { animation-delay: 50ms; }
.lb-list.is-ready .lb-player-row:nth-child(4) { animation-delay: 75ms; }
.lb-list.is-ready .lb-player-row:nth-child(5) { animation-delay: 100ms; }
.lb-list.is-ready .lb-player-row:nth-child(6) { animation-delay: 125ms; }

@keyframes rowRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mode-strip a {
  position: relative;
  overflow: hidden;
}

.mode-strip a::after {
  content: "";
  position: absolute;
  inset: auto 18px 9px;
  height: 2px;
  border-radius: 999px;
  background: #22b8ff;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mode-strip a.active::after {
  opacity: 0;
  transform: scaleX(0);
}

.mode-strip a:active {
  transform: translateY(0) scale(0.98);
}

.inventory {
  grid-template-rows: repeat(4, 1fr);
  gap: 3px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(5, 6, 10, 0.46);
}

.inventory i {
  position: relative;
  border-radius: 2px;
  min-height: 52px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.035),
    inset -1px -1px 0 rgba(0, 0, 0, 0.22);
}

.inventory .sword,
.inventory .diamond-sword {
  background:
    linear-gradient(135deg, transparent 0 32%, rgba(255, 255, 255, 0.98) 33% 43%, #8a6b38 44% 54%, transparent 55%),
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .boxing-glove {
  background:
    url("assets/icons/boxing.png") center / 26px 26px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .potion {
  background:
    url("assets/icons/no-debuff.png") center / 24px 24px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .ender-pearl {
  background:
    url("assets/icons/pearl.png") center / 25px 25px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .bow,
.inventory .rod {
  background:
    url("assets/icons/archer.png") center / 26px 26px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .lava {
  background:
    radial-gradient(circle at 54% 46%, #ff8b1d 0 18%, #b23117 19% 34%, transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .water {
  background:
    radial-gradient(circle at 54% 46%, #2bc7ff 0 18%, #105cbb 19% 34%, transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .blocks {
  background:
    url("assets/icons/bridge.png") center / 27px 27px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .golden-apple {
  background:
    url("assets/icons/skywars.png") center / 25px 25px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .iron-sword {
  background:
    linear-gradient(135deg, transparent 0 32%, #e4e7e4 33% 43%, #8a6b38 44% 54%, transparent 55%),
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .pickaxe {
  background:
    url("assets/icons/final-uhc.png") center / 25px 25px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .axe,
.inventory .shears,
.inventory .bed,
.inventory .steak {
  background:
    url("assets/icons/bed.png") center / 25px 25px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .fireball-item {
  background:
    url("assets/icons/fireball.png") center / 25px 25px no-repeat,
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .arrow-item {
  background:
    linear-gradient(135deg, transparent 0 34%, #d8d0bd 35% 42%, #74562b 43% 50%, transparent 51%),
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.inventory .diamond-sword {
  background:
    linear-gradient(135deg, transparent 0 32%, #00e7da 33% 43%, #8a6b38 44% 54%, transparent 55%),
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.08));
}

.duel-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.duel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 167, 255, 0.18);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

/* Final asset color guard: never bleach pixel textures */
.mode-icon,
.mode-strip .mode-icon,
.practice-cards .mode-icon,
.match-row .mode-icon,
.activity-row .mode-icon,
.classic-game-card .mode-icon,
.lb-current-mode .mode-icon,
.match-summary .mode-icon {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: initial !important;
}

.mode-icon.classic { background: transparent url("assets/icons/classic.png") center / contain no-repeat !important; }
.mode-icon.sumo { background: transparent url("assets/icons/sumo.png") center / contain no-repeat !important; }
.mode-icon.builduhc { background: transparent url("assets/icons/build-uhc.png") center / contain no-repeat !important; }
.mode-icon.battle { background: transparent url("assets/icons/battle-rush.png") center / contain no-repeat !important; }
.mode-icon.pearl { background: transparent url("assets/icons/pearl.png") center / contain no-repeat !important; }
.mode-icon.skywars { background: transparent url("assets/icons/skywars.png") center / contain no-repeat !important; }
.mode-icon.archer { background: transparent url("assets/icons/archer.png") center / contain no-repeat !important; }
.mode-icon.fireball { background: transparent url("assets/icons/fireball.png") center / contain no-repeat !important; }
.mode-icon.bed { background: transparent url("assets/icons/bed.png") center / contain no-repeat !important; }
.mode-icon.boxing { background: transparent url("assets/icons/boxing.png") center / contain no-repeat !important; }
.mode-icon.bridge { background: transparent url("assets/icons/bridge.png") center / contain no-repeat !important; }
.mode-icon.nodebuff { background: transparent url("assets/icons/no-debuff.png") center / contain no-repeat !important; }
.mode-icon.finaluhc { background: transparent url("assets/icons/final-uhc.png") center / contain no-repeat !important; }

.skin,
.skin-head,
.skin-large {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Use real <img> elements for pixel textures; CSS backgrounds blur tiny PNGs. */
.mode-icon {
  display: inline-grid !important;
  place-items: center !important;
  overflow: visible !important;
  background: none !important;
}

.mode-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.mode-icon:has(img) {
  background: none !important;
  background-image: none !important;
}

/* Profile compact pass + friends card */
.profile-shell {
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 30px !important;
  padding-top: 82px !important;
  transition: opacity 180ms ease, transform 180ms ease;
}

.profile-page.is-loading-player .profile-shell {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.profile-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.profile-rail .profile-side {
  position: static !important;
}

.profile-side {
  min-height: 0 !important;
  padding: 18px !important;
  gap: 9px !important;
}

.profile-side .skin-large {
  width: 104px !important;
  height: 132px !important;
  margin: 0 !important;
}

.profile-side p {
  font-size: 14px;
}

.friends-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(20, 23, 25, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.friends-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #e9e6df;
  font-weight: 900;
}

.friends-card header span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  background:
    radial-gradient(circle at 5px 6px, #b8b1a9 0 3px, transparent 4px),
    radial-gradient(circle at 11px 6px, #b8b1a9 0 3px, transparent 4px),
    linear-gradient(#b8b1a9 0 0) 3px 11px / 10px 4px no-repeat;
}

.friends-card header b {
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(18, 167, 255, 0.14);
  color: #58c8ff;
  font-size: 12px;
  text-align: center;
}

.friends-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.friend-avatar {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ece8df;
  text-decoration: none;
  border-radius: 5px;
  outline: none;
}

.friends-grid .skin-head {
  width: 34px !important;
  height: 34px !important;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.friend-avatar span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 30;
  min-width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(88, 200, 255, 0.28);
  border-radius: 7px;
  background: rgba(10, 14, 18, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38), 0 0 18px rgba(18, 167, 255, 0.13);
  color: #f4f1ea;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.friend-avatar:hover .skin-head,
.friend-avatar:focus-visible .skin-head {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(88, 200, 255, 0.42), 0 8px 22px rgba(18, 167, 255, 0.18) !important;
  filter: brightness(1.08);
}

.friend-avatar:hover span,
.friend-avatar:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.practice-overview {
  min-height: 260px !important;
  padding: 22px 30px !important;
}

.overview-grid {
  margin-top: 18px !important;
}

.overview-grid > div {
  padding: 12px 16px !important;
}

.overview-grid strong {
  font-size: clamp(34px, 4vw, 48px) !important;
}

.top-ladders b {
  min-height: 38px !important;
}

.activity-card h2 {
  margin-bottom: 10px !important;
  font-size: 24px !important;
}

.activity-row {
  min-height: 48px !important;
}

.profile-page .overview-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
  gap: 10px !important;
}

.profile-page .top-ladders {
  grid-column: 1 / 2 !important;
}

.profile-page .overview-grid > div:last-child {
  grid-column: 2 / 3;
  grid-row: 2;
}

.profile-page .top-ladders b {
  padding: 8px 10px !important;
  font-size: 14px;
}

.profile-page .practice-overview {
  min-height: 380px !important;
}

/* Current interaction pass: structured mode details, club page, refined cards */
.lb-player-row.rank-1 > span {
  background: linear-gradient(180deg, #ffd86a, #d79d1e) !important;
  color: #15110a;
  box-shadow: 0 16px 34px rgba(255, 190, 46, 0.22) !important;
}

.lb-player-row.rank-2 > span {
  background: linear-gradient(180deg, #d9e3ea, #8b99a5) !important;
  color: #101316;
  box-shadow: 0 16px 34px rgba(188, 205, 218, 0.16) !important;
}

.lb-player-row.rank-3 > span {
  background: linear-gradient(180deg, #d99a63, #8f5730) !important;
  color: #160e08;
  box-shadow: 0 16px 34px rgba(206, 125, 62, 0.16) !important;
}

.club-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.club-link:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 75, 255, 0.32);
  background: rgba(167, 34, 255, 0.12);
}

.classic-games-strip summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  color: #f3f1ec;
  font-size: 21px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.classic-games-strip summary::-webkit-details-marker {
  display: none;
}

.classic-games-strip summary span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: -3px;
  background: url("assets/icons/classic.png") center / contain no-repeat;
  image-rendering: pixelated;
}

.classic-games-strip summary b {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(243, 241, 236, 0.75);
  transition: transform 160ms ease;
}

.classic-games-strip summary b::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(232, 252, 255, 0.76);
  border-bottom: 2px solid rgba(232, 252, 255, 0.76);
  transform: translateY(-2px) rotate(45deg);
}

.classic-games-strip:not([open]) summary b {
  transform: rotate(-90deg);
}

.classic-game-card {
  cursor: default;
}

.classic-game-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.055);
}

.mode-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mode-stat-card {
  min-height: 204px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(18, 22, 28, 0.64), rgba(18, 22, 28, 0.42)),
    url("assets/weknetwork-hero.png") center / cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.mode-stat-card header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-stat-card header i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #ff42c8;
  box-shadow: 0 0 22px rgba(255, 66, 200, 0.34);
}

.mode-stat-card header strong {
  font-size: 20px;
}

.mode-stat-card header b {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #f4f1ea;
  font-size: 12px;
}

.mode-stat-card div {
  display: grid;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
}

.mode-stat-card span {
  color: rgba(232, 229, 223, 0.58);
  font-size: 11px;
}

.mode-stat-card div strong {
  color: #f4f1ea;
  font-size: 24px;
}

.mode-elo-graph {
  grid-template-columns: 150px minmax(0, 1fr);
}

.refined-empty p {
  margin: 20px 0 4px;
  color: rgba(243, 241, 236, 0.78);
  font-size: 18px;
  font-weight: 700;
}

.club-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 90px;
}

.back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(243, 241, 236, 0.78);
  font-weight: 900;
  text-decoration: none;
}

.club-hero,
.club-panel {
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 14px;
  background: rgba(24, 26, 28, 0.82);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.22);
}

.club-hero {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 172px;
  padding: 34px 40px;
}

.club-emblem {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(220, 75, 255, 0.22);
  border-radius: 12px;
  background: rgba(167, 34, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.club-emblem span,
.club-emblem::before,
.club-emblem::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #ec51ff;
  box-shadow: 0 0 18px rgba(236, 81, 255, 0.2);
}

.club-emblem span {
  width: 22px;
  height: 22px;
  top: 22px;
  left: 30px;
}

.club-emblem::before,
.club-emblem::after {
  width: 16px;
  height: 16px;
  top: 30px;
}

.club-emblem::before {
  left: 17px;
}

.club-emblem::after {
  right: 17px;
}

.club-emblem span::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 25px;
  width: 58px;
  height: 18px;
  border-radius: 18px 18px 7px 7px;
  background: #ec51ff;
}

.club-hero h1 {
  margin: 0 0 8px;
  font-size: 50px;
}

.club-hero p {
  margin: 0;
  color: rgba(232, 229, 223, 0.72);
  font-size: 18px;
}

.club-panel {
  margin-top: 24px;
  padding: 22px 24px;
}

.club-panel header,
.club-panel h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
  font-size: 20px;
}

.club-panel header b {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(243, 241, 236, 0.72);
  font-size: 13px;
}

.club-search {
  display: block;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(232, 229, 223, 0.38);
}

.club-members {
  display: grid;
  gap: 8px;
}

.club-member {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #f4f1ea;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.club-member:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.035);
}

.club-member span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(209, 50, 255, 0.12);
  color: #ed53ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.club-member.leader span {
  background: rgba(255, 211, 60, 0.12);
  color: #ffd94a;
}

@media (max-width: 900px) {
  .mode-detail-cards,
  .classic-games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .profile-rail {
    position: static;
  }
}

/* Global premium interaction pass */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.9, 0.2, 1.18);
  --cyan: #32c8ff;
  --mint: #35ffc3;
  --gold: #ffd76a;
  --pink: #ff66d8;
}

::selection {
  background: rgba(50, 200, 255, 0.34);
  color: #fff;
}

body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  opacity: 0.86;
  transform: translateZ(0);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(50, 200, 255, 0.055), transparent 30%),
    linear-gradient(240deg, rgba(255, 215, 106, 0.04), transparent 34%),
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.topbar {
  transition:
    min-height 260ms var(--ease-out),
    padding 260ms var(--ease-out),
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.topbar.is-scrolled {
  min-height: 72px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 8, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

.logo,
.nav a,
.login-link,
.nav-ip,
.primary-action,
.secondary-action,
.store-button,
.rank-button,
.ticket-button,
.store-category-tabs button,
.store-product-buy button,
.store-guest-card button,
.compact-login-row button,
.back-pill,
.lb-player-row,
.club-member,
.classic-game-card,
.practice-cards a,
.social-card,
.info-card {
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.logo-badge,
.login-brand img {
  transition: transform 360ms var(--ease-snap), border-color 260ms ease, box-shadow 260ms ease;
}

.logo:hover .logo-badge,
.login-brand img:hover {
  transform: translateY(-2px) scale(1.045);
  border-color: rgba(50, 200, 255, 0.38);
  box-shadow: 0 18px 44px rgba(50, 200, 255, 0.12), 0 14px 44px rgba(0, 0, 0, 0.34);
}

.nav a:not(.store-nav-link) {
  position: relative;
  padding-block: 10px;
  transition: color 220ms ease, transform 220ms var(--ease-out);
}

.nav a:not(.store-nav-link)::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0;
  transition: left 260ms var(--ease-out), right 260ms var(--ease-out), opacity 220ms ease;
}

.nav a:not(.store-nav-link):hover {
  transform: translateY(-1px);
}

.nav a:not(.store-nav-link):hover::after {
  left: 0;
  right: 0;
  opacity: 1;
}

button,
a {
  touch-action: manipulation;
}

.login-link,
.nav-ip,
.primary-action,
.secondary-action,
.store-button,
.rank-button,
.ticket-button,
.store-category-tabs button,
.store-product-buy button,
.store-guest-card button,
.compact-login-row button,
.read-link {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease,
    filter 220ms ease,
    transform 220ms var(--ease-out);
}

.login-link::before,
.nav-ip::before,
.primary-action::before,
.secondary-action::before,
.store-button::before,
.rank-button::before,
.ticket-button::before,
.store-category-tabs button::before,
.store-product-buy button::before,
.store-guest-card button::before,
.compact-login-row button::before,
.read-link::before,
.social-card::before,
.info-card::before,
.classic-game-card::before,
.practice-cards a::before,
.lb-player-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 45%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 260ms ease, transform 520ms var(--ease-out);
}

.login-link:hover,
.nav-ip:hover,
.primary-action:hover,
.secondary-action:hover,
.store-button:hover,
.rank-button:hover,
.ticket-button:hover,
.store-category-tabs button:hover,
.store-product-buy button:hover,
.store-guest-card button:hover,
.compact-login-row button:hover,
.read-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.login-link:hover::before,
.nav-ip:hover::before,
.primary-action:hover::before,
.secondary-action:hover::before,
.store-button:hover::before,
.rank-button:hover::before,
.ticket-button:hover::before,
.store-category-tabs button:hover::before,
.store-product-buy button:hover::before,
.store-guest-card button:hover::before,
.compact-login-row button:hover::before,
.read-link:hover::before,
.social-card:hover::before,
.info-card:hover::before,
.classic-game-card:hover::before,
.practice-cards a:hover::before,
.lb-player-row:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.is-pressing {
  animation: tapPulse 260ms var(--ease-snap);
}

.tap-ripple::after {
  content: "";
  position: absolute;
  left: var(--tap-x, 50%);
  top: var(--tap-y, 50%);
  z-index: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: tapRipple 560ms ease-out;
}

.tap-ripple > * {
  position: relative;
  z-index: 1;
}

@keyframes tapPulse {
  0% { transform: translateY(-1px) scale(1); }
  45% { transform: translateY(1px) scale(0.975); }
  100% { transform: translateY(-1px) scale(1); }
}

@keyframes tapRipple {
  0% { opacity: 0.42; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(24); }
}

.hero-scene {
  isolation: isolate;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(50, 200, 255, 0.18), transparent 26%),
    linear-gradient(255deg, rgba(255, 215, 106, 0.12), transparent 32%);
  mix-blend-mode: screen;
  opacity: 0.52;
  pointer-events: none;
}

.hero-copy {
  animation: heroLift 760ms var(--ease-out) both;
}

@keyframes heroLift {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero .primary-action {
  background: linear-gradient(135deg, #12a7ff, #29d3ff 48%, #57e2c2);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 44px rgba(18, 167, 255, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.hero .secondary-action,
.login-link {
  background: rgba(255, 255, 255, 0.055);
}

.hero-stats {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(18, 21, 22, 0.94);
}

.hero-stats div {
  position: relative;
  border-radius: 12px;
  transition: transform 260ms var(--ease-out), background 260ms ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.035);
}

.info-card,
.rule-list article,
.leaderboard-card,
.season-card,
.news-main,
.news-list article,
.social-card,
.store-card,
.rank-card,
.application-card,
.checkout-card,
.checkout-form-card,
.order-card,
.store-guest-card,
.store-login-card,
.store-overview-card,
.store-products-card,
.store-product-card,
.lb-card,
.activity-card,
.friends-card,
.mode-stat-card,
.duel-card,
.club-hero,
.club-panel {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018) 52%, rgba(50, 200, 255, 0.035)),
    rgba(16, 18, 20, 0.82);
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(18px);
}

.info-card,
.social-card,
.store-product-card,
.lb-card,
.activity-card,
.practice-cards a,
.classic-game-card,
.duel-card,
.club-member {
  position: relative;
  overflow: hidden;
  transition:
    transform 300ms var(--ease-out),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 300ms ease,
    filter 260ms ease;
}

.info-card:hover,
.social-card:hover,
.store-product-card:hover,
.lb-card:hover,
.activity-card:hover,
.practice-cards a:hover,
.classic-game-card:hover,
.duel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(50, 200, 255, 0.28);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(50, 200, 255, 0.08) inset;
}

.lb-player-row,
.club-member {
  transition: transform 240ms var(--ease-out), background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.lb-player-row:hover,
.club-member:hover {
  transform: translateX(5px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.login-modal {
  opacity: 0;
  transition: opacity 220ms ease;
}

.login-modal.is-open {
  opacity: 1;
}

.login-backdrop {
  transition: opacity 220ms ease, backdrop-filter 220ms ease;
}

.login-dialog {
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 260ms var(--ease-out), opacity 220ms ease;
}

.login-modal.is-open .login-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.login-form input,
.store-login-card input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.login-form input:focus,
.store-login-card input:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 4px rgba(50, 200, 255, 0.12), 0 14px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(7px);
  transition:
    opacity 640ms ease,
    transform 760ms var(--ease-out),
    filter 760ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 620px) {
  .lb-shell {
    width: min(100% - 24px, 1230px);
    padding-top: 96px;
  }

  .lb-card {
    padding: 20px 14px 22px;
    overflow: hidden;
  }

  .version-switch {
    margin-bottom: 28px;
  }

  .version-switch a {
    min-width: 0;
    padding-inline: 22px;
  }

  .lb-current-mode {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .mode-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mode-strip a {
    min-height: 72px;
    gap: 8px;
    padding: 8px 4px;
    text-align: center;
  }

  .mode-strip a span {
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lb-table-head,
  .lb-player-row {
    grid-template-columns: 48px 46px minmax(72px, 1fr) minmax(58px, auto);
    gap: 8px;
  }

  .lb-table-head {
    padding-inline: 2px;
  }

  .lb-player-row {
    min-height: 64px;
  }

  .lb-player-row > span {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 21px;
  }

  .skin {
    width: 46px;
    height: 56px;
  }

  .lb-player-row strong {
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lb-player-row b {
    min-width: 0;
    overflow: hidden;
    font-size: 17px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .community-connect {
    min-height: auto;
    padding-block: 78px;
  }

  .connect-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .connect-copy h2 {
    font-size: clamp(38px, 11vw, 56px);
  }
}

@media (max-width: 560px) {
  .community-connect {
    padding: 66px 14px;
  }

  .connect-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 84px;
    padding: 16px;
  }

  .connect-card .social-icon {
    width: 42px;
    height: 42px;
  }

  .connect-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .creators-shell {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  .creator-sidebar,
  .creator-search {
    position: static;
  }

  .creator-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-apply-hero,
  .apply-rank-grid {
    grid-template-columns: 1fr;
  }

  .back-to-creators {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .creators-shell {
    width: min(100% - 24px, 1230px);
    gap: 26px;
  }

  .creator-tabs {
    grid-template-columns: 1fr;
  }

  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .creator-card {
    min-height: 160px;
  }

  .creator-apply-hero {
    padding: 48px 18px;
  }

  .apply-rank-grid {
    padding-top: 28px;
  }
}

/* Application page cleanup */
.application-page-v2 {
  padding-top: 132px;
}

.application-hero-v2 {
  display: grid;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.application-hero-v2 h1 {
  max-width: 880px;
  margin-bottom: 16px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.86;
}

.application-hero-v2 p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.application-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.application-toolbar a {
  display: grid;
  gap: 7px;
  min-height: 86px;
  align-content: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 20, 21, 0.74);
}

.application-toolbar span,
.application-tiers-v2 article > span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-toolbar strong {
  color: var(--white);
  font-size: 20px;
}

.application-tiers-v2 {
  gap: 12px;
  margin-top: 22px;
}

.application-tiers-v2 article {
  min-height: 360px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(17, 19, 20, 0.82);
  box-shadow: none;
}

.application-tiers-v2 article::after {
  display: none;
}

.application-tiers-v2 h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.92;
}

.application-tiers-v2 p,
.application-tiers-v2 li {
  color: var(--muted);
  line-height: 1.55;
}

.application-tiers-v2 ul {
  gap: 8px;
  padding-left: 18px;
}

.application-tiers-v2 a {
  min-height: 44px;
  padding: 0 16px;
  border-color: rgba(242, 242, 239, 0.82);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
}

.application-tiers-v2 a:hover,
.application-toolbar a:hover {
  border-color: rgba(242, 242, 239, 0.72);
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 900px) {
  .application-toolbar,
  .application-tiers-v2 {
    grid-template-columns: 1fr;
  }

  .application-page-v2 {
    padding-top: 112px;
  }
}

/* Requested WEK tier colors */
.rank-preview-art[data-tone="gray"],
.product-rank-art[data-tone="gray"] {
  color: #9a9da1;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.62),
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 14px rgba(154, 157, 161, 0.18);
}

.rank-preview-art[data-tone="white"],
.product-rank-art[data-tone="white"] {
  color: #f2f2ef;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.62),
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 16px rgba(242, 242, 239, 0.18);
}

.rank-preview-art[data-tone="cyan"],
.product-rank-art[data-tone="cyan"] {
  color: #54f7ff;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.62),
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 20px rgba(84, 247, 255, 0.32);
}

/* Final rank color lock: WEK gray, WEK+ white, WEK++ cyan-blue. */
.store-product-card[data-product-card="wek"] .product-rank-art {
  color: #9a9da1;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.62),
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 14px rgba(154, 157, 161, 0.18);
}

.store-product-card[data-product-card="wek-plus"] .product-rank-art,
.store-product-card[data-product-card="wek-to-plus"] .product-rank-art {
  color: #f2f2ef;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.62),
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 16px rgba(242, 242, 239, 0.2);
}

.store-product-card[data-product-card="wek-plus-plus"] .product-rank-art,
.store-product-card[data-product-card="plus-to-plus-plus"] .product-rank-art,
.store-product-card[data-product-card="wek-to-plus-plus"] .product-rank-art,
.rank-preview-art[data-tone="violet"] {
  color: #54f7ff;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.62),
    0 2px 0 rgba(0, 0, 0, 0.62),
    0 0 20px rgba(84, 247, 255, 0.32);
}

.guest-avatar {
  background-color: #111416;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  image-rendering: pixelated;
}

/* Move login popover to the right of the guest card */
.store-guest-card {
  z-index: 40;
}

.store-login-popover {
  top: 50%;
  left: calc(100% + 12px);
  transform: translateY(-50%);
  width: min(430px, calc(100vw - 520px));
  min-width: 340px;
}

@media (max-width: 760px) {
  .store-login-popover {
    top: calc(100% + 10px);
    left: 0;
    width: min(420px, calc(100vw - 48px));
    min-width: 0;
    transform: none;
  }
}

/* Compact order summary */
.order-card {
  gap: 12px;
  padding: 20px;
}

.order-card .rank-preview-art {
  min-height: 112px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.order-card h2 {
  margin-bottom: 4px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 0.95;
}

.order-card p {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.order-lines div,
.order-total,
.order-support {
  padding: 11px 0;
}

.order-total strong {
  font-size: 26px;
}

/* Make every store category look like rank cards */
.store-product-card .product-rank-art {
  overflow: hidden;
  padding-inline: 10px;
  white-space: nowrap;
}

.store-product-card h3 {
  min-height: 2em;
}

.store-product-card p {
  min-height: 3.1em;
}

.store-product-features {
  min-height: 4.4em;
}

/* Leaderboard/profile fidelity pass: activity scrollbar, ELO states, cyan mode cards. */
.activity-card [data-recent-activity] {
  max-height: 252px;
  overflow-y: scroll;
  padding-right: 32px;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

.activity-card:has([data-recent-activity]) {
  position: relative;
}

.activity-card:has([data-recent-activity])::before,
.activity-card:has([data-recent-activity])::after {
  display: none !important;
}

.activity-card [data-recent-activity]::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.activity-card [data-recent-activity]::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 4px rgba(6, 9, 10, 0.72);
}

.activity-card [data-recent-activity]::-webkit-scrollbar-thumb {
  min-height: 58px;
  border: 3px solid rgba(6, 9, 10, 0.92);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(123, 232, 255, 0.96), rgba(25, 187, 255, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 18px rgba(50, 200, 255, 0.22);
}

.activity-card [data-recent-activity]::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(162, 241, 255, 1), rgba(45, 205, 255, 0.82));
}

.activity-scrollbar {
  position: absolute;
  top: 64px;
  right: 18px;
  bottom: 24px;
  z-index: 8;
  width: 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 12px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  touch-action: none;
}

.activity-scrollbar.is-hidden {
  display: none;
}

.activity-scrollbar-thumb {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 0;
  min-height: 58px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(146, 238, 255, 0.98), rgba(31, 194, 255, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 0, 0, 0.12),
    0 0 18px rgba(50, 200, 255, 0.26);
  transition: background 140ms ease, box-shadow 140ms ease;
}

.activity-scrollbar:hover .activity-scrollbar-thumb,
.activity-scrollbar.is-dragging .activity-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(189, 247, 255, 1), rgba(54, 213, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -8px 16px rgba(0, 0, 0, 0.14),
    0 0 24px rgba(50, 200, 255, 0.38);
}

/* Dove-smooth motion pass: slower ease-out instead of mechanical snaps. */
:root {
  --ease-dove: cubic-bezier(0.18, 0.86, 0.22, 1);
  --ease-glide: cubic-bezier(0.12, 0.78, 0.18, 1);
}

html {
  scroll-behavior: smooth;
}

.topbar,
.nav a,
.login-link,
.nav-ip,
.primary-action,
.secondary-action,
.store-button,
.rank-button,
.ticket-button,
.store-product-card,
.lb-card,
.lb-player-row,
.activity-card,
.activity-row,
.match-row,
.friends-card,
.friend-avatar .skin-head,
.practice-cards a,
.classic-game-card,
.mode-stat-card,
.duel-card,
.club-member,
.info-card,
.social-card {
  transition-timing-function: var(--ease-dove) !important;
}

.activity-row,
.match-row,
.lb-player-row,
.club-member {
  transition-duration: 360ms !important;
}

.activity-row:hover,
.match-row:hover {
  transform: translateX(4px);
}

.activity-scrollbar {
  transition:
    opacity 320ms var(--ease-dove),
    background 360ms var(--ease-dove),
    box-shadow 360ms var(--ease-dove);
}

.activity-scrollbar-thumb {
  will-change: transform, height;
  transition:
    height 360ms var(--ease-glide),
    background 320ms var(--ease-dove),
    box-shadow 320ms var(--ease-dove);
}

.reveal-on-scroll {
  transition:
    opacity 780ms var(--ease-dove),
    transform 920ms var(--ease-glide),
    filter 920ms var(--ease-dove) !important;
}

.tap-ripple::after {
  animation-duration: 760ms !important;
  animation-timing-function: var(--ease-dove) !important;
}

.is-pressing {
  animation-duration: 360ms !important;
  animation-timing-function: var(--ease-dove) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Responsive motion correction: no delayed wheel chase, only light visual polish. */
.activity-card [data-recent-activity] {
  scroll-behavior: auto !important;
  overscroll-behavior: contain;
}

.activity-row,
.match-row,
.lb-player-row,
.club-member {
  transition-duration: 180ms !important;
}

.activity-row:hover,
.match-row:hover {
  transform: none !important;
}

.activity-scrollbar-thumb {
  transition:
    background 180ms var(--ease-dove),
    box-shadow 180ms var(--ease-dove),
    opacity 180ms var(--ease-dove) !important;
}

.activity-card,
.lb-card,
.mode-stat-card,
.classic-game-card,
.practice-cards a,
.duel-card {
  transition-duration: 220ms !important;
}

@media (max-width: 1180px) {
  .apply-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .apply-role-grid {
    grid-template-columns: 1fr;
  }

  .apply-actions {
    grid-template-columns: 1fr;
  }
}

.activity-row {
  border-radius: 10px;
}

.activity-row.win > span {
  background: rgba(42, 255, 135, 0.14) !important;
  color: #35ff86 !important;
}

.activity-row.loss > span {
  background: rgba(255, 64, 82, 0.14) !important;
  color: #ff4d5f !important;
}

.activity-row b.elo-positive,
.match-row .elo-positive {
  color: #35ff86 !important;
  text-shadow: 0 0 16px rgba(53, 255, 134, 0.16);
}

.activity-row b.elo-negative,
.match-row .elo-negative,
.duel-card b.loss {
  color: #ff4052 !important;
  text-shadow: 0 0 16px rgba(255, 64, 82, 0.16);
}

.practice-mode-page .mode-detail-cards {
  gap: 14px;
}

.practice-mode-page .mode-stat-card {
  min-height: 204px;
  border-color: rgba(50, 200, 255, 0.12) !important;
  background:
    linear-gradient(135deg, rgba(5, 7, 8, 0.88), rgba(5, 7, 8, 0.62) 54%, rgba(4, 13, 17, 0.86)),
    radial-gradient(circle at 16% 0, rgba(50, 200, 255, 0.2), transparent 12rem),
    url("assets/weknetwork-hero.png") center / cover !important;
  box-shadow:
    0 28px 92px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(50, 200, 255, 0.035) !important;
  backdrop-filter: none !important;
}

.practice-mode-page .mode-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.26), transparent 62%);
  pointer-events: none;
}

.practice-mode-page .mode-stat-card > * {
  position: relative;
  z-index: 1;
}

.practice-mode-page .mode-stat-card header {
  position: relative;
  padding-bottom: 12px;
}

.practice-mode-page .mode-stat-card header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 74px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #32c8ff, rgba(50, 200, 255, 0));
  box-shadow: 0 0 18px rgba(50, 200, 255, 0.28);
}

.practice-mode-page .mode-stat-card header i {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: #32c8ff !important;
  box-shadow: 0 0 24px rgba(50, 200, 255, 0.38) !important;
}

.practice-mode-page .mode-stat-card header i::before,
.practice-mode-page .mode-stat-card header i::after {
  content: "";
  position: absolute;
  background: rgba(3, 9, 12, 0.78);
}

.practice-mode-page .mode-stat-card.ranked header i::before {
  width: 4px;
  height: 11px;
  left: 6px;
  bottom: 5px;
  box-shadow: 6px -3px 0 rgba(3, 9, 12, 0.78), 12px 2px 0 rgba(3, 9, 12, 0.78);
}

.practice-mode-page .mode-stat-card.casual header i::before {
  width: 12px;
  height: 7px;
  left: 5px;
  top: 8px;
  border-radius: 8px;
}

.practice-mode-page .mode-stat-card.casual header i::after {
  width: 3px;
  height: 3px;
  right: 6px;
  top: 10px;
  border-radius: 50%;
  box-shadow: -8px 0 0 rgba(3, 9, 12, 0.78);
}

.practice-mode-page .mode-stat-card.tournament header i::before {
  width: 4px;
  height: 4px;
  left: 9px;
  top: 5px;
  border-radius: 2px;
  box-shadow: -5px 9px 0 rgba(3, 9, 12, 0.78), 5px 9px 0 rgba(3, 9, 12, 0.78);
}

.practice-mode-page .mode-stat-card header strong {
  color: #f6f3eb;
  font-size: 21px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.practice-mode-page .mode-stat-card header b {
  border: 1px solid rgba(50, 200, 255, 0.18);
  background: rgba(0, 0, 0, 0.5);
  color: #e8fcff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.practice-mode-page .mode-stat-card div {
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(0, 0, 0, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.practice-mode-page .mode-stat-card span {
  color: rgba(232, 252, 255, 0.58);
  font-weight: 800;
  text-transform: uppercase;
}

.practice-mode-page .mode-stat-card div strong {
  color: #f8f5ee;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

/* Homepage purchase notice */
.purchase-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 18px;
  padding: 72px clamp(18px, 6vw, 96px);
  background: rgba(255, 255, 255, 0.018);
}

.notice-copy,
.notice-contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 20, 0.86);
}

.notice-copy {
  padding: clamp(24px, 4vw, 40px);
}

.notice-copy h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
}

.notice-copy h3 {
  margin-top: 28px;
  font-size: clamp(24px, 3vw, 34px);
}

.notice-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.notice-contact {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
}

.notice-contact span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice-contact strong {
  font-size: 28px;
  line-height: 1.05;
}

.notice-contact a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .purchase-notice {
    grid-template-columns: 1fr;
  }
}

/* Player mode pagination */
.practice-carousel {
  position: relative;
}

.practice-page-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(80, 210, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 10, 12, 0.82);
  color: #58d7ff;
  cursor: pointer;
  font-weight: 900;
  transform: translateY(-50%);
}

.practice-page-arrow.prev {
  left: -22px;
}

.practice-page-arrow.next {
  right: -22px;
}

.practice-page-arrow:hover {
  border-color: rgba(88, 215, 255, 0.72);
  background: rgba(20, 34, 40, 0.96);
}

.practice-page-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -6px;
}

.practice-page-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.practice-page-dots button.active {
  width: 24px;
  background: #58d7ff;
}

@media (max-width: 900px) {
  .practice-page-arrow.prev { left: 6px; }
  .practice-page-arrow.next { right: 6px; }
}

/* Stronger visible practice pagination arrows */
.practice-page-arrow {
  z-index: 40 !important;
  width: 50px !important;
  height: 50px !important;
  border-color: rgba(88, 215, 255, 0.48) !important;
  background: rgba(4, 9, 12, 0.92) !important;
  color: #58d7ff !important;
  font-size: 24px !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(88, 215, 255, 0.08) inset;
}

.practice-page-arrow.prev {
  left: -62px !important;
}

.practice-page-arrow.next {
  right: -62px !important;
}

@media (max-width: 1100px) {
  .practice-page-arrow.prev { left: 8px !important; }
  .practice-page-arrow.next { right: 8px !important; }
}

/* Stable pagination buttons and refreshed mode textures */
.practice-page-arrow,
.practice-page-arrow:hover,
.practice-page-arrow:active,
.practice-page-arrow.is-pressing {
  transform: translateY(-50%) !important;
  animation: none !important;
}

.practice-page-arrow.tap-ripple::after {
  display: none !important;
}

.mode-icon.fireball { background-image: url("assets/icons/fireball.png?v=20260630icons") !important; }
.mode-icon.nodebuff { background-image: url("assets/icons/no-debuff.png?v=20260630icons") !important; }
.mode-icon.builduhc { background-image: url("assets/icons/build-uhc.png?v=20260630icons") !important; }
.mode-icon.classic { background-image: url("assets/icons/classic.png?v=20260630icons") !important; }
.mode-icon.pearl { background-image: url("assets/icons/pearl.png?v=20260630icons") !important; }
.mode-icon.archer { background-image: url("assets/icons/archer.png?v=20260630icons") !important; }
.mode-icon.bed { background-image: url("assets/icons/bed.png?v=20260630icons") !important; }
.mode-icon.bridge { background-image: url("assets/icons/bridge.png?v=20260630icons") !important; }
.mode-icon.skywars { background-image: url("assets/icons/skywars.png?v=20260630icons") !important; }
.mode-icon.sumo { background-image: url("assets/icons/sumo.png?v=20260630icons") !important; }
.mode-icon.boxing { background-image: url("assets/icons/boxing.png?v=20260630icons") !important; }
.mode-icon.battle { background-image: url("assets/icons/battle-rush.png?v=20260630icons") !important; }
.mode-icon.finaluhc { background-image: url("assets/icons/build-uhc.png?v=20260630icons") !important; }

/* Final practice carousel and texture fix */
.practice-carousel {
  padding: 0 40px;
}

.practice-page-arrow,
.practice-page-arrow:hover,
.practice-page-arrow:active,
.practice-page-arrow.is-pressing {
  top: 50% !important;
  width: 38px !important;
  height: 38px !important;
  font-size: 18px !important;
  transform: translateY(-50%) !important;
  animation: none !important;
}

.practice-page-arrow.prev {
  left: -4px !important;
}

.practice-page-arrow.next {
  right: -4px !important;
}

.practice-cards .mode-icon,
.match-row .mode-icon,
.activity-row .mode-icon,
.classic-game-card .mode-icon,
.lb-current-mode .mode-icon,
.match-summary .mode-icon {
  width: 24px !important;
  height: 24px !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  image-rendering: pixelated !important;
  background-color: transparent !important;
  background-size: contain !important;
}

.practice-cards h3 .mode-icon {
  flex: 0 0 24px;
}

.mode-icon.fireball { background: transparent url("assets/icons/fireball.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.nodebuff { background: transparent url("assets/icons/no-debuff.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.builduhc { background: transparent url("assets/icons/build-uhc.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.finaluhc { background: transparent url("assets/icons/final-uhc.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.classic { background: transparent url("assets/icons/classic.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.pearl { background: transparent url("assets/icons/pearl.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.archer { background: transparent url("assets/icons/archer.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.bed { background: transparent url("assets/icons/bed.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.bridge { background: transparent url("assets/icons/bridge.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.skywars { background: transparent url("assets/icons/skywars.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.sumo { background: transparent url("assets/icons/sumo.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.boxing { background: transparent url("assets/icons/boxing.png?v=20260630raw2") center / contain no-repeat !important; }
.mode-icon.battle { background: transparent url("assets/icons/battle-rush.png?v=20260630raw2") center / contain no-repeat !important; }

/* Locked practice carousel pass: stable arrows, smaller cards, raw item textures */
.practice-carousel {
  min-height: 380px !important;
  padding: 0 34px !important;
}

.practice-cards {
  min-height: 360px !important;
  gap: 12px !important;
  align-content: start !important;
}

.practice-cards a {
  min-height: 0 !important;
  height: 172px !important;
  padding: 14px 16px !important;
}

.practice-cards h3 {
  gap: 8px !important;
  margin-bottom: 8px !important;
  font-size: 23px !important;
}

.practice-cards p {
  margin-bottom: 7px !important;
  padding: 8px 10px !important;
}

.practice-cards em {
  right: 18px !important;
  bottom: 12px !important;
}

.practice-page-arrow,
.practice-page-arrow:hover,
.practice-page-arrow:focus,
.practice-page-arrow:active,
.practice-page-arrow.is-pressing {
  top: 50% !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
  animation: none !important;
}

.practice-page-arrow.prev {
  left: 6px !important;
}

.practice-page-arrow.next {
  right: 6px !important;
}

.practice-cards .mode-icon,
.match-row .mode-icon,
.activity-row .mode-icon,
.classic-game-card .mode-icon,
.lb-current-mode .mode-icon,
.match-summary .mode-icon {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  image-rendering: pixelated !important;
  image-rendering: crisp-edges !important;
  background-color: transparent !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.mode-icon.fireball { background: transparent url("assets/icons/fireball.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.nodebuff { background: transparent url("assets/icons/no-debuff.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.builduhc { background: transparent url("assets/icons/build-uhc.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.finaluhc { background: transparent url("assets/icons/final-uhc.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.classic { background: transparent url("assets/icons/classic.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.pearl { background: transparent url("assets/icons/pearl.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.archer { background: transparent url("assets/icons/archer.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.bed { background: transparent url("assets/icons/bed.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.bridge { background: transparent url("assets/icons/bridge.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.skywars { background: transparent url("assets/icons/skywars.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.sumo { background: transparent url("assets/icons/sumo.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.boxing { background: transparent url("assets/icons/boxing.png?v=20260630raw3") center / contain no-repeat !important; }
.mode-icon.battle { background: transparent url("assets/icons/battle-rush.png?v=20260630raw3") center / contain no-repeat !important; }
