/* IDT Public Site — stile ispirato a pacha.com (header a pillola, titoli condensati), palette dal logo IDT.
   Font: Archivo (SIL Open Font License 1.1), file locale in assets/fonts — nessuna richiesta a servizi esterni. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}
:root {
  --bg: #050507; --panel: rgba(255,255,255,.045); --panel2: rgba(255,255,255,.08); --line: rgba(255,255,255,.11);
  --text: #f4f4f6; --muted: #a3a3b2; --cyan: #19d3e6; --pink: #6cff00; --orange: #ff8a1f; --yellow: #ffd21f; --violet: #8a3ffc;
  --accent: var(--cyan); --r: 22px; --r-sm: 14px;
  --cond: "Archivo", "Arial Narrow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 16px/1.55 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-stretch: 100%;
  background:
    radial-gradient(900px 600px at 50% -10%, rgba(138,63,252,.28), transparent 65%),
    radial-gradient(700px 600px at -5% 55%, rgba(25,211,230,.12), transparent 60%),
    radial-gradient(700px 600px at 105% 75%, rgba(108,255,0,.12), transparent 60%),
    var(--bg);
  background-attachment: fixed; min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--cond); font-stretch: 72%; font-weight: 800; line-height: 1; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: -.01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
section { margin: 40px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

.preview-bar { background: var(--yellow); color: #000; font: 700 12px/1.4 system-ui, sans-serif; text-align: center; padding: 6px 10px; letter-spacing: .03em; }
.preview-bar a { color: #000; text-decoration: underline; white-space: nowrap; }

/* ---------- header a pillola ---------- */
.top { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; }
.top-in { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 10px 0 8px;
  background: rgba(14,14,20,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; }
.brand img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.nav { flex: 1; display: flex; justify-content: center; gap: 4px; }
.nav a { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 17px; text-transform: uppercase; color: var(--text); padding: 10px 18px; border-radius: 999px; letter-spacing: .01em; }
.nav a:hover, .nav a.on { background: var(--panel2); color: #fff; }
.nav a.on { box-shadow: inset 0 -2px 0 var(--accent); }
.top-search { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); }
.top-search:hover { background: var(--panel2); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-t, .nav-b { display: none; }
/* ricerca nell'header: l'icona apre il campo e nasconde il resto */
.srch-t { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.top-search { cursor: pointer; }
.top-sform { display: none; flex: 1; align-items: center; gap: 10px; padding: 0 2px 0 14px; color: var(--muted); }
.top-sform input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: 17px; padding: 10px 0; }
.top-sform input::placeholder { color: var(--muted); }
.srch-x { width: 44px; height: 44px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; line-height: 1; cursor: pointer; color: var(--text); }
.srch-x:hover { background: var(--panel2); }
.srch-t:checked ~ .brand, .srch-t:checked ~ .nav, .srch-t:checked ~ .nav-b, .srch-t:checked ~ .top-search { display: none !important; }
.srch-t:checked ~ .top-sform { display: flex; }
@media (max-width: 760px) { .top-sform .pill { display: none; } .top-sform { padding-left: 10px; gap: 8px; } }
@media (max-width: 760px) {
  .top { padding: 8px 8px 0; }
  .nav-b { display: block; width: 44px; height: 44px; cursor: pointer; position: relative; order: 3; }
  .nav-b span, .nav-b span::before, .nav-b span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; content: ""; border-radius: 2px; }
  .nav-b span { top: 21px; } .nav-b span::before { top: -7px; left: 0; right: 0; } .nav-b span::after { top: 7px; left: 0; right: 0; }
  .nav { display: none; position: absolute; top: 72px; left: 8px; right: 8px; flex-direction: column; background: rgba(14,14,20,.97); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
  .nav-t:checked ~ .nav { display: flex; }
  .top-search { margin-left: auto; }
}

/* ---------- pillole e chip ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px;
  padding: 12px 24px; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; background: transparent; }
.pill:hover { border-color: #fff; background: var(--panel2); color: #fff; }
.pill-solid { background: var(--pink); border-color: var(--pink); }
.pill-solid:hover { background: #8dff3a; border-color: #8dff3a; }
.pill-sm { padding: 8px 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14px; text-transform: uppercase; }
.chip:hover { background: var(--panel2); color: #fff; }
.chip.on { background: #fff; color: #000; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 70px 0 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 88px); font-stretch: 68%; }
.hero-sub { font-family: var(--cond); font-stretch: 75%; font-weight: 600; font-size: clamp(18px, 2.6vw, 30px); text-transform: uppercase; margin: 0 0 30px; color: #e9e9f0; }

/* barra di ricerca */
.searchbar { display: inline-flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(14,14,20,.7); max-width: 100%; flex-wrap: wrap; justify-content: center; }
.sb-field { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.sb-field input { background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: 15px; width: 240px; max-width: 52vw; padding: 9px 0; }
.sb-field input::placeholder { color: var(--muted); }
.sb-cal { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text); }
.sb-cal:hover { background: var(--panel2); }
.page-title + .searchbar { margin-bottom: 10px; }

/* ---------- colonne ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .cols { grid-template-columns: minmax(0, 1fr); } .cols > * { min-width: 0; } }
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; margin: 40px 0; }
@media (max-width: 980px) { .side { position: static; margin-top: 0; } }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.box-t { font-size: 20px; margin-bottom: 12px; }
.brand-box { text-align: center; }
.brand-box img { width: 170px; margin: -6px auto 8px; border-radius: 12px; }
.brand-box p { color: #d8d8e2; font-size: 14px; margin: 0 0 14px; }

/* mini calendario */
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mc-head a { color: var(--text); font-size: 20px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.mc-head a:hover { background: var(--panel2); }
.mc-head .mc-title { width: auto; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 19px; text-transform: uppercase; }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mc-grid > * { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 50%; color: var(--muted); }
.mc-dow { font-weight: 700; font-size: 11px !important; color: #77778a !important; }
.mc-grid a.has { background: rgba(25,211,230,.16); color: #fff; font-weight: 700; }
.mc-grid a.has:hover { background: var(--accent); color: #000; }
.mc-grid .past { opacity: .5; }
.mc-grid .today { box-shadow: inset 0 0 0 1.5px var(--pink); color: #fff; }

/* elenco club compatto */
.club-list { list-style: none; margin: 0; padding: 0; }
.club-list li a { display: flex; align-items: center; gap: 10px; padding: 7px 6px; color: var(--text); border-radius: 10px; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.club-list li a:hover { background: var(--panel2); }
.club-list img, .club-list .nologo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #000; flex: none; }
.club-list.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.club-list.big li a { background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; font-size: 15px; }

/* ---------- titoli sezione ---------- */
.page-title { font-size: clamp(36px, 5.5vw, 66px); font-stretch: 68%; margin-top: 34px; }
.page-title small, h2.sec small { display: block; font-size: .42em; color: var(--accent); font-stretch: 80%; font-weight: 700; margin-top: 8px; letter-spacing: .02em; }
h2.sec { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.crumbs { margin: 28px 0 0; }
.more { margin-top: 18px; }

/* ---------- schede serata ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.grid-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; color: var(--text); transition: transform .18s, background .18s, border-color .18s; }
.card:hover { transform: translateY(-4px); background: var(--panel2); border-color: rgba(255,255,255,.22); color: var(--text); }
.card-img { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-sm); overflow: hidden; background: #111; }
.card-img > img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; }
.card-img .tag, .event-img .tag { position: absolute; top: 10px; left: 10px; }
/* senza immagine propria: foto del club scurita + logo + titolo */
.ph { background: linear-gradient(135deg, #1a1030, #0c2228); }
.ph > img { filter: brightness(.32) saturate(.85); }
.ph-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; text-align: center; }
.ph-in img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.ph-in b { font-family: var(--cond); font-stretch: 70%; font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 6px 6px; }
.card-date { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.card h3 { font-size: 24px; margin: 0 0 8px; }
.card-club { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #d6d6e0; }
.card-club img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: #000; }
.card-lineup { color: #c9c9d4; font-size: 14px; margin: 0 0 14px; line-height: 1.5; }
.card .pill { margin-top: auto; padding: 10px 18px; font-size: 15px; }
.grid-sm .card h3 { font-size: 20px; }
.grid-sm .card-lineup, .grid-sm .card .pill { display: none; }

/* settimana */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.week-day { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.week-date { display: block; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 22px; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.week-date b { color: var(--accent); }
.week-day ul { list-style: none; margin: 0; padding: 0; }
.week-day li a { display: grid; grid-template-columns: 46px 1fr; column-gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 14px; }
.week-day li .wt { color: var(--muted); grid-row: span 2; font-size: 13px; }
.week-day li .wc { color: var(--muted); font-size: 12px; text-transform: uppercase; }

/* ---------- calendario mese ---------- */
.months { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 6px auto 26px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(14,14,20,.7); width: fit-content; max-width: 100%; }
.cal { margin-bottom: 40px; }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-head span { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 6px 0; }
.cal-cell { min-height: 112px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; display: flex; flex-direction: column; color: var(--muted); }
.cal-cell.blank { background: transparent; border-color: transparent; }
.cal-cell b { font-family: var(--cond); font-stretch: 75%; font-size: 26px; color: #fff; line-height: 1; }
.cal-logos { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 8px; }
.cal-logos img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #000; border: 1px solid rgba(255,255,255,.2); }
.cal-cell i { font-style: normal; margin-top: auto; font-size: 12px; font-weight: 700; color: var(--accent); padding-top: 6px; }
.cal-cell.has:hover { background: var(--panel2); border-color: rgba(255,255,255,.25); color: var(--text); }
.cal-cell.past { opacity: .5; }
.cal-cell.today { border-color: var(--pink); }
@media (max-width: 640px) {
  .cal-head, .cal-grid { gap: 4px; }
  .cal-cell { min-height: 58px; padding: 5px; border-radius: 10px; }
  .cal-cell b { font-size: 17px; }
  .cal-logos { display: none; }
  .cal-cell i { font-size: 0; padding: 0; } .cal-cell.has i::before { content: "●"; font-size: 12px; }
}
.daynav { display: flex; justify-content: space-between; margin: 4px 0 6px; }

/* ---------- club ---------- */
.club-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin: 10px 0 40px; }
.club-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; color: var(--text); transition: transform .18s, background .18s; }
.club-card:hover { transform: translateY(-4px); background: var(--panel2); color: var(--text); }
.club-card-img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-sm); background: #111; }
.club-card-img > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.club-card-img.noimg { background: linear-gradient(135deg, #1a1030, #0c2228); }
.club-card-logo { position: absolute; left: 14px; bottom: -24px; width: 60px !important; height: 60px !important; border-radius: 50%; border: 3px solid #15151c; object-fit: cover; background: #000; }
.club-card .card-body { padding-top: 32px; }
.club-card h3 { font-size: 26px; }

.club-hero { background: #111 center / cover no-repeat; position: relative; padding: 150px 0 34px; margin-top: -74px; }
.club-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,7,.35), rgba(5,5,7,.96)); }
.club-hero .wrap { position: relative; }
.club-hero h1 { font-size: clamp(42px, 7vw, 86px); font-stretch: 68%; }
.club-hero p { color: #d0d0da; margin: 0; }
.club-logo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); margin-bottom: 16px; background: #000; }
.weekly { width: 100%; border-collapse: collapse; font-size: 14px; }
.weekly th { text-align: left; color: var(--muted); font-weight: 700; padding: 7px 8px 7px 0; width: 44px; text-transform: uppercase; font-size: 12px; }
.weekly td { padding: 7px 0; border-top: 1px solid var(--line); font-weight: 700; }
.weekly tr:first-child td { border-top: 0; }
.weekly td a { color: var(--text); font-weight: 700; }
.weekly .t { font-weight: 400; color: var(--muted); text-align: right; white-space: nowrap; font-size: 12px; padding-left: 8px; }
.map iframe { width: 100%; height: 230px; border: 0; border-radius: var(--r-sm); margin-bottom: 12px; filter: invert(.9) hue-rotate(180deg); }
.text { color: #dcdce6; }
.text p { margin: 0 0 1em; }

/* ---------- party ---------- */
.party-head { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 10px; }
.party-head img { border-radius: 28px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-top: 34px; }
@media (max-width: 700px) { .party-head { grid-template-columns: 1fr; } .party-head img { max-width: 340px; } }

/* ---------- serata (stile pacha.com) ---------- */
.event { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; margin: 22px 0 50px; align-items: start; }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; gap: 24px; } }
.event-img { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: #111; }
.event-img > img { width: 100%; height: 100%; object-fit: cover; }
.event-img .ph-in b { font-size: 42px; }
.event-img .ph-in img { width: 120px; height: 120px; }
.event h1 { font-size: clamp(42px, 6vw, 80px); font-stretch: 66%; margin-bottom: 10px; }
.event-when { font-size: 22px; margin: 0 0 14px; color: #fff; }
.event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0 0 22px; }
.event-meta a { display: inline-flex; align-items: center; gap: 7px; color: #e6e6ee; font-weight: 600; }
.event-meta a:hover { color: #fff; }
.lineup-box { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }
.lineup-box h2 { font-size: 28px; }
.lineup { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.lineup li { padding: 8px 14px; border-radius: 999px; background: var(--panel2); font-size: 15px; }
.lineup li.lu-top { background: #fff; color: #000; font-weight: 800; font-size: 17px; }
.event-btns { display: flex; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.event-btns .pill { flex: 1 1 220px; padding: 15px 24px; font-size: 17px; }

.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--r); padding: 34px; text-align: center; color: var(--muted); margin: 20px 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 70px; padding: 40px 0 22px; background: rgba(0,0,0,.45); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } }
.foot-logo { width: 110px; border-radius: 10px; margin-bottom: 10px; }
.foot h4 { font-size: 16px; color: var(--muted); }
.foot a { display: block; color: var(--text); font-size: 14px; padding: 3px 0; }
.foot p { color: var(--muted); font-size: 14px; }
.copy { text-align: center; color: var(--muted); font-size: 12px; margin: 26px 0 0; }

/* ---------- home: blocco aziendale centrale ---------- */
.hero { padding: 48px 0 16px; }
.brand-hero { display: flex; align-items: center; justify-content: center; gap: 34px; max-width: 960px; margin: 0 auto 30px; text-align: left; }
.brand-logo { width: 220px; height: 220px; border-radius: 28px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(138,63,252,.25); }
.brand-txt h1 { font-size: clamp(40px, 6vw, 76px); font-stretch: 66%; margin-bottom: 12px; }
.brand-txt h1 small { display: block; font-size: .36em; font-stretch: 80%; color: var(--accent); margin-top: 8px; letter-spacing: .02em; }
.brand-txt p { color: #dcdce6; font-size: 18px; margin: 0 0 20px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .brand-hero { flex-direction: column; text-align: center; gap: 18px; }
  .brand-logo { width: 150px; height: 150px; }
  .brand-txt p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
}

/* colonna laterale a sinistra (home, giorno, ricerca); su telefono va dopo il contenuto */
.cols.side-left { grid-template-columns: 300px minmax(0, 1fr); }
.cols.side-left > .side { order: -1; }
@media (max-width: 980px) { .cols.side-left { grid-template-columns: minmax(0, 1fr); } .cols.side-left > .side { order: 0; } }
.outlet-box { text-align: center; }
.outlet-box p { color: #d8d8e2; font-size: 14px; margin: 0 0 12px; }
.event-price { font-family: var(--cond); font-stretch: 75%; font-weight: 700; font-size: 24px; text-transform: uppercase; margin: 6px 0 16px; color: #e6e6ee; }
.event-price b { color: var(--yellow); font-size: 1.3em; }

/* ---------- 0.6.1 ---------- */
/* home: logo e titolo affiancati e centrati, messaggio sotto */
.hero { text-align: center; }
.brand-hero { display: inline-flex; align-items: center; justify-content: center; gap: 26px; max-width: none; margin: 0 auto 22px; text-align: left; }
.brand-logo { width: 150px; height: 150px; border-radius: 24px; }
.brand-hero h1 { font-size: clamp(38px, 5.6vw, 72px); font-stretch: 66%; margin: 0; }
.brand-hero h1 small { display: block; font-size: .36em; font-stretch: 80%; color: var(--accent); margin-top: 10px; letter-spacing: .02em; }
.brand-msg { max-width: 760px; margin: 0 auto 22px; }
.brand-msg p { color: #dcdce6; font-size: 18px; margin: 0 0 10px; }
.hero .hero-btns { justify-content: center; margin: 0 0 28px; }
@media (max-width: 760px) {
  .brand-hero { flex-direction: column; text-align: center; gap: 14px; }
  .brand-logo { width: 120px; height: 120px; }
  .brand-msg p { font-size: 16px; }
}

/* colonna: elenco club richiudibile */
.box-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; margin: 0; }
.box-fold > summary::-webkit-details-marker { display: none; }
.box-fold > summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); }
.box-fold[open] > summary::after { content: "–"; }
.box-fold[open] > summary { margin-bottom: 10px; }
.fold-n { margin-left: 8px; margin-right: auto; font-size: 13px; font-stretch: 100%; font-weight: 700; color: var(--muted); background: var(--panel2); padding: 2px 8px; border-radius: 999px; }

/* header: elenco club al passaggio del mouse */
.nav-drop { position: relative; display: flex; }
.caret { font-size: .7em; opacity: .7; }
.drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; min-width: 300px; display: none; z-index: 70; }
.drop .club-list { background: rgba(14,14,20,.97); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; max-height: 70vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 460px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.drop .club-list a { font-size: 13px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { display: block; }
@media (max-width: 760px) { .drop, .caret { display: none !important; } .nav-drop { display: block; } }
/* tendina punti vendita (dati dal plugin IDT Punti Vendita) */
.nav-pin { width: 30px; height: 30px; border-radius: 50%; background: var(--panel2); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nav-pin svg { width: 16px; height: 16px; fill: none; stroke: var(--pink, #6cff00); stroke-width: 2.2; }
.drop .outlet-list li.all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav-drop:last-child .drop { left: auto; right: -60px; transform: none; }
/* tendina Info: una colonna, come l'elenco delle sezioni della pagina Info */
.drop .info-list { grid-template-columns: 1fr; min-width: 230px; }
.drop .info-list a { padding: 10px 12px; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 16px; }
.nav-drop:last-child .drop:has(.info-list) { right: -20px; }
.drop .outlet-list li.all a { justify-content: center; color: var(--muted); }

/* ---------- vendita online ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tickets-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 10px 0 40px; scroll-margin-top: 90px; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offer:last-of-type { border-bottom: 0; }
.offer h3 { font-size: 24px; margin: 0 0 4px; }
.offer-pay { margin: 0; color: #d6d6e0; font-size: 14px; }
.offer-pay b { color: var(--yellow); }
.offer-price { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 30px; }
.offer-qty select, .checkout-form input[type=text], .checkout-form input[type=email], .checkout-form input[type=tel], .checkout-form input[type=password] {
  background: rgba(0,0,0,.4); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 16px; }
.offer-qty select { min-width: 80px; }
.tickets-go { text-align: right; margin: 18px 0 0; }
@media (max-width: 600px) { .offer { grid-template-columns: 1fr auto; } .offer-txt { grid-column: 1 / -1; } }

.checkout { max-width: 860px; }
.checkout-ev { font-size: 18px; color: #e6e6ee; }
.cart { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--panel); border-radius: var(--r-sm); overflow: hidden; }
.cart th, .cart td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cart thead th { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.cart tfoot th { font-size: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 20px 0; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #d6d6e0; }
.pay-methods { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 16px; }
.pay-methods legend { padding: 0 6px; font-weight: 700; }
.pay-methods label { display: block; padding: 6px 0; }
.terms { display: block; font-size: 14px; color: #d6d6e0; margin: 0 0 18px; }
.keep-upd { display: flex; gap: 8px; align-items: flex-start; }   /* 0.53.16 */
.keep-upd input { margin-top: 3px; flex: none; }
.keep-upd span { display: flex; flex-direction: column; gap: 2px; }
.keep-upd small { font-size: 12.5px; opacity: .8; }
.hp { position: absolute; left: -9999px; }
.form-error { background: rgba(108,255,0,.15); border: 1px solid var(--pink); color: #fff; padding: 10px 14px; border-radius: 12px; }

.order-head { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; margin: 20px 0; }
@media (max-width: 760px) { .order-head { grid-template-columns: 1fr; } }
.order-code { background: #fff; color: #000; border-radius: var(--r); padding: 18px; text-align: center; align-self: start; }
.order-code span { display: block; font-size: 12px; text-transform: uppercase; color: #555; }
.order-code b { display: block; font-family: var(--cond); font-stretch: 80%; font-size: 34px; letter-spacing: .06em; margin: 4px 0 10px; }
.order-code .qr { margin: 0 auto; width: 100%; height: auto; max-width: 220px; }
.order-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 12px; }
.order-item h3 { font-size: 22px; margin: 0 0 4px; }
.order-tot { font-size: 18px; }
svg.qr, svg.qr * { stroke: none !important; }
svg.qr path { fill: #000 !important; }
svg.qr rect { fill: #fff !important; }

/* ---------- ricerca nella colonna laterale ---------- */
.side-search { padding: 12px; }
.side-search .sb-field { border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.25); padding: 0 14px; }
.side-search .sb-field input { width: 100%; max-width: none; flex: 1; min-width: 0; }
.side-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.side-chips .chip { padding: 7px 13px; font-size: 13px; }
.hero-slim { padding-bottom: 10px; }
.hero-slim .brand-hero { margin-bottom: 26px; }

/* ---------- pagina club: schede chiuse (logo + nome) ---------- */
.club-folds { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 40px 0; align-items: start; }
.club-fold { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); transition: background .15s, border-color .15s; }
.club-fold:hover { background: var(--panel2); }
.club-fold[open] { background: var(--panel2); border-color: rgba(255,255,255,.22); }
.club-fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 46px 12px 12px; position: relative; }
.club-fold summary::-webkit-details-marker { display: none; }
.club-fold summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--muted); }
.club-fold[open] summary::after { content: "–"; }
.cf-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #000; flex: none; border: 2px solid var(--line); }
.cf-name { display: flex; flex-direction: column; min-width: 0; }
.cf-name b { font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; color: var(--text); }
.cf-name small { color: var(--muted); font-size: 13px; margin-top: 3px; }
.cf-body { padding: 0 12px 14px; }
.cf-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); display: block; }
.cf-body .card-lineup { margin: 12px 2px; }

/* ---------- pagina Info: sezioni nella colonna, schede chiuse ---------- */
.info-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px; }
.info-tab { display: block; padding: 11px 14px; border-radius: 12px; color: var(--text); font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .01em; }
.info-tab:hover { background: var(--panel2); color: #fff; }
.info-tab.on { background: var(--panel2); color: #fff; box-shadow: inset 3px 0 0 var(--pink); }
.info-main { margin: 40px 0; }
/* 0.53.15 consenso ai cookie: banner, scelte per categoria, segnaposto dei contenuti esterni */
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: min(520px, calc(100% - 32px)); box-sizing: border-box; }
.cc[hidden] { display: none; }
.cc-in { padding: 18px 18px 16px; border-radius: var(--r-sm); background: #0d120a; color: #f4f4f6; border: 1px solid rgba(108,255,0,.45); box-shadow: 0 14px 40px rgba(0,0,0,.45); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; }
.cc-t { margin: 0 0 6px; font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 1; }
.cc-txt { margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.82); }
.cc-txt a { color: #6cff00; text-decoration: underline; }
.cc-cats { display: grid; gap: 8px; margin: 10px 0 4px; }
.cc-cats[hidden] { display: none; }
.cc-cat { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.06); cursor: pointer; }
.cc-cat input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: #6cff00; flex: none; }
.cc-cat span { display: flex; flex-direction: column; gap: 2px; }
.cc-cat b { font-size: 14px; } .cc-cat small { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.35; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cc-b { flex: 1 1 0; min-width: 110px; padding: 10px 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; font: 800 14px/1 var(--cond); font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.cc-b[hidden] { display: none; }
.cc-b:hover { border-color: #6cff00; }
/* "Reject all" e "Accept all" con lo stesso peso (indicazioni AEPD) */
.cc-b[data-cc="none"], .cc-b[data-cc="all"] { background: #6cff00; border-color: #6cff00; color: #0a1006; }
.foot-link { display: block; padding: 3px 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.foot-link:hover { text-decoration: underline; }
.cc-frame { position: relative; }
.cc-frame iframe:not([src]) { visibility: hidden; }
.cc-ph { position: absolute; inset: 0 0 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; border-radius: var(--r-sm); background: var(--panel2); border: 1px dashed var(--line); }
.cc-ph small { color: var(--muted); font-size: 12px; }
.cc-frame.is-on .cc-ph { display: none; }
@media (max-width: 760px) { .cc { left: 8px; right: 8px; width: auto; bottom: calc(92px + env(safe-area-inset-bottom)); } .cc-in { max-height: calc(100vh - 120px); padding: 14px 14px 12px; } .cc-b { min-width: 0; font-size: 13px; padding: 10px 8px; } }
/* 0.53.13 finestra "How it works" dalla home (Reserve from €5, Guaranteed tickets) */
.how-dlg { width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); box-sizing: border-box; padding: 24px 24px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--text); overflow: auto; }
.how-dlg::backdrop { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.how-dlg .sec { margin: 0 44px 16px 0; }
.how-dlg .how-steps { margin-bottom: 16px; }
.how-dlg-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.how-dlg-more { margin: 0; text-align: center; }
@media (max-width: 760px) { .how-dlg { padding: 18px 14px 16px; } .how-dlg .how-steps li > * { padding: 14px 8px 12px; } }
/* 0.53.12 How it works: i 4 passaggi della prenotazione */
.how-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.how-steps li > * { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px 12px 16px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.how-steps a { transition: border-color .15s, transform .15s; }
.how-steps a:hover { border-color: var(--pink); transform: translateY(-2px); }
.hs-ico { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--panel2); margin-bottom: 4px; }
.hs-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hs-ico i { position: absolute; top: -4px; left: -4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #0a1006; font: 900 15px/1 var(--cond); font-style: normal; }
.how-steps b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 19px; line-height: 1.05; text-transform: uppercase; }
.how-steps small { color: var(--muted); font-size: 13px; line-height: 1.35; }
@media (max-width: 760px) { .how-steps { grid-template-columns: repeat(2, 1fr); } .how-steps b { font-size: 17px; } }
.info-panel + .info-panel { margin-top: 40px; }
.info.js .info-panel + .info-panel { margin-top: 0; }
.info-panel[hidden] { display: none; }
.info-intro { color: #dcdce6; font-size: 17px; margin-bottom: 16px; }
.info-group { font-size: 22px; color: var(--cyan); margin: 26px 0 10px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; transition: background .15s, border-color .15s; }
.info-card:hover { background: var(--panel2); }
.info-card[open] { background: var(--panel2); border-color: rgba(255,255,255,.22); }
.info-card summary { list-style: none; cursor: pointer; position: relative; padding: 15px 50px 15px 18px; font-weight: 700; font-size: 16px; color: var(--text); }
.info-card summary::-webkit-details-marker { display: none; }
.info-card summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); }
.info-card[open] summary::after { content: "–"; }
.info-body { padding: 0 18px 16px; color: #dcdce6; font-size: 15px; }
.info-body p { margin: 0 0 10px; }
.info-body ul, .info-body ol { margin: 0 0 10px; padding-left: 22px; }
.info-body li { margin: 5px 0; }
.info-body a, .info-intro a { color: var(--cyan); text-decoration: underline; }
.info-contacts { list-style: none; padding: 0 !important; margin: 10px 0 18px; }
.info-contacts li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-contacts span { width: 90px; color: var(--muted); flex: none; }
@media (max-width: 980px) { .info .cols.side-left > .side { order: -1; margin-bottom: 0; } .info-nav { flex-direction: row; flex-wrap: wrap; } .info-tab { font-size: 15px; padding: 9px 12px; } .info-main { margin-top: 10px; } }

/* ---------- home: menu nella colonna, un riquadro alla volta ---------- */
.tab-panel[hidden] { display: none; }
.tab-panel { scroll-margin-top: 100px; }
@media (max-width: 980px) { .tab-panel { scroll-margin-top: 150px; } }
.home-tabs .tabs-main { margin: 40px 0; }
.home-tabs.js .home-panel > section:first-child { margin-top: 0; }
.home-panel .sec:first-child { margin-top: 0; }
.home-search .searchbar { margin-top: 6px; }
.home-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.home-cal-head .sec { margin: 0; }
.home-cal-head .sec a { color: var(--text); }
.home-cal-head .chip { font-size: 20px; padding: 6px 16px; border: 1px solid var(--line); }
.home-folds { margin: 10px 0 0; }
.home-outlets .outlet-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 14px 0; }
.home-outlets .outlet-list li a { background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; font-size: 15px; }
.home-outlets .outlet-list li a:hover { background: var(--panel2); }
.home-tabs:not(.js) .home-panel + .home-panel { margin-top: 40px; }

/* home: niente doppioni nella colonna quando il riquadro corrispondente è aperto */
.home-tabs .side-extra { display: flex; flex-direction: column; gap: 18px; }
.home-tabs[data-tab="calendar"] .side-extra .minical, .home-tabs[data-tab="outlets"] .side-extra .outlet-box { display: none; }

/* mobile: niente intestazione in home, menu delle schede come barra fissa sotto l'header (home e Info) */
@media (max-width: 980px) {
  .cols.side-left.home-tabs > .side, .info .cols.side-left > .side { order: -1; position: sticky; top: 74px; z-index: 50; margin: 10px 0 0; gap: 0; }
  .home-tabs .side-extra, .info .side > .outlet-box { display: none; }
  .home-tabs .info-nav, .info .info-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 5px; border-radius: 999px;
    background: rgba(14,14,20,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); scrollbar-width: none; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
  .home-tabs .info-nav::-webkit-scrollbar, .info .info-nav::-webkit-scrollbar { display: none; }
  .home-tabs .info-tab, .info .info-tab { flex: none; white-space: nowrap; border-radius: 999px; font-size: 15px; padding: 9px 14px; }
  .home-tabs .info-tab.on, .info .info-tab.on { background: #fff; color: #000; box-shadow: none; }
  /* 0.53.18: Info e Legal, schede su più righe invece della riga che scorre */
  .info .info-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .info .info-tab { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 6px; white-space: normal; text-align: center; font-size: 13.5px; line-height: 1.05; }
  /* tema chiaro: barra chiara (prima testo scuro su fondo scuro) */
  html[data-theme="light"] :is(.home-tabs, .info) .info-nav { background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(22,18,44,.14); border: 1px solid rgba(22,18,44,.10); }
  html[data-theme="light"] :is(.home-tabs, .info) .info-tab.on { background: #16151d; color: #fff; }
  .cols.side-left.home-tabs, .info .cols.side-left { gap: 0; grid-template-columns: minmax(0, 1fr); }
  .cols.side-left.home-tabs > *, .info .cols.side-left > * { min-width: 0; }
  .home-tabs .tabs-main, .info .info-main { margin-top: 22px; }
}
@media (max-width: 760px) {
  .hero-slim { display: none; }
}

/* home: icona e nome corto solo nella barra mobile */
.home-tabs .t-ico, .home-tabs .t-short { display: none; }


/* ---------- home: carosello top events ---------- */
.car { position: relative; margin-bottom: 34px; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 46%) 1fr; min-height: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); }
.car-slide:hover { color: var(--text); background: var(--panel2); }
.car-img { position: relative; background: linear-gradient(135deg, #1a1030, #0c2228); }
.car-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car-txt { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 26px; min-width: 0; }
.car-txt small { color: var(--cyan); font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 16px; text-transform: uppercase; }
.car-txt b { font-family: var(--cond); font-stretch: 70%; font-weight: 800; font-size: clamp(24px, 3vw, 38px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.car-club { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.car-club img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #000; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.car-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.25); cursor: pointer; transition: width .2s, background .2s; }
.car-dot.on { width: 26px; background: var(--pink); }

/* ---------- home: agenda compatta ---------- */
.agenda .sec { margin-bottom: 12px; }
.ag-day { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ag-date { display: flex; flex-direction: column; color: var(--text); line-height: 1.1; padding-top: 4px; }
.ag-date b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 20px; text-transform: uppercase; }
.ag-date span { color: var(--muted); font-size: 13px; }
.ag-day ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ag-day li a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 12px; color: var(--text); background: var(--panel2); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.ag-day li a:hover { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); color: #fff; }
.ag-day li img, .ag-day li .nologo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #000; flex: none; }
.ag-t { width: 46px; flex: none; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ag-n { display: flex; flex-direction: column; min-width: 0; }
.ag-n b { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-n small { color: var(--muted); font-size: 12px; text-transform: uppercase; }

/* ---------- menu "app" in fondo (solo mobile, tutte le pagine) ---------- */
.appbar { display: none; }
@media (max-width: 760px) {
  .foot { display: none; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .appbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 80; padding: 6px;
    background: rgba(14,14,20,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  .ab-i { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 2px; border-radius: 16px; color: var(--muted);
    font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 10.5px; letter-spacing: .01em; text-transform: uppercase; min-width: 0; }
  .ab-i span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ab-i svg { width: 22px; height: 22px; }
  .ab-i.on { background: var(--panel2); color: #fff; }
  .ab-i.on svg { stroke: var(--pink); }
  /* in home il menu laterale lascia il posto al menu in fondo */
  .cols.side-left.home-tabs > .side { display: none; }
  .home-tabs .tabs-main { margin-top: 14px; }
  .car-slide { grid-template-columns: minmax(0, 42%) 1fr; min-height: 150px; }
  .car-txt { padding: 14px 16px; gap: 5px; }
  .car-txt small { font-size: 13px; }
  .car-txt b { font-size: 22px; }
  .ag-day { grid-template-columns: 58px minmax(0, 1fr); gap: 6px; }
  .ag-date b { font-size: 15px; }
  .ag-day li a { gap: 10px; padding: 6px 6px; }
  .ag-t { width: 40px; }
}

/* ---------- home: fascia di benvenuto ---------- */
.bhero { position: relative; overflow: hidden; margin: 18px auto 0; width: calc(100% - 32px); max-width: 1400px; border-radius: 28px; min-height: 440px; display: flex; align-items: flex-end; isolation: isolate; }
.bh-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, #1a1030, #0c2228); }
.bh-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease; }
.bh-img.on { opacity: 1; transform: scale(1); }
.bhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,7,.92) 0%, rgba(5,5,7,.7) 45%, rgba(5,5,7,.15) 100%), linear-gradient(0deg, rgba(5,5,7,.85), transparent 55%); }
.bh-in { padding-top: 60px; padding-bottom: 44px; width: 100%; }
.bh-kicker { margin: 0 0 8px; color: var(--cyan); font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.bhero h1 { margin: 0 0 12px; font-size: clamp(40px, 6.4vw, 84px); font-stretch: 66%; max-width: 760px; }
.bh-lead { margin: 0 0 22px; max-width: 560px; font-size: 18px; color: #e4e4ec; }
.bh-points { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bh-points li { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 16px; background: rgba(14,14,20,.6); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bh-points b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.bh-points span { color: var(--muted); font-size: 13px; }
.bhero .hero-btns { justify-content: flex-start; align-items: center; margin: 0; }
.bh-more { color: #fff; font-weight: 700; padding: 0 8px; }
.bh-more:hover { color: var(--cyan); }
@media (max-width: 760px) {
  .bhero { margin: 10px auto 0; width: calc(100% - 16px); min-height: 0; border-radius: 22px; }
  .bhero::after { background: linear-gradient(0deg, rgba(5,5,7,.95) 10%, rgba(5,5,7,.55) 100%); }
  .bh-in { padding-top: 110px; padding-bottom: 22px; }
  .bh-kicker { font-size: 13px; }
  .bhero h1 { font-size: 40px; margin-bottom: 8px; }
  .bh-lead { font-size: 15px; margin-bottom: 14px; }
  .bh-points { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 16px; padding: 0 20px; gap: 8px; }
  .bh-points::-webkit-scrollbar { display: none; }
  .bh-points li { flex: none; padding: 8px 12px; }
  .bh-points b { font-size: 15px; }
  .bh-points span { font-size: 12px; }
  .bhero .hero-btns { gap: 8px; }
  .bhero .hero-btns .pill { padding: 10px 16px; font-size: 14px; }
  .bh-more { display: none; }
}

/* fascia di benvenuto: logo animato e una bubble alla volta (sostituiscono titolo e tre punti fissi) */
.bh-logo { margin: 0 0 18px; line-height: 0; }
.bh-logo img { width: clamp(150px, 15vw, 210px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 30px; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 60px rgba(0,0,0,.6), 0 0 70px color-mix(in srgb, var(--pink) 45%, transparent);
  animation: bh-in 1.1s cubic-bezier(.2,.8,.2,1.2) both, bh-glow 4s ease-in-out 1.2s infinite; }
@keyframes bh-in { 0% { opacity: 0; transform: scale(.6) rotate(-8deg); filter: blur(10px); } 70% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; } }
@keyframes bh-glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 60px rgba(0,0,0,.6), 0 0 50px color-mix(in srgb, var(--pink) 35%, transparent); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 18px 60px rgba(0,0,0,.6), 0 0 90px color-mix(in srgb, var(--cyan) 45%, transparent); } }
.bh-lead { animation: bh-up .8s ease .5s both; }
@keyframes bh-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bh-facts { list-style: none; margin: 0 0 24px; padding: 0; position: relative; height: 74px; max-width: 460px; animation: bh-up .8s ease .8s both; }
.bh-fact { position: absolute; inset: 0 auto 0 0; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px; border-radius: 20px;
  background: rgba(14,14,20,.66); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.bh-fact.on { opacity: 1; transform: none; }
.bh-fact svg { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--pink); stroke: #fff; flex: none; }
.bh-fact span { display: flex; flex-direction: column; }
.bh-fact b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.bh-fact small { color: #d8d8e2; font-size: 14px; }
.bhero .hero-btns { animation: bh-up .8s ease 1s both; }
@media (max-width: 760px) {
  .bh-in { padding-top: 26px; }
  .bh-logo { margin-bottom: 12px; }
  .bh-logo img { width: 112px; border-radius: 22px; }
  .bh-facts { height: 64px; margin-bottom: 16px; }
  .bh-fact { padding: 10px 16px 10px 10px; gap: 10px; }
  .bh-fact svg { width: 36px; height: 36px; padding: 8px; }
  .bh-fact b { font-size: 19px; }
  .bh-fact small { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .bh-logo img, .bh-lead, .bh-facts, .bhero .hero-btns { animation: none; }
  .bh-img { transition: none; }
}

/* fascia di benvenuto: marchio (equalizzatore + scritta) al centro, al posto del logo nel riquadro */
.bhero { justify-content: center; }
.bhero::after { background: radial-gradient(ellipse at 50% 45%, rgba(5,5,7,.55), rgba(5,5,7,.88) 75%), linear-gradient(0deg, rgba(5,5,7,.8), transparent 50%); }
.bhero .bh-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bh-brand { display: inline-flex; flex-direction: column; align-items: stretch; gap: 14px; margin: 0 0 20px; --seg: 9px; }
.bh-eq { display: flex; align-items: flex-end; gap: 7px; height: calc(9 * var(--seg)); }
.bh-eq i { flex: 1; height: calc(var(--n) * var(--seg)); transform-origin: bottom;
  background: repeating-linear-gradient(to top, hsl(var(--h) 90% 60%) 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg));
  filter: drop-shadow(0 0 6px hsl(var(--h) 90% 55% / .55));
  animation: eq-in .7s cubic-bezier(.2,.8,.2,1.1) var(--d) both, eq-play 1.8s steps(3, end) calc(1.3s + var(--d)) infinite alternate; }
.bh-eq i:nth-child(odd) { animation-duration: .7s, 1.3s; }
.bh-eq i:nth-child(3n) { animation-duration: .7s, 2.2s; }
@keyframes eq-in { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes eq-play { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(34% 0 0 0); } }
.bh-wm { font-family: var(--cond); font-stretch: 66%; font-weight: 800; font-size: clamp(46px, 7.2vw, 104px); line-height: .9; text-transform: uppercase; letter-spacing: -.005em; color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,.6); animation: bh-up .8s ease .7s both; white-space: nowrap; }
.bh-lead { margin-left: auto; margin-right: auto; }
.bh-facts { width: 100%; max-width: 420px; display: flex; justify-content: center; }
.bh-fact { left: 50%; right: auto; transform: translate(-50%, 14px) scale(.97); white-space: nowrap; }
.bh-fact.on { transform: translate(-50%, 0); }
.bhero .hero-btns { justify-content: center; }
@media (max-width: 760px) {
  .bh-in { padding-top: 34px; }
  .bh-brand { --seg: 5px; gap: 9px; margin-bottom: 14px; }
  .bh-eq { gap: 4px; }
  .bh-wm { font-size: clamp(30px, 12.4vw, 56px); }
}
@media (prefers-reduced-motion: reduce) { .bh-eq i, .bh-wm { animation: none; } }

/* ---------- sfondo: cielo che cambia con l'ora (variabili impostate da sky_script; valori di base = notte) ---------- */
:root { --sky-top: #05040d; --sky-mid: #0d0822; --sky-low: #1a0d3a; --sky-glow: rgba(120,60,200,.22); }
body.sky {
  background:
    radial-gradient(1300px 560px at 50% 112%, var(--sky-glow), transparent 70%),
    radial-gradient(900px 500px at 50% -15%, rgba(255,255,255,.035), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 58%, var(--sky-low) 100%);
  background-color: var(--sky-top); background-attachment: fixed;
}

/* ---------- marchio affinato: barre sottili e ariose, sfumatura continua che svanisce verso l'alto, scritta con riflesso ---------- */
.bh-brand { gap: 16px; --seg: 8px; }
.bh-eq { gap: 11px; padding: 0 4px; }
.bh-eq i { filter: none;
  background: linear-gradient(to top, var(--c) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 30%, transparent) 100%);
  -webkit-mask: repeating-linear-gradient(to top, #000 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg));
          mask: repeating-linear-gradient(to top, #000 0 calc(var(--seg) - 3px), transparent calc(var(--seg) - 3px) var(--seg)); }
.bh-wm { font-size: clamp(44px, 6.6vw, 96px); letter-spacing: .012em; text-shadow: none;
  background: linear-gradient(180deg, #ffffff 30%, #ffe3f1 62%, #ffc89a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.bh-brand::after { content: ""; display: block; height: 2px; margin: 2px auto 0; width: 38%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f26a7f, #f9a24b, transparent); opacity: .85; animation: bh-up .8s ease 1s both; }
@media (max-width: 760px) {
  .bh-brand { --seg: 5px; gap: 10px; }
  .bh-eq { gap: 6px; }
}

/* ---------- home su mobile: solo presentazione (marchio sul cielo, sotto le foto con le bubble, poi la frase) ---------- */
.bh-mono { display: none; }
.bh-wm > span { display: inline; }
@media (max-width: 760px) {
  .bhero { display: flex; flex-direction: column; align-items: stretch; overflow: visible; background: none; border-radius: 0; margin: 0 auto; width: calc(100% - 16px); }
  .bhero::after { display: none; }
  .bhero .bh-in { display: contents; }
  .bh-brand { order: 1; align-self: center; margin: 26px 0 18px !important; }
  .bh-bg { order: 2; position: relative; inset: auto; z-index: 0; height: 62vw; max-height: 330px; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
  .bh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,7,.65), transparent 55%); }
  .bh-facts { order: 3; margin: -46px auto 18px; z-index: 1; position: relative; }
  .bh-lead { order: 4; text-align: center; padding: 0 12px; margin: 0 auto 10px !important; font-size: 16px; }
  .bhero .hero-btns { display: none; }
}

/* ---------- mobile: marchio a cavallo del bordo alto delle foto, foto sfumata sotto il marchio ---------- */
@media (max-width: 760px) {
  .bh-brand { position: relative; z-index: 2; margin: 112px 0 -100px !important; }
  .bh-bg::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(8,6,20,.92) 0%, rgba(8,6,20,.7) 36%, transparent 66%); }
}

/* ---------- prova stile GTA VI (solo con ?look=gta): scritta bianca bordata di nero, elementi a tema ---------- */
.look-gta { --g1: #ffd76a; --g2: #ff9a4d; --g3: #ff4f8b; --g4: #b44cff; --g5: #4b2a8c; }
.look-gta .bh-brand::after { display: none; }
.look-gta .bh-wm { font-stretch: 66%; font-weight: 800; letter-spacing: .01em; text-transform: uppercase;
  background: none; color: #fff; -webkit-text-fill-color: #fff; filter: none;
  -webkit-text-stroke: .11em #000; paint-order: stroke fill;
  text-shadow: .04em .055em 0 #000, 0 .12em .4em rgba(0,0,0,.45); }
.look-gta .bh-brand { gap: 18px; }
.look-gta::after { background: linear-gradient(180deg, rgba(75,42,140,.45) 0%, rgba(108,255,0,.28) 55%, rgba(255,154,77,.4) 100%), radial-gradient(ellipse at 50% 45%, rgba(5,5,7,.2), rgba(5,5,7,.7) 80%); }
.look-gta .bh-img { filter: saturate(1.25) hue-rotate(-12deg); }
.look-gta .bh-lead { color: #ffe9f2; font-weight: 600; }
.look-gta .bh-fact { background: rgba(30,12,50,.66); border-color: rgba(255,154,200,.25); }
.look-gta .bh-fact svg { background: linear-gradient(135deg, var(--g2), var(--g3) 55%, var(--g4)); }
.look-gta .pill-solid { background: linear-gradient(90deg, var(--g2), var(--g3)); border-color: transparent; }

/* elementi a tema nello sfondo di tutta la pagina (fissi, dietro ai contenuti) */
.gta-decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gta-decor svg { stroke: none; }
.gta-palm { position: absolute; bottom: -4vh; display: block; transform-origin: 50% 100%; animation: gta-sway 7s ease-in-out infinite alternate; opacity: .9; }
.gta-palm svg { width: 100%; height: auto; fill: #0d0418; display: block; filter: drop-shadow(0 0 26px rgba(108,255,0,.22)); }
.gta-palm--l { left: -4vw; width: 26vw; max-width: 420px; }
.gta-palm--l2 { left: 11vw; width: 14vw; max-width: 230px; bottom: -8vh; opacity: .7; animation-duration: 9s; animation-delay: -3s; }
.gta-palm--r { right: -5vw; width: 30vw; max-width: 480px; transform: scaleX(-1); animation-name: gta-sway-r; animation-duration: 8s; }
@keyframes gta-sway { from { transform: rotate(-1.5deg); } to { transform: rotate(1.8deg); } }
@keyframes gta-sway-r { from { transform: scaleX(-1) rotate(-1.5deg); } to { transform: scaleX(-1) rotate(1.8deg); } }
.gta-ball { position: absolute; top: 0; left: 50%; width: 22vw; max-width: 340px; min-width: 150px; margin-left: calc(min(max(22vw, 150px), 340px) / -2);
  display: block; transform-origin: 50% 0; animation: gta-swing 9s ease-in-out infinite alternate; opacity: .9; }
.gta-ball svg { width: 100%; height: auto; display: block; fill: #0d0418; filter: drop-shadow(0 0 30px rgba(108,255,0,.22)); }
@keyframes gta-swing { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
.gta-spark { position: absolute; width: 16px; display: block; animation: gta-twinkle 2.4s ease-in-out infinite; }
.gta-spark svg { width: 100%; height: auto; fill: #fff; display: block; filter: drop-shadow(0 0 6px #ffd6f0); }
.gta-spark.s1 { top: 22%; left: 4%; } .gta-spark.s2 { top: 38%; right: 3%; width: 12px; animation-delay: -.8s; }
.gta-spark.s3 { top: 14%; right: 18%; width: 10px; animation-delay: -1.5s; } .gta-spark.s4 { top: 58%; left: 2.5%; width: 9px; animation-delay: -2s; }
@keyframes gta-twinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@media (max-width: 760px) {
  .look-gta .bh-brand { margin-bottom: -100px !important; }
  .gta-palm--l { width: 46vw; bottom: 8vh; } .gta-palm--l2 { display: none; } .gta-palm--r { width: 52vw; bottom: 6vh; }
  .gta-ball { width: 44vw; margin-left: -22vw; }
  .look-gta .bh-bg::after { background: linear-gradient(180deg, rgba(75,42,140,.3), rgba(108,255,0,.22) 55%, rgba(5,5,7,.7)); }
}
@media (prefers-reduced-motion: reduce) { .gta-palm, .gta-ball, .gta-spark { animation: none; } }

/* ---------- desktop: stessa disposizione del mobile (marchio sul cielo a cavallo della foto, foto a riquadro, bubble sul bordo) ---------- */
@media (min-width: 761px) {
  .bhero { display: flex; flex-direction: column; align-items: center; overflow: visible; background: none; border-radius: 0; min-height: 0; width: calc(100% - 32px); max-width: 1200px; }
  .bhero::after { display: none; }
  .bhero .bh-in { display: contents; }
  .bh-brand { order: 1; position: relative; z-index: 2; align-self: center; margin: 150px 0 -118px !important; }
  .bh-bg { order: 2; position: relative; inset: auto; z-index: 0; width: 100%; height: clamp(360px, 34vw, 460px); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
  .bh-bg::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(8,6,20,.9) 0%, rgba(8,6,20,.6) 34%, transparent 62%); }
  .bh-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,5,7,.6), transparent 45%); }
  .look-gta .bh-bg::after { background: linear-gradient(180deg, rgba(75,42,140,.3), rgba(108,255,0,.2) 55%, rgba(5,5,7,.65)); }
  .bh-facts { order: 3; margin: -40px auto 22px; z-index: 3; position: relative; }
  .bh-lead { order: 4; text-align: center; margin: 0 auto 20px !important; }
  .bhero .hero-btns { order: 5; justify-content: center; margin: 0 0 10px; }
}

/* ---------- desktop: in alto solo il marchio centrato; la vetrina è il riquadro iniziale della colonna larga ---------- */
@media (min-width: 761px) {
  .bhero:not(.bhero--panel) .bh-bg, .bhero:not(.bhero--panel) .bh-facts, .bhero:not(.bhero--panel) .bh-lead, .bhero:not(.bhero--panel) .hero-btns { display: none; }
  .bhero:not(.bhero--panel) .bh-brand { margin: 22px 0 4px !important; }
  .bhero--panel { width: 100%; max-width: none; margin: 0; }
  .bhero--panel .bh-bg { height: clamp(300px, 26vw, 400px); }
  .bhero--panel .bh-bg::before { display: none; }
  .bhero--panel .bh-facts { margin-top: -40px; }
  .home-tabs .home-intro { padding-top: 0; }
}
/* riquadri della home allineati in cima alla colonna laterale */
.home-tabs .tab-panel { margin-top: 0; }

/* ---------- mobile: il menu in fondo cambia riquadro nella home (Home = presentazione; gli altri la sostituiscono) ---------- */
@media (max-width: 760px) {
  .home-tabs .home-intro { display: none !important; }
  html:not([data-home-tab]) .home-tabs, html[data-home-tab="intro"] .home-tabs { display: none; }
  html[data-home-tab]:not([data-home-tab="intro"]) .bhero:not(.bhero--panel) { display: none; }
  html[data-home-tab]:not([data-home-tab="intro"]) .home-tabs .tabs-main { margin-top: 18px; }
  .home-info .wrap.info { padding: 0; }
  .home-info .page-title { margin-top: 0; }
}

/* ---------- carrello ---------- */
.top-cart { position: relative; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); flex: none; }
.top-cart:hover { background: var(--panel2); color: #fff; }
.srch-t:checked ~ .top-cart { display: none !important; }
.cart-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff;
  font: 800 11px/18px "Archivo", system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px #0e0e14; }
.cart-n[hidden] { display: none; }
.ab-cart { position: relative; }
.ab-cart .cart-n { top: 0; right: calc(50% - 22px); }
@media (max-width: 760px) { .top-cart { margin-left: auto; } .top-cart + .top-search { margin-left: 0; } }

.cart-toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 140%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 12px 14px 12px 20px; border-radius: 20px;
  background: rgba(20,12,34,.96); border: 1px solid rgba(255,154,200,.3); box-shadow: 0 18px 50px rgba(0,0,0,.55); max-width: calc(100% - 24px); }
.cart-toast.on { transform: translate(-50%, 0); opacity: 1; }
.cart-toast span { display: flex; gap: 8px; }
@media (max-width: 760px) { .cart-toast { bottom: calc(96px + env(safe-area-inset-bottom)); } }

.cart-page { max-width: 860px; }
.cart-group { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px 10px; margin-bottom: 14px; }
.cg-head { padding: 12px 0 8px; border-bottom: 1px solid var(--line); }
.cg-head a { color: var(--text); }
.cg-head b { font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 22px; text-transform: uppercase; display: block; line-height: 1.1; }
.cg-head small { color: var(--muted); font-size: 13px; }
.cg-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 80px 36px; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cg-row:last-child { border-bottom: 0; }
.cg-t { font-weight: 700; } .cg-t small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.cg-row select { background: var(--panel2); color: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; font: inherit; }
.cg-p { text-align: right; font-weight: 700; }
.cg-p b { display: block; font-size: 17px; }
.cg-p small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); white-space: nowrap; }
.cg-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.cg-x:hover { color: #fff; border-color: #fff; }
.cart-tot { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 6px 4px 12px; font-size: 17px; }
.cart-tot p { margin: 0; }
.cart-tot small { color: var(--muted); font-size: 13px; }
.cart-tot b { font-size: 20px; }
.cart-go { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.checkout-group { margin-bottom: 8px; }
.cart-total th { font-size: 16px; }
.cart-toast .pill { white-space: nowrap; }
@media (max-width: 760px) { .cart-toast { gap: 10px; padding: 10px 12px; } .cart-toast b { width: 100%; text-align: center; } }

/* fasce di prezzo sulla pagina della serata */
.event-tiers { margin: 18px 0; }
.event-tiers h2 { font-size: 22px; margin: 0 0 8px; }
.event-tiers ul, .tiers-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.event-tiers li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.event-tiers li:last-child { border-bottom: 0; }
.event-tiers b { white-space: nowrap; }
/* release passate: visibili ma non acquistabili (0.53.3) */
.event-tiers li.t-sold, .offer-sold { opacity: .55; }
.event-tiers li.t-sold s, .offer-sold s { text-decoration-thickness: 2px; }
.sold-tag { font-style: normal; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; }
.offer-sold .offer-qty { display: flex; align-items: center; justify-content: flex-end; }

/* pagamento intero su piattaforma referral (prezzo garantito) */
.offer-ref { border-color: rgba(255,154,77,.45) !important; background: linear-gradient(90deg, rgba(255,154,77,.12), rgba(108,255,0,.08)) !important; }
.offer-ref .pill { white-space: nowrap; align-self: center; }
.ticket-note { font-size: 13px; margin: 8px 2px 0; }
.cg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cg-ref { font-size: 13px; font-weight: 700; color: #ffb37a; border: 1px solid rgba(255,154,77,.5); border-radius: 99px; padding: 6px 12px; white-space: nowrap; }
.cg-ref:hover { color: #fff; border-color: #fff; }
.offer.offer-ref { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; border: 1px solid rgba(255,154,77,.45); border-radius: var(--r-sm); margin-bottom: 12px; }
@media (max-width: 600px) { .offer.offer-ref { grid-template-columns: 1fr; } .offer-ref .pill { white-space: normal; text-align: center; justify-self: stretch; } }
.tickets-box form + .offer-ref { margin: 18px 0 0; }

.tickets-box .event-tiers { margin: 0 0 14px; }
.event-btns .pill:only-child { flex: 0 0 auto; }
.preview-why { margin: 14px 0; padding: 10px 14px; border-radius: 12px; background: #ffd21f; color: #000; font-size: 14px; }

/* ---------- lingua (selettore nell'header) ---------- */
.lang-sw { position: relative; flex: none; }
.lang-sw summary { list-style: none; height: 44px; padding: 0 10px; border-radius: 999px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text);
  font: 800 13px/1 "Archivo", system-ui, sans-serif; letter-spacing: .04em; }
.lang-sw summary::-webkit-details-marker { display: none; }
.lang-sw summary:hover, .lang-sw[open] summary { background: var(--panel2); color: #fff; }
.lang-sw svg { width: 18px; height: 18px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; min-width: 180px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(14,14,20,.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--text);
  font: 600 15px/1.2 "Archivo", system-ui, sans-serif; text-align: left; cursor: pointer; }
.lang-menu button b { width: 26px; color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.lang-menu button:hover { background: var(--panel2); color: #fff; }
.lang-menu button.on { color: #fff; box-shadow: inset 2px 0 0 var(--accent); }
.lang-menu button.on b { color: var(--accent); }
.srch-t:checked ~ .lang-sw { display: none !important; }
@media (max-width: 760px) {
  .lang-sw { margin-left: auto; } .lang-sw + .top-cart { margin-left: 0; }
  .lang-sw summary { padding: 0 8px; } .lang-sw summary b { display: none; }
}

/* bandiere nel selettore lingua */
.lang-flag { width: 24px; height: 16px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.lang-flag svg { width: 100%; height: 100%; display: block; stroke: none; fill: initial; }
.lang-menu button.on .lang-flag { box-shadow: 0 0 0 2px var(--accent, #6cff00); }
@media (max-width: 760px) { .lang-sw .lang-menu { position: fixed; top: 80px; right: 12px; left: auto; } }

/* serata esaurita */
.event-soldout { display: inline-block; margin: 14px 0 4px; padding: 10px 22px; border-radius: 999px; background: #c8102e; color: #fff; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.pill.pill-soldout { background: #c8102e; border-color: #c8102e; color: #fff; }

/* pagina club: serate in elenco compatto per mese */
.ca-month { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); margin: 0 0 10px; overflow: hidden; }
.ca-month > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.ca-month > summary::-webkit-details-marker { display: none; }
.ca-month > summary b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 20px; text-transform: uppercase; }
.ca-month > summary span { color: var(--muted); font-size: 13px; }
.ca-month > summary::after { content: "+"; color: var(--muted); font-size: 20px; margin-left: 12px; }
.ca-month[open] > summary::after { content: "−"; }
.ca-list { list-style: none; margin: 0; padding: 0 6px 6px; }
.ca-list li a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; color: var(--text); border-top: 1px solid var(--line); }
.ca-list li:first-child a { border-top-color: transparent; }
.ca-list li a:hover { background: var(--panel2); color: #fff; }
.ca-date { width: 54px; flex: none; display: flex; flex-direction: column; line-height: 1.1; }
.ca-date b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 17px; text-transform: uppercase; }
.ca-date span { color: var(--muted); font-size: 12px; }
.ca-list img, .ca-noimg { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: none; background: #000; }
.ca-n { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ca-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.ca-n small { color: var(--muted); font-size: 12px; }
.ca-tag { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.ca-tag.ca-sold { background: #c8102e; border-color: #c8102e; color: #fff; }
@media (max-width: 560px) { .ca-list img, .ca-noimg { width: 36px; height: 36px; } .ca-list li a { gap: 9px; padding: 7px 6px; } .ca-date { width: 44px; } }

/* pulsante Indietro (tutte le pagine tranne la home) */
.back-wrap { padding-top: 24px; }
.back-wrap + .club-hero { margin-top: 14px; }
.back-btn span { font-size: 1.3em; line-height: 0; margin-right: 2px; }
.back-btn[hidden] { display: none; }
@media (max-width: 760px) { .back-wrap { padding-top: 14px; } }

/* mobile: equalizzatore più alto (doppie tacche), così il marchio esce sopra il carosello e non resta chiuso nella foto */
@media (max-width: 760px) {
  .bh-eq { height: calc(18 * var(--seg)); }
  .bh-eq i { height: calc(var(--n) * 2 * var(--seg)); }
  .bh-brand { margin-top: 84px !important; }
}
/* ombra scura dietro al marchio (equalizzatore e scritta), perché non si confonda col cielo, soprattutto di giorno */
@media (max-width: 760px) {
  .bh-brand::before { content: ""; position: absolute; left: -22px; right: -22px; top: -26px; bottom: 30px; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 60% 62% at 50% 58%, rgba(8,4,22,.72), rgba(8,4,22,.38) 55%, transparent 78%); }
  .bh-eq i { filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)) drop-shadow(0 0 6px hsl(var(--h) 90% 55% / .45)); }
}

/* di giorno il cielo è chiaro e pieno di elementi: riquadri e schede più coprenti, testi con un'ombra leggera */
/* schede e riquadri sempre coprenti, di più quando il cielo è chiaro (--day: 0 notte … 1 giorno) */
:root { --panel: rgba(18,15,46,calc(.6 + .2 * var(--day, 0))); --panel2: rgba(32,27,78,calc(.7 + .18 * var(--day, 0))); }
html[data-phase="day"] main { text-shadow: 0 1px 10px rgba(8,10,40,.55); }
html[data-phase="day"] main .pill, html[data-phase="day"] main input, html[data-phase="day"] main select { text-shadow: none; }

/* pagina evento: intestazione e line-up in schede coprenti, "More at" in fondo */
.ev-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 0 0 16px; }
.ev-card > :last-child { margin-bottom: 0; }
.ev-head h1 { margin-top: 0; }
.lineup-box.ev-card { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 0; }
.lineup-box.ev-card h2 { margin-top: 0; }
.event-more { margin: 30px 0 10px; text-align: center; }
@media (max-width: 560px) { .ev-card { padding: 18px 16px; } }

/* mobile: schede serata compatte in riga (miniatura, ora, titolo, club, prezzo) per gli elenchi lunghi */
@media (max-width: 560px) {
  .grid, .grid-sm { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .grid .card { flex-direction: row; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; }
  .grid .card:hover { transform: none; }
  .grid .card-img { width: 76px; flex: none; border-radius: 12px; }
  .grid .card-img .tag { display: none; }
  .grid .card-img .ph-in b { display: none; }
  .grid .card-img .ph-in img { width: 40px; height: 40px; }
  .grid .card-body { padding: 0; min-width: 0; }
  .grid .card-date { font-size: 12px; margin: 0 0 2px; }
  .grid .card h3, .grid-sm .card h3 { font-size: 17px; line-height: 1.1; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .grid .card-club { font-size: 11px; margin: 0; gap: 6px; }
  .grid .card-club img { width: 16px; height: 16px; }
  .grid .card-lineup { display: none; }
  .grid .card .pill, .grid-sm .card .pill { display: inline-flex; align-self: flex-start; margin-top: 6px; padding: 4px 10px; font-size: 12px; }
}

/* header mobile: niente menu né carrello (ci sono la barra in basso e il footer); al centro la ricerca, a destra la lingua */
.ts-l { display: none; }
@media (max-width: 760px) {
  .nav-b, .top-cart { display: none !important; }
  .top-in { gap: 8px; }
  .top-search { order: 1; flex: 1; width: auto; margin: 0; justify-content: space-between; gap: 10px; padding: 0 14px 0 18px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--muted); }
  .top-search .ts-l { display: inline; font-size: 15px; }
  .top-search svg { color: #fff; }
  .top-sform { order: 1; }
  .lang-sw { order: 2; margin-left: 0; }
}

/* home mobile: presentazione più in alto e, sotto, il carosello degli eventi top (riquadro "parties") */
@media (max-width: 760px) {
  .look-gta .bh-brand, .bh-brand { margin-top: 30px !important; }
  html:not([data-home-tab]) .home-tabs, html[data-home-tab="intro"] .home-tabs { display: grid; }
  html:not([data-home-tab]) .home-tabs .tab-panel, html[data-home-tab="intro"] .home-tabs .tab-panel { display: none !important; }
  html:not([data-home-tab]) .home-tabs .home-parties, html[data-home-tab="intro"] .home-tabs .home-parties { display: block !important; }
  html:not([data-home-tab]) .home-tabs .tabs-main, html[data-home-tab="intro"] .home-tabs .tabs-main { margin: 8px 0 24px; }
}

/* home mobile, più compatta: equalizzatore attaccato all'header, foto più bassa con la bubble subito sotto la scritta,
   niente frase (le bubble raccontano già), carosello eventi top a righe compatte come il calendario */
@media (max-width: 760px) {
  .look-gta .bh-brand, .bh-brand { margin-top: 0 !important; }
  .bh-bg { height: 46vw; max-height: 240px; }
  .bh-facts { margin: -40px auto 14px; }
  .bh-lead { display: none; }
  .car-track { border-radius: 16px; }
  .car-slide { grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 0; padding: 8px; border-radius: 16px; }
  .car-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; }
  .car-txt { padding: 0; gap: 3px; }
  .car-txt small { font-size: 12px; }
  .car-txt b { font-size: 17px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .car-club { font-size: 11px; gap: 6px; }
  .car-club img { width: 16px; height: 16px; }
  .car-dots { margin-top: 8px; }
}

/* home: il carosello "Recommended" sta sempre sotto la vetrina iniziale (nessuna voce nel menu), un po' più basso */
.home-tabs[data-tab="intro"] .home-parties, .home-tabs:not(.js) .home-parties { display: block !important; }
.home-tabs .home-parties { margin-top: 28px; }
.home-parties .sec { margin: 0 0 12px; }
@media (min-width: 761px) { .home-parties .car-slide { min-height: 170px; grid-template-columns: minmax(0, 34%) 1fr; } .home-parties .car-txt b { font-size: clamp(22px, 2.4vw, 32px); } }
@media (max-width: 760px) { .home-tabs .home-parties { margin-top: 0; } .home-parties .sec { font-size: 22px; margin-bottom: 8px; } }
.home-parties .sec + .car { margin-top: 0; }

/* vetrina: marchio più piccolo del 25%; su desktop la bubble sta sopra la foto (niente frase né pulsanti sotto) */
.bh-brand { zoom: .75; }
@media (min-width: 761px) {
  .bhero--panel .bh-facts { margin: -96px auto 0; }
  .home-tabs .home-parties { margin-top: 26px; }
}

/* home: titolo con il pulsante che alterna Recommended / Upcoming parties; vetrina più bassa (foto ritagliate) */
.rec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.rec-head .sec { margin: 0; }
.home-parties .rv-up, .home-parties.up .rv-rec, .home-parties .rec-sw--back, .home-parties.up .rec-sw:not(.rec-sw--back) { display: none; }
.home-parties.up .rv-up { display: block; }
.home-parties.up .rec-sw--back { display: inline-flex; }
.home-parties .rv-up .agenda { margin: 0; }
.home-tabs .home-parties .rv-rec .car { margin-top: 0; }
@media (min-width: 761px) { .bhero--panel .bh-bg { height: clamp(220px, 19vw, 290px); } }
@media (max-width: 760px) { .rec-head .sec { font-size: 22px; } .rec-head .pill { font-size: 12px; padding: 7px 12px; } }

/* ---------- pagina evento: prezzo e pulsante subito, barra fissa su telefono, quantità − +, riga di fiducia ---------- */
.ev-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 0 6px; padding: 14px 16px; border-radius: 16px;
  background: rgba(108,255,0,.14); border: 1px solid rgba(108,255,0,.45); }
.eb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eb-txt b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; color: #fff; }
.eb-txt small { color: #e2dcea; font-size: 13px; }
.ev-buy .pill { flex: none; padding: 13px 26px; font-size: 16px; }
.buybar { display: none; }
@media (max-width: 760px) {
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 79; left: 8px; right: 8px;
    bottom: calc(92px + env(safe-area-inset-bottom)); padding: 10px 10px 10px 16px; border-radius: 18px;
    background: rgba(20,12,36,.96); border: 1px solid rgba(108,255,0,.55); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
  .buybar .eb-txt b { font-size: 19px; } .buybar .eb-txt small { font-size: 11.5px; }
  .buybar .pill { flex: none; padding: 11px 18px; font-size: 15px; }
  body:has(.buybar) main { padding-bottom: 90px; }
  .ev-buy .pill { flex: 1 1 100%; }
}
.offer-qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(0,0,0,.35); }
.offer-qty input { width: 44px; text-align: center; background: transparent; border: 0; color: #fff; font: 700 18px/1 var(--cond); padding: 10px 0; -moz-appearance: textfield; appearance: textfield; }
.offer-qty input::-webkit-outer-spin-button, .offer-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-b { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: #fff; font: 600 22px/1 system-ui, sans-serif; cursor: pointer; }
.qty-b:hover { background: rgba(255,255,255,.12); }
.tickets-go { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.tg-sum { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 22px; color: #fff; }
.trust { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #e2dcea; }
.trust svg { width: 16px; height: 16px; stroke: #3ddc97; stroke-width: 3; }
@media (max-width: 600px) { .tickets-go .pill { flex: 1 1 100%; } .tickets-go { justify-content: space-between; } }
/* prezzo negli elenchi e nel carosello */
.car-price, .ag-p { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,210,31,.55); color: var(--yellow); white-space: nowrap; }
.ag-p { align-self: center; margin-left: auto; flex: none; }
.car-price.is-sold, .ag-p.is-sold { background: #c8102e; border-color: #c8102e; color: #fff; }
@media (max-width: 760px) { .car-price { font-size: 11px; padding: 2px 8px; margin-top: 2px; } .ag-p { font-size: 11px; padding: 2px 8px; } }
.tg-sum i { font-style: normal; color: var(--muted); margin-right: 6px; } .tg-sum b { font-weight: 800; }
@media (max-width: 760px) { .buybar { transition: transform .25s ease, opacity .25s ease; } .buybar.off { transform: translateY(24px); opacity: 0; pointer-events: none; } }

/* ---------- sfondo sobrio (0.38): cielo notturno fermo, niente decorazioni ---------- */
:root { --sky-glow: rgba(120,60,200,.12); }
body.sky { color-scheme: dark; }

/* ---------- home: "When are you in Ibiza?" al posto del marchio grande ---------- */
.when { display: grid; gap: 14px; padding: 22px 24px; border-radius: var(--r); background: var(--panel2); border: 1px solid var(--line); }
.when-h { margin: 0; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; text-transform: uppercase; }
.when-go { display: flex; flex-wrap: wrap; gap: 8px; }
.when-c { padding: 10px 18px; font-size: 15px; font-weight: 700; }
.when-f { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.when-f label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.when-f input { background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; color-scheme: dark; }
.when-f .pill { padding: 12px 22px; }
.when .trust { margin: 2px 0 0; }
.when-top { display: none; }
.range-day + .range-day { margin-top: 26px; }
@media (max-width: 760px) {
  .when-top { display: block; margin-top: 12px; }
  html[data-home-tab]:not([data-home-tab="intro"]) .when-top { display: none; }
  .when { padding: 18px 16px; gap: 12px; }
  .when-h { font-size: 26px; }
  .when-go .when-c { flex: 1 1 auto; text-align: center; }
  .when-f label { flex: 1 1 40%; } .when-f input { width: 100%; }
  .when-f .pill { flex: 1 1 100%; }
  .home-tabs .home-parties { margin-top: 18px; }
}
@media (min-width: 761px) { .home-tabs .home-intro .when { margin-bottom: 0; } }
.when-c { border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; }
.when-c:hover { background: #fff; color: #000; border-color: #fff; }
.when-f label { min-width: 0; } .when-f input { min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .when-f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .when-f .pill { grid-column: 1 / -1; }
  .when-go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .when-go .when-c { padding: 10px 6px; font-size: 13px; }
  .home-tabs .tabs-main { margin-top: 0; }
}
.when-c { justify-content: center; text-align: center; }
@media (max-width: 760px) { .home-tabs .home-parties { margin-top: 0; } .when-top + .home-tabs { margin-top: -10px; } }
.range-day .sec { font-size: 22px; margin: 0 0 10px; } .range-day .sec a { color: inherit; }

/* nome accanto al logo nell'header (desktop): il marchio si vede senza essere invadente */
.brand, .idtpv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-wm { display: flex; flex-direction: column; line-height: 1; color: #fff; }
.brand-wm b { font-family: "Archivo", "Arial Narrow", system-ui, sans-serif; font-stretch: 75%; font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.brand-wm small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6cff00; margin-top: 3px; }
@media (max-width: 1180px) { .brand-wm { display: none; } }
.range-list { margin-top: 0; }

/* pulsante WhatsApp flottante in basso a destra (sopra il menu in fondo e la barra d'acquisto su telefono) */
.wa-float { position: fixed; z-index: 1090; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px 0 14px; border-radius: 999px; background: #25d366; color: #fff !important;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.4); transition: transform .15s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; stroke: none; flex: none; }
@media (max-width: 760px) {
  .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; right: 12px; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .wa-float span { display: none; }
  body:has(.buybar:not(.off)) .wa-float { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
}

/* telefono: WhatsApp nel menu in fondo (al posto di Home), niente pulsante flottante */
.ab-wa .wa-ico { width: 23px; height: 23px; fill: #25d366; stroke: none; }
.ab-wa span { color: #7ee3a6; }
@media (max-width: 760px) { .wa-float { display: none !important; } }

/* ---------- home: apertura compatta (presentazione breve + date in un solo campo) ---------- */
.when { gap: 10px; padding: 26px 28px 22px; }
.when-eye { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.when-h { font-size: clamp(30px, 3.6vw, 46px); line-height: 1; }
.when-h em { font-style: normal; color: var(--pink); }
.when-sub { margin: 0; color: #d6d2e2; font-size: 16px; max-width: 60ch; }
.when-f { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; margin-top: 6px; max-width: 520px; position: relative; }
.when-f .when-d { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border-radius: 14px 0 0 14px; cursor: pointer; }
.when-d svg { width: 18px; height: 18px; stroke: #5a5470; flex: none; }
.when-f .when-d input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #14101e; font: 600 16px/1 inherit; padding: 14px 0; cursor: pointer; }
.when-d input::placeholder { color: #8a84a0; font-weight: 500; }
.when-f .pill { border-radius: 0 14px 14px 0; padding: 0 26px; flex: none; }
.when-go { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 0; font-size: 14px; }
.when-go a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(108,255,0,.7); text-underline-offset: 4px; }
.when-go a:hover { color: var(--pink); }
@media (max-width: 760px) {
  .when { padding: 18px 16px 16px; gap: 8px; }
  .when-h { font-size: 28px; }
  .when-sub { font-size: 14px; }
  .when-f .pill { padding: 0 18px; }
}
/* calendario a intervallo */
.rp { position: absolute; z-index: 90; top: calc(100% + 8px); left: 0; padding: 14px; border-radius: 16px; background: #fff; color: #14101e; box-shadow: 0 18px 50px rgba(0,0,0,.5); cursor: default; }
.rp-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.rp-nav button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0edf6; color: #14101e; font-size: 20px; cursor: pointer; }
.rp-nav button:disabled { opacity: .3; cursor: default; }
.rp-hint { font-size: 13px; font-weight: 600; color: #5a5470; text-align: center; }
.rp-ms { display: flex; gap: 22px; }
.rp-m { width: 252px; }
.rp-t { text-align: center; font-weight: 800; text-transform: capitalize; margin: 4px 0 8px; }
.rp-g { display: grid; grid-template-columns: repeat(7, 36px); gap: 2px 0; }
.rp-w { text-align: center; font-size: 11px; font-weight: 700; color: #8a84a0; text-transform: uppercase; padding-bottom: 4px; }
.rp-d { height: 36px; border: 0; background: transparent; color: #14101e; font: 600 14px/1 system-ui, sans-serif; cursor: pointer; border-radius: 0; }
.rp-d:hover:not(.off) { background: #f3e1ec; border-radius: 50%; }
.rp-d.now { text-decoration: underline; }
.rp-d.off { color: #c9c4d6; cursor: default; }
.rp-d.in { background: #fbe1ee; }
.rp-d.sel { background: #6cff00; color: #fff; }
.rp-d.s { border-radius: 50% 0 0 50%; } .rp-d.e { border-radius: 0 50% 50% 0; } .rp-d.s.e, .rp-d.s:not(.in) + .rp-d:not(.in) { }
.rp-d.sel.s:last-child, .rp-d.sel.e.s { border-radius: 50%; }
@media (max-width: 760px) { .rp { left: -2px; right: -2px; padding: 12px; } .rp-m { width: 100%; } .rp-g { grid-template-columns: repeat(7, 1fr); } }
.when-f .when-d input { width: auto; }
.when-f { width: 100%; min-width: 0; } .when-f .when-d { min-width: 0; } .when-f .when-d input { width: 100%; }

/* easter egg "funky mode" (ricerca): interruttore dello sfondo animato */
.funky-egg { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; margin: 0 0 24px; border-radius: var(--r);
  background: linear-gradient(120deg, rgba(255,154,77,.22), rgba(108,255,0,.22) 50%, rgba(138,63,252,.25)); border: 1px solid rgba(108,255,0,.5); }
.funky-egg h2 { margin: 0 0 4px; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 28px; text-transform: uppercase;
  background: linear-gradient(90deg, #ffd76a, #ff4f8b, #b44cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.funky-egg p { margin: 0; color: #e2dcea; font-size: 14px; max-width: 52ch; }
.fk-sw { position: relative; flex: none; width: 64px; height: 36px; cursor: pointer; }
.fk-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fk-sw span { position: absolute; inset: 0; border-radius: 99px; background: rgba(255,255,255,.18); transition: background .2s; pointer-events: none; }
.fk-sw span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s; }
.fk-sw input:checked + span { background: linear-gradient(90deg, #ff9a4d, #ff4f8b); }
.fk-sw input:checked + span::after { transform: translateX(28px); }
.fk-sw input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- barra fissa a due stati: prenota → carrello ---------- */
.buybar .bb-def, .buybar .bb-cart { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.buybar .bb-cart, .buybar.has .bb-def { display: none; }
.buybar.has .bb-cart { display: flex; }
.buybar.has { border-color: #3ddc97; }

/* ---------- formule compatte: nome e pagamento a sinistra, prezzo e − + a destra ---------- */
.tickets-box .offer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "txt price" "txt qty"; gap: 4px 16px; padding: 12px 0; align-items: center; }
.tickets-box .offer-txt { grid-area: txt; grid-column: auto; min-width: 0; }
.tickets-box .offer-price { grid-area: price; justify-self: end; font-size: 24px; line-height: 1; }
.tickets-box .offer-qty { grid-area: qty; justify-self: end; }
.tickets-box .offer h3 { font-family: inherit; font-stretch: 100%; font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.25; margin: 0 0 3px; }
.tickets-box .offer .muted { font-size: 13px; margin: 0 0 2px; }
.tickets-box .offer-pay { font-size: 13px; }
.tickets-box .offer-qty .qty-b { width: 36px; height: 36px; font-size: 20px; }
.tickets-box .offer-qty input { width: 34px; font-size: 16px; padding: 7px 0; }
.tickets-box .offer.offer-ref { grid-template-areas: none; grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 600px) { .tickets-box .offer { grid-template-columns: minmax(0, 1fr) auto; } .tickets-box .offer-txt { grid-column: auto; } .tickets-box .offer-price { font-size: 21px; } }

/* computer: la riga "Add to cart" resta in vista mentre si scorrono le formule */
@media (min-width: 761px) {
  .tickets-box .tickets-go { position: sticky; bottom: 88px; z-index: 5; padding: 12px 14px; margin: 14px -8px 0; border-radius: 14px; background: rgba(20,12,36,.95); border: 1px solid var(--line); }
}

/* ---------- P2: titolo evento su telefono, − + nel carrello, riepilogo del pagamento a righe ---------- */
@media (max-width: 760px) {
  .event h1 { font-size: 32px; line-height: 1.02; }
  .event-when { font-size: 17px; margin-bottom: 10px; }
  .event-img { max-width: 78%; margin: 0 auto; }
}
.cg-row { grid-template-columns: minmax(0, 1fr) auto 80px 34px; column-gap: 14px; }
.cg-q { border-color: var(--line); }
.cg-q .qty-b { width: 32px; height: 32px; font-size: 18px; }
.cg-q .qty-b:disabled { opacity: .3; cursor: default; }
.cg-q b { min-width: 22px; text-align: center; font-family: var(--cond); font-stretch: 75%; font-size: 17px; }
@media (max-width: 600px) {
  .cg-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "q p"; row-gap: 8px; position: relative; padding-right: 40px; }
  .cg-t { grid-area: t; } .cg-q { grid-area: q; justify-self: start; } .cg-p { grid-area: p; align-self: center; }
  .cg-x { position: absolute; top: 8px; right: 0; }
}
.ck-m { display: none; }
@media (max-width: 600px) {
  table.cart:not(.cart-total) thead { display: none; }
  table.cart:not(.cart-total) td:not(:first-child) { display: none; }
  table.cart:not(.cart-total) td:first-child { display: block; font-weight: 700; }
  .ck-m { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }
  .cart-total tfoot tr { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 14px; }
  .cart-total tfoot th { padding: 0; border: 0; font-size: 16px; }
  .cart-total tfoot th:first-child { flex: 1 1 100%; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
}

/* ---------- boat party, escursioni, ferry (catalogo) ---------- */
.tour-intro { color: #d6d2e2; max-width: 70ch; margin: -6px 0 18px; }
.tour-kind { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.tour .ev-head h1 { font-size: clamp(32px, 4vw, 56px); }
.tour-short { color: #e2dcea; margin: 0 0 12px; }
.tour-facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.tour-facts li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.tour-facts b { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.tour-ask .offer h3 { font-size: 16px; }
.tour-go { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 14px; }
.tour-date { display: grid; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tour-date input { background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 15px; color-scheme: dark; }
.tour-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366 !important; border-color: #25d366 !important; color: #06210f !important; }
.tour-wa svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.tour-desc { margin: 26px 0; }
.tour-desc .text p { margin: 0 0 10px; }
.tour-gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0 0 20px; }
.tour-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.tour-map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--r-sm); margin: 0 0 16px; }
.tour-sec + .tour-sec { margin-top: 30px; }
@media (max-width: 600px) {
  .tour-facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tour-go .tour-date, .tour-go .pill { flex: 1 1 100%; } .tour-date input { width: 100%; }
  .tour-wa { justify-content: center; }
}
/* menu in alto con la voce "Boats & tours": voci su una riga, nome accanto al logo solo se c'è spazio */
.nav a { white-space: nowrap; }
@media (max-width: 1360px) { .brand-wm { display: none; } }
@media (min-width: 761px) and (max-width: 1240px) { .nav a { padding: 10px 11px; font-size: 16px; } .nav { gap: 0; } }

/* tour: logo dell'operatore come immagine (intero, su fondo chiaro), modulo ferry */
.tour-card .card-img, .tour .event-img { background: #fff; }
.tour-card .card-img > img, .tour .event-img > img { object-fit: contain; padding: 10%; }
.tour-date--buy { margin: 4px 0 8px; max-width: 260px; }
.tour-date--buy input { width: 100%; }
/* riepilogo prenotazione: locandina accanto a ogni serata */
.checkout-head { display: flex; align-items: center; gap: 14px; margin: 0 0 4px; }
.checkout-head .checkout-ev { margin: 0; min-width: 0; }
.ck-img { width: 72px; height: 72px; flex: none; border-radius: 12px; object-fit: cover; background: #111; }
.ck-img.ck-logo { object-fit: contain; background: #fff; padding: 6px; }
@media (max-width: 600px) { .ck-img { width: 60px; height: 60px; } .checkout-head .checkout-ev { font-size: 15px; } }
/* carrello: miniatura accanto al titolo del gruppo */
.cg-head .ck-img { width: 64px; height: 64px; }
.cg-head .cg-tt { flex: 1; min-width: 0; }
.cg-head { flex-wrap: nowrap; justify-content: flex-start; }
@media (max-width: 600px) { .cg-head .ck-img { width: 52px; height: 52px; } }

/* importi: in grande quanto si paga ora, sotto in piccolo il saldo al punto vendita (carrello e checkout) */
.cg-p small { margin-top: 2px; }
.cg-t small span, .ck-t small span { white-space: nowrap; }
.ck-lines td { vertical-align: middle; }
.ck-lines .ck-t { font-weight: 700; }
.ck-lines .ck-t small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.ck-lines .ck-q { width: 70px; text-align: center; font-weight: 700; }
.ck-lines .ck-x { color: var(--muted); font-weight: 400; margin-right: 2px; }
.ck-lines .ck-p { width: 90px; text-align: right; }
.ck-lines .ck-p b { display: block; font-size: 17px; }
.ck-lines .ck-p small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 2px; }
.ck-lines tr:last-child td { border-bottom: 0; }
.ck-total { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px; margin: 18px 0; background: var(--panel); border-radius: var(--r-sm); }
.ck-total .ck-tl { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 5px; }
.ck-total .cart-tot { margin: 0; }
@media (max-width: 600px) {
  table.ck-lines thead { display: none; }
  table.ck-lines tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "q p"; gap: 6px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.ck-lines tr:last-child { border-bottom: 0; }
  table.cart.ck-lines td, table.cart.ck-lines td:not(:first-child) { display: block; padding: 0; border: 0; width: auto; }
  table.ck-lines .ck-t { grid-area: t; } table.ck-lines .ck-q { grid-area: q; text-align: left; align-self: center; } table.ck-lines .ck-p { grid-area: p; }
}

/* saldo al punto vendita nel sottotitolo della riga, in grassetto */
.cg-t small .ck-due, .ck-t small .ck-due { color: #fff; font-weight: 700; white-space: nowrap; }

/* tour: tre macro-card chiuse */
.tour-macro { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r, 18px); margin: 0 0 14px; overflow: hidden; }
.tour-macro > summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; }
.tour-macro > summary::-webkit-details-marker { display: none; }
.tour-macro > summary:hover { background: rgba(255,255,255,.03); }
.tm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tm-t .sec { margin: 0; }
.tm-t small { color: var(--muted); font-size: 14px; }
.tm-logos { display: flex; gap: 8px; flex: none; }
.tm-logos img { width: 46px; height: 46px; border-radius: 10px; background: #fff; object-fit: contain; padding: 4px; }
.tm-chev { flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -6px 6px 0; transition: transform .2s; opacity: .8; }
.tour-macro[open] .tm-chev { transform: rotate(-135deg); margin-top: 6px; }
.tour-macro[open] > summary { border-bottom: 1px solid var(--line); }
.tm-b { padding: 16px 20px 20px; }
.tm-b .tour-intro { margin: 0 0 16px; }
@media (max-width: 760px) {
  .tour-macro > summary { padding: 14px 16px; gap: 12px; }
  .tm-logos img { width: 34px; height: 34px; }
  .tm-logos img:nth-child(n+3) { display: none; }
  .tm-b { padding: 12px 14px 16px; }
}
.tm-t h2.sec { margin: 0; color: var(--cyan); font-size: clamp(26px, 3vw, 36px); }

/* ===== home P1: un colore per categoria ===== */
:root { --c-party: var(--pink); --c-boat-parties: var(--cyan); --c-excursions: #4d8dff; --c-ferry: var(--orange); }
.c-party { --cc: var(--c-party); } .c-boat-parties { --cc: var(--c-boat-parties); } .c-excursions { --cc: var(--c-excursions); } .c-ferry { --cc: var(--c-ferry); }
/* frase di marchio */
.when-h span { display: block; }
.when-h em { display: block; }
/* categorie sopra la ricerca */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-family: var(--cond); font-stretch: 80%; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; transition: border-color .15s, background .15s; }
.cat-pill svg { width: 18px; height: 18px; fill: none; stroke: var(--cc); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.cat-pill:hover { border-color: var(--cc); }
.cat-pill.on { background: var(--cc); border-color: var(--cc); color: #fff; }
.cat-pill.on svg { stroke: #fff; }
/* riga di fiducia */
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: #d6d2e2; }
.tr-i { display: inline-flex; align-items: baseline; gap: 6px; color: inherit; text-decoration: none; }
a.tr-i:hover span { text-decoration: underline; }
.tr-i b { color: #fff; font-weight: 800; }
.tr-g b { color: var(--yellow); }
.tr-wa b { color: #3ddc84; }
.tr-i small { color: var(--muted); font-size: 12.5px; }
/* stasera a Ibiza */
.tonight { margin-top: 28px; }
.tonight .sec small { display: inline; font-size: .5em; color: var(--accent); margin-left: 8px; }
.tn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tn-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.tn-card:hover { border-color: var(--pink); transform: translateY(-2px); }
.tn-img { aspect-ratio: 1; background: var(--panel2); overflow: hidden; }
.tn-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-t { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.tn-t small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-t b { font-family: var(--cond); font-stretch: 78%; font-weight: 800; font-size: 17px; line-height: 1.1; text-transform: uppercase; }
.tn-price { align-self: flex-start; margin-top: auto; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--yellow); color: var(--yellow); }
.tn-price.is-sold { border-color: #e5484d; color: #fff; background: #c8102e; }
/* tre ingressi per i tour */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.door { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-sm); color: #fff; text-decoration: none; border: 1px solid color-mix(in srgb, var(--cc) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--cc) 34%, #0c0716), #0f0a1c 85%); transition: transform .15s, border-color .15s; }
.door:hover { transform: translateY(-2px); border-color: var(--cc); }
.door-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 22%, transparent); flex: none; }
.door-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--cc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.door-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.door-t b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; }
.door-t small { color: #d6d2e2; font-size: 13.5px; }
.door-go { font-size: 20px; color: var(--cc); }
/* menu, macro-card e schede tour nel colore della categoria */
.nav-pin.c-boat-parties svg, .nav-pin.c-excursions svg, .nav-pin.c-ferry svg { stroke: var(--cc); }
.tour-macro#boat-parties { --cc: var(--c-boat-parties); } .tour-macro#excursions { --cc: var(--c-excursions); } .tour-macro#ferry { --cc: var(--c-ferry); }
.tour-macro .tm-t h2.sec { color: var(--cc); }
.tour-macro { border-left: 4px solid var(--cc); }
.tour-kind.c-boat-parties, .tour-kind.c-excursions, .tour-kind.c-ferry { color: var(--cc); }
/* home: niente colonna laterale su schermi larghi (header e ricerca bastano) */
@media (min-width: 761px) {
  .cols.side-left.home-tabs { grid-template-columns: minmax(0, 1fr); }
  .cols.side-left.home-tabs > .side { display: none; }
}
@media (max-width: 980px) { .tn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doors { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .cat-pill { font-size: 13px; padding: 7px 12px 7px 10px; }
  .cat-pill svg { width: 15px; height: 15px; }
  .trust-row { gap: 6px 14px; font-size: 13px; }
  .tonight { margin-top: 18px; }
  .tn-grid { gap: 10px; }
  .tn-t b { font-size: 15px; }
  .door { padding: 14px; }
  .door-t b { font-size: 19px; }
  .door-ico { width: 40px; height: 40px; }
}

/* ===== home P1, allineata alla bozza ===== */
/* vetrina con bagliori rosa e azzurro */
.when { background: radial-gradient(120% 140% at 88% -10%, rgba(108,255,0,.34), transparent 55%), radial-gradient(90% 120% at -5% 110%, rgba(25,211,230,.16), transparent 60%), var(--panel2); }
.when-h { font-size: clamp(32px, 3.8vw, 50px); line-height: .98; }
.cat-pills { gap: 6px; }
.cat-pill { font-size: 13px; padding: 8px 13px 8px 11px; gap: 7px; }
.cat-pill svg { width: 16px; height: 16px; }
.cat-pill .cp-short { display: none; }
.trust-row { font-size: 13.5px; gap: 6px 20px; padding-top: 10px; }
/* stasera: titolo e link di testo sulla stessa riga */
.tn-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.tn-head .sec { margin: 0; }
.tn-all { color: var(--muted); font-size: 14px; text-decoration: none; }
.tn-all:hover { color: #fff; }
.tn-img { aspect-ratio: 1 / 1.05; }
/* ingressi: colore pieno, testo in basso */
.door { align-items: flex-end; min-height: 108px; background: linear-gradient(150deg, color-mix(in srgb, var(--cc) 55%, #0c0716), color-mix(in srgb, var(--cc) 14%, #0c0716) 90%); }
.door-ico { align-self: flex-start; }
/* loghi dei club */
.club-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.club-logos a { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #000; border: 1px solid var(--line); display: block; transition: border-color .15s, transform .15s; }
.club-logos a:hover { border-color: var(--pink); transform: translateY(-2px); }
.club-logos img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .when { padding: 16px 14px 14px; gap: 9px; }
  .when-eye { font-size: 10.5px; letter-spacing: .14em; }
  .when-h { font-size: 25px; line-height: 1; }
  .cat-pills { flex-wrap: nowrap; gap: 5px; }
  .cat-pill { flex: 1 1 0; justify-content: center; padding: 8px 4px; font-size: 12px; min-width: 0; }
  .cat-pill svg { display: none; }
  .cat-pill .cp-full { display: none; }
  .cat-pill .cp-short { display: inline; }
  .when-f { margin-top: 2px; }
  .when-f .when-d input { padding: 11px 0; font-size: 15px; }
  .when-go { font-size: 13px; gap: 4px 14px; }
  .trust-row { flex-wrap: nowrap; gap: 12px; font-size: 12px; overflow: hidden; }
  .trust-row .tr-i { white-space: nowrap; }
  .trust-row .tr-i > span, .trust-row .tr-i small { display: none; }
  .trust-row .tr-i:first-child > span { display: inline; }
  .tonight { margin-top: 16px; }
  .tn-head .sec { font-size: 22px; }
  .tn-all span:first-child { display: none; }
  .tn-all { font-size: 13px; }
  .tn-img { aspect-ratio: 4 / 3; }
  .tn-t { padding: 8px 10px 10px; gap: 3px; }
  .tn-t small { font-size: 11px; }
  .tn-t b { font-size: 14px; }
  .doors { gap: 8px; margin-top: 14px; }
  .door { min-height: 0; align-items: center; padding: 12px 14px; }
  .door-ico { display: none; }
  .door-t { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; }
  .door-t b { font-size: 18px; }
  .door-t small > span:first-child { display: none; }
  .door-t small { font-size: 12.5px; white-space: nowrap; }
  .door-go { display: none; }
  .club-logos { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .club-logos::-webkit-scrollbar { display: none; }
  .club-logos a { width: 40px; height: 40px; flex: none; }
}
/* separatori fuori dal testo tradotto */
.tn-all span + span::before, .door-t small span + span::before { content: "· "; }
.door-t small span + span { margin-left: 4px; }
@media (max-width: 760px) {
  .tn-all span + span::before, .door-t small span + span::before { content: none; }
  .door-t small span + span { margin-left: 0; }
  .trust-row .tr-i > span { display: inline; }
  .trust-row .tr-wa > span, .trust-row .tr-i small { display: none; }
}

/* ===== vetrina del marchio: equalizzatore ===== */
.when.when-eq { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.when-txt { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 24px; min-width: 0; position: relative; z-index: 1; }
.when-eq .when-h { font-size: clamp(34px, 4vw, 56px); line-height: .95; }
.when-eq .when-sub { display: block; color: #d6d2e2; font-size: 15.5px; max-width: 46ch; }
.when-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.when-eq .when-f { max-width: 330px; flex: 1 1 260px; margin: 0; }
.when-eq .when-f .when-d input { padding: 10px 0; font-size: 14.5px; }
.when-eq .when-f .pill { padding: 0 18px; font-size: 13px; }
.when-eq .when-go { margin: 0; font-size: 13.5px; }
.eqv { position: relative; display: flex; align-items: flex-end; min-height: 100%; padding: 30px 26px 0 10px; }
.eqv-bars { display: flex; align-items: flex-end; gap: 6px; width: 100%; height: 100%; min-height: 260px; }
.eqv-bars span { flex: 1; border-radius: 5px 5px 0 0; transform-origin: bottom; animation: eqv 1.7s ease-in-out infinite alternate; opacity: .92; }
.eqv-bars span:nth-child(4n+1) { background: linear-gradient(to top, color-mix(in srgb, var(--cyan) 35%, transparent), var(--cyan)); }
.eqv-bars span:nth-child(4n+2) { background: linear-gradient(to top, color-mix(in srgb, var(--pink) 35%, transparent), var(--pink)); }
.eqv-bars span:nth-child(4n+3) { background: linear-gradient(to top, color-mix(in srgb, var(--orange) 35%, transparent), var(--orange)); }
.eqv-bars span:nth-child(4n) { background: linear-gradient(to top, color-mix(in srgb, var(--yellow) 35%, transparent), var(--yellow)); }
@keyframes eqv { from { transform: scaleY(.5); } to { transform: scaleY(1); } }
.eqv-yr { position: absolute; left: 14px; top: 22px; font-family: var(--cond); font-stretch: 70%; font-weight: 900; font-size: clamp(64px, 7vw, 104px); line-height: .9; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.65); letter-spacing: -.01em; }
.eqv-yr small { display: block; font-family: var(--sans, inherit); font-stretch: 100%; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .eqv-bars span { animation: none; } }
html:not(.funky) .eqv-bars span { will-change: transform; }
@media (max-width: 980px) {
  .when.when-eq { grid-template-columns: minmax(0, 1fr); }
  .eqv { order: -1; min-height: 0; height: 150px; padding: 18px 18px 0; }
  .eqv-bars { min-height: 0; gap: 5px; }
  .eqv-yr { top: 14px; left: 18px; font-size: 64px; }
}
@media (max-width: 760px) {
  .when-txt { padding: 14px 14px 14px; gap: 9px; }
  .when-eq .when-h { font-size: 27px; }
  .when-eq .when-sub { font-size: 13.5px; }
  .eqv { height: 118px; padding: 14px 14px 0; }
  .eqv-bars { gap: 4px; }
  .eqv-yr { font-size: 50px; left: 14px; top: 10px; }
  .eqv-yr small { font-size: 9px; margin-top: 5px; }
  .when-row { gap: 8px; }
  .when-eq .when-f { max-width: none; flex-basis: 100%; }
}
/* equalizzatore più sottile: le barre stanno sotto "1993" */
.eqv { padding: 0 24px 0 6px; align-items: flex-end; }
.eqv-bars { height: 68%; min-height: 0; gap: 4px; align-self: flex-end; }
.eqv-bars span { border-radius: 3px 3px 0 0; opacity: .85; }
.eqv-yr { top: 26px; left: 10px; }
@media (max-width: 980px) { .eqv-bars { height: 62%; } .eqv { padding: 0 16px; } }
@media (max-width: 760px) { .eqv-bars { height: 58%; gap: 3px; } }
@media (max-width: 760px) { .eqv-yr small { display: none; } .when-eq .when-eye { letter-spacing: .1em; font-size: 10px; } }

/* ===== vetrina: il logo IBIZA DISCO TICKET come equalizzatore ===== */
.eqv.eql { display: grid; place-items: center; padding: 28px 30px; }
.eql-in { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.eql-bars { display: flex; align-items: flex-end; gap: 5px; height: 190px; }
.eql-bars span { flex: 1; height: var(--h); transform-origin: bottom; animation: eql 1.9s ease-in-out infinite alternate;
  background: linear-gradient(to top, var(--c) 0, var(--c) 45%, color-mix(in srgb, var(--c) 25%, transparent) 100%);
  -webkit-mask: repeating-linear-gradient(to top, #000 0 6px, transparent 6px 9px); mask: repeating-linear-gradient(to top, #000 0 6px, transparent 6px 9px);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 45%, transparent)); }
@keyframes eql { 0% { transform: scaleY(.78); } 60% { transform: scaleY(1); } 100% { transform: scaleY(.9); } }
.eql-word { font-family: var(--cond); font-stretch: 68%; font-weight: 900; color: #fff; text-align: center; line-height: .9; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: .005em; white-space: nowrap; }
.eql-since { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--pink); margin-top: -2px; }
@media (prefers-reduced-motion: reduce) { .eql-bars span { animation: none; } }
@media (max-width: 980px) {
  .eqv.eql { order: -1; height: auto; padding: 20px 18px 6px; }
  .eql-in { max-width: 340px; }
  .eql-bars { height: 120px; gap: 4px; }
  .eql-word { font-size: 34px; }
}
@media (max-width: 760px) {
  .eqv.eql { padding: 16px 16px 2px; }
  .eql-in { max-width: 280px; gap: 7px; }
  .eql-bars { height: 84px; gap: 3px; }
  .eql-bars span { -webkit-mask: repeating-linear-gradient(to top, #000 0 4px, transparent 4px 6px); mask: repeating-linear-gradient(to top, #000 0 4px, transparent 4px 6px); }
  .eql-word { font-size: 28px; }
  .eql-since { font-size: 9.5px; letter-spacing: .28em; }
}

/* punti di forza sotto il logo */
.eqv.eql { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; }
.eql-pts { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eql-pts .pt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: inherit; text-decoration: none; height: 100%; }
.eql-pts a.pt:hover, .eql-pts button.pt:hover { border-color: var(--pink); }
.eql-pts button.pt { width: 100%; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.eql-pts svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eql-pts li:nth-child(2) svg { stroke: var(--cyan); } .eql-pts li:nth-child(3) svg { stroke: var(--yellow); } .eql-pts li:nth-child(4) svg { stroke: #3ddc84; } .eql-pts li:nth-child(5) svg { stroke: var(--orange); }
.pt-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pt-t b { font-size: 14px; color: #fff; }
.pt-t small { font-size: 12px; color: var(--muted); }
.eql-pts li:nth-child(5):last-child { grid-column: 1 / -1; }
@media (max-width: 980px) { .eqv.eql { gap: 14px; padding-bottom: 4px; } }
@media (max-width: 760px) {
  .eql-pts { gap: 6px; }
  .eql-pts .pt { padding: 8px 9px; gap: 7px; border-radius: 10px; }
  .eql-pts svg { width: 18px; height: 18px; }
  .pt-t b { font-size: 12.5px; }
  .pt-t small { font-size: 10.5px; }
}
.pt-h::before { content: "· "; }
/* punti di forza: sotto il logo su computer, dopo la ricerca su telefono e tablet */
.when-txt > .eql-pts { display: none; }
@media (max-width: 980px) {
  .eqv.eql > .eql-pts { display: none; }
  .when-txt > .eql-pts { display: grid; max-width: none; margin-top: 4px; }
}

/* ===== pagina "Our venues": locali del gruppo ===== */
.vn-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.vn-chip { border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); border-radius: 999px; padding: 7px 14px; font-family: var(--cond); font-stretch: 80%; font-weight: 800; font-size: 13px; text-transform: uppercase; cursor: pointer; }
.vn-chip:hover { border-color: var(--vc, var(--pink)); }
.vn-chip.on { background: var(--vc, var(--pink)); border-color: var(--vc, var(--pink)); color: #0c0716; }
.vn-chip[data-vt=""].on { background: #fff; border-color: #fff; }
.vn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vn-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; border-top: 4px solid var(--vc); }
.vn-img { aspect-ratio: 16 / 10; background: var(--panel2); display: grid; place-items: center; overflow: hidden; }
.vn-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vn-img.is-logo { background: #fff; }
.vn-img img.vn-logo { object-fit: contain; padding: 18px; }
.vn-ph { font-family: var(--cond); font-stretch: 70%; font-weight: 900; font-size: 72px; color: var(--vc); opacity: .6; }
.vn-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.vn-type { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vn-type span:first-child { color: var(--vc); }
.vn-type span + span { color: var(--muted); }
.vn-card h2 { margin: 0; font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.vn-desc { margin: 0; color: #d6d2e2; font-size: 14.5px; }
.vn-meta { margin: 0; color: var(--muted); font-size: 13.5px; }
.vn-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 8px; }
.vn-map-h { margin-top: 30px; }
.vn-map { height: 380px; border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; }
@media (max-width: 980px) { .vn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vn-grid { grid-template-columns: minmax(0, 1fr); } .vn-map { height: 300px; } }
.foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; } @media (max-width: 700px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }
/* locali del gruppo senza foto: schede compatte */
.vn-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vn-card { border-top: 0; border-left: 4px solid var(--vc); }
.vn-body { padding: 14px 16px; gap: 4px; }
.vn-card h2 { font-size: 21px; }
.vn-btns { padding-top: 6px; }
/* mappa dei locali: lo stile delle icone del sito non deve toccare i livelli di Leaflet */
.vn-map svg, .vn-map img { width: auto; height: auto; max-width: none !important; max-height: none; }
.vn-map .leaflet-overlay-pane svg { width: auto !important; height: auto !important; }
.vn-card[hidden] { display: none !important; }

/* ===== home: vetrina col logo originale, punti di forza in riga, date in card ===== */
.when.when-eq { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "txt logo" "pts pts"; }
.when-eq .when-txt { grid-area: txt; justify-content: center; padding-bottom: 10px; }
.eqv.eql-orig { grid-area: logo; display: grid; place-items: center; padding: 18px 26px 0; }
.eql-orig img { width: 100%; max-width: 360px; height: auto; mix-blend-mode: screen; display: block; }
.when-eq > .eql-pts { grid-area: pts; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; padding: 0 28px 24px; margin: 0; }
.when-eq > .eql-pts:has(li:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.when-eq > .eql-pts li:nth-child(5):last-child { grid-column: auto; }
.dates-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 22px; margin-top: 18px; padding: 18px 22px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
.dates-card .dc-h { margin: 0; font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.dates-card .when-f { max-width: 460px; margin: 0; }
.dates-card .when-f .when-d input { padding: 11px 0; font-size: 15px; }
.dates-card .when-go { margin: 0; font-size: 14px; }
.home-tabs .rv-rec .tonight { margin-top: 26px; }
@media (max-width: 980px) {
  .when.when-eq { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "txt" "pts"; }
  .eqv.eql-orig { padding: 14px 18px 0; }
  .eql-orig img { max-width: 260px; }
  .when-eq > .eql-pts, .when-eq > .eql-pts:has(li:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 16px; }
  .dates-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .eql-orig img { max-width: 200px; }
  .dates-card { padding: 14px; gap: 10px; margin-top: 14px; }
  .dates-card .dc-h { font-size: 20px; }
  .dates-card .when-f { max-width: none; }
}
.eql-orig img { max-width: 440px; margin: -20px 0 -30px; }
.home-tabs .club-logos { margin-bottom: 30px; }
@media (max-width: 980px) { .eql-orig img { max-width: 300px; margin: -24px 0 -34px; } }
@media (max-width: 760px) { .eql-orig img { max-width: 240px; margin: -20px 0 -28px; } .home-tabs .club-logos { margin-bottom: 20px; } }

/* vetrina più compatta, logo più grande */
@media (min-width: 981px) { .when.when-eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.when-eq .when-txt { padding: 26px 30px 6px; gap: 10px; }
.eqv.eql-orig { padding: 6px 20px 0; }
.eql-orig img { max-width: 560px; margin: -48px 0 -60px; }
.when-eq > .eql-pts { padding: 6px 28px 22px; }
@media (max-width: 980px) { .eql-orig img { max-width: 360px; margin: -34px 0 -44px; } .when-eq .when-txt { padding: 14px 16px 8px; } }
@media (max-width: 760px) { .eql-orig img { max-width: 290px; margin: -28px 0 -36px; } }
/* logo originale ritagliato: via il nero sopra e sotto (il disegno sta nella fascia centrale dell'immagine) */
.eqv.eql-orig { padding: 8px 18px 0; }
.eql-orig img, .eql-orig img[width] { width: 100%; max-width: 640px; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 52%; margin: 0; }
@media (min-width: 981px) { .eql-orig img, .eql-orig img[width] { width: 112%; max-width: 680px; margin: 0 -6%; } }
@media (max-width: 980px) { .eqv.eql-orig { padding: 12px 12px 0; } .eql-orig img, .eql-orig img[width] { max-width: 420px; } }
@media (max-width: 760px) {
  .eqv.eql-orig { padding: 10px 8px 0; }
  .eql-orig img, .eql-orig img[width] { max-width: 360px; aspect-ratio: 2.3 / 1; }
  .when-eq .when-txt { padding: 6px 16px 10px; gap: 8px; }
  .when-eq > .eql-pts, .when-eq > .eql-pts:has(li:nth-child(5)) { padding: 0 14px 14px; }
}
@media (min-width: 981px) {
  .eqv.eql-orig { overflow: hidden; padding: 0 10px; align-self: center; }
  .eql-orig img, .eql-orig img[width] { width: 136%; max-width: none; margin: 0 -18%; aspect-ratio: 2.5 / 1; }
}

/* logo vettoriale (sostituisce l'immagine, che sgranava) */
.eql-orig svg.idt-logo { display: block; width: 100%; max-width: 520px; height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(108,255,0,.18)); }
.idt-logo-word { font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: 40px; fill: #fff; letter-spacing: 0; }
@media (min-width: 981px) { .eqv.eql-orig { overflow: visible; padding: 26px 34px 10px 10px; } }
@media (max-width: 980px) { .eql-orig svg.idt-logo { max-width: 300px; } }
@media (max-width: 760px) {
  .eqv.eql-orig { padding: 16px 16px 2px; }
  .eql-orig svg.idt-logo { max-width: 210px; }
  .when-eq .when-sub { display: none; }
  .when-eq .when-h { font-size: 24px; }
  .when-eq .when-txt { padding: 8px 16px 8px; gap: 6px; }
  .when-eq > .eql-pts .pt { padding: 7px 9px; }
  .when-eq > .eql-pts .pt-t small { display: none; }
  .when-eq > .eql-pts .pt-t b { font-size: 12.5px; }
}
.eql-orig svg.idt-logo, .eql-orig svg.idt-logo * { stroke: none !important; stroke-width: 0 !important; }
.idt-logo-word { font-weight: 800; font-size: 45px; font-stretch: 64%; }
@media (min-width: 981px) { .eql-orig svg.idt-logo { max-width: 580px; } }
.eqv.eql-orig { display: flex; align-items: center; justify-content: center; } .eqv.eql-orig > svg.idt-logo { flex: 1 1 auto; width: 100%; }

/* logo vettoriale: proporzioni dell'originale */
.idt-logo-word { font-size: 36px; font-weight: 800; font-stretch: 70%; }
.eql-orig svg.idt-logo { filter: none; }
@media (min-width: 981px) { .eqv.eql-orig { padding: 24px 40px 8px 20px; } .eql-orig svg.idt-logo, .eqv.eql-orig > svg.idt-logo { max-width: 440px; } }
@media (max-width: 980px) { .eqv.eql-orig > svg.idt-logo { max-width: 300px; } }
@media (max-width: 760px) { .eqv.eql-orig > svg.idt-logo { max-width: 230px; } }
.idt-logo-word { font-size: 40px; font-stretch: 62%; font-weight: 800; }
/* logo: immagine originale a misura reale (400 px), ritagliata solo del nero sopra e sotto; più grande sgranerebbe */
.eqv.eql-orig { overflow: visible; padding: 10px 20px 0; display: flex; align-items: center; justify-content: center; }
.eql-orig img, .eql-orig img[width], .eqv.eql-orig > img { width: 100%; max-width: 400px; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 52%; margin: 0; mix-blend-mode: screen; flex: none; }
@media (max-width: 980px) { .eql-orig img, .eql-orig img[width], .eqv.eql-orig > img { max-width: 340px; } }
@media (max-width: 760px) { .eqv.eql-orig { padding: 10px 10px 0; } .eql-orig img, .eql-orig img[width], .eqv.eql-orig > img { max-width: 300px; aspect-ratio: 2.3 / 1; } }
/* logo ufficiale vettoriale (SVG dal PDF della tavola) */
.eqv.eql-vec { padding: 26px 34px 14px 14px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.eql-vec img, .eql-vec img[width], .eqv.eql-vec > img { width: 100%; max-width: 500px; height: auto; aspect-ratio: auto; object-fit: contain; mix-blend-mode: normal; margin: 0; flex: 0 1 auto; }
@media (max-width: 980px) { .eqv.eql-vec { padding: 20px 20px 4px; } .eql-vec img, .eqv.eql-vec > img { max-width: 340px; } }
@media (max-width: 760px) { .eqv.eql-vec { padding: 16px 16px 2px; } .eql-vec img, .eqv.eql-vec > img { max-width: 250px; } }
/* logo ufficiale PNG grande: si ritaglia solo il nero sopra e sotto, il fondo nero si fonde con la vetrina */
.eqv.eql-png { padding: 18px 30px 6px 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.eql-png img, .eql-png img[width], .eqv.eql-png > img { width: 100%; max-width: 560px; height: auto; aspect-ratio: 2.3 / 1; object-fit: cover; object-position: 50% 49.5%; mix-blend-mode: screen; margin: 0; flex: 0 1 auto; }
@media (max-width: 980px) { .eqv.eql-png { padding: 14px 14px 0; } .eql-png img, .eqv.eql-png > img { max-width: 380px; } }
@media (max-width: 760px) { .eqv.eql-png { padding: 12px 10px 0; } .eql-png img, .eqv.eql-png > img { max-width: 300px; } }
/* "Since 1993" sotto il logo, nello stile della scritta del logo (stretto, maiuscolo, bianco) */
.eqv.eql-png { flex-direction: column; gap: 0; }
.eql-since2 { display: block; margin-top: -4px; font-family: var(--cond); font-stretch: 62%; font-weight: 700; font-size: 17px; letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; color: rgba(255,255,255,.82); line-height: 1; }
@media (max-width: 980px) { .eql-since2 { font-size: 14px; } }
@media (max-width: 760px) { .eql-since2 { font-size: 12px; margin-top: -2px; letter-spacing: .36em; text-indent: .36em; } }

/* ===== mobile stile app (0.50.0): header con hamburger + logo, ricerca a icona, menu laterale ===== */
@media (max-width: 760px) {
  /* header: ☰ logo IBIZA DISCO TICKET ........ 🔍 lingua */
  .top-in { gap: 4px; padding: 0 6px; height: 58px; }
  .nav-b { display: block !important; order: 0; }
  .brand { order: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand-wm { display: flex !important; }
  .brand-wm b { font-size: 17px; }
  .brand-wm small { font-size: 9px; letter-spacing: .16em; margin-top: 2px; }
  .nav { display: none !important; }
  .top-search { order: 2; flex: none; width: 42px; height: 42px; margin: 0 0 0 auto; padding: 0; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.07); border: 0; }
  .top-search .ts-l { display: none; }
  /* lingua e logo tondo solo nel menu laterale */
  .top .lang-sw, .brand img { display: none !important; }
  .brand { padding-left: 4px; }
  .top-search { margin: 0 4px 0 auto !important; }

}
@media (max-width: 380px) { .brand-wm b { font-size: 15px; } .brand-wm small { display: none; } }

/* ===== home mobile più compatta: vetrina con logo e frase affiancati ===== */
@media (max-width: 760px) {
  .when.when-eq { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); grid-template-areas: "logo txt" "pts pts"; align-items: center; padding: 12px 12px 12px; gap: 10px 8px; }
  .when-eq .eqv.eql-png { padding: 0; }
  .when-eq .eql-png img, .when-eq .eqv.eql-png > img { max-width: 100%; margin: 0; }
  .when-eq .eql-since2 { font-size: 9px; margin-top: 0; letter-spacing: .3em; text-indent: .3em; }
  .when-eq .when-txt { padding: 0; gap: 4px; }
  .when-eq .when-eye { font-size: 9.5px; letter-spacing: .12em; }
  .when-eq .when-h { font-size: 19px; line-height: 1.02; }
  .when-eq > .eql-pts, .when-eq > .eql-pts:has(li:nth-child(5)) { padding: 0; gap: 6px; }
  .when-eq > .eql-pts .pt { padding: 6px 8px; gap: 6px; border-radius: 10px; }
  .when-eq > .eql-pts svg { width: 16px; height: 16px; }
  .when-eq > .eql-pts .pt-t b { font-size: 12px; }
}

/* ===== home mobile: schede evento piccole in verticale, in fila da scorrere (come i reel) ===== */
@media (max-width: 760px) {
  .home-parties .car-track, .tn-grid { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 0; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .tn-grid::-webkit-scrollbar { display: none; }
  .home-parties .car-dots { display: none; }
  .home-parties .car { margin-bottom: 18px; }
  .home-parties .car-slide, .tn-card { position: relative; flex: 0 0 31%; max-width: 150px; aspect-ratio: 10 / 17; min-height: 0; scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 0; gap: 0; border-radius: 14px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line); transform: none; }
  .home-parties .car-img, .tn-img { position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto; border-radius: 0; }
  .home-parties .car-img img, .tn-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .home-parties .car-txt, .tn-t { position: relative; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 34px 8px 8px; background: linear-gradient(to top, rgba(0,0,0,.92) 30%, rgba(0,0,0,0)); }
  .home-parties .car-txt small, .tn-t small { font-size: 10px; color: #fff; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .home-parties .car-txt b, .tn-t b { font-size: 13.5px; line-height: 1.05; color: #fff; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  /* logo del club in alto a sinistra con l'anello, come l'avatar delle storie */
  .home-parties .car-club { font-size: 0; gap: 0; }
  .home-parties .car-club img { position: absolute; top: 7px; left: 7px; width: 32px; height: 32px; border: 2px solid var(--pink); box-shadow: 0 0 0 2px rgba(0,0,0,.6); }
  .home-parties .car-price, .tn-price { position: absolute; top: 8px; right: 7px; margin: 0; font-size: 10px; padding: 2px 7px; background: rgba(0,0,0,.7); }
  .home-parties .car-txt .car-price, .tn-t .tn-price { align-self: auto; }
}

/* vetrina mobile (0.50.4): stagione e "34 seasons" a sinistra con il logo piccolo a destra (come su PC);
   "We know how to party" su una riga; punti di forza in due colonne, ognuna cambia in verticale (script in strengths()) */
@media (max-width: 760px) {
  .when.when-eq { grid-template-columns: minmax(0, 1fr) minmax(0, 34%); grid-template-areas: "eye logo" "h logo" "em em" "pts pts"; align-items: center; gap: 2px 8px; padding: 14px 14px 14px; }
  .when-eq .when-txt, .when-eq .when-h { display: contents; }
  .when-eq .when-eye { grid-area: eye; align-self: end; }
  .when-eq .when-h > span { grid-area: h; align-self: start; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 21px; line-height: 1.02; text-transform: uppercase; }
  .when-eq .when-h > em { grid-area: em; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: min(24px, 6vw); line-height: 1.1; text-transform: uppercase; white-space: nowrap; margin: 6px 0 4px; }
  .when-eq .eqv.eql-png { grid-area: logo; padding: 0; }
  .when-eq > .eql-pts, .when-eq > .eql-pts:has(li:nth-child(5)) { grid-area: pts; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 36px; gap: 6px; overflow: hidden; padding: 0; }
  .when-eq > .eql-pts li, .when-eq > .eql-pts li:nth-child(5):last-child { grid-row: 1; grid-column: 1; min-width: 0; opacity: 0; transform: translateY(100%); transition: transform .5s ease, opacity .5s ease; }
  .when-eq > .eql-pts li:nth-child(even) { grid-column: 2; }
  .when-eq > .eql-pts:not(.rot) li:nth-child(-n+2), .when-eq > .eql-pts li.on { opacity: 1; transform: none; }
  .when-eq > .eql-pts li.out { opacity: 0; transform: translateY(-100%); }
  .when-eq > .eql-pts .pt { height: 100%; }
  .when-eq > .eql-pts .pt-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .when-eq > .eql-pts li { transition: none; } }

/* schede evento mobile (0.50.5): fascia scura in alto sull'immagine con logo del club a sinistra e prezzo a destra */
.tn-logo { display: none; }
@media (max-width: 760px) {
  .home-parties .car-slide, .tn-card { isolation: isolate; }
  .home-parties .car-img, .tn-img { z-index: -1; }
  .home-parties .car-txt, .tn-t { position: static; }
  .home-parties .car-slide:has(.car-club img, .car-price)::before, .tn-card:has(.tn-logo, .tn-price)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 44px; z-index: 1;
    background: rgba(8,8,14,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.1); }
  .home-parties .car-club img, .tn-logo { display: block; position: absolute; top: 7px; left: 7px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #000; border: 2px solid var(--pink); box-shadow: none; }
  .home-parties .car-price, .tn-price { position: absolute; top: 11px; right: 7px; z-index: 2; margin: 0; background: transparent; }
  .home-parties .car-price.is-sold, .tn-price.is-sold { background: #c8102e; border-color: #c8102e; }
}

/* ===== home mobile (0.50.6) ===== */
/* card date: su PC titolo semplice e modulo sempre visibile; su mobile nasce chiusa e si apre dal titolo */
.dc-tg { all: unset; display: inline; font: inherit; color: inherit; cursor: default; }
.dc-tg svg, .dc-chev { display: none; }
.dc-body { display: contents; }
/* loghi club solo su PC; su mobile la voce "Ibiza clubs" sopra i tour */
.door-clubs { display: none; }
.car-time::before, .tn-time + .tn-club::before { content: " · "; }
@media (max-width: 760px) {
  /* iPhone ingrandisce la pagina se il testo di un campo è sotto i 16 px (e non torna indietro) */
  .when-f .when-d input, .dates-card .when-f .when-d input, .top-sform input { font-size: 16px; }
  .dates-card { display: block; padding: 0; overflow: hidden; border-color: color-mix(in srgb, var(--pink) 45%, var(--line)); }
  .dates-card .dc-h { margin: 0; font-size: 18px; white-space: normal; }
  .dc-tg { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 12px 12px 12px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dc-tg > span { flex: 1; min-width: 0; }
  .dc-tg svg { display: block; width: 22px; height: 22px; flex: none; fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dc-chev { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--pink); }
  .dc-chev::before { content: ""; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .dates-card.open .dc-chev::before { transform: translateY(2px) rotate(-135deg); }
  .dc-body { display: none; padding: 0 14px 14px; }
  .dates-card.open .dc-body { display: flex; flex-direction: column; gap: 10px; }
  .door-clubs { display: flex; }
  .home-tabs .club-logos, .club-logos { display: none; }
  /* schede evento: testo in basso uguale per Recommended e Tonight; niente orario nei Recommended, niente club nei Tonight */
  .home-parties .car-txt small, .tn-t small { font-family: inherit; font-stretch: 100%; font-weight: 500; font-size: 10.5px; text-transform: none; letter-spacing: 0; color: #fff; opacity: .85; }
  .home-parties .car-txt b, .tn-t b { font-family: var(--cond); font-stretch: 78%; font-weight: 800; font-size: 14px; line-height: 1.05; text-transform: uppercase; }
  .home-parties .car-txt, .tn-t { padding: 34px 9px 9px; }
  .car-time, .tn-club { display: none; }
}

/* ===== loghi dei club (0.50.7): quadrati con angoli arrotondati (8 px, uguali per tutti), fondo nero, bordo sottile.
   Il logo IDT (header, menu laterale) resta tondo. ===== */
.club-list img, .club-list .nologo, .card-club img, .cal-logos img, .car-club img, .ag-day li img, .ag-day li .nologo, .cf-logo, .club-card-logo, .club-logo, .ph-in img, .club-logos a
  { border-radius: 8px; border: 1px solid rgba(255,255,255,.18); }
.club-card-logo { border-color: #15151c; border-width: 2px; }
@media (max-width: 760px) {
  /* fascia delle schede evento: bordo rosa sottile */
  .home-parties .car-club img, .tn-logo { border-radius: 8px; border: 1px solid var(--pink); }
}

/* ===== pagina evento (0.50.8) ===== */
/* line-up: su PC titolo semplice e nomi sempre visibili; su mobile nasce chiuso (titolo, primi due nomi, freccia) */
.lu-tg { all: unset; display: inline; font: inherit; color: inherit; cursor: default; }
.lu-peek { display: none; }
@media (max-width: 760px) {
  .ev-buy { display: none; }   /* c'è già la barra fissa "Book for €5" in basso */
  .lineup-box.ev-card { padding-top: 6px; padding-bottom: 6px; }
  .lineup-box h2 { margin: 0; }
  .lu-tg { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 8px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .lu-peek { display: block; flex: 1; min-width: 0; font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; font-size: 13px; font-weight: 600; text-transform: none; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lineup-box.open .lu-peek { visibility: hidden; }
  .lineup-box:not(.open) .lineup { display: none; }
  .lineup-box.open .lineup { margin: 8px 0 14px; }
  .lineup-box.open .dc-chev::before { transform: translateY(2px) rotate(-135deg); }
}
/* "Party info" (0.53.26-0.53.28): sezione col testo della serata o del party, nasce chiusa anche su PC */
.lineup-box.lu-col.ev-card { padding-top: 10px; padding-bottom: 10px; }
.lineup-box.lu-col h2 { margin: 0; }
.lineup-box .lu-tg { letter-spacing: .015em; word-spacing: .16em; }
.lineup-box .lu-peek { letter-spacing: normal; word-spacing: normal; }
.lineup-box .lu-info { margin: 4px 0 14px; }
.lineup-box .lu-info p { margin: 0 0 12px; }
.lineup-box.lu-col .lu-tg { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 8px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lineup-box.lu-col .lu-peek { display: block; flex: 1; min-width: 0; font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; font-size: 13px; font-weight: 600; text-transform: none; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lineup-box:is(.lu-col, .lu-more) .dc-chev { display: grid; place-items: center; width: 34px; height: 34px; flex: none; margin-left: auto; border-radius: 50%; background: var(--pink); }
.lineup-box:is(.lu-col, .lu-more) .dc-chev::before { content: ""; width: 8px; height: 8px; border-right: 2px solid #0a1006; border-bottom: 2px solid #0a1006; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lineup-box:is(.lu-col, .lu-more).open .dc-chev::before { transform: translateY(2px) rotate(-135deg); }
.lineup-box.lu-col.open .lu-peek { visibility: hidden; }
.lineup-box.lu-col:not(.open) .lu-body { display: none; }
.lineup-box.lu-col.open .lineup { margin: 8px 0 14px; }
@media (max-width: 760px) { .lineup-box:not(.open) .lu-body { display: none; } }
/* PC (0.53.29): line-up su una riga; se i nomi non ci stanno, freccia per aprire (classe lu-more dallo script della pagina) */
@media (min-width: 761px) {
  .lineup-box:not(.lu-col) .lineup { flex-wrap: nowrap; overflow: hidden; margin-bottom: 8px; }
  .lineup-box:not(.lu-col) .lineup li { flex: none; white-space: nowrap; }
  .lineup-box.lu-more .lu-tg { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; cursor: pointer; }
  .lineup-box.lu-more:not(.open) .lineup { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .lineup-box.lu-more.open .lineup { flex-wrap: wrap; }
}
/* PC (0.53.29): "Book for €5" fluttuante in basso come su telefono, al posto del riquadro nella scheda del titolo;
   sparisce sui biglietti (.off) e dopo averli scelti (.has: c'è la riga "Add to cart" del riquadro biglietti) */
@media (min-width: 761px) {
  .ev-buy { display: none; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; z-index: 79; left: 50%; bottom: 20px;
    width: min(640px, calc(100% - 300px)); box-sizing: border-box; transform: translateX(-50%); padding: 10px 10px 10px 18px; border-radius: 18px;
    background: rgba(8,12,6,.96); border: 1px solid rgba(108,255,0,.55); box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: transform .25s ease, opacity .25s ease; }
  .buybar .eb-txt b { font-size: 21px; }
  .buybar .pill { flex: none; padding: 12px 22px; font-size: 15px; }
  .buybar.off, .buybar.has { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
  html[data-theme="light"] .buybar { background: rgba(255,255,255,.97); border-color: #4fd400; box-shadow: 0 12px 30px rgba(22,18,44,.18); }
  body:has(.buybar) main { padding-bottom: 90px; }
}
/* riquadro biglietti (0.53.30-31): "Book for €5" accanto al titolo, verde con testo scuro come i badge dei prezzi */
.tb-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 20px; }
.tb-head h2.sec { margin: 0; }
.tb-book { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 14px; background: #6cff00; border: 1px solid #4fd400;
  box-shadow: 0 8px 20px rgba(108,255,0,.25); font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; color: #0a1006; }
html[data-theme="light"] .tb-book { box-shadow: 0 8px 20px rgba(22,18,44,.14); }
@media (max-width: 760px) { .tb-book { font-size: 18px; padding: 6px 12px; } }
/* PC: la riga "Add to cart" resta in vista solo dopo aver scelto dei biglietti (prima era una barra vuota sopra le formule) */
@media (min-width: 761px) {
  .tickets-box .tickets-go { bottom: 16px; }
  .tickets-box .tickets-go:has(.tg-sum[hidden]) { position: static; padding: 0; margin: 18px 0 0; background: none; border: 0; }
}

/* ===== home mobile (0.50.9): vetrina a tutta larghezza attaccata all'header, sezioni più vicine ===== */
@media (max-width: 760px) {
  .when-top .when.when-eq { margin: 6px -20px 0; border-radius: 0; border-left: 0; border-right: 0; padding: 14px 20px; }
  .when-eq .when-eye { display: none; }
  .when-eq .when-h > span { align-self: center; }
  .when-top + .home-tabs { margin-top: 0; }
  .home-tabs .tabs-main { margin-top: 12px; }
  .home-tabs .dates-card { margin: 0 0 12px; }
  .home-tabs .doors { margin: 0 0 22px; }
}

/* "Back" nei riquadri della home (0.50.10) */
.tab-back-w { margin: 0 0 14px; }
.back-btn-tab span { font-size: 1.3em; line-height: 0; margin-right: 2px; }

/* ---------- 0.50.11 tema chiaro (html[data-theme="light"], interruttore sole/luna; predefinito scuro) ----------
   Le "isole scure" restano scure anche in chiaro: vetrina col logo, foto degli eventi con il testo sopra, porte colorate. */
.theme-tg { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--text); cursor: pointer; }
.theme-tg:hover { background: var(--panel2); }
.theme-tg svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-tg .th-moon { display: none; }
html[data-theme="light"] .theme-tg:not(.dr-th) .th-sun { display: none; }
html[data-theme="light"] .theme-tg:not(.dr-th) .th-moon { display: block; }
@media (max-width: 760px) { .top .top-th { display: none; } }

html[data-theme="light"] {
  --bg: #f4f3f8; --panel: #ffffff; --panel2: #ecebf3; --line: rgba(22,18,44,.13);
  --text: #16151d; --muted: #5f5d70; --accent: #0a8fa0; --cyan: #0a9db0;
  color-scheme: light;
}
html[data-theme="light"] body, html[data-theme="light"] body.sky { color-scheme: light;
  background: radial-gradient(900px 600px at 50% -10%, rgba(138,63,252,.10), transparent 65%), radial-gradient(700px 600px at 105% 75%, rgba(108,255,0,.07), transparent 60%), var(--bg);
  background-attachment: fixed; }
html[data-theme="light"][data-phase="day"] main { text-shadow: none; }
html[data-theme="light"] a:hover { color: var(--pink); }

/* testo bianco fisso → testo del tema */
html[data-theme="light"] :is(.nav a:hover, .nav a.on, .top-sform input, .sb-field input, .mc-grid a.has, .mc-grid .today, .week-date, .cal-cell b, .event-when,
  .event-meta a:hover, .form-error, .info-tab:hover, .info-tab.on, .ag-day li a:hover, .ab-i.on, .bh-more, .top-cart:hover, .cg-row select, .cg-x:hover, .cg-ref:hover,
  .lang-sw summary:hover, .lang-sw[open] summary, .lang-menu button:hover, .lang-menu button.on, .ca-list li a:hover, .eb-txt b, .offer-qty input, .qty-b, .tg-sum,
  .brand-wm, .when-go a, .ck-due, .tr-i b, .tn-all:hover, .pt-t b, .chip:hover) { color: var(--text); }
html[data-theme="light"] .pill { color: var(--text); border-color: rgba(22,18,44,.28); }
html[data-theme="light"] .pill:hover { color: var(--text); border-color: var(--text); }
html[data-theme="light"] .pill.pill-solid, html[data-theme="light"] .pill.pill-soldout { color: #fff; }
html[data-theme="light"] .cg-x:hover, html[data-theme="light"] .cg-ref:hover { border-color: var(--text); }

/* barre e menu a tendina */
html[data-theme="light"] .top-in { background: rgba(255,255,255,.86); box-shadow: 0 4px 18px rgba(22,18,44,.08); }
html[data-theme="light"] :is(.drop .club-list, .lang-menu, .searchbar, .months) { background: rgba(255,255,255,.97); box-shadow: 0 14px 34px rgba(22,18,44,.14); }
html[data-theme="light"] .foot { background: rgba(22,18,44,.04); }
html[data-theme="light"] .top-search svg { color: var(--text); }
@media (max-width: 760px) {
  html[data-theme="light"] .top-search { background: rgba(22,18,44,.06); }
  html[data-theme="light"] .appbar { background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(22,18,44,.16); }
}

/* campi */
html[data-theme="light"] :is(.when-f input, .tour-date input, .offer-qty, .side-search .sb-field) { background: #fff; color: var(--text); border-color: rgba(22,18,44,.2); color-scheme: light; }
html[data-theme="light"] .form-error { background: rgba(108,255,0,.08); }
html[data-theme="light"] .when-c { color: var(--text); border-color: rgba(22,18,44,.25); background: #fff; }
html[data-theme="light"] .when-c:hover { background: var(--text); color: #fff; border-color: var(--text); }

/* schede, bordi chiari sulle superfici bianche */
html[data-theme="light"] :is(.card:hover, .cal-cell.has:hover, .club-fold[open], .info-card[open]) { border-color: rgba(22,18,44,.22); }
html[data-theme="light"] :is(.card, .ev-card, .tickets-box, .club-fold, .info-card, .cal-cell, .ag-day li a) { box-shadow: 0 2px 10px rgba(22,18,44,.05); }
html[data-theme="light"] .club-card-logo { border-color: #fff; }
html[data-theme="light"] .when { background: radial-gradient(120% 140% at 88% -10%, rgba(108,255,0,.12), transparent 55%), radial-gradient(90% 120% at -5% 110%, rgba(25,211,230,.10), transparent 60%), #fff; }

/* barre "Book" fluttuanti */
html[data-theme="light"] .tickets-box .tickets-go, html[data-theme="light"] .ev-buy { background: rgba(255,255,255,.97); box-shadow: 0 12px 30px rgba(22,18,44,.18); }

/* vetrina: resta un'isola scura (il logo PNG è su nero e si fonde con "screen") */
html[data-theme="light"] .when.when-eq { --text: #f4f4f6; --muted: #a3a3b2; --panel: rgba(255,255,255,.045); --panel2: rgba(255,255,255,.08); --line: rgba(255,255,255,.11);
  color: var(--text); color-scheme: dark;
  background: radial-gradient(120% 140% at 88% -10%, rgba(108,255,0,.34), transparent 55%), radial-gradient(90% 120% at -5% 110%, rgba(25,211,230,.16), transparent 60%), #15111f; }
html[data-theme="light"] .when.when-eq .when-go a { color: #fff; }
html[data-theme="light"] .when:not(.when-eq) .when-sub { color: var(--muted); }

/* testi chiari fissi (pensati per il fondo scuro) → testo del tema */
html[data-theme="light"] :is(.hero-sub, .brand-box p, .card-club, .card-lineup, .text, .event-meta a, .brand-txt p, .outlet-box p, .event-price, .brand-msg p, .offer-pay,
  .checkout-ev, .form-grid label, .terms, .info-intro, .info-body, .eb-txt small, .trust li, .when:not(.when-eq) .when-sub, .funky-egg p, .tour-intro, .tour-short, .trust-row,
  .vn-desc, .cg-t small .ck-due, .ck-t small .ck-due) { color: var(--text); }
html[data-theme="light"] .rp-d.off { color: #b7b3c4; }
html[data-theme="light"] .cg-ref { color: #c25a00; }
html[data-theme="light"] :is(.offer-qty select, .checkout-form input[type=text], .checkout-form input[type=email], .checkout-form input[type=tel], .checkout-form input[type=password], .checkout-form select, .checkout-form textarea) { background: #fff; color: var(--text); border-color: rgba(22,18,44,.22); }
/* testata del club: la foto sfuma nel fondo chiaro */
html[data-theme="light"] .club-hero::before { background: linear-gradient(180deg, rgba(244,243,248,.2), rgba(244,243,248,.97) 92%); }
html[data-theme="light"] .club-hero p { color: var(--text); }
html[data-theme="light"] .offer-pay b { color: #a86400; }

/* vetrina mobile (0.50.12): logo più piccolo, ritagliato sul disegno (il PNG ha margini neri) così il bordo destro
   coincide con quello dei riquadri sotto e l'altezza con le due righe di "34 seasons on the island" */
@media (max-width: 760px) {
  .when.when-eq { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h logo" "em logo" "pts pts"; column-gap: 12px; }
  .when-eq .when-h > span { font-size: min(20px, 5.1vw); white-space: nowrap; }
  .when-eq .when-h > em { font-size: min(22px, 5.6vw); margin: 4px 0 2px; }
  .when-eq > .eql-pts { margin-top: 8px; }
  .when-eq .eqv.eql-png { grid-area: logo; justify-self: end; align-self: center; width: min(100px, 25vw); min-height: 0; height: auto; padding: 0; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start; }
  .when-eq .eqv.eql-png > img, .when-eq .eqv.eql-png > img[width] { flex: none; width: 124.2%; max-width: none; height: auto; aspect-ratio: 1252 / 363; object-fit: cover; object-position: 50% 52.6%; margin: 0 0 0 -12.1%; }
  .when-eq .eqv.eql-png .eql-since2 { align-self: stretch; margin: 3px 0 0; text-align: center; }
}

/* barra in basso: su Chrome/iPhone la zona di sicurezza si somma ai margini e la barra resta alta, ora al massimo 8px sopra di essa */
@media (max-width: 760px) { .appbar { bottom: max(8px, calc(env(safe-area-inset-bottom) - 10px)); } }

/* ---------- 0.50.15 sfondo: dal viola al verde acido fluo (prova). Per tornare al viola basta togliere questo blocco ---------- */
:root { --sky-top: #030502; --sky-mid: #060a04; --sky-low: #0f1d05; --sky-glow: rgba(108,255,0,.16);
  --panel: rgba(14,20,10,calc(.6 + .2 * var(--day, 0))); --panel2: rgba(26,36,18,calc(.7 + .18 * var(--day, 0))); }
html[data-theme="light"] body, html[data-theme="light"] body.sky {
  background: radial-gradient(900px 600px at 50% -10%, rgba(108,255,0,.16), transparent 65%), radial-gradient(700px 600px at 105% 75%, rgba(108,255,0,.06), transparent 60%), var(--bg);
  background-attachment: fixed; }
html[data-theme="light"] { --bg: #f3f6ee; --panel2: #eaefe3; }
html[data-theme="light"] body, html[data-theme="light"] body.sky { background: radial-gradient(900px 600px at 50% -10%, rgba(108,255,0,.24), transparent 65%), radial-gradient(700px 600px at 105% 75%, rgba(108,255,0,.06), transparent 60%), var(--bg); background-attachment: fixed; }
html[data-theme="light"] .when.when-eq { background: radial-gradient(120% 140% at 88% -10%, rgba(108,255,0,.34), transparent 55%), radial-gradient(90% 120% at -5% 110%, rgba(108,255,0,.14), transparent 60%), #0b1008; }
/* vetrina in verde acido (scuro e chiaro: in tutti e due resta un'isola scura) */
.when.when-eq, html[data-theme="light"] .when.when-eq { background: radial-gradient(120% 140% at 88% -10%, rgba(108,255,0,.30), transparent 55%), radial-gradient(90% 120% at -5% 110%, rgba(108,255,0,.12), transparent 60%), #0b1008; border-color: rgba(108,255,0,.22); }
/* vetrina: slogan e icone rosa → verde lime fluo (prova) */
.when.when-eq { --lime: #c6ff1a; }
.when-eq .when-h em { color: var(--lime); }
.when-eq .eql-pts li:nth-child(1) svg { stroke: var(--lime); }
/* lime scelto dall'utente: #6cff00, senza alone; stesso verde per i bagliori della vetrina */
.when.when-eq, html[data-theme="light"] .when.when-eq { --lime: #6cff00; border-color: rgba(108,255,0,.4);
  background: radial-gradient(120% 140% at 88% -10%, rgba(108,255,0,.36), transparent 55%), radial-gradient(90% 120% at -5% 110%, rgba(108,255,0,.15), transparent 60%), #0a1006; }

/* ---------- 0.50.15 il rosa del marchio diventa verde lime #6cff00 (--pink resta il nome della variabile) ----------
   Sul verde il testo bianco non si legge: testo scuro sui fondi pieni. In tema chiaro un verde più scuro per testi e bordi su bianco. */
.eqv-bars span:nth-child(4n+2) { background: linear-gradient(to top, rgba(230,25,125,.35), #e6197d); }   /* barre del logo: colori originali */
.pill.pill-solid, .pill.pill-solid:hover, .tag, .cart-n, .rp-d.sel, html[data-theme="light"] .pill.pill-solid { color: #0a1006; }
.bh-fact svg { stroke: #0a1006; }
.dc-chev::before { border-color: #0a1006; }
html[data-theme="light"] { --pink: #2f8f00; }
html[data-theme="light"] .when.when-eq { --pink: #6cff00; }
html[data-theme="light"] :is(.pill.pill-solid, .dc-chev, .tag, .cart-n, .rp-d.sel, .car-dot.on) { background: #6cff00; border-color: #4fd400; }
html[data-theme="light"] .brand-wm small { color: #2f8f00; }
/* vetrina: il verde sale dal basso, più pulito (meno oliva: tinta un po' più fredda e base quasi nera) */
.when.when-eq, html[data-theme="light"] .when.when-eq {
  background: radial-gradient(130% 85% at 50% 125%, rgba(70,255,40,.34), rgba(70,255,40,.08) 55%, transparent 80%), linear-gradient(0deg, rgba(70,255,40,.06), transparent 60%), #050805; }
/* tema chiaro: campo date con bordo sottile */
html[data-theme="light"] .when-f .when-d { border: 1px solid rgba(22,18,44,.22); border-right: 0; }
/* barra fissa "Book for €5" (mobile): fondo verde-nero al posto del viola; in tema chiaro fondo bianco (prima il testo scuro spariva sul fondo scuro) */
@media (max-width: 760px) {
  .buybar { background: rgba(8,12,6,.96); }
  .tickets-box .tickets-go { background: rgba(8,12,6,.95); }
  html[data-theme="light"] .buybar { background: rgba(255,255,255,.97); border-color: #4fd400; box-shadow: 0 12px 30px rgba(22,18,44,.18); }
  html[data-theme="light"] .tickets-box .tickets-go { background: rgba(255,255,255,.97); }
}

/* ---------- 0.50.18 home: scheda unica "What are you looking for?" (categorie in pillole) + "When are you coming?" ----------
   Sostituisce le porte colorate e la fila dei loghi dei club */
.plan-card { margin-top: 18px; padding: 18px 22px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
.plan-card .pc-h { display: inline-block; margin: 0 18px 0 0; vertical-align: middle; font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; }
.pc-cats { display: inline-flex; flex-wrap: wrap; gap: 8px; vertical-align: middle; }
.pc-cat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel2); color: var(--text);
  font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; text-decoration: none; transition: border-color .15s, background .15s; }
.pc-cat svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--cc, var(--pink)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-cat:hover { color: var(--text); border-color: var(--cc, var(--pink)); }
.plan-card .dates-card { margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.home-tabs .plan-card { margin: 0 0 26px; }
.home-tabs .plan-card .dates-card { margin: 16px 0 0; }
@media (max-width: 760px) {
  .home-tabs .plan-card { margin: 0 0 20px; padding: 14px; }
  .plan-card .pc-h { display: block; margin: 0 0 10px; font-size: 18px; }
  .pc-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pc-cat { padding: 10px 12px; font-size: 14px; min-width: 0; }
  .pc-cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .home-tabs .plan-card .dates-card { margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
  .plan-card .dates-card .dc-tg { padding: 12px 0 0; }
  .plan-card .dates-card .dc-h { font-size: 16px; }
  .plan-card .dates-card .dc-body { padding: 12px 0 0; }
}

/* pagina club (0.50.19): "Recommended" in alto, poi l'elenco dei club */
.clubs-rec { margin: 0 0 30px; }
@media (max-width: 760px) { .clubs-rec { margin: 0 0 20px; } }
/* mobile: il calendario delle date si apriva tagliato dentro la scheda (overflow nascosto) */
@media (max-width: 760px) { .dates-card, .plan-card .dates-card { overflow: visible; } }
/* pagina club senza colonna laterale: elenco a tutta larghezza */
.clubs-rec + .club-folds { margin-top: 0; }

/* ---------- 0.50.21 home: scheda "What are you looking for? / When are you coming?" a colori invertiti (fondo verde acceso, testo scuro) ---------- */
.plan-card, html[data-theme="light"] .plan-card { --ink: #0a1006; background: #6cff00; border-color: #6cff00; color: var(--ink); box-shadow: 0 10px 30px rgba(108,255,0,.12); }
.plan-card .pc-h, .plan-card .dc-h, .plan-card .dc-tg { color: var(--ink); }
.plan-card .pc-cat, html[data-theme="light"] .plan-card .pc-cat { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan-card .pc-cat:hover { color: #fff; border-color: #fff; }
.plan-card .dates-card, .home-tabs .plan-card .dates-card { border-top-color: rgba(10,16,6,.22); }
.plan-card .when-f .pill.pill-solid, html[data-theme="light"] .plan-card .when-f .pill.pill-solid { background: var(--ink); border-color: var(--ink); color: #6cff00; }
.plan-card .when-f .pill.pill-solid:hover { background: #1d2b14; border-color: #1d2b14; color: #6cff00; }
.plan-card .when-f .when-d { border: 1px solid rgba(10,16,6,.25); border-right: 0; }
.plan-card .when-go a, html[data-theme="light"] .plan-card .when-go a { color: var(--ink); text-decoration-color: rgba(10,16,6,.55); }
.plan-card .when-go a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.plan-card .dc-tg svg { stroke: var(--ink); }
.plan-card .dc-chev, html[data-theme="light"] .plan-card .dc-chev { background: var(--ink); border-color: var(--ink); }
.plan-card .dc-chev::before { border-color: #6cff00; }

/* mobile: "Recommended" e "Tonight in Ibiza" chiusi all'apertura, si aprono toccando il titolo */
@media (max-width: 760px) {
  .home-parties:not(.up) .rec-head .sec, .home-parties .tn-head .sec { display: flex; align-items: center; gap: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .home-parties:not(.up) .rec-head .sec::after, .home-parties .tn-head .sec::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; transition: transform .2s;
    background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1006' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; }
  html[data-theme="light"] .home-parties:not(.up) .rec-head .sec::after, html[data-theme="light"] .home-parties .tn-head .sec::after { background-color: #6cff00; }
  .home-parties.rec-open .rec-head .sec::after, .home-parties .tonight.open .tn-head .sec::after { transform: rotate(180deg); }
  .home-parties:not(.rec-open) .rv-rec > .car, .home-parties:not(.rec-open) .rv-rec > .empty { display: none; }
  .home-parties .tonight:not(.open) .tn-grid { display: none; }
  .home-parties .rv-rec > .tonight { margin-top: 18px; }
}

/* ---------- 0.50.24 home, scheda verde su mobile: "Quando?" senza icona, sotto [calendario Cerca] [Stasera] ---------- */
.plan-card .when-f .pill svg { display: none; }
@media (max-width: 760px) {
  .plan-card .dc-tg > svg, .plan-card .dc-chev { display: none; }
  .plan-card .dc-tg { cursor: default; pointer-events: none; }
  .plan-card .dates-card .dc-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 0 0; position: relative; }
  .plan-card .when-f { display: block; position: static; margin: 0; max-width: none; }
  .plan-card .when-f .when-d { display: none; }
  .plan-card .when-f .pill.pill-solid, .plan-card .when-go a:first-child { box-sizing: border-box; width: 100%; height: 48px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
  .plan-card .when-f .pill svg { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .plan-card .when-go { display: block; margin: 0; }
  .plan-card .when-go a:not(:first-child) { display: none; }
  .plan-card .when-go a:first-child, html[data-theme="light"] .plan-card .when-go a:first-child { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
}

/* 0.50.26 mobile: "Quando?" grande come "Sto cercando…", pulsanti [Cerca] [Stasera] identici alle pillole delle categorie */
.plan-card .when-go a svg { display: none; }
@media (max-width: 760px) {
  .plan-card .dates-card .dc-h { font-size: 18px; }
  .plan-card .dates-card .dc-body { padding-top: 10px; }
  .plan-card .when-f .pill.pill-solid, .plan-card .when-go a:first-child,
  html[data-theme="light"] .plan-card .when-f .pill.pill-solid, html[data-theme="light"] .plan-card .when-go a:first-child {
    height: auto; min-height: 0; padding: 10px 12px; gap: 8px; justify-content: flex-start; border: 1px solid var(--ink); border-radius: 999px;
    background: var(--ink); color: #fff; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 14px; letter-spacing: .01em; line-height: 1.1; text-decoration: none; }
  .plan-card .when-f .pill svg, .plan-card .when-go a svg { display: block; width: 19px; height: 19px; flex: none; fill: none; stroke: #6cff00; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .plan-card .when-go a:first-child svg { stroke: #ffd23f; }
}

/* 0.50.27 home mobile: lo sfondo della vetrina parte dall'inizio della pagina e fa da sfondo anche all'header;
   il contenuto resta sotto l'header (66px = 8px di margine + 58px della pillola dell'header) */
@media (max-width: 760px) {
  .when-top { --hdr: 66px; margin-top: 0; }
  .when-top .when.when-eq { margin-top: calc(-1 * var(--hdr)); padding-top: calc(var(--hdr) + 14px); border-top: 0; }
}
/* 0.50.28: un po' più d'aria tra header e titolo della vetrina, e tra vetrina e scheda "I'm looking for…" */
@media (max-width: 760px) {
  .when-top .when.when-eq { padding-top: calc(var(--hdr) + 22px); }
  .when-top + .home-tabs { margin-top: 10px; }
}

/* ---------- 0.50.30 "My bookings": email di prenotazione → storico inviato a quell'indirizzo ---------- */
.foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } }
.my-bookings { max-width: 640px; }
.mb-intro { font-size: 16px; line-height: 1.5; color: var(--text); margin: 0 0 18px; }
.mb-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 18px; }
.mb-form .mb-l { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.mb-form .mb-l input { width: 100%; box-sizing: border-box; }
.mb-form .pill { padding: 12px 22px; }
.mb-note a { color: var(--pink); }
.mb-done { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; line-height: 1.5; }
.mb-done p { margin: 0 0 10px; } .mb-done p:last-child { margin: 14px 0 0; }
.mb-done b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 22px; text-transform: uppercase; color: var(--pink); }
.info-list .info-mb { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
@media (max-width: 700px) { .mb-form .pill { flex: 1 1 100%; } }
/* My bookings: elenco (sessione aperta dal link nell'email) */
.mb-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 8px; }
.mb-who p { margin: 0; color: var(--muted); } .mb-who b { color: var(--text); word-break: break-all; }
.mb-who .pill { padding: 8px 16px; font-size: 13px; }
.my-bookings .mb-h { margin: 26px 0 12px; }
.mb-cards { display: grid; gap: 12px; }
.mb-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.mb-card.is-open { border-color: rgba(108,255,0,.45); }
.mb-code { margin: 0 0 6px; } .mb-code span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mb-code b { font-family: var(--cond); font-stretch: 80%; font-size: 20px; letter-spacing: .08em; color: var(--text); }
.mb-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.mb-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .mb-t b { font-size: 15px; color: var(--text); line-height: 1.3; }
.mb-d { font-size: 13px; font-weight: 700; color: #19d3e6; }
html[data-theme="light"] .mb-d { color: #0a7f8c; }
.mb-badge { flex: none; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 13px; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; white-space: nowrap; background: var(--panel2); color: var(--muted); }
.mb-badge.s-upcoming { background: #6cff00; color: #0a1006; }
.mb-badge.s-issued { background: #19d3e6; color: #06181b; }
.mb-badge.s-collected { color: var(--text); }
.mb-badge.s-cancelled { background: rgba(179,38,30,.18); color: #ff8a80; }
html[data-theme="light"] .mb-badge.s-cancelled { color: #b3261e; }
.mb-due { margin: 6px 0 0; font-size: 14px; color: var(--muted); } .mb-due b { color: #ffd21f; }
html[data-theme="light"] .mb-due b { color: #8a6200; }
.mb-go { margin: 10px 0 0; } .mb-go .pill { padding: 8px 16px; font-size: 13px; }
.mb-test { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: #ffd21f; color: #1a1400; vertical-align: 3px; }

/* ---------- 0.50.33 Party calendar per settimana: PC tabella club × giorni, mobile un giorno alla volta ---------- */
.cal-views { display: flex; justify-content: center; gap: 4px; margin: 0 auto 14px; padding: 5px; width: fit-content; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.cal-views .chip { margin: 0; padding: 7px 18px; }
.wk-nav { justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.wk-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.wk-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 980px; }
.wk-table th, .wk-table td { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
.wk-table tr:last-child th, .wk-table tr:last-child td { border-bottom: 0; }
.wk-table thead th { position: sticky; top: 0; background: var(--panel2); font-weight: 400; }
.wk-table thead th a { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.wk-table thead th b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 18px; text-transform: uppercase; line-height: 1; }
.wk-table thead th span { font-size: 12px; color: var(--muted); }
.wk-table .wk-club-h, .wk-table .wk-club { width: 170px; border-left: 0; }
.wk-table .wk-club-h { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 14px; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.wk-club a { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 15px; text-transform: uppercase; line-height: 1.1; }
.wk-club img, .wk-club .nologo { width: 38px; height: 38px; flex: none; border-radius: 10px; object-fit: contain; background: #000; }
.wk-table .is-today { background: rgba(108,255,0,.08); }
.wk-table thead th.is-today b { color: var(--pink); }
.wk-table td.is-past { opacity: .5; }
.wk-ev { display: block; padding: 7px 8px; border-radius: 10px; background: var(--panel2); color: var(--text); text-decoration: none; margin: 0 0 6px; line-height: 1.25; }
.wk-ev:last-child { margin-bottom: 0; }
.wk-ev:hover { outline: 1px solid var(--pink); }
.wk-ev b { display: block; font-size: 13px; overflow-wrap: anywhere; }
.wk-ev small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.wk-p { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(255,210,31,.55); color: var(--yellow); }
.wk-p.is-sold { border-color: rgba(255,90,90,.6); color: #ff6b6b; }
.wk-mob { display: none; }
@media (max-width: 760px) {
  .wk-table-wrap { display: none; }
  .wk-mob { display: block; }
  .wk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0 0 14px; }
  .wk-dtab { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 2px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .wk-dtab b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 14px; text-transform: uppercase; line-height: 1; }
  .wk-dtab span { font-size: 10px; color: var(--muted); white-space: nowrap; }
  .wk-dtab.is-empty { opacity: .5; }
  .wk-dtab.is-today { border-color: var(--pink); }
  .wk-dtab.on { background: #6cff00; border-color: #6cff00; color: #0a1006; opacity: 1; }
  .wk-dtab.on span { color: #0a1006; }
  .wk-dpanel { display: none; }
  .wk-dpanel.on { display: block; }
  .wk-dpanel .ag-date { display: none; }
  .wk-none { text-align: center; padding: 20px 0; }
}
@media (max-width: 760px) { .wk-dpanel .ag-day { grid-template-columns: minmax(0, 1fr); border-top: 0; padding-top: 0; } }
.cal-views .chip.on, html[data-theme="light"] .cal-views .chip.on { background: #6cff00; border-color: #6cff00; color: #0a1006; }
html[data-theme="light"] .wk-p { color: #8a6200; border-color: rgba(138,98,0,.45); }
html[data-theme="light"] .wk-p.is-sold { color: #b3261e; border-color: rgba(179,38,30,.45); }
/* 0.50.35 vista settimana in stile Spotlight: mesi della stagione, settimane con date complete, logo club grande, schede serata con line-up */
.wk-month { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 4px; margin: 0 0 12px; }
.wk-month .wk-year { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 22px; margin: 0 10px 0 4px; }
.wk-m, .wk-arr { padding: 6px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 18px; text-transform: uppercase; line-height: 1; }
.wk-m:hover, .wk-arr:hover { color: var(--pink); }
.wk-arr { font-size: 24px; color: var(--muted); }
.wk-m.on, html[data-theme="light"] .wk-m.on { background: #6cff00; color: #0a1006; }
.wk-weeks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 8px; }
.wk-weeks .chip { margin: 0; gap: 4px; }
.wk-weeks .chip.on, html[data-theme="light"] .wk-weeks .chip.on { background: #6cff00; border-color: #6cff00; color: #0a1006; }
.wk-now { text-align: center; margin: 4px 0 0; font-size: 13px; }
.wk-now a { color: var(--pink); font-weight: 700; }
.week-page .wk-table-wrap, .week-page .empty { margin-top: 18px; }
.wk-table thead th { text-align: center; padding: 10px 6px; }
.wk-table thead th a { align-items: center; }
.wk-table thead th.is-today { background: #6cff00; }
.wk-table thead th.is-today a, .wk-table thead th.is-today b, .wk-table thead th.is-today span { color: #0a1006; }
.wk-table .wk-club { vertical-align: middle; text-align: center; }
.wk-club a { flex-direction: column; justify-content: center; gap: 8px; text-align: center; font-size: 16px; }
.wk-club img, .wk-club .nologo { width: 96px; height: 96px; border-radius: 16px; }
.wk-table td { padding: 6px; }
.wk-ev { display: flex; flex-direction: column; gap: 5px; padding: 0 0 9px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.wk-ev > * { margin-left: 9px; margin-right: 9px; }
.wk-when { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin: 0; padding: 5px 9px; background: rgba(108,255,0,.12); font-size: 11px; font-weight: 700; color: var(--muted); }
.wk-ev b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 17px; text-transform: uppercase; line-height: 1.05; color: var(--pink); }
.wk-djs { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; color: var(--text); }
.wk-djs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-ev .wk-p { align-self: flex-start; margin-top: 2px; }
.wk-none-c { display: block; min-height: 90px; border-radius: 12px; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(127,127,127,.06) 8px 16px); }
html[data-theme="light"] .wk-ev b { color: #2f8f00; }
html[data-theme="light"] .wk-when { background: rgba(108,255,0,.22); color: #33402b; }
@media (min-width: 761px) {
  .wrap.week-page { max-width: none; padding: 0 24px; }
  .wk-table { min-width: 1000px; }
  .wk-table .wk-club-h, .wk-table .wk-club { width: 150px; }
}
@media (max-width: 760px) {
  .wk-month, .wk-weeks { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
  .wk-month::-webkit-scrollbar, .wk-weeks::-webkit-scrollbar { display: none; }
  .wk-month > *, .wk-weeks > * { flex: none; white-space: nowrap; }
  .wk-month { gap: 0 2px; } .wk-month .wk-year { font-size: 18px; margin: 0 6px 0 2px; }
  .wk-m { padding: 5px 8px; font-size: 15px; }
  .wk-weeks { gap: 6px; margin-bottom: 14px; } .wk-weeks .chip { padding: 6px 10px; font-size: 12px; }
}
/* 0.50.36 Party calendar: ricerca per date in testa (mese e settimana) */
.page-title + .dates-card { margin: 0 auto 18px; }
.week-page .page-title + .dates-card { max-width: 1192px; }
/* 0.50.37 schermi larghi (≥1500px): contenitore unico a 1440px per header, vetrina e contenuto, allineati.
   Le schede NON si allargano: si aggiungono colonne (o una scheda in più nel carosello) e restano uguali o più piccole. */
@media (min-width: 1500px) {
  .wrap { max-width: 1480px; }
  .top-in, .bhero { max-width: 1440px; }
  .tn-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .club-folds { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .car-track { gap: 14px; border-radius: 0; }
  .car-slide { flex: 0 0 calc(50% - 7px); }
  .text { max-width: 900px; }
  .week-page .page-title + .dates-card { max-width: 1440px; }
}
/* 0.50.38 Ibiza clubs: elenco dei club a sinistra, scheda del club al centro (stessa struttura nella pagina di ogni club) */
.cb { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.cb-list { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.cb-h { margin: 2px 8px 10px; font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; }
.cb-list ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cb-i { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; color: var(--text); text-decoration: none; }
.cb-i:hover { background: var(--panel2); color: var(--text); }
.cb-i img, .cb-i .nologo { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: contain; background: #000; }
.cb-i > span { min-width: 0; }
.cb-i b { display: block; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 16px; line-height: 1.05; text-transform: uppercase; }
.cb-i small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-i.on, .cb-i.on:hover { background: #6cff00; color: #0a1006; }
.cb-i.on small { color: #0a1006; opacity: .75; }
.cb-main { min-width: 0; transition: opacity .15s; }
.cb-main.cb-loading { opacity: .4; pointer-events: none; }
.cb .club-hero { margin: 0; padding: 120px 28px 26px; border-radius: var(--r); overflow: hidden; }
.cb .club-hero .ch-in { position: relative; }
.cb .club-hero h1 { font-size: clamp(38px, 4.6vw, 72px); }
.cb .club-logo { width: 88px; height: 88px; margin-bottom: 12px; }
.cb-cols { margin-top: 26px; }
.cb-tickets { margin-top: 10px; }
.cal-rec { max-width: 1440px; margin: 0 auto 22px; }
@media (max-width: 1280px) and (min-width: 981px) { .cb-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 980px) {
  .cb { display: block; margin-top: 8px; }
  .cb-list { position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; }
  .cb-index .cb-main { display: none; }
  .cb-index .cb-h { margin: 6px 0 14px; font-size: 30px; text-align: center; }
  .cb-index .cb-list ul { gap: 8px; }
  .cb-index .cb-i { padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
  .cb-index .cb-i img, .cb-index .cb-i .nologo { width: 48px; height: 48px; }
  .cb-index .cb-i b { font-size: 19px; }
  .cb:not(.cb-index) .cb-h { display: none; }
  .cb:not(.cb-index) .cb-list ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 12px; padding: 0 20px; }
  .cb:not(.cb-index) .cb-list ul::-webkit-scrollbar { display: none; }
  .cb:not(.cb-index) .cb-list li { flex: none; }
  .cb:not(.cb-index) .cb-i { padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
  .cb:not(.cb-index) .cb-i img, .cb:not(.cb-index) .cb-i .nologo { width: 30px; height: 30px; border-radius: 50%; }
  .cb:not(.cb-index) .cb-i b { font-size: 14px; white-space: nowrap; }
  .cb:not(.cb-index) .cb-i small { display: none; }
  .cb .club-hero { padding: 90px 16px 18px; border-radius: 18px; }
  .cb-index .cb-i.on { background: var(--panel); color: var(--text); }
  .cb-index .cb-i.on small { color: var(--muted); opacity: 1; }
  .cb:not(.cb-index) .cb-i.on { background: #6cff00; border-color: #6cff00; color: #0a1006; }
  .cb-cols { margin-top: 18px; }
}
/* 0.50.39 Ibiza clubs: ricerca nell'elenco, elenco più compatto, foto più bassa nella colonna principale, "See calendar" */
.cb-top { display: flex; align-items: center; gap: 8px; margin: 0 0 8px 8px; min-height: 38px; }
.cb-top .cb-h { flex: 1; margin: 0; }
.cb-q { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); color: var(--text); font: inherit; font-size: 15px; outline: 0; }
.cb-q:focus { border-color: var(--pink); }
.cb-searching .cb-h { display: none; }
.cb-sb { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; cursor: pointer; color: var(--text); }
.cb-sb:hover { background: var(--panel2); }
.cb-sb svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cb-searching .cb-sb svg { display: none; }
.cb-searching .cb-sb::before { content: "×"; font-size: 26px; line-height: 1; }
.cb-none { padding: 10px 8px; color: var(--muted); font-size: 14px; }
.cb-list li[hidden] { display: none; }
@media (min-width: 981px) {
  .cb-list { padding: 12px 8px; }
  .cb-list ul { gap: 1px; }
  .cb-i { padding: 5px 8px; gap: 10px; }
  .cb-i img, .cb-i .nologo { width: 32px; height: 32px; border-radius: 8px; }
  .cb-i b { font-size: 15px; }
  .cb-i small { display: none; }
}
.cb .club-hero { padding: 70px 24px 22px; }
.cb .club-hero h1 { font-size: clamp(34px, 3.6vw, 56px); }
.cb .club-logo { width: 64px; height: 64px; margin-bottom: 10px; }
.cb-cols { margin-top: 0; }
.cb-cols .main > .club-hero + * { margin-top: 26px; }
.cb-cal { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.cb-cal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wk-table tr { scroll-margin-top: 96px; }
.wk-table tr:target > * { background: rgba(108,255,0,.12); }
.wk-table tr:target .wk-club a { color: var(--pink); }
html[data-theme="light"] .wk-table tr:target .wk-club a { color: #2f8f00; }
@media (max-width: 980px) {
  .cb:not(.cb-index) .cb-top { display: none; }
  .cb-index .cb-top { margin: 6px 0 14px; }
  .cb-index .cb-top .cb-h { margin: 0; text-align: left; }
  .cb .club-hero { padding: 70px 16px 16px; }
}
.cb-cols > .side { margin: 0; gap: 14px; }
.cb-cols > .side .cb-cal { margin-top: 0; }
.cb-q::-webkit-search-cancel-button { display: none; }
@media (min-width: 981px) and (max-width: 1280px) { .cb-cols > .side { margin-top: 22px; } }
/* 0.50.41 Ibiza clubs: About chiuso, su mobile niente mappa (pulsante "See in Maps" sulla foto) */
.map iframe { width: 1px; min-width: 100%; }  /* Safari iOS: l'iframe non deve allargare la pagina */
.cb .club-hero { position: relative; }
.ch-map { display: none; position: absolute; top: 12px; right: 12px; z-index: 1; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 14px; text-transform: uppercase; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ch-map:hover { color: #6cff00; }
.ch-map svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cb-about { margin: 0 0 8px; }
.cb-about > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cb-about > summary::-webkit-details-marker { display: none; }
.cb-about > summary .sec { margin: 0; }
.cb-about > summary::after { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); }
.cb-about[open] > summary::after { content: "−"; }
.cb-about > .text { margin-top: 12px; }
.cb-cols .main > .club-hero + .cb-about { margin-top: 22px; }
.cb-about + .club-agenda { margin-top: 22px; }
.ca-date { width: 68px; }
.cb-cols .main > :last-child { margin-bottom: 0; }
@media (max-width: 980px) {
  .ch-map { display: inline-flex; }
  .cb-mapbox { display: none; }
  .cb .club-hero { padding-top: 64px; }
  .cb-cols { gap: 18px; }
}

/* ===== 0.50.43: Ibiza clubs su PC — loghi più grandi e netti, elenco senza scroll, copertina più alta e più visibile ===== */
/* loghi: riempiono il riquadro (miniature già quadrate) e niente fondo nero dietro, che sugli angoli arrotondati
   faceva un alone scuro (si vedeva in light mode sui loghi bianchi) */
.cb-i img { object-fit: cover; background: transparent; border: 0; }
.cb .club-logo { object-fit: cover; background: transparent; border: 0; }
html[data-theme="light"] .cb-i img, html[data-theme="light"] .cb .club-logo { box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
@media (min-width: 981px) {
  /* elenco intero, senza barra di scorrimento (la colonna segue la pagina) */
  .cb-list { position: static; max-height: none; overflow: visible; }
  .cb-i { padding: 6px 8px; gap: 12px; }
  .cb-i img, .cb-i .nologo { width: 40px; height: 40px; border-radius: 10px; }
  .cb-i b { font-size: 16px; }
  /* scheda aperta: copertina più alta, logo più grande, sfumatura solo in basso */
  .cb .club-hero { padding: 150px 28px 26px; }
  .cb .club-logo { width: 96px; height: 96px; border-radius: 14px; margin-bottom: 12px; }
  .cb .club-hero::before { background: linear-gradient(180deg, rgba(5,5,7,0) 30%, rgba(5,5,7,.35) 60%, rgba(5,5,7,.85)); }
  html[data-theme="light"] .cb .club-hero::before { background: linear-gradient(180deg, rgba(244,243,248,0) 35%, rgba(244,243,248,.55) 68%, rgba(244,243,248,.93)); }
}

/* ===== 0.50.44: angoli coerenti con le schede (meno "pillola") e loghi senza alone in light mode ===== */
/* scala: schede 22px (--r) · barra in alto 18px · pulsanti, campi, voci di menu e chip 12px · etichette piccole (prezzi) 8px.
   Restano tondi solo: logo IDT, puntini del carosello, contatore del carrello, interruttori. */
.top-in { border-radius: 18px; }
.nav a, .top-search, .srch-x, .pill, .chip, .searchbar, .sb-cal, .months, .lineup li, .side-search .sb-field, .lang-sw summary,
.event-soldout, .offer-qty, .qty-b, .when-c, .wa-float, .cat-pill, .vn-chip, .pc-cat, .cal-views, .top-cart, .cg-x, .cg-ref,
.rp-nav button, .theme-tg, .nav-b, .cb-q, .cb-sb, .ch-map, .cb-about > summary::after, .mc-head a, .nav-pin, .dr-x,
.home-tabs .info-nav, .info .info-nav, .home-tabs .info-tab, .info .info-tab { border-radius: 12px; }
.when-f .pill { border-radius: 0 12px 12px 0; }
.ca-tag, .car-price, .ag-p, .tn-price, .wk-p, .fold-n { border-radius: 8px; }
@media (max-width: 980px) {
  .top-search { border-radius: 12px; }
  .plan-card .when-f .pill.pill-solid, .plan-card .when-go a:first-child,
  html[data-theme="light"] .plan-card .when-f .pill.pill-solid, html[data-theme="light"] .plan-card .when-go a:first-child { border-radius: 12px; }
  .cb:not(.cb-index) .cb-i { border-radius: 12px; }
  .cb:not(.cb-index) .cb-i img, .cb:not(.cb-index) .cb-i .nologo { border-radius: 8px; }
}
/* loghi dei club in light mode: niente fondo nero dietro l'immagine (sugli angoli arrotondati faceva un alone scuro
   sui loghi chiari), contorno grigio leggero. Le miniature sono già quadrate: riempiono il riquadro. */
html[data-theme="light"] :is(.wk-club img, .club-list img, .card-club img, .cal-logos img, .car-club img, .ag-day li img, .cf-logo,
  .club-card-logo, .club-logo, .ph-in img, .club-logos img, .cb-i img, .tn-logo, .dr-sub .club-list img) {
  object-fit: cover; background: transparent; border-color: transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
html[data-theme="light"] .club-logos a { background: transparent; }

/* ===== 0.50.45: Recommended su PC — schede verticali con le informazioni sopra la foto (come su mobile, più grandi):
   ne entrano 3–5 per riga invece di 2; logo del club più che raddoppiato (26 → 56 px) in alto a sinistra, prezzo in alto a destra ===== */
@media (min-width: 761px) {
  .home-parties .car-track { gap: 14px; border-radius: 0; }
  .home-parties .car-slide { position: relative; isolation: isolate; flex: 0 0 calc((100% - 28px) / 3); aspect-ratio: 4 / 5; min-height: 0;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 0; border-radius: var(--r); overflow: hidden; background: var(--panel2); }
  .home-parties .car-img { position: absolute; inset: 0; z-index: -1; }
  .home-parties .car-img img { transition: transform .35s ease; }
  .home-parties .car-slide:hover .car-img img { transform: scale(1.04); }
  .home-parties .car-txt { position: static; gap: 6px; padding: 70px 18px 18px; justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,.92) 35%, rgba(0,0,0,.55) 70%, rgba(0,0,0,0)); }
  .home-parties .car-txt small { color: #6cff00; font-size: 15px; }
  .home-parties .car-txt b { color: #fff; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.02; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal; }
  .home-parties .car-club { color: rgba(255,255,255,.8); font-size: 13px; }
  .home-parties .car-club img { position: absolute; top: 14px; left: 14px; z-index: 2; width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
    background: transparent; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.45); }
  .home-parties .car-price { position: absolute; top: 18px; right: 14px; z-index: 2; margin: 0; background: rgba(0,0,0,.65); border-color: rgba(255,210,31,.7);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .home-parties .car-price.is-sold { background: #c8102e; border-color: #c8102e; }
  html[data-theme="light"] .home-parties .car-slide { border-color: transparent; }
  html[data-theme="light"] .home-parties .car-txt b, html[data-theme="light"] .home-parties .car-slide:hover { color: #fff; }
}
@media (min-width: 1100px) { .home-parties .car-slide { flex-basis: calc((100% - 42px) / 4); } }
@media (min-width: 1500px) { .home-parties .car-slide { flex-basis: calc((100% - 56px) / 5); } }
/* 0.53.9: hover di "Recommended" come "Tonight in Ibiza": bordo verde e scheda che sale di 2px (oltre allo zoom della foto).
   Il carosello scorre in orizzontale e taglierebbe la scheda sollevata: 2px di spazio in alto. */
@media (min-width: 761px) {
  .home-parties .car-track { padding-top: 2px; margin-top: -2px; }
  .home-parties .car-slide { transition: border-color .15s, transform .15s; }
  .home-parties .car-slide:hover { border-color: var(--pink); transform: translateY(-2px); }
  html[data-theme="light"] .home-parties .car-slide:hover { border-color: transparent; }
}

/* 0.50.46: Recommended su PC più basso (quadrato: la foto si taglia in basso, resta la parte alta) e prezzo col verde del sito */
@media (min-width: 761px) {
  .home-parties .car-slide { aspect-ratio: 1 / 1; }
  .home-parties .car-img img { object-position: center top; }
  .home-parties .car-txt { padding-top: 50px; gap: 4px; }
  .home-parties .car-price, html[data-theme="light"] .home-parties .car-price { background: #6cff00; border-color: #6cff00; color: #0a1006; font-weight: 800;
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
  .home-parties .car-price.is-sold, html[data-theme="light"] .home-parties .car-price.is-sold { background: #c8102e; border-color: #c8102e; color: #fff; }
}

/* 0.50.47: Recommended su PC — prezzo in basso a destra, sulla riga del nome del club */
@media (min-width: 761px) {
  .home-parties .car-price { top: auto; bottom: 16px; right: 16px; }
  .home-parties .car-club { padding-right: 96px; min-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* 0.50.48: schede evento su mobile (Recommended e Tonight) — nella fascia in alto data/ora accanto al logo del club,
   prezzo in basso sotto il titolo con il verde del sito (come su PC) */
@media (max-width: 760px) {
  .home-parties .car-txt small, .tn-t small { position: absolute; top: 0; left: 44px; right: 6px; height: 44px; z-index: 2; display: flex; align-items: center;
    font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 13.5px; letter-spacing: 0; text-transform: uppercase;
    line-height: 1.02; color: #6cff00; opacity: 1; white-space: normal; overflow: hidden; }
  /* schede strette: la data va a capo su due righe invece di essere tagliata */
  .home-parties .car-txt small .car-time { display: none; }
  .home-parties .car-txt small > span:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tn-card:not(:has(.tn-logo)) .tn-t small { left: 8px; }
  .home-parties .car-price, .tn-price, html[data-theme="light"] .home-parties .car-price, html[data-theme="light"] .tn-price {
    position: static; align-self: flex-start; margin: 6px 0 0; padding: 2px 8px; font-size: 10.5px; font-weight: 800;
    background: #6cff00; border-color: #6cff00; color: #0a1006; }
  .home-parties .car-price.is-sold, .tn-price.is-sold, html[data-theme="light"] .home-parties .car-price.is-sold, html[data-theme="light"] .tn-price.is-sold { background: #c8102e; border-color: #c8102e; color: #fff; }
  .home-parties .car-slide::before, .tn-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 44px; z-index: 1;
    background: rgba(8,8,14,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* 0.50.49: schede evento su mobile — la foto parte sotto la fascia in alto (non viene più coperta) e si taglia solo in basso */
@media (max-width: 760px) {
  .home-parties .car-img, .tn-img { top: 44px; }
  .home-parties .car-img img, .tn-img img { object-position: center top; }
  .home-parties .car-slide::before, .tn-card::before { background: rgba(8,8,14,.92); }
}

/* ===== 0.50.50: "Tonight in Ibiza" su PC come le schede Recommended: quadrate, informazioni sopra la foto,
   logo del club 56 px in alto a sinistra, orario in verde, titolo, club in basso a sinistra e prezzo verde in basso a destra.
   Colonne come il carosello: 3 / 4 / 5 (761 / 1100 / 1500 px). ===== */
@media (min-width: 761px) {
  .tn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tn-card { position: relative; isolation: isolate; aspect-ratio: 1 / 1; justify-content: flex-end; border-radius: var(--r); background: var(--panel2); }
  .tn-img { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .tn-img img { object-position: center top; transition: transform .35s ease; }
  .tn-card:hover .tn-img img { transform: scale(1.04); }
  .tn-t { flex: none; gap: 4px; padding: 50px 18px 46px; justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,.92) 35%, rgba(0,0,0,.55) 70%, rgba(0,0,0,0)); }
  .tn-t small, html[data-theme="light"] .tn-t small { color: #6cff00; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 15px; text-transform: uppercase; opacity: 1; }
  .tn-t b, html[data-theme="light"] .tn-t b { color: #fff; font-family: var(--cond); font-stretch: 70%; font-weight: 800; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.02;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tn-time + .tn-club::before { content: none; }
  .tn-club { position: absolute; left: 18px; right: 112px; bottom: 18px; color: rgba(255,255,255,.8); font-family: inherit; font-stretch: 100%; font-weight: 700; font-size: 13px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tn-logo { display: block; position: absolute; top: 14px; left: 14px; z-index: 2; width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
    background: transparent; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 6px 18px rgba(0,0,0,.45); }
  .tn-price, html[data-theme="light"] .tn-price { position: absolute; top: auto; bottom: 16px; right: 16px; z-index: 2; margin: 0; background: #6cff00; border-color: #6cff00; color: #0a1006; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
  .tn-price.is-sold, html[data-theme="light"] .tn-price.is-sold { background: #c8102e; border-color: #c8102e; color: #fff; }
  html[data-theme="light"] .tn-card { border-color: transparent; }
}
@media (min-width: 1100px) { .tn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .tn-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* 0.53.8: "Tonight in Ibiza" ha fino a 5 serate (come le 5 colonne ≥1500px); con meno colonne si mostra una sola riga piena */
@media (min-width: 761px) and (max-width: 1099px) { .tonight .tn-grid > .tn-card:nth-child(n+4) { display: none; } }
@media (min-width: 1100px) and (max-width: 1499px) { .tonight .tn-grid > .tn-card:nth-child(n+5) { display: none; } }

/* ===== 0.50.51: sfondo con gli aloni verdi più marcati (light) e gli stessi aloni anche nel dark.
   Fissi dietro la pagina: scorrendo si vede la sfumatura. La "funky mode" (cielo che cambia con l'ora) non cambia. ===== */
html[data-theme="light"] body, html[data-theme="light"] body.sky {
  background:
    radial-gradient(1100px 680px at 50% -12%, rgba(108,255,0,.34), transparent 66%),
    radial-gradient(1300px 560px at 50% 115%, rgba(108,255,0,.22), transparent 70%),
    radial-gradient(760px 620px at 106% 70%, rgba(108,255,0,.12), transparent 62%),
    radial-gradient(700px 600px at -6% 40%, rgba(108,255,0,.08), transparent 62%),
    var(--bg);
  background-attachment: fixed; }
html:not(.funky):not([data-theme="light"]) body.sky {
  background:
    radial-gradient(1100px 620px at 50% -14%, rgba(108,255,0,.16), transparent 66%),
    radial-gradient(1300px 600px at 50% 114%, rgba(108,255,0,.30), transparent 70%),
    radial-gradient(760px 620px at 106% 70%, rgba(108,255,0,.08), transparent 62%),
    radial-gradient(700px 600px at -6% 40%, rgba(108,255,0,.06), transparent 62%),
    linear-gradient(180deg, #030502 0%, #060a04 55%, #132607 100%);
  background-color: #030502; background-attachment: fixed; }

/* 0.50.52: alone verde in alto più intenso (variante A): centro sul bordo alto della finestra + due aloni negli angoli in alto. Vale per tutte le larghezze. */
html[data-theme="light"] body, html[data-theme="light"] body.sky {
  background:
    radial-gradient(1700px 760px at 50% 0%, rgba(108,255,0,.42), transparent 66%),
    radial-gradient(900px 520px at 0% 0%, rgba(108,255,0,.22), transparent 66%),
    radial-gradient(900px 520px at 100% 0%, rgba(108,255,0,.22), transparent 66%),
    radial-gradient(1300px 560px at 50% 115%, rgba(108,255,0,.24), transparent 70%),
    radial-gradient(760px 620px at 106% 70%, rgba(108,255,0,.12), transparent 62%),
    radial-gradient(700px 600px at -6% 40%, rgba(108,255,0,.08), transparent 62%),
    var(--bg);
  background-attachment: fixed; }
html:not(.funky):not([data-theme="light"]) body.sky {
  background:
    radial-gradient(1700px 760px at 50% 0%, rgba(108,255,0,.24), transparent 66%),
    radial-gradient(900px 520px at 0% 0%, rgba(108,255,0,.14), transparent 66%),
    radial-gradient(900px 520px at 100% 0%, rgba(108,255,0,.14), transparent 66%),
    radial-gradient(1300px 600px at 50% 114%, rgba(108,255,0,.30), transparent 70%),
    radial-gradient(760px 620px at 106% 70%, rgba(108,255,0,.08), transparent 62%),
    radial-gradient(700px 600px at -6% 40%, rgba(108,255,0,.06), transparent 62%),
    linear-gradient(180deg, #071004 0%, #060a04 55%, #132607 100%);
  background-color: #030502; background-attachment: fixed; }

/* 0.50.53: "Back" diventa una freccia rotonda accanto al titolo e non occupa più una riga sua.
   Di base (layout non riconosciuti o browser senza :has) resta su una riga compatta;
   per i layout noti si sovrappone al bordo sinistro del titolo / della foto. */
.back-ic { width: 46px; height: 46px; padding: 0; border-radius: 50%; display: inline-grid; place-items: center; }
.back-ic[hidden] { display: none; }
.back-ic svg { margin-left: -2px; }
.back-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.back-wrap { padding-top: 18px; }
.back-wrap:has(> .back-ic):is(:has(+ .wrap > .page-title:first-child), :has(+ .wrap > .event:first-child), :has(+ .wrap > .party-head:first-child), :has(+ .wrap.cb)) { position: relative; height: 0; padding-top: 0; padding-bottom: 0; z-index: 6; }
.back-wrap:has(> .back-ic) > .back-ic { --bs: 46px; }
.back-wrap:has(+ .wrap > .page-title:first-child) > .back-ic { position: absolute; left: 20px; top: calc((clamp(36px, 5.5vw, 66px) - var(--bs)) / 2); }
.back-wrap:has(> .back-ic:not([hidden])) + .wrap > .page-title:first-child:not(.center) { padding-left: 62px; }
/* foto in alto (serata, tour, party): freccia sopra l'angolo della foto, su vetro scuro */
.back-wrap:has(+ .wrap > .event:first-child) > .back-ic { position: absolute; left: 32px; top: 12px; }
.back-wrap:has(+ .wrap > .party-head:not(.no-img):first-child) > .back-ic { position: absolute; left: 32px; top: 46px; }
.back-wrap:has(+ .wrap > .event:first-child) > .back-ic,
.back-wrap:has(+ .wrap > .party-head:not(.no-img):first-child) > .back-ic { background: rgba(0,0,0,.42); border-color: rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* party senza immagine (0.53.7): titolo a tutta larghezza e freccia accanto al titolo, come nelle pagine senza foto */
.party-head.no-img { display: block; }
.back-wrap:has(+ .wrap > .party-head.no-img:first-child) > .back-ic { position: absolute; left: 20px; top: calc((clamp(36px, 5.5vw, 66px) - var(--bs)) / 2); }
.back-wrap:has(> .back-ic:not([hidden])) + .wrap > .party-head.no-img:first-child .page-title { padding-left: 62px; }
/* risultati della ricerca (0.53.7): nome del party e, sotto, il club */
.search-res { margin-top: 8px; }
.club-list .sr-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.2; }
.club-list .sr-club { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
/* Ibiza clubs: accanto a "Ibiza clubs" (PC) o all'inizio della fila di club (mobile) */
.back-wrap:has(+ .wrap.cb) > .back-ic { position: absolute; left: 30px; top: 9px; }
.back-wrap:has(> .back-ic:not([hidden])) + .wrap.cb .cb-top { padding-left: 56px; }
@media (max-width: 760px) {
  .back-wrap:has(> .back-ic) > .back-ic { --bs: 40px; width: 40px; height: 40px; }
  .back-wrap:has(+ .wrap > .page-title:first-child) > .back-ic { left: 16px; }
  .back-wrap:has(> .back-ic:not([hidden])) + .wrap > .page-title.center:first-child { padding: 0 48px; }
  .back-wrap:has(> .back-ic:not([hidden])) + .wrap > .page-title:first-child:not(.center) { padding-left: 52px; }
  .back-wrap:has(+ .wrap > .event:first-child) > .back-ic,
  .back-wrap:has(+ .wrap > .party-head:not(.no-img):first-child) > .back-ic { left: 28px; }
  .back-wrap:has(+ .wrap > .party-head.no-img:first-child) > .back-ic { left: 16px; }
  .back-wrap:has(> .back-ic:not([hidden])) + .wrap > .party-head.no-img:first-child .page-title { padding-left: 52px; }
  /* la foto della serata su telefono è al 78% e centrata */
  .back-wrap:has(+ .wrap > .event:first-child) > .back-ic { left: calc(20px + (100% - 40px) * .11 + 10px); }
}
@media (max-width: 980px) {
  .back-wrap:has(+ .wrap.cb) > .back-ic { top: 0; left: 20px; }
  .back-wrap:has(> .back-ic:not([hidden])) + .wrap.cb .cb-top { padding-left: 46px; }
  .back-wrap:has(> .back-ic:not([hidden])) + .wrap.cb:not(.cb-index) .cb-list ul { padding-left: 64px; -webkit-mask-image: linear-gradient(90deg, transparent 0 58px, #000 74px); mask-image: linear-gradient(90deg, transparent 0 58px, #000 74px); }
}

/* 0.50.54: "Also on …" nella pagina della serata usa le stesse schede di "Tonight" / "Recommended" */
.also-on { margin-top: 34px; }
.also-on .tn-all span { display: inline; }
@media (max-width: 760px) { .also-on { margin-top: 24px; } .tn-t .tn-price { align-self: flex-start; } }

/* 0.50.56: badge prezzo dell'agenda (elenco del giorno) e della tabella settimanale in verde pieno, come nelle schede */
.ag-p, .wk-p, html[data-theme="light"] .ag-p, html[data-theme="light"] .wk-p { background: #6cff00; border-color: #6cff00; color: #0a1006; font-weight: 800; }
.ag-p.is-sold, .wk-p.is-sold, html[data-theme="light"] .ag-p.is-sold, html[data-theme="light"] .wk-p.is-sold { background: #c8102e; border-color: #c8102e; color: #fff; }

/* 0.50.58: niente zoom col doppio tocco (es. + e − dei biglietti su iPhone); lo zoom con due dita resta */
html { touch-action: manipulation; }
/* "Full ticket – price guaranteed": testo a sinistra e pulsante a destra (su telefono il pulsante sotto, a tutta larghezza).
   L'area "txt" della griglia dei biglietti non esiste qui: senza reset il testo finiva sotto il pulsante, senza margini. */
.tickets-box .offer.offer-ref { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; padding: 16px 18px; }
.tickets-box .offer.offer-ref .offer-txt { grid-area: auto; grid-column: 1; grid-row: 1; }
.tickets-box .offer.offer-ref .pill { grid-column: 2; grid-row: 1; }
.offer-ref h3 { margin: 0 0 4px; }
.offer-ref .muted { margin: 0; }
@media (max-width: 600px) {
  .tickets-box .offer.offer-ref { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .tickets-box .offer.offer-ref .pill { grid-column: 1; grid-row: 2; justify-self: stretch; }
}
/* badge prezzo delle schede tour (boat party, escursioni, ferry) come gli altri prezzi: verde pieno, angoli 8px */
.tour-card .card-body > .pill, html[data-theme="light"] .tour-card .card-body > .pill { align-self: flex-start; padding: 4px 10px; font-size: 13px; border-radius: 8px;
  background: #6cff00; border-color: #6cff00; color: #0a1006; }
/* WhatsApp: verde del sito invece del verde WhatsApp (pulsante "Ask availability" e pulsante flottante) */
.tour-wa, html[data-theme="light"] .tour-wa { background: #6cff00 !important; border-color: #6cff00 !important; color: #0a1006 !important; }
.wa-float, html[data-theme="light"] .wa-float { background: #6cff00; color: #0a1006 !important; }
.wa-float svg { fill: #0a1006; }
/* 0.50.58: WhatsApp della barra in basso nel verde del sito (in light il verde scuro leggibile su bianco) */
.ab-wa .wa-ico { fill: var(--pink); }
.ab-wa span { color: var(--pink); }

/* 0.51.0: proposta dello staff (/tickets/offer/…): data, persone e prezzo bloccati, pagamento sul sito */
.prop-box .prop-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; border-left: 3px solid #6cff00; background: var(--panel2); font-size: 15px; line-height: 1.45; }
.prop-box .prop-when { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.prop-box .prop-when span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prop-box .prop-when b { font-size: 17px; text-align: right; }
.tickets-box .offer.prop-line { grid-template-areas: "txt price"; }
.prop-line s { color: var(--muted); font-weight: 400; }
.prop-line .muted b { color: var(--text); }
.prop-box .prop-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; }
.prop-box .prop-tot span { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.prop-box .prop-tot b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 34px; color: #6cff00; }
html[data-theme="light"] .prop-box .prop-tot b { color: #2f8f00; }
.prop-box .prop-exp { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 4px 0 6px; font-size: 14px; color: var(--muted); }
.prop-box .prop-exp b { color: #0a1006; background: #ffd21f; border-radius: 8px; padding: 2px 8px; font-size: 13px; }
.prop-box .prop-exp b:empty { display: none; }
.prop-box .prop-exp.off b { background: #c8102e; color: #fff; }
.prop-box .prop-form .form-grid { margin-top: 14px; }
.prop-box .prop-pay { min-width: 200px; }
.prop-box .prop-form :disabled { opacity: .5; }
@media (max-width: 600px) {
  .prop-box .prop-when { flex-direction: column; gap: 4px; }
  .prop-box .prop-when b { text-align: left; }
  .prop-box .prop-pay { width: 100%; }
}

/* 0.51.2: conferma di boat party / escursioni: non è il biglietto (avviso grande) */
.paper-alert { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; padding: 16px 18px; border: 3px solid #c8102e; border-radius: var(--r-sm); background: rgba(200, 16, 46, .12); }
.paper-alert b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: clamp(28px, 4.5vw, 44px); line-height: 1; text-transform: uppercase; color: #ff3b55; }
.paper-alert span { font-size: 17px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
html[data-theme="light"] .paper-alert b { color: #c8102e; }

/* 0.51.4 login dello staff (/tickets/login/) */
.lg-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 0 0 14px; }
.lg-form .lg-l { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.lg-form .lg-l input { width: 100%; box-sizing: border-box; }
.lg-form .lg-rem { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.lg-form .pill { padding: 12px 22px; align-self: flex-start; }
.lg-note a { color: var(--pink); }
@media (max-width: 700px) { .lg-form .pill { align-self: stretch; } }
.lg-page .form-error { max-width: 420px; box-sizing: border-box; }

/* 0.51.5 avviso "aggiunto al carrello": colori del sito, leggibile anche in light mode */
.cart-toast { background: rgba(14,20,10,.97); border-color: rgba(108,255,0,.35); color: #fff; }
.cart-toast b { color: #fff; }
html[data-theme="light"] .cart-toast { background: #fff; border-color: rgba(47,143,0,.45); box-shadow: 0 18px 50px rgba(22,18,44,.22); color: var(--text); }
html[data-theme="light"] .cart-toast b { color: var(--text); }

/* 0.51.12: pagina serata, "Back" a tutta larghezza sotto l'immagine (PC: sotto l'immagine, larga quanto l'immagine; telefono: sopra l'immagine, tutta la riga) */
.event-media { min-width: 0; }
.back-full { display: flex; width: 100%; margin-top: 14px; padding: 13px 20px; font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.07); }
html[data-theme="light"] .back-full { background: #fff; border-color: rgba(22,18,44,.22); box-shadow: 0 4px 16px rgba(22,18,44,.08); }
/* colonna unica (tablet): sopra l'immagine; telefono (immagine al 78%): piccola freccia rotonda nel margine a sinistra dell'immagine */
.back-full svg { margin-left: -4px; }
@media (max-width: 860px) { .event-media { display: flex; flex-direction: column; position: relative; } .back-full { order: -1; margin: 0 0 14px; } }
@media (max-width: 760px) {
  .back-full { position: absolute; z-index: 2; top: 0; left: calc(5.5% - 17px); width: 34px; height: 34px; margin: 0; padding: 0; border-radius: 50%; }
  .back-full svg { margin-left: -2px; }
  .back-full .bf-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* 0.51.15: sfondo dark su telefono. iPhone/iPad ignorano background-attachment: fixed, quindi la sfumatura
   si stendeva su tutta l'altezza della pagina: sulle pagine lunghe il centro restava nero come le schede.
   Gli aloni ora stanno su uno strato fisso dietro la pagina (body::before), uguale su PC e telefono:
   in ogni punto della pagina si vedono l'alone in alto e quello in basso della finestra. */
html:not(.funky):not([data-theme="light"]) { background-color: #030502; }
html:not(.funky):not([data-theme="light"]) body.sky { background: transparent; }
html:not(.funky):not([data-theme="light"]) body.sky::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1700px 760px at 50% 0%, rgba(108,255,0,.24), transparent 66%),
    radial-gradient(900px 520px at 0% 0%, rgba(108,255,0,.14), transparent 66%),
    radial-gradient(900px 520px at 100% 0%, rgba(108,255,0,.14), transparent 66%),
    radial-gradient(1300px 600px at 50% 114%, rgba(108,255,0,.30), transparent 70%),
    radial-gradient(760px 620px at 106% 70%, rgba(108,255,0,.08), transparent 62%),
    radial-gradient(700px 600px at -6% 40%, rgba(108,255,0,.06), transparent 62%),
    linear-gradient(180deg, #071004 0%, #060a04 55%, #132607 100%);
}
@media (max-width: 760px) {
  /* finestra stretta e alta: aloni proporzionati allo schermo, più verde al centro */
  html:not(.funky):not([data-theme="light"]) body.sky::before {
    background:
      radial-gradient(140% 45% at 50% 0%, rgba(108,255,0,.30), transparent 70%),
      radial-gradient(150% 50% at 50% 100%, rgba(108,255,0,.30), transparent 72%),
      radial-gradient(90% 40% at 0% 50%, rgba(108,255,0,.10), transparent 70%),
      radial-gradient(90% 40% at 100% 60%, rgba(108,255,0,.10), transparent 70%),
      linear-gradient(180deg, #0b1806 0%, #081205 50%, #142a08 100%);
  }
}

/* 0.51.16: barra della voce di menu attiva nel verde del sito (prima azzurra, var(--accent)) */
.nav a.on { box-shadow: inset 0 -2px 0 #6cff00; }
html[data-theme="light"] .nav a.on { box-shadow: inset 0 -2px 0 #4fd400; }

/* ===== 0.53.32: risultati di ricerca, pagina del giorno e "Upcoming dates" con la stessa scheda della home (tn-card):
   griglia che va a capo invece della fila da scorrere; data prima dell'orario ===== */
.tn-date + .tn-time::before { content: " · "; }
/* 0.53.34: stesse colonne (e quindi stessa grandezza) dei Recommended in home: 3 / 4 / 5 (761 / 1100 / 1500 px).
   Solo nella colonna stretta accanto al menu laterale (pagina del giorno) le colonne si adattano allo spazio */
@media (min-width: 761px) { .main .tn-grid.tn-wrap { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
@media (max-width: 760px) {
  .tn-grid.tn-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .tn-wrap .tn-card { max-width: none; }
  /* come i Recommended su mobile: nella fascia in alto solo la data (l'orario è nella pagina della serata) */
  .tn-wrap .tn-date ~ .tn-time { display: none; }
}

/* ===== 0.53.33: pagina party con "‹ BACK" a tutta larghezza sotto l'immagine, come la pagina della serata;
   su telefono la pillola "Back" sopra l'immagine (la freccia piccola nel margine serve solo all'immagine centrata della serata) ===== */
@media (max-width: 760px) {
  .party-media { max-width: 340px; }
  .party-media img { margin-top: 0; }
  .party-media .back-full { position: static; width: 100%; height: auto; margin: 0 0 14px; padding: 11px 18px; border-radius: 999px; }
  .party-media .back-full .bf-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* 0.53.41: tavoli VIP (club e serata): richiesta su WhatsApp, mappe a tutto schermo */
.vip-head { display: flex; align-items: center; gap: 10px; }
.vip-head h2 { margin: 0; }
.vip-badge { font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 4px 9px; border-radius: 999px; background: linear-gradient(135deg, #f7d774, #c99a2e); color: #2a1d00; }
.vip-txt { margin: 10px 0 0; }
.vip-maps { display: flex; gap: 12px; overflow-x: auto; margin: 14px 0 0; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.vip-map { flex: 0 0 auto; width: min(280px, 78vw); display: grid; gap: 6px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; scroll-snap-align: start; }
.vip-map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.vip-form .tour-date select { background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 15px; color-scheme: dark; max-width: 100%; }
.vip-night select { min-width: 220px; }
.vip-box .ticket-note { margin-top: 12px; }
html[data-theme="light"] .vip-form .tour-date select { background: #fff; color: var(--text); border-color: rgba(22,18,44,.2); color-scheme: light; }
.vip-zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.vip-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.vip-zoom button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 560px) { .vip-night select, .vip-people select { width: 100%; min-width: 0; } }

/* 0.53.42: pagina del club, selettore "Upcoming parties" / "VIP tables" sul titolo */
.club-agenda.cv-has .cv-vip, .club-agenda.cv-has.vip .cv-up, .club-agenda.cv-has .cv-sw--back, .club-agenda.cv-has.vip .cv-sw:not(.cv-sw--back) { display: none; }
.club-agenda.cv-has.vip .cv-vip { display: block; }
.club-agenda.cv-has.vip .cv-head .cv-vip { display: inline; }
.club-agenda.cv-has.vip .cv-sw--back { display: inline-flex; }
.cv-sw { display: inline-flex; align-items: center; gap: 8px; }
.cv-sw .vip-badge { font-size: 10px; padding: 3px 7px; }
.vip-box--nohead .vip-txt { margin-top: 0; }

/* 0.53.47: deposito bagagli (scheda in Tours e voce nei menu) */
:root { --c-luggage-storage: #b98cff; }
.c-luggage-storage { --cc: var(--c-luggage-storage); }
.nav-pin.c-luggage-storage svg { stroke: var(--cc); }
.tour-macro#luggage-storage { --cc: var(--c-luggage-storage); }
.tm-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 22%, transparent); }
.tm-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--cc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lug-places { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lug-places li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.lug-places b { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 20px; text-transform: uppercase; color: var(--cc); }
.lug-places span { color: var(--muted); font-size: 14px; }
.lug-places a { font-weight: 700; font-size: 14px; }
.lug-tel { margin: 0 0 6px; font-size: 14px; }
.lug-form .tour-date select { background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 15px; color-scheme: dark; }
html[data-theme="light"] .lug-form .tour-date select { background: #fff; color: var(--text); border-color: rgba(22,18,44,.2); color-scheme: light; }
html[data-theme="light"] .lug-places li { background: #fff; }
@media (max-width: 560px) { .tm-ico { width: 34px; height: 34px; } .tm-ico svg { width: 18px; height: 18px; } .lug-bags select { width: 100%; } }

/* 0.53.49: FAQ a gruppi chiusi (uno aperto alla volta) con ricerca; titoli delle sezioni Info meno stretti */
.info-panel h2.sec { word-spacing: .16em; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; }
.faq-head .sec { margin: 0; }
.faq-search { position: relative; flex: 0 1 300px; min-width: 200px; }
.faq-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.faq-search input { width: 100%; box-sizing: border-box; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px 11px 42px; font: inherit; font-size: 15px; }
.faq-search input:focus { outline: none; border-color: var(--cyan); }
html[data-theme="light"] .faq-search input { background: #fff; border-color: rgba(22,18,44,.2); }
.faq-none { margin: 6px 0 14px; }
.faq-none a { color: var(--cyan); text-decoration: underline; }
.info-grp { border-bottom: 1px solid var(--line); }
.info-grp > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; }
.info-grp > summary::-webkit-details-marker { display: none; }
.info-grp > summary .info-group { margin: 0; word-spacing: .12em; }
.info-grp > summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); margin: -6px 8px 0 0; transition: transform .2s; }
.info-grp[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.info-grp-b { padding: 2px 0 12px; }
.info-grp[hidden], .info-card[hidden] { display: none; }
@media (max-width: 560px) { .faq-search { flex-basis: 100%; } }
/* 0.53.50: titoli dei gruppi FAQ nel verde del sito (in tema chiaro il verde scuro di --pink) */
.info-grp > summary .info-group { color: var(--pink); }
.info-grp > summary::after { border-color: var(--pink); }
.faq-search input:focus { border-color: var(--pink); }
