/* MenuNote v2.70 | Christmas Edition — display-only, isolated from recipe viewer.
   Keep ordinary UI intact when html lacks .mn-christmas. */
html.mn-christmas body{
  background:
    radial-gradient(circle at 92% 9%,rgba(230,188,105,.17) 0 5%,transparent 28%),
    linear-gradient(180deg,#f4f8f2 0%,#fbf7ef 50%,#f5f7f2 100%);
}
.mn-christmas .topbar{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fffaf0;
  border-bottom:3px solid #cfac66;
  background:linear-gradient(118deg,#102d2b 0%,#195148 56%,#1b4942 100%);
  box-shadow:0 10px 28px rgba(20,59,51,.16);
}
.mn-christmas .topbar::before{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 16% 20%,rgba(255,255,255,.55) 0 1.5px,transparent 2.5px),
    radial-gradient(circle at 40% 68%,rgba(255,255,255,.45) 0 1px,transparent 2px),
    radial-gradient(circle at 81% 27%,rgba(255,255,255,.55) 0 1.5px,transparent 2.5px),
    radial-gradient(circle at 72% 77%,rgba(255,255,255,.30) 0 1px,transparent 2px);
  background-size:190px 100px;
  opacity:.8;
}
.mn-christmas .topbar > *{position:relative;z-index:1}
.mn-christmas .topbar .brand-mark{
  border:2px solid #e4c582;
  box-shadow:0 5px 18px rgba(0,0,0,.22),0 0 0 3px rgba(234,208,146,.15);
}
.mn-christmas .brand-copy h1{color:#fff}
.mn-christmas .brand-copy>p{color:#d7e6db}
.mn-christmas .brand-tag{
  background:rgba(255,255,255,.11);
  color:#f1f2e8;
  border-color:rgba(251,229,185,.27);
}
.mn-christmas .brand-tag.current{
  background:#f4e1b3;
  color:#254239;
  border-color:#f6d98a;
}
.christmas-label{
  display:none;
  font-size:10px;
  letter-spacing:1.6px;
  font-weight:900;
  color:#ffdf93;
  margin-top:4px;
}
.mn-christmas .christmas-label{display:block}
.mn-christmas .version-badge{
  background:rgba(255,255,255,.12);
  color:#fce6ad;
  border-color:rgba(252,225,158,.58);
}
.mn-christmas .topbar .install-btn{background:#b93e4a;border:1px solid #eab99f}
.christmas-toggle{
  border-radius:999px;
  border:1px solid #d8cdea;
  background:#fff;
  color:#513d60;
  font-size:12px;
  font-weight:850;
  padding:6px 10px;
  min-height:31px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
.christmas-toggle:hover{filter:brightness(.97)}
.christmas-toggle:focus-visible{outline:3px solid #f5cd74;outline-offset:2px}
.mn-christmas .christmas-toggle{
  background:#fffbec;
  color:#1e5142;
  border-color:#e8c478;
}
.christmas-toggle-icon{font-size:16px;line-height:1}
.christmas-banner{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 13px;
  padding:16px 18px;
  border-radius:20px;
  background:
    radial-gradient(circle at 92% 2%,rgba(251,224,168,.2),transparent 29%),
    linear-gradient(120deg,#b33846,#942c3d 67%,#792739);
  border:1px solid rgba(235,193,130,.84);
  box-shadow:0 10px 24px rgba(102,36,47,.13);
  color:#fff;
}
.christmas-banner[hidden]{display:none !important}
.christmas-banner::before{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:6px;
  border:1px solid rgba(255,240,210,.27);
  border-radius:14px;
}
.christmas-banner-content{position:relative;z-index:1;min-width:0}
.christmas-banner-kicker{
  color:#f8df9d;
  font-weight:900;
  font-size:10px;
  letter-spacing:2px;
}
.christmas-banner h2{
  margin:6px 0 4px;
  font-size:21px;
  font-weight:950;
  letter-spacing:-.5px;
  line-height:1.18;
}
.christmas-banner p{margin:0;font-size:12px;line-height:1.45;color:#fff3e6;word-break:keep-all}
.christmas-banner-art{
  position:relative;
  z-index:1;
  flex:none;
  display:grid;
  place-items:center;
  width:80px;
  height:80px;
  background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,.035) 68%,transparent 70%);
  font-size:48px;
  filter:drop-shadow(0 3px 3px rgba(70,28,33,.2));
}
.christmas-banner-art::after{
  content:"✦";
  position:absolute;
  top:0;
  right:5px;
  color:#ffdb84;
  font-size:19px;
}
.mn-christmas .search-panel{background:rgba(246,249,244,.96)}
.mn-christmas .searchbox{
  border-color:#b4c9bd;
  box-shadow:0 5px 20px rgba(35,93,76,.09);
}
.mn-christmas .searchbox:focus-within{
  border-color:#236550;
  box-shadow:0 5px 22px rgba(35,93,76,.16);
}
.mn-christmas .search-icon{color:#236550}
.mn-christmas .main-mode-btn.active,
.mn-christmas .cat-btn.active,
.mn-christmas .brand-filter.active{
  background:#1e604c;
  border-color:#1e604c;
  color:#fff;
  box-shadow:0 5px 15px rgba(32,94,75,.16);
}
.mn-christmas .main-mode-btn:not(.active),
.mn-christmas .cat-btn:not(.active),
.mn-christmas .brand-filter:not(.active){
  background:#fffdf8;
  border-color:#e6e1d3;
  color:#43574a;
}
.mn-christmas .recipe-card{
  background:#fffefb;
  border-color:#e1e6d8;
  box-shadow:0 5px 18px rgba(35,76,52,.055);
}
.mn-christmas .recipe-card.new-card{
  border-left:3px solid #b53b48;
  background:linear-gradient(110deg,#fffefb 65%,#fff3ec);
}
.mn-christmas .recipe-card:active{background:#f6f9f0}
.mn-christmas .section-head h2{color:#284d3d}
.mn-christmas .quick-chip{background:#fffefa;border-color:#e1e6d8}
.mn-christmas .ghost-btn.active{background:#fff0cb;color:#755023;border-color:#dabf7f}
.mn-christmas .more-btn{color:#265b49;border-color:#b7d0ba;background:#fffefa}
.mn-christmas .option-view-head h2{color:#1d5e4a}
.mn-christmas .option-version-switch{background:#f8f8f1;border-color:#d9e0d1}
.mn-christmas .option-version-switch label{color:#21563f}
.mn-christmas .option-version-switch select{border-color:#8ab4a0}
@media(max-width:640px){
  .christmas-banner{margin:8px 0 11px;padding:13px 14px}
  .christmas-banner h2{font-size:18px}
  .christmas-banner p{font-size:11px}
  .christmas-banner-art{width:60px;height:64px;font-size:40px}
  .christmas-toggle{padding:6px 7px;min-height:29px}
  .christmas-toggle-text{display:none}
  .mn-christmas .christmas-label{font-size:8px;letter-spacing:1px}
}
@media(prefers-reduced-motion:reduce){
  .christmas-toggle,.christmas-banner,.mn-christmas .recipe-card{animation:none!important;transition:none!important}
}

/* Small phones, including folded devices: keep title and controls readable. */
@media(max-width:390px){
  .mn-christmas .topbar{flex-wrap:wrap}
  .mn-christmas .topbar-actions{width:100%;justify-content:flex-end}
  .christmas-banner-art{width:50px;font-size:34px}
}

/* v2.71 — clearly visible original Santa, Rudolph and Snowman illustrations.
   Decoration lives exclusively in the seasonal shell, never in the recipe viewer. */
.christmas-brand-row{display:none}
.mn-christmas .christmas-brand-row{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:4px;
  max-width:100%;
}
.christmas-mini-parade{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  height:26px;
}
.christmas-mini-parade img{
  display:block;
  width:26px;
  height:28px;
  object-fit:contain;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.15));
}
.christmas-mini-parade img+img{margin-left:-7px}
.mn-christmas .christmas-brand-row .christmas-label{
  display:block;
  margin-top:0;
  font-size:9px;
  letter-spacing:.8px;
  line-height:1.2;
  white-space:nowrap;
}
.christmas-banner-characters{
  position:relative;
  isolation:isolate;
  flex:0 0 242px;
  width:242px;
  min-width:0;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  align-self:center;
  pointer-events:none;
  margin:-12px -6px -15px 0;
}
.christmas-banner-characters::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:86%;
  height:56%;
  left:8%;
  bottom:10%;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(255,225,176,.31),rgba(255,221,153,0) 70%);
}
.christmas-character{
  display:block;
  flex:0 0 auto;
  width:100px;
  height:auto;
  aspect-ratio:12 / 13;
  object-fit:contain;
  filter:drop-shadow(0 5px 3px rgba(39,18,27,.18));
}
.christmas-character.santa{z-index:2;transform:rotate(-6deg) translateY(-2px)}
.christmas-character.rudolph{
  z-index:3;
  margin-left:-29px;
  transform:translateY(5px) rotate(2deg);
}
.christmas-character.snowman{
  z-index:2;
  margin-left:-28px;
  transform:rotate(5deg) translateY(-2px);
}
/* On phones, make all three readable without obscuring the welcome text. */
@media(max-width:640px){
  .christmas-banner-characters{
    width:163px;
    flex-basis:163px;
    margin:-3px -4px -7px 0;
  }
  .christmas-character{width:73px}
  .christmas-character.rudolph{margin-left:-28px}
  .christmas-character.snowman{margin-left:-28px}
  .mn-christmas .christmas-brand-row{gap:5px}
  .christmas-mini-parade img{width:23px;height:25px}
  .christmas-mini-parade img+img{margin-left:-7px}
  .mn-christmas .christmas-brand-row .christmas-label{font-size:8px;letter-spacing:.5px}
}
@media(max-width:375px){
  .christmas-banner-characters{width:145px;flex-basis:145px}
  .christmas-character{width:65px}
  .christmas-character.rudolph,
  .christmas-character.snowman{margin-left:-25px}
  .christmas-banner h2{font-size:16px}
  .christmas-banner p{font-size:10px}
  .mn-christmas .christmas-mini-parade img{width:20px;height:22px}
  .mn-christmas .christmas-brand-row .christmas-label{font-size:7.5px;letter-spacing:.3px}
}
@media(max-width:340px){
  .christmas-banner{flex-wrap:wrap}
  .christmas-banner-content{flex-basis:100%}
  .christmas-banner-characters{width:164px;flex-basis:164px;margin:-5px auto -9px}
  .christmas-character{width:74px}
  .christmas-character.rudolph,
  .christmas-character.snowman{margin-left:-29px}
}

/* v2.72 — LIGHT GARLAND & SOFT SNOW
   Decorative only: never intercept touch, never enter the recipe viewer.
   Existing recipe / PDF zoom / search / official photos remain untouched. */
.christmas-light-frame{
  display:none;
  pointer-events:none;
  position:fixed;
  inset:0;
  z-index:80; /* below the existing recipe dialog (z-index:100) */
  overflow:hidden;
  contain:layout style;
}
html.mn-christmas .christmas-light-frame{display:block}
.christmas-light-strand{
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}
.christmas-lights-top,.christmas-lights-bottom{
  flex-direction:row;
  left:max(9px,env(safe-area-inset-left));
  right:max(9px,env(safe-area-inset-right));
  height:17px;
}
.christmas-lights-top{top:4px}
.christmas-lights-bottom{bottom:calc(3px + env(safe-area-inset-bottom))}
.christmas-lights-top::before,.christmas-lights-bottom::before{
  content:"";
  position:absolute;
  top:4px;
  left:-5px;
  right:-5px;
  height:2px;
  background:rgba(24,58,44,.72);
  border-radius:3px;
}
.christmas-lights-left,.christmas-lights-right{
  flex-direction:column;
  top:calc(22px + env(safe-area-inset-top));
  bottom:calc(23px + env(safe-area-inset-bottom));
  width:16px;
}
.christmas-lights-left{left:3px}
.christmas-lights-right{right:3px}
.christmas-lights-left::before,.christmas-lights-right::before{
  content:"";
  position:absolute;
  left:7px;
  top:-7px;
  bottom:-7px;
  width:2px;
  background:rgba(24,58,44,.68);
  border-radius:3px;
}
.christmas-bulb{
  --bulb-color:#ff5e68;
  position:relative;
  z-index:1;
  display:block;
  flex:0 0 auto;
  width:9px;
  height:12px;
  border-radius:45% 45% 55% 55%;
  background:var(--bulb-color);
  color:var(--bulb-color);
  border:1px solid rgba(255,255,255,.30);
  box-shadow:0 0 7px 1px currentColor,0 0 13px -2px currentColor;
  opacity:.85;
  animation:christmas-bulb-twinkle 2.9s ease-in-out infinite;
}
.christmas-bulb::before{
  content:"";
  position:absolute;
  top:-4px;
  left:1px;
  width:5px;
  height:4px;
  border-radius:1px;
  background:#254838;
  border:1px solid rgba(14,43,33,.50);
}
.christmas-bulb::after{
  content:"";
  position:absolute;
  left:2px;
  top:2px;
  width:2px;
  height:4px;
  border-radius:50%;
  background:rgba(255,255,255,.72);
  transform:rotate(-24deg);
}
.christmas-bulb:nth-child(4n+1){--bulb-color:#f85f68}
.christmas-bulb:nth-child(4n+2){--bulb-color:#ffc965}
.christmas-bulb:nth-child(4n+3){--bulb-color:#6ed1a6}
.christmas-bulb:nth-child(4n){--bulb-color:#77b9ff}
.christmas-bulb:nth-child(7n+1){animation-delay:-2.4s;animation-duration:3.7s}
.christmas-bulb:nth-child(7n+2){animation-delay:-1.3s;animation-duration:2.5s}
.christmas-bulb:nth-child(7n+3){animation-delay:-.6s;animation-duration:3.3s}
.christmas-bulb:nth-child(7n+4){animation-delay:-2.8s;animation-duration:2.8s}
.christmas-bulb:nth-child(7n+5){animation-delay:-1.9s;animation-duration:3.9s}
.christmas-bulb:nth-child(7n+6){animation-delay:-3.1s;animation-duration:3.1s}
.christmas-bulb:nth-child(7n){animation-delay:-.2s;animation-duration:2.6s}
@keyframes christmas-bulb-twinkle{
  0%,100%{opacity:.45}
  38%{opacity:1}
  68%{opacity:.68}
}
/* No JavaScript/timers: banner snowfall is clipped and deliberately faint. */
.christmas-snow{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
}
.christmas-snowflake{
  display:block;
  position:absolute;
  top:-9px;
  left:50%;
  width:4px;
  height:4px;
  background:#fffdf5;
  border-radius:50%;
  box-shadow:0 0 5px 1px rgba(255,255,255,.55);
  opacity:0;
  animation:christmas-snowfall 9s linear infinite;
}
.christmas-snowflake:nth-child(13n+1){left:5%;animation-delay:-1.4s;animation-duration:9s}
.christmas-snowflake:nth-child(13n+2){left:12%;animation-delay:-4.7s;animation-duration:11s}
.christmas-snowflake:nth-child(13n+3){left:21%;animation-delay:-8.1s;animation-duration:10s}
.christmas-snowflake:nth-child(13n+4){left:29%;animation-delay:-3.6s;animation-duration:12s}
.christmas-snowflake:nth-child(13n+5){left:38%;animation-delay:-7.4s;animation-duration:8.8s}
.christmas-snowflake:nth-child(13n+6){left:46%;animation-delay:-2.2s;animation-duration:10.8s}
.christmas-snowflake:nth-child(13n+7){left:53%;animation-delay:-9.8s;animation-duration:11.6s}
.christmas-snowflake:nth-child(13n+8){left:61%;animation-delay:-5.3s;animation-duration:9.5s}
.christmas-snowflake:nth-child(13n+9){left:68%;animation-delay:-.9s;animation-duration:12.3s}
.christmas-snowflake:nth-child(13n+10){left:75%;animation-delay:-6.7s;animation-duration:8.5s}
.christmas-snowflake:nth-child(13n+11){left:84%;animation-delay:-3.1s;animation-duration:10.2s}
.christmas-snowflake:nth-child(13n+12){left:91%;animation-delay:-8.7s;animation-duration:11.2s}
.christmas-snowflake:nth-child(13n){left:97%;animation-delay:-4.3s;animation-duration:9.8s}
.christmas-snowflake:nth-child(3n){width:3px;height:3px}
.christmas-snowflake:nth-child(5n){width:5px;height:5px}
@keyframes christmas-snowfall{
  0%{transform:translate3d(-4px,-10px,0);opacity:0}
  18%{opacity:.55}
  78%{opacity:.45}
  100%{transform:translate3d(12px,190px,0);opacity:0}
}
.christmas-character-sparkle{
  position:absolute;
  display:block;
  z-index:6;
  pointer-events:none;
  color:#fff0a4;
  text-shadow:0 0 7px rgba(255,234,156,.75);
  line-height:1;
  font-size:20px;
  opacity:.8;
  animation:christmas-sparkle-twinkle 3.7s ease-in-out infinite;
}
.christmas-character-sparkle.sparkle-a{left:8%;top:4%;animation-delay:-2.1s}
.christmas-character-sparkle.sparkle-b{right:5%;top:11%;font-size:25px;animation-delay:-.7s}
.christmas-character-sparkle.sparkle-c{left:49%;bottom:13%;font-size:14px;animation-delay:-3s}
@keyframes christmas-sparkle-twinkle{
  0%,100%{opacity:.35;transform:scale(.86)}
  50%{opacity:1;transform:scale(1.15)}
}
@media(max-width:640px){
  .christmas-bulb{width:7px;height:10px}
  .christmas-bulb::before{width:4px;left:0;height:3px;top:-3px}
  .christmas-lights-top,.christmas-lights-bottom{left:10px;right:10px}
  .christmas-lights-top .christmas-bulb:nth-child(n+13),
  .christmas-lights-bottom .christmas-bulb:nth-child(n+13),
  .christmas-lights-left .christmas-bulb:nth-child(n+9),
  .christmas-lights-right .christmas-bulb:nth-child(n+9){display:none}
  .christmas-lights-left,.christmas-lights-right{top:20px;bottom:calc(21px + env(safe-area-inset-bottom))}
  .christmas-character-sparkle{font-size:15px}
  .christmas-character-sparkle.sparkle-b{font-size:19px}
}
@media(max-width:370px){
  .christmas-lights-top .christmas-bulb:nth-child(n+11),
  .christmas-lights-bottom .christmas-bulb:nth-child(n+11),
  .christmas-lights-left .christmas-bulb:nth-child(n+7),
  .christmas-lights-right .christmas-bulb:nth-child(n+7){display:none}
}
@media(prefers-reduced-motion:reduce){
  .christmas-bulb,.christmas-snowflake,.christmas-character-sparkle{
    animation:none !important;
  }
  .christmas-bulb{opacity:.78}
  .christmas-snowflake{opacity:.18}
  .christmas-character-sparkle{opacity:.7}
}

/* v2.73 — Mobile Christmas Garland repair.
   Screenshot regression: a FIXED four-edge wire followed the phone viewport,
   so the left/right wires and bottom cable overlaid recipe cards and long screenshots.
   Mobile uses one short, unobtrusive header-top strand; desktop retains all four edges.
   Strictly cosmetic: no menu/data/viewer CSS or JS changes. */
@media (max-width:900px){
  .christmas-light-frame{
    position:absolute;
    top:0;
    bottom:auto;
    left:0;
    right:0;
    width:100%;
    height:19px;
    overflow:visible;
    contain:layout style;
    z-index:80;
    pointer-events:none;
  }
  .christmas-lights-left,
  .christmas-lights-right,
  .christmas-lights-bottom{
    display:none !important;
  }
  .christmas-lights-top{
    top:1px;
    bottom:auto;
    left:max(17px,env(safe-area-inset-left));
    right:max(17px,env(safe-area-inset-right));
    height:15px;
    pointer-events:none;
  }
  .christmas-lights-top::before{
    top:3px;
    height:1px;
    background:rgba(202,217,171,.28);
    opacity:.55;
  }
  .christmas-lights-top .christmas-bulb{
    width:7px;
    height:10px;
    border-width:0;
    box-shadow:0 0 5px 1px currentColor,0 0 9px -3px currentColor;
  }
  .christmas-lights-top .christmas-bulb::before{
    background:#587b61;
    border-color:rgba(24,58,44,.22);
  }
  /* Twelve independent twinkling lights are enough across the phone header. */
  .christmas-lights-top .christmas-bulb:nth-child(n+13){display:none}
}
@media (max-width:370px){
  .christmas-lights-top .christmas-bulb:nth-child(n+11){display:none}
}
