@charset "UTF-8";
#complete-season { min-height: 44px; color: #ffc4b6; border-color: #a95d4b; }
#complete-season:disabled { color: #c1c9d0; }
:root {
  color-scheme: dark;
  --bg: #0b1014;
  --panel: #131a20;
  --line: #ffffff12;
  --muted: #8c9ca7;
  --text: #edf2f5;
  --orange: #ff693b;
  --gold: #edbb67;
  --font: Inter, "Segoe UI", Arial, sans-serif;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0 50%, #22323a22, transparent 50%), var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button,
input,
select,
textarea {
  border: 1px solid var(--line);
  color: var(--text);
  background: #141d24;
  border-radius: 5px;
}
input,
select,
textarea {
  padding: 11px 12px;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.top {
  height: 84px;
  max-width: 1600px;
  padding: 0 42px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand b {
  color: var(--orange);
}
.brand small {
  display: block;
  font: 600 7px/1.5 var(--font);
  letter-spacing: 2px;
  margin-top: 5px;
  color: var(--muted);
}
.top nav {
  display: flex;
  gap: 30px;
  align-items: center;
  flex: 1;
  font-size: 12px;
  font-weight: 650;
}
.top nav a {
  padding: 30px 0;
}
.top nav [aria-current] {
  border-bottom: 2px solid var(--orange);
  color: var(--orange);
}
.identity {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 11px;
  color: var(--muted);
}
.shell {
  max-width: 1516px;
  margin: 0 auto;
  padding: 28px 42px 0;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 365px;
  border: 1px solid #ffffff15;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #0a1118ec 0%, #0a11186e 48%, #0a111816),
    url("/battlepass-assets/season-expedition-v1.webp") center/cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0a1118b8, transparent 35%);
  z-index: -1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff03 1px, transparent 1px),
    linear-gradient(90deg, #ffffff03 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-copy {
  padding: 39px 28px 30px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px #ff693b88;
}
.hero .eyebrow {
  color: #aebdc5;
}
.hero .eyebrow > span:last-child {
  border: 1px solid #ffffff20;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 1px;
  margin-left: 12px;
}
.hero h1 {
  font-size: clamp(35px, 4.1vw, 62px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -2px;
  margin: 24px 0 16px;
}
.hero h1 span {
  color: var(--orange);
}
.hero p {
  color: #adb8c3;
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
}
.hero-foot {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 27px;
  font-size: 10px;
  color: var(--muted);
}
.season-name {
  color: var(--text);
  font-weight: 700;
}
.hero-stamp {
  position: absolute;
  right: 38px;
  bottom: 28px;
  text-align: right;
  color: #ffffff86;
  font-size: 8px;
  letter-spacing: 3px;
}
.hero-stamp b {
  display: block;
  font-size: 78px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -4px;
  color: #ffffff28;
}
.hero-stamp span {
  font-size: 7px;
}
.progress-panel {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 24px 28px;
  margin: 16px 0 35px;
  background: linear-gradient(110deg, #162027, #10171c);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.level {
  min-width: 100px;
  border-right: 1px solid var(--line);
  padding-right: 26px;
}
.level small {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.level strong {
  display: block;
  font-size: 37px;
  margin-top: 3px;
  line-height: 1;
  font-weight: 850;
}
.level em {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  font-style: normal;
  margin-left: 7px;
}
.progress-copy {
  flex: 1;
  min-width: 0;
}
.between {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}
.between strong {
  font-weight: 600;
}
.between > span {
  color: var(--muted);
  font-size: 10px;
}
.muted {
  color: var(--muted);
  font-size: 10px;
}
.progress-copy progress {
  margin: 11px 0 9px;
  width: 100%;
  height: 8px;
  border: 0;
  display: block;
  background: #243038;
  border-radius: 3px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #243038;
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #bb492c, var(--orange));
}
progress::-moz-progress-bar {
  background: var(--orange);
}
.button {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition:
    background 0.15s,
    border 0.15s;
}
.button:hover {
  border-color: #ffffff40;
  background: #1c2832;
}
.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #16110e;
}
.button.primary:hover {
  background: #ff815a;
}
.workspace-head {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 22px;
}
.tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 16px 0;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] {
  border-color: var(--orange);
  color: var(--text);
}
.tabs span {
  font-size: 8px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #ffffff0a;
  margin-left: 6px;
  color: var(--orange);
}
.season-picker {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.season-picker select {
  font-size: 11px;
  padding: 8px;
  max-width: 210px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 30px 0 20px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 9px 0 8px;
}
.section-head p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters input {
  width: 170px;
  font-size: 10px;
}
.filters select {
  font-size: 10px;
  max-width: 150px;
}
.filters .button {
  font-size: 10px;
}
.filters [aria-pressed="true"] {
  color: var(--orange);
  border-color: #ff693b66;
  background: #ff693b0d;
}
.track-labels {
  display: flex;
  gap: 30px;
  margin: 0 0 18px;
  font-size: 10px;
  color: var(--muted);
}
.track-labels > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.track-labels b {
  font-size: 9px;
  letter-spacing: 1px;
  color: #e0ebf2;
  border: 1px solid #8298a147;
  padding: 5px 8px;
  border-radius: 3px;
}
.gold {
  color: var(--gold) !important;
  border-color: #edbb6740 !important;
}
.track-labels small {
  border-left: 1px solid var(--line);
  padding-left: 10px;
  font-size: 9px;
}
.reward-grid {
  --visible-levels: 7;
  --road-gap: 12px;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  min-width: 0;
  gap: 12px;
  padding: 8px 0;
}
.reward-grid::-webkit-scrollbar { display: none; }
.reward-level {
  min-width: 0;
  flex: 0 0 calc((100% - (var(--visible-levels) - 1) * var(--road-gap)) / var(--visible-levels));
  scroll-snap-align: start;
  content-visibility: auto;
  contain-intrinsic-size: auto 190px auto 540px;
}
.level-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px 9px;
  font-size: 9px;
  color: var(--muted);
}
.level-head b {
  color: #d7e1e6;
  font-size: 10px;
}
.level-head.is-open b {
  color: var(--orange);
}
.reward-card {
  --rarity: #91a3af;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  height: 222px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--rarity) 25%, #18212a);
  border-radius: 6px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--rarity) 8%, #121a21),
    #10181f
  );
  overflow: hidden;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.reward-card:before {
  position: absolute;
  top: 0;
  left: 17%;
  right: 17%;
  height: 1px;
  content: "";
  background: var(--rarity);
  opacity: 0.6;
}
.reward-card:hover {
  transform: translateY(-4px);
  border-color: var(--rarity);
  box-shadow: 0 8px 25px #0004;
}
.reward-card .card-top {
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: var(--rarity);
  font-weight: 600;
}
.track-chip {
  font-size: 7px;
  color: #8c9ca7;
  letter-spacing: 1px;
}
.track-chip.vip {
  color: var(--gold);
}
.art {
  display: grid;
  place-items: center;
  position: relative;
  height: 99px;
  margin: 1px -4px 3px;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--rarity) 12%, transparent),
    transparent 68%
  );
}
.art img {
  width: 91px;
  height: 91px;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px #0006);
  transition: transform 0.2s;
}
.reward-card:hover .art img {
  transform: scale(1.08) rotate(-3deg);
}
.utility-icon {
  font-size: 39px;
  font-weight: 850;
  letter-spacing: -2px;
  color: var(--rarity);
  text-shadow: 0 0 35px color-mix(in srgb, var(--rarity) 30%, transparent);
}
.utility-icon small {
  font-size: 12px;
  letter-spacing: 0;
}
.quantity {
  position: absolute;
  right: 4px;
  bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #eaf0f3;
  background: #111921da;
  padding: 3px 6px;
  border-radius: 3px;
}
.reward-card h3 {
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
  margin: 3px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}
