:root {
  --bg: #04030b;
  --text: #fff;
  --muted: rgba(255, 255, 255, .72);
  --line: rgba(255, 255, 255, .13);
  --card: rgba(12, 6, 30, .78);
  --pink: #ff3d88;
  --orange: #ff7a1d;
  --purple: #b000f5;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --weight-body: 500;
  --weight-title: 800;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: var(--weight-body);
  color: var(--text);
  background: var(--bg);
}

button,
a {
  font: inherit;
}

strong,
b {
  font-weight: inherit;
}

h1,
h2,
h3 {
  font-weight: var(--weight-title);
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 11%, rgba(255, 42, 68, .34), transparent 24%),
    radial-gradient(circle at 21% 93%, rgba(255, 0, 92, .28), transparent 24%),
    radial-gradient(circle at 75% 79%, rgba(16, 30, 255, .33), transparent 25%),
    url("assets/HaloLiveWSBG.png") center / cover no-repeat;
}

.site-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92), transparent 19%, transparent 82%, rgba(0, 0, 0, .85)),
    linear-gradient(180deg, rgba(0, 0, 0, .62), transparent 44%, rgba(0, 0, 0, .46));
}

.site-header,
.hero,
.site-footer,
.info-content {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 10;
  width: calc(100% - 96px);
  max-width: 1430px;
  width: min(1430px, calc(100% - 96px));
  height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-page .site-header {
  justify-content: flex-start;
}

.header-actions {
  position: relative;
  z-index: 8;
  height: 42px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.header-actions > * + * {
  margin-left: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 185px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 53, 157, .4));
}

.recharge-entry,
.back-home,
.language-trigger {
  min-width: 108px;
  height: 42px;
  margin-left: 24px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  font-weight: var(--weight-body);
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-actions .recharge-entry,
.language-trigger {
  margin-left: 0;
}

.home-page .recharge-entry {
  min-width: 126px;
  border-color: transparent;
  background:
    linear-gradient(rgba(5, 2, 14, .97), rgba(9, 3, 20, .95)) padding-box,
    linear-gradient(100deg, var(--orange), var(--pink) 50%, var(--purple)) border-box;
  box-shadow:
    0 0 16px rgba(255, 61, 136, .18),
    0 0 28px rgba(176, 0, 245, .13),
    0 12px 30px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.language-trigger {
  min-width: 164px;
  padding: 0 16px 0 18px;
  gap: 0;
  border-color: transparent;
  background:
    linear-gradient(rgba(5, 2, 14, .97), rgba(9, 3, 20, .95)) padding-box,
    linear-gradient(100deg, var(--orange), var(--pink) 50%, var(--purple)) border-box;
  cursor: pointer;
  box-shadow:
    0 0 16px rgba(255, 61, 136, .16),
    0 0 28px rgba(176, 0, 245, .12),
    0 12px 30px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.language-trigger img {
  width: 15px;
  height: 15px;
  margin-left: auto;
  transition: transform .2s ease;
}

.language-current-code,
.recharge-label-mobile {
  display: none;
}

.language-picker {
  position: relative;
}

.language-picker.is-open .language-trigger img {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 12;
  width: 224px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(12, 6, 30, .97);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, .48),
    0 0 26px rgba(176, 0, 245, .14),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  animation: language-menu-in .18s ease-out both;
}

.language-menu[hidden] {
  display: none;
}

.language-menu button,
.language-menu a {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-selected,
.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a.is-selected {
  border-color: rgba(255, 79, 169, .68);
  outline: none;
  color: #fff;
  background: rgba(255, 61, 136, .13);
  box-shadow: 0 0 18px rgba(214, 23, 168, .14);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .home-page .recharge-entry,
  .language-trigger {
    background:
      radial-gradient(circle at 22% 0%, rgba(255, 255, 255, .1), transparent 46%) padding-box,
      linear-gradient(135deg, rgba(9, 5, 22, .88), rgba(3, 2, 12, .95)) padding-box,
      linear-gradient(100deg, var(--orange), var(--pink) 50%, var(--purple)) border-box;
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    backdrop-filter: blur(18px) saturate(155%);
    box-shadow:
      0 0 17px rgba(255, 61, 136, .24),
      0 0 30px rgba(176, 0, 245, .16),
      0 14px 32px rgba(0, 0, 0, .38),
      inset 0 1px 0 rgba(255, 255, 255, .12),
      inset 1px 0 0 rgba(255, 255, 255, .045);
  }

  .language-menu {
    background:
      radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .18), transparent 38%),
      linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(8, 3, 24, .72));
    -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
  }
}

