/* site-version: 29 */
[hidden] { display: none !important; }
:root {
  /* Matches the channel: black like the logo, fire-red accents, food photos do the talking */
  --bg: #0D0D0F;
  --surface: #16161A;
  --surface-2: #1F1F25;
  --line: #2A2A31;
  --text: #F5F5F6;
  --muted: #9C9CA6;
  --red: #F2260B;       /* fire red from the logo */
  --red-deep: #C41A05;
  --orange: #FF3B30;    /* bright red (text and highlights) */
  --fire: linear-gradient(100deg, #B5120A 0%, #E8170B 55%, #FF3B30 100%);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.bar { position: sticky; top: 0; z-index: 20; background: rgba(13,13,15,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 50%; display: block; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.logo b .r, .title .r { color: var(--orange); }
.bar-search { flex: 0 1 420px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; }
.bar-search:focus-within { border-color: var(--red); }
.bar-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; }
.bar-search svg { flex: none; opacity: .6; }

/* Hero */
.banner { position: relative; height: clamp(150px, 22vw, 300px); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,.1) 0%, rgba(13,13,15,.35) 55%, var(--bg) 100%); }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 0 0 44px; margin-top: -70px; position: relative; z-index: 2; }
.avatar { width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--orange), 0 12px 40px rgba(232,23,11,.35); display: block; margin-bottom: 18px; }
.eyebrow { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.title { font-family: var(--display); text-transform: uppercase; font-size: clamp(3.4rem, 8vw, 7.2rem); line-height: .92; letter-spacing: .005em; margin: 12px 0 18px; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 46ch; margin: 0 0 26px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: .75rem 1.3rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s, border-color .15s; }
.btn:hover { background: #2a2a32; transform: translateY(-1px); }
.btn.red { background: var(--fire); border-color: transparent; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.btn.red:hover { filter: brightness(1.08); background: var(--fire); }

.feature { position: relative; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.6); overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; padding: 0; width: 100%; display: block; }
.feature .media { aspect-ratio: 16 / 9; position: relative; }
.feature .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88)); }
.feature .cap { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 6px; }
.feature .cap .tag { justify-self: start; }
.feature .cap h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; }
.feature .playbig { position: absolute; top: 50%; left: 50%; translate: -50% -60%; width: 78px; height: 54px; border-radius: 16px; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255,46,46,.4); transition: transform .2s; }
.feature:hover .playbig { transform: scale(1.08); }
.playbig::after { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 4px; }
.feature .new { position: absolute; top: 16px; left: 16px; background: var(--fire); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 6px; }

/* Media (thumbnail or fallback) */
.media { background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c, #555) 55%, transparent), transparent 70%), var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.media .emo { font-size: 3.6rem; opacity: .9; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }

/* Tabs */
.tabs { position: sticky; top: 64px; z-index: 15; background: rgba(13,13,15,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-bottom: 30px; scroll-margin-top: 64px; }
.tabs .wrap { display: flex; gap: 6px; }
.tabs a { position: relative; padding: 16px 18px 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; transition: color .15s; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--fire); }
.tabs .n { font-size: .72rem; background: var(--surface-2); border-radius: 999px; padding: .05rem .5rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.view[hidden] { display: none; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; transition: background .15s, transform .15s; }
.soc:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.soc svg { width: 22px; height: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 26px; }
@media (max-width: 700px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 22px; scroll-padding: 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); } }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: .45rem .9rem; font-weight: 600; cursor: pointer; white-space: nowrap; display: inline-flex; gap: .45rem; align-items: center; transition: background .15s; }
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--fire); color: #fff; border-color: transparent; }
.chip .n { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .n { color: rgba(255,255,255,.85); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); text-transform: uppercase; font-size: 2rem; letter-spacing: .01em; }
.section-head span { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 34px 22px; padding-bottom: 80px; }
.card { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; display: grid; gap: 12px; align-content: start; }
.card .media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); border: 1px solid var(--line); }
.card:hover .media img { transform: scale(1.05); }
.card:hover h3 { color: #fff; }
.card .time { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.82); color: #fff; font-size: .78rem; font-weight: 700; padding: .1rem .45rem; border-radius: 5px; font-variant-numeric: tabular-nums; }
.card .novid { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.82); color: var(--muted); font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 5px; }
.card .play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; background: rgba(0,0,0,.25); }
.card .play i { width: 56px; height: 40px; border-radius: 12px; background: var(--red); display: grid; place-items: center; }
.card .play i::after { content: ""; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.card:hover .play, .card:focus-visible .play { opacity: 1; }
.card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: #ececef; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .sub { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; font-weight: 500; flex-wrap: wrap; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--red)); }
.cook { color: #c9c9d1; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.heat { color: var(--orange); letter-spacing: -.1em; }

.empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); }
.empty h3 { font-family: var(--display); text-transform: uppercase; color: var(--text); font-size: 2.2rem; margin-bottom: 6px; }
.notice { background: rgba(255,46,46,.12); border: 1px solid rgba(255,46,46,.4); color: #ffd0d0; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; margin: 0 0 20px; }
.skel { aspect-ratio: 16/9; border-radius: var(--r); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* Suggestion box */
.suggest { margin: 10px 0 70px; border-radius: 22px; padding: 2px; background: var(--fire); }
.suggest > * { position: relative; }
.suggest { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; }
.suggest .sg-copy, .suggest .sg-form { background: var(--surface); padding: 34px 36px; }
.suggest .sg-copy { border-radius: 20px 0 0 20px; background: radial-gradient(ellipse at top left, rgba(232,23,11,.18), transparent 60%), var(--surface); }
.suggest .sg-form { border-radius: 0 20px 20px 0; display: grid; gap: 12px; align-content: center; }
.suggest h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .95; margin: 10px 0 12px; }
.suggest h2 .r { color: var(--orange); }
.suggest p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 40ch; }
.sg-form input { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; width: 100%; min-width: 0; }
.sg-form input:focus { outline: 0; border-color: var(--orange); }
#sg-dish { font-size: 1.15rem; font-weight: 600; padding: .95rem 1.1rem; }
.sg-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.sg-form .btn { justify-content: center; border-radius: 12px; padding: .9rem; font-size: 1.05rem; }
.sg-msg { min-height: 1.4em; font-weight: 600; }
.sg-msg.ok { color: #6ee7a8; } .sg-msg.bad { color: #ff7b6e; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Links */
.links { max-width: 640px; margin: 0 auto; padding-bottom: 80px; display: grid; gap: 14px; }
.links .intro { text-align: center; color: var(--muted); margin: 0 0 10px; }
.lnk { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 14px; text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.lnk:hover { border-color: var(--red); transform: translateY(-2px); background: var(--surface-2); }
.lnk .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--brand, var(--surface-2)); }
.lnk .ic svg { width: 26px; height: 26px; }
.lnk b { display: block; font-size: 1.15rem; }
.lnk small { color: var(--muted); font-size: .88rem; word-break: break-all; }
.lnk .go { color: var(--muted); font-size: 1.3rem; }
.lnk:hover .go { color: var(--orange); }

