:root {
  /* Teknofest Uzay & Havacılık Paleti */
  --navy-950: #071026;
  --navy-900: #0B1633;
  --navy-800: #132550;
  --navy-700: #1D3773;

  --teknofest-red: #E11D48;
  --teknofest-red-soft: #FFF1F2;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;
  --sky-soft: #E0F2FE;
  --amber-500: #F59E0B;
  --amber-soft: #FEF3C7;
  --emerald-600: #059669;
  --emerald-soft: #D1FAE5;
  --violet-600: #7C3AED;
  --violet-soft: #EDE9FE;

  /* Profil Vurguları */
  --ali-accent: #0284C7;
  --ali-soft: #E0F2FE;
  --fatma-accent: #DB2777;
  --fatma-soft: #FCE7F3;

  /* Yüzeyler */
  --bg: #F1F5FB;
  --surface: #FFFFFF;
  --surface-subtle: #F8FAFC;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  /* Metin */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-soft: #64748B;

  /* Yarıçap & Gölge */
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 11px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 22px -10px rgba(11, 22, 51, 0.12), 0 1px 4px rgba(11, 22, 51, 0.04);
  --shadow-dock: 0 14px 32px -10px rgba(7, 16, 38, 0.36), 0 3px 10px rgba(7, 16, 38, 0.16);

  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Nunito', sans-serif;
}

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

html {
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100dvh;
  touch-action: manipulation;
}

button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}

.app-shell {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* ===== SABİT ÜST ALAN (İÇERİĞİN ÜSTÜNDE YÜZER, BOŞLUK BIRAKMAZ) ===== */
.sticky-top-wrap {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 14px;
  pointer-events: none;
}

@media (display-mode: standalone) {
  .install-banner {
    display: none;
  }
}

body.is-standalone .install-banner {
  display: none;
}

.install-banner {
  flex: 1;
  min-width: 0;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 92% 50%, rgba(56, 189, 248, 0.24), transparent 55%),
    rgba(11, 22, 51, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #F8FAFC;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px -10px rgba(7, 16, 38, 0.55);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.install-banner:active {
  transform: scale(0.98);
}

.install-banner-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.94);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.install-banner-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-banner-arrow {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7;
}

/* Sağ üst yuvarlak (...) menü */
.options-anchor {
  position: relative;
  flex-shrink: 0;
  pointer-events: auto;
}

.options-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, background 0.15s ease;
}

.options-circle-btn:active {
  transform: scale(0.94);
}

.options-circle-btn[aria-expanded="true"] {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
}

.options-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 216px;
  max-height: 60dvh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 44px -10px rgba(7, 16, 38, 0.34);
  z-index: 50;
  animation: fadeUp 0.15s ease;
}

.options-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.options-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
}

.sync-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--sky-soft);
  color: var(--sky-600);
}

.sync-pill[data-status="synced"] {
  background: var(--emerald-soft);
  color: var(--emerald-600);
}

.sync-pill[data-status="error"] {
  background: var(--teknofest-red-soft);
  color: var(--teknofest-red);
}

.week-menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.week-menu-item {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 10px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: background 0.14s ease;
}

.week-menu-item:hover {
  background: var(--surface-subtle);
}

.week-menu-item[aria-checked="true"] {
  background: var(--teknofest-red);
  color: #FFFFFF;
}

/* Sayfa içi gömülü ilahi oynatıcısı */
.ilahi-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #071026;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ilahi-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== ANA İÇERİK ===== */
.main-content {
  padding: max(14px, env(safe-area-inset-top)) 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  animation: fadeUp 0.22s ease;
}

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

/* Hafta Tema Bandı */
.theme-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.theme-banner-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teknofest-red);
}

.theme-banner-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 2px 0 0;
}

/* Kategorik Alt Sekmeler (Düşük Bilişsel Yük) */
.segment-bar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  background: rgba(11, 22, 51, 0.06);
  padding: 4px;
  border-radius: 13px;
}

.segment-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  line-height: 1.2;
}

