.track-link{text-decoration:none;display:block}.track-link:hover{transform:translateY(-3px)}.play-label{display:block;margin-top:18px;font-size:13px}.library-filter{grid-template-columns:2fr 1fr auto auto;align-items:end}.player-page{background:#f6f2ea;color:#28251f}.recorder{padding:30px;background:repeating-linear-gradient(90deg,#4b2b18 0 16px,#53311c 17px 20px);border:20px solid #3f291d;border-radius:26px;box-shadow:inset 0 0 0 10px #805431,0 18px 30px #0002}.console{padding:26px;border:3px solid #eae7db;border-radius:18px;background:linear-gradient(130deg,#dcd8cb,#b8b3a5);box-shadow:inset 0 0 18px #7778,0 8px 12px #0008}.console-header{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid #9b9689;direction:ltr}.console-header strong{font:700 24px Georgia,serif}.console-header span{font:9px monospace;letter-spacing:1px;border:1px solid #999184;padding:6px;background:#b4afa2;border-radius:4px}.console-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;direction:ltr}.display{direction:rtl;background:#172019;color:#cde7ba;padding:24px;border:7px solid #4d5148;border-radius:14px;box-shadow:inset 0 0 20px #000,0 2px 0 white;min-width:0;display:flex;flex-direction:column;justify-content:center}.display h1{font-size:clamp(23px,3vw,35px);margin:15px 0;overflow-wrap:anywhere}.display p{font-size:14px;color:#a8c98d}.display .eyebrow{font-size:10px}.display audio{height:40px}.track-description{white-space:pre-wrap}.display canvas{width:100%;height:150px;border:1px solid #56734b;margin-top:16px}.readout{font:12px monospace!important;direction:ltr}.control-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.control-box{direction:ltr;background:linear-gradient(130deg,#d7d2c5,#aaa597);border:2px solid;border-color:#f6f4ed #928d80 #928d80 #f6f4ed;border-radius:10px;box-shadow:0 3px 5px #0005;padding:16px;display:flex;align-items:center;flex-direction:column;gap:16px;min-width:0}.control-box>span,.control-box>label{font:700 10px monospace;letter-spacing:1px;align-self:start}.control-box input[type=range]{box-shadow:none;background:transparent;accent-color:#41443a;padding:0}.knob{height:66px;width:66px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f8f7e9,#aba99c 50%,#3a3c34 53% 69%,#858578 70%);box-shadow:2px 6px 6px #0007;position:relative}.knob i{position:absolute;height:23px;width:3px;background:#222;left:31px;top:9px}.meter{width:100%;height:84px;background:#f4e7ba;border:5px solid #68675a;position:relative;overflow:hidden}.meter:before{content:'−  0  +';position:absolute;top:0;width:100%;text-align:center;letter-spacing:12px;font:11px monospace}.meter>div{height:55px;width:2px;background:#a33123;position:absolute;bottom:-3px;left:50%;transform-origin:bottom;transform:rotate(-50deg);transition:transform .12s}.control-box button{font-size:12px;min-height:40px;padding:6px 10px;justify-self:auto}.control-box small{font-size:10px}.player-page .group-nav{color:#30271f}.player-page .group-nav a{color:#f4e9d2}@media(max-width:800px){.console-grid{grid-template-columns:1fr}.recorder{padding:16px;border-width:10px}.console{padding:18px}.console-header strong{font-size:19px}.console-header span{display:none}.library-filter{grid-template-columns:1fr 1fr}.display{padding:16px}}@media(max-width:450px){.recorder{padding:10px}.console{padding:12px}.control-box{padding:10px}.library-filter{grid-template-columns:1fr}.display h1{font-size:24px}}
.player-page .toolbar{color:#f4e9d2}

.library-page .shelf { border-bottom: 0; box-shadow: none; padding-bottom: 0; }
.library-page .shelf-heading { border-bottom: 1px solid #c5a77355; margin-bottom: 20px; }
.library-page .entries { gap: 22px; align-items: stretch; }
.library-page .track-link {
  display: flex; flex-direction: column; padding: 12px; margin: 0;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #f7edd8, #d9c7a7);
  box-shadow: inset 0 1px 0 #fff9, 0 6px 12px #160c0780;
  transition: transform .18s, box-shadow .18s;
}
.library-page .track-link:hover, .library-page .track-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 #fff9, 0 12px 20px #160c0799;
}
.library-page .sleeve {
  --sleeve: #6b7b70; --label: #e0bd7a;
  width: 100%; max-width: none; aspect-ratio: 1.3;
  position: relative; isolation: isolate; overflow: hidden; border-radius: 7px;
  background: repeating-linear-gradient(100deg, #fff1 0 1px, transparent 1px 4px), linear-gradient(135deg, var(--sleeve), #282c2b);
  box-shadow: inset 0 0 0 1px #ffffff36, inset 0 -10px 20px #0003;
}
.library-page .tone-1 { --sleeve: #8e5748; --label: #eed6ad; }
.library-page .tone-2 { --sleeve: #426b7c; --label: #d2c7a0; }
.library-page .tone-3 { --sleeve: #8b794d; --label: #e5be9c; }
.library-page .record { width: 64%; box-shadow: 5px 8px 12px #0007; }
.library-page .record i { background: radial-gradient(circle, #eee 0 5%, #423123 6% 14%, var(--label) 15% 100%); }
.library-page .sleeve-mark { position: absolute; inset: 10px auto auto 14px; color: #ffffff9c; font-size: 24px; }
.library-page .album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.library-page .track-info { padding: 14px 5px 12px; flex: 1; }
.library-page .track-info h3 { font-size: 17px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.library-page .track-info .artist { font-size: 13px; margin-top: 4px; color: #655745; opacity: 1; }
.library-page .track-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #9f896744; padding: 12px 4px 2px; }
.library-page .shelf-tag { font-size: 11px; color: #675640; overflow-wrap: anywhere; }
.library-page .play-label { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; margin: 0; padding: 6px 14px; border-radius: 20px; background: #343d32; color: #f4ecd6; box-shadow: inset 0 1px 0 #ffffff30, 0 2px 3px #0003; font-size: 12px; }
.library-page .play-label > span { font-size: 10px; }
.player-page .console-header { direction: rtl; }
.player-page .console-header strong { font: 600 20px Vazirmatn, Tahoma, sans-serif; }
.player-page .control-box > span, .player-page .control-box > label { font: 500 12px Vazirmatn, Tahoma, sans-serif; letter-spacing: 0; align-self: end; }
.player-page .control-box.transport > span { right: 16px; left: auto; }
.player-page .display { justify-content: flex-start; }
.player-page .display h1 { margin: 4px 0 8px; }
.player-page .display .player-artist { margin: 0 0 20px; }
.player-page .display canvas { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .library-page .track-link { transition: none; } .library-page .track-link:hover { transform: none; } }
.player-page .toolbar nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;text-decoration:none;border:1px solid #b9a37a;border-radius:7px;background:linear-gradient(#514c40,#302d27);box-shadow:inset 0 1px 0 #ffffff26,0 2px 3px #0005;font-size:14px}.player-page .toolbar nav a:hover{background:linear-gradient(#665e4b,#423b2e)}.player-page .toolbar nav a:active{transform:translateY(1px)}.control-box.transport{position:relative;justify-content:center;gap:18px;padding-top:40px;padding-bottom:40px}.control-box.transport>span{position:absolute;top:16px;left:16px}.control-box.transport button{min-width:110px;min-height:44px;font-size:14px}.control-box button[aria-pressed=true]{background:linear-gradient(#b4b19f,#e1dcc9);box-shadow:inset 0 2px 4px #0004}

[hidden]{display:none!important}.shelf-preview{display:block;padding:24px;text-decoration:none;color:inherit;min-height:170px}.shelf-preview>span:first-child{font-size:36px;color:#8d6037}.shelf-preview h3{margin:12px 0}.shelf-preview p{overflow-wrap:anywhere}.library-loader{text-align:center;padding:24px}.library-loader button{padding:12px 28px}.shelf-preview:hover{transform:translateY(-3px)}
/* Keep the filter actions together at every screen width. */
.library-page .library-filter{grid-template-columns:minmax(0,1fr) auto;gap:16px}
.library-filter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.library-filter-actions>button,.library-filter-actions>a{display:flex;align-items:center;justify-content:center;justify-self:stretch;min-width:0;min-height:48px;margin:0;padding:10px 16px;font-size:14px;line-height:1.6;text-align:center;white-space:normal}
.library-filter-actions>button{font-weight:700}
.library-filter-actions>:focus-visible{outline:3px solid #77552e;outline-offset:4px}
@media(max-width:900px){.library-page .library-filter{grid-template-columns:minmax(0,1fr)}.library-filter-actions{width:100%}}
@media(max-width:400px){.library-filter-actions{gap:10px}.library-filter-actions>button,.library-filter-actions>a{padding:10px 8px;font-size:13px}}