/* Store */
.store { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; padding-bottom: 80px; }
.prod { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.prod:hover { border-color: #3a3a44; transform: translateY(-3px); }
.prod .pic { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, rgba(232,23,11,.25), transparent 65%), var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.prod .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod .pic img.logo-fill { width: 46%; height: auto; border-radius: 50%; opacity: .85; }
.prod .info { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.prod h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.prod .price { font-family: var(--display); font-size: 1.6rem; color: var(--text); line-height: 1; }
.prod p { margin: 0; color: var(--muted); font-size: .95rem; }
.prod .btn { margin-top: 8px; justify-content: center; border-radius: 12px; }
.prod .soon { margin-top: 8px; text-align: center; color: var(--muted); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding: .7rem; border: 1px dashed var(--line); border-radius: 12px; }

/* About */
.about { max-width: 980px; margin: 0 auto; padding-bottom: 80px; display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.about.noimg { grid-template-columns: 1fr; max-width: 720px; }
.about .ph { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--surface-2); }
.about .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about .ph.logo { aspect-ratio: 1; border-radius: 50%; border: 0; box-shadow: 0 0 0 3px var(--red), 0 20px 60px rgba(232,23,11,.25); position: sticky; top: 90px; }
.about h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: .98; margin-bottom: 18px; }
.about .txt p { color: #d6d6dc; font-size: 1.12rem; line-height: 1.7; margin: 0 0 1.1em; max-width: 64ch; }
.about .txt p:first-child { color: var(--text); font-size: 1.25rem; }
.about .socials { margin-top: 24px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about .ph { max-width: 340px; } .about .ph.logo { max-width: 200px; position: static; } }

/* Modal */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); display: none; justify-content: center; align-items: flex-start; padding: 32px 16px; overflow-y: auto; z-index: 50; }
.overlay.open { display: flex; }
.modal { width: min(980px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; position: relative; animation: rise .25s ease-out; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
.close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.7); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.close:hover { background: var(--red); border-color: var(--red); }
.mbody { background: radial-gradient(ellipse at top right, rgba(232,23,11,.08), transparent 55%); }
.player { aspect-ratio: 16 / 9; background: #000; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal > .media { aspect-ratio: 16 / 7; position: relative; }
.mbody { padding: 28px 32px 36px; display: grid; gap: 26px; }
.mhead h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .98; margin: 8px 0 10px; }
.mhead p { color: var(--muted); font-size: 1.1rem; margin: 0 0 14px; max-width: 62ch; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; }
.facts span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: .35rem .75rem; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.facts small { color: var(--muted); font-weight: 600; margin-right: .3rem; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }
.mlinks { display: flex; gap: 10px; flex-wrap: wrap; }
.details { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.details div { flex: 1 1 190px; background: var(--surface); padding: 14px 16px; }
.details small { display: block; color: var(--orange); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.details b { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.cols { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; }
.cols h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.cols h3 small { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: none; }
.ing { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ing .grp { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--orange); padding: 14px .6rem 4px; }
.ing .grp:first-child { padding-top: 0; }
.ing label { display: flex; gap: 12px; align-items: flex-start; padding: .5rem .6rem; border-radius: 8px; cursor: pointer; font-weight: 500; }
.ing label:hover { background: var(--surface-2); }
.ing input { appearance: none; width: 20px; height: 20px; border: 2px solid #4a4a54; border-radius: 6px; flex: none; margin-top: 2px; display: grid; place-items: center; cursor: pointer; }
.ing input:checked { background: var(--orange); border-color: var(--orange); }
.ing input:checked::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 800; }
.ing input:checked + span { color: var(--muted); text-decoration: line-through; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 1.6rem; color: var(--orange); line-height: 1.1; }
.steps li span { padding-top: 4px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--text); color: var(--bg); padding: .75rem 1.2rem; border-radius: 10px; font-weight: 700; transition: transform .25s, visibility .25s; z-index: 80; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

footer { border-top: 1px solid var(--line); color: var(--muted); padding: 26px 0 40px; font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .suggest { grid-template-columns: 1fr; }
  .suggest .sg-copy { border-radius: 20px 20px 0 0; padding: 26px 22px 6px; }
  .suggest .sg-form { border-radius: 0 0 20px 20px; padding: 16px 22px 26px; }
  .sg-row { grid-template-columns: 1fr; }
  .tabs a { padding: 14px 12px 13px; font-size: .82rem; }
  .hero { grid-template-columns: 1fr; gap: 30px; margin-top: -56px; }
  .avatar { width: 104px; height: 104px; }
  .cols { grid-template-columns: 1fr; }
  .bar-search { display: none; }
  .mbody { padding: 22px 18px 28px; }
}
@media (max-width: 520px) { .wrap { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { :where(*:not(.wtf-intro):not(.wtf-intro *)), :where(*:not(.wtf-intro):not(.wtf-intro *))::before, :where(*:not(.wtf-intro):not(.wtf-intro *))::after { animation: none !important; transition: none !important; } }

/* ===================== Most watched row ===================== */
a.card { color: inherit; text-decoration: none; }

/* ===================== Bottom tab bar (phones) ===================== */
.bnav { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bnav { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(18,18,22,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bnav a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 10px; }
  .bnav a svg { width: 24px; height: 24px; }
  .bnav a[aria-current="page"] { color: #fff; }
  .bnav a[aria-current="page"] svg { color: var(--orange); }
  .tabs { display: none; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
.install-btn { display: none; }
.install-btn.show { display: inline-flex; }

/* ===================== Seasonal effects ===================== */
.season-fx { position: fixed; inset: 0; pointer-events: none; z-index: -1; }   /* falling leaves drift behind everything */
@media (max-width: 560px) { .feature .playbig { display: none; } }
@media (prefers-reduced-motion: reduce) { .season-fx { display: none; } }

/* ---------- Favorites ---------- */
.heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); display: grid; place-items: center; cursor: pointer; color: #fff; transition: transform .15s, background .15s; }
.heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.heart:hover { background: rgba(0,0,0,.8); transform: scale(1.08); }
.heart[aria-pressed="true"] { color: var(--red); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.heart.pop svg { animation: pop .35s ease-out; }
@keyframes pop { 40% { transform: scale(1.35); } }
.heart.big { position: static; width: auto; height: auto; border-radius: 999px; padding: .75rem 1.2rem; gap: .5rem; display: inline-flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; backdrop-filter: none; }
.heart.big:hover { transform: translateY(-1px); background: #2a2a32; }
.card .have { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: #1f7a4a; color: #fff; font-size: .78rem; font-weight: 800; padding: .15rem .5rem; border-radius: 6px; }

/* ---------- Shopping list ---------- */
.cart-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: .8rem 1.1rem; background: var(--fire); color: #fff; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 0 12px 34px rgba(232,23,11,.45); }
.cart-fab b { background: #fff; color: var(--red); border-radius: 999px; min-width: 24px; padding: 0 .4rem; font-size: .85rem; text-align: center; }
.cart-fab[hidden] { display: none; }
.cart-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); display: flex; justify-content: flex-end; }
.cart-wrap[hidden] { display: none; }
.cart { width: min(440px, 100%); height: 100%; background: var(--surface); border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; animation: slidein .22s ease-out; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.cart-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 12px; }
.cart-top h2 { font-family: var(--display); text-transform: uppercase; font-size: 2rem; font-weight: 400; }
.cart-x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: #fff; font-size: 1.5rem; cursor: pointer; }
.cart-body { overflow-y: auto; padding: 0 22px 10px; }
.cart-empty { padding: 0 22px; color: var(--muted); }
.cart-g { border-top: 1px solid var(--line); padding: 14px 0; }
.cart-gh { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.cart-gh a { color: var(--text); font-weight: 800; text-decoration: none; }
.cart-gh a:hover { text-decoration: underline; }
.cart-rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .85rem; flex: none; }
.cart-rm:hover { color: #fff; }
.cart ul { list-style: none; margin: 0; padding: 0; }
.cart li label { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.cart li input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.cart li.done span { text-decoration: line-through; color: var(--muted); }
.cart-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cart-actions .btn { padding: .6rem 1rem; font-size: .92rem; }
.btn.ghost { background: none; }
body.cart-open { overflow: hidden; }

/* ---------- What's in my fridge? ---------- */
.fridge { background: linear-gradient(135deg, rgba(232,23,11,.12), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-bottom: 26px; scroll-margin-top: 140px; }
.fridge[hidden] { display: none; }
.fr-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.fr-top h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1; }
.fr-top p { color: var(--muted); margin: 6px 0 0; }
.fr-add { display: flex; gap: 8px; margin: 18px 0 12px; }
.fr-add input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 999px; padding: .75rem 1.1rem; font: inherit; }
.fr-add input:focus { outline: 0; border-color: var(--red); }
.fr-have, #fr-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fr-chip { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: .35rem .8rem; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.fr-chip:hover { border-color: #3a3a44; }
.fr-chip.on { background: #1f7a4a; border-color: transparent; color: #fff; }
.fr-clear { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; font: inherit; }
.fr-none { color: var(--muted); font-size: .92rem; }
.fr-quick { margin-top: 14px; display: grid; gap: 8px; }
.fr-quick > span { color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 560px) { .fridge { padding: 18px 16px; } #fr-quick { max-height: 132px; overflow-y: auto; } }

/* ---------- Collections ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; margin-bottom: 26px; }
.cols[hidden] { display: none; }
.col-card { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; text-decoration: none; color: var(--text); border-radius: 18px; padding: 12px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--c) 30%, transparent), transparent 75%), var(--surface); transition: transform .15s, border-color .15s; }
.col-card:hover { transform: translateY(-2px); border-color: var(--c); }
.col-pics { position: relative; height: 82px; }
.col-pics img { position: absolute; width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; border: 2px solid var(--surface); box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.col-pics img:nth-child(1) { left: 0; top: 0; z-index: 3; }
.col-pics img:nth-child(2) { left: 12px; top: 14px; z-index: 2; transform: rotate(4deg); }
.col-pics img:nth-child(3) { left: 24px; top: 28px; z-index: 1; transform: rotate(8deg); }
.col-txt { display: grid; gap: 2px; min-width: 0; }
.col-emo { font-size: 1.6rem; line-height: 1; }
.col-txt b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; overflow-wrap: anywhere; }
.col-pics .col-big { font-size: 3.2rem; display: grid; place-items: center; height: 100%; }
.col-txt small { color: #c9c9d1; font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Email signup ---------- */
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; margin: 10px 0 30px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(circle at 0 0, rgba(232,23,11,.22), transparent 55%), var(--surface); }
.newsletter[hidden] { display: none; }
.newsletter h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; margin: 6px 0 8px; }
.newsletter p { color: var(--muted); margin: 0; }
.nl-form { display: flex; gap: 8px; }
.nl-form input[type=email] { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 999px; padding: .8rem 1.1rem; font: inherit; }
.nl-form input:focus { outline: 0; border-color: var(--red); }
.nl-msg { min-height: 1.4em; margin-top: 8px; font-weight: 600; font-size: .95rem; }
.nl-msg.ok { color: #6ee7a8; } .nl-msg.bad { color: #ff8a7a; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; padding: 22px 18px; } }
@media (max-width: 420px) { .nl-form { flex-direction: column; } }
@media (max-width: 700px) { .cart-fab { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; } }

/* day picker (meal plan) + print menu */
.plan-pop { position: absolute; z-index: 95; background: var(--surface); border: 1px solid #3a3a44; border-radius: 14px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.6); display: grid; gap: 10px; }
.plan-pop b { font-size: .9rem; }
.plan-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.plan-days button, .print-pop button { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 10px; padding: .5rem .3rem; font: inherit; font-weight: 700; cursor: pointer; }
.plan-days button:hover, .print-pop button:hover { border-color: #4a4a55; }
.plan-days button.on { background: var(--fire); border-color: transparent; color: #fff; }
.plan-pop > a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.plan-pop > a:hover { color: #fff; }
.print-pop button { text-align: left; padding: .6rem .8rem; }
.card .stars-mini { color: #FFB020; font-weight: 700; }

/* spin the wheel */
.wheel-wrap { position: fixed; inset: 0; z-index: 92; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.wheel-wrap[hidden] { display: none; }
.wheel-box { position: relative; width: min(560px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 22px; text-align: center; animation: rise .25s ease-out; }
.wheel-box h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
.wheel-box p { color: var(--muted); margin: 6px 0 14px; }
.wheel-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: #fff; font-size: 1.4rem; cursor: pointer; }
.wheel-stage { position: relative; width: min(420px, 100%); margin: 0 auto; aspect-ratio: 1; }
.wheel-stage canvas { width: 100%; height: 100%; display: block; }
.wheel-pin { position: absolute; top: -6px; left: 50%; translate: -50% 0; z-index: 2; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid #fff; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.wheel-go { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 92px; height: 92px; border-radius: 50%; border: 5px solid #0D0D0F; background: var(--fire); color: #fff; font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; cursor: pointer; box-shadow: 0 8px 26px rgba(232,23,11,.55); }
.wheel-go:hover { filter: brightness(1.08); }
.wheel-res:empty { display: none; }
.wheel-res { margin-top: 16px; }
.wr-card { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 10px; animation: rise .3s ease-out; }
.wr-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.wr-card small { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.wr-card b { display: block; font-size: 1.1rem; line-height: 1.25; margin: 2px 0 10px; }
.wr-act { display: flex; gap: 8px; flex-wrap: wrap; }
.wr-act .btn { padding: .55rem 1rem; font-size: .92rem; }
@media (max-width: 480px) { .wr-card { grid-template-columns: 1fr; } }
.tabs .tab-plan { margin-left: auto; }
@media (max-width: 700px) { .tabs .tab-plan { margin-left: 0; } }

.btn.big { padding: .9rem 1.5rem; font-size: 1.05rem; }
.card.locked .media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(245,197,66,.06) 0 12px, transparent 12px 24px); }

/* holiday countdown */
.countdown { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 22px; padding: 18px 22px; border-radius: 20px; text-decoration: none; color: var(--text);
  border: 1px solid color-mix(in srgb, var(--c) 60%, var(--line)); background: linear-gradient(110deg, color-mix(in srgb, var(--c) 38%, transparent), transparent 70%), var(--surface); transition: transform .15s; }
.countdown[hidden] { display: none; }
.countdown:hover { transform: translateY(-2px); }
.cd-emo { font-size: 3rem; line-height: 1; }
.cd-txt { display: grid; gap: 2px; min-width: 0; }
.cd-txt small { color: #ffd58a; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .74rem; }
.cd-txt b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1; }
.cd-txt span { color: #c9c9d1; font-weight: 600; }
.cd-clock { display: flex; gap: 8px; }
.cd-clock span { display: grid; justify-items: center; min-width: 64px; padding: 8px 6px; border-radius: 12px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); }
.cd-clock b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-clock i { font-style: normal; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 640px) { .countdown { grid-template-columns: auto 1fr; } .cd-clock { grid-column: 1 / -1; } .cd-clock span { flex: 1; } .cd-emo { font-size: 2.4rem; } }

/* badge unlocked pop-up */
.badge-pop { position: fixed; left: 50%; top: 84px; z-index: 130; translate: -50% 0; display: flex; gap: 14px; align-items: center; padding: 12px 22px 12px 14px; border-radius: 999px; text-decoration: none; color: #fff;
  background: linear-gradient(100deg, #2a1e00, #3a2a00); border: 2px solid #f5c542; box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 40px rgba(245,197,66,.3); animation: bpin .5s cubic-bezier(.2,1.6,.4,1); }
.badge-pop.out { animation: bpout .5s forwards; }
.bp-ico { font-size: 2.2rem; line-height: 1; }
.badge-pop small { display: block; color: #f5c542; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.badge-pop b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; }
@keyframes bpin { from { transform: translateY(-30px) scale(.8); opacity: 0; } }
@keyframes bpout { to { transform: translateY(-30px); opacity: 0; } }


.buybox { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.size-sel { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; font: inherit; font-weight: 700; }
.size-sel:focus { outline: 0; border-color: var(--red); }

/* members cookbook card */
.book-card { margin-top: 30px; display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; padding: 26px 28px; border-radius: 22px; border: 1px solid rgba(245,197,66,.45); background: radial-gradient(circle at 0 50%, rgba(245,197,66,.16), transparent 55%), var(--surface); scroll-margin-top: 90px; }
.book-card h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; margin: 6px 0 8px; }
.book-card p { color: #d6d6dc; margin: 0 0 16px; }
.book-card .eyebrow { color: #f5c542; }
.book-3d { position: relative; width: 170px; aspect-ratio: 3/4; margin: 0 auto; border-radius: 6px 14px 14px 6px; background: linear-gradient(90deg, #7a0d07 0 10px, #0B0B0D 10px); border: 2px solid #E8170B; box-shadow: 14px 16px 0 -4px #1f1f25, 20px 24px 40px rgba(0,0,0,.6); transform: rotate(-4deg); display: grid; place-content: center; justify-items: center; gap: 10px; padding: 14px; text-align: center; }
.book-3d img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid #E8170B; }
.book-3d b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; line-height: 1; }
@media (max-width: 640px) { .book-card { grid-template-columns: 1fr; text-align: center; padding: 22px 16px; } }

#exclusives { scroll-margin-top: 90px; }

/* member buttons in the header */
.bar .wrap { gap: 14px; }
.mbar { display: flex; gap: 8px; align-items: center; flex: none; }
.mbar a, .mbar button { font: inherit; font-weight: 800; font-size: .88rem; text-decoration: none; border-radius: 999px; padding: .5rem .95rem; cursor: pointer; white-space: nowrap; }
.mb-club { color: #1a1200; background: linear-gradient(100deg, #b8860b, #f5c542); border: 0; }
.mb-club.on { box-shadow: 0 0 0 2px rgba(245,197,66,.35); }
.mb-in, .mb-out { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.mb-in:hover, .mb-out:hover { border-color: #4a4a55; }
@media (max-width: 700px) { .mbar a, .mbar button { padding: .42rem .7rem; font-size: .8rem; } }
@media (max-width: 560px) { .bar .wrap:has(.mbar) .logo b { display: none; } .bar .wrap:has(.mbar) { justify-content: space-between; } }

/* upload schedule line */
.sched { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 16px; padding: 7px 14px; border: 1px solid #2c2c2c; border-radius: 999px; background: #141414; font-size: .92rem; }
.sched b { color: #fff; font-weight: 700; }
.sched span:last-child { color: var(--red, #E8170B); font-weight: 700; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--red, #E8170B); box-shadow: 0 0 0 0 rgba(232,23,11,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(232,23,11,0); } 100% { box-shadow: 0 0 0 0 rgba(232,23,11,0); } }
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } }
.empty .dym { background: none; border: 0; padding: 0; color: var(--red, #E8170B); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.empty .dym-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.empty .dym-row .chip { border: 1px solid #333; background: #161616; color: #ddd; border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
.empty .dym-row .chip:hover { border-color: var(--red, #E8170B); color: #fff; }

/* ---------- phone once-over ---------- */
@media (max-width: 600px) {
  /* two recipes per row instead of one giant card each */
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .grid .card { gap: 8px; }
  .grid .card h3 { font-size: .95rem; line-height: 1.25; }
  .grid .card .sub { font-size: .74rem; gap: 5px; }
  .grid .card .sub .tag { font-size: .66rem; letter-spacing: .06em; }
  .grid .card .heart { width: 32px; height: 32px; top: 6px; right: 6px; }
  .grid .card .heart svg { width: 17px; height: 17px; }
  .grid .card .novid, .grid .card .time, .grid .card .have { font-size: .66rem; left: 6px; bottom: 6px; }
  .grid .card .time { left: auto; right: 6px; }
  .grid .card .media { border-radius: 12px; }
  .grid .empty { grid-column: 1 / -1; }
  /* hero buttons side by side */
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { justify-content: center; padding-left: .6rem; padding-right: .6rem; font-size: .9rem; }
  .hero .actions .socials { grid-column: 1 / -1; }
  .sched { border-radius: 14px; font-size: .86rem; padding: 8px 12px; }
  .details div { flex: 1 1 40%; padding: 11px 13px; }
  .details b { font-size: .95rem; }
  .section-head { flex-wrap: wrap; row-gap: 2px; }
  .section-head h2 { min-width: 0; font-size: 1.75rem; }
  .section-head span { white-space: nowrap; }
  /* collections slide sideways instead of stacking */
  .cols:not([hidden]) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; gap: 10px; }
  .cols::-webkit-scrollbar { display: none; }
  .cols .col-card { flex: 0 0 84%; scroll-snap-align: start; grid-template-columns: 96px 1fr; }
  .cols .col-txt b { font-size: 1.2rem; }
}

/* ---------- Holiday takeover (the month before, through the day itself) ---------- */
.hol-ribbon { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding: 9px 16px; text-align: center; color: #fff; text-decoration: none; font-size: .95rem;
  background: linear-gradient(90deg, var(--hc2, #333), var(--hc, #E8170B) 50%, var(--hc2, #333)); background-size: 200% 100%; animation: holslide 8s linear infinite; position: relative; z-index: 60; }
.hol-ribbon b { font-weight: 800; letter-spacing: .02em; }
.hol-ribbon i { font-style: normal; font-weight: 700; opacity: .92; text-decoration: underline; text-underline-offset: 3px; }
.hol-ribbon:hover i { opacity: 1; }
@keyframes holslide { to { background-position: 200% 0; } }
body:has(> .hol-ribbon) .banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(120deg, var(--hc2) 0%, transparent 45%, var(--hc) 100%); opacity: .75; }
body:has(> .hol-ribbon) .hero .avatar { box-shadow: 0 0 0 4px var(--hc), 0 0 40px color-mix(in srgb, var(--hc) 60%, transparent); }
body:has(> .hol-ribbon) .hero .eyebrow::after { content: "  " var(--he); }
body:has(> .hol-ribbon) .bar { border-bottom-color: color-mix(in srgb, var(--hc) 55%, transparent); }
@media (max-width: 600px) { .hol-ribbon { font-size: .82rem; padding: 7px 10px; } }
@media (prefers-reduced-motion: reduce) { .hol-ribbon { animation: none; } }
@media print { .hol-ribbon { display: none !important; } }

/* ---------- Intro reveal (first visit) ---------- */
html.intro-lock, html.intro-lock body { overflow: hidden; }
.wtf-intro { position: fixed; inset: 0; z-index: 9999; background: #0b0b0d; display: grid; place-items: center; cursor: pointer; transition: clip-path .65s cubic-bezier(.7,0,.3,1); clip-path: inset(0 0 0 0); }
.wtf-intro.out { clip-path: inset(0 0 100% 0); }
.intro-in { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 20px; }
.intro-in img { width: min(48vw, 240px); height: auto; border-radius: 50%; box-shadow: 0 0 0 4px #E8170B, 0 0 80px rgba(232,23,11,.55); animation: slam .7s cubic-bezier(.2,1.6,.4,1) both, shake .35s .62s both; }
.intro-in b { font-family: var(--display); font-weight: 400; color: #fff; display: grid; justify-items: center; line-height: .92; letter-spacing: .01em; font-size: clamp(2.6rem, 10.5vw, 6rem); text-shadow: 0 6px 30px rgba(0,0,0,.6); }
.intro-in b .l1, .intro-in b .l2 { display: flex; gap: .22em; justify-content: center; white-space: nowrap; }
.intro-in b .l1 > span, .intro-in b .l2 > span { display: inline-block; animation: stamp .38s cubic-bezier(.2,1.5,.4,1) both; }
.intro-in b .l1 > span:nth-child(1) { animation-delay: .7s; } .intro-in b .l1 > span:nth-child(2) { animation-delay: .86s; } .intro-in b .l1 > span:nth-child(3) { animation-delay: 1.02s; }
.intro-in b .l2 > span:nth-child(1) { animation-delay: 1.24s; } .intro-in b .l2 > span:nth-child(2) { animation-delay: 1.46s; }
.intro-in .r { color: #E8170B; font-style: normal; }
.wtf-intro.calm .intro-in img, .intro.calm .intro-in b span, .intro.calm .intro-flash { animation: none !important; }
.intro-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(232,23,11,.55), transparent 60%); opacity: 0; animation: flash .9s .55s both; pointer-events: none; }
@keyframes slam { 0% { transform: scale(3.2) rotate(-12deg); opacity: 0; filter: blur(6px); } 70% { opacity: 1; filter: none; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes shake { 0%,100% { translate: 0 0; } 20% { translate: -7px 3px; } 40% { translate: 6px -4px; } 60% { translate: -4px 2px; } 80% { translate: 3px -1px; } }
@keyframes stamp { 0% { transform: scale(2.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Live activity ticker ---------- */
.ticker { display: flex; align-items: center; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #111114; height: 42px; overflow: hidden; font-size: .92rem; }
.tk-tag { flex: none; align-self: stretch; display: grid; place-items: center; padding: 0 14px; background: var(--red, #E8170B); color: #fff; font-weight: 900; letter-spacing: .16em; font-size: .72rem; }
.tk-win { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-track { display: flex; gap: 44px; width: max-content; padding-left: 24px; animation: tkmove var(--dur, 40s) linear infinite; }
.ticker:hover .tk-track { animation-play-state: paused; }
.tk-it, .tk-live { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #d6d6dc; }
.tk-it a { color: #fff; font-weight: 700; text-decoration: none; }
.tk-it a:hover { text-decoration: underline; }
.tk-it small { color: var(--muted); margin-left: 4px; font-size: .78rem; }
.tk-live { color: #fff; font-weight: 700; }
.tk-live .dot-live { display: inline-block; }
@keyframes tkmove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-win { overflow-x: auto; } .tk-track { animation: none; } }

/* ---------- Hover previews + tilt ---------- */
.card .pv-bar { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; gap: 4px; z-index: 3; pointer-events: none; }
.card .pv-bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); }
.card .pv-bar i.on { background: #fff; }
.card.pv-on .play { opacity: 0 !important; }
.card.pv-on .media img { transform: scale(1.06); transition: transform 2.2s linear; }
.card .media.tilt { transform: perspective(800px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) scale(1.03); transition: transform .08s linear; box-shadow: 0 18px 40px rgba(0,0,0,.55); z-index: 2; }
.card .media { transition: transform .35s ease, box-shadow .35s; will-change: transform; }
.card .media.tilt::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), rgba(255,255,255,0) 45%), linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%); mix-blend-mode: screen; }
.cost-mini { color: #8fd18f; font-weight: 700; }

/* ---------- Steam + scratch-off on the big Latest picture ---------- */
.feature .steam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.feature .scratch { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; cursor: crosshair; touch-action: none; transition: opacity .7s; }
.feature .scratch.bye { opacity: 0; }
.feature.scratching .cap, .feature.scratching .playbig, .feature.scratching .new { visibility: hidden; }
.scratch-hint { position: absolute; z-index: 5; left: 50%; top: 50%; translate: -50% -50%; display: grid; gap: 4px; text-align: center; pointer-events: none; background: rgba(13,13,15,.86); border: 2px dashed #E8170B; color: #fff; border-radius: 14px; padding: 14px 20px; transition: opacity .3s; width: max-content; max-width: 86%; }
.scratch-hint b { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: .02em; }
.scratch-hint span { color: #ccc; font-size: .88rem; }
.scratch-hint.gone { opacity: 0; }
.scratch-skip { position: absolute; z-index: 5; right: 10px; bottom: 10px; background: rgba(13,13,15,.8); color: #ddd; border: 1px solid #444; border-radius: 999px; padding: .35rem .8rem; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.card.scratch-hide .media img { filter: blur(14px) brightness(.6); }
.card.scratch-hide h3 { color: transparent !important; position: relative; }
.card.scratch-hide h3::after { content: "🎟️ Scratch the new one up top"; position: absolute; left: 0; top: 0; color: #ddd; font-size: .95rem; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9000; }

/* ---------- Fun row: guess the dish, mystery box, weather ---------- */
.fun { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin: 4px 0 30px; }
.fun-card { background: linear-gradient(180deg, #17171b, #121215); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.fun-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #E8170B, #FF7A1A); }
.fun-head { display: flex; gap: 12px; align-items: center; }
.fun-ico { width: 44px; height: 44px; border-radius: 12px; background: #222228; display: grid; place-items: center; font-size: 1.4rem; flex: none; }
.fun-head h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.45rem; line-height: 1; margin: 0; }
.fun-head small { color: var(--muted); font-size: .85rem; }
/* guess */
.gd-pic { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #222; }
.gd-pic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(16px) saturate(1.2); transform: scale(1.7); transition: filter 16s cubic-bezier(.25,.1,.25,1), transform 16s cubic-bezier(.25,.1,.25,1); user-select: none; }
.gd-pic.run img { filter: blur(0) saturate(1); transform: scale(1); }
.gd-pic.clear img { filter: none; transform: none; transition: filter .6s, transform .6s; }
.gd-go { position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.gd-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gd-o { background: #1f1f25; border: 1px solid #33333b; color: #eee; border-radius: 10px; padding: .6rem .7rem; font: inherit; font-weight: 700; font-size: .88rem; line-height: 1.2; text-align: left; cursor: pointer; min-height: 52px; }
.gd-o:not(:disabled):hover { border-color: #E8170B; background: #26262d; }
.gd-o:disabled { cursor: default; opacity: .8; }
.gd-o.right { background: #173d22; border-color: #2fa84f; color: #fff; opacity: 1; }
.gd-o.wrong { background: #4a1414; border-color: #E8170B; color: #fff; opacity: 1; }
.gd-msg { color: #ccc; font-size: .92rem; min-height: 1.4em; line-height: 1.45; }
.gd-msg small { display: block; }
.gd-msg a { color: #fff; font-weight: 800; }
.gd-msg small { color: var(--muted); }
/* mystery box */
.mb-body { display: grid; gap: 14px; justify-items: center; text-align: center; min-height: 230px; align-content: center; }
.mb-p { color: var(--muted); margin: 0; font-size: .92rem; max-width: 30ch; }
.gift { position: relative; width: 130px; height: 130px; background: none; border: 0; cursor: pointer; padding: 0; animation: bob 2.4s ease-in-out infinite; }
.gift-box { position: absolute; left: 12px; right: 12px; bottom: 0; height: 84px; border-radius: 8px; background: linear-gradient(90deg, #b30f07 0 42%, #FFD43B 42% 58%, #b30f07 58%); box-shadow: inset 0 -10px 0 rgba(0,0,0,.18), 0 14px 30px rgba(232,23,11,.35); }
.gift-lid { position: absolute; left: 4px; right: 4px; top: 22px; height: 28px; border-radius: 6px; z-index: 2; background: linear-gradient(90deg, #E8170B 0 42%, #FFE066 42% 58%, #E8170B 58%); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.gift-lid::before, .gift-lid::after { content: ""; position: absolute; top: -20px; width: 30px; height: 24px; border: 6px solid #FFD43B; border-radius: 50% 50% 0 50%; }
.gift-lid::before { left: 30px; transform: rotate(-20deg); } .gift-lid::after { right: 30px; transform: scaleX(-1) rotate(-20deg); }
.gift-q { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; z-index: 1; font-family: var(--display); font-size: 2rem; color: rgba(255,255,255,.85); }
.gift.shake { animation: giftshake .6s both; }
.gift.open .gift-lid { transform: translateY(-48px) rotate(-18deg); opacity: 0; transition: transform .45s, opacity .45s .2s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes giftshake { 0%,100% { transform: rotate(0); } 15% { transform: rotate(-9deg) scale(1.05); } 30% { transform: rotate(8deg); } 45% { transform: rotate(-7deg) scale(1.08); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
.mb-res { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; text-align: left; text-decoration: none; color: #fff; width: 100%; background: #1d1d22; border: 1px solid #2f2f37; border-radius: 12px; padding: 8px; }
.mb-res .media { aspect-ratio: 16 / 10; border-radius: 8px; position: relative; }
.mb-res small { color: #FF7A1A; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.mb-res b { display: block; font-size: 1.05rem; line-height: 1.2; }
.mb-res.pop { animation: popin .5s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes popin { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.mb-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.mb-left { color: #FFD43B; font-weight: 800; font-size: .9rem; }
/* weather */
.wx-body { display: grid; gap: 12px; }
.wx-p { color: var(--muted); margin: 0; font-size: .92rem; }
.wx-body .btn { justify-self: start; }
.wx-now { display: flex; gap: 12px; align-items: center; }
.wx-emo { font-size: 2.2rem; }
.wx-now b { font-size: 1.25rem; display: block; }
.wx-now small { color: var(--muted); }
.wx-list { display: grid; gap: 8px; }
.wx-it { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; text-decoration: none; color: #eee; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.wx-it .media { aspect-ratio: 16 / 10; border-radius: 8px; position: relative; }
.wx-it .media .emo, .mb-res .media .emo { font-size: 1.6rem; }
.wx-it:hover span { color: #fff; text-decoration: underline; }
.wx-forget { background: none; border: 0; color: var(--muted); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; justify-self: start; padding: 0; }

/* ---------- Voice search ---------- */
.bar-search { position: relative; }
.mic { flex: none; background: none; border: 0; color: #aaa; cursor: pointer; padding: 4px; border-radius: 50%; display: grid; place-items: center; }
.mic:hover { color: #fff; }
.mic.listening { color: #fff; background: #E8170B; animation: micpulse 1.2s infinite; }
@keyframes micpulse { 0% { box-shadow: 0 0 0 0 rgba(232,23,11,.6); } 70% { box-shadow: 0 0 0 12px rgba(232,23,11,0); } 100% { box-shadow: 0 0 0 0 rgba(232,23,11,0); } }
.voice-chip { margin-left: auto; border: 1px solid #E8170B; background: #2a1210; color: #fff; border-radius: 999px; padding: .3rem .8rem; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }

/* ---------- Daily streak chip ---------- */
.streak-chip { display: inline-flex; align-items: center; gap: 4px; flex: none; background: linear-gradient(135deg, #3a1306, #2a0c08); border: 1px solid #7a2a10; color: #FFB067; font-weight: 800; border-radius: 999px; padding: .28rem .65rem; font-size: .85rem; cursor: pointer; font-family: inherit; }
.streak-chip:hover { border-color: #FF7A1A; color: #fff; }
.streak-pop { position: fixed; left: 50%; top: 84px; translate: -50% 0; z-index: 9500; background: linear-gradient(135deg, #E8170B, #FF7A1A); color: #fff; border-radius: 16px; padding: 14px 22px; text-align: center; box-shadow: 0 20px 50px rgba(232,23,11,.45); animation: popin .5s cubic-bezier(.2,1.5,.4,1) both; }
.streak-pop b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 400; line-height: 1; }
.streak-pop small { opacity: .9; }
.streak-pop.out { opacity: 0; transform: translateY(-10px); transition: .4s; }

/* ---------- Floating cooking timers (every page) ---------- */
.timers { position: fixed; left: 16px; bottom: 16px; z-index: 120; display: grid; gap: 8px; max-width: calc(100vw - 32px); }
.tmr-pill { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; background: #1f1f25; border: 1px solid #3a3a44; border-radius: 14px; padding: 8px 8px 8px 14px; box-shadow: 0 12px 34px rgba(0,0,0,.6); min-width: 250px; }
.tmr-pill::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: rgba(255,176,32,.12); transition: width 1s linear; }
.tmr-pill > * { position: relative; }
.tmr-pill b { font-size: 1.25rem; font-variant-numeric: tabular-nums; color: #FFC940; }
.tmr-pill span { color: #c9c9d1; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.tmr-pill button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #3a3a44; background: #16161a; color: #fff; cursor: pointer; font-size: .9rem; }
.tmr-pill.ring { border-color: #ff3b30; animation: ring 1s infinite; }
.tmr-pill.ring b { color: #ff6b5a; }
@keyframes ring { 50% { box-shadow: 0 0 0 6px rgba(255,59,48,.35); } }
@media (max-width: 700px) { .timers { bottom: calc(76px + env(safe-area-inset-bottom)); left: 10px; } }
.tmr-pill a { color: #c9c9d1; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; text-decoration: none; }
.tmr-pill a:hover { color: #fff; text-decoration: underline; }
@media print { .timers, .ticker, .fun, .streak-chip { display: none !important; } }

@media (max-width: 600px) {
  /* games swipe sideways on phones so the recipes aren't pushed way down */
  .fun:not([hidden]) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; }
  .fun::-webkit-scrollbar { display: none; }
  .fun-card { padding: 15px; flex: 0 0 86%; scroll-snap-align: center; }
  .fun[data-n="1"] .fun-card { flex-basis: 100%; }
  .mb-body { min-height: 0; }
  .ticker { height: 38px; font-size: .85rem; }
  .gd-o { font-size: .82rem; min-height: 48px; }
  .scratch-hint { padding: 10px 14px; }
}
.gd-body { display: grid; gap: 10px; }
@media (max-width: 600px) { .streak-pop { white-space: nowrap; padding: 12px 18px; } .streak-pop b { font-size: 1.5rem; } }
@media (max-width: 600px) { .gd-go { white-space: normal; max-width: 88%; text-align: center; justify-content: center; font-size: .88rem; } }

/* ---------- Holiday characters ---------- */
.mascot { position: fixed; left: 0; top: 0; z-index: 85; cursor: pointer; will-change: transform; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); -webkit-tap-highlight-color: transparent; }
.mascot svg { display: block; overflow: visible; }
.mascot.flip svg { transform: scaleX(-1); }
.m-walk, .m-hop { top: auto; bottom: 6px; }
@media (max-width: 700px) { .m-walk, .m-hop { bottom: calc(70px + env(safe-area-inset-bottom)); } }
.m-float { opacity: .94; }
/* legs step, bodies bob */
.mascot .lg-a, .mascot .lg-b { transform-box: fill-box; transform-origin: 50% 0; }
.mascot .lg-a { animation: mleg .42s ease-in-out infinite alternate; }
.mascot .lg-b { animation: mleg .42s ease-in-out infinite alternate-reverse; }
.m-walk .m-body { animation: mbob .42s ease-in-out infinite alternate; }
.m-hop .lg-a, .m-hop .lg-b { animation-duration: .6s; }
.m-fly .lg-a, .m-fly .lg-b { animation-duration: .3s; }
.m-fly .m-body { animation: mbob .9s ease-in-out infinite alternate; }
.mascot.stop .lg-a, .mascot.stop .lg-b, .mascot.stop .m-body { animation-play-state: paused; }
.mascot.hurry .lg-a, .mascot.hurry .lg-b, .mascot.hurry .m-body { animation-duration: .18s; }
@keyframes mleg { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
@keyframes mbob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
/* turkey extras */
.mascot .tk-head { transform-box: fill-box; transform-origin: 0% 100%; animation: tkhead .42s ease-in-out infinite alternate; }
.mascot .tk-tail { transform-box: fill-box; transform-origin: 50% 100%; }
.mascot.stop .tk-head { animation: tklook 1.7s ease-in-out; }
.mascot.stop .tk-tail { animation: tkfan .8s ease-in-out 2 alternate; }
@keyframes tkhead { from { transform: translateX(0); } to { transform: translateX(4px); } }
@keyframes tklook { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-14deg); } 65% { transform: rotate(10deg); } }
@keyframes tkfan { to { transform: scale(1.12); } }
/* wings flap (Valentine's heart, eagle) */
.mascot .wing { transform-box: fill-box; animation: flap .32s ease-in-out infinite alternate; }
.mascot .wl { transform-origin: 100% 80%; } .mascot .wr { transform-origin: 0% 80%; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
/* glowing bits (Rudolph's nose, the heart) */
.mascot .glow { filter: drop-shadow(0 0 5px #ff3b5c); animation: glow 1s ease-in-out infinite alternate; }
@keyframes glow { to { filter: drop-shadow(0 0 12px #ff3b5c); } }
/* grill smoke */
.mascot .smoke circle { animation: smoke 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.mascot .smoke circle:nth-child(2) { animation-delay: .5s; } .mascot .smoke circle:nth-child(3) { animation-delay: 1s; }
@keyframes smoke { from { transform: translateY(8px) scale(.6); opacity: .6; } to { transform: translateY(-14px) scale(1.4); opacity: 0; } }
/* champagne cork pops when it stops */
.mascot.stop .cork { animation: cork .9s ease-out both; transform-box: fill-box; }
@keyframes cork { 30% { transform: translateY(-40px) rotate(160deg); } 100% { transform: translateY(-60px) rotate(320deg); opacity: 0; } }
/* speech bubble when tapped */
.m-say { position: absolute; left: 50%; bottom: 100%; translate: -50% -4px; white-space: nowrap; background: #fff; color: #111; font-weight: 800; font-size: .9rem; border-radius: 14px; padding: 6px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.35); animation: popin .3s cubic-bezier(.2,1.5,.4,1) both; pointer-events: none; }
.m-say::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0; border: 7px solid transparent; border-top-color: #fff; }
.m-christmas .m-say { left: 25%; }
.m-fly.m-superbowl .m-say { display: none; }
@media print { .mascot { display: none !important; } }

/* ---------- Smooth page changes (browsers that support it; others load normally) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
::view-transition-group(dish) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-old(dish), ::view-transition-new(dish) { height: 100%; object-fit: cover; }
.rp-video { view-transition-name: dish; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Scroll reveal ---------- */
html.reveal-on .rv { opacity: 0; translate: 0 24px; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rv-d, 0ms); }
html.reveal-on .rv.in { opacity: 1; translate: 0 0; }

/* ---------- Loading shimmer cards ---------- */
.sk-card { pointer-events: none; }
.sk-line { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; width: 85%; }
.sk-line.short { width: 45%; height: 11px; }
.grid .sk-card .skel { aspect-ratio: 16 / 9; }

/* ---------- Cinematic top: newest video behind the title ---------- */
.cine { position: relative; isolation: isolate; }
.cine-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 100%); }
.cine-bg::before { content: ""; position: absolute; inset: -4%; background: var(--cine) center / cover no-repeat; filter: blur(2px) saturate(1.3) brightness(.62); animation: kenburns 28s ease-in-out infinite alternate; }
.cine-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 90% at 22% 62%, rgba(13,13,15,.86), rgba(13,13,15,.35) 55%, rgba(13,13,15,.15)); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1.5%); } }

/* ---------- Tidier home page ---------- */
.ticker { height: 34px; font-size: .85rem; }
.tk-tag { padding: 0 11px; font-size: .66rem; }
.play-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.play-h h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 0; letter-spacing: .02em; }
.play-tabs { display: none; }
@media (max-width: 600px) {
  .ticker { height: 30px; font-size: .8rem; }
  /* phones: one game at a time with tabs, instead of a long stack */
  .play-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; }
  .play-tabs::-webkit-scrollbar { display: none; }
  .play-tabs button { flex: none; border: 1px solid var(--line); background: #17171b; color: #ccc; border-radius: 999px; padding: .45rem .85rem; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
  .play-tabs button[aria-selected="true"] { background: #E8170B; border-color: #E8170B; color: #fff; }
  .fun.tabbed:not([hidden]) { display: block; margin: 0 0 26px; padding: 0; overflow: visible; }
  .fun.tabbed .fun-card { display: none; }
  .fun.tabbed .fun-card.on { display: grid; }
  .fun.tabbed .fun-head { display: none; }
}

/* ---------- Holiday preview chip ---------- */
.prev-chip { position: fixed; left: 50%; top: 116px; translate: -50% 0; z-index: 9100; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 20px);
  background: rgba(20,20,24,.94); border: 1px solid #3a3a42; border-radius: 16px; padding: 8px 10px; box-shadow: 0 12px 34px rgba(0,0,0,.55); font-size: .85rem; color: #fff; backdrop-filter: blur(6px); }
.prev-chip span { font-weight: 800; }
.prev-chip select { background: #222228; color: #fff; border: 1px solid #444; border-radius: 10px; padding: .35rem .5rem; font: inherit; font-weight: 700; }
.prev-chip button, .prev-chip a { background: #2a2a31; color: #fff; border: 1px solid #444; border-radius: 999px; padding: .35rem .75rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.prev-chip a { background: #E8170B; border-color: #E8170B; }
@media (max-width: 700px) { .prev-chip { top: 76px; font-size: .78rem; gap: 6px; padding: 7px 8px; } }

/* ---------- Super Bowl play: QB → receiver → tackle ---------- */
.mascot.fb { cursor: pointer; transition: opacity .5s; }
.mascot.fb .lg-a, .mascot.fb .lg-b { animation-duration: .22s; }
.mascot.fb .m-body { animation: none; transform-box: fill-box; }
.fb-wr .m-body, .fb-db .m-body { transform: rotate(6deg); transform-origin: 50% 100%; }
.fb .held { display: none; }
.fb.has-ball .held { display: inline; }
.fb .arm { transform-box: fill-box; transform-origin: 0% 0%; }
.fb-qb.throwing .arm-throw { animation: qbthrow .55s cubic-bezier(.3,0,.2,1) both; }
@keyframes qbthrow { 0% { transform: rotate(0); } 45% { transform: rotate(-150deg); } 75% { transform: rotate(-40deg); } 100% { transform: rotate(-20deg); } }
.fb-qb.throwing .m-body { animation: qblean .55s ease both; transform-origin: 50% 100%; }
@keyframes qblean { 0% { transform: rotate(0); } 45% { transform: rotate(-10deg); } 100% { transform: rotate(8deg); } }
.fb-wr .arm-catch { transform: rotate(-60deg); }
.fb.has-ball .arm-catch { transform: rotate(0); }
.fb-ball { z-index: 86; }
.fb-ball svg { overflow: visible; }
/* the hit */
.fb-wr.tackled { transition: transform .35s ease-out; }
.fb-wr.tackled svg { animation: wrfall .45s cubic-bezier(.3,1.4,.5,1) both; transform-origin: 50% 100%; }
.fb-wr.tackled .lg-a, .fb-wr.tackled .lg-b, .fb-db.diving .lg-a, .fb-db.diving .lg-b { animation-play-state: paused; }
@keyframes wrfall { 0% { transform: rotate(0); } 60% { transform: rotate(98deg) translateY(-6px); } 100% { transform: rotate(84deg); } }
.fb-db.diving { transition: transform .3s ease-out; z-index: 87; }
.fb-db.diving svg { animation: dbdive .4s ease-out both; transform-origin: 50% 100%; }
@keyframes dbdive { 0% { transform: scaleX(-1) rotate(0); } 100% { transform: scaleX(-1) rotate(-72deg) translate(-8px, 6px); } }
.fb-dust { position: fixed; z-index: 84; bottom: 8px; width: 16px; height: 16px; border-radius: 50%; background: rgba(210,190,160,.75); pointer-events: none; animation: fbdust 1s ease-out both; }
@media (max-width: 700px) { .fb-dust { bottom: calc(72px + env(safe-area-inset-bottom)); } }
@keyframes fbdust { from { transform: translate(0,0) scale(.4); opacity: .9; } to { transform: translate(var(--dx), -38px) scale(2.4); opacity: 0; } }
.m-say.big { font-size: 1.15rem; font-family: var(--display); font-weight: 400; letter-spacing: .03em; background: #FFD43B; padding: 7px 14px; }
.m-say.big::after { border-top-color: #FFD43B; }
.fb.fb-out { opacity: 0; }
.fb-db .m-say { transform: scaleX(1); }
.fb-qb .m-say { left: 0; translate: 0 -4px; }
.fb-qb .m-say::after { left: 22px; }

/* ---------- Holiday scenes ---------- */
.fx-burst { position: fixed; z-index: 86; width: 0; height: 0; pointer-events: none; }
.fx-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 8px currentColor; animation: fxburst 1.15s cubic-bezier(.15,.7,.3,1) both; }
@keyframes fxburst { 0% { transform: translate(0,0) scale(1.2); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 30px)) scale(.4); opacity: 0; } }
.mascot.fb-out { opacity: 0; transition: opacity .6s; }
/* Thanksgiving */
.m-thanksgiving.scared .tk-tail { animation: tkfan .15s ease-in-out infinite alternate; }
.m-chef .fork { transform-box: fill-box; transform-origin: 0% 100%; animation: forkjab .3s ease-in-out infinite alternate; }
@keyframes forkjab { to { transform: rotate(-18deg); } }
/* Christmas */
.m-gift { z-index: 84; }
/* Halloween */
.m-halloween.boo svg { animation: boo .35s ease-out both; transform-origin: 50% 80%; }
@keyframes boo { 0% { transform: scale(1); } 50% { transform: scale(1.35) translateY(-6px); } 100% { transform: scale(1.15); } }
.m-pumpkin.spooked .glow-eyes { opacity: 1; }
.m-pumpkin.spooked svg { animation: shiver .08s linear 8; }
@keyframes shiver { 50% { transform: translateX(3px); } }
/* Easter */
.m-egg { z-index: 84; }
.m-egg svg { animation: eggpop .45s cubic-bezier(.2,1.6,.4,1) both; transform-origin: 50% 100%; }
@keyframes eggpop { from { transform: scale(0) translateY(10px); } to { transform: scale(1); } }
.m-egg.found svg { animation: eggfound .5s ease-out both; }
@keyframes eggfound { 50% { transform: translateY(-20px) rotate(20deg) scale(1.2); } 100% { transform: translateY(0) rotate(0) scale(1); } }
/* St. Patrick's */
.m-stpatrick.trip svg { animation: trip .5s cubic-bezier(.3,1.3,.5,1) both; transform-origin: 70% 100%; }
@keyframes trip { 0% { transform: rotate(0); } 100% { transform: rotate(78deg) translateY(-4px); } }
.m-stpatrick.trip .lg-a, .m-stpatrick.trip .lg-b { animation-play-state: paused; }
.m-coin { z-index: 84; }
/* New Year's */
.m-newyear.shake svg { animation: bottleshake .35s ease-in-out; transform-origin: 50% 100%; }
@keyframes bottleshake { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.m-newyear.popped .cork { animation: corkfly .9s cubic-bezier(.2,.8,.3,1) both; transform-box: fill-box; }
@keyframes corkfly { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(-260px) rotate(720deg); opacity: 0; } }

/* "Powered by Merchant365" credit under the footer */
footer .powered { text-align: center; padding: 18px 16px 0; font-size: .78rem; letter-spacing: .02em; }
footer .powered a { color: var(--muted, #8a8f98); text-decoration: none; opacity: .8; transition: opacity .2s, color .2s; }
footer .powered a:hover, footer .powered a:focus-visible { opacity: 1; color: var(--text, #fff); }
footer .powered b { font-weight: 700; }
