/* Product layer: landing trim, profile screen, result dossier. After skycoach-theme. */

@font-face {
  font-family: "SKSkycoach";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("https://skycoach.gg/fonts/SKSkycoach/SKSkycoach-Regular.woff2") format("woff2"),
    url("https://skycoach.gg/fonts/SKSkycoach/SKSkycoach-Regular.ttf") format("opentype");
}

@font-face {
  font-family: "SKSkycoach";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url("https://skycoach.gg/fonts/SKSkycoach/SKSkycoach-Medium.woff2") format("woff2"),
    url("https://skycoach.gg/fonts/SKSkycoach/SKSkycoach-Medium.ttf") format("opentype");
}

@font-face {
  font-family: "SKSkycoach";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("https://skycoach.gg/fonts/SKSkycoach/SKSkycoach-Bold.woff2") format("woff2"),
    url("https://skycoach.gg/fonts/SKSkycoach/SKSkycoach-Bold.ttf") format("opentype");
}

@font-face {
  font-family: "Stolzl";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("https://skycoach.gg/fonts/Stolzl/Stolzl-Regular.woff2") format("woff2"),
    url("https://skycoach.gg/fonts/Stolzl/Stolzl-Regular.ttf") format("opentype");
}

[hidden] {
  display: none !important;
}

.story-landing .story-motto,
.story-landing .home-community,
.story-landing .story-chapter,
.story-landing .server-story,
.story-landing .story-scroll,
.story-landing .poster-caption,
.story-landing .landing-footnote,
.report-link {
  display: none !important;
}

.story-landing {
  min-height: 100dvh;
  padding-bottom: 32px;
}

.story-landing .story-hero {
  min-height: 0;
  align-items: center;
  gap: 28px;
  padding: 6px 0 0;
}

.story-landing .story-intro {
  padding: 14px 8px 14px 0;
}

.story-landing .landing-logo {
  margin: 14px 0 10px;
}

.story-landing .hero-description {
  margin-top: 14px;
  max-width: 540px;
}

.story-landing .hero-steps {
  margin: 20px 0;
  justify-content: flex-start;
}

.story-landing .sentence-poster {
  align-self: center;
  padding: 24px 28px 22px;
}

.story-landing .poster-sentence {
  margin: 8px 0 14px;
}

.story-landing .poster-sentence > span {
  font-size: clamp(82px, 8vw, 108px);
}

.story-landing .poster-equation {
  padding: 11px 0;
}

.story-landing .poster-bonus {
  margin: 14px 0 0;
}

/* —— Screen 2: compact landing overview —— */
.landing-overview {
  width: 100%;
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1c1c24;
}

.landing-overview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.landing-overview__meta {
  color: #9b9ba8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-card {
  background: #111118;
  border: 1px solid #2a2a33;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing-card__step {
  color: #9b9ba8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-card__badge {
  background: #1d1a33;
  border: 1px solid rgba(139, 124, 255, 0.35);
  color: #cfc6ff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.landing-card h2 {
  margin: 2px 0 0;
  color: #f4f4f7;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-card p {
  margin: 0;
  color: #9b9ba8;
  font-size: 13px;
  line-height: 1.5;
}

.landing-summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  background: #111118;
  border: 1px solid #2a2a33;
  border-radius: 20px;
  overflow: hidden;
}

.landing-summary__cap {
  padding: 20px 24px;
  border-right: 1px solid #2a2a33;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-summary__kicker {
  color: #9b9ba8;
  font-size: 12px;
}

