/* =====================================================================
   hebraico.css — estilos do módulo Hebraico Bíblico
   Escopado em .heb-app — design idêntico ao index.html original
   ===================================================================== */

/* ── VARIÁVEIS (autocontidas) ──────────────────────────────────────── */

.heb-app {
  --ink: #0d0f14;
  --paper: #f0f3f8;
  --accent: #2a6dd9;
  --accent2: #1a4fa8;
  --gold: #7aaef5;
  --muted: #707a8a;
  --border: rgba(240, 243, 248, 0.1);
  --card-bg: rgba(240, 243, 248, 0.04);
  --font-heb: "Noto Serif Hebrew", serif;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  /* min-height: 100vh; */
  position: relative;
  /* padding-bottom: 5rem; */
}

.heb-app *,
.heb-app *::before,
.heb-app *::after {
  box-sizing: border-box;
}

.heb-app .heb-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 243, 248, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 243, 248, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.heb-app .heb-glow {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(42, 109, 217, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

.heb-app .heb-main {
  min-height: 100vh;
}

/* Drawer e bottom nav — ocultos no desktop, visíveis só em mobile via @media abaixo */
.heb-app .heb-bottom-nav,
.heb-drawer,
.heb-drawer-backdrop {
  display: none;
}

/* NAV */

/* MAIN */

.heb-app .heb-section {
  display: none;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeUp 0.5s ease forwards;
}

.heb-app .heb-section.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */

.heb-app .heb-hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
}

.heb-app .heb-mono-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.heb-app .heb-mono-tag::before,
.heb-app .heb-mono-tag::after {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.heb-app .heb-hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.heb-app .heb-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.heb-app .heb-hero .heb-hebrew-big {
  font-family: var(--font-heb);
  font-size: clamp(3rem, 10vw, 7rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(42, 109, 217, 0.4);
  display: block;
  margin-bottom: 0.5rem;
  direction: rtl;
  letter-spacing: 0.1em;
}

.heb-app .heb-hero p {
  color: rgba(240, 243, 248, 0.45);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 42ch;
  margin: 0 auto 2.5rem;
}

.heb-app .heb-hero-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.heb-app .heb-hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 140px;
}

.heb-app .heb-hero-card:hover {
  border-color: rgba(42, 109, 217, 0.4);
  background: rgba(42, 109, 217, 0.06);
  transform: translateY(-3px);
}

.heb-app .heb-hero-card .heb-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.heb-app .heb-hero-card small {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.4);
}

/* SECTION TITLE */

.heb-app .heb-section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.heb-app .heb-section-title em {
  font-style: italic;
  color: var(--accent);
}

.heb-app .heb-section-sub {
  font-size: 0.875rem;
  color: rgba(240, 243, 248, 0.4);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* ALPHABET GRID */

.heb-app .heb-alphabet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}

.heb-app .heb-letter-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 0.75rem;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.heb-app .heb-letter-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.heb-app .heb-letter-card:hover {
  border-color: rgba(42, 109, 217, 0.4);
  background: rgba(42, 109, 217, 0.06);
  transform: translateY(-3px);
}

.heb-app .heb-letter-card:hover::before {
  transform: scaleX(1);
}

.heb-app .heb-letter-card.sofit {
  border-color: rgba(122, 174, 245, 0.2);
}

.heb-app .heb-letter-card.sofit .heb-letter-badge {
  background: rgba(122, 174, 245, 0.1);
  color: #7aaef5;
}

.heb-app .heb-letter-card.dagesh {
  border-color: rgba(42, 109, 217, 0.25);
}

.heb-app .heb-letter-card.dagesh .heb-letter-badge {
  background: rgba(42, 109, 217, 0.12);
  color: var(--accent);
}

.heb-app .heb-letter-card.diacritic {
  border-color: rgba(100, 160, 255, 0.2);
}

.heb-app .heb-letter-card.diacritic .heb-letter-badge {
  background: rgba(100, 160, 255, 0.1);
  color: #64a0ff;
}

.heb-app .heb-letter-heb {
  font-size: 2.5rem;
  font-family: var(--font-heb);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
  direction: rtl;
}

.heb-app .heb-letter-name {
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}

.heb-app .heb-letter-translit {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(240, 243, 248, 0.4);
  display: block;
  margin-bottom: 0.4rem;
}

.heb-app .heb-letter-badge {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  display: inline-block;
}

.heb-app .heb-letter-num {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  color: rgba(240, 243, 248, 0.2);
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
}

.heb-app .heb-sound-btn {
  background: rgba(42, 109, 217, 0.15);
  border: 1px solid rgba(42, 109, 217, 0.3);
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.65rem;
  font-family: "DM Mono", monospace;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.heb-app .heb-sound-btn:hover {
  background: rgba(42, 109, 217, 0.3);
}

/* FILTER TAGS */

.heb-app .heb-filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.heb-app .heb-filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: rgba(240, 243, 248, 0.4);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.heb-app .heb-filter-btn:hover {
  color: rgba(240, 243, 248, 0.8);
  border-color: rgba(240, 243, 248, 0.2);
}

.heb-app .heb-filter-btn.active {
  background: rgba(42, 109, 217, 0.12);
  border-color: rgba(42, 109, 217, 0.4);
  color: var(--accent);
}

/* MODAL */

.heb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 15, 20, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.heb-modal-overlay.open {
  display: flex;
}

.heb-modal {
  background: #12151c;
  border: 1px solid rgba(42, 109, 217, 0.3);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: fadeUp 0.3s ease;
}

.heb-modal {
  background: #12151c;
  border: 1px solid rgba(42, 109, 217, 0.3);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: fadeUp 0.3s ease;
  color: #f0f3f8;
  box-sizing: border-box;
}

.heb-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(240, 243, 248, 0.4);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.heb-modal-close:hover {
  color: #f0f3f8;
}

.heb-modal-letter-big {
  font-size: 5rem;
  font-family: "Noto Serif Hebrew", serif;
  text-align: center;
  display: block;
  direction: rtl;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.heb-modal-sofit {
  text-align: center;
  margin-bottom: 1.5rem;
}

.heb-sofit-char {
  font-size: 3rem;
  font-family: "Noto Serif Hebrew", serif;
  direction: rtl;
  color: rgba(122, 174, 245, 0.7);
  margin-left: 0.5rem;
}

.heb-modal-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.25rem;
}

.heb-modal-meta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.heb-meta-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
}

.heb-meta-tag.blue {
  background: rgba(42, 109, 217, 0.15);
  color: #2a6dd9;
  border: 1px solid rgba(42, 109, 217, 0.3);
}

.heb-meta-tag.light {
  background: rgba(122, 174, 245, 0.1);
  color: #7aaef5;
  border: 1px solid rgba(122, 174, 245, 0.2);
}

.heb-meta-tag.muted {
  background: rgba(240, 243, 248, 0.05);
  color: rgba(240, 243, 248, 0.4);
  border: 1px solid rgba(240, 243, 248, 0.1);
}

.heb-modal-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(240, 243, 248, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 243, 248, 0.1);
}

