/* Public pages, second layer: account menu, vice-style live cards, the loop
   showcase, product cards, dashboard promo and the terms page. */

/* ── account in the nav ─────────────────────────────────────────── */
.umenu { position: relative; }
.umenu summary { list-style: none; display: flex; align-items: center; gap: 9px; height: 44px; padding-inline: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(213, 213, 216, 0.05); cursor: pointer; max-width: 230px; user-select: none; }
.umenu summary::-webkit-details-marker { display: none; }
.umenu summary img { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }
.umenu summary span { font-weight: 600; font-size: 14px; }
.umenu summary .ico { width: 15px; height: 15px; color: var(--muted); transition: transform 0.2s; }
.umenu[open] summary .ico { transform: rotate(180deg); }
.umenu-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 200px; border-radius: 16px; padding: 6px; display: flex; flex-direction: column; z-index: 60; background: rgba(20, 20, 23, 0.97); }
.umenu-pop a, .umenu-pop button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 14px; background: none; border: 0; cursor: pointer; width: 100%; text-align: start; font-family: inherit; }
.umenu-pop a:hover, .umenu-pop button:hover { background: rgba(213, 213, 216, 0.07); }
.umenu-pop .ico { width: 16px; height: 16px; color: var(--muted); }
.umenu-pop form { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.umenu-pop button { color: #ffb4b4; }
@media (max-width: 640px) {
  .umenu summary span, .umenu summary .ico { display: none; }
  .umenu summary { padding: 0 4px; }
  .login-btn span { display: none; }
  .login-btn { width: 40px; padding: 0; }
}

/* ── vice-style labels ──────────────────────────────────────────── */
.mono-s { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.4px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.kick-label { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; }
.kick-label i { width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--coral), var(--aqua)); }
.big-head h2 { margin: 0 0 26px; font-size: clamp(34px, 5.6vw, 64px); line-height: 1.1; font-weight: 700; letter-spacing: -0.5px; }
.lead-s { font-size: 16px; margin: 0 0 18px; max-width: 520px; }
.hero-actions.start { justify-content: flex-start; }
.small-hero h1 { font-size: clamp(32px, 5vw, 56px); }

/* ── live card ──────────────────────────────────────────────────── */
.lcard { width: 330px; border-radius: 16px; padding: 14px; background: linear-gradient(180deg, rgba(34, 34, 37, 0.97), rgba(20, 20, 23, 0.97)); border: 1px solid var(--line2); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.lc-head { display: flex; align-items: center; gap: 10px; }
.lc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lc-title b { font-size: 15px; }
.kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 1.2px; color: var(--muted); }
.lc-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: var(--tc); align-self: flex-start; }
.lc-inner { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(10, 10, 13, 0.75); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.lc-inner b { font-size: 14px; }
.lc-inner .mono-s { text-align: end; }
.lc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.lc-num { font-family: var(--mono); font-size: 12px; color: var(--tc, var(--coral)); }

/* ── the live loop showcase ─────────────────────────────────────── */
.loop { border-radius: 28px; padding: 22px 24px 26px; position: relative; overflow: hidden; }
.loop::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(213, 213, 216, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(213, 213, 216, 0.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); pointer-events: none; }
.loop-top { display: flex; flex-direction: column; gap: 4px; position: relative; }
.loop-top .mono-s { text-align: start; direction: inherit; }
.loop-flow { font-size: 17px; font-weight: 500; }
.loop-flow i { font-style: normal; color: var(--coral); margin: 0 6px; }
.loop-stage { position: relative; height: 480px; margin-top: 10px; }
.loop-cards { position: absolute; inset: 0 0 90px; }
.loop-cards .lcard { position: absolute; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.7s, top 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), inset-inline-start 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s; }
.lcard.pos0 { top: 6px; inset-inline-start: 1%; transform: rotate(-1.5deg); z-index: 3; }
.lcard.pos1 { top: 0; inset-inline-start: 56%; transform: rotate(1.2deg); z-index: 2; }
.lcard.pos2 { top: 160px; inset-inline-start: 24%; transform: rotate(0.6deg) scale(1.03); z-index: 4; box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc) 50%, transparent), 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 60px -12px color-mix(in srgb, var(--tc) 45%, transparent); }
.lcard.pos3 { top: 190px; inset-inline-start: 60%; transform: rotate(-1deg); z-index: 3; }
.lcard.pos-hide { top: 230px; inset-inline-start: 42%; opacity: 0; transform: scale(0.88); z-index: 1; pointer-events: none; }
.loop-track { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 18px; }
.nodes { flex: 1; display: flex; justify-content: space-between; position: relative; padding: 0 6px; }
.nodes::before { content: ""; position: absolute; top: 15px; inset-inline: 22px; height: 2px; background: linear-gradient(90deg, rgba(213, 213, 216, 0.15), rgba(219, 219, 222, 0.4), rgba(213, 213, 216, 0.15)); }
.node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.node span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; background: var(--bg2); border: 1px solid var(--line2); color: var(--muted); transition: all 0.4s; }
.node small { font-size: 11.5px; color: var(--dim); transition: color 0.4s; white-space: nowrap; }
.node.on span { color: var(--bg); background: var(--mint); border-color: var(--mint); box-shadow: 0 0 18px rgba(213, 213, 216, 0.6); }
.node.on small { color: var(--text); }
.core { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(180deg, #262629, #18181b); border: 1px solid var(--line2); box-shadow: 0 0 40px -10px rgba(96, 96, 99, 0.6); order: 2; flex-shrink: 0; }
.core img { width: 32px; height: 32px; border-radius: 9px; }
.core b { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; direction: ltr; text-align: start; }
.core-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2s infinite; }
@media (max-width: 860px) {
  .loop-stage { height: auto; }
  .loop-cards { position: static; display: grid; gap: 12px; margin-bottom: 18px; }
  .loop-cards .lcard { position: static; width: auto; transform: none !important; opacity: 1; }
  .loop-cards .lcard.pos-hide, .loop-cards .lcard.pos3, .loop-cards .lcard.pos1 { display: none; }
  .loop-track { position: static; flex-direction: column; align-items: stretch; }
  .core { order: 0; }
  .nodes { overflow-x: auto; gap: 14px; padding-bottom: 4px; }
}

/* ── product cards ──────────────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.prod { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform 0.25s, border-color 0.25s; }
.prod:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tc) 35%, transparent); }
.prod::before { content: ""; position: absolute; width: 200px; height: 200px; inset-inline-end: -80px; top: -80px; border-radius: 50%; background: var(--tc); opacity: 0.1; filter: blur(30px); pointer-events: none; }
.prod-top { display: flex; justify-content: space-between; align-items: center; }
.prod h3 { margin: 6px 0 0; font-size: 22px; }
.prod > p { margin: 0; font-size: 14.5px; }
.prod .ticks { margin: 4px 0 6px; }
.prod-link { margin-top: auto; color: var(--tc); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.prod-link span { font-family: var(--mono); }
.prod-link:hover { text-decoration: underline; }
.prod.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "top title title" "top desc ticks" "top link ticks"; gap: 8px 30px; align-items: start; }
.prod.wide .prod-top { grid-area: top; flex-direction: column; align-items: flex-start; gap: 14px; }
.prod.wide .prod-top .tile { width: 64px; height: 64px; border-radius: 19px; }
.prod.wide .prod-top .tile .ico { width: 30px; height: 30px; }
.prod.wide h3 { grid-area: title; font-size: 26px; }
.prod.wide > p { grid-area: desc; font-size: 15.5px; }
.prod.wide .ticks { grid-area: ticks; }
.prod.wide .prod-link { grid-area: link; }
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prod.wide { display: flex; } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── dashboard promo ────────────────────────────────────────────── */
.dash-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.promo-stack { position: relative; height: 340px; }
.promo-stack .lcard { position: absolute; }
.promo-a { top: 0; inset-inline-start: 0; transform: rotate(-2deg); animation: floaty 7s ease-in-out infinite; }
.promo-b { top: 150px; inset-inline-start: 18%; transform: rotate(1.5deg); animation: floaty 7s ease-in-out -3.5s infinite; z-index: 2; }
@keyframes floaty { 50% { translate: 0 -10px; } }
@media (max-width: 860px) {
  .dash-promo { grid-template-columns: 1fr; }
  .promo-stack { height: auto; display: grid; gap: 12px; }
  .promo-stack .lcard { position: static; width: auto; transform: none; animation: none; }
}

/* ── terms ──────────────────────────────────────────────────────── */
.terms { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; margin-top: 10px; }
.toc { position: sticky; top: 96px; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.toc .mono-s { margin-bottom: 8px; direction: inherit; text-align: start; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 14px; }
.toc a span { font-family: var(--mono); font-size: 11.5px; color: var(--dim); padding-top: 2px; }
.toc a:hover { color: var(--text); background: rgba(213, 213, 216, 0.06); }
.terms-body { display: flex; flex-direction: column; gap: 14px; }
.term { border-radius: 20px; padding: 22px 24px; scroll-margin-top: 100px; }
.term.hl { border-color: rgba(219, 219, 222, 0.35); background: linear-gradient(180deg, rgba(44, 44, 47, 0.55), rgba(26, 26, 29, 0.62)); }
.term-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.term-head h2 { margin: 0; font-size: 20px; }
.term p { margin: 8px 0; color: #d9d9dc; line-height: 1.85; }
.term a { color: var(--coral2); text-decoration: underline; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } .toc { position: static; } }

/* ── store: coin, prices, cart ──────────────────────────────────── */
.coin { width: 18px; height: 18px; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(213, 213, 216, 0.35)); }
.price { display: inline-flex; align-items: center; gap: 6px; }
.price b { font-size: 18px; font-family: var(--font); }
.price small { color: var(--muted); font-size: 12.5px; }
.price.low b { color: var(--bad); }
.prod-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.prod.wide .prod-buy { grid-area: link; border-top: 0; padding-top: 0; justify-content: flex-start; gap: 16px; }

.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); background: rgba(213, 213, 216, 0.05); color: var(--text); }
.cart-btn .ico { width: 19px; height: 19px; }
.cart-btn:hover, .cart-btn.on { background: rgba(213, 213, 216, 0.12); }
.cart-n { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #18181b; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--mono); }
.cart-btn.bump { animation: bump 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes bump { 40% { transform: scale(1.22); } }
.nav-end { gap: 10px; }
.lang-btn { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line2); background: rgba(213, 213, 216, 0.05); color: var(--text); font-size: 13.5px; font-weight: 600; letter-spacing: 0.3px; transition: background 0.2s; }
.lang-btn:hover { background: rgba(213, 213, 216, 0.12); }
.lang-btn[lang="en"] { font-family: var(--mono); }
.wallet-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; padding-inline: 12px 14px; border-radius: 999px; border: 1px solid rgba(213, 213, 216, 0.28); background: linear-gradient(135deg, rgba(213, 213, 216, 0.12), rgba(96, 96, 99, 0.06)); color: var(--text); white-space: nowrap; transition: background 0.2s, border-color 0.2s; }
.wallet-btn:hover { border-color: var(--mint); background: rgba(213, 213, 216, 0.16); }
.wallet-btn .ico { width: 18px; height: 18px; color: var(--mint); }
.wallet-btn b { font-family: var(--mono); font-weight: 500; font-size: 14.5px; direction: ltr; }
@media (max-width: 640px) { .wallet-btn { height: 40px; padding: 0 10px; } .wallet-btn b { font-size: 13px; } }
@media (max-width: 420px) { .wallet-btn b { display: none; } .wallet-btn { width: 40px; justify-content: center; padding: 0; } }