.landing-summary__value {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-summary__value strong {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.landing-summary__value span {
  color: #8b7cff;
  font-size: 14px;
  font-weight: 700;
}

.landing-summary__bars {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.landing-summary__bars i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #242430;
}

.landing-summary__bars i:nth-child(-n + 5) {
  background: linear-gradient(90deg, #6d5cff, #8b7cff);
}

.landing-summary__copy {
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.landing-summary__copy strong {
  color: #f4f4f7;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.landing-summary__copy p {
  margin: 0;
  color: #cfcfd6;
  font-size: 14px;
  line-height: 1.55;
}

.story-landing .landing-maintenance {
  max-width: 1180px;
  margin-top: 18px;
}

.story-landing .hub-back-link {
  color: #cfcfd6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.story-landing .hub-back-link:hover {
  color: #8b7cff;
}

@media (max-width: 1050px) {
  .landing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-summary {
    grid-template-columns: 1fr;
  }
  .landing-summary__cap {
    border-right: 0;
    border-bottom: 1px solid #2a2a33;
  }
}

.plan-line.counts b {
  font-variant-numeric: tabular-nums;
}

/* —— Screen 3: character —— */
#profileScreen {
  min-height: 100dvh;
  background:
    radial-gradient(90% 50% at 80% -10%, rgba(109, 92, 255, 0.22), transparent 55%),
    #07070a;
  color: #f4f4f7;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.profile-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.profile-top .brand-logo {
  height: 28px;
}

.profile-kicker {
  color: #9b9ba8;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-shell h1 {
  margin: 8px 0 22px;
  font-size: 40px;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.profile-card {
  background: #17171d;
  border: 1px solid #2a2a33;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 16px;
}

.profile-card label.field-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-card .hint {
  color: #9b9ba8;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.profile-select,
.profile-input {
  width: 100%;
  background: #0c0c10;
  color: #f4f4f7;
  border: 1px solid #2a2a33;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
}

.profile-select:focus,
.profile-input:focus {
  border-color: #6d5cff;
  box-shadow: 0 0 0 3px rgba(109, 92, 255, 0.25);
}

.profile-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0c0c10;
  border: 1px solid #2a2a33;
  border-radius: 14px;
  padding: 0 16px;
}

.profile-input-wrap:focus-within {
  border-color: #6d5cff;
  box-shadow: 0 0 0 3px rgba(109, 92, 255, 0.25);
}

.profile-input-wrap span {
  color: #8b7cff;
  font-weight: 800;
}

.profile-input-wrap input {
  border: 0;
  background: transparent;
  color: #f4f4f7;
  font-size: 22px;
  font-weight: 700;
  width: 100%;
  padding: 14px 0;
  outline: none;
}

.field-error {
  color: #f1a6a6;
  font-size: 13px;
  margin: 8px 0 0;
}

.lenny-bonus.heist-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #17171d;
  border: 1px solid #2a2a33;
  border-radius: 20px;
  padding: 16px 18px;
  margin: 0 0 12px;
  cursor: pointer;
}

.lenny-bonus:focus-within {
  outline: none;
}

.lenny-bonus input:focus {
  outline: none;
}

.lenny-bonus:has(input:focus-visible) {
  outline: 2px solid #6d5cff;
  outline-offset: 3px;
}

.lenny-bonus.heist-check:has(input:checked) {
  border-color: #6d5cff;
  background: #1a1730;
  box-shadow: 0 0 0 1px rgba(109, 92, 255, 0.35), 0 0 18px rgba(109, 92, 255, 0.16);
}

.lenny-bonus.heist-check input {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: #6d5cff;
}

.lenny-bonus .heist-badge {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  background: #221e3a;
  color: #cfc6ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.profile-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.profile-actions .primary {
  border-radius: 999px;
  background: #6d5cff;
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-weight: 700;
}

.profile-actions .primary:hover {
  background: #8b7cff;
}

.profile-actions .step-back {
  border-radius: 999px;
  background: transparent;
  color: #cfcfd6;
  border: 1px solid #2a2a33;
  padding: 12px 18px;
}

/* —— Screen 7: Skycoach character dossier, heists, 1:1 offers & guides —— */
.result-screen.dossier-screen:not([hidden]) {
  display: block !important;
  place-items: unset;
  width: 100%;
  max-width: none !important;
  min-height: 100dvh;
  background:
    radial-gradient(60% 35% at 50% 0%, rgba(90, 48, 255, 0.22), transparent 65%),
    #000000;
  padding: 0 0 64px !important;
  box-sizing: border-box;
  color: #ffffff;
}

.dossier-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(8, 8, 12, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dossier-bar__left,
.dossier-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dossier-bar .result-logo img,
.dossier-bar .brand-logo {
  height: 26px;
  margin: 0;
}

.dossier-bar__hub {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.dossier-bar__hub:hover {
  color: #ffffff;
  border-color: rgba(130, 72, 255, 0.6);
  background: rgba(90, 48, 255, 0.14);
}

.dossier-nav-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.dossier-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.dossier-bar .result-language {
  margin: 0;
}

.language-switch {
  cursor: pointer;
}

.language-switch button {
  cursor: pointer;
}

.dossier-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

/* Hero Stage around central back-turned character */
.dossier-stage {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #09090d;
  min-height: 590px;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.72),
    0 0 60px rgba(90, 48, 255, 0.14);
}

.dossier-stage__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.01);
}

.dossier-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 6, 10, 0.88) 0%,
      rgba(6, 6, 10, 0.44) 25%,
      rgba(6, 6, 10, 0) 40%,
      rgba(6, 6, 10, 0) 60%,
      rgba(6, 6, 10, 0.44) 75%,
      rgba(6, 6, 10, 0.88) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 6, 10, 0.55) 0%,
      rgba(6, 6, 10, 0) 20%,
      rgba(6, 6, 10, 0) 76%,
      rgba(6, 6, 10, 0.82) 100%
    );
  pointer-events: none;
}

