/* Holiday themes (docs/plans/holiday-themes-plan.md, src/plugins/holiday/banner.js):
   on a holiday <body> carries holiday-<id> and the theme's two colours in
   --hol-a / --hol-b. This dresses the hangar with them: a two-colour stripe
   along the top of the menu, and a bobbing pill under "Tap a plane, then tap
   FLY". Paint only - nothing in the layout moves.
   The birthday wins: it owns the menu's pseudo-element slots and the ribbon
   on #menuSub, so nothing here touches those, and under body.festive-birthday
   the pill and the stripe step aside. */

body[class*="holiday-"] #menu{
  box-shadow:inset 0 6px 0 var(--hol-a,#ff8a1c),inset 0 12px 0 var(--hol-b,#7a3cff);
}

#holidayBanner{
  display:inline-block;max-width:100%;box-sizing:border-box;margin-top:6px;padding:4px 12px;
  border-radius:999px;background:var(--hol-a,#ff8a1c);color:#fff;
  font-size:12px;font-weight:800;letter-spacing:.06em;line-height:1.3;
  white-space:normal;overflow-wrap:anywhere;
  text-shadow:0 1px 3px var(--hol-b,#7a3cff);
  box-shadow:0 2px 10px rgba(0,0,0,.25),0 0 0 2px var(--hol-b,#7a3cff);
}
@media (prefers-reduced-motion:no-preference){
  #holidayBanner{animation:holBob 2s ease-in-out infinite}
}
@keyframes holBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

/* A short landscape phone hides the subtitle: keep the pill, smaller. */
@media (orientation:landscape) and (max-height:480px){
  #holidayBanner{margin-top:2px;padding:2px 9px;font-size:10px}
}
@media (orientation:portrait) and (max-width:480px){
  #holidayBanner{margin-top:4px;padding:3px 10px;font-size:11px}
}

/* The birthday wins. */
body.festive-birthday #holidayBanner{display:none}
body.festive-birthday[class*="holiday-"] #menu{box-shadow:none}
