/* ===============================
грязная с повторами 
   AURA MODAL — ONE SOLID CARD (FOR YOUR HTML)
   Works with:
   #baseRatingModal .rating-modal
   .aura-card
   #baseAuraBox
   #auraDescription
   .rating-actions
   =============================== */

/* ===== MODAL WRAP (scroll whole modal) ===== */
#baseRatingModal.rating-modal-wrap{
  position: fixed;
  inset: 0;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
}

/* ===== BACKDROP (dark, no game distraction) ===== */
#baseRatingModal .rating-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, .92);
}

/* ===== MODAL SHELL (no own card background!) ===== */
#baseRatingModal .rating-modal{
  position: relative;
  max-width: 420px;
  margin: 14px auto 18px;
  padding: 14px 14px 18px;
  background: transparent;           /* ✅ убираем вторую подложку */
  border: none;                      /* ✅ */
  box-shadow: none;                  /* ✅ */
  z-index: 2;
}

/* ===== TITLE ===== */
#baseRatingModal .rating-modal h3{
  margin: 6px 0 12px;
  text-align: center;
  font-weight: 900;
  color: #eaf1ff;
}

/* ===============================
   ONE SOLID CARD (AURA + LIST + BUTTONS)
   =============================== */
#baseRatingModal .aura-card{
  background: rgba(18, 24, 38, .96);
  border-radius: 22px;
  overflow: hidden;                  /* ✅ скругление низ/верх всегда */
  box-shadow:
    0 0 0 1px rgba(120,160,220,.10),
    0 20px 60px rgba(0,0,0,.55);
  padding: 14px 12px 12px;
}

/* ===============================
   AURA BOX
   =============================== */
#baseAuraBox{
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
}

/* SVG if inside */
#baseAuraBox svg{
  width: 360px;
  height: 360px;
  display: block;
}

/* loading text */
#baseAuraBox .muted{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.7;
  font-size:14px;
  color:#e8eeff;
}

/* ===============================
   DESCRIPTION — PART OF SAME CARD
   (remove own “second card” effect)
   =============================== */
#auraDescription{
  max-width: 360px;
  margin: 0 auto 10px;
  padding: 12px;

  background: rgba(255,255,255,.04); /* ✅ легкая вставка, не отдельная карточка */
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;

  color: #e8eeff;

  max-height: none;                  /* ✅ никаких внутренних скроллов */
  overflow: visible;
}

/* list rows */
.aura-desc-title{
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  margin-bottom: 10px;
  opacity: .95;
}

.aura-desc-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.aura-desc-row{
  display:grid;
  grid-template-columns: 10px 1fr auto;
  gap:10px;
  align-items:center;

  padding: 8px 10px;
  border-radius: 12px;

  background: rgba(0,0,0,.18);
}

.aura-desc-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  box-shadow: 0 0 10px rgba(0,160,255,.22);
}

.aura-desc-left{
  min-width:0;
}

.aura-desc-name{
  font-size: 13px;
  font-weight: 800;
  color: #eaf1ff;
  line-height: 1.2;
}





/* ===============================
   ACTIONS — STICKY INSIDE SAME CARD
   =============================== */
#baseRatingModal .rating-actions{
  position: sticky;
  bottom: 0;
  z-index: 5;

  padding: 12px 10px 12px;
  margin-top: 10px;

  background: linear-gradient(
    to top,
    rgba(18,24,38,.98),
    rgba(18,24,38,.70)
  );

  border-radius: 0 0 22px 22px; /* ✅ низ скруглен */
}

/* ===============================
   OPTIONAL: kill any old scrollbars on auraDescription
   =============================== */
#auraDescription::-webkit-scrollbar{ width: 0; height: 0; }


/* ===============================
   BOOST MODAL
   =============================== */
.boost-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:20050;
}
.boost-modal.hidden{ display:none; }

.boost-box{
  width:280px;
  background:#141824;
  border-radius:16px;
  padding:18px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
}

.boost-title{
  font-weight:800;
  color:#ffd500;
  margin-bottom:10px;
}

.boost-info{
  font-size:14px;
  color:#cfd6e6;
  margin-bottom:16px;
}

.boost-actions{
  display:flex;
  gap:10px;
}

.boost-actions button{
  flex:1;
  padding:10px;
  border-radius:12px;
  border:none;
  font-weight:700;
}

/* =========================================================
   AURA DESCRIPTION — CLEAN CARD LAYOUT
   Делает читабельную карточку текста
   ========================================================= */

/* вся строка ачивки */
.aura-desc-row {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    column-gap: 12px;
    row-gap: 6px;
    padding: 12px 12px 14px;
    border-radius: 16px;
}

/* цветная точка */
.aura-desc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}

/* левая часть (название + meta) */
.aura-desc-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* название */
.aura-desc-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

