/* VOTE — editorial poll, dark ink + gold */
.vote-page{background:var(--ink);color:var(--cream);}

.dark-sh{background:var(--ink);border-top:3px solid var(--gold);border-bottom:1px solid rgba(248,244,238,.06);}
.dark-sh .sh-title{color:var(--cream);}
.dark-sh .sh-rule{background:rgba(248,244,238,.1);}
.dark-sh .sh-more{color:var(--gold-lt);border-color:rgba(184,146,42,.3);}

.vote-stats{
  display:flex;align-items:stretch;justify-content:center;gap:0;
  padding:1.6rem 3rem;
  border-top:1px solid rgba(248,244,238,.08);
  border-bottom:1px solid rgba(248,244,238,.08);
  background:#0a0908;
  flex-direction:row-reverse;
}
.vote-stat{text-align:center;padding:0 2.4rem;min-width:8rem;}
.vote-stat-value{
  display:block;
  font-family:'Playfair Display',serif;
  font-size:clamp(1.6rem,3vw,2.4rem);
  font-weight:900;
  color:var(--gold-lt);
  font-variant-numeric:tabular-nums;
  line-height:1.1;
}
.vote-stat-label{
  display:block;margin-top:.4rem;
  font-size:.72rem;font-weight:600;letter-spacing:.04em;
  color:rgba(248,244,238,.45);font-family:'Cairo',sans-serif;
}
.vote-stat-rule{width:1px;background:rgba(248,244,238,.1);align-self:stretch;}

.vote-leader{
  display:grid;grid-template-columns:minmax(240px,.9fr) 1.2fr;
  min-height:420px;background:var(--ink);
  border-bottom:1px solid rgba(248,244,238,.08);
}
.vote-leader-media{position:relative;overflow:hidden;min-height:380px;}
.vote-leader-media img{
  width:100%;height:100%;object-fit:cover;object-position:center;
  filter:grayscale(25%);display:block;
}
.vote-leader-rank{
  position:absolute;bottom:.4rem;left:1.2rem;
  font-family:'Playfair Display',serif;font-size:7rem;font-weight:900;
  color:rgba(184,146,42,.28);line-height:1;pointer-events:none;
}
.vote-leader-body{
  padding:4rem 3.2rem;display:flex;flex-direction:column;justify-content:center;text-align:right;
}
.vote-leader-kicker{
  font-family:'Cinzel',serif;font-size:.72rem;letter-spacing:.4em;
  color:var(--gold);text-transform:uppercase;margin-bottom:1rem;
}
.vote-leader-title{
  font-family:'Amiri',serif;font-size:clamp(2.2rem,4vw,3.6rem);font-weight:700;
  color:var(--cream);line-height:1.2;margin-bottom:.4rem;
}
.vote-leader-artist{
  font-size:1rem;color:rgba(248,244,238,.55);margin-bottom:1.2rem;font-family:'Cairo',sans-serif;
}
.vote-leader-excerpt{
  font-family:'Amiri',serif;font-style:italic;font-size:1.15rem;line-height:1.85;
  color:rgba(248,244,238,.62);margin-bottom:1.6rem;max-width:38rem;
}
.vote-leader-meta{
  margin-top:.9rem;font-size:.85rem;color:rgba(248,244,238,.45);
  font-family:'Cairo',sans-serif;display:flex;gap:.4rem;justify-content:flex-end;
  font-variant-numeric:tabular-nums;
}
.vote-leader-meta strong{color:var(--gold-lt);}

.vote-bar{
  height:4px;background:rgba(248,244,238,.1);overflow:hidden;width:100%;
}
.vote-bar-fill{
  height:100%;width:0;background:var(--gold);
  transition:width .45s ease;
}

