/* Two listening modes share one selection and one audio engine. */
.library-view-switch{display:flex;gap:4px;padding:3px;width:max-content;max-width:100%;border:1px solid #eee3cf22;border-radius:7px;background:#0c090744;margin:0 0 18px}
.library-view-switch button{border:0;border-radius:4px;background:none;color:#bfa58a;padding:8px 14px;font-size:11px;cursor:pointer}
.library-view-switch button[aria-pressed="true"]{background:#eee3cf;color:#261b13}
.expanded-library .listening-room{position:relative}
.expanded-library .room-layout{grid-template-columns:1fr;height:calc(100% - 68px)}
.expanded-library .deck-area{display:none}
.expanded-library .library-column{grid-column:1;width:100%}
.library-mini-player[hidden]{display:none}
.library-mini-player{height:68px;display:flex;align-items:center;gap:20px;padding:12px 28px;background:#1a130f;border-top:1px solid #e3b56c26;color:#eee3cf}
.library-mini-player>div{min-width:0;flex:1;display:grid;gap:4px}
.library-mini-player strong,.library-mini-player span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.library-mini-player span{font-size:10px;color:#bfa58a}
.library-mini-player button{border:1px solid #eee3cf33;background:none;color:inherit;border-radius:4px;padding:10px 14px;font-size:11px;white-space:nowrap}
@media(min-width:951px){
 .expanded-library .library-column .collection{grid-template-columns:260px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .expanded-library .library-column .library-toolbar{grid-column:1/-1;padding:20px 32px;border-bottom:1px solid #e3b56c16;display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px 28px;}
 .expanded-library .library-view-switch{margin:0;grid-column:1;grid-row:1}
 .expanded-library .library-label{grid-column:1;grid-row:2;text-align:left}
 .expanded-library .browse-tools{grid-column:2;grid-row:1/3;grid-template-columns:minmax(0,380px) 150px;justify-content:end}
 .expanded-library .library-column .listening-panel{grid-column:1;grid-row:2;max-height:none;height:100%;padding:26px 24px;overflow:auto;border-bottom:0;border-right:1px solid #e3b56c16}
 .expanded-library .library-column .selected-record{display:block}
 .expanded-library .library-column .sleeve-zone{width:100%;max-width:185px;margin-bottom:24px}
 .expanded-library .now-playing-copy{grid-template-columns:1fr;gap:16px}
 .expanded-library .record-buy{align-items:flex-start}
 .expanded-library .record-facts{gap:12px 20px}
 .expanded-library .library-column .disc-gallery{grid-row:2;gap:32px 26px;padding:28px 32px 40px}
}
@media(max-width:950px){
 .expanded-library .room-layout{height:auto}
 .expanded-library .library-column .disc-gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
 .expanded-library .library-mini-player{position:sticky;bottom:0;z-index:4;height:auto;min-height:68px;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));gap:10px}
 .library-mini-player button{padding:10px;font-size:10px}
}

/* Artwork-first iOS listening view, in the existing walnut and cream palette. */
.ios-turntable-toggle{display:none}
:is(.ios-header,.mobile-disc-view) .ios-turntable-toggle{display:grid;place-items:center;position:absolute;top:16px;right:16px;width:44px;height:44px;border:1px solid #eee3cf38;border-radius:50%;background:#1a130f66;color:#eee3cf;z-index:4}
.ios-turntable-toggle svg{width:26px;height:26px}
:is(.ios-header,.mobile-disc-view) .expanded-library #contenido{height:auto!important;overflow:visible}
:is(.ios-header,.mobile-disc-view) body.expanded-library{overflow:auto}
:is(.ios-header,.mobile-disc-view) .expanded-library .room-layout{height:auto;display:block}
:is(.ios-header,.mobile-disc-view) .expanded-library .library-column{height:auto;overflow:visible}
:is(.ios-header,.mobile-disc-view) .expanded-library .collection{display:block!important;height:auto!important;overflow:visible!important}
:is(.ios-header,.mobile-disc-view) .expanded-library .library-view-switch{display:none}
:is(.ios-header,.mobile-disc-view) .expanded-library .listening-panel{max-height:none!important;height:auto!important;padding:68px 7vw 24px!important;border-right:0;background:radial-gradient(ellipse at 35% 25%,#c5812920,transparent 65%)}
:is(.ios-header,.mobile-disc-view) .expanded-library .now-playing-head{margin:0 0 30px}
:is(.ios-header,.mobile-disc-view) .expanded-library .selected-record{display:flex!important;flex-direction:column;gap:30px}
:is(.ios-header,.mobile-disc-view) .expanded-library .sleeve-zone{width:min(64vw,330px)!important;max-width:none!important;margin:0 auto 10px!important;align-self:center;transform:translateX(-8%)}
:is(.ios-header,.mobile-disc-view) .expanded-library .sleeve-disc-preview,:is(.ios-header,.mobile-disc-view) .expanded-library .disc-on-deck .sleeve-disc-preview{opacity:1;right:-35%;transform:none}
:is(.ios-header,.mobile-disc-view) .expanded-library .selected-record-copy{width:100%}
:is(.ios-header,.mobile-disc-view) .expanded-library .now-playing-copy{grid-template-columns:minmax(0,1fr) auto;align-items:start}
:is(.ios-header,.mobile-disc-view) .expanded-library .listening-panel h2{font-size:clamp(28px,6vw,42px);line-height:1.1}
:is(.ios-header,.mobile-disc-view) .expanded-library .record-buy{align-items:flex-end}
:is(.ios-header,.mobile-disc-view) .expanded-library .record-facts{margin-top:18px}
:is(.ios-header,.mobile-disc-view) .expanded-library .listening-panel>.deck-playback-timeline{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;width:100%;position:relative;left:auto;right:auto;bottom:auto;transform:none;margin-top:22px;color:#eee3cf}
:is(.ios-header,.mobile-disc-view) .expanded-library .deck-time{font-size:11px;font-variant-numeric:tabular-nums}
:is(.ios-header,.mobile-disc-view) .expanded-library .deck-time:last-child{text-align:right}
:is(.ios-header,.mobile-disc-view) .expanded-library .library-toolbar{padding:22px 7vw!important;display:block!important;border-top:1px solid #eee3cf1c}
:is(.ios-header,.mobile-disc-view) .expanded-library .library-label{margin-bottom:16px}
:is(.ios-header,.mobile-disc-view) .expanded-library .browse-tools{display:grid;grid-template-columns:minmax(0,1fr) 110px}
:is(.ios-header,.mobile-disc-view) .expanded-library .disc-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;padding:12px 7vw 28px!important;overflow:visible!important}
:is(.ios-header,.mobile-disc-view) .expanded-library .library-mini-player{position:sticky;bottom:0;z-index:4;height:auto;min-height:68px;padding:14px 7vw;padding-bottom:max(14px,env(safe-area-inset-bottom))}
:is(.ios-header,.mobile-disc-view) .expanded-library .listening-panel .deck-waveform .deck-seek{position:absolute;inset:0;width:100%;height:76px;z-index:2;touch-action:none}

/* iOS: browse continuously, with one persistent player and a bottom sheet. */
:is(.ios-header,.mobile-disc-view) .layered-ios-player .listening-room{height:auto;min-height:calc(100dvh - 64px);padding-bottom:calc(104px + env(safe-area-inset-bottom))}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .library-mini-player{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding:10px 18px calc(8px + env(safe-area-inset-bottom));background:#211810;box-shadow:0 -8px 30px #0005}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .mini-player-open{display:flex;align-items:center;gap:12px;min-width:0;padding:0;border:0;text-align:left;touch-action:none}
.mini-player-open img{width:44px;height:44px;object-fit:cover;flex-shrink:0;border-radius:3px}
.mini-player-open>div{min-width:0;display:grid;gap:5px}
#miniPlayerSeek{grid-column:1/-1;width:100%;height:24px;margin:3px 0 0;accent-color:#e7cba2;touch-action:none}
.ios-player-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:720px;height:86dvh;max-height:calc(100dvh - 64px);padding:0;border:1px solid #e3b56c33;border-bottom:0;border-radius:24px 24px 0 0;background:radial-gradient(ellipse at 25% 10%,#54351d,#211810 65%);color:#eee3cf;box-shadow:0 -15px 70px #0006;overflow:hidden}
.ios-player-sheet[open]{display:flex;flex-direction:column;animation:ios-player-rise .24s ease-out}
.ios-player-sheet::backdrop{background:#08050355}
.ios-sheet-head{position:relative;flex-shrink:0;height:65px}
.ios-sheet-handle{position:absolute;left:calc(50% - 44px);top:0;width:88px;height:38px;border:0;background:none;touch-action:none}
.ios-sheet-handle span{display:block;width:36px;border-radius:4px;margin:auto;background:#eee3cf66}
.ios-sheet-close{position:absolute;left:18px;top:16px;width:40px;height:40px;border:0;background:none;color:inherit;font-size:28px}
:is(.ios-header,.mobile-disc-view) .ios-sheet-head .ios-turntable-toggle{top:12px;}
.ios-sheet-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel{padding:8px 7% 16px!important;border:0}
.ios-player-sheet .now-playing-head{display:none}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .sleeve-zone{width:min(56vw,260px)!important}
.ios-player-sheet .record-facts,.ios-player-sheet #recordDescription{display:none}
.ios-player-sheet .deck-area{display:none!important}
.ios-player-sheet.show-turntable .listening-panel{display:none!important}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .deck-area{display:grid!important;height:auto;padding:14px 18px;background:none;box-shadow:none;border:0;gap:12px}
.ios-player-sheet .deck-stage{height:auto;width:100%;aspect-ratio:1.15}
.ios-player-sheet .deck-playback-timeline{position:relative;inset:auto;transform:none;width:100%}
.ios-sheet-controls{flex-shrink:0;display:flex;justify-content:center;padding:12px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #eee3cf15;background:#211810}
.ios-sheet-controls button{min-width:150px;padding:13px 24px;border:1px solid #eee3cf44;border-radius:30px;background:#eee3cf;color:#211810}
/* State is set by the player controller, not by an unused [open] attribute. */
html:is(.ios-header,.mobile-disc-view):has(body.ios-player-expanded){overflow:hidden!important}
:is(.ios-header,.mobile-disc-view) body.ios-player-expanded{overflow:hidden!important;overscroll-behavior:none!important}
@keyframes ios-player-rise{from{transform:translateY(35px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.ios-player-sheet[open]{animation:none}}

/* Touch-controlled player keeps browsing and playback together. */
:is(.ios-header,.mobile-disc-view) .layered-ios-player .listening-room{padding-bottom:calc(var(--player-space,104px) + 24px + env(safe-area-inset-bottom))}
.ios-player-sheet{display:flex;flex-direction:column;height:0;z-index:45;visibility:hidden;transition:height .3s cubic-bezier(.2,.8,.2,1),visibility .3s;box-sizing:border-box}
.ios-player-sheet.is-dragging{transition:none}
.ios-sheet-head{height:58px}
.ios-sheet-handle{height:44px;width:110px;left:calc(50% - 55px)}
.ios-sheet-content{scrollbar-width:thin}
.ios-sheet-controls{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;}
.ios-sheet-controls button{min-width:0;min-height:44px;font-size:14px}
#iosPlaybackStatus{grid-column:1/-1;text-align:center;font-size:12px;color:#d7bfa4;line-height:1.4}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .selected-record{gap:16px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel h2{}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .listening-panel{display:block!important}
.ios-player-sheet.show-turntable .sleeve-zone,.ios-player-sheet.show-turntable #artworkOpen,.ios-player-sheet.show-turntable #playerNotice{display:none!important}
.ios-player-sheet.show-turntable .deck-stage{max-width:520px;margin:auto}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .sleeve-meta strong{font-size:14px;line-height:1.4}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .sleeve-meta small{font-size:13px;white-space:normal}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .sleeve-detail{font-size:11px;letter-spacing:.02em}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .sleeve-price{font-size:13px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .library-mini-player strong{font-size:14px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .library-mini-player span{font-size:12px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player #libraryPlayerPlay{min-height:44px;font-size:12px}
#miniPlayerSeek{-webkit-appearance:none;appearance:none;height:28px;background:transparent;outline-offset:2px}
#miniPlayerSeek::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(to right,#e7cba2 var(--progress,0%),#eee3cf33 var(--progress,0%))}
#miniPlayerSeek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#e7cba2;margin-top:-5.5px}
#miniPlayerSeek::-moz-range-track{height:3px;background:#eee3cf33}
#miniPlayerSeek::-moz-range-progress{height:3px;background:#e7cba2}
#miniPlayerSeek::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#e7cba2}
@media(prefers-reduced-motion:reduce){.ios-player-sheet{transition:none}}

/* Two positions, with a horizontal sleeve browser inside the full player. */
.ios-player-sheet[data-position="expanded"],.ios-player-sheet.is-dragging{visibility:visible}
.layered-ios-player[data-player-position="expanded"] .library-mini-player{visibility:hidden;pointer-events:none}
.ios-sheet-content{display:flex;flex-direction:column;gap:6px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .sleeve-zone{display:none!important}
.ios-player-sheet #artworkOpen,.ios-player-sheet #playerNotice,.ios-player-sheet #recordInquiry{display:none}
.ios-jacket-rail{--jacket-size:min(54vw,30dvh,260px);position:relative;display:flex;flex-shrink:0;align-items:center;gap:26px;width:100%;height:calc(var(--jacket-size) + 42px);padding:12px calc((100% - var(--jacket-size))/2);box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x}
.ios-jacket-rail::-webkit-scrollbar{display:none}
.ios-jacket{position:relative;flex:0 0 var(--jacket-size);width:var(--jacket-size);height:var(--jacket-size);border:0;padding:0;background:none;color:#eee3cf;scroll-snap-align:center;opacity:.5;transform:scale(.88);transition:opacity .3s,transform .4s;isolation:isolate}
.ios-jacket[aria-pressed="true"]{opacity:1;transform:scale(1)}
.ios-jacket .sleeve-art{width:100%;height:100%;z-index:2;background:var(--jacket-color);box-shadow:0 12px 22px #0007}
.ios-jacket .sleeve-art img{z-index:1}
.ios-jacket-disc{position:absolute;z-index:1;width:92%;height:92%;left:4%;top:4%;border-radius:50%;background:repeating-radial-gradient(circle,#101010 0 2px,#252525 3px,#090909 4px);box-shadow:3px 5px 12px #0008;transform:translateX(0);transition:transform .75s cubic-bezier(.2,.8,.2,1)}
.ios-jacket-disc i{position:absolute;inset:34%;border-radius:50%;background:var(--jacket-color);border:1px solid #ffffff44}
.ios-jacket-disc i:after{content:"";position:absolute;inset:43%;border-radius:50%;background:#080808}
.ios-jacket.is-loaded .ios-jacket-disc{transform:translateX(38%)}
.ios-jacket.is-spinning .ios-jacket-disc i{animation:spin 3s linear infinite}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel{padding:6px 7% 8px!important;flex-shrink:0}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel h2{font-size:clamp(20px,5vw,28px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ios-sheet-controls{grid-template-columns:1fr;padding:8px 24px calc(12px + env(safe-area-inset-bottom))}
.ios-sheet-controls>.deck-playback-timeline{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:8px;margin:0;padding:0}
.ios-sheet-controls .deck-waveform,.ios-sheet-controls .deck-waveform canvas,.ios-sheet-controls .deck-waveform .deck-seek{height:52px}
.ios-sheet-controls .deck-waveform .deck-seek{position:absolute;inset:0;width:100%;touch-action:none}
.ios-player-sheet.is-browsing .deck-playback-timeline{visibility:hidden}
.ios-transport{display:flex;align-items:center;justify-content:center;gap:28px}
.ios-transport button{border:0;background:none;color:#eee3cf;min-width:48px;min-height:48px;font-size:36px;padding:0}
.ios-transport #iosSheetPlay{width:60px;height:60px;border-radius:50%;background:#eee3cf;color:#211810;font-size:23px;line-height:1}
.ios-transport #iosSheetPlay:disabled{font-size:11px;padding:5px}
.ios-player-sheet.show-turntable .ios-jacket-rail{--jacket-size:70px;height:88px;gap:18px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .deck-area{padding:0 18px;flex:1;min-height:150px}
.ios-player-sheet.show-turntable .deck-stage{width:min(100%,34dvh);max-width:380px}
#iosPlaybackStatus{min-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-height:650px){.ios-jacket-rail{--jacket-size:min(42vw,25dvh,190px)}.ios-sheet-head{height:48px}.ios-sheet-controls{padding-top:2px}.ios-transport #iosSheetPlay{width:48px;height:48px}.ios-sheet-controls .deck-waveform,.ios-sheet-controls .deck-waveform canvas,.ios-sheet-controls .deck-waveform .deck-seek{height:36px}}
@media(prefers-reduced-motion:reduce){.ios-jacket,.ios-jacket-disc{transition:none}.ios-jacket.is-spinning .ios-jacket-disc i{animation:none}}
@media(max-height:450px){.ios-jacket-rail{--jacket-size:70px;height:90px;padding-top:6px;padding-bottom:6px}.ios-sheet-head{height:40px}:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel h2{font-size:18px;-webkit-line-clamp:1}:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel{padding-top:0!important;padding-bottom:0!important}.ios-sheet-controls{gap:2px;padding-bottom:4px}.ios-player-sheet.show-turntable .ios-jacket-rail{display:none}}

/* Wine transport, beige icon strokes, and olive playback accents. */
.ios-transport{gap:26px;padding:4px 0}
.ios-transport button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #dcccaa38;border-radius:50%;color:#e8d9bd;background:#535b3c;box-shadow:inset 0 1px 0 #f5e5c514,0 3px 8px #0002;transition:background .2s,transform .18s,box-shadow .2s}
.ios-transport button svg{display:block;width:25px;height:25px;pointer-events:none}
.ios-transport #iosSheetPlay{width:64px;height:64px;padding:0;color:#f0e2c9;background:#682d3b;border:1px solid #d9bea45c;box-shadow:0 0 0 5px #682d3b20,inset 0 1px 0 #f5e5c525,0 5px 16px #0004}
.ios-transport #iosSheetPlay svg{width:28px;height:28px}
.ios-transport #iosSheetPlay[aria-pressed="true"]{background:#535b3c;box-shadow:0 0 0 5px #535b3c26,inset 0 1px 0 #f5e5c525,0 5px 16px #0004}
.ios-transport button:active:not(:disabled){transform:scale(.94);box-shadow:inset 0 2px 6px #0003}
.ios-transport button:disabled{opacity:.35;box-shadow:none;cursor:default}
.ios-transport #iosSheetPlay:disabled{padding:0}
.ios-transport button:focus-visible,:is(.ios-header,.mobile-disc-view) .layered-ios-player #libraryPlayerPlay:focus-visible{outline:2px solid #eee0c4;outline-offset:5px}
.ios-sheet-close{display:grid;place-items:center;color:#e8d9bd}
.ios-sheet-close svg{width:24px;height:24px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player #libraryPlayerPlay{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid #d9bea44d;background:#682d3b;color:#f0e2c9}
:is(.ios-header,.mobile-disc-view) .layered-ios-player #libraryPlayerPlay[aria-pressed="true"]{background:#535b3c}
#libraryPlayerPlay svg{width:23px;height:23px;pointer-events:none}
@media(max-height:650px){.ios-transport{padding:2px 0}}
@media(max-height:450px){.ios-transport #iosSheetPlay svg{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.ios-transport button{transition:none}}

/* Keep record details below the turntable, before the shared timeline. */
.ios-player-sheet.show-turntable .ios-jacket-rail{order:0}
.ios-player-sheet.show-turntable .deck-area{order:1}
.ios-player-sheet.show-turntable .listening-panel{order:2}

/* One listening surface: clear record actions and light tied to playback. */
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .now-playing-copy{grid-template-columns:minmax(0,1fr) minmax(92px,auto);gap:12px 18px;}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .record-buy{display:grid;grid-template-columns:1fr;justify-items:end;align-items:start;gap:4px;white-space:normal}
.ios-player-sheet .record-buy strong{font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums}
.ios-player-sheet .record-stock{font-size:10px;line-height:1.4;letter-spacing:.08em}
.ios-player-sheet #recordArtist{font-size:14px;line-height:1.4;margin:5px 0 0;color:#d7bfa4}
.ios-player-sheet .record-actions{gap:8px;margin:4px 0 0}
.ios-player-sheet .record-actions button{width:44px;height:44px;min-width:44px;min-height:44px;padding:8px;border-radius:50%}
.ios-player-sheet .record-actions button:active:not(:disabled){background:#e8d9bd12}
.ios-player-sheet .record-actions button:focus-visible{outline:2px solid #e8d9bd;outline-offset:2px}
.ios-player-sheet .record-actions svg{width:23px;height:23px}
.ios-player-sheet .record-actions img{width:28px;height:30px}
.ios-player-sheet .ios-sheet-close{width:44px;height:44px;top:12px}
.ios-player-sheet .start-stop-control{display:none}
.ios-player-sheet.is-browsing .deck-playback-timeline{visibility:visible}
.ios-sheet-controls{background:linear-gradient(180deg,#21181000,#241c14cc 40%,#211810);border-top:1px solid #dcccaa12;gap:5px}
.ios-sheet-controls .ios-current-track{order:0;min-height:28px;min-width:0;max-width:100%;border:0;border-radius:0;padding:3px 6px;background:none;color:#bfa98b;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;box-shadow:none}
.ios-sheet-controls .ios-current-track[hidden]{display:none}
.ios-sheet-controls .ios-current-track.can-return{text-decoration:underline;text-underline-offset:4px;min-height:44px}
.ios-sheet-controls>.deck-playback-timeline{order:1}
.ios-sheet-controls #iosPlaybackStatus{order:2;font-size:11px;color:#c9b595}
.ios-sheet-controls .ios-transport{order:3}
.ios-player-sheet .deck-area{transition:box-shadow .5s ease}
.ios-player-sheet.is-playing.show-turntable .deck-area{box-shadow:inset 0 18px 70px #d6a95f1c,0 0 40px #b3813510!important;border-radius:45%}
.ios-player-sheet .turntable{transition:filter .5s ease}
.ios-player-sheet.is-playing .turntable{filter:drop-shadow(0 14px 20px #0009) drop-shadow(-7px -6px 15px #edc78026)}
.ios-jacket .sleeve-art{transition:box-shadow .45s,border-color .45s}
.ios-jacket[aria-pressed="true"] .sleeve-art{border-color:#e4d1ad66;box-shadow:0 12px 22px #0007,0 0 0 1px #e4d1ad1c}
.ios-jacket.is-spinning{opacity:1}
.ios-jacket.is-spinning .sleeve-art{border-color:#d4bf83;box-shadow:0 12px 25px #0008,0 0 22px #d6aa6040,0 0 0 1px #78815380}
.ios-player-sheet.is-playing .ios-current-track{color:#e3d2ad}
.ios-player-sheet.is-playing .ios-current-track:before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;border-radius:50%;background:#a8b080;box-shadow:0 0 7px #a8b08088;vertical-align:2px}
@media(max-height:650px){.ios-sheet-controls{}.ios-player-sheet .record-actions{margin:0}.ios-player-sheet .record-buy{gap:1px}.ios-player-sheet .record-buy strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.ios-player-sheet .turntable,.ios-player-sheet .deck-area,.ios-jacket .sleeve-art{transition:none}}

/* Fit the expanded surface to Safari's visible viewport, above its toolbar. */
.ios-player-sheet{bottom:auto;max-height:none;padding-top:env(safe-area-inset-top,0px);border-radius:20px;z-index:1000}
.ios-sheet-head{height:52px}
.ios-sheet-controls{padding:6px max(20px,env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom));gap:3px}
.ios-player-sheet.show-turntable .ios-sheet-content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr) auto;gap:4px;overflow:hidden}
.ios-player-sheet.show-turntable .ios-jacket-rail{grid-row:1;--jacket-size:58px;height:72px;padding-top:5px;padding-bottom:5px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .deck-area{grid-row:2;grid-column:1;min-height:0;height:100%;width:100%;padding:6px 12px;box-sizing:border-box;overflow:visible;display:flex!important;align-items:center;justify-content:center}
.ios-player-sheet.show-turntable .deck-stage{flex:none;max-width:100%;max-height:100%;margin:0;min-height:0;aspect-ratio:1.15}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .listening-panel{grid-row:3;grid-column:1;padding:4px 6% 8px!important}
.ios-sheet-controls .ios-current-track.can-return{min-height:32px}
.ios-player-sheet .record-actions{margin:0;gap:5px}
@media(max-height:650px){.ios-sheet-head{height:46px}.ios-sheet-controls{gap:1px}.ios-player-sheet.show-turntable .ios-sheet-content{grid-template-rows:58px minmax(0,1fr) auto}.ios-player-sheet.show-turntable .ios-jacket-rail{--jacket-size:48px;height:58px}.ios-player-sheet .record-stock{font-size:9px}}
@media(max-height:450px){.ios-player-sheet.show-turntable .ios-sheet-content{grid-template-columns:minmax(0,1fr) minmax(140px,.8fr);grid-template-rows:minmax(0,1fr)}:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .deck-area{grid-row:1;grid-column:1}:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .listening-panel{grid-row:1;grid-column:2;align-self:center}.ios-sheet-controls{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.ios-sheet-controls .ios-current-track{display:none}.ios-sheet-controls #iosPlaybackStatus{display:none}.ios-sheet-head{height:44px}}

/* Leave the site header visible above the expanded iOS player. */
:is(.ios-header,.mobile-disc-view) .layered-ios-player .editorial-header{position:sticky;top:0;z-index:1001}

/* Spacious artwork and grouped controls, within the area below the header. */
.ios-player-sheet{padding-top:0;border-radius:22px 22px 14px 14px;background:radial-gradient(ellipse at 15% 18%,#6a493332,transparent 60%),radial-gradient(ellipse at 90% 85%,#535b3c26,transparent 60%),linear-gradient(155deg,#34251b,#1d1813);border-color:#e8d9bd1c;box-shadow:0 8px 35px #0007}
.ios-sheet-head{height:48px}
.ios-sheet-handle span{width:32px;height:4px;background:#e8d9bd45}
:is(.ios-header,.mobile-disc-view) .ios-sheet-head .ios-turntable-toggle{width:40px;height:40px;top:6px;right:18px;border-color:#e8d9bd24;background:#e8d9bd06}
.ios-sheet-close{top:5px!important;left:16px}
.ios-player-sheet:not(.show-turntable) .ios-sheet-content{justify-content:center;gap:8px;overflow-y:auto}
.ios-player-sheet:not(.show-turntable) .ios-jacket-rail{--jacket-size:min(62vw,calc(var(--player-height,700px)*.36),300px);height:calc(var(--jacket-size) + 38px);min-height:calc(var(--jacket-size) + 38px);gap:30px;flex:1 0 auto}
.ios-jacket .sleeve-art{border-radius:7px}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel{padding:8px 24px 10px!important;background:none}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .now-playing-copy{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:2px 18px;align-items:start}
.ios-player-sheet .now-playing-copy>div:first-child{grid-column:1;grid-row:1/3;align-self:center}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .record-buy{grid-column:2;grid-row:1;gap:2px;text-align:right}
.ios-player-sheet .now-playing-copy>.record-actions{grid-column:2;grid-row:2;justify-self:end;gap:5px;margin:0}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel h2{font-size:clamp(22px,5.5vw,30px);letter-spacing:-.025em;line-height:1.15;margin:0 0 6px}
.ios-player-sheet #recordArtist{font-size:15px;color:#c9bba4;margin:0}
.ios-player-sheet .record-buy strong{font-size:18px;font-weight:500;color:#e8d9bd}
.ios-player-sheet .record-stock{font-size:9px;color:#b6a58c}
.ios-sheet-controls{border-top:0;background:linear-gradient(180deg,transparent,#18161030);padding:8px 24px calc(28px + env(safe-area-inset-bottom));gap:6px}
.ios-sheet-controls .ios-current-track:not(.can-return){display:none}
.ios-player-sheet.is-playing:not(.is-browsing) #iosPlaybackStatus{display:none}
.ios-sheet-controls .deck-waveform,.ios-sheet-controls .deck-waveform canvas,.ios-sheet-controls .deck-waveform .deck-seek{height:44px}
.ios-sheet-controls .deck-time{font-size:11px;color:#b9aa91}
.ios-transport{gap:36px;padding:10px 0 4px}
.ios-transport #iosPrevious,.ios-transport #iosNext{background:none;border-color:transparent;box-shadow:none;color:#c0c69d;width:48px;height:48px}
.ios-transport #iosPrevious svg,.ios-transport #iosNext svg{width:29px;height:29px}
.ios-transport #iosSheetPlay{width:62px;height:62px;box-shadow:inset 0 1px 0 #f5e5c51c,0 4px 14px #0003}
:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet.show-turntable .listening-panel{padding:6px 24px 8px!important}
@media(max-height:650px){.ios-sheet-head{height:44px}.ios-sheet-controls{padding-top:3px;padding-bottom:calc(24px + env(safe-area-inset-bottom));gap:2px}.ios-transport{padding:5px 0 2px}.ios-transport #iosSheetPlay{width:52px;height:52px}:is(.ios-header,.mobile-disc-view) .layered-ios-player .ios-player-sheet .listening-panel h2{font-size:22px}.ios-player-sheet #recordArtist{font-size:13px}.ios-player-sheet .record-buy strong{font-size:16px}}
@media(max-height:450px){.ios-player-sheet:not(.show-turntable) .ios-jacket-rail{--jacket-size:90px;min-height:110px;height:110px}.ios-sheet-controls{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.ios-transport{padding:0}.ios-transport #iosSheetPlay{width:44px;height:44px}.ios-sheet-controls .deck-waveform,.ios-sheet-controls .deck-waveform canvas,.ios-sheet-controls .deck-waveform .deck-seek{height:32px}}