/* подзаголовок */
.aura-desc-short {
    font-size: 13px;
    color: #aeb7d4;
    line-height: 1.35;
}




/* правая часть */
.aura-desc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}



/* ===============================
   🔥 ГЛАВНОЕ — КАРТОЧКА ТЕКСТА
   =============================== */

.aura-desc-full {
    grid-column: 2 / 4;          /* ← занимает ВСЮ читаемую ширину */
    margin-top: 8px;

    padding: 12px 14px;
    border-radius: 14px;

    background: linear-gradient(
        180deg,
        rgba(20,28,52,0.85),
        rgba(12,18,36,0.85)
    );

    border: 1px solid rgba(120,150,255,0.12);

    font-size: 14px;
    line-height: 1.55;
    color: #e6e9f2;

    /* 👇 сохраняем переносы строк */
    white-space: pre-line;

    text-align: left;
}

/* визуальное дыхание между карточками */
.aura-desc-row + .aura-desc-row {
    margin-top: 10px;
}

/* мобильная оптимизация */
@media (max-width: 420px) {
    .aura-desc-row {
        padding: 10px;
    }

    .aura-desc-full {
        font-size: 13.5px;
        line-height: 1.5;
    }
}
/* =========================================================
   AURA → DESCRIPTION REAL LINK (WORKING)
   ========================================================= */

.aura-desc-row {
    position: relative;
}

/* точка — якорь */
.aura-desc-dot {
    box-shadow:
        0 0 6px var(--aura-color),
        0 0 14px var(--aura-color),
        0 0 26px var(--aura-color);
}

/* карточка описания */
.aura-desc-full {
    position: relative;
    border: 1px solid color-mix(
        in srgb,
        var(--aura-color) 55%,
        transparent
    );

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 0 22px color-mix(
            in srgb,
            var(--aura-color) 65%,
            transparent
        );
}

/* мягкий энергетический ореол */
.aura-desc-full::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;

    background:
        radial-gradient(
            ellipse at left center,
            var(--aura-color) 0%,
            transparent 60%
        );

    opacity: 0.45;
    filter: blur(20px);
    pointer-events: none;
}
.aura-about{
  margin: 8px auto 12px;
  padding: 14px;
  max-width: 360px;

  background: linear-gradient(
    180deg,
    rgba(18,24,38,.95),
    rgba(12,18,32,.95)
  );

  border-radius: 18px;
  border: 1px solid rgba(120,160,255,.12);
}

.aura-about-text{
  font-size: 13.5px;
  line-height: 1.55;
  color: #dbe2f5;
}
/* ===== TOGGLE BUTTON ===== */
.aura-desc-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;

  padding:12px 14px;
  margin-bottom:10px;

  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;

  color:#eaf1ff;
  font-weight:900;
  font-size:14px;

  cursor:pointer;
}

/* стрелка */
.aura-desc-arrow{
  transition:transform .25s ease;
}

.aura-desc-arrow.open{
  transform:rotate(180deg);
}



/* ===== ABOUT (collapsible description) ===== */
.aura-about{
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition:
    max-height .35s ease,
    opacity .25s ease;
}

/* открыто */
.aura-about.open{
  opacity: 1;
  max-height: 1200px; /* просто большой запас */
}

/* закрыто (если где-то используется) */
.aura-about-collapsed{
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}




/* ===== TEXT SCROLL AREA ===== */


/* аккуратный скролл */
.aura-about-text::-webkit-scrollbar{
  width: 4px;
}
.aura-about-text::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.25);
  border-radius: 4px;
}
/* Цвета ауры и энергия человека */
.aura-chakra-block{
  background:
    linear-gradient(
      180deg,
      rgba(120,90,255,.08),
      rgba(40,30,90,.05)
    );
  border:1px solid rgba(150,120,255,.18);
}

.aura-link{
  margin-top:8px;
  font-size:13px;
}

.aura-link a{
  color:#9db4ff;
  text-decoration:none;
  border-bottom:1px dashed rgba(157,180,255,.4);
}

.aura-link a:hover{
  color:#c9d4ff;
}

/* ссылка на статью подробнее */
.aura-link{
  margin-top:10px;
  font-size:13px;
  color:#9db4ff;
  cursor:pointer;
  user-select:none;
  display:inline-flex;
  align-items:center;
  gap:6px;

  border-bottom:1px dashed rgba(157,180,255,.45);
}

.aura-link:hover{
  color:#c9d4ff;
}



/* ===== AURA NUMBERS CLARITY ===== */

/* ===== AURA PERCENT — FINAL ===== */
.aura-desc-percent{
  font-size: 15px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffd500;
  background: rgba(255,213,0,.12);
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(255,213,0,.45);
}


