/* ==========================================================================
   Chef Lynn Michelle · Recipes · "Lowcountry daylight" liquid glass
   Glass primitive (tint + hi/lo sheen + gradient specular edge + blur/saturate
   + inset highlight shadow, with @supports fallback) follows the shared pattern
   in /workspace/weblab/styles.css and pickers-rock-dashboard/src/styles.css,
   re-tuned for a light, sunny theme in Chef Lynn's brand colors.
   ========================================================================== */
:root {
  /* brand: Elementor global kit (post-12.css) + logo pixels */
  --orange: #E27225;   /* kit primary · logo plate arc #E37124 */
  --navy:   #06113C;   /* kit secondary (headings, nav) */
  --blue:   #297BBF;   /* kit accent · logo deep-water arc #287AC0 */
  --sky:    #53BCE9;   /* logo light-water arc */
  --teal:   #76C8B5;   /* kit + logo knife #75C7B4 */
  --amber:  #F39A12;   /* kit */
  --yellow: #FBEF3C;   /* logo fork */
  --red:    #D12E26;   /* logo plate */
  --leaf:   #49B649;   /* logo herb sprig */
  --lilac:  #A968AA;   /* kit + logo buds */
  --cream:  #FFF7F1;   /* kit section bg */
  --text:   #3c4257;
  --muted:  #707070;   /* kit text */
  --rainbow: linear-gradient(90deg, var(--red), var(--orange) 20%, var(--yellow) 38%, var(--teal) 58%, var(--sky) 76%, var(--blue) 90%, var(--lilac));

  --glass-tint: rgba(255, 252, 247, .46);
  --glass-hi: rgba(255, 255, 255, .62);
  --glass-lo: rgba(255, 255, 255, .14);
  --glass-edge: linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.35) 30%, rgba(255,255,255,.15) 60%, rgba(226,114,37,.45) 100%);
  --glass-blur: blur(22px) saturate(180%);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.25), inset 0 0 0 .5px rgba(255,255,255,.4), 0 24px 60px -28px rgba(6,17,60,.45), 0 2px 8px -2px rgba(6,17,60,.12);
  --lx: .3; --ly: .2;
  --radius: 26px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head: "Rufina", Georgia, "Times New Roman", serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); -webkit-text-size-adjust: 100%; scroll-behavior: auto; height: auto; overflow: visible; }
html, body { margin: 0; }
body { font-family: var(--body); color: var(--text); line-height: 1.6; height: auto; overflow: visible; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.18; margin: 0; font-weight: 700; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
::selection { background: rgba(118,200,181,.45); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

/* ---------- living sky (sea, sand and sunset orbs) ---------- */
/* Atmosphere orbs only. The fill used to be position:fixed; inset:0, which Safari 26
   samples as a solid edge color for its top bar and bottom toolbar. Keep the orbs off
   the sampled edges (inset by the safe-area) and give .sky no background of its own.
   Page color lives on body as a background-image, the way Donnelly does. */
.sky { position: fixed; top: var(--sat, env(safe-area-inset-top, 0px)); right: 0; bottom: var(--sab, env(safe-area-inset-bottom, 0px)); left: 0;
  z-index: -2; overflow: hidden; background: none; background-color: transparent; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.o1 { width: 44vmax; height: 44vmax; left: -14vmax; top: -12vmax; background: radial-gradient(circle, var(--orange), transparent 65%); opacity: .38; animation: d1 28s ease-in-out infinite alternate; }
.o2 { width: 40vmax; height: 40vmax; right: -12vmax; top: 14vh; background: radial-gradient(circle, var(--sky), transparent 65%); opacity: .42; animation: d2 33s ease-in-out infinite alternate; }
.o3 { width: 42vmax; height: 42vmax; left: 18vw; bottom: -22vmax; background: radial-gradient(circle, var(--teal), transparent 62%); opacity: .45; animation: d3 38s ease-in-out infinite alternate; }
.o4 { width: 22vmax; height: 22vmax; left: 58vw; top: 4vh; background: radial-gradient(circle, var(--yellow), transparent 65%); opacity: .35; animation: d2 24s ease-in-out infinite alternate-reverse; }
.o5 { width: 26vmax; height: 26vmax; left: 4vw; top: 55vh; background: radial-gradient(circle, var(--lilac), transparent 65%); opacity: .22; animation: d1 30s ease-in-out infinite alternate-reverse; }
@keyframes d1 { to { transform: translate3d(16vw, 12vh, 0) scale(1.12); } }
@keyframes d2 { to { transform: translate3d(-20vw, 10vh, 0) scale(.88); } }
@keyframes d3 { to { transform: translate3d(-12vw, -16vh, 0) scale(1.08); } }
.grain { position: absolute; inset: -50%; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- glass primitive ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, var(--glass-hi), var(--glass-lo)) padding-box,
              linear-gradient(var(--glass-tint), var(--glass-tint)) padding-box,
              var(--glass-edge) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}
.glass.sheen { overflow: hidden; }
.glass.sheen::after { content: ''; position: absolute; inset: -60%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,.12) 45%, transparent 70%),
              linear-gradient(115deg, transparent 42%, rgba(255,255,255,.35) 49%, rgba(251,239,60,.12) 51%, transparent 58%);
  transform: translate3d(calc((var(--lx) - .5) * 55%), calc((var(--ly) - .5) * 55%), 0); will-change: transform; }
.glass-inset { background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 2px 6px rgba(6,17,60,.08), 0 1px 0 rgba(255,255,255,.8); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,.4)) padding-box, linear-gradient(rgba(255,250,244,.96), rgba(255,250,244,.96)) padding-box, var(--glass-edge) border-box; }
}

/* ---------- top bar ---------- */
.topbar { position: sticky; top: max(10px, env(safe-area-inset-top)); z-index: 20; margin: 10px auto 0; width: min(1200px, calc(100% - 20px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 16px; border-radius: 999px; }
.brand { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.brand img { height: 44px; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center; }
.topnav { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: .45em; border-radius: 999px; padding: .5em .95em; border: 1px solid rgba(255,255,255,.95);
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.4)); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(6,17,60,.45);
  cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--navy); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-spring), background .25s, box-shadow .25s; touch-action: manipulation; }
.chip:hover { background: #fff; }
.chip:active { transform: scale(.94); }
.chip .dot { width: .62em; height: .62em; border-radius: 50%; background: var(--c, var(--orange)); box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.chip[aria-pressed="true"] { background: var(--c, var(--navy)); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 22px -10px var(--c, var(--navy)); }
.chip[aria-pressed="true"] .dot { background: #fff; }
.chip.ghost { background: transparent; border-color: transparent; box-shadow: none; }
.chip .n { font-weight: 500; opacity: .65; font-size: .8em; }
.btn-book { display: inline-flex; align-items: center; padding: .62em 1.15em; border-radius: 999px; background: linear-gradient(180deg, #f08a43, var(--orange)); color: #fff;
  font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 24px -10px rgba(226,114,37,.9); white-space: nowrap; transition: transform .3s var(--ease-spring); }
.btn-book:hover { transform: translateY(-1px); }

/* ---------- hero ---------- */
main { width: min(1200px, calc(100% - 20px)); margin: 0 auto; outline: none; }
.hero { position: relative; margin-top: 14px; border-radius: 34px; overflow: hidden; min-height: clamp(420px, 62vh, 600px); display: grid; align-items: end; padding: clamp(14px, 3vw, 34px); box-shadow: 0 30px 70px -36px rgba(6,17,60,.6); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.03); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,17,60,0) 30%, rgba(6,17,60,.35)); }
.hero-card { max-width: 640px; padding: clamp(18px, 3vw, 30px); --glass-tint: rgba(255,252,247,.5); }
.eyebrow { margin: 0 0 .4rem; font-family: var(--head); color: var(--teal); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(255,255,255,.8); filter: saturate(1.3) brightness(.8); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.rainbow { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; filter: saturate(1.1) brightness(.92); }
.lede { margin: .7rem 0 1.1rem; font-size: clamp(.95rem, 1.8vw, 1.06rem); color: #2a3150; }
.search { display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 8px 6px 16px; }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 0; font-size: 1rem; color: var(--navy); outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { outline: 3px solid rgba(41,123,191,.5); outline-offset: 2px; }
.q-clear { border: 0; background: rgba(6,17,60,.08); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.awards { display: flex; gap: 10px; margin-top: 14px; }
.awards img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(6,17,60,.25)); }

/* ---------- filters + grid ---------- */
.filters { margin: -28px auto 0; width: calc(100% - 24px); padding: 12px; display: grid; gap: 8px; z-index: 2; position: relative; border-radius: 24px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; scroll-snap-type: x proximity; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row .chip { scroll-snap-align: start; }
.chip-row.small .chip { font-size: .78rem; padding: .38em .8em; }
.list-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 6px 10px; gap: 10px; }
#count { margin: 0; font-weight: 600; color: var(--navy); }
.sort { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.sort select { border: 1px solid rgba(6,17,60,.15); background: rgba(255,255,255,.7); border-radius: 999px; padding: .35em .8em; color: var(--navy); }
.grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { padding: 8px; height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--ease-spring), box-shadow .3s; border-radius: 24px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow), 0 30px 60px -30px var(--c, rgba(226,114,37,.8)); }
}
.card a.cover { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--c, var(--orange)), var(--teal)); text-decoration: none; }
.card a.cover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover a.cover > img { transform: scale(1.05); }
}
.card .noimg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.card .noimg img { width: 42%; max-width: 140px; height: auto; object-fit: contain; opacity: .95;
  filter: drop-shadow(0 10px 18px rgba(6,17,60,.35)); }
.badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: .25em .7em; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--navy);
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 #fff; display: inline-flex; gap: .4em; align-items: center; }
.badge .dot { width: .55em; height: .55em; border-radius: 50%; background: var(--c); }
.card-body { padding: 12px 8px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h2 { font-size: 1.16rem; }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a::after { content: ''; position: absolute; inset: 0; border-radius: 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; color: var(--muted); margin-top: auto; }
.meta span { display: inline-flex; gap: .35em; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: .7rem; font-weight: 600; padding: .15em .6em; border-radius: 999px; background: rgba(118,200,181,.22); color: #1d6b5a; text-transform: capitalize; }
.empty { padding: 20px; text-align: center; }
.link { background: none; border: 0; color: var(--blue); text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- recipe view ---------- */
#view-recipe { margin: 14px 0 0; }
.r-back { margin: 4px 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.r-hero { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
.r-photo { position: relative; width: 100%; justify-self: stretch; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(6,17,60,.6); background: linear-gradient(135deg, var(--c, var(--orange)), var(--teal)); }
.r-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-photo .noimg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.r-photo .noimg img { width: 36%; max-width: 180px; height: auto; object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(6,17,60,.4)); }
.r-head { padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.r-head .crumb { margin: 0; font-size: .85rem; font-weight: 600; color: var(--c, var(--orange)); filter: brightness(.85); }
.r-head h1 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
.r-head .summary { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin: 4px 0; }
.stat { padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.6); box-shadow: inset 0 1px 0 #fff; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: 1.2rem; color: var(--navy); }
.stat small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.r-body { display: grid; gap: 18px; margin-top: 18px; grid-template-columns: 1fr; }
.panel { padding: clamp(18px, 3vw, 28px); }
.panel h2 { font-size: 1.5rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.panel h2::before { content: ''; width: 26px; height: 6px; border-radius: 6px; background: var(--rainbow); }
.panel h3 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin: 16px 0 6px; }
.ing { list-style: none; padding: 0; margin: 0; }
.ing li { border-bottom: 1px dashed rgba(6,17,60,.12); }
.ing label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 2px; cursor: pointer; }
.ing input { appearance: none; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; border: 2px solid var(--teal); background: rgba(255,255,255,.7); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.ing input:checked { background: var(--teal); }
.ing input:checked::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 700; }
.ing input:checked + span { opacity: .5; text-decoration: line-through; }
.ing .amt { font-weight: 600; color: var(--navy); }
.ing .note { color: var(--muted); font-size: .88em; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 54px; border-radius: 18px; background: rgba(255,255,255,.5); box-shadow: inset 0 1px 0 #fff; cursor: pointer; transition: opacity .2s, background .2s; }
.steps li::before { content: counter(s); position: absolute; left: 12px; top: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; background: var(--sc, var(--orange)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.steps li.done { opacity: .5; }
.steps li.done::before { content: '✓'; background: var(--teal); }
.extra { display: grid; gap: 14px; }
.extra ul { margin: 0; padding-left: 1.1em; }
.src { font-size: .88rem; }
/* toast drops in just under the header: iOS 26 Safari's floating bottom address bar covers anything pinned to the bottom */
.toast { position: fixed; left: 50%; top: var(--toast-top, calc(env(safe-area-inset-top, 0px) + 90px)); bottom: auto; opacity: 0; pointer-events: none; transform: translate(-50%, -24px); padding: .7rem 1.2rem; border-radius: 999px; z-index: 50; transition: transform .45s var(--ease-spring), opacity .25s; font-weight: 600; color: var(--navy); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- footer ---------- */
.foot { width: min(1200px, calc(100% - 20px)); margin: 0 auto 30px; }
.foot-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 22px; }
.foot-card p { flex: 1 1 300px; margin: 0; }
.fine { text-align: center; font-size: .78rem; color: var(--muted); }

@media (min-width: 860px) {
  .r-hero { grid-template-columns: 1.1fr 1fr; }
  .r-photo { aspect-ratio: auto; min-height: 420px; }
  .r-body { grid-template-columns: minmax(280px, .8fr) 1.2fr; align-items: start; }
  .r-body .ing-panel { position: sticky; top: 90px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .brand img { height: 34px; }
  .topbar { padding-left: 12px; }
  .topnav .chip[data-nav] { display: none; }
  .btn-book { padding: .55em .95em; font-size: .82rem; }
  .hero { border-radius: 26px; }
  .filters { width: 100%; margin-top: 12px; }
  /* many glass cards on phones: drop per-card blur for scroll performance */
  .card { -webkit-backdrop-filter: none; backdrop-filter: none; --glass-tint: rgba(255,252,247,.78); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ==========================================================================
   Readability + finger-friendly sizing (client feedback, Oct 2026)
   Modest step up for older eyes; tap targets >= 48px on touch screens.
   ========================================================================== */
html { font-size: calc(106.25% * var(--ts, 1)); }  /* 17px base (was 16px), scaled by the reader's text size (.9 / 1 / 1.2 / 1.4) */
body { line-height: 1.65; }
:root { --muted: #5a5f6e; }                        /* darker meta text: ~6.3:1 on cream (was #707070 ~4.6:1) */
.topbar { padding: 10px 12px 10px 16px; border-radius: 32px; gap: 14px; }
.brand img { height: 64px; max-width: 100%; }       /* was 44px; trimmed asset, same bar height */
.chip { font-size: .95rem; padding: .62em 1.15em; min-height: 46px; }
.btn-book { font-size: 1rem; padding: .78em 1.35em; min-height: 48px; }
.filters { padding: 14px; gap: 12px; }
.chip-row { gap: 12px; padding: 3px; }             /* was 8px */
.chip-row .chip { min-height: 48px; font-size: 1rem; padding: .65em 1.25em; }   /* was .88rem, ~36px tall */
.chip-row.small .chip { min-height: 44px; font-size: .92rem; padding: .55em 1.1em; } /* was .78rem, ~30px tall */
.chip .dot { width: .7em; height: .7em; }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.15rem); }
.search { padding: 6px 8px 6px 20px; min-height: 60px; }
.search svg { width: 24px; height: 24px; }
.search input { font-size: 1.12rem; padding: .55rem 0; min-height: 44px; }  /* was 1rem / 16px */
.q-clear { width: 44px; height: 44px; font-size: 1.5rem; }
#count { font-size: 1.08rem; }
.sort { font-size: 1rem; gap: 8px; }
.sort select { font-size: 1rem; min-height: 48px; padding: .5em 1.1em; }
.grid { gap: 22px; }
.badge { font-size: .82rem; padding: .32em .8em; }
.card h2 { font-size: 1.38rem; }                   /* was 1.16rem */
.meta { font-size: .92rem; gap: 8px 14px; }        /* was .8rem */
.tag { font-size: .8rem; padding: .22em .7em; }
.r-back .chip { min-height: 48px; }
.r-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.r-head .summary { font-size: 1.05rem; }
.stat b { font-size: 1.35rem; }
.stat small { font-size: .8rem; }
.actions { gap: 10px; }
.actions .chip { min-height: 48px; font-size: 1rem; }
.panel h2 { font-size: 1.7rem; }
.panel h3 { font-size: .9rem; }
.ing label { gap: 14px; padding: 12px 4px; min-height: 52px; align-items: center; font-size: 1.06rem; }
.ing input { width: 30px; height: 30px; border-radius: 9px; margin-top: 0; }    /* was 22px */
.ing input:checked::after { font-size: 18px; }
.steps { gap: 12px; }
.steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 14px 18px 14px 14px; font-size: 1.06rem; min-height: 64px; }
/* badge sits in its own fixed column, so it can never overlap the text */
.steps li::before { position: static; width: 38px; height: 38px; font-size: 1.05rem; flex: none; }   /* was 30px */
.src, .fine { font-size: .92rem; }
.foot-card p { font-size: 1.02rem; }
@media (max-width: 640px) {
  html { font-size: calc(106.25% * var(--ts, 1)); }
  .topbar { padding: 8px 10px 8px 8px; border-radius: 28px; gap: 8px; }
  .brand img { height: 52px; max-width: 100%; }    /* was 34px; trimmed asset fills the same bar */
  .btn-book { font-size: .95rem; padding: .7em 1.1em; }
  .filters { padding: 12px 10px; }
  .chip-row .chip { min-height: 50px; }
  .chip-row.small .chip { min-height: 48px; }
  .card h2 { font-size: 1.42rem; }
  .meta { font-size: .95rem; }
  .ing label, .steps li { font-size: 1.08rem; }
}
@media (max-width: 380px) {
  .topbar { padding-left: 8px; gap: 6px; }
  .brand img { height: 44px; max-width: 100%; }
  .btn-book { font-size: .9rem; padding: .65em .9em; }
}


/* chip rows: room inside the scroller so chip shadows aren't clipped by overflow-x
   (overflow-x:auto forces overflow-y to clip); negative margins keep the layout unchanged */
.chip-row { padding: 6px 8px 18px; margin: -6px -8px -16px; scroll-padding-inline: 8px; touch-action: pan-x; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.chip-row + .chip-row { margin-top: 0; }   /* ~20px visible gap between rows (was ~10px) */
/* sticky glass header: a touch more opaque once content scrolls beneath it */
.topbar { transition: box-shadow .3s, background .3s; }
.topbar.scrolled { --glass-tint: rgba(255, 250, 244, .72); box-shadow: var(--glass-shadow), 0 14px 34px -18px rgba(6,17,60,.45); }


/* 390px swipe affordance: tuned so the next chip visibly peeks past the right edge
   (category row ~40px of "Salads", dietary row ~half of "gluten free"); no arrows/fades */
@media (max-width: 640px) {
  #cat-chips { gap: 12px; }
  #cat-chips .chip { padding-left: .85em; padding-right: .85em; }
  #diet-chips { gap: 14px; }
  #diet-chips .chip { font-size: 1rem; padding-left: 1.3em; padding-right: 1.3em; }
}
/* ---------- recipe-page booking call-to-action ---------- */
.cta { margin: 26px 0 0; padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 56px); text-align: center; display: grid; justify-items: center; gap: 12px;
  --glass-tint: rgba(255, 249, 240, .58);
  --glass-edge: linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.35) 30%, rgba(118,200,181,.35) 65%, rgba(226,114,37,.6) 100%); }
.cta::before { content: ''; position: absolute; left: 50%; top: 0; width: min(220px, 50%); height: 5px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: var(--rainbow); }
.cta-mark { width: 64px; height: 64px; filter: drop-shadow(0 6px 12px rgba(6,17,60,.2)); }
.cta h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); max-width: 18em; }
.cta p { margin: 0 0 8px; max-width: 34em; font-size: 1.08rem; color: #2a3150; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; min-width: min(100%, 340px); padding: .8em 2.2em; border-radius: 999px;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #f39250, var(--orange) 60%, #cf6119); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 16px 34px -14px rgba(226,114,37,.95);
  transition: transform .35s var(--ease-spring), box-shadow .3s; touch-action: manipulation; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 22px 40px -14px rgba(226,114,37,1); }
.cta-btn:active { transform: scale(.97); }
body[data-view="recipe"] .foot-card { display: none; }       /* the CTA replaces the footer pitch on recipe pages */
@media (max-width: 640px) { .cta-btn { width: 100%; min-height: 62px; font-size: 1.22rem; } .cta { margin-top: 22px; } }
.card-sum { margin: 0; font-size: .95rem; line-height: 1.5; color: #3c4257; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-head .summary { font-size: 1.1rem; line-height: 1.65; color: #2a3150; }
.jump-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; align-self: flex-start; min-height: 56px; padding: .7em 1.7em; border-radius: 999px;
  font-size: 1.12rem; font-weight: 700; color: #fff; text-decoration: none; background: linear-gradient(180deg, #2f89d1, var(--blue) 55%, #1f66a3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 28px -14px rgba(41,123,191,.95); transition: transform .35s var(--ease-spring); touch-action: manipulation; }
.jump-btn:hover { transform: translateY(-1px); }
.jump-btn:active { transform: scale(.97); }
@media (max-width: 640px) { .jump-btn { align-self: stretch; min-height: 58px; font-size: 1.15rem; } }
/* ---------- print: just the recipe, ink-friendly ---------- */
@media print {
  .sky, .topbar, .foot, .r-back, .actions, .skip, .toast, .cta, .jump-btn, #view-list { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main { width: 100%; }
  .glass, .stat, .steps li { background: none !important; box-shadow: none !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .r-hero { grid-template-columns: 1fr 1.4fr; }
  .r-photo { min-height: 0; aspect-ratio: 4/3; box-shadow: none; max-height: 220px; }
  .r-body { grid-template-columns: 1fr 1.5fr; }
  .r-body .ing-panel { position: static; }
  .ing input { border-color: #000; }
  .steps { gap: 6px; }
  .steps li { grid-template-columns: 26px minmax(0, 1fr); column-gap: 11px; padding: 3px 0; min-height: 0; font-size: 10.5pt; line-height: 1.45; break-inside: avoid; page-break-inside: avoid; }
  .steps li::before { width: 24px; height: 24px; font-size: 9pt; margin-top: 1px; }
  .ing li { break-inside: avoid; page-break-inside: avoid; }
  .ing label { padding: 3px 0; min-height: 0; gap: 10px; font-size: 10.5pt; line-height: 1.35; align-items: flex-start; }
  .ing input { width: 15px; height: 15px; border-radius: 4px; border-width: 1.5px; margin-top: 2px; flex: none; }
  .panel { padding: 8px 0 !important; }
  .panel h2 { font-size: 15pt; margin-bottom: 4px; }
  .panel h3 { margin: 8px 0 2px; }
  .r-body { gap: 22px; margin-top: 8px; }
  .r-head { padding: 0 !important; gap: 6px; }
  .r-head h1 { font-size: 22pt; }
  .r-photo { max-height: 180px; }
  .stats { display: flex; gap: 16px; }
  .stat { padding: 0; text-align: left; }
  .extra, .src { font-size: 9.5pt; }
  .glass.sheen::after { display: none !important; }
  body, html { background: #fff !important; }
  .steps li::before { background: none !important; color: #000; border: 1.5px solid #000; }
  .panel h2::before { background: #000; }
  .print-brand { display: block !important; }
}
.print-brand { display: none; height: 40px; width: auto; max-width: 260px; object-fit: contain; align-self: flex-start; margin-bottom: 10px; }

/* programmatic focus targets (route title, Ingredients heading) should not show a ring */
[tabindex="-1"]:focus { outline: none; }

/* ==========================================================================
   Oct 2026 round 3: status bar, swipe cue, reader settings, favorites,
   recently viewed, opt-in dark theme, portrait print
   ========================================================================== */
/* iPhone / Safari 26: the window is the scroller (html/body height:auto, overflow visible).
   background-color stays transparent — a later rule paints the page via body background-image. */
html { background-color: transparent; height: auto; overflow: visible; }
body { background-color: transparent; min-height: 100vh; height: auto; overflow: visible; }

/* header chrome keeps fixed pixel sizes so it never breaks at 140% text */
.topbar .chip, .topbar .btn-book { font-size: 16px; }
.icon-btn svg { width: 22px; height: 22px; display: block; }
.search-btn svg { width: 20px; height: 20px; }
.icon-btn { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; padding: 0;
  font: 700 20px/1 var(--head); color: var(--navy); border: 1px solid rgba(255,255,255,.95);
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.45)); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(6,17,60,.45);
  transition: transform .35s var(--ease-spring); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.icon-btn:focus:not(:focus-visible), .menu-btn:focus:not(:focus-visible), .search-btn:focus:not(:focus-visible),
.lg-item:focus:not(:focus-visible), [data-open-menu]:focus:not(:focus-visible) { outline: none; }
.icon-btn:active { transform: scale(.92); }
.icon-btn[aria-expanded="true"] { background: var(--navy); color: #fff; border-color: transparent; }
img.logo-for-dark, .logo-for-dark { display: none; }
.show-xs { display: none; }
@media (max-width: 640px) { .topbar .btn-book { font-size: 15px; } .topnav { gap: 8px; } .topbar { gap: 8px; } }
@media (max-width: 430px) { .hide-xs { display: none; } .show-xs { display: inline; } .topbar .btn-book { padding: .7em 1.05em; } }

/* static swipe cue: category row only, not tappable */
.swipe-cue { margin: -2px 2px -6px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); pointer-events: none; user-select: none; }

/* favorites */
.fav { position: absolute; top: 16px; right: 16px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.94); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(6,17,60,.5); transition: transform .35s var(--ease-spring); touch-action: manipulation; }
.fav svg, .fav-btn svg, .saved-chip svg { width: 24px; height: 24px; fill: none; stroke: #D12E26; stroke-width: 2; stroke-linejoin: round; }
.fav[aria-pressed="true"] svg, .fav-btn[aria-pressed="true"] svg { fill: #D12E26; }
.fav:active { transform: scale(.88); }
.fav-btn svg { width: 22px; height: 22px; }
.fav-btn[aria-pressed="true"] { background: rgba(209,46,38,.1); border-color: rgba(209,46,38,.35); }
.saved-chip svg { width: 20px; height: 20px; fill: currentColor; stroke: none; color: #D12E26; }
.saved-chip[aria-pressed="true"] svg { color: #fff; }
.actions .aa { font: 700 1.1em/1 var(--head); }

/* recently viewed */
.recent { margin: 22px 0 0; }
.recent-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 6px 8px; }
.recent-head h2 { font-size: 1.3rem; }
.recent-clear { font-size: .95rem; font-weight: 600; padding: 10px 6px; min-height: 44px; }
.recent-row { list-style: none; margin: -6px -10px -14px; padding: 6px 10px 14px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; touch-action: pan-x; overscroll-behavior-x: contain; }
.recent-row::-webkit-scrollbar { display: none; }
.recent-row li { flex: none; scroll-snap-align: start; }
.mini { display: flex; align-items: center; gap: 10px; width: 236px; min-height: 76px; padding: 6px 12px 6px 6px; border-radius: 20px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.mini img, .mini-noimg { width: 64px; height: 64px; flex: none; border-radius: 14px; object-fit: cover; }
.mini-noimg { display: grid; place-items: center; background: linear-gradient(135deg, var(--c), var(--teal)); }
.mini-noimg img { width: 40px; height: 40px; }
.mini > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .mini { -webkit-backdrop-filter: none; backdrop-filter: none; --glass-tint: rgba(255,252,247,.8); } }
@media (hover: none) and (pointer: coarse) {
  .card, .mini { -webkit-backdrop-filter: none; backdrop-filter: none; --glass-tint: rgba(255,252,247,.78); }
}

/* diet tags that need her listed swaps */
.tag.opt { background: rgba(243,154,18,.16); color: #8a4b06; }

/* reader settings popover (pixel sizes so it holds still while text size changes) */
.prefs { position: fixed; z-index: 45; width: min(340px, calc(100vw - 20px)); padding: 16px; border-radius: 26px; font-size: 16px; --glass-tint: rgba(255,250,244,.86); }
.prefs h2 { font: 700 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 10px; }
.prefs h2 + div { margin-bottom: 16px; }
.ts-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ts-opts button, .theme-opts button, .prefs-done { cursor: pointer; border-radius: 18px; border: 1px solid rgba(6,17,60,.12); background: rgba(255,255,255,.66); color: var(--navy);
  box-shadow: inset 0 1px 0 #fff; touch-action: manipulation; transition: transform .3s var(--ease-spring); }
.ts-opts button { min-height: 72px; display: grid; place-items: center; gap: 2px; padding: 8px 4px; }
.ts-opts b { font-family: var(--head); line-height: 1; }
.ts-opts small { font-size: 14px; font-weight: 600; }
.theme-opts button { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 14px; font-weight: 600; padding: 8px 4px; }
.theme-opts svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-auto-ico .auto-fill { fill: currentColor; stroke: none; }
.ts-opts [aria-pressed="true"], .theme-opts [aria-pressed="true"] { background: var(--navy); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(6,17,60,.8); }
.prefs-done { width: 100%; min-height: 50px; font-size: 16px; font-weight: 700; background: linear-gradient(180deg, #f08a43, var(--orange)); color: #fff; border-color: transparent; }
.prefs button:active { transform: scale(.96); }

/* long words at 140% text never push the layout sideways */
h1, h2, .card h2 a, .mini span { overflow-wrap: anywhere; }
html[data-ts="140"] .stats { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
html[data-ts="140"] .list-head { flex-wrap: wrap; }

/* ---------- dark theme: opt-in only (never follows the OS), screen only so print stays light ---------- */
@media screen {
  html[data-theme="dark"] {
    color-scheme: dark;
    --cream: #06113C; --text: #E8EBF4; --muted: #B3BBD0;
    --glass-tint: rgba(16, 30, 82, .52); --glass-hi: rgba(255,255,255,.10); --glass-lo: rgba(255,255,255,.02);
    --glass-edge: linear-gradient(140deg, rgba(255,255,255,.34), rgba(255,255,255,.08) 32%, rgba(255,255,255,.04) 62%, rgba(226,114,37,.38));
    --glass-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 .5px rgba(255,255,255,.07), 0 24px 60px -26px rgba(0,0,0,.75), 0 2px 8px -2px rgba(0,0,0,.4);
  }
  html[data-theme="dark"] [style*="--cd"] { --c: var(--cd) !important; }
  html[data-theme="dark"] [style*="--scd"] { --sc: var(--scd) !important; }
  html[data-theme="dark"] body { color: var(--text); }
  html[data-theme="dark"] .sky { background: none; background-color: transparent; }
  html[data-theme="dark"] .orb { opacity: .16 !important; }
  html[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .035; }
  html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 { color: #F6F1E9; }
  html[data-theme="dark"] .src a, html[data-theme="dark"] .empty a, html[data-theme="dark"] noscript a { color: #8CC4F2; }
  html[data-theme="dark"] .card h2 a { color: inherit; }
  html[data-theme="dark"] .btn-book, html[data-theme="dark"] .cta-btn, html[data-theme="dark"] .jump-btn { color: #fff; }
  html[data-theme="dark"] :focus-visible { outline-color: #8CC4F2; }
  html[data-theme="dark"] .logo-for-light { display: none; }
  html[data-theme="dark"] .logo-for-dark { display: block; }
  html[data-theme="dark"] .topbar.scrolled { --glass-tint: rgba(10, 22, 66, .82); }
  html[data-theme="dark"] .chip, html[data-theme="dark"] .icon-btn { color: #EEF1F8; border-color: rgba(255,255,255,.16);
    background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 18px -10px rgba(0,0,0,.8); }
  html[data-theme="dark"] .chip:hover { background: rgba(255,255,255,.16); }
  html[data-theme="dark"] .chip.ghost { background: transparent; border-color: transparent; box-shadow: none; }
  html[data-theme="dark"] .chip .dot { box-shadow: 0 0 0 2px rgba(6,17,60,.85); }
  html[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--c); color: #06113C; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 22px -12px var(--c); }
  html[data-theme="dark"] .chip[aria-pressed="true"] .dot { background: #06113C; box-shadow: none; }
  html[data-theme="dark"] .saved-chip[aria-pressed="true"] svg { color: #06113C; }
  html[data-theme="dark"] .icon-btn[aria-expanded="true"] { background: #F4EFE6; color: #06113C; }
  html[data-theme="dark"] .hero::before { background: linear-gradient(180deg, rgba(6,17,60,.15) 20%, rgba(6,17,60,.6)); }
  html[data-theme="dark"] .hero-card { --glass-tint: rgba(8, 20, 62, .62); }
  html[data-theme="dark"] .eyebrow { color: #8AD8C6; filter: none; text-shadow: none; }
  html[data-theme="dark"] .rainbow { filter: saturate(1.05) brightness(1.15); }
  html[data-theme="dark"] .lede, html[data-theme="dark"] .r-head .summary, html[data-theme="dark"] .cta p, html[data-theme="dark"] .card-sum { color: #D5DAE8; }
  html[data-theme="dark"] .glass-inset { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); box-shadow: inset 0 2px 6px rgba(0,0,0,.3); }
  html[data-theme="dark"] .search svg { stroke: #E8EBF4; }
  html[data-theme="dark"] .search input { color: #F6F1E9; }
  html[data-theme="dark"] .search input::placeholder { color: #9EA7C0; }
  html[data-theme="dark"] .q-clear { background: rgba(255,255,255,.12); }
  html[data-theme="dark"] #count, html[data-theme="dark"] .mini, html[data-theme="dark"] .toast { color: #F6F1E9; }
  html[data-theme="dark"] .sort select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #F6F1E9; }
  html[data-theme="dark"] .sort option { background: #0d1b4f; }
  html[data-theme="dark"] .card, html[data-theme="dark"] .mini { --glass-tint: rgba(16, 30, 82, .78); }
  html[data-theme="dark"] .badge { background: rgba(6,17,60,.92); color: #F6F1E9; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme="dark"] .fav { background: rgba(6,17,60,.90); border-color: rgba(255,255,255,.2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme="dark"] .fav svg, html[data-theme="dark"] .fav-btn svg { stroke: #F47D77; }
  html[data-theme="dark"] .fav[aria-pressed="true"] svg, html[data-theme="dark"] .fav-btn[aria-pressed="true"] svg { fill: #F47D77; }
  html[data-theme="dark"] .saved-chip svg { color: #F47D77; }
  html[data-theme="dark"] .tag { background: rgba(118,200,181,.16); color: #A6E6D6; }
  html[data-theme="dark"] .tag.opt { background: rgba(247,184,81,.14); color: #F7C978; }
  html[data-theme="dark"] .r-head .crumb { filter: none; }
  html[data-theme="dark"] .stat { background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
  html[data-theme="dark"] .stat b, html[data-theme="dark"] .ing .amt { color: #F6F1E9; }
  html[data-theme="dark"] .panel h3 { color: #F5A06A; }
  html[data-theme="dark"] .ing li { border-bottom-color: rgba(255,255,255,.12); }
  html[data-theme="dark"] .ing input { background: rgba(255,255,255,.06); border-color: #8AD8C6; }
  html[data-theme="dark"] .ing input:checked { background: #8AD8C6; }
  html[data-theme="dark"] .ing input:checked::after { color: #06113C; }
  html[data-theme="dark"] .steps li { background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
  html[data-theme="dark"] .steps li::before { color: #06113C; box-shadow: none; }
  html[data-theme="dark"] .steps li.done::before { background: #8AD8C6; }
  html[data-theme="dark"] .cta { --glass-tint: rgba(16, 30, 82, .6); }
  html[data-theme="dark"] .link { color: #8CC4F2; }
  html[data-theme="dark"] .prefs { --glass-tint: rgba(10, 22, 66, .9); }
  html[data-theme="dark"] .prefs h2 { color: #B3BBD0; }
  html[data-theme="dark"] .ts-opts button, html[data-theme="dark"] .theme-opts button { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #F6F1E9; box-shadow: none; }
  html[data-theme="dark"] .ts-opts [aria-pressed="true"], html[data-theme="dark"] .theme-opts [aria-pressed="true"] { background: #F4EFE6; color: #06113C; }
  html[data-theme="dark"] .prefs-done { background: linear-gradient(180deg, #f08a43, var(--orange)); color: #fff; }
  html[data-theme="dark"] .awards img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
  @media (max-width: 640px) { html[data-theme="dark"] .card { --glass-tint: rgba(16, 30, 82, .86); } }
}

/* ---------- print v3: portrait letter, real page margins, no bleed ---------- */
@page { size: letter portrait; margin: 0.6in 0.6in 0.7in; }
@media print {
  html, body { background: #fff !important; }
  .prefs, .fav, .recent, .swipe-cue { display: none !important; }
  main { width: auto !important; max-width: none; margin: 0 !important; padding: 0; }
  #view-recipe { margin: 0; }
  .r-hero { display: grid; grid-template-columns: 2.5in minmax(0, 1fr); gap: .3in; align-items: start; }
  .r-photo { width: 100%; aspect-ratio: 4 / 3; min-height: 0; max-height: none; border-radius: 12px; margin: 0; overflow: hidden; }
  .r-photo img { width: 100%; height: 100%; object-fit: cover; transform: none; }
  .r-head { padding: 0 !important; gap: 6px; }
  .r-head h1 { font-size: 22pt; }
  .r-head .summary { font-size: 10.5pt; line-height: 1.45; color: #222; }
  .print-brand { height: 30px; margin-bottom: 2px; }
  .tag { background: none !important; border: 1px solid #999; color: #222 !important; font-size: 8.5pt; }
  .r-body { display: grid; grid-template-columns: 38% minmax(0, 1fr); column-gap: .3in; margin-top: .22in; align-items: start; }
  .r-body .ing-panel { position: static; }
  .panel { padding: 0 !important; margin: 0; }
  .ing { padding: 0 2px; margin: 0; }
  .ing li { border-bottom: 1px dashed #bbb; }
  .ing label { padding: 4px 0; }
  .steps li { margin: 0; }
  .src { margin-top: 10px; color: #333; }
  .src a { color: #000; text-decoration: none; font-weight: 600; }
  a[href]::after { content: none !important; }
  .chip-row, .recent-row { margin: 0 !important; }
}
.recent-row { margin: -6px 0 -14px; padding: 6px 0 14px; scroll-padding-inline: 0; }
.toast { white-space: nowrap; }
/* body paints the page background (cream, or navy in dark) so rubber-band / chrome gutters match the theme. */
body { position: relative; z-index: 0; background: var(--cream); }
@media print { body { position: static; } }
body { display: flow-root; }   /* stop the footer margin collapsing through body onto the html canvas */

/* ==========================================================================
   Round 4 (Oct 21): condensed hero, food marquee, auto sheen on touch,
   dark-mode hero that lets the photo show through
   ========================================================================== */
/* hero: marquee pinned to the top, condensed glass card at the bottom */
.hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 16px; min-height: clamp(440px, 64vh, 620px); }
.hero-card { max-width: 600px; align-self: flex-start; width: 100%; }
.food-strip { min-width: 0; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: .35rem; }
.hero-top .eyebrow { margin: 0; }
.hero-top .awards { margin: 0; flex: none; gap: 8px; }
.hero-top .awards img { width: 52px; height: 52px; }
.hero h1 { line-height: 1.08; }
.lede { margin: .55rem 0 1rem; max-width: 30em; }

.food-strip { margin: 0 calc(-1 * clamp(14px, 3vw, 34px)) auto; overflow: hidden; padding: 6px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.strip-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; will-change: transform; }   /* moved by JS (stripMotion) */
.strip-track li { flex: none; margin-right: 12px; }
.strip-track a { display: block; width: 96px; height: 96px; border-radius: 22px; overflow: hidden; border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 10px 24px -12px rgba(6,17,60,.7), 0 0 0 1px rgba(6,17,60,.06); transition: transform .35s var(--ease-spring); }
.strip-track img { width: 100%; height: 100%; object-fit: cover; }
.strip-track a:hover, .strip-track a:focus-visible { transform: translateY(-3px) scale(1.04); }
.strip-track a:focus-visible { outline-offset: 2px; }
.food-strip { touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }   /* page still scrolls vertically; horizontal drags are ours */
.strip-track a, .strip-track img { -webkit-user-drag: none; }
@media (hover: hover) and (pointer: fine) { .food-strip { cursor: grab; } .food-strip.dragging { cursor: grabbing; } }
.food-strip.dragging .strip-track a { transform: none; }
@media (max-width: 640px) { .strip-track a { width: 84px; height: 84px; border-radius: 20px; } .strip-track li { margin-right: 10px; } }
/* reduced motion: stripMotion() skips the auto drift; drag and flick still work */


/* sheen: mouse-reactive glare on desktop (html.glare-follow); slow automatic drift on touch screens */
@media (hover: none), (pointer: coarse) {
  .glass.sheen::after { animation: sheen-drift 14s ease-in-out infinite alternate; }
}
@keyframes sheen-drift {   /* same glare shape as the mouse version; travels its full range (--lx/--ly 0 to 1), corner to corner */
  from { transform: translate3d(-27.5%, -27.5%, 0); }
  to   { transform: translate3d(27.5%, 27.5%, 0); }
}



/* dark-mode hero: clear thin glass, scrim only behind the words, text shadows for AA */
@media screen {
  html[data-theme="dark"] .hero::before { background: linear-gradient(180deg, rgba(6,17,60,0) 45%, rgba(6,17,60,.35) 100%); }
  html[data-theme="dark"] .hero-img { filter: brightness(.92) saturate(1.08); }
  html[data-theme="dark"] .hero-card {
    --glass-tint: rgba(6, 17, 60, .16); --glass-hi: rgba(255,255,255,.07); --glass-lo: rgba(255,255,255,0);
    -webkit-backdrop-filter: blur(5px) saturate(130%); backdrop-filter: blur(5px) saturate(130%);
    background: linear-gradient(180deg, rgba(6,17,60,.52), rgba(6,17,60,.58)) padding-box, linear-gradient(160deg, var(--glass-hi), var(--glass-lo)) padding-box,
      linear-gradient(var(--glass-tint), var(--glass-tint)) padding-box, var(--glass-edge) border-box; }
  html[data-theme="dark"] .hero-card .eyebrow,
  html[data-theme="dark"] .hero h1,
  html[data-theme="dark"] .hero .lede { text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 2px 10px rgba(6,17,60,.9), 0 0 22px rgba(6,17,60,.75); }
  html[data-theme="dark"] .hero .lede { color: #F2F4FA; }
  html[data-theme="dark"] .hero-card .eyebrow { color: #E6F9F4; }
  html[data-theme="dark"] .hero .rainbow { text-shadow: none; filter: saturate(1.1) brightness(1.25) drop-shadow(0 1px 2px rgba(0,0,0,.8)); }
  html[data-theme="dark"] .hero .glass-inset { background: rgba(6,17,60,.62); border-color: rgba(255,255,255,.26); }
  html[data-theme="dark"] .hero-card.sheen::after { opacity: .35; }
  html[data-theme="dark"] .strip-track a { border-color: rgba(255,255,255,.35); }
}
@media print { .food-strip { display: none !important; } }

/* light hero eyebrow: deeper teal so it reads on the glass (was brightened #76C8B5 at ~2:1) */
.hero-card .eyebrow { color: #17705d; filter: none; }

/* recipe header (.r-head, holds Jump to Recipe) on touch screens:
   ::after = the auto sheen, drifting forever (never pauses, non-interactive);
   ::before = the same glare following the finger, fading in only while a finger is on the card */
@media (hover: none), (pointer: coarse) {
  .r-head.sheen::before { content: ''; position: absolute; inset: -60%; pointer-events: none; z-index: -1;
    background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,.12) 45%, transparent 70%),
                linear-gradient(115deg, transparent 42%, rgba(255,255,255,.35) 49%, rgba(251,239,60,.12) 51%, transparent 58%);
    transform: translate3d(calc((var(--tx, .5) - .5) * 55%), calc((var(--ty, .5) - .5) * 55%), 0);
    opacity: 0; transition: opacity .35s ease; will-change: transform, opacity; }
  .r-head.sheen.touching::before { opacity: .7; }
  html[data-theme="dark"] .r-head.sheen.touching::before { opacity: .35; }
}
@media print { .r-head.sheen::before { display: none !important; } }

/* recipe header readability: slightly firmer glass behind the words + a soft text shadow (light halo on light, dark drop on dark) */
.r-head { --glass-tint: rgba(255, 252, 247, .62); }
.r-head h1, .r-head .summary, .r-head .crumb, .r-head .stat b, .r-head .stat small { text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 1px 6px rgba(255,255,255,.55); }
@media screen {
  html[data-theme="dark"] .r-head { --glass-tint: rgba(12, 24, 72, .66); }
  html[data-theme="dark"] .r-head h1, html[data-theme="dark"] .r-head .summary, html[data-theme="dark"] .r-head .crumb,
  html[data-theme="dark"] .r-head .stat b, html[data-theme="dark"] .r-head .stat small { text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 10px rgba(6,17,60,.55); }
}
@media print { .r-head h1, .r-head .summary, .r-head .crumb, .r-head .stat b, .r-head .stat small { text-shadow: none !important; } }

/* award badge: ~2x bigger, breaking out over the card's top-right corner (outside the card so overflow can't clip it) */
.hero-card-wrap { position: relative; align-self: flex-start; width: 100%; max-width: 600px; }
.hero-card-wrap .hero-card { max-width: none; }
.hero-badge { position: absolute; z-index: 3; top: -66px; right: -6px; width: 106px; height: 106px; pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(6,17,60,.38)) drop-shadow(0 2px 4px rgba(6,17,60,.25)); }
.hero-card-wrap .hero-card { padding-top: 46px; }          /* eyebrow starts below the badge's lower edge */
.hero-top { padding-right: 0; }
@media (min-width: 641px) {
  .hero-badge { width: 124px; height: 124px; top: -70px; right: -14px; }
  .hero-card-wrap .hero-card { padding-top: clamp(18px, 3vw, 30px); }
  .hero-top { padding-right: 100px; }                     /* wide card: eyebrow fits beside the badge */
}
@media screen { html[data-theme="dark"] .hero-badge { filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)) drop-shadow(0 0 1px rgba(255,255,255,.35)); } }
@media print { .hero-badge { display: none; } }
/* guaranteed clear space between the food strip and the badge's top edge */
.hero-card-wrap { margin-top: 80px; }
@media (min-width: 641px) { .hero-card-wrap { margin-top: 88px; } }

/* light mode only: crisp 1px edge under the rainbow word (filter drop-shadow follows the clipped gradient glyphs, which
   text-shadow does not do reliably with background-clip:text on iOS Safari); no blur radius */
html:not([data-theme="dark"]) .hero .rainbow { text-shadow: none; filter: saturate(1.1) brightness(.92) drop-shadow(1px 1px 0 rgba(6, 17, 60, .75)); }

/* ---------- live search suggestions (lives on <body>, positioned under the search field) ---------- */
.q-suggest { position: absolute; z-index: 19; padding: 6px; border-radius: 24px; overflow: auto; overscroll-behavior: contain;
  --glass-tint: rgba(255, 251, 246, .9); box-shadow: var(--glass-shadow), 0 26px 50px -20px rgba(6,17,60,.55); }
.q-suggest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.qs-item, .qs-all, .qs-none { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px 8px 8px; border-radius: 18px; cursor: pointer; color: var(--navy); }
.qs-item img { width: 48px; height: 48px; flex: none; border-radius: 14px; object-fit: cover; box-shadow: 0 0 0 1px rgba(6,17,60,.08), 0 4px 10px -6px rgba(6,17,60,.5); }
.qs-item.qs-noimg img { object-fit: contain; padding: 6px; background: linear-gradient(135deg, var(--c, var(--orange)), var(--teal)); }
.qs-text { display: grid; gap: 1px; min-width: 0; }
.qs-title { font-weight: 600; font-size: 1.02rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qs-title mark { background: rgba(243,154,18,.28); color: inherit; border-radius: 4px; padding: 0 1px; }
.qs-cat { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4em; }
.qs-cat .dot { width: .6em; height: .6em; border-radius: 50%; background: var(--c); }
.qs-item[aria-selected="true"], .qs-all[aria-selected="true"], .qs-item:hover, .qs-all:hover { background: rgba(41,123,191,.12); }
.qs-all { justify-content: center; min-height: 54px; font-weight: 700; color: var(--blue); border-top: 1px solid rgba(6,17,60,.08); border-radius: 0 0 18px 18px; margin-top: 2px; }
.qs-none { cursor: default; color: var(--muted); justify-content: center; }
@media screen {
  html[data-theme="dark"] .q-suggest { --glass-tint: rgba(10, 22, 66, .94); box-shadow: var(--glass-shadow), 0 26px 50px -20px rgba(0,0,0,.8); }
  html[data-theme="dark"] .qs-item, html[data-theme="dark"] .qs-none { color: #F6F1E9; }
  html[data-theme="dark"] .qs-title mark { background: rgba(247,184,81,.3); }
  html[data-theme="dark"] .qs-item[aria-selected="true"], html[data-theme="dark"] .qs-all[aria-selected="true"], html[data-theme="dark"] .qs-item:hover, html[data-theme="dark"] .qs-all:hover { background: rgba(255,255,255,.09); }
  html[data-theme="dark"] .qs-all { color: #8CC4F2; border-top-color: rgba(255,255,255,.1); }
}
@media print { .q-suggest { display: none !important; } }

/* ---------- status bar / safe area (Safari 26 and Home Screen web apps) ----------
   No solid position:fixed bar in the safe-area-inset-top zone (the old .status-strip). The document
   itself is the scroller, so content can travel under the status bar and (in Safari 26) the bottom
   toolbar. The floating header pill stays at the same position and size, offset by
   env(safe-area-inset-top) (plus 18px in standalone) via margin-top + sticky top — not body padding,
   which used to leave a solid canvas band. no theme-color meta (Safari 26 samples the page through its chrome).
   html/body background-color still match the effective theme (cream / navy). --sat can be overridden for tests. */
:root { --sat: env(safe-area-inset-top, 0px); }
.topbar { top: calc(var(--sat) + 10px); margin-top: calc(var(--sat) + 10px); }
.q-suggest { z-index: 19; }
@media (display-mode: standalone) {
  :root { --sat: max(env(safe-area-inset-top, 0px), 2px); }
  html { overscroll-behavior-y: none; }   /* no rubber-band reveal above the strip */
  /* park the header 18px below the inset so its contents sit clear of the iOS 26 top-edge blur zone (fix confirmed on device in the Picker's Rock app) */
  .topbar { top: calc(var(--sat) + 18px); margin-top: calc(var(--sat) + 18px); }
  .topbar .brand { transform: translateZ(0); }   /* logo on its own compositing layer: renders crisp under iOS edge effects */
  /* the logo sits ABOVE the header's ::before blur (that only blurs what's behind the bar), so softness there comes from
     content showing through: make the bar nearly opaque with a lighter blur so the logo reads crisp */
  .topbar.glass, .topbar.glass.scrolled { --glass-tint: rgba(255, 250, 244, .94); --glass-hi: rgba(255,255,255,.55); --glass-lo: rgba(255,255,255,.3); }
  .topbar.glass::before { -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); }
  html[data-theme="dark"] .topbar.glass, html[data-theme="dark"] .topbar.glass.scrolled { --glass-tint: rgba(10, 22, 66, .94); --glass-hi: rgba(255,255,255,.08); --glass-lo: rgba(255,255,255,.03); }
}
/* no body padding-top: that reserved a solid canvas strip in the inset and stopped content under the status bar.
   The pill keeps its place via margin-top (equal to its sticky top). */
@media print { .topbar { margin-top: 10px; top: 10px; } }

/* Status-bar frost: height of the inset only, no overlap with the header pill (pill is at sat+10).
   At scrollTop 0 it is fully transparent so the page background shows through the status bar.
   Once scrolled, a single backdrop-filter blur + theme-aware tint (cream/navy, ~62% alpha)
   fades in and content reads blurred through it — same behaviour as Donnelly's Home Screen app. */
.sat-frost {
  display: none; /* Safari (non-standalone) must not have a fixed layer at y=0 — even opacity 0 is sampled */
  position: fixed; top: 0; left: 0; right: 0; z-index: 25;
  height: var(--sat, env(safe-area-inset-top, 0px));
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 247, 241, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: opacity .35s ease;
}
html[data-theme="dark"] .sat-frost { background: rgba(6, 17, 60, .62); }
.sat-frost.is-on { opacity: 1; }
@media (display-mode: standalone) { .sat-frost { display: block; } }
html.clm-sa .sat-frost { display: block; }
@media (prefers-reduced-motion: reduce) { .sat-frost { transition: none; } }
@media print { .sat-frost { display: none !important; } }

/* Donnelly pattern: the visible page color is a body background-IMAGE, not a solid
   background-color and not a fixed full-viewport layer. Safari 26 samples background-color
   of html/body and of fixed/sticky edge elements for its chrome, so those stay transparent. */
html { background-color: transparent; background-image: none; height: auto; overflow: visible; }
body {
  background-color: transparent;
  height: auto; overflow: visible; padding-bottom: 0;
  background-attachment: scroll;
  background-image:
    radial-gradient(1200px 700px at 10% -10%, #ffe6cf 0%, transparent 60%),
    radial-gradient(900px 700px at 110% 20%, #d6f1f9 0%, transparent 60%),
    radial-gradient(1000px 800px at 40% 120%, #dff4ee 0%, transparent 60%),
    linear-gradient(var(--cream), var(--cream));
}
@media screen { html[data-theme="dark"] body {
  background-image:
    radial-gradient(1200px 700px at 10% -10%, rgba(226,114,37,.20) 0%, transparent 60%),
    radial-gradient(900px 700px at 110% 20%, rgba(83,188,233,.16) 0%, transparent 60%),
    radial-gradient(1000px 800px at 40% 120%, rgba(118,200,181,.14) 0%, transparent 60%),
    linear-gradient(#06113C, #06113C);
} }
/* sticky header: the frosted blur moves to a pseudo-element, which the tint sampler ignores */
.topbar.glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar.glass::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
@media print { html, body { background-color: #fff !important; } }

/* ---------- "Add to Home Screen" banner (js/a2hs.js) ----------
   Liquid glass sheet floating just above the bottom safe area. Painted with gradient layers (no background-color), so
   Safari 26's toolbar tint sampler ignores it. Slides up gently; reduced motion just fades. */
.a2hs { position: fixed; z-index: 40; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  width: min(460px, calc(100vw - 20px)); display: grid; grid-template-columns: auto 1fr 44px; align-items: center; column-gap: 12px; row-gap: 10px;
  padding: 12px 10px 12px 12px;
  border-radius: 24px; font-size: 16px; line-height: 1.35; color: var(--navy); --glass-tint: rgba(255,250,244,.86);
  box-shadow: var(--glass-shadow), 0 22px 44px -20px rgba(6,17,60,.55);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform .55s var(--ease-out), opacity .4s ease, visibility 0s linear .55s; }
.a2hs.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease-out), opacity .4s ease, visibility 0s; }
.a2hs.show.away { transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none; }
.a2hs-icon { grid-column: 1; grid-row: 1; align-self: start; width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 6px 14px -6px rgba(6,17,60,.5), 0 0 0 .5px rgba(6,17,60,.12); }
.a2hs-text { grid-column: 2; grid-row: 1; min-width: 0; }
.a2hs-title { margin: 0; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--navy); }
.a2hs-body { margin: 3px 0 0; font-size: 14.5px; color: var(--text); }
.a2hs-body b { color: var(--navy); font-weight: 600; }
.a2hs-key { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 5px; margin: 0 1px;
  border-radius: 7px; vertical-align: -5px; font-weight: 700; font-size: 13px; letter-spacing: .05em; color: var(--blue);
  background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(6,17,60,.12); }
.a2hs-key-plain { background: none; box-shadow: none; min-width: 0; padding: 0; color: var(--navy); }
.a2hs-share { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a2hs-install { grid-column: 2 / 4; grid-row: 2; justify-self: start; min-width: 132px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; touch-action: manipulation;
  font: 700 15px/1 var(--body); color: #fff; background: linear-gradient(180deg, #f08a43, var(--orange));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 22px -10px rgba(226,114,37,.95); transition: transform .3s var(--ease-spring); }
.a2hs-copy { background: linear-gradient(180deg, #2f89d1, var(--blue) 55%, #1f66a3); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 22px -10px rgba(41,123,191,.95); padding: 0 14px; }
.a2hs-close { grid-column: 3; grid-row: 1; align-self: start; width: 44px; height: 44px; margin: -6px -4px -6px -6px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; touch-action: manipulation; }
.a2hs-close:hover { background: rgba(6,17,60,.06); color: var(--navy); }
.a2hs-install:active, .a2hs-close:active { transform: scale(.94); }
.a2hs-wide { grid-column: 1 / 4; grid-row: 2; margin: 0 2px; padding-top: 10px; border-top: 1px solid rgba(6,17,60,.08); line-height: 1.6; }
.a2hs-ios { row-gap: 8px; }
@media screen { html[data-theme="dark"] .a2hs-wide { border-top-color: rgba(255,255,255,.1); }
  html[data-theme="dark"] .a2hs-key.a2hs-key-plain { background: none; box-shadow: none; color: #F6F1E9; } }
@media (max-width: 360px) { .a2hs { column-gap: 10px; } .a2hs-icon { width: 44px; height: 44px; border-radius: 11px; } .a2hs-title { font-size: 16px; } }
/* keep the footer and toasts clear of it while it's up */
html.a2hs-on .foot { padding-bottom: calc(var(--a2hs-h, 80px) + 24px); }

@media screen {
  html[data-theme="dark"] .a2hs { color: #F6F1E9; --glass-tint: rgba(10, 22, 66, .9); box-shadow: var(--glass-shadow), 0 22px 44px -18px rgba(0,0,0,.85); }
  html[data-theme="dark"] .a2hs-title, html[data-theme="dark"] .a2hs-body b, html[data-theme="dark"] .a2hs-key-plain { color: #F6F1E9; }
  html[data-theme="dark"] .a2hs-body { color: #DDE2EE; }
  html[data-theme="dark"] .a2hs-key { color: #8CC4F2; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
  html[data-theme="dark"] .a2hs-close { color: #B3BBD0; }
  html[data-theme="dark"] .a2hs-close:hover { background: rgba(255,255,255,.1); color: #fff; }
  html[data-theme="dark"] .a2hs-icon { box-shadow: 0 6px 14px -6px rgba(0,0,0,.8), 0 0 0 .5px rgba(255,255,255,.18); }
}
@media (prefers-reduced-motion: reduce) { .a2hs, .a2hs.show, .a2hs.show.away { transform: translate(-50%, 0) !important; } }
@media print { .a2hs { display: none !important; } html.a2hs-on .foot { padding-bottom: 0; } }

/* ---------- home-page booking card (footer): same family as the recipe-page .cta ----------
   Phones: centered stack (big mark, serif heading, copy, wide button). Wider: mark | copy | button, all vertically centered. */
.foot-card { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 34px 22px 26px;
  --glass-tint: rgba(255, 249, 240, .58);
  --glass-edge: linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.35) 30%, rgba(118,200,181,.35) 65%, rgba(226,114,37,.6) 100%); }
.foot-card::before { content: ''; position: absolute; left: 50%; top: 0; width: min(200px, 50%); height: 5px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: var(--rainbow); }
.foot-mark { width: 84px; height: 84px; filter: drop-shadow(0 8px 14px rgba(6,17,60,.22)); }
.foot-copy { display: grid; gap: 8px; max-width: 34em; }
.foot-title { font-size: clamp(1.45rem, 4.6vw, 1.9rem); line-height: 1.15; }
.foot-card p { flex: none; margin: 0; font-size: 1.04rem; line-height: 1.6; color: #2a3150; }
.foot-btn { margin-top: 6px; width: min(100%, 300px); min-width: 0; min-height: 58px; font-size: 1.15rem; padding: .7em 1.6em; }
@media (min-width: 760px) {
  .foot-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-items: start; text-align: left; gap: 26px; padding: 30px 34px; }
  .foot-card::before { left: 34px; transform: none; }
  .foot-mark { width: 96px; height: 96px; }
  .foot-btn { margin: 0; width: auto; min-width: 240px; justify-self: end; }
}
@media screen {
  html[data-theme="dark"] .foot-card { --glass-tint: rgba(16, 30, 82, .6); }
  html[data-theme="dark"] .foot-card p { color: #D5DAE8; }
  html[data-theme="dark"] .foot-card strong { color: #F6F1E9; }
}
/* recipe-page CTA: same mark size so the two cards read as one component */
.cta-mark { width: 84px; height: 84px; }

/* recipe header, dark mode: soft navy scrim behind category, title and description. It sits above the card's sheen
   (::before/::after at z-index -1) and below the words, so the drifting shine still passes but dimmed, and the light text
   keeps its contrast at the brightest point of the sweep. Light mode: .r-intro is layout-neutral (display: contents). */
.r-intro { display: contents; }
@media screen {
  html[data-theme="dark"] .r-intro { display: flex; flex-direction: column; gap: inherit; position: relative;
    margin: -12px -14px -4px; padding: 12px 14px 12px; border-radius: 20px;
    background: radial-gradient(130% 120% at 30% 0%, rgba(6,17,60,.58), rgba(6,17,60,.5) 70%, rgba(6,17,60,.44));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 .5px rgba(255,255,255,.05), 0 0 22px 6px rgba(6,17,60,.28); }
}
@media print { .r-intro { display: contents !important; } }

/* hero, tightened (Oct 22): no empty band above the eyebrow, bigger eyebrow, more of the photo showing.
   Phones: the eyebrow sits to the LEFT of the award badge (instead of below it), so the card's top padding drops from 46px
   to 16px; the hero keeps (roughly) its old height, so every pixel saved goes to the food photo above the card. */
.hero-card .eyebrow { font-size: 1.26rem; line-height: 1.2; letter-spacing: .01em; }    /* was 1.05rem (1.2x), still well under the 34px+ headline */
@media (max-width: 640px) {
  .hero { min-height: clamp(540px, 70vh, 640px); }
  .hero-card-wrap .hero-card { padding-top: 16px; }
  .hero-badge { width: 100px; height: 100px; top: -70px; right: -10px; }   /* bottom edge ~30px into the card */
  .hero-top { padding-right: 70px; }                                      /* eyebrow stops short of the badge */
  .hero-card .eyebrow { font-size: clamp(1.05rem, 5.35vw, 1.26rem); }      /* scales down a touch on 360-375px phones so it stays on one line */
}

/* ---------- home hero: Ken Burns slideshow (js/hero-kb.js) ----------
   Transform + opacity only. The hero becomes its own stacking context so the photo layers (z -4..-2) stay above the page
   sky and below the hero scrim (::before, z -1), the food strip, the card and the badge. */
.hero.kb { isolation: isolate; }
.hero.kb .kb-slide { opacity: 0; z-index: -4; transition: opacity 1.8s ease-in-out; will-change: transform, opacity; backface-visibility: hidden; }
.hero.kb .kb-slide.kb-out { opacity: 1; z-index: -3; transition: none; }
.hero.kb .kb-slide.kb-in { opacity: 1; z-index: -2; }
.hero.kb .kb-slide.kb-run { animation: 11.6s cubic-bezier(.33, 0, .67, 1) both; }   /* hold 8 s + 1.8 s fade in + 1.8 s fade out */
.hero.kb .kb-slide.kb-run[data-kb="kb-a"] { animation-name: kb-a; transform-origin: 50% 50%; }
.hero.kb .kb-slide.kb-run[data-kb="kb-b"] { animation-name: kb-b; transform-origin: 30% 40%; }
.hero.kb .kb-slide.kb-run[data-kb="kb-c"] { animation-name: kb-c; transform-origin: 70% 35%; }
.hero.kb .kb-slide.kb-run[data-kb="kb-d"] { animation-name: kb-d; transform-origin: 40% 70%; }
.hero.kb.kb-paused .kb-slide { animation-play-state: paused; }
.hero.kb.kb-hold .kb-slide { animation: none; transition: none; }
@keyframes kb-a { from { transform: scale(1.03) translate3d(0, 0, 0); }       to { transform: scale(1.13) translate3d(-1.8%, -1.2%, 0); } }
@keyframes kb-b { from { transform: scale(1.13) translate3d(1.6%, 1%, 0); }   to { transform: scale(1.03) translate3d(0, 0, 0); } }
@keyframes kb-c { from { transform: scale(1.04) translate3d(1.2%, 0, 0); }    to { transform: scale(1.14) translate3d(-1.4%, 1.2%, 0); } }
@keyframes kb-d { from { transform: scale(1.04) translate3d(-1%, 1%, 0); }    to { transform: scale(1.13) translate3d(1.5%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero.kb .kb-slide { animation: none !important; transition: none !important; } }
@media print { .hero .kb-slide:not(:first-of-type) { display: none !important; } }

/* hero headline "Colorful Coastal / Southern Recipes": always exactly two lines, broken after "Coastal".
   34px on phones 375px and up (unchanged size); only below 375px does it ease down so each line still fits. */
.hero h1 .hl-line { display: block; white-space: nowrap; }
@media (max-width: 374.98px) { .hero h1 { font-size: min(2rem, 8.8vw); } }

/* ---------- seasons & holidays chip row (filters; AND with course + diet; search still covers everything) ---------- */
.season-chip .emo { font-size: 1.05em; line-height: 1; margin-right: .1em; }
.season-chip .now-tag { margin-left: .15em; padding: .12em .5em .16em; border-radius: 999px; font-size: .68em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.season-chip.now:not([aria-pressed="true"]), html[data-theme="dark"] .season-chip.now:not([aria-pressed="true"]) { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.season-chip[aria-pressed="true"] .now-tag { color: inherit; background: rgba(255,255,255,.22); box-shadow: none; }
.season-tags { gap: 6px; }
.season-tag { text-decoration: none; text-transform: none; color: var(--c); background: color-mix(in srgb, var(--c) 12%, rgba(255,255,255,.6));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.season-tag:hover { background: color-mix(in srgb, var(--c) 20%, rgba(255,255,255,.6)); }
@media screen {
  html[data-theme="dark"] .season-tag { color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
  html[data-theme="dark"] .season-chip[aria-pressed="true"] .now-tag { background: rgba(6,17,60,.18); }
}
@media print { .season-tags { display: none !important; } }

/* ---------- search pop-up (tap the search pill: panel pinned to the top of the visible screen, page dimmed behind) ---------- */
.search-trigger { cursor: text; touch-action: manipulation; }
.q-open { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: .55rem 0; margin: 0; text-align: left; cursor: text;
  font: inherit; font-size: 1.12rem; color: #6b7083; -webkit-tap-highlight-color: transparent; }
.q-open.has-q { color: var(--navy); }
.q-open:focus { outline: none; }
.q-open-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

html.q-lock, html.q-lock body { overflow: hidden; overscroll-behavior: none; }
.q-overlay { position: fixed; inset: 0; z-index: 60; touch-action: manipulation; }
/* while the pop-up is open nothing behind it moves (sky orbs, glass sheen, Ken Burns), so the blur is drawn once, not every frame */
html.q-lock .orb, html.q-lock .glass.sheen::after, html.q-lock .hero.kb .kb-slide { animation-play-state: paused !important; }
.q-overlay[hidden] { display: none; }
.q-backdrop { position: absolute; inset: 0; touch-action: none;   /* no fade: animating anything over a full-screen blur costs ~6 slow frames on open */
  background: rgba(255, 247, 241, .62); -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%); }
.q-panel { position: absolute; left: 50%; top: calc(var(--vv-top, 0px) + var(--sat, 0px) + 10px); width: min(680px, calc(100% - 20px));
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; pointer-events: none; transform: translateX(-50%); }   /* shown instantly: no fade */
.q-panel > * { pointer-events: auto; }
.q-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.q-row .q-bar input { width: 100%; }
.q-row .q-bar { flex: 1; min-width: 0; background: rgba(255,255,255,.94); box-shadow: 0 14px 34px -16px rgba(6,17,60,.45), inset 0 1px 0 #fff; }
.q-row .q-bar:focus-within { outline: 3px solid rgba(41,123,191,.5); outline-offset: 2px; }
.q-cancel { flex: none; min-height: 48px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; color: var(--blue);
  --glass-tint: rgba(255, 252, 247, .85); }
.q-panel .q-suggest { position: relative; left: auto; top: auto; width: auto; max-height: calc(var(--vv-h, 100vh) - 110px); z-index: auto; }
@media screen {
  html[data-theme="dark"] .q-open { color: #9EA7C0; }
  html[data-theme="dark"] .q-open.has-q { color: #F6F1E9; }
  html[data-theme="dark"] .q-backdrop { background: rgba(6, 17, 60, .66); }
  html[data-theme="dark"] .q-row .q-bar { background: rgba(16, 30, 82, .95); border-color: rgba(255,255,255,.2); box-shadow: 0 14px 34px -16px rgba(0,0,0,.8); }
  html[data-theme="dark"] .q-cancel { color: #8CC4F2; --glass-tint: rgba(10, 22, 66, .9); }
}
@media print { .q-overlay { display: none !important; } }

/* ---------- "Print from Safari" sheet (Home Screen app, where window.print() can be ignored) ---------- */
.print-help { position: fixed; inset: 0; z-index: 70; }
.print-help[hidden] { display: none; }
.ph-backdrop { position: absolute; inset: 0; background: rgba(6, 17, 60, .35); }
.ph-card { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(420px, calc(100% - 24px));
  padding: 20px; border-radius: 28px; display: grid; gap: 10px; text-align: center; color: var(--navy); --glass-tint: rgba(255, 250, 244, .94); }
.ph-card h2 { margin: 0; font-size: 1.3rem; }
.ph-card p { margin: 0 0 4px; font-size: 1rem; line-height: 1.5; }
.ph-go { display: block; padding: .85rem 1rem; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; }
.ph-cancel { border: 0; background: none; padding: .6rem; font: inherit; font-weight: 600; color: var(--blue); cursor: pointer; }
@media screen {
  html[data-theme="dark"] .ph-card { --glass-tint: rgba(10, 22, 66, .95); color: #F6F1E9; }
  html[data-theme="dark"] .ph-cancel { color: #8CC4F2; }
}
@media print {
  .print-help { display: none !important; }
  .extra ul { columns: 2; column-gap: .3in; }   /* equipment list in two columns: keeps short recipes on one page */
  .src { margin: 6px 0 0 !important; }           /* small spacing trims so a typical recipe fits one Letter page */
  .r-body { margin-top: .15in !important; }
  .steps { gap: 4px !important; }
  .steps li { line-height: 1.4 !important; }
  .r-head .summary { line-height: 1.4 !important; }
  .r-head { overflow: visible !important; border-radius: 0 !important; }   /* its rounded corner was clipping the first stat label ("PREP") */
}

/* ---------- list head tools: Sort + 1/2 column toggle (toggle on phones only) ---------- */
.list-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.cols-toggle { display: none; }
@media (max-width: 700px) {
  .cols-toggle { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; border: 1px solid rgba(6,17,60,.15); background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 #fff; }
  .cols-toggle button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--navy); display: grid; place-items: center;
    cursor: pointer; touch-action: manipulation; transition: background .25s, color .25s, transform .3s var(--ease-spring); }
  .cols-toggle button:active { transform: scale(.9); }
  .cols-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 18px -10px var(--navy); }
  .cols-toggle svg { width: 20px; height: 20px; fill: currentColor; }
  .list-head { flex-wrap: wrap; row-gap: 8px; }
  .list-head #count { flex: 1 1 140px; }
  .list-head .list-tools { margin-left: auto; }
  .sort { gap: 6px; }
  .sort select { padding-left: .9em; padding-right: .9em; }

  /* compact two-column cards */
  html[data-cols="2"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html[data-cols="2"] .card { padding: 5px; border-radius: 18px; }
  html[data-cols="2"] .card:hover { transform: none; }
  html[data-cols="2"] .card a.cover { border-radius: 14px; }
  html[data-cols="2"] .card h2 a::after { border-radius: 18px; }
  /* block (not flex) so the long category names end in "…" before the heart instead of running under it */
  html[data-cols="2"] .badge { display: block; box-sizing: border-box; left: 6px; top: 6px; font-size: .64rem; padding: .3em .6em; max-width: calc(100% - 56px);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html[data-cols="2"] .badge .dot { display: inline-block; margin-right: .4em; vertical-align: .05em; }
  html[data-cols="2"] .fav { top: 9px; right: 9px; width: 40px; height: 40px; }
  html[data-cols="2"] .fav::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; }   /* 48px hit area */
  html[data-cols="2"] .fav svg { width: 20px; height: 20px; }
  html[data-cols="2"] .card-body { padding: 8px 5px 4px; gap: 5px; }
  html[data-cols="2"] .card h2 { font-size: .98rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  html[data-cols="2"] .card-sum, html[data-cols="2"] .card .tags { display: none; }
  html[data-cols="2"] .meta { font-size: .78rem; gap: 4px 10px; }
  html[data-cols="2"] .meta span:not(:first-child) { display: none; }
  html[data-ts="140"][data-cols="2"] .card h2 { font-size: .9rem; }
  html[data-ts="140"][data-cols="2"] .badge { font-size: .58rem; }
}
@media screen {
  html[data-theme="dark"] .cols-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
  html[data-theme="dark"] .cols-toggle button { color: #F6F1E9; }
  html[data-theme="dark"] .cols-toggle button[aria-pressed="true"] { background: #F6F1E9; color: #06113C; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
}
@media print { .cols-toggle { display: none !important; } }

/* ==========================================================================
   Splash (~2.35s, CSS-timed). html.splash is set before first paint by the inline head script (Safari: first visit; Home Screen app:
   every cold launch). The whole show runs on CSS animation alone; the inline script after <template id="splash-tpl"> only stamps it
   in, lets a tap skip it and removes it on animationend (plus a failsafe that only counts time while the page is actually visible).
   Built to be cheap for the iPhone GPU so it can't flicker: ONLY opacity and transform are animated, on a handful of elements.
   No animated filters, blurs, shadows, masks, clip-paths or @property gradients; the glow is a static part of the background,
   the three waves move as one layer, and the app underneath is hidden (visibility) until just before the fade.
   Feel: the plate pops in on a spring with its rainbow ring, steam curls up, sparkles wink by the fork, the signature slides in,
   then the tagline, over a rising Lowcountry tide; then everything lifts and fades once into the app. Tap anywhere skips.
   ========================================================================== */
body > .splash { display: none; }   /* (not bare .splash: <html> itself carries the .splash class) */
html.splash .splash {
  --sp-bg: var(--cream); --sp-ink: var(--navy); --sp-steam: rgba(6, 17, 60, .30); --sp-glow: rgba(243, 154, 18, .26); --sp-glow2: rgba(83, 188, 233, .22);
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; overflow: hidden;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  /* plain page colour (= html background, theme-color, manifest colours and the iOS Home Screen launch image), so launch
     image -> splash -> app never changes colour; the warm glow is a static layer on top that only fades in (opacity) */
  background: var(--sp-bg);
  color: var(--sp-ink); cursor: pointer; touch-action: none; overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  animation: sp-out .5s cubic-bezier(.4, 0, .2, 1) 1.85s both;
}
html.splash[data-theme="dark"] .splash { --sp-bg: #06113C; --sp-ink: #F6F1E9; --sp-steam: rgba(255, 255, 255, .34); --sp-glow: rgba(226, 114, 37, .24); --sp-glow2: rgba(41, 123, 191, .36); }
@keyframes sp-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* skip uses its OWN name: re-using sp-out would just shorten the running animation and end it on the spot (a hard cut, no fade) */
@keyframes sp-skip { to { opacity: 0; visibility: hidden; pointer-events: none; } }
html.splash .splash::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 30% at 50% 42%, var(--sp-glow), transparent 72%), radial-gradient(80% 36% at 50% 100%, var(--sp-glow2), transparent 72%);
  animation: sp-glow .8s ease-out both; }
@keyframes sp-glow { from { opacity: 0; } }

/* ONE clock: everything (the show, the app reappearing underneath, the fade) is CSS animation on the same document timeline, so
   if iOS holds the page back at a Home Screen launch, all of it simply waits together; no JS timers start, reveal or remove anything.
   The app's heavy glass layers stay hidden underneath (visibility) and come back 0.35s before the fade, by animation. */
html.splash body > :not(.splash):not(script):not(template) { visibility: hidden; animation: sp-unhide 0s linear 1.5s forwards; }
html.splash.sp-reveal body > :not(.splash):not(script):not(template) { visibility: visible; }   /* tap-to-skip: show it at once */
@keyframes sp-unhide { to { visibility: visible; } }

.splash .sp-stage { position: relative; display: grid; justify-items: center; gap: 14px; margin-top: -8vh; text-align: center;
  animation: sp-lift .5s cubic-bezier(.4, 0, .2, 1) 1.85s both; }
@keyframes sp-lift { to { transform: translateY(-18px) scale(1.04); } }

/* the plate mark + ring + steam + sparkles */
.splash .sp-mark { position: relative; width: min(46vw, 190px); aspect-ratio: 1; }
.splash .sp-plate { position: relative; display: block; width: 100%; height: 100%; animation: sp-pop .8s var(--ease-spring) .05s both; }
@keyframes sp-pop { from { opacity: 0; transform: scale(.35) rotate(-24deg); } 55% { opacity: 1; } }
/* static rainbow ring (drawn once); it spins and grows in with transform + opacity only */
.splash .sp-ring { position: absolute; inset: -12px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from -90deg, var(--red), var(--orange), var(--yellow), var(--leaf), var(--teal), var(--sky), var(--blue), var(--lilac), var(--red));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  animation: sp-ring 1.65s cubic-bezier(.3, 0, .2, 1) .2s both; }
@keyframes sp-ring { 0% { opacity: 0; transform: rotate(-200deg) scale(.82); } 35% { opacity: 1; } 70% { opacity: 1; transform: none; } 100% { opacity: .35; transform: scale(1.04); } }

.splash .sp-steam { position: absolute; bottom: 88%; width: 9%; height: 34%; border-radius: 50%; pointer-events: none;
  border-left: 3.5px solid var(--sp-steam); opacity: 0; animation: sp-steam 1.3s ease-out both; }
.splash .st1 { left: 30%; animation-delay: .55s; }
.splash .st2 { left: 46%; height: 42%; animation-delay: .68s; }
.splash .st3 { left: 62%; animation-delay: .8s; }
@keyframes sp-steam {
  0% { opacity: 0; transform: translateY(24px) scaleY(.5) skewX(0deg); }
  30% { opacity: 1; }
  60% { transform: translateY(-4px) scaleY(1) skewX(-14deg); }
  100% { opacity: 0; transform: translateY(-26px) scaleY(1.1) skewX(10deg); }
}

.splash .sp-spark { position: absolute; width: 22px; aspect-ratio: 1; pointer-events: none; background: var(--yellow);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0; animation: sp-spark .8s ease-in-out both; }
.splash .k1 { top: -4%; right: 14%; animation-delay: .8s; }
.splash .k2 { top: 22%; right: -10%; width: 15px; background: var(--orange); animation-delay: .95s; }
.splash .k3 { top: 2%; left: -6%; width: 16px; background: var(--sky); animation-delay: 1.05s; }
.splash .k4 { bottom: 6%; right: -4%; width: 12px; background: var(--teal); animation-delay: 1.15s; }
@keyframes sp-spark { 0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); } 45% { opacity: 1; transform: scale(1.15) rotate(45deg); } 70% { opacity: 1; transform: scale(.9) rotate(70deg); } }

/* script wordmark (assets/splash-word-*.png: the logo's lettering only, trimmed to this 925x350 box); it slides in from the left and fades up */
.splash .sp-word { position: relative; width: min(78vw, 340px); aspect-ratio: 925 / 350; overflow: hidden; }
.splash .sp-word img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%;   /* dedicated trimmed wordmark files: no CSS crop, so no sliver of the plate at the edge */
  animation: sp-write .8s cubic-bezier(.3, 0, .2, 1) .55s both; }
.splash .sp-word .logo-for-dark { display: none; }
html.splash[data-theme="dark"] .splash .sp-word .logo-for-light { display: none; }
html.splash[data-theme="dark"] .splash .sp-word .logo-for-dark { display: block; }
@keyframes sp-write { from { opacity: 0; transform: translateX(-14%); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

.splash .sp-tag { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(1rem, 4.6vw, 1.2rem); letter-spacing: .02em; color: var(--sp-ink);
  animation: sp-up .55s var(--ease-out) 1.05s both; }
@keyframes sp-up { from { opacity: 0; transform: translateY(10px); } }

/* gentle tide along the bottom: the three static waves rise in (and ebb at the end) together, as ONE moving layer */
.splash .sp-sea { position: absolute; left: 0; right: 0; bottom: 0; height: calc(16vh + env(safe-area-inset-bottom, 0px)); pointer-events: none;
  animation: sp-tide 2.35s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes sp-tide { 0% { transform: translateY(100%); } 38% { transform: none; } 78.7% { transform: none; } 100% { transform: translateY(35%); } }
.splash .sp-wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.splash .w1 { fill: var(--sky); opacity: .55; height: 100%; }
.splash .w2 { fill: var(--blue); opacity: .55; height: 78%; transform: translateX(-22%); }
.splash .w3 { fill: var(--teal); opacity: .6; height: 56%; transform: translateX(-12%); }
html.splash[data-theme="dark"] .splash .w1 { opacity: .35; }
html.splash[data-theme="dark"] .splash .w2 { opacity: .45; }

/* tap to skip: quick fade */
html.splash .splash.sp-skip { animation: sp-skip .28s ease-out both; }
html.splash .splash.sp-skip .sp-stage { animation: sp-lift .28s ease-out both; }

/* reduced motion: no pops, spins, steam or tide, just the finished picture and a quick fade */
@media (prefers-reduced-motion: reduce) {
  html.splash .splash { animation: sp-out .35s ease .85s both !important; }   /* !important: beats the global reduced-motion kill switch */
  html.splash body > :not(.splash):not(script):not(template) { animation: sp-unhide 0s linear .5s forwards !important; }
  html.splash .splash *, html.splash .splash::before { animation: none !important; }
  html.splash .splash .sp-steam, html.splash .splash .sp-spark { display: none; }
  html.splash .splash.sp-skip { animation: sp-skip .2s ease both !important; }
}
.splash .rainbow { filter: none; }   /* no filter on anything inside the moving splash layers */
@media print { body > .splash { display: none !important; } }

/* ==========================================================================
   Nov 2026: bottom pill tab bar + side menu (cues from Picker Joe's more-drawer
   and Treasure Guide / Donnelly glass pill), Saved tab, About, Seasons views
   ========================================================================== */
:root {
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --nav-h: 66px;
  --nav-gap: 16px;
  --nav-bottom: calc(max(var(--sab), 8px) + 6px);
  --nav-clear: calc(var(--nav-h) + var(--nav-bottom) + var(--nav-gap));
  --line: rgba(6, 17, 60, .12);
  --surface-2: rgba(255, 250, 244, .72);
}
html[data-theme="dark"] {
  --line: rgba(255, 255, 255, .14);
  --surface-2: rgba(255, 255, 255, .08);
}
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-f { fill: currentColor; stroke: none; }
.ico-daisy, .ico-maple { display: block; overflow: visible; }
.ico-daisy-mono, .ico-maple-mono, .ico-leaf { fill: currentColor; stroke: none; }
html.no-smooth-scroll, html.no-smooth-scroll body { scroll-behavior: auto !important; }

/* Keep tab-bar + safe-area clearance on the footer so the copyright sits just
   above the pill. Do not also pad main — that opened a large empty gap between
   the Book CTA / footer card and the © line (and the same gap on other views). */
main { padding-bottom: 0; }
.foot { margin-top: 8px; margin-bottom: var(--nav-clear); }
.fine { margin: 24px 0 0; }   /* 20–28px between the Book card (or recipe CTA) and the copyright */
html.a2hs-on .foot { padding-bottom: calc(var(--a2hs-h, 80px) + 24px); }

/* ---------- floating pill tab bar (Picker Joe's 4-layer glass + centre-driven lens) ---------- */
/* Fixed element is the pill itself (left/right inset, max-width, margin auto) — same
   structure as Donnelly's .dyn-nav. A full-width left:0/right:0 wrapper at the bottom
   is an edge element Safari 26 will sample even when its background is transparent. */
.lg-nav { position: fixed; z-index: 50;
  left: max(14px, var(--sal)); right: max(14px, var(--sar)); bottom: var(--nav-bottom);
  width: auto; max-width: 560px; margin: 0 auto; padding: 0;
  display: flex; justify-content: center; pointer-events: none;
  background: transparent;
  transition: transform .28s var(--ease-out), opacity .28s ease; }
.lg-shell { --lgx: .5; position: relative; pointer-events: auto; isolation: isolate;
  width: 100%; height: var(--nav-h); border-radius: 999px;
  box-shadow: 0 22px 48px -18px rgba(6, 17, 60, .5), 0 3px 10px -2px rgba(6, 17, 60, .18); }
.lg-layer { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.lg-refract { -webkit-backdrop-filter: blur(20px) saturate(1.7) brightness(1.06); backdrop-filter: blur(20px) saturate(1.7) brightness(1.06); }
.lg-tint { background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(250,252,255,.62) 45%, rgba(244,247,252,.72) 100%); }
.lg-spec { overflow: hidden; background:
  radial-gradient(130px 70px at calc(var(--lgx, .3) * 100%) 0%, rgba(255,255,255,.42), rgba(255,255,255,0) 70%),
  linear-gradient(180deg, rgba(255,255,255,.34) 0, rgba(255,255,255,0) 40%); }
.lg-rim { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35), inset 0 0 0 .75px rgba(255,255,255,.55), inset 0 -10px 18px -12px rgba(6,17,60,.22), inset 0 10px 16px -12px rgba(255,255,255,.75);
  border: .5px solid rgba(6,17,60,.12); }
html[data-theme="dark"] .lg-tint { background: linear-gradient(180deg, rgba(30,48,80,.78), rgba(16,30,56,.74) 50%, rgba(10,22,44,.82)); }
html[data-theme="dark"] .lg-rim { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 .75px rgba(255,255,255,.1), inset 0 -10px 18px -12px rgba(0,0,0,.5); border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .lg-spec { background: radial-gradient(130px 70px at calc(var(--lgx, .3) * 100%) 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 70%), linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 40%); }
/* lens has no backdrop-filter (keeps the page at two blur layers) */
.lg-drop { --lg-c: 73, 182, 73; position: absolute; z-index: 1; left: 0; top: 5px; bottom: 5px; width: 80px; border-radius: 999px; pointer-events: none; transform-origin: 0 50%; }
.lg-drop[hidden] { display: none; }
.lg-drop::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(var(--lg-c), .14) 52%, rgba(255,255,255,.36));
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgba(255,255,255,.5), inset 0 0 0 .75px rgba(255,255,255,.65), 0 6px 16px -8px rgba(var(--lg-c), .28), 0 1px 2px rgba(6,17,60,.1); }
.lg-drop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.25px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.12) 38%, rgba(var(--lg-c), .42) 62%, rgba(255,255,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
html[data-theme="dark"] .lg-drop::before {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(var(--lg-c), .22) 55%, rgba(255,255,255,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 .75px rgba(255,255,255,.16), 0 6px 16px -8px rgba(0,0,0,.55); }
.lg-drop.dragging::before { box-shadow: inset 0 1.5px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.65), 0 10px 22px -10px rgba(var(--lg-c), .35); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg-tint { background: rgba(255,255,255,.97); }
  html[data-theme="dark"] .lg-tint { background: rgba(11,24,72,.97); }
}
html.more-lock .lg-refract, html.q-lock .lg-refract { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.more-lock .lg-tint, html.q-lock .lg-tint { background: rgba(255,255,255,.97); }
html[data-theme="dark"].more-lock .lg-tint, html[data-theme="dark"].q-lock .lg-tint { background: rgba(11,24,72,.97); }
/* Drop header glass blur while the drawer is sliding so iPhone doesn't composite blur(8px) under a full-screen layer. */
html.more-lock .topbar.glass::before { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.more-lock .sat-frost, html.q-lock .sat-frost { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* While flick-scrolling on touch, swap the remaining chrome blurs (sticky topbar + tab bar)
   for a near-opaque fill so iOS does not repaint glass over the moving grid. Restores at scroll end.
   Coarse pointers only; desktop keeps glass. Same idea as Donnelly html.iv-scrolling. */
@media (hover: none) and (pointer: coarse) {
  html.clm-scrolling .topbar.glass::before {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html.clm-scrolling .lg-refract {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html.clm-scrolling .lg-tint { background: rgba(255,255,255,.97); }
  html[data-theme="dark"].clm-scrolling .lg-tint { background: rgba(11,24,72,.97); }
  html.clm-scrolling .sat-frost {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 247, 241, .92);
  }
  html[data-theme="dark"].clm-scrolling .sat-frost { background: rgba(6, 17, 60, .92); }
  html.clm-scrolling .orb { animation-play-state: paused; will-change: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .lg-refract { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .lg-tint { background: #f4f6f9; }
  html[data-theme="dark"] .lg-tint { background: #0b1848; }
}

.lg-track { position: relative; z-index: 1; height: 100%; display: flex; align-items: stretch; gap: 2px;
  padding: 5px; border-radius: inherit; touch-action: none; user-select: none; -webkit-user-select: none; }
.lg-item { position: relative; z-index: 2; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 999px; text-decoration: none; color: #3c4257;
  font: 600 10.5px/1 var(--body); letter-spacing: .02em; text-transform: uppercase;
  -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent;
  background: none; border: 0; cursor: pointer; padding: 0 2px; transition: color .2s;
  touch-action: manipulation; }
html[data-theme="dark"] .lg-item { color: #c5cce0; }
.lg-icon { display: flex; align-items: center; justify-content: center; }
.lg-item svg, .lg-icon svg { width: 22px; height: 22px; }
.lg-icon, .lg-label { transition: transform .32s cubic-bezier(.2,1.6,.4,1); }
.lg-item.lensed .lg-icon { transform: scale(1.18) translateY(-1px); }
.lg-item[data-tab="home"] { --tab-c: #49B649; }
.lg-item[data-tab="seasons"] { --tab-c: #53BCE9; }
.lg-item[data-tab="saved"] { --tab-c: #D12E26; }
.lg-item[data-tab="book"] { --tab-c: #E27225; }
.lg-item[data-tab="more"] { --tab-c: #76C8B5; }
.lg-item[data-tab="more"].has-upd::after {
  content: ''; position: absolute; top: 4px; right: calc(50% - 18px);
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 2px #fffdf9; pointer-events: none; z-index: 3;
}
html[data-theme="dark"] .lg-item[data-tab="more"].has-upd::after { box-shadow: 0 0 0 2px #0b1848; }
.lg-item.is-current, .lg-item.lg-current, .lg-item[aria-current="page"], .lg-item.lensed { color: color-mix(in srgb, var(--tab-c, var(--navy)) 58%, var(--navy)); font-weight: 700; }
html[data-theme="dark"] .lg-item.is-current, html[data-theme="dark"] .lg-item.lg-current,
html[data-theme="dark"] .lg-item[aria-current="page"], html[data-theme="dark"] .lg-item.lensed { color: color-mix(in srgb, var(--tab-c, #fff) 40%, #fff); }
.lg-item:focus-visible { outline-offset: 0; }
.lg-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-nav .lg-item, .lg-nav .lg-label { white-space: nowrap; }
.lg-item .n-badge { position: absolute; top: 5px; right: calc(50% - 18px); min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--red); color: #fff; font: 700 9px/16px var(--body); text-align: center; pointer-events: none; }
.lg-item .n-badge:empty, .lg-item .n-badge[data-n="0"] { display: none; }
@media (max-width: 360px) {
  .lg-nav { left: max(8px, var(--sal)); right: max(8px, var(--sar)); }
  .lg-item { font-size: 9.5px; letter-spacing: 0; }
  .lg-item svg, .lg-icon svg { width: 20px; height: 20px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  :root { --nav-h: 52px; }
  .lg-nav { max-width: 640px; }
  .lg-item { flex-direction: row; gap: 6px; font-size: 12px; white-space: nowrap; }
  .lg-item svg, .lg-icon svg { width: 18px; height: 18px; flex: none; }
  .lg-item .n-badge { top: 50%; right: 8px; margin-top: -8px; }
}
@media (min-width: 700px) and (min-height: 600px) {
  :root { --nav-h: 64px; }
  .lg-nav { max-width: 640px; }
  .lg-item { flex-direction: row; gap: 7px; font-size: 13px; }
  .lg-item svg, .lg-icon svg { width: 20px; height: 20px; flex: none; }
  .lg-item .n-badge { top: 50%; right: 10px; margin-top: -8px; }
}
/* hide the bar when the on-screen keyboard is open */
html.kb-open .lg-nav { opacity: 0; pointer-events: none; transform: translate3d(0, 120%, 0); }
@media (prefers-reduced-motion: reduce) {
  html.kb-open .lg-nav { transform: none; }
  .lg-item, .lg-icon, .lg-label { transition: none; }
  .lg-drop { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-icon, .lg-label { transition: none; }
}

/* lift A2HS banner and print-help above the pill */
.a2hs { bottom: calc(var(--nav-h) + var(--nav-bottom) + 10px); }
.ph-card { bottom: calc(var(--nav-h) + var(--nav-bottom) + 12px); }

/* ---------- header menu button ---------- */
.menu-btn { position: relative; }
.menu-btn .menu-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 2px rgba(255, 250, 244, .95); opacity: 0; pointer-events: none; transition: opacity .25s; }
.menu-btn.has-upd .menu-dot { opacity: 1; }
html[data-theme="dark"] .menu-btn .menu-dot { box-shadow: 0 0 0 2px #06113C; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- side menu (Picker Joe's more-drawer language, Chef Lynn colors/fonts) ---------- */
/* Keep the drawer in the layer tree (no display:none / visibility:hidden) so iPhone doesn't
   rasterize the large panel on first open. Closed state is just translate3d off-screen. */
.more-drawer { position: fixed; inset: 0; z-index: 84; visibility: visible; pointer-events: none; }
.more-drawer.is-open,
.more-drawer.is-dragging { pointer-events: auto; }
.more-scrim { position: absolute; inset: 0; width: 100%; border: 0; padding: 0;
  background: rgba(6, 17, 60, .42); -webkit-backdrop-filter: none; backdrop-filter: none;
  opacity: 0; transition: opacity .26s ease-out; touch-action: none; cursor: default; pointer-events: none; }
.more-drawer.is-open .more-scrim,
.more-drawer.is-dragging .more-scrim { opacity: 1; pointer-events: auto; }
.more-drawer.is-dragging .more-scrim { transition: none; }
.more-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 420px);
  display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: calc(12px + var(--sat)) max(16px, calc(var(--sar) + 10px)) calc(18px + max(var(--sab), 8px)) 16px;
  background: #fffdf9; color: var(--navy); border-radius: 26px 0 0 26px;
  box-shadow: -24px 0 60px -30px rgba(6, 17, 60, .6);
  transform: translate3d(100%, 0, 0); transition: transform .26s ease-out;
  will-change: transform; outline: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  contain: layout; }
html[data-theme="dark"] .more-panel { background: #0b1848; color: #eef1f8; }
.more-drawer.is-open .more-panel { transform: translate3d(0, 0, 0); }
.more-drawer.is-dragging .more-panel { transition: none; }
/* Scroll-lock without a position:fixed body swap (that reflowed the recipe grid on iPhone). */
html.more-lock, html.more-lock body { overflow: hidden; overscroll-behavior: none; }
/* Phones: keep drawer/scrim solid — never introduce backdrop-filter (GPU-heavy over a long image list). */
@media (max-width: 600px) {
  .more-panel, .more-scrim { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .more-panel { background: #fffdf9; }
  html[data-theme="dark"] .more-panel { background: #0b1848; }
  .more-scrim { background: rgba(6, 17, 60, .5); }
}
/* Right-edge swipe-to-open. Lives between the topbar and the tab bar so it
   does not steal taps from the hamburger or More. touch-action:none keeps
   iOS from starting a vertical scroll before the gesture locks. */
.menu-edge {
  position: fixed; top: calc(var(--sat) + 86px); right: 0; bottom: var(--nav-clear);
  width: calc(22px + var(--sar)); z-index: 83; touch-action: none;
  -webkit-tap-highlight-color: transparent; pointer-events: auto;
}
.more-drawer.is-open:not(.is-dragging) ~ .menu-edge { pointer-events: none; }
.more-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 4px 0 12px 4px; border-bottom: 1px solid var(--line); flex: none; }
.more-head .mh-logo { height: 40px; width: auto; }
.more-close { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; color: inherit; flex: none;
  touch-action: manipulation; }
.more-close svg { width: 22px; height: 22px; }
.more-list { list-style: none; margin: 4px 0 0; padding: 0; }
.more-list li + li { border-top: 1px solid var(--line); }
.more-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px;
  padding: 6px 34px 6px 6px; border-radius: 16px; text-decoration: none; color: inherit;
  -webkit-tap-highlight-color: transparent; border: 0; background: none; width: 100%; text-align: left; cursor: pointer; font: inherit;
  touch-action: manipulation; }
.more-link::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-top: 1.8px solid currentColor; border-right: 1.8px solid currentColor; transform: rotate(45deg); opacity: .35; }
.more-link.ext::after { border: 0; width: 14px; height: 14px; margin-top: -7px; transform: none; opacity: .5;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E"); }
@media (hover: hover) { .more-link:hover { background: rgba(226, 114, 37, .1); } }
.more-link[aria-current="page"] { background: rgba(226, 114, 37, .14); font-weight: 700; }
.more-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(6, 17, 60, .07); color: var(--navy); }
html[data-theme="dark"] .more-ic { background: rgba(255, 255, 255, .08); color: #d5def0; }
.more-ic svg { width: 24px; height: 24px; }
.more-link[data-go="home"] .more-ic { background: color-mix(in srgb, #49B649 22%, #fff); color: #2a7a2a; }
.more-link[data-open-search] .more-ic { background: color-mix(in srgb, #297BBF 20%, #fff); color: #1d5f96; }
.more-link[data-go="seasons"] .more-ic { background: color-mix(in srgb, #53BCE9 24%, #fff); color: #1a7eab; }
.more-link[data-go="saved"] .more-ic { background: color-mix(in srgb, #D12E26 18%, #fff); color: #b32620; }
.more-link[data-surprise] .more-ic { background: color-mix(in srgb, #A968AA 22%, #fff); color: #7a3d7c; }
.more-link[data-go="about"] .more-ic { background: color-mix(in srgb, #8E5BB5 20%, #fff); color: #8E5BB5; }
.more-link[data-share-app] .more-ic { background: color-mix(in srgb, #76C8B5 24%, #fff); color: #2a7f6e; }
.more-link.ext .more-ic { background: color-mix(in srgb, #297BBF 16%, #fff); color: #1d5f96; }
html[data-theme="dark"] .more-link[data-go="home"] .more-ic { background: color-mix(in srgb, #7ED67E 22%, #0b1848); color: #7ED67E; }
html[data-theme="dark"] .more-link[data-open-search] .more-ic { background: color-mix(in srgb, #78B8EE 22%, #0b1848); color: #78B8EE; }
html[data-theme="dark"] .more-link[data-go="seasons"] .more-ic { background: color-mix(in srgb, #82D2F3 22%, #0b1848); color: #82D2F3; }
html[data-theme="dark"] .more-link[data-go="saved"] .more-ic { background: color-mix(in srgb, #F47D77 22%, #0b1848); color: #F47D77; }
html[data-theme="dark"] .more-link[data-surprise] .more-ic { background: color-mix(in srgb, #D29AD3 22%, #0b1848); color: #D29AD3; }
html[data-theme="dark"] .more-link[data-go="about"] .more-ic { background: color-mix(in srgb, #C9A3E6 22%, #0b1848); color: #C9A3E6; }
html[data-theme="dark"] .more-link[data-share-app] .more-ic,
html[data-theme="dark"] .more-link.ext .more-ic { background: color-mix(in srgb, #8AD8C6 22%, #0b1848); color: #8AD8C6; }
.more-txt { min-width: 0; flex: 1; }
.more-txt b { display: block; font: 600 16px/1.25 var(--body); letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; }
.more-txt small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; font-weight: 400; }
.more-sec { margin-top: 16px; }
.more-sec h2 { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 6px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); }
.seg.ts-seg { grid-template-columns: repeat(4, 1fr); }
.seg.theme-seg { grid-template-columns: repeat(3, 1fr); }
.seg button { min-height: 44px; border: 0; border-radius: 999px; background: transparent;
  font: 600 13px/1 var(--body); letter-spacing: .02em; cursor: pointer; color: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.seg.theme-seg button { flex-direction: row; gap: 6px; font-size: 14px; }
.seg button svg { width: 18px; height: 18px; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 4px 12px -6px rgba(6, 17, 60, .6); }
html[data-theme="dark"] .seg button[aria-pressed="true"] { background: #F4EFE6; color: var(--navy); }
.seg button small { font-weight: 500; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.how-card { padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 10px; }
.how-card h3 { font: 700 15px/1.3 var(--body); margin: 0 0 6px; color: var(--navy); }
html[data-theme="dark"] .how-card h3 { color: #eef1f8; }
.how-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
html[data-theme="dark"] .how-card p { color: #d5def0; }
.how-card .a2hs-key { vertical-align: -4px; }
.seg.a2hs-seg button { flex-direction: row; gap: 6px; font-size: 13px; padding: 0 8px; touch-action: manipulation; }
.a2hs-seg .a2hs-brand { width: 16px; height: 16px; flex: none; fill: currentColor; stroke: none; }
.a2hs-seg button[data-a2hs-pane="android"] .a2hs-brand { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a2hs-reveal { margin-top: 0; height: 0; overflow: hidden; opacity: 0;
  transition: height .36s var(--ease-out), opacity .28s ease; }
.a2hs-reveal.is-open { opacity: 1; }
.a2hs-reveal-inner { overflow: hidden; }
.a2hs-steps { margin: 10px 6px 2px; padding: 0 0 0 1.3em; color: var(--text); }
.a2hs-steps li { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.a2hs-steps li:last-child { margin-bottom: 0; }
.a2hs-steps .a2hs-key { vertical-align: -4px; }
html[data-theme="dark"] .a2hs-steps { color: #d5def0; }
@media (prefers-reduced-motion: reduce) {
  .a2hs-pane { transition: none; }
}
.upd { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 12px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer;
  text-align: left; color: inherit; -webkit-user-select: none; user-select: none; }
.upd .more-ic { background: var(--navy); color: #fff; overflow: visible; }
.upd .more-ic svg { width: 22px; height: 22px; overflow: visible; }
html[data-theme="dark"] .upd .more-ic { background: #F4EFE6; color: var(--navy); }
.upd .upd-go { margin-left: auto; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff;
  font: 600 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
html[data-theme="dark"] .upd .upd-go { background: #F4EFE6; color: var(--navy); }
.upd[data-state="available"] .upd-go { background: var(--red); color: #fff; }
.upd[data-state="available"] .upd-go,
.upd[data-state="updating"] .upd-go,
.upd[data-state="checking"] .upd-go,
.upd[data-state="updated"] .upd-go { display: none; }
.upd[data-state="available"] .upd-sub, .upd[data-state="updating"] .upd-sub { color: var(--red); font-weight: 600; }
html[data-theme="dark"] .upd[data-state="available"] .upd-sub,
html[data-theme="dark"] .upd[data-state="updating"] .upd-sub { color: #ff8f8f; }
.upd-spin { animation: clm-spin 1s linear infinite; }
@keyframes clm-spin { to { transform: rotate(360deg); } }
.upd.upd-flash { background: color-mix(in srgb, #2fb36b 16%, var(--surface-2)); border-color: color-mix(in srgb, #2fb36b 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, #2fb36b 22%, transparent); }
.upd[data-state="updated"] .upd-sub { color: #1f8a50; font-weight: 600; }
html[data-theme="dark"] .upd[data-state="updated"] .upd-sub { color: #6fe0a0; }
.more-ver { margin-top: auto; padding: 18px 8px 4px; font: 500 13px/1.4 var(--body); color: var(--muted); text-align: center; }
.upd-toast { position: fixed; z-index: 95; left: 50%; bottom: calc(var(--nav-clear) + 4px);
  transform: translate3d(-50%, 26px, 0) scale(.94); opacity: 0;
  max-width: calc(100% - 32px); border-radius: 999px; pointer-events: auto;
  box-shadow: 0 16px 34px -12px rgba(6, 17, 60, .45);
  transition: transform .35s var(--ease-out), opacity .3s ease; }
.upd-toast.show { opacity: 1; transform: translate3d(-50%, 0, 0); }
.upd-toast.out { opacity: 0; transform: translate3d(-50%, 30px, 0) scale(.96); transition: transform .4s ease, opacity .35s ease; }
.upd-toast.drag { transition: none; }
.upd-toast .ut-in { display: flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; white-space: nowrap;
  background: #fffdf9; color: var(--navy); border-radius: inherit; font: 600 15px/1.2 var(--body);
  border: 1px solid var(--line); }
.upd-toast svg { width: 20px; height: 20px; fill: none; stroke: #1f8a4c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[data-theme="dark"] .upd-toast .ut-in { background: #0b1848; color: #eef3fa; border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .upd-toast svg { stroke: #5fd08f; }
@media (prefers-reduced-motion: reduce) {
  .more-panel, .more-scrim, .lg-nav, .upd-toast, .upd-toast.show, .upd-toast.out, .upd-prompt { transition: none; }
  .upd-toast, .upd-toast.show, .upd-toast.out, .upd-prompt, .upd-prompt:not([hidden]) { transform: translate3d(-50%, 0, 0); }
}

/* Non-intrusive mid-use update pill, just above the tab bar. Solid (no backdrop-filter). */
.upd-prompt {
  position: fixed; z-index: 70; left: 50%; bottom: calc(var(--nav-clear) + 4px);
  transform: translate3d(-50%, 10px, 0); opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none; max-width: calc(100% - 32px);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.upd-prompt:not([hidden]) { opacity: 1; transform: translate3d(-50%, 0, 0); pointer-events: auto; }
.upd-prompt-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fffdf9; color: var(--navy); cursor: pointer; white-space: nowrap;
  font: 650 14px/1.2 var(--body);
  box-shadow: 0 10px 28px -12px rgba(6, 17, 60, .55), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.upd-prompt-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[data-theme="dark"] .upd-prompt-btn {
  background: #0b1848; color: #eef3fa; border-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 28px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
}

/* ---------- Saved / Seasons / About views ---------- */
.page-head { margin: 18px 4px 8px; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.page-head p { margin: .4rem 0 0; color: var(--text); max-width: 36em; }
#view-seasons, #view-about { padding-bottom: 8px; }
.season-board { display: grid; gap: 20px; margin: 6px 0 8px; }
/* ---------- seasons 2x2 tiles ---------- */
.season-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
.holiday-row-wrap { margin: 2px 0 0; }
.holiday-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 4px 0; }
.holiday-row-title { margin: 0; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.holiday-row-head .swipe-cue { margin: 0; }
.holiday-row-fade {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.holiday-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  scroll-padding-inline: 10px; padding: 8px 4px 8px; touch-action: pan-x; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.holiday-row::-webkit-scrollbar { display: none; }
.holiday-pill { appearance: none; flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; color: var(--navy); text-align: left;
  border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 32%, transparent);
  background: color-mix(in srgb, var(--c, var(--orange)) 10%, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75); -webkit-tap-highlight-color: transparent; }
.holiday-pill .hp-emo { font-size: 1.15rem; line-height: 1; }
.holiday-pill .hp-name { font: 700 14px/1.15 var(--body); }
.holiday-pill .hp-n { font: 600 11px/1 var(--body); color: var(--muted); }
.holiday-pill .hp-when { margin-left: 2px; padding: .14em .5em .18em; border-radius: 999px; font: 700 9px/1 var(--body);
  letter-spacing: .04em; text-transform: lowercase; color: var(--c, var(--orange));
  background: color-mix(in srgb, var(--c, var(--orange)) 16%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--orange)) 35%, transparent); }
.holiday-pill.is-next {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 18%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent), 0 8px 18px -12px color-mix(in srgb, var(--c) 55%, transparent), inset 0 1px 0 #fff;
}
.holiday-pill[aria-selected="true"], .holiday-pill.is-on {
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  background: color-mix(in srgb, var(--c) 28%, #fff);
  box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--c) 55%, transparent), inset 0 1px 0 #fff;
}
html[data-theme="dark"] .holiday-pill { color: #eef1f8; background: color-mix(in srgb, var(--cd, var(--c)) 20%, #0b1848);
  border-color: color-mix(in srgb, var(--cd, var(--c)) 40%, transparent); }
html[data-theme="dark"] .holiday-pill .hp-n { color: #b9c3d8; }
html[data-theme="dark"] .holiday-pill .hp-when { color: var(--cd, var(--c)); background: color-mix(in srgb, var(--cd, var(--c)) 22%, #0b1848); }
html[data-theme="dark"] .holiday-pill.is-next, html[data-theme="dark"] .holiday-pill[aria-selected="true"], html[data-theme="dark"] .holiday-pill.is-on {
  background: color-mix(in srgb, var(--cd, var(--c)) 32%, #0b1848);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd, var(--c)) 28%, transparent), inset 0 1px 0 rgba(255,255,255,.1);
}
@media (prefers-reduced-motion: reduce) { .holiday-pill { transition: none; } }
/* Compact horizontal season tiles: big bleeding icon left, name + count pill right. */
.season-tile {
  appearance: none; position: relative; overflow: hidden;
  display: flex; flex-direction: row; align-items: center; gap: 2px;
  height: 86px; min-height: 86px; max-height: 90px; padding: 8px 10px 8px 6px;
  border-radius: 18px; text-align: left; cursor: pointer; font: inherit; color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 32%, transparent);
  box-shadow: 0 8px 18px -14px rgba(6,17,60,.4), inset 0 1px 0 rgba(255,255,255,.7);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.season-tile:active { transform: scale(.97); }
.season-tile .st-art { position: relative; flex: none; width: 70px; align-self: stretch; pointer-events: none;
  display: flex; align-items: center; justify-content: center; }
.season-tile .st-pattern { position: absolute; inset: -30% -20% -30% -40%; opacity: .4; }
.season-tile .st-ico {
  position: relative; left: auto; bottom: auto; flex: none; width: 64px; height: 64px;
  color: color-mix(in srgb, var(--c, var(--orange)) 78%, var(--navy));
  filter: none;
}
.season-tile .st-ico .ico, .season-tile .st-ico .ico-f, .season-tile .st-ico svg { width: 64px; height: 64px; display: block; }
.season-tile .st-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-width: 0; flex: 1; }
.season-tile .st-name { font: 700 1.28rem/1 var(--head); letter-spacing: -.01em; }
.season-tile .st-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.season-tile .st-n {
  display: inline-flex; align-items: center; min-height: 20px; padding: .2em .55em;
  border-radius: 999px; font: 600 11px/1 var(--body);
  background: color-mix(in srgb, #fff 70%, var(--c, var(--orange)));
  color: var(--navy); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--orange)) 28%, transparent);
}
.season-tile .now-tag {
  position: relative; overflow: hidden;
  padding: .2em .5em .22em; border-radius: 999px; font: 700 9px/1 var(--body);
  letter-spacing: .06em; text-transform: uppercase; background: var(--c, var(--orange)); color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--orange)) 22%, transparent), 0 0 14px color-mix(in srgb, var(--c, var(--orange)) 45%, transparent);
}
.season-tile.is-now .now-tag::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  animation: now-shimmer 2.8s ease-in-out infinite;
}
@keyframes now-shimmer { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
.season-tile.is-now, .season-tile.is-on, .season-tile[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 22%, transparent), 0 10px 20px -12px color-mix(in srgb, var(--c) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.8);
}

/* seasonal washes + faint motifs */
.season-tile[data-season="Spring"] {
  background:
    radial-gradient(90% 120% at 8% 110%, color-mix(in srgb, #f4b4c8 42%, transparent), transparent 58%),
    linear-gradient(135deg, #eaf8e4 0%, color-mix(in srgb, #7ED67E 42%, #fff) 48%, color-mix(in srgb, #f8d0dc 55%, #fff) 100%);
}
.season-tile[data-season="Spring"] .st-pattern {
  background-image:
    radial-gradient(circle at 28% 30%, color-mix(in srgb, #f4b4c8 80%, #fff) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 18%, rgba(255,255,255,.7) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 80% 58%, color-mix(in srgb, #7ED67E 70%, #fff) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 78%, color-mix(in srgb, #f4b4c8 55%, #fff) 0 2px, transparent 3px);
}
.season-tile[data-season="Summer"] {
  background:
    radial-gradient(95% 110% at 6% 115%, color-mix(in srgb, #ff8a3d 40%, transparent), transparent 55%),
    linear-gradient(135deg, #fff3b0 0%, color-mix(in srgb, #F7B851 55%, #fff) 46%, color-mix(in srgb, #ff8a3d 30%, #fff) 100%);
}
.season-tile[data-season="Summer"] .st-pattern {
  background: repeating-conic-gradient(from 8deg at 18% 85%, transparent 0 14deg, rgba(255,255,255,.28) 14deg 15deg);
}
.season-tile[data-season="Fall"] {
  background:
    radial-gradient(95% 110% at 6% 115%, color-mix(in srgb, #9a3b12 32%, transparent), transparent 55%),
    linear-gradient(135deg, #ffe0bf 0%, color-mix(in srgb, #E27225 36%, #fff) 50%, color-mix(in srgb, #9a3b12 20%, #fff4ea) 100%);
}
.season-tile[data-season="Fall"] .st-pattern {
  background-image:
    radial-gradient(ellipse 8px 4px at 30% 24%, color-mix(in srgb, #E27225 45%, transparent), transparent),
    radial-gradient(ellipse 7px 3px at 70% 16%, color-mix(in srgb, #9a3b12 35%, transparent), transparent),
    radial-gradient(ellipse 9px 4px at 78% 70%, color-mix(in srgb, #E27225 30%, transparent), transparent);
}
.season-tile[data-season="Winter"] {
  background:
    radial-gradient(95% 110% at 8% 115%, color-mix(in srgb, #8ec8f0 50%, transparent), transparent 58%),
    linear-gradient(135deg, #f3f9ff 0%, color-mix(in srgb, #78B8EE 40%, #fff) 50%, color-mix(in srgb, #297BBF 18%, #e8f3fb) 100%);
}
.season-tile[data-season="Winter"] .st-pattern {
  background-image:
    radial-gradient(circle at 24% 22%, #fff 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 68% 16%, #fff 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 84% 48%, color-mix(in srgb, #78B8EE 60%, #fff) 0 1.5px, transparent 2.1px),
    radial-gradient(circle at 40% 72%, #fff 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 12% 58%, #fff 0 1px, transparent 1.5px);
}

html[data-theme="dark"] .season-tile { color: #eef1f8; border-color: color-mix(in srgb, var(--cd, var(--c)) 40%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px -16px #000; }
html[data-theme="dark"] .season-tile .st-ico { color: color-mix(in srgb, var(--cd, var(--c)) 75%, #fff); }
html[data-theme="dark"] .season-tile .st-n { background: color-mix(in srgb, var(--cd, var(--c)) 22%, #0b1848); color: #eef1f8;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cd, var(--c)) 35%, transparent); }
html[data-theme="dark"] .season-tile .now-tag { color: #0b1848; background: var(--cd, var(--c));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd, var(--c)) 28%, transparent), 0 0 16px color-mix(in srgb, var(--cd, var(--c)) 40%, transparent); }
html[data-theme="dark"] .season-tile[data-season="Spring"] {
  background: radial-gradient(90% 120% at 8% 110%, color-mix(in srgb, #f59bbb 28%, transparent), transparent 58%),
    linear-gradient(135deg, color-mix(in srgb, #7ED67E 28%, #0b1848), color-mix(in srgb, #3f9e3f 18%, #0b1848)); }
html[data-theme="dark"] .season-tile[data-season="Summer"] {
  background: radial-gradient(95% 110% at 6% 115%, color-mix(in srgb, #F7B851 30%, transparent), transparent 55%),
    linear-gradient(135deg, color-mix(in srgb, #F7B851 32%, #0b1848), color-mix(in srgb, #d9850b 20%, #0b1848)); }
html[data-theme="dark"] .season-tile[data-season="Fall"] {
  background: radial-gradient(95% 110% at 6% 115%, color-mix(in srgb, #F5965E 28%, transparent), transparent 55%),
    linear-gradient(135deg, color-mix(in srgb, #E27225 30%, #0b1848), color-mix(in srgb, #9a3b12 24%, #0b1848)); }
html[data-theme="dark"] .season-tile[data-season="Winter"] {
  background: radial-gradient(95% 110% at 8% 115%, color-mix(in srgb, #78B8EE 32%, transparent), transparent 58%),
    linear-gradient(135deg, color-mix(in srgb, #78B8EE 28%, #0b1848), color-mix(in srgb, #297BBF 22%, #0b1848)); }
html[data-theme="dark"] .season-tile.is-now, html[data-theme="dark"] .season-tile.is-on, html[data-theme="dark"] .season-tile[aria-selected="true"] {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cd, var(--c)) 32%, transparent), inset 0 1px 0 rgba(255,255,255,.1);
}

/* Drawer tiles: same design, a bit shorter so menu content sits higher */
#more-season-pills, .more-season-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; margin: 0; }
#more-season-pills .season-tile { height: 68px; min-height: 68px; max-height: 72px; padding: 6px 8px 6px 4px; border-radius: 16px; }
#more-season-pills .season-tile .st-art { width: 56px; }
#more-season-pills .season-tile .st-ico, #more-season-pills .season-tile .st-ico svg { width: 48px; height: 48px; }
#more-season-pills .season-tile .st-ico { left: auto; bottom: auto; }
#more-season-pills .season-tile .st-name { font-size: 1.12rem; }
#more-season-pills .season-tile .st-copy { gap: 4px; }
#more-holidays .holiday-row-fade { margin: 0 -6px; }
#more-holidays .holiday-row { padding-left: 6px; padding-right: 6px; }

@media (max-width: 360px) {
  .season-tile .st-name { font-size: 1.08rem; }
  .season-tile .st-art { width: 58px; }
  .season-tile .st-ico, .season-tile .st-ico svg { width: 52px; height: 52px; }
  .season-tile .st-meta { gap: 4px; }
  #more-season-pills .season-tile .st-name { font-size: 1.02rem; }
  #more-season-pills .season-tile .st-art { width: 50px; }
  #more-season-pills .season-tile .st-ico, #more-season-pills .season-tile .st-ico svg { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .season-tile { transition: none; }
  .season-tile:active { transform: none; }
  .season-tile.is-now .now-tag::after { animation: none; display: none; }
}

/* Drawer section folds (restored — must stay with the compact season tiles). */
.more-fold { border: 0; padding: 0; }
.more-fold > summary { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 10px 6px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.more-fold > summary::-webkit-details-marker, .more-fold > summary::marker { display: none; content: none; }
.more-fold > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); opacity: .45; transition: transform .2s ease; margin-right: 8px; }
.more-fold[open] > summary::after { transform: rotate(-135deg); }
.more-pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px 4px; }
.more-pill { appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: inherit; font: 600 13.5px/1 var(--body);
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.more-pill:active { transform: scale(.96); }
.more-pill .n { font-size: 11px; opacity: .65; font-weight: 700; }
/* Shared holiday / category / diet chips: emoji in a soft tinted circle */
.more-chip { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; font: inherit; color: inherit; text-align: left;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 28%, var(--line));
  background: color-mix(in srgb, var(--c, var(--orange)) 10%, var(--surface-2, #fff)); }
.more-chip:active { transform: scale(.97); }
.more-chip .mc-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; line-height: 1; background: color-mix(in srgb, var(--c, var(--orange)) 22%, #fff); }
.more-chip .mc-name { font: 600 13.5px/1.2 var(--body); }
.more-chip .mc-n { margin-left: auto; font: 600 11px/1 var(--body); color: var(--muted); }
html[data-theme="dark"] .more-chip { color: #eef1f8; background: color-mix(in srgb, var(--cd, var(--c)) 20%, #0b1848);
  border-color: color-mix(in srgb, var(--cd, var(--c)) 38%, transparent); }
html[data-theme="dark"] .more-chip .mc-ico { background: color-mix(in srgb, var(--cd, var(--c)) 28%, #0b1848); }
html[data-theme="dark"] .more-chip .mc-n { color: #b9c3d8; }
.more-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
#more-cat-pills, .more-cat-list { display: flex; flex-direction: column; gap: 6px; }
#more-cat-pills .more-chip, .more-cat-list .more-chip { width: 100%; border-radius: 16px; }
#more-diet-pills, .more-diet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#more-diet-pills .more-chip, .more-diet-grid .more-chip {
  width: 100%; min-width: 0; box-sizing: border-box; border-radius: 16px;
  flex-direction: column; align-items: flex-start; justify-content: flex-start;
  gap: 4px; min-height: 78px; padding: 10px 10px 8px; }
#more-diet-pills .mc-name, .more-diet-grid .mc-name { flex: none; min-width: 0; width: 100%; white-space: normal; line-height: 1.2; }
#more-diet-pills .mc-n, .more-diet-grid .mc-n { margin-left: 0; }
.more-link:active { background: rgba(226, 114, 37, .12); transform: scale(.99); }

.season-block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; }
.season-block-head h2 { font-size: 1.35rem; display: flex; align-items: baseline; gap: .35em; margin: 0; flex: 1 1 auto; }
.season-block .season-lead { margin: 0; color: var(--muted); font-size: .95rem; flex: 1 1 100%; }
.season-q { position: relative; flex: 1 1 180px; max-width: 280px; }
.season-q-ico { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.season-q input {
  width: 100%; height: 42px; box-sizing: border-box; border-radius: 999px;
  border: 1px solid var(--line); background: #fffdf9; color: inherit; font: inherit;
  padding: 0 14px 0 38px; -webkit-appearance: none; appearance: none;
}
.season-q input:focus { outline: 2px solid color-mix(in srgb, var(--orange) 55%, transparent); outline-offset: 1px; }
html[data-theme="dark"] .season-q input { background: #0b1848; color: #eef1f8; }
.season-block .grid { margin: 0; }
.season-block .empty { margin-top: 8px; }
.about-card { padding: 22px 22px 20px; max-width: 42em; }
.about-card .about-mark { width: 88px; height: 88px; margin-bottom: 10px; }
.about-card h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); margin-bottom: .6rem; }
.about-card p { margin: 0 0 1rem; }
.about-card .about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
body[data-tab="saved"] .hero,
body[data-tab="saved"] .filters,
body[data-tab="saved"] .recent { display: none; }
body[data-tab="seasons"] #view-list,
body[data-tab="about"] #view-list { display: none; }

@media print {
  .lg-nav, .more-drawer, .menu-btn, .upd-toast, #view-seasons, #view-about, #saved-head { display: none !important; }
  main, .foot { padding-bottom: 0; margin-bottom: 0; }
}
.more-head .mh-brand { flex: 1; min-width: 0; }

/* keep the hero search field (and last content) above the floating pill */
.hero { padding-bottom: calc(clamp(14px, 3vw, 34px) + var(--nav-h) + 20px); }
@media (max-width: 700px) {
  .hero {
    min-height: calc(100dvh - var(--sat) - 100px - var(--nav-clear));
    padding-bottom: calc(18px + var(--nav-h) + 18px);
  }
}


/* ---------- filter FAB + iOS-style bottom sheet ---------- */
.filter-fab { position: fixed; z-index: 52; right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--nav-clear) + 8px); width: 56px; min-width: 56px; max-width: 56px; height: 56px; border-radius: 999px; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 0;
  overflow: hidden; white-space: nowrap; box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,253,249,.94); color: var(--navy); cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(6,17,60,.45), inset 0 1px 0 #fff;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: width .55s var(--ease-out), min-width .55s var(--ease-out), max-width .55s var(--ease-out), padding .45s var(--ease-out), gap .4s var(--ease-out), transform .2s var(--ease-out); }
.filter-fab .ico, .filter-fab svg { width: 24px; height: 24px; flex: none; }
.filter-fab .fab-label { font: 600 14.5px/1 var(--body); letter-spacing: .01em;
  flex: 0 0 auto; max-width: 0; opacity: 0; overflow: hidden;
  transform: translateX(-6px);
  transition: max-width .5s var(--ease-out), opacity .3s ease, transform .45s var(--ease-out); }
.filter-fab.is-expanded { width: 158px; min-width: 158px; max-width: 158px; padding: 0 16px 0 14px; gap: 8px; justify-content: flex-start; }
.filter-fab.is-expanded .fab-label { max-width: 7.5em; opacity: 1; transform: none; }
.filter-fab.no-fab-anim, .filter-fab.no-fab-anim .fab-label { transition: none !important; }
.filter-fab:active { transform: scale(.94); }
.filter-fab[hidden] { display: none !important; }
html[data-theme="dark"] .filter-fab { background: rgba(11,24,72,.94); color: #eef1f8; border-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 28px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) {
  .filter-fab, .filter-fab .fab-label { transition: none !important; }
}
.filter-sheet { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
.filter-sheet.is-active { visibility: visible; }
.filter-sheet.is-open, .filter-sheet.is-dragging { visibility: visible; pointer-events: auto; }
.fs-scrim { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: rgba(6, 17, 60, .42);
  opacity: 0; transition: opacity .28s ease; cursor: default; touch-action: none; }
.filter-sheet.is-open .fs-scrim, .filter-sheet.is-dragging .fs-scrim { opacity: 1; }
.filter-sheet.is-dragging .fs-scrim { transition: none; }
.fs-card { position: absolute; left: 0; right: 0; bottom: 0; width: 100%;
  max-height: min(86vh, 720px); display: flex; flex-direction: column;
  padding: 8px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fffdf9; color: var(--navy);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -18px 50px -28px rgba(6,17,60,.55);
  transform: translate3d(0, 100vh, 0); transition: transform .28s var(--ease-out);
  will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  -webkit-backdrop-filter: none; backdrop-filter: none; outline: none; }
.filter-sheet.is-open .fs-card { transform: translate3d(0, 0, 0); }
.filter-sheet.is-dragging .fs-card { transition: none; }
html[data-theme="dark"] .fs-card { background: #0b1848; color: #eef1f8; }
.fs-grab { flex: none; width: 40px; height: 5px; border-radius: 999px; background: rgba(6,17,60,.22); margin: 6px auto 8px; }
html[data-theme="dark"] .fs-grab { background: rgba(255,255,255,.28); }
.fs-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.fs-head h2 { margin: 0; font: 700 1.15rem/1.2 var(--head); }
.fs-body { display: grid; gap: 8px; padding: 0 0 8px; overflow: auto; overscroll-behavior: contain; }
.fs-label { margin: 8px 4px 0; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fs-body .chip-row { overflow-x: auto; }
.fs-foot { flex: none; padding: 10px 0 4px; }
.fs-done { appearance: none; width: 100%; min-height: 52px; border: 0; border-radius: 16px; cursor: pointer;
  font: 700 1.02rem/1 var(--body); color: #fff; background: var(--navy); -webkit-tap-highlight-color: transparent; }
.fs-done:active { transform: scale(.98); }
html[data-theme="dark"] .fs-done { background: #F4EFE6; color: var(--navy); }
html.filter-lock, html.filter-lock body { overflow: hidden; overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) {
  .fs-card, .fs-scrim { transition: none; }
}
@media print {
  .filter-fab, .filter-sheet { display: none !important; }
}

/* ---------- Kitchen Tools + recipe scale ---------- */
#view-tools { padding-bottom: 12px; }
.tools-promo { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; padding: 12px 14px; text-decoration: none; color: var(--navy); border-radius: 22px; }
.tools-promo-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(118,200,181,.35), rgba(41,123,191,.18)); color: var(--navy); }
.tools-promo-ic svg { width: 24px; height: 24px; }
.tools-promo b { display: block; font-size: 1.02rem; line-height: 1.2; }
.tools-promo small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.tools-promo-go { margin-left: auto; font-size: 1.4rem; color: var(--muted); }
body[data-tab="saved"] .tools-promo { display: none; }
.tools-tabs { position: sticky; z-index: 8; top: calc(var(--sat, 0px) + 62px); display: flex; gap: 6px; margin: 4px 0 14px; padding: 6px 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  background: rgba(255,247,241,.94); border-radius: 18px; }
.tools-tabs::-webkit-scrollbar { display: none; }
.tools-tabs [role="tab"] { flex: 1 0 auto; min-height: 48px; min-width: 5.6em; padding: 0 12px; border: 0; border-radius: 14px; background: transparent; color: var(--navy); font: 650 14.5px/1 var(--body); cursor: pointer; touch-action: manipulation; }
.tools-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(6,17,60,.55); }
.tools-card { padding: 16px; margin: 0 0 14px; }
.tools-subh { font-size: 1.12rem; margin: 0 0 8px; }
.tools-lab, .tools-scale-set legend { display: block; font-weight: 650; color: var(--navy); margin: 0 0 8px; }
.tools-scale-set { border: 0; margin: 0 0 14px; padding: 0; }
.tools-scale-row, .r-scale-row { display: flex; flex-wrap: wrap; gap: 8px; }
.r-scale { margin: 8px 0 14px; }
.r-scale-lbl { font-weight: 650; color: var(--navy); margin-right: 4px; align-self: center; }
.r-scale-btn { min-height: 48px; min-width: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(6,17,60,.14); background: rgba(255,255,255,.86); color: var(--navy); font: 650 15px/1 var(--body); cursor: pointer; touch-action: manipulation; }
.r-scale-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(6,17,60,.55); }
.r-scale-note { margin: 8px 0 0; font-size: .88rem; font-weight: 600; color: var(--orange); }
.tools-custom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.tools-custom label { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.tools-custom input, .cv-grid input, .cv-grid select { min-height: 48px; min-width: 4.5em; width: 5.5em; padding: 0 12px; border-radius: 14px; border: 1px solid rgba(6,17,60,.16); background: rgba(255,255,255,.9); color: var(--navy); font: 600 16px/1 var(--body); }
.cv-grid select, #cv-ing { width: auto; min-width: 8em; }
.tools-area { width: 100%; min-height: 10em; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(6,17,60,.16); background: rgba(255,255,255,.9); color: var(--navy); font: 500 16px/1.45 var(--body); resize: vertical; }
.tools-out-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 8px; }
.tools-out-h .tools-subh { margin: 0; }
.tools-out { margin: 0; padding: 14px; border-radius: 16px; background: rgba(118,200,181,.14); color: var(--navy); font: 600 16px/1.5 var(--body); white-space: pre-wrap; word-break: break-word; min-height: 3em; }
.tools-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tools-subtabs .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: transparent; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: end; }
.cv-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--navy); font-size: .88rem; }
.cv-grid .cv-result { grid-column: 1 / -1; margin: 4px 0 0; font: 700 1.15rem/1.4 var(--head); color: var(--navy); }
.tools-foot { margin: 8px 2px 0; font-size: .82rem; color: var(--muted); }
.sheet-grid, .tips-grid { display: grid; gap: 12px; }
.sheet-list { list-style: none; margin: 0; padding: 0; }
.sheet-list li { padding: 8px 0; border-bottom: 1px solid rgba(6,17,60,.08); font-weight: 550; }
.sheet-list li:last-child { border-bottom: 0; }
.tip-card { display: flex; gap: 12px; align-items: flex-start; }
.tip-e { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: rgba(255,255,255,.7); }
.tip-card p { margin: 0; }
html[data-theme="dark"] .tools-promo { color: #F6F1E9; }
html[data-theme="dark"] .tools-promo-ic { background: linear-gradient(160deg, rgba(118,200,181,.22), rgba(41,123,191,.18)); color: #F6F1E9; }
html[data-theme="dark"] .tools-tabs { background: rgba(10,22,66,.94); }
html[data-theme="dark"] .tools-tabs [role="tab"] { color: #F6F1E9; }
html[data-theme="dark"] .tools-tabs [role="tab"][aria-selected="true"] { background: #F6F1E9; color: #06113C; }
html[data-theme="dark"] .tools-lab, html[data-theme="dark"] .tools-scale-set legend, html[data-theme="dark"] .r-scale-lbl,
html[data-theme="dark"] .cv-grid label { color: #F6F1E9; }
html[data-theme="dark"] .r-scale-btn { background: rgba(255,255,255,.08); color: #F6F1E9; border-color: rgba(255,255,255,.18); }
html[data-theme="dark"] .r-scale-btn[aria-pressed="true"] { background: #F6F1E9; color: #06113C; }
html[data-theme="dark"] .tools-area, html[data-theme="dark"] .tools-custom input, html[data-theme="dark"] .cv-grid input, html[data-theme="dark"] .cv-grid select {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #F6F1E9; }
html[data-theme="dark"] .tools-out { background: rgba(118,200,181,.12); color: #F6F1E9; }
html[data-theme="dark"] .cv-result { color: #F6F1E9; }
html[data-theme="dark"] .sheet-list li { border-bottom-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .tip-e { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .tools-subtabs .chip[aria-pressed="true"] { background: #F6F1E9; color: #06113C; }
body[data-tab="tools"] #view-list { display: none; }
.tools-custom[hidden], [data-cv-panel][hidden], .tools-panel[hidden], .r-scale-note[hidden] { display: none !important; }
@media print {
  .tools-promo, .more-tools, .r-scale, #view-tools .tools-tabs, .upd-prompt, .upd-toast { display: none !important; }
}

/* ---------- 1.2.61 Kitchen Tools featured drawer card + clear whisk ---------- */
.ico-whisk { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico-whisk .whisk-h { stroke-width: 2.4; }

.more-tools {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 0;
  flex-shrink: 0;
  margin: 16px 0 10px;
  padding: 20px 10px 18px 12px;
  padding-bottom: max(18px, 1.06rem);
  border: 0;
  border-radius: 22px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #fff;
  overflow: visible;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(160deg, #F39250 0%, #E27225 46%, #D12E26 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 10px 24px -12px rgba(209,46,38,.55);
}
.more-tools-ic {
  flex: none;
  width: 56px;
  height: 56px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #FFF7F1;
  color: #E27225;
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(6,17,60,.16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.more-tools-ic svg { width: 42px; height: 42px; }
.more-tools-body { flex: 1; min-width: 0; padding-right: 2px; }
.more-tools b {
  display: block;
  font: 700 1rem/1.2 var(--body);
  color: #fff;
  letter-spacing: .01em;
}
.more-tools small {
  display: block;
  margin-top: 3px;
  font: 500 .7rem/1.35 var(--body);
  color: rgba(255,247,241,.94);
}
.more-tools-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  pointer-events: none;
}
.more-tools-chips span {
  display: inline-flex;
  align-items: center;
  font: 600 .6rem/1 var(--body);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 5px 8px;
}
.more-tools-go {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  color: #fff;
  align-self: center;
}
.more-tools-go::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-top: 2.2px solid currentColor;
  border-right: 2.2px solid currentColor;
  transform: rotate(45deg);
  opacity: .9;
}
.more-tools:active { filter: brightness(.92); }
.more-tools:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.more-tools[aria-current="page"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 0 2px rgba(255,255,255,.55), 0 10px 24px -12px rgba(209,46,38,.55); }
@media (hover: hover) and (pointer: fine) {
  .more-tools:hover { filter: brightness(1.05); }
  .more-tools:hover:active { filter: brightness(.92); }
}
html[data-theme="dark"] .more-tools {
  background: linear-gradient(160deg, #F08A43 0%, #E27225 44%, #C42922 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 28px -12px rgba(0,0,0,.55);
}
html[data-theme="dark"] .more-tools-ic {
  background: #FFF7F1;
  color: #E27225;
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0,0,0,.28);
}
html[data-theme="dark"] .more-tools small { color: rgba(255,247,241,.94); }
