:root {
  --v: #4f17c4;
  --v-deep: #2c0b7a;
  --v-mid: #3b0fa0;
  --ink: #170538;
  --y: #ffd23f;
  --y-soft: #ffe68a;
  --lilac: #cdb8ff;
  --paper: #fff6dc;
  --muted: #c3b2f2;
  --line: rgba(205, 184, 255, .22);
  --display: "Bagel Fat One", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--v);
  background-image: radial-gradient(1200px 600px at 85% -10%, #6a2bf0 0%, transparent 60%), radial-gradient(900px 700px at -10% 110%, #3a0e9c 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--paper);
  font: 500 17px/1.55 var(--body);
}
body:not(.is-in) .top, body:not(.is-in) main { visibility: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--y); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 10px; }
h1, h2 { margin: 0; }
h2 { font: 800 1rem/1.2 var(--body); color: var(--lilac); margin-bottom: 14px; letter-spacing: .01em; }
.empty { color: var(--muted); font-style: italic; margin: 0; }
.label { font-weight: 700; color: var(--lilac); margin: 16px 0 8px; font-size: .9rem; }
[hidden] { display: none !important; }

/* ---------- accesso ---------- */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: var(--gutter); background: var(--v); transition: opacity .45s, transform .45s; }
.gate-out { opacity: 0; transform: scale(1.04); }
.gate-inner { width: min(460px, 100%); }
.gate-logo { font: 400 clamp(64px, 19vw, 124px)/.9 var(--display); color: var(--y); margin: 0 0 56px; transform: rotate(-4deg); text-shadow: 6px 6px 0 var(--ink); }
.gate label { display: block; font-weight: 700; margin-bottom: 10px; }
.gate-row { display: flex; gap: 10px; }
.gate input { flex: 1; min-width: 0; padding: 16px 18px; border-radius: 999px; border: 2px solid var(--lilac); background: rgba(23, 5, 56, .35); font-size: 1.1rem; }
.gate button { padding: 0 26px; border: 0; border-radius: 999px; background: var(--y); color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.gate-msg { min-height: 1.6em; color: var(--y-soft); margin: 12px 4px 0; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- intestazione ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px var(--gutter); background: rgba(79, 23, 196, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { font: 400 1.6rem/1 var(--display); color: var(--y); text-decoration: none; transform: rotate(-3deg); }
.tabs { display: flex; gap: 4px; background: rgba(23, 5, 56, .35); padding: 4px; border-radius: 999px; }
.tabs a { color: var(--paper); text-decoration: none; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.status { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.online { display: inline-flex; align-items: center; gap: 7px; color: var(--paper); }
.online i { width: 9px; height: 9px; border-radius: 50%; background: #5df29a; box-shadow: 0 0 0 0 rgba(93, 242, 154, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(93, 242, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(93, 242, 154, 0); } }
.day { color: var(--y); white-space: nowrap; }
.me { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 2px solid var(--line); background: rgba(23, 5, 56, .35); font-weight: 700; max-width: 180px; }
.me-dot { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 2px dashed var(--lilac); }
.me:not(.is-empty) .me-dot { border: 0; }
.me-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me.is-empty { border-color: var(--y); color: var(--y); }

/* ---------- oggi ---------- */
.today { width: min(1080px, 100%); margin: 0 auto; padding: 28px var(--gutter) 0; }
.hero { display: grid; grid-template-columns: minmax(260px, 430px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: end; }
.cover-wrap { position: relative; }
.cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: 12px 12px 0 var(--ink); transform: rotate(-2deg); background: var(--v-deep); }
.hero-day { font-weight: 800; color: var(--lilac); margin: 0 0 10px; }
.title { font: 400 clamp(52px, 9vw, 116px)/.9 var(--display); color: var(--y); overflow-wrap: anywhere; text-shadow: 5px 5px 0 var(--ink); }
.artist { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; margin: 18px 0 2px; }
.dur { color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }

.credit { margin: 18px 0 0; font-size: .75rem; color: var(--muted); text-align: right; }
.credit a { color: var(--lilac); }
.floats { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.float { position: absolute; left: var(--x); bottom: 12%; display: flex; flex-direction: column; align-items: center; animation: rise 2.6s cubic-bezier(.2, .7, .3, 1) forwards; }
.float-e { font-size: 54px; line-height: 1; filter: drop-shadow(0 4px 0 rgba(23, 5, 56, .45)); }
.float-n { margin-top: 4px; font-size: .78rem; font-weight: 800; background: var(--c); color: var(--ink); padding: 2px 9px; border-radius: 999px; }
@keyframes rise { 0% { transform: translate(-50%, 30px) scale(.4); opacity: 0; } 15% { transform: translate(-50%, 0) scale(1.1); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%, -220px) scale(.9); opacity: 0; } }

/* lettore */
.player { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: end; background: var(--v-deep); border-radius: var(--r-lg); padding: 22px 24px 18px; }
.play { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--y); color: var(--ink); display: grid; place-items: center; transition: transform .15s; margin-bottom: 26px; }
.play:active { transform: scale(.92); }
.play svg, .ra-play svg { width: 34px; height: 34px; fill: currentColor; }
.play .i-pause, .ra-play .i-pause { display: none; }
.is-playing .i-pause { display: inline; }
.is-playing .i-play { display: none; }
.track { min-width: 0; }
.pins { position: relative; height: calc(var(--lanes, 1) * 30px + 8px); }
.pin { position: absolute; bottom: calc(var(--lane) * 30px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px 1px 2px; border: 0; border-radius: 999px; background: rgba(23, 5, 56, .55); white-space: nowrap; transition: transform .15s; }
.pin:hover { transform: translateX(-50%) scale(1.15); z-index: 2; }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: calc(var(--lane) * 30px + 8px); background: var(--c); opacity: .5; transform: translateX(-50%); }
.pin-e { font-size: 17px; line-height: 1.3; }
.pin-n { font-size: 10px; font-weight: 800; color: var(--c); max-width: 64px; overflow: hidden; text-overflow: ellipsis; }
.wave { height: 84px; cursor: pointer; touch-action: none; }
.wave svg { width: 100%; height: 100%; display: block; }
.w-base rect { fill: var(--lilac); opacity: .35; }
.w-done rect { fill: var(--y); }
.times { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; margin-top: 6px; }

/* reazioni */
.react { margin-top: 18px; }
.react-mode { display: inline-flex; gap: 4px; background: rgba(23, 5, 56, .35); padding: 4px; border-radius: 999px; margin-bottom: 14px; }
.react-mode button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--paper); }
.react-mode button[aria-checked="true"] { background: var(--lilac); color: var(--ink); }
.mode-time { font-variant-numeric: tabular-nums; }
.react-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.emo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line); background: rgba(23, 5, 56, .3); font-size: 28px; line-height: 1; display: grid; place-items: center; transition: transform .12s, background .12s; }
.emo:hover { background: rgba(23, 5, 56, .55); transform: translateY(-2px); }
.emo.pop { animation: pop .35s; }
@keyframes pop { 40% { transform: scale(1.35); } }
.emo.more { font: 800 28px/1 var(--body); color: var(--y); border-style: dashed; border-color: var(--y); }
.picker-pop { margin-top: 12px; max-width: 420px; }
emoji-picker { width: 100%; --background: var(--v-deep); --border-color: transparent; --indicator-color: var(--y); --input-border-color: var(--line); --input-font-color: var(--paper); --input-placeholder-color: var(--muted); --outline-color: var(--y); --category-font-color: var(--lilac); --button-active-background: var(--v-mid); --button-hover-background: var(--v-mid); border-radius: var(--r-md); overflow: hidden; }
.my-reacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.my-label { font-size: .85rem; font-weight: 700; color: var(--lilac); margin-right: 2px; }
.my-chip { display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); color: var(--ink); overflow: hidden; }
.my-go { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: inherit; padding: 4px 4px 4px 10px; font-weight: 700; font-size: .85rem; }
.my-go:disabled { cursor: default; }
.my-e { font-size: 18px; }
.my-x { border: 0; background: none; color: inherit; font: 800 1.1rem/1 var(--body); padding: 4px 10px 4px 6px; opacity: .6; }
.my-x:hover { opacity: 1; }
.egg { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 8px; padding: 10px 14px; border: 2px solid var(--y); border-radius: var(--r-md); background: var(--ink); color: var(--y); font-weight: 800; animation: pop .4s; }
.egg-e { font-size: 30px; }
.song-reacts { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 20px; }
.sr { display: flex; align-items: center; gap: 8px; }
.sr-head { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; border: 2px solid var(--line); background: rgba(23, 5, 56, .3); }
.sr.is-mine .sr-head { border-color: var(--y); }
.sr-e { font-size: 22px; line-height: 1.2; }
.sr-n { font-weight: 800; font-variant-numeric: tabular-nums; }
.sr-names { display: flex; flex-wrap: wrap; gap: 4px; max-width: 260px; }
.sr-names span { font-size: .72rem; font-weight: 800; color: var(--c); }
.sr-names span:not(:last-child)::after { content: ","; color: var(--muted); }
.more-n { color: var(--muted) !important; }