.recharge-entry:hover,
.back-home:hover,
.language-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 61, 136, .2);
}

.home-page .recharge-entry:hover {
  box-shadow:
    0 0 20px rgba(255, 61, 136, .34),
    0 0 38px rgba(176, 0, 245, .24),
    0 16px 36px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .15);
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-picker.is-open .language-trigger {
  border-color: transparent;
  outline: none;
  box-shadow:
    0 0 20px rgba(255, 61, 136, .32),
    0 0 36px rgba(176, 0, 245, .22),
    0 16px 36px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .15);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 64px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.desktop-nav button,
.mobile-drawer button {
  border-radius: 999px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.desktop-nav button:hover,
.footer-links a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 65, 166, .68);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  width: calc(100% - 48px);
  max-width: 980px;
  width: min(980px, calc(100% - 48px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: minmax(360px, 510px) 1fr;
  align-items: center;
  gap: 66px;
}

.phone-wrap {
  position: relative;
  min-height: 620px;
}

.phone-wrap::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -1%;
  bottom: 4%;
  height: 90px;
  background: radial-gradient(ellipse, rgba(0, 255, 218, .34), transparent 64%);
  filter: blur(6px);
}

.phone-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, .7));
}

.hero-copy {
  padding-bottom: 90px;
}

.hero h1 {
  margin: 0 0 58px;
  font-size: 48px;
  font-size: clamp(38px, 3.1vw, 48px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .35);
}

.download-list {
  width: 400px;
  display: grid;
  gap: 14px;
}

.download-button {
  width: 100%;
  height: 62px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, var(--orange), var(--pink) 49%, var(--purple));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(175, 0, 245, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.download-button-wide {
  gap: 16px;
  padding: 0 16px;
  justify-content: center;
}

.store-button-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-button-row .download-button {
  gap: 8px;
  padding: 0 12px;
  justify-content: center;
}

.download-button > span:last-child {
  white-space: nowrap;
}

.download-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.12);
  box-shadow: 0 22px 42px rgba(175, 0, 245, .38), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.button-icon {
  width: 25px;
  height: 25px;
  justify-self: end;
}

.button-icon img,
.social-links svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.social-links svg {
  fill: currentColor;
}

.social-links button:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  width: calc(100% - 40px);
  max-width: 690px;
  width: min(690px, calc(100% - 40px));
  margin: 52px auto 0;
  padding-bottom: 50px;
  color: rgba(255, 255, 255, .74);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  font-size: 14px;
}

.social-links {
  margin: 34px 0 24px;
  display: none;
  justify-content: center;
  gap: 36px;
}

.social-links button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #05030a;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.social-links button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 255, 255, .34);
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.copyright {
  margin: 28px 0 0;
  font-size: 13px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  inset: 0 0 0 auto;
  z-index: 4;
  width: 76vw;
  max-width: 300px;
  width: min(300px, 76vw);
  padding: 92px 28px;
  background: rgba(8, 4, 22, .96);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform .24s ease;
  display: grid;
  align-content: start;
  gap: 24px;
  color: #fff;
}

.drawer-open .mobile-drawer {
  transform: translateX(0);
}

.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 9;
  min-width: 150px;
  transform: translate(-50%, -50%) scale(.96);
  padding: 12px 18px;
  border-radius: 14px;
  color: #fff;
  background: rgba(0, 0, 0, .84);
  border: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.info-page {
  overflow: auto;
}

.info-content {
  width: calc(100% - 56px);
  max-width: 1050px;
  width: min(1050px, calc(100% - 56px));
  margin: 26px auto 0;
}