.vote-list{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;
  border-bottom:1px solid rgba(248,244,238,.08);
}
.vote-card{
  display:grid;
  grid-template-columns:5.5rem 8.5rem 1fr auto;
  gap:1.4rem;align-items:center;
  padding:1.5rem 3rem;
  border-bottom:1px solid rgba(248,244,238,.07);
  background:var(--ink);
  animation:voteIn .5s ease both;
  animation-delay:calc(var(--i, 0) * 40ms);
}
.vote-card:hover{background:rgba(184,146,42,.05);}
.vote-card.is-voted{
  background:rgba(184,146,42,.1);
  box-shadow:inset 3px 0 0 var(--gold);
}
.vote-card.is-locked{opacity:.72;}
.vote-card-num{
  font-family:'Playfair Display',serif;font-size:2.4rem;font-weight:900;
  color:rgba(184,146,42,.28);line-height:1;text-align:center;
}
.vote-card.is-voted .vote-card-num{color:var(--gold-lt);}
.vote-card-cover{
  width:8.5rem;height:8.5rem;overflow:hidden;background:#1a1814;flex-shrink:0;
}
.vote-card-cover img{
  width:100%;height:100%;object-fit:cover;filter:grayscale(30%);
  transition:transform .5s ease,filter .35s ease;
}
.vote-card:hover .vote-card-cover img{transform:scale(1.06);filter:grayscale(0);}
.vote-card-body{text-align:right;min-width:0;}
.vote-card-title{
  font-family:'Amiri',serif;font-size:1.45rem;font-weight:700;
  color:var(--cream);line-height:1.3;margin-bottom:.2rem;
}
.vote-card-artist{
  font-size:.88rem;color:rgba(248,244,238,.5);margin-bottom:.45rem;font-family:'Cairo',sans-serif;
}
.vote-card-country{margin-right:.6rem;color:rgba(248,244,238,.38);}
.vote-card-excerpt{
  font-size:.82rem;line-height:1.7;color:rgba(248,244,238,.42);
  margin-bottom:.7rem;font-family:'Cairo',sans-serif;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.vote-card-meta{
  margin-top:.55rem;display:flex;justify-content:space-between;
  font-size:.75rem;color:rgba(248,244,238,.4);font-family:'Cairo',sans-serif;
  font-variant-numeric:tabular-nums;
}
.vote-card-meta strong{color:var(--cream);font-weight:700;}
.vote-card-action{
  display:flex;flex-direction:column;align-items:stretch;gap:.7rem;min-width:8.5rem;
}

.vote-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  min-height:48px;padding:.75rem 1.4rem;
  background:var(--gold);color:var(--ink);border:1px solid var(--gold);
  font-family:'Cairo',sans-serif;font-size:.8rem;font-weight:700;
  cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .15s,opacity .2s;
}
.vote-btn:hover:not(:disabled){background:var(--gold-lt);}
.vote-btn:active:not(:disabled){transform:scale(.97);}
.vote-btn:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px;}
.vote-btn:disabled{
  background:transparent;color:rgba(248,244,238,.35);
  border-color:rgba(248,244,238,.14);cursor:not-allowed;opacity:.7;
}
.vote-card.is-voted .vote-btn{
  background:transparent;color:var(--gold-lt);border-color:var(--gold);
  cursor:default;opacity:1;
}
.vote-btn.is-loading{pointer-events:none;opacity:.7;}
.vote-btn-icon{flex-shrink:0;}

.vote-leader-listen{margin-top:1.2rem;}
.vote-leader-listen .vote-listen{justify-content:flex-end;width:auto;min-width:7rem;}

.vote-listen{
  display:inline-flex;align-items:center;justify-content:center;gap:.35rem;
  min-height:44px;color:rgba(248,244,238,.45);text-decoration:none;
  font-size:.75rem;font-weight:600;font-family:'Cairo',sans-serif;
  border:0;border-bottom:1px solid transparent;background:transparent;
  cursor:pointer;width:100%;padding:0;
  transition:color .2s,border-color .2s;
}
.vote-listen:hover{color:var(--gold-lt);border-bottom-color:var(--gold);}
.vote-listen:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px;}
.vote-listen.is-playing{color:var(--gold-lt);border-bottom-color:var(--gold);}
.vote-listen-icon{flex-shrink:0;}