.dossier-stage__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f4f7;
}

.stage-pill--server {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.stage-pill__muted {
  color: rgba(255, 255, 255, 0.58);
}

.stage-pill--server strong {
  color: #ffffff;
  font-weight: 600;
}

.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #13c100;
  box-shadow: 0 0 10px #13c100;
  flex-shrink: 0;
}

.stage-dot--violet {
  background: #8248ff;
  box-shadow: 0 0 10px #8248ff;
}

.dossier-stage__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr) 274px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  flex: 1;
}

.dossier-wing {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dossier-figure {
  position: relative;
  min-height: 460px;
  pointer-events: none;
}

.dossier-figure__glow {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 280px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 72, 255, 0.42), transparent 70%);
  filter: blur(22px);
}

.hud-card {
  position: relative;
  background: rgba(12, 12, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  transition: border-color 0.2s, transform 0.2s;
}

.hud-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.hud-card--primary {
  padding: 16px 18px;
  background: linear-gradient(155deg, rgba(90, 48, 255, 0.32) 0%, rgba(14, 14, 22, 0.84) 68%);
  border-color: rgba(130, 72, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(130, 72, 255, 0.24),
    0 16px 36px rgba(90, 48, 255, 0.26);
}

.hud-card--timer {
  padding: 16px 18px;
  background: linear-gradient(155deg, rgba(130, 72, 255, 0.24) 0%, rgba(14, 14, 22, 0.84) 70%);
  border-color: rgba(130, 72, 255, 0.52);
}

.hud-card__timer-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hud-card__label {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hud-card__hero-val {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.hud-card__hero-val strong {
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.hud-card__hero-val span {
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hud-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin: 10px 0 8px;
}

.hud-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #5a30ff 0%, #9f75ff 100%);
}

.hud-card__sub {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.35;
}

.hud-card__bonus {
  display: block;
  margin-top: 4px;
  color: #b89eff;
  font-size: 11px;
  font-weight: 600;
}

.hud-card__timer-val {
  display: block;
  margin: 8px 0 6px;
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.hud-card--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hud-card--row b {
  display: block;
  margin-top: 4px;
  font-family: "SKSkycoach", Inter, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

/* Subtle pill scroll buttons inside HUD stat rows */
.hud-pill-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.hud-pill-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hud-pill-btn--green {
  background: rgba(19, 193, 0, 0.16);
  border-color: rgba(19, 193, 0, 0.32);
  color: #5ef24c !important;
}

.hud-pill-btn--green:hover {
  background: rgba(19, 193, 0, 0.28);
  border-color: rgba(19, 193, 0, 0.55);
  color: #8aff7b !important;
}

/* Cap bar right beneath Hero Stage */
.gap-card.maximum-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 16px 0 0;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gap-card.maximum-card::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 72, 255, 0.55), rgba(90, 48, 255, 0.2) 45%, transparent 70%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.gap-card.maximum-card.is-complete {
  border-color: rgba(19, 193, 0, 0.5);
  background: rgba(19, 193, 0, 0.08);
}

.gap-card.maximum-card > .gap-card__info {
  display: block;
}

.gap-card__kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.64) !important;
}

.gap-card__numbers {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 6px;
}

.gap-card.maximum-card strong {
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

.gap-card.maximum-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

/* Shared Skycoach section headers & buttons */
.dossier-section {
  margin: 44px 0 0;
}

.sc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.sc-section-head h2 {
  margin: 0;
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sc-section-sub {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "SKSkycoach", Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.sc-btn--violet {
  background: #5a30ff;
}

.sc-btn--violet:hover {
  background: #724dff;
}

/* Section: Major Heists & Achievements with Scene Art + 3D Loot Trophies */
.heist-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.heist-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.heist-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
}

.heist-card.is-done {
  border-color: rgba(19, 193, 0, 0.65);
  box-shadow:
    0 0 0 1px rgba(19, 193, 0, 0.24),
    0 16px 38px rgba(19, 193, 0, 0.14);
}

.heist-card__media {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #0b0b10;
}

.heist-card__scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.76);
  transition: transform 0.45s ease, filter 0.35s ease;
}

.heist-card.is-done .heist-card__scene {
  filter: saturate(1.08) brightness(0.92);
}

.heist-card:hover .heist-card__scene {
  transform: scale(1.05);
}

.heist-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 14, 0.25) 0%, rgba(20, 20, 24, 0.96) 100%),
    radial-gradient(circle at 82% 60%, rgba(130, 72, 255, 0.32), transparent 55%);
  pointer-events: none;
}

