/* Arc store — same light theme as the stats site: neutral grey page, near-white cards,
   light-blue header strips, condensed uppercase type. */
:root {
  --bg: #f0f0f1;
  --card: #fbfbfc;
  --line: #e2e2e4;
  --ink: #3c3f44;
  --ink-strong: #26282c;
  --muted: #9a9da3;
  --maroon: #2ba0d2;      /* panel-header, the mark's deep blue */
  --maroon-deep: #1a7fa9;
  --red: #3fb2e6;         /* primary accent, the mark's light blue */
  --red-dark: #1b83b2;
  --link: #1b83b2;
  --win: #3f9e6b;
  --loss: #d9503c;
  --gold: #efb45a;
  --banner: linear-gradient(135deg, #8ecdf0 0%, #3fb2e6 55%, #1f88b8 100%);
  --shadow: 0 1px 3px rgba(0, 0, 0, .10);
  --mono: "SF Mono", Menlo, Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-color: #c8c8c8 var(--bg); }
body {
  background: var(--bg); color: var(--ink); min-height: 100vh;
  font-family: "Montserrat", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 14px; display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* ---- top bar ---- */
.topbar { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); position: sticky; top: 0; z-index: 5; }
.topbar-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 52px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 7px; color: var(--red); }
/* The mark alone, no tile. Its lower half is white and the bar is nearly white, so that half
 * goes quiet here — the blue half carries the silhouette, which is the trade every
 * transparent version of this logo makes (see the launcher's icon.svg for the same note). */
/* Two stacked drop-shadows, not one: the first is a tight halo that traces the whole
 * silhouette (a zero-offset blur of 1px reads as an outline), the second is an ordinary soft
 * shadow under it for depth. The second is applied to the result of the first, which is what
 * makes the pair darken the edge enough for the white half to separate from the bar. */
.brand-mark {
  width: 26px; height: 26px; object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(40, 44, 50, .5)) drop-shadow(0 1px 2px rgba(20, 24, 30, .32));
}
.brand-name {
  font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); text-shadow: 1px 1px 0 rgba(0, 0, 0, .15); font-style: italic;
}
/* The wordmark is the address, so the dot is the part that makes it one: the same blue the
 * mark carries, against a name that is otherwise the site's own colour. */
.brand-dot { color: #2d9fd0; }

.topnav { display: flex; gap: 22px; }
.topnav a {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-strong); padding: 6px 0;
}
.topnav a:hover, .topnav a.on { color: var(--red); }
/* Narrow screens keep the nav rather than hiding it — the same four links are the
   only way between the sites, and they are the same on all of them. */