/* voto */
.vote { margin-top: 48px; padding: 26px; border-radius: var(--r-lg); border: 2px dashed var(--line); transition: border-color .3s, background .3s; }
.vote.is-open { border: 2px solid var(--y); background: rgba(23, 5, 56, .25); }
.vote h2 { font: 400 2rem/1 var(--display); color: var(--y); margin-bottom: 6px; }
.vote-hint { margin: 0 0 12px; color: var(--muted); }
.vote-meter { height: 6px; border-radius: 99px; background: rgba(205, 184, 255, .18); margin-bottom: 18px; overflow: hidden; }
.vote-meter i { display: block; height: 100%; width: 0; background: var(--y); transition: width .4s; }
.vote.is-open .vote-meter { display: none; }
.vote-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.vote-grid button { aspect-ratio: 1; border-radius: 16px; border: 2px solid var(--line); background: rgba(23, 5, 56, .35); font: 400 1.5rem/1 var(--display); transition: transform .12s, background .12s; }
.vote-grid button:disabled { opacity: .35; cursor: not-allowed; }
.vote-grid button:not(:disabled):hover { transform: translateY(-3px); border-color: var(--y); }
.vote-grid button[aria-pressed="true"] { background: var(--y); color: var(--ink); border-color: var(--y); }
.vote-result { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.avg { font: 400 4.4rem/1 var(--display); color: var(--y); margin: 0; }
.avg-sub { margin: 0; color: var(--paper); font-weight: 600; }

/* spiegazione e testo */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); margin-top: 56px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-list li { padding-left: 22px; position: relative; max-width: 62ch; }
.about-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--y); }
.sources { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.sources summary { cursor: pointer; font-weight: 700; }
.sources ul { padding-left: 18px; }
.sources a { color: var(--lilac); }
.lyrics-text { white-space: pre-line; margin: 0; font-size: 1.05rem; line-height: 1.75; }
.lyrics-admin { margin-top: 18px; display: grid; gap: 10px; }
.lyrics-admin textarea, .admin-login input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: rgba(23, 5, 56, .4); }
.admin-login { display: grid; gap: 10px; }
.admin-msg { margin: 0; color: var(--y-soft); min-height: 1.4em; }
.solid { border: 0; border-radius: 999px; padding: 12px 22px; background: var(--y); color: var(--ink); font-weight: 800; justify-self: start; }
.ghost { border: 2px solid var(--line); border-radius: 999px; padding: 10px 20px; background: none; font-weight: 700; }

