/* balldrop.com DESKTOP header + search (981px and wider), Josh 2026-10-23 "yes, build the desktop nav".
   The planned new header, the one the help center at www.balldrop.com/help already shows: one slim sticky night bar,
   logo, ALL PARTIES / LIVE VIEW / FAMILY / CRUISES / FAQ, a round search button, the days chip and "Find your party".
   The search opens the planned centered panel (BallDrop v2 design/site-redesign-2026-10-07 fd-search) and runs the phone
   search (js/phone-nav.js: on-sale parties + help articles), so phone and desktop find the same things.
   Built on the classes includes/phone-nav.php prints; loaded only while PN_DESKTOP is true (the revert switch there).
   The old header markup stays in the page, hidden here. Below 981px css/phone-nav.css owns the header. */
.pn-sd-foot, .pn-dcta, .pn-chip [data-pn-wide] { display: none; }

@media (min-width: 981px) {
  html { scroll-padding-top: 80px; }                        /* in-page jumps land below the sticky bar */
  /* bar */
  #header-top, #navigationbar .counter, .mobile-nav-hamburger, .dropmenu, .pn-burger { display: none !important; }
  #header-container { position: sticky !important; top: 0; z-index: 9000; background: #17141f !important; /* solid: same tone as the help center's bar over its dark page */
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
  #navigationbar { background: transparent !important; height: 68px !important; border: 0 !important; }
  #navigationbar > .wrapper { width: auto !important; max-width: 1200px; margin: 0 auto !important; height: 68px; padding: 0 24px;
    display: flex !important; align-items: center; gap: 28px; box-sizing: border-box; }
  #navigationbar > .wrapper::after, #navigationbar > .wrapper::before { content: none !important; }   /* the old stylesheet's clearfix would be a hidden flex item that shifts the bar */
  #navigationbar #logo { order: 1; position: static !important; height: auto !important; width: auto !important; margin: 0 !important; flex: 0 0 auto; }
  #navigationbar #logo img { width: 172px !important; max-width: 172px !important; margin: 0 !important; display: block; }
  #navigationbar nav { order: 2; position: static !important; float: none !important; margin: 0 auto 0 8px !important; height: auto !important; }
  #navigationbar .navigation { display: flex !important; gap: 4px; margin: 0 !important; padding: 0 !important; float: none !important; }
  #navigationbar .navigation li { float: none !important; margin: 0 !important; background: none !important; }
  #navigationbar .navigation li a { display: block; font: 600 14px/1 var(--pn-sans) !important; letter-spacing: .04em; color: var(--pn-soft) !important;
    padding: 10px 12px !important; border-radius: 6px; text-transform: uppercase; white-space: nowrap; background: none !important; text-decoration: none !important;
    transition: color .2s, background-color .2s; }
  #navigationbar .navigation li a:hover { color: #fff !important; background: rgba(255,255,255,.07) !important; }
  #navigationbar .navigation li a:focus-visible { outline: 2px solid var(--pn-gold); outline-offset: 2px; }

  .pn-searchbtn { order: 3; display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; padding: 0; border-radius: 999px;
    border: 1px solid var(--pn-hair); background: transparent; color: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
  .pn-searchbtn:hover { border-color: var(--pn-gold); background: rgba(233,193,52,.08); }
  .pn-searchbtn:active { transform: translateY(1px); }
  .pn-searchbtn:focus-visible { outline: 2px solid var(--pn-gold); outline-offset: 2px; }
  .pn-searchbtn svg { width: 19px; height: 19px; }
  .pn-chip { order: 4; display: inline-flex; align-items: baseline; gap: 6px; flex: 0 0 auto; padding: 7px 12px; border: 1px solid var(--pn-hair); border-radius: 999px;
    color: var(--pn-muted); font: 600 12px/1 var(--pn-sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
  .pn-chip b { color: var(--pn-gold); font: 700 18px/1 var(--pn-display); letter-spacing: 0; font-variant-numeric: tabular-nums; }
  .pn-dcta { order: 5; display: inline-flex; align-items: center; height: 42px; flex: 0 0 auto; padding: 0 18px; border-radius: 8px; background: var(--pn-grad);
    color: #fff !important; font: 700 14px/1 var(--pn-sans); letter-spacing: .02em; text-decoration: none !important; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(208,32,93,.28); transition: transform .2s ease-out, box-shadow .2s ease-out; }
  .pn-dcta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(208,32,93,.38); }
  .pn-dcta:active { transform: translateY(1px); }
  .pn-dcta:focus-visible { outline: 2px solid var(--pn-gold); outline-offset: 3px; }

  /* search panel: centered, the planned design (fd-search) */
  .pn-sd-back { padding: 9vh 16px 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .pn-sd { max-width: 720px; height: auto; max-height: min(78vh, 720px); border-radius: 16px; border: 1px solid var(--pn-hair);
    box-shadow: 0 40px 90px rgba(5,3,10,.55); }
  .pn-sd-back:not([hidden]) .pn-sd { animation: pn-in .26s cubic-bezier(.16,1,.3,1) both; }
  .pn-sd-top { padding: 0 16px; }
  .pn-sd-top input { height: 64px; font-size: 19px; }
  .pn-sd-top .pn-close { font-size: 0; padding: 0; }
  .pn-sd-top .pn-close::after { content: "Esc" / ""; display: block; font: 600 12px/1 var(--pn-sans); color: var(--pn-muted);
    border: 1px solid var(--pn-hair); border-radius: 6px; padding: 6px 8px; }
  .pn-sd-top .pn-close:hover::after { color: #fff; border-color: var(--pn-muted); }
  .pn-sd-chips button:hover { border-color: var(--pn-muted); color: #fff; }
  .pn-sd-chips button[aria-pressed="true"]:hover { color: #17141f; }
  .pn-sd-body { padding: 4px 8px 12px; }
  .pn-row { gap: 14px; }
  .pn-row img { width: 92px; height: 52px; }
  .pn-row .pn-t b { -webkit-line-clamp: 1; }
  .pn-sd-foot { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--pn-hair);
    color: var(--pn-muted); font: 600 12px/1 var(--pn-sans); flex: 0 0 auto; }
  .pn-sd-foot kbd { font: inherit; color: var(--pn-soft); }
}
/* 981 to 1239px: same bar, tighter, so the links stay on one line (the help center's own bar wraps at 1024px) */
@media (min-width: 981px) and (max-width: 1239px) {
  #navigationbar > .wrapper { gap: 14px; padding: 0 16px; }
  #navigationbar #logo img { width: 148px !important; max-width: 148px !important; }
  #navigationbar .navigation li a { padding: 10px 9px !important; font-size: 13px !important; }
  .pn-dcta { padding: 0 14px; font-size: 13px; }
}
@media (min-width: 981px) and (max-width: 1079px) { .pn-chip { display: none; } }
/* "70 days to 2027" from 1080px, like the help center's chip: the chip's 6px gap is for the number, so pull "to 2027" back
   to a normal word space (matches the help center's chip width to the pixel) */
@media (min-width: 1080px) { .pn-chip [data-pn-wide] { display: inline; margin-left: -2px; } }
@keyframes pn-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pn-sd-back:not([hidden]) .pn-sd { animation: none; } .pn-sd-back { backdrop-filter: none; } }
