:root {
  --bg: #060b13;
  --bg-soft: #0e1828;
  --panel: #121f33;
  --line: #243a5b;
  --text: #e8f0ff;
  --muted: #96accd;
  --accent: #2ec5ff;
  --accent-2: #8cff77;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(46, 197, 255, 0.2), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(140, 255, 119, 0.15), transparent 30%),
    linear-gradient(180deg, #060b13 0%, #0a1524 60%, #0b1019 100%);
  font-family: 'Exo 2', system-ui, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #8fe8ff; }

.shell {
  width: min(1380px, 93vw);
  margin: 0 auto;
}

.shell-wide {
  width: min(1800px, 98vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36, 58, 91, 0.8);
  background: rgba(5, 10, 17, 0.82);
}

.info-strip {
  border-bottom: 1px solid rgba(36, 58, 91, 0.7);
  background: rgba(4, 10, 19, 0.93);
}

.info-strip-inner {
  min-height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b4c8e9;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-strip-text {
  line-height: 1.35;
}

.info-strip-text strong,
.info-strip-text b {
  font-weight: 900;
}

.info-strip-text em,
.info-strip-text i {
  font-style: italic;
}

.info-strip-text s,
.info-strip-text del,
.info-strip-text strike {
  text-decoration: line-through;
}

.info-strip-text a {
  color: #7dd3ff;
  text-decoration: underline;
}

.info-strip-inner a {
  color: #ff4756;
  font-weight: 700;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.45rem;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.actions {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.auth-inline-form {
  margin: 0;
}

.launcher-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(140, 255, 119, 0.45);
  background: rgba(11, 35, 24, 0.85);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.launcher-user-name {
  color: #d7ffe2;
  font-weight: 700;
}

.launcher-user-id {
  color: #8fd6a0;
  font-size: 0.86rem;
}

.discord-link-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, 96vw);
  border: 1px solid rgba(69, 99, 140, 0.85);
  background: rgba(8, 15, 27, 0.985);
  padding: 12px;
  z-index: 55;
}

.discord-link-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #d9e7ff;
}

.discord-link-hint {
  margin: 6px 0 12px;
  color: #9db5d9;
  font-size: 0.9rem;
  line-height: 1.4;
}

.discord-link-form {
  display: grid;
  gap: 10px;
}

.discord-link-form label {
  display: grid;
  gap: 4px;
  color: #9db5d9;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.discord-link-form input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0d1c31;
  color: var(--text);
  padding: 10px;
}

.discord-link-retry {
  text-align: center;
}

.auth-feedback {
  border-bottom: 1px solid rgba(36, 58, 91, 0.8);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 8px 0;
}

.auth-feedback.is-error {
  background: rgba(93, 21, 21, 0.65);
  color: #ffd1d1;
}

.auth-feedback.is-success {
  background: rgba(18, 77, 36, 0.56);
  color: #d6ffdf;
}

.locale-switcher {
  position: relative;
}

.locale-trigger,
.locale-option {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #112038;
  color: var(--text);
  min-height: 42px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.locale-trigger {
  cursor: pointer;
}

.locale-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  display: none;
  background: rgba(8, 15, 27, 0.98);
  border: 1px solid rgba(69, 99, 140, 0.7);
  z-index: 45;
  padding: 6px;
}

.locale-menu.open {
  display: grid;
  gap: 5px;
}

.locale-option {
  width: 100%;
  justify-content: flex-start;
  cursor: pointer;
}

.locale-option:hover,
.locale-option[aria-current="true"] {
  border-color: #2ec5ff;
  background: #163152;
}

select, .btn {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #112038;
  color: var(--text);
  padding: 10px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
  background: linear-gradient(90deg, #1696ce, #30d6ff);
  color: #04101e;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
}

.btn-placeholder {
  opacity: 0.75;
  cursor: not-allowed;
}

.btn.btn-red {
  background: #f51f2f;
  color: #fff;
  border-color: #f51f2f;
}

.hero-stage {
  padding: 0 0 26px;
}

.hero-stage-content {
  margin-top: 0;
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(69, 99, 140, 0.45);
  border-left: 0;
  border-right: 0;
  overflow: hidden;
  min-height: 360px;
  background: #0a131f;
}

.hero-banner-frame::before,
.hero-banner-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(120px, 18vw, 340px);
  pointer-events: none;
  z-index: 2;
}

.hero-banner-frame::before {
  left: 0;
  background: linear-gradient(90deg,
    rgba(6, 11, 19, 1) 0%,
    rgba(6, 11, 19, 0.85) 40%,
    rgba(6, 11, 19, 0) 100%);
}

.hero-banner-frame::after {
  right: 0;
  background: linear-gradient(270deg,
    rgba(6, 11, 19, 1) 0%,
    rgba(6, 11, 19, 0.85) 40%,
    rgba(6, 11, 19, 0) 100%);
}

.hero-banner-image {
  width: 100%;
  height: clamp(320px, 38vw, 560px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: clamp(16px, 2.3vw, 34px);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.14) 0%, rgba(5, 10, 18, 0.78) 100%);
  z-index: 3;
}

.kicker {
  margin: 0;
  color: #89a8d6;
  letter-spacing: 0.12em;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.hero-stage h1 {
  margin: 10px 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid rgba(69, 99, 140, 0.45);
}

.hero-tabs a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #dbe7ff;
  border-right: 1px solid rgba(69, 99, 140, 0.45);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(12, 18, 30, 0.92);
}

.hero-tabs a:last-child {
  border-right: 0;
}

.hero-tabs a.active {
  box-shadow: inset 0 -2px 0 #f51f2f;
}

.headline-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
}

.headline-main,
.headline-side {
  position: relative;
  margin: 0;
  border: 1px solid rgba(69, 99, 140, 0.45);
  overflow: hidden;
}

.headline-image {
  width: 100%;
  height: clamp(340px, 40vw, 620px);
  object-fit: cover;
  object-position: center 32%;
  filter: contrast(1.05) saturate(1.03);
  display: block;
}

.headline-side-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.04) saturate(1.02);
  display: block;
}

.headline-caption,
.headline-side-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #0a111d;
  background: rgba(248, 250, 255, 0.95);
  border-left: 4px solid #f51f2f;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  padding: 10px 14px;
}

.headline-side-caption {
  display: grid;
  gap: 2px;
}

.headline-side-caption small {
  color: #d4a900;
  font-weight: 900;
}

.headline-side-caption strong {
  color: #0a111d;
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 900;
}

.section { padding: 26px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.grid {
  display: grid;
  gap: 14px;
}

.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(18, 31, 51, 0.95), rgba(9, 20, 34, 0.95));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.news-card {
  overflow: hidden;
}

.card-media {
  margin: -16px -16px 16px;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #04101e 0%, #0a1f3a 100%);
  aspect-ratio: 16 / 9;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-media.small {
  aspect-ratio: 16 / 9;
  height: auto;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: contrast(1.04) saturate(1.03);
  display: block;
}

.card h3 { margin: 7px 0 8px; }
.card h3 { font-weight: 900; }
.meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price { color: var(--accent-2); font-weight: 700; }

.news-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid #ff1a2a;
  background: #ff1a2a;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 340px);
  gap: 14px;
  align-items: stretch;
}

.latest-news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.latest-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-self: stretch;
}

.latest-sidebar-feature {
  position: relative;
  border: 1px solid rgba(69, 99, 140, 0.45);
  overflow: hidden;
  background: #081425;
  min-height: 260px;
}

.latest-sidebar-feature img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.latest-sidebar-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 8px;
}

.latest-sidebar-caption strong {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  background: rgba(248, 250, 255, 0.96);
  color: #0a111d;
  padding: 6px 10px;
  border-left: 4px solid #f51f2f;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.latest-sidebar-panel {
  border: 1px solid rgba(69, 99, 140, 0.45);
  background: linear-gradient(180deg, rgba(10, 18, 31, 0.96), rgba(6, 12, 22, 0.96));
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.latest-sidebar-panel h3 {
  margin: 0;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 26, 42, 0.65);
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.latest-sidebar-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-sidebar-panel li + li {
  border-top: 1px solid rgba(150, 172, 205, 0.16);
}

.latest-sidebar-panel a {
  display: block;
  padding: 10px 12px;
  color: #dce7ff;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.latest-sidebar-panel a:hover {
  color: #fff;
  background: rgba(23, 41, 67, 0.6);
}

.page-block { padding: 42px 0; }
.article-card { max-width: 920px; }

.article-hero {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #04101e 0%, #0a1f3a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 520px;
}

.article-hero img {
  max-width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.05) saturate(1.03);
  display: block;
}

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid rgba(150, 172, 205, 0.2);
  text-align: left;
  padding: 10px;
}

.leaderboard-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
}

.leaderboard-tab {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #10213a;
  color: var(--muted);
  min-height: 38px;
  min-width: 112px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.leaderboard-tab.active {
  color: var(--text);
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(22, 150, 206, 0.35), rgba(48, 214, 255, 0.4));
}

.leaderboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.leaderboard-month-label {
  margin: 0 0 10px 0;
  color: var(--muted);
}

