/* V76 — Qur'an tools; preserve the site's existing celestial palette and original players. */
.sbs76-section{padding:32px 0 38px;background:linear-gradient(135deg,#f7f2fc,#f9f7ef)}
.sbs76-panel{background:#fffdf9;color:#26133d;border:1px solid #e2d4e6;border-radius:24px;padding:clamp(17px,3vw,30px);box-shadow:0 12px 38px #29153e0c;max-width:1050px;margin:0 auto}
.sbs76-panel h2{font-size:clamp(1.65rem,3.2vw,2.35rem);line-height:1.22;margin:.2em 0 .55em;color:#28133e}
.sbs76-panel p{color:#564969;line-height:1.6;margin:.4em 0 1em}
.sbs76-panel .sbs76-eyebrow{color:#654386;font-weight:750;letter-spacing:.11em;text-transform:uppercase;font-size:.76rem}
.sbs76-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:16px 0}
.sbs76-actions label{display:flex;flex-direction:column;gap:5px;min-width:105px;font-weight:650;font-size:.91rem;color:#34214b}
.sbs76-actions select{padding:10px;border:1px solid #c8b7d3;border-radius:10px;background:#fff;color:#221036;min-height:44px;max-width:100%;font:inherit}
.sbs76-actions label.sbs76-checkbox{flex-direction:row;align-items:center;gap:8px;min-height:44px}
.sbs76-actions input[type=checkbox]{width:18px;height:18px}
.sbs76-btn,.sbs76-add-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;cursor:pointer;border-radius:12px;border:1px solid #48245f;background:#2e154b;color:#fff;font:inherit;font-size:.93rem;font-weight:750;line-height:1.25}
.sbs76-btn.sbs76-alt{background:#fff;color:#32194b}
.sbs76-btn:focus-visible,.sbs76-add-btn:focus-visible,.sbs76-small-btn:focus-visible{outline:3px solid #d3a73f;outline-offset:3px}
.sbs76-add-btn{margin-top:12px;width:100%;background:#f7e9b8;color:#261336;border-color:#d5b65b;font-size:.91rem}
.sbs76-list{list-style:none;margin:15px 0;padding:0;display:grid;gap:9px;max-height:360px;overflow-y:auto}
.sbs76-list-item{border:1px solid #e2d8e7;border-radius:13px;padding:11px 13px;display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;background:#f9f6fb}
.sbs76-list-name{min-width:0;display:grid;line-height:1.45;flex:1 1 185px}
.sbs76-list-name strong{overflow-wrap:anywhere;color:#2a173c}
.sbs76-list-name small{color:#6d5e78}
.sbs76-list-controls{display:flex;gap:6px;flex-wrap:wrap}
.sbs76-small-btn{background:#fff;border:1px solid #c9b8d6;color:#321848;border-radius:9px;min-height:42px;padding:6px 10px;cursor:pointer;font-size:.88rem;font-weight:700}
.sbs76-small-btn:disabled{opacity:.38;cursor:default}
.sbs76-panel audio{width:100%;margin:12px 0}
.sbs76-current{font-weight:750;color:#281439!important;margin:12px 0 5px!important}
.sbs76-status{min-height:26px;color:#4d3b63!important;font-size:.93rem}
.sbs76-error{color:#a62332!important}
.sbs76-muted{font-size:.87rem;color:#63586e!important}
.sbs76-panel [hidden],.sbs76-section[hidden]{display:none!important}
@media(max-width:600px){.sbs76-section{padding:22px 0}.sbs76-panel{border-radius:18px;padding:17px}.sbs76-actions{gap:9px}.sbs76-actions label{flex:1 1 110px}.sbs76-actions button{flex:1 1 125px}.sbs76-list-controls{width:100%}.sbs76-small-btn{flex:1}.sbs76-list{max-height:310px}}

/* An existing social invitation may reappear after listening, but must never cover recitation controls while audio is playing. */
body.sbs76-listening-active .social-welcome{display:none!important}

.sbs76-ayah-text{font-family:"Noto Naskh Arabic",Amiri,serif!important;font-size:clamp(1.65rem,4vw,2.15rem)!important;line-height:2!important;color:#281338!important;background:#f8f2fc;border:1px solid #e7d7ef;border-radius:14px;padding:16px 22px;min-height:96px;text-align:center}
