.hints-mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  max-width: 560px;
}

.hints-mini-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.hints-mini-label {
  font-weight: 700;
  color: #e0f2fe;
}

.hints-mini-balance b {
  color: #fde68a;
  font-size: 18px;
}

.hints-mini-free {
  color: rgba(200, 215, 255, 0.62);
  font-size: 13px;
}

.hints-mini-split {
  font-size: 12px;
  font-weight: 500;
  color: rgba(200, 215, 255, 0.72);
}

.hints-mini-buy {
  color: #93c5fd !important;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: rgba(96, 165, 250, 0.08);
  white-space: nowrap;
}

.hints-mini-buy:hover {
  background: rgba(96, 165, 250, 0.16);
}

/* ── Светлые страницы: читаемая плашка и заметная кнопка «Докупить» ── */
body.mv-app-page .hints-mini-bar,
body.hd-tool-page .hints-mini-bar,
body.multiverse-page .hints-mini-bar,
body.v3-page .hints-mini-bar,
body.nm-page .hints-mini-bar,
body.tr-page .hints-mini-bar {
  border-color: #e2ddef;
  background: linear-gradient(135deg, #f7f5ff 0%, #fff 72%);
  box-shadow: 0 6px 20px rgba(35, 28, 76, 0.06);
}

body.hd-tool-page .hints-mini-label,
body.multiverse-page .hints-mini-label,
body.v3-page .hints-mini-label,
body.nm-page .hints-mini-label,
body.tr-page .hints-mini-label {
  color: #6c52e8;
  font-weight: 800;
}

body.hd-tool-page .hints-mini-balance,
body.multiverse-page .hints-mini-balance,
body.v3-page .hints-mini-balance,
body.nm-page .hints-mini-balance,
body.tr-page .hints-mini-balance {
  color: #3c3055;
}

body.hd-tool-page .hints-mini-balance b,
body.multiverse-page .hints-mini-balance b,
body.v3-page .hints-mini-balance b,
body.nm-page .hints-mini-balance b,
body.tr-page .hints-mini-balance b {
  color: #b45309;
}

body.hd-tool-page .hints-mini-free,
body.multiverse-page .hints-mini-free,
body.v3-page .hints-mini-free,
body.nm-page .hints-mini-free,
body.tr-page .hints-mini-free {
  color: #6b657a;
}

body.hd-tool-page .hints-mini-buy,
body.multiverse-page .hints-mini-buy,
body.v3-page .hints-mini-buy,
body.nm-page .hints-mini-buy,
body.tr-page .hints-mini-buy {
  color: #fff !important;
  background: linear-gradient(135deg, #6c52e8 0%, #7c3aed 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(108, 82, 232, 0.32);
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  text-decoration: none !important;
}

body.hd-tool-page .hints-mini-buy:hover,
body.multiverse-page .hints-mini-buy:hover,
body.v3-page .hints-mini-buy:hover,
body.nm-page .hints-mini-buy:hover,
body.tr-page .hints-mini-buy:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #5b45d6 0%, #6d28d9 100%) !important;
  box-shadow: 0 6px 18px rgba(108, 82, 232, 0.4);
}

.mv-hints-panel {
  margin: 0 0 28px;
  padding: 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(255, 255, 255, 0.03));
}

