:root {
  color-scheme: dark;
  font-family: Inter, "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --canvas: 864px;
  --desktop-max-scale: 1.72;
  --desktop-side-gap: 64px;
  --desktop-shell: 1680px;
  --pad: clamp(18px, 3.94vw, 34px);
  --bg: #030303;
  --surface: rgba(8, 8, 8, 0.82);
  --surface-strong: rgba(16, 16, 16, 0.78);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 50, 43, 0.65);
  --red: #ff332b;
  --red-2: #e2322d;
  --red-dark: #6d100c;
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --subtle: #707070;
  --glow-red: 0 0 22px rgba(255, 42, 36, 0.42);
  --game-ui-red: #ff443c;
  --game-ui-red-deep: #7b120e;
  --game-ui-panel-border: rgba(255, 51, 43, 0.58);
  --game-ui-card-border: rgba(255, 255, 255, 0.22);
  --game-ui-muted: #a8a8a8;
}

/* Game UI component library: shared pieces for arcade modals, panels, cards, notices, and action stacks. */
.game-ui-panel {
  position: relative;
  overflow: auto;
  border: 1px solid var(--game-ui-panel-border);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9)),
    url("/assets/portal/cloud-save/cloud-save-panel-bg.png") center / cover,
    #030303;
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 34px rgba(255, 44, 38, 0.2),
    inset 0 0 60px rgba(255, 44, 38, 0.04);
}

.game-ui-close {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  color: #eeeeee;
  line-height: 1;
  cursor: pointer;
}

.game-ui-eyebrow {
  margin: 0;
  color: var(--game-ui-red);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.16em;
}

.game-ui-display-title {
  margin: 0;
  font-family: "Arial Black", Impact, "Microsoft YaHei UI", sans-serif;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.78);
}

.game-ui-subtitle {
  display: block;
  color: #a9a9a9;
  font-weight: 700;
}

.game-ui-status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.game-ui-status-pill i {
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--game-ui-red);
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.game-ui-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-ui-benefit-card {
  border: 1px solid var(--game-ui-card-border);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 51, 43, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.76), rgba(0, 0, 0, 0.82));
}

.game-ui-benefit-card--accent {
  border-color: rgba(255, 73, 65, 0.9);
  background:
    radial-gradient(circle at 50% 21%, rgba(255, 51, 43, 0.22), transparent 31%),
    linear-gradient(180deg, rgba(31, 4, 4, 0.78), rgba(5, 0, 0, 0.85));
  box-shadow: inset 0 0 34px rgba(255, 51, 43, 0.08), 0 0 22px rgba(255, 51, 43, 0.12);
}

.game-ui-orbit-icon,
.game-ui-note-icon {
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 51, 43, 0.38));
}

.game-ui-benefit-card strong {
  display: block;
  color: #fff;
  font-weight: 900;
}

.game-ui-bullet-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-ui-bullet-list li {
  position: relative;
  color: var(--game-ui-muted);
}

.game-ui-bullet-list li::before {
  position: absolute;
  left: 0;
  border-radius: 50%;
  background: var(--game-ui-red);
  box-shadow: 0 0 12px rgba(255, 51, 43, 0.48);
  content: "";
}

.game-ui-note {
  display: grid;
  align-items: center;
  border: 1px solid rgba(255, 51, 43, 0.44);
  background:
    linear-gradient(90deg, rgba(21, 3, 3, 0.86), rgba(8, 8, 8, 0.72)),
    url("/assets/portal/cloud-save/cloud-save-panel-bg.png") right center / cover;
}

.game-ui-note strong {
  display: block;
  color: #ededed;
  font-weight: 900;
}

.game-ui-note span {
  color: #969696;
}

.game-ui-action-stack {
  display: grid;
  grid-template-columns: 1fr;
}

.game-ui-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.game-ui-button--primary {
  border: 1px solid rgba(255, 72, 64, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 114, 102, 0.26), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ad1a16, var(--game-ui-red-deep));
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 42, 36, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-ui-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.54);
  color: #8d8d8d;
}

/* Cloud-save panel follows the generated mobile reference: large hero art, two benefit cards, and clear non-paywall actions. */
.cloud-save-modal {
  align-items: start;
  padding: 106px 12px 20px;
  background: rgba(0, 0, 0, 0.82);
}

.cloud-save-dialog {
  width: min(838px, 100%);
  max-height: calc(100vh - 126px);
  border: 1px solid rgba(255, 51, 43, 0.58);
  border-radius: 18px;
  padding: 54px 48px 52px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.58) 40%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.88)),
    url("/assets/portal/cloud-save/cloud-save-panel-bg.png") center / cover,
    #030303;
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 34px rgba(255, 44, 38, 0.2),
    inset 0 0 60px rgba(255, 44, 38, 0.04);
}

.cloud-save-close {
  right: 21px;
  top: 28px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  color: #eeeeee;
  font-size: 43px;
  font-weight: 300;
}

.cloud-save-hero {
  position: relative;
  display: block;
  min-height: 460px;
  padding: 112px 0 0;
}

.cloud-save-title-block {
  position: relative;
  z-index: 2;
  width: 51%;
}

.cloud-save-hero img.cloud-save-hero-art {
  position: absolute;
  right: -34px;
  top: 2px;
  z-index: 1;
  width: 54%;
  max-width: 440px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: saturate(1.1) contrast(1.08) drop-shadow(0 0 26px rgba(255, 38, 34, 0.28));
  opacity: 0.94;
  -webkit-mask-image: radial-gradient(circle at 52% 48%, #000 0 52%, rgba(0, 0, 0, 0.72) 65%, transparent 84%);
  mask-image: radial-gradient(circle at 52% 48%, #000 0 52%, rgba(0, 0, 0, 0.72) 65%, transparent 84%);
}

.cloud-save-hero p {
  margin-bottom: 24px;
  color: #ff443c;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cloud-save-hero h2 {
  margin-bottom: 22px;
  font-family: "Arial Black", Impact, "Microsoft YaHei UI", sans-serif;
  font-size: 76px;
  font-weight: 900;
  line-height: 0.96;
  color: #fff;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.78);
}

.cloud-save-hero span {
  color: #a9a9a9;
  font-size: 26px;
  font-weight: 700;
}

.cloud-save-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  padding: 17px 20px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cloud-save-status i {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 69, 61, 0.58);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.cloud-save-status strong {
  color: #f3f3f3;
  font-size: 28px;
  font-weight: 900;
  white-space: nowrap;
}

.cloud-save-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 4px;
}

.cloud-save-compare article {
  min-height: 522px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 48px 36px 38px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 51, 43, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.76), rgba(0, 0, 0, 0.82));
}

.cloud-save-compare article:nth-child(2) {
  border-color: rgba(255, 73, 65, 0.9);
  background:
    radial-gradient(circle at 50% 21%, rgba(255, 51, 43, 0.22), transparent 31%),
    linear-gradient(180deg, rgba(31, 4, 4, 0.78), rgba(5, 0, 0, 0.85));
  box-shadow: inset 0 0 34px rgba(255, 51, 43, 0.08), 0 0 22px rgba(255, 51, 43, 0.12);
}

.cloud-save-compare article > img {
  display: block;
  width: 116px;
  height: 116px;
  margin: 0 auto 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 51, 43, 0.38));
}

.cloud-save-compare strong {
  margin-bottom: 44px;
  color: #fff;
  font-size: 38px;
  text-align: center;
}

.cloud-save-compare ul {
  gap: 27px;
}

.cloud-save-compare li {
  padding-left: 36px;
  color: #a8a8a8;
  font-size: 24px;
  line-height: 1.34;
}

.cloud-save-compare li::before {
  top: 9px;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 79, 70, 0.5);
  background: #ff443c;
  box-shadow: 0 0 12px rgba(255, 51, 43, 0.48);
}

