
:root{
  --ric-green:#071b17;
  --ric-green-2:#0f332a;
  --ric-gold:#d8b66b;
  --ric-cream:#fbf5e9;
}
.language-bar{
  gap:.7rem;
  flex-wrap:wrap;
}
.language-bar a{
  padding:.22rem .45rem;
  border-radius:999px;
}
.language-bar a.active{
  background:rgba(216,182,107,.16);
  color:#f5dfa6;
}
.refined-header{
  align-items:center;
}
.refined-nav{
  gap:1rem;
  align-items:center;
}
.refined-nav a{
  position:relative;
  white-space:nowrap;
}
.refined-nav a.is-active{
  color:var(--ric-gold);
  font-weight:800;
}
.refined-nav a.is-active:after{
  content:"";
  position:absolute;
  left:12%;
  right:12%;
  bottom:-.55rem;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--ric-gold),transparent);
}
.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
  width:44px;height:44px;
  border-radius:12px;
  font-size:1.2rem;
}
.ric-refined-site:before{
  content:"ROCKAWAY ISLAMIC CENTER";
  position:fixed;
  left:50%;
  bottom:10%;
  transform:translateX(-50%);
  font-size:clamp(2rem,8vw,7rem);
  font-weight:900;
  letter-spacing:.09em;
  white-space:nowrap;
  color:#fff6dc;
  opacity:.018;
  pointer-events:none;
  z-index:0;
}
.immersive-reader-app{
  position:relative;
  z-index:1;
}
.immersive-reader-app .reader-top-banner{
  box-shadow:0 28px 70px rgba(0,0,0,.23);
}
.immersive-reader-app .reader-top-copy h1,
.immersive-reader-app .reader-top-copy p,
.immersive-reader-app .reader-top-stats strong,
.immersive-reader-app .reader-top-stats span{
  color:#fff8e8 !important;
  opacity:1 !important;
}
.immersive-reader-app .reader-return-card{
  background:linear-gradient(180deg,rgba(250,243,229,.97),rgba(241,232,213,.95)) !important;
  color:#2f2618 !important;
}
.immersive-reader-app .reader-return-card strong,
.immersive-reader-app .reader-return-card span{
  color:#2f2618 !important;
}
.immersive-reader-app .reader-return-card small,
.immersive-reader-app .reader-inline-link{
  color:#9f762a !important;
}
.immersive-reader-app .reader-control-bar{
  background:linear-gradient(180deg,rgba(4,20,17,.97),rgba(5,27,22,.97)) !important;
  border-color:rgba(216,182,107,.16);
}
.immersive-reader-app .reader-sidebar-card{
  background:linear-gradient(180deg,rgba(249,243,232,.98),rgba(239,230,212,.96)) !important;
  color:#2b2418 !important;
}
.immersive-reader-app .reader-sidebar-card h2,
.immersive-reader-app .reader-search-form label,
.immersive-reader-app .reader-nav-copy strong,
.immersive-reader-app .reader-nav-copy small{
  color:#2b2418 !important;
}
.immersive-reader-app .reader-search-form input,
.immersive-reader-app .reader-search-form select{
  background:rgba(255,255,255,.72) !important;
  color:#231d14 !important;
  border-color:rgba(74,57,30,.16) !important;
}
.immersive-reader-app .reader-nav-item{
  color:#2b2418 !important;
}
.immersive-reader-app .reader-content-head h2,
.immersive-reader-app .reader-content-meta strong{
  color:#fff4d8 !important;
}
.immersive-reader-app .reader-content-meta span{
  color:rgba(255,244,216,.72) !important;
}
.immersive-reader-app .scripture-sheet{
  background:
    linear-gradient(90deg,rgba(0,0,0,.025),rgba(255,255,255,.50) 6%,rgba(251,245,233,.98) 14%,rgba(251,245,233,.98) 86%,rgba(255,255,255,.50) 94%,rgba(0,0,0,.025)),
    linear-gradient(180deg,#fbf5e9,#f1e5cf) !important;
  color:#241d12 !important;
}
.immersive-reader-app .scripture-sheet .sheet-reference strong,
.immersive-reader-app .scripture-sheet .sheet-reference small,
.immersive-reader-app .scripture-sheet .sheet-translation{
  color:#2a2318 !important;
}
.immersive-reader-app .scripture-sheet .sheet-translation{
  opacity:.82;
}
.immersive-reader-app .scripture-sheet .sheet-arabic{
  color:#17120b !important;
}
.immersive-reader-app .sheet-actions button{
  color:#2d261b !important;
  background:rgba(255,255,255,.62) !important;
  border-color:rgba(72,56,30,.18) !important;
}
.immersive-reader-app.theme-dark .scripture-sheet,
.immersive-reader-app.theme-midnight .scripture-sheet{
  color:#fff4da !important;
}
.immersive-reader-app.theme-dark .scripture-sheet .sheet-reference strong,
.immersive-reader-app.theme-dark .scripture-sheet .sheet-reference small,
.immersive-reader-app.theme-dark .scripture-sheet .sheet-translation,
.immersive-reader-app.theme-dark .scripture-sheet .sheet-arabic,
.immersive-reader-app.theme-midnight .scripture-sheet .sheet-reference strong,
.immersive-reader-app.theme-midnight .scripture-sheet .sheet-reference small,
.immersive-reader-app.theme-midnight .scripture-sheet .sheet-translation,
.immersive-reader-app.theme-midnight .scripture-sheet .sheet-arabic{
  color:#fff3d4 !important;
}
.rtl .refined-header,
.rtl .reader-content-head,
.rtl .sheet-head{
  direction:rtl;
}
.rtl .refined-nav{
  direction:rtl;
}
.rtl .reader-top-copy,
.rtl .reader-return-card,
.rtl .reader-control-bar,
.rtl .reader-sidebar-card{
  text-align:right;
}
.rtl .reader-search-form input,
.rtl .reader-search-form select{
  text-align:right;
}
@media(max-width:1180px){
  .refined-header{flex-wrap:wrap}
  .nav-toggle{display:grid;place-items:center;margin-left:auto}
  .refined-nav{
    display:none;
    width:100%;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.5rem;
    padding-top:.7rem;
  }
  .refined-nav.open{display:grid}
  .refined-nav a{
    padding:.65rem .75rem;
    border-radius:12px;
    background:rgba(255,255,255,.035);
  }
  .refined-nav a.is-active:after{display:none}
}
@media(max-width:650px){
  .refined-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 036: language bar replaced by compact dropdown */
.language-bar{display:none!important}
