/* assets/ui/sleep.css · v706 · 숙면 음악 코너 (sleep.php) · 흰 바탕 · 보라 · 밤하늘 첫 칸 · 휴대폰 먼저 */
.sl{--sp:#5b4bff;--ink:#15131f;--sub:#6b6880;--mut:#9b98ad;--ln:#ebe9f5;max-width:980px;margin:0 auto;padding:8px 0 140px}
.sl-hero{position:relative;overflow:hidden;margin:6px 0 22px;padding:34px 24px 28px;border-radius:26px;background:radial-gradient(120% 90% at 80% 0%,#4338ca 0%,#1e1b4b 55%,#0f0d2e 100%);color:#fff}
.sl-hero h1{position:relative;color:#fff;margin:10px 0 8px;font-size:clamp(24px,5.4vw,34px);font-weight:850;letter-spacing:-.02em;line-height:1.25;word-break:keep-all}
.sl-hero p{position:relative;margin:0;max-width:560px;color:#d9d6ff;font-size:15px;line-height:1.65;word-break:keep-all}
.sl-ey{position:relative;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;font-weight:800;letter-spacing:.06em}
.sl-stars i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;opacity:.7;animation:slTw 3.2s ease-in-out infinite}
.sl-stars i:nth-child(1){top:18%;left:72%}.sl-stars i:nth-child(2){top:32%;left:86%;animation-delay:.6s}.sl-stars i:nth-child(3){top:12%;left:58%;animation-delay:1.2s}
.sl-stars i:nth-child(4){top:46%;left:93%;animation-delay:1.8s}.sl-stars i:nth-child(5){top:24%;left:40%;animation-delay:2.4s;width:2px;height:2px}.sl-stars i:nth-child(6){top:60%;left:80%;animation-delay:.3s;width:2px;height:2px}
@keyframes slTw{0%,100%{opacity:.25}50%{opacity:.95}}
.sl-hb{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:20px}
.sl-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border:0;border-radius:14px;background:#fff;color:#2b2470;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.sl-lk{display:inline-flex;align-items:center;gap:5px;color:#e0ddff;font-size:14px;font-weight:700;text-decoration:none}
.sl-sec{margin:0 0 26px}.sl-sec h2{margin:0 0 12px;font-size:19px;font-weight:850;letter-spacing:-.01em}
.sl-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.sl-hd h2{margin:0}
.sl-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.sl-card{position:relative;display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:#fff;border:1px solid var(--ln)}
.sl-cv{flex:none;position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:0;border-radius:14px;color:#fff;cursor:pointer;background:linear-gradient(135deg,#1e1b4b,#4338ca)}
.sl-cv.v1{background:linear-gradient(135deg,#0f172a,#6366f1)}.sl-cv.v2{background:linear-gradient(135deg,#312e81,#a78bfa)}.sl-cv.v3{background:linear-gradient(135deg,#1e3a8a,#60a5fa)}
.sl-cv svg{width:20px;height:20px}.sl-cv.on{box-shadow:0 0 0 3px #c7d2fe}
.sl-ct{flex:1;min-width:0}.sl-ct b{display:block;font-size:14.5px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sl-ct small{display:block;margin-top:2px;font-size:12px;font-weight:600;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sl-ad{flex:none;border:0;background:#f3f1ff;color:#4a3af0;font:inherit;font-size:12.5px;font-weight:800;padding:7px 10px;border-radius:10px;cursor:pointer}.sl-ad.on{background:#eef9f1;color:#15803d}
.sl-make{padding:20px 18px;border-radius:22px;background:#fff;border:1px solid var(--ln);box-shadow:0 10px 30px -22px rgba(30,20,90,.35)}
.sl-f{margin:0 0 16px}.sl-l{display:block;margin:0 0 8px;font-size:14px;font-weight:800;color:var(--ink)}.sl-l small{font-weight:600;color:var(--mut);margin-left:4px}
.sl-ch{display:flex;flex-wrap:wrap;gap:7px}
.sl-ch button{min-height:40px;padding:0 14px;border:0;border-radius:999px;background:#f2f1f7;color:var(--sub);font:inherit;font-size:13.5px;font-weight:750;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.sl-ch button.on{background:#fff;color:var(--sp);box-shadow:inset 0 0 0 1.5px var(--sp)}
.sl-n button{width:48px;padding:0}
.sl-in{width:100%;min-height:46px;padding:0 14px;border:1.5px solid #dcd9ea;border-radius:12px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}.sl-in:focus{outline:0;border-color:var(--sp)}
.sl-sum{margin:4px 0 12px;padding:12px 14px;border-radius:12px;background:#f7f6fd;font-size:13.5px;font-weight:700;color:#3d3770;line-height:1.55;word-break:keep-all}
.sl-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;border:0;border-radius:16px;background:linear-gradient(135deg,#6d28d9,#4f46e5);color:#fff;font:inherit;font-size:16px;font-weight:850;cursor:pointer;text-decoration:none;box-shadow:0 14px 28px -14px rgba(79,70,229,.9)}
.sl-go[disabled]{opacity:.6;cursor:default}
.sl-buy{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;color:#4a3af0;font-size:14px;font-weight:800;text-decoration:none}
.sl-note{margin:10px 0 0;font-size:12.5px;line-height:1.6;color:var(--mut);word-break:keep-all}.sl-note:empty{display:none}#slMsg{color:#4a3af0;font-weight:700}
.sl-adm{display:inline-flex;align-items:center;gap:6px;margin-top:14px;border:1px dashed #c9c4ea;background:#faf9ff;color:#4a3af0;font:inherit;font-size:13px;font-weight:700;padding:9px 12px;border-radius:10px;cursor:pointer}
.sl-mini{display:inline-flex;align-items:center;gap:6px;border:0;background:#f3f1ff;color:#4a3af0;font:inherit;font-size:13px;font-weight:800;padding:8px 12px;border-radius:10px;cursor:pointer}
.sl-rows{display:grid;gap:8px}.sl-rows:empty:before{content:attr(data-e);display:block;padding:16px;border-radius:14px;background:#f8f7fc;color:var(--mut);font-size:13.5px}
.sl-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid var(--ln)}
.sl-row .sl-cv{width:44px;height:44px;border-radius:12px}.sl-row.run .sl-cv{animation:slPu 1.6s ease-in-out infinite}@keyframes slPu{50%{opacity:.55}}
.sl-pl{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:9000;max-width:720px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:6px 10px;padding:10px 12px;border-radius:20px;background:#15123a;color:#fff;box-shadow:0 18px 40px -14px rgba(10,6,40,.7)}
.sl-pl[hidden]{display:none}
.sl-pd{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#4338ca,#a78bfa);display:flex;align-items:center;justify-content:center}.sl-pd i{width:10px;height:10px;border-radius:50%;background:#fff;opacity:.9;animation:slTw 3s ease-in-out infinite}
.sl-pt{min-width:0}.sl-pt b{display:block;font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sl-pt small{display:block;font-size:12px;color:#b9b4f5;font-weight:650}
.sl-pb{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}.sl-pb svg{width:18px;height:18px}
#slPlP{background:#fff;color:#1e1b4b}
.sl-tm{grid-column:1/-1;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-top:4px}.sl-tm::-webkit-scrollbar{display:none}
.sl-tm span{flex:none;display:flex;color:#b9b4f5}.sl-tm button{flex:none;min-height:30px;padding:0 11px;border:0;border-radius:999px;background:rgba(255,255,255,.1);color:#d9d6ff;font:inherit;font-size:12.5px;font-weight:750;cursor:pointer}
.sl-tm button.on{background:#fff;color:#1e1b4b}
@media (min-width:760px){.sl-hero{padding:44px 40px 36px}.sl-make{padding:26px 26px}}
@media (prefers-reduced-motion:reduce){.sl-stars i,.sl-pd i,.sl-row.run .sl-cv{animation:none}}
.sl-how{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:6px}.sl-how li{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#3d3770;word-break:keep-all}.sl-how svg{flex:none;color:#16a34a}
