:root {
  --gm-cyan: #5ecfff;
  --gm-cyan-dim: #2d7aa8;
  --gm-gold: #ffdc6e;
  --gm-gold-glow: rgba(255, 220, 110, 0.4);
  --gm-text: #eef6ff;
  --gm-muted: #8fa8bc;
  --gm-panel: rgba(6, 14, 24, 0.92);
  --gm-border: rgba(94, 207, 255, 0.18);
  --gm-green: #3ecf52;
  --gm-green-dark: #1f8a32;
  --gm-btc: #6eb8ff;
  --gm-plt: #b8a6ff;
  --gm-eur: #7eeaa0;
  --gm-radius: 12px;
  --gm-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--gm-text);
  background: #030810;
  font-size: 14px;
  line-height: 1.45;
}

body.embed {
  overflow: auto;
  height: auto;
  min-height: 100%;
  background: transparent;
}

body.embed .gm-shell {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  border-radius: 8px;
  overflow: visible;
}

body.embed .gm-header {
  padding: 8px 12px;
}

body.embed .gm-subtitle,
body.embed .gm-legend,
body.embed .gm-cur-name {
  display: none;
}

body.embed .gm-wallet {
  gap: 6px;
}

body.embed .gm-cur {
  min-width: 72px;
  padding: 5px 8px;
}

body.embed .gm-cur strong {
  font-size: 13px;
}

body.embed .gm-tabs {
  padding: 6px 10px 0;
  gap: 4px;
}

body.embed .gm-tab {
  min-width: 0;
  max-width: none;
  padding: 6px 10px 5px;
}

body.embed .gm-tab-label {
  font-size: 12px;
}

body.embed .gm-tab-hint {
  font-size: 9px;
}

body.embed .gm-tab-info {
  margin: 0 10px;
  padding: 8px 10px;
  gap: 10px;
}

body.embed .gm-tab-info-icon {
  width: 32px;
  height: 32px;
  font-size: 18px;
}

body.embed .gm-tab-info-title {
  font-size: 12px;
}

body.embed .gm-tab-info-desc,
body.embed .gm-tab-info-pay {
  font-size: 11px;
  line-height: 1.35;
}

body.embed .gm-grid-wrap {
  overflow: visible;
  padding: 8px 10px 10px;
}

body.embed .gm-grid {
  gap: 8px;
}

body.embed .gm-card {
  min-height: 168px;
}

body.embed .gm-card-visual {
  min-height: 72px;
  padding: 4px;
}

body.embed .gm-card-visual img {
  max-height: 68px;
}

body.embed .gm-card-amt {
  font-size: 12px;
}

body.embed .gm-footer {
  padding: 6px 10px 8px;
}

body.embed .gm-footnote {
  display: none;
}

body.embed .gm-header-left .gm-title {
  font-size: 14px;
}