.content-card {
  min-height: 56vh;
  padding: 40px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.content-card h1,
.content-card h2 {
  margin: 0 0 24px;
  font-size: 42px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  font-style: italic;
}

.content-card h3 {
  margin: 30px 0 12px;
  color: #fff;
  font-size: 18px;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.content-card p {
  margin: 14px 0;
}

.content-card ul,
.content-card ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.content-card table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
  border-radius: 12px;
}

.content-card th,
.content-card td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.content-card th {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.info-footer {
  margin-top: 42px;
}

.recharge-page {
  min-height: 100vh;
  overflow: visible;
}

.recharge-page::before {
  position: fixed;
}

.recharge-header {
  position: relative;
  justify-content: space-between;
}

.recharge-header-title {
  position: static;
  margin: 0 0 0 24px;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.recharge-header .back-home {
  margin-left: auto;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.recharge-content,
.recharge-footer {
  position: relative;
  z-index: 1;
}

.recharge-content {
  width: calc(100% - 48px);
  max-width: 1180px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.result-page {
  display: flex;
  flex-direction: column;
}

.result-content {
  width: calc(100% - 48px);
  max-width: 720px;
  width: min(720px, calc(100% - 48px));
  min-height: 440px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.payment-result-panel {
  width: 100%;
  max-width: 620px;
  padding: 46px 36px;
  text-align: center;
}

.payment-result-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(255, 190, 34, .32));
}

.payment-result-panel h2 {
  margin: 0;
  font-size: 30px;
}

.payment-result-message {
  max-width: 440px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.payment-countdown {
  width: min(100%, 390px);
  margin: 30px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.payment-countdown strong {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink) 52%, var(--purple));
  display: grid;
  place-items: center;
  font-size: 17px;
}

.payment-countdown b {
  color: #fff;
}

.result-home-link {
  width: min(100%, 390px);
  margin: 18px auto 0;
}

.modal-kicker {
  margin: 0 0 10px;
  color: #ff7dca;
  font-size: 12px;
  font-weight: var(--weight-body);
  text-transform: uppercase;
}

.recharge-layout {
  display: grid;
  gap: 0;
  transition: gap .36s ease;
}

.recharge-layout.has-payment-options {
  gap: 22px;
}

.recharge-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .12), transparent 30%),
    linear-gradient(135deg, rgba(31, 15, 55, .9), rgba(7, 3, 22, .92));
  box-shadow:
    0 28px 76px rgba(0, 0, 0, .46),
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 -1px 0 rgba(255, 255, 255, .04);
}

.package-panel {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height .42s ease,
    padding .42s ease,
    border-color .3s ease,
    opacity .28s ease,
    transform .36s ease;
}

.package-panel.is-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.recharge-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .035) 24%, transparent 45%),
    radial-gradient(circle at 88% -8%, rgba(255, 72, 175, .18), transparent 33%);
}

.recharge-panel > * {
  position: relative;
  z-index: 1;
}

.user-check-form label,
.select-field > .select-label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: var(--weight-body);
}

.field-label-row {
  min-height: 18px;
  margin-bottom: 9px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.field-label-row label,
.field-label-row .field-error {
  margin: 0;
}

.field-label-row .field-error {
  min-width: 0;
  min-height: 0;
  text-align: right;
}

.user-id-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.user-id-input-wrap {
  position: relative;
  min-width: 0;
}

.user-id-row input,
.select-trigger {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  outline: none;
  color: #fff;
  background: rgba(21, 11, 43, .78);
  font: inherit;
  transition: border-color .2s ease, background .2s ease, box-shadow .22s ease;
}

.user-id-row input {
  padding: 0 52px 0 15px;
}

.user-id-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.user-id-clear[hidden] {
  display: none;
}

.user-id-clear img {
  width: 13px;
  height: 13px;
}

.user-id-clear:hover,
.user-id-clear:focus {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .17);
  outline: none;
}

.user-id-row input::placeholder {
  color: rgba(255, 255, 255, .72);
  opacity: 1;
}

.user-id-row input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, .72);
  opacity: 1;
}

.user-id-row input:focus,
.select-trigger:focus-visible,
.select-trigger[aria-expanded="true"] {
  border-color: rgba(255, 72, 145, .98);
  box-shadow:
    0 0 0 1px rgba(255, 72, 145, .2),
    0 0 12px rgba(255, 61, 136, .42),
    0 0 28px rgba(255, 29, 126, .22),
    0 12px 30px rgba(102, 0, 111, .2);
}

