/* Mağaza — sekmeli premium shop */
.sh {
  --navy: #07101c;
  --panel: #0a1528;
  --row: #122036;
  --gold: #f6c445;
  --cream: #f7f1e4;
  --cyan: #5ec8ff;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(60, 100, 180, 0.22), transparent 55%),
    var(--navy);
  color: var(--cream);
  font-family: var(--font);
  user-select: none;
}
.sh button { -webkit-tap-highlight-color: transparent; }
.sh svg { display: block; flex-shrink: 0; }

.sh-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px;
  background: rgba(10, 21, 40, 0.92);
  border-bottom: 1px solid rgba(246, 196, 69, 0.18);
}
.sh-top h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(20px, 5.4vw, 24px);
  font-weight: 900;
  color: #fff;
}
.sh-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sh-icon-btn svg { width: 22px; height: 22px; }
.sh-icon-btn:active { transform: scale(0.95); }
.sh-pad { width: 40px; height: 40px; }

.sh-wallet {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px 0;
}
.sh-wal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--row);
  border: 1px solid rgba(246, 196, 69, 0.22);
}
.sh-wal-gem {
  border-color: rgba(94, 200, 255, 0.35);
  box-shadow: inset 0 0 18px rgba(60, 140, 255, 0.12);
}
.sh-wal img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.sh-wal strong {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

.sh-tabs {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 10px 12px 6px;
}
.sh-tab {
  min-height: 34px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 900;
  color: rgba(247, 241, 228, 0.7);
  background: #122036;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-tab.on {
  color: #fff;
  background: linear-gradient(180deg, #4aa0ff 0%, #2a6ad0 55%, #1a4a9a 100%);
  border-color: rgba(140, 200, 255, 0.55);
  box-shadow:
    0 0 12px rgba(60, 140, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.sh-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 12px calc(16px + env(safe-area-inset-bottom, 0px));
}
.sh-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 96px;
}
.sh-sec {
  margin: 8px 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 241, 228, 0.5);
}

/* Öne çıkan elmas banner */
.sh-hero {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-bottom: 4px;
  border-radius: 18px;
  text-align: left;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(80, 40, 140, 0.55), rgba(20, 40, 90, 0.9) 55%, rgba(12, 24, 48, 0.95)),
    #142038;
  border: 1.5px solid rgba(180, 140, 255, 0.45);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.sh-hero:active { transform: scale(0.985); }
.sh-hero:disabled { opacity: 0.55; }
.sh-hero-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(180, 120, 255, 0.35), transparent 65%);
  pointer-events: none;
}
.sh-hero-art {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}
.sh-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(120, 80, 255, 0.45));
  animation: sh-float 2.8s ease-in-out infinite;
}
.sh-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sh-hero-kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd76a;
}
.sh-hero-copy strong {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.sh-hero-copy em,
.sh-hero-give {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #9fe870;
}
.sh-hero-give .rw {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sh-hero-give .rw-ico,
.sh-hero-give .rw-bit img.rw-ico {
  width: 16px;
  height: 16px;
}
.sh-hero-price {
  margin-top: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  color: #1a2a10;
  background: linear-gradient(180deg, #ffe56a, #f0a000);
  box-shadow: 0 2px 0 #c47d08;
}

@keyframes sh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.sh-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sh-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background:
    linear-gradient(#142438, #0e1a2c) padding-box,
    linear-gradient(160deg, rgba(255, 241, 176, 0.35), rgba(168, 120, 24, 0.45)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.sh-card.tone-gem {
  background:
    linear-gradient(#152440, #0e1a30) padding-box,
    linear-gradient(160deg, rgba(140, 190, 255, 0.55), rgba(80, 60, 180, 0.5)) border-box;
}
.sh-card.tone-gold {
  background:
    linear-gradient(#1a2030, #12181f) padding-box,
    linear-gradient(160deg, rgba(255, 220, 120, 0.55), rgba(180, 110, 20, 0.5)) border-box;
}
.sh-card.tone-special {
  background:
    linear-gradient(#162438, #101c2c) padding-box,
    linear-gradient(160deg, rgba(160, 255, 200, 0.35), rgba(40, 120, 100, 0.45)) border-box;
}
.sh-card.tone-daily {
  background:
    linear-gradient(#1a2438, #121c2c) padding-box,
    linear-gradient(160deg, rgba(255, 160, 100, 0.45), rgba(180, 60, 40, 0.4)) border-box;
}
.sh-card.is-disabled { opacity: 0.55; filter: grayscale(0.25); }

.sh-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a2608;
  background: linear-gradient(180deg, #ffe56a, #f0a000);
}
.sh-art {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  overflow: visible;
}
.sh-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}
.sh-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 6px;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px #000;
}

.sh-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sh-info strong {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.sh-info em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.5);
}
.sh-give {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  color: #9fe870;
}

.sh-buy {
  min-width: 76px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #2a4060, #1a2a40);
  border: 1px solid rgba(94, 200, 255, 0.35);
  box-shadow: 0 3px 0 #0d1828;
  color: #fff;
}
.sh-buy.is-iap {
  background: linear-gradient(180deg, #ffe56a, #f0a000);
  border-color: rgba(255, 220, 120, 0.55);
  box-shadow: 0 3px 0 #c47d08;
  color: #3a2608;
}
.sh-buy.is-free {
  background: linear-gradient(180deg, #6ad070, #2e8a40);
  border-color: rgba(160, 255, 160, 0.4);
  box-shadow: 0 3px 0 #1a5a28;
}
.sh-buy:active:not(:disabled) { transform: translateY(1px); }
.sh-buy:disabled { opacity: 0.5; box-shadow: none; }

.sh-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 900;
}
.sh-price img.sh-pay-ico,
.sh-pay-ico {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain;
}
.sh-price.is-free { color: #e8ffe8; font-size: 12px; }
.sh-price.is-done { color: rgba(247, 241, 228, 0.45); font-size: 12px; }
.sh-price.is-iap { color: inherit; font-size: 12px; }
.sh-vip-off {
  margin-left: 2px;
  padding: 1px 4px;
  border-radius: 4px;
  font-style: normal;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #2a1a04;
  background: linear-gradient(180deg, #ffe56a, #f0a000);
}

@media (max-height: 680px) {
  .sh-art { width: 64px; height: 64px; }
  .sh-card { grid-template-columns: 64px 1fr auto; }
  .sh-hero { grid-template-columns: 80px 1fr; }
  .sh-hero-art { width: 80px; height: 80px; }
}

/* —— Sandık hub / kutu açma —— */
.chx-hub {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 2px 16px;
}
.chx-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(8, 14, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.chx-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 14px 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 30%, rgba(160, 90, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #1a2440, #0e1628);
  border: 1px solid rgba(180, 120, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.chx-block.is-frost .chx-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(90, 190, 255, 0.28), transparent 55%),
    linear-gradient(180deg, #143048, #0c1828);
  border-color: rgba(120, 200, 255, 0.4);
}
.chx-block.is-frost .chx-hero-copy em { color: #9ad8ff; }
.chx-block.is-steel .chx-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(120, 160, 255, 0.3), transparent 55%),
    linear-gradient(180deg, #1a2848, #0c1424);
  border-color: rgba(160, 190, 255, 0.42);
}
.chx-block.is-steel .chx-hero-copy em { color: #b8cfff; }
.chx-block.is-gold .chx-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 190, 60, 0.32), transparent 55%),
    linear-gradient(180deg, #3a2a14, #1a140c);
  border-color: rgba(255, 200, 80, 0.45);
}
.chx-block.is-gold .chx-hero-copy em { color: #ffe56a; }
.chx-hero:active {
  transform: scale(0.985);
  border-color: rgba(220, 180, 255, 0.55);
}
.chx-block.is-frost .chx-hero:active {
  border-color: rgba(170, 230, 255, 0.65);
}
.chx-block.is-steel .chx-hero:active {
  border-color: rgba(200, 220, 255, 0.7);
}
.chx-block.is-gold .chx-hero:active {
  border-color: rgba(255, 230, 140, 0.75);
}
.chx-hero-art,
.chx-hero img.chx-hero-art {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.chx-hero-copy em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a6ff;
}
.chx-hero-copy strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.chx-hero-copy p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(247, 241, 228, 0.55);
}
.chx-buy {
  position: relative;
  text-align: center;
  padding-top: 4px;
}
.chx-buy-art {
  width: 96px;
  height: 96px;
  margin: 8px auto 12px;
}
.chx-buy-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}
.chx-buy h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 800;
  color: #fff;
}
.chx-buy-blurb {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.7);
}
.chx-buy-blurb b { color: #ffe56a; }
.chx-buy-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
}
.chx-buy-cost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(94, 200, 255, 0.12);
  border: 1px solid rgba(94, 200, 255, 0.35);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.chx-buy-cost i {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  color: #2a1a04;
  background: linear-gradient(180deg, #ffe56a, #f0a000);
}
.chx-buy-meta em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.5);
}
.chx-buy-warn {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #ff8e82;
}
.chx-buy-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chx-buy-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chx-open-btn {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #2a1a04;
  background: linear-gradient(180deg, #ffe56a, #f0a000);
  box-shadow: 0 4px 0 #c47d08;
  border: 0;
}
.chx-open-btn.is-off {
  color: rgba(247, 241, 228, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.chx-open-btn:not(.is-off):active { transform: translateY(1px); }
.chx-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.chx-mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a2a42, #101a2c);
  border: 1.5px solid rgba(246, 196, 69, 0.4);
  color: inherit;
}
.chx-mode.is-poor {
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.12);
}
.chx-mode:not(.is-poor):active { transform: scale(0.97); }
.chx-mode-lab {
  font-size: 18px;
  font-weight: 800;
  color: #ffe56a;
}
.chx-mode-sub {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(247, 241, 228, 0.55);
  text-align: center;
}
.chx-mode-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
}
.chx-gem,
.chx-mode-cost img.chx-gem {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.chx-mode-cost i {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  color: #2a1a04;
  background: linear-gradient(180deg, #ffe56a, #f0a000);
}

/* Spin modal */
.chx-spin {
  text-align: center;
  padding-top: 4px;
}
.chx-stage {
  position: relative;
  margin: 10px 0 14px;
  padding: 16px 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.chx-needle {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #3ddc6e 20%, #3ddc6e 80%, transparent);
  box-shadow: 0 0 12px rgba(61, 220, 110, 0.65);
  z-index: 3;
  pointer-events: none;
}
.chx-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.chx-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 4px 0;
  /* Ortalama: ilk/son kart viewport ortasına gelebilir */
  padding-left: calc(50% - 44px);
  padding-right: calc(50% - 44px);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.chx-card {
  flex: 0 0 88px;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 14px;
  background: #121a2a;
  border: 2px solid rgba(160, 180, 210, 0.35);
}
.chx-card.rarity-rare {
  border-color: rgba(168, 96, 255, 0.75);
  box-shadow: 0 0 14px rgba(140, 80, 255, 0.28);
}
.chx-card.rarity-legendary {
  border-color: rgba(246, 196, 69, 0.85);
  box-shadow: 0 0 16px rgba(255, 180, 40, 0.35);
}
.chx-card.is-land {
  transform: scale(1.06);
  border-color: #3ddc6e;
  box-shadow: 0 0 20px rgba(61, 220, 110, 0.55);
}
.chx-frame {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}
.chx-art,
.chx-frame img.chx-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.chx-card strong {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chx-result {
  min-height: 52px;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.chx-result.is-wait em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.5);
}
.chx-result.is-done strong {
  font-size: 18px;
  font-weight: 800;
  color: #ffe56a;
}
.chx-result.is-done span,
.chx-result.is-done .chx-total {
  font-size: 13px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.8);
}
.chx-loot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 360px;
  margin: 8px auto 10px;
}
.chx-loot-bit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(160, 180, 210, 0.3);
}
.chx-loot-bit.rarity-rare {
  border-color: rgba(168, 96, 255, 0.7);
}
.chx-loot-bit.rarity-legendary {
  border-color: rgba(246, 196, 69, 0.8);
}
.chx-loot-art,
.chx-loot-bit img.chx-loot-art {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.chx-loot-bit em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(247, 241, 228, 0.75);
}
.chx-spin-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.chx-spin-actions.is-hidden { display: none; }
.chx-ok-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream, #f7f1e4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

/* —— Sandık içerik önizleme (kompakt, uzamaz) —— */
.modal-card-sheet:has(.chx-prev) {
  max-height: min(68dvh, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 12px;
}
.chx-prev {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
  padding: 2px 0 0;
  text-align: left;
}
.chx-prev-head {
  flex: 0 0 auto;
  padding-right: 36px;
}
.chx-prev h2 {
  margin: 0 0 4px;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 800;
  color: #fff;
}
.chx-prev-lead {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(247, 241, 228, 0.5);
}
.chx-prev-list {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
  overflow-y: auto;
  margin: 0;
  padding: 2px 2px 4px 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.chx-prev-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.chx-prev-row.rarity-rare {
  border-color: rgba(168, 120, 255, 0.4);
  background: rgba(120, 70, 200, 0.1);
}
.chx-prev-row.rarity-legendary {
  border-color: rgba(255, 200, 80, 0.45);
  background: rgba(180, 120, 20, 0.12);
}
.chx-prev-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
}
.chx-prev-ico.is-framed {
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(165deg, #141c2a 0%, #070b12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.chx-prev-row.rarity-rare .chx-prev-ico.is-framed {
  border-color: rgba(168, 120, 255, 0.35);
  box-shadow: inset 0 0 12px rgba(120, 70, 200, 0.18);
}
.chx-prev-row.rarity-legendary .chx-prev-ico.is-framed {
  border-color: rgba(255, 200, 80, 0.4);
  box-shadow: inset 0 0 12px rgba(180, 120, 20, 0.2);
}
.chx-prev-art,
.chx-prev-ico img.chx-prev-art {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent !important;
  filter: none !important;
}
.chx-prev-ico.is-framed .chx-prev-art,
.chx-prev-ico.is-framed img.chx-prev-art {
  width: 36px;
  height: 36px;
}
.chx-prev-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chx-prev-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.chx-prev-top strong {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
  hyphens: auto;
}
.chx-prev-chance {
  flex-shrink: 0;
  align-self: flex-start;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #ffe56a;
}
.chx-prev-sub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(247, 241, 228, 0.45);
}
.chx-prev-row.rarity-rare .chx-prev-sub { color: #d4b8ff; }
.chx-prev-row.rarity-legendary .chx-prev-sub { color: #ffe56a; }
.chx-prev-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-top: 2px;
}
.chx-prev-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}
.chx-prev-stats i {
  font-style: normal;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.45);
}
.chx-prev-give {
  margin-top: 2px;
}
.chx-prev-give b {
  font-size: 12px;
  font-weight: 800;
  color: #9fe870;
}
.chx-prev-ok {
  flex: 0 0 auto;
  width: 100%;
}
@media (max-width: 360px) {
  .chx-prev-list { grid-template-columns: 1fr; }
}

/* Spin JS ile — reduced-motion’da CSS’i kesme */