.heb-modal-dagesh-info {
  background: rgba(42, 109, 217, 0.06);
  border: 1px solid rgba(42, 109, 217, 0.15);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.825rem;
  color: rgba(240, 243, 248, 0.65);
  line-height: 1.6;
}

.heb-modal-dagesh-info strong {
  color: #2a6dd9;
  font-weight: 500;
}

.heb-modal-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: #2a6dd9;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.9rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  letter-spacing: 0.02em;
}

.heb-modal-play-btn:hover {
  background: #3a7de9;
  transform: translateY(-1px);
}

.heb-icon-speak {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.heb-modal-alt-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(42, 109, 217, 0.05);
  border: 1px solid rgba(42, 109, 217, 0.12);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  direction: rtl;
}

.heb-modal-alt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.heb-modal-alt-char {
  font-size: 2.2rem;
  font-family: "Noto Serif Hebrew", serif;
  line-height: 1;
}

.heb-modal-alt-lbl {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.35);
  direction: ltr;
}

.heb-modal-alt-arrow {
  color: rgba(240, 243, 248, 0.15);
  font-size: 1.2rem;
  align-self: center;
}

/* VOWELS */

.heb-app .heb-vowel-group {
  margin-bottom: 2.5rem;
}

.heb-app .heb-vowel-group-title {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.heb-app .heb-vowel-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(42, 109, 217, 0.2);
}

.heb-app .heb-vowel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.heb-app .heb-vowel-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.heb-app .heb-vowel-card:hover {
  border-color: rgba(42, 109, 217, 0.4);
  background: rgba(42, 109, 217, 0.06);
  transform: translateY(-2px);
}

