:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f7fb;
  background: #0d1018;
  --card: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.13);
  --soft: #c6c9d4;
  --ink: #10131c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(105,122,255,.38), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(255,100,180,.19), transparent 30%),
    linear-gradient(180deg, #121827, #0d1018 60%);
  padding-bottom: 118px;
}
.shell { width: min(980px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0; }
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,.30);
  overflow: hidden;
  position: relative;
}
.hero:after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 260px; height: 260px; background: rgba(255,255,255,.10); border-radius: 999px; filter: blur(8px); }
.hero-copy, .hero-panel { position: relative; z-index: 1; }
h1 { font-size: clamp(3.1rem, 10vw, 6rem); line-height: .88; margin: 0; letter-spacing: -0.07em; }
h2 { margin: 0 0 10px; font-size: clamp(1.55rem, 4vw, 2.1rem); }
p { color: var(--soft); }
.lead { font-size: clamp(1rem, 2.4vw, 1.35rem); max-width: 620px; color: #eef1ff; }
.kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .18em; color: #d5dcff; font-weight: 800; font-size: .82rem; }
.hero-pills, .chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-pills span, .chip {
  border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #f7f7fb;
  border-radius: 999px; padding: 9px 12px; font-weight: 750; font-size: .88rem;
}
.hero-panel { min-width: min(290px, 100%); padding: 18px; border-radius: 22px; background: rgba(6,8,14,.22); border: 1px solid var(--line); }
.small { font-size: .9rem; margin-bottom: 0; }
.card {
  margin-top: 22px; padding: 22px; border-radius: 24px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.login-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, button, .button {
  width: 100%; padding: 13px 15px; margin: 7px 0; border-radius: 15px; border: 0; font-size: 1rem;
}
input, select { background: rgba(255,255,255,.95); color: #10131c; }
label { display: block; margin-top: 10px; color: #eef1ff; font-weight: 750; }
button, .button { cursor: pointer; background: #ffffff; color: var(--ink); font-weight: 850; text-decoration: none; display: inline-block; text-align: center; }
.button.ghost { background: rgba(255,255,255,.11); color: #fff; border: 1px solid var(--line); }
.hidden { display: none !important; }
.msg { min-height: 1.2em; color: #ffe0e0; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 28px 0 12px; }
.actions { min-width: 135px; }
.chips { margin: 0 0 18px; }
.chip { width: auto; margin: 0; cursor: pointer; }
.chip.active { background: #fff; color: var(--ink); }
.songlist { display: grid; gap: 12px; }
.song { display: flex; align-items: center; gap: 14px; padding: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); border-radius: 20px; }
.song img { width: 60px; height: 60px; object-fit: cover; border-radius: 15px; background: rgba(255,255,255,.1); flex: 0 0 auto; }
.song .meta { flex: 1; min-width: 0; }
.song .meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song .meta span, .mini-list span { color: var(--soft); font-size: .92rem; display: block; }
.song button { width: auto; min-width: 54px; }
.mini-list { display: grid; gap: 8px; margin-top: 14px; }
.mini-list div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.player {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 12px max(14px, calc((100vw - 980px) / 2));
  background: rgba(13,16,24,.94); border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px);
}
.now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.now img { width: 60px; height: 60px; object-fit: cover; border-radius: 15px; }
.now strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now span { display: block; color: var(--soft); }
.controls { display: flex; gap: 8px; }
.controls button { width: 56px; height: 56px; margin: 0; }
@media (max-width: 760px) {
  .hero, .topline, .login-card { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .grid2 { grid-template-columns: 1fr; }
  .player { grid-template-columns: 1fr; }
  .controls { justify-content: center; }
}
@media (max-width: 450px) {
  .shell { width: min(100% - 18px, 980px); padding-top: 10px; }
  .hero, .card { border-radius: 22px; padding: 18px; }
  .song { padding: 10px; }
  .song img { width: 52px; height: 52px; }
}

/* Songbase v1.2 */
.hero-pills { gap: 10px 12px; }
.hero-pills span { display: inline-flex; align-items: center; gap: 7px; }
.hero-pills span::before { content: "✓"; opacity: .85; }
.notice {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px dashed rgba(255,255,255,.20);
  color: var(--soft);
}
.section-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom: 16px; }
.section-head p { margin: 4px 0 0; }
.admin-song-row { align-items: stretch; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
button.mini, .button.mini { width: auto; min-width: 84px; padding: 10px 12px; margin: 0; border-radius: 13px; font-size: .92rem; }
button.danger { background: #ffd7d7; color: #4a1111; }
button.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid var(--line); }
.split-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkline { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: #eef1ff; }
.checkline input { width: auto; margin: 0; transform: scale(1.2); }
.file-note { padding: 12px; margin: 12px 0; border-radius: 16px; background: rgba(0,0,0,.18); color: var(--soft); font-size: .92rem; line-height: 1.55; }
.preview-cover { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; margin-top: 10px; border: 1px solid var(--line); }
.home-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 22px; }
.stat-card { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.075); border: 1px solid var(--line); }
.stat-card strong { display:block; font-size: 1.8rem; }
.stat-card span { color: var(--soft); }
.empty-state { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.20); color: var(--soft); }
@media (max-width: 760px) {
  .row-actions { justify-content: stretch; }
  .row-actions button { flex: 1; }
  .split-buttons, .home-grid { grid-template-columns: 1fr; }
}
