@font-face {
  font-family: Anton;
  src: url("/assets/Anton-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #050505;
  --paper: #f7f1df;
  --slate: #687d8c;
  --deep-red: #3e0001;
  --brand-red: #620002;
  --gold: #f2c94e;
  --muted: #a7a29a;
  --line: rgba(247, 241, 223, .14);
  --content: 1280px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--black); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
html:has(body > .site-footer) { overscroll-behavior-y: none; }
body:has(> .site-footer) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> .site-footer) > .site-header { width: 100%; }
body:has(> .site-footer) > main { flex-grow: 1; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.site-header {
  height: 139px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #000;
}
.main-nav, .social-links { display: flex; align-items: center; }
.main-nav { gap: clamp(18px, 3.2vw, 42px); min-width: 0; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--paper);
  font: 400 20px/1 Anton, Impact, sans-serif;
  letter-spacing: 1.1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transition: right .22s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); transform: translateY(-2px); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-current::after { right: 0; }
.brand { justify-self: center; width: 90px; height: 90px; display: grid; place-items: center; }
.brand img { width: 90px; max-height: 80px; object-fit: contain; }
.social-links { justify-self: end; gap: 8px; }
.social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background-color .22s ease, box-shadow .22s ease;
}
.social-link img { width: 22px; height: 22px; object-fit: contain; transition: transform .22s ease; }
.social-link:hover, .social-link:focus-visible { transform: translateY(-4px) scale(1.08); background: rgba(242,201,78,.15); box-shadow: 0 0 0 1px rgba(242,201,78,.4); }
.social-link:hover img, .social-link:focus-visible img { transform: rotate(-6deg); }

