
/* Fullscreen reading room — original printed pages remain unchanged. */
.ac-focus-header,.ac-focus-footer{display:none}
.ac-studio-shell .ac-ayah-number:focus-visible,.ac-focus-footer button:focus-visible{
 outline:3px solid #e5bf63;outline-offset:2px
}
html.ac-studio-fullscreen body{overflow:hidden!important}
html.ac-studio-fullscreen .ac-studio-shell{
 position:fixed!important;inset:0!important;height:100dvh!important;width:100vw!important;
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:53px minmax(0,1fr) 58px!important;
 gap:0!important;padding:0!important;margin:0!important;z-index:100000!important;
 background:#f6f4e9!important;overflow:hidden!important;
}
html.ac-studio-fullscreen .ac-focus-header{
 grid-column:1;grid-row:1;display:flex!important;align-items:center;justify-content:space-between;
 gap:8px;min-height:0;color:#f4efda;padding:5px 12px;background:linear-gradient(95deg,#063d31,#13674e);
 box-sizing:border-box;z-index:18
}
.ac-focus-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:800}
.ac-focus-icon{
 color:#fff4c5;background:#ffffff19;border:1px solid #ffffff33;border-radius:11px;
 min-width:42px;min-height:40px;font-size:20px;cursor:pointer
}
html.ac-studio-fullscreen .ac-studio-shell .ac-main{
 grid-column:1;grid-row:2;display:flex!important;flex-direction:column;
 width:100%;height:100%;overflow-y:auto!important;overscroll-behavior:contain!important;
 min-width:0;min-height:0;max-height:none!important;margin:0!important;padding:0!important;gap:0!important
}
html.ac-studio-fullscreen .ac-studio-shell .ac-session-pane{display:none!important}
html.ac-studio-fullscreen .ac-studio-shell .ac-book-pane{
 display:flex!important;flex-direction:column;align-items:stretch;overflow:visible!important;
 flex:1 0 auto;height:auto!important;min-height:100%;
 margin:0!important;padding:8px clamp(6px,1.6vw,18px) 10px!important;border-radius:0!important;
 box-shadow:none!important;background:#f6f4e9!important
}
html.ac-studio-fullscreen .ac-studio-shell .ac-book-pane>.ac-section-row,
html.ac-studio-fullscreen .ac-studio-shell .ac-studio-actions,
html.ac-studio-fullscreen .ac-studio-shell .ac-reader-note,
html.ac-studio-fullscreen .ac-studio-shell .ac-note,
html.ac-studio-fullscreen .ac-studio-shell #ac-material-toolbar,
html.ac-studio-fullscreen .ac-studio-shell #ac-annotation-toolbar{display:none!important}
html.ac-studio-fullscreen .ac-studio-shell #ac-verse-numbers{
 display:flex!important;max-height:54px;overflow-x:auto;flex-wrap:nowrap;flex-shrink:0;
 padding:3px 0;margin:0 0 5px;scrollbar-width:thin
}
html.ac-studio-fullscreen .ac-studio-shell #ac-selection-ribbon:not([hidden]){
 flex:0 0 auto;margin:0 0 5px!important;padding:6px 10px!important;font-size:12px;
 border-radius:9px
}
html.ac-studio-fullscreen .ac-studio-shell #ac-book-body{
 display:block!important;min-width:0!important;flex:1 0 auto!important;
 max-height:none!important;overflow:visible!important;background:transparent!important;
 margin:0!important;padding:0!important
}
html.ac-studio-fullscreen .ac-studio-shell #ac-sheet{max-width:1180px;margin-inline:auto}
html.ac-studio-fullscreen .ac-studio-shell .ac-indo-original,
html.ac-studio-fullscreen .ac-studio-shell .ac-original-mushaf{
 max-width:1180px!important;padding:2px!important;margin:0 auto!important;border:0!important;
 background:transparent!important;box-shadow:none!important
}
html.ac-studio-fullscreen .ac-studio-shell .ac-original-art,
html.ac-studio-fullscreen .ac-studio-shell .ac-indo-art{max-width:100%!important;margin:auto}
html.ac-studio-fullscreen .ac-studio-shell .ac-indo-art canvas{display:block;max-width:100%!important}
html.ac-studio-fullscreen .ac-studio-shell .ac-class-reciter{
 display:none!important;position:relative!important;bottom:auto!important;
 margin:4px 0!important;box-shadow:0 7px 24px #073a2c30!important
}
html.ac-studio-fullscreen .ac-studio-shell.ac-focus-dock-open .ac-class-reciter:not(:empty){
 display:block!important;max-width:100%!important;z-index:3!important
}
html.ac-studio-fullscreen .ac-focus-footer{
 grid-column:1;grid-row:3;display:flex!important;align-items:center;justify-content:center;
 position:relative;min-height:0;padding:5px 9px 9px!important;
 box-sizing:border-box;background:#063e31;z-index:22
}
.ac-focus-arrow{
 background:#f1ce75;color:#153a2d;border:none;border-radius:13px;
 width:88px;min-height:43px;font-size:29px;font-weight:900;cursor:pointer
}
.ac-focus-dock{display:none}
html.ac-studio-fullscreen .ac-studio-shell.ac-focus-dock-open .ac-focus-dock{
 display:flex!important;flex-direction:column;gap:7px;
 position:absolute;bottom:100%;left:0;right:0;padding:8px 10px 10px;
 background:linear-gradient(180deg,#0d5c44,#063e31);box-shadow:0 -10px 32px #0b281955;
 max-height:min(38dvh,260px);overflow:auto
}
.ac-focus-control-row{display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap}
.ac-focus-control-row .ac-action{
 min-height:35px!important;padding:6px 10px!important;font-size:11px!important;
 border-radius:9px!important;background:#f3f7ec;color:#064d35!important
}
.ac-focus-control-row .ac-action.primary,.ac-focus-control-row .ac-action.active{
 background:#f0c86e!important;color:#123c2c!important
}
html.ac-studio-fullscreen .ac-studio-shell .ac-right{
 display:none!important;position:fixed!important;top:53px!important;right:0!important;
 bottom:58px!important;width:clamp(260px,30vw,365px)!important;height:auto!important;
 min-height:0!important;max-height:none!important;overflow-y:auto!important;
 background:#fff!important;z-index:21!important;box-shadow:-9px 0 34px #001e1444
}
html.ac-studio-fullscreen .ac-studio-shell:not(.ac-side-hidden) .ac-right{
 display:flex!important
}
html.ac-studio-fullscreen .ac-studio-shell .ac-side-tabs{top:0!important;flex-shrink:0}
html.ac-studio-fullscreen .ac-studio-shell .ac-roster-pane,
html.ac-studio-fullscreen .ac-studio-shell .ac-chat-pane,
html.ac-studio-fullscreen .ac-studio-shell .ac-assessment-pane{max-height:none!important}
html.ac-studio-fullscreen .ac-studio-shell .ac-join-controls{display:flex;flex-wrap:wrap}
html.ac-studio-fullscreen .ac-studio-shell #ac-focus-picker:not([hidden]){
 display:block!important;position:sticky!important;bottom:0;z-index:14;
 max-height:min(35dvh,250px);overflow-y:auto;background:#fffdf2;
 box-shadow:0 -5px 18px #0c2f193b
}
html.ac-studio-fullscreen .ac-studio-shell .ac-exact-below{
 max-height:200px!important;overflow:auto!important
}
@media(max-width:800px){
 html.ac-studio-fullscreen .ac-studio-shell .ac-right{
  top:auto!important;bottom:58px!important;left:0!important;right:0!important;
  width:100vw!important;height:min(56dvh,500px)!important;
  border-radius:20px 20px 0 0!important;box-shadow:0 -10px 28px #011e164a
 }
 html.ac-studio-fullscreen .ac-studio-shell .ac-book-pane{
  padding:5px 3px 8px!important
 }
 html.ac-studio-fullscreen .ac-studio-shell .ac-indo-art,
 html.ac-studio-fullscreen .ac-studio-shell .ac-original-art{width:100%!important}
 html.ac-studio-fullscreen .ac-focus-control-row{justify-content:flex-start}
 html.ac-studio-fullscreen .ac-focus-control-row .ac-action{flex:1 0 auto}
 html.ac-studio-fullscreen .ac-studio-shell.ac-focus-dock-open .ac-class-reciter{
  padding:6px!important;max-height:40dvh;overflow:auto
 }
}
@media(prefers-reduced-motion:reduce){.ac-focus-dock,.ac-focus-header{transition:none}}
