/* Website Gem Shop — a faithful port of the in-game GemShop.vue panel so the two
   look identical. Tokens + card/pouch/skin styles copied from the game client
   (src/ui/styles/_tokens.scss + GemShop.vue <style>), plus a page frame so it
   sits under the marketing-site nav. */
/* The site's header/footer/background AND the design tokens (--cyan, --gold,
   --border-dark, …) all come from guides.css, loaded BEFORE this file. Its
   values already match the game's _tokens.scss exactly, so we never touch the
   html/body background — that keeps the surrounding site chrome intact and just
   frames the shop as a dark panel, like the in-game Gem Shop. */
.gs-page { max-width: 1060px; margin: 0 auto; padding: 22px 20px 40px; }

/* utility classes the game template relies on (scoped so they can't affect the site) */
.gs-page .text-muted { color: var(--text-muted); }
.gs-page .text-main { color: var(--text-main); }
.gs-page .text-gold { color: #ffe27a; }
.gs-page .text-small { font-size: 12px; }

/* ==== ported from GemShop.vue <style> ==================================== */
.gs-container {
  display: flex; flex-direction: column; gap: 16px;
  background: rgba(11, 14, 23, 0.55); border: 1px solid var(--border-dark);
  border-radius: 14px; padding: 22px 22px 26px;
}
.gs-title { font-family: 'Press Start 2P', cursive; font-size: 22px; margin: 0; line-height: 1.4; }
.gs-header p { font-size: 13px; margin-top: 8px; line-height: 1.6; }

.gs-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-dark);
}
.gs-banner.ok { background: rgba(0, 255, 102, 0.1); border-color: var(--green); color: var(--green); }
.gs-banner.warn { background: rgba(255, 193, 7, 0.1); border-color: #ffc107; color: #ffc107; }
.gs-banner.err { background: rgba(255, 70, 70, 0.1); border-color: #ff6b6b; color: #ff6b6b; }
.gs-banner-x { background: none; border: none; color: inherit; cursor: pointer; font-size: 14px; opacity: 0.7; }

.gs-balance-bar {
  background: rgba(11, 14, 23, 0.7); border: 1px solid var(--border-dark);
  border-radius: 8px; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 14px; flex-wrap: wrap;
}
.gs-bal { display: flex; flex-direction: column; gap: 4px; }
.gs-bal b { font-size: 20px; display: inline-flex; align-items: center; gap: 8px; }
.gs-test-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #ffc107;
  border: 1px solid #ffc107; border-radius: 4px; padding: 4px 8px;
}
.gs-signin {
  display: inline-flex; align-items: center; gap: 8px; background: var(--cyan); color: #001018;
  border: none; border-radius: 6px; padding: 9px 16px; font: inherit; font-weight: 800;
  letter-spacing: .4px; cursor: pointer; box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
.gs-signin:hover { filter: brightness(1.08); }
.gs-logout { background: none; border: 1px solid var(--border-dark); color: var(--text-muted); border-radius: 6px; padding: 7px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.gs-logout:hover { color: var(--text-main); border-color: var(--cyan); }
.gs-coin {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe27a, #f0a921 70%);
  box-shadow: 0 0 6px rgba(240, 169, 33, 0.5);
}
.gs-coin-lg { width: 26px; height: 26px; }

.gs-state { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gs-state-icon { font-size: 40px; }
.gs-state-title { font-size: 16px; font-weight: 700; }

.gs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; align-content: start; }
.gs-card {
  position: relative; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border-dark);
  border-radius: 10px; padding: 22px 16px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; transition: 0.15s;
}
.gs-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.gs-card.busy { opacity: 0.6; pointer-events: none; }
.gs-bonus {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold, #f0a921); color: #1a1206; font-size: 10px; font-weight: 800;
  letter-spacing: 0.5px; padding: 3px 10px; border-radius: 10px; white-space: nowrap;
}
.gs-card-coins { display: flex; align-items: center; gap: 8px; }
.gs-card-coins b { font-size: 24px; color: #ffe27a; }
.gs-card-label { font-size: 13px; font-weight: 700; }
.gs-buy {
  margin-top: 6px; width: 100%; background: var(--cyan); color: #000; border: none;
  padding: 11px; border-radius: 5px; font-weight: 800; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3); font-family: inherit; font-size: 13px;
}
.gs-buy:disabled { opacity: 0.6; cursor: default; }
.gs-buy.soon {
  background: rgba(255, 255, 255, 0.06); color: var(--text-muted, #8fa3bf);
  box-shadow: none; border: 1px dashed rgba(255, 255, 255, 0.2); opacity: 1;
}
.gs-card.pouch.soon { opacity: 0.94; }
.gs-packs { display: flex; flex-direction: column; }
.gs-soon-note {
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.45;
  background: rgba(0, 240, 255, 0.06); border: 1px solid rgba(0, 240, 255, 0.22);
  color: var(--text-main); border-radius: 8px; padding: 11px 14px; margin-bottom: 14px;
}
.gs-soon-ico { font-size: 18px; flex: 0 0 auto; }

/* ---- coin pouches: framed icon + tier glow + sparkles ---- */
.gs-card.pouch { padding: 14px 14px 16px; gap: 8px; }
.gs-card.best { border-color: var(--gold, #f0a921); box-shadow: 0 0 22px rgba(240, 169, 33, 0.28); }
.gs-best {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: linear-gradient(180deg, #ffe27a, #f0a921); color: #3a2400;
  font-size: 8px; font-weight: 900; letter-spacing: 0.5px; padding: 3px 7px; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.gs-pouch { position: relative; width: 118px; height: 118px; margin: 2px auto; display: flex; align-items: center; justify-content: center; }
.gs-pouch-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.gs-pouch-coin {
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 28%, #ffe9a8, #f0a921 68%, #c47d10 100%);
  box-shadow: 0 6px 16px rgba(240, 169, 33, 0.4), inset 0 -4px 8px rgba(150, 85, 0, 0.45), inset 0 3px 6px rgba(255, 255, 255, 0.5);
  color: #8a5200; font-family: 'Press Start 2P', cursive; font-size: 32px; font-weight: 800;
  position: relative; overflow: hidden;
}
.gs-pouch-coin span { position: relative; z-index: 2; }
.gs-card.pt-2 .gs-pouch { filter: drop-shadow(0 0 7px rgba(0, 240, 255, 0.28)); }
.gs-card.pt-3 .gs-pouch { filter: drop-shadow(0 0 11px rgba(255, 193, 7, 0.4)); }
.gs-card.pt-4 .gs-pouch { animation: gsPouchPulse 2.4s ease-in-out infinite; }
@keyframes gsPouchPulse { 0%, 100% { filter: drop-shadow(0 0 11px rgba(255, 193, 7, 0.45)); } 50% { filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.78)); } }
.gs-spark { position: absolute; color: #ffe27a; text-shadow: 0 0 6px #ffc107; pointer-events: none; opacity: 0; }
.gs-spark.s1 { top: -3px; left: 8px; font-size: 13px; }
.gs-spark.s2 { top: 10px; right: -3px; font-size: 10px; }
.gs-spark.s3 { bottom: 12px; left: -3px; font-size: 11px; }
.gs-spark.s4 { bottom: -3px; right: 14px; font-size: 9px; }
.gs-card.pt-1 .gs-spark { display: none; }
.gs-card.pt-2 .gs-spark.s3, .gs-card.pt-2 .gs-spark.s4 { display: none; }
.gs-card.pt-2 .gs-spark, .gs-card.pt-3 .gs-spark, .gs-card.pt-4 .gs-spark { animation: gsTwinkle 2s ease-in-out infinite; }
.gs-card.pt-3 .gs-spark.s2 { animation-delay: 0.5s; } .gs-card.pt-3 .gs-spark.s4 { animation-delay: 1.1s; }
.gs-card.pt-4 .gs-spark { color: #fff3c4; text-shadow: 0 0 8px #ffcf4d; }
.gs-card.pt-4 .gs-spark.s2 { animation-delay: 0.4s; } .gs-card.pt-4 .gs-spark.s3 { animation-delay: 0.9s; } .gs-card.pt-4 .gs-spark.s4 { animation-delay: 1.3s; }
.gs-card.pt-4 .gs-pouch-coin, .gs-card.pt-5 .gs-pouch-coin {
  background: radial-gradient(circle at 35% 26%, #fff4c8, #ffc83d 58%, #df940d 100%);
  box-shadow: 0 6px 18px rgba(255, 180, 40, 0.5), inset 0 -4px 8px rgba(150, 85, 0, 0.45), inset 0 3px 7px rgba(255, 255, 255, 0.6);
}
.gs-card.pt-4 .gs-pouch-coin::after, .gs-card.pt-5 .gs-pouch-coin::after {
  content: ''; position: absolute; inset: -35%; z-index: 1; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg 55deg, rgba(255, 255, 255, 0.55) 75deg, transparent 95deg 360deg);
  animation: gsCoinShine 3.5s linear infinite;
}
.gs-card.pt-5 .gs-pouch-coin::after { animation-duration: 2.6s; }
@keyframes gsCoinShine { to { transform: rotate(360deg); } }
.gs-card.pt-5 .gs-pouch { animation: gsPouchPulse5 1.9s ease-in-out infinite; }
@keyframes gsPouchPulse5 { 0%, 100% { filter: drop-shadow(0 0 14px rgba(255, 193, 7, 0.55)); } 50% { filter: drop-shadow(0 0 32px rgba(255, 205, 60, 0.92)); } }
.gs-card.pt-5 .gs-spark { color: #fffbe0; text-shadow: 0 0 10px #ffd84d, 0 0 18px #ffaa00; }
.gs-card.pt-5 .gs-spark.s1 { font-size: 15px; }
@keyframes gsTwinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.3) rotate(20deg); } }

.gs-secure { margin-top: 4px; line-height: 1.5; }

/* ---- premium skins ---- */
.gs-skins { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.gs-section-title { font-family: 'Press Start 2P', cursive; font-size: 14px; color: var(--purple); margin: 6px 0 0; }
.gs-skins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 6px; }
.gs-fx-prev { display: flex; align-items: center; justify-content: center; margin: 2px 0; }
.pp-canvas { display: block; border-radius: 8px; background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.05), transparent 70%); }
.gs-skin-card {
  position: relative; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border-dark);
  border-top: 3px solid var(--accent, var(--border-dark));
  border-radius: 10px; padding: 18px 12px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px; overflow: hidden;
}
.gs-skin-card.epic { border-top-color: #b074ff; box-shadow: 0 0 16px rgba(176, 116, 255, 0.32); }
.gs-skin-card.legendary { border-top-color: #ffc107; animation: gsLegendGlow 2.6s ease-in-out infinite; }
.gs-skin-card.legendary::before, .gs-skin-card.legendary::after {
  content: '✦'; position: absolute; color: #ffe27a; pointer-events: none;
  text-shadow: 0 0 6px #ffc107, 0 0 12px #ffaa00; z-index: 2;
}
.gs-skin-card.legendary::before { top: 6px; right: 8px; font-size: 12px; animation: gsTwinkle 1.8s ease-in-out infinite; }
.gs-skin-card.legendary::after { bottom: 40px; left: 9px; font-size: 9px; animation: gsTwinkle 2.4s ease-in-out infinite 0.7s; }
.gs-skin-card.mythic { border-top-color: #ff6ad5; animation: gsMythicGlow 2.6s ease-in-out infinite; }
.gs-skin-card.mythic::before {
  content: '✦'; position: absolute; top: 6px; right: 8px; font-size: 12px; color: #ffb3ec;
  text-shadow: 0 0 6px #ff6ad5, 0 0 12px #ff2db5; pointer-events: none; z-index: 2;
  animation: gsTwinkle 1.6s ease-in-out infinite;
}
@keyframes gsLegendGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 193, 7, 0.22), inset 0 0 10px rgba(255, 193, 7, 0.05); }
  50%      { box-shadow: 0 0 26px rgba(255, 193, 7, 0.6), inset 0 0 16px rgba(255, 193, 7, 0.12); }
}
@keyframes gsMythicGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 106, 213, 0.26); }
  50%      { box-shadow: 0 0 28px rgba(255, 106, 213, 0.62); }
}
.gs-skin-base {
  position: absolute; top: 6px; left: 8px; z-index: 3;
  background: linear-gradient(180deg, #7ad1ff, #2b8fe0); color: #04243a;
  font-size: 8px; font-weight: 900; letter-spacing: 0.5px; padding: 2px 6px; border-radius: 5px;
}
.gs-skin-card.base { border-top-color: #5aa6ff; }
.gs-skin-rarity { font-size: 9px; font-weight: 800; letter-spacing: 1px; color: var(--accent, var(--text-muted)); }
.gs-skin-avatar {
  position: relative; width: 64px; height: 64px; image-rendering: pixelated;
  background-image: var(--sheet); background-size: 192px 256px; background-position: -64px 0;
  background-repeat: no-repeat; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.gs-skin-avatar.tinted::after {
  content: ''; position: absolute; inset: 0;
  background: var(--tint); mix-blend-mode: multiply; image-rendering: pixelated;
  -webkit-mask: var(--sheet) -64px 0 / 192px 256px no-repeat;
          mask: var(--sheet) -64px 0 / 192px 256px no-repeat;
}
.gs-skin-name { font-size: 12px; font-weight: 700; }
.gs-skin-price { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: #ffe27a; }
.gs-skin-btn {
  margin-top: 4px; width: 100%; background: var(--purple); color: #fff; border: none;
  padding: 9px; border-radius: 5px; font-weight: 800; letter-spacing: 0.5px; cursor: pointer;
  box-shadow: 0 0 8px rgba(162, 0, 255, 0.3); font-family: inherit; font-size: 13px;
}
.gs-skin-btn:disabled { opacity: 0.5; cursor: default; box-shadow: none; }
.gs-skin-btn.owned { background: rgba(0, 255, 102, 0.15); color: var(--green); }
.gs-skin-btn.locked { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); box-shadow: none; }
.gs-skin-btn.needmore {
  background: var(--cyan); color: #001018; cursor: pointer;
  display: flex; flex-direction: column; gap: 1px; line-height: 1.05; padding: 7px;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}
.gs-skin-btn.needmore:hover { filter: brightness(1.08); }
.gs-skin-btn.needmore small { font-size: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: 0.85; }

/* grouped layout: tabs + search + per-base groups */
.gs-skin-tabs { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.gs-skin-tabs button {
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-dark); color: var(--text-muted);
  border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 700; cursor: pointer; transition: 0.15s;
  font-family: inherit;
}
.gs-skin-tabs button.active { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: 0 0 10px rgba(162, 0, 255, 0.35); }
.gs-skin-search {
  margin-top: 8px; width: 100%; max-width: 280px; box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border-dark); color: var(--text-main);
  border-radius: 8px; padding: 8px 12px; font-size: 13px; font-family: inherit;
}
.gs-skin-group { margin-top: 14px; }
.gs-group-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border-dark); margin-bottom: 4px; }
.gs-group-thumb {
  width: 40px; height: 40px; flex: 0 0 auto; image-rendering: pixelated;
  background-image: var(--sheet); background-size: 120px 160px; background-position: -40px 0; background-repeat: no-repeat;
  border-radius: 6px; background-color: rgba(0, 0, 0, 0.35);
}
.gs-group-name { font-size: 14px; font-weight: 800; color: var(--text-main); }
.gs-group-count { margin-left: auto; }