body.embed .gm-logo {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

body.embed .gm-tab-info-compact .gm-tab-info-desc {
  display: none;
}

body.embed .gm-tab-info-compact .gm-tab-info-pay {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.embed .gm-div-panel {
  padding: 8px 10px;
  gap: 8px;
}

body.embed .gm-div-icon-ring {
  width: 44px;
  height: 44px;
}

body.embed .gm-div-icon-ring img {
  width: 34px;
  height: 34px;
}

body.embed .gm-div-amt {
  font-size: 14px;
}

body.embed .gm-div-track-wrap {
  display: flex;
  overflow-x: auto;
  max-width: none;
}

body.embed .gm-div-track {
  min-width: 240px;
  border-top: none;
  padding-top: 8px;
}

.gm-grid-hint.hidden { display: none; }

.gm-shell {
  width: min(1080px, calc(100vw - 12px));
  height: min(740px, calc(100vh - 12px));
  margin: 6px auto;
  display: flex;
  flex-direction: column;
  border-radius: var(--gm-radius);
  overflow: hidden;
  border: 1px solid var(--gm-border);
  box-shadow: var(--gm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(94, 207, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(8, 18, 32, 0.97) 0%, rgba(3, 8, 14, 0.98) 100%),
    url('assets/ui/store/store_bg.jpg') center/cover no-repeat;
}

.gm-shell.gm-tab-btc {
  --gm-accent: var(--gm-btc);
  --gm-accent-dim: rgba(110, 184, 255, 0.15);
}

.gm-shell.gm-tab-gold {
  --gm-accent: var(--gm-gold);
  --gm-accent-dim: rgba(255, 220, 110, 0.12);
}

.gm-shell.gm-tab-platinum {
  --gm-accent: var(--gm-plt);
  --gm-accent-dim: rgba(184, 166, 255, 0.12);
}

.gm-shell.gm-tab-premium {
  --gm-accent: #ffb347;
  --gm-accent-dim: rgba(255, 179, 71, 0.12);
}

/* Header */
.gm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(12, 28, 44, 0.95), rgba(6, 14, 24, 0.8));
  border-bottom: 1px solid var(--gm-border);
}

.gm-header-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gm-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(109, 213, 250, 0.18), rgba(109, 213, 250, 0.05));
  border: 1px solid rgba(109, 213, 250, 0.35);
  font-size: 20px;
  flex-shrink: 0;
}

.gm-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.gm-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--gm-muted);
}

.gm-wallet {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gm-cur {
  min-width: 96px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gm-border);
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.gm-cur:hover {
  box-shadow: 0 0 12px rgba(94, 207, 255, 0.08);
}

.gm-cur-code {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gm-muted);
}

.gm-cur-name {
  display: block;
  font-size: 10px;
  color: #6a8498;
  margin-bottom: 2px;
}

.gm-cur strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.gm-cur-btc { border-color: rgba(126, 200, 255, 0.35); }
.gm-cur-btc .gm-cur-code { color: var(--gm-btc); }
.gm-cur-plt { border-color: rgba(196, 181, 253, 0.35); }
.gm-cur-plt .gm-cur-code { color: var(--gm-plt); }
.gm-cur-gold {
  border-color: rgba(255, 216, 117, 0.45);
  background: linear-gradient(145deg, rgba(50, 40, 10, 0.5), rgba(20, 16, 6, 0.4));
}
.gm-cur-gold .gm-cur-code { color: var(--gm-gold); }
.gm-cur-gold strong { color: var(--gm-gold); }

/* Legend */
.gm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: var(--gm-muted);
}

.gm-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gm-legend-item strong {
  color: #c8dce8;
  font-weight: 700;
}

.gm-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gm-dot-btc { background: var(--gm-btc); box-shadow: 0 0 6px var(--gm-btc); }
.gm-dot-plt { background: var(--gm-plt); box-shadow: 0 0 6px var(--gm-plt); }
.gm-dot-gold { background: var(--gm-gold); box-shadow: 0 0 6px var(--gm-gold); }
.gm-dot-eur { background: var(--gm-eur); box-shadow: 0 0 6px var(--gm-eur); }

/* Tabs — pill style */
.gm-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px 0;
  flex-wrap: wrap;
}

.gm-tab {
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 8px 10px 7px;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  background: rgba(0, 0, 0, 0.25);
  color: var(--gm-muted);
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.gm-tab-label {
  display: block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.gm-tab-hint {
  display: block;
  font-size: 9px;
  opacity: 0.7;
  margin-top: 1px;
  font-weight: 600;
}

.gm-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.gm-tab.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 45, 68, 0.95), rgba(10, 24, 38, 0.9));
  border-color: var(--gm-border);
  border-bottom-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gm-tab.active .gm-tab-hint {
  color: var(--gm-cyan);
  opacity: 1;
}

