@font-face{font-family:MaulanaHind;src:url(../fonts/HindSiliguri-Regular.ttf)}
@font-face{font-family:MaulanaHind;src:url(../fonts/HindSiliguri-Bold.ttf);font-weight:700}
.maulana-compose,.maulana-player{font-family:MaulanaHind,sans-serif;color:#073c32;background:linear-gradient(156deg,#f7fffe,#e4faf7 60%,#cdf1ec);border-radius:20px;padding:14px;max-width:650px;margin:0 auto 24px}
.maulana-compose h1{font-size:clamp(22px,5vw,30px);margin:12px 0 0}
.maulana-compose h1+p{margin:0 0 10px}
.maulana-brand{display:flex;align-items:center;gap:10px;padding:9px 14px;background:linear-gradient(115deg,#004436,#007c68 70%,#25b6aa);border-radius:14px;color:white;border-bottom:3px solid #e8c561}
.maulana-brand img{width:44px;height:44px;object-fit:contain}
.maulana-brand strong,.maulana-brand small{display:block}
.maulana-brand strong{font:700 20px system-ui}
.maulana-stage{position:relative;overflow:hidden;border-radius:14px;background:#004b39;aspect-ratio:2/1;border:2px solid #eacb77;isolation:isolate}
.maulana-stage img{display:block;width:100%;height:auto;position:absolute;top:0}
.maulana-stage[data-avatar=emerald]{border:4px solid #038d6c}
.maulana-mouth{position:absolute;left:41.2%;top:90.5%;width:13.3%;height:9%;background:url(avatar.webp) 47.5% 47.7% / 750% 1000%;transform-origin:center;transform:scaleY(var(--mouth,1));display:none}
.maulana-stage.playing .maulana-mouth{display:block}
.maulana-live,.maulana-stage p{position:absolute;background:#003b32e8;color:#fff;border-radius:14px;padding:4px 10px}
.maulana-live{top:8px;right:8px}
.maulana-stage p{bottom:6px;left:4%;right:4%;margin:0;text-align:center;font-size:14px}
.maulana-compose form{display:grid;gap:9px;margin-top:10px}
.maulana-compose fieldset{border:0;padding:0;margin:0;min-width:0}
.maulana-compose legend,.maulana-compose label{font-weight:700}
.maulana-modes,.maulana-actions{display:flex;gap:7px;flex-wrap:wrap}
.maulana-modes label{flex:1;min-width:64px;text-align:center;margin:0;position:relative}
.maulana-modes input{position:absolute;opacity:0;width:1px}
.maulana-modes span{display:block;padding:8px 4px;border-radius:9px;background:#faffff;border:1px solid #c4e4df}
.maulana-modes input:checked+span{color:#fff;background:#006b57;border-color:#e6c167}
.maulana-modes input:focus-visible+span{outline:3px solid #0a7066}
.maulana-compose textarea,.maulana-compose input:not([type=radio],[type=checkbox]),.maulana-compose select{background:#fcffff;border:1px solid #b6dcd5;border-radius:8px}
.maulana-actions button,.maulana-player button{border:1px solid #92dfcd;border-radius:12px;background:linear-gradient(#ecfff9,#c1f0e3);color:#084c3e;padding:8px 12px;font:700 15px MaulanaHind}
.maulana-actions button[value=maulana_send],.maulana-player button.primary{background:linear-gradient(#009c76,#005141);color:white;border-color:#e5bd56}
.maulana-confirm{width:100%}
.maulana-compose audio,.maulana-player audio{width:100%}
.maulana-compose [hidden],.maulana-player [hidden]{display:none!important}
.maulana-player{margin:16px auto;box-shadow:0 6px 24px #00514822}
.maulana-player .maulana-stage{aspect-ratio:530/400}
.maulana-player .maulana-mouth{top:54.2%;height:5.7%}
.maulana-subtitle{background:#f4fffc;border:1px solid #addbd2;border-radius:14px;padding:12px;white-space:pre-wrap}
.maulana-player .maulana-actions{justify-content:center;margin:10px 0}
.maulana-mouth{background:url(mouth.webp) center/100% 100%;top:79.25%;height:9.43%}
.maulana-player .maulana-mouth{top:52.5%;height:6.25%}
.maulana-stage.playing{animation:maulana-head 3.4s ease-in-out infinite}
@keyframes maulana-head{50%{transform:rotate(.25deg)}}
@media(prefers-reduced-motion:reduce){.maulana-stage.playing{animation:none}.maulana-mouth{transform:none}}
.maulana-compose .maulana-brand{min-height:52px;background:url(mosque-header.webp) right bottom / auto 98% no-repeat,linear-gradient(115deg,#003f36,#007c68 70%,#25b6aa)}
.maulana-compose .maulana-brand>div{background:#00564dbd;border-radius:8px;padding:3px 7px}
.maulana-player::after{content:"";display:block;height:54px;background:url(footer.webp) center / 100% 100%;border-radius:0 0 13px 13px}
.maulana-player h1{font-size:clamp(20px,5vw,32px);margin:10px 0;text-align:center}
.maulana-timeline{display:flex;gap:6px;align-items:center;font-variant-numeric:tabular-nums}
.maulana-timeline input{min-width:0;flex:1;accent-color:#00866b}
.maulana-player .maulana-actions{align-items:center}
.maulana-player .maulana-actions button,.maulana-control-link{min-width:42px;min-height:42px}
.maulana-player .maulana-actions button.primary{width:56px;height:56px;border-radius:50%;border-width:2px;font-size:24px}
.maulana-control-link{display:grid;place-items:center;text-decoration:none;border:1px solid #92dfcd;border-radius:12px;background:#e5fbf3;color:#084c3e}
.maulana-player a{color:#005c4b}