.heb-app .heb-vowel-symbol {
  font-size: 2.2rem;
  font-family: var(--font-heb);
  direction: rtl;
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.heb-app .heb-vowel-name {
  font-family: "Playfair Display", serif;
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}

.heb-app .heb-vowel-translit {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(240, 243, 248, 0.4);
  display: block;
  margin-bottom: 0.3rem;
}

.heb-app .heb-vowel-desc {
  font-size: 0.7rem;
  color: rgba(240, 243, 248, 0.35);
  line-height: 1.4;
}

/* QUIZ */

.heb-app .heb-quiz-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.heb-app .heb-quiz-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3rem 2rem;
  margin-bottom: 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.heb-app .heb-quiz-question-letter {
  font-size: 6rem;
  font-family: var(--font-heb);
  direction: rtl;
  line-height: 1;
  margin-bottom: 1rem;
}

.heb-app .heb-quiz-question-text {
  font-size: 0.875rem;
  color: rgba(240, 243, 248, 0.4);
  font-weight: 300;
}

.heb-app .heb-quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.heb-app .heb-quiz-opt {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1rem;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  transition: all 0.15s;
}

.heb-app .heb-quiz-opt.heb-opt {
  font-family: var(--font-heb);
  font-size: 2rem;
  padding: 0.75rem;
  direction: rtl;
}

.heb-app .heb-quiz-opt:hover {
  background: rgba(42, 109, 217, 0.08);
  border-color: rgba(42, 109, 217, 0.3);
}

.heb-app .heb-quiz-opt.correct {
  background: rgba(42, 109, 217, 0.18);
  border-color: var(--accent);
  color: #7aaef5;
}

.heb-app .heb-quiz-opt.wrong {
  background: rgba(180, 50, 50, 0.12);
  border-color: rgba(180, 50, 50, 0.4);
  color: rgba(240, 100, 100, 0.8);
}

.heb-app .heb-quiz-opt:disabled {
  pointer-events: none;
}

.heb-app .heb-quiz-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.heb-app .heb-quiz-stat {
  text-align: center;
}

.heb-app .heb-quiz-stat .val {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.heb-app .heb-quiz-stat small {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.3);
}

.heb-app .heb-quiz-mode-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.heb-app .heb-quiz-mode-btn {
  background: none;
  border: 1px solid var(--border);
  color: rgba(240, 243, 248, 0.4);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.heb-app .heb-quiz-mode-btn:hover {
  color: rgba(240, 243, 248, 0.8);
}

.heb-app .heb-quiz-mode-btn.active {
  background: rgba(42, 109, 217, 0.12);
  border-color: rgba(42, 109, 217, 0.4);
  color: var(--accent);
}

.heb-app .heb-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.heb-app .heb-btn-next:hover {
  background: #3a7de9;
  transform: translateY(-2px);
}

.heb-app .heb-feedback-msg {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.75rem 0;
  min-height: 1.4rem;
  transition: all 0.2s;
}

.heb-app .heb-feedback-msg.ok {
  color: #7aaef5;
}

.heb-app .heb-feedback-msg.err {
  color: rgba(240, 100, 100, 0.8);
}

/* DAGESH */

.heb-app .heb-dagesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.heb-app .heb-dagesh-card {
  background: var(--card-bg);
  border: 1px solid rgba(42, 109, 217, 0.15);
  border-radius: 4px;
  padding: 1.25rem;
}

.heb-app .heb-dagesh-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  direction: rtl;
}

.heb-app .heb-dagesh-pair .without {
  font-size: 2.5rem;
  font-family: var(--font-heb);
  color: rgba(240, 243, 248, 0.3);
}

.heb-app .heb-dagesh-pair .arrow {
  font-size: 0.8rem;
  color: rgba(240, 243, 248, 0.2);
}

.heb-app .heb-dagesh-pair .with {
  font-size: 2.5rem;
  font-family: var(--font-heb);
  color: var(--accent);
}

.heb-app .heb-dagesh-card-name {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.heb-app .heb-dagesh-card-rule {
  font-size: 0.75rem;
  color: rgba(240, 243, 248, 0.4);
  line-height: 1.5;
}

/* FLASHCARD */

.heb-app .heb-flashcard-wrap {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.heb-app .heb-flashcard {
  background: var(--card-bg);
  border: 1px solid rgba(42, 109, 217, 0.25);
  border-radius: 6px;
  padding: 3.5rem 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.heb-app .heb-flashcard:hover {
  border-color: rgba(42, 109, 217, 0.5);
  background: rgba(42, 109, 217, 0.05);
}

.heb-app .heb-flashcard .front {
  display: block;
}

.heb-app .heb-flashcard .back {
  display: none;
}

.heb-app .heb-flashcard.flipped .front {
  display: none;
}

.heb-app .heb-flashcard.flipped .back {
  display: block;
}

.heb-app .heb-flashcard-letter {
  font-size: 5.5rem;
  font-family: var(--font-heb);
  direction: rtl;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.heb-app .heb-flashcard-hint {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(240, 243, 248, 0.25);
  text-transform: uppercase;
}

.heb-app .heb-flashcard-answer {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.heb-app .heb-flashcard-answer.is-heb {
  font-family: var(--font-heb);
  font-size: 5rem;
  direction: rtl;
  line-height: 1.1;
}

.heb-app .heb-flashcard-answer em {
  color: var(--accent);
  font-style: italic;
}

.heb-app .heb-flashcard-details {
  font-size: 0.8rem;
  color: rgba(240, 243, 248, 0.5);
  line-height: 1.6;
}

.heb-app .heb-fc-btn {
  background: none;
  border: 1px solid var(--border);
  color: rgba(240, 243, 248, 0.4);
  padding: 0.65rem 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.heb-app .heb-fc-btn:hover {
  color: rgba(240, 243, 248, 0.8);
  border-color: rgba(240, 243, 248, 0.25);
}

.heb-app .heb-fc-btn.primary {
  background: rgba(42, 109, 217, 0.12);
  border-color: rgba(42, 109, 217, 0.4);
  color: var(--accent);
}

.heb-app .heb-fc-progress {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  color: rgba(240, 243, 248, 0.3);
  letter-spacing: 0.1em;
}

.heb-app .heb-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(240, 243, 248, 0.08);
  border-radius: 1px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.heb-app .heb-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s ease;
}

/* TABLE */

.heb-app .heb-table-wrap {
  overflow-x: auto;
}

.heb-app table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.heb-app thead tr {
  border-bottom: 1px solid rgba(42, 109, 217, 0.3);
}

.heb-app th {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 400;
}

.heb-app td {
  padding: 0.75rem 1rem;
  color: rgba(240, 243, 248, 0.75);
  border-bottom: 1px solid rgba(240, 243, 248, 0.04);
}

.heb-app .heb-td-heb {
  font-size: 1.5rem;
  font-family: var(--font-heb);
  direction: rtl;
}

.heb-app tr:hover td {
  background: rgba(42, 109, 217, 0.04);
}

/* SPEAKER ICON */

.heb-app .heb-icon-speak {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  vertical-align: middle;
}

/* ALT / SOFIT rows inside letter card */

.heb-app .heb-letter-alt-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.4rem 0 0.2rem;
  direction: rtl;
}

.heb-app .heb-letter-alt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.heb-app .heb-letter-alt-char {
  font-size: 1.5rem;
  line-height: 1;
}

.heb-app .heb-letter-alt-label {
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: rgba(240, 243, 248, 0.3);
  text-transform: uppercase;
  direction: ltr;
}

.heb-app .heb-letter-alt-sep {
  color: rgba(240, 243, 248, 0.15);
  font-size: 1rem;
  align-self: center;
}

.heb-app .heb-letter-sofit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.2rem;
  direction: rtl;
}

/* Modal alt block */

/* BOTTOM NAV MOBILE — estilos globais removidos; tudo dentro do @media abaixo */

/* =====================
   GUIA VISUAL DE VOGAIS
===================== */

.heb-app .heb-vg-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.heb-app .heb-vg-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}

.heb-app .heb-vg-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 52px;
  padding-top: 0.6rem;
  flex-shrink: 0;
}

.heb-app .heb-vg-vowel-pt {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.heb-app .heb-vg-arrow {
  font-size: 0.9rem;
  color: rgba(240, 243, 248, 0.2);
}

.heb-app .heb-vg-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}

.heb-app .heb-vg-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(240, 243, 248, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: all 0.18s;
  min-width: 190px;
  flex: 1;
}

.heb-app .heb-vg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 109, 217, 0.35);
  background: rgba(42, 109, 217, 0.06);
}

.heb-app .heb-vg-cat-long {
  border-left: 3px solid #4a90e8;
}

.heb-app .heb-vg-cat-short {
  border-left: 3px solid #e05c5c;
}

.heb-app .heb-vg-cat-sheva {
  border-left: 3px solid #8e44ad;
}

.heb-app .heb-vg-mark {
  font-family: var(--font-heb);
  font-size: 2.4rem;
  direction: rtl;
  line-height: 1.3;
  min-width: 2.2rem;
  text-align: center;
  color: var(--paper);
  flex-shrink: 0;
}

.heb-app .heb-vg-card-name {
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--paper);
}

