* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f7fb; color: #172033; }
a { color: inherit; text-decoration: none; }
.site-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: #ffffff; border-bottom: 1px solid #e4e8f0; }
.logo { font-weight: 800; font-size: 20px; }
.site-header nav { display: flex; gap: 16px; color: #526071; }
.tool-shell { max-width: 980px; margin: 54px auto; padding: 0 20px; }
.resolver { background: #ffffff; border: 1px solid #e3e8f0; border-radius: 8px; padding: 34px; }
.resolver h1 { margin: 0 0 24px; font-size: 34px; letter-spacing: 0; }
#resolveForm { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
input, select { width: 100%; height: 44px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 0 12px; font-size: 15px; background: #fff; }
button { height: 44px; border: 0; border-radius: 6px; padding: 0 18px; background: #111827; color: #fff; font-weight: 700; cursor: pointer; }
button:hover { background: #0f766e; }
.hint { color: #65758b; margin: 14px 0 0; }
.hidden { display: none !important; }
.result { margin-top: 22px; }
.song-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; background: #fff; border: 1px solid #e3e8f0; border-radius: 8px; padding: 20px; }
.song-cover { width: 180px; height: 180px; object-fit: cover; border-radius: 6px; background: #e5e7eb; }
.song-card h2 { margin: 0 0 10px; font-size: 26px; letter-spacing: 0; }
.meta { color: #526071; line-height: 1.9; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.vip { background: #ffe4e6; color: #be123c; }
.badge.free { background: #dcfce7; color: #166534; }
.quality-panel { margin-top: 16px; background: #fff; border: 1px solid #e3e8f0; border-radius: 8px; padding: 20px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; text-align: left; border-bottom: 1px solid #edf1f7; }
th { color: #65758b; font-weight: 700; font-size: 13px; }
.download-link { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 34px; border-radius: 6px; background: #0f766e; color: #fff; font-weight: 700; }
.alert { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; padding: 12px; border-radius: 6px; margin-bottom: 14px; }
.auth-page { min-height: 100vh; display: grid; place-items: center; }
.auth-box, .panel { background: #fff; border: 1px solid #e3e8f0; border-radius: 8px; padding: 24px; }
.auth-box { width: min(420px, calc(100vw - 32px)); display: grid; gap: 14px; }
.auth-box h1, .panel h1 { margin: 0 0 10px; }
.auth-box label { display: grid; gap: 7px; color: #526071; }
.simple-page { max-width: 760px; margin: 48px auto; padding: 0 20px; }
@media (max-width: 720px) {
  .site-header { padding: 0 16px; }
  #resolveForm { grid-template-columns: 1fr; }
  .resolver { padding: 22px; }
  .song-card { grid-template-columns: 1fr; }
  .song-cover { width: 100%; height: auto; aspect-ratio: 1; }
  table { font-size: 14px; }
}