.segment-btn[aria-selected="true"] {
  background: var(--surface);
  color: var(--navy-900);
  box-shadow: 0 3px 10px rgba(11, 22, 51, 0.09);
}

/* Kartlar */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-hero {
  background:
    radial-gradient(circle at 95% 8%, rgba(56, 189, 248, 0.22), transparent 46%),
    linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #F8FAFC;
  border-color: rgba(56, 189, 248, 0.24);
}

.card-hero p,
.card-hero .card-summary {
  color: rgba(241, 245, 249, 0.92);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--sky-soft);
  color: var(--sky-600);
}

.card-badge.red {
  background: var(--teknofest-red-soft);
  color: var(--teknofest-red);
}

.card-badge.emerald {
  background: var(--emerald-soft);
  color: var(--emerald-600);
}

.card-badge.amber {
  background: var(--amber-soft);
  color: #B45309;
}

.card-badge.violet {
  background: var(--violet-soft);
  color: var(--violet-600);
}

.card-hero .card-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #7DD3FC;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.015em;
}

.card-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-main);
}

.callout {
  background: var(--surface-subtle);
  border-left: 4px solid var(--sky-500);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.callout.amber {
  background: #FFFBEB;
  border-left-color: var(--amber-500);
}

.callout.emerald {
  background: #ECFDF5;
  border-left-color: var(--emerald-600);
}

.callout.red {
  background: #FFF1F2;
  border-left-color: var(--teknofest-red);
}

.card-hero .callout {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #38BDF8;
  color: #E2E8F0;
}

.callout strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  opacity: 0.8;
}

.quote-box {
  background: linear-gradient(135deg, #0B1633 0%, #172B5E 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 14px 16px;
}

.quote-text {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  font-style: italic;
}

.quote-author {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #7DD3FC;
  font-weight: 700;
}

/* Şiir Stili */
.poem-lines {
  background: linear-gradient(180deg, #F8FAFF 0%, #EFF6FF 100%);
  border: 1px solid rgba(2, 132, 199, 0.14);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poem-line {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 800;
  color: var(--navy-900);
  text-align: center;
}

.poem-author {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sky-600);
  margin-top: 4px;
}

/* Butonlar */
.btn-primary,
.btn-secondary,
.btn-danger-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 11px 16px;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teknofest-red) 0%, #BE123C 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 18px -6px rgba(225, 29, 72, 0.55);
}

.btn-primary.blue {
  background: linear-gradient(135deg, var(--sky-500) 0%, #1D4ED8 100%);
  box-shadow: 0 8px 18px -6px rgba(2, 132, 199, 0.5);
}

.btn-secondary {
  background: #E2E8F0;
  color: var(--navy-900);
}

.btn-danger-ghost {
  background: var(--teknofest-red-soft);
  color: var(--teknofest-red);
  padding: 7px 11px;
  font-size: 0.78rem;
  border-radius: 10px;
}

.btn-primary:active,
.btn-secondary:active,
.btn-danger-ghost:active {
  transform: scale(0.97);
}

/* ===== KİTAPLIK ===== */
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pills {
  display: inline-flex;
  gap: 6px;
}

.filter-pill {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.filter-pill[aria-pressed="true"] {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
}

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

.book-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 15px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.book-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--navy-900);
}

.book-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-top: 2px;
}

.book-topic {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--surface-subtle);
  padding: 9px 11px;
  border-radius: 10px;
}

.book-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.btn-mini {
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  color: var(--text-muted);
}

/* ===== MATEMATİK PROBLEMI ===== */
.math-input-row {
  display: flex;
  gap: 8px;
}

.math-input-row input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-900);
}

.math-input-row input:focus {
  outline: none;
  border-color: var(--sky-500);
}

.solution-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

/* ===== 10 SORULUK TEKRAR TESTİ ===== */
.quiz-progress-bar {
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky-500), var(--teknofest-red));
  transition: width 0.25s ease;
}

.quiz-card {
  gap: 10px;
}

