:root {
  --bg: #0d0d0f;
  --bg-soft: #16161a;
  --card: #1c1c22;
  --card-2: #232329;
  --border: #2c2c34;
  --border-lit: #3a3a44;
  --text: #f2f0ec;
  --muted: #9b98a3;
  --red: #e63946;
  --red-deep: #b3202c;
  --gold: #f4b942;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, sans-serif;
  min-height: 100dvh;
  background-image:
    radial-gradient(ellipse 90% 45% at 50% -8%, rgba(230, 57, 70, 0.16), transparent),
    radial-gradient(ellipse 60% 40% at 85% 110%, rgba(244, 185, 66, 0.05), transparent);
  background-attachment: fixed;
}

/* Film grain dokusu */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 30px 20px 116px;
  position: relative;
}

/* Header — sinema tabelası */
.header { text-align: center; margin-bottom: 30px; }
.marquee-lights {
  width: 148px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 100px;
  background-image: radial-gradient(circle 2.5px, var(--gold) 55%, transparent 60%);
  background-size: 14px 5px;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink {
  0% { opacity: 0.9; }
  50% { opacity: 0.35; }
  100% { opacity: 0.9; }
}
.logo {
  font-family: "DM Serif Display", serif;
  font-size: 2.9rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-shadow: 0 0 40px rgba(230, 57, 70, 0.35);
}
.logo span { color: var(--red); font-style: italic; }
.tagline { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* Sekmeler */
.tab { display: none; }
.tab.active { display: block; animation: fadein 0.25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-title {
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 16px;
}

/* Filtreler */
.filter-group { margin-bottom: 22px; }
.filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.filter-label small { text-transform: none; letter-spacing: 0; font-weight: 400; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.chip:hover { border-color: var(--border-lit); }
.chip:active { transform: scale(0.96); }
.chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.mood-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 13px 4px 11px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.mood-card:hover { border-color: var(--border-lit); }
.mood-card:active { transform: scale(0.94); }
.mood-card .emoji { font-size: 1.55rem; display: block; margin-bottom: 6px; }
.mood-card .label { font-size: 0.66rem; font-weight: 600; color: var(--muted); line-height: 1.25; display: block; }
.mood-card.active {
  background: linear-gradient(160deg, rgba(230, 57, 70, 0.28), rgba(230, 57, 70, 0.08));
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.25), inset 0 0 0 1px rgba(230, 57, 70, 0.3);
}
.mood-card.active .label { color: var(--text); }

/* Öner butonu */
.spin-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 19px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 36px rgba(230, 57, 70, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  margin: 6px 0 26px;
}
.spin-btn:active { transform: scale(0.97); }
.spin-btn:disabled { opacity: 0.85; cursor: wait; }
.spin-btn-sheen {
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: sheen 3.2s ease-in-out infinite;
}
@keyframes sheen {
  0%, 60% { left: -80px; }
  100% { left: calc(100% + 40px); }
}
.spin-btn-icon { display: inline-block; margin-right: 6px; }
.spin-btn.spinning .spin-btn-icon { animation: shake 0.4s infinite; }
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-20deg); }
  75% { transform: rotate(20deg); }
}