.gm-shell.gm-tab-gold .gm-tab.active {
  border-color: rgba(255, 220, 110, 0.35);
  box-shadow: inset 0 2px 0 var(--gm-gold), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gm-shell.gm-tab-gold .gm-tab.active .gm-tab-hint { color: var(--gm-gold); }

.gm-shell.gm-tab-platinum .gm-tab.active {
  border-color: rgba(184, 166, 255, 0.35);
  box-shadow: inset 0 2px 0 var(--gm-plt), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gm-shell.gm-tab-platinum .gm-tab.active .gm-tab-hint { color: var(--gm-plt); }

.gm-shell.gm-tab-premium .gm-tab.active {
  border-color: rgba(255, 179, 71, 0.35);
  box-shadow: inset 0 2px 0 #ffb347, inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gm-shell.gm-tab-premium .gm-tab.active .gm-tab-hint { color: #ffb347; }

.gm-shell.gm-tab-btc .gm-tab.active {
  border-color: rgba(110, 184, 255, 0.35);
  box-shadow: inset 0 2px 0 var(--gm-btc), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gm-shell.gm-tab-btc .gm-tab.active .gm-tab-hint { color: var(--gm-btc); }

/* Tab info banner */
.gm-tab-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 14px;
  padding: 12px 14px;
  border-radius: 0 0 10px 10px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--gm-border);
  border-top: none;
}

.gm-tab-info-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-tab-info-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.gm-tab-info-desc,
.gm-tab-info-pay {
  margin: 0;
  font-size: 12px;
  color: var(--gm-muted);
  line-height: 1.5;
}

.gm-tab-info-pay {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #b8d4e8;
  font-weight: 600;
}

.gm-tab-info-pay em {
  font-style: normal;
  color: var(--gm-gold);
  font-weight: 800;
}

.gm-tab-info-pay .pay-eur { color: var(--gm-eur); }
.gm-tab-info-pay .pay-gold { color: var(--gm-gold); }

.gm-shell.gm-tab-gold .gm-tab-info {
  border-color: rgba(255, 220, 110, 0.22);
  background: linear-gradient(90deg, rgba(255, 220, 110, 0.06), rgba(0, 0, 0, 0.38));
}
.gm-shell.gm-tab-gold .gm-tab-info-icon {
  background: rgba(255, 220, 110, 0.1);
  border-color: rgba(255, 220, 110, 0.25);
}

.gm-shell.gm-tab-platinum .gm-tab-info {
  border-color: rgba(184, 166, 255, 0.22);
  background: linear-gradient(90deg, rgba(184, 166, 255, 0.06), rgba(0, 0, 0, 0.38));
}
.gm-shell.gm-tab-platinum .gm-tab-info-icon {
  background: rgba(184, 166, 255, 0.1);
  border-color: rgba(184, 166, 255, 0.25);
}

.gm-shell.gm-tab-premium .gm-tab-info {
  border-color: rgba(255, 179, 71, 0.22);
  background: linear-gradient(90deg, rgba(255, 179, 71, 0.06), rgba(0, 0, 0, 0.38));
}
.gm-shell.gm-tab-premium .gm-tab-info-icon {
  background: rgba(255, 179, 71, 0.1);
  border-color: rgba(255, 179, 71, 0.25);
}

.gm-tab-info-perks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
}

.gm-tab-info-perks.hidden { display: none; }

.gm-tab-info-perks li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 11px;
  line-height: 1.35;
  color: #dce8f8;
}

.gm-tab-info-perks li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 3px;
  color: #ffb347;
  font-size: 10px;
}

.gm-shell.gm-tab-premium .gm-tab-info {
  align-items: flex-start;
}

.gm-modal-perks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: 180px;
  overflow: auto;
}

.gm-modal-perks.hidden { display: none; }

.gm-modal-perks li {
  position: relative;
  padding: 2px 0 2px 16px;
  font-size: 12px;
  color: #dce8f8;
}

.gm-modal-perks li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #ffb347;
  font-size: 10px;
}

@media (max-width: 720px) {
  .gm-tab-info-perks {
    grid-template-columns: 1fr;
  }
}