.umenu-bal { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 4px; border-radius: 10px; background: rgba(96, 96, 99, 0.1); border: 1px solid var(--line); }
.umenu-bal b { font-size: 16px; }
.umenu-bal span { color: var(--muted); font-size: 12.5px; margin-inline-start: auto; }

.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: minmax(0, 1fr); } }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.citem { border-radius: 20px; padding: 18px; }
.ci-head { display: flex; align-items: center; gap: 12px; }
.ci-title { flex: 1; display: flex; flex-direction: column; }
.ci-title b { font-size: 17px; }
.ci-fields { display: grid; grid-template-columns: 150px 150px minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.ci-fields .field:not(.ci-guild):only-of-type { grid-column: auto; }
@media (max-width: 640px) { .ci-fields { grid-template-columns: 1fr 1fr; } .ci-guild { grid-column: 1 / -1; } }
.ci-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.select { appearance: none; -webkit-appearance: none; padding-inline-end: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238fb3b3' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 13px center; cursor: pointer; }
.select option { background: #17171a; color: var(--text); }
/* terms agreement */
.agree { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(12, 12, 15, 0.45); cursor: pointer; font-size: 14px; color: var(--muted); line-height: 1.6; transition: border-color 0.2s, background 0.2s; }
.agree:hover { border-color: var(--aqua); }
.agree.on { border-color: rgba(213, 213, 216, 0.4); background: rgba(213, 213, 216, 0.06); }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.ag-box { width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; border: 2px solid var(--line2); background: rgba(12, 12, 15, 0.6); transition: all 0.2s; }
.ag-box .ico { width: 15px; height: 15px; stroke-width: 3; color: #141417; opacity: 0; transform: scale(0.5); transition: all 0.2s; }
.agree.on .ag-box { background: var(--aqua); border-color: var(--aqua); }
.agree.on .ag-box .ico { opacity: 1; transform: none; }
.agree a { color: var(--text); font-weight: 600; }
.agree a:hover { color: var(--mint); text-decoration: underline; }
.agree input:focus-visible + .ag-box { box-shadow: 0 0 0 3px rgba(96, 96, 99, 0.4); }

/* server picker */
.citem { position: relative; }
.citem.raise { z-index: 40; }
.gpick { position: relative; }
.gp-btn { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px 6px 6px; padding-inline: 6px 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12, 12, 15, 0.6); color: var(--text); cursor: pointer; font: inherit; text-align: start; transition: border-color 0.2s, box-shadow 0.2s; }
.gp-btn:hover, .gpick.open .gp-btn { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(96, 96, 99, 0.14); }
.gp-btn.empty { border-style: dashed; }
.gp-btn.empty .gp-name b { color: var(--muted); }
.gp-chev { width: 16px; height: 16px; color: var(--muted); margin-inline-start: auto; transition: transform 0.2s; }
.gpick.open .gp-chev { transform: rotate(180deg); }
.gp-ic { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--deep); border: 1px solid var(--line); }
.gp-ic.ph { display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.gp-name { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.gp-name b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-name small { color: var(--dim); font-size: 12px; }
.gp-pop { position: absolute; inset-inline: 0; top: calc(100% + 8px); z-index: 30; border-radius: 16px; padding: 8px; background: #1a1a1d; border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); animation: pop 0.18s ease-out; }
.gp-q { height: 40px; margin-bottom: 6px; }
.gp-list { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.gp-opt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text); cursor: pointer; font: inherit; text-align: start; }
.gp-opt:hover { background: rgba(213, 213, 216, 0.07); }
.gp-opt.on { border-color: var(--mint); background: rgba(213, 213, 216, 0.08); }
.gp-opt .gp-ic { width: 34px; height: 34px; border-radius: 10px; }
.ci-fields { display: flex; flex-wrap: wrap; align-items: flex-end; }
.ci-fields > .field { flex: 0 0 140px; }
.ci-fields > .ci-guild { flex: 1 1 260px; min-width: 0; }
.cart-sum { border-radius: 22px; padding: 20px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
.sum-row.total { padding: 12px 0; border-block: 1px solid var(--line); }
.sum-row.total .price b { font-size: 26px; }
.cart-empty .ico { width: 44px; height: 44px; }
.order-done { border-radius: 26px; padding: 34px; text-align: center; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.order-done .tile { width: 64px; height: 64px; border-radius: 20px; }
.order-done .tile .ico { width: 30px; height: 30px; }
.order-done h2 { margin: 8px 0 0; font-size: 28px; }
.od-items { width: 100%; display: flex; flex-direction: column; gap: 8px; margin: 10px 0; text-align: start; }
.od-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(12, 12, 15, 0.5); border: 1px solid var(--line); }
.od-item > span:first-of-type { flex: 1; }
.od-item.ok .ico { color: var(--mint); }
.od-item.bad .ico { color: var(--bad); }
.term .mor { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); text-align: left; }
html[lang="en"] .ar-only { display: none; }

/* card checkout (/pay): steps, the card method and Paddle's inline form */
.pay-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.pay-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.pay-steps li + li::before { content: ""; width: 26px; height: 1px; background: var(--line2); margin-inline-end: 2px; }
.pay-steps i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line2); font-family: var(--mono); }
.pay-steps i .ico { width: 14px; height: 14px; }
.pay-steps .done i { background: rgba(213, 213, 216, 0.12); border-color: rgba(213, 213, 216, 0.4); color: var(--mint); }
.pay-steps .on { color: var(--text); font-weight: 600; }
.pay-steps .on i { background: var(--mint); border-color: var(--mint); color: #131316; }
.pay-sec { border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pay-head { display: flex; align-items: center; gap: 12px; }
.pay-head h3 { margin: 0; font-size: 19px; }
.pay-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--muted); font-family: var(--mono); font-size: 14px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12, 12, 15, 0.35); }
.pay-method.on { border-color: rgba(213, 213, 216, 0.45); background: rgba(213, 213, 216, 0.05); }
.pm-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); flex-shrink: 0; }
.pay-method.on .pm-radio { border-color: var(--mint); box-shadow: inset 0 0 0 3px #161619, inset 0 0 0 9px var(--mint); }
.pay-method b { font-weight: 600; }
.pm-logos { margin-inline-start: auto; display: flex; gap: 6px; direction: ltr; }
.pm-logo { width: 38px; height: 24px; display: block; }
.pay-frame-wrap { position: relative; min-height: 450px; max-width: 620px; width: 100%; margin-inline: auto; border-radius: 16px; border: 1px solid var(--line); background: rgba(12, 12, 15, 0.35); padding: 8px; }
.pay-sk { position: absolute; inset: 8px; border-radius: 12px; }
.pay-frame { position: relative; }
.pay-safe { margin: 0; }
@media (max-width: 560px) { .pay-steps li + li::before { width: 12px; } .pay-steps span { font-size: 13px; } .pay-sec { padding: 14px; } }

/* cart: billing address (picked for card payments) and its "new address" window */
.cart-items > .agree { margin-top: 2px; }
.addr-sec { border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.addr-head { display: flex; align-items: center; gap: 10px; }
.addr-head h3 { margin: 0; font-size: 17px; flex: 1; }
.addr-ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: transparent; }
.addr-ok .ico { width: 15px; height: 15px; }
.addr-ok.on { background: var(--aqua); border-color: var(--aqua); color: #131316; }
.addr-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12, 12, 15, 0.35); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.addr-row:hover { border-color: var(--aqua); }
.addr-row.on { border-color: rgba(213, 213, 216, 0.45); background: rgba(213, 213, 216, 0.05); }
.addr-row.on .pm-radio { border-color: var(--mint); box-shadow: inset 0 0 0 3px #161619, inset 0 0 0 9px var(--mint); }
.addr-cc { font-family: var(--mono); font-size: 11.5px; padding: 3px 7px; border-radius: 6px; background: rgba(213, 213, 216, 0.08); color: var(--mint); letter-spacing: 0.5px; }
.addr-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.addr-main b { font-weight: 600; }
.addr-main small { color: var(--muted); font-size: 12.5px; }
.addr-sk { height: 64px; border-radius: 14px; }
.addr-add { align-self: flex-start; background: none; border: 0; padding: 4px 2px; color: var(--mint); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.addr-add:hover { text-decoration: underline; }
.addr-modal { max-width: 640px; width: 100%; position: relative; }
.addr-modal h3 { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.modal-x { position: absolute; top: 16px; inset-inline-end: 16px; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.addr-grid .span2 { grid-column: 1 / -1; }
.addr-grid .field { margin: 0; }
.req { color: var(--bad); font-style: normal; }
.addr-form .foot-btns { padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .addr-grid { grid-template-columns: 1fr; } }

/* cart: duration picker (the server picker's look, months only) */
.mpick .gp-btn { padding-inline: 14px 12px; }
.mpick .gp-pop { min-width: 190px; }
.mp-opt { justify-content: space-between; padding: 10px 12px; }
.mp-opt b { font-size: 14.5px; }
.mp-opt .ico { width: 16px; height: 16px; color: var(--mint); }
.mp-opt.on b { color: var(--mint); }

/* cart: payment methods (step 3) */
.pm-pick { cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pm-pick:hover { border-color: var(--aqua); }
.pm-pick.off { opacity: 0.5; cursor: not-allowed; }
.pm-pick.off:hover { border-color: var(--line2); }
.pm-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pm-name small { color: var(--muted); font-size: 12.5px; }
.pm-logo.ap { width: 46px; }
.pm-ico { width: 38px; height: 24px; display: grid; place-items: center; color: var(--muted); }
.pm-ico .ico { width: 22px; height: 22px; }

/* cart: bank transfer box under its method */
.cart-bank { margin: -4px 0 4px; }
.cb-amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.cb-amount b { font-size: 22px; font-family: var(--mono); font-weight: 500; direction: ltr; }

/* cart: Apple Pay from a PC (QR code for the iPhone) */
.qr-modal { max-width: 420px; width: 100%; position: relative; text-align: center; }
.qr-box { width: 240px; max-width: 70vw; margin: 6px auto 16px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-steps { text-align: start; margin: 0 auto 12px; padding-inline-start: 22px; max-width: 320px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.qr-wait { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; }
.qr-modal .foot-btns { justify-content: center; }
.qr-wait .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--mint); animation: qrspin 0.8s linear infinite; }
@keyframes qrspin { to { transform: rotate(360deg); } }