.heb-app .heb-vg-card-translit {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.heb-app .heb-vg-card-cat {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heb-app .heb-vg-cat-long .heb-vg-card-cat {
  color: #4a90e8;
}

.heb-app .heb-vg-cat-short .heb-vg-card-cat {
  color: #e05c5c;
}

.heb-app .heb-vg-cat-sheva .heb-vg-card-cat {
  color: #8e44ad;
}

.heb-app .heb-vg-card-desc {
  font-size: 0.7rem;
  color: rgba(240, 243, 248, 0.38);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* Sinal isolado no canto direito */

.heb-app .heb-vg-sign-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(240, 243, 248, 0.03);
  border: 1px solid rgba(240, 243, 248, 0.07);
  border-radius: 6px;
}

.heb-app .heb-vg-sign-ghost {
  font-family: var(--font-heb);
  font-size: 2rem;
  direction: rtl;
  line-height: 1;
}

.heb-app .heb-vg-cat-long .heb-vg-sign-ghost {
  color: #6aabf0;
}

.heb-app .heb-vg-cat-short .heb-vg-sign-ghost {
  color: #e07070;
}

.heb-app .heb-vg-cat-sheva .heb-vg-sign-ghost {
  color: #b07edf;
}

/* Canvas gerado por JS — ocupa o mesmo espaço */

.heb-app .heb-vg-sign-wrap canvas {
  border-radius: 3px;
}

/* Mobile */

/* =====================
   TABELA MASSORÉTICA
===================== */

.heb-app .heb-vt-filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.heb-app .heb-vt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.heb-app .heb-vt-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

/* Cabeçalho das letras */

.heb-app .heb-vt-th-letter {
  background: rgba(42, 109, 217, 0.07);
  border-bottom: 1px solid rgba(42, 109, 217, 0.25);
  border-right: 1px solid var(--border);
  padding: 0.5rem 0.4rem;
  text-align: center;
  min-width: 52px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.heb-app .heb-vt-col-heb {
  font-family: var(--font-heb);
  font-size: 1.4rem;
  display: block;
  direction: rtl;
  line-height: 1.2;
  color: var(--paper);
}

.heb-app .heb-vt-col-name {
  font-family: "DM Mono", monospace;
  font-size: 0.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.3);
  display: block;
  margin-top: 0.15rem;
}

/* Cabeçalho fixo esquerdo */

.heb-app .heb-vt-th-vowel {
  background: rgba(13, 15, 20, 0.95);
  border-bottom: 1px solid rgba(42, 109, 217, 0.25);
  border-right: 1px solid rgba(42, 109, 217, 0.2);
  padding: 0.6rem 0.75rem;
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
  min-width: 120px;
}

.heb-app .heb-vt-th-translit {
  background: rgba(13, 15, 20, 0.95);
  border-bottom: 1px solid rgba(42, 109, 217, 0.25);
  border-right: 1px solid var(--border);
  padding: 0.6rem 0.5rem;
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(240, 243, 248, 0.3);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  min-width: 44px;
}

/* Células de dados */

.heb-app .heb-vt-cell {
  border-right: 1px solid rgba(240, 243, 248, 0.04);
  border-bottom: 1px solid rgba(240, 243, 248, 0.04);
  padding: 0.35rem 0.2rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}

.heb-app .heb-vt-cell:hover {
  background: rgba(42, 109, 217, 0.12);
}

.heb-app .heb-vt-cell-empty {
  border-right: 1px solid rgba(240, 243, 248, 0.03);
  border-bottom: 1px solid rgba(240, 243, 248, 0.03);
  padding: 0.35rem 0.2rem;
  text-align: center;
}

.heb-app .heb-vt-char {
  font-family: var(--font-heb);
  font-size: 1.5rem;
  direction: rtl;
  display: block;
  line-height: 1.5;
}

/* Cor por categoria */

.heb-app .heb-vt-cell-long .heb-vt-char {
  color: #4a90e8;
}

.heb-app .heb-vt-cell-short .heb-vt-char {
  color: #c0392b;
}

.heb-app .heb-vt-cell-sheva .heb-vt-char {
  color: #8e44ad;
}

.heb-app .heb-vt-cell-empty .heb-vt-char {
  color: rgba(240, 243, 248, 0.1);
  font-size: 0.8rem;
}

/* Coluna de nome da vogal (fixa à esquerda) */

.heb-app .heb-vt-td-vowel {
  position: sticky;
  left: 0;
  background: rgba(13, 15, 20, 0.97);
  border-right: 1px solid rgba(42, 109, 217, 0.2);
  border-bottom: 1px solid rgba(240, 243, 248, 0.05);
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  z-index: 1;
}

.heb-app .heb-vt-vowel-name {
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  color: var(--paper);
}

.heb-app .heb-vt-vowel-note {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: rgba(240, 243, 248, 0.3);
  display: block;
  margin-top: 0.1rem;
  text-transform: uppercase;
}

/* Coluna de transliteração */

.heb-app .heb-vt-td-translit {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid rgba(240, 243, 248, 0.05);
  padding: 0.5rem 0.4rem;
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent);
}

/* Separadores visuais entre grupos */

.heb-app .heb-vt-row-long .heb-vt-td-vowel {
  border-left: 3px solid #4a90e8;
}

.heb-app .heb-vt-row-short .heb-vt-td-vowel {
  border-left: 3px solid #c0392b;
}

.heb-app .heb-vt-row-sheva .heb-vt-td-vowel {
  border-left: 3px solid #8e44ad;
}

/* Hover na linha inteira */

.heb-app .heb-vt-table tbody tr:hover .heb-vt-cell,
.heb-app .heb-vt-table tbody tr:hover .heb-vt-cell-empty {
  background: rgba(42, 109, 217, 0.04);
}

/* Legenda */

.heb-app .heb-vt-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.heb-app .heb-vt-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.4);
}

.heb-app .heb-vt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.heb-app .heb-vt-dot.long {
  background: #4a90e8;
}

.heb-app .heb-vt-dot.short {
  background: #c0392b;
}

.heb-app .heb-vt-dot.sheva {
  background: #8e44ad;
}

/* =====================
   FIM TABELA MASSORÉTICA
===================== */

/* =====================
   TECLADO HEBRAICO + DICIONÁRIO
===================== */

/* Layout geral da aba */
.heb-app .heb-palavras-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

/* ── DISPLAY DA PALAVRA ── */
.heb-app .heb-kb-display-wrap {
  margin-bottom: 1.25rem;
}

