*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;font-family:Tahoma,Arial,sans-serif;color:#f5f2eb;background:#16394e url(sea.svg) center/cover fixed no-repeat}body:before{content:"";position:fixed;inset:0;background:linear-gradient(180deg,#081a3040,#071d31b0);z-index:-1}main{max-width:1180px;margin:auto;padding:24px 22px}header{text-align:center;margin-bottom:26px;text-shadow:0 4px 22px #10233680}h1{font-family:Georgia,'Traditional Arabic',serif;font-size:clamp(64px,9vw,104px);margin:0;color:#fff3d8;line-height:1.12}h2{margin:0 0 10px;font-size:23px}.subtitle{font-size:24px;color:#ffe4bd;margin:7px 0}.eyebrow,.muted{font-size:13px;color:#d6e1e5;line-height:1.75}.glass{background:linear-gradient(140deg,#20465edc,#102d43ed);border:1px solid #ffffff50;border-radius:22px;padding:24px;box-shadow:0 14px 40px #00172a50;backdrop-filter:blur(15px)}.gate{max-width:450px;margin:0 auto;text-align:center}.gate form{text-align:right;display:grid;gap:10px}.gate p{line-height:1.9}button,input{font:inherit;border:1px solid #ffffff45;border-radius:12px;color:inherit;background:#ffffff14;padding:10px 13px}button{cursor:pointer}button:hover{background:#ffffff28}button:disabled{opacity:.5;cursor:wait}button[aria-pressed=true]{border-color:#f0d4a5;background:#e8c18d35}input{width:100%;background:#092b426e}input::placeholder{color:#cbd6df}button.primary{background:#f0d5aa;color:#18364d;font-weight:bold;border-color:#f6e4c8}.top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;margin-bottom:16px}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px}.player{text-align:center}.disc{width:170px;height:170px;border-radius:50%;margin:18px auto;display:grid;place-items:center;background:repeating-radial-gradient(circle,#173a50 0 3px,#294b5c 4px 5px);border:2px solid #a5c0c8;box-shadow:0 10px 25px #0005}.disc span{display:grid;place-items:center;width:70px;height:70px;background:#ddc297;color:#173a50;border-radius:50%;font-size:36px}.disc.playing{animation:rotate 16s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}audio{width:100%;margin:12px 0}.controls,.filters{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.track{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff21;padding:10px 0}.track.active{background:#ffffff11;border-radius:10px}.track .select{flex:1;text-align:right;border:0;background:transparent;padding:6px;min-width:0}.track .select strong,.track .select small{display:block;overflow-wrap:anywhere}.track .select small{color:#b9cdd8;margin-top:5px}.track button:not(.select){padding:7px 10px}.dedication{text-align:center;margin-top:16px}.dedication p{line-height:1.9;color:#f5e6cf}.dedication h2{color:#f0d5aa}footer{text-align:center;font-size:12px;color:#e0e5e5;margin:24px 0}.library{min-width:0}#tracks{max-height:490px;overflow:auto}#status,#loginMsg{min-height:22px;color:#f4d6ab}@media(max-width:760px){.layout{grid-template-columns:1fr}.glass{padding:17px}main{padding:16px 12px}.sectionhead{flex-wrap:wrap}.top{font-size:12px}.disc{width:140px;height:140px}.controls button{padding:8px 10px}}@media(prefers-reduced-motion:reduce){.disc.playing{animation:none}}

/* Original portrait as the gift cover; keep the complete portrait visible. */
body{background:#211d23;isolation:isolate;position:relative}
body::before{z-index:-2;background:linear-gradient(90deg,#171c2960,#1b2639d9),url(gift-cover.png) center/cover no-repeat;filter:blur(22px);transform:scale(1.06);pointer-events:none}
body::after{content:"";position:fixed;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,#10203205 0%,#17273855 48%,#172738a0 100%)}
main{position:relative;max-width:1180px}header{text-shadow:0 3px 20px #0009}.glass{background:linear-gradient(140deg,#27394de6,#192a3be8);border-color:#f4e4d75c}footer{color:#f8eee5;text-shadow:0 2px 8px #000}
body:not(.unlocked) main{max-width:1250px;min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:clamp(22px,5vw,76px);align-content:center;align-items:center;padding:clamp(18px,3vw,48px);direction:ltr}
body:not(.unlocked) .cover{grid-column:1;grid-row:1/4;align-self:center;width:100%;height: min(86svh,840px);min-height:360px;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:24px;background:#151c2470;border:1px solid #fff4;box-shadow:0 18px 58px #0006}
.cover img{display:block;width:100%;height:100%;object-fit:contain}
body:not(.unlocked) header{grid-column:2;grid-row:1;direction:rtl;margin:0 0 20px}body:not(.unlocked) .gate{grid-column:2;grid-row:2;direction:rtl;width:100%;max-width:460px}body:not(.unlocked) footer{grid-column:2;grid-row:3;direction:rtl;margin:20px 0 0}
body.unlocked .cover{display:none}body.unlocked::before{background:linear-gradient(#102536b0,#102536d9),url(sea.svg) center/cover no-repeat;filter:none;transform:none}
@media(max-width:760px){body:not(.unlocked) main{display:flex;flex-direction:column;gap:16px;justify-content:center;padding:20px 14px}body:not(.unlocked) header{order:0;margin:0}body:not(.unlocked) h1{font-size:clamp(54px,14vw,78px)}body:not(.unlocked) .cover{order:1;min-height:0;height:auto;max-width:350px;aspect-ratio:892/1280}body:not(.unlocked) .gate{order:2}body:not(.unlocked) footer{order:3;margin:0}.cover img{height:auto;max-height:none}body::before{transform:none;filter:blur(12px)}}