.cloud-save-note {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 26px;
  min-height: 142px;
  margin-top: 42px;
  border: 1px solid rgba(255, 51, 43, 0.44);
  border-radius: 12px;
  padding: 25px 30px;
  background:
    linear-gradient(90deg, rgba(21, 3, 3, 0.86), rgba(8, 8, 8, 0.72)),
    url("/assets/portal/cloud-save/cloud-save-panel-bg.png") right center / cover;
}

.cloud-save-note img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.72;
  filter: drop-shadow(0 0 14px rgba(255, 51, 43, 0.32));
}

.cloud-save-note strong {
  display: block;
  margin-bottom: 14px;
  color: #ededed;
  font-size: 27px;
  font-weight: 900;
}

.cloud-save-note span {
  color: #969696;
  font-size: 21px;
  line-height: 1.42;
}

.cloud-save-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 42px;
}

.cloud-save-actions button {
  width: 100%;
  height: 96px;
  border-radius: 12px;
  font-size: 33px;
  font-weight: 900;
}

.cloud-save-primary {
  position: relative;
  border-color: rgba(255, 72, 64, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 114, 102, 0.26), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ad1a16, #7b120e);
}

.cloud-save-primary span {
  position: absolute;
  right: 36px;
  font-size: 48px;
  line-height: 1;
}

.cloud-save-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.54);
  color: #8d8d8d;
}

@media (max-width: 864px) {
  .cloud-save-modal {
    padding: 104px 6px 18px;
  }

  .cloud-save-dialog {
    max-height: calc(100vh - 122px);
    border-radius: 18px;
    padding: 25px 22px 28px;
  }

  .cloud-save-close {
    right: 18px;
    top: 20px;
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .cloud-save-hero {
    min-height: 248px;
    padding-top: 84px;
  }

  .cloud-save-title-block {
    width: 56%;
  }

  .cloud-save-hero-art {
    right: -30px;
    top: 22px;
    width: 55%;
    max-width: 230px;
  }

  .cloud-save-hero p {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .cloud-save-hero h2 {
    margin-bottom: 12px;
    font-size: 46px;
  }

  .cloud-save-hero span {
    font-size: 16px;
  }

  .cloud-save-status {
    gap: 8px;
    margin-top: 23px;
    border-radius: 7px;
    padding: 9px 12px;
  }

  .cloud-save-status i {
    width: 11px;
    height: 11px;
    border-width: 2px;
  }

  .cloud-save-status strong {
    font-size: 17px;
  }

  .cloud-save-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cloud-save-compare article {
    min-height: 258px;
    border-radius: 9px;
    padding: 28px 15px 19px;
  }

  .cloud-save-compare article > img {
    width: 66px;
    height: 66px;
    margin-bottom: 31px;
  }

  .cloud-save-compare strong {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .cloud-save-compare ul {
    gap: 15px;
  }

  .cloud-save-compare li {
    padding-left: 19px;
    font-size: 14px;
  }

  .cloud-save-compare li::before {
    top: 6px;
    width: 7px;
    height: 7px;
    border-width: 2px;
  }

  .cloud-save-note {
    grid-template-columns: 42px 1fr;
    gap: 15px;
    min-height: 76px;
    margin-top: 20px;
    border-radius: 8px;
    padding: 14px 16px;
  }

  .cloud-save-note img {
    width: 42px;
    height: 42px;
  }

  .cloud-save-note strong {
    margin-bottom: 7px;
    font-size: 16px;
  }

  .cloud-save-note span {
    font-size: 13px;
  }

  .cloud-save-actions {
    gap: 16px;
    margin-top: 22px;
  }

  .cloud-save-actions button {
    height: 58px;
    font-size: 20px;
  }

  .cloud-save-primary span {
    right: 20px;
    font-size: 30px;
  }
}

/* Cloud-save poster lock: intentionally last so old modal rules cannot re-enable internal scrolling. */
.cloud-save-modal {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.cloud-save-dialog,
.cloud-save-modal.is-open .cloud-save-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 838px;
  height: 900px;
  max-width: none;
  max-height: none;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-dialog::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 51, 43, 0.22), transparent 24%),
    radial-gradient(circle at 13% 10%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36));
  content: "";
  pointer-events: none;
}

.cloud-save-dialog > * {
  position: relative;
  z-index: 1;
}

.cloud-save-hero {
  min-height: 460px;
}

.cloud-save-hero img.cloud-save-hero-art {
  right: 38px;
  top: 78px;
  width: 294px;
  height: 292px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(1.16) contrast(1.08) drop-shadow(0 0 28px rgba(255, 38, 34, 0.28));
  -webkit-mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
  mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
}

.cloud-save-compare {
  margin-top: 0;
}

.cloud-save-compare article {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.74), rgba(0, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article:nth-child(2) {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(35, 4, 4, 0.76), rgba(5, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article > img {
  border-radius: 50%;
}

.cloud-save-note {
  background:
    linear-gradient(90deg, rgba(21, 3, 3, 0.86), rgba(8, 8, 8, 0.72)),
    url("/assets/portal/cloud-save/ui-sheet-panel-surface.png") right center / cover;
}

/* Final poster-composite version: the supplied 862x1824 bitmap is the fixed background; only controls are layered above it. */
.cloud-save-modal {
  display: block;
  padding: 0;
  overflow: hidden;
}

.cloud-save-poster,
.cloud-save-modal.is-open .cloud-save-poster {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 862px;
  height: 1824px;
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: url("/assets/portal/cloud-save/cloud-save-poster-bg.png") left top no-repeat #020202;
  background-size: auto;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-poster::before {
  display: none;
}

.cloud-save-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cloud-save-poster .cloud-save-close {
  left: auto;
  right: 38px;
  top: 262px;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.24);
  color: #f4f4f4;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
}

.cloud-save-current {
  position: absolute;
  left: 62px;
  top: 575px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 69px;
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  padding: 0 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(0, 0, 0, 0.32);
}

.cloud-save-current i {
  width: 19px;
  height: 19px;
  border: 4px solid rgba(255, 80, 70, 0.46);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.cloud-save-current strong {
  color: #f3f3f3;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cloud-save-plan-grid {
  position: absolute;
  left: 62px;
  top: 762px;
  display: grid;
  grid-template-columns: 356px 356px;
  gap: 30px;
}

.cloud-save-plan {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: end;
  gap: 26px;
  width: 356px;
  height: 522px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 212px 36px 51px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(4, 4, 4, 0.44), rgba(0, 0, 0, 0.66));
  color: #a8a8a8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cloud-save-plan::before {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 68, 60, 0.28), transparent 58%),
    radial-gradient(circle at 50% 50%, transparent 0 47%, rgba(255, 68, 60, 0.75) 48% 50%, transparent 51%);
  content: "";
  transform: translateX(-50%);
  filter: drop-shadow(0 0 18px rgba(255, 51, 43, 0.28));
}

.cloud-save-plan::after {
  position: absolute;
  left: calc(50% - 30px);
  top: 82px;
  width: 60px;
  height: 60px;
  background: url("/assets/portal/cloud-save/icon-cloud-save-pass.png") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 0 12px rgba(255, 51, 43, 0.36));
}

.cloud-save-plan[data-cloud-save-plan="free"]::after {
  background-image: url("/assets/portal/cloud-save/ui-sheet-player-orbit.png");
}

.cloud-save-plan[data-cloud-save-plan="subscriber"]::after {
  background-image: url("/assets/portal/cloud-save/ui-sheet-cloud-orbit.png");
}

.cloud-save-plan.is-selected {
  border-color: rgba(255, 76, 68, 0.95);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(37, 5, 5, 0.6), rgba(4, 0, 0, 0.76));
  box-shadow: inset 0 0 34px rgba(255, 51, 43, 0.08), 0 0 18px rgba(255, 51, 43, 0.16);
}

.cloud-save-plan strong {
  display: block;
  margin: 0 0 20px;
  color: #fff;
  font-size: 39px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.cloud-save-plan span {
  position: relative;
  display: block;
  padding-left: 36px;
  color: #a8a8a8;
  font-size: 24px;
  line-height: 1.15;
}

.cloud-save-plan span::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 79, 70, 0.5);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 12px rgba(255, 51, 43, 0.48);
  content: "";
}