.vote-page.is-player-on{padding-bottom:6.5rem;}

.vote-player{
  position:fixed;right:0;left:0;bottom:0;z-index:120;
  background:#0a0908;
  border-top:1px solid rgba(184,146,42,.35);
  box-shadow:0 -12px 40px rgba(0,0,0,.45);
}
.vote-player-inner{
  display:grid;
  grid-template-columns:minmax(10rem,18rem) 48px minmax(12rem,1fr) 3.4rem;
  gap:.9rem 1rem;align-items:center;
  max-width:1200px;margin:0 auto;
  padding:.75rem 1.4rem calc(.75rem + env(safe-area-inset-bottom, 0px));
}
.vote-player-track{display:flex;align-items:center;gap:.75rem;min-width:0;}
.vote-player-track img{
  width:48px;height:48px;object-fit:cover;flex-shrink:0;
  background:#1a1814;
}
.vote-player-meta{min-width:0;text-align:right;}
.vote-player-title{
  font-family:'Amiri',serif;font-size:.98rem;font-weight:700;color:var(--cream);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;
}
.vote-player-artist{
  font-family:'Cairo',sans-serif;font-size:.72rem;color:rgba(248,244,238,.5);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:.15rem;
}
.vote-player-toggle{
  width:48px;height:48px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--gold);color:var(--ink);border:1px solid var(--gold);
  cursor:pointer;transition:background .2s,transform .15s;
}
.vote-player-toggle:hover{background:var(--gold-lt);}
.vote-player-toggle:active{transform:scale(.96);}
.vote-player-toggle:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px;}
.vote-player-timeline{
  display:grid;grid-template-columns:3.2rem 1fr 3.2rem;
  gap:.7rem;align-items:center;min-width:0;
}
.vote-player-time{
  font-family:'Cairo',sans-serif;font-size:.72rem;font-variant-numeric:tabular-nums;
  color:rgba(248,244,238,.55);text-align:center;
}
.vote-player-seek{
  position:relative;height:44px;cursor:pointer;
  display:flex;align-items:center;
}
.vote-player-seek:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px;}
.vote-player-seek::before{
  content:"";position:absolute;right:0;left:0;height:4px;
  background:rgba(248,244,238,.16);
}
.vote-player-seek-fill{
  position:absolute;left:0;height:4px;width:0;
  background:var(--gold);pointer-events:none;
}
.vote-player-seek-thumb{
  position:absolute;top:50%;left:0;width:14px;height:14px;
  background:var(--gold);transform:translate(-50%,-50%);
  pointer-events:none;
}
.vote-player-speed{
  min-width:3.4rem;min-height:44px;padding:0 .4rem;
  background:transparent;border:1px solid rgba(248,244,238,.18);
  color:var(--gold-lt);font-family:'Cairo',sans-serif;font-size:.78rem;font-weight:700;
  cursor:pointer;transition:border-color .2s,background .2s;
}
.vote-player-speed:hover{border-color:var(--gold);background:rgba(184,146,42,.08);}
.vote-player-speed:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px;}


.vote-rules{
  max-width:720px;margin:0 auto;padding:3.5rem 2rem 5rem;text-align:right;
}
.vote-rules h2{
  font-family:'Amiri',serif;font-size:1.5rem;color:var(--cream);margin-bottom:1rem;
}
.vote-rules ul{list-style:none;}
.vote-rules li{
  position:relative;padding:.45rem 1.4rem .45rem 0;
  font-size:.88rem;line-height:1.8;color:rgba(248,244,238,.48);
  font-family:'Cairo',sans-serif;
}
.vote-rules li::before{
  content:'';position:absolute;right:0;top:.95rem;
  width:7px;height:1px;background:var(--gold);
}

