body.is-locked { overflow: hidden; }
.toast { width: max-content; }

.sale-bar { padding: 12px 0; background: #110c07; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.sale-bar b { color: var(--ring); font-weight: 600; }
.sale-bar code { color: var(--moon); padding: 1px 7px; border: 1px solid rgba(255, 226, 122, .3); border-radius: 2px; }

.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { display: flex; flex-direction: column; padding: 22px 24px 24px; background: var(--panel); border-radius: 3px; transition: background-color 160ms ease; }
.tier:hover { background: #13151c; }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.tier h3 { font-size: 34px; font-weight: 800; letter-spacing: .03em; color: var(--tier); }
.tier-top .btn { margin-right: -10px; color: var(--muted); }
.tier-top .btn:hover { color: var(--ink); }
.tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; line-height: 1; }
.tier-price b { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 58px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.tier-price b.sk { min-width: 3.2ch; }
.tier-price s { color: var(--muted); font-size: 17px; text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.tier-per { margin: 8px 0 22px; font-size: 14px; color: var(--muted); }
.tier-perks { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.tier-perks li { position: relative; padding-left: 16px; }
.tier-perks li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; background: var(--faint); }
.tier > [data-add] { margin-top: auto; width: 100%; }
.tick { animation: tick 280ms var(--ease); }
.store-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.btn.is-in, .btn.btn-sun.is-in:hover:not(:disabled) { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.is-in:hover:not(:disabled) { border-color: var(--ink); }
.btn.is-in .i { width: 16px; height: 16px; color: var(--ok); }

.bundle { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 28px 56px; align-items: start; padding: 38px 40px 40px; background: var(--panel); border-radius: 3px; }
.bundle h2 { font-size: clamp(40px, 4.6vw, 62px); }
.bundle-sub { margin: 12px 0 0; color: var(--ink-2); }
.bundle .tier-perks { margin: 0; padding: 6px 0 0; border: 0; }
.bundle-buy .tier-per { margin: 8px 0 18px; }
.bundle-buy .btn { width: 100%; }

#contents .sec-head { margin-bottom: 22px; }
.seg-tiers { margin-bottom: 28px; }
.seg-tiers button { letter-spacing: .04em; }
.seg-tiers button:hover { color: var(--tier); }
.seg-tiers button[aria-selected="true"] { background: var(--tier); color: #0b0a07; }

.inv { --tier: var(--ring); display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 32px 56px; align-items: start; min-height: 560px; }
.inv.is-base { min-height: 0; }
.inv-grid { display: grid; gap: 16px; padding: 18px; background: var(--panel); border-radius: 3px; }
.inv-group { display: grid; gap: 8px; }
.inv-group:has(.belt) { padding-top: 12px; border-top: 1px solid var(--rule); }
.inv-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 5px; }
.slot { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--tier) 7%, #1b1d23); border-radius: 2px; transition: background-color 120ms ease, box-shadow 120ms ease; }
.slot.is-empty { background: rgba(237, 231, 219, .03); }
.slot img { width: min(40px, 70%); height: auto; aspect-ratio: 1; }
.slot b { position: absolute; right: 4px; bottom: 3px; font: 500 11px/1 var(--mono); color: var(--ink); text-shadow: 0 1px 2px #000; }
.slot.noimg::before { content: attr(data-label); padding: 3px; font-size: 10px; line-height: 1.15; text-align: center; color: var(--ink-2); }
.slot.hl { background: color-mix(in srgb, var(--tier) 20%, #1b1d23); box-shadow: inset 0 0 0 2px var(--tier); }

.manifest-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font-size: 30px; }
.manifest-title span { color: var(--tier); }
.manifest-title small { font-family: var(--body); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.manifest ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; border-top: 1px solid var(--rule); }
.manifest li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-size: 15px; color: var(--ink-2); transition: color 120ms ease; }
.manifest li b { font: 500 13px/1.6 var(--mono); color: var(--ink); white-space: nowrap; }
.manifest li.hl, .manifest li.hl b { color: var(--tier); }

.pv-head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 0 44px 22px 0; }
.pv-head h2 { font-size: 46px; color: var(--tier); }
.inv-pv { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px 32px; min-height: 0; }
.inv-pv .manifest ul { column-gap: 24px; }
.inv-pv .manifest li { font-size: 14px; }
.inv-pv .manifest-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.compare-title { margin-bottom: 28px; }
.compare-wrap { position: relative; }
.compare { min-width: 760px; }
.compare thead th { padding: 14px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .03em; color: var(--ink-2); }
.compare thead th[style] { color: var(--tier); }
.compare thead th:first-child { width: 26%; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--band); }
.compare th[scope="row"] { padding: 13px 16px 13px 0; text-align: left; white-space: normal; min-width: 210px; font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--rule); }
.compare td { text-align: center; padding: 13px 14px; }
.compare td:nth-child(2) { color: var(--muted); }
.compare tbody tr:hover > * { background-color: #101116; }
.compare-all { display: grid; gap: 10px; margin: 24px 0 0; font-size: 15px; }
.compare-all div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4px 16px; }
.compare-all dt { font-weight: 600; color: var(--ink); }
.compare-all dd { margin: 0; color: var(--ink-2); }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); }
.pack { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 16px; padding: 26px 28px 28px 0; }
.pack + .pack { padding-left: 28px; border-left: 1px solid var(--rule); }
.pack-n { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 0; }
.pack-n b { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .9; }
.pack-n span { font-size: 15px; color: var(--muted); }
.pack-price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.pack-price em { font-style: normal; font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }
.pack-price em.sk { min-width: 5ch; display: inline-block; }
.pack-price s { font-size: 14px; color: var(--muted); }