.quiz-q-num {
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--sky-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt {
  text-align: left;
  border: 2px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 11px 13px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.quiz-opt.correct {
  background: var(--emerald-soft);
  border-color: var(--emerald-600);
  color: #065F46;
}

.quiz-opt.wrong {
  background: var(--teknofest-red-soft);
  border-color: var(--teknofest-red);
  color: #9F1239;
}

/* ===== KENARLARDAN AYRIK MODERN FLOATING BOT BAR ===== */
.floating-dock {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 412px;
  margin: 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto 1fr;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 22px;
  background: rgba(11, 22, 51, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-dock);
}

.dock-btn {
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
}

.dock-btn:active {
  transform: scale(0.93);
}

.dock-btn[aria-current="page"] {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.95) 0%, rgba(190, 18, 60, 0.95) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -4px rgba(225, 29, 72, 0.65);
}

.dock-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.dock-icon svg {
  width: 22px;
  height: 22px;
}

.dock-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dock-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.16);
}

.dock-child-btn {
  background: rgba(56, 189, 248, 0.18);
  color: #E0F2FE;
  border: 1px solid rgba(56, 189, 248, 0.42);
}

body[data-child="fatma"] .dock-child-btn {
  background: rgba(244, 114, 182, 0.2);
  color: #FCE7F3;
  border-color: rgba(244, 114, 182, 0.48);
}

.dock-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.dock-avatar svg {
  width: 26px;
  height: 26px;
}

.dock-child-btn.pop {
  animation: avatarPop 0.28s ease;
}

@keyframes avatarPop {
  0% { transform: scale(0.86); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===== NATIVE MODAL DIALOGS (MODERN WEB GUIDANCE) ===== */
dialog.modal-sheet {
  width: min(400px, calc(100vw - 24px));
  max-height: 88dvh;
  border: none;
  border-radius: 20px;
  padding: 16px;
  background: var(--surface);
  color: var(--text-main);
  box-shadow: 0 24px 60px rgba(7, 16, 38, 0.35);
}

dialog.modal-sheet[open] {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(7, 16, 38, 0.58);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

.icon-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: var(--navy-900);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
}

/* Formlar & Etkileşim Sonrası Doğrulama */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.status-option {
  position: relative;
  cursor: pointer;
}

.status-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.status-option span {
  display: block;
  text-align: center;
  padding: 9px 10px;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.status-option input:checked + span {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #FFFFFF;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy-900);
}

.field-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.facts-input-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact-input-block {
  background: #F8FAFF;
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: 12px;
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-prompt-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sky-600);
  line-height: 1.3;
}

.fact-input-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.fact-input-row textarea {
  flex: 1;
  min-height: 54px;
}

.fact-remove-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: var(--teknofest-red-soft);
  color: var(--teknofest-red);
  font-weight: 900;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.book-facts-display {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-facts-display li {
  background: #EFF6FF;
  border-left: 3px solid var(--sky-500);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.card-hero .book-facts-display li {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #38BDF8;
  color: #F1F5F9;
}

.recall-facts-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recall-facts-list li {
  background: rgba(255, 255, 255, 0.12);
  border-left: 3px solid #38BDF8;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 2px solid var(--border-strong);
  border-radius: 13px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--surface-subtle);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  background: #FFFFFF;
}

.field :is(input, textarea):user-invalid {
  border-color: var(--teknofest-red);
  background: #FFF1F2;
}

.field :is(input, textarea):user-valid {
  border-color: var(--emerald-600);
}

.error-msg {
  display: none;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teknofest-red);
}

.field :is(input, textarea):user-invalid + .error-msg {
  display: block;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* PWA Adım Listesi */
.pwa-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwa-steps li {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Bilgi Tekrarı */
.recall-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recall-card {
  background: linear-gradient(145deg, #0B1633 0%, #172B5E 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recall-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.recall-card .recall-meta {
  font-size: 0.82rem;
  color: #7DD3FC;
  font-weight: 700;
}

.recall-card .recall-topic {
  margin: 4px 0 0;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px);
  background: var(--navy-900);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
  box-shadow: 0 10px 24px rgba(7, 16, 38, 0.35);
  white-space: nowrap;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