.gs-secure { color: var(--text-muted); font-size: 12px; }
.gs-foot-link { margin-top: 20px; }
.gs-foot-link a { color: var(--cyan); text-decoration: none; font-size: 13px; }
.gs-foot-link a:hover { text-decoration: underline; }

/* ==== embedded Stripe checkout modal (ported from GemCheckout.vue) ======== */
.co-overlay {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 5, 10, 0.72); backdrop-filter: blur(4px); padding: 20px; animation: coFade 0.18s ease;
}
@keyframes coFade { from { opacity: 0 } to { opacity: 1 } }
.co-modal {
  position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(180deg, #11151f, #0b0e17); border: 1px solid var(--border-dark, #243049);
  border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 240, 255, 0.06);
  display: flex; flex-direction: column; gap: 14px; animation: coRise 0.2s ease; font-family: 'Chakra Petch', system-ui, sans-serif;
}
@keyframes coRise { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }
.co-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-dark, #243049); color: var(--text-muted, #8fa3bf); cursor: pointer; font-size: 14px; }
.co-x:disabled { opacity: 0.4; cursor: default; }
.co-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-dark, #243049); }
.co-head-main { flex: 1; min-width: 0; }
.co-medallion {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 28%, #ffe9a8, #f0a921 68%, #c47d10 100%);
  box-shadow: 0 4px 12px rgba(240, 169, 33, 0.4), inset 0 -3px 6px rgba(150, 85, 0, 0.45), inset 0 2px 5px rgba(255, 255, 255, 0.5);
  color: #8a5200; font-family: 'Press Start 2P', cursive; font-size: 20px;
}
.co-coins { display: flex; align-items: center; gap: 7px; font-size: 18px; font-weight: 800; color: #ffe27a; }
.co-label { font-size: 12px; color: var(--text-muted, #8fa3bf); margin-top: 2px; }
.co-bonus { color: #f0a921; font-weight: 700; margin-left: 6px; }
.co-price { font-size: 22px; font-weight: 800; color: var(--text-main, #e8ecf4); }
.co-coin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #f0a921 70%); box-shadow: 0 0 6px rgba(240, 169, 33, 0.5); }
.co-title { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted, #8fa3bf); margin: 2px 0; }
.co-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.co-lines li { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-main, #e8ecf4); }
.co-lines li span em { color: var(--text-muted, #8fa3bf); font-style: normal; }
.co-line-sum { padding-top: 8px; border-top: 1px dashed var(--border-dark, #243049); }
.co-line-sum b { display: inline-flex; align-items: center; gap: 6px; color: #ffe27a; }
.co-line-total { font-size: 16px; font-weight: 800; }
.co-line-total b { color: var(--text-main, #e8ecf4); }
.co-gold { color: #f0a921; }
.co-secure { font-size: 11px; color: var(--text-muted, #8fa3bf); line-height: 1.45; }
.co-pe { min-height: 40px; }
.co-cta { margin-top: 4px; width: 100%; padding: 13px; border: none; border-radius: 8px; cursor: pointer; background: linear-gradient(180deg, #4dfcff, #00d6e6); color: #00202a; font-family: inherit; font-weight: 800; font-size: 14px; letter-spacing: 0.5px; box-shadow: 0 6px 16px rgba(0, 240, 255, 0.28); }
.co-cta:disabled { opacity: 0.6; cursor: default; box-shadow: none; }
.co-foot { position: sticky; bottom: 0; z-index: 5; margin: 6px -22px -22px; padding: 14px 22px 18px; background: linear-gradient(180deg, rgba(11, 14, 23, 0), #0b0e17 30%); display: flex; flex-direction: column; gap: 6px; }
.co-ghost { width: 100%; padding: 9px; background: none; border: none; color: var(--text-muted, #8fa3bf); cursor: pointer; font: inherit; font-size: 12px; }
.co-ghost:disabled { opacity: 0.4; cursor: default; }
.co-err { background: rgba(255, 70, 70, 0.1); border: 1px solid #ff6b6b; color: #ff9a9a; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; }
.co-working { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 12px; color: var(--text-muted, #8fa3bf); }
.co-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0, 240, 255, 0.25); border-top-color: #00f0ff; animation: coSpin 0.8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg) } }
.co-state { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 6px 4px; }
.co-badge { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; }
.co-badge-ok { background: radial-gradient(circle at 40% 30%, #6dffae, #00b85a); color: #033; box-shadow: 0 0 26px rgba(0, 255, 120, 0.4); }
.co-badge-bad { background: radial-gradient(circle at 40% 30%, #ff8e8e, #d33); color: #320; box-shadow: 0 0 22px rgba(255, 70, 70, 0.35); }
.co-state-title { font-size: 17px; font-weight: 800; }
.co-state-msg { font-size: 13px; color: var(--text-muted, #8fa3bf); line-height: 1.5; max-width: 320px; }
.co-test { margin-top: 4px; font-size: 11px; text-align: center; color: #ffc107; border: 1px dashed rgba(255, 193, 7, 0.4); border-radius: 8px; padding: 8px 10px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .co-overlay, .co-modal, .co-spin { animation: none; }
  .gs-card.pt-4 .gs-pouch, .gs-card.pt-5 .gs-pouch { animation: none; }
  .gs-card.pt-4 .gs-pouch-coin::after, .gs-card.pt-5 .gs-pouch-coin::after { animation: none; opacity: 0; }
  .gs-card .gs-spark { animation: none !important; opacity: 0.85; }
  .gs-skin-card.legendary, .gs-skin-card.mythic,
  .gs-skin-card.legendary::before, .gs-skin-card.legendary::after, .gs-skin-card.mythic::before { animation: none; }
}
