:root {
  --ink: #171226;
  --muted: #716d7b;
  --surface: #ffffff;
  --page: #f7f6fb;
  --line: #eae7f0;
  --purple: #6d39d3;
  --purple-dark: #3d1f88;
  --pink: #ed3d88;
  --yellow: #ffd34d;
  --shadow: 0 18px 60px rgba(39, 25, 78, .11);
  --radius: 24px;
  --content-max: 1160px;
  --content-gutter: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.55;
  word-break: keep-all;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .28; pointer-events: none; }
.ambient-one { width: 420px; height: 420px; top: 500px; left: -260px; background: #cfb7ff; }
.ambient-two { width: 360px; height: 360px; top: 1100px; right: -240px; background: #ffb8d3; }

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-gutter);
  background: rgba(247, 246, 251, .86);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; border-radius: 12px; }
.brand:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.brand-logo { display: block; width: 218px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.main-nav a { color: #514d5c; transition: color .2s; }
.main-nav a:hover { color: var(--purple); }
.share-button { border: 1px solid var(--line); background: white; border-radius: 999px; display: flex; align-items: center; gap: 7px; padding: 9px 14px; cursor: pointer; font-weight: 800; }
.share-button:hover { border-color: #cfc5e6; }
.share-button svg { width: 16px; height: 16px; fill: var(--purple); }

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .72fr);
  align-items: center;
  gap: 70px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 68px;
  border-radius: 34px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 77% 12%, rgba(230, 64, 164, .25), transparent 25%),
    radial-gradient(circle at 20% 110%, rgba(112, 73, 235, .4), transparent 38%),
    linear-gradient(135deg, #14102b 0%, #24113f 52%, #15102c 100%);
  box-shadow: 0 28px 80px rgba(24, 14, 54, .22);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; bottom: -310px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.hero-copy, .hero-panel { position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: #9f82ff; font-size: 12px; font-weight: 900; letter-spacing: 1.8px; }
.hero .eyebrow { color: #d2c3ff; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff478f; box-shadow: 0 0 0 6px rgba(255, 71, 143, .14); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 71, 143, 0); } }
.hero h1 { margin: 0; font-size: clamp(42px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -3.2px; }
.hero h1 em { font-style: normal; color: #ffd94a; text-shadow: 0 7px 35px rgba(255, 194, 45, .22); }
.hero-description { margin: 25px 0 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.primary-cta { display: inline-flex; align-items: center; gap: 15px; padding: 15px 20px 15px 24px; border-radius: 15px; background: linear-gradient(135deg, #f34f96, #c92877); font-weight: 900; box-shadow: 0 15px 32px rgba(222, 41, 122, .3); transition: transform .2s, box-shadow .2s; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(222, 41, 122, .42); }
.primary-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.vote-rule { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.62); font-size: 13px; }
.vote-rule svg { width: 18px; height: 18px; fill: none; stroke: #b29aff; stroke-width: 1.8; }
.stage-lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stage-lights span { position: absolute; width: 280px; height: 720px; top: -470px; border-radius: 50%; transform-origin: top center; filter: blur(14px); background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(225,70,202,.02)); }
.stage-lights span:nth-child(1) { left: 20%; transform: rotate(22deg); }
.stage-lights span:nth-child(2) { left: 48%; background: linear-gradient(to bottom, rgba(255,216,93,.15), transparent); }
.stage-lights span:nth-child(3) { right: 3%; transform: rotate(-22deg); }

.hero-panel { min-height: 420px; padding: 25px 28px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 25px 60px rgba(0,0,0,.18); backdrop-filter: blur(12px); overflow: hidden; }
.hero-panel::before { content: ""; position: absolute; width: 250px; height: 250px; left: 50%; top: 47%; transform: translate(-50%,-50%); border-radius: 50%; background: rgba(222, 55, 145, .17); filter: blur(25px); }
.panel-topline { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 800; }
.status-chip { padding: 6px 10px; border-radius: 999px; background: rgba(106, 231, 170, .12); color: #89edbb; font-size: 11px; }
.status-chip i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: currentColor; }
.microphone { position: relative; height: 245px; display: grid; place-items: center; }
.microphone svg { width: 165px; height: 220px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); animation: float 4.2s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(1deg); } }
.deadline { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 5px; border-top: 1px solid rgba(255,255,255,.11); }
.deadline span { color: rgba(255,255,255,.58); font-size: 12px; }
.deadline strong { color: #ffd94a; font-size: 25px; letter-spacing: 1.2px; font-variant-numeric: tabular-nums; }
.hero-panel > p { position: relative; margin: 4px 0 0; color: rgba(255,255,255,.42); text-align: right; font-size: 11px; }

.top-ad { width: calc(100% - 2 * var(--content-gutter)); max-width: calc(var(--content-max) - 2 * var(--content-gutter)); margin: 16px auto 16px; padding: 0; }
.ad-label { margin: 0 0 8px; color: var(--muted); text-align: center; font-size: 11px; }
/* The inline ad sizing rules reserve the requested dimensions before loading. */
.top-ad-slot { width: 100%; min-width: 0; }

.quick-stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% - 2 * var(--content-gutter)); max-width: calc(var(--content-max) - 2 * var(--content-gutter)); margin: 24px auto 0; padding: 0; border-block: 1px solid var(--line); background: white; box-shadow: 0 8px 28px rgba(47, 31, 83, .05); }
.quick-stats > div { display: flex; align-items: center; justify-content: center; gap: 13px; min-width: 0; min-height: 92px; padding: 18px 30px; }
.quick-stats > div + div { border-left: 1px solid var(--line); }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 17px; }
.stat-icon.pink { color: #e83a83; background: #ffedf5; }
.stat-icon.violet { color: #6c42d2; background: #f0ebff; }
.stat-icon.blue { color: #3778cc; background: #eaf4ff; }
.quick-stats p { margin: 0; color: var(--muted); font-size: 11px; }
.quick-stats strong { display: block; margin-top: 2px; color: var(--ink); font-size: 19px; line-height: 1.3; }
#updatedAt { font-size: 15px; }

.content-section { width: 100%; max-width: var(--content-max); margin: 0 auto; padding-left: var(--content-gutter); padding-right: var(--content-gutter); }
.ranking-section { padding-top: 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; }
.section-heading h2 { margin: 0; font-size: clamp(29px, 3vw, 40px); letter-spacing: -1.9px; }
.section-heading > div > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.refresh-button { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; font-size: 12px; font-weight: 800; }
.refresh-button:hover { color: var(--purple); border-color: #cec3e8; }
.refresh-button.loading svg { animation: spin .7s linear infinite; }
.refresh-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
@keyframes spin { to { transform: rotate(360deg); } }

.card-count-note { margin: -12px 0 18px; color: #716d7b; font-size: 12px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 18px; margin-top: 24px; }
.podium-card { position: relative; display: flex; align-items: center; gap: 20px; min-height: 166px; padding: 24px; border: 1px solid var(--award-border); border-radius: 20px; background: linear-gradient(120deg, #fff 18%, var(--award-soft) 100%); box-shadow: 0 8px 24px rgba(30,25,45,.055); overflow: hidden; }
.podium-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--award-icon), var(--award-end)); pointer-events: none; }
.podium-card[data-place="1"] { min-height: 192px; box-shadow: 0 10px 28px rgba(139,100,31,.1); }
.podium-photo { position: relative; z-index: 1; flex: 0 0 auto; width: 82px; height: 102px; border: 3px solid white; border-radius: 15px; box-shadow: 0 0 0 1px var(--award-border), 0 5px 12px rgba(30,25,45,.07); object-fit: cover; object-position: top; }
.podium-card[data-place="1"] .podium-photo { width: 96px; height: 120px; }
.medal { display: inline-flex; align-items: center; gap: 7px; height: 33px; margin-bottom: 8px; padding: 0 11px 0 9px; border: 1px solid var(--award-border); border-radius: 10px; color: var(--award-text); background: linear-gradient(135deg, var(--award-soft), var(--award-end)); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); font-size: 13px; font-weight: 800; white-space: nowrap; }
.podium-info { position: relative; z-index: 1; min-width: 0; }
.podium-info small { color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: .7px; }
.podium-info h3 { margin: 3px 0 4px; font-size: 21px; letter-spacing: -.8px; }
.podium-info strong { color: var(--award-text); font-size: 15px; font-weight: 750; }
.ranking-skeleton { height: 160px; border-radius: 22px; background: linear-gradient(110deg, #eeecf3 8%, #f8f7fa 18%, #eeecf3 33%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.ranking-skeleton.first { height: 185px; }
@keyframes shimmer { to { background-position-x: -200%; } }

.vote-section { padding-top: 125px; }
.vote-heading { align-items: flex-end; }
.search-box { position: relative; width: 270px; flex: 0 0 auto; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: #908b99; stroke-width: 1.8; }
.search-box input { width: 100%; height: 46px; padding: 0 15px 0 42px; border: 1px solid var(--line); border-radius: 14px; outline: none; color: var(--ink); background: white; transition: border .2s, box-shadow .2s; }
.search-box input:focus { border-color: #9e7ae7; box-shadow: 0 0 0 4px rgba(109,57,211,.09); }
.filter-bar { display: flex; gap: 9px; margin: 32px 0 27px; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: #6a6572; background: white; cursor: pointer; font-size: 13px; font-weight: 800; transition: all .2s; }
.filter span { margin-left: 3px; color: #a39fac; font-size: 11px; }
.filter:hover { border-color: #cfc4e6; }
.filter.active { color: white; border-color: var(--purple); background: var(--purple); box-shadow: 0 7px 18px rgba(98, 51, 190, .18); }
.filter.active span { color: rgba(255,255,255,.72); }

.artist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.artist-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; box-shadow: 0 8px 26px rgba(41, 25, 72, .055); transition: transform .22s, box-shadow .22s, border-color .22s; }
.artist-card:hover { transform: translateY(-5px); border-color: #ddd3ec; box-shadow: 0 18px 45px rgba(41, 25, 72, .12); }
.artist-card.is-my-vote { border-color: #ef86b5; box-shadow: 0 0 0 3px rgba(237,61,136,.09), 0 15px 40px rgba(41,25,72,.1); }
.artist-image-wrap { position: relative; aspect-ratio: 4/4.25; overflow: hidden; background: #e9e5f0; }
.artist-image-wrap::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(20,12,35,.72)); }
.artist-image { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s; }
.artist-card:hover .artist-image { transform: scale(1.035); }
.rank-badge { position: absolute; z-index: 2; top: 13px; left: 13px; min-width: 33px; height: 33px; display: grid; place-items: center; padding: 0 9px; border: 1px solid rgba(255,255,255,.35); border-radius: 11px; color: white; background: rgba(18, 11, 35, .64); backdrop-filter: blur(7px); font-size: 12px; font-weight: 950; }
.rank-badge.top { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 58px; height: 34px; padding: 0 9px; border: 1px solid var(--award-border); border-radius: 10px; color: var(--award-text); background: linear-gradient(135deg, var(--award-soft), var(--award-end)); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 8px rgba(25,20,40,.1); font-size: 13px; font-weight: 850; }
.podium-card[data-place="1"], :is(.medal, .rank-badge)[data-rank="1"] { --award-text: #795414; --award-icon: #b17c22; --award-soft: #fff6df; --award-end: #f4dba0; --award-border: #e7cc8d; }
.podium-card[data-place="2"], :is(.medal, .rank-badge)[data-rank="2"] { --award-text: #53657b; --award-icon: #7b8da5; --award-soft: #f0f4fa; --award-end: #ccd7e5; --award-border: #c3cfde; }
.podium-card[data-place="3"], :is(.medal, .rank-badge)[data-rank="3"] { --award-text: #855237; --award-icon: #ac704c; --award-soft: #fff0e5; --award-end: #e4bb9e; --award-border: #dcb79b; }
.medal::before, .rank-badge.top::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; background: var(--award-icon); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 7 4.5 4L12 4l4.5 7L21 7l-2 10H5L3 7Z'/%3E%3Crect x='5' y='19' width='14' height='2' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 7 4.5 4L12 4l4.5 7L21 7l-2 10H5L3 7Z'/%3E%3Crect x='5' y='19' width='14' height='2' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.gender-badge { position: absolute; z-index: 2; top: 14px; right: 13px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.88); background: rgba(18,11,35,.5); backdrop-filter: blur(7px); font-size: 10px; font-weight: 800; }
.card-name-over { position: absolute; z-index: 2; left: 17px; bottom: 13px; color: white; }
.card-name-over small { display: block; margin-bottom: 2px; color: rgba(255,255,255,.63); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.card-name-over h3 { margin: 0; font-size: 22px; letter-spacing: -.8px; }
.card-body { padding: 15px 16px 17px; }
.vote-count-line { display: flex; justify-content: space-between; align-items: baseline; }
.vote-count-line span { color: var(--muted); font-size: 11px; }
.vote-count-line strong { color: var(--pink); font-size: 16px; }
.vote-count-line strong, .vote-breakdown, .podium-info strong, .podium-breakdown,
#totalVotes, #actualVotes, #automaticPoints { font-variant-numeric: tabular-nums; }
.progress-track { height: 5px; margin: 9px 0 14px; border-radius: 99px; background: #eeecf2; overflow: hidden; }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink)); transition: width .6s ease; }
.card-vote-button { width: 100%; height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; color: white; background: linear-gradient(135deg, #7243d5, #5930ae); cursor: pointer; font-weight: 900; font-size: 13px; transition: transform .18s, filter .18s; }
.card-vote-button:hover { filter: brightness(1.08); }
.card-vote-button:active { transform: scale(.98); }
.card-vote-button span { color: #ffb9d4; }
.card-vote-button:disabled { color: #98939f; background: #eeecf1; cursor: not-allowed; filter: none; }
.artist-card.is-my-vote .card-vote-button { color: #b12665; background: #ffedf5; }
.artist-news-link { display: flex; justify-content: center; gap: 6px; margin-top: 12px; color: var(--purple); font-size: 12px; font-weight: 700; }
.artist-news-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.artist-news-link:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.empty-state { padding: 80px 20px; text-align: center; color: var(--muted); }
.empty-state > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 13px; border-radius: 18px; color: var(--purple); background: #ece5fb; font-size: 24px; }
.empty-state strong { display: block; color: var(--ink); font-size: 19px; }
.empty-state p { margin: 4px 0 0; font-size: 13px; }

.guide-section { padding-top: 120px; padding-bottom: 120px; }
.guide-card { display: grid; grid-template-columns: .85fr 1.5fr; gap: 50px; align-items: center; padding: 42px 48px; border-radius: 26px; color: white; background: linear-gradient(135deg, #2b174f, #161027); box-shadow: var(--shadow); }
.guide-card h2 { margin: 0; font-size: 28px; letter-spacing: -1.2px; }
.guide-card ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.guide-card li { display: flex; gap: 11px; align-items: flex-start; }
.guide-card li > span { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #2b174f; background: #ffd34d; font-size: 12px; font-weight: 950; }
.guide-card strong { font-size: 14px; }
.guide-card li p { margin: 3px 0 0; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.55; }

footer { padding: 55px 25px; color: #aaa5b4; background: #100c1c; text-align: center; font-size: 12px; }
.footer-brand { justify-content: center; color: white; margin-bottom: 15px; }
.footer-brand .brand-logo { width: 242px; }
footer > p { margin: 7px 0; }
.disclaimer { max-width: 680px; margin: 20px auto 22px; color: #777180; font-size: 11px; }
footer small { color: #5f5968; }

.share-dock { position: fixed; z-index: 20; right: max(24px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom), calc(var(--share-footer-offset, 0px) + 16px)); display: grid; gap: 16px; width: 208px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.dock-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 60px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 16px; font-size: 16px; font-weight: 900; line-height: 1.3; white-space: nowrap; cursor: pointer; touch-action: manipulation; box-shadow: 0 2px 6px rgba(23,18,38,.12); transition: transform .16s ease, box-shadow .16s ease; }
@media (hover: hover) and (pointer: fine) {
  .dock-button:hover { transform: translateY(-1px); box-shadow: 0 3px 9px rgba(23,18,38,.15); }
}
.dock-button:active { transform: translateY(1px); box-shadow: 0 1px 3px rgba(23,18,38,.12); }
.dock-button:focus-visible, .share-help-modal input:focus-visible { outline: 3px solid #3d1f88; outline-offset: 6px; }
.dock-button svg { width: 26px; height: 26px; flex-shrink: 0; }
.dock-kakao { color: #191919; background: #fee500; border-color: #ead400; }
.dock-kakao svg { fill: currentColor; }
.dock-copy { color: #111; background: #fff; border-color: #d8d6df; }
.dock-copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dock-copy.is-copied { border-color: #95c5ab; }
.share-help-modal { width: min(410px, calc(100% - 32px)); padding: 32px 25px 24px; border: 0; border-radius: 24px; color: var(--ink); background: white; text-align: center; box-shadow: 0 30px 100px rgba(19,10,36,.35); }
.share-help-modal::backdrop { background: rgba(17,10,31,.64); backdrop-filter: blur(5px); }
.share-help-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 15px; border-radius: 16px; color: #191919; background: #fee500; font-size: 26px; }
.share-help-modal h2 { margin: 0; font-size: 23px; letter-spacing: -1px; }
.share-help-modal p { color: var(--muted); font-size: 14px; }
.share-help-modal input { width: 100%; margin: 5px 0 14px; padding: 13px 10px; border: 1px solid #e7e0ef; border-radius: 11px; background: #f7f5fa; color: #514366; font-size: 15px; text-align: center; }
.share-help-modal .share-help-status { min-height: 22px; margin: 12px 0 0; color: #187650; font-size: 13px; }

.vote-modal { width: min(410px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 26px; text-align: center; color: var(--ink); box-shadow: 0 30px 100px rgba(19,10,36,.35); }
.vote-modal::backdrop { background: rgba(17, 10, 31, .68); backdrop-filter: blur(6px); }
.vote-modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(15px) scale(.97); } }
.modal-close { position: absolute; top: 13px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #736e7a; background: #f2f0f4; cursor: pointer; font-size: 22px; line-height: 1; }
.modal-art { position: relative; width: 112px; height: 112px; margin: 2px auto 18px; }
.modal-art img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; border: 5px solid #f3ebff; }
.modal-art span { position: absolute; right: -2px; bottom: 2px; width: 34px; height: 34px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: var(--pink); }
.modal-kicker { margin: 0 0 8px; color: var(--purple); font-size: 10px; font-weight: 950; letter-spacing: 1.5px; }
.vote-modal h2 { margin: 0; font-size: 24px; line-height: 1.35; letter-spacing: -1px; }
.vote-modal h2 strong { color: var(--pink); }
.vote-modal > p:not(.modal-kicker) { margin: 13px 0 22px; color: var(--muted); font-size: 12px; }
.confirm-vote, .cancel-vote { width: 100%; border: 0; cursor: pointer; font-weight: 900; }
.confirm-vote { height: 50px; border-radius: 14px; color: white; background: linear-gradient(135deg, var(--pink), #c72576); box-shadow: 0 12px 25px rgba(219,45,123,.22); }
.confirm-vote:disabled { opacity: .6; cursor: wait; }
.confirm-vote span { margin-right: 5px; }
.cancel-vote { margin-top: 10px; padding: 7px; color: #88838e; background: transparent; font-size: 12px; }
.reminder-settings { margin: 2px 0 12px; border: 1px solid #706780; border-radius: 20px; padding: 9px 16px; background: transparent; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.reminder-modal { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 32px 26px 22px; border: 0; border-radius: 24px; color: var(--ink); background: white; text-align: center; box-shadow: 0 20px 70px rgba(19,10,36,.25); }
.reminder-modal::backdrop { background: rgba(17,10,31,.62); backdrop-filter: blur(4px); }
.reminder-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 21px; background: #f1eafa; color: var(--purple); }
.reminder-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reminder-modal h2 { margin: 0; font-size: clamp(20px, 5.5vw, 25px); letter-spacing: -.8px; }
#reminderDescription { margin: 14px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.reminder-time { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-radius: 13px; background: #f7f4fc; }
.reminder-time strong { color: var(--purple-dark); font-size: 19px; white-space: nowrap; }
.reminder-time span { color: #70647d; font-size: 11px; }
.reminder-status { margin: 14px 0; color: #514364; font-size: 13px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.reminder-status:empty { display: none; }
.reminder-primary { display: block; width: 100%; min-height: 50px; margin-top: 18px; padding: 12px; border: 0; border-radius: 13px; background: var(--purple); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.reminder-primary:disabled { opacity: .6; cursor: default; }
.reminder-disable { width: 100%; margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; color: #62566e; cursor: pointer; }
.reminder-disable[hidden] { display: none; }
.reminder-privacy, .reminder-delivery { margin: 14px 0 0; color: #827a8b; font-size: 10px; line-height: 1.65; word-break: keep-all; }
.reminder-delivery { margin-top: 7px; }
.daily-tally-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: #675c76; }
.daily-date { color: #4f4163; }
.daily-date small { font-size: 10px; }
.daily-parts b { color: #3d1f88; }
.daily-parts i { margin: 0 5px; color: #92849f; font-style: normal; }
.daily-disclosure { flex-basis: 100%; font-size: 11px; color: #766b83; }
.vote-breakdown { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 5px; margin: 8px 0 10px; color: #736780; font-size: 10px; }
.vote-breakdown b { color: #514265; }
.podium-breakdown { display: block; margin-top: 5px; color: #71617e; font-size: 10px; white-space: nowrap; }
.daily-model-note { margin: 0 0 18px; padding: 12px 15px; border: 1px solid #e7e0ef; border-radius: 12px; color: #70647c; font-size: 12px; }
.daily-model-note summary { color: #58436d; font-weight: 700; cursor: pointer; }
.daily-model-note p { margin: 10px 0 0; line-height: 1.7; }
.daily-model-note a { color: #6d39d3; text-decoration: underline; }
.reminder-primary:focus-visible, .reminder-settings:focus-visible, .reminder-disable:focus-visible { outline: 3px solid #9c78e4; outline-offset: 4px; }
@media (max-width: 380px) { .reminder-modal { padding: 30px 18px 20px; } .reminder-time { padding: 13px 11px; } }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 28px; transform: translate(-50%, 20px); max-width: calc(100% - 30px); padding: 12px 18px; border-radius: 13px; color: white; background: #211a30; box-shadow: 0 12px 35px rgba(0,0,0,.25); opacity: 0; pointer-events: none; font-size: 13px; font-weight: 800; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #a9255c; }
.confetti { position: fixed; z-index: 40; inset: 0; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 15px; border-radius: 2px; animation: confetti-fall 1.5s cubic-bezier(.15,.7,.45,1) forwards; }
@keyframes confetti-fall { to { transform: translate3d(var(--drift), 105vh, 0) rotate(720deg); opacity: .2; } }

@media (max-width: 1050px) {
  .hero { margin: 0 18px; grid-template-columns: 1.1fr .75fr; gap: 35px; padding: 60px 45px; }
  .hero h1 { font-size: 48px; }
  .artist-grid { grid-template-columns: repeat(3, 1fr); }
  .podium-card { padding: 17px; gap: 12px; }
  .podium-photo { width: 68px; height: 88px; }
  .podium-card[data-place="1"] .podium-photo { width: 77px; height: 102px; }
  .guide-card { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 780px) {
  :root { --content-gutter: 16px; }
  body > footer { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .share-dock { inset: auto 0 var(--share-footer-offset, 0px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; padding: 12px max(14px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border: 0; border-top: 1px solid #e7e0ef; border-radius: 0; background: #fff; box-shadow: 0 -2px 12px rgba(30,17,56,.06); }
  .share-dock .dock-button { gap: 7px; min-height: 56px; padding: 12px 8px; border-radius: 14px; font-size: clamp(12px, 3.75vw, 15px); }
  .share-dock .dock-button svg { width: 23px; height: 23px; }
  .toast { bottom: calc(108px + env(safe-area-inset-bottom)); }
  .site-header { height: 64px; padding: 0 var(--content-gutter); }
  .site-header .brand-logo { width: 190px; }
  .main-nav > a { display: none; }
  .main-nav { gap: 12px; }
  .main-nav > .news-nav, .main-nav > .rival-nav { display: inline-flex; font-size: 12px; }
  .site-header .brand-logo { width: 150px; }
  .share-button { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; margin: 0; padding: 55px 24px 28px; border-radius: 0 0 28px 28px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); letter-spacing: -2.5px; }
  .hero-description { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .primary-cta { width: 100%; justify-content: space-between; }
  .hero-panel { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; border-radius: 20px; }
  .panel-topline { grid-column: 1 / -1; }
  .microphone { height: 135px; }
  .microphone svg { width: 100px; height: 140px; }
  .deadline { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-top: 0; }
  .deadline strong { font-size: 22px; }
  .hero-panel > p { display: none; }
  .top-ad { margin: 12px auto 12px; }
  .quick-stats > div { flex-direction: column; gap: 6px; min-height: 112px; padding: 12px 6px; text-align: center; }
  .quick-stats .stat-icon { width: 28px; height: 28px; border-radius: 9px; font-size: 14px; }
  .quick-stats p { width: 100%; font-size: 11px; }
  .quick-stats strong { margin-top: 4px; font-size: 16px; font-variant-numeric: tabular-nums; }
  .quick-stats #updatedAt { font-size: clamp(10px, 2.7vw, 12px); line-height: 21px; white-space: nowrap; }
  .ranking-section { padding-top: 50px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > div > p:last-child { font-size: 13px; }
  .refresh-button { padding: 8px; }
  .refresh-button span { display: none; }
  .podium { grid-template-columns: 1fr; align-items: stretch; gap: 11px; }
  .podium-card, .podium-card[data-place="1"] { min-height: 126px; order: var(--mobile-order); }
  .podium-card[data-place="1"] { min-height: 142px; }
  .podium-card[data-place="1"] .podium-photo { width: 82px; height: 105px; }
  .vote-section { padding-top: 100px; }
  .vote-heading { flex-direction: column; align-items: stretch; }
  .search-box { width: 100%; margin-top: 20px; }
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .artist-card { border-radius: 16px; }
  .artist-image-wrap { aspect-ratio: 4/4.55; }
  .card-name-over { left: 13px; bottom: 10px; }
  .card-name-over h3 { font-size: 19px; }
  .rank-badge { top: 10px; left: 10px; min-width: 29px; height: 29px; border-radius: 9px; }
  .rank-badge.top { min-width: 52px; height: 30px; gap: 5px; padding: 0 7px; }
  .rank-badge.top::before { flex-basis: 20px; width: 20px; height: 20px; }
  .gender-badge { top: 10px; right: 10px; }
  .card-body { padding: 12px; }
  .card-vote-button { height: 40px; font-size: 12px; }
  .guide-section { padding-top: 85px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .guide-card { padding: 30px 24px; }
  .guide-card ol { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .desktop-only { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-panel { grid-template-columns: .8fr 1fr; }
  .artist-grid { gap: 12px 8px; }
  .vote-count-line strong { font-size: 14px; }
  .filter-bar { margin-left: -1px; margin-right: -1px; }
  .vote-modal { padding: 26px 21px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
