/* The Unikorni — sito ufficiale.
   Pre-home: foto della band + cielo di palloncini (three.js) + domanda al centro.
   Player: barra fissa in basso, stile ripreso dal mini player del sito Melody Fall.
   I font sono locali (css/fonts.css). */

:root {
  --pink: #ff2e9a;
  --pink-2: #ff7ac9;
  --pink-3: #ffc2e5;
  --sky: #6ccfff;
  --sky-2: #bdeaff;
  --plum: #2a0a22;
  --plum-2: #4a1540;
  --cream: #fff7fb;
  --display: 'Bowlby One', 'Arial Black', Impact, sans-serif;
  --body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --shadow-text: 0 1px 2px rgba(90, 0, 60, .55), 0 2px 14px rgba(120, 0, 70, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #e38aa6; height: 100%; overscroll-behavior: none; }
body {
  margin: 0; min-height: 100%; height: 100dvh; overflow: hidden;
  font-family: var(--body); color: #fff;
  background: linear-gradient(160deg, #f09ab6 0%, #e07a9c 55%, #d9aab8 100%);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none; touch-action: none;   /* il dito muove l'aria, non la pagina */
}
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.ibtn:focus-visible, .mini__track:focus-visible, .btn:focus-visible { outline: 3px solid var(--pink-3); outline-offset: 3px; }

/* ---------- Cielo (canvas three.js) ---------- */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; cursor: none; transition: opacity 1.2s var(--ease); }
body.is-room .sky { cursor: grab; }
body.is-room.is-hover .sky { cursor: pointer; }
body.no-sky .sky { display: none; }
body.no-sky .sky, body.no-sky .puff { display: none; }
@media (pointer: coarse) { .sky { cursor: auto; } }

/* ---------- Loader ---------- */
.boot {
  position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; gap: 18px; justify-items: center;
  background: linear-gradient(160deg, #f09ab6 0%, #e07a9c 55%, #d9aab8 100%);
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__balloon {
  width: 46px; height: 56px; border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  background: radial-gradient(circle at 32% 28%, #fff 0, #ffd6ec 18%, #ff5fb8 60%, #e4177f 100%);
  box-shadow: 0 18px 30px rgba(120, 0, 70, .25);
  animation: inflate 1.1s var(--ease) infinite alternate;
}
.boot__label { color: rgba(255, 255, 255, .95); text-shadow: var(--shadow-text); }
@keyframes inflate { from { transform: scale(.72) translateY(6px); } to { transform: scale(1.08) translateY(-6px); } }

/* ---------- Testata ---------- */
.top {
  position: fixed; left: 0; right: 0; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(var(--pad) * .7 + var(--sat)) calc(var(--pad) + var(--sar)) 0 calc(var(--pad) + var(--sal)); pointer-events: none;
}
.wordmark {
  pointer-events: auto; font-family: var(--display); font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .06em;
  color: #fff; text-decoration: none; text-shadow: 0 2px 0 rgba(90, 0, 60, .4), 0 10px 24px rgba(120, 0, 70, .3);
}
.top__hint { font-size: 12px; color: #fff; text-shadow: var(--shadow-text); }

.foot {
  position: fixed; left: 0; right: 0; bottom: calc(var(--pad) * .8 + var(--sab)); z-index: 10; text-align: center;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  font-size: 12px; color: #fff; text-shadow: var(--shadow-text); pointer-events: none;
}
[data-hint-touch] { display: none; }
@media (pointer: coarse) { [data-hint-mouse] { display: none; } [data-hint-touch] { display: inline; } }

/* ---------- La domanda ---------- */
.gate {
  position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; padding: var(--pad);
  pointer-events: none;
  transition: opacity .9s var(--ease), transform 1.4s cubic-bezier(.76, 0, .24, 1);
}
.gate.is-out { opacity: 0; transform: scale(1.6); }
.gate[hidden] { display: none; }
.ask {
  pointer-events: auto; appearance: none; background: none; border: 0; padding: 20px 28px; margin: 0;
  display: grid; justify-items: center; gap: 14px; cursor: none; text-align: center;
  transition: transform .7s var(--spring);
}
@media (pointer: coarse) { .ask { cursor: pointer; } }
.ask:hover { transform: scale(1.035) rotate(-.6deg); }
.ask:active { transform: scale(.97); transition-duration: .15s; }
.ask:focus-visible { outline: 3px solid #fff; outline-offset: 10px; border-radius: 24px; }

.ask__small {
  font-family: var(--display); font-size: clamp(20px, 3.1vw, 42px); line-height: 1; color: #fff;
  letter-spacing: .01em;
  text-shadow: 0 3px 0 rgba(120, 0, 70, .45), 0 1px 2px rgba(90, 0, 60, .5), 0 14px 30px rgba(120, 0, 70, .35);
}
.ask__big {
  font-family: var(--display); font-size: clamp(54px, 10.6vw, 176px); line-height: .92; letter-spacing: -.01em;
  display: inline-block; white-space: nowrap;
}
.ask__big .w { display: inline-block; white-space: nowrap; }
.ask__big .ch {
  display: inline-block;
  /* lettere-palloncino: gradiente rosa + riflesso foil che scorre */
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .75) 50%, transparent 60%),
    linear-gradient(180deg, #fff 0%, #ffe6f4 30%, #ff8ccf 64%, #ff2e9a 100%);
  background-size: 260% 100%, 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .06em 0 #c40e73) drop-shadow(0 .26em .45em rgba(140, 0, 80, .35));
  animation: bob 3.4s ease-in-out infinite alternate, foil 9s linear infinite;
  animation-delay: calc(var(--i, 0) * -.23s), calc(var(--i, 0) * -.4s);
  will-change: transform;
}
@keyframes bob { from { transform: translateY(-.035em) rotate(-1.4deg); } to { transform: translateY(.035em) rotate(1.4deg); } }
@keyframes foil { from { background-position: -160% 0, 0 0; } to { background-position: 260% 0, 0 0; } }

.ask__cta {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; color: var(--plum); font-size: 12px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(120, 0, 70, .2), inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: background .5s var(--ease), color .5s var(--ease), transform .7s var(--spring);
}
.ask__cta i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 46, 154, .6); animation: ping 1.8s ease-out infinite; }
.ask:hover .ask__cta { background: var(--pink); color: #fff; transform: translateY(-2px); }
.ask:hover .ask__cta i { background: #fff; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 154, .55); } 100% { box-shadow: 0 0 0 12px rgba(255, 46, 154, 0); } }

/* ---------- Cursore "soffio" ---------- */
.puff {
  position: fixed; left: 0; top: 0; z-index: 20; pointer-events: none; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .55) 35%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 26px 7px rgba(255, 255, 255, .35);
  transition: opacity .35s var(--ease);
  will-change: transform;
}
.puff::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); animation: breathe 1.6s ease-in-out infinite alternate; }
.puff::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); opacity: 0; transform: scale(.6); transition: opacity .35s var(--ease), transform .5s var(--spring); }
.puff.is-on { opacity: 1; }
.puff.is-hover::after { opacity: 1; transform: scale(1); }
body.is-room .puff { opacity: 0; }
@keyframes breathe { from { transform: scale(.7); opacity: .4; } to { transform: scale(1.15); opacity: .9; } }
@media (pointer: coarse) { .puff { display: none; } }

/* ---------- Stanza 3D: interfaccia sopra il canvas ---------- */
.room { position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.room.is-in { opacity: 1; }
.room[hidden], .mini[hidden] { display: none; }
.room__ui { position: absolute; inset: 0; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; }
.flash.is-on { opacity: 1; transition: none; }

/* senza WebGL: menu semplice */
.room__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: var(--pad); padding-bottom: 150px; pointer-events: auto; overflow: auto; background: radial-gradient(120% 90% at 50% 110%, #ff2e9a 0%, #b4106c 45%, #3a0a2e 100%); }
.room__fallback[hidden] { display: none; }
.room__kicker { color: var(--pink-3); }
.room__title { font-family: var(--display); font-size: clamp(56px, 14vw, 180px); line-height: .86; margin: 0; color: #fff; text-shadow: 0 .05em 0 #7a0a4f; outline: none; }
.room__text { font-size: clamp(15px, 1.4vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .88); margin: 0; max-width: 560px; }
.room__menu { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* HUD */
.hud { position: absolute; inset: 0; }
.hud__hint { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: rgba(42, 10, 34, .82); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(60, 0, 40, .3); pointer-events: none; white-space: nowrap; will-change: transform; }
.hud__hint b { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .02em; }
.hud__hint span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-3); }
.hud__hint[hidden] { display: none; }
.is-touch .hud__hint { left: 50%; top: auto; bottom: calc(150px + var(--sab)); transform: translateX(-50%) !important; align-items: center; }
.hud__cross { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 2px rgba(42, 10, 34, .35); display: none; }
.is-touch .hud__cross { display: block; }
.hud__toast { position: absolute; left: 50%; top: calc(var(--pad) + var(--sat) + 56px); transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--plum); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(60, 0, 40, .3); opacity: 0; }
.hud__toast.is-in { animation: toast 2.6s var(--ease) forwards; }
.hud__toast[hidden] { display: none; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -8px); } 12% { opacity: 1; transform: translate(-50%, 0); } 85% { opacity: 1; } 100% { opacity: 0; } }
.hud__joy { position: absolute; left: calc(var(--pad) + var(--sal)); bottom: calc(150px + var(--sab)); width: 150px; height: 150px; pointer-events: auto; touch-action: none; display: none; }
.is-touch .hud__joy { display: block; }
.hud__joy[hidden] { display: none; }
.hud__joy-base { position: absolute; inset: 15px; border-radius: 50%; background: rgba(42, 10, 34, .3); border: 2px solid rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hud__joy-knob { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(60, 0, 40, .35), inset 0 -4px 0 rgba(255, 46, 154, .35); }

/* menu rapido in alto a destra */
.quick { position: absolute; right: calc(var(--pad) + var(--sar)); top: calc(var(--pad) * .55 + var(--sat)); display: flex; gap: 6px; pointer-events: auto; }
.quick button { appearance: none; border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: rgba(42, 10, 34, .55); color: #fff; font-weight: 700; font-size: 13px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--spring); }
.quick button:hover { background: var(--pink); transform: translateY(-1px); }
.is-touch .quick { top: auto; right: auto; left: 50%; transform: translateX(-50%); bottom: calc(108px + var(--sab)); flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 0 var(--pad); }

/* aiuto iniziale */
.help { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--pad); pointer-events: auto; background: rgba(42, 10, 34, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: opacity .5s var(--ease); }
.help.is-out { opacity: 0; pointer-events: none; }
.help[hidden] { display: none; }
.help__card { display: grid; gap: 14px; justify-items: start; max-width: 420px; padding: 28px 30px; border-radius: 24px; background: #fff; color: var(--plum); box-shadow: 0 30px 80px rgba(60, 0, 40, .4), inset 0 0 0 4px var(--pink-3); }
.help__kicker { color: var(--pink); }
.help__title { font-family: var(--display); font-size: 40px; margin: 0; line-height: 1; }
.help__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.help__list b { color: var(--pink); }

/* pannelli */
.panel { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: var(--pad); pointer-events: auto; opacity: 0; transition: opacity .35s var(--ease); }
.panel.is-in { opacity: 1; }
.panel[hidden] { display: none; }
.panel__backdrop { position: absolute; inset: 0; background: rgba(42, 10, 34, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panel__card { position: relative; width: min(820px, 100%); max-height: calc(100dvh - var(--pad) * 2 - 110px - var(--sab)); overflow: auto; padding: 30px 32px 32px; border-radius: 28px; background: #fff; color: var(--plum); box-shadow: 0 40px 100px rgba(60, 0, 40, .45), inset 0 0 0 4px var(--pink-3); outline: none; transform: translateY(14px) scale(.98); transition: transform .5s var(--spring); }
.panel.is-in .panel__card { transform: none; }
.panel__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; cursor: pointer; display: grid; place-items: center; }
.panel__close svg { width: 18px; height: 18px; }
.panel__close:hover { background: var(--pink); }
.panel__kicker { color: var(--pink); display: block; margin-bottom: 6px; }
.panel__title { font-family: var(--display); font-size: clamp(30px, 4.6vw, 52px); line-height: .95; margin: 0 48px 18px 0; letter-spacing: .005em; }
.panel__body { font-size: 15px; line-height: 1.55; }
.panel__note { margin: 18px 0 0; color: #6b3a5c; font-size: 14px; }
.link { appearance: none; border: 0; background: none; padding: 0; color: var(--pink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

.btn {
  appearance: none; border: 0; cursor: pointer; padding: 0 22px; height: 48px; border-radius: 999px;
  background: #fff; color: var(--plum); font-weight: 700; font-size: 15px; font-family: var(--body);
  box-shadow: 0 10px 30px rgba(60, 0, 40, .18); transition: transform .5s var(--spring), background .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--pink-3); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-2); }
.btn--ghost { background: #fff; color: var(--plum); box-shadow: inset 0 0 0 2px var(--pink-3); }
.btn--ghost:hover { background: var(--pink-3); }
.btn--small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn.is-on { background: var(--plum); color: #fff; }

.single { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 24px; align-items: start; }
.single__cover { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(60, 0, 40, .3); }
.single__blurb { font-size: 17px; margin: 0 0 18px; }
.single__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.single__meta { margin: 18px 0 0; color: #6b3a5c; font-size: 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile { border-radius: 16px; overflow: hidden; background: #fff4f9; box-shadow: inset 0 0 0 1px rgba(42, 10, 34, .08); }
.tile img { display: block; width: 100%; height: auto; }
.tile__body { padding: 12px 14px 14px; display: grid; gap: 6px; justify-items: start; }
.tile__body .mono { color: var(--pink); font-size: 10px; }
.tile__body h3 { margin: 0; font-size: 15px; line-height: 1.25; }

.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.date { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; background: #fff4f9; }
.date__when { display: grid; justify-items: center; line-height: 1; }
.date__when b { font-family: var(--display); font-size: 34px; color: var(--pink); }
.date__when small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.date__where { display: grid; gap: 2px; }
.date__where b { font-size: 20px; }
.date__where small { color: #6b3a5c; }
.date__note { font-size: 10px; color: var(--pink); }

.bio__tag { font-family: var(--display); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.15; margin: 0 0 16px; color: var(--pink); }
.bio__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.bio__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.bio__members { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bio__members li { display: grid; padding: 10px 14px; border-radius: 14px; background: #fff4f9; }
.bio__members b { font-size: 16px; }
.bio__members span { color: #6b3a5c; font-size: 13px; }
.bio__text p { margin: 0 0 12px; }
.bio__inf { margin: 16px 0 0; color: #6b3a5c; font-size: 10px; }

.mail { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(22px, 3.6vw, 40px); color: var(--plum); text-decoration: none; line-height: 1; word-break: break-all; }
.mail svg { width: .9em; height: .9em; color: var(--pink); flex-shrink: 0; }
.mail:hover { color: var(--pink); }
.mail__row { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; color: #6b3a5c; }
.socials { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.socials a { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff4f9; color: var(--plum); text-decoration: none; transition: background .3s; }
.socials a:hover { background: var(--pink-3); }
.socials svg { width: 22px; height: 22px; grid-row: span 2; color: var(--pink); }
.socials b { font-size: 15px; }
.socials span { font-size: 12px; color: #6b3a5c; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.video { margin: 0; }
.video__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.video__play:hover img { transform: scale(1.04); }
.video__play span { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255, 46, 154, .5); }
.video__play span svg { width: 26px; height: 26px; margin-left: 3px; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.video figcaption { display: grid; gap: 2px; padding: 10px 2px 0; }
.video figcaption .mono { font-size: 10px; color: #6b3a5c; }

/* ---------- Player (barra fissa in basso) ---------- */
.ibtn {
  appearance: none; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; padding: 0;
  transition: background .35s var(--ease), color .35s var(--ease), transform .5s var(--spring), border-color .35s;
}
.ibtn:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-1px); }
.ibtn:active { transform: scale(.94); transition-duration: .1s; }
.ibtn svg { width: 18px; height: 18px; fill: currentColor; }
.ibtn--main { width: 54px; height: 54px; background: var(--pink); border-color: var(--pink); box-shadow: 0 6px 20px rgba(255, 46, 154, .35); }
.ibtn--main:hover { background: var(--pink-2); border-color: var(--pink-2); }
.ibtn--main .i-pause { display: none; }
html.music-playing .ibtn--main .i-play { display: none; }
html.music-playing .ibtn--main .i-pause { display: block; }

.mini {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; color: #fff; touch-action: auto;
  background: linear-gradient(90deg, rgba(48, 8, 38, .92), rgba(82, 14, 64, .92) 60%, rgba(44, 18, 72, .92));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .14), 0 -24px 60px rgba(60, 0, 40, .35);
  padding-bottom: var(--sab);
  transform: translateY(105%); transition: transform .8s var(--ease);
}
.mini.is-in { transform: none; }
/* filo luminoso rosa/azzurro che scorre quando suona */
.mini::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--sky), var(--pink)); background-size: 200% 100%; opacity: 0; transition: opacity .5s; pointer-events: none; }
html.music-playing .mini::before { opacity: .9; animation: slide 3s linear infinite; }
@keyframes slide { to { background-position: -200% 0; } }
.mini__progress { position: absolute; left: 0; right: 0; top: -5px; height: 12px; cursor: pointer; z-index: 1; }
.mini__progress::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: rgba(255, 255, 255, .16); }
.mini__progress i { position: absolute; left: 0; top: 5px; height: 2px; width: 100%; background: var(--pink); box-shadow: 0 0 10px rgba(255, 46, 154, .8); transform: scaleX(var(--p, 0)); transform-origin: left; }
.mini__knob { position: absolute; top: 6px; left: calc(var(--p, 0) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 46, 154, .5), 0 0 14px rgba(255, 46, 154, .8); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--spring); }
.mini__progress:hover .mini__knob, .mini__progress:focus-visible .mini__knob, html.music-playing .mini__knob { opacity: 1; transform: none; }
.mini__progress:focus-visible { outline: none; }
.mini__progress:focus-visible::before { background: rgba(255, 255, 255, .5); }
.mini__bar {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr) auto; align-items: center;
  gap: clamp(14px, 2vw, 32px); padding: 10px calc(var(--pad) + var(--sar)) 10px calc(var(--pad) + var(--sal));
}
.mini__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mini__eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex-shrink: 0; color: var(--pink); }
.mini__eq i { width: 4px; height: 100%; background: currentColor; transform: scaleY(.22); transform-origin: bottom; border-radius: 2px 2px 0 0; }
html.music-playing .mini__eq i { animation: eq .7s ease-in-out infinite alternate; }
html.music-playing .mini__eq i:nth-child(2) { animation-delay: -.25s; animation-duration: .55s; }
html.music-playing .mini__eq i:nth-child(3) { animation-delay: -.5s; animation-duration: .85s; }
html.music-playing .mini__eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .6s; }
@keyframes eq { 0% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
.mini__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini__kicker { color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
.mini__kicker .sep { display: inline-block; width: 14px; height: 1px; background: currentColor; margin: 0 8px; }
.mini__title { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.6vw, 26px); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }

.mini__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.mini__list::-webkit-scrollbar { display: none; }
.mini__track {
  appearance: none; border: 0; background: transparent; color: rgba(255, 255, 255, .82); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; min-height: 40px; border-radius: 999px; white-space: nowrap;
  font-weight: 500; font-size: 14px; transition: background .3s, color .3s, transform .4s var(--spring);
}
.mini__track:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mini__track .mini__n { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.mini__track.is-now { background: var(--pink); color: #fff; box-shadow: 0 4px 16px rgba(255, 46, 154, .35); }
.mini__track.is-now .mini__n { color: rgba(255, 255, 255, .85); }
.mini__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mini__bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'info actions' 'list list'; row-gap: 8px; }
  .mini__info { grid-area: info; }
  .mini__actions { grid-area: actions; }
  .mini__list { grid-area: list; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 2px; }
}
@media (max-width: 720px) {
  .panel__card { padding: 22px 18px 24px; border-radius: 22px; }
  .panel__title { font-size: 30px; margin-right: 44px; }
  .single { grid-template-columns: 1fr; }
  .single__cover { max-width: 240px; }
  .date { grid-template-columns: 64px 1fr; }
  .date__note { grid-column: 2; }
  .bio__photos { grid-template-columns: repeat(2, 1fr); }
  .help__title { font-size: 32px; }
  .ask { padding: 14px; }
  .ask__big { font-size: clamp(48px, 15.5vw, 110px); white-space: normal; line-height: .95; }   /* "un" / "Unikorno?" su due righe */
  .ask__small { font-size: clamp(16px, 4.6vw, 26px); }
  .ask__cta { font-size: 11px; padding: 10px 16px; }
  .top__hint { display: none; }
  .foot { font-size: 11px; }
  .mini__title { font-size: 17px; }
}
@media (pointer: coarse) {
  .mini__progress { top: -9px; height: 20px; }
  .mini__progress::before, .mini__progress i { top: 9px; height: 3px; }
  .mini__knob { top: 10px; opacity: 1; transform: none; }
  .ibtn { width: 46px; height: 46px; }
  .ibtn--main { width: 56px; height: 56px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .ask__big { font-size: clamp(40px, 9vh, 90px); }
  .ask__small { font-size: clamp(14px, 3.4vh, 22px); }
}

@media (prefers-reduced-motion: reduce) {
  .ask__big .ch, .ask__cta i, .boot__balloon, html.music-playing .mini__eq i, .puff::before, html.music-playing .mini::before { animation: none !important; }
  .gate, .room, .mini, .sky { transition-duration: .01ms !important; }
}

/* ---------- Supporta la band ---------- */
.support p { font-size: 17px; margin: 0 0 12px; }
.support .support__cta { font-weight: 700; color: #c4126f; }
.btn--big { height: auto; min-height: 56px; padding: 10px 26px; font-size: 17px; margin: 8px 0 2px; text-align: center; line-height: 1.2; }
.btn--big svg { width: 22px; height: 22px; }
.quick .quick__support { background: var(--pink); }
.quick .quick__support:hover { background: var(--pink-2); }
.support__pay { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; margin: 18px 0 6px; padding: 18px; border-radius: 20px; background: #fff4f9; }
.support__qr { width: 220px; height: 220px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 3px var(--pink-3); }
.support__title { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; color: var(--pink); margin-bottom: 8px; }
.support__how p { margin: 0 0 6px; font-size: 15px; }
@media (max-width: 720px) {
  .support__pay { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .support__qr { width: 180px; height: 180px; }
}
/* su telefono prima il bottone (apre l'app PayPal), poi il QR più piccolo */
.is-touch .support__pay { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.is-touch .support__how { order: -1; }
.is-touch .support__qr { width: 150px; height: 150px; }