.cloud-save-poster .cloud-save-actions {
  position: absolute;
  left: 62px;
  top: 1510px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 738px;
  margin: 0;
}

.cloud-save-poster .cloud-save-actions button {
  width: 738px;
  height: 96px;
  border-radius: 12px;
  font-size: 35px;
  font-weight: 900;
}

.cloud-save-poster .cloud-save-primary span {
  position: absolute;
  right: 36px;
  font-size: 52px;
  line-height: 1;
}

/* Cloud-save bitmap reconstruction: base art is supplied as PNG, CSS only places live text and buttons. */
.cloud-save-modal {
  display: block;
  padding: 0;
  overflow: hidden;
}

.cloud-save-poster,
.cloud-save-modal.is-open .cloud-save-poster {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 863px;
  height: 1822px;
  max-width: none;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: url("/assets/portal/cloud-save/cloud-save-poster-base-20260523-074946.png") left top / auto no-repeat #020202;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-poster::before {
  display: none;
}

.cloud-save-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cloud-save-poster .cloud-save-close {
  position: absolute;
  right: 52px;
  top: 53px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.5);
  color: #f5f5f5;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.04), 0 0 22px rgba(0, 0, 0, 0.38);
}

.cloud-save-copy {
  position: absolute;
  left: 66px;
  top: 205px;
  display: grid;
  gap: 18px;
  pointer-events: none;
}

.cloud-save-copy span {
  color: #ff302d;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1;
}

.cloud-save-copy strong {
  color: #f3f3f3;
  font-size: 82px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.34), 0 16px 28px rgba(0, 0, 0, 0.75);
}

.cloud-save-copy em {
  color: #b8b8b8;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.cloud-save-current {
  position: absolute;
  left: 61px;
  top: 575px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 69px;
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  padding: 0 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(0, 0, 0, 0.32);
}

.cloud-save-current i {
  width: 19px;
  height: 19px;
  border: 4px solid rgba(255, 80, 70, 0.48);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.cloud-save-current strong {
  color: #f4f4f4;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cloud-save-plan-grid {
  position: absolute;
  left: 61px;
  top: 740px;
  z-index: 2;
  display: grid;
  grid-template-columns: 364px 365px;
  gap: 22px;
}

.cloud-save-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: auto;
  height: 528px;
  border: 0;
  border-radius: 16px;
  padding: 0 36px 57px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #a8a8a8;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.82;
  transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.cloud-save-plan[data-cloud-save-plan="free"] {
  background-image: url("/assets/portal/cloud-save/free-player-card-base-20260523.png");
}

.cloud-save-plan[data-cloud-save-plan="subscriber"] {
  background-image: url("/assets/portal/cloud-save/subscriber-player-card-base-20260523.png");
}

.cloud-save-plan::before,
.cloud-save-plan::after {
  display: none;
}

.cloud-save-plan.is-selected {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(255, 55, 45, 0.28));
}

.cloud-save-plan strong {
  display: block;
  margin: 0 0 31px;
  color: #fff;
  font-size: 41px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.cloud-save-plan span {
  position: relative;
  display: block;
  margin-top: 22px;
  padding-left: 34px;
  color: #a7a7a7;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

.cloud-save-plan span::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 79, 70, 0.5);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 12px rgba(255, 51, 43, 0.48);
  content: "";
}

.cloud-save-note {
  position: absolute;
  left: 61px;
  top: 1298px;
  z-index: 2;
  display: grid;
  grid-template-columns: 74px 1fr;
  grid-template-rows: auto auto;
  column-gap: 34px;
  row-gap: 16px;
  align-items: center;
  width: 741px;
  min-height: 138px;
  margin: 0;
  padding: 32px 32px;
  border: 1px solid rgba(255, 60, 51, 0.66);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(80, 7, 7, 0.38), rgba(9, 5, 5, 0.62)),
    radial-gradient(circle at 93% 42%, rgba(255, 48, 36, 0.18), transparent 35%);
  box-shadow: inset 0 0 28px rgba(255, 40, 32, 0.06);
}

.cloud-save-note-icon {
  grid-row: 1 / 3;
  width: 60px;
  height: 72px;
  background: url("/assets/portal/cloud-save/icon-cloud-save-pass.png") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(255, 49, 42, 0.28));
}

.cloud-save-note strong {
  margin: 0;
  color: #f4f4f4;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
}

.cloud-save-note span:not(.cloud-save-note-icon) {
  color: #a8a8a8;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.cloud-save-poster .cloud-save-actions {
  position: absolute;
  left: 61px;
  top: 1480px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 741px;
  margin: 0;
}

.cloud-save-poster .cloud-save-actions button {
  position: relative;
  width: 741px;
  height: 96px;
  border-radius: 12px;
  font-size: 35px;
  font-weight: 1000;
  letter-spacing: 0;
}

.cloud-save-primary {
  border: 1px solid rgba(255, 72, 62, 0.94);
  background:
    linear-gradient(180deg, rgba(201, 28, 23, 0.94), rgba(121, 10, 8, 0.96)),
    radial-gradient(circle at 38% 0%, rgba(255, 117, 103, 0.26), transparent 42%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 142, 132, 0.34), inset 0 -18px 38px rgba(54, 0, 0, 0.38), 0 0 18px rgba(255, 36, 28, 0.16);
}

.cloud-save-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 5, 0.55);
  color: #8f8f8f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cloud-save-poster .cloud-save-primary span {
  position: absolute;
  right: 36px;
  top: 50%;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

/* Cloud-save bitmap reconstruction: base art is supplied as PNG, CSS only places live text and buttons. */
.cloud-save-modal {
  display: block;
  padding: 0;
  overflow: hidden;
}

.cloud-save-poster,
.cloud-save-modal.is-open .cloud-save-poster {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 863px;
  height: 1822px;
  max-width: none;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: url("/assets/portal/cloud-save/cloud-save-poster-base-20260523-074946.png") left top / auto no-repeat #020202;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-poster::before {
  display: none;
}

.cloud-save-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cloud-save-poster .cloud-save-close {
  position: absolute;
  right: 52px;
  top: 53px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.5);
  color: #f5f5f5;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.04), 0 0 22px rgba(0, 0, 0, 0.38);
}

.cloud-save-copy {
  position: absolute;
  left: 66px;
  top: 205px;
  display: grid;
  gap: 18px;
  pointer-events: none;
}

.cloud-save-copy span {
  color: #ff302d;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1;
}

.cloud-save-copy strong {
  color: #f3f3f3;
  font-size: 82px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.34), 0 16px 28px rgba(0, 0, 0, 0.75);
}

.cloud-save-copy em {
  color: #b8b8b8;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.cloud-save-current {
  position: absolute;
  left: 61px;
  top: 575px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 69px;
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  padding: 0 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(0, 0, 0, 0.32);
}