.heb-app .heb-kb-display {
  background: rgba(240, 243, 248, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  transition: border-color 0.2s;
}

.heb-app .heb-kb-display:has(.heb-kb-display-word) {
  border-color: rgba(42, 109, 217, 0.35);
}

.heb-app .heb-kb-display-word {
  font-family: var(--font-heb);
  font-size: 3rem;
  line-height: 1.3;
  color: var(--paper);
  letter-spacing: 0.05em;
}

.heb-app .heb-kb-display-placeholder {
  font-size: 0.85rem;
  color: rgba(240, 243, 248, 0.2);
  font-weight: 300;
  direction: ltr;
  font-family: "DM Sans", sans-serif;
}

/* ── RESULTADO ── */
.heb-app .heb-kb-result {
  margin-bottom: 1.5rem;
}

.heb-app .heb-kb-result-card {
  animation: fadeUp 0.3s ease forwards;
}

.heb-app .heb-kb-result-notfound {
  background: rgba(240, 243, 248, 0.03);
  border: 1px solid rgba(240, 243, 248, 0.08);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  animation: fadeUp 0.3s ease forwards;
}

.heb-app .heb-kb-notfound-word {
  font-family: var(--font-heb);
  font-size: 2rem;
  display: block;
  direction: rtl;
  margin-bottom: 0.5rem;
  color: rgba(240, 243, 248, 0.4);
}

.heb-app .heb-kb-result-notfound p {
  margin: 0.3rem 0;
  font-size: 0.875rem;
  color: rgba(240, 243, 248, 0.5);
}

.heb-app .heb-kb-notfound-hint {
  font-size: 0.75rem !important;
  color: rgba(240, 243, 248, 0.3) !important;
}

.heb-app .heb-kb-notfound-hint code {
  font-family: "DM Mono", monospace;
  background: rgba(240, 243, 248, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  font-size: 0.7rem;
}

/* ── TECLADO ── */
.heb-app .heb-kb-section-label {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.3);
  margin-bottom: 0.6rem;
}
.heb-kb-section-label {
  margin: 2rem 0;
}
.heb-app .heb-kb-consonants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.heb-app .heb-kb-vowel-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.heb-app .heb-kb-vowel-label {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.25);
  min-width: 52px;
}

.heb-app .heb-kb-vowel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* Teclas */
.heb-app .heb-kb-key {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.5rem 0.35rem;
  min-width: 46px;
}

.heb-app .heb-kb-key:hover {
  border-color: rgba(42, 109, 217, 0.5);
  background: rgba(42, 109, 217, 0.08);
  transform: translateY(-1px);
}

.heb-app .heb-kb-key:active {
  transform: translateY(0);
  background: rgba(42, 109, 217, 0.15);
}

.heb-app .heb-kb-key-heb {
  font-family: var(--font-heb);
  font-size: 1.5rem;
  line-height: 1;
  direction: rtl;
  color: var(--paper);
}

.heb-app .heb-kb-key-name {
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: rgba(240, 243, 248, 0.3);
  white-space: nowrap;
}

/* Cores por categoria de vogal */
.heb-app .heb-kb-vowel.heb-kb-vowel-long {
  border-color: rgba(74, 144, 232, 0.2);
}
.heb-app .heb-kb-vowel.heb-kb-vowel-short {
  border-color: rgba(192, 57, 43, 0.2);
}
.heb-app .heb-kb-vowel.heb-kb-vowel-sheva {
  border-color: rgba(142, 68, 173, 0.2);
}
.heb-app .heb-kb-vowel.heb-kb-vowel-other {
  border-color: rgba(240, 165, 0, 0.2);
}

.heb-app .heb-kb-vowel.heb-kb-vowel-long:hover {
  border-color: rgba(74, 144, 232, 0.5);
  background: rgba(74, 144, 232, 0.08);
}
.heb-app .heb-kb-vowel.heb-kb-vowel-short:hover {
  border-color: rgba(192, 57, 43, 0.5);
  background: rgba(192, 57, 43, 0.08);
}
.heb-app .heb-kb-vowel.heb-kb-vowel-sheva:hover {
  border-color: rgba(142, 68, 173, 0.5);
  background: rgba(142, 68, 173, 0.08);
}
.heb-app .heb-kb-vowel.heb-kb-vowel-other:hover {
  border-color: rgba(240, 165, 0, 0.5);
  background: rgba(240, 165, 0, 0.08);
}

/* Botões de ação */
.heb-app .heb-kb-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.heb-app .heb-kb-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: rgba(240, 243, 248, 0.55);
}

.heb-app .heb-kb-action-btn:hover {
  color: var(--paper);
  background: rgba(240, 243, 248, 0.06);
}

.heb-app .heb-kb-action-btn.primary {
  background: rgba(42, 109, 217, 0.15);
  border-color: rgba(42, 109, 217, 0.4);
  color: var(--accent);
}

.heb-app .heb-kb-action-btn.primary:hover {
  background: rgba(42, 109, 217, 0.25);
  border-color: var(--accent);
  color: #7aaef5;
}

