/* =====================================================================
   BhookFlix "Midnight Craving" theme (2026-11-14)
   Loaded AFTER style.css (and recipes.css) on every page. style.css keeps
   all layout; this file re-skins it: a dark, cinematic, 11pm-craving look
   with food-neon (ember orange -> hot pink) light, glass panels, a bolder
   display face and motion that rewards every tap.
   ===================================================================== */
:root {
  --brand: #ff5e3a;
  --brand-dark: #ff7a4d;      /* on dark, the "dark" brand shade must be LIGHTER to read */
  --brand-light: #ff9269;
  --brand-50: rgba(255, 94, 58, 0.10);
  --brand-100: rgba(255, 94, 58, 0.24);
  --pink: #ff3d7f;
  --gold: #ffc44d;
  --hot: linear-gradient(120deg, #ff8a3d 0%, #ff5e3a 45%, #ff3d7f 100%);
  --bg: #2a1730;
  --card: #3b2242;
  --surface-2: #472b4f;
  --surface-3: #54355c;
  --text: #fbf2ec;
  --muted: #cdb6c4;
  --border: rgba(255, 255, 255, 0.13);
  --veg: #3ccf5e;
  --nonveg: #ff5a48;
  --glass: rgba(59, 34, 66, 0.72);
  --shadow-xs: 0 1px 2px rgba(20,6,24,0.35);
  --shadow-sm: 0 4px 14px rgba(20,6,24,0.4);
  --shadow-md: 0 12px 30px rgba(20,6,24,0.45);
  --shadow-lg: 0 24px 60px rgba(20,6,24,0.55);
  --shadow-brand: 0 10px 30px rgba(255, 61, 127, 0.35), 0 4px 12px rgba(255, 94, 58, 0.35);
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

html { background: linear-gradient(165deg, #3d1c3f 0%, #2a1730 42%, #22163a 100%) fixed; color: var(--text); }
body { background: transparent; color: var(--text); }

/* Living background: two slow neon glows behind everything. One fixed,
   full-viewport layer whose gradients drift via background-position, so it
   never extends past the screen edge (a transformed oversize layer gave the
   page a 29px sideways scroll on phones). */
body { background-image: none; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at var(--ga-x, 10%) var(--ga-y, 0%), rgba(255, 94, 58, 0.28), transparent 60%),
    radial-gradient(55vmax 55vmax at var(--gb-x, 95%) var(--gb-y, 45%), rgba(255, 61, 127, 0.20), transparent 60%);
  animation: glow-drift 24s ease-in-out infinite alternate;
}
@property --ga-x { syntax: "<percentage>"; inherits: false; initial-value: 10%; }
@property --ga-y { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --gb-x { syntax: "<percentage>"; inherits: false; initial-value: 95%; }
@property --gb-y { syntax: "<percentage>"; inherits: false; initial-value: 45%; }
@keyframes glow-drift {
  to { --ga-x: 40%; --ga-y: 25%; --gb-x: 70%; --gb-y: 80%; }
}

/* Enigmatic layers (all fixed, viewport-sized, animate only custom
   properties or background-position, so nothing overflows or reflows):
   1. html::before: a slow-turning conic aurora, barely there, that shifts
      the colour of the whole night (one revolution every 90 s);
   2. body::after: ember dust, three tiled dot fields drifting upward at
      different speeds for depth. */
@property --aur { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
html::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: conic-gradient(from var(--aur) at 50% 120%,
    rgba(255, 94, 58, 0.0) 0deg, rgba(255, 94, 58, 0.10) 60deg, rgba(255, 61, 127, 0.0) 120deg,
    rgba(124, 77, 255, 0.07) 200deg, rgba(255, 196, 77, 0.0) 260deg, rgba(255, 61, 127, 0.09) 320deg, rgba(255, 94, 58, 0.0) 360deg);
  animation: aurora-turn 90s linear infinite;
}
@keyframes aurora-turn { to { --aur: 360deg; } }
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, rgba(255, 170, 120, 0.9), transparent 70%),
    radial-gradient(1.2px 1.2px at 140px 90px, rgba(255, 110, 150, 0.8), transparent 70%),
    radial-gradient(1px 1px at 80px 160px, rgba(255, 220, 170, 0.7), transparent 70%);
  background-size: 220px 220px, 310px 310px, 170px 170px;
  animation: ember-rise 60s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}
@keyframes ember-rise {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 40px -1320px, -60px -1860px, 20px -1020px; }
}
/* Headline shimmer: the gradient accent slowly breathes across the words. */
.hero-h1-accent, .brand-word span { background-size: 200% 100%; animation: hot-shimmer 7s ease-in-out infinite alternate; }
@keyframes hot-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
/* Content reveals as it scrolls in (class added by js/dopamine.js). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; }
::selection { background: rgba(255, 61, 127, 0.45); color: #fff; }
a { color: var(--brand-light); }

/* ---------- Top bar ---------- */
.topbar {
  background: rgba(42, 23, 48, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.brand { font-family: var(--font-display); font-size: 24px; }
.brand-word span {
  background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-mark { box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 6px 18px rgba(255, 61, 127, 0.35); }
.cart-btn { background: var(--hot); box-shadow: var(--shadow-brand); }
.cart-count { background: #fff; color: #e6284f; }
.search-row input {
  background: rgba(255,255,255,0.05); border-color: var(--border); color: var(--text);
  border-radius: var(--radius-pill); padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a99b97' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px center;
}
.search-row input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.18); background-color: rgba(255,255,255,0.07); }

/* ---------- Streak pill ---------- */
.streak-widget {
  background: linear-gradient(180deg, rgba(255,196,77,0.12), rgba(255,94,58,0.08));
  border-color: rgba(255, 196, 77, 0.28); color: var(--text);
  box-shadow: 0 0 24px rgba(255, 160, 60, 0.12);
}

/* ---------- Hero ---------- */
/* The hero sits straight on the night background (no box); its glow is
   neon light bleeding from behind the headline. */
.hero { background: none; border: 0; box-shadow: none; color: var(--text); }
.hero::before {
  /* Glows fade out well inside the box, so the mobile hero's overflow clip
     never shows a hard edge. */
  inset: 0;
  background:
    radial-gradient(60% 45% at 30% 35%, rgba(255, 94, 58, 0.22), transparent 100%),
    radial-gradient(50% 40% at 75% 75%, rgba(255, 61, 127, 0.14), transparent 100%);
}
@media (min-width: 900px) { .hero::before { inset: -40% -15%; } }
.hero h1 {
  font-size: clamp(34px, 6.2vw, 64px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800;
  color: #fff; margin-bottom: 14px;
}
.hero-h1-accent {
  display: inline; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 61, 127, 0.35));
}
.hero p { color: #d9ccc6; }
.hero-sub { color: var(--muted) !important; }
.hero-badge {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #ffd9c9;
  backdrop-filter: blur(6px);
}
.hero-link { color: var(--brand-light); font-weight: 700; margin-right: 18px; }
.hero-deco { filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6)); animation: deco-float 6s ease-in-out infinite; }
.hero-deco-2 { animation-delay: -1.5s; } .hero-deco-3 { animation-delay: -3s; } .hero-deco-4 { animation-delay: -4.5s; }
@keyframes deco-float { 50% { transform: translateY(-12px) rotate(6deg); } }
.hero-counter-num { background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Photos: the dish shots are on white studio backgrounds; a soft
   inner vignette and a touch less brightness seat them in the dark UI. ---------- */
.dish-photo, .dotd-photo, .rp-card img, .rp-hero { filter: brightness(0.94) contrast(1.04) saturate(1.08); }
.dish-photo-wrap::after, .dotd-photo-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 36px 4px rgba(42, 23, 48, 0.55);
}

/* ---------- Dish of the day ---------- */
.dotd-card { background: linear-gradient(155deg, #4c2b52, #351e3b); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 94, 58, 0.15); }
.dotd-photo-wrap { background: #2a1e24; }
.dotd-add-btn { background: var(--hot); }
.dotd-add-btn.added { background: #3a2a32; }

/* ---------- Coupon banner ---------- */
.coupon-banner { background: rgba(255,196,77,0.08); border: 1px dashed rgba(255,196,77,0.45); color: var(--text); }
.coupon-code { background: var(--gold); color: #1a1208; }

/* ---------- Chips ---------- */
.chip {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #e8dcd6;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.chip:hover { background: rgba(255,255,255,0.09); }
.chip:active { transform: scale(0.94); }
.chip.active { background: var(--hot); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(255, 61, 127, 0.3); }
.rp-chip { background: rgba(255,255,255,0.05); border-color: var(--border); color: var(--text); }
.rp-chip:hover { border-color: rgba(255, 94, 58, 0.5); }

/* ---------- Restaurants + dish cards ---------- */
.restaurant-block { background: transparent; }
.restaurant-name { font-family: var(--font-display); }
.restaurant-banner { box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.dish-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, border-color 0.25s;
}
@media (hover: hover) {
  .dish-card:hover {
    transform: translateY(-4px); border-color: rgba(255, 94, 58, 0.45);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 94, 58, 0.25), 0 18px 40px rgba(255, 61, 127, 0.16);
  }
  .dish-card:hover .dish-photo { transform: scale(1.07); }
}
.dish-photo-wrap { background: #221a20; overflow: hidden; }
.dish-photo { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.dish-photo-wrap .veg-dot { background: rgba(42, 23, 48, 0.8); }
.dish-name { color: #fff; }
.dish-price { color: #fff; }
.dish-price.discounted { color: var(--gold); }
.add-btn {
  background: var(--hot); color: #fff; border: none; box-shadow: 0 6px 16px rgba(255, 61, 127, 0.28);
  transition: transform 0.12s ease, box-shadow 0.2s;
}
.add-btn:active { transform: scale(0.9); }
.recipe-btn { background: rgba(255,255,255,0.06); border-color: var(--border); color: var(--text); }
.qty-controls { background: rgba(255,255,255,0.06); border-color: var(--border); }
.qty-btn { color: var(--text); }

/* ---------- Drawers / overlays ---------- */
.overlay { background: rgba(5, 3, 5, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.drawer {
  background: linear-gradient(180deg, #40254a, #301b37); color: var(--text);
  border: 1px solid var(--border); border-bottom: none; box-shadow: 0 -20px 60px rgba(0,0,0,0.6);
}
.drawer-header { border-color: var(--border); }
.icon-btn { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--border); }
.primary-btn {
  background: var(--hot); color: #fff; border: none; box-shadow: var(--shadow-brand);
  transition: transform 0.12s, box-shadow 0.2s, filter 0.2s;
}
.primary-btn:hover { filter: brightness(1.08); }
.primary-btn:active { transform: scale(0.97); }
.cart-item { border-color: var(--border); }
.card-block { background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.card-block input { background: rgba(255,255,255,0.05); color: var(--muted); border-color: var(--border); }
.fake-card { background: linear-gradient(135deg, #3a1f2c, #ff3d7f 140%); box-shadow: var(--shadow-md); }
.disclaimer { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--muted); }

/* ---------- Sub bars (checkout / tracking) ---------- */
.subbar { background: rgba(42, 23, 48, 0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); }

/* ---------- Tracking ---------- */
#tracking-status { font-size: clamp(22px, 4vw, 30px); color: #fff; }
.map-stage .live-map, .map-stage .map { border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.07); }
.map-status-card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); color: var(--text); }
.map-status-title { color: #fff; }
.map-status-sub { color: var(--gold); font-weight: 800; }
.map-layer-toggle { background: var(--glass); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.map-layer-toggle:hover { background: rgba(40, 32, 44, 0.9); }
.eta-block { background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.eta-timer {
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
  background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.status-steps li { color: var(--muted); }
.status-steps li.active { color: #fff; }
.near-miss-count { background: var(--hot); box-shadow: 0 6px 20px rgba(255, 61, 127, 0.4); }
.home-pin { background: #fff; }
.cancel-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.cancel-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.map { filter: brightness(0.92); }

/* ---------- Ending ---------- */
.ending-wrap h2 { font-size: clamp(26px, 5vw, 40px); line-height: 1.05; }
.ending-card, .recipe-card { background: rgba(255,255,255,0.045); border: 1px solid var(--border); }
.calories-saved-stat { background: linear-gradient(180deg, rgba(60,207,94,0.14), rgba(60,207,94,0.05)); border-color: rgba(60,207,94,0.35); color: var(--text); }

/* ---------- Rewards ---------- */
.rewards-stat { background: rgba(255,255,255,0.04); border-color: var(--border); }
.tier-row { border-color: var(--border); }
.tier-row.unlocked { background: linear-gradient(180deg, rgba(255,196,77,0.12), rgba(255,196,77,0.03)); }

/* ---------- Banners / notes / footer ---------- */
.location-banner, .install-banner, .country-detect-note, .location-status-note, .search-scope-note {
  background: rgba(255,255,255,0.045); border-color: var(--border); color: var(--text);
}
.chip-btn { background: var(--hot); color: #fff; border: none; }
.chip-btn.ghost { background: rgba(255,255,255,0.07); color: var(--text); }
.footer-book { background: rgba(255,255,255,0.04); border-color: var(--border); }
.app-footer a { color: var(--muted); }
.toast { background: rgba(30, 23, 33, 0.95); color: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.ad-slot-label { color: var(--muted); }

/* ---------- Static pages (about/privacy/recipes) ---------- */
.quote-block { background: rgba(255,255,255,0.04); }
.rp-cta { background: linear-gradient(135deg, rgba(255,94,58,0.14), rgba(255,61,127,0.10)); border-color: rgba(255,94,58,0.3); }
.rp-cta-btn, .rp-nav a.rp-nav-cta { background: var(--hot); }
.rp-ingredients, .rp-steps, .rp-card, .rp-meta > span { background: rgba(255,255,255,0.04); border-color: var(--border); }
.rp-card:hover { border-color: rgba(255, 94, 58, 0.45); }
.rp-crumbs a, .rp-linklist a, .rp-wrap h2 a { color: var(--text); }

/* ---------- Dopamine micro-interactions (js/dopamine.js) ---------- */
.fly-thumb {
  position: fixed; z-index: 3000; width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
  pointer-events: none; box-shadow: 0 10px 30px rgba(255, 61, 127, 0.5);
}
.burst-dot { position: fixed; z-index: 3001; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.plus-one {
  position: fixed; z-index: 3002; pointer-events: none; font: 800 18px var(--font-display);
  background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cart-btn.bump { animation: cart-bump 0.45s cubic-bezier(.2,1.8,.4,1); }
@keyframes cart-bump { 0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(-6deg); } 100% { transform: scale(1); } }
#confetti-canvas { position: fixed; inset: 0; z-index: 3500; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after, html::before, .hero-deco, .hero-h1-accent, .brand-word span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dish-card, .dish-photo { transition: none; }
}
/* Badges/ribbons inside the photo stay above the vignette. */
.dish-photo-wrap .veg-dot, .discount-ribbon, .dotd-ribbon, .dish-photo-wrap .dish-tag { z-index: 2; }

/* Recipe-page header on small phones: keep the CTA on one line. */
@media (max-width: 440px) {
  .rp-nav a:not(.rp-nav-cta) { display: none; }
  .rp-nav a.rp-nav-cta { white-space: nowrap; }
}

/* ================= Craving Lab (js/home-extras.js) ================= */
.dopamine-line { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none;
  background: var(--hot); transform-origin: left center; transform: scaleX(0); transition: transform .6s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 0 12px rgba(255, 61, 127, .7); }
.craving-lab { max-width: 1180px; margin: 22px auto 8px; padding: 0 16px; }
.cl-head h2 { font-family: var(--font-display); font-size: clamp(24px, 4.4vw, 36px); margin: 0 0 4px; letter-spacing: -0.02em; }
.cl-head p { color: var(--muted); font-size: 14px; margin: 0 0 16px; max-width: 620px; line-height: 1.55; }
.cl-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .cl-grid { grid-template-columns: 1.15fr 1fr; } }
.cl-card { background: linear-gradient(160deg, #4a2a51, #341d3a); border: 1px solid var(--border); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; min-width: 0; }
.cl-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(255,61,127,.16), transparent); pointer-events: none; }
.cl-card-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.cl-roulette { display: grid; grid-template-columns: 168px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; }
.cl-roulette .cl-card-kicker { grid-column: 1 / -1; }
.cl-reel { grid-row: 2 / 4; width: 168px; height: 168px; border-radius: 18px; overflow: hidden; position: relative; background: #2a1e24;
  box-shadow: inset 0 0 0 2px rgba(255,196,77,.35), 0 0 30px rgba(255,94,58,.25); }
.cl-reel-strip { will-change: transform; }
.cl-cell { width: 168px; height: 168px; }
.cl-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-reel-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(42, 23, 48, .55), transparent 28%, transparent 72%, rgba(42, 23, 48, .55)); }
.cl-result { min-height: 58px; }
.cl-result-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.2; }
.cl-result-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: end; margin-top: 10px; }
.cl-spin, .cl-add { border: 0; border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; color: #fff; }
.cl-spin { background: var(--hot); box-shadow: var(--shadow-brand); }
.cl-spin:active, .cl-add:active { transform: scale(.96); }
.cl-add { background: var(--surface-3); border: 1px solid rgba(255,255,255,.14); }
@media (max-width: 480px) {
  .cl-roulette { grid-template-columns: 1fr; }
  .cl-reel { grid-row: auto; width: 100%; height: 200px; }
  .cl-cell { width: 100%; height: 200px; }
  .cl-result { margin-top: 12px; }
}
.cl-meter { height: 18px; border-radius: 999px; background: #2a1f28; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.cl-meter-fill { height: 100%; width: 0; background: var(--hot); border-radius: inherit; transition: width .6s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 18px rgba(255,61,127,.6); }
.cl-meter.pulse { animation: cl-pulse .45s ease-out; }
@keyframes cl-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.03, 1.25); } 100% { transform: scale(1); } }
.cl-meter-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 12px; }
.cl-meter-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.cl-meter-tier { font-weight: 700; font-size: 14px; }
.cl-meter-legend { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.cl-meter-legend b { color: var(--text); }
.cl-meter-note { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }
.cl-moods { margin-top: 18px; }
.cl-mood-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cl-mood-chips::-webkit-scrollbar { display: none; }
.cl-mood { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.12); background: var(--card); color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.cl-mood.on { background: var(--hot); border-color: transparent; box-shadow: var(--shadow-brand); }
.cl-mood-title { font-family: var(--font-display); font-size: 19px; margin: 14px 0 10px; }
.cl-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.cl-tile { flex: 0 0 168px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: transform .2s; }
.cl-tile:hover { transform: translateY(-3px); }
.cl-tile img { width: 100%; height: 128px; object-fit: cover; display: block; background: #2a1e24; }
.cl-tile-body { padding: 10px 12px 12px; position: relative; }
.cl-tile-name { font-weight: 800; font-size: 14px; line-height: 1.25; margin-bottom: 2px; padding-right: 30px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-tile-sub { color: var(--muted); font-size: 11.5px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-tile .price-row, .cl-tile .dish-price { font-size: 13px; }
.cl-tile-add { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--hot); color: #fff; font-weight: 800; font-size: 17px; line-height: 1; cursor: pointer; }
.cl-tile-add.added { background: #3a2a32; }
@media (prefers-reduced-motion: reduce) { .dopamine-line, .cl-meter-fill { transition: none; } .cl-meter.pulse { animation: none; } }

/* Share-my-fake-order button (js/share-card.js) */
.share-order-btn { display: block; width: 100%; max-width: 420px; margin: 18px auto 10px; padding: 14px 18px; border: 0; border-radius: 999px;
  background: var(--hot); color: #fff; font: 800 16px var(--font-display); cursor: pointer; box-shadow: var(--shadow-brand); }
.share-order-btn:disabled { opacity: .7; cursor: progress; }
.share-wrap { max-width: 520px; margin: 0 auto; }
.share-panel { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 14px; margin: 4px 0 14px; box-shadow: var(--shadow-md); }
.share-panel.hidden { display: none; }
.share-panel-title { font: 800 15px var(--font-display); margin: 0 0 10px; color: var(--text); }
.share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.share-chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; padding: 10px 8px; font: 700 13px var(--font-display); color: #fff; cursor: pointer;
  background: var(--c); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); transition: transform .12s ease, filter .12s ease; }
.share-chip:hover { transform: translateY(-1px); filter: brightness(1.1); }
.share-chip:disabled { opacity: .7; cursor: progress; }
.share-native { grid-column: 1 / -1; background: var(--c); }
.share-ico { width: 18px; height: 18px; flex: none; }
.share-icos { display: inline-flex; gap: 5px; }
.share-lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-chip[style*="#000000"], .share-chip[style*="#101010"] { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.share-panel-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }

/* Brand mark: the cloche lifts and the sparkle glints on hover */
.brand-mark { width: 34px; height: 34px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 4px 10px rgba(255,61,127,.45)); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand-mark, a:hover > .brand-mark { transform: rotate(-8deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .brand-mark { transition: none; } }

/* Selected country tab: the old light-theme style made it white-on-white */
.chip.country-chip.active { background: var(--hot); border-color: transparent; color: #fff; font-weight: 700;
  box-shadow: 0 0 0 2px var(--country-accent, transparent), 0 6px 18px rgba(255, 61, 127, 0.3); }