.vote-toast{
  position:fixed;bottom:1.6rem;left:50%;transform:translateX(-50%) translateY(12px);
  background:var(--gold);color:var(--ink);
  padding:.9rem 1.6rem;font-family:'Cairo',sans-serif;font-size:.85rem;font-weight:700;
  z-index:400;opacity:0;pointer-events:none;
  transition:opacity .25s ease,transform .25s ease;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.vote-toast.is-on{opacity:1;transform:translateX(-50%) translateY(0);}

.vote-dialog{
  width:min(420px,calc(100vw - 2rem));
  margin:auto;
  padding:0;border:none;background:transparent;
  color:var(--cream);
}
.vote-dialog::backdrop{
  background:rgba(8,7,5,.62);
  backdrop-filter:blur(6px);
}
.vote-dialog-card{
  position:relative;
  background:#141210;
  border:1px solid rgba(184,146,42,.35);
  padding:2rem 1.6rem 1.6rem;
  text-align:right;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.vote-dialog-close{
  position:absolute;top:.7rem;left:.7rem;
  width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;
  background:transparent;border:1px solid rgba(248,244,238,.14);color:rgba(248,244,238,.7);
  cursor:pointer;transition:color .2s,border-color .2s;
}
.vote-dialog-close:hover{color:var(--gold-lt);border-color:var(--gold);}
.vote-dialog-close:focus-visible{outline:2px solid var(--gold-lt);outline-offset:2px;}
.vote-dialog-kicker{
  font-family:'Cinzel',serif;font-size:.68rem;letter-spacing:.35em;
  color:var(--gold);text-transform:uppercase;margin-bottom:.7rem;
}
.vote-dialog-title{
  font-family:'Amiri',serif;font-size:1.55rem;font-weight:700;
  color:var(--cream);line-height:1.35;margin-bottom:.45rem;
}
.vote-dialog-song{
  font-size:.88rem;color:rgba(248,244,238,.55);margin-bottom:1.3rem;
  font-family:'Cairo',sans-serif;line-height:1.6;
}
.vote-dialog-label{
  display:block;font-size:.78rem;font-weight:700;color:var(--cream);
  margin-bottom:.45rem;font-family:'Cairo',sans-serif;
}
.vote-dialog-input{
  width:100%;min-height:48px;padding:.85rem 1rem;
  background:#0d0c0a;border:1px solid rgba(248,244,238,.18);
  color:var(--cream);font-family:'Cairo',sans-serif;font-size:1rem;
  text-align:left;direction:ltr;outline:none;
  transition:border-color .2s;
}
.vote-dialog-input::placeholder{color:rgba(248,244,238,.28);}
.vote-dialog-input:focus{border-color:var(--gold);}
.vote-dialog-input.is-invalid{border-color:#c45c4a;}
.vote-dialog-error{
  margin-top:.5rem;font-size:.8rem;color:#f0b4aa;font-family:'Cairo',sans-serif;line-height:1.5;
}
.vote-dialog-hint{
  margin:.7rem 0 1.1rem;font-size:.75rem;line-height:1.7;
  color:rgba(248,244,238,.4);font-family:'Cairo',sans-serif;
}
.vote-dialog-submit{width:100%;}
.vote-dialog-submit.is-loading{opacity:.7;pointer-events:none;}

.home-vote{background:var(--ink);color:var(--cream);}
.home-vote-intro{
  display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;
  padding:2.4rem 3rem 1.2rem;flex-direction:row-reverse;
}
.home-vote-kicker{
  font-family:'Cinzel',serif;font-size:.68rem;letter-spacing:.35em;
  color:var(--gold);text-transform:uppercase;margin-bottom:.7rem;
}
.home-vote-title{
  font-family:'Amiri',serif;font-size:clamp(1.8rem,3vw,2.8rem);font-weight:700;
  color:var(--cream);line-height:1.25;margin-bottom:.5rem;text-align:right;
}
.home-vote-title em{font-style:normal;color:var(--gold-lt);}
.home-vote-sub{
  font-size:.88rem;line-height:1.8;color:rgba(248,244,238,.48);
  max-width:36rem;font-family:'Cairo',sans-serif;text-align:right;
}
.home-vote-stats{
  display:flex;gap:2rem;flex-direction:row-reverse;flex-shrink:0;
}
.home-vote-stats div{text-align:center;}
.home-vote-stats strong{
  display:block;font-family:'Playfair Display',serif;font-size:1.6rem;
  color:var(--gold-lt);font-variant-numeric:tabular-nums;
}
.home-vote-stats span{font-size:.7rem;color:rgba(248,244,238,.4);font-family:'Cairo',sans-serif;}
.home-vote-leader{
  padding:0 3rem 1.2rem;font-size:.85rem;color:rgba(248,244,238,.5);
  font-family:'Cairo',sans-serif;text-align:right;
}
.home-vote-leader b{color:var(--cream);}
.home-vote .vote-card{padding:1.1rem 3rem;}
.home-vote .vote-card-cover{width:5.5rem;height:5.5rem;}
.home-vote .vote-card-title{font-size:1.2rem;}
.home-vote-status{
  padding:1.2rem 3rem 2.2rem;text-align:center;
  font-size:.78rem;color:rgba(248,244,238,.4);font-family:'Cairo',sans-serif;
}

@keyframes voteIn{
  from{opacity:0;transform:translateY(10px);}
  to{opacity:1;transform:none;}
}

@media (prefers-reduced-motion:reduce){
  .vote-card{animation:none;}
  .vote-bar-fill,.vote-btn,.vote-toast,.vote-card-cover img,.vote-dialog-input,.vote-dialog-close,.vote-player-toggle,.vote-player-speed{transition:none;}
  .vote-dialog::backdrop{backdrop-filter:none;}
}

@media(max-width:900px){
  .vote-stats{flex-wrap:wrap;padding:1.2rem 1rem;gap:.8rem 0;}
  .vote-stat{padding:.4rem 1rem;min-width:42%;}
  .vote-stat-rule{display:none;}
  .vote-leader{grid-template-columns:1fr;}
  .vote-leader-media{min-height:260px;height:280px;}
  .vote-leader-rank{font-size:4.5rem;}
  .vote-leader-body{padding:2rem 1.4rem 2.4rem;}
  .vote-card{
    grid-template-columns:3.2rem 5.2rem 1fr;
    grid-template-areas:
      "num cover body"
      "action action action";
    padding:1.2rem 1.2rem;gap:.9rem 1rem;
  }
  .vote-card-num{grid-area:num;font-size:1.6rem;}
  .vote-card-cover{grid-area:cover;width:5.2rem;height:5.2rem;}
  .vote-card-body{grid-area:body;}
  .vote-card-action{
    grid-area:action;flex-direction:row;align-items:center;
    min-width:0;
  }
  .vote-btn{flex:1;}
  .vote-listen{min-width:5.5rem;}
  .vote-page.is-player-on{padding-bottom:8.5rem;}
  .vote-player-inner{
    grid-template-columns:1fr 48px 3.4rem;
    grid-template-areas:
      "track toggle speed"
      "time time time";
    gap:.55rem .7rem;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  }
  .vote-player-track{grid-area:track;}
  .vote-player-toggle{grid-area:toggle;}
  .vote-player-speed{grid-area:speed;}
  .vote-player-timeline{grid-area:time;}
  .home-vote-intro{flex-direction:column;align-items:stretch;padding:1.6rem 1.2rem .8rem;}
  .home-vote-stats{justify-content:space-between;gap:.6rem;}
  .home-vote-leader,.home-vote-status{padding-right:1.2rem;padding-left:1.2rem;}
  .home-vote .vote-card{padding:1rem 1.2rem;}
}