.leaderboard-archive-form {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.leaderboard-archive-form label {
  font-family: 'Rajdhani', sans-serif;
  color: var(--muted);
}

.leaderboard-archive-form select {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0e1d33;
  color: var(--text);
  padding: 0 10px;
}

.leaderboard-rewards-card h4 {
  margin: 14px 0 8px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leaderboard-reward-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.leaderboard-reward-list li {
  border: 1px solid rgba(150, 172, 205, 0.2);
  border-radius: 8px;
  padding: 8px;
  background: rgba(7, 17, 31, 0.75);
  display: grid;
  gap: 4px;
}

.leaderboard-timer {
  border: 1px solid rgba(46, 197, 255, 0.35);
  border-radius: 10px;
  padding: 10px;
  background: rgba(9, 28, 48, 0.65);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 17, 0.82);
}

@media (max-width: 980px) {
  .leaderboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.launcher-shell-body {
  margin: 0;
  min-height: 100vh;
  overflow: auto;
  background:
    radial-gradient(circle at 8% 12%, rgba(46, 197, 255, 0.16), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(140, 255, 119, 0.1), transparent 24%),
    linear-gradient(180deg, #080e18 0%, #0b1424 60%, #0c1522 100%);
}

.launcher-shell-main {
  padding: 10px 12px 14px;
}

.launcher-unified-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.launcher-account-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 12px;
}

.launcher-account-card h2 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
}

.launcher-account-box {
  border: 1px solid rgba(69, 99, 140, 0.55);
  background: rgba(7, 16, 29, 0.95);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.launcher-account-caption {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.launcher-account-user {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.launcher-launch-btn {
  min-height: 46px;
  font-size: 1.2rem;
  border-color: #f8cb6a;
  background: linear-gradient(180deg, #ffd777, #f89c32 60%, #ce6f18);
  color: #261203;
}

.launcher-language-block {
  display: grid;
  gap: 8px;
}

.launcher-small-label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.launcher-language-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.launcher-option-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launcher-language-buttons .btn.active {
  border-color: #2ec5ff;
  background: linear-gradient(90deg, rgba(22, 150, 206, 0.35), rgba(48, 214, 255, 0.4));
}

.launcher-status-box {
  border: 1px solid rgba(69, 99, 140, 0.5);
  background: rgba(6, 13, 24, 0.92);
  padding: 10px;
  min-height: 110px;
}

.launcher-status-box p {
  margin: 0;
}

.launcher-build-stamp {
  margin: 0;
  color: #7d93b4;
  font-size: 0.82rem;
  align-self: end;
  justify-self: end;
}

.launcher-content-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.launcher-info-strip {
  border: 1px solid rgba(36, 58, 91, 0.7);
  background: rgba(4, 10, 19, 0.93);
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 4px 10px;
}

.launcher-info-strip-text {
  color: #b4c8e9;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.launcher-shell-tabs {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launcher-shell-tabs a {
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.launcher-shell-layout {
  margin-top: 12px;
}

/* Keep launcher news visuals lighter so title/body are visible without deep scrolling. */
.launcher-shell-body .shell-card .card-media {
  aspect-ratio: 21 / 9;
  max-height: 260px;
}

.launcher-shell-body .shell-card .card-media img {
  object-position: center 32%;
}

.launcher-shell-compact {
  display: block;
}

.launcher-shell-body.compact-mode .launcher-shell-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launcher-shell-body.compact-mode .launcher-shell-tabs a {
  border-right: 1px solid rgba(69, 99, 140, 0.45);
  border-bottom: 0;
  white-space: nowrap;
}

.launcher-shell-body.compact-mode .launcher-shell-tabs a:last-child {
  border-right: 0;
}

.shell-link-disabled {
  display: inline-flex;
  color: #7f93b4;
  opacity: 0.85;
  cursor: default;
  font-weight: 700;
}

.launcher-shell-empty {
  margin-top: 12px;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d9ee;
}

.footer-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(46, 197, 255, 0.28));
}

@media (min-width: 1500px) {
  .headline-image {
    height: 560px;
    object-position: center 31%;
  }

  .headline-side-image {
    min-height: 560px;
    object-position: center 27%;
  }

  .card-media,
  .card-media.small {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1850px) {
  .headline-image {
    height: 610px;
    object-position: center 30%;
  }

  .headline-side-image {
    min-height: 610px;
    object-position: center 26%;
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .info-strip-inner {
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
    align-items: flex-start;
  }

  .locale-switcher,
  .locale-trigger,
  .locale-menu {
    width: 100%;
  }

  .actions {
    position: relative;
    width: 100%;
    flex-wrap: wrap;
  }

  .discord-link-panel {
    right: 0;
    left: 0;
    width: 100%;
  }

  .hero-tabs,
  .launcher-unified-grid,
  .headline-grid,
  .news-grid,
  .latest-layout,
  .latest-news-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .latest-sidebar {
    grid-template-rows: auto;
  }

  .launcher-account-card {
    grid-template-rows: unset;
  }

  .hero-tabs a {
    border-right: 0;
    border-bottom: 1px solid rgba(69, 99, 140, 0.45);
  }

  .launcher-shell-body.compact-mode .launcher-shell-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launcher-shell-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launcher-shell-tabs a {
    border-right: 1px solid rgba(69, 99, 140, 0.45);
    border-bottom: 0;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
  }

  .launcher-shell-tabs a:last-child {
    border-right: 0;
  }

  .launcher-shell-body.compact-mode .launcher-shell-tabs a {
    border-right: 1px solid rgba(69, 99, 140, 0.45);
    border-bottom: 0;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
  }

  .launcher-shell-body.compact-mode .launcher-shell-tabs a:last-child {
    border-right: 0;
  }

  .headline-side-image {
    min-height: 220px;
  }

  .headline-image {
    height: clamp(260px, 58vw, 460px);
    object-position: center 26%;
  }

  .headline-side-image {
    min-height: 260px;
    object-position: center 24%;
  }

  .card-media,
  .card-media.small {
    aspect-ratio: 3 / 2;
  }

  .card-media img {
    object-position: center 28%;
  }
}

/* ── Info Strip WYSIWYG editor (admin) ─────────────────── */
.is-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(17, 32, 56, 0.7);
  user-select: none;
  -webkit-user-select: none;
}

.is-toolbar-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.is-toolbar-sep {
  width: 1px;
  height: 24px;
  background: rgba(150, 172, 205, 0.2);
  margin: 0 4px;
}

.is-tb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.is-tb:hover {
  background: rgba(46, 197, 255, 0.12);
  border-color: rgba(46, 197, 255, 0.3);
}

.is-tb:active {
  background: rgba(46, 197, 255, 0.22);
}

/* "A" button for applying color — has a colored bar at the bottom */
.is-tb-apply-color {
  padding-bottom: 6px;
  font-weight: 700;
}

.is-tb-color-bar {
  position: absolute;
  bottom: 3px;
  left: 4px;
  right: 4px;
  height: 3px;
  border-radius: 2px;
  pointer-events: none;
}

/* Standalone color picker input next to the "A" button */
.is-color-pick {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
}

.is-color-pick::-webkit-color-swatch-wrapper { padding: 1px; }
.is-color-pick::-webkit-color-swatch { border: none; border-radius: 3px; }

.is-editor {
  display: block;
  width: 100%;
  min-height: 80px;
  max-height: 300px;
  overflow-y: auto;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: rgba(17, 32, 56, 0.6);
  color: var(--text);
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  outline: none;
}

.is-editor:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(46, 197, 255, 0.15);
}

.is-editor:empty::before {
  content: 'Type your info strip text here...';
  color: var(--muted);
  pointer-events: none;
}

/* =============================================
   BATTLE PASS — Atlas
   ============================================= */

.bp-page {
  padding-bottom: 60px;
}

/* --- Hero --- */
.bp-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 28px;
}

.bp-hero-inner {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 28px;
  isolation: isolate;
}

.bp-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  filter: saturate(1.05) contrast(1.08);
}

.bp-hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(130% 130% at 80% 10%, rgba(255, 167, 31, 0.3) 0%, rgba(255, 167, 31, 0.04) 36%, rgba(6, 9, 14, 0.86) 76%),
    linear-gradient(100deg, rgba(5, 10, 16, 0.92) 20%, rgba(7, 12, 18, 0.55) 58%, rgba(7, 12, 18, 0.9) 100%);
}

.bp-hero-text {
  max-width: 680px;
  background: rgba(10, 16, 24, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
  border-radius: 10px;
  padding: 14px 16px;
}

.bp-kicker {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9bdcff;
  margin: 0 0 6px;
}

.bp-hero-text h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1em;
  line-height: 1;
  background: linear-gradient(90deg, #ffffff 0%, #ffe4a4 52%, #ffc247 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #d8e5f0;
  margin: 4px 0 0;
}

.bp-hero-tagline {
  margin: 10px 0 0;
  max-width: 56ch;
  color: #c7d6e3;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bp-hero-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5, 9, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
}

.bp-premium-cta {
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(245, 166, 35, 0.2);
}

.bp-timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c3d3e0;
}

.bp-timer-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffc85c;
}

@media (max-width: 900px) {
  .bp-hero-inner {
    grid-template-columns: 1fr;
    min-height: 280px;
    padding: 18px;
  }

  .bp-hero-text {
    max-width: none;
    padding: 12px;
  }

  .bp-hero-timer {
    justify-self: start;
    align-items: flex-start;
  }

  .bp-subtitle {
    letter-spacing: 0.18em;
  }

  .bp-premium-cta {
    width: 100%;
    text-align: center;
  }

  .bp-level-next-reward {
    display: block;
    white-space: normal;
  }

  .bp-tasks-reset {
    display: block;
    margin-left: auto;
    text-align: right;
  }
}