/* Yapay zekâ kutusu */
.ai-box {
  background: linear-gradient(160deg, rgba(120, 70, 200, 0.1), rgba(230, 57, 70, 0.06));
  border: 1px solid #3a2c50;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 26px;
}
.ai-input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}
.ai-input:focus { border-color: #9b6dff; }
.ai-input::placeholder { color: var(--muted); }
.ai-btn {
  width: 100%;
  background: linear-gradient(135deg, #7c4dff, #b3202c);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(124, 77, 255, 0.3);
  transition: transform 0.15s, opacity 0.15s;
}
.ai-btn:active { transform: scale(0.97); }
.ai-btn:disabled { opacity: 0.6; cursor: wait; }
.ai-note { color: var(--muted); font-size: 0.78rem; margin-top: 10px; line-height: 1.45; }
.ai-picks { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ai-pick {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color 0.15s;
  animation: fadein 0.25s ease;
}
.ai-pick:hover { border-color: #9b6dff; }
.ai-pick .ap-thumb {
  width: 44px; height: 62px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background-size: cover !important;
  background-position: center !important;
}
.ai-pick .ap-title { font-weight: 700; font-size: 0.9rem; }
.ai-pick .ap-why { color: var(--muted); font-size: 0.78rem; line-height: 1.4; margin-top: 3px; }

/* Sonuç kartı */
.result-card {
  background: linear-gradient(170deg, var(--card-2), var(--card));
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.5, 1);
}
@keyframes pop {
  from { transform: scale(0.92) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.result-card.rolling { animation: none; }
.result-card.rolling .result-title { opacity: 0.45; filter: blur(1px); }
.result-card.rolling .result-meta,
.result-card.rolling .result-desc,
.result-card.rolling .result-tags,
.result-card.rolling .result-platforms,
.result-card.rolling .quad-actions,
.result-card.rolling .section-title,
.result-card.rolling .cast-row,
.result-card.rolling .imdb-badge,
.result-card.rolling .trailer-btn,
.result-card.rolling .badge { opacity: 0.12; filter: blur(2px); transition: opacity 0.2s; }
.result-card.rolling .poster-emoji { animation: emoji-roll 0.25s linear infinite; }
@keyframes emoji-roll {
  from { transform: translateY(0) rotate(0); }
  to { transform: translateY(-4px) rotate(8deg); }
}

/* Poster bandı — film şeridi görünümü */
.poster {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a33, #1a1a20);
  transition: background 0.4s;
}
.poster.has-img { height: 216px; background-size: cover !important; background-position: center 22% !important; }
.poster-emoji {
  font-size: 3.6rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s;
}
.sprockets {
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background-image: radial-gradient(circle 3.2px at 50% 50%, var(--bg) 90%, transparent 100%);
  background-size: 20px 12px;
  background-position: center;
}
.sprockets.top { top: 5px; }
.sprockets.bottom { bottom: 5px; }

.result-body { padding: 20px 24px 22px; }
.result-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

/* IMDb rozeti */
.imdb-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 11px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}
.imdb-badge b {
  background: #f5c518;
  color: #121212;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}
.imdb-badge small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }

/* Fragman butonu — poster üstünde */
.trailer-btn {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 13, 15, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.15s, background 0.15s;
}
.trailer-btn:hover { background: rgba(13, 13, 15, 0.8); }
.trailer-btn:active { transform: translateX(-50%) scale(0.96); }

/* Dörtlü aksiyon satırı */
.quad-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 18px 0 6px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.quad-actions button {
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.quad-actions button span {
  font-size: 1.35rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: background 0.15s, border-color 0.15s;
}
.quad-actions button:active span { transform: scale(0.92); }
.quad-actions button.done { color: var(--muted); }
.quad-actions button.done span { background: rgba(230, 57, 70, 0.16); border-color: var(--red); }
.quad-actions button.liked span { background: rgba(90, 200, 90, 0.15); border-color: #5ac85a; }
.quad-actions button.disliked span { background: rgba(230, 57, 70, 0.16); border-color: var(--red); }

.section-title {
  font-family: "DM Serif Display", serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 18px 0 10px;
}
.section-title .flag { font-size: 0.9rem; }

.platform-note { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }

.cast-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cast-chip {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
  color: #d8d5de;
}

/* Benzer yapımlar — afişli grid */
.similar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s;
}
.sim-card:hover { border-color: var(--red); }
.sim-poster {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-size: cover !important;
  background-position: center 20% !important;
}
.sim-imdb {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}
.sim-imdb b { background: #f5c518; color: #121212; border-radius: 3px; padding: 1px 4px; font-size: 0.6rem; margin-right: 4px; }
.sim-title { padding: 10px 12px 12px; font-size: 0.82rem; font-weight: 700; line-height: 1.25; }

/* Fragman modalı */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-body {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  padding: 14px;
  animation: pop 0.3s cubic-bezier(0.2, 1.4, 0.5, 1);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.modal-head span { font-weight: 700; font-size: 0.95rem; }
.modal-close {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
}
#trailer-frame { width: 100%; border: none; border-radius: 12px; background: #000; aspect-ratio: 16/9; display: block; }
.trailer-status { color: var(--muted); text-align: center; padding: 26px 10px; font-size: 0.9rem; line-height: 1.6; }
.trailer-status a { color: var(--gold); font-weight: 600; }

.badge {
  background: rgba(230, 57, 70, 0.15);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
}
.rating { color: var(--gold); font-weight: 700; font-size: 0.95rem; text-shadow: 0 0 18px rgba(244, 185, 66, 0.4); }

.result-title {
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 6px;
  transition: opacity 0.1s, filter 0.1s;
}
.result-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.result-desc { font-size: 0.95rem; line-height: 1.65; color: #d8d5de; margin-bottom: 16px; }

.result-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--muted);
}
.result-platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.platform-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(244, 185, 66, 0.12);
  color: var(--gold);
}

.ext-links { display: flex; gap: 16px; border-top: 1px solid var(--border); padding-top: 14px; }
.ext-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.ext-links a:hover { color: var(--text); }

.result-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.action-row { display: flex; gap: 10px; }
.action-row .action-btn { flex: 1; }
.action-btn {
  width: 100%;
  padding: 15px 8px;
  border-radius: 15px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  transition: transform 0.15s, border-color 0.15s;
}
.action-btn:hover { border-color: var(--border-lit); }
.action-btn:active { transform: scale(0.97); }
.action-btn.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(230, 57, 70, 0.3);
}
.action-btn:disabled { opacity: 0.55; cursor: default; }

/* Benzer öneriler */
.similar { margin-top: 22px; }
.similar-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.similar-row::-webkit-scrollbar { display: none; }
.similar-card {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
}
.similar-card:hover { border-color: var(--red); }
.similar-card .sc-rating { color: var(--gold); font-size: 0.75rem; }

/* Keşfet */
.search-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.15s;
}
.search-input:focus { border-color: var(--red); }
.search-input::placeholder { color: var(--muted); }
.discover-chips { margin-bottom: 16px; }
.discover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.d-poster {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.d-poster.has-img { height: 128px; background-size: cover !important; background-position: center 20% !important; }
.d-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.d-title { font-size: 0.85rem; font-weight: 700; line-height: 1.25; margin-bottom: 3px; }
.d-sub { color: var(--muted); font-size: 0.72rem; margin-bottom: 10px; flex: 1; }
.d-actions { display: flex; gap: 6px; }
.d-btn {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9px;
  padding: 7px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
}
.d-btn:hover { border-color: var(--border-lit); }
.d-btn:disabled { opacity: 0.45; cursor: default; }
.d-card.is-watched { opacity: 0.45; }

/* İstatistikler */
.stats {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.stat {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--red);
}
.stat span { color: var(--muted); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Listeler */
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadein 0.2s ease;
}
.list-item .emoji-dot {
  width: 42px; height: 58px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background-size: cover !important;
  background-position: center !important;
}
.list-item .info { flex: 1; min-width: 0; }
.list-item .title { font-weight: 600; font-size: 0.95rem; }
.list-item .sub { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.list-item .item-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.list-item .item-btn:hover { border-color: var(--border-lit); }
.list-item .item-btn.danger { color: var(--red); }

.empty-note { color: var(--muted); text-align: center; font-size: 0.88rem; padding: 24px 12px; line-height: 1.5; }

/* Alt menü */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 15, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 10px 4px calc(10px + env(safe-area-inset-bottom));
  z-index: 10;
}
.nav-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 12px;
  position: relative;
  transition: color 0.15s;
}
.nav-btn span { font-size: 1.3rem; transition: transform 0.15s; }
.nav-btn.active { color: var(--red); }
.nav-btn.active span { transform: translateY(-2px); }
.count {
  position: absolute;
  top: 0;
  right: 2px;
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  min-width: 16px;
  height: 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.footnote { text-align: center; color: #55525e; font-size: 0.72rem; margin-top: 28px; }
.hidden { display: none !important; }