.gm-shell.gm-tab-btc .gm-tab-info {
  border-color: rgba(110, 184, 255, 0.22);
  background: linear-gradient(90deg, rgba(110, 184, 255, 0.06), rgba(0, 0, 0, 0.38));
}
.gm-shell.gm-tab-btc .gm-tab-info-icon {
  background: rgba(110, 184, 255, 0.1);
  border-color: rgba(110, 184, 255, 0.25);
}

/* PLT bank */
.gm-plt-bank {
  margin: 10px 14px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(196, 181, 253, 0.25);
}

.gm-plt-bank.hidden { display: none; }

.gm-plt-bank-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
}

.gm-plt-bank-head strong { color: #fff; font-size: 13px; }
.gm-plt-bank-sub {
  display: block;
  font-size: 10px;
  color: var(--gm-muted);
  font-weight: 400;
  margin-top: 2px;
}

.gm-plt-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gm-plt-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7ec8ff, #c4b5fd, #ffd875);
  transition: width 0.35s ease;
}

.gm-plt-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: #8aaec4;
}

/* Grid */
.gm-grid-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 14px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 207, 255, 0.3) transparent;
}

.gm-grid-wrap::-webkit-scrollbar {
  width: 6px;
}

.gm-grid-wrap::-webkit-scrollbar-thumb {
  background: rgba(94, 207, 255, 0.28);
  border-radius: 3px;
}

.gm-grid-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(94, 207, 255, 0.45);
}

.gm-grid-hint {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--gm-muted);
  background: rgba(109, 213, 250, 0.06);
  border: 1px dashed rgba(109, 213, 250, 0.2);
  text-align: center;
}

.gm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: start;
}

/* Cards */
.gm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 175px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(4, 10, 18, 0.75);
  cursor: pointer;
  text-align: inherit;
  color: inherit;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.gm-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.gm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 207, 255, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 24px var(--gm-accent-dim, rgba(94, 207, 255, 0.08));
}

.gm-card-btc:hover { border-color: rgba(110, 184, 255, 0.45); }
.gm-card-gold:hover { border-color: rgba(255, 220, 110, 0.4); }

.gm-card.has-stars {
  border-color: rgba(255, 220, 110, 0.35);
  background: linear-gradient(180deg, rgba(40, 32, 8, 0.6) 0%, rgba(4, 10, 18, 0.85) 40%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 220, 110, 0.08);
}

.gm-card.has-stars:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 220, 110, 0.12);
}

.gm-card-top {
  padding: 8px 8px 0;
  text-align: center;
}

.gm-card-amt {
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.gm-card-get {
  font-size: 9px;
  color: var(--gm-muted);
  margin-top: 2px;
  line-height: 1.3;
}

.gm-card-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 4px 6px;
  background:
    radial-gradient(circle at 50% 70%, var(--gm-accent-dim, rgba(94, 207, 255, 0.1)), transparent 60%),
    url('assets/ui/store/store_item_preview_bg.jpg') center/100% 100% no-repeat;
}

.gm-card-visual img {
  max-width: 86%;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
}

.gm-card:hover .gm-card-visual img {
  transform: scale(1.04);
}

.gm-card-foot {
  padding: 6px 8px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.gm-card-disc {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 10px 4px 12px;
  border-radius: 0 0 0 10px;
  background: linear-gradient(135deg, #ff8c2a, #d45500);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  z-index: 2;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.gm-card-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 8px;
  font-size: 10px;
  color: #7ec8e8;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(94, 207, 255, 0.12);
  margin-top: 0;
  text-align: center;
}

.gm-card-timer span {
  opacity: 0.85;
}

.gm-card-price-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a94a8;
  margin-bottom: 4px;
  font-weight: 700;
}

.gm-card-price-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gm-card-cta {
  display: none;
}

.gm-card-stars {
  display: block;
  text-align: center;
  color: var(--gm-gold);
  font-size: 10px;
  letter-spacing: 3px;
  line-height: 1.2;
  text-shadow: 0 0 8px var(--gm-gold-glow);
}

.gm-card-stars-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #a89050;
  margin-top: 1px;
}

