.ph-nav .pn-rail { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ph-nav .pn-globe { flex: none; width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; color: rgba(244, 241, 232, .82); transition: background .3s, color .3s, box-shadow .3s; }
.ph-nav .pn-globe:active { background: rgba(255, 255, 255, .08); }
html.ld-open .ph-nav .pn-globe { background: rgba(214, 168, 98, .22); box-shadow: inset 0 0 0 1.5px rgba(214, 168, 98, .75); color: #f1d3a0; }
.ld-catch { position: fixed; inset: 0; z-index: 61; display: none; }
html.ld-open .ld-catch { display: block; }
.ld-drawer {
position: fixed; z-index: 62; left: 0; bottom: var(--ld-bottom, 120px); width: calc(var(--ld-w, 218px) + 52px); height: var(--ld-dh, calc(var(--ld-h, 138px) * 2.45));
border-radius: 0 22px 22px 0; transform: translateX(calc(-100% - 16px)); visibility: hidden;
transition: transform 1.05s cubic-bezier(.1, .9, .2, 1), visibility 0s linear 1.05s;
background: linear-gradient(90deg, #2a2016, #3a2c1d 70%, #4a3825);
box-shadow: inset -2px 0 0 #6b5233, inset 0 2px 0 rgba(255, 255, 255, .08), 10px 0 30px rgba(0, 0, 0, .55);
}
html.ld-open .ld-drawer { transform: none; visibility: visible; transition: transform 1.05s cubic-bezier(.1, .9, .2, 1), visibility 0s; }
html.ld-closing .ld-drawer { visibility: visible; transition: transform .62s cubic-bezier(.55, 0, .8, .2); }
.ld-pull { position: absolute; right: -12px; top: 50%; width: 12px; height: 80px; margin-top: -40px; border-radius: 0 8px 8px 0; background: linear-gradient(90deg, #6b5233, #8a6a40); box-shadow: 2px 0 6px rgba(0, 0, 0, .4); }
.ld-well {
position: absolute; left: 10px; right: 12px; top: 12px; bottom: 12px; border-radius: 16px; overflow: hidden; touch-action: none; cursor: grab; outline: none;
background: linear-gradient(#0a0b0d, #16181c 30%, #16181c 70%, #0a0b0d); box-shadow: inset 0 5px 9px -2px rgba(0, 0, 0, .7), inset 3px 0 6px -3px rgba(0, 0, 0, .6);
}
.ld-well:focus-visible { box-shadow: inset 0 5px 9px -2px rgba(0, 0, 0, .7), 0 0 0 2px #d6a862; }
.ld-well::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .62)); }
.ld-stage { position: absolute; inset: 0; perspective: 560px; perspective-origin: 50% 50%; transform-style: preserve-3d; }
:is(.ld-stage, .ld-flight) .cassette {
position: absolute !important; width: var(--ld-w) !important; height: var(--ld-h) !important; aspect-ratio: auto !important; padding: 0; border: 0;
animation: none !important; transition: none !important; scroll-snap-align: none; --t: 30px;
}
.ld-stage .cassette { left: 50%; top: 50%; margin: calc(var(--ld-h) / -2) 0 0 calc(var(--ld-w) / -2) !important; }
:is(.ld-stage, .ld-flight) .cassette .cs-front { box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .3), inset -1px -1.5px 0 rgba(0, 0, 0, .35), 0 9px 14px -6px rgba(0, 0, 0, .6); }
:is(.ld-stage, .ld-flight) .cassette.center .cs-front { box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .34), inset -1px -1.5px 0 rgba(0, 0, 0, .35), 0 14px 20px -6px rgba(0, 0, 0, .72); }
.ld-mouth { position: absolute; left: 50%; top: 50%; width: calc(var(--ld-w, 218px) + 10px); height: 38px; margin: -19px 0 0 calc(var(--ld-w, 218px) / -2 - 5px); z-index: 1; border-radius: 7px;
background: linear-gradient(#000, #0b0f14 60%, #000); box-shadow: inset 0 4px 7px #000, 0 0 0 1.5px rgba(214, 168, 98, .5); opacity: 0; transition: opacity .3s; }
.lp-slot.ld-lid .ld-mouth { opacity: 1; }
.lp-slot:not(.ld-lid) .ld-mouth { transition: opacity .18s ease .5s; }
.lp-slot .lp-well { perspective: 520px; }
.lp-slot .lp-plate { transform-origin: 50% 0; rotate: x 0deg; transition: rotate .82s cubic-bezier(.3, 1.32, .5, 1), filter .7s ease; }
.lp-slot.ld-lid .lp-plate { rotate: x 84deg; filter: brightness(.7); transition: rotate .78s cubic-bezier(.3, .05, .2, 1), filter .78s ease; }
.ld-flight { position: fixed; width: 0; height: 0; z-index: 63; perspective: 560px; perspective-origin: 0 0; transform-style: preserve-3d; pointer-events: none; transition: opacity .25s; }
.ld-flight .cassette { left: calc(var(--ld-w) / -2); top: calc(var(--ld-h) / -2); margin: 0 !important; }
.ld-toast { position: fixed; left: 50%; z-index: 64; transform: translate(-50%, -6px); opacity: 0; transition: opacity .4s, transform .4s; padding: 8px 14px; border-radius: 999px; background: #3a2f22;
box-shadow: inset 0 0 0 1px rgba(214, 168, 98, .6); font: 600 13px var(--font-ui); color: #f1e6d2; white-space: nowrap; pointer-events: none; }
.ld-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ld-drawer, .lp-slot .lp-plate, .ld-mouth { transition: none !important; } }
body.ui-still .ld-drawer, body.ui-still .lp-slot .lp-plate { transition: none !important; }
.cassette.cs-enar .cs-name, .cassette.cs-enar .sp-label { color: #b8322b; font-family: 'Noto Naskh Arabic', 'Geeza Pro', 'Amiri', serif; font-weight: 700; }
.cassette.cs-enar .cs-name { font-size: 15px; line-height: 1.05; }
.cassette.cs-enar .cs-sub { color: #8a2a24; }
.enar-note { position: fixed; z-index: 70; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: min(360px, calc(100vw - 32px));
transform: translate(-50%, 10px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; padding: 12px 14px; border-radius: 16px;
background: #f4efe4; color: #2a2620; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1.5px #b8322b; font: 500 13.5px/1.35 var(--font-ui); }
.enar-note.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.enar-note b { grid-row: span 2; font: 700 22px/1 'Noto Naskh Arabic', 'Geeza Pro', 'Amiri', serif; color: #b8322b; }
.enar-note span { grid-column: 2; }
.enar-note button { grid-column: 2; justify-self: start; border: 0; border-radius: 999px; padding: 7px 14px; font: 650 13px var(--font-ui); background: #b8322b; color: #fff; }
.enar-note .en-keep { grid-column: 2; justify-self: end; margin-top: -36px; background: transparent; color: #5b5146; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate { transition: rotate .82s cubic-bezier(.3, 1.32, .5, 1), background-color 0s linear .86s, box-shadow 0s linear .86s !important; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot.ld-lid .lp-plate { background-color: #fff !important; transition: rotate .78s cubic-bezier(.3, .05, .2, 1), background-color 0s, box-shadow 0s !important;
box-shadow: inset 0 -16px 18px -10px rgba(60, 50, 30, .28), 0 1px 0 rgba(255, 255, 255, .5) !important; }
html.ph[data-tone='dark'] #empty :is(.ph-scene, .ph-simple) .lp-slot.ld-lid .lp-plate { background-color: #1e2227 !important;
box-shadow: inset 0 -16px 18px -10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07) !important; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot:not(.tk-feed) .ld-mouth { left: 3px; right: 3px; top: 3px; bottom: 3px; width: auto; height: auto; margin: 0; border-radius: 999px;
background: linear-gradient(#000, #0a0d11 55%, #05070a); box-shadow: inset 0 7px 10px #000, inset 0 -1px 0 rgba(255, 255, 255, .07), 0 0 0 1px rgba(214, 168, 98, .35); }
@media (prefers-reduced-motion: reduce) { html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate { transition: none !important; } }
html.ph body.ui-still #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate { transition: none !important; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate { transform-style: preserve-3d; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate::before { content: ''; position: absolute; left: 18px; right: 18px; bottom: 0; height: 14px; border-radius: 3px;
transform-origin: 50% 100%; transform: rotateX(90deg); pointer-events: none; opacity: 0; transition: opacity 0s linear .86s;
background: linear-gradient(#e6dfd0, #c9bfac 70%, #b3a993); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
html.ph[data-tone='dark'] #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate::before { background: linear-gradient(#2c3239, #16191d 70%, #0d0f12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot.ld-lid .lp-plate::before { opacity: 1; transition: opacity 0s; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate::before { left: 0; right: 0; height: 8px; border-radius: 30px / 8px;
background: linear-gradient(90deg, rgba(60, 45, 20, .3), rgba(60, 45, 20, 0) 9%, rgba(60, 45, 20, 0) 91%, rgba(60, 45, 20, .3)), linear-gradient(#efe8da, #d3c9b4 55%, #b7ac95); }
html.ph[data-tone='dark'] #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate::before {
background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 9%, rgba(0, 0, 0, 0) 91%, rgba(0, 0, 0, .45)), linear-gradient(#323941, #1a1d22 60%, #0d0f12); }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot.ld-lid .lp-well { overflow: visible; z-index: 5; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-plate::before { display: none; }
.lp-thk { display: none; }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-thk { display: block; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
transform: translateZ(calc(var(--k) * -.75px)); opacity: 0; transition: opacity 0s linear .86s;
background: color-mix(in srgb, #cfc5b1 calc(100% - var(--k) * 4%), #8f846e); }
html.ph[data-tone='dark'] #empty :is(.ph-scene, .ph-simple) .lp-slot .lp-thk { background: color-mix(in srgb, #2a3038 calc(100% - var(--k) * 5%), #07080a); }
html.ph #empty :is(.ph-scene, .ph-simple) .lp-slot.ld-lid .lp-thk { opacity: 1; transition: opacity 0s; }
