/* ===== MIDNIGHT PREMIUM SHELL — Australia Events Buzz (2026-11-03) =====
   The shared header + footer band on every public page, restyled to
   the Ravi-approved Midnight Premium system (charcoal #111421,
   surfaces #242A40, violet #8B5CF6, gold #F3B75C, ivory #F7F7FA).
   Menu structure and items are unchanged from the previous shell:
   AU pin logo + wordmark + tagline · ⌂ Home (gold pill) · Discover ▾
   · Cities ▾ · Categories ▾ · Free Events · This Weekend · About ▾ ·
   ♡ My List (live count) · + Add an Event (gold).
   Linked as /assets/mp-shell.css by build/apply-design-shell.js on
   every generated/static page (the homepage carries the same rules
   inline in its midnightCss block). Fonts are the self-hosted pair
   (OFL 1.1). Class names are the shell's long-standing hooks. */
@font-face{font-family:'Playfair Display';src:url('/fonts/playfair-var.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('/fonts/playfair-italic-600.woff2') format('woff2');font-weight:600;font-style:italic;font-display:swap}
@font-face{font-family:'Plus Jakarta Sans';src:url('/fonts/jakarta-var.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
html.mppage body>header:not(.lktop){display:none}
.lktop{display:none;position:relative;z-index:60;background:linear-gradient(180deg,#141828,#0C0F1A);border-bottom:1px solid rgba(247,247,250,.10);color:#F7F7FA;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
html.mppage .lktop{display:block}
.lktop-in{display:flex;align-items:center;gap:16px;max-width:1180px;margin:0 auto;padding:11px 18px}
.lkbrand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;flex:0 0 auto}
.lkbrand img{width:38px;height:38px;display:block;border-radius:9px}
.lkbrand-name{font-family:'Playfair Display',Georgia,'Iowan Old Style','Times New Roman',Times,serif;font-weight:700;font-size:19px;letter-spacing:.4px;color:#fff;line-height:1.05;white-space:nowrap}
.lkbrand-name .ev{color:#F3B75C}
.lkbrand-tag{display:block;font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:8.5px;font-weight:700;letter-spacing:2.6px;color:#B9BED6;margin-top:3px}
.lknav{display:flex;align-items:center;gap:2px;margin:0 auto}
.lknav-link{border:0;background:none;color:#DDE1F0;font:600 13.5px 'Plus Jakarta Sans',system-ui,sans-serif;cursor:pointer;padding:8px 9px;border-radius:999px;text-decoration:none;white-space:nowrap;display:inline-block;transition:background .18s ease-out,color .18s ease-out}
.lknav-link:hover{color:#fff;background:rgba(139,92,246,.18)}
.lknav-link.home{background:linear-gradient(135deg,#F3B75C,#D99A35);color:#241A04;font-weight:800}
.lknav-link.home:hover{background:linear-gradient(135deg,#F8C97E,#E3A94A);color:#241A04}
.lknav-link.on{background:rgba(139,92,246,.28);color:#fff}
.lkmenu-wrap{position:relative;display:inline-block}
.lkmenu{position:absolute;top:calc(100% + 8px);left:0;min-width:252px;background:#242A40;border:1px solid rgba(247,247,250,.12);border-radius:14px;box-shadow:0 22px 44px rgba(0,0,0,.55);padding:8px;display:none;max-height:min(70vh,560px);overflow-y:auto;z-index:80}
.lkmenu.open{display:block}
.lkmenu a,.lkmenu button{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;text-align:left;border:0;background:none;color:#F7F7FA;font:500 14px 'Plus Jakarta Sans',system-ui,sans-serif;padding:9px 11px;border-radius:9px;text-decoration:none;cursor:pointer}
.lkmenu a:hover,.lkmenu button:hover{background:rgba(139,92,246,.18)}
.lkmenu .n{margin-left:auto;background:rgba(139,92,246,.28);color:#EDE9FE;border-radius:999px;padding:1px 8px;font-size:11.5px;font-variant-numeric:tabular-nums}
.lktop-right{display:flex;align-items:center;gap:13px;flex:0 0 auto}
.lkmylist{border:0;background:none;color:#F7F7FA;font:600 13.5px 'Plus Jakarta Sans',system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:8px 2px;text-decoration:none}
.lkmylist .cnt{background:rgba(139,92,246,.28);color:#EDE9FE;border-radius:999px;padding:1px 7px;font-size:12px;font-variant-numeric:tabular-nums}
.lkadd{background:linear-gradient(135deg,#F3B75C,#D99A35);color:#241A04;font:700 13.5px 'Plus Jakarta Sans',system-ui,sans-serif;padding:10px 16px;border-radius:999px;text-decoration:none;white-space:nowrap;box-shadow:0 10px 24px rgba(0,0,0,.4);transition:filter .18s ease-out}
.lkadd:hover{filter:brightness(1.07)}
/* Gold-CTA text fix (2026-11-03, Ravi phone report): the generated
   pages' html.premium a{color:#C9B8FF} (0,1,2) outranked .lkadd
   (0,1,0), so the gold CTA inherited pale lavender text on gold —
   unreadable. Pin the CTA text at (0,2,1) with the charcoal token.
   The gold Home pill was already safe: .lknav-link.home is (0,2,0). */
.lktop a.lkadd,.lktop a.lkadd:hover{color:#241A04}
.lktop :focus-visible,.lkfoot :focus-visible{outline:2px solid #F3B75C;outline-offset:2px}
.lkfoot{display:none;align-items:center;gap:24px;flex-wrap:wrap}
html.mppage .lkfoot{display:flex;background:#141828;border:1px solid rgba(247,247,250,.10);border-bottom:0;border-radius:16px 16px 0 0;padding:18px 20px;margin:34px auto 0;width:calc(100% - 32px);max-width:1108px;box-sizing:border-box}
.lkfoot-brand{display:flex;align-items:center;gap:11px}
.lkfoot-brand img{width:36px;height:36px;border-radius:9px;display:block}
.lkfoot .lkbrand-name{font-size:17px}
.lkfoot nav{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.lkfoot nav a{color:#DDE1F0;font:600 13.5px 'Plus Jakarta Sans',system-ui,sans-serif;padding:7px 10px;text-decoration:none}
.lkfoot nav a:hover{color:#F3B75C}
.lkfoot-soc{display:flex;gap:9px}
.lkfoot-soc a{width:36px;height:36px;border-radius:50%;border:1.5px solid rgba(255,255,255,.40);display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none}
.lkfoot-soc svg{width:16px;height:16px}
.lkfoot-soc svg.ic{fill:currentColor}
.lkfoot-script{margin-left:auto;text-align:right}
.lkfoot-script .s{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:600;font-size:15px;color:#F3B75C}
/* Wrap breakpoint raised 980px -> 1600px (Phase B, 2026-11-03): the
   Phase B nav growth (Things To Do / Places / Itineraries top-level
   links) pushed the single-row header past the viewport — the gold
   + Add an Event CTA measured off-canvas (right edge 1,577px) at
   1440px wide. The wrapped two-row pattern below is the design's own
   small-screen behaviour; above 1600px the single row fits with the
   trimmed .lknav-link padding. Never let the CTA clip instead. */
@media (max-width:1600px){
  .lktop-in{flex-wrap:wrap;gap:10px 14px}
  /* Menu-clip fix (2026-11-03, Ravi phone report): this rule used to
     set overflow-x:auto, which forces overflow-y to compute to auto
     as well — the absolutely-positioned .lkmenu dropdowns were then
     clipped inside the 35px nav strip and could never be seen. The
     nav wraps instead; never re-add an overflow here. */
  .lknav{order:3;width:100%;margin:0;flex-wrap:wrap;overflow:visible;padding-bottom:2px}
  .lkbrand-name{font-size:17px}
  .lkfoot-script{margin-left:0}
}
@media (prefers-reduced-motion: reduce){
  .lknav-link,.lkadd{transition:none}
}
/* AU phone refinement: "Australia Events Buzz" is a longer wordmark than
   BC's, so at phone width the brand + right cluster shrink a step to
   hold one row (pattern carried from the previous shell). */
@media (max-width:520px){
  .lkbrand-name{font-size:15.5px}
  .lkbrand-tag{letter-spacing:1.8px;font-size:8px}
  .lkbrand img{width:32px;height:32px}
  .lkmylist{font-size:12.5px}
  .lkadd{font-size:12.5px;padding:8px 12px}
  .lktop-in{gap:8px 10px;padding:10px 12px}
}