.store-facts { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.store-facts code { color: var(--ring); }

.drawer { width: min(460px, 100%); }
.drawer:focus { outline: none; }
.drawer-head h2 { display: flex; align-items: baseline; gap: 12px; }
.drawer-head h2 span { font: 500 15px/1 var(--mono); color: var(--muted); }
.drawer-head .icon-btn { margin-right: -8px; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { padding: 16px 0 20px; border-bottom: 1px solid var(--rule); }
.line:first-child { padding-top: 2px; }
.line:last-child { border-bottom: 0; }
.line-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.line-name { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.line.is-tier .line-name { color: var(--tier); }
.line-price { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-price s { font-size: 14px; font-weight: 400; color: var(--muted); }
.line-price .sk { width: 52px; height: 15px; }
.line-sub { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.line-meta { margin: 0; font-size: 14px; color: var(--muted); }
.line-renew, .line-server { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.line-renew { color: var(--ink-2); }
.line-srv { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.line-srv .select { flex: 1; min-width: 0; height: 38px; font-size: 14px; }
.line-rm { flex: none; min-height: 40px; margin: -10px 0; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.line-rm:hover { color: var(--bad); }
.tog { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; margin: 2px 0 -8px; padding: 0 8px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; user-select: none; }
.tog input { position: absolute; left: 0; top: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; }
.tog i { position: relative; width: 34px; height: 20px; flex: none; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--rule-2); transition: background-color 140ms ease, border-color 140ms ease; }
.tog i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-2); transition: transform 160ms var(--ease), background-color 140ms ease; }
.tog input:checked + i { background: var(--sun); border-color: var(--sun); }
.tog input:checked + i::after { transform: translateX(14px); background: #160a02; }
.tog input:focus-visible + i { outline: 2px solid var(--ring); outline-offset: 2px; }
.gift { margin-top: 16px; }
.gift-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; font-size: 13px; }
.gift-top label { font-weight: 600; color: var(--ink-2); }
.gift-top a { color: var(--ring); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gift-top a:hover { color: var(--moon); }
.gift .input { height: 40px; font-size: 15px; }
.gift .input[aria-invalid="true"] { border-color: var(--bad); }
.gift .input::placeholder { color: var(--faint); }
.gift-err { margin: 6px 0 0; font-size: 13px; color: var(--bad); }
.gift-err:empty { display: none; }
.gift-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.drawer-foot { display: grid; gap: 14px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.promo { display: flex; gap: 8px; }
.promo .input { height: 42px; text-transform: uppercase; font-family: var(--mono); font-size: 14px; }
.promo .input:placeholder-shown { text-transform: none; font-family: var(--body); font-size: 15px; }
.promo .input[aria-invalid="true"] { border-color: var(--bad); }
.promo .btn { height: 42px; }
.promo-err { margin: -6px 0 0; font-size: 13px; color: var(--bad); }
.promo-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid rgba(255, 176, 87, .35); border-radius: 3px; }
.promo-on p { display: grid; gap: 1px; margin: 0; }
.promo-on b { font: 500 14px/1.3 var(--mono); color: var(--ring); }
.promo-on span { font-size: 13px; color: var(--muted); }
.promo-on .is-bad { color: var(--bad); }
.sums { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.sums div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink-2); }
.sums dd { margin: 0; font-variant-numeric: tabular-nums; }
.sums .save { color: var(--ok); }
.sums .sum-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--rule); color: var(--ink); }
.sum-total dt { font-weight: 600; }
.sum-total dd { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.sum-total .sk { width: 90px; height: 28px; }
.renew { margin: 0; font-size: 13px; color: var(--muted); }
.renew a { color: var(--ink-2); }
.cart-note { margin: 0; font-size: 14px; color: var(--ink); }
.resume { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ok); }
.resume b { color: var(--ink); font-weight: 600; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sun); }
.consent.is-bad span { color: var(--bad); }
.consent a { color: var(--ring); }
.co-err { margin: 0; font-size: 14px; color: var(--bad); }
.co-retry { margin-left: 4px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link-first { margin: 0; font-size: 14px; color: var(--ink-2); }
.co-err:empty { display: none; }
.co-btn { width: 100%; height: 52px; font-size: 17px; }
.co-note { margin: -4px 0 0; font-size: 13px; color: var(--faint); text-align: center; }
.cart-empty { display: grid; align-content: center; justify-items: center; gap: 16px; text-align: center; color: var(--muted); }
.cart-empty p { margin: 0; }
.thanks { display: grid; align-content: start; gap: 16px; }
.thanks p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.thanks a { color: var(--ring); }
.thanks code { color: var(--ring); }
.thanks h3 { font-size: 22px; margin-top: 8px; }
.thanks ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.thanks li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.thanks .btn { justify-self: start; margin-top: 8px; }

@keyframes tick { from { opacity: .15; transform: translateY(7px); } }

@media (max-width: 1100px) {
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bundle > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .inv { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .inv-grid { max-width: 520px; }
  .inv-pv { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sale-bar { font-size: 14px; padding: 10px 0; }
  .sec-head > .seg { width: 100%; }
  .dur-seg { display: grid; grid-template-columns: 1fr 1fr; }
  .dur-seg button { height: auto; min-height: 50px; padding: 7px 12px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; line-height: 1.2; text-align: left; }
  .tier-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 16px 18px 18px; }
  .tier-top { display: contents; }
  .tier h3 { grid-column: 1; grid-row: 1 / 3; font-size: 32px; }
  .tier .tier-price { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 10px; }
  .tier .tier-price b { font-size: 42px; }
  .tier .tier-price s { order: -1; font-size: 15px; }
  .tier .tier-per { grid-column: 2; grid-row: 2; margin: 4px 0 0; text-align: right; font-size: 13px; }
  .tier .tier-perks { grid-column: 1 / -1; grid-row: 3; gap: 6px; margin: 14px 0 16px; padding-top: 14px; font-size: 15px; }
  .tier-top .btn { grid-column: 1; grid-row: 4; justify-self: start; margin: 0 0 0 -12px; }
  .tier > [data-add] { grid-column: 2; grid-row: 4; justify-self: end; width: 160px; margin: 0; }
  .bundle { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 18px 20px; }
  .bundle .tier-perks { font-size: 15px; }
  .bundle-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
  .bundle-buy .tier-price b { font-size: 46px; }
  .bundle-buy .tier-per { grid-column: 1; margin: 4px 0 0; }
  .bundle-buy .btn { grid-column: 2; grid-row: 1 / 3; width: auto; min-width: 150px; }
  .seg-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; margin-bottom: 20px; }
  .seg-tiers button { justify-content: center; padding: 0 4px; font-size: 14px; }
  .inv-grid { padding: 12px; gap: 14px; }
  .slots { gap: 4px; }
  .slot b { right: 3px; bottom: 2px; font-size: 11px; }
  .manifest-title { font-size: 26px; }
  .manifest ul, .inv-pv .manifest ul { columns: 1; }
  .manifest li { padding: 8px 0; font-size: 15px; }
  .compare-title { margin-bottom: 20px; }
  .compare { width: 540px; min-width: 0; table-layout: fixed; }
  .compare thead th { font-size: 19px; padding: 12px 6px; }
  .compare thead th:first-child { width: 132px; box-shadow: 1px 0 0 var(--rule); }
  .compare th[scope="row"] { min-width: 0; padding-right: 10px; font-size: 14px; line-height: 1.35; box-shadow: 1px 0 0 var(--rule); }
  .compare td { padding: 12px 6px; font-size: 15px; }
  .compare-all div { grid-template-columns: minmax(0, 1fr); }
  .packs { grid-template-columns: minmax(0, 1fr); }
  .pack, .pack + .pack { grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; padding: 16px 0; border-left: 0; }
  .pack + .pack { border-top: 1px solid var(--rule); }
  .pack-n { grid-column: 1; }
  .pack-n b { font-size: 44px; }
  .drawer { border-left: 0; }
  .drawer-head, .drawer-body, .drawer-foot { padding-left: 16px; padding-right: 16px; }
  .pv-head { margin-bottom: 16px; }
  .pv-head h2 { font-size: 38px; }
}

.bundle { position: relative; overflow: hidden; background: linear-gradient(105deg, var(--panel) 45%, rgba(255, 122, 24, .10) 100%), var(--panel); border: 1px solid rgba(255, 176, 87, .22); }
.bundle h2 { font-size: clamp(40px, 4.6vw, 62px); }
.bundle-head { display: flex; flex-direction: column; }
.constellation { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 0; position: relative; max-width: 340px; }
.constellation::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: linear-gradient(90deg, #ccac4b, #7ccc3f, #55b3cc, #cb32cc); opacity: .55; }
.constellation li { flex: 1; display: grid; justify-items: start; gap: 10px; position: relative; }
.constellation li:last-child { flex: 0 0 auto; }
.constellation i { width: 13px; height: 13px; border-radius: 50%; background: var(--tier); box-shadow: 0 0 0 3px var(--panel), 0 0 12px var(--tier); }
.constellation span { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--tier); }
.bundle-save { margin: -8px 0 16px; font-weight: 600; color: var(--ring); font-size: 15px; }
.store-facts { margin: 18px 0 0; color: var(--ink-2); max-width: 70ch; }
.manifest-sec { margin: 14px 0 6px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.manifest-sec:first-of-type { margin-top: 4px; }

/* Sale: banner in the page head, a percentage chip and saving on each card. */
.page-store .head-badge { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; max-width: 720px; margin-top: 20px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 176, 87, .55); background: linear-gradient(100deg, rgba(255, 122, 24, .2), rgba(255, 122, 24, .05) 70%); font-size: 15px; }
.page-store .head-badge .sale-pct { display: grid; place-items: center; flex: none; padding: 10px 18px; background: var(--sun); color: #160a02; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.page-store .head-badge .sale-txt { padding: 11px 16px; line-height: 1.45; color: var(--ink); }
.page-store .head-badge .sale-txt b { color: var(--moon); }
.page-store .head-badge code { padding: 1px 7px; border: 1px solid rgba(255, 226, 122, .35); border-radius: 2px; }
.tier-was { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 24px; margin: 10px 0 0; font-size: 15px; }
.tier-was s { color: var(--muted); font-variant-numeric: tabular-nums; }
.tier-off { padding: 4px 7px 3px; border-radius: 2px; background: var(--sun); color: #160a02; font: 800 15px/1 var(--display); letter-spacing: .04em; }
.tier-save { color: var(--ring); font-weight: 600; }
.tier-was + .tier-per { margin-top: 6px; }
.tier.on-sale .tier-price b { color: var(--moon); }
.tier.on-sale { box-shadow: inset 0 2px 0 var(--sun); }

/* Kit cards now list every perk, so keep the list compact. */
.tier .tier-perks { gap: 7px; font-size: 14px; }
.tier-perks code { font-size: 13px; color: var(--ring); }

/* Cards / Grid switch */
.kit-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.view-seg button { gap: 7px; }
.view-seg button .i { width: 16px; height: 16px; }
.view-seg button[aria-pressed="true"] { background: var(--ink); color: var(--sky-0); }
.dur-seg.is-off { visibility: hidden; }

/* Grid view: every tier and length in one table */
.kmx { min-width: 760px; table-layout: fixed; }
.kmx thead th { padding: 0 14px 14px; text-align: center; font-weight: 700; font-size: 16px; color: var(--ink); }
.kmx thead th small { display: block; margin-top: 2px; font-weight: 500; font-size: 13px; color: var(--muted); }
.kmx thead th:first-child { width: 170px; }
.kmx th[scope="row"] { padding: 18px 14px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.kmx th[scope="row"] b { display: block; font: 800 30px/1 var(--display); letter-spacing: .03em; color: var(--tier); }
.kmx th[scope="row"] button { margin-top: 6px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.kmx th[scope="row"] button:hover { color: var(--ink); }
.kmx td { padding: 16px 12px; text-align: center; vertical-align: middle; }
.kmx tbody tr:hover > * { background: #101116; }
.kmx-price { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 10px; }
.kmx-price b { font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.kmx-price b.sk { min-width: 3.4ch; }
.kmx-price s { font-size: 14px; color: var(--muted); }
.kmx-price b { color: var(--ink); }
.kmx-price:has(s:not([hidden])) b { color: var(--moon); }
.kmx-d { display: none; }
.kmx td .btn { min-width: 96px; }
.kmx td .btn.is-in .i { width: 14px; height: 14px; }

/* Galaxy Bundle saving against full-price Lifetime kits */
.bundle-buy .bundle-save { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(255, 176, 87, .35); border-radius: 3px; background: rgba(255, 122, 24, .08); font-weight: 400; }
.bundle-save .bs-amt { margin: 0; font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.bundle-save .bs-amt b { color: var(--moon); font-weight: 900; }
.bundle-save .bs-vs { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.bundle-save.sk-soft { opacity: .5; }

@media (max-width: 640px) {
  .kit-tools { width: 100%; }
  .kit-tools .dur-seg { width: 100%; }
  .page-store .head-badge { flex-direction: column; }
  .page-store .head-badge .sale-pct { justify-content: start; padding: 8px 14px; font-size: 24px; }
  .tier h3 { grid-row: 1; }
  .tier .tier-was { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; margin: 6px 0 0; font-size: 14px; min-height: 0; }
  .tier .tier-per { grid-column: 1 / -1; grid-row: 3; }
  .tier .tier-perks { grid-row: 4; }
  .tier-top .btn, .tier > [data-add] { grid-row: 5; }
  .bundle-buy .bundle-save { grid-column: 1 / -1; margin: 12px 0 14px; }
  .dur-seg.is-off { display: none; }
  .kit-matrix { background: none; overflow: visible; }
  .kmx, .kmx tbody, .kmx tr, .kmx th[scope="row"], .kmx td { display: block; min-width: 0; width: auto; }
  .kmx thead { display: none; }
  .kmx tbody { display: grid; gap: 12px; }
  .kmx tr { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border-radius: 3px; overflow: hidden; }
  .kmx th[scope="row"] { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; background: var(--panel); border: 0; }
  .kmx th[scope="row"] button { margin: 0; }
  .kmx td { padding: 12px 10px 14px; background: var(--panel); border: 0; }
  .kmx-d { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
  .kmx-price { margin-bottom: 10px; }
  .kmx-price b { font-size: 26px; }
  .kmx td .btn { width: 100%; min-width: 0; }
}

/* Shop point savings */
.pack-price { grid-row: 2; grid-column: 1; }
.pack > .btn { grid-row: 2; grid-column: 2; }
.pack-save { grid-row: 3; grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 24px; margin: -4px 0 0; font-size: 14px; }
.pack-save-t { color: var(--ring); font-weight: 600; }
.pack-save.is-base .tier-off { display: none; }
.pack-save.is-base .pack-save-t { color: var(--muted); font-weight: 400; }
@media (max-width: 640px) {
  .pack-n { grid-row: 1; }
  .pack-price { grid-row: 1; grid-column: 2; }
  .pack > .btn { grid-row: 1; grid-column: 3; }
  .pack-save { grid-row: 2; min-height: 0; margin: 0; }
}