.user-id-row input[aria-invalid="true"] {
  border-color: rgba(255, 68, 126, .98);
  background: rgba(53, 9, 31, .78);
  box-shadow:
    0 0 0 1px rgba(255, 68, 126, .2),
    0 0 14px rgba(255, 52, 116, .44),
    0 0 30px rgba(255, 29, 126, .22),
    0 12px 30px rgba(106, 0, 58, .2);
}

.user-id-input-wrap.is-shaking {
  animation: user-id-shake .44s cubic-bezier(.36, .07, .19, .97) both;
}

.select-trigger {
  padding: 0 16px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}

.select-trigger-content {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-trigger-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
}

.select-trigger-icon.is-wide {
  width: 44px;
  padding: 3px;
  background: #fff;
}

.select-trigger > img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.select-trigger-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-select-proxy {
  display: none;
}

.secondary-action,
.primary-action {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: var(--weight-body);
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.user-check-form.has-user-id .secondary-action {
  border-color: transparent;
  background: linear-gradient(100deg, var(--orange), var(--pink) 50%, var(--purple));
  box-shadow: 0 12px 26px rgba(176, 0, 245, .24);
}

.primary-action {
  color: #fff;
  background: linear-gradient(100deg, var(--orange), var(--pink) 50%, var(--purple));
  box-shadow: 0 14px 28px rgba(176, 0, 245, .2);
}

.secondary-action:hover:not(:disabled),
.primary-action:hover:not(:disabled) {
  transform: translateY(-2px);
}

.secondary-action:disabled,
.primary-action:disabled {
  cursor: not-allowed;
  opacity: .42;
  box-shadow: none;
}

.field-hint,
.field-error {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.field-hint {
  color: rgba(255, 255, 255, .48);
}

.field-error {
  min-height: 18px;
  color: #ff7caa;
}

.user-profile {
  min-height: 112px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(21, 11, 43, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), 0 12px 28px rgba(0, 0, 0, .2);
}

.user-profile[hidden],
.user-check-form[hidden] {
  display: none;
}

.avatar-wrap {
  width: 64px;
  height: 64px;
  padding: 3px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 119, 28, .26), rgba(176, 0, 245, .34));
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 38%;
}

.profile-copy {
  display: grid;
  gap: 3px;
}

.profile-id-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.profile-copy strong {
  font-size: 17px;
}

.profile-copy span {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.profile-copy b {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.recharge-filters {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 16px;
}

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

.diamond-package {
  --diamond-size: 68px;
  position: relative;
  min-height: 212px;
  padding: 6px 10px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  color: #fff;
  background: rgba(21, 11, 43, .72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.package-art {
  width: 100%;
  height: 138px;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
}

.package-art img {
  width: var(--diamond-size);
  height: var(--diamond-size);
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(255, 190, 34, .4));
  transition: transform .22s ease, filter .22s ease;
}

.diamond-package:nth-child(2) { --diamond-size: 74px; }
.diamond-package:nth-child(3) { --diamond-size: 82px; }
.diamond-package:nth-child(4) { --diamond-size: 92px; }
.diamond-package:nth-child(5) { --diamond-size: 104px; }
.diamond-package:nth-child(6) { --diamond-size: 116px; }
.diamond-package:nth-child(7) { --diamond-size: 128px; }
.diamond-package:nth-child(8) { --diamond-size: 138px; }

.package-diamonds {
  margin-top: -3px;
  line-height: 1.2;
  font-size: 19px;
}

.package-price {
  width: 100%;
  max-width: none;
  margin-top: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .095);
  font-size: 13px;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 18px rgba(0, 0, 0, .13);
}

.diamond-package:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .075);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .14);
}

.diamond-package.is-selected,
.diamond-package:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 69, 141, .98);
  outline: none;
  background: rgba(255, 61, 136, .16);
  box-shadow:
    0 0 0 1px rgba(255, 69, 141, .2),
    0 0 16px rgba(255, 61, 136, .48),
    0 0 38px rgba(231, 21, 158, .26),
    0 18px 36px rgba(87, 0, 128, .28),
    inset 0 1px 0 rgba(255, 255, 255, .19);
}