.gm-price-usd,
.gm-price-eur {
  font-weight: 800;
  font-size: 16px;
  color: var(--gm-eur);
}

.gm-price-eur::before {
  content: 'Fizetés: ';
  font-size: 10px;
  font-weight: 600;
  color: #7a94a8;
  display: block;
  margin-bottom: 1px;
  letter-spacing: 0.06em;
}

.gm-price-gold {
  font-weight: 800;
  font-size: 16px;
  color: var(--gm-gold);
}

.gm-price-gold-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gm-price-gold-wrap .gm-price-gold-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a94a8;
  font-weight: 700;
}

.gm-price-gold-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gm-price-gold-bar::after {
  content: 'GOLD';
  font-size: 9px;
  font-weight: 800;
  color: #a89050;
  letter-spacing: 0.06em;
}

.gm-price-list {
  font-weight: 600;
  font-size: 12px;
  color: #6a8498;
  text-decoration: line-through;
}

.gm-link-btn {
  background: none;
  border: none;
  color: var(--gm-cyan);
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
}

.gm-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: #8aaec4;
}

.gm-footer {
  padding: 8px 12px 10px;
  background: rgba(2, 6, 12, 0.95);
  border-top: 1px solid var(--gm-border);
}

.gm-msg {
  margin: 0 auto;
  max-width: 100%;
  min-height: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  color: #8dff79;
  background: rgba(62, 207, 82, 0.1);
  border: 1px solid rgba(62, 207, 82, 0.25);
}

.gm-msg:empty {
  display: none;
  padding: 0;
  border: none;
  background: none;
}

.gm-msg.is-error {
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 100, 100, 0.3);
}

.gm-footnote {
  margin: 6px 0 0;
  font-size: 11px;
  color: #6a8aa3;
  line-height: 1.45;
}

/* Modal */
.gm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 6, 12, 0.82);
  backdrop-filter: blur(6px);
}

.gm-modal-backdrop.hidden { display: none; }

.gm-modal {
  position: relative;
  width: min(700px, calc(100vw - 24px));
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(165deg, #0e1620, #060a10);
  border: 1px solid rgba(109, 213, 250, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.gm-modal-close {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.gm-modal-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.gm-modal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 300px;
}

.gm-modal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: radial-gradient(circle at center, rgba(109, 213, 250, 0.1), transparent 70%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.gm-modal-visual img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
}

.gm-modal-info {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  gap: 10px;
}

.gm-modal-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gm-cyan);
}

.gm-modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.gm-modal-desc {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: #b0c4d4;
}

.gm-modal-promo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gm-modal-promo.hidden { display: none; }

.gm-modal-disc {
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff9a3c, #e06500);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.gm-modal-timer { font-size: 12px; color: #8ecae6; }

.gm-modal-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gm-modal-price-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a94a8;
  font-weight: 700;
  margin-bottom: 4px;
}

.gm-modal-prices { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.gm-modal-action-hint {
  margin: 0;
  font-size: 11px;
  color: #6a8498;
  font-style: italic;
}

.gm-modal-buy {
  min-width: 150px;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #5ad862 0%, var(--gm-green) 45%, var(--gm-green-dark) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: filter 0.15s, transform 0.1s;
}

.gm-modal-buy:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.gm-modal-buy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Dividend panel */
.gm-div-bar {
  margin-bottom: 10px;
}

.gm-div-bar.hidden { display: none; }

.gm-div-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(62, 207, 82, 0.35);
  background: linear-gradient(105deg, rgba(8, 32, 28, 0.95) 0%, rgba(6, 16, 28, 0.92) 45%, rgba(4, 12, 22, 0.95) 100%);
  overflow: hidden;
}

.gm-div-panel-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 50%, rgba(62, 207, 82, 0.14), transparent 45%);
  pointer-events: none;
}

.gm-div-panel.is-ready {
  border-color: rgba(62, 207, 82, 0.5);
  box-shadow: 0 0 24px rgba(62, 207, 82, 0.08);
}

