*{box-sizing:border-box}
:root{color-scheme:dark;font-family:Tahoma,"Noto Sans Arabic",Arial,sans-serif;color:#f6f2e7;background:#102e29}
body{margin:0;min-height:100vh;min-height:100svh;position:relative;isolation:isolate;background:radial-gradient(ellipse at 72% 41%,#255044 0%,#163c34 36%,transparent 72%),#102e29}
header{margin:auto;max-width:1240px;display:flex;align-items:center;justify-content:space-between;padding:clamp(16px,4vw,38px) clamp(20px,5vw,64px);position:relative;z-index:2}
.brand{display:flex;align-items:center;gap:10px;font-size:1.05rem;color:#eedcb8}.brand img{border-radius:10px}
button{font:inherit;cursor:pointer}.station{width:min(760px,91%);margin:auto;text-align:center;padding:clamp(36px,9vh,106px) 0 12vh;position:relative;z-index:1}
.dedication{color:#e4cf9e;font-size:1rem;margin:0 0 14px}
h1,h2,.prayer,.flight{font-family:"Noto Naskh Arabic","Times New Roman",serif}
h1{font-size:clamp(2.35rem,5.2vw,4.55rem);font-weight:500;line-height:1.43;margin:0;text-wrap:balance;text-shadow:0 3px 18px #102e29}
.prayer{color:#e2e4d3;font-size:clamp(1.12rem,2.1vw,1.48rem);line-height:1.9;margin:.6rem 0 2.4rem}
.portrait-frame{position:absolute;z-index:-1;pointer-events:none;overflow:hidden;left:0;top:12%;width:min(48vw,660px);aspect-ratio:1.04;opacity:.23;filter:grayscale(.8);mask-image:radial-gradient(ellipse 58% 58% at 46% 45%,black 29%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 58% 58% at 46% 45%,black 29%,transparent 100%)}
.portrait{position:absolute;width:238%;max-width:none;height:auto;left:-9%;top:-1%}
.controls{max-width:470px;margin:auto;padding:26px 18px 24px;border-radius:24px;border:1px solid #c4b47d55;background:linear-gradient(150deg,#17372fe8,#0c2924eb);box-shadow:0 16px 42px #071e1a38}
.channel{color:#cfceb9;font-size:.96rem}
h2{margin:8px 0 18px;color:#faf0d7;font-size:clamp(1.85rem,4vw,2.6rem);font-weight:500}
#sound,dialog button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:10px 27px;border-radius:50px;border:0;background:#ead39d;color:#12352b;font-weight:bold}
#sound{min-width:160px}button:hover{filter:brightness(1.08)}button:focus-visible{outline:3px solid #fff;outline-offset:4px}
.playback-state{display:flex;align-items:center;justify-content:center;gap:9px;min-height:24px;margin:0 0 16px;color:#e5d6b9;font-size:.95rem}
.playback-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#bdc5b8}
.station[data-playback=loading] .playback-dot,.station[data-playback=retry] .playback-dot{background:#ead39d}
.station[data-playback=playing] .playback-state{color:#bff4d8}
.station[data-playback=playing] .playback-dot{background:#83efb5;box-shadow:0 0 0 4px #83efb529}
.playback-icon{flex:none;width:16px;height:16px;background:currentColor;clip-path:polygon(15% 0,95% 50%,15% 100%)}
#sound[data-action=pause] .playback-icon{clip-path:polygon(10% 0,38% 0,38% 100%,10% 100%,10% 0,62% 0,90% 0,90% 100%,62% 100%,62% 0)}
#message{font-size:.93rem;line-height:1.6;color:#e5d6b9;margin:14px 0 0}#message:empty{display:none}
#install{border:1px solid #bfa97875;border-radius:24px;background:#133b31;color:#f3e4c5;padding:8px 16px;min-height:44px;font-size:.94rem}
[hidden]{display:none!important}dialog{border:1px solid #ad9767;border-radius:18px;background:#12372f;color:#f4ecdc;text-align:right;max-width:min(420px,90vw);line-height:1.8;padding:24px}dialog h2{font-size:1.55rem}dialog::backdrop{background:#071812ba}
.garden{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.flight{position:absolute;display:grid;justify-items:center;gap:4px;opacity:.72;color:#f6f1de;font-size:1.05rem;animation:float 16s ease-in-out infinite alternate}
.flight:nth-child(1){right:7%;top:22%}.flight:nth-child(2){left:9%;top:64%;animation-delay:-9s}.flight:nth-child(3){right:18%;bottom:8%;animation-delay:-6s}
.butterfly{width:27px;height:21px;position:relative;display:block;transform:rotate(-15deg)}
.butterfly i{position:absolute;left:50%;top:0;width:50%;height:70%;background:#fffdf4;border-radius:80% 18% 80% 22%;transform-origin:0 85%;animation:wing 2.1s ease-in-out infinite alternate}
.butterfly i:after{content:"";position:absolute;inset:65% 28% -28% 0;background:#eeeadd;border-radius:30% 75% 82% 55%}
.butterfly i:first-child{left:auto;right:50%;scale:-1 1;transform-origin:center}
@keyframes float{from{transform:translate(-4px,0) rotate(-3deg)}45%{transform:translate(19px,-20px) rotate(3deg)}to{transform:translate(32px,12px) rotate(-1deg)}}
@keyframes wing{from{transform:scaleX(.55) rotate(-7deg)}to{transform:scaleX(1) rotate(5deg)}}
@media(max-width:720px){.portrait-frame{width:80vw;top:9%;opacity:.18;left:0}.station{padding-top:clamp(75px,13svh,125px);padding-bottom:110px}.prayer{margin:12px 0 28px}.flight:nth-child(1){top:12%;right:10%}.flight:nth-child(2){top:auto;bottom:5%;left:10%}.flight:nth-child(3){right:14%;bottom:5%}.flight{font-size:.93rem}}
@media(prefers-reduced-motion:reduce){.flight,.butterfly i{animation:none}}
