.bag-map-surface {
  display: grid;
  gap: 14px;
}

.bag-map-hero {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(245, 240, 228, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 0%, rgba(115, 245, 199, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(18, 32, 43, 0.95), rgba(7, 16, 25, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.bag-map-hero__copy {
  display: grid;
  gap: 9px;
}

.bag-map-hero h1 {
  max-width: 13.6ch;
  margin: 0;
  color: #fbf7ee;
  font-size: clamp(1.92rem, 8vw, 2.48rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.052em;
}

.bag-map-hero p {
  max-width: 34ch;
  margin: 0;
  color: rgba(230, 239, 246, 0.76);
  font-size: 0.9rem;
  line-height: 1.36;
}

.bag-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bag-meta-line span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(220, 231, 239, 0.66);
  font-size: 0.67rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bag-map-legend,
.bag-selected__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bag-proof {
  display: grid;
  min-height: 96px;
  align-content: start;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.bag-proof span,
.bag-step-row span,
.bag-selected__head span,
.bag-detail-card > span {
  color: rgba(220, 231, 239, 0.62);
  font-size: 0.68rem;
  font-weight: 790;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.bag-proof strong {
  color: #fbf7ee;
  font-size: clamp(0.98rem, 3.8vw, 1.14rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.bag-proof p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(220, 231, 239, 0.7);
  font-size: 0.72rem;
  line-height: 1.26;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bag-proof--mint {
  border-color: rgba(115, 245, 199, 0.2);
  background: rgba(115, 245, 199, 0.065);
}

.bag-proof--coral {
  border-color: rgba(255, 132, 105, 0.2);
  background: rgba(255, 132, 105, 0.07);
}

.bag-proof--sand {
  border-color: rgba(255, 210, 138, 0.18);
  background: rgba(255, 210, 138, 0.055);
}

.bag-proof--sky {
  border-color: rgba(132, 213, 255, 0.18);
  background: rgba(132, 213, 255, 0.055);
}

.bag-map-stage {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 48% 0%, rgba(132, 213, 255, 0.13), transparent 18rem),
    rgba(4, 12, 20, 0.76);
}

.bag-map-stage .chart-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bag-map-stage .chart-shell__mast {
  padding-bottom: 6px;
}

.bag-map-stage .chart-shell__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bag-step-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bag-step-row {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.bag-step-row strong {
  color: #fbf7ee;
  font-size: 0.98rem;
  font-weight: 790;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.bag-step-row em {
  color: rgba(220, 231, 239, 0.62);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.28;
}

.bag-club-rail-wrap {
  margin: 0 -14px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bag-club-rail-wrap::-webkit-scrollbar {
  display: none;
}

.bag-club-rail-wrap .club-rail {
  gap: 8px;
}

.bag-club-rail-wrap .club-pill {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 18px;
  font-size: 0.78rem;
}

.bag-selected,
.bag-detail-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background: rgba(12, 24, 34, 0.72);
}

.bag-selected__head,
.bag-detail-card {
  gap: 8px;
}

.bag-selected__head strong,
.bag-detail-card > strong {
  color: #fbf7ee;
  font-size: 1.16rem;
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.bag-selected__head p,
.bag-detail-card > p {
  max-width: 42ch;
  margin: 0;
  color: rgba(220, 231, 239, 0.72);
  font-size: 0.84rem;
  line-height: 1.36;
}

.bag-detail-grid {
  display: grid;
  gap: 12px;
}

.bag-detail-card__visual {
  overflow: hidden;
  border-radius: 22px;
}

.bag-detail-card__visual .chart-shell,
.bag-detail-card__visual .metric-profile,
.bag-detail-card__visual .metric-compare {
  margin: 0;
}

.bag-detail-card .orbit-card__controls,
.bag-detail-card .segmented-control,
.bag-detail-card .lens-control {
  margin: 0;
}

@media (min-width: 410px) {
  .bag-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bag-detail-card--metrics {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .bag-map-legend,
  .bag-selected__grid,
  .bag-step-strip {
    grid-template-columns: 1fr;
  }
}