.tagline {
  max-width: var(--content);
  height: 70px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font: 400 20px/1.2 Anton, Impact, sans-serif;
  letter-spacing: 1.1px;
  text-align: center;
  text-transform: uppercase;
}
.home-page .tagline { border-bottom: 0; }
.hero-video {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
}
.hero-video__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; background: var(--black); }
.hero-video__media[hidden] { display: none; }
@media (min-width: 1200px) { .hero-video { aspect-ratio: 2 / 1; } }
@media (max-width: 760px) and (orientation: portrait) { .hero-video { aspect-ratio: 4 / 3; } }
.hero-video__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding-inline: 12px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-items: center;
  background: radial-gradient(ellipse 71% 53% at 50% 53%, rgb(5 5 5 / .66), rgb(5 5 5 / .52) 27%, rgb(5 5 5 / .12) 62%, transparent 82%);
  pointer-events: none;
}
.hero-video__overlay h1 {
  grid-row: 2;
  margin: 0;
  color: #fff7e6;
  font: 400 clamp(52px, 8.5vw, 140px)/1 Anton, Impact, sans-serif;
  letter-spacing: -.025em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgb(0 0 0 / .48);
}
.hero-video__overlay h1 span { color: #edcc8c; }
.hero-actions { grid-row: 3; align-self: start; margin-top: clamp(10px, 1.4vw, 22px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px clamp(14px, 2vw, 26px); pointer-events: auto; }
.hero-actions a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; text-decoration: none; }
.hero-auditions {
  padding: 0 clamp(13px, 1.6vw, 22px);
  background: var(--paper);
  color: #291415;
  font: 400 clamp(15px, 1.4vw, 19px)/1.2 Anton, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.hero-auditions::after {
  content: "";
  width: .43em;
  height: .43em;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.hero-auditions:hover, .hero-auditions:focus-visible { background: #edcc8c; }
.hero-spotify { padding-inline: 2px; color: #fff8eb; font: 600 14px/1.2 Arial, sans-serif; text-shadow: 0 1px 5px #000; }
.hero-spotify:hover, .hero-spotify:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
@keyframes hero-arrival { from { opacity: .65; } to { opacity: 1; } }
@media (prefers-reduced-motion:no-preference) { .hero-video__overlay h1 { animation: hero-arrival 320ms cubic-bezier(.2,.7,.2,1) both; } }
.cta-button {
  min-height: 60px;
  padding: 17px 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--deep-red);
  color: #fff;
  font: 400 20px/1 Anton, Impact, sans-serif;
  letter-spacing: 1.1px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.cta-button:hover, .cta-button:focus-visible { transform: translateY(-4px); border-color: var(--gold); background: #7a090b; color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.cta-button:active { transform: translateY(-1px) scale(.98); }
.cta-button:disabled { opacity: .8; cursor: not-allowed; }
.cta-button:disabled:hover { transform: none; border-color: transparent; background: var(--deep-red); color: #fff; box-shadow: none; }
.cta-button[aria-disabled="true"] { opacity: .8; }
.cta-button[aria-disabled="true"]:hover { transform: none; border-color: transparent; background: var(--deep-red); color: #fff; box-shadow: none; }

.section-wrap { max-width: var(--content); margin: 0 auto; }
.home-merch { max-width: 1400px; padding: clamp(40px, 5.5vw, 84px) clamp(20px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.37fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.home-merch__copy { min-width: 0; container-type: inline-size; }
.eyebrow { margin: 0 0 14px; color: var(--slate); font: 400 13px/1.3 Anton, Impact, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.home-merch h2 { margin: 0; color: var(--slate); font: 400 clamp(54px, 9.5vw, 136px)/.98 Anton, Impact, sans-serif; font-size: clamp(52px, 20cqw, 136px); letter-spacing: -.018em; text-transform: uppercase; }
.home-merch .eyebrow { font-size: clamp(13px, 1.2vw, 16px); }
.home-merch .text-link { font-size: clamp(17px, 1.55vw, 22px); }
.home-merch h2 span { color: var(--deep-red); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 32px; color: #be0002; font: 400 16px/1 Anton, Impact, sans-serif; letter-spacing: 1.1px; text-decoration: none; text-transform: uppercase; transition: color .2s ease, gap .2s ease; }
.link-arrow {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.text-link:hover, .text-link:focus-visible { gap: 16px; color: var(--gold); }
.home-merch__products { display: grid; gap: clamp(12px, 1.7vw, 24px); }
.product-frame { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; border: 1.5px solid var(--slate); background: #151313; transition: transform .25s ease, border-color .25s ease; }
.product-frame:hover, .product-frame:focus-visible { transform: translateY(-5px); border-color: var(--gold); }
.product-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.wire-strip {
  --repeat: 118px;
  position: relative;
  height: 28px;
  overflow: hidden;
  background: linear-gradient(var(--black), #290306);
}
.wire-strip::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--repeat)) 0 0;
  background: url("/assets/filo-spinato.png") left center / var(--repeat) 17px repeat-x;
}
@keyframes wire-drift { to { transform: translateX(calc(-1 * var(--repeat))); } }
@media (prefers-reduced-motion: no-preference) {
  .wire-strip::before { animation: wire-drift 12s linear infinite paused; }
  .wire-strip.in-view::before { animation-play-state: running; }
}
.site-footer { min-height: 268px; padding: 44px 24px 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; background: linear-gradient(#290306, var(--brand-red) 62%); text-align: center; }
.footer-brand { width: 120px; transition: transform .2s ease; }
.footer-brand:hover { transform: scale(1.05); }
.footer-brand img { width: 120px; height: 79px; object-fit: contain; }
.social-links--footer { justify-self: auto; }
.site-footer > p { margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: 11px; letter-spacing: 1px; }
.site-footer--compact { min-height: 220px; }
.policy-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 13px; }
.policy-links a, .legal-header > a, .legal-footer > a { display: inline-flex; min-height: 44px; align-items: center; }
.policy-links a { text-decoration: underline; text-underline-offset: .25em; }
.policy-links a:hover, .policy-page a:hover, .legal-header a:hover { color: var(--gold); }
.legal-header, .legal-footer { width: min(100% - 40px, 1024px); margin: auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header { border-bottom: 1px solid var(--line); font-size: 14px; }
.legal-header img { object-fit: contain; }
.legal-footer { border-top: 1px solid var(--line); }
.policy-page { width: min(100% - 40px, 700px); margin: clamp(40px,8vw,94px) auto; }
.policy-page h1, .policy-page h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; }
.policy-page h1 { margin: 0; font-size: clamp(58px,9vw,100px); line-height: 1; text-transform: uppercase; }
.policy-page h2 { margin: 0 0 12px; font-size: clamp(23px,3.8vw,32px); line-height: 1.15; }
.policy-page p, .cookie-spec { margin: 12px 0 0; line-height: 1.65; }
.policy-page .policy-intro { max-width: 40em; margin-top: 24px; font-size: clamp(17px,2.4vw,21px); }
.policy-page .policy-date { color: var(--muted); font-size: 13px; }
.policy-page section { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; }
.policy-page a, .vote-info a { text-underline-offset: .2em; overflow-wrap: anywhere; }
.policy-pending { color: #e8c585; }
.cookie-spec { margin-inline: 0; }
.cookie-spec > div { display: grid; grid-template-columns: minmax(85px, .4fr) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cookie-spec dt { color: var(--muted); }
.cookie-spec dd { margin: 0; }
.cookie-dock { position: sticky; bottom: 0; height: 0; flex: none; z-index: 3; }
.cookie-notice {
  position: absolute;
  z-index: 3;
  inset-inline-start: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(390px, calc(100% - 32px));
  padding: 18px 22px 16px;
  background: #131211;
  color: var(--paper);
  border: 1px solid #635b4a;
  border-top: 3px solid #edcc8c;
  box-shadow: 0 6px 26px rgb(0 0 0 / .34);
}
.cookie-notice h2 {
  margin: 0 36px 8px 0;
  font: 400 clamp(23px, 2.4vw, 29px)/1.1 Anton, Impact, sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.cookie-notice p { margin: 0; color: #ddd6c9; font-size: 15px; line-height: 1.45; }
.cookie-notice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 12px; }
.cookie-notice__actions > * { display: inline-flex; min-height: 44px; align-items: center; }
.cookie-notice__accept {
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--paper);
  color: var(--black);
  font: 400 15px/1.1 Anton, Impact, sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-notice__actions a { font-size: 14px; text-underline-offset: .23em; }
.cookie-notice__accept:hover, .cookie-notice__accept:focus-visible { background: #edcc8c; }
.cookie-notice__actions a:hover, .cookie-notice__close:hover { color: #edcc8c; }
.cookie-notice__close {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-end: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  color: var(--paper);
  border: 0;
  cursor: pointer;
}
.cookie-notice__close::before, .cookie-notice__close::after {
  position: absolute; inset: 50% auto auto 50%; width: 17px; height: 2px;
  content: ""; background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.cookie-notice__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
:root { scroll-padding-block-end: var(--cookie-space, 0px); }
#avviso .quiet-button { margin-top: 14px; }
@media (max-width: 500px) {
  .cookie-notice { inset-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); width: auto; padding: 14px 16px 12px; }
}
@media (max-width: 360px) {
  .cookie-notice { padding-inline: 12px; }
  .cookie-notice__actions { gap: 4px 10px; }
  .cookie-notice__accept { padding-inline: 10px; }
}
@media (max-height: 460px), (max-width: 560px) and (max-height: 650px) {
  .cookie-notice { position: relative; inset: auto; width: auto; max-width: 700px; margin: 12px auto; box-shadow: none; }
}
@media print { .cookie-notice, .cookie-dock { display: none; } }
#clear-votes { display: grid; justify-items: start; gap: 14px; margin-top: 18px; }
#clear-votes label { line-height: 1.5; }
#clear-votes input { accent-color: var(--gold); }
.track-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-block: 12px; color: var(--muted); font-size: 13px; }
.track-tools select { appearance: none; min-height: 44px; max-width: 100%; padding: 7px 32px 7px 10px; color: var(--paper); background-color: #171717; border: 1px solid #67635b; border-radius: 0; font: inherit; background-image: linear-gradient(45deg, transparent 49%, currentColor 50% 65%, transparent 66%), linear-gradient(-45deg, transparent 49%, currentColor 50% 65%, transparent 66%); background-size: 6px 6px; background-position: right 15px center, right 10px center; background-repeat: no-repeat; cursor: pointer; }
.track-spotify { grid-area: listen; justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 8px 20px; border-radius: 999px; background: #1ed760; color: #080c09; font-size: .9375rem; font-weight: 700; text-decoration: none; }
.track-spotify img { width: 21px; height: 21px; filter: brightness(0); }
.track-spotify:hover, .track-spotify:focus-visible { background: #5de58c; }
.release-settings { margin-top: 12px; font-size: 14px; }
.release-settings summary { cursor: pointer; color: var(--paper); padding-block: 8px; }
.release-settings form { display: grid; justify-items: start; gap: 9px; margin: 8px 0 12px; }
.release-settings label { display: grid; gap: 6px; width: 100%; }
.release-settings input { width: 100%; min-width: 0; min-height: 42px; padding: 8px; background: #080808; color: var(--paper); border: 1px solid #67635b; }
.release-settings small { max-width: 40em; line-height: 1.5; color: var(--muted); }
.admin-track > div { min-width: 0; flex: 1; }
.release-settings output, #clear-votes output { color: var(--paper); font-size: 14px; }

.page-main { width: min(100%, var(--content)); margin: 0 auto; padding: 0 clamp(28px, 7vw, 90px); }
.merch-page { padding-right: 0; padding-left: 0; }
.page-heading { padding: clamp(54px, 8vw, 96px) 0 38px; text-align: center; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-heading h1, .merch-heading h1, .admin-title-row h1 { margin: 0; font: 400 clamp(56px, 8vw, 96px)/1 Anton, Impact, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.page-heading h1 span { color: var(--slate); }
.page-heading__description { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.auditions-divider { height: 1px; background: var(--line); }
.track-list { display: flex; flex-direction: column; scroll-margin-block-start: 18px; }
.track-row { position: relative; min-height: 126px; display: grid; grid-template-columns: 58px minmax(130px, .8fr) minmax(150px, 1.35fr) minmax(90px, .45fr) minmax(96px, .5fr); grid-template-areas: "play title listen vote count"; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.track-row.is-released { grid-template-columns: minmax(0, 1fr) max-content; grid-template-areas: "title listen"; min-height: 100px; padding-block: 16px; }
.track-row .play-toggle { grid-area: play; }
.track-row .vote-button { grid-area: vote; }
.track-row.is-released .track-window { color: #9ccd9f; }
.track-row audio { display: none; }
.track-voting { display: contents; }
.play-toggle { width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(247,241,223,.36); border-radius: 50%; background: transparent; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.play-toggle img { width: 100%; height: 100%; object-fit: contain; }
.play-toggle:hover:not(:disabled), .play-toggle:focus-visible:not(:disabled) { transform: scale(1.1); border-color: var(--gold); background: rgba(242,201,78,.12); }
.play-toggle:disabled { opacity: .38; cursor: not-allowed; }
.track-title { grid-area: title; min-width: 0; }
.track-title h2 { margin: 0; overflow-wrap: anywhere; color: var(--paper); font: 400 24px/1.1 Anton, Impact, sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.track-title p { margin: 8px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.track-title .track-window { margin: 6px 0 0; color: #dec99e; font: 12px/1.35 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.timeline { grid-area: listen; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.timeline input { width: 100%; min-width: 0; height: 40px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.timeline output { color: var(--paper); font: 12px/1.2 ui-monospace, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.track-feedback { grid-column: 1 / -1; margin: 0; color: var(--paper); font-size: 13px; }
.track-feedback:empty { display: none; }
.track-empty { padding-block: 36px; border-bottom: 1px solid var(--line); }
.track-empty p { color: var(--muted); line-height: 1.5; }
.track-empty h2 { font: 400 clamp(26px,4vw,40px)/1.1 Anton, Impact, sans-serif; margin: 0; }
.vote-button { justify-self: start; min-width: 90px; padding: 11px 15px; border: 1px solid var(--slate); background: transparent; color: var(--paper); font: 400 15px/1 Anton, Impact, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, color .18s ease, border-color .18s ease, background-color .18s ease; }
.vote-button:hover:not(:disabled), .vote-button:focus-visible:not(:disabled) { transform: translateY(-3px); border-color: var(--gold); background: rgba(242,201,78,.12); color: var(--gold); }
.vote-button:disabled { opacity: .45; cursor: not-allowed; }
.vote-count { grid-area: count; justify-self: stretch; min-height: 116px; display: flex; align-items: center; justify-content: flex-end; color: var(--slate); font: 400 14px/1 Anton, Impact, sans-serif; letter-spacing: 1px; text-align: right; white-space: nowrap; }
.vote-count strong { display: block; margin-bottom: 5px; color: var(--paper); font-size: 25px; font-weight: 400; }
.track-row > yacas-voto { grid-area: count; place-self: center start; width: min(76px, calc(100% - 46px)); aspect-ratio: 510 / 704; pointer-events: none; }
.status-message { min-height: 20px; margin: 12px 0 0; color: var(--slate); font-size: 13px; }
.loading-message { color: var(--muted); font-size: 13px; text-align: center; }
.auditions-note { padding: 45px 0 65px; display: flex; justify-content: space-between; gap: 16px; color: var(--slate); font: 400 13px/1.3 Anton, Impact, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.auditions-note p { margin: 0; }
.auditions-note__brand { color: #be0002; }

.merch-heading { padding: 43px 0 25px; text-align: center; }
.merch-heading .eyebrow { margin-bottom: 12px; }
.merch-heading h1 { font-size: clamp(48px, 7.5vw, 96px); }
.merch-collage { width: 100%; margin: 0; overflow: hidden; }
.merch-collage img { width: 100%; height: auto; aspect-ratio: 1280 / 550; object-fit: cover; }
.merch-cta-wrap { min-height: 150px; padding: 32px 0 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cta-button--wide { min-width: 170px; }
.shopify-message { min-height: 16px; margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.admin-body { min-height: 100vh; background: #090909; }
.admin-header { height: 92px; padding: 0 clamp(20px, 6vw, 72px); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.admin-brand { display: flex; align-items: center; gap: 24px; color: var(--slate); font: 400 13px/1 Anton, Impact, sans-serif; letter-spacing: 1.7px; text-decoration: none; }
.admin-brand img { width: 60px; height: 56px; object-fit: contain; }
.admin-logout { color: var(--paper); font: 400 14px/1 Anton, Impact, sans-serif; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.admin-logout:hover { color: var(--gold); }
.admin-main { width: min(100% - 40px, 960px); margin: 0 auto; padding: 54px 0 70px; }
.admin-title-row { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.admin-title-row h1 { font-size: clamp(42px, 6vw, 72px); }
.admin-title-row .text-link { margin: 0 0 8px; white-space: nowrap; }
.admin-panel { margin-top: 20px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); background: #101010; }
.admin-panel h2 { margin: 0; font: 400 26px/1 Anton, Impact, sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.admin-panel > p:not(.status-message) { color: var(--muted); font-size: 13px; line-height: 1.5; }
.upload-form { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.upload-form label { display: flex; flex-direction: column; gap: 9px; color: var(--paper); font-size: 13px; }
.upload-form input:not([type="file"]) { min-height: 46px; padding: 0 13px; border: 1px solid #444; border-radius: 0; background: #080808; color: var(--paper); }
.upload-form .file-field { grid-column: 1 / -1; }
.upload-form input[type="file"] { width: 100%; padding: 14px; border: 1px dashed #555; background: #080808; color: var(--muted); }
.file-field span { color: var(--muted); font-size: 11px; }
.upload-form .cta-button { justify-self: start; min-width: 190px; }
.admin-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.quiet-button { padding: 10px 12px; border: 1px solid #555; background: transparent; color: var(--paper); cursor: pointer; }
.quiet-button:hover { border-color: var(--gold); color: var(--gold); }
.admin-track-list { margin-top: 15px; }
.admin-track { min-height: 74px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.admin-track h3 { margin: 0; font: 400 18px/1.2 Anton, Impact, sans-serif; text-transform: uppercase; }
.admin-track p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.delete-track { padding: 9px 11px; border: 1px solid #6f3434; background: transparent; color: #ff9a9a; cursor: pointer; }
.delete-track:hover { background: #431919; }
.admin-note { margin: 24px 0 0; color: #777; font-size: 12px; }

/* Selezione del passaggio sul master privato. */
.editor-mount { grid-column: 1 / -1; min-width: 0; width: 100%; }
.editor-mount:has(fieldset[hidden]) { display: none; }
.clip-editor { margin: 0; min-width: 0; padding: 18px; border: 1px solid #625746; background: #12100e; }
.clip-editor legend { padding: 0 7px; color: var(--paper); font: 400 20px/1.1 Anton, Impact, sans-serif; }
.clip-heading, .clip-audition { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.clip-heading { margin-bottom: 10px; }
.clip-heading strong, .clip-audition span { color: #d3c8b3; font-size: 13px; }
.master-clock, .clip-times { font: 14px/1.35 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.clip-wave {
  position: relative; isolation: isolate; overflow: hidden; height: clamp(68px, 9vw, 94px);
  border: 1px solid #756951; background: #080808; --cursor: 0%;
}
.clip-wave:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.clip-wave::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid #514738; }
.wave-ink, .clip-window, .clip-cursor { position: absolute; inset-block: 0; pointer-events: none; }
.wave-ink { inset-inline: 0; width: 100%; height: 100%; stroke: #ddcca7; stroke-width: 1.8; fill: none; }
.clip-window { background: rgb(223 160 47 / .25); border-inline: 2px solid #edc67f; }
.clip-cursor { left: clamp(0px, var(--cursor), calc(100% - 2px)); width: 2px; background: white; }
.clip-wave::after { content: ""; position: absolute; top: 0; left: clamp(0px, calc(var(--cursor) - 4px), calc(100% - 8px)); width: 8px; height: 7px; background: white; clip-path: polygon(0 0,100% 0,50% 100%); pointer-events: none; }
.clip-editor .clip-wave .master-seek { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: crosshair; }
.clip-help, .admin-track .clip-help { margin: 9px 0 12px; color: #c4bcb0; font-size: 13px; line-height: 1.45; }
.clip-transport { display: flex; flex-wrap: wrap; gap: 8px; }
.clip-editor .quiet-button { min-height: 44px; }
.clip-editor .quiet-button:disabled { opacity: .5; cursor: default; }
.clip-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 18px; }
.clip-fields label { min-width: 0; font-size: 13px; }
.clip-fields input { min-width: 0; width: 100%; font-size: 16px; font-variant-numeric: tabular-nums; }
.clip-audition { padding-top: 14px; border-top: 1px solid #514738; }
.clip-audition > div { display: grid; gap: 5px; }
.clip-editor .clip-times { color: #f0cd88; font-weight: 600; }
.release-settings .saved-excerpt { grid-template-columns: minmax(0, 1fr); width: 100%; }
.admin-panel button:disabled { cursor: default; }
@media (max-width: 600px) {
  .admin-track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .admin-track .delete-track { justify-self: start; }
  .clip-editor { padding: 12px; }
  .clip-fields { gap: 8px; }
  .clip-editor .quiet-button { padding-inline: 9px; }
}

@media (max-width: 760px) {
  .site-header { height: auto; min-height: 132px; padding: 12px 18px 14px; grid-template-columns: 1fr 1fr; grid-template-rows: 69px 38px; row-gap: 4px; }
  .brand { grid-column: 1 / -1; grid-row: 1; width: 70px; height: 66px; }
  .brand img { width: 70px; max-height: 62px; }
  .main-nav { grid-row: 2; grid-column: 1 / 2; gap: clamp(13px, 4vw, 24px); }
  .nav-link { min-height: 32px; font-size: 16px; letter-spacing: .8px; }
  .nav-link::after { bottom: 0; }
  .social-links:not(.social-links--footer) { grid-row: 2; grid-column: 2 / 3; gap: 2px; }
  .social-links:not(.social-links--footer) .social-link { width: 32px; height: 32px; }
  .social-links:not(.social-links--footer) .social-link img { width: 19px; height: 19px; }
  .tagline { height: 58px; font-size: 15px; }
  .hero-video__overlay h1 { font-size: clamp(50px, 13.5vw, 86px); }
  .cta-button { min-height: 52px; padding: 14px 20px; font-size: 17px; }
  .home-merch { min-height: 0; padding: 52px 24px; grid-template-columns: 1fr; gap: 30px; }
  .provini-body .site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
  .provini-body .site-header .brand { order: -1; flex: 0 0 100%; }
  .provini-body .site-header .main-nav, .provini-body .site-header .social-links { flex-wrap: wrap; }
  .track-row, .track-row.is-released {
    grid-template-columns: 48px minmax(0,1fr);
    grid-template-areas: "mascot title" "play listen" "aside voting";
    min-height: 0;
    gap: 6px 12px;
    padding-block: 16px;
  }
  .track-row.is-released { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "listen"; gap: 12px; }
  .track-row.is-released .track-title { min-height: 0; }
  .track-row .play-toggle { width: 46px; height: 46px; padding: 12px; justify-self: center; }
  .track-title { align-self: center; display: grid; align-content: center; min-height: 60px; }
  .track-title h2 { font-size: clamp(1.3rem, 5.2vw, 1.6rem); line-height: 1.15; }
  .track-title p { margin-top: 5px; font-size: .8125rem; line-height: 1.45; }
  .track-spotify { max-width: 100%; }
  .timeline { grid-template-columns: minmax(0,1fr) max-content; gap: 10px; }
  .timeline input { height: 44px; }
  .timeline output { font-size: .8125rem; }
  .track-voting { grid-area: voting; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
  .vote-button { min-width: 104px; min-height: 44px; max-width: 100%; padding: 9px 14px; white-space: normal; }
  .vote-count { min-height: 0; color: #a4b2b9; }
  .vote-count strong { display: inline; margin: 0 2px 0 0; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
  .track-row > yacas-voto { grid-area: mascot; place-self: end center; width: 42px; }
  .track-row > yacas-voto.beside-vote { grid-area: aside; place-self: center; width: 31px; }
  .track-feedback:not(.is-error) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .track-feedback { line-height: 1.4; overflow-wrap: anywhere; }
  .auditions-page #tracks-status:empty { display: none; }
  .auditions-note { padding: 34px 0 46px; flex-direction: column; align-items: center; text-align: center; }
  .merch-heading { padding: 44px 0 20px; }
  .merch-heading h1 { font-size: clamp(42px, 9.5vw, 66px); }
  .page-main { padding: 0 18px; }
  .admin-main { width: min(100% - 32px, 960px); padding-top: 34px; }
  .admin-title-row { align-items: start; flex-direction: column; }
  .admin-title-row .text-link { margin: 0; }
}
@media (max-width: 460px) {
  .site-header { padding-right: 12px; padding-left: 12px; }
  .main-nav { gap: 11px; }
  .nav-link { font-size: 15px; }
  .social-links:not(.social-links--footer) .social-link { width: 29px; height: 29px; }
  .social-links:not(.social-links--footer) .social-link img { width: 17px; height: 17px; }
  .vote-count { font-size: .75rem; }
  .upload-form { grid-template-columns: 1fr; }
  .upload-form .file-field { grid-column: auto; }
  .admin-track { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.skip-main { position: absolute; top: 6px; left: 8px; z-index: 4; padding: 10px 14px; color: var(--black); background: var(--gold); transform: translateY(-160%); }
.skip-main:focus { transform: none; }
.home-merch h2 span { color: #d26c71; }
.text-link { color: #ec8589; }
.product-frame span { position: absolute; bottom: 0; left: 0; padding: 6px 12px; background: #101010; color: var(--paper); font: 400 14px/1.2 Anton, Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.track-row.is-playing .transport-icon { display: inline-block; width: 12px; height: 16px; border-inline: 3px solid currentColor; }
.merch-details { margin-inline: auto; padding: clamp(24px,5vw,68px) clamp(18px,6vw,80px) 0; }
.merch-details h2 { margin: 0 0 18px; font: 400 clamp(26px,3.8vw,48px)/1 Anton, Impact, sans-serif; text-transform: uppercase; }
.look-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(8px,2vw,24px); }
.look-link { display: grid; gap: 8px; text-decoration: none; }
.look-link img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.look-link[data-look="shurikami"] img { object-fit: contain; background: #101010; }
.look-link span { font: 400 clamp(15px,2.4vw,25px)/1.1 Anton, Impact, sans-serif; }
.look-link:focus-visible, .look-link:hover { color: var(--gold); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .look-link img { transition: transform 190ms ease-out; } .look-link:hover img { transform: translateY(-3px); } }
body:has(#look-viewer[open]) { overflow: hidden; }
#look-viewer { box-sizing: border-box; width: min(940px,calc(100% - 24px)); height: min(840px,calc(100dvh - 24px)); max-width: none; max-height: none; padding: clamp(12px,2vw,24px); color: var(--paper); background: #0c0c0c; border: 1px solid #625f56; }
#look-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 12px; }
#look-viewer::backdrop { background: rgb(0 0 0 / .88); }
#look-viewer header, #look-viewer footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
#look-viewer h2 { margin: 0; font: 400 clamp(22px,4vw,42px)/1 Anton, Impact, sans-serif; }
#look-viewer button { background: transparent; color: var(--paper); border: 1px solid #6f6a60; min-height: 44px; padding: 0 12px; cursor: pointer; }
#look-viewer button:hover, #look-viewer button:focus-visible { color: var(--gold); }
.look-photo { min-height: 0; display: grid; place-items: center; margin: 0; background: #060606; }
.look-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.look-position { font: 13px ui-monospace, monospace; }
.shop-status { display: inline-block; margin: 18px 0 0; color: var(--gold); font: 400 16px/1.3 Anton, Impact, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.merch-details { padding-bottom: clamp(32px, 6vw, 72px); }
.vote-info { max-width: 46rem; margin-block: 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.vote-info summary { width: fit-content; color: var(--paper); cursor: pointer; padding: 8px 0; }
.vote-button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.stats-list { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 24px 0; }
.stats-list dt { color: var(--muted); font-size: 13px; }
.stats-list dd { margin: 4px 0 0; color: var(--paper); font: 400 36px/1.1 Anton, Impact, sans-serif; }
@media (max-width:760px) {
  .site-header { grid-template-rows: 64px minmax(44px,auto); }
  .main-nav { gap: 8px; }
  .main-nav .nav-link { min-height: 44px; }
  .social-links:not(.social-links--footer) .social-link { height: 44px; width: clamp(29px,8.5vw,40px); }
  .look-list { gap: 8px; }
  .merch-details { padding-inline: 0; }
  .play-toggle { min-width: 44px; min-height: 44px; }
  .vote-button { min-height: 44px; }
}
@media (hover: none) {
  .track-row .play-toggle:hover:not(:disabled), .track-row .vote-button:hover:not(:disabled) { transform: none; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .home-page .site-header {
    height: 64px;
    min-height: 0;
    padding: 0 clamp(12px, 4vw, 36px);
    grid-template: 1fr / 1fr 64px 1fr;
    gap: 0;
  }
  .home-page .brand { grid-area: 1 / 2; width: 50px; height: 53px; }
  .home-page .brand img { width: 50px; height: auto; }
  .home-page .main-nav { grid-area: 1 / 1; }
  .home-page .site-header .social-links { grid-area: 1 / 3; }
  .home-page .tagline { height: 28px; font-size: 12px; }
  .hero-video { max-height: calc(100svh - 92px); }
  .hero-video__overlay h1 { font-size: clamp(42px, 8vw, 72px); }
}