.gm-div-panel.is-cooldown {
  border-color: rgba(94, 207, 255, 0.25);
}

.gm-div-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gm-div-icon-ring {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 207, 255, 0.12), rgba(0, 0, 0, 0.4));
  border: 2px solid rgba(94, 207, 255, 0.35);
  box-shadow: 0 0 16px rgba(94, 207, 255, 0.15);
}

.gm-div-icon-ring img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.gm-div-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.gm-div-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dffb0;
}

.gm-div-amt {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.gm-div-sub {
  font-size: 10px;
  color: #8aa8bc;
}

.gm-div-sub b {
  color: var(--gm-cyan);
}

.gm-div-track-wrap {
  position: relative;
  z-index: 1;
  display: none;
}

@media (min-width: 900px) {
  .gm-div-track-wrap {
    display: block;
    min-width: 200px;
    max-width: 280px;
  }
}

.gm-div-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-div-track::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 15%, rgba(62, 207, 82, 0.35) 50%, rgba(255, 255, 255, 0.08) 85%, transparent);
  pointer-events: none;
}

.gm-div-node {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  opacity: 0.5;
}

.gm-div-node::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a5060;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1px;
}

.gm-div-node-amt {
  font-size: 9px;
  font-weight: 800;
  color: #a8c0d4;
}

.gm-div-node-lvl {
  font-size: 8px;
  color: #6a8498;
}

.gm-div-node.active {
  opacity: 1;
}

.gm-div-node.active::before {
  background: #7dffb0;
  border-color: rgba(125, 255, 176, 0.6);
  box-shadow: 0 0 10px rgba(125, 255, 176, 0.55);
}

.gm-div-node.active .gm-div-node-amt {
  color: #b8ffca;
}

.gm-div-node.active .gm-div-node-lvl {
  color: #7dffb0;
}

.gm-div-panel.is-ready .gm-div-icon-ring {
  animation: gm-div-pulse 2.8s ease-in-out infinite;
}

@keyframes gm-div-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(94, 207, 255, 0.15); }
  50% { box-shadow: 0 0 22px rgba(62, 207, 82, 0.35); border-color: rgba(62, 207, 82, 0.5); }
}

.gm-div-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 100px;
}

.gm-div-status {
  font-size: 10px;
  text-align: center;
  line-height: 1.3;
  color: #8ecae6;
}

.gm-div-status-ready {
  color: #7dffb0;
  font-weight: 700;
}

.gm-div-status-wait {
  color: #8ecae6;
}

.gm-div-claim {
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #52e068 0%, var(--gm-green) 40%, var(--gm-green-dark) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: filter 0.15s, transform 0.12s;
}

.gm-div-claim:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.gm-div-claim.is-wait,
.gm-div-claim:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: linear-gradient(180deg, #4a6070, #2a3844);
  box-shadow: none;
}

.gm-price-free {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #e8ffe8;
  background: linear-gradient(180deg, rgba(69, 201, 86, 0.35), rgba(36, 138, 52, 0.45));
  border: 1px solid rgba(69, 201, 86, 0.5);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .gm-shell { height: auto; min-height: calc(100vh - 12px); }
  html, body { overflow: auto; }
  .gm-legend { flex-direction: column; gap: 4px; }
  .gm-grid { grid-template-columns: repeat(2, 1fr); }
  .gm-tab { min-width: calc(50% - 6px); max-width: none; }
  .gm-div-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gm-div-track-wrap {
    display: flex;
    overflow-x: auto;
    max-width: none;
    padding-bottom: 4px;
  }
  .gm-div-track { min-width: 280px; border-top: none; padding-top: 0; }
  .gm-div-action { flex-direction: row; align-items: center; }
  .gm-div-claim { flex: 1; }
  .gm-modal-body { grid-template-columns: 1fr; }
  .gm-modal-visual {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 160px;
  }
  .gm-modal-foot { flex-direction: column; align-items: stretch; }
  .gm-modal-buy { width: 100%; }
}