.cloud-save-current i {
  width: 19px;
  height: 19px;
  border: 4px solid rgba(255, 80, 70, 0.48);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.cloud-save-current strong {
  color: #f4f4f4;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cloud-save-plan-grid {
  position: absolute;
  left: 61px;
  top: 740px;
  z-index: 2;
  display: grid;
  grid-template-columns: 364px 365px;
  gap: 22px;
}

.cloud-save-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: auto;
  height: 528px;
  border: 0;
  border-radius: 16px;
  padding: 0 36px 57px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #a8a8a8;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.82;
  transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.cloud-save-plan[data-cloud-save-plan="free"] {
  background-image: url("/assets/portal/cloud-save/free-player-card-base-20260523.png");
}

.cloud-save-plan[data-cloud-save-plan="subscriber"] {
  background-image: url("/assets/portal/cloud-save/subscriber-player-card-base-20260523.png");
}

.cloud-save-plan::before,
.cloud-save-plan::after {
  display: none;
}

.cloud-save-plan.is-selected {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(255, 55, 45, 0.28));
}

.cloud-save-plan strong {
  display: block;
  margin: 0 0 31px;
  color: #fff;
  font-size: 41px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.cloud-save-plan span {
  position: relative;
  display: block;
  margin-top: 22px;
  padding-left: 36px;
  color: #a7a7a7;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

.cloud-save-plan span::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 79, 70, 0.5);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 12px rgba(255, 51, 43, 0.48);
  content: "";
}

.cloud-save-note {
  position: absolute;
  left: 61px;
  top: 1326px;
  z-index: 2;
  display: grid;
  grid-template-columns: 74px 1fr;
  grid-template-rows: auto auto;
  column-gap: 34px;
  row-gap: 16px;
  align-items: center;
  width: 741px;
  min-height: 138px;
  margin: 0;
  padding: 32px 32px;
  border: 1px solid rgba(255, 60, 51, 0.66);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(80, 7, 7, 0.38), rgba(9, 5, 5, 0.62)),
    radial-gradient(circle at 93% 42%, rgba(255, 48, 36, 0.18), transparent 35%);
  box-shadow: inset 0 0 28px rgba(255, 40, 32, 0.06);
}

.cloud-save-note-icon {
  grid-row: 1 / 3;
  width: 60px;
  height: 72px;
  background: url("/assets/portal/cloud-save/icon-cloud-save-pass.png") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(255, 49, 42, 0.28));
}

.cloud-save-note strong {
  margin: 0;
  color: #f4f4f4;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
}

.cloud-save-note span:not(.cloud-save-note-icon) {
  color: #a8a8a8;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.cloud-save-poster .cloud-save-actions {
  position: absolute;
  left: 61px;
  top: 1510px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 741px;
  margin: 0;
}

.cloud-save-poster .cloud-save-actions button {
  position: relative;
  width: 741px;
  height: 96px;
  border-radius: 12px;
  font-size: 35px;
  font-weight: 1000;
  letter-spacing: 0;
}

.cloud-save-primary {
  border: 1px solid rgba(255, 72, 62, 0.94);
  background:
    linear-gradient(180deg, rgba(201, 28, 23, 0.94), rgba(121, 10, 8, 0.96)),
    radial-gradient(circle at 38% 0%, rgba(255, 117, 103, 0.26), transparent 42%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 142, 132, 0.34), inset 0 -18px 38px rgba(54, 0, 0, 0.38), 0 0 18px rgba(255, 36, 28, 0.16);
}

.cloud-save-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 5, 0.55);
  color: #8f8f8f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cloud-save-poster .cloud-save-primary span {
  position: absolute;
  right: 36px;
  top: 50%;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

/* Cloud-save poster lock: intentionally last so old modal rules cannot re-enable internal scrolling. */
.cloud-save-modal {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.cloud-save-dialog,
.cloud-save-modal.is-open .cloud-save-dialog {
  width: 838px;
  height: 900px;
  max-width: none;
  max-height: none;
  overflow: hidden;
  transform: scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-dialog::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 51, 43, 0.22), transparent 24%),
    radial-gradient(circle at 13% 10%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36));
  content: "";
  pointer-events: none;
}

.cloud-save-dialog > * {
  position: relative;
  z-index: 1;
}

.cloud-save-hero {
  min-height: 460px;
}

.cloud-save-hero img.cloud-save-hero-art {
  right: 38px;
  top: 78px;
  width: 294px;
  height: 292px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(1.16) contrast(1.08) drop-shadow(0 0 28px rgba(255, 38, 34, 0.28));
  -webkit-mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
  mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
}

.cloud-save-compare {
  margin-top: 0;
}

.cloud-save-compare article {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.74), rgba(0, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article:nth-child(2) {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(35, 4, 4, 0.76), rgba(5, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article > img {
  border-radius: 50%;
}

.cloud-save-note {
  background:
    linear-gradient(90deg, rgba(21, 3, 3, 0.86), rgba(8, 8, 8, 0.72)),
    url("/assets/portal/cloud-save/ui-sheet-panel-surface.png") right center / cover;
}

/* Poster-fit cloud-save panel: fixed reference size, no internal scrolling, scaled as one composed bitmap-like panel. */
.cloud-save-modal {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.cloud-save-dialog {
  width: 838px;
  height: 1180px;
  max-width: none;
  max-height: none;
  overflow: hidden;
  transform: scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-modal.is-open .cloud-save-dialog {
  transform: scale(var(--cloud-save-scale, 0.45));
}

.cloud-save-dialog::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 51, 43, 0.22), transparent 24%),
    radial-gradient(circle at 13% 10%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36));
  content: "";
  pointer-events: none;
}

.cloud-save-dialog > * {
  position: relative;
  z-index: 1;
}

.cloud-save-hero {
  min-height: 460px;
}

.cloud-save-hero img.cloud-save-hero-art {
  right: 38px;
  top: 78px;
  width: 294px;
  height: 292px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(1.16) contrast(1.08) drop-shadow(0 0 28px rgba(255, 38, 34, 0.28));
  -webkit-mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
  mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
}

.cloud-save-compare {
  margin-top: 0;
}

.cloud-save-compare article {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.74), rgba(0, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article:nth-child(2) {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(35, 4, 4, 0.76), rgba(5, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article > img {
  border-radius: 50%;
}

.cloud-save-note {
  background:
    linear-gradient(90deg, rgba(21, 3, 3, 0.86), rgba(8, 8, 8, 0.72)),
    url("/assets/portal/cloud-save/ui-sheet-panel-surface.png") right center / cover;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/assets/portal/backgrounds/page-black-texture.png") center top / cover fixed;
  content: "";
  filter: saturate(1.12) brightness(0.2);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 51, 43, 0.18), transparent 360px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), #000 920px);
  content: "";
  pointer-events: none;
}

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.page-scale {
  width: min(calc(100vw - (var(--desktop-side-gap) * 2)), calc(var(--canvas) * var(--desktop-max-scale)));
  margin-inline: auto;
  overflow: hidden;
}

.page-shell {
  width: var(--canvas);
  transform-origin: top left;
  transform: scale(var(--page-scale, 1));
}

@media (min-width: 1100px) {
  body {
    padding: 28px 0 42px;
  }

  .page-scale {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(4, 4, 4, 0.5);
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 0 60px rgba(255, 255, 255, 0.02);
  }
}

.topbar,
.main-tabs,
main,
.bottom-nav {
  width: var(--canvas);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 24px 40px 20px;
  background: rgba(0, 0, 0, 0.58);
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.logo-mark {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: url("/assets/portal/logos/logo-ba-mark.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-indent: -999px;
}

.logo-lockup strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  background: transparent;
  cursor: pointer;
}

.icon-btn span {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.icon-btn span::after {
  position: absolute;
  right: -8px;
  bottom: -7px;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.login-btn {
  min-width: 123px;
  height: 64px;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  background: rgba(20, 5, 5, 0.56);
  color: var(--red);
  font-size: 21px;
  font-weight: 800;
  cursor: pointer;
}

.login-btn:hover {
  background: rgba(255, 51, 43, 0.12);
}

.main-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 56px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(16px);
}

.main-tabs a {
  position: relative;
  display: grid;
  place-items: center;
  color: #858585;
  font-size: 19px;
  font-weight: 700;
}

.main-tabs a.active {
  color: var(--red);
}

.main-tabs a.active::after {
  position: absolute;
  left: calc(50% - 32px);
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--red);
  box-shadow: var(--glow-red);
  content: "";
}

main {
  padding: 0 var(--pad) 16px;
}

.hero {
  position: relative;
  height: 492px;
  margin: 0 calc(var(--pad) * -1);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--canvas);
  height: 492px;
  transform-origin: top left;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.18) 43%, rgba(0, 0, 0, 0) 100%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--canvas);
  height: 492px;
  padding: 58px 42px 42px;
  transform-origin: top left;
}

