/* Ayah Studio v83 — screenshot-aligned Audio sheets; stable Qur'an typography.
   Theme remains the original Ayah Studio navy and gold. */
#panel-quran:not(.q83-reading-view)>:not(#q74Home){
 display:none!important;
}
#panel-quran.q83-reading-view #q74Home,
#panel-quran #q74Home[hidden]{display:none!important}
#panel-quran #q74Home .q74-play-surah{display:none!important}
#panel-quran .qs-reader .qs-ayah.active,
#panel-quran .qs-reader .qs-ayah.q79-reciting{
 background:transparent!important;
 color:inherit!important;
 border-left:3px solid var(--gold,#d8b475);
 box-shadow:none!important;
 padding-left:11px!important;
 padding-right:11px!important;
}
#panel-quran .qs-reader .qs-ayah.q79-reciting .qs-arabic{
 color:var(--qfg,#f6eee0)!important;
 text-decoration:none!important;
}
#panel-quran .qs-reader .qs-ayah.q79-reciting .qs-verse-top>strong{
 color:var(--qmuted,#b6c9cb)!important;
}
#panel-quran .qs-reader .qs-ayah.q79-reciting .qs-meaning{
 color:var(--qmuted,#b6c9cb)!important;
}
#panel-quran .q76-mushaf-ayah.q79-reciting{
 background:transparent!important;
 color:inherit!important;
 box-shadow:inset 0 -2px 0 var(--gold,#d8b475)!important;
}
#q76AudioPanel .q76-audio-sheet{
 width:min(100%,600px);
 color:var(--text,#f5f6f4);
 background:var(--panel,#0b1c27);
}
#q76AudioPanel #q76AudioTitle{
 font-size:20px;
 font-weight:750;
 margin:6px auto 18px;
 text-align:center;
}
#q76AudioPanel .q83-audio-fields{display:grid;gap:2px;margin:0 0 12px}
#q76AudioPanel .q83-audio-fields .q83-audio-row{
 display:flex!important;
 align-items:center;
 justify-content:space-between;
 gap:13px;
 min-height:67px;
 padding:9px 4px!important;
 margin:0;
 border-bottom:1px solid #354c58;
 background:transparent;
 color:var(--text,#f5f6f4);
 text-align:left;
 font:inherit;
}
#q76AudioPanel .q83-audio-row>span:first-child{
 display:grid;
 gap:3px;
 flex:1 1 55%;
 min-width:0;
}
#q76AudioPanel .q83-audio-row>span:first-child strong{
 color:var(--text,#f5f6f4);
 font-size:14px;
 font-weight:650;
 line-height:1.4;
}
#q76AudioPanel .q83-audio-row>span:first-child small{
 font-size:10px;
 font-weight:400;
 line-height:1.3;
 color:#b2c4cc;
}
#q76AudioPanel .q83-audio-row select{
 width:42%!important;
 min-width:114px!important;
 max-width:230px!important;
 flex:0 0 42%!important;
 min-height:44px;
 margin:0;
 padding:9px 8px;
 color:var(--gold-light,#f0d6a0)!important;
 background:var(--panel2,#102632)!important;
 border:1px solid #4d6370!important;
 border-radius:9px!important;
 font-size:13px;
 text-align-last:right;
}
#q76AudioPanel .q83-audio-fields .q80-advanced-link{
 margin:9px 0 2px;
 min-height:62px;
 background:#1a3440;
 border:1px solid #506978;
 border-radius:11px;
}
#q76AudioPanel .q83-audio-fields #q80RepeatHint{
 font-size:11px;
 line-height:1.5;
 margin:0;
 padding:2px 9px 6px;
}
#q76AudioPanel .q83-audio-note{
 margin:12px 2px 15px;
 padding:12px 13px;
 border:1px solid #726447;
 border-radius:12px;
 background:#302c25;
 color:#f2dfbb;
 font-size:12px;
 line-height:1.65;
}
#q76AudioPanel .q76-audio-actions{
 border-top:1px solid #36505c;
 padding-top:14px;
 margin-top:8px;
}
#q76AudioPanel .q76-audio-actions button{
 min-height:48px;
 font-weight:750;
}
#q80AdvancedPanel .q80-advanced-options .q80-setting-row{
 display:flex!important;
 align-items:center;
 justify-content:space-between;
 gap:14px;
 min-height:71px;
 padding:11px 5px!important;
 border-bottom:1px solid #374e5a;
}
#q80AdvancedPanel .q83-advanced-label{
 display:grid;
 gap:4px;
 min-width:0;
 flex:1 1 60%;
}
#q80AdvancedPanel .q83-advanced-label strong{
 font-size:14px;
 color:var(--text,#f5f6f4);
 font-weight:650;
}
#q80AdvancedPanel .q83-advanced-label small{
 font-size:11px;
 font-weight:400;
 line-height:1.4;
 color:#aebfc7;
}
#q80AdvancedPanel .q80-setting-row select{
 flex:0 0 39%!important;
 width:39%!important;
 min-width:105px!important;
 max-width:180px!important;
 margin:0;
}
#q80AdvancedPanel .q80-setting-row input[type="checkbox"]{
 margin-left:auto;
}
#q80AdvancedPanel .q83-source-details{
 border:1px solid #415967;
 border-radius:11px;
 margin:12px 0 8px;
 padding:7px 9px 12px;
 background:var(--panel2,#102632);
}
#q80AdvancedPanel .q83-source-details summary{
 cursor:pointer;
 min-height:44px;
 display:flex;
 align-items:center;
 font:650 13px/1.6 system-ui;
 color:var(--gold-light,#f0d6a0);
}
#q80AdvancedPanel .q83-source-details .q76-field{
 display:grid!important;
 gap:9px;
 padding:10px 4px;
 font-size:13px;
 color:var(--text,#f5f6f4);
}
#q80AdvancedPanel .q83-source-details .q76-field select{
 width:100%!important;
 max-width:100%!important;
 min-height:44px;
 font-size:13px;
 background:var(--panel,#0b1c27);
 color:var(--gold-light,#f0d6a0);
}
#q80AdvancedPanel .q83-source-details .q79-sync-option{
 display:flex!important;
 gap:14px;
 align-items:center;
 justify-content:space-between;
 padding:10px 4px!important;
}
#q80AdvancedPanel .q83-source-details .q79-sync-option[hidden]{
 display:none!important;
}
#q80AdvancedPanel .q83-source-details .q79-sync-option input{flex-shrink:0}
#q80AdvancedPanel .q76-audio-actions{
 border-top:1px solid #38505f;
 padding-top:13px;
}
@media(max-width:410px){
 #q76AudioPanel .q83-audio-row>span:first-child strong,
 #q80AdvancedPanel .q83-advanced-label strong{font-size:13px}
 #q76AudioPanel .q83-audio-row select{font-size:12px;width:43%!important;flex-basis:43%!important;min-width:104px!important}
 #q76AudioPanel .q83-audio-fields .q83-audio-row{min-height:63px}
 #q80AdvancedPanel .q80-setting-row select{font-size:12px;min-width:100px!important}
}
