/* The front page in the new look. Same page, same script (home.js, spotlight.js): this file only restyles it, so
   search, upload, the tappable poster, genres and every counted tap work exactly as before. Loaded when the new design
   is on (or on the owner's preview link). lab.css brings the typefaces. */
body.nx-home{
  --bg:#24103a;--panel:#35204d;--panel2:#44305c;--line:rgba(255,255,255,.22);
  --text:#fff;--mute:rgba(255,255,255,.68);--lime:#ffe86b;--orange:#ff5a1f;--ink:#111;
  --display:Unbounded,'Arial Black',system-ui,sans-serif;--body:Figtree,system-ui,-apple-system,sans-serif;
  background:#24103a;font-family:var(--body)}
body.nx-home .wrap{max-width:480px;padding:0 18px 240px}
/* top: a quiet wordmark; the coffee line stays one yellow strip */
body.nx-home header.top{background:none;border:0;box-shadow:none;padding:calc(26px + env(safe-area-inset-top)) 0 6px;min-height:0;border-radius:0}
body.nx-home .logo{font:700 14px Figtree,system-ui,sans-serif;letter-spacing:0;color:rgba(255,255,255,.88)}
body.nx-home .logo.neon{font:800 30px/1.1 Bricolage,Figtree,system-ui,sans-serif;letter-spacing:-.02em;padding:4px 0}
/* coffee sits at the very bottom, by Contact */
body.nx-home .foot-coffee{margin:30px auto 6px}
body.nx-home .logo-tag{display:none}
body.nx-home .ti{background:rgba(255,255,255,.12);border:0;color:#fff;border-radius:50%}
body.nx-home #search{margin-top:0}body.nx-home .search-row{margin-top:0}
body.nx-home .hd-coffee *{color:#111}
/* search: one white pill, "or upload yours" inside */
body.nx-home .field.big{background:#fff;border:0;border-radius:999px;min-height:56px;padding-left:18px;color:#777;margin-top:12px}
body.nx-home .field.big input{color:#111;font:600 16.5px Figtree,system-ui,sans-serif}
body.nx-home .field.big input::placeholder{color:#777}
body.nx-home .field-up{background:#111;color:#fff;border-radius:999px;height:42px;padding:0 14px;font:800 13px Figtree,system-ui,sans-serif;margin-right:7px}
body.nx-home .field-up b{color:#fff}
/* genre chips: white when on, outlined when off */
body.nx-home .gchip{min-height:38px;border-radius:999px;border:0;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3);color:rgba(255,255,255,.65);font:800 13px Figtree,system-ui,sans-serif}
body.nx-home .gchip.on{background:#fff;color:#111;box-shadow:none}
/* the poster and what is lit on it */
body.nx-home .poster-scroll{border-radius:18px;box-shadow:0 20px 40px -14px rgba(0,0,0,.6)}
body.nx-home .pbox.sel{box-shadow:0 0 0 3px #ff5a1f,0 0 22px 4px rgba(255,90,31,.7);background:rgba(255,90,31,.3)}
body.nx-home .pbox.fav{box-shadow:0 0 0 2px #ffe86b;background:rgba(255,232,107,.16)}
body.nx-home .pbox.hid{background:rgba(22,10,36,.86);box-shadow:0 0 0 2px rgba(22,10,36,.86)}
/* the list on the front page: colour blocks, like the festival page */
body.nx-home .lv-sort button{border-radius:999px;border:0;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3);color:rgba(255,255,255,.75);background:none;font:800 13px Figtree,system-ui,sans-serif}
body.nx-home .lv-sort button.on{background:#fff;color:#111;box-shadow:none}
body.nx-home .spot-row{border-radius:14px;background:rgba(255,255,255,.1);font-weight:800}
body.nx-home .spot-row.spot-hy{color:#111;background:#ff5a1f}
body.nx-home .spot-row.spot-hy:nth-child(10n+2){background:#8f5bff}body.nx-home .spot-row.spot-hy:nth-child(10n+3){background:#ffe86b}
body.nx-home .spot-row.spot-hy:nth-child(10n+4){background:#ff7fb4}body.nx-home .spot-row.spot-hy:nth-child(10n+5){background:#5fd6c0}
body.nx-home .spot-row.spot-hy:nth-child(10n+6){background:#b9f24a}body.nx-home .spot-row.spot-hy:nth-child(10n+7){background:#7fb2ff}
body.nx-home .spot-row.spot-hy:nth-child(10n+8){background:#ffb36b}body.nx-home .spot-row.spot-hy:nth-child(10n+9){background:#ff6b6b}
body.nx-home .spot-row.spot-hy:nth-child(10n){background:#c6a4ff}
body.nx-home .spot-row.spot-hy .hy-rank{color:rgba(0,0,0,.55)}
body.nx-home .spot-row.spot-hy .hy-bar{background:rgba(0,0,0,.18)}body.nx-home .spot-row.spot-hy .hy-bar i{background:#111}
body.nx-home .spot-row.spot-hy .spot-row-heart{color:#111}
body.nx-home .spot-row.playing{box-shadow:0 0 0 3px #fff}
body.nx-home .eyebrow{letter-spacing:0;text-transform:none;font:800 13px Figtree,system-ui,sans-serif}
body.nx-home .foot a{color:rgba(255,255,255,.75)}
body.nx-home .toast{font-family:Figtree,system-ui,sans-serif;font-weight:600}
body.nx-home .hd-coffee *{color:#111}
/* ---- the front page's own layout: search, one headline, one festival you can tap, more festivals as tiles ---- */
body.nx-home header.top{flex-wrap:wrap}
body.nx-home .hd-coffee{flex:0 0 100%;width:100%;margin:8px 0 0;height:40px;padding:0 16px;font:600 13.5px Figtree,system-ui,sans-serif;background:#ffe227;color:#111;border-radius:999px;border:0;box-sizing:border-box}
body.nx-home .hero-try{display:block;margin:20px 0 16px;padding:0;background:none;box-shadow:none;border-radius:0;animation:none;color:#fff;white-space:normal;text-wrap:balance;font:900 clamp(21px,6.6vw,30px)/1.06 Unbounded,'Arial Black',system-ui,sans-serif;letter-spacing:-.045em}
body.nx-home .hero-try::before{content:none}
body.nx-home .big-seg,body.nx-home .customize-btn,body.nx-home .up-card,body.nx-home .stats-promo,body.nx-home .tabbar,body.nx-home .spot-fab{display:none !important}
/* the festival on show, and the way to its own page */
body.nx-home .spot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.nxh-name{font:800 17px/1.2 Figtree,system-ui,sans-serif;color:#fff;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nxh-open{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;background:#fff;color:#111;font:800 14px Figtree,system-ui,sans-serif;text-decoration:none}
.nxh-open:hover{color:#111;background:#ffe86b}
/* Poster / Hype list, then the genre chips, in one row that slides sideways */
.nxh-tools{display:flex;align-items:center;gap:8px;margin:0 -18px 12px;padding:0 18px;overflow-x:auto;scrollbar-width:none}
.nxh-tools::-webkit-scrollbar{display:none}
.nxh-seg{flex:none;display:inline-flex;padding:3px;border-radius:999px;background:rgba(255,255,255,.14)}
.nxh-seg button{min-height:34px;padding:0 13px;border:0;border-radius:999px;background:none;color:rgba(255,255,255,.8);font:800 13px Figtree,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.nxh-seg button.on{background:#fff;color:#111}
.nxh-tools .genres{flex:none;overflow:visible;padding:0;margin:0;gap:6px}
.nxh-tools .genres .linkish{color:#ffe86b;font:800 13px Figtree,system-ui,sans-serif;white-space:nowrap}
/* the teaching cue: a ring round the top name and a hand on it, gone after the first tap */
.nxh-cue{position:absolute;pointer-events:none;z-index:3}
.nxh-cue::before{content:'';position:absolute;inset:-38% -7%;border:2.5px solid #fff;border-radius:50%;animation:nxh-ring 1.8s ease-in-out infinite}
.nxh-hand{position:absolute;right:-5%;bottom:-26px;width:38px;height:38px;border-radius:50%;background:#ffe86b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11V5a1.5 1.5 0 0 1 3 0v5m0-1a1.5 1.5 0 0 1 3 0v2m0-1a1.5 1.5 0 0 1 3 0v4a6 6 0 0 1-6 6h-1a5 5 0 0 1-4-2l-3-4a1.5 1.5 0 0 1 2.4-1.8L9 14'/%3E%3C/svg%3E") center/22px no-repeat;box-shadow:0 4px 14px rgba(0,0,0,.4);animation:nxh-tap 1.8s ease-in-out infinite}
@keyframes nxh-ring{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.06);opacity:.75}}
@keyframes nxh-tap{0%,100%{transform:translate(0,0)}50%{transform:translate(-5px,-6px) scale(.92)}}
@media (prefers-reduced-motion:reduce){.nxh-cue::before,.nxh-hand{animation:none}}
body.nxh-tapped .nxh-cue{display:none}
/* now playing: floats above the bottom bar once a name is tapped */
body.nx-home .spot-now{position:fixed;left:18px;right:18px;max-width:444px;margin:0 auto;bottom:calc(82px + env(safe-area-inset-bottom));z-index:40;border:0;border-radius:22px;background:#ff5a1f;color:#111;box-shadow:0 12px 30px rgba(0,0,0,.45);animation:none}
body.nx-home .spot-now.idle{display:none}
body.nx-home .spot-now .spot-now-name{font:900 15px Unbounded,system-ui,sans-serif;letter-spacing:-.03em;color:#111}
body.nx-home .spot-now .spot-now-sub{color:rgba(0,0,0,.72)}
body.nx-home .spot-now .ctl,body.nx-home .spot-now .play{background:rgba(0,0,0,.14);color:#111;border:0}
body.nx-home .spot-now .bar{background:rgba(0,0,0,.2)}body.nx-home .spot-now .bar i{background:#111}
/* more festivals: colour tiles in a row */
body.nx-home #lists .eyebrow{margin:26px 0 10px;color:rgba(255,255,255,.75);font:800 15px Figtree,system-ui,sans-serif}
body.nx-home #lists ul.plain{display:flex;gap:10px;margin:0 -18px;padding:0 18px 6px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
body.nx-home #lists ul.plain::-webkit-scrollbar{display:none}
body.nx-home #lists ul.plain li{flex:none;display:block;scroll-snap-align:start}
/* each festival as its poster, with its name and place under it; one with no poster gets a colour card in its place */
body.nx-home #lists ul.plain li a:not(.up-tix){position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:128px;min-height:0;margin:0;padding:0;border-radius:0;background:none;color:#fff;text-decoration:none}
body.nx-home #lists ul.plain .thumb{display:block;width:128px;height:170px;object-fit:cover;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.4);background:#3a2552}
body.nx-home #lists ul.plain li a:not(:has(.thumb))::before{content:'';display:block;width:128px;height:170px;border-radius:14px;background:#5fd6c0;box-shadow:0 10px 24px rgba(0,0,0,.4)}
body.nx-home #lists ul.plain li:nth-child(5n+2) a:not(:has(.thumb))::before{background:#ff7fb4}body.nx-home #lists ul.plain li:nth-child(5n+3) a:not(:has(.thumb))::before{background:#7fb2ff}
body.nx-home #lists ul.plain li:nth-child(5n+4) a:not(:has(.thumb))::before{background:#ffb36b}body.nx-home #lists ul.plain li:nth-child(5n) a:not(:has(.thumb))::before{background:#b9f24a}
body.nx-home #lists ul.plain .up-tix{display:none}
body.nx-home #lists ul.plain .grow{flex:none;width:100%;margin-top:9px;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font:800 14px/1.2 Figtree,system-ui,sans-serif;letter-spacing:0;color:#fff}
body.nx-home #lists ul.plain small{display:block;margin-top:2px;color:rgba(255,255,255,.65);font:600 12.5px Figtree,system-ui,sans-serif;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.nx-home #results .plain li a,body.nx-home #mine .plain li a,body.nx-home #more .plain li a{border-radius:16px;background:rgba(255,255,255,.1);font-weight:800}
/* the bottom bar: three places to go, and Upload */
.nxh-dock{position:fixed;left:18px;right:18px;max-width:444px;margin:0 auto;bottom:calc(14px + env(safe-area-inset-bottom));z-index:41;display:flex;gap:10px;font-family:Figtree,system-ui,sans-serif}
.nxh-modes{flex:1;min-width:0;display:flex;align-items:center;height:58px;padding:4px;box-sizing:border-box;border-radius:999px;background:#3b2752;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.nxh-modes button{flex:1 1 auto;height:50px;padding:0 6px;border:0;border-radius:999px;background:none;color:rgba(255,255,255,.75);font:800 13.5px Figtree,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.nxh-modes button.on{background:#fff;color:#111}
.nxh-dock-solo{justify-content:flex-end}
@media (max-width:370px){.nxh-modes button{font-size:12.5px;padding:0 4px}.nxh-dock-up{width:58px;padding:0 !important;justify-content:center}.nxh-dock-up span{display:none}.nxh-dock{gap:8px}}
/* the header carries Fan stats and Me; Upload lives in the bottom bar. The view switch is in the bar too, so the row above the poster is just the genres */
body.nx-home header.top .ti-up,body.nx-home .nxh-seg{display:none}
body.nx-home header.top .ti-stats{display:flex}
body.nx-home header.top .top-icons{gap:8px;align-items:center}
body.nx-home header.top .ti{flex-direction:row;gap:6px;width:auto;height:36px;padding:0 12px 0 10px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:800 13px/1 Figtree,system-ui,sans-serif}
body.nx-home header.top .ti .ti-c{width:auto;height:auto;background:none;border:0;box-shadow:none}
body.nx-home header.top .ti svg{width:16px;height:16px}
.nxh-dock-up{flex:none;display:inline-flex;align-items:center;gap:8px;height:58px;padding:0 20px;border:0;border-radius:999px;background:#ffe86b;color:#111;font:800 15.5px Figtree,system-ui,sans-serif;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.45)}
body.nx-home .toast{font-family:Figtree,system-ui,sans-serif;font-weight:600}
body.hl-typing .nxh-dock,body.search-open .nxh-dock{display:none}
body.nx-home header.top .ti .ti-l{display:inline !important;opacity:1}
/* no picking on the front page: that happens on the festival's own page */
body.nx-home .spot-row-heart,body.nx-home .poster-clear,body.nx-home .picks-list{display:none !important}

/* ---- laptop and desktop: two panels. Search, the headline and more lineups on the left; the festival you can tap stays
   on the right, its full height, while the left side scrolls. Phones are unchanged. ---- */
@media (min-width:1100px){
  body.nx-home{--side:max(32px,calc((100vw - 1500px) / 2 + 32px));--left:460px;--gap:40px;--rl:calc(var(--side) + var(--left) + var(--gap))}
  body.nx-home .wrap{max-width:none;margin:0;padding:0 0 60px var(--side);width:calc(var(--side) + var(--left))}
  body.nx-home .wrap > *{max-width:var(--left)}
  body.nx-home .hero-try{font-size:33px;margin:20px 0 18px}
  /* the festival sits beside the left column at full width and scrolls with the page: big, and never a box you scroll inside */
  body.nx-home .wrap,body.nx-home #lists{position:static}
  body.nx-home #preview{position:absolute;top:26px;left:var(--rl);right:var(--side);max-width:none;z-index:5;padding-bottom:110px}
  body.nx-home #preview .poster-scroll{max-height:none}
  body.nx-home #preview .poster-scroll{overflow:visible;max-height:none !important;height:auto !important}
  body.nx-home #preview .poster-stage,body.nx-home #preview .poster-scroll,body.nx-home #preview .poster-view{background:transparent !important;box-shadow:none}
  body.nx-home #preview .poster-wrap{border-radius:16px;overflow:hidden;box-shadow:0 24px 50px -16px rgba(0,0,0,.6)}
  body.nx-home .nxh-dock{left:var(--rl);right:var(--side);max-width:none;margin:0;justify-content:center}
  body.nx-home .nxh-modes{flex:0 1 420px}
  body.nx-home .spot-now{left:var(--side);right:auto;width:var(--left);max-width:none;margin:0;bottom:24px} /* the player sits in the left column, not over the poster */
  /* more lineups: a grid instead of a sideways row */
  body.nx-home #lists ul.plain{flex-wrap:wrap;overflow:visible;margin:0;padding:0;gap:18px 14px}
  body.nx-home #lists ul.plain li a:not(.up-tix),body.nx-home #lists ul.plain .thumb,body.nx-home #lists ul.plain li a:not(:has(.thumb))::before{width:140px}
  body.nx-home #lists ul.plain .thumb,body.nx-home #lists ul.plain li a:not(:has(.thumb))::before{height:186px}
  body.nx-home .foot-coffee{margin-left:0}
}
/* wide screens: the coffee button grows into a full-width card at the end of the left column */
@media (min-width:1100px){
  body.nx-home a.bmc-pill.foot-coffee{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:var(--left);height:54px;margin:30px 0 10px;border-radius:18px;background:#ffe86b;font:800 15.5px Figtree,system-ui,sans-serif;box-shadow:0 14px 30px rgba(0,0,0,.35)}
}
@media (min-width:1100px){body.nx-home .logo.neon{font-size:25px}}