/* prossima canzone */
.next { margin: 64px calc(var(--gutter) * -1) 0; padding: 48px var(--gutter) 56px; background: var(--ink); text-align: center; border-radius: 40px 40px 0 0; }
.next-label { margin: 0 0 8px; font-weight: 700; color: var(--lilac); }
.next-count { margin: 0; font: 400 clamp(56px, 14vw, 132px)/1 var(--display); color: var(--y); font-variant-numeric: tabular-nums; }
.next-count b { color: var(--v); font-weight: 400; padding: 0 .04em; }
.next-link { display: inline-block; margin-top: 24px; font-weight: 700; }

.teaser { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 10px; }
.teaser-kicker { margin: 0; font-weight: 800; color: var(--lilac); }
.teaser-count { margin: 0; font: 400 clamp(60px, 17vw, 170px)/1 var(--display); color: var(--y); text-shadow: 6px 6px 0 var(--ink); font-variant-numeric: tabular-nums; }
.teaser-count b { color: var(--lilac); font-weight: 400; }
.teaser-sub { margin: 10px auto 0; max-width: 40ch; }

/* ---------- archivio ---------- */
.archive { width: min(900px, 100%); margin: 0 auto; padding: 32px var(--gutter) 80px; }
.arch-head h1 { font: 400 clamp(56px, 11vw, 104px)/.9 var(--display); color: var(--y); text-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg); transform-origin: left; }
.arch-sum { margin: 22px 0 2px; font-weight: 700; font-size: 1.1rem; }
.arch-next { margin: 0; color: var(--y-soft); font-variant-numeric: tabular-nums; font-weight: 600; }
.admin-bar { margin-top: 20px; padding: 16px; border-radius: var(--r-md); border: 2px dashed var(--y); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.admin-bar .admin-login { width: 100%; }
.admin-on { margin: 0; font-weight: 700; color: var(--y-soft); max-width: 60ch; }
.lyrics-edit { width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--y); background: rgba(23, 5, 56, .45); line-height: 1.6; resize: vertical; }
.arch-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.row { position: relative; display: grid; grid-template-columns: 44px 60px 1fr auto auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-md); background: rgba(44, 11, 122, .7); overflow: hidden; }
.row-n { font: 400 1.35rem/1 var(--display); color: var(--lilac); text-align: center; font-variant-numeric: tabular-nums; }
.row-cover { width: 60px; height: 60px; border-radius: 12px; display: block; object-fit: cover; }
.row-info { min-width: 0; }
.row-title { margin: 0; font-weight: 800; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { margin: 0; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; gap: 6px; align-items: center; }
.row-avg { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; min-width: 56px; }
.row-avg b { font: 400 1.5rem/1 var(--display); color: var(--y); }
.row-avg span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.row-avg .avg-none { font-size: .75rem; text-align: right; }
.rank { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.rank-col { padding: 18px; border-radius: var(--r-lg); background: rgba(44, 11, 122, .7); }
.rank-top { box-shadow: inset 0 0 0 2px var(--y); }
.rank-col h2 { font: 400 1.5rem/1 var(--display); color: var(--y); margin-bottom: 14px; }
.rank-worst h2 { color: var(--lilac); }
.rank-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rank-row { display: grid; grid-template-columns: 22px 44px 1fr auto; gap: 10px; align-items: center; }
.rank-pos { font: 400 1.2rem/1 var(--display); color: var(--lilac); text-align: center; }
.rank-cover { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.rank-info { min-width: 0; }
.rank-title { margin: 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-meta { margin: 0; font-size: .8rem; color: var(--muted); }
.rank-avg { font: 400 1.6rem/1 var(--display); color: var(--y); }
.rank-worst .rank-avg { color: var(--lilac); }
.rank-note { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--muted); }
.ra { border: 2px solid var(--line); background: none; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem; color: var(--paper); text-decoration: none; }
.ra:hover, .ra[aria-expanded="true"] { border-color: var(--y); }
.ra-play { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; background: var(--y); border-color: var(--y); color: var(--ink); }
.ra-play svg { width: 20px; height: 20px; }
.row-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.row-progress i { display: block; height: 100%; width: 0; background: var(--y); }
.row-drawer { grid-column: 2 / -1; padding: 8px 0 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.row-drawer .lyrics-text { font-size: 1rem; }
.drawer-about { margin: 0; padding-left: 18px; color: var(--paper); display: grid; gap: 6px; font-size: .95rem; }
.row.is-playing { background: var(--v-mid); box-shadow: inset 0 0 0 2px var(--y); }
.row.is-next { background: transparent; border: 2px solid var(--y); }
.row.is-next .row-title { color: var(--y); }
.row-q { display: grid; place-items: center; background: var(--y); color: var(--ink); font: 400 2rem/1 var(--display); }
.row.is-locked { background: rgba(23, 5, 56, .28); padding-top: 6px; padding-bottom: 6px; }
.row.is-locked .row-cover { width: 44px; height: 44px; justify-self: center; }
.row.is-locked .row-title { color: var(--muted); letter-spacing: .2em; }
.row.is-locked .row-n { opacity: .55; }
.row-lock { display: grid; place-items: center; background: rgba(205, 184, 255, .08); border: 2px dashed var(--line); }
.row-lock svg { width: 24px; height: 24px; fill: var(--lilac); stroke: var(--lilac); opacity: .7; }

/* ---------- mini lettore ---------- */
.mini { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; width: min(560px, calc(100% - 32px)); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px 16px 14px 10px; border-radius: 22px; background: var(--ink); box-shadow: 6px 6px 0 var(--y); overflow: hidden; }
.mini-play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--y); color: var(--ink); display: grid; place-items: center; }
.mini-play svg { width: 22px; height: 22px; fill: currentColor; }
.mini-play .i-pause { display: none; }
.mini-play.is-playing .i-pause { display: inline; }
.mini-play.is-playing .i-play { display: none; }
.mini-info { min-width: 0; cursor: pointer; }
.mini-title { margin: 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-time { margin: 0; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(205, 184, 255, .2); }
.mini-bar i { display: block; height: 100%; width: 0; background: var(--y); }
body.has-mini { padding-bottom: 90px; }

/* ---------- profilo ---------- */
.sheet { border: 0; padding: 0; border-radius: var(--r-lg); background: var(--v-deep); color: var(--paper); width: min(420px, calc(100% - 32px)); box-shadow: 10px 10px 0 var(--y); }
.sheet::backdrop { background: rgba(23, 5, 56, .7); backdrop-filter: blur(4px); }
.sheet form { padding: 28px; }
.sheet h2 { font: 400 2rem/1 var(--display); color: var(--y); margin-bottom: 8px; }
.sheet .hint { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.sheet input[name=name] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--lilac); background: rgba(23, 5, 56, .4); font-size: 1.1rem; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatch-custom { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--lilac); display: grid; place-items: center; cursor: pointer; background: conic-gradient(#ff5c5c, #ffd23f, #7ee35a, #2ee6c5, #4db8ff, #b98cff, #ff6fd8, #ff5c5c); }
.swatch-custom span { font: 800 1.3rem/1 var(--body); color: var(--ink); background: rgba(255,255,255,.85); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch-custom.is-on { border: 3px solid var(--paper); box-shadow: 0 0 0 3px var(--v-deep), 0 0 0 5px var(--y); }
.swatch-custom.is-on span { display: none; }
.swatches button { aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; }
.swatches button[aria-pressed="true"] { border-color: var(--paper); box-shadow: 0 0 0 3px var(--v-deep), 0 0 0 5px var(--y); }
.sheet-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

/* ---------- telefono ---------- */
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 1.35rem; }
  .tabs { order: 3; }
  .status { gap: 8px; }
  .day { display: none; }
  .me { max-width: 120px; padding-right: 10px; }
  .online { font-size: .82rem; }
  .hero { grid-template-columns: 1fr; }
  .cover-wrap { width: min(340px, 86%); margin: 0 auto; }
  .hero-text { text-align: center; }
  .player { grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 14px 12px; }
  .play { width: 56px; height: 56px; margin-bottom: 26px; }
  .play svg { width: 26px; height: 26px; }
  .wave { height: 64px; }
  .react-bar { justify-content: space-between; gap: 6px; }
  .emo { width: 46px; height: 46px; font-size: 24px; }
  .vote { padding: 20px 16px; }
  .vote-grid { grid-template-columns: repeat(5, 1fr); }
  .story { grid-template-columns: 1fr; }
  .row { grid-template-columns: 30px 52px 1fr auto; gap: 10px; }
  .rank { grid-template-columns: 1fr; }
  .row-cover { width: 52px; height: 52px; }
  .row-actions { grid-column: 2 / -1; }
  .row-n { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