.hero-content p {
  margin: 0 0 25px;
  color: var(--red);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.hero-content h1 {
  width: min(560px, 100%);
  margin: 0 0 20px;
  font-family: "Arial Black", Impact, "Microsoft YaHei UI", sans-serif;
  font-size: clamp(52px, 9.72vw, 84px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 44%, #929292 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.14)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.85));
}

.hero-content > span {
  display: block;
  color: var(--muted);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 224px);
  gap: clamp(12px, 1.85vw, 16px);
  margin-top: 25px;
  width: min(100%, 520px);
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 64px;
  border-radius: 7px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.hero-actions svg,
.bottom-nav svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.hero-primary {
  border: 1px solid rgba(255, 68, 60, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 110, 98, 0.2) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #d2322d 0%, #9f1814 54%, #5f0d0a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 205, 198, 0.24),
    inset 0 -14px 22px rgba(49, 0, 0, 0.28),
    0 0 24px rgba(255, 42, 36, 0.34),
    0 12px 28px rgba(0, 0, 0, 0.36);
}

.hero-secondary {
  border: 1px solid rgba(214, 221, 232, 0.2);
  background: rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 18px rgba(255, 255, 255, 0.025),
    0 10px 24px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.feature-strip,
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 796px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(6, 6, 6, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.58), inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.feature-strip {
  min-height: 118px;
}

.feature-strip article {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  width: 199px;
  padding: 23px 31px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-strip article:last-child,
.stat-strip article:last-child {
  border-right: 0;
}

.feature-strip img,
.stat-strip img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.feature-strip strong {
  display: block;
  margin-bottom: 7px;
  color: #d2d2d2;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.feature-strip span {
  color: #8f8f8f;
  font-size: 18px;
  line-height: 1.35;
  white-space: nowrap;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 31px 0 18px;
}

.section-title h2 {
  position: relative;
  margin: 0;
  padding-left: 13px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.section-title h2::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 22px;
  background: var(--red);
  box-shadow: var(--glow-red);
  content: "";
}

.section-title a {
  color: var(--muted);
  font-size: 16px;
}

.section-title a span {
  display: inline-block;
  margin-left: 7px;
  font-size: 28px;
  line-height: 0;
  transform: translateY(3px);
}

.game-carousel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.game-carousel::before {
  position: absolute;
  left: -14px;
  top: 46%;
  z-index: 3;
  color: #fff;
  content: "‹";
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.game-card em {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 5px;
  background: linear-gradient(180deg, #d73730, #6c1511);
  color: #fff;
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 190 / 166;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08);
}

.game-card:first-child img,
.game-card:nth-child(4) img {
  object-position: right center;
}

.game-card div {
  padding: 16px 15px 12px;
}

.game-card h3 {
  margin: 0 0 10px;
  overflow: hidden;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 27px;
  margin: 0 0 13px;
}

.game-card p span,
.new-list p span {
  border-radius: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--subtle);
  font-size: 16px;
  font-weight: 500;
}

.game-card a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 13px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.game-card a::after {
  content: "›";
  font-size: 24px;
  font-weight: 700;
  line-height: 0.7;
  transform: translateY(-1px);
}

.game-card a:hover {
  color: #ff4b43;
  text-shadow: 0 0 14px rgba(255, 51, 43, 0.42);
}

.game-card a[aria-disabled="true"],
.new-list a[aria-disabled="true"] {
  pointer-events: none;
}

.slider-dots {
  --slider-thumb-offset: -14px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 43px;
  padding-top: 20px;
}

.slider-dots::before {
  width: 56px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
  content: "";
}

.slider-dots::after {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff1d22 0%, #ff3a32 62%, #bb070b 100%);
  box-shadow: 0 0 12px rgba(255, 38, 34, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  content: "";
  transform: translateX(calc(-50% + var(--slider-thumb-offset)));
  transition: transform 120ms ease-out;
}

.stat-strip {
  min-height: 104px;
}

.stat-strip article {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  width: 199px;
  padding: 22px 31px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-strip img {
  grid-row: 1 / 3;
  align-self: center;
  width: 40px;
  height: 40px;
}

.stat-strip strong {
  color: #fff;
  font-family: Inter, "DIN Alternate", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.stat-strip span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.save-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr);
  gap: 20px;
  margin: 28px 0 0;
  border: 1px solid rgba(255, 50, 43, 0.34);
  border-radius: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 35, 35, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(8, 8, 8, 0.9), rgba(24, 5, 5, 0.74));
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.025), 0 20px 48px rgba(0, 0, 0, 0.46);
}

.save-panel-copy p {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.save-panel-copy h2 {
  margin: 0 0 12px;
  color: #f2f2f2;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.16;
}

.save-panel-copy span,
.save-panel-grid span {
  color: #9b9b9b;
  font-size: 17px;
  line-height: 1.52;
}

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

.save-panel-grid article {
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.42);
}

.save-panel-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #f3f3f3;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.save-panel-grid article:nth-child(2) {
  border-color: rgba(255, 51, 43, 0.36);
  background: rgba(36, 5, 5, 0.46);
}

body.modal-open {
  overflow: hidden;
}

.cloud-save-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  backdrop-filter: blur(12px);
}

.cloud-save-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cloud-save-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 51, 43, 0.48);
  border-radius: 12px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    url("/assets/portal/cloud-save/cloud-save-panel-bg.png") center / cover,
    #060606;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(255, 42, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(12px) scale(0.98);
  transition: transform 160ms ease;
}

.cloud-save-modal.is-open .cloud-save-dialog {
  transform: translateY(0) scale(1);
}

.cloud-save-close {
  position: absolute;
  right: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.42);
  color: #9a9a9a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.cloud-save-close:hover {
  border-color: rgba(255, 51, 43, 0.46);
  color: #f2f2f2;
}

.cloud-save-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 42px;
}

.cloud-save-hero img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 43, 43, 0.36));
}

.cloud-save-hero p {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.cloud-save-hero h2 {
  margin: 0 0 9px;
  color: #f2f2f2;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.cloud-save-hero span,
.cloud-save-status span,
.cloud-save-compare li {
  color: #9a9a9a;
}

.cloud-save-hero span {
  font-size: 20px;
  line-height: 1.45;
}

.cloud-save-status {
  display: grid;
  gap: 8px;
  margin: 24px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 17px 18px;
  background: rgba(0, 0, 0, 0.48);
}

.cloud-save-status strong {
  color: #d8d8d8;
  font-size: 20px;
  font-weight: 900;
}

.cloud-save-status span {
  font-size: 17px;
  line-height: 1.45;
}

.cloud-save-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cloud-save-compare article {
  min-height: 198px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.46);
}

.cloud-save-compare article:nth-child(2) {
  border-color: rgba(255, 51, 43, 0.42);
  background: rgba(32, 3, 3, 0.58);
  box-shadow: inset 0 0 24px rgba(255, 51, 43, 0.05);
}

.cloud-save-compare strong {
  display: block;
  margin-bottom: 14px;
  color: #eeeeee;
  font-size: 23px;
  font-weight: 900;
}

.cloud-save-compare ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cloud-save-compare li {
  position: relative;
  padding-left: 16px;
  font-size: 17px;
  line-height: 1.45;
}

.cloud-save-compare li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 51, 43, 0.88);
  content: "";
}