/* ── COLUNA DO DICIONÁRIO ── */
.heb-app .heb-dict-column {
  position: sticky;
  top: 5rem;
  background: rgba(240, 243, 248, 0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  max-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
}

.heb-app .heb-dict-column-header {
  padding: 0.85rem 1rem 0.6rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.heb-app .heb-dict-column-title {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.heb-app .heb-dict-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.heb-app .heb-dict-filter-btn {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: none;
  color: rgba(240, 243, 248, 0.4);
  cursor: pointer;
  transition: all 0.15s;
}

.heb-app .heb-dict-filter-btn:hover {
  color: var(--paper);
  background: rgba(240, 243, 248, 0.05);
}

.heb-app .heb-dict-filter-btn.active {
  color: var(--accent);
  background: rgba(42, 109, 217, 0.1);
  border-color: rgba(42, 109, 217, 0.3);
}

.heb-app .heb-dict-list {
  overflow-y: auto;
  flex: 1;
}

.heb-app .heb-dict-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(240, 243, 248, 0.04);
  cursor: pointer;
  transition: background 0.15s;
}

.heb-app .heb-dict-item:hover {
  background: rgba(42, 109, 217, 0.06);
}

.heb-app .heb-dict-item-heb {
  font-family: var(--font-heb);
  font-size: 1.5rem;
  direction: rtl;
  min-width: 2.5rem;
  text-align: right;
  line-height: 1.2;
}

.heb-app .heb-dict-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.heb-app .heb-dict-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.heb-app .heb-dict-item-translit {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  color: rgba(240, 243, 248, 0.35);
  letter-spacing: 0.05em;
}

.heb-app .heb-dict-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Reutiliza os cards de palavras do resultado */
.heb-app .heb-word-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.heb-app .heb-word-heb {
  font-family: var(--font-heb);
  font-size: 2.6rem;
  line-height: 1.2;
  direction: rtl;
  color: var(--paper);
}

.heb-app .heb-word-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.heb-app .heb-word-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
}

.heb-app .heb-word-translit {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.heb-app .heb-word-desc {
  font-size: 0.78rem;
  color: rgba(240, 243, 248, 0.45);
  font-weight: 300;
  line-height: 1.5;
  margin-top: 0.15rem;
}

.heb-app .heb-word-play-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .heb-app .heb-palavras-layout {
    grid-template-columns: 1fr;
  }

  .heb-app .heb-dict-column {
    position: static;
    max-height: 340px;
  }
}

@media (max-width: 700px) {
  .heb-app .heb-kb-consonants {
    gap: 0.3rem;
  }

  .heb-app .heb-kb-key {
    min-width: 40px;
    padding: 0.4rem 0.4rem 0.3rem;
  }

  .heb-app .heb-kb-key-heb {
    font-size: 1.3rem;
  }

  .heb-app .heb-kb-key-name {
    display: none;
  }

  .heb-app .heb-kb-display-word {
    font-size: 2.2rem;
  }

  .heb-app .heb-kb-actions {
    gap: 0.4rem;
  }

  .heb-app .heb-kb-action-btn {
    font-size: 0.6rem;
    padding: 0.5rem 0.75rem;
  }
}

/* =====================
   FIM TECLADO HEBRAICO
===================== */

/* RESPONSIVE */
@media (max-width: 700px) {
  /* Hide desktop nav tabs, show bottom nav */

  .heb-app .heb-section {
    padding: 1.5rem 1rem;
  }

  /* Hero */

  .heb-app .heb-hero {
    padding: 2rem 1rem 1.5rem;
  }

  .heb-app .heb-hero .heb-hebrew-big {
    font-size: clamp(2.5rem, 18vw, 5rem);
  }

  .heb-app .heb-hero h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .heb-app .heb-hero p {
    font-size: 0.875rem;
  }

  .heb-app .heb-hero-cards {
    gap: 0.6rem;
  }

  .heb-app .heb-hero-card {
    min-width: 100px;
    padding: 1rem 0.75rem;
  }

  .heb-app .heb-hero-card .heb-num {
    font-size: 1.6rem;
  }

  /* Section titles */

  .heb-app .heb-section-title {
    font-size: 1.4rem;
  }

  /* Alphabet */

  .heb-app .heb-alphabet-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .heb-app .heb-letter-card {
    padding: 0.75rem 0.5rem;
  }

  .heb-app .heb-letter-heb {
    font-size: 2rem;
  }

  .heb-app .heb-letter-name {
    font-size: 0.75rem;
  }

  .heb-app .heb-sound-btn {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  /* Filter bar */

  .heb-app .heb-filter-bar {
    gap: 0.35rem;
  }

  .heb-app .heb-filter-btn {
    font-size: 0.6rem;
    padding: 0.35rem 0.6rem;
  }

  /* Modal */

  .heb-modal {
    padding: 1.75rem 1.25rem;
    margin: 0.5rem;
  }

  /* Vowels */

  .heb-app .heb-vowel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .heb-app .heb-vowel-card {
    padding: 0.9rem 0.75rem;
  }

  .heb-app .heb-vowel-symbol {
    font-size: 1.8rem;
  }

  /* Dagesh */

  .heb-app .heb-dagesh-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  /* Table — hide tabela de vogais no mobile, mas NÃO a massorética */

  .heb-app .heb-table-wrap:not(.heb-vt-scroll):not(.heb-ranking-table-wrap) {
    display: none;
  }

  /* Tabela do ranking — scroll horizontal no mobile */
  .heb-app .heb-ranking-table-wrap {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  /* Tabela massorética mobile: scroll horizontal funcional */

  .heb-app .heb-vt-scroll {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
    /* força o scroll a funcionar no iOS */
    max-width: 100%;
  }

  /* Sticky columns: desativa no mobile pois causam glitch no iOS */

  .heb-app .heb-vt-th-vowel,
  .heb-app .heb-vt-td-vowel {
    position: static;
  }

  /* Reduz tamanho das células na tabela para caber melhor */

  .heb-app .heb-vt-th-letter {
    min-width: 38px;
    padding: 0.35rem 0.2rem;
  }

  .heb-app .heb-vt-col-heb {
    font-size: 1.1rem;
  }

  .heb-app .heb-vt-col-name {
    display: none;
  }

  .heb-app .heb-vt-th-vowel {
    min-width: 90px;
    padding: 0.4rem 0.5rem;
    font-size: 0.5rem;
  }

  .heb-app .heb-vt-th-translit {
    min-width: 32px;
    padding: 0.4rem 0.2rem;
    font-size: 0.55rem;
  }

  .heb-app .heb-vt-td-vowel {
    padding: 0.35rem 0.5rem;
    min-width: 90px;
  }

  .heb-app .heb-vt-vowel-name {
    font-size: 0.75rem;
  }

  .heb-app .heb-vt-vowel-note {
    display: none;
  }

  .heb-app .heb-vt-td-translit {
    padding: 0.35rem 0.2rem;
    font-size: 0.65rem;
    min-width: 32px;
  }

  .heb-app .heb-vt-cell,
  .heb-app .heb-vt-cell-empty {
    padding: 0.2rem 0.1rem;
    min-width: 38px;
  }

  .heb-app .heb-vt-char {
    font-size: 1.15rem;
    line-height: 1.6;
  }

  /* Guia visual mobile */

  .heb-app .heb-vg-group {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }

  .heb-app .heb-vg-group-header {
    padding-top: 0;
  }

  .heb-app .heb-vg-vowel-pt {
    font-size: 1.8rem;
  }

  .heb-app .heb-vg-cards {
    flex-direction: column;
    gap: 0.4rem;
  }

  .heb-app .heb-vg-card {
    min-width: 0;
    width: 100%;
    padding: 0.5rem 0.7rem;
    gap: 0.6rem;
  }

  .heb-app .heb-vg-mark {
    font-size: 1.8rem;
    min-width: 1.8rem;
  }

  .heb-app .heb-vg-card-name {
    font-size: 0.8rem;
  }

  .heb-app .heb-vg-card-desc {
    font-size: 0.65rem;
  }

  .heb-app .heb-vg-sign-wrap {
    width: 2.8rem;
    height: 2.8rem;
  }

  .heb-app .heb-vg-sign-ghost {
    font-size: 1.6rem;
  }

  /* Flashcard */

  .heb-app .heb-flashcard-wrap {
    padding: 0 0.5rem;
  }

  .heb-app .heb-flashcard {
    padding: 2.5rem 1.25rem;
    min-height: 200px;
  }

  .heb-app .heb-flashcard-letter {
    font-size: 4.5rem;
  }

  .heb-app .heb-flashcard-answer {
    font-size: 1.4rem;
  }

  .heb-app .heb-fc-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.65rem;
  }

  /* Quiz */

  .heb-app .heb-quiz-wrap {
    padding: 0 0.25rem;
  }

  .heb-app .heb-quiz-card {
    padding: 2rem 1.25rem;
    min-height: 180px;
  }

  .heb-app .heb-quiz-question-letter {
    font-size: 4.5rem;
  }

  .heb-app .heb-quiz-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .heb-app .heb-quiz-opt {
    padding: 0.85rem 0.5rem;
    font-size: 0.875rem;
  }

  .heb-app .heb-quiz-stats {
    gap: 1.25rem;
  }

  .heb-app .heb-quiz-stat .val {
    font-size: 1.6rem;
  }

  .heb-app .heb-quiz-mode-bar {
    gap: 0.35rem;
  }

  .heb-app .heb-quiz-mode-btn {
    font-size: 0.6rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 360px) {
  .heb-app .heb-alphabet-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .heb-app .heb-vowel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .heb-app .heb-hero-card {
    min-width: 80px;
  }
}

.heb-app .heb-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.heb-app .heb-subtitle-inline {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  letter-spacing: -0.02em;
}

.heb-app .heb-subtitle-inline em {
  color: var(--accent);
  font-style: italic;
}

@media (max-width: 700px) {
  /* ── HEB BOTTOM NAV — 3 botões estilo Instagram ── */
  .heb-app .heb-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 2rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: 64px;
    background: rgba(13, 15, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(240, 243, 248, 0.07);
  }

  /* Botão item (Início / Dicionário) */
  .heb-app .heb-bn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: rgba(240, 243, 248, 0.4);
    font-family: "DM Sans", sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0.4rem 0;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s;
  }

  .heb-app .heb-bn-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform 0.2s;
  }

  .heb-app .heb-bn-item:active svg {
    transform: scale(0.88);
  }

  .heb-app .heb-bn-label {
    display: block;
  }

  /* Bolinha indicadora de aba ativa */
  .heb-app .heb-bn-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: scale(0);
    transition:
      opacity 0.2s,
      transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .heb-app .heb-bn-item.active {
    color: var(--accent);
  }

  .heb-app .heb-bn-item.active .heb-bn-dot {
    opacity: 1;
    transform: scale(1);
  }

  /* Botão FAB central */
  .heb-app .heb-bn-fab {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 20px rgba(42, 109, 217, 0.45);
    transition:
      transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
      background 0.2s,
      box-shadow 0.2s;
    position: relative;
    top: -6px;
    flex-shrink: 0;
  }

  .heb-app .heb-bn-fab:active {
    transform: scale(0.9) translateY(0);
    box-shadow: 0 2px 8px rgba(42, 109, 217, 0.3);
  }

  .heb-app .heb-bn-fab.is-open {
    background: rgba(30, 50, 100, 0.9);
    box-shadow: 0 0 0 1px rgba(42, 109, 217, 0.5);
  }

  .heb-app .heb-bn-fab svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    transition:
      opacity 0.2s,
      transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .heb-app .heb-bn-fab .heb-bn-fab-plus {
    opacity: 1;
    transform: rotate(0deg);
  }

  .heb-app .heb-bn-fab .heb-bn-fab-x {
    opacity: 0;
    transform: rotate(-45deg);
  }

  .heb-app .heb-bn-fab.is-open .heb-bn-fab-plus {
    opacity: 0;
    transform: rotate(45deg);
  }

  .heb-app .heb-bn-fab.is-open .heb-bn-fab-x {
    opacity: 1;
    transform: rotate(0deg);
  }

  /* ── BACKDROP ── */
  .heb-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 390;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .heb-drawer-backdrop.is-open {
    display: block;
  }

  /* ── DRAWER ── */
  .heb-drawer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 395;
    background: #12141c;
    border-top: 1px solid rgba(240, 243, 248, 0.1);
    border-radius: 20px 20px 0 0;
    padding: 0.6rem 1.25rem 0.75rem;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
  }

  .heb-drawer.is-open {
    transform: translateY(0);
  }

  .heb-drawer-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(240, 243, 248, 0.15);
    margin: 0 auto 0.85rem;
  }

  .heb-drawer-label {
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240, 243, 248, 0.3);
    margin: 0 0 0.75rem;
  }

  .heb-drawer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .heb-drawer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(240, 243, 248, 0.04);
    border: 1px solid rgba(240, 243, 248, 0.08);
    border-radius: 12px;
    color: rgba(240, 243, 248, 0.6);
    font-family: "DM Sans", sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.7rem 0.25rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      background 0.15s,
      border-color 0.15s,
      color 0.15s,
      transform 0.15s;
  }

  .heb-drawer-item:active,
  .heb-drawer-item.is-active {
    background: rgba(42, 109, 217, 0.12);
    border-color: rgba(42, 109, 217, 0.35);
    color: var(--accent);
    transform: scale(0.95);
  }

  .heb-drawer-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
  }
}
/* ABAS DA FERRAMENTA — fica logo abaixo do nav do site */
.heb-app .heb-tabs-bar {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  padding: 0.75rem 2rem;
  background: rgba(13, 15, 20, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px; /* altura do nav do site — ajuste se necessário */
  z-index: 90;
}

.heb-app .heb-tabs-bar button {
  background: none;
  border: none;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 243, 248, 0.4);
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.heb-app .heb-tabs-bar button:hover {
  color: rgba(240, 243, 248, 0.8);
  background: rgba(240, 243, 248, 0.04);
}

.heb-app .heb-tabs-bar button.active {
  color: var(--accent);
  background: rgba(42, 109, 217, 0.1);
}

@media (max-width: 700px) {
  .heb-app .heb-tabs-bar {
    display: none; /* no mobile, o bottom-nav do SITE já serve */
  }
}
/* ── Ranking ───────────────────────────────────────────────────────── */

.heb-app .heb-ranking-mode-bar {
  margin-bottom: 1.5rem;
}

.heb-app .heb-ranking-status {
  opacity: 0.6;
  margin-bottom: 0;
}

.heb-app .heb-ranking-status.is-error {
  color: #e05c5c;
  opacity: 1;
}

.heb-app .heb-ranking-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.heb-app .heb-ranking-user-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.55;
}