/* --- Stats Bar --- */
.bp-stats {
  padding: 20px 0;
}

.bp-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.bp-stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.bp-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.bp-level-bar-wrap {
  position: relative;
}

.bp-level-bar {
  height: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.bp-level-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #8cff77);
  border-radius: 5px;
  transition: width 0.4s ease;
}

.bp-level-bar-text {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 0.72rem;
  color: var(--muted);
}

.bp-level-next-reward {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #9fb8d6;
  white-space: nowrap;
}

.bp-level-next-reward strong {
  color: #d8e8fb;
}

/* --- Reward Rail --- */
.bp-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 28px 0 14px;
}

.bp-rail {
  padding: 0 0 20px;
}

.bp-rail-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.bp-rail-track {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.bp-rail-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
  flex-shrink: 0;
  cursor: default;
  position: relative;
}

.bp-rail-lvl {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.bp-rail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg-soft);
  transition: all 0.2s;
}

.bp-rail-node.reached .bp-rail-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(46, 197, 255, 0.5);
}

.bp-rail-node.claimed .bp-rail-dot {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.bp-rail-node.milestone .bp-rail-dot {
  width: 20px;
  height: 20px;
  border-width: 3px;
}

.bp-rail-node.milestone .bp-rail-lvl {
  font-size: 0.8rem;
  color: var(--text);
}

.bp-rail-reward-label {
  font-size: 0.58rem;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Task Board --- */
.bp-tasks {
  padding: 0 0 30px;
}

.bp-login-notice {
  color: var(--muted);
  font-style: italic;
  margin: 12px 0;
}

.bp-tasks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .bp-tasks-grid { grid-template-columns: 1fr; }
}

.bp-tasks-col-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.bp-tasks-col-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  cursor: pointer;
  text-align: left;
}

.bp-tasks-col-toggle .bp-tasks-col-title {
  margin: 0;
  padding-bottom: 6px;
}

.bp-tasks-col-toggle::after {
  content: '▾';
  font-size: 0.9rem;
  color: #8ba8c7;
  transition: transform 0.15s ease;
}

.bp-tasks-col-toggle.collapsed::after {
  transform: rotate(-90deg);
}

.bp-tasks-reset {
  font-size: 0.72rem;
  color: #8fb0d1;
  white-space: nowrap;
}

.bp-tasks-list[hidden] {
  display: none !important;
}

.bp-tasks-empty {
  color: var(--muted);
  font-size: 0.85rem;
}

.bp-task-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.bp-task-card:hover {
  border-color: var(--accent);
}

.bp-task-card.completed {
  border-color: var(--accent-2);
}

.bp-task-card.claimed {
  opacity: 0.6;
}

.bp-task-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.bp-task-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.bp-task-xp {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  white-space: nowrap;
}

.bp-task-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 8px;
}

.bp-task-progress-bar {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 6px 0;
}

.bp-task-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  transition: width 0.3s;
}

.bp-task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-task-counter {
  font-size: 0.75rem;
  color: var(--muted);
}

.bp-task-claimed-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-2);
}

.btn-sm {
  padding: 5px 14px;
  font-size: 0.75rem;
  border-radius: 6px;
}

.btn-gold {
  background: linear-gradient(90deg, #f5a623, #fbd15b);
  color: #1a1000;
  border: 1px solid #f5a623;
}

.btn-gold:hover {
  background: linear-gradient(90deg, #fbd15b, #f5a623);
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.bp-reward-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 320px;
  background: rgba(6, 12, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 10px 12px;
  pointer-events: none;
}

.bp-reward-tooltip-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fdcff;
  margin-bottom: 8px;
}

.bp-reward-tooltip-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 0.76rem;
  color: #bfcde0;
  margin-bottom: 4px;
}

.bp-reward-tooltip-line:last-child {
  margin-bottom: 0;
}

.bp-reward-tooltip-line strong {
  color: #f2f6fb;
  font-weight: 600;
  word-break: break-word;
}

/* --- Rewards Table --- */
.bp-rewards {
  padding: 0 0 40px;
}

.bp-rewards-table-wrap {
  overflow-x: auto;
}

.bp-rewards-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.bp-rewards-table th {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.bp-rewards-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(36, 58, 91, 0.4);
}

.bp-rewards-lvl {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.bp-row-reached td {
  background: rgba(46, 197, 255, 0.04);
}

.bp-row-claimed td {
  opacity: 0.55;
}

.bp-badge-claimed {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-2);
}

.bp-badge-locked {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}

.bp-no-season {
  text-align: center;
  padding: 80px 0;
}

.bp-no-season h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  color: var(--text);
}

.bp-no-season p {
  color: var(--muted);
}

/* =============================================
   BATTLE PASS - Operation Visual Iteration 1
   ============================================= */

.bp-page {
  --bp-bg-a: #04142a;
  --bp-bg-b: #062439;
  --bp-bg-c: #0a3a3c;
  --bp-panel: rgba(7, 20, 36, 0.82);
  --bp-panel-strong: rgba(5, 16, 30, 0.92);
  --bp-line-soft: rgba(120, 214, 255, 0.18);
  --bp-line-strong: rgba(120, 214, 255, 0.32);
  --bp-glow-cyan: rgba(61, 219, 255, 0.28);
  --bp-glow-amber: rgba(255, 183, 74, 0.24);
  background:
    radial-gradient(1000px 460px at 85% -6%, rgba(255, 180, 70, 0.2) 0%, rgba(255, 180, 70, 0) 70%),
    radial-gradient(900px 500px at 8% 6%, rgba(69, 210, 255, 0.16) 0%, rgba(69, 210, 255, 0) 72%),
    linear-gradient(148deg, var(--bp-bg-a) 0%, var(--bp-bg-b) 54%, var(--bp-bg-c) 100%);
}

.bp-hero {
  border-bottom: 1px solid var(--bp-line-soft);
  background: transparent;
}

.bp-hero-inner {
  border: 1px solid var(--bp-line-soft);
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  min-height: 360px;
  padding: 32px;
}

.bp-hero-inner::before {
  background:
    linear-gradient(110deg, rgba(2, 9, 18, 0.9) 12%, rgba(4, 12, 22, 0.54) 52%, rgba(3, 10, 18, 0.88) 100%),
    radial-gradient(120% 120% at 84% 8%, rgba(255, 176, 62, 0.26) 0%, rgba(255, 176, 62, 0.04) 34%, rgba(4, 8, 14, 0.74) 76%);
}

.bp-hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 8px),
    linear-gradient(25deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 9px);
  background-size: 9px 9px, 13px 13px;
}

.bp-hero-ring {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(123, 216, 255, 0.2);
  filter: blur(0.2px);
}

.bp-hero-ring-a {
  width: 310px;
  height: 310px;
  right: -130px;
  top: -84px;
  box-shadow: 0 0 90px var(--bp-glow-cyan), inset 0 0 46px rgba(61, 219, 255, 0.18);
}

.bp-hero-ring-b {
  width: 440px;
  height: 440px;
  right: -190px;
  top: -150px;
  border-color: rgba(255, 185, 78, 0.2);
  box-shadow: 0 0 120px var(--bp-glow-amber), inset 0 0 48px rgba(255, 185, 78, 0.14);
}

.bp-hero-text {
  max-width: 640px;
  border-radius: 14px;
  border: 1px solid var(--bp-line-soft);
  background: linear-gradient(165deg, rgba(8, 20, 34, 0.78) 0%, rgba(6, 17, 30, 0.58) 100%);
  backdrop-filter: blur(7px);
  padding: 16px 18px;
}

.bp-kicker {
  color: #90e4ff;
  letter-spacing: 0.22em;
}

.bp-hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  letter-spacing: 0.12em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.bp-subtitle {
  color: #d5f1ff;
  font-size: 0.96rem;
}

.bp-hero-tagline {
  font-size: 0.9rem;
  color: #b8d2e7;
}

.bp-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bp-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 216, 255, 0.22);
  background: rgba(8, 22, 39, 0.58);
  color: #b8e8ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bp-hero-timer {
  border-radius: 12px;
  border: 1px solid var(--bp-line-strong);
  padding: 12px 14px;
  background: linear-gradient(170deg, rgba(6, 16, 28, 0.9), rgba(4, 13, 23, 0.76));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}

.bp-premium-cta {
  box-shadow: 0 12px 22px rgba(255, 184, 80, 0.2);
}

.bp-stats {
  padding-top: 24px;
}

.bp-stats-row {
  gap: 12px;
}

.bp-stat-card {
  min-width: 172px;
  border-radius: 11px;
  border: 1px solid var(--bp-line-soft);
  background: linear-gradient(170deg, rgba(7, 20, 35, 0.9), rgba(5, 15, 28, 0.6));
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.bp-stat-label {
  color: #8bb1ce;
}

.bp-stat-value {
  color: #ecf6ff;
}

.bp-level-bar {
  height: 12px;
  background: rgba(0, 0, 0, 0.26);
  border-color: rgba(102, 170, 210, 0.22);
}

.bp-level-bar-fill {
  background: linear-gradient(90deg, #2dd1ff 0%, #1ea0ff 45%, #67ef9d 100%);
  box-shadow: 0 0 16px rgba(40, 206, 255, 0.36);
}

.bp-level-next-reward {
  color: #b0d3ea;
}

.bp-section-title {
  margin-top: 34px;
  color: #6fd8ff;
  letter-spacing: 0.14em;
}

.bp-rail-scroll {
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  padding: 14px 10px 10px;
  background: linear-gradient(180deg, rgba(5, 16, 30, 0.76), rgba(4, 13, 24, 0.5));
}

.bp-rail-track {
  position: relative;
}

.bp-rail-track::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 30px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(53, 196, 255, 0.5), rgba(121, 255, 174, 0.44));
}