.diamond-package.is-selected .package-art img {
  transform: scale(1.12);
  filter:
    drop-shadow(0 8px 14px rgba(255, 190, 34, .5))
    drop-shadow(0 0 16px rgba(255, 77, 158, .24));
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .recharge-panel {
    background:
      radial-gradient(circle at 10% 0%, rgba(255, 255, 255, .21), transparent 34%),
      radial-gradient(circle at 92% 4%, rgba(255, 53, 159, .13), transparent 28%),
      linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(8, 3, 24, .53));
    -webkit-backdrop-filter: blur(34px) saturate(185%) brightness(1.04);
    backdrop-filter: blur(34px) saturate(185%) brightness(1.04);
    box-shadow:
      0 30px 86px rgba(0, 0, 0, .42),
      inset 0 1px 0 rgba(255, 255, 255, .28),
      inset 1px 0 0 rgba(255, 255, 255, .1),
      inset 0 -1px 0 rgba(255, 255, 255, .055);
  }

  .user-profile,
  .diamond-package,
  .user-id-row input,
  .select-trigger,
  .package-price,
  .option-sheet,
  .recharge-modal {
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .18), transparent 38%),
      linear-gradient(135deg, rgba(255, 255, 255, .115), rgba(12, 5, 32, .55));
    -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .24),
      inset 1px 0 0 rgba(255, 255, 255, .07),
      0 14px 34px rgba(0, 0, 0, .22);
  }

  .diamond-package:hover {
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .16), transparent 38%),
      linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(12, 5, 32, .56));
  }

  .diamond-package.is-selected,
  .diamond-package:focus-visible {
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .22), transparent 38%),
      linear-gradient(135deg, rgba(255, 72, 151, .22), rgba(66, 12, 104, .5));
  }
}

.recharge-summary {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.recharge-summary[hidden] {
  display: none !important;
}

.selected-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.selected-summary img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(255, 190, 34, .38));
}

.selected-summary img[hidden] {
  display: none;
}

.selected-summary-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-align: left;
}

.recharge-summary strong {
  font-size: 15px;
}