/* multiverse.php — светлая страница */
.multiverse-page .mv-hints-panel {
  border: 1.5px solid #e2ddef;
  background: linear-gradient(135deg, #f7f5ff 0%, #fff 58%);
  box-shadow: 0 10px 34px rgba(35, 28, 76, 0.06);
}

.multiverse-page .mv-hints-head h2 {
  color: #18142e;
  font-size: 23px;
}

.multiverse-page .mv-hints-head p {
  color: #514a61;
  font-size: 15px;
  line-height: 1.6;
}

.multiverse-page .mv-hints-balance {
  border-color: #f0d68a;
  background: #fffbeb;
}

.multiverse-page .mv-hints-balance-num {
  color: #b45309;
}

.multiverse-page .mv-hints-balance-sub {
  color: #92400e;
  font-size: 13px;
  font-weight: 600;
}

.multiverse-page .mv-hints-balance-sub span {
  font-size: inherit;
}

.multiverse-page .mv-hints-pack {
  border-color: #e5dfef;
  background: #fff;
}

.multiverse-page .mv-hints-pack.is-featured {
  border-color: #c8b8ff;
  background: #f3f0ff;
  box-shadow: 0 8px 28px rgba(92, 59, 232, 0.1);
}

.multiverse-page .mv-hints-pack-badge {
  color: #514a61;
  font-size: 12px;
}

.multiverse-page .mv-hints-pack-num {
  color: #18142e;
}

.multiverse-page .mv-hints-pack-price {
  color: #b45309;
}

.multiverse-page .mv-hints-pack-note {
  color: #514a61;
  font-size: 14px;
  line-height: 1.55;
}

.mv-hints-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mv-hints-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #f8fbff;
}

.mv-hints-head p {
  margin: 0;
  color: rgba(200, 215, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
  max-width: 36rem;
}

.mv-hints-balance {
  text-align: right;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}

.mv-hints-balance-num {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #fde68a;
}

.mv-hints-balance-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(253, 230, 138, 0.75);
}

.mv-hints-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mv-hints-pack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.mv-hints-pack.is-featured {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.1);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.15);
}

.mv-hints-pack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mv-hints-pack-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.7);
}

.mv-hints-pack-gift {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  white-space: nowrap;
}

.multiverse-page .mv-hints-pack-gift {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
  font-size: 12px;
}

.mv-hints-astro-topup {
  padding: 20px 22px;
  border-radius: 18px;
  background: #f7f5ff;
  border: 1.5px solid #ddd5f7;
}

.mv-hints-astro-topup p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b657a;
}

.mv-hints-panel--astro .mv-hints-balance-num {
  font-size: 28px;
}

.mv-hints-pack-breakdown {
  margin-top: -4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(167, 243, 208, 0.85);
}

.multiverse-page .mv-hints-pack-breakdown {
  color: #059669;
  font-size: 13px;
}

.mv-hints-pack-num {
  font-size: 28px;
  font-weight: 900;
  color: #e0f2fe;
}

.mv-hints-pack-price {
  font-size: 18px;
  font-weight: 800;
  color: #fde68a;
}

.mv-hints-pack-note {
  font-size: 12px;
  color: rgba(200, 215, 255, 0.58);
  line-height: 1.45;
  flex: 1;
}

.mv-hints-pack-btn {
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.mv-hints-pack.is-featured .mv-hints-pack-btn {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

@media (max-width: 760px) {
  .mv-hints-packs {
    grid-template-columns: 1fr;
  }
  .mv-hints-balance {
    text-align: left;
    width: 100%;
  }
}

/* ── Модалка «подсказки закончились» ── */
body.hints-limit-open {
  overflow: hidden;
}

.hints-limit-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 16, 60, 0.45);
  backdrop-filter: blur(4px);
}

.hints-limit-card {
  position: relative;
  width: min(100%, 420px);
  padding: 28px 24px 22px;
  border-radius: 22px;
  border: 1px solid #e2ddef;
  background: linear-gradient(160deg, #fff 0%, #f7f5ff 100%);
  box-shadow: 0 20px 50px rgba(35, 28, 76, 0.18);
  text-align: center;
}

.hints-limit-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: #8b7ca0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.hints-limit-icon {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}

.hints-limit-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: #18103c;
}

.hints-limit-text {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.65;
  color: #5a4a78;
}

.hints-limit-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hints-limit-buy {
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6c52e8 0%, #7c3aed 100%);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(108, 82, 232, 0.28);
}

body.mv-app-page .hints-limit-modal .hints-limit-buy,
body.mv-app-page a.hints-limit-buy {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.hints-limit-buy:hover {
  background: linear-gradient(135deg, #5b45d6 0%, #6d28d9 100%);
}

.hints-limit-later {
  border: none;
  background: transparent;
  color: #6b5a80;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
}

.hints-paid-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  padding: 12px 22px;
  border-radius: 999px;
  background: #18103c;
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hints-paid-toast.is-out {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}