.bp-rail-node {
  z-index: 1;
}

.bp-rail-dot {
  width: 12px;
  height: 12px;
  border-color: rgba(106, 171, 212, 0.58);
  background: rgba(3, 15, 30, 0.96);
}

.bp-rail-node.reached .bp-rail-dot {
  box-shadow: 0 0 14px rgba(45, 199, 255, 0.54);
}

.bp-tasks-grid {
  gap: 18px;
}

.bp-tasks-grid.bp-tasks-grid-three {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 1180px) {
  .bp-tasks-grid.bp-tasks-grid-three {
    grid-template-columns: 1fr;
  }
}

.bp-tasks-column {
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(5, 18, 32, 0.7), rgba(4, 14, 26, 0.5));
}

.bp-tasks-col-toggle .bp-tasks-col-title {
  border-bottom: 0;
  color: #cde9fc;
}

.bp-task-card {
  border-radius: 10px;
  border: 1px solid rgba(124, 214, 255, 0.15);
  background: linear-gradient(175deg, rgba(9, 26, 45, 0.95), rgba(7, 22, 39, 0.75));
  margin-bottom: 12px;
}

.bp-task-card:hover {
  border-color: rgba(117, 216, 255, 0.45);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.bp-task-name {
  color: #f1f8ff;
}

.bp-task-desc {
  color: #a6c4da;
}

.bp-task-progress-bar {
  height: 6px;
}

.bp-task-progress-fill {
  background: linear-gradient(90deg, #22d7ff, #58e7a0);
}

.bp-rewards-table-wrap {
  border: 1px solid var(--bp-line-soft);
  border-radius: 12px;
  background: var(--bp-panel-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
}

.bp-rewards-table th {
  color: #89d2f9;
  border-bottom: 1px solid rgba(95, 164, 208, 0.35);
}

.bp-rewards-table td {
  color: #dbeaf7;
}

.bp-row-reached td {
  background: rgba(43, 188, 255, 0.08);
}

.bp-badge-locked {
  color: #7d9db8;
}

.bp-page .bp-hero-inner,
.bp-page .bp-stat-card,
.bp-page .bp-tasks-column,
.bp-page .bp-rewards-table-wrap,
.bp-page .bp-rail-scroll {
  animation: bpFadeRise 0.46s ease-out both;
}

.bp-page .bp-stat-card:nth-child(2) {
  animation-delay: 0.04s;
}

.bp-page .bp-stat-card:nth-child(3) {
  animation-delay: 0.08s;
}

@keyframes bpFadeRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .bp-hero-inner {
    min-height: 300px;
    padding: 18px;
  }

  .bp-hero-chip {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .bp-stat-card {
    min-width: 0;
    flex: 1;
  }
}

/* =============================================
   BATTLE PASS - Operation Visual Iteration 3
   ============================================= */

.bp-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background:
    radial-gradient(620px 280px at 70% 22%, rgba(255, 175, 65, 0.16) 0%, rgba(255, 175, 65, 0) 70%),
    radial-gradient(560px 260px at 26% 72%, rgba(65, 206, 255, 0.18) 0%, rgba(65, 206, 255, 0) 70%),
    rgba(2, 8, 16, 0.94);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

.bp-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 16, 0) 0%, rgba(2, 8, 16, 0.45) 50%, rgba(2, 8, 16, 0) 100%);
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: bpLoaderSweep 4.8s linear infinite;
  pointer-events: none;
}

.bp-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bp-loader-grid {
  position: absolute;
  inset: -24% -18%;
  background-image:
    linear-gradient(rgba(137, 224, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 224, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(920px) rotateX(62deg) translateY(6%);
  transform-origin: center bottom;
  opacity: 0.24;
  filter: blur(0.2px);
}

.bp-loader-aura {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.4;
  animation: bpLoaderAura 3.2s ease-in-out infinite;
}

.bp-loader-aura-a {
  width: 240px;
  height: 240px;
  top: 18%;
  left: 22%;
  background: rgba(70, 206, 255, 0.28);
}

.bp-loader-aura-b {
  width: 280px;
  height: 280px;
  right: 18%;
  bottom: 16%;
  background: rgba(255, 186, 102, 0.24);
  animation-delay: -1.2s;
}

.bp-loader-shell {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 30px));
  border: 1px solid rgba(136, 220, 255, 0.32);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(7, 18, 33, 0.9), rgba(5, 14, 27, 0.74));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(134, 215, 255, 0.1) inset;
  backdrop-filter: blur(6px);
  padding: 18px 18px 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.bp-loader-orbit {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.bp-loader-media {
  width: min(440px, calc(100vw - 82px));
  aspect-ratio: 730 / 411;
  border-radius: 12px;
  border: 1px solid rgba(137, 221, 255, 0.34);
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(96, 212, 255, 0.24), rgba(8, 17, 30, 0.94));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.bp-loader-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  filter: saturate(1.08) contrast(1.05);
}

.bp-loader-core {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, #8be7ff 0%, #1bb8ff 45%, #08324f 100%);
  box-shadow: 0 0 36px rgba(66, 208, 255, 0.45);
  animation: bpPulse 1.8s ease-in-out infinite;
}

.bp-loader-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(110, 216, 255, 0.36);
}

.bp-loader-ring-a {
  width: 180px;
  height: 180px;
  animation: bpSpin 5.2s linear infinite;
}

.bp-loader-ring-b {
  width: 250px;
  height: 250px;
  border-color: rgba(255, 188, 95, 0.3);
  animation: bpSpin 6.8s linear infinite reverse;
}

.bp-loader-progress {
  width: min(420px, calc(100vw - 82px));
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(135, 216, 255, 0.38);
  background: rgba(7, 18, 33, 0.9);
  overflow: hidden;
}

.bp-loader-progress-fill {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(118, 223, 255, 0.95), rgba(255, 191, 111, 0.95));
  box-shadow: 0 0 18px rgba(124, 221, 255, 0.42);
  transition: width 0.22s linear;
}

.bp-loader-text {
  margin: 2px 0 0;
  text-align: center;
  color: #9dd7f8;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.bp-loader-subtext {
  margin: 0;
  text-align: center;
  color: #7fa9c4;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bp-command-strip {
  display: grid;
  grid-template-columns: 180px 1fr 180px 180px;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 8px;
}

.bp-command-item {
  border: 1px solid rgba(124, 214, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  background: linear-gradient(172deg, rgba(8, 21, 38, 0.88), rgba(6, 16, 30, 0.58));
}

.bp-command-k {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #8fb8d8;
}

.bp-command-v {
  display: block;
  margin-top: 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.08rem;
  color: #ecf7ff;
}

.bp-command-bar-wrap {
  display: flex;
  flex-direction: column;
}

.bp-command-bar {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
  border: 1px solid rgba(125, 205, 246, 0.2);
}

.bp-command-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1dd2ff, #55f1a4);
  box-shadow: 0 0 12px rgba(46, 208, 255, 0.48);
}

.bp-task-inspector {
  border: 1px solid rgba(123, 214, 255, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: linear-gradient(170deg, rgba(8, 22, 38, 0.9), rgba(7, 20, 34, 0.62));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.bp-task-inspector-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8dd7f8;
}

.bp-task-inspector-title {
  margin: 6px 0 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #f2f8ff;
}

.bp-task-inspector-desc {
  margin: 0;
  color: #a7c6dc;
  font-size: 0.82rem;
}

.bp-task-inspector-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bp-task-inspector-k {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #7ea6c2;
}

.bp-task-inspector-v {
  display: block;
  margin-top: 2px;
  color: #e6f3ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
}

/* =============================================
   BATTLE PASS - Expert Quest Panel (New Design)
   ============================================= */

.bp-quest-panel {
  position: relative;
  border: 2px solid rgba(255, 42, 67, 0.65);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 14px;
  background: linear-gradient(175deg, rgba(20, 30, 45, 0.94), rgba(16, 26, 40, 0.88));
  box-shadow: 
    0 0 20px rgba(255, 42, 67, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
}

.bp-quest-lock-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  color: rgba(255, 150, 150, 0.8);
  transition: color 0.2s ease;
}

.bp-quest-lock-icon-open {
  color: rgba(75, 230, 160, 0.85);
  filter: drop-shadow(0 0 6px rgba(75, 230, 160, 0.3));
}

.bp-quest-lock-icon-locked {
  color: rgba(255, 100, 100, 0.8);
}

.bp-quest-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bp-quest-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f2f8ff;
  flex: 1;
}

.bp-quest-state-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.bp-quest-state-badge.bp-quest-state-available {
  background: rgba(100, 150, 200, 0.35);
  color: #b8d8f5;
  border: 1px solid rgba(120, 170, 220, 0.4);
}

