/* Oracle Bottom Actions V132.
   After all cards are opened, show clear next step below cards. */

/* Верхнюю кнопку толкования убираем из визуального сценария.
   Она остаётся в DOM, нижняя кнопка вызывает её click(). */
body.oracle-clean-v7b.oracle-bottom-actions-v132 .oracle-actions [data-oracle-read]{
  display:none !important;
}

/* Верхний блок действий становится проще */
body.oracle-clean-v7b.oracle-bottom-actions-v132 .oracle-actions{
  justify-content:center !important;
}

/* Нижний UX-блок */
body.oracle-clean-v7b .oracle-bottom-actions-v132{
  display:none;
  max-width:940px;
  margin:24px auto 26px;
  padding:20px;
  border-radius:28px;
  border:1px solid rgba(243,217,157,.32);
  background:
    radial-gradient(circle at 12% 16%,rgba(243,217,157,.12),transparent 34%),
    radial-gradient(circle at 88% 82%,rgba(104,38,55,.14),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.05),rgba(4,8,15,.68));
  box-shadow:0 22px 62px rgba(0,0,0,.28);
  backdrop-filter:blur(9px);
  position:relative;
  overflow:hidden;
}

body.oracle-clean-v7b .oracle-bottom-actions-v132.is-visible{
  display:block;
  animation:oracleBottomInV132 .72s cubic-bezier(.22,.72,.22,1) both;
}

body.oracle-clean-v7b .oracle-bottom-actions-v132::before{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(243,217,157,.65),transparent);
  opacity:.75;
}

body.oracle-clean-v7b .oracle-bottom-actions-v132.is-focus-glow{
  animation:oracleBottomGlowV132 1.55s ease both;
}

body.oracle-clean-v7b .oracle-bottom-head-v132{
  text-align:center;
  margin-bottom:16px;
}

body.oracle-clean-v7b .oracle-bottom-kicker-v132{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 12px;
  margin-bottom:10px;
  border-radius:999px;
  border:1px solid rgba(243,217,157,.34);
  background:rgba(0,0,0,.18);
  color:#ffe8ad;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

body.oracle-clean-v7b .oracle-bottom-head-v132 h3{
  margin:0 0 8px;
  font-family:Forum, Georgia, serif;
  font-size:clamp(28px,3vw,42px);
  line-height:1.04;
  color:#fff0c8;
}

body.oracle-clean-v7b .oracle-bottom-head-v132 p{
  max-width:680px;
  margin:0 auto;
  color:rgba(255,241,210,.76);
  font-size:15px;
  line-height:1.55;
}

/* Внутри нижнего блока комбо-плашка должна быть заметнее */
body.oracle-clean-v7b .oracle-bottom-combo-slot-v132 .oracle-combo-v130{
  display:block;
  margin:16px 0 18px;
  max-width:none;
}

body.oracle-clean-v7b .oracle-bottom-combo-slot-v132 .oracle-combo-v130:not(.is-visible){
  display:none;
}

/* Если особой связки нет */
body.oracle-clean-v7b .oracle-no-combo-v132{
  display:none;
  margin:16px 0 18px;
  padding:15px 16px;
  border-radius:20px;
  border:1px solid rgba(243,217,157,.22);
  background:rgba(255,255,255,.035);
  color:rgba(255,241,210,.76);
  line-height:1.5;
  text-align:center;
}

body.oracle-clean-v7b .oracle-no-combo-v132.is-visible{
  display:block;
}

/* Кнопки снизу */
body.oracle-clean-v7b .oracle-bottom-buttons-v132{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:16px;
}

body.oracle-clean-v7b .oracle-bottom-btn-v132{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 22px;
  border-radius:999px;
  border:1px solid rgba(243,217,157,.62);
  background:linear-gradient(135deg,rgba(212,170,99,.28),rgba(104,38,55,.22));
  color:#fff;
  box-shadow:0 14px 38px rgba(0,0,0,.25);
  font-size:15px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.24s ease;
}

body.oracle-clean-v7b .oracle-bottom-btn-v132:hover:not(:disabled),
body.oracle-clean-v7b .oracle-bottom-btn-v132:focus-visible:not(:disabled){
  transform:translateY(-2px);
  border-color:rgba(243,217,157,.92);
  box-shadow:0 20px 50px rgba(212,170,99,.18),0 0 24px rgba(212,170,99,.12);
  outline:none;
}

body.oracle-clean-v7b .oracle-bottom-btn-v132.secondary{
  background:rgba(0,0,0,.20);
  border-color:rgba(243,217,157,.34);
  color:#f7e8c2;
}

body.oracle-clean-v7b .oracle-bottom-btn-v132:disabled{
  opacity:.48;
  cursor:not-allowed;
  transform:none !important;
}

body.oracle-clean-v7b .oracle-bottom-small-v132{
  margin-top:12px;
  text-align:center;
  color:rgba(255,241,210,.58);
  font-size:13px;
  line-height:1.45;
}

/* Старый hint V121 ниже кнопок не должен спорить с новым сценарием */
body.oracle-clean-v7b .oracle-bottom-actions-v132 + .oracle-reading-hint{
  margin-top:10px;
}

@keyframes oracleBottomInV132{
  from{
    opacity:0;
    transform:translateY(12px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes oracleBottomGlowV132{
  0%{
    box-shadow:0 22px 62px rgba(0,0,0,.28);
  }
  35%{
    box-shadow:
      0 22px 62px rgba(0,0,0,.32),
      0 0 0 1px rgba(243,217,157,.14),
      0 0 44px rgba(212,170,99,.18);
  }
  100%{
    box-shadow:0 22px 62px rgba(0,0,0,.28);
  }
}

@media (max-width:760px){
  body.oracle-clean-v7b .oracle-bottom-actions-v132{
    margin:20px 0 24px;
    padding:16px;
  }

  body.oracle-clean-v7b .oracle-bottom-buttons-v132{
    display:grid;
    grid-template-columns:1fr;
  }

  body.oracle-clean-v7b .oracle-bottom-btn-v132{
    width:100%;
  }
}