.card-sub {
  font-size: 8px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-state {
  font-size: 8px;
  border-top: 1px solid #ffffff0a;
  padding-top: 9px;
  margin-top: auto;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.card-state.ready {
  color: #9dd7a3;
}
.card-state.done {
  color: #91b1a2;
}
.reward-card.claimed {
  background: linear-gradient(160deg, #132422, #10181f);
}
.reward-card.claimed .art {
  opacity: 0.65;
}
.rarity-Uncommon {
  --rarity: #87bd94;
}
.rarity-Rare {
  --rarity: #79b2df;
}
.rarity-Epic {
  --rarity: #ba8deb;
}
.rarity-Legendary {
  --rarity: #e9b66c;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-size: 10px;
  color: var(--muted);
}
.pagination label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
}
.pagination input {
  width: 60px;
  padding: 8px;
  font-size: 10px;
}
.road-note {
  display: flex;
  justify-content: center;
  gap: 35px;
  font-size: 9px;
  color: #667e8c;
  padding-bottom: 20px;
}
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 45px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff02;
}
.how > div {
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}
.how > div:last-child {
  border: 0;
}
.how small {
  color: var(--orange);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}
.how h3 {
  font-size: 14px;
  margin: 13px 0 8px;
}
.how p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1516px;
  margin: auto;
  color: var(--muted);
  font-size: 10px;
}
.footer .brand {
  font-size: 21px;
}
.footer > a:last-child {
  margin-left: auto;
}
.notice {
  margin: 20px 0 0;
  padding: 13px 17px;
  color: #d5c8b1;
  border: 1px solid #edbb6730;
  background: #edbb6708;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 5px;
}
.empty {
  padding: 36px 22px;
  text-align: center;
  border: 1px dashed #ffffff20;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  border-radius: 6px;
  grid-column: 1/-1;
}
.task-grid,
.collection-grid,
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.task-card,
.collection-card,
.history-card {
  padding: 23px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.task-card h3,
.collection-card h3,
.history-card h3 {
  font-size: 15px;
  margin: 12px 0;
}
.task-card p,
.collection-card p,
.history-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.task-card progress {
  width: 100%;
  height: 4px;
  margin: 10px 0;
}
.task-card .between {
  font-size: 10px;
}
.history-card .big {
  display: block;
  font-size: 35px;
  margin: 12px 0;
  color: var(--orange);
  font-weight: 800;
}
.history-card .button {
  margin-top: 12px;
}
.collection-card .button {
  margin-top: 12px;
}
.reward-dialog {
  padding: 0;
  max-width: 740px;
  width: calc(100% - 32px);
  border: 1px solid #ffffff28;
  border-radius: 9px;
  background: #121b22;
  color: var(--text);
  box-shadow: 0 30px 100px #0008;
  overflow: visible;
}
.reward-dialog[open] {
  display: grid;
  grid-template-columns: 40% 60%;
}
.reward-dialog::backdrop {
  background: #050a10c9;
  backdrop-filter: blur(6px);
}
.close {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  font-size: 21px;
  line-height: 1;
  color: var(--muted);
  border: 0;
  background: #ffffff08;
  border-radius: 50%;
}
.modal-art {
  --rarity: #91a3af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--rarity) 17%, #121b22),
    #0d161e
  );
  min-height: 360px;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}