.bp-quest-state-badge.bp-quest-state-active {
  background: rgba(255, 200, 100, 0.3);
  color: #ffe6b3;
  border: 1px solid rgba(255, 200, 100, 0.5);
}

.bp-quest-state-badge.bp-quest-state-claimable {
  background: rgba(100, 200, 255, 0.3);
  color: #b8e8ff;
  border: 1px solid rgba(100, 200, 255, 0.5);
}

.bp-quest-state-badge.bp-quest-state-claimed {
  background: rgba(120, 220, 150, 0.25);
  color: #b8f0d0;
  border: 1px solid rgba(120, 220, 150, 0.4);
}

.bp-quest-description {
  margin: 0 -2px 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #bfd4e6;
}

/* Progress Container */
.bp-quest-progress-container {
  margin-bottom: 14px;
}

.bp-quest-progress-bar {
  height: 8px;
  background: rgba(100, 120, 145, 0.25);
  border: 1px solid rgba(120, 170, 220, 0.25);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.bp-quest-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 150, 100, 0.8), rgba(255, 200, 100, 0.9));
  border-radius: 4px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 150, 100, 0.4);
}

.bp-quest-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #99b8d8;
}

#bp-quest-progress-value {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #cde9fc;
}

#bp-quest-status-label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 100, 100, 0.2);
  color: #ffb8b8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Rewards Section */
.bp-quest-rewards {
  margin-bottom: 12px;
}

.bp-quest-rewards-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6464;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 100, 100, 0.25);
}

.bp-quest-rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bp-quest-reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(120, 180, 220, 0.2);
  background: rgba(10, 25, 40, 0.6);
  transition: all 0.15s ease;
}

.bp-quest-reward-item:hover {
  border-color: rgba(120, 180, 220, 0.45);
  background: rgba(12, 28, 45, 0.8);
  transform: translateY(-2px);
}

.bp-quest-reward-item.event-currency {
  border-color: rgba(255, 150, 100, 0.3);
  background: rgba(255, 100, 50, 0.08);
}

.bp-quest-reward-item.event-currency:hover {
  border-color: rgba(255, 150, 100, 0.5);
  background: rgba(255, 100, 50, 0.12);
}

.bp-quest-reward-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(80, 140, 200, 0.2);
  color: #88c5ff;
  transition: all 0.15s ease;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon {
  background: rgba(100, 160, 220, 0.3);
  transform: scale(1.08);
}

.bp-quest-reward-icon.xp {
  background: linear-gradient(135deg, rgba(100, 200, 100, 0.25), rgba(150, 255, 150, 0.15));
  color: #a8ff88;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.xp {
  background: linear-gradient(135deg, rgba(100, 200, 100, 0.4), rgba(150, 255, 150, 0.25));
}

.bp-quest-reward-icon.coin {
  background: linear-gradient(135deg, rgba(255, 180, 80, 0.25), rgba(255, 220, 100, 0.15));
  color: #ffc888;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.coin {
  background: linear-gradient(135deg, rgba(255, 180, 80, 0.4), rgba(255, 220, 100, 0.25));
}

.bp-quest-reward-icon.item {
  background: linear-gradient(135deg, rgba(150, 150, 220, 0.25), rgba(180, 180, 255, 0.15));
  color: #b8b8ff;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.item {
  background: linear-gradient(135deg, rgba(150, 150, 220, 0.4), rgba(180, 180, 255, 0.25));
}

.bp-quest-reward-icon.skull {
  background: linear-gradient(135deg, rgba(255, 150, 100, 0.3), rgba(255, 100, 50, 0.2));
  color: #ffb388;
}

.bp-quest-reward-item:hover .bp-quest-reward-icon.skull {
  background: linear-gradient(135deg, rgba(255, 150, 100, 0.45), rgba(255, 100, 50, 0.3));
  box-shadow: 0 0 10px rgba(255, 150, 100, 0.25);
}

.bp-quest-reward-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8f2ff;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
}

/* Meta Info */
.bp-quest-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 180, 220, 0.15);
}

.bp-quest-meta-item {
  display: flex;
  flex-direction: column;
}

.bp-quest-meta-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #7ea6c2;
  margin-bottom: 4px;
}

.bp-quest-meta-value {
  display: block;
  color: #d4e6f5;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .bp-quest-rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-quest-panel {
    padding: 14px 12px;
  }

  .bp-quest-lock-icon {
    width: 20px;
    height: 20px;
  }

  .bp-quest-title {
    font-size: 1.1rem;
  }
}

.bp-task-card {
  cursor: pointer;
}

@keyframes bpPulse {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes bpSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bpLoaderSweep {
  0% { transform: translateY(-32%); }
  100% { transform: translateY(32%); }
}

@keyframes bpLoaderAura {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.52;
    transform: scale(1.05);
  }
}

@media (max-width: 1180px) {
  .bp-command-strip {
    grid-template-columns: 1fr 1fr;
  }

  .bp-task-inspector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bp-command-strip {
    grid-template-columns: 1fr;
  }

  .bp-task-inspector-grid {
    grid-template-columns: 1fr;
  }
}

.bp-currency-continent {
  margin-top: 14px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 12px;
}

.bp-currency-panel,
.bp-continent-panel {
  border: 1px solid rgba(123, 214, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(8, 22, 38, 0.9), rgba(6, 18, 32, 0.62));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.bp-currency-panel {
  padding: 14px;
}

.bp-currency-k {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94c6e6;
}

.bp-currency-main {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-currency-icon,
.bp-currency-fallback {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(120, 212, 255, 0.28);
  background: rgba(10, 26, 43, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bp-currency-icon {
  object-fit: contain;
  padding: 6px;
}

.bp-currency-fallback {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  color: #96dbff;
}

.bp-currency-fallback.is-hidden {
  display: none;
}

.bp-currency-fallback svg {
  width: 24px;
  height: 24px;
  display: block;
}

.bp-currency-value {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.9rem;
  color: #f1f8ff;
  line-height: 1;
}

.bp-currency-code {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8ec3e4;
}

.bp-currency-note {
  margin: 12px 0 0;
  color: #a8c9df;
  font-size: 0.8rem;
}

/* ── Globe section: full-width centered layout ── */
.bp-globe-section {
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.bp-globe-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#bp-globe-canvas {
  display: block;
  width: clamp(340px, 70vw, 760px);
  height: clamp(340px, 70vw, 760px);
  cursor: grab;
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(65, 202, 255, 0.28),
    0 0 220px rgba(65, 202, 255, 0.10);
}

#bp-globe-canvas:active { cursor: grabbing; }

/* Floating continent label tooltip */
.bp-globe-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  padding: 8px 14px;
  background: rgba(4, 14, 26, 0.93);
  border: 1px solid rgba(34, 215, 255, 0.42);
  border-radius: 4px;
  font: 700 13px/1.35 'Rajdhani', sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #edf8ff;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity .12s ease;
}
.bp-globe-tooltip.is-visible { opacity: 1; }

/* Legacy layers / rings no longer used — hide if accidentally present */
.bp-globe-ring,
.bp-globe-layer,
.bp-globe-shine,
.bp-globe-marker,
.bp-marker-label { display: none !important; }

/* Old .bp-globe div (now hidden wrapper) */
#bp-globe[hidden] { display: none !important; }

/* ── Command bar: horizontal strip below globe ── */
.bp-globe-command {
  width: 100%;
  max-width: 1520px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid rgba(122, 205, 244, 0.22);
  border-radius: 10px;
  padding: 14px 22px;
  background: rgba(6, 20, 35, 0.75);
}

.bp-globe-command-region {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 160px;
}

.bp-globe-command-k {
  font: 700 9px/1 'Rajdhani', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bp-amber-hot, #ff9c3c);
}

.bp-globe-command-v {
  font: 700 20px/1 'Rajdhani', sans-serif;
  letter-spacing: .05em;
  color: #edf8ff;
}

.bp-globe-command-note {
  flex: 1;
  margin: 0;
  color: #9ec3dd;
  font-size: 0.77rem;
}

.bp-globe-command-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Continent route planner panel ── */
.bp-route-panel {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(255, 76, 116, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(14, 10, 23, 0.9), rgba(8, 14, 28, 0.9));
  box-shadow: inset 0 0 40px rgba(255, 63, 120, 0.06), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.bp-route-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.bp-route-kicker {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  color: #ff6b99;
  text-transform: uppercase;
}

.bp-route-title {
  font: 700 16px/1.1 'Rajdhani', sans-serif;
  color: #ffe9f0;
  letter-spacing: .03em;
}

.bp-route-meta {
  margin-left: auto;
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff9fbd;
}

.bp-route-visual-wrap {
  position: relative;
  margin-top: 10px;
  border: 1px solid rgba(255, 76, 116, 0.28);
  border-radius: 10px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 94, 138, 0.08), transparent 55%),
    rgba(6, 11, 20, 0.9);
}

.bp-route-panel[data-continent='europe'] .bp-route-visual-wrap {
  min-height: clamp(500px, 78vh, 1080px);
  padding: 0;
  overflow: hidden;
}

.bp-route-panel[data-continent='asia'] .bp-route-visual-wrap {
  min-height: clamp(500px, 78vh, 1080px);
  padding: 0;
  overflow: hidden;
}

.bp-route-panel[data-continent='europe'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/europe-neon-infographic.svg');
  background-size: contain;
  background-position: center var(--bp-europe-map-pos-y, 64%);
  background-repeat: no-repeat;
  transform: translateY(var(--bp-europe-map-shift-y, 7%));
  transform-origin: center;
  pointer-events: none;
}

.bp-route-panel[data-continent='asia'] .bp-route-visual-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/asia-neon-infographic.svg');
  background-size: contain;
  background-position: var(--bp-asia-map-pos-x, 50%) var(--bp-asia-map-pos-y, 56%);
  background-repeat: no-repeat;
  transform: translate(var(--bp-asia-map-shift-x, 0%), var(--bp-asia-map-shift-y, 0%));
  transform-origin: center;
  pointer-events: none;
}

.bp-route-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(460px, 66vh, 980px);
}