.heist-card.is-done .heist-card__media::after {
  background:
    linear-gradient(180deg, rgba(10, 10, 14, 0.14) 0%, rgba(20, 20, 24, 0.95) 100%),
    radial-gradient(circle at 82% 60%, rgba(19, 193, 0, 0.28), transparent 58%);
}

.heist-card__status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
}

.heist-card__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.heist-card.is-done .heist-card__status {
  background: rgba(12, 32, 14, 0.86);
  border-color: rgba(19, 193, 0, 0.55);
  color: #7dff6e;
}

.heist-card.is-done .heist-card__status i {
  background: #13c100;
  box-shadow: 0 0 8px #13c100;
}

.heist-card__trophy {
  position: absolute;
  right: 14px;
  bottom: 8px;
  z-index: 2;
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.8));
  transition: transform 0.35s ease;
}

.heist-card__trophy--wide {
  width: 138px;
  height: 76px;
  right: 12px;
  bottom: 10px;
}

.heist-card:hover .heist-card__trophy {
  transform: scale(1.08) translateY(-2px);
}

.heist-card__body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.heist-card__ach {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9e82ff;
}

.heist-card.is-done .heist-card__ach {
  color: #5ef24c;
}

.heist-card__body h3 {
  margin: 0;
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 19px;
  font-weight: 500;
  color: #ffffff;
}

.heist-card__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.heist-card__foot p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

.heist-card__scroll-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f4f7 !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.heist-card__scroll-btn:hover {
  background: #5a30ff;
  border-color: #8248ff;
  color: #ffffff !important;
  transform: translateY(1px);
}

#offersSection {
  scroll-margin-top: 84px;
}

