:root{color:#2f2721;background:#f8efe2;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;margin:0;overflow-x:hidden;background:radial-gradient(circle at top left,rgba(255,220,155,.42),transparent 32rem),linear-gradient(180deg,#fff6e9,#f5eadb)}button{font:inherit}.app{width:min(1280px,100%);margin:0 auto;padding:0 6px 18px}.topbar{position:sticky;top:0;z-index:2;display:flex;align-items:stretch;flex-direction:column;gap:3px;margin:0 -6px 4px;padding:2px 6px 4px;background:#fff7ebeb;border-bottom:1px solid rgba(139,96,54,.18);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.counter{display:flex;min-height:32px;align-items:center;justify-content:center;margin:0;color:#7d6753;font-size:14px;font-weight:750;line-height:1}.secondaryButton,.primaryButton{min-height:48px;border:0;border-radius:8px;font-weight:800;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease}.secondaryButton{flex:0 0 auto;min-height:40px;padding:0 10px;color:#5d3525;background:#ffe0ba;box-shadow:inset 0 0 0 1px #844d2729}.secondaryButton:disabled{color:#aa9a8c;background:#e7dac9c7;cursor:default;box-shadow:none}.secondaryButton:not(:disabled):active,.primaryButton:active{transform:scale(.98)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:6px;align-items:stretch;width:100%;max-width:100%}.songCard{position:relative;display:flex;width:100%;height:100%;min-height:68px;aspect-ratio:1 / .92;flex-direction:column;justify-content:center;gap:3px;overflow:hidden;padding:6px 5px;color:#352b23;background:linear-gradient(180deg,rgba(255,255,255,.56),transparent 44%),#fffaf0;border:1px solid rgba(139,96,54,.24);border-radius:10px;box-shadow:0 8px 18px #53371d1a,inset 0 0 0 1px #ffffffb8;text-align:left;touch-action:manipulation;user-select:none;-webkit-user-select:none;transition:transform .13s ease,box-shadow .13s ease,border-color .13s ease,opacity .18s ease,background-color .18s ease}.songCard:active{transform:scale(.975);border-color:#be70328f;box-shadow:0 4px 10px #53371d1f,inset 0 0 0 1px #ffffffb8}.songCard.isClosed{color:#887867;background:linear-gradient(135deg,rgba(122,100,78,.08) 25%,transparent 25%),linear-gradient(315deg,rgba(122,100,78,.08) 25%,transparent 25%),#efe4d4;background-size:16px 16px;border-color:#7b685452;box-shadow:0 4px 12px #53371d14,inset 0 0 0 1px #ffffff75}.songCard.isClosed:after{position:absolute;right:4px;bottom:4px;display:grid;width:20px;height:20px;place-items:center;color:#fdf8ef;background:#9c6b45;border-radius:999px;box-shadow:0 3px 8px #5e3d2438;content:"✓";font-size:14px;font-weight:950;line-height:1;transform:rotate(-7deg)}.songTitle{display:-webkit-box;max-height:2.18em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11px;font-weight:900;line-height:1.09;text-overflow:ellipsis}.songArtist{display:block;width:100%;overflow:hidden;color:inherit;font-size:9px;font-weight:760;line-height:1.16;opacity:.78;text-overflow:ellipsis;white-space:nowrap}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;padding:16px;background:#3725188c;animation:overlayIn .18s ease both}.modalOverlay.isClosing{animation:overlayOut .18s ease both}.modalCard{position:relative;display:flex;width:min(500px,100%);min-height:330px;flex-direction:column;justify-content:center;gap:20px;padding:46px 24px 24px;color:#33261d;background:linear-gradient(180deg,rgba(255,255,255,.72),transparent 40%),#fff8ea;border:1px solid rgba(122,78,42,.26);border-radius:16px;box-shadow:0 28px 80px #2e1c105c,inset 0 0 0 1px #ffffffb8;text-align:center;animation:cardIn .19s cubic-bezier(.2,.85,.25,1) both}.modalOverlay.isClosing .modalCard{animation:cardOut .18s ease both}.modalCloseButton{position:absolute;top:10px;right:10px;display:grid;width:52px;height:52px;place-items:center;padding:0;color:#6e4a33;background:#ffe6c5;border:1px solid rgba(130,82,45,.2);border-radius:999px;box-shadow:0 6px 14px #603b2024;cursor:pointer;font-size:34px;font-weight:750;line-height:1;transition:transform .14s ease,background-color .14s ease}.modalCloseButton:active{transform:scale(.94);background:#ffd9a5}.modalTitle{font-size:34px;font-weight:950;line-height:1.08;overflow-wrap:anywhere}.modalArtist{color:#7d5c42;font-size:24px;font-weight:800;line-height:1.12;overflow-wrap:anywhere}.primaryButton{width:100%;margin-top:10px;padding:0 18px;color:#fff;background:#a9582e;box-shadow:0 10px 20px #924b2838}@keyframes overlayIn{0%{opacity:0}}@keyframes overlayOut{to{opacity:0}}@keyframes cardIn{0%{opacity:0;transform:translateY(10px) scale(.96)}}@keyframes cardOut{to{opacity:0;transform:translateY(8px) scale(.97)}}@media(min-width:680px){.app{padding:0 18px 34px}.topbar{margin-inline:-18px;padding-inline:18px;gap:4px}.counter{font-size:15px}.secondaryButton{min-height:42px;padding:0 14px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:10px}.songCard{min-height:118px;padding:13px;gap:8px}.songCard.isClosed:after{right:8px;bottom:7px;width:32px;height:32px;font-size:21px}.songTitle{font-size:18px;line-height:1.12}.songArtist{font-size:15px}}@media(min-width:980px){.grid{grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:1fr;gap:10px}.songCard{min-height:120px;aspect-ratio:1 / .82;padding:10px}.songTitle{font-size:16px}.songArtist{font-size:13px}}@media(max-width:560px){.secondaryButton{width:100%;font-size:13px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.songCard{min-height:68px;padding:6px 5px}.modalCard{min-height:340px;padding:52px 20px 22px}.modalTitle{font-size:31px}.modalArtist{font-size:22px}}