.bp-route-panel[data-continent='europe'] .bp-route-svg {
  display: block;
  position: relative;
  z-index: 2;
}

.bp-route-panel[data-continent='asia'] .bp-route-svg {
  display: block;
  position: relative;
  z-index: 2;
}

.bp-route-panel[data-continent='europe'] .bp-route-contour {
  display: none;
}

.bp-route-panel[data-continent='asia'] .bp-route-contour {
  display: none;
}

.bp-route-contour {
  fill: rgba(255, 67, 123, 0.12);
  stroke: rgba(255, 62, 120, 0.9);
  stroke-width: 0.7;
  filter: drop-shadow(0 0 5px rgba(255, 58, 120, 0.35));
}

.bp-route-panel[data-continent='africa'] .bp-route-contour {
  stroke-width: 0.24;
  stroke: rgba(255, 62, 120, 0.38);
}

.bp-route-panel[data-continent='africa'] .bp-route-svg {
  transform: scale(1.055);
  transform-origin: 50% 52%;
}

.bp-route-panel[data-continent='australia'] .bp-route-svg {
  transform: scale(1.08);
  transform-origin: 50% 50%;
}

.bp-route-link {
  stroke: rgba(255, 72, 124, 0.5);
  stroke-width: 0.45;
}

.bp-route-link.is-complete {
  stroke: rgba(98, 255, 184, 0.8);
}

.bp-route-node {
  cursor: pointer;
}

.bp-route-node.is-empty {
  cursor: default;
}

.bp-route-node-core {
  fill: rgba(14, 16, 25, 0.95);
  stroke: rgba(255, 72, 124, 0.75);
  stroke-width: 0.45;
}

.bp-route-node-inner {
  fill: rgba(255, 72, 124, 0.92);
}

.bp-route-node-label {
  fill: #f4d1dc;
  font: 700 1.6px/1 'Rajdhani', sans-serif;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.bp-route-node.is-current .bp-route-node-core {
  stroke: rgba(75, 224, 255, 1);
  stroke-width: 0.25;
  filter: drop-shadow(0 0 9px rgba(75, 224, 255, 0.55));
}

.bp-route-node.is-current .bp-route-node-inner {
  fill: rgba(75, 224, 255, 1);
}

.bp-route-node.is-current .bp-route-node-label {
  fill: #eaf8ff;
}

.bp-route-node.is-locked .bp-route-node-inner {
  fill: rgba(255, 72, 124, 0.45);
}

.bp-route-node.is-open .bp-route-node-inner {
  fill: rgba(255, 150, 188, 0.9);
}

.bp-route-node.is-active .bp-route-node-core {
  stroke: rgba(59, 223, 255, 0.9);
}

.bp-route-node.is-active .bp-route-node-inner {
  fill: rgba(59, 223, 255, 1);
}

.bp-route-node.is-claimable .bp-route-node-core {
  stroke: rgba(112, 255, 176, 0.95);
}

.bp-route-node.is-claimable .bp-route-node-inner {
  fill: rgba(112, 255, 176, 1);
}

.bp-route-node.is-done .bp-route-node-core {
  stroke: rgba(112, 255, 176, 0.75);
}

.bp-route-node.is-done .bp-route-node-inner {
  fill: rgba(112, 255, 176, 0.78);
}

.bp-route-node:focus-visible .bp-route-node-core,
.bp-route-node:hover .bp-route-node-core {
  stroke: #f8fcff;
  stroke-width: 0.65;
}

.bp-route-node.is-selected .bp-route-node-core {
  stroke: #ffffff;
  stroke-width: 0.85;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.42));
}

.bp-route-node.is-selected .bp-route-node-inner {
  fill: #f8fcff;
}

.bp-route-node-brief {
  position: absolute;
  z-index: 8;
  width: min(360px, calc(100% - 24px));
  border: 1px solid rgba(255, 67, 123, 0.65);
  border-radius: 14px;
  background: rgba(5, 10, 18, 0.95);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  padding: 12px 14px 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -115%) scale(0.97);
  transition: opacity .14s ease, transform .16s ease;
}

.bp-route-node-brief.is-visible {
  opacity: 1;
  transform: translate(-50%, -115%) scale(1);
}

.bp-route-node-brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bp-route-node-brief-step,
.bp-route-node-brief-state {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bp-route-node-brief-step {
  color: #ff95bb;
}

.bp-route-node-brief-state {
  color: #d6e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 123, 156, 0.24);
  background: rgba(20, 14, 23, 0.88);
}

.bp-route-node-lock-open,
.bp-route-node-lock-closed {
  display: none;
}

.bp-route-node-brief-state[data-lock='open'] {
  color: #88ffbc;
  border-color: rgba(112, 255, 180, 0.44);
  box-shadow: 0 0 18px rgba(112, 255, 180, 0.2);
}

.bp-route-node-brief-state[data-lock='open'] .bp-route-node-lock-open,
.bp-route-node-brief-state[data-lock='locked'] .bp-route-node-lock-closed {
  display: block;
}

.bp-route-node-brief-title {
  display: block;
  margin-top: 6px;
  font: 700 15px/1.18 'Rajdhani', sans-serif;
  color: #fff2f7;
}

.bp-route-node-brief-desc {
  margin: 7px 0 0;
  color: #e8cfdb;
  font-size: 0.86rem;
  line-height: 1.3;
}

.bp-route-node-brief-progress-wrap {
  margin-top: 10px;
  display: grid;
  gap: 5px;
}

.bp-route-node-brief-progress-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 111, 159, 0.16);
}

.bp-route-node-brief-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff557d 0%, #ffbd72 100%);
  box-shadow: 0 0 14px rgba(255, 124, 102, 0.22);
  transition: width .18s ease;
}

.bp-route-node-brief-progress-meta {
  display: flex;
  justify-content: flex-start;
}

.bp-route-node-brief-progress-meta strong {
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffdce8;
}

.bp-route-node-brief-rewards {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bp-route-node-brief-reward {
  min-height: 58px;
  border: 1px solid rgba(255, 67, 123, 0.18);
  border-radius: 9px;
  padding: 8px 10px;
  font: 700 12px/1.1 'Rajdhani', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(22, 13, 23, 0.72);
}

.bp-route-node-brief-reward-xp {
  gap: 6px;
  color: #fff4cd;
  background: linear-gradient(180deg, rgba(255, 214, 79, 0.2), rgba(255, 95, 125, 0.08));
}

.bp-xp-reward-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 208, 98, 0.28));
}

.bp-xp-reward-icon-sm {
  width: 16px;
  height: 16px;
}

.bp-route-node-brief-reward-item {
  color: #f3edf6;
}

.bp-route-node-brief-reward-token {
  gap: 8px;
  color: #ffe6cd;
}

.bp-route-node-token-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.bp-route-legend {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #d7c0cb;
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: baseline;
  background: rgba(255, 72, 124, 0.75);
}

.bp-dot.is-locked { background: rgba(255, 72, 124, 0.45); }
.bp-dot.is-open { background: rgba(255, 150, 188, 0.95); }
.bp-dot.is-active { background: rgba(59, 223, 255, 1); }
.bp-dot.is-claimable,
.bp-dot.is-done { background: rgba(112, 255, 176, 1); }

.bp-route-hint {
  margin: 10px 0 0;
  color: #f3d3df;
  font-size: 0.82rem;
}

.bp-token-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #ffd8aa;
  background: linear-gradient(180deg, rgba(255, 211, 143, 0.28), rgba(123, 49, 18, 0.28));
  border: 1px solid rgba(255, 149, 87, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 123, 84, 0.12);
}

.bp-token-icon-skull {
  color: #ffcf9d;
}

.bp-currency-token {
  flex: 0 0 auto;
}

.bp-route-task-preview {
  margin-top: 12px;
  border: 1px solid rgba(255, 86, 136, 0.26);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(17, 10, 20, 0.96), rgba(11, 11, 21, 0.92)),
    radial-gradient(circle at 82% 22%, rgba(255, 105, 152, 0.1), transparent 32%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bp-route-task-shell {
  display: grid;
  gap: 12px;
}

.bp-route-task-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bp-route-task-title-wrap {
  display: grid;
  gap: 5px;
}

.bp-route-task-kicker {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #ff80aa;
}

.bp-route-task-title {
  font: 700 21px/1.05 'Rajdhani', sans-serif;
  color: #fff0f6;
  letter-spacing: .025em;
}

.bp-route-task-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.bp-route-task-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 109, 149, 0.26);
  background: rgba(26, 14, 25, 0.9);
  color: #ff8fae;
}