.cloud-save-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.cloud-save-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 48px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.cloud-save-primary {
  border: 1px solid rgba(255, 62, 55, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 110, 98, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #aa1e19, #65100d);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 42, 36, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cloud-save-secondary {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.5);
  color: #a6a6a6;
}

.new-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.82);
}

.new-list article {
  display: grid;
  grid-template-columns: 114px 1fr auto 44px;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 8px 22px 8px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.new-list article:last-child {
  border-bottom: 0;
}

.new-list img {
  width: 114px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
}

.new-list strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.new-list p {
  display: flex;
  gap: 8px;
  margin: 0;
}

.new-list a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: 5px;
  background: rgba(130, 29, 23, 0.76);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 124px;
  margin: 26px 0 14px;
  border: 1px solid rgba(255, 50, 43, 0.55);
  border-radius: 8px;
  padding: 24px 30px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(60, 9, 7, 0.38)),
    url("/assets/portal/banners/cta-red-planet-banner-bg.png") center 58% / cover;
  box-shadow: inset 0 0 36px rgba(255, 43, 43, 0.09);
}

.cta-band h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.cta-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 178px;
  height: 54px;
  border: 1px solid rgba(255, 43, 43, 0.74);
  border-radius: 6px;
  background: rgba(60, 8, 6, 0.56);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.bottom-nav {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: center;
  min-height: 119px;
  border-top: 1px solid var(--border);
  padding: 24px 38px 22px;
  background: rgba(0, 0, 0, 0.88);
}

.bottom-nav > a:not(.logo-lockup) {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #6d6d6d;
  font-size: 18px;
  font-weight: 500;
}

.bottom-nav svg {
  width: 32px;
  height: 32px;
  color: #6d6d6d;
  stroke-width: 2.25;
}

.library-page main {
  padding-top: 28px;
  padding-bottom: 80px;
}

.library-title {
  margin-top: 0;
}

.library-notice {
  margin: -8px 0 18px;
  border: 1px solid rgba(255, 51, 43, 0.28);
  border-radius: 8px;
  padding: 16px 20px;
  background: rgba(16, 4, 4, 0.72);
  color: #a7a7a7;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.full-game-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.82);
}