.modal-art .art {
  height: 230px;
  width: 100%;
}
.modal-art img {
  width: 210px;
  height: 210px;
}
.modal-art .utility-icon {
  font-size: 85px;
}
.modal-art .quantity {
  bottom: 0;
  right: 20px;
  font-size: 18px;
}
.modal-art > .eyebrow {
  color: var(--rarity);
}
.modal-content {
  padding: 40px 30px 28px;
  min-width: 0;
}
.modal-content h2 {
  margin-top: 13px;
  font-size: 27px;
  line-height: 1.15;
}
.modal-content > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.modal-items {
  margin: 18px 0;
}
.modal-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.modal-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.modal-item strong {
  margin-left: auto;
  white-space: nowrap;
}
.modal-item small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.modal-state {
  font-size: 11px;
  line-height: 1.7;
  background: #ffffff04;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 16px 0;
}
.modal-content > .button {
  width: 100%;
}
.modal-content > small {
  display: block;
  margin-top: 12px;
  line-height: 1.6;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border: 1px solid #ffffff30;
  background: #21313d;
  color: var(--text);
  border-radius: 6px;
  padding: 15px 22px;
  font-size: 12px;
  box-shadow: 0 8px 40px #0008;
  max-width: calc(100% - 32px);
}
/* Administrator uses the same visual language and real reward icons. */
.admin-hero {
  padding: 30px 0;
}
.admin-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
}
.admin-sidebar {
  background: var(--panel);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  align-self: start;
}
.admin-sidebar button {
  width: 100%;
  text-align: left;
  padding: 13px 12px;
  margin-bottom: 8px;
}
.admin-sidebar button.selected {
  border-color: var(--orange);
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 22px;
  background: var(--panel);
}
.admin-form label,
.edit-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.admin-form .actions,
.admin-form .full {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-edit {
  max-width: 720px;
  width: calc(100% - 32px);
  border: 1px solid #ffffff30;
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 28px;
  max-height: 90dvh;
  overflow: auto;
}
.admin-edit::backdrop {
  background: #050a10c9;
  backdrop-filter: blur(6px);
}
.edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.edit-form .full {
  grid-column: 1/-1;
}
.item-edit {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.item-edit select {
  flex: 1;
  min-width: 0;
}
.item-edit input {
  width: 100px;
}
.admin-message {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  padding: 12px 0;
}
.command-list {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.command-list p {
  overflow-wrap: anywhere;
}
.edit-help {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .reward-card {
    height: 235px;
  }
  .art {
    height: 109px;
  }
  .art img {
    height: 105px;
    width: 105px;
  }
}
@media (max-width: 1150px) {
  .top {
    gap: 25px;
    padding-inline: 26px;
  }
  .shell {
    padding-inline: 26px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .filters {
    width: 100%;
  }
  .filters input {
    width: 230px;
  }
  .reward-card {
    height: 210px;
    padding: 10px;
  }
  .art img {
    width: 78px;
    height: 78px;
  }
  .art {
    height: 89px;
  }
  .card-top {
    font-size: 7px !important;
  }
  .reward-grid {
    gap: 8px;
    --road-gap: 8px;
    --visible-levels: 5;
  }
  .track-labels {
    font-size: 9px;
  }
  .hero-copy {
    padding-inline: 28px;
  }
  .tabs {
    gap: 17px;
  }
  .tabs button {
    font-size: 11px;
  }
  .admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 850px) {
  .top {
    height: 70px;
    gap: 22px;
  }
  .identity {
    display: none;
  }
  .top nav {
    justify-content: end;
    gap: 20px;
  }
  .hero {
    min-height: 330px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-stamp {
    display: none;
  }
  .reward-grid {
    --visible-levels: 3;
  }
  .reward-card {
    height: 220px;
  }
  .art {
    height: 100px;
  }
  .art img {
    width: 96px;
    height: 96px;
  }
  .workspace-head {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
  }
  .tabs {
    width: 100%;
    gap: 25px;
  }
  .progress-panel {
    gap: 18px;
    padding: 20px;
  }
  .progress-panel > .button {
    font-size: 10px;
    padding-inline: 10px;
  }
  .task-grid,
  .collection-grid,
  .history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .admin-sidebar button {
    width: auto;
  }
  .admin-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .top {
    padding: 0 16px;
    height: 68px;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
  }
  .brand small {
    font-size: 5px;
    letter-spacing: 1.3px;
  }
  .top nav {
    gap: 14px;
    font-size: 10px;
  }
  .top nav a {
    padding-block: 25px;
  }
  .top nav a:first-child {
    display: none;
  }
  .shell {
    padding: 16px 14px 0;
  }
  .hero {
    min-height: 350px;
    background-position: 65% center;
    background-image:
      linear-gradient(90deg, #0a1118eb, #0a111870),
      url("/battlepass-assets/season-expedition-v1.webp");
  }
  .hero-copy {
    padding: 27px 16px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
    flex-wrap: wrap;
  }
  .hero .eyebrow > span:last-child {
    margin-left: 0;
    font-size: 7px;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
    line-height: 1.12;
    margin-top: 28px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-foot {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
    font-size: 10px;
  }
  .progress-panel {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 22px;
    padding: 18px 16px;
  }
  .level {
    min-width: 0;
    padding-right: 12px;
  }
  .level small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .level strong {
    font-size: 30px;
  }
  .level em {
    font-size: 9px;
    margin-left: 4px;
  }
  .between {
    flex-wrap: wrap;
    gap: 5px;
    font-size: 10px;
  }
  .between > span {
    font-size: 9px;
  }
  .progress-panel > .button {
    grid-column: 1/-1;
    min-height: 38px;
  }
  .progress-copy .muted {
    font-size: 8px;
  }
  .tabs {
    gap: 0;
    justify-content: space-between;
  }
  .tabs button {
    font-size: 10px;
    white-space: normal;
    text-align: left;
    padding: 12px 6px 12px 0;
  }
  .tabs span {
    display: none;
  }
  .season-picker {
    width: 100%;
    justify-content: space-between;
  }
  .season-picker select {
    max-width: none;
    width: 73%;
  }
  .section-head {
    margin-top: 26px;
    gap: 15px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  h2 {
    font-size: 22px;
  }
  .section-head p {
    font-size: 10px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .filters label {
    grid-column: 1/-1;
  }
  .filters input {
    width: 100%;
    padding: 10px 12px;
    font-size: 11px;
  }
  .filters select {
    max-width: none;
    width: 100%;
    font-size: 10px;
  }
  .filters .button {
    padding: 8px;
    font-size: 10px;
  }
  .track-labels {
    font-size: 8px;
    gap: 12px;
    justify-content: space-between;
  }
  .track-labels > span {
    gap: 5px;
  }
  .track-labels small {
    display: none;
  }
  .track-labels b {
    padding: 4px 6px;
    font-size: 8px;
  }
  .reward-grid {
    --visible-levels: 1;
    --road-gap: 12px;
    gap: 12px;
  }
  .reward-level {
    display: block;
  }
  .level-head {
    grid-column: 1/-1;
    border-bottom: 1px solid var(--line);
    padding: 10px 0 8px;
    margin-top: 3px;
  }
  .reward-card {
    height: 231px;
    margin: 0 0 14px;
    padding: 13px;
  }
  .card-top {
    font-size: 8px !important;
  }
  .art {
    height: 110px;
  }
  .art img {
    width: 102px;
    height: 102px;
  }
  .reward-card h3 {
    font-size: 12px;
    min-height: 33px;
  }
  .card-sub {
    font-size: 9px;
  }
  .card-state {
    font-size: 9px;
    padding-top: 10px;
  }
  .pagination {
    gap: 8px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 24px;
  }
  .pagination .button {
    padding: 8px 11px;
    font-size: 10px;
  }
  .pagination > label {
    order: 4;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
  }
  .pagination > span {
    font-size: 9px;
  }
  .road-note {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 9px;
  }
  .how {
    grid-template-columns: 1fr;
    margin-top: 27px;
  }
  .how > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }
  .how p {
    font-size: 11px;
  }
  .footer {
    padding: 22px 16px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .footer > .brand {
    font-size: 20px;
  }
  .footer > span {
    font-size: 9px;
  }
  .footer > a:last-child {
    width: 100%;
    margin: 0;
    font-size: 11px;
  }
  .task-grid,
  .collection-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }
  .reward-dialog[open] {
    grid-template-columns: 1fr;
    max-height: 90dvh;
    overflow: auto;
  }
  .modal-art {
    min-height: 190px;
    border-radius: 8px 8px 0 0;
    padding: 14px;
  }
  .modal-art .art {
    height: 147px;
  }
  .modal-art img {
    width: 145px;
    height: 145px;
  }
  .modal-art .utility-icon {
    font-size: 65px;
  }
  .modal-content {
    padding: 23px;
  }
  .modal-content h2 {
    font-size: 24px;
  }
  .modal-art .quantity {
    font-size: 14px;
    right: 15px;
  }
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-grid .reward-card {
    margin-bottom: 0;
  }
  .admin-form {
    padding: 17px;
    grid-template-columns: 1fr;
  }
  .admin-form .actions,
  .admin-form .full {
    grid-column: auto;
  }
  .admin-form .button {
    flex: 1;
  }
  .edit-form {
    grid-template-columns: 1fr;
  }
  .edit-form .full {
    grid-column: auto;
  }
  .admin-edit {
    padding: 22px 17px;
  }
  .item-edit input {
    width: 75px;
  }
}
/* The reward road shares the hero/progress edges; controls stay inside its container. */
.shell > :is(.hero, .progress-panel, .workspace-head, .tab-panel) { width: 100%; margin-inline: 0; }
.progress-step { margin-bottom: 12px; }
.progress-step > span { font-size: 12px; color: #c6d2db; }
.progress-facts { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: -8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.progress-facts dt { color: #aab9c3; font-size: 11px; line-height: 1.6; }
.progress-facts dd { margin: 5px 0 0; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.progress-panel > .button { min-height: 44px; }
.road-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0 12px; }
#rewards-panel { scroll-margin-top: 96px; }
.road-toolbar .filters { width: auto; }
.road-toolbar .filters :is(input, select, button) { min-height: 44px; font-size: 12px; }
.road-toolbar .track-labels { margin: 0; gap: 22px; flex-wrap: wrap; font-size: 12px; }
.road-toolbar .track-labels > span { gap: 10px; }
.road-toolbar .track-labels b { font-size: 13px; padding: 8px 12px; border-radius: 4px; }
.road-toolbar .free-lane b { color: #bcdef3; background: #203345; border-color: #83bada60; }
.road-toolbar .vip-lane b { color: #f2cc83; background: #30251b; border-color: #eab95d60; }
.road-toolbar .track-labels small { display: block; margin-top: 4px; padding: 0; border: 0; color: #aab9c3; font-size: 10px; }
.reward-carousel { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; align-items: center; }
.carousel-arrow { width: 44px; height: 64px; font-size: 40px; line-height: 1; color: #edf2f5; border-color: #91a3af50; background: #18232d; transition: background .2s, border-color .2s; }
.carousel-arrow:hover:enabled { background: #293743; border-color: var(--orange); }
.carousel-arrow:disabled { opacity: .25; }
.reward-grid:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.reward-level[data-current="true"] .level-head { color: #ff9978; }
.reward-level[data-current="true"] .level-head b { color: #ff9978; }
.reward-level[data-current="true"] .level-head b::after { content: " · ТЫ"; }
.reward-carousel .reward-card { height: 248px; border-top-width: 3px; padding: 12px; }
.reward-carousel .reward-card[data-track="free"] { border-top-color: #83bada; background: linear-gradient(155deg, #172633, #10181f); }
.reward-carousel .reward-card[data-track="vip"] { border-top-color: #eab95d; background: linear-gradient(155deg, #30251b, #171a20 85%); }
.reward-carousel .reward-card.claimed .art { opacity: .7; }
.reward-carousel .card-top { min-height: 24px; align-items: center; font-size: 10px !important; }
.reward-carousel .track-chip { font-size: 11px; font-weight: 800; letter-spacing: .8px; color: #bcdff5; border: 1px solid #83bada60; background: #203345; padding: 4px 6px; border-radius: 3px; }
.reward-carousel .track-chip.vip { color: #f2cc83; border-color: #eab95d60; background: #382b1e; }
.reward-carousel .card-sub, .reward-carousel .card-state { font-size: 10px; }
.reward-carousel .card-state { color: #a7bac6; }
.reward-carousel .card-state.ready { color: #acf1b4; }
.reward-carousel .card-state.done { color: #afd1c1; }
.reward-carousel .reward-placeholder { justify-content: center; align-items: center; font-size: 11px; color: #aab9c3; text-align: center; border-style: dashed; background: #10171c; }
.pagination { gap: 24px; }
.pagination input { min-height: 44px; }
.reward-grid > .empty { flex: 0 0 100%; }
@media (max-width: 1150px) {
  .road-toolbar .filters { width: 100%; justify-content: flex-end; }
}
@media (max-width: 1280px) { #rewards-panel { scroll-margin-top: 140px; } }
@media (max-width: 850px) {
  .progress-panel { grid-template-columns: 92px minmax(0, 1fr); }
  .progress-panel > .button { grid-column: 2; justify-self: start; }
  .progress-facts { grid-column: 1 / -1; margin-top: 0; }
  .reward-carousel { gap: 8px; }
}
@media (max-width: 600px) {
  .progress-panel { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .progress-panel > .button { grid-column: 1 / -1; width: 100%; }
  .progress-facts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .progress-facts > div:last-child { grid-column: 1 / -1; }
  .progress-facts dd { font-size: 14px; }
  .progress-step > span { font-size: 10px; }
  .road-toolbar { gap: 16px; margin-top: 20px; }
  .road-toolbar .track-labels { width: 100%; justify-content: flex-start; gap: 14px; font-size: 10px; }
  .road-toolbar .track-labels b { padding: 7px 8px; font-size: 11px; }
  .road-toolbar .track-labels small { font-size: 9px; max-width: 145px; }
  .road-toolbar .filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .road-toolbar .filters :is(input,select,button) { font-size: 11px; }
  .reward-carousel { grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 8px; }
  .reward-grid { grid-column: 1 / -1; grid-row: 2; }
  .carousel-arrow { height: 44px; font-size: 30px; }
  #previous { grid-column: 2; }
  #following { grid-column: 3; }
  .reward-level { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; contain-intrinsic-height: auto 295px; }
  .reward-level .level-head { grid-column: 1 / -1; margin: 0; padding: 6px 0 8px; }
  .reward-carousel .reward-card { height: 240px; padding: 10px; margin: 0; }
  .reward-carousel .track-chip { font-size: 10px; padding: 3px 4px; }
  .reward-carousel .card-top { font-size: 9px !important; }
  .reward-carousel .art { height: 95px; }
  .reward-carousel .art img { height: 85px; width: 85px; }
  .reward-carousel .card-state { font-size: 9px; }
  .reward-carousel .card-sub { font-size: 9px; }
  .reward-carousel .reward-placeholder { font-size: 10px; }
  .pagination { justify-content: space-between; }
  .pagination > label { order: initial; width: auto; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
