:root { color-scheme:light; --bg:#f2f4f6; --surface:#fff; --text:#191f28; --muted:#8b95a1; --blue:#3182f6; --blue-soft:#e8f3ff; --green:#00a878; --line-soft:#e9ecef; --queue-line:#f2f4f6; --shadow:#00000009; }
:root[data-theme="dark"] { color-scheme:dark; --bg:#101214; --surface:#1b1d20; --text:#f2f4f6; --muted:#8b95a1; --blue:#4f94f7; --blue-soft:#172c49; --line-soft:#34383e; --queue-line:#292c31; --shadow:#00000033; }
* { box-sizing:border-box; }
html { -webkit-font-smoothing:antialiased; }
body { margin:0; min-height:100vh; color:var(--text); background:var(--bg); font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
h1,h2,h3,p { margin:0; }
.shell { width:min(920px,calc(100% - 40px)); margin:0 auto; padding-bottom:80px; }
.topbar { height:76px; display:flex; align-items:center; justify-content:space-between; }
.header-actions { display:flex; align-items:center; gap:10px; }
.support-link { display:flex; align-items:center; gap:7px; padding:10px 14px; color:#fff; background:#5865f2; border-radius:10px; font-size:13px; font-weight:700; text-decoration:none; box-shadow:0 2px 6px #5865f229; transition:background .18s,transform .18s,box-shadow .18s; }
.support-link svg { width:17px; height:17px; flex:0 0 auto; }
.support-link:hover { background:#4752c4; box-shadow:0 5px 12px #5865f238; transform:translateY(-1px); }
.login-cta { padding:10px 14px; color:#fff; background:#5865f2; border-radius:10px; font-size:13px; font-weight:700; text-decoration:none; transition:background .18s,transform .18s; }
.login-cta:hover { background:#4752c4; transform:translateY(-1px); }
.login-cta { margin-top:22px; font-size:14px; }
.brand { display:flex; align-items:center; gap:9px; color:var(--text); font-size:19px; font-weight:800; text-decoration:none; }
.brand-mark { display:block; width:38px; height:38px; overflow:hidden; background:#fff; border-radius:11px; box-shadow:0 2px 8px var(--shadow); }
.brand-mark img { width:100%; height:100%; object-fit:cover; display:block; }
.theme-toggle { display:grid; width:38px; height:38px; padding:0; place-items:center; color:var(--text); background:var(--surface); border:0; border-radius:10px; box-shadow:0 2px 8px var(--shadow); cursor:pointer; transition:background .18s,transform .18s; }
.theme-toggle:hover { background:var(--blue-soft); transform:translateY(-1px); }
.theme-icon { font-size:19px; line-height:1; }
.card { background:var(--surface); border-radius:24px; box-shadow:0 2px 8px var(--shadow); }
.hidden { display:none!important; }
.empty { min-height:520px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px; text-align:center; }
.empty-icon { display:grid; width:76px; height:76px; margin-bottom:24px; place-items:center; color:var(--blue); background:var(--blue-soft); border-radius:25px; font-size:34px; font-weight:700; }
.empty h1 { margin-bottom:12px; font-size:28px; letter-spacing:-.045em; }
.empty p { color:var(--muted); font-size:16px; line-height:1.65; }
.player { padding-top:24px; }
.now-card { display:flex; align-items:center; gap:28px; padding:30px; }
.now-card img { width:154px; aspect-ratio:1; flex:0 0 auto; object-fit:cover; background:var(--bg); border-radius:22px; box-shadow:0 8px 24px #0000001f; }
.track-info { min-width:0; flex:1; }
#track { margin:0 0 7px; overflow:hidden; font-size:clamp(24px,4vw,34px); letter-spacing:-.045em; text-overflow:ellipsis; white-space:nowrap; }
#artist { color:var(--muted); font-size:16px; }
.timeline { height:5px; margin-top:28px; overflow:hidden; background:var(--line-soft); border-radius:99px; }
#progress { width:0; height:100%; background:var(--blue); border-radius:inherit; transition:width .25s linear; }
.times,.card-title { display:flex; align-items:center; justify-content:space-between; }
.times { margin-top:9px; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.content-grid { display:grid; grid-template-columns:1.45fr .8fr; gap:18px; margin-top:18px; }
.lyrics-card,.queue-card { min-height:310px; padding:28px; }
.card-title { margin-bottom:26px; }
.card-title h3 { font-size:20px; letter-spacing:-.035em; }
.card-title span { padding:6px 9px; color:#6b7684; background:var(--bg); border-radius:8px; font-size:11px; font-weight:700; text-transform:uppercase; }
.lyrics { min-height:210px; display:flex; flex-direction:column; justify-content:center; gap:18px; font-size:clamp(17px,2.5vw,21px); line-height:1.55; }
.lyric-line { margin:0; color:#b0b8c1; transition:color .2s,transform .2s; }
.lyric-line.current { color:var(--text); font-weight:800; transform:translateX(5px); }
.lyric-line.entering { animation:lyric-slide .42s cubic-bezier(.22,1,.36,1) both; animation-delay:calc(var(--line-order,0) * 45ms); }
.word.current { color:var(--blue); }
@keyframes lyric-slide { from{opacity:0;translate:0 14px} to{opacity:1;translate:0 0} }
@media(prefers-reduced-motion:reduce) { .lyric-line.entering{animation:none} }
#queue { margin:0; padding:0; list-style:none; counter-reset:queue; }
#queue li { position:relative; min-width:0; display:flex; align-items:center; gap:11px; padding:10px 0 10px 22px; color:var(--muted); border-bottom:1px solid var(--queue-line); font-size:13px; counter-increment:queue; }
#queue li::before { content:counter(queue); position:absolute; left:2px; top:50%; color:#b0b8c1; font-weight:700; transform:translateY(-50%); }
#queue li img { width:46px; height:46px; flex:0 0 auto; object-fit:cover; border-radius:10px; background:var(--bg); }
#queue li div { min-width:0; }
#queue strong { display:block; margin-bottom:4px; overflow:hidden; color:var(--text); font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:700px) { .shell{width:min(100% - 28px,920px);padding-bottom:40px}.topbar{height:66px}.now-card{align-items:flex-start;gap:18px;padding:22px}.now-card img{width:92px;border-radius:17px}.timeline{margin-top:20px}.content-grid{grid-template-columns:1fr}.lyrics-card,.queue-card{min-height:auto;padding:24px}.empty{min-height:calc(100vh - 94px);padding:28px} }
@media(max-width:520px) { .brand span:last-child{display:none}.support-link span{display:none}.support-link{padding:10px} }
@media(max-width:430px) { .now-card{display:block}.now-card img{width:100%;margin-bottom:22px}.support-link{padding:8px 10px} }
.site-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:28px 6px 0; color:var(--muted); font-size:13px; }
.site-footer nav { display:flex; gap:18px; }
.site-footer a { color:var(--muted); text-decoration:none; }
.site-footer a:hover { color:var(--text); }
.legal-shell { max-width:780px; }
.legal-card { padding:clamp(28px,6vw,56px); }
.legal-card>h1 { font-size:clamp(32px,6vw,46px); letter-spacing:-.055em; }
.legal-date { margin-top:12px; color:var(--muted); font-size:14px; }
.legal-card section { margin-top:38px; }
.legal-card section h2 { margin-bottom:12px; font-size:20px; letter-spacing:-.035em; }
.legal-card section p { color:var(--muted); font-size:15px; line-height:1.8; word-break:keep-all; }
.legal-card section a { color:var(--blue); font-weight:700; text-decoration:none; }
@media(max-width:600px) { .site-footer{align-items:flex-start;flex-direction:column}.site-footer nav{flex-direction:column;gap:10px}.legal-card section{margin-top:30px} }
.landing-shell { width:min(1120px,calc(100% - 48px)); overflow:hidden; }
.nav-link { color:var(--muted); font-size:14px; font-weight:700; text-decoration:none; transition:color .18s; }
.nav-link:hover { color:var(--text); }
.hero { min-height:650px; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:40px; padding:70px 20px 90px; }
.hero-copy { position:relative; z-index:1; }
.section-heading>span { display:inline-block; margin-bottom:20px; color:var(--blue); font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.hero h1 { font-size:clamp(48px,7vw,78px); line-height:1.08; letter-spacing:-.065em; word-break:keep-all; }
.hero h1 span { color:var(--blue); }
.hero-copy>p { margin-top:28px; color:var(--muted); font-size:18px; line-height:1.7; word-break:keep-all; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:36px; }
.primary-cta,.secondary-cta { display:inline-flex; min-height:52px; align-items:center; justify-content:center; padding:0 22px; border-radius:15px; font-size:15px; font-weight:800; text-decoration:none; transition:transform .18s,background .18s; }
.primary-cta { color:#fff; background:var(--blue); box-shadow:0 10px 24px #3182f633; }
.primary-cta:hover,.secondary-cta:hover { transform:translateY(-2px); }
.secondary-cta { color:var(--text); background:var(--surface); }
.hero-art { position:relative; display:grid; aspect-ratio:1; place-items:center; }
.hero-art img { position:relative; width:min(420px,90%); border-radius:34%; box-shadow:0 28px 70px #182e531f; transform:rotate(2deg); }
.hero-glow { position:absolute; width:90%; height:90%; background:radial-gradient(circle,#ff744c40 0,#3182f626 45%,transparent 72%); filter:blur(18px); }
.features-section { padding:90px 0; }
.section-heading { margin-bottom:42px; text-align:center; }
.section-heading>span { margin-bottom:14px; }
.section-heading h2 { font-size:clamp(34px,5vw,52px); line-height:1.2; letter-spacing:-.055em; }
.features { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.feature-card { padding:32px; }
.feature-icon { display:grid; width:50px; height:50px; margin-bottom:26px; place-items:center; color:var(--blue); background:var(--blue-soft); border-radius:16px; font-size:25px; font-weight:800; }
.feature-card h3 { margin-bottom:13px; font-size:21px; letter-spacing:-.035em; }
.feature-card p { color:var(--muted); font-size:15px; line-height:1.7; word-break:keep-all; }
.feature-link { display:inline-block; margin-top:18px; color:var(--blue); font-size:14px; font-weight:800; text-decoration:none; }
.commands-section { padding:80px 0 40px; scroll-margin-top:30px; }
.section-heading>p { margin-top:16px; color:var(--muted); font-size:16px; }
.commands-card { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; padding:10px 34px; }
.command-row { min-width:0; display:grid; grid-template-columns:150px 1fr; gap:18px; align-items:start; padding:27px 12px; border-bottom:1px solid var(--queue-line); }
.command-row:nth-last-child(-n+2) { border-bottom:0; }
.command-row code { width:max-content; max-width:100%; overflow:hidden; padding:8px 11px; color:var(--blue); background:var(--blue-soft); border-radius:9px; font-family:inherit; font-size:13px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.command-row h3 { margin:3px 0 7px; font-size:16px; letter-spacing:-.025em; }
.command-row p { color:var(--muted); font-size:13px; line-height:1.55; word-break:keep-all; }
.command-note { margin-top:18px; color:var(--muted); font-size:13px; text-align:center; }
.premium-section { margin:60px 0 70px; padding:52px 58px; background:linear-gradient(135deg,var(--surface),var(--blue-soft)); }
.premium-heading h2 { font-size:clamp(28px,4vw,40px); line-height:1.25; letter-spacing:-.05em; }
.premium-heading>p { margin-top:14px; color:var(--muted); }
.premium-features { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:38px; }
.premium-features article { display:flex; align-items:flex-start; gap:13px; padding:22px; background:color-mix(in srgb,var(--surface) 78%,transparent); border-radius:18px; }
.premium-check { display:grid; width:25px; height:25px; flex:0 0 auto; place-items:center; color:#fff; background:var(--blue); border-radius:50%; font-size:13px; font-weight:900; }
.premium-features h3 { margin-bottom:8px; font-size:17px; letter-spacing:-.03em; }
.premium-features p,.premium-footer p { color:var(--muted); font-size:14px; line-height:1.65; word-break:keep-all; }
.premium-footer { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; padding-top:28px; border-top:1px solid var(--line-soft); }
.premium-footer>a { flex:0 0 auto; padding:14px 19px; color:#fff; background:var(--blue); border-radius:14px; font-size:14px; font-weight:800; text-decoration:none; }
@media(max-width:900px) { .commands-card{grid-template-columns:1fr}.command-row:nth-last-child(2){border-bottom:1px solid var(--queue-line)} }
@media(max-width:800px) { .landing-shell{width:min(100% - 28px,1120px)}.hero{min-height:auto;grid-template-columns:1fr;padding:70px 4px}.hero-art{grid-row:1;max-width:380px;margin:0 auto}.hero-copy{text-align:center}.hero-actions{justify-content:center}.features,.premium-features{grid-template-columns:1fr}.premium-section{padding:38px}.premium-footer{align-items:flex-start;flex-direction:column} }
@media(max-width:520px) { .landing-shell .nav-link{display:none}.hero{gap:16px;padding-top:36px}.hero-copy>p br{display:none}.hero-actions{align-items:stretch;flex-direction:column}.primary-cta,.secondary-cta{width:100%}.feature-card{padding:27px}.commands-card{padding:8px 20px}.command-row{grid-template-columns:1fr;gap:8px;padding:22px 4px}.premium-section{padding:30px 26px}.premium-footer>a{width:100%;text-align:center} }
.status-shell { max-width:920px; }
.status-heading { padding:60px 4px 38px; }
.status-heading>div { display:flex; align-items:center; gap:8px; margin-bottom:18px; color:var(--muted); font-size:14px; font-weight:700; }
.status-dot { width:10px; height:10px; background:#f04452; border-radius:50%; box-shadow:0 0 0 5px #f0445218; }
.status-dot.online { background:#00a878; box-shadow:0 0 0 5px #00a87818; }
.status-heading h1 { font-size:clamp(38px,6vw,56px); letter-spacing:-.055em; }
.status-heading>p { margin-top:14px; color:var(--muted); font-size:16px; }
.status-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.status-card { padding:25px; }
.status-card span { display:block; margin-bottom:14px; color:var(--muted); font-size:13px; font-weight:700; }
.status-card strong { font-size:27px; letter-spacing:-.04em; }
.status-updated { margin-top:17px; color:var(--muted); font-size:12px; text-align:right; }
@media(max-width:700px) { .status-grid{grid-template-columns:1fr 1fr}.status-heading{padding-top:40px} }
@media(max-width:430px) { .status-grid{grid-template-columns:1fr}.status-card{padding:22px} }
.playlist-shell { max-width:1040px; }
.playlist-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; padding:58px 4px 42px; }
.playlist-heading h1 { font-size:clamp(38px,6vw,56px); letter-spacing:-.055em; }
.playlist-heading p { margin-top:13px; color:var(--muted); }
.primary-button,.danger-button,.track-search button,.share-link-row button { min-height:44px; padding:0 17px; border:0; border-radius:12px; font-weight:800; cursor:pointer; }
.primary-button,.track-search button,.share-link-row button { color:#fff; background:var(--blue); }
.danger-button { color:#f04452; background:#f0445212; }
.primary-button:disabled { opacity:.55; cursor:wait; }
.playlist-group { margin-bottom:38px; }
.playlist-group h2 { margin:0 0 17px 4px; font-size:20px; }
.playlist-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.playlist-item { min-height:220px; display:flex; overflow:hidden; align-items:stretch; flex-direction:column; padding:0; color:var(--text); border:0; text-align:left; cursor:pointer; transition:transform .18s,box-shadow .18s; }
.playlist-item:hover { transform:translateY(-3px); box-shadow:0 10px 26px var(--shadow); }
.playlist-item>img { width:100%; height:145px; object-fit:cover; background:var(--blue-soft); }
.playlist-item-body { display:flex; flex:1; align-items:flex-start; flex-direction:column; padding:17px 19px; }
.playlist-item strong { margin-bottom:7px; font-size:17px; }
.playlist-item small { color:var(--muted); }
.playlist-card-heart { align-self:flex-end; margin-top:-20px; padding:6px 9px; color:#f04452!important; background:#fff0f2; border-radius:999px; font-weight:800; line-height:1; }
.playlist-discovery-tools { display:flex; gap:10px; margin-bottom:20px; }
.playlist-search { display:flex; min-height:46px; flex:1; align-items:center; gap:9px; padding:0 15px; background:var(--surface); border-radius:13px; box-shadow:0 4px 16px var(--shadow); }
.playlist-search span { color:var(--muted); font-size:20px; }.playlist-search input{width:100%;color:var(--text);background:transparent;border:0;outline:0;font:inherit}.playlist-search input::placeholder{color:var(--muted)}
.playlist-discovery-tools select { padding:0 15px; color:var(--text); background:var(--surface); border:0; border-radius:13px; box-shadow:0 4px 16px var(--shadow); font-weight:700; }
.playlist-heading-actions,.playlist-tabs { display:flex; gap:10px; }
.playlist-tabs { margin-bottom:24px; padding:5px; width:max-content; background:var(--surface); border-radius:14px; }
.playlist-tabs button { padding:10px 17px; color:var(--muted); background:transparent; border:0; border-radius:10px; font-weight:800; cursor:pointer; }
.playlist-tabs button.active { color:#fff; background:var(--blue); }
.playlist-empty { grid-column:1/-1; padding:26px; color:var(--muted); text-align:center; }
.text-button { margin:18px 0; padding:8px 0; color:var(--muted); background:none; border:0; font-weight:700; cursor:pointer; }
.detail-header { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:30px; }
.detail-header>div:first-child { min-width:0; flex:1; }
.playlist-cover-wrap { flex:0 0 150px!important; }
.playlist-cover { width:150px; height:150px; object-fit:cover; background:var(--blue-soft); border-radius:18px; }
.cover-upload { display:block; margin-top:8px; color:var(--blue); font-size:12px; font-weight:800; cursor:pointer; text-align:center; }.cover-upload input{display:none}
.image-limit { display:block; margin:5px 0 10px; color:var(--muted); font-size:11px; font-weight:500; }
.create-image-preview { width:100%; max-height:220px; margin-bottom:10px; object-fit:cover; background:var(--blue-soft); border-radius:14px; }
.detail-info { min-width:0; flex:1; }
.heart-button { display:block; margin-top:20px; padding:8px 13px; color:var(--muted); background:var(--bg); border:0; border-radius:10px; font-weight:800; cursor:pointer; }.heart-button.hearted{color:#f04452;background:#fff0f2}
#detail-name { width:min(100%,520px); padding:5px 0; color:var(--text); background:transparent; border:0; outline:0; font:800 clamp(26px,5vw,38px)/1.2 inherit; letter-spacing:-.04em; }
#detail-scope { margin-top:14px; padding:8px 10px; color:var(--text); background:var(--bg); border:0; border-radius:9px; }
#detail-meta { display:inline-block; margin-left:8px; color:var(--muted); font-size:12px; }
.detail-actions { display:flex; align-items:stretch; flex-direction:column; gap:9px; }.detail-actions select{max-width:220px;padding:11px;color:var(--text);background:var(--bg);border:0;border-radius:10px}
.track-search { display:flex; gap:10px; margin-top:16px; padding:17px; }
.track-search input,#create-form input,#create-form select { min-width:0; flex:1; padding:12px 14px; color:var(--text); background:var(--bg); border:1px solid var(--line-soft); border-radius:11px; outline:none; }
.search-results { display:grid; grid-template-columns:1fr 1fr; gap:11px; margin-top:12px; }
.search-result { min-width:0; display:flex; align-items:center; gap:13px; padding:13px; }
.search-result img { width:64px; height:48px; flex:0 0 auto; object-fit:cover; border-radius:9px; }
.search-result>div { min-width:0; flex:1; }
.search-result strong,.search-result span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.search-result strong { font-size:13px; }.search-result span { margin-top:5px; color:var(--muted); font-size:11px; }
.search-result button,.track-actions button { padding:8px 10px; color:var(--blue); background:var(--blue-soft); border:0; border-radius:8px; font-weight:800; cursor:pointer; }
.detail-section { margin-top:16px; padding:27px; }
.detail-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:17px; }
.detail-title h2 { font-size:20px; }.detail-title span { color:var(--muted); font-size:12px; }
.playlist-tracks { margin:0; padding:0; list-style:none; }
.playlist-tracks li { display:flex; align-items:center; gap:13px; padding:11px 0; border-bottom:1px solid var(--queue-line); }
.playlist-tracks li:last-child { border-bottom:0; }
.playlist-tracks img { width:58px; height:44px; object-fit:cover; border-radius:9px; background:var(--bg); }
.playlist-tracks li>div:nth-child(2) { min-width:0; flex:1; }.playlist-tracks strong,.playlist-tracks li span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.playlist-tracks strong{font-size:14px}.playlist-tracks li span{margin-top:4px;color:var(--muted);font-size:12px}
.track-actions { display:flex; gap:5px; }.track-actions button:disabled{opacity:.3}.track-actions button:last-child{color:#f04452;background:#f0445212}
.share-description { color:var(--muted); font-size:13px; line-height:1.6; }
.share-link-row { display:flex; gap:9px; margin-top:16px; }
.share-link-row input { min-width:0; flex:1; padding:12px 14px; color:var(--muted); background:var(--bg); border:1px solid var(--line-soft); border-radius:11px; outline:none; }
.share-link-row button:last-child { color:var(--text); background:var(--bg); }
dialog { width:min(430px,calc(100% - 32px)); padding:0; color:var(--text); background:var(--surface); border:0; border-radius:22px; box-shadow:0 25px 80px #0005; } dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}
#create-form { display:flex; flex-direction:column; gap:18px; padding:28px; } #create-form h2{font-size:24px}#create-form label{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:13px;font-weight:700}#create-form>div{display:flex;justify-content:flex-end;gap:9px}#cancel-create{padding:0 16px;color:var(--text);background:var(--bg);border:0;border-radius:12px;font-weight:800;cursor:pointer}
.playlist-toast { position:fixed; right:24px; bottom:24px; z-index:20; max-width:min(400px,calc(100% - 48px)); padding:14px 18px; color:#fff; background:#00a878; border-radius:13px; box-shadow:0 12px 36px #0003; font-size:13px; font-weight:700; }.playlist-toast.error{background:#f04452}
@media(max-width:760px){.playlist-grid{grid-template-columns:1fr 1fr}.search-results{grid-template-columns:1fr}.detail-header{align-items:flex-start;flex-direction:column}.detail-actions{width:100%}.detail-actions button{flex:1}}
@media(max-width:520px){.playlist-heading{align-items:flex-start;flex-direction:column;padding-top:36px}.playlist-heading .primary-button{width:100%}.playlist-grid{grid-template-columns:1fr}.track-search,.share-link-row{flex-direction:column}.detail-section{padding:21px}.playlist-tracks li{align-items:flex-start;flex-wrap:wrap}.track-actions{width:100%;justify-content:flex-end}}
