/* Menü sayfasına özel (yalnız menu.html yükler; album.css'ten sonra): albüm menü yerleşimi (22 Ekim cam arayüz) —
   araç satırı (♡ sayacı, ⌕, ✨ Rehber), grup sekmeleri + "Nargile menüsü →" ve alt çipler (yatay kaydırma), albüm (geniş ekranda ortada),
   sepet çubuğu (telefonda alt sekme çubuğunun üstünde), bildirim, sepet ve Gece Rehberi alt pencereleri. Gece Rehberi (js/menu-rehber*.js):
   ruh hâli kartları, soru adımı, öneri kartları ("Yanına iyi gider"), sinyal şeridi, hikâye kartları, kişisel blok.
   Hedefler ≥ 44 px; renkler token; hareket prefers-reduced-motion'da kapalı. */
.mn { padding: 14px 0 96px; }
.mn-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mn-title { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.mn-tools { display: flex; gap: 6px; }
.mn-tools .cam-chip { min-height: 44px; padding: 6px 14px; color: var(--cream); font-size: .95rem; }
.mn-ara { min-width: 44px; justify-content: center; }
.mn-ara .ic { width: 20px; height: 20px; }
.mn-favs .cam-mono { font-size: .9rem; }
.mn-search { margin: 10px 0 0; }
.mn-search .search-wrap { max-width: none; }
.mn-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mn-filters .ic { width: 15px; height: 15px; }
.mn-groups, .mn-subs { display: flex; gap: 8px; margin: 12px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.mn-groups::-webkit-scrollbar, .mn-subs::-webkit-scrollbar { display: none; }
.mn-groups .cam-chip { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
/* Nargile ayrı sayfada (24 Ekim): sekmelerin sonunda /nargile bağlantısı, neon çerçeve */
.mn-subs { margin-top: 8px; }
.mn-subs .cam-chip { min-height: 40px; font-size: .82rem; }
.mn-subs[hidden], .mn-search[hidden], .mn-album[hidden] { display: none; }
.mn-note { min-height: 1.4em; margin: 8px 0 0; color: var(--gray-light); }
.mn-album { max-width: 900px; margin: 4px auto 0; }
.mn-album .alb-jog, .mn-album .alb-act { max-width: 520px; margin-left: auto; margin-right: auto; }
.mn-album .alb-info { cursor: pointer; }
.mn-ph { height: 420px; border-radius: var(--cam-radius); }
@media (min-width: 861px) { .mn-groups, .mn-subs { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; } }

/* Sepet çubuğu: telefonda yüzen sekme çubuğunun üstünde, genişte altta ortada */
.mn-cart { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); z-index: 900; }
.mn-cart[hidden] { display: none; }
.mn-cart-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(520px, 100%); min-height: 52px; margin: 0 auto; padding: 10px 18px;
  border: 0; border-radius: 16px; background: var(--red); color: var(--cam-on-red); font: inherit; font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px var(--red-glow); cursor: pointer; }
@media (min-width: 861px) { .mn-cart { bottom: calc(16px + env(safe-area-inset-bottom)); } }
.mn-toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 84px + env(safe-area-inset-bottom)); z-index: 950; max-width: min(92vw, 440px); margin: 0; padding: 10px 16px;
  border: 1px solid var(--cam-border); border-radius: 14px; background: var(--cam-tint-strong); color: var(--cream); font-size: .92rem; opacity: 0; transform: translate(-50%, 8px);
  pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.mn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 861px) { .mn-toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* Alt pencere: Gece Rehberi (tepsi penceresi ortak: css/tepsi.css) */
.modal-overlay.sheet .rh-panel { width: min(980px, 100%); padding-top: 0; }
.rh-panel .rehber { padding-top: 0; }

.rehber { padding: 8px 0 clamp(24px, 4vw, 40px); scroll-margin-top: calc(var(--header-h-sm) + 8px); }
.rh-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rh-all { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--neon); font-weight: 600; text-decoration: none; }
.rh-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.rh-title { margin: 6px 0 16px; font-size: clamp(1.5rem, 4.6vw, 2.2rem); line-height: 1.15; }
.rh-title:focus, .rh-title:focus-visible { outline: none; box-shadow: none; }   /* başlık programla odak alır (ekran okuyucu); etkileşimli değil */
.rh-box { min-height: 240px; }
.rh-box[data-phase] { animation: rh-in .35s var(--ease); }
@keyframes rh-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Ruh hâli kartları: telefonda 2 × 2, genişte 4 sütun */
.rh-moods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .rh-moods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rh-mood {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 132px; padding: 18px 16px;
  border: 1px solid var(--glass-border); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface));
  color: var(--cream); text-align: left; text-decoration: none; cursor: pointer; overflow: hidden; transition: border-color .2s, transform .2s var(--ease);
}
.rh-mood::after { content: ''; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: var(--m, var(--red-glow)); filter: blur(28px); opacity: .55; pointer-events: none; }
.rh-mood[data-mood="nargile"] { --m: var(--red-glow); }
.rh-mood[data-mood="serin"] { --m: rgba(56,189,248,.35); }
.rh-mood[data-mood="acikti"] { --m: var(--amber-glow); }
.rh-mood[data-mood="tatli"] { --m: rgba(255,122,61,.35); }
.rh-mood:hover { border-color: rgba(255,255,255,.22); transform: translateY(-2px); }
.rh-mood:active { transform: scale(.98); }
.rh-mood-ic { font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.rh-mood-t { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.rh-mood-s { color: var(--gray-light); font-size: .88rem; }

/* Soru adımı */
.rh-dots { display: flex; gap: 6px; margin-bottom: 6px; }
.rh-dot { width: 26px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.rh-dot.is-done { background: var(--red-dark); }
.rh-dot.is-on { background: var(--red); box-shadow: var(--glow-red); }
.rh-answers { display: grid; gap: 12px; margin-bottom: 14px; }
@media (min-width: 600px) { .rh-answers { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.rh-answer {
  min-height: 64px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: var(--surface-2);
  color: var(--cream); font-size: 1.1rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .2s, background .2s;
}
.rh-answer:hover { border-color: rgba(227,18,27,.55); background: rgba(227,18,27,.1); }
.rehber .link-btn { min-height: 44px; padding: 0 6px; }
.rh-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; }

/* Öneri kartları: telefonda yatay kaydırma, genişte 3 sütun */
.rh-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; overscroll-behavior-x: contain; }
@media (min-width: 900px) { .rh-cards { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; } }
.rh-card { position: relative; display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; border: 1px solid var(--glass-border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.rh-card-open { display: flex; flex-direction: column; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.rh-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(140deg, var(--surface-2), var(--bg-2)); }
.rh-ph img, .rh-story-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-card-b { display: grid; gap: 4px; padding: 12px 14px 4px; }
.rh-card-n, .rh-story-n { font-weight: 700; font-size: 1.02rem; }
.rh-note { color: var(--gray-light); font-size: .88rem; line-height: 1.4; }
.rh-card-act { padding: 8px 14px 4px; }
.rh-card-act .btn { min-height: 44px; width: 100%; justify-content: center; }
.rh-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px 14px; }
.rh-pair .small { width: 100%; }
.rehber .chip { min-height: 44px; }
.rh-msg:empty { display: none; }
.rh-msg { margin: 10px 0 0; color: var(--neon); }

/* Sinyal şeridi */
.rh-sigs { display: grid; gap: 12px; margin-top: 22px; }
.rh-sig-t { display: block; margin-bottom: 6px; color: var(--amber); font-size: var(--fs-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rh-sig[data-sig="chef"] .rh-sig-t { color: var(--red-text); }
.rh-sig[data-sig="new"] .rh-sig-t { color: var(--neon); }
.rh-sig-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.rh-sig-row .chip { scroll-snap-align: start; }

/* Hikâye kartları: büyük fotoğraf, yatay kaydırma ve yaslanma */
.rh-sub { margin: 28px 0 12px; font-size: 1.3rem; }
.rh-stories { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; overscroll-behavior-x: contain; }
@media (min-width: 700px) { .rh-stories { grid-auto-columns: 300px; } }
.rh-story { position: relative; min-width: 0; scroll-snap-align: start; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--glass-border); overflow: hidden; }
.rh-story-a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.rh-story-ph { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; font-size: 3rem; background: linear-gradient(150deg, var(--k, var(--red)) -60%, var(--surface-2) 70%); }
.rh-story-ph::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(11,10,10,.85)); }
.rh-story[data-kind="nargile"] { --k: var(--red); }
.rh-story[data-kind="soguk"] { --k: var(--neon); }
.rh-story[data-kind="sicak"] { --k: var(--amber); }
.rh-story[data-kind="mutfak"] { --k: #ff7a3d; }
.rh-story-b { display: grid; gap: 4px; padding: 10px 14px 14px; }
.rh-story-n { font-family: var(--font-head); font-size: 1.25rem; }
.rh-story-a:hover .rh-story-n { color: var(--k); }

/* Kişisel blok (giriş yapmış müşteri) */
.rh-me { display: grid; gap: 8px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid rgba(242,163,60,.35); border-radius: var(--radius); background: linear-gradient(120deg, rgba(242,163,60,.1), transparent 70%); }
.rh-me p { margin: 0; }
.rh-me-ayin { color: var(--amber); font-weight: 600; }
.rh-me-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rh-me-row .small { margin-right: 4px; }

@media (prefers-reduced-motion: reduce) {
  .rh-box[data-phase] { animation: none; }
  .rh-mood, .rh-mood:hover, .rh-mood:active { transition: none; transform: none; }
  .mn-toast { transition: none; }
}