.bp-route-task-lock-open,
.bp-route-task-lock-closed {
  display: none;
}

.bp-route-task-lock[data-lock='open'] {
  color: #88ffbc;
  border-color: rgba(112, 255, 180, 0.42);
  box-shadow: 0 0 18px rgba(102, 255, 166, 0.18);
}

.bp-route-task-lock[data-lock='open'] .bp-route-task-lock-open,
.bp-route-task-lock[data-lock='locked'] .bp-route-task-lock-closed {
  display: block;
}

.bp-route-task-state {
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffc1d8;
}

.bp-route-task-preview[data-state='open'] .bp-route-task-state,
.bp-route-task-preview[data-state='active'] .bp-route-task-state,
.bp-route-task-preview[data-state='claimable'] .bp-route-task-state,
.bp-route-task-preview[data-state='done'] .bp-route-task-state {
  color: #9dffc9;
}

.bp-route-task-desc {
  margin: 0;
  color: #f2dce5;
  font-size: 0.92rem;
  max-width: 72ch;
}

.bp-route-task-progress-wrap {
  display: grid;
  gap: 6px;
}

.bp-route-task-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 111, 159, 0.18);
}

.bp-route-task-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff557d 0%, #ffbd72 100%);
  box-shadow: 0 0 18px rgba(255, 124, 102, 0.24);
  transition: width 0.2s ease;
}

.bp-route-task-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bp-route-task-progress-meta strong,
.bp-route-task-progress-meta span {
  font: 700 11px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffd7e4;
}

.bp-route-task-rewards-title {
  font: 700 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ff7ba6;
}

.bp-route-task-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 2.2fr) minmax(0, 0.52fr);
  align-items: start;
  gap: 8px;
}

.bp-route-task-tile {
  min-height: 66px;
  border: 1px solid rgba(255, 97, 146, 0.22);
  border-radius: 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(26, 14, 25, 0.82), rgba(17, 11, 20, 0.92));
  display: grid;
  align-content: space-between;
  gap: 5px;
}

.bp-route-task-tile-k {
  display: block;
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ff9cc2;
}

.bp-route-task-tile-k-icon {
  display: inline-flex;
  align-items: center;
}

.bp-route-task-tile strong {
  display: block;
  font: 700 15px/1 'Rajdhani', sans-serif;
  color: #fff4f8;
}