.selected-summary-price {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.selected-summary-price:not([hidden])::before {
  content: "/ ";
}

.action-label-mobile {
  display: none;
}

.recharge-footer {
  width: calc(100% - 48px);
  max-width: 1180px;
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 0;
  padding: 0 0 36px;
  color: rgba(255, 255, 255, .45);
  text-align: center;
  font-size: 12px;
}

.modal-open,
.sheet-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 20;
  padding: 20px;
  background: rgba(2, 1, 8, .78);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.option-sheet-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 30;
  padding: 0 12px;
  background: rgba(2, 1, 8, .72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: option-backdrop-in .24s ease-out both;
}

.option-sheet-backdrop[hidden] {
  display: none;
}

.option-sheet {
  width: 100%;
  max-width: 560px;
  width: min(560px, 100%);
  height: 50vh;
  height: 50dvh;
  max-height: 520px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  color: #fff;
  background: #100821;
  box-shadow: 0 -28px 80px rgba(0, 0, 0, .52);
  display: flex;
  flex-direction: column;
  animation: option-sheet-up .24s ease-out;
}

.option-sheet-backdrop.is-closing {
  pointer-events: none;
  animation: option-backdrop-out .19s ease-in both;
}

.option-sheet-backdrop.is-closing .option-sheet {
  animation: option-sheet-down .19s ease-in both;
}

.option-sheet-handle {
  width: 42px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
}

.option-sheet-header {
  min-height: 70px;
  padding: 12px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.option-sheet-header h2 {
  margin: 0;
  font-size: 14px;
  font-weight: var(--weight-body);
}

.option-sheet-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.option-sheet-close img {
  width: 18px;
  height: 18px;
}

.option-sheet-list {
  min-height: 0;
  padding: 4px 20px 20px;
  padding: 4px 20px max(20px, env(safe-area-inset-bottom));
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.option-sheet-option {
  width: 100%;
  max-width: 340px;
  width: min(340px, 100%);
  min-height: 58px;
  margin: 0 auto;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .22s ease;
}

.option-sheet-option:hover {
  border-color: rgba(255, 79, 169, .74);
  background: rgba(255, 61, 136, .12);
}

.option-sheet-option.is-selected,
.option-sheet-option:focus-visible {
  border-color: rgba(255, 69, 141, .96);
  outline: none;
  background: rgba(255, 61, 136, .15);
  box-shadow:
    0 0 0 1px rgba(255, 69, 141, .18),
    0 0 13px rgba(255, 61, 136, .4),
    0 0 28px rgba(224, 22, 160, .2);
}

.option-sheet-option:active {
  transform: scale(.985);
}

.option-sheet-option img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

.option-sheet-option.has-wide-icon {
  grid-template-columns: 44px auto;
}

.option-sheet-option img.is-wide {
  width: 44px;
  height: 24px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
}

.option-sheet-option span {
  text-align: left;
  white-space: nowrap;
}

@keyframes option-sheet-up {
  from {
    opacity: .72;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes option-sheet-down {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: .72;
    transform: translateY(100%);
  }
}

@keyframes option-backdrop-in {
  from {
    opacity: 0;
    background-color: rgba(2, 1, 8, 0);
  }
  to {
    opacity: 1;
    background-color: rgba(2, 1, 8, .72);
  }
}

@keyframes option-backdrop-out {
  from {
    opacity: 1;
    background-color: rgba(2, 1, 8, .72);
  }
  to {
    opacity: 0;
    background-color: rgba(2, 1, 8, 0);
  }
}

@keyframes option-dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes language-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes user-id-shake {
  0%,
  100% { transform: translateX(0); }
  16% { transform: translateX(-8px); }
  32% { transform: translateX(7px); }
  48% { transform: translateX(-5px); }
  64% { transform: translateX(4px); }
  80% { transform: translateX(-2px); }
}

@media (min-width: 561px) {
  .option-sheet-backdrop {
    padding: 24px;
    align-items: center;
  }

  .option-sheet {
    width: 100%;
    max-width: 520px;
    width: min(520px, 100%);
    height: auto;
    max-height: 70vh;
    max-height: 70dvh;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .56);
    animation: option-dialog-in .22s ease-out;
  }

  .option-sheet-handle {
    display: none;
  }

  .option-sheet-header {
    min-height: 72px;
    padding: 16px 24px 12px;
  }

  .option-sheet-list {
    padding: 4px 24px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .option-sheet-backdrop,
  .option-sheet,
  .language-menu {
    animation: none;
  }

  .user-id-input-wrap.is-shaking {
    animation: none;
  }

  .package-art img {
    transition: none;
  }
}

.recharge-modal {
  width: 100%;
  max-width: 480px;
  width: min(480px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  color: #fff;
  background: #100821;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6);
}

.recharge-modal h2 {
  margin: 0 0 22px;
  font-size: 27px;
}

.order-details {
  margin: 0;
  display: grid;
  gap: 12px;
}

.order-details div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.order-details dt {
  color: rgba(255, 255, 255, .5);
}

.order-details dd {
  margin: 0;
  font-weight: var(--weight-body);
  text-align: right;
}

.modal-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.success-modal {
  text-align: center;
}

.success-modal > img {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  filter:
    drop-shadow(0 8px 18px rgba(34, 197, 94, .3))
    drop-shadow(0 0 22px rgba(34, 197, 94, .22));
}

.success-modal p:not(.modal-kicker) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.success-modal .primary-action {
  width: 100%;
  margin-top: 16px;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .option-sheet,
  .recharge-modal {
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .18), transparent 38%),
      linear-gradient(135deg, rgba(255, 255, 255, .115), rgba(12, 5, 32, .66));
    -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .24),
      inset 1px 0 0 rgba(255, 255, 255, .07),
      0 28px 80px rgba(0, 0, 0, .48);
  }
}

@media (min-width: 981px) {
  .home-page,
  .info-page {
    display: flex;
    flex-direction: column;
  }

  .home-page .site-footer,
  .info-page .site-footer {
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 52px;
    padding-bottom: 40px;
  }

  .info-page .site-footer {
    padding-top: 42px;
  }
}

@media (max-width: 1100px) {
  .home-page .hero {
    width: calc(100% - 48px);
    max-width: 900px;
    width: min(900px, calc(100% - 48px));
    grid-template-columns: minmax(320px, 1.1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .home-page .phone-wrap {
    min-height: 0;
  }

  .home-page .phone-image {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .home-page .hero-copy {
    min-width: 0;
    padding-bottom: 50px;
  }

  .home-page .hero h1 {
    margin-bottom: 40px;
    font-size: 40px;
  }

  .home-page .download-list {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 40px);
    max-width: 760px;
    width: min(calc(100% - 40px), 760px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: none;
  }

  .site-footer {
    margin-top: 46px;
  }

  .footer-links {
    gap: 18px 34px;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page .hero {
    width: calc(100% - 32px);
    max-width: 680px;
    width: min(calc(100% - 32px), 680px);
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .home-page .phone-wrap {
    min-height: 0;
  }

  .home-page .phone-image {
    width: 82vw;
    max-width: 420px;
    width: min(82vw, 420px);
    margin: 0 auto;
  }

  .home-page .hero-copy {
    width: 100%;
    padding-bottom: 0;
  }

  .home-page .hero h1 {
    margin: 18px 0 30px;
    font-size: 34px;
  }

  .home-page .download-list {
    width: 88vw;
    max-width: 320px;
    width: min(320px, 88vw);
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    justify-self: center;
    justify-items: center;
  }

  .home-page .store-button-row {
    justify-self: center;
  }

  .recharge-page {
    padding-bottom: 100px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .recharge-body::after {
    content: "";
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 18;
    height: 80px;
    height: calc(80px + env(safe-area-inset-bottom));
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        rgba(4, 3, 11, .9),
        #04030b 16px,
        #04030b 100%
      );
  }

  .recharge-summary {
    position: fixed;
    top: auto;
    left: 14px;
    right: 14px;
    bottom: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 19;
    min-height: 70px;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    background:
      radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .14), transparent 40%),
      linear-gradient(135deg, rgba(26, 13, 51, .96), rgba(8, 4, 25, .96));
    box-shadow:
      0 18px 52px rgba(0, 0, 0, .5),
      0 0 24px rgba(183, 0, 245, .12),
      inset 0 1px 0 rgba(255, 255, 255, .2);
  }

  .recharge-summary::before {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    bottom: 100%;
    height: 72px;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(4, 3, 11, 0),
      rgba(4, 3, 11, .38) 46%,
      rgba(4, 3, 11, .9) 100%
    );
  }

  .recharge-summary > * {
    position: relative;
    z-index: 1;
  }

  .selected-summary {
    min-width: 0;
    min-height: 48px;
    padding: 0 6px;
    gap: 10px;
  }

  .selected-summary img {
    width: 40px;
    height: 40px;
  }

  .selected-summary-copy {
    display: grid;
    align-content: center;
    gap: 3px;
  }

  .recharge-summary strong {
    min-width: 0;
    font-size: 16px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .selected-summary-price {
    font-size: 13px;
    line-height: 1.1;
  }

  .selected-summary-price:not([hidden])::before {
    content: "";
  }

  .recharge-summary .primary-action {
    width: auto;
    min-width: 118px;
    height: 48px;
    padding: 0 18px;
  }

  .action-label-desktop {
    display: none;
  }

  .action-label-mobile {
    display: inline;
  }

  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .recharge-summary {
      background:
        radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .22), transparent 38%),
        radial-gradient(circle at 92% 10%, rgba(255, 61, 153, .12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(8, 3, 24, .62));
      -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.03);
      backdrop-filter: blur(24px) saturate(180%) brightness(1.03);
      box-shadow:
        0 20px 58px rgba(0, 0, 0, .48),
        0 0 28px rgba(183, 0, 245, .14),
        inset 0 1px 0 rgba(255, 255, 255, .27),
        inset 1px 0 0 rgba(255, 255, 255, .08);
    }
  }
}

@media (max-width: 560px) {
  .site-shell {
    background-position: 49% 50%;
  }

  .site-header {
    height: 86px;
    width: calc(100% - 30px);
  }

  .recharge-header {
    height: 116px;
    padding-top: 18px;
    align-items: flex-start;
  }

  .recharge-header-title {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 12px;
    margin: 0;
    font-size: 18px;
  }

  .brand-link img {
    width: 142px;
  }

  .recharge-entry,
  .back-home,
  .language-trigger {
    min-width: 0;
    height: 38px;
    padding: 0 15px;
    font-size: 12px;
  }

  .header-actions {
    height: 38px;
    gap: 0;
  }

  .recharge-header .header-actions {
    position: absolute;
    top: 24px;
    right: 0;
    margin-left: 0;
  }

  .header-actions > * + * {
    margin-left: 6px;
  }

  .header-actions .recharge-entry {
    margin-left: 0;
    padding: 0 13px;
    font-size: 11px;
  }

  .language-trigger {
    width: 48px;
    min-width: 48px;
    padding: 0 11px;
    gap: 0;
  }

  .language-current-name,
  .recharge-label-desktop {
    display: none;
  }

  .language-current-code,
  .recharge-label-mobile {
    display: inline;
  }

  .language-trigger img {
    width: 13px;
    height: 13px;
  }

  .language-menu {
    top: calc(100% + 8px);
    width: 218px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .download-button {
    width: 100%;
    height: 58px;
    padding: 0 14px;
    gap: 8px;
  }

  .download-button-wide {
    gap: 14px;
    padding: 0 14px;
    justify-content: center;
  }

  .store-button-row {
    gap: 10px;
  }

  .site-footer {
    margin-top: 38px;
    padding-bottom: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 14px;
  }

  .copyright {
    margin-top: 24px;
  }

  .info-content {
    width: calc(100% - 28px);
    margin-top: 6px;
  }

  .content-card {
    border-radius: 14px;
    padding: 24px 18px;
  }

  .content-card p,
  .content-card li {
    font-size: 14px;
  }

  .recharge-content {
    width: calc(100% - 28px);
    margin-top: 0;
  }

  .recharge-panel {
    padding: 20px 16px;
  }

  .user-id-row,
  .recharge-filters {
    grid-template-columns: 1fr;
  }

  .option-sheet-backdrop {
    padding-inline: 0;
  }

  .option-sheet {
    width: 100%;
  }

  .user-profile {
    grid-template-columns: auto 1fr;
  }

  .switch-account {
    grid-column: 1 / -1;
    width: 100%;
  }

  .package-grid {
    gap: 10px;
  }

  .diamond-package {
    min-height: 176px;
    padding: 2px 8px 8px;
    --diamond-size: 52px;
  }

  .package-art {
    height: 108px;
  }

  .diamond-package:nth-child(2) { --diamond-size: 56px; }
  .diamond-package:nth-child(3) { --diamond-size: 62px; }
  .diamond-package:nth-child(4) { --diamond-size: 70px; }
  .diamond-package:nth-child(5) { --diamond-size: 80px; }
  .diamond-package:nth-child(6) { --diamond-size: 90px; }
  .diamond-package:nth-child(7) { --diamond-size: 100px; }
  .diamond-package:nth-child(8) { --diamond-size: 108px; }

  .package-price {
    padding-inline: 6px;
    font-size: 12px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions button {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .diamond-package {
    min-height: 160px;
  }

  .package-art {
    height: 92px;
  }

  .diamond-package:nth-child(6) { --diamond-size: 86px; }
  .diamond-package:nth-child(7) { --diamond-size: 94px; }
  .diamond-package:nth-child(8) { --diamond-size: 102px; }

  .recharge-summary {
    left: 10px;
    right: 10px;
    padding: 8px;
    border-radius: 18px;
  }

  .recharge-summary::before {
    left: -10px;
    right: -10px;
  }

  .selected-summary {
    padding: 0 4px;
    gap: 7px;
  }

  .selected-summary img {
    width: 34px;
    height: 34px;
  }

  .recharge-summary strong {
    font-size: 15px;
  }

  .selected-summary-price {
    font-size: 12px;
  }

  .recharge-summary .primary-action {
    min-width: 108px;
    padding: 0 14px;
  }
}
