@media (max-width:950px){
 #scene{--stage-height:clamp(445px,64svh,640px);height:auto;min-height:100svh;background:#110d0b}
 .master,.ambient,.sparkles{height:var(--stage-height)}
 .master{object-position:55% 24%}
 .glass{height:var(--stage-height);width:158%;left:-31%;opacity:.86}
 .halo{display:block;top:9%;left:38%;width:58%;border-color:#ffe1b630}
 #mobile-view{position:relative;inset:auto;padding:0;display:block;background:none}
 .mobile-top{position:absolute;top:0;left:0;right:0;z-index:2;padding:18px 6%;background:linear-gradient(#100b09b3,transparent)}
 #mobile-settings{padding:8px;color:#fff1da;text-shadow:0 1px 4px #000}
 .mobile-copy{display:flow-root}
 .stage-portrait{min-height:var(--stage-height);padding:110px 6% 24px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;background:linear-gradient(0deg,#110d0b 0%,#130c099e 19%,transparent 52%),linear-gradient(90deg,#170f0a55,transparent 68%)}
 .mobile-copy .kicker{color:#f3d3aa;font-size:11px;letter-spacing:.16em;text-shadow:0 1px 6px #0d0705}
 .mobile-copy h1{font:normal clamp(62px,16vw,98px)/.82 Georgia,serif;letter-spacing:-.055em;margin:13px 0 15px}
 .mobile-copy h1 em{color:#efba89}
 .mobile-copy p{font-size:11px;line-height:1.45;letter-spacing:.1em;margin:0;max-width:70%}
 .mobile-actions{margin:0 6%;display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .mobile-actions>*{min-height:44px}
 .mobile-actions button,.mobile-actions a{font-size:12px;letter-spacing:.1em}
 .mobile-actions button:first-child,.mobile-actions button:nth-child(2){position:relative;isolation:isolate;overflow:hidden;min-height:82px;justify-content:flex-start;align-items:flex-end;padding:12px 14px;color:#fff1df;border-radius:8px;background:linear-gradient(0deg,#180e08f5,transparent 95%),url('assets/5e4e792f584d3a16.webp') center 72%/cover}
 .mobile-actions button:nth-child(2){background-image:linear-gradient(0deg,#110b09f2,transparent 95%),url('assets/cbea1f8f9b3d0633.webp');background-position:center 45%}
 .mobile-actions button:nth-child(-n+2)::after{content:"▷";position:absolute;right:14px;bottom:12px;color:#ffdab5}
 .mobile-actions button:first-child::before{content:"";position:absolute;inset:0;background:linear-gradient(108deg,transparent 38%,#fbd09b36 49%,transparent 60%);transform:translateX(-120%);animation:stageSweep 8s ease-in-out infinite}
 @keyframes stageSweep{0%,55%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
 .motion-paused .mobile-actions button:first-child::before{animation-play-state:paused}
 .phone-tracks{margin:27px 6% 0}
 .phone-tracks h2{margin:0 0 9px;font:italic 26px Georgia,serif;color:#f3dac0}
 .phone-tracks button{border:0;border-top:1px solid #73523b90;width:100%;text-align:start;background:transparent;color:#f5e7d6;display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 2px}
 .phone-tracks .rail-index{font-size:11px;color:#d5a879}
 .phone-tracks .rail-title{font-size:16px;font-weight:500}
 .phone-tracks .rail-title small{display:block;font-size:11px;color:#bfa993;margin-top:2px}
 .phone-tracks .rail-arrow{margin-inline-start:auto;color:#efc49c;border:1px solid #806445;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:13px}
 .mobile-bottom{margin:13px 6% max(22px,env(safe-area-inset-bottom));flex-wrap:wrap}
 .mobile-bottom button{font-size:11px;min-height:44px}
 html[lang=ar] .mobile-copy{direction:rtl}
}
@media(min-width:560px) and (max-width:950px){.master{object-position:50% 32%}.phone-tracks>div{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}}
@media(prefers-reduced-motion:reduce){.mobile-actions button:first-child::before{animation:none}}
@media(max-width:950px){
 #mobile-profiles{position:absolute;right:4%;top:65px;z-index:2;display:grid;border-radius:24px;background:rgba(24,16,13,.72);border:1px solid rgba(226,181,135,.32)}
 #mobile-profiles>a,#mobile-profiles>button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#f6dfc4}
 #mobile-profiles svg{width:21px;height:21px}
 #mobile-profiles>a:active,#mobile-profiles>button:active{background:#60452e}
 .stage-portrait>.kicker,.stage-portrait>h1{max-width:calc(100% - 50px)}
}