.bp-route-task-tile.is-xp,
.bp-route-task-tile.is-skull {
  min-height: 58px;
  max-height: 58px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.bp-route-task-tile.is-xp strong {
  font-size: 14px;
  color: #ffd595;
}

.bp-route-task-tile.is-item {
  min-height: 132px;
  padding-top: 16px;
  padding-bottom: 16px;
  align-content: center;
  gap: 10px;
  border-color: rgba(255, 132, 176, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 167, 199, 0.16);
}

.bp-route-task-tile.is-item strong {
  font-size: 17px;
  line-height: 1.12;
  color: #e7ecff;
}

.bp-route-task-tile.is-meta strong {
  color: #9ed4ff;
}

.bp-route-task-tile.is-skull strong {
  font-size: 14px;
}

.bp-route-task-token-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bp-route-task-token-row .bp-token-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.bp-token-icon-img,
.bp-token-icon-fallback {
  width: 65%;
  height: 65%;
  display: block;
  object-fit: contain;
}

.bp-token-icon-fallback.is-hidden {
  display: none;
}

/* ── Continent cards: 3-col grid full width ── */
.bp-continent-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bp-continent-card {
  border: 1px solid rgba(122, 205, 244, 0.18);
  border-left: 3px solid rgba(122, 205, 244, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  background: rgba(9, 25, 42, 0.72);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.bp-continent-card.is-active,
.bp-continent-card:hover {
  border-color: rgba(122, 218, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.bp-continent-card.is-unlocked { border-left-color: rgba(94, 245, 168, 0.55); }
.bp-continent-card.is-locked   { border-left-color: rgba(200, 60, 60, 0.4); }

.bp-continent-card:focus-visible {
  outline: 2px solid rgba(150, 227, 255, 0.95);
  outline-offset: 2px;
}

.bp-continent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.bp-continent-head h3 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #e8f4ff;
}

.bp-continent-status {
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  color: #8aaec8;
}

.bp-continent-card.is-unlocked .bp-continent-status {
  color: #7de7ff;
}

.bp-continent-progress {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #98bdd7;
}

.bp-continent-bar {
  margin-top: 5px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(2, 12, 24, 0.55);
}

.bp-continent-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #35d7ff, #59e9a2);
}

@keyframes bpGlobeSpinA {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bpGlobeSpinB {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bpGlobeRingPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

@media (max-width: 1180px) {
  .bp-currency-continent {
    grid-template-columns: 1fr;
  }

  .bp-continent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bp-globe {
    width: clamp(280px, 86vw, 480px);
  }

  .bp-globe-stage {
    padding: 44px;
  }

  .bp-continent-list {
    grid-template-columns: 1fr;
  }

  .bp-globe-command {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bp-route-meta {
    margin-left: 0;
  }

  .bp-route-svg {
    min-height: min(52vh, 380px);
  }

  .bp-route-panel[data-continent='europe'] .bp-route-visual-wrap {
    min-height: min(66vh, 520px);
  }

  .bp-route-panel[data-continent='europe'] .bp-route-svg {
    display: block;
  }

  .bp-route-legend {
    gap: 8px;
    letter-spacing: .08em;
  }

  .bp-route-task-state {
    margin-left: 0;
  }

  .bp-route-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-route-task-tile.is-item {
    grid-column: 1 / -1;
    min-height: 114px;
  }

  .bp-route-node-brief {
    width: min(280px, calc(100% - 16px));
  }
}

@media (max-width: 680px) {
  .bp-loader-shell {
    width: calc(100vw - 20px);
    padding: 14px 12px 12px;
  }

  .bp-loader-media,
  .bp-loader-progress {
    width: calc(100vw - 58px);
  }

  .bp-loader-orbit {
    width: 210px;
    height: 210px;
    top: -2px;
  }

  .bp-loader-ring-a {
    width: 152px;
    height: 152px;
  }

  .bp-loader-ring-b {
    width: 208px;
    height: 208px;
  }
}

.bp-access-ops {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 12px;
}

.bp-access-rail,
.bp-ops-economy,
.bp-infinite-card {
  border: 1px solid rgba(123, 214, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(8, 22, 38, 0.9), rgba(6, 18, 32, 0.62));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.bp-access-rail {
  padding: 14px;
}

.bp-access-head,
.bp-ops-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.bp-access-k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94c6e6;
}

.bp-access-tier {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  color: #ebf8ff;
  letter-spacing: 0.05em;
}

.bp-access-note {
  margin: 10px 0 0;
  color: #a8c9df;
  font-size: 0.8rem;
}

.bp-access-features {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-access-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 212, 255, 0.28);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b6d8ef;
}

.bp-access-chip.is-ready {
  color: #7df4c0;
  border-color: rgba(125, 244, 192, 0.35);
}

.bp-access-chip.is-off {
  color: #94a9bd;
  border-color: rgba(148, 169, 189, 0.3);
}

.bp-ops-economy {
  padding: 12px;
}

.bp-ops-kicker {
  color: #e8f4ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.bp-ops-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bp-ops-tile {
  border: 1px solid rgba(122, 205, 244, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(9, 25, 42, 0.72);
}

.bp-ops-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8fb6d1;
}

.bp-ops-value {
  display: block;
  margin-top: 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  color: #edf8ff;
}

.bp-ops-tile small,
.bp-ops-note {
  color: #9dbfd8;
  font-size: 0.72rem;
}

.bp-ops-note {
  margin: 10px 0 0;
}

.bp-infinite-track {
  margin-top: 12px;
}

.bp-infinite-card {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.bp-infinite-col {
  border: 1px solid rgba(122, 205, 244, 0.2);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(9, 25, 42, 0.65);
}

.bp-infinite-k {
  display: block;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8fb6d1;
}

.bp-infinite-v {
  display: block;
  margin-top: 3px;
  font-family: 'Rajdhani', sans-serif;
  color: #eaf8ff;
  font-size: 1rem;
}

.bp-infinite-card.is-active .bp-infinite-v {
  color: #7ceec7;
}

.bp-task-state-row {
  margin-top: 6px;
}

.bp-task-state-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(123, 214, 255, 0.24);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ed6f7;
}

.bp-task-state-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bp-task-action {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 0.66rem;
}

.bp-task-card[data-ui-state='active'] .bp-task-state-badge {
  border-color: rgba(110, 238, 188, 0.4);
  color: #86f1cc;
}

.bp-task-card[data-ui-state='hold'] .bp-task-state-badge,
.bp-task-card[data-ui-state='cooldown'] .bp-task-state-badge {
  border-color: rgba(255, 193, 99, 0.36);
  color: #ffd08b;
}

.bp-task-card[data-ui-state='claimable'] .bp-task-state-badge {
  border-color: rgba(138, 255, 116, 0.34);
  color: #a4ff90;
}

.bp-task-card.is-hidden-by-filter {
  display: none;
}

.bp-task-card.is-globe-focus {
  border-color: rgba(125, 228, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(125, 228, 255, 0.35), 0 14px 24px rgba(0, 0, 0, 0.28);
}

.bp-task-card.is-globe-ping {
  animation: bpGlobeTaskPing 0.9s ease-out;
}

@keyframes bpGlobeTaskPing {
  0% {
    box-shadow: 0 0 0 0 rgba(112, 232, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(112, 232, 255, 0);
  }
}

@media (max-width: 1280px) {
  .bp-access-ops {
    grid-template-columns: 1fr;
  }

  .bp-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-infinite-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bp-ops-grid,
  .bp-infinite-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BATTLE PASS — Operation Visual Iteration 4
   AP/Atlas UX Parity: command-center scan bar, dossier cards,
   mode chips, HQ status tile, classified region stamps
   ============================================================ */

/* ── Keyframes ── */
@keyframes bpScanlineScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes bpLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
@keyframes bpDossierSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Color tokens (extend existing bp-page vars) ── */
.bp-page {
  --bp-amber-hot:   #ff9c3c;
  --bp-green-ok:    #5ef5a8;
  --bp-red-locked:  #e05040;
  --bp-cyan-bright: #22d7ff;
  --bp-chip-bg:     rgba(0,0,0,.55);
  --bp-chip-r:      3px;
}

/* ── Scanline / classified ticker bar ── */
.bp-scanline-bar {
  width: 100%;
  overflow: hidden;
  background: rgba(0,20,40,.85);
  border-top:    1px solid rgba(34,215,255,.18);
  border-bottom: 1px solid rgba(34,215,255,.18);
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.bp-scanline-track {
  display: flex;
  white-space: nowrap;
  animation: bpScanlineScroll 28s linear infinite;
  gap: 0;
}
.bp-scanline-chip {
  font: 600 10px/32px 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  color: var(--bp-cyan-bright);
  text-transform: uppercase;
  padding: 0 24px;
}
.bp-scanline-chip.bp-scanline-warn { color: var(--bp-amber-hot); }
.bp-scanline-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(34,215,255,.25);
  vertical-align: middle;
  margin: 0 4px;
}
.bp-scanline-bar:hover .bp-scanline-track { animation-play-state: paused; }

/* ── Hero section extras ── */
.bp-kicker-tag {
  display: inline-block;
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  color: var(--bp-amber-hot);
  background: rgba(255,156,60,.12);
  border: 1px solid rgba(255,156,60,.35);
  padding: 3px 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 8px;
}
.bp-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 10px/1 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  color: #8fb0d1;
  background: var(--bp-chip-bg);
  border: 1px solid rgba(143,176,209,.2);
  padding: 4px 10px;
  border-radius: var(--bp-chip-r);
  text-transform: uppercase;
}
.bp-chip-live {
  color: var(--bp-green-ok);
  border-color: rgba(94,245,168,.3);
  background: rgba(94,245,168,.08);
}
.bp-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bp-green-ok);
  animation: bpLivePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.bp-chip-season {
  color: var(--bp-amber-hot);
  border-color: rgba(255,156,60,.3);
  background: rgba(255,156,60,.08);
}
.bp-hero-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.bp-hero-op-id {
  margin-top: 16px;
  font: 700 11px/1 'Rajdhani', monospace;
  letter-spacing: .2em;
  color: rgba(34,215,255,.55);
  text-transform: uppercase;
}
.bp-hero-op-code {
  color: var(--bp-cyan-bright);
}

/* ── Command strip (HQ STATUS tile) ── */
.bp-cmd-header {
  background: rgba(255,156,60,.06) !important;
  border-color: rgba(255,156,60,.25) !important;
}
.bp-cmd-header .bp-command-label {
  color: var(--bp-amber-hot) !important;
  font-weight: 700;
}
.bp-cmd-hq-v {
  font: 700 13px/1 'Rajdhani', sans-serif;
  letter-spacing: .06em;
}
.bp-cmd-hq-v.full  { color: var(--bp-green-ok); }
.bp-cmd-hq-v.trial { color: var(--bp-amber-hot); }
.bp-cmd-of { font-variant-numeric: tabular-nums; }
.bp-cmd-days { color: var(--bp-amber-hot); }
.bp-cmd-claimable {
  background: rgba(94,245,168,.06) !important;
  border-color: rgba(94,245,168,.25) !important;
}
.bp-cmd-claimable .bp-command-label { color: var(--bp-green-ok) !important; }
.bp-cmd-claimable .bp-command-value { color: var(--bp-green-ok); font-weight: 700; }

/* ── Globe section header ── */
.bp-globe-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.bp-globe-title-tag {
  display: inline-block;
  font: 800 11px/1 'Rajdhani', sans-serif;
  letter-spacing: .22em;
  color: var(--bp-amber-hot);
  background: rgba(255,156,60,.1);
  border: 1px solid rgba(255,156,60,.3);
  padding: 5px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ── Continent card dossier tag ── */
.bp-continent-dossier-tag {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.bp-continent-dossier-tag.is-active {
  color: var(--bp-green-ok);
  background: rgba(94,245,168,.1);
  border: 1px solid rgba(94,245,168,.3);
}
.bp-continent-dossier-tag.is-locked {
  color: var(--bp-red-locked);
  background: rgba(224,80,64,.1);
  border: 1px solid rgba(224,80,64,.25);
}

/* border-left color coding on continent cards */
.bp-ops-card[data-unlocked="true"]  { border-left-color: rgba(94,245,168,.45); }
.bp-ops-card[data-unlocked="false"] { border-left-color: rgba(224,80,64,.35); }

/* ── Task board section head ── */
.bp-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.bp-section-head .bp-section-title { margin-bottom: 0; }
.bp-section-head-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.bp-section-badge {
  font: 700 9px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fb0d1;
  background: rgba(143,176,209,.1);
  border: 1px solid rgba(143,176,209,.2);
  padding: 4px 9px;
  border-radius: 2px;
}
.bp-badge-claimable {
  color: var(--bp-green-ok);
  background: rgba(94,245,168,.1);
  border-color: rgba(94,245,168,.3);
  animation: bpLivePulse 2s ease-in-out infinite;
}

/* ── Task column toggle badges ── */
.bp-tasks-col-badge {
  display: inline-block;
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bp-amber-hot);
  background: rgba(255,156,60,.1);
  border: 1px solid rgba(255,156,60,.25);
  padding: 3px 7px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Task card dossier head ── */
.bp-task-dossier-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  animation: bpDossierSlideIn .18s ease both;
  flex-wrap: wrap;
}
.bp-task-mode-chip {
  font: 800 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  border: 1px solid;
  flex-shrink: 0;
}
/* mode chip colors */
/* Use generic approach since JS already evaluates PVP/PVE/OPS text: */
.bp-task-mode-chip { color: var(--bp-cyan-bright); border-color: rgba(34,215,255,.3); background: rgba(34,215,255,.07); }
/* PVP override applied via JS data attribute */
.bp-task-card[data-task-code*="pvp"] .bp-task-mode-chip { color: var(--bp-amber-hot); border-color: rgba(255,156,60,.3); background: rgba(255,156,60,.07); }
.bp-task-card[data-task-code*="pve"] .bp-task-mode-chip { color: var(--bp-green-ok); border-color: rgba(94,245,168,.3); background: rgba(94,245,168,.07); }

.bp-task-track-chip {
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(143,176,209,.7);
  padding: 3px 7px;
  border: 1px solid rgba(143,176,209,.15);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Task state badge (in dossier head) ── */
.bp-task-dossier-head .bp-task-state-badge {
  font: 700 8px/1 'Rajdhani', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid;
  margin-left: auto;
  flex-shrink: 0;
}
/* Remove legacy state row since badge is now in dossier head */
.bp-task-state-row { display: none; }

.bp-state-available  { color: rgba(143,176,209,.6); border-color: rgba(143,176,209,.2); background: transparent; }
.bp-state-active     { color: var(--bp-cyan-bright); border-color: rgba(34,215,255,.3); background: rgba(34,215,255,.06); }
.bp-state-claimable  { color: var(--bp-green-ok); border-color: rgba(94,245,168,.4); background: rgba(94,245,168,.1); animation: bpLivePulse 1.8s ease-in-out infinite; }
.bp-state-claimed    { color: rgba(143,176,209,.4); border-color: rgba(143,176,209,.1); background: transparent; }

/* ── Task card left-border accent by state ── */
.bp-task-card.bp-task-state-active    { border-left: 3px solid var(--bp-cyan-bright); }
.bp-task-card.bp-task-state-claimable { border-left: 3px solid var(--bp-green-ok); }
.bp-task-card.bp-task-state-claimed   { border-left: 3px solid rgba(143,176,209,.2); opacity: .65; }
.bp-task-card.bp-task-state-available { border-left: 3px solid rgba(143,176,209,.2); }

/* ── Task inspector AP style ── */
.bp-task-inspector-label {
  font: 700 9px/1 'Rajdhani', monospace;
  letter-spacing: .2em;
  color: var(--bp-amber-hot);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ── Claim button pulse on claimable state ── */
.bp-task-card.bp-task-state-claimable .bp-claim-task {
  box-shadow: 0 0 12px rgba(94,245,168,.35);
}

/* ── Responsive: mobile stack ── */
@media (max-width: 640px) {
  .bp-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bp-scanline-bar { height: 28px; }
  .bp-scanline-chip { font-size: 9px; padding: 0 16px; }
  .bp-hero-chips-row { gap: 5px; }
  .bp-task-dossier-head { gap: 4px; }
}
