:root { color-scheme: dark; font-family: Arial, sans-serif; }
* { box-sizing: border-box; } body { margin: 0; background: #111; color: #fff; }
.topbar { position: sticky; top: 0; z-index: 10; padding: 10px; text-align: center; background: #000; box-shadow: 0 4px 10px #0008; }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }.tabs a { color: #ddd; padding: 7px 10px; text-decoration: none; border-radius: 999px; }.tabs a.active { color: #fff; background: #333; }
h1 { margin: 0; font-size: 25px; } h2 { margin: 5px; font-size: 17px; } select, input, button { margin: 4px; padding: 9px; border-radius: 9px; border: 0; } input { width: min(90%, 420px); }
button { cursor: pointer; } .refresh-btn { background: #1db954; color: #fff; } .shuffle-btn { background: #9b59b6; color: #fff; }.progress { height: 6px; background: #333; border-radius: 4px; }.progress div { height: 100%; width: 0; background: #1db954; border-radius: inherit; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; padding: 12px; }.card { display: flex; flex-direction: column; min-height: 200px; padding: 12px; border-radius: 16px; background: #1c1c1c; cursor: pointer; transition: .2s; }.card:hover { transform: translateY(-3px); }.first-item { background: #2ecc7140; }.last-item { background: #e74c3c40; }.first-item.last-item { background: #f1c40f4d; }.shuffle-selected { outline: 4px solid #9b59b6; }
.price { color: #aaa; text-align: right; }.card-content { display: grid; gap: 6px; margin-top: 12px; color: #aaa; }.card-content b { color: #fff; font-size: 15px; }.location { margin-top: auto; font-size: 12px; color: #aaa; }.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, auto); gap: 5px; align-items: center; margin-top: 10px; }.card-actions button { margin: 0; }.badge { max-width: 100%; overflow-wrap: anywhere; border-radius: 999px; padding: 4px 8px; font-size: 11px; text-align: center; }.badge.cd { background:#1db954; }.badge.k7 { background:#e67e22; }.badge.vinyl { background:#9b59b6; }
#viewer { position: fixed; inset: 0; display: none; z-index: 20; align-items: center; justify-content: center; background: #000e; }.viewer-content { position: relative; text-align: center; }.viewer-content img { max-height: 80vh; max-width: 90vw; border-radius: 10px; }.viewer-content button { position: absolute; right: 0; z-index: 1; font-size: 24px; }.viewer-content i { position: absolute; width: 28px; height: 28px; border-radius: 50%; transform: translate(-50%, -50%); background: #f33; border: 3px solid #fff; }
.history-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }.history-stats div { display: grid; gap: 3px; min-width: 135px; padding: 10px; border-radius: 10px; background: #1c1c1c; }.history-stats b { font-size: 15px; }.history-stats span, .history-day small, .history-month small { color: #aaa; font-size: 12px; }.history-list { max-width: 760px; margin: 24px auto; padding: 0 12px; }.history-day { margin: 22px 0; }.history-day h2 { text-align: left; font-size: 16px; }.history-entry { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 8px 0; padding: 14px; border-radius: 12px; background: #1c1c1c; }.history-entry div { display: grid; gap: 4px; }.history-entry time { color: #aaa; font-size: 13px; }.history-month { margin: 14px 0; padding: 14px; border-radius: 12px; background: #191919; }.history-month summary { cursor: pointer; font-weight: bold; }.empty-state { text-align: center; color: #aaa; }
.statistics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; max-width: 1100px; margin: 24px auto; padding: 0 12px; }.statistics-card { padding: 16px; border-radius: 14px; background: #1c1c1c; }.statistics-card h2 { margin-top: 0; font-size: 17px; }.stat-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #333; font-size: 14px; }.stat-row em { min-width: 28px; color: #fff; font-style: normal; font-weight: bold; text-align: center; border-radius: 999px; background: #333; }
.all-albums { margin-top: 10px; }.all-albums summary { cursor: pointer; color: #ddd; }
@media (max-width: 768px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 8px; }.card { min-height: 180px; } }