.heb-app .heb-ranking-link-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0 0.25rem;
}

.heb-app .heb-ranking-link-btn:hover {
  text-decoration: underline;
}

.heb-app .heb-ranking-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.heb-app .heb-ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.heb-app .heb-ranking-table thead tr {
  border-bottom: 1px solid rgba(42, 109, 217, 0.25);
}

.heb-app .heb-ranking-table th {
  font-size: 0.68rem;
  opacity: 0.8;
}

.heb-app .heb-ranking-table td {
  vertical-align: middle;
}

.heb-app .heb-ranking-table tbody tr {
  transition: background 0.2s ease;
}

.heb-app .heb-ranking-table tbody tr:hover {
  background: rgba(42, 109, 217, 0.05);
}

.heb-app .heb-ranking-table tbody tr.is-me {
  background: rgba(42, 109, 217, 0.08);
  font-weight: 600;
}

.heb-app .heb-ranking-col-pos,
.heb-app .heb-ranking-col-points,
.heb-app .heb-ranking-col-score,
.heb-app .heb-ranking-col-pct,
.heb-app .heb-ranking-col-attempts {
  text-align: center;
}

.heb-app .heb-ranking-col-pos {
  font-size: 1.05rem;
}

.heb-app .heb-ranking-col-user {
  text-align: left;
}