@media (max-width: 700px) {
  .topnav { gap: 14px; overflow-x: auto; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { font-size: .66rem; letter-spacing: .06em; white-space: nowrap; }
}
/* Shard balance, immediately left of the basket. It pushes the pair to the right so
   the two prices you can pay in sit together; the basket takes that job back when the
   wallet is hidden. */
.wallet {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  background: #e7f4fb; color: var(--red); padding: 7px 13px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; white-space: nowrap;
}
/* An author-stylesheet `display` beats the UA rule behind [hidden], so the pill has to
   be told to stay away explicitly — otherwise a network with no shard store shows it. */
.wallet[hidden] { display: none; }
.wallet:hover { background: #d7ecf8; }
.wallet-icon { width: 14px; height: 14px; flex: 0 0 auto; }
.wallet.anon { color: var(--muted); background: #f1f1f1; text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; }
.wallet:not([hidden]) ~ .basket { margin-left: 0; }
@media (max-width: 560px) {
  .wallet { padding: 7px 10px; letter-spacing: .04em; }
  .wallet.anon { display: none; } /* nothing to show and no room to say so */
}
.basket {
  margin-left: auto; position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; padding: 8px 15px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
}
.basket:hover { background: var(--red-dark); }
.basket-icon { width: 15px; height: 15px; }
.basket-count {
  font-style: normal; background: #fff; color: var(--red); border-radius: 999px;
  min-width: 18px; height: 18px; padding: 0 5px; font-size: .64rem; line-height: 18px; text-align: center;
}

/* ---- footer ---- */
.footer { background: #232529; margin-top: 44px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 26px 20px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.footer-brand { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.footer-sub { color: #6e737d; font-size: .76rem; font-family: var(--mono); }
.footer-note { color: #565b64; font-size: .68rem; margin-left: auto; }
.footer-legal {
  max-width: 1160px; margin: 0 auto; padding: 0 20px 24px;
  color: #4b5058; font-size: .64rem; line-height: 1.7; letter-spacing: .04em;
}

main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 26px 20px 10px; }

.loading { display: flex; justify-content: center; padding: 70px 0; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-box { text-align: center; padding: 60px 0; }
.error-box h2 { color: var(--ink-strong); margin-bottom: 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.error-box p { color: var(--muted); font-size: .85rem; }
.empty { color: var(--muted); text-align: center; padding: 34px 0; font-size: .85rem; }

/* ---- panels ---- */
.panel { background: var(--card); border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; }
.panel + .panel { margin-top: 22px; }
.panel-head {
  background: var(--maroon); color: #fff; text-align: center;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; padding: 11px 16px;
}
.panel-head.left {
  text-align: left; letter-spacing: .18em;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.panel-head .sub-note {
  font-size: .6rem; font-weight: 600; letter-spacing: .06em;
  text-transform: none; color: rgba(255, 255, 255, .5);
}
.panel-body { padding: 16px; }

/* ---- hero ---- */
.hero {
  border-radius: 3px; overflow: hidden; box-shadow: var(--shadow);
  /* The mark's own ramp, blown up: pale sky at the top left where its light falls, deep blue
     under it. The two radials are what stop a three-stop fade reading as a flat swatch. */
  background:
    radial-gradient(700px 320px at 62% 30%, rgba(178, 224, 255, .45), transparent 70%),
    radial-gradient(520px 300px at 30% 75%, rgba(24, 118, 166, .34), transparent 70%),
    linear-gradient(150deg, #8fd4fe 0%, #46b4e8 52%, #1f88b8 100%);
  text-align: center; padding: 54px 20px 58px; color: #fff;
}
.hero h1 { font-size: 1.6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; text-indent: .3em; }
.hero p { margin-top: 10px; color: rgba(255, 255, 255, .42); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .42em; text-indent: .42em; }

/* store-closed notice */
.notice {
  margin-top: 22px; background: var(--gold); color: #3a2c07; border-radius: 3px; box-shadow: var(--shadow);
  padding: 12px 16px; text-align: center; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
}

/* ---- category tabs ---- */
.tabs { background: var(--card); border-radius: 3px; box-shadow: var(--shadow); display: flex; justify-content: center; gap: 6px; padding: 10px; margin-top: 22px; flex-wrap: wrap; }
.tabs a {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  padding: 6px 14px; border-radius: 2px; color: var(--muted); cursor: pointer;
}
.tabs a:hover { color: var(--red); }
.tabs a.active { background: #b9bec3; color: #fff; }
.tabs a.active:hover { color: #fff; }

.cat-blurb { text-align: center; color: var(--muted); font-size: .74rem; margin-top: 16px; letter-spacing: .04em; }

/* ---- item grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 20px; }
.item {
  background: var(--card); border-radius: 3px; box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.item-art {
  position: relative; padding: 26px 16px 20px; text-align: center; color: #fff;
  background: var(--banner);
}
.item-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px 140px at 50% 0%, var(--tint, rgba(63,178,230,.4)), transparent 72%);
}
.item-art img { width: 54px; height: 54px; image-rendering: pixelated; position: relative; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.item-art .nm {
  position: relative; margin-top: 14px; font-size: 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; color: var(--tone, #fff);
}
.item-art .sub { position: relative; margin-top: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.item-tag {
  position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--gold); color: #3a2c07;
  font-size: .56rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
}
.item-body { padding: 14px 16px 0; flex: 1; }
.item-body p { font-size: .76rem; line-height: 1.6; color: var(--ink); }
.perks { margin-top: 11px; display: flex; flex-direction: column; gap: 5px; }
.perks li { list-style: none; font-size: .72rem; color: var(--ink); display: flex; gap: 7px; line-height: 1.5; }
.perks li::before { content: "▪"; color: var(--red); flex: 0 0 auto; }
.item-foot { display: flex; align-items: center; gap: 10px; padding: 14px 16px 16px; }
.price { font-size: 1rem; font-weight: 800; color: var(--ink-strong); letter-spacing: .02em; }
.price small { font-size: .62rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-left: 4px; }

/* ---- buttons ---- */
.btn {
  font-family: inherit; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  padding: 9px 16px; border-radius: 2px; border: 0; cursor: pointer;
  background: var(--red); color: #fff; transition: background .12s;
}
.btn:hover:not(:disabled) { background: var(--red-dark); }
.btn:disabled { background: #cfd2da; color: #fff; cursor: not-allowed; }
.btn.ghost { background: #f1f1f1; color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: #e7e7e7; color: var(--red); }
.btn.wide { width: 100%; padding: 12px; letter-spacing: .18em; }
.btn.added { background: var(--win); }
.item-foot .btn { margin-left: auto; }

/* ---- cart ---- */
.cart-grid { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; margin-top: 22px; }
.cart-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 34px; height: 34px; image-rendering: pixelated; flex: 0 0 auto; }
.cart-row .nm { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-strong); }
.cart-row .sub { font-size: .68rem; color: var(--muted); margin-top: 3px; letter-spacing: .04em; }
.cart-row .grow { flex: 1; min-width: 0; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.qty button { font-family: inherit; width: 26px; height: 26px; border: 0; background: #f7f7f7; color: var(--ink); cursor: pointer; font-size: .9rem; line-height: 1; }
.qty button:hover { background: #ececec; color: var(--red); }
.qty span { min-width: 30px; text-align: center; font-size: .76rem; font-weight: 700; }
.cart-row .line-price { font-weight: 800; font-size: .84rem; color: var(--ink-strong); min-width: 62px; text-align: right; }
.cart-row .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; padding: 4px; font-family: inherit; }
.cart-row .rm:hover { color: var(--loss); }

.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; letter-spacing: .06em; }
.summary-row + .summary-row { margin-top: 10px; }
.summary-row .k { color: var(--muted); text-transform: uppercase; font-weight: 700; font-size: .66rem; letter-spacing: .14em; }
.summary-row.credit { color: var(--win); font-weight: 800; }
.summary-row.credit .k { color: var(--win); }
.summary-total { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.summary-total .k { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-strong); }
.summary-total .v { font-size: 1.3rem; font-weight: 800; color: var(--ink-strong); }

/* ---- username field ---- */
.field-label { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); display: block; margin-bottom: 8px; }
.field {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .84rem; font-weight: 700;
  background: #f7f7f7; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-strong); outline: none;
}
.field:focus { border-color: var(--red); background: #fff; }
.who { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 34px; font-size: .74rem; }
.who img { width: 30px; height: 30px; border-radius: 2px; image-rendering: pixelated; }
.who .ok { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-strong); }
.who .warn { color: var(--gold); font-weight: 700; }
.who .bad { color: var(--loss); font-weight: 700; }
.hint { margin-top: 10px; font-size: .68rem; color: var(--muted); line-height: 1.6; }
.form-error { margin-top: 12px; background: #fdecea; color: #a3271b; border-radius: 2px; padding: 10px 12px; font-size: .72rem; font-weight: 700; }

/* ---- item detail ---- */
.detail-banner {
  border-radius: 3px; box-shadow: var(--shadow); color: #fff; position: relative; overflow: hidden;
  background: var(--banner); padding: 30px 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.detail-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 220px at 22% 40%, var(--tint, rgba(63,178,230,.38)), transparent 70%);
}
.detail-banner img { width: 62px; height: 62px; image-rendering: pixelated; position: relative; filter: drop-shadow(0 3px 8px rgba(0,0,0,.5)); }
.detail-banner .txt { position: relative; }
.detail-banner h1 { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--tone, #fff); }
.detail-banner .meta { margin-top: 7px; color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
.detail-banner .buy { position: relative; margin-left: auto; text-align: right; }
.detail-banner .buy .price { color: #fff; font-size: 1.5rem; display: block; margin-bottom: 11px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; margin-top: 22px; }
.back { display: inline-block; margin-bottom: 16px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.back:hover { color: var(--red); }

/* ---- success ---- */
.result-card {
  border-radius: 3px; box-shadow: var(--shadow); color: #fff; text-align: center; padding: 50px 24px;
  background: radial-gradient(600px 240px at 50% 20%, rgba(46, 204, 113, .35), transparent 70%), linear-gradient(150deg, #2c3036, #1b1d20);
}
.result-card h1 { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.result-card p { margin-top: 14px; color: rgba(255, 255, 255, .55); font-size: .82rem; line-height: 1.8; max-width: 520px; margin-left: auto; margin-right: auto; }
.result-card .btn { margin-top: 24px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 22px; }
.step { background: var(--card); border-radius: 3px; box-shadow: var(--shadow); padding: 18px 18px 20px; }
.step .n { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 999px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; }
.step .t { margin-top: 11px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-strong); }
.step p { margin-top: 7px; font-size: .74rem; line-height: 1.6; color: var(--ink); }

@media (max-width: 860px) {
  .cart-grid, .detail-grid { grid-template-columns: 1fr; }
  .footer-note { margin-left: 0; }
  .detail-banner .buy { margin-left: 0; text-align: left; width: 100%; }
}

/* ---- per-line recipient ---- */
.for-who { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.for-who > span { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.who-input {
  width: 128px; padding: 4px 8px; font: inherit; font-size: .72rem; font-weight: 700;
  border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink-strong);
}
.who-input:focus { outline: none; border-color: var(--red); }
.who-note { font-style: normal; font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }

/* An icon that resolved to nothing keeps its space so the tile does not reflow, but shows
   a faint plate rather than a hole. */
.art-missing { opacity: .35; background: rgba(255, 255, 255, .12); border-radius: 2px; }

/* ---- upgrade pricing ---- */
/* A rank you are upgrading from is money already spent, so the old price is struck and
   the one you would actually pay stands next to it. */
.was { text-decoration: line-through; color: var(--muted); font-weight: 700; opacity: .8; }
.now { color: var(--win); font-weight: 800; }
.price .was { font-size: .78em; margin-right: 5px; }
.detail-banner .buy .was { color: rgba(255, 255, 255, .45); }
.detail-banner .buy .now { color: #7ee2a8; }
.upgrade-note {
  padding: 0 16px 14px; margin-top: -6px;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: var(--win);
}
.upgrade-note.held { color: var(--muted); }
.detail-banner .upgrade-note { padding: 8px 0 0; margin-top: 0; color: #7ee2a8; }
.cart-row .line-price .was { display: block; font-size: .74em; }

/* ---- shard prices ---- */
/* Shards are a second price, not a discount, so they read as their own currency
   rather than as struck-through money. */
.shards { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--red); letter-spacing: .02em; }
.shards::before {
  content: ""; width: 11px; height: 11px; flex: 0 0 auto; background: currentColor;
  clip-path: polygon(50% 0, 100% 42%, 50% 100%, 0 42%);
}
.price-pair { display: flex; flex-direction: column; gap: 3px; font-size: .82rem; }
.price-pair .price { font-size: .95rem; }
.item-foot.two { flex-wrap: wrap; }
.item-foot .btn.shard-btn { margin-left: 0; }
.btn.shard {
  background: #e7f4fb; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
}
.btn.shard:hover:not(:disabled) { background: #d7ecf8; color: var(--red-dark); }
.btn.shard::before {
  content: ""; width: 9px; height: 9px; background: currentColor;
  clip-path: polygon(50% 0, 100% 42%, 50% 100%, 0 42%);
}
.btn.shard:disabled { background: #f1f1f1; color: #c2c5cc; }
.btn.added, .btn.shard.added { color: #fff; }
.btn.added::before { display: none; } /* the confirmation reads on its own */

/* ---- compact cosmetic wall ---- */
/* Hundreds of one-line cosmetics: a card each would be a page nobody can read, so a
   category marked compact renders as a dense grid of tiles instead. */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; margin-top: 20px; }
.tile {
  background: var(--card); border-radius: 3px; box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; text-align: center; position: relative;
}
.tile-art { padding: 16px 10px 12px; background: var(--banner); position: relative; }
.tile-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(180px 90px at 50% 0%, var(--tint, rgba(63,178,230,.38)), transparent 72%);
}
.tile-art img { width: 34px; height: 34px; image-rendering: pixelated; position: relative; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.tile .nm {
  padding: 10px 10px 0; font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-strong); line-height: 1.35; flex: 1;
}
.tile .rarity { font-size: .54rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; margin-top: 5px; color: var(--muted); }
.tile .tile-buy { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.tile .btn { padding: 7px 10px; font-size: .62rem; letter-spacing: .1em; }
.owned-flag {
  position: absolute; top: 8px; right: 8px; z-index: 1; background: var(--win); color: #fff;
  font-size: .52rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px; font-style: normal;
}
/* Owned tiles stay legible but stop competing for attention — you are browsing for what
   you don't have yet. */
.tile.is-owned .tile-art { filter: saturate(.5); }
.tile.is-owned .nm { color: var(--muted); }
.cart-row.owned { opacity: .62; }
.cart-row.owned .sub { color: var(--win); font-weight: 700; }

/* category filter box */
.wall-bar { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.wall-bar .field { flex: 1; min-width: 200px; }
.wall-bar .count { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ---- cart sections ---- */
.pay-note {
  padding: 11px 16px; background: #f6f7f8; border-bottom: 1px solid var(--line);
  font-size: .68rem; color: var(--muted); line-height: 1.6;
}
.pay-note b { color: var(--ink-strong); font-weight: 800; }
.cart-row .sub .shards { font-size: .68rem; }
.redeem-results { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.redeem-line {
  display: flex; align-items: baseline; gap: 10px; font-size: .72rem;
  padding: 9px 11px; border-radius: 2px; background: #f7f7f7;
}
.redeem-line .nm { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-strong); }
.redeem-line .why { margin-left: auto; text-align: right; color: var(--muted); }
.redeem-line.ok { background: #eaf7ef; }
.redeem-line.ok .why { color: #1f7a43; font-weight: 700; }
.redeem-line.bad { background: #fdecea; }
.redeem-line.bad .why { color: #a3271b; font-weight: 700; }

/* ---- sign-in card ---- */
.signin-card { text-align: center; padding: 26px 20px; }
.cmd {
  display: inline-block; font-family: var(--mono); background: #e7f4fb; color: var(--red);
  padding: 3px 9px; border-radius: 2px; font-size: .82rem; font-weight: 700;
}
.balance-big { font-size: 2rem; font-weight: 800; color: var(--red); letter-spacing: .02em; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 26px; translate: -50% 0; z-index: 20;
  background: #23262d; color: #fff; border-radius: 3px; padding: 11px 18px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 6px 22px rgba(0,0,0,.24);
  opacity: 0; pointer-events: none; transition: opacity .18s, translate .18s;
}
.toast.show { opacity: 1; translate: -50% -6px; }

/* ---- in-page Stripe checkout ---- */
#payPanel:not(:empty) { margin-top: 22px; }
#stripeMount { min-height: 320px; }
.result-card.pending { background: radial-gradient(600px 240px at 50% 20%, rgba(229,168,60,.32), transparent 70%), linear-gradient(150deg, #2f2a1e, #1f1c15); }

/* Rank lines have no quantity — they offer another recipient instead. */
.btn.also { white-space: nowrap; flex-shrink: 0; }
