#pane-plans .shop { max-width: 720px; margin-inline: auto; }
.st-switch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.st-switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border: 1px solid rgba(255, 206, 120, 0.28); border-radius: 16px;
  background: rgba(10, 8, 26, 0.7);
}
.st-switch-pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 12px; background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  box-shadow: 0 6px 16px rgba(255, 154, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.42s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.st-switch.is-pack .st-switch-pill { transform: translateX(100%); }
.st-switch button {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 52px; color: #efe6d4; font-weight: 800;
}
.st-switch button b { font-size: 14px; font-weight: 900; }
.st-switch button small { font-size: 11px; font-weight: 700; opacity: 0.78; }
.st-switch button.is-on { color: #1d1305; }
.st-switch button.is-on small { opacity: 0.72; }
.st-switch-tag {
  display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 999px;
  background: rgba(29, 19, 5, 0.12); font-style: normal; font-weight: 900;
}
.st-wallet {
  display: flex; align-items: center; gap: 8px; min-width: 148px; padding: 6px 8px 6px 12px;
  border: 1px solid rgba(255, 206, 120, 0.28); border-radius: 16px;
  background: radial-gradient(90px 40px at 20% 0%, rgba(255, 210, 122, 0.16), transparent 70%), rgba(10, 8, 26, 0.7);
  color: #fff; text-align: left;
}
.st-wallet-copy { display: grid; gap: 1px; }
.st-wallet-num { display: inline-flex; align-items: center; gap: 4px; font: 800 20px/1 var(--font-display); color: #ffe08a; }
.st-wallet-num .st-rk,
.st-rate .st-rk { width: 2.02cap; height: 2.02cap; margin: 0 0.04em; vertical-align: -0.54cap; }
.st-rate { color: #d9c9a8; font-size: 11px; font-weight: 800; }
.st-wallet-plus {
  display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto;
  border-radius: 11px; background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; font-size: 22px; font-weight: 800;
}
.shop-card {
  padding: 16px; border: 1px solid rgba(255, 206, 120, 0.26); border-radius: 22px;
  background: linear-gradient(165deg, rgba(36, 28, 62, 0.96), rgba(12, 10, 28, 0.96));
}
.shop-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.shop-head b { display: block; font-size: 18px; }
.shop-head em { display: block; color: #d9c9a8; font-style: normal; font-size: 13px; font-weight: 700; }
.shop-read { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; align-items: center; }
.shop-step, .pay-step {
  height: 48px; border-radius: 14px; border: 1px solid rgba(255, 206, 120, 0.28);
  background: rgba(255, 196, 90, 0.08); color: #ffe2a0; font-size: 22px; font-weight: 800;
}
.shop-num, .pay-num {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  font: 800 40px/1 var(--font-display); color: #fff;
}
.shop-num span, .pay-num span { color: #ffd27a; font-size: 18px; }
.shop-range, .pay-range { width: 100%; margin: 14px 0 8px; accent-color: #ffb347; }
.shop-meta { margin: 8px 0 0; color: #efe6d4; font-size: 14px; font-weight: 700; }
.shop-meta b { color: #fff; }
.shop-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-plan {
  position: relative; display: grid; gap: 2px; padding: 14px 14px 12px; text-align: left;
  border: 1px solid rgba(255, 206, 120, 0.22); border-radius: 18px;
  background: rgba(10, 8, 26, 0.45); color: #fff;
}
.shop-plan.is-on { border-color: rgba(255, 214, 140, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 214, 140, 0.35), 0 8px 22px rgba(255, 154, 46, 0.12); }
.shop-plan.is-best { background: radial-gradient(120px 60px at 100% 0%, rgba(255, 196, 90, 0.16), transparent 70%), rgba(10, 8, 26, 0.45); }
.shop-plan small { color: #d9c9a8; font-weight: 700; }
.shop-plan strong { font: 800 22px/1.1 var(--font-display); }
.shop-plan em { color: #ffd27a; font-style: normal; font-size: 12px; font-weight: 800; }
.shop-plan i {
  position: absolute; top: 10px; right: 10px; padding: 2px 7px; border-radius: 999px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; font-style: normal; font-size: 11px; font-weight: 900;
}
.shop-buy, .pay-go {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; margin-top: 14px;
  padding: 0 18px; border: 0; border-radius: 18px;
  background: linear-gradient(120deg, #ffe9b4, #ffc15c 48%, #f08a28); color: #1d1305;
  font-weight: 900; font-size: 16px;
  box-shadow: 0 12px 28px rgba(255, 154, 46, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.shop-buy b, .pay-go b { font-size: 18px; }
.shop-note { margin: 10px 0 0; color: #d9c9a8; font-size: 13px; line-height: 1.4; }
.shop-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.shop-perks div {
  padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 206, 120, 0.16);
  background: rgba(255, 255, 255, 0.03);
}
.shop-perks b { display: block; font-size: 14px; }
.shop-perks span { color: #d9c9a8; font-size: 12px; }

.pay-sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: end center; }
.pay-sheet[hidden] { display: none; }
.pay-back { position: absolute; inset: 0; background: rgba(4, 3, 18, 0.72); backdrop-filter: blur(8px); }
.pay-card {
  position: relative; width: min(480px, 100%); max-height: min(92vh, 760px); overflow: auto;
  padding: 22px 18px calc(18px + var(--safe-b));
  border: 1px solid rgba(255, 206, 120, 0.28); border-radius: 28px 28px 0 0;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(255, 196, 90, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(36, 28, 64, 0.98), rgba(12, 10, 28, 0.98));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  animation: rise 0.28s ease;
}
.is-desktop .pay-card { place-self: center; border-radius: 28px; animation: pop 0.2s ease; }
.pay-x {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: #efe6d4;
}
.pay-x svg { width: 16px; height: 16px; }
.pay-card h2 { padding-right: 40px; font-size: 26px; }
.pay-lead { margin: 6px 0 14px; color: #d9c9a8; font-size: 14px; }
.pay-h { margin: 16px 0 8px; font-size: 16px; }
.pay-read { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; }
.pay-num input, .shop-num input {
  width: 4.2ch; border: 0; background: transparent; color: inherit; font: inherit; text-align: right;
}
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay-chips button {
  height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 206, 120, 0.24);
  background: rgba(255, 255, 255, 0.04); color: #efe6d4; font-weight: 800;
}
.pay-chips button.is-on { background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; border-color: transparent; }
.pay-methods { display: grid; gap: 8px; }
.pay-method {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  width: 100%; padding: 8px 10px; text-align: left; border-radius: 16px;
  border: 1px solid rgba(255, 206, 120, 0.16); background: rgba(8, 6, 22, 0.45); color: #fff;
}
.pay-method.is-on { border-color: rgba(255, 214, 140, 0.8); box-shadow: inset 0 0 0 1px rgba(255, 214, 140, 0.25); }
.pay-method.is-soon { opacity: 0.72; }
.pay-method.is-nope { animation: payNope 0.4s ease; }
@keyframes payNope { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.pay-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.pay-ic svg { width: 28px; height: 28px; }
.pay-method b { display: block; font-size: 15px; }
.pay-method small { color: #d9c9a8; font-size: 12px; font-weight: 700; }
.pay-soon, .pay-check {
  padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 900; font-style: normal;
}
.pay-soon { background: rgba(255, 255, 255, 0.08); color: #efe6d4; }
.pay-check { background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; opacity: 0; }
.pay-method.is-on .pay-check { opacity: 1; }
.pay-note { margin: 10px 0 0; color: #d9c9a8; font-size: 13px; line-height: 1.35; }
.pay-id {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 214, 140, 0.28);
  border-radius: 14px;
  background: rgba(255, 200, 110, 0.08);
  color: #ffe2a0;
  text-align: left;
}
.pay-id[hidden] { display: none; }
.pay-id span { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; opacity: 0.75; }
.pay-id b { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; color: #fff; }
.pay-id small { display: block; margin-top: 2px; color: rgba(255, 226, 160, 0.72); font-size: 12px; }
body.is-pay { overflow: hidden; }
@media (max-width: 720px) {
  .st-switch-row { grid-template-columns: 1fr; }
  .shop-plans, .shop-perks { grid-template-columns: 1fr; }
}