/* X / Y */
.aura-desc-meta{
  margin-top:3px;
  font-size:12px;
  letter-spacing:.2px;
}

.aura-num-current{
  color:#ffffff;
  font-weight:900;
}

.aura-num-divider{
  opacity:.25;
  margin:0 3px;
}

.aura-num-target{
  color:#8b95a7;
}

/* ===============================
   BOOST BUTTON — GAME FEEL
   =============================== */
.boost-achievement-btn{
  appearance:none;
  border:none;
  outline:none;
  cursor:pointer;

  padding:6px 14px;
  border-radius:999px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;

  color:#1b1f2a;
  background:linear-gradient(135deg,#ffd500,#ffb300);

  box-shadow:
    0 4px 12px rgba(255,213,0,.35),
    inset 0 0 0 rgba(255,255,255,0);

  transition:
    transform .12s ease,
    box-shadow .12s ease,
    filter .12s ease;
}

/* hover */
.boost-achievement-btn:hover{
  filter:brightness(1.05);
  box-shadow:
    0 6px 16px rgba(255,213,0,.45);
}

/* active (press) */
.boost-achievement-btn:active{
  transform:scale(.94);
  box-shadow:
    0 2px 6px rgba(255,213,0,.25),
    inset 0 2px 6px rgba(0,0,0,.25);
}

/* disabled */
.boost-achievement-btn[disabled]{
  opacity:.55;
  cursor:not-allowed;
  filter:grayscale(.4);
}


/* ===============================
   BOOST MODAL (AURA COLOR BASED)
   =============================== */

.boost-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.boost-box {
  --aura-color: #6fb6ff; /* fallback */
  background: radial-gradient(
    circle at top,
    color-mix(in srgb, var(--aura-color) 25%, #0b1020 75%),
    #0b1020 70%
  );
  border: 1px solid color-mix(in srgb, var(--aura-color) 45%, transparent);
  border-radius: 18px;
  padding: 18px;
  width: 280px;
  color: #fff;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 28px color-mix(in srgb, var(--aura-color) 45%, transparent),
    inset 0 0 24px rgba(255,255,255,0.03);
  animation: boostPulse 1.4s ease-out;
}

/* заголовок */
.boost-title {
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 0 12px var(--aura-color);
}

/* кнопка подробнее */
.boost-more {
  font-size: 13px;
  color: var(--aura-color);
  cursor: pointer;
  margin-bottom: 8px;
  user-select: none;
}

/* раскрываемый блок */
.boost-info {
  display: none;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #d5dbef;
  background: rgba(10,15,30,.7);
  border: 1px solid color-mix(in srgb, var(--aura-color) 35%, transparent);
  border-radius: 12px;
  padding: 10px;
}

/* цена / баланс */
.boost-meta {
  margin: 6px 0;
  font-weight: 700;
}

/* кнопки */
/* =========================================================
   BOOST LEVEL BUTTONS (выбор уровня)
   ========================================================= */

.boost-levels{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 14px;
}

.boost-levels button{
  padding: 7px 12px;
  border-radius: 12px;
  border: none;

  font-weight: 800;
  cursor: pointer;

  background: var(--aura-color);
  color: #10131f;

  box-shadow: 0 0 12px var(--aura-color);
  transition: transform .08s ease, opacity .12s ease;
}

.boost-levels button:hover{
  opacity: .95;
}

.boost-levels button:active{
  transform: translateY(1px) scale(.98);
}

/* MAX уровень */
.boost-levels button.boost-max{
  box-shadow:
    0 0 18px var(--aura-color),
    0 0 32px color-mix(in srgb, var(--aura-color) 60%, transparent);
}


/* =========================================================
   BOOST CONFIRM BUTTONS (OK / Отмена)
   ========================================================= */

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

/* общая база */
.boost-actions button{
  border: none;
  border-radius: 14px;

  font-weight: 900;
  cursor: pointer;

  transition:
    transform .12s ease,
    box-shadow .12s ease,
    filter .12s ease;
}

/* ===== OK — главная кнопка ===== */
.boost-actions button:last-child{
  order: 1;

  padding: 14px 16px;
  font-size: 16px;

  color: #1b1f2a;
  background: linear-gradient(135deg,#ffd500,#ffb300);

  box-shadow:
    0 0 18px rgba(255,213,0,.55),
    0 0 36px rgba(255,213,0,.35);
}

.boost-actions button:last-child:hover{
  filter: brightness(1.08);
}

.boost-actions button:last-child:active{
  transform: scale(.96);
}

/* ===== Отмена — второстепенная ===== */
.boost-actions button:first-child{
  order: 2;

  padding: 8px 12px;
  font-size: 13px;

  background: #2a314a;
  color: #cbd3ea;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.boost-actions button:first-child:hover{
  filter: brightness(1.05);
}


/* =========================================================
   BOOST PULSE ANIMATION
   ========================================================= */

@keyframes boostPulse{
  0%{
    transform: scale(.92);
    opacity: 0;
    box-shadow: 0 0 0 transparent;
  }
  60%{
    transform: scale(1.02);
    opacity: 1;
    box-shadow: 0 0 36px var(--aura-color);
  }
  100%{
    transform: scale(1);
    box-shadow:
      0 0 28px color-mix(in srgb, var(--aura-color) 45%, transparent);
  }
}





/* ===============================
   BOOST MESSAGE (after activate)
   =============================== */

.boost-success-only {
  text-align: center;
  padding: 20px 10px;
}

.boost-success-title {
  font-size: 18px;
  font-weight: 800;
  color: #22fda4;
  margin-bottom: 10px;
}

.boost-success-text {
  font-size: 14px;
  color: #ccefff;
}




.boost-active-info{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  margin:10px auto 6px;
  padding:8px 14px;
  width:fit-content;

  border-radius:999px;
  background:rgba(34,253,164,.15);
  border:1px solid rgba(34,253,164,.45);

  color:#22fda4;
  font-weight:700;
  font-size:14px;
}

.boost-active-top{
  margin-top:12px;
}








/* =========================================================
   BOOST LEVELS GRID
   — контейнер всех кнопок +1 / +10 / +50 / MAX
   ========================================================= */
.boost-levels{
  display: grid;

  /* ⬇ СЕТКА: 4 кнопки в ряд */
  grid-template-columns: repeat(4, 1fr);

  /* ⬇ расстояние МЕЖДУ кнопками */
  gap: 10px;
}

/* =========================================================
   BOOST BUTTON BASE
   — ОБЩИЙ СТИЛЬ КНОПОК (+1 / +10 / +50)
   ========================================================= */
.boost-level{

  /* 🔥 ВОТ ТУТ УПРАВЛЯЕТСЯ ВЫСОТА КНОПКИ */
  height: 64px;   /* ← меняешь это число — меняется высота ВСЕХ кнопок */

  /* фон кнопки */
  background: linear-gradient(180deg, #ff3b3b, #c81f1f);

  /* скругление */
  border-radius: 14px;

  /* ⬇ внутренние отступы (НЕ высота!) */
  padding: 8px 6px;

  border: none;
  color: #fff;
  cursor: pointer;

  /* 🔒 запрещаем перенос строк */
  white-space: nowrap;

  /* ⬇ центрирование текста по вертикали и горизонтали */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 18px rgba(255,0,0,.35);
  box-sizing: border-box;
}

/* =========================================================
   DISABLED STATE
   — когда кнопка недоступна
   ========================================================= */
.boost-level:disabled{
  opacity: .45;
  filter: grayscale(1);
  cursor: not-allowed;
}

/* =========================================================
   PERCENT TEXT
   — +1% / +10% / +50%
   ========================================================= */
.boost-pct{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .5px;
  line-height: 1;
}

/* =========================================================
   COST ROW
   — цена под процентом
   ========================================================= */
.boost-cost{
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
  line-height: 1;
}

/* число цены */
.boost-price{
  font-size: 13px;
  font-weight: 700;
}

/* единица измерения (pts) */
.boost-unit{
  font-size: 10px;
  opacity: .7;
}

/* =========================================================
   MAX BUTTON
   — отдельный стиль для кнопки MAX
   ========================================================= */
.boost-level.boost-max{
  background: linear-gradient(180deg, #ffd700, #ff9f00);
  color: #2a1600;
  box-shadow: 0 8px 26px rgba(255,200,0,.6);
}

/* текст MAX чуть меньше */
.boost-level.boost-max .boost-pct{
  font-size: 16px;
  letter-spacing: 1px;
}

/* =========================================================
   LIMIT REACHED BLOCK
   — БЛОК «ЛИМИТ ДОСТИГНУТ»
   ========================================================= */
.boost-limit-reached{

  /* ⬇ ОТСТУПЫ СВЕРХУ И СНИЗУ (чтобы НЕ слипалось с кнопками) */
  margin: 12px 0 14px;

  /* 🔥 ВОТ ТУТ УПРАВЛЯЕТСЯ ВЫСОТА БЛОКА */
  padding: 12px;   /* ← увеличь → блок станет ВЫШЕ */

  text-align: center;
  font-weight: 800;
  font-size: 13px;

  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #ff6b6b;

  /* внутренняя рамка */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

/* ===============================
   BOOST CANCEL BUTTON
   =============================== */
.boost-actions > .boost-cancel{
  height: 52px;              /* высота кнопки */
  width: 100%;

  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;

  font-size: 20px !important;
  font-weight: 700;
  line-height: 52px;         /* ⬅ центрирование текста */

  border: none;
  cursor: pointer;
}

