/* Oracle V7H.
   Exact native-like buttons: main page palette + rune system preserved.
   CSS only. */

/* base button geometry copied from real .btn */
body.oracle-clean-v7b .oracle-panel .btn.oracle-btn,
body.oracle-clean-v7b .oracle-result .btn.oracle-btn,
body.oracle-clean-v7b .oracle-cta .btn.oracle-btn,
body.oracle-clean-v7b .oracle-mobile-action.btn,
body.oracle-clean-v7b [data-spread-value].btn,
body.oracle-clean-v7b [data-oracle-draw].btn,
body.oracle-clean-v7b [data-oracle-read].btn{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;

  min-height:50px !important;
  padding:14px 22px !important;
  border-radius:999px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;

  color:#fff !important;
  text-shadow:0 1px 0 rgba(0,0,0,.42) !important;

  overflow:hidden !important;
  cursor:pointer !important;
  transition:.25s !important;
}

/* PRIMARY: как “ВОЙТИ В ИЗБУ-ЛАВКУ” */
body.oracle-clean-v7b [data-oracle-draw].btn,
body.oracle-clean-v7b [data-spread-value].btn.is-active{
  border:1px solid rgba(243,217,157,.68) !important;
  background:
    linear-gradient(135deg,rgba(212,170,99,.28),rgba(104,38,55,.24)) !important;
  box-shadow:0 12px 35px rgba(0,0,0,.25) !important;
}

/* SECONDARY: как “КУПИТЬ КНИГУ / СМОТРЕТЬ КЛИП” */
body.oracle-clean-v7b [data-spread-value].btn:not(.is-active),
body.oracle-clean-v7b [data-oracle-read].btn,
body.oracle-clean-v7b .oracle-cta .btn.oracle-btn,
body.oracle-clean-v7b .oracle-mobile-action.btn:not([data-oracle-draw]){
  border:1px solid rgba(243,217,157,.42) !important;
  background:rgba(8,9,14,.44) !important;
  box-shadow:0 12px 35px rgba(0,0,0,.25) !important;
  color:#fff !important;
}

/* hover нативный */
body.oracle-clean-v7b .oracle-panel .btn.oracle-btn:hover:not(:disabled),
body.oracle-clean-v7b .oracle-result .btn.oracle-btn:hover:not(:disabled),
body.oracle-clean-v7b .oracle-cta .btn.oracle-btn:hover,
body.oracle-clean-v7b .oracle-mobile-action.btn:hover:not(:disabled),
body.oracle-clean-v7b [data-spread-value].btn:hover:not(:disabled),
body.oracle-clean-v7b [data-oracle-draw].btn:hover:not(:disabled),
body.oracle-clean-v7b [data-oracle-read].btn:hover:not(:disabled){
  transform:translateY(-2px) !important;
  box-shadow:0 18px 45px rgba(212,170,99,.2) !important;
  border-color:rgba(243,217,157,.95) !important;
}

/* active press */
body.oracle-clean-v7b .oracle-panel .btn.oracle-btn:active:not(:disabled),
body.oracle-clean-v7b .oracle-result .btn.oracle-btn:active:not(:disabled),
body.oracle-clean-v7b .oracle-mobile-action.btn:active:not(:disabled),
body.oracle-clean-v7b [data-spread-value].btn:active:not(:disabled),
body.oracle-clean-v7b [data-oracle-draw].btn:active:not(:disabled),
body.oracle-clean-v7b [data-oracle-read].btn:active:not(:disabled){
  transform:translateY(0) scale(.99) !important;
}

/* disabled = та же система, но приглушённая */
body.oracle-clean-v7b .oracle-panel .btn.oracle-btn:disabled,
body.oracle-clean-v7b .oracle-result .btn.oracle-btn:disabled,
body.oracle-clean-v7b .oracle-mobile-action.btn:disabled,
body.oracle-clean-v7b [data-oracle-read].btn:disabled{
  opacity:.46 !important;
  cursor:not-allowed !important;
  transform:none !important;
  color:rgba(255,255,255,.55) !important;
  border-color:rgba(243,217,157,.22) !important;
  background:rgba(8,9,14,.32) !important;
  box-shadow:none !important;
}

/* disabled не должен показывать руны */
body.oracle-clean-v7b .btn:disabled .rune-glow-overlay{
  display:none !important;
}

/* widths closer to hero buttons */
body.oracle-clean-v7b [data-spread-value].btn{
  min-width:230px !important;
}

body.oracle-clean-v7b [data-oracle-draw].btn{
  min-width:360px !important;
}

body.oracle-clean-v7b [data-oracle-read].btn{
  min-width:250px !important;
}

/* Раскладные кнопки: расстояние ближе к hero btn-row */
body.oracle-clean-v7b .oracle-controls{
  gap:16px !important;
}

body.oracle-clean-v7b .oracle-actions{
  gap:16px !important;
}

/* rune overlay should not distort button text line */
body.oracle-clean-v7b .rune-glow-overlay{
  border-radius:inherit !important;
}

body.oracle-clean-v7b .rune-glyph{
  font-family:Georgia,"Times New Roman",serif !important;
  font-weight:600 !important;
}

/* mobile */
@media (max-width:700px){
  body.oracle-clean-v7b .oracle-panel .btn.oracle-btn,
  body.oracle-clean-v7b .oracle-result .btn.oracle-btn,
  body.oracle-clean-v7b .oracle-cta .btn.oracle-btn,
  body.oracle-clean-v7b .oracle-mobile-action.btn,
  body.oracle-clean-v7b [data-spread-value].btn,
  body.oracle-clean-v7b [data-oracle-draw].btn,
  body.oracle-clean-v7b [data-oracle-read].btn{
    width:100% !important;
    min-width:0 !important;
    max-width:420px !important;
    min-height:52px !important;
    padding:13px 18px !important;
    font-size:13px !important;
    letter-spacing:.045em !important;
  }

  body.oracle-clean-v7b .oracle-controls,
  body.oracle-clean-v7b .oracle-actions{
    gap:10px !important;
  }
}