.heb-app .heb-ranking-col-points {
  color: var(--accent);
  font-weight: 700;
}

.heb-app .heb-ranking-col-attempts {
  opacity: 0.55;
  font-size: 0.8rem;
}

.heb-app .heb-ranking-me-tag {
  font-size: 0.72rem;
  color: var(--accent);
  margin-left: 0.35rem;
}

/* ── Modal do ranking ──────────────────────────────────────────────── */

.heb-ranking-modal {
  max-width: 420px;
}

.heb-ranking-modal-icon {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.heb-ranking-form {
  margin-top: 1rem;
}

.heb-ranking-input {
  width: 100%;
  background: rgba(240, 243, 248, 0.04);
  border: 1px solid rgba(240, 243, 248, 0.1);
  color: var(--paper);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.heb-ranking-input:focus {
  border-color: rgba(42, 109, 217, 0.5);
  background: rgba(42, 109, 217, 0.06);
  box-shadow: 0 0 0 3px rgba(42, 109, 217, 0.12);
}

.heb-ranking-input::placeholder {
  color: rgba(240, 243, 248, 0.28);
}

.heb-ranking-error {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: rgba(240, 100, 100, 0.9);
}

.heb-ranking-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .heb-ranking-table {
    font-size: 0.82rem;
  }

  .heb-ranking-table th,
  .heb-ranking-table td {
    padding: 0.65rem 0.5rem;
  }

  .heb-ranking-modal {
    max-width: 100%;
  }

  .heb-ranking-actions {
    flex-direction: column;
  }

  .heb-ranking-actions .heb-fc-btn {
    width: 100%;
  }
}
.heb-app .heb-quiz-start-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 0 auto 1.5rem;
  max-width: 760px;
}

.heb-app .heb-quiz-start-head h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.heb-app .heb-quiz-start-head p {
  margin: 0;
  color: rgba(240, 243, 248, 0.5);
  font-size: 0.92rem;
  line-height: 1.6;
}

.heb-app .heb-quiz-game-mode-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  justify-content: center;
  align-items: center;
}

.heb-app .heb-quiz-game-btn {
  min-width: 160px;
  text-align: center;
}

.heb-app .heb-quiz-start-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.heb-app .heb-quiz-start-note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(240, 243, 248, 0.45);
}

.heb-app .heb-quiz-round-wrap.is-locked {
  opacity: 0.45;
  pointer-events: none;
  filter: saturate(0.75);
}

.heb-app .heb-quiz-round-wrap.is-live {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}
.heb-app .heb-quiz-start-panel.is-hidden {
  display: none !important;
}
.heb-app .heb-quiz-finish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  background: transparent;
  border: 1px solid rgba(240, 243, 248, 0.12);
  color: rgba(240, 243, 248, 0.45);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.heb-app .heb-quiz-finish-btn:hover {
  color: rgba(240, 243, 248, 0.8);
  border-color: rgba(240, 243, 248, 0.25);
  background: rgba(240, 243, 248, 0.04);
}

.heb-app .heb-quiz-finish-btn:active {
  transform: translateY(1px);
}
.heb-app .heb-quiz-main-action {
  text-align: center;
}

.heb-app .heb-quiz-secondary-action {
  text-align: center;
  margin-top: 0.35rem;
}

/* Oculta o bottom nav global do site quando estamos na página hebraico */
@media (max-width: 700px) {
  body.page-hebraico .mobile-bottom-nav {
    display: none !important;
  }
}