.full-game-row {
  display: grid;
  grid-template-columns: 128px minmax(230px, 1fr) auto 44px;
  align-items: center;
  gap: 22px;
  min-height: 98px;
  padding: 12px 28px 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.full-game-row:last-child {
  border-bottom: 0;
}

.row-art {
  display: block;
  width: 128px;
  height: 72px;
  overflow: hidden;
  border-radius: 4px;
}

.row-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-title {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.full-game-row p {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 0;
}

.full-game-row p span {
  border-radius: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--subtle);
  font-size: 20px;
  line-height: 1;
}

.row-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  border-radius: 7px;
  background: rgba(130, 29, 23, 0.86);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.full-game-row a[aria-disabled="true"] {
  pointer-events: none;
}

@media (min-width: 1200px) {
  :root {
    --pad: 44px;
  }

  .page-scale {
    width: min(calc(100vw - (var(--desktop-side-gap) * 2)), var(--desktop-shell));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(3, 3, 3, 0.68);
    box-shadow:
      0 30px 100px rgba(0, 0, 0, 0.52),
      inset 0 0 60px rgba(255, 255, 255, 0.02);
  }

  .page-shell {
    width: 100%;
    transform: none;
  }

  .topbar,
  .main-tabs,
  main,
  .bottom-nav {
    width: 100%;
  }

  .topbar {
    height: 94px;
    padding: 0 32px;
    background: rgba(0, 0, 0, 0.66);
  }

  .logo-lockup {
    gap: 14px;
  }

  .logo-mark {
    width: 54px;
    height: 54px;
    font-size: 29px;
  }

  .logo-lockup strong {
    font-size: 22px;
  }

  .top-actions {
    gap: 22px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .login-btn {
    min-width: 131px;
    font-size: 23px;
  }

  .main-tabs {
    position: static;
    grid-template-columns: repeat(4, 140px);
    justify-content: center;
    height: 66px;
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.82);
  }

  .main-tabs a {
    font-size: 23px;
  }

  .main-tabs a.active::after {
    left: calc(50% - 36px);
    width: 72px;
  }

  main {
    padding: 0 var(--pad) 36px;
  }

  .hero {
    height: 520px;
    margin: 0;
    border-radius: 0 0 12px 12px;
  }

  .hero-bg {
    width: 100%;
    height: 100%;
  }

  .hero-content {
    width: min(720px, 48%);
    height: 100%;
    padding: 74px 44px 48px;
  }

  .hero-content p {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .hero-content h1 {
    width: min(680px, 100%);
    margin-bottom: 18px;
    font-size: clamp(60px, 4.3vw, 84px);
    line-height: 0.96;
  }

  .hero-content > span {
    font-size: 22px;
    line-height: 1.58;
  }

  .hero-actions {
    grid-template-columns: minmax(0, 260px) minmax(0, 200px);
    width: min(100%, 476px);
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions a {
    height: 58px;
    font-size: 22px;
  }

  .feature-strip,
  .stat-strip {
    width: 100%;
  }

  .feature-strip {
    min-height: 112px;
  }

  .feature-strip article,
  .stat-strip article {
    width: auto;
  }

  .feature-strip article {
    gap: 18px;
    padding: 22px 24px;
  }

  .feature-strip strong {
    font-size: 24px;
  }

  .feature-strip span {
    font-size: 19px;
    white-space: normal;
  }

  .section-title {
    margin: 34px 0 20px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title h2::before {
    height: 26px;
  }

  .section-title a {
    font-size: 20px;
  }

  .game-carousel {
    gap: 22px;
  }

  .game-carousel::before {
    display: none;
  }

  .game-card img {
    aspect-ratio: 16 / 9;
  }

  .game-card div {
    padding: 18px 18px 16px;
  }

  .game-card h3 {
    font-size: 28px;
  }

  .game-card p span,
  .new-list p span {
    font-size: 17px;
  }

  .game-card a {
    height: 46px;
    font-size: 21px;
  }

  .slider-dots {
    height: 38px;
    padding-top: 16px;
  }

  .stat-strip {
    min-height: 108px;
  }

  .stat-strip article {
    padding: 20px 26px;
  }

  .stat-strip strong {
    font-size: 38px;
  }

  .stat-strip span {
    font-size: 20px;
  }

  .save-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 22px;
    margin-top: 30px;
    padding: 28px;
  }

  .save-panel-copy h2 {
    font-size: 32px;
  }

  .save-panel-copy span,
  .save-panel-grid span {
    font-size: 18px;
  }

  .save-panel-grid strong {
    font-size: 24px;
  }

  .new-list article {
    grid-template-columns: 148px minmax(280px, 1.3fr) minmax(200px, 1fr) 52px;
    gap: 22px;
    min-height: 86px;
    padding: 12px 22px 12px 18px;
  }

  .new-list img {
    width: 148px;
    height: 64px;
  }

  .new-list strong {
    font-size: 24px;
  }

  .new-list a {
    width: 52px;
    height: 38px;
    font-size: 20px;
  }

  .cta-band {
    min-height: 136px;
    margin: 30px 0 18px;
    padding: 28px 34px;
  }

  .cta-band h2 {
    font-size: 36px;
  }

  .cta-band p {
    font-size: 22px;
  }

  .cta-band a {
    font-size: 20px;
  }

  .bottom-nav {
    grid-template-columns: 1fr 180px;
    min-height: 112px;
    padding: 22px 34px;
  }

  .bottom-nav > a:not(.logo-lockup) {
    font-size: 20px;
  }

  .library-page main {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .full-game-row {
    grid-template-columns: 168px minmax(260px, 1.2fr) minmax(260px, 1fr) 52px;
    gap: 24px;
    min-height: 108px;
    padding: 16px 24px 16px 20px;
  }

  .row-art {
    width: 168px;
    height: 84px;
  }

  .row-title {
    font-size: 32px;
  }

  .full-game-row p {
    justify-content: flex-start;
  }

  .full-game-row p span {
    font-size: 18px;
  }

  .library-notice {
    font-size: 20px;
  }

  .row-badge {
    width: 52px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 864px) {
  :root {
    --pad: 34px;
  }

  .page-scale {
    width: 100vw;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .topbar {
    height: 96px;
    padding: 24px 40px 20px;
  }

  .logo-mark {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .logo-lockup strong {
    font-size: 22px;
  }

  .top-actions {
    gap: 0;
  }

  .top-actions .icon-btn {
    display: none;
  }

  .login-btn {
    min-width: 149px;
    height: 61px;
    font-size: 23px;
  }

  .main-tabs a {
    font-size: 20px;
  }

  .hero {
    height: 492px;
  }

  .hero-bg,
  .hero-content {
    transform: none;
  }

  .hero-content {
    padding: 58px 42px 42px;
  }

  .hero-content h1 {
    font-size: 84px;
  }

  .hero-content > span {
    font-size: 24px;
  }

  .hero-actions {
    grid-template-columns: 280px 224px;
    gap: 16px;
    width: 520px;
  }

  .hero-actions a {
    gap: 14px;
    font-size: 24px;
  }

  .hero-actions svg {
    width: 24px;
    height: 24px;
  }

  .feature-strip,
  .stat-strip {
    overflow: visible;
  }

  .feature-strip,
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
    width: 796px;
  }

  .game-carousel {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .game-carousel::-webkit-scrollbar {
    display: none;
  }

  .game-card {
    flex: 0 0 374px;
    scroll-snap-align: start;
  }

  .game-card p span,
  .new-list p span,
  .game-card a,
  .new-list a {
    font-size: 19px;
  }

  .game-card img {
    aspect-ratio: 16 / 9;
  }

  .new-list article {
    grid-template-columns: 114px 1fr auto 44px;
    gap: 18px;
  }

  .new-list img {
    width: 114px;
    height: 56px;
  }

  .new-list p {
    display: flex;
  }

  .save-panel {
    grid-template-columns: 1fr;
  }

  .save-panel-grid {
    grid-template-columns: 1fr;
  }

  .save-panel-grid article {
    min-height: auto;
  }

  .save-panel-copy h2 {
    font-size: 30px;
  }

  .cloud-save-modal {
    align-items: end;
    padding: 14px;
  }

  .cloud-save-dialog {
    width: 100%;
    max-height: calc(100vh - 28px);
    border-radius: 10px;
    padding: 22px 18px 18px;
  }

  .cloud-save-close {
    right: 12px;
    top: 12px;
  }

  .cloud-save-hero {
    gap: 14px;
    padding-right: 38px;
  }

  .cloud-save-hero img {
    width: 72px;
    height: 72px;
  }

  .cloud-save-hero p {
    font-size: 12px;
  }

  .cloud-save-hero h2 {
    font-size: 30px;
  }

  .cloud-save-hero span {
    font-size: 16px;
  }

  .cloud-save-status {
    margin: 18px 0 14px;
    padding: 14px;
  }

  .cloud-save-status strong {
    font-size: 17px;
  }

  .cloud-save-status span,
  .cloud-save-compare li {
    font-size: 15px;
  }

  .cloud-save-compare {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cloud-save-compare article {
    min-height: auto;
    padding: 15px;
  }

  .cloud-save-compare strong {
    font-size: 19px;
  }

  .cloud-save-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cloud-save-actions button {
    min-width: 0;
    font-size: 16px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .bottom-nav {
    grid-template-columns: 1fr 160px;
    padding: 24px 38px 22px;
  }

  .bottom-nav .logo-lockup {
    display: inline-flex;
  }

  .full-game-row {
    grid-template-columns: 128px minmax(230px, 1fr) auto 44px;
    gap: 22px;
    padding: 12px 28px 12px 20px;
  }

  .row-art {
    width: 128px;
    height: 72px;
  }

  .row-title {
    font-size: 26px;
  }

  .full-game-row p {
    display: flex;
  }
}

/* Cloud-save poster lock: this is intentionally last so old modal rules cannot re-enable internal scrolling. */
.cloud-save-modal {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.cloud-save-dialog,
.cloud-save-modal.is-open .cloud-save-dialog {
  width: 838px;
  height: 1180px;
  max-width: none;
  max-height: none;
  overflow: hidden;
  transform: scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-dialog::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 51, 43, 0.22), transparent 24%),
    radial-gradient(circle at 13% 10%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36));
  content: "";
  pointer-events: none;
}

.cloud-save-dialog > * {
  position: relative;
  z-index: 1;
}

.cloud-save-hero {
  min-height: 460px;
}

.cloud-save-hero img.cloud-save-hero-art {
  right: 38px;
  top: 78px;
  width: 294px;
  height: 292px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(1.16) contrast(1.08) drop-shadow(0 0 28px rgba(255, 38, 34, 0.28));
  -webkit-mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
  mask-image: radial-gradient(circle at 52% 52%, #000 0 70%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
}

.cloud-save-compare {
  margin-top: 0;
}

.cloud-save-compare article {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.74), rgba(0, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article:nth-child(2) {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(35, 4, 4, 0.76), rgba(5, 0, 0, 0.86)),
    url("/assets/portal/cloud-save/ui-sheet-dark-surface.png") center / cover;
}

.cloud-save-compare article > img {
  border-radius: 50%;
}

.cloud-save-note {
  background:
    linear-gradient(90deg, rgba(21, 3, 3, 0.86), rgba(8, 8, 8, 0.72)),
    url("/assets/portal/cloud-save/ui-sheet-panel-surface.png") right center / cover;
}

/* Final cloud-save panel reference override. Keep this after responsive rules so the modal matches the generated design. */
.cloud-save-modal {
  align-items: start;
  padding: 106px 12px 20px;
  background: rgba(0, 0, 0, 0.82);
}

.cloud-save-dialog {
  width: min(838px, 100%);
  max-height: calc(100vh - 126px);
  border: 1px solid rgba(255, 51, 43, 0.58);
  border-radius: 18px;
  padding: 54px 48px 52px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9)),
    url("/assets/portal/cloud-save/cloud-save-panel-bg.png") center / cover,
    #030303;
}

.cloud-save-close {
  right: 21px;
  top: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #eeeeee;
  font-size: 43px;
  font-weight: 300;
}

.cloud-save-hero {
  position: relative;
  display: block;
  min-height: 460px;
  padding: 112px 0 0;
}

.cloud-save-title-block {
  position: relative;
  z-index: 2;
  width: 51%;
}

.cloud-save-hero-art {
  position: absolute;
  right: -80px;
  top: 6px;
  z-index: 1;
  width: 62%;
  max-width: 440px;
  height: 410px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  filter: saturate(1.12) contrast(1.08) drop-shadow(0 0 26px rgba(255, 38, 34, 0.28));
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle at 54% 50%, #000 0 58%, rgba(0, 0, 0, 0.75) 70%, transparent 88%);
  mask-image: radial-gradient(circle at 54% 50%, #000 0 58%, rgba(0, 0, 0, 0.75) 70%, transparent 88%);
}

.cloud-save-hero p {
  margin-bottom: 24px;
  font-size: 22px;
  letter-spacing: 0.16em;
}

.cloud-save-hero h2 {
  margin-bottom: 22px;
  font-family: "Arial Black", Impact, "Microsoft YaHei UI", sans-serif;
  font-size: 76px;
  line-height: 0.96;
}

.cloud-save-hero span {
  color: #a9a9a9;
  font-size: 26px;
  font-weight: 700;
}

.cloud-save-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  border-radius: 11px;
  padding: 17px 20px;
}

.cloud-save-status i {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 69, 61, 0.58);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.cloud-save-status strong {
  font-size: 28px;
  white-space: nowrap;
}

.cloud-save-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 4px;
}

.cloud-save-compare article {
  min-height: 522px;
  border-radius: 14px;
  padding: 48px 36px 38px;
}

.cloud-save-compare article > img {
  display: block;
  width: 116px;
  height: 116px;
  margin: 0 auto 64px;
}

.cloud-save-compare strong {
  margin-bottom: 44px;
  font-size: 38px;
  text-align: center;
}

.cloud-save-compare ul {
  gap: 27px;
}

.cloud-save-compare li {
  padding-left: 36px;
  font-size: 24px;
}

.cloud-save-compare li::before {
  top: 9px;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 79, 70, 0.5);
}

.cloud-save-note {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 26px;
  min-height: 142px;
  margin-top: 42px;
  border: 1px solid rgba(255, 51, 43, 0.44);
  border-radius: 12px;
  padding: 25px 30px;
}

.cloud-save-note img {
  width: 70px;
  height: 70px;
}

.cloud-save-note strong {
  display: block;
  margin-bottom: 14px;
  font-size: 27px;
}

.cloud-save-note span {
  color: #969696;
  font-size: 21px;
}

.cloud-save-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 42px;
}

.cloud-save-actions button {
  width: 100%;
  height: 96px;
  font-size: 33px;
}

.cloud-save-primary span {
  position: absolute;
  right: 36px;
  font-size: 48px;
}

@media (max-width: 864px) {
  .cloud-save-modal {
    padding: 104px 6px 18px;
  }

  .cloud-save-dialog {
    max-height: calc(100vh - 122px);
    padding: 25px 22px 28px;
  }

  .cloud-save-close {
    right: 18px;
    top: 20px;
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .cloud-save-hero {
    min-height: 248px;
    padding-top: 84px;
  }

  .cloud-save-title-block {
    width: 56%;
  }

  .cloud-save-hero img.cloud-save-hero-art {
    right: -88px;
    top: 36px;
    width: 330px;
    max-width: none;
    height: 230px;
  }

  .cloud-save-hero p {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .cloud-save-hero h2 {
    margin-bottom: 12px;
    font-size: 46px;
  }

  .cloud-save-hero span {
    font-size: 16px;
  }

  .cloud-save-status {
    gap: 8px;
    margin-top: 23px;
    padding: 9px 12px;
  }

  .cloud-save-status i {
    width: 11px;
    height: 11px;
    border-width: 2px;
  }

  .cloud-save-status strong {
    font-size: 17px;
  }

  .cloud-save-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cloud-save-compare article {
    min-height: 258px;
    padding: 28px 15px 19px;
  }

  .cloud-save-compare article > img {
    width: 66px;
    height: 66px;
    margin-bottom: 31px;
  }

  .cloud-save-compare strong {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .cloud-save-compare ul {
    gap: 15px;
  }

  .cloud-save-compare li {
    padding-left: 19px;
    font-size: 14px;
  }

  .cloud-save-compare li::before {
    top: 6px;
    width: 7px;
    height: 7px;
    border-width: 2px;
  }

  .cloud-save-note {
    grid-template-columns: 42px 1fr;
    gap: 15px;
    min-height: 76px;
    margin-top: 20px;
    padding: 14px 16px;
  }

  .cloud-save-note img {
    width: 42px;
    height: 42px;
  }

  .cloud-save-note strong {
    margin-bottom: 7px;
    font-size: 16px;
  }

  .cloud-save-note span {
    font-size: 13px;
  }

  .cloud-save-actions {
    gap: 16px;
    margin-top: 22px;
  }

  .cloud-save-actions button {
    height: 58px;
    font-size: 20px;
  }

  .cloud-save-primary span {
    right: 20px;
    font-size: 30px;
  }
}

/* Cloud-save final poster: use the supplied 862x1824 bitmap 1:1; only interactive controls are layered above it. */
.cloud-save-modal {
  display: block;
  padding: 0;
  overflow: hidden;
}

.cloud-save-poster,
.cloud-save-modal.is-open .cloud-save-poster {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 862px;
  height: 1824px;
  max-width: none;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: url("/assets/portal/cloud-save/cloud-save-poster-bg.png") left top no-repeat #020202;
  background-size: auto;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(var(--cloud-save-scale, 0.45));
  transform-origin: center;
}

.cloud-save-poster::before,
.cloud-save-poster .cloud-save-close {
  display: none;
}

.cloud-save-current {
  position: absolute;
  left: 62px;
  top: 575px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 69px;
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  padding: 0 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(0, 0, 0, 0.32);
}

.cloud-save-current i {
  width: 19px;
  height: 19px;
  border: 4px solid rgba(255, 80, 70, 0.46);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 16px rgba(255, 51, 43, 0.62);
}

.cloud-save-current strong {
  color: #f3f3f3;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cloud-save-plan-grid {
  position: absolute;
  left: 62px;
  top: 740px;
  display: grid;
  grid-template-columns: 356px 356px;
  gap: 30px;
}

.cloud-save-plan {
  position: relative;
  display: grid;
  align-content: end;
  gap: 22px;
  width: 356px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 164px 36px 44px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(4, 4, 4, 0.48), rgba(0, 0, 0, 0.7));
  color: #a8a8a8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cloud-save-plan::before {
  position: absolute;
  left: 50%;
  top: 42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 68, 60, 0.3), transparent 58%),
    radial-gradient(circle at 50% 50%, transparent 0 47%, rgba(255, 68, 60, 0.75) 48% 50%, transparent 51%);
  content: "";
  transform: translateX(-50%);
  filter: drop-shadow(0 0 18px rgba(255, 51, 43, 0.28));
}

.cloud-save-plan::after {
  position: absolute;
  left: calc(50% - 38px);
  top: 62px;
  width: 76px;
  height: 76px;
  background: center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 0 12px rgba(255, 51, 43, 0.36));
}

.cloud-save-plan[data-cloud-save-plan="free"]::after {
  background-image: url("/assets/portal/cloud-save/ui-sheet-player-orbit.png");
}

.cloud-save-plan[data-cloud-save-plan="subscriber"]::after {
  background-image: url("/assets/portal/cloud-save/ui-sheet-cloud-orbit.png");
}

.cloud-save-plan.is-selected {
  border-color: rgba(255, 76, 68, 0.95);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 51, 43, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(37, 5, 5, 0.62), rgba(4, 0, 0, 0.78));
  box-shadow: inset 0 0 34px rgba(255, 51, 43, 0.08), 0 0 18px rgba(255, 51, 43, 0.16);
}

.cloud-save-plan strong {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-size: 39px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.cloud-save-plan span {
  position: relative;
  display: block;
  padding-left: 36px;
  color: #a8a8a8;
  font-size: 24px;
  line-height: 1.15;
}

.cloud-save-plan span::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 79, 70, 0.5);
  border-radius: 50%;
  background: #ff443c;
  box-shadow: 0 0 12px rgba(255, 51, 43, 0.48);
  content: "";
}

.cloud-save-poster .cloud-save-actions {
  position: absolute;
  left: 62px;
  top: 1510px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 738px;
  margin: 0;
}

.cloud-save-poster .cloud-save-actions button {
  width: 738px;
  height: 96px;
  border-radius: 12px;
  font-size: 35px;
  font-weight: 900;
}

.cloud-save-poster .cloud-save-primary span {
  position: absolute;
  right: 36px;
  font-size: 52px;
  line-height: 1;
}
