.public-header { padding: 22px 0 10px; }
.public-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.public-header__event { display: flex; gap: 8px; align-items: center; }

.hero { padding: 54px 0 28px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: end; }
.hero h1 {
  max-width: 780px;
  margin: 16px 0 16px;
  font-size: clamp(3.2rem, 10vw, 7.4rem);
  line-height: 0.84;
  letter-spacing: -0.078em;
  font-weight: 950;
  text-transform: uppercase;
}
.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.80);
}
.hero__lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.55; }
.hero__lead strong { color: var(--text); }

.vote-meter { position: relative; overflow: hidden; padding: 25px; }
.vote-meter::before {
  content: "";
  position: absolute;
  inset: auto -30% -55% 20%;
  height: 180px;
  background: radial-gradient(circle, rgba(217,255,63,.24), transparent 65%);
  pointer-events: none;
}
.vote-meter__label { color: var(--muted); font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.vote-meter__number { display: flex; align-items: baseline; gap: 7px; margin-top: 7px; font-size: 4.25rem; line-height: 1; font-weight: 950; letter-spacing: -.06em; }
.vote-meter__number small { color: var(--muted); font-size: .9rem; font-weight: 750; letter-spacing: 0; }
.vote-meter__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 19px; }
.vote-meter__bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.10); transition: background 200ms ease, box-shadow 200ms ease; }
.vote-meter__bar.is-open { background: var(--acid); box-shadow: 0 0 18px rgba(217,255,63,.32); }
.vote-meter__hint { position: relative; margin: 15px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }

.status-notice { display: none; margin: 6px 0 24px; padding: 16px 18px; align-items: flex-start; gap: 12px; }
.status-notice.is-visible { display: flex; }
.status-notice__icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #090a0b; background: var(--warning); }
.status-notice h2 { margin: 0 0 4px; font-size: .98rem; }
.status-notice p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }

.voting { padding: 18px 0 100px; }
.voting__top { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.voting__title h2 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.5rem); letter-spacing: -.045em; }
.voting__title p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.voting__count { color: var(--muted); font-size: .85rem; font-weight: 750; }

.toolbar { position: sticky; top: 8px; z-index: 20; display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 16px; padding: 8px; border-radius: 17px; background: rgba(13, 14, 19, 0.86); border: 1px solid var(--line); backdrop-filter: blur(18px); box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.search { position: relative; }
.search .icon { position: absolute; top: 50%; left: 14px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.search .input { padding-left: 44px; border-color: transparent; background: transparent; }
.sort { display: flex; align-items: center; gap: 5px; }
.sort__button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: .78rem; font-weight: 850; cursor: pointer; }
.sort__button.is-active { color: var(--text); background: rgba(255,255,255,.09); }

.song-list { display: grid; gap: 10px; }
.song-card {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 13px 13px 17px;
  background: rgba(21, 22, 30, 0.76);
  border: 1px solid var(--line);
  border-radius: 17px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.song-card:hover { transform: translateY(-1px); border-color: var(--line-strong); background: rgba(27, 29, 39, 0.90); }
.song-card.is-selected { border-color: rgba(217,255,63,.48); background: linear-gradient(100deg, rgba(217,255,63,.11), rgba(25,26,35,.88) 42%); }
.song-card__rank { width: 30px; color: var(--muted-2); font-size: .78rem; font-weight: 900; text-align: center; }
.song-card__rank.is-top { color: var(--acid); }
.song-card__copy { min-width: 0; }
.song-card__title { overflow: hidden; margin: 0; font-size: 1rem; font-weight: 870; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.song-card__artist { overflow: hidden; margin: 6px 0 0; color: var(--muted); font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.song-card__meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.song-card__votes { min-width: 48px; color: var(--muted); font-size: .72rem; font-weight: 850; text-align: right; }
.vote-button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.vote-button:hover { color: #0b0c0e; background: var(--acid); border-color: var(--acid); transform: scale(1.04); }
.vote-button.is-selected { color: #0b0c0e; background: var(--acid); border-color: var(--acid); }
.vote-button:disabled { cursor: not-allowed; opacity: .35; transform: none; }
.vote-button.is-selected:disabled { opacity: 1; cursor: pointer; }

.empty-state { display: none; padding: 46px 24px; text-align: center; }
.empty-state.is-visible { display: block; }
.empty-state svg { width: 42px; color: var(--muted-2); }
.empty-state h3 { margin: 13px 0 6px; }
.empty-state p { margin: 0; color: var(--muted); font-size: .86rem; }

.skeleton { height: 86px; border-radius: 17px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 220% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

.vote-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  width: min(520px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px 12px 17px;
  border-radius: 18px;
  background: rgba(17,18,24,.92);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 70px rgba(0,0,0,.52);
  backdrop-filter: blur(18px);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
}
.vote-dock.is-visible { transform: translate(-50%, 0); opacity: 1; }
.vote-dock__copy strong { display: block; font-size: .87rem; }
.vote-dock__copy span { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.vote-dock__count { min-width: 44px; height: 44px; display: grid; place-items: center; color: #0b0b0c; background: var(--acid); border-radius: 13px; font-weight: 950; }

.public-footer { padding: 28px 0 90px; color: var(--muted-2); font-size: .72rem; text-align: center; }
.public-footer strong { color: var(--muted); }

@media (max-width: 760px) {
  .container { width: min(100% - 22px, 700px); }
  .public-header { padding-top: 14px; }
  .brand__icon { width: 40px; height: 40px; }
  .brand__short { font-size: 1.45rem; }
  .public-header__event .badge:not(:first-child) { display: none; }
  .hero { padding-top: 38px; }
  .hero__grid { grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { margin-top: 13px; }
  .vote-meter { padding: 20px; }
  .vote-meter__number { font-size: 3.5rem; }
  .voting__top { align-items: start; }
  .voting__count { margin-top: 7px; }
  .toolbar { top: 5px; grid-template-columns: 1fr; gap: 3px; }
  .sort { justify-content: stretch; }
  .sort__button { flex: 1; }
  .song-card { grid-template-columns: minmax(0,1fr) auto; min-height: 78px; padding-left: 15px; }
  .song-card__rank { display: none; }
  .song-card__title { font-size: .94rem; }
  .vote-button { width: 47px; height: 47px; }
}