/* Section: Skycoach 1:1 ProductCard Grid (1 recommendation + 4 core = 5 in row) */
.sc-offers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sc-card.is-spotlight {
  box-shadow:
    0 0 0 2px #8248ff,
    0 0 24px rgba(90, 48, 255, 0.85),
    0 0 44px rgba(130, 72, 255, 0.5);
}

.sc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 316px;
  border-radius: 16px;
  background: #000000;
  color: #ffffff !important;
  text-decoration: none;
  overflow: hidden;
  transform: translateZ(0);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sc-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.sc-card--recommended {
  box-shadow:
    0 0 0 1px #8248ff,
    0 0 14px rgba(90, 48, 255, 0.72),
    0 0 30px rgba(130, 72, 255, 0.42);
}

.sc-card--recommended:hover {
  box-shadow:
    0 0 0 1px #9b6cff,
    0 0 18px rgba(90, 48, 255, 0.88),
    0 0 38px rgba(130, 72, 255, 0.52);
}

.sc-card__header {
  position: relative;
  z-index: 2;
  min-height: 160px;
  height: 160px;
  padding: 12px 14px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.sc-card__header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 38%;
  background: linear-gradient(0deg, #1a1a1a 0%, rgba(26, 26, 26, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.sc-card__image-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1);
}

.sc-card__image {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 204px;
  transform: translateX(-50%) translateZ(0);
  transition: transform 0.3s ease;
}

.sc-card:hover .sc-card__image {
  transform: translateX(-50%) translateZ(0) scale(1.08);
}

.sc-card__rec-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(82.29deg, #5a30ff 0%, #8248ff 100%);
  color: #ffffff;
  font-family: "Stolzl", Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.sc-card__rec-badge i {
  font-style: normal;
  font-size: 11px;
}

.sc-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 16px;
  margin-top: -12px;
  flex: 1;
}

.sc-card__sublabel {
  font-family: "Stolzl", Inter, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b49bff;
  margin-bottom: -2px;
}

.sc-card__title {
  margin: 0;
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc-card__advantages {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-card__advantages li {
  display: grid;
  grid-template-columns: 8px minmax(1px, 1fr);
  align-items: center;
  gap: 4px;
  font-family: "Stolzl", Inter, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
}

.sc-card__marker {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #13c100;
}

.sc-card__adv-text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sc-card__price {
  font-family: "SKSkycoach", Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
}

.sc-cents {
  font-size: 11px;
  vertical-align: super;
  margin-left: 1px;
}

.sc-card__btn {
  height: 44px;
  padding: 10px 15px;
  font-size: 15px;
}

/* Section: Popular guides 1:1 Skycoach BlogCard + ViewMoreCard */
.sc-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.sc-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 460px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #000000;
  color: #ffffff !important;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.sc-blog-card__image {
  width: 100%;
  height: 70%;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  -webkit-mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #ffffff 40%);
  mask-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #ffffff 40%);
}

.sc-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-blog-card:hover .sc-blog-card__image img {
  transform: scale(1.06);
}

.sc-blog-card__wrapper {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 24px 32px;
  width: 100%;
}

.sc-blog-card__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.sc-blog-card__logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sc-blog-card__label {
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 12px;
  font-family: "Stolzl", Inter, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
}

.sc-blog-card__title {
  margin: 0;
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc-blog-card__descr {
  margin: 0;
  width: 100%;
  font-family: "Stolzl", Inter, sans-serif;
  font-size: 12px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sc-view-more {
  position: relative;
  isolation: isolate;
  display: flex;
  height: 143px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  text-decoration: none;
}

.sc-view-more::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -164px;
  bottom: -179px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 72, 255, 0.95), rgba(90, 48, 255, 0.5) 40%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-view-more:hover::before {
  transform: translate(-60px, -36px) scale(1.3);
}

.sc-view-more__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 16px;
  gap: 12px;
}

.sc-view-more__descr {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-view-more__descr p {
  margin: 0;
  font-family: "Stolzl", Inter, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.sc-view-more__descr h3 {
  margin: 0;
  font-family: "SKSkycoach", Inter, sans-serif !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
}

.sc-view-more__btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s;
}

.sc-view-more__btn svg {
  width: 20px;
  height: 20px;
}

.sc-view-more:hover .sc-view-more__btn {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.2);
}

.hidden-original {
  display: none !important;
}

/* —— Screen 5 & pickers: high-contrast active state + Skycoach polish —— */
.picker-option .item-contribution {
  color: #c2b6ff;
  font-weight: 600;
}

.picker-option.selected,
.picker-option.rarity-item.selected {
  background: #1e193b;
  border-color: #7c6bff;
  border-bottom: 3px solid var(--item-color, #7c6bff);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(124, 107, 255, 0.45), 0 8px 22px rgba(109, 92, 255, 0.22);
}

.picker-option.selected strong {
  color: #ffffff;
}

.picker-option.selected small,
.picker-option.selected .item-variant {
  color: #d8d8e4;
}

.picker-option.selected .item-contribution {
  color: #c7bcff;
  font-weight: 700;
}

.picker-option.selected::after {
  top: 9px;
  left: 11px;
  right: auto;
  color: #3ddc84;
  font-weight: 800;
}

.estate-node.filled,
.estate-node.rarity-item.filled,
.upgrade-slot.filled,
.upgrade-slot.rarity-item.filled,
.territory-slot.filled {
  background: #1e193b;
  border-color: #7c6bff;
  border-bottom: 3px solid var(--item-color, #7c6bff);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(124, 107, 255, 0.35), 0 6px 18px rgba(109, 92, 255, 0.2);
}

.estate-node.filled:hover,
.estate-node.rarity-item.filled:hover {
  background: #251f47;
  border-color: #9688ff;
  border-bottom-color: var(--item-color, #9688ff);
}

.estate-node.filled .slot-name,
.upgrade-slot.filled strong,
.territory-slot.filled strong {
  color: #ffffff;
}

.estate-node.filled .slot-kind,
.upgrade-slot.filled small,
.territory-slot.filled small,
.territory-slot.filled .territory-slot-mark {
  color: #d6d6e2;
}

.estate-toolbar strong {
  color: #f4f4f7;
}

.estate-edge {
  stroke: #2a2a33;
}

.estate-edge.filled {
  stroke: #6d5cff;
}

.estate-room-hub {
  background: #17171d;
  border-color: #2a2a33;
  border-radius: 14px;
  color: #f4f4f7;
}

.estate-room-hub small {
  color: #9b9ba8;
}

.estate-branch-label {
  color: #9b9ba8;
}

.estate-branch-label b {
  color: #f4f4f7;
}

.estate-branch-note {
  color: #9b9ba8;
}

.picker-header .eyebrow {
  color: #9b9ba8;
}

.picker-footer {
  background: #111118;
  border-top-color: #2a2a33;
}

.picker-footer p {
  color: #9b9ba8;
}

.picker-clear {
  border-color: #2a2a33;
  border-radius: 999px;
  color: #f4f4f7;
}

.picker-clear:hover:not(:disabled) {
  background: #1c1c24;
  border-color: #6d5cff;
}

.upgrade-parent {
  background: #17171d;
  border-color: #6d5cff;
  border-radius: 14px;
}

.upgrade-choice-heading {
  border-top-color: #2a2a33;
}

.upgrade-total {
  color: #c7bcff;
}

.upgrade-slot.active {
  outline-color: #8b7cff;
}

.money-field-number {
  color: #8b7cff;
}

.money-field-description {
  min-height: 36px;
  color: #9b9ba8;
}

.amount-contribution {
  color: #9b9ba8;
}

.amount-contribution strong {
  color: #c7bcff;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .dossier-stage__grid {
    grid-template-columns: 240px minmax(0, 1fr) 240px;
    gap: 12px;
  }
  .sc-guides-grid,
  .heist-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dossier-stage__grid {
    grid-template-columns: 1fr 1fr;
  }
  .dossier-figure {
    display: none;
  }
  .sc-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
