.realm-shop{margin:24px 0}.shop-wallet{display:flex;align-items:center;justify-content:center;gap:28px;padding:24px;border:1px solid #776546;background:linear-gradient(110deg,#111d2a,#273345,#111d2a);margin-bottom:24px;border-radius:10px}.shop-wallet strong{font-size:28px}.shop-wallet .dp{color:#ebc570}.shop-wallet .vp{color:#88d6f5}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.shop-filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.shop-filters button{font-size:11px;padding:9px 12px}.shop-filters .selected{border-color:#d4b36b;color:#ffe3a1;background:#343021}.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.shop-product{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 18px;background:radial-gradient(ellipse at top,#29354b,#101721 75%);border:1px solid #566077;border-radius:10px;transition:transform .2s,box-shadow .2s,border-color .2s}.shop-product:hover{transform:translateY(-3px);border-color:#9bd7ed;box-shadow:0 0 22px #63bded28}.shop-product img{width:64px;height:64px;border:2px solid #9b8456;border-radius:8px;background:#101018}.shop-product h2{font-size:19px;margin:16px 0 8px;color:#eee}.shop-product.quality-2 h2{color:#7fe449}.shop-product.quality-3 h2{color:#65b8ff}.shop-product.quality-4 h2{color:#c78bff}.shop-product.quality-5 h2{color:#ffb263}.shop-product p{flex:1;color:#b7c3d3;font-size:13px;line-height:1.6}.shop-product small{color:#b9a574;letter-spacing:2px}.shop-product select,.shop-product button{width:100%;margin-top:10px}.shop-cart{align-self:start;padding:22px;background:linear-gradient(145deg,#263143,#111923);border:1px solid #887653;border-radius:10px}.shop-cart h2{margin-top:0;color:#eed9a5}.shop-cart label{display:block;margin-bottom:9px}.shop-quantity{display:flex;align-items:center;gap:4px}.shop-quantity button{width:1.9rem;padding:4px 0;font-size:13px}.shop-total{font-size:22px;color:#f1d696;padding:20px 0}.shop-cart small{display:block;font-size:11px;color:#a8b7ca}.shop-checkout{width:100%;margin-top:18px}.shop-layout input,.shop-layout select{width:100%}@media(max-width:900px){.shop-layout{grid-template-columns:1fr}.shop-wallet{flex-wrap:wrap;gap:16px}}@media(max-width:520px){.shop-grid{grid-template-columns:1fr}.shop-wallet strong{font-size:23px}}@media(prefers-reduced-motion:reduce){.shop-product{transition:none}.shop-product:hover{transform:none}}
/* Compact catalogue and explicit currency choices. */
.realm-shop{margin:16px 0}.portal:has(.realm-shop) .page-heading>.wallet{display:none}.shop-layout{grid-template-columns:minmax(0,1fr) clamp(18.125rem, 27vw, 20rem);gap:20px}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px;margin-top:16px}.shop-product{padding:16px;align-items:stretch;text-align:left;border-color:#4b5260;position:relative}.shop-product>img{width:44px;height:44px;border-radius:5px}.shop-product h2{font-size:16px;line-height:1.35;margin:12px 0 5px}.shop-product>small{font-size:9px;letter-spacing:1.5px}.shop-product>p{font-size:12px;line-height:1.5;margin:10px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-product>button{font-size:12px;padding:10px;margin-top:9px}.shop-filters{gap:6px;margin:12px 0}.shop-filters button{padding:7px 10px;font-size:10px}.shop-currency-filter,.shop-currency-options{display:flex;flex-wrap:wrap;gap:7px}.shop-currency-filter>button{padding:8px 12px;font-size:11px}.shop-currency-options{margin-top:8px}.shop-currency-options>button{flex:1;width:auto;margin:0;padding:9px 8px;background:#101b29;border:1px solid #46526a;box-shadow:none;font-size:12px;position:relative}.shop-currency-options>button[aria-pressed=true]{border:1px solid #edc772;background:linear-gradient(140deg,#443722,#1d2531);box-shadow:inset 0 0 0 1px #edc77240}.shop-currency-options>button[aria-pressed=true]:after{content:'✓';margin-left:6px;color:#f6e4b4}.shop-currency-filter>button[aria-pressed=true]{border-color:#c6a66a;background:#303441;color:#fff}.shop-product button.shop-details-link{background:none;border:0;box-shadow:none;color:#b8c7da;text-decoration:underline;font-size:11px;padding:4px;margin-top:8px}.shop-cart{padding:18px}.shop-cart h2{font-size:22px;margin-bottom:14px}.shop-cart-balance{display:flex;flex-wrap:wrap;gap:10px 18px;padding:12px;background:#0c1521;border:1px solid #404b5c;border-radius:6px;margin-bottom:18px}.shop-cart-balance>small{flex-basis:100%;font-size:9px;letter-spacing:1.3px}.shop-cart-balance>.point-amount{font-size:17px;font-weight:600}.shop-cart label{font-size:12px}.shop-quantity button{min-height:30px}.shop-total{display:grid;gap:10px;border-top:1px solid #4c5360;margin-top:14px;padding:14px 0;font-size:18px}.shop-total>small{letter-spacing:1.5px;font-size:10px}.shop-total-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.shop-total-row>small{font-size:10px;text-align:right;color:#acbcb2}.shop-total-row.insufficient>small{color:#f6aaa5}.shop-detail-dialog{box-sizing:border-box;width:min(460px,calc(100% - 32px));overflow-wrap:anywhere;max-height:85vh;overflow:auto;background:#111b2b;color:#e7dfcd;border:1px solid #c2a66a;border-radius:10px;padding:18px;box-shadow:0 20px 90px #000a}.shop-detail-dialog::backdrop{background:#030811cc}.shop-detail-dialog>.shop-product{margin-top:12px;transform:none}.shop-detail-dialog .shop-product>p{display:block;overflow:visible}.shop-detail-dialog .shop-details-link{display:none}.shop-detail-close{display:block;margin-left:auto}.shop-detail-placeholder{min-height:220px}.shop-currency-options button:focus-visible,.shop-currency-filter button:focus-visible{outline:2px solid #a2ddff;outline-offset:3px}@media(max-width:900px){.shop-layout{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}}@media(max-width:480px){.shop-grid{grid-template-columns:1fr}.shop-currency-filter{gap:5px}.shop-currency-filter>button{padding:7px}.shop-cart-balance{justify-content:space-between}}
.shop-recipients{display:grid;gap:7px;max-height:200px;overflow:auto}.shop-recipients .shop-recipient{display:flex;align-items:center;gap:9px;width:100%;padding:10px;text-align:left;background:#111c2a;border:1px solid #48536a;font-size:12px}.shop-recipient>img{width:18px;height:18px;flex-shrink:0}.shop-recipient>small{margin-left:auto;font-size:10px}.shop-recipient[aria-pressed=true]{border-color:#d6b777;background:#303342}.shop-quantity input{width:3.1rem;min-width:0;padding:6px;text-align:center;font-size:12px}.shop-recipient:focus-visible{outline:2px solid #bce2ff;outline-offset:2px}
.recipient-armory-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.recipient-armory-row>a{font-size:10px;color:#b9d9ed}.recipient-armory-row .shop-recipient{min-width:0}.recipient-armory-row .shop-recipient>span{overflow:hidden;text-overflow:ellipsis}.recipient-armory-row .shop-recipient>small{display:none}

/* Centered catalogue, small segmented prices and consistent mixed-currency lines. */
.shop-product{align-items:center;text-align:center}.shop-product>h2,.shop-product>p,.shop-product>small{width:100%;text-align:center}.shop-product>img{margin-inline:auto}.shop-product>button{width:100%}.shop-currency-options{display:flex;justify-content:center;flex-wrap:nowrap;gap:4px;padding:3px;background:#09131e;border:1px solid #46526a66;border-radius:7px;max-width:100%}.shop-currency-options>button{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;padding:6px 9px;min-height:32px;font-size:11px;border:1px solid transparent;border-radius:4px;background:transparent}.shop-currency-options>button[aria-pressed=true]{background:#344052;border-color:#b9a373;box-shadow:inset 0 1px #ffffff15}.shop-currency-options>button[aria-pressed=true]::after{display:none}.shop-currency-options .point-coin{width:19px;height:19px;flex-basis:19px}.shop-currency-options .point-amount{gap:5px}.shop-cart .point-coin{width:21px;height:21px;flex-basis:21px}.shop-total-row{flex-wrap:wrap}.shop-product button:disabled,.shop-checkout:disabled{cursor:not-allowed}

.shop-product .shop-currency-options{display:flex;align-items:stretch;gap:0;padding:0;width:100%;max-width:220px;border:1px solid #526176;border-radius:6px;overflow:hidden;background:#0a1521;box-sizing:border-box}.shop-product .shop-currency-options>button{display:flex;flex:1 1 0;align-items:center;justify-content:center;margin:0;width:0;min-width:0;min-height:38px;padding:9px 8px;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1.2;color:#a9b8c9}.shop-product .shop-currency-options>button+button{border-left:1px solid #526176}.shop-product .shop-currency-options>button[aria-pressed=true]{background:linear-gradient(#4b5d72,#314458);box-shadow:inset 0 -3px #d9bc7e;color:#fff}.shop-product .shop-currency-options>button:hover:not([aria-pressed=true]){background:#233244}.shop-product .shop-currency-options>button:focus-visible{outline-offset:-3px}.shop-quantity button:disabled{cursor:not-allowed}

.shop-character-picker{margin-bottom:14px;border:1px solid #536379;border-radius:5px;background:#101c2a;overflow:hidden}.shop-character-picker>summary{display:flex;align-items:center;gap:9px;padding:12px;list-style:none;cursor:pointer;color:#dfd5bd;font-size:12px}.shop-character-picker>summary::-webkit-details-marker{display:none}.shop-character-picker>summary:focus-visible{outline:2px solid #d9bd7d;outline-offset:-3px}.shop-character-picker>summary img{width:18px;height:18px;object-fit:contain}.character-picker-arrow{margin-left:auto;color:#a4b4c7}.shop-character-picker[open]>summary{border-bottom:1px solid #536379}.shop-character-picker .shop-recipients{padding:0 8px 8px;max-height:220px}.shop-delivery-label{font-size:12px;margin:0 0 9px;color:#bdcbdd}

/* Separate the selected recipient from the expanded choices. */
.shop-character-picker[open]>summary{border-bottom:1px solid #536379;background:#1c2b3b}.shop-character-picker[open] .shop-recipients{padding:12px 10px 10px;gap:10px}.shop-character-picker .recipient-armory-row{padding:2px 0}.shop-character-picker .shop-recipient{min-height:40px}

.shop-delivery-success{padding:18px;border:1px solid #4b9970;border-radius:5px;background:#143c2b;color:#c6f5d8;line-height:1.7;margin:0 0 20px}.shop-delivery-pending{padding:18px;border:1px solid #a78c51;color:#e5d0a0}#notice.success{background:#164d34;color:#d1ffe1;border:1px solid #65ad80}

.shop-cart .shop-cart-balance{justify-content:center;text-align:center}.shop-cart .shop-cart-balance>small{text-align:center}

.shop-product h2 > span { display: inline; letter-spacing: normal; }
.shop-product h2 { overflow-wrap: anywhere; }
.shop-game-details{margin-top:18px;text-align:left}.shop-game-details .item-tooltip{overflow-wrap:anywhere;padding:18px;background:#090e1cf5;border:1px solid #a38c5d;border-radius:5px;color:#e7e7eb;font:13px/1.5 'Segoe UI',sans-serif}.shop-game-details .item-tooltip h3{margin:0 0 10px;font-size:17px}.shop-game-details .item-tooltip p{margin:5px 0}.shop-game-details .item-stat{color:#62d85e}.shop-game-details .item-flavor{color:#e4cc8f;white-space:pre-line}.shop-game-details .reference-tooltip{white-space:pre-line}.shop-game-details details{margin-top:14px;border-top:1px solid #596a7a55;padding-top:10px}.shop-game-details .quality-2 h3{color:#65dd50}.shop-game-details .quality-3 h3{color:#70b6ff}.shop-game-details .quality-4 h3{color:#c38aff}.shop-game-details .quality-5 h3{color:#f9ad52}

/* Compact item quantity, shared by product cards and cart totals. */
.shop-product > .shop-pack-quantity, .shop-cart-description > .shop-pack-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 11px;
  margin: 7px auto 9px;
  border: 1px solid #84704b66;
  border-radius: 5px;
  background: linear-gradient(135deg, #24303c, #151e29);
  line-height: 1.4;
  text-align: center;
}
.shop-pack-quantity>span{font-size:11px;color:#aeb9c7;letter-spacing:normal}.shop-pack-quantity>strong{font-size:12px;font-weight:600;color:#ead2a0;letter-spacing:normal}

.shop-pack-quantity>span,.shop-pack-quantity>strong{min-width:0;margin:0;padding:0;overflow-wrap:anywhere}

/* The cart follows the page flow, with each item's payment options together. */
.shop-cart-item{display:flex;align-items:center;gap:9px;min-width:0}.shop-cart-item-icon{display:block;width:36px;height:36px;flex:0 0 36px;object-fit:cover;border:1px solid #a28a59;border-radius:5px;background:#0b131e;box-shadow:0 2px 6px #0005}
.shop-cart-description { display: grid; gap: .2rem; min-inline-size: 0; }
.shop-cart-description > strong { font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.shop-cart-description > strong > span { display: inline; letter-spacing: normal; }
.shop-cart-description > .shop-pack-quantity { margin: 0; padding: 2px 6px; }
.shop-cart { width: 100%; min-width: 0; }
.shop-cart-items {
  margin-block-start: 1rem;
  border-block-start: 1px solid var(--steel-line, #495264);
}
.shop-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding-block: .65rem;
}
.shop-cart-line:last-child { padding-block-end: 0; }
.shop-cart-line + .shop-cart-line { border-top: 1px solid #495264; }
.shop-cart-payments { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.shop-cart-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem .4rem;
  padding: .34rem;
  border-radius: .35rem;
  background: var(--night, #0e1722);
}
.shop-cart-pricing { flex: 1 1 4.65rem; min-inline-size: 0; overflow-wrap: anywhere; }
.shop-cart-cost { font-size: 12px; }
.shop-cart-cost .point-amount { gap: 4px; white-space: normal; }
.shop-cart-pricing > .shop-unit-price { font-size: .65rem; line-height: 1.3; }
.shop-cart-payment > .shop-quantity { flex-wrap: wrap; max-inline-size: 100%; }
.shop-quantity input { width: 2.8rem; appearance: textfield; }
.shop-quantity input::-webkit-inner-spin-button, .shop-quantity input::-webkit-outer-spin-button { appearance: none; }
.shop-quantity .shop-remove-payment { margin-inline-start: 3px; }
.shop-product > p { overflow-wrap: anywhere; }
.shop-detail-dialog .shop-product > p { white-space: pre-line; }

.shop-cart-heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  scroll-margin-block-start: 1.25rem;
}
.shop-cart-glyph {
  position: relative;
  display: inline-grid;
  inline-size: 1.65rem;
  block-size: 1.65rem;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--limiar-ice, #bde7f5);
  background: #8fc8f31a;
}
.shop-cart-glyph::before, .shop-cart-glyph::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
  border: 1px solid currentColor;
}
.shop-cart-glyph::before {
  inset-block-start: .62rem;
  inline-size: .83rem;
  block-size: .62rem;
  border-radius: 2px;
}
.shop-cart-glyph::after {
  inset-block-start: .39rem;
  inline-size: .37rem;
  block-size: .32rem;
  border-block-end: 0;
  border-radius: 5px 5px 0 0;
}
body .shop-cart-shortcut {
  display: inline-flex;
  min-inline-size: 0;
  min-block-size: 2.55rem;
  max-inline-size: 100%;
  align-items: center;
  gap: .42rem;
  padding: .32rem .52rem;
  border: 1px solid var(--steel-edge, #577d95);
  border-radius: .48rem;
  background: linear-gradient(150deg, var(--steel-raised, #19344a), var(--steel, #102437));
  color: var(--limiar-ink, #edf8ff);
  font-size: .79rem;
  line-height: 1.2;
  text-align: start;
  overflow-wrap: anywhere;
  box-shadow: 0 3px 10px #030b15a0;
}
body .shop-cart-shortcut:hover {
  background: var(--action-hover, #2a4d67);
  border-color: var(--limiar-focus, #bde7f5);
}
.shop-cart-count {
  flex: none;
  min-inline-size: 1.38rem;
  padding: .23rem .35rem;
  border: 1px solid #a1d6f454;
  border-radius: .32rem;
  color: var(--limiar-ice, #bde7f5);
  background: var(--night, #08131f);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.shop-cart-float {
  position: fixed;
  z-index: 9;
  inset-inline-end: 1rem;
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  max-inline-size: min(15rem, calc(100% - 2rem));
}
.shop-cart-float[hidden] { display: none; }
.shop-detail-toolbar {
  position: sticky;
  z-index: 1;
  inset-block-start: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  margin-inline: -18px;
  padding: 0 18px .45rem;
  background: var(--steel, #111b2b);
  box-shadow: 0 -18px var(--steel, #111b2b);
}
.shop-detail-toolbar > .shop-cart-shortcut { justify-self: start; }
.shop-detail-toolbar > .shop-detail-close { padding-inline: .65rem; }
.shop-cart-feedback {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shop-item-flight {
  position: fixed;
  z-index: 22;
  inset: 0 auto auto 0;
  inline-size: 40px;
  block-size: 40px;
  object-fit: cover;
  border: 1px solid var(--limiar-ice, #bde7f5);
  border-radius: 7px;
  background: var(--night, #08131f);
  box-shadow: 0 0 18px #8fd6ff85, 0 6px 14px #020a15bd;
  pointer-events: none;
  opacity: 0;
}
