/* OKU 2026-10-11 — reference layout, home six figures & four caliphs. */
#screen-home .hc-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
#screen-home .hc-card {aspect-ratio:.79!important;min-height:0!important;border-radius:25px!important;}
#screen-home .hc-card .hc-card-top{left:12px!important;right:10px!important;top:15px!important;}
#screen-home .hc-card .hc-calligraphy {top:37%!important;right:7%!important;width:57%!important;height:41%!important;}
#screen-home .hc-card .hc-flower {left:0!important;bottom:0!important;width:34%!important;max-width:34%!important;max-height:39%!important;object-position:bottom left!important;}
#screen-home .hc-card .hc-down{bottom:10px!important;left:13px!important;font-size:20px!important;}
#screen-home .su-home-grid--feature,#screen-home .ms-home-grid--feature,#screen-home .sg-home-grid--feature{gap:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
#screen-home .su-home,#screen-home .ms-home,#screen-home .sg-home{margin:12px 0 0!important;}
#screen-home .su-feature-card,#screen-home .ms-feature-card,#screen-home .sg-feature-card{
  position:relative!important;min-height:0!important;height:auto!important;aspect-ratio:2.17/1!important;
  overflow:hidden!important;padding:0!important;border:0!important;border-radius:33px!important;
  display:block!important;isolation:isolate!important;
}
#screen-home .su-feature-main,#screen-home .ms-feature-main,#screen-home .sg-feature-main{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  display:block!important;margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;
  text-align:left!important;border:0!important;
}
#screen-home .su-feature-num,#screen-home .ms-feature-num,#screen-home .sg-feature-num{
  position:absolute!important;left:17px!important;top:18px!important;font:600 11px/1 var(--mono)!important;
  color:inherit!important;opacity:.94!important;
}
#screen-home .su-feature-copy,#screen-home .ms-feature-copy,#screen-home .sg-feature-copy{
  position:absolute!important;left:23px!important;top:21px!important;right:auto!important;
  z-index:3!important;width:52%!important;max-width:none!important;padding:0!important;pointer-events:none!important;
}
#screen-home .su-feature-copy small,#screen-home .ms-feature-copy small,#screen-home .sg-feature-copy small{display:none!important;}
#screen-home .su-feature-copy h3,#screen-home .ms-feature-copy h3,#screen-home .sg-feature-copy h3{
  margin:0 0 0 24px!important;font:740 clamp(24px,2.2vw,39px)/1.08 var(--mono)!important;
  letter-spacing:-.045em!important;color:inherit!important;
}
#screen-home .ms-feature-copy{left:auto!important;right:28px!important;text-align:right!important;width:50%!important;}
#screen-home .ms-feature-copy h3{margin:0!important;}
#screen-home .su-feature-portrait,#screen-home .ms-feature-portrait,#screen-home .sg-feature-portrait{
  position:absolute!important;right:24px!important;top:10%!important;left:auto!important;
  width:auto!important;height:78%!important;aspect-ratio:1/1!important;border-radius:50%!important;
  overflow:hidden!important;border:1px solid rgba(252,238,210,.55)!important;
  background:rgba(255,255,255,.025)!important;z-index:2!important;transform:none!important;
}
#screen-home .su-feature-portrait img,#screen-home .ms-feature-portrait img,#screen-home .sg-feature-portrait img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center 26%!important;border-radius:50%!important;
}
#screen-home .ms-feature-portrait{left:24px!important;right:auto!important;}
#screen-home .su-feature-links,#screen-home .ms-feature-links,#screen-home .sg-feature-links{
  position:absolute!important;left:27px!important;bottom:20px!important;right:auto!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:7px!important;padding:0!important;max-width:47%!important;z-index:9!important;
}
#screen-home .ms-feature-links{right:27px!important;left:auto!important;align-items:flex-end!important;}
#screen-home .su-feature-link,#screen-home .ms-feature-link,#screen-home .sg-feature-link{
  padding:7px 15px!important;min-height:25px!important;font:650 clamp(10px,.81vw,13px)/1.1 var(--mono)!important;
  border:1px solid rgba(255,244,222,.48)!important;border-radius:999px!important;
  color:inherit!important;background:transparent!important;white-space:normal!important;text-align:center!important;
  transition:background .18s,color .18s!important;
}
#screen-home :is(.su-feature-link,.ms-feature-link,.sg-feature-link):is(:hover,:focus-visible){background:#111!important;color:#fff0d6!important;border-color:#111!important;transform:none!important;}
html[data-oku-theme="dark"] #screen-home .hc-head :is(h2,p,.hc-eyebrow){color:#efecdf!important;}
@media(max-width:750px){
 #screen-home .hc-grid{gap:9px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #screen-home .hc-card{min-height:0!important;aspect-ratio:.78!important;}
 #screen-home .hc-card .hc-calligraphy{top:37%!important;}
 #screen-home .hc-card .hc-flower{width:34%!important;}
 #screen-home .su-home-grid--feature,#screen-home .ms-home-grid--feature,#screen-home .sg-home-grid--feature{gap:10px!important;}
 #screen-home .su-feature-card,#screen-home .ms-feature-card,#screen-home .sg-feature-card{border-radius:20px!important;aspect-ratio:1.08/1!important;}
 #screen-home .su-feature-num,#screen-home .ms-feature-num,#screen-home .sg-feature-num{left:9px!important;top:9px!important;font-size:9px!important;}
 #screen-home .su-feature-copy,#screen-home .sg-feature-copy{left:12px!important;top:25px!important;width:54%!important;}
 #screen-home .ms-feature-copy{right:12px!important;top:25px!important;width:54%!important;}
 #screen-home .su-feature-copy h3,#screen-home .ms-feature-copy h3,#screen-home .sg-feature-copy h3{font-size:clamp(14px,4.1vw,23px)!important;margin:0!important;line-height:1.06!important;}
 #screen-home .su-feature-portrait,#screen-home .ms-feature-portrait,#screen-home .sg-feature-portrait{width:52%!important;height:auto!important;aspect-ratio:1/1!important;top:23%!important;right:4%!important;}
 #screen-home .ms-feature-portrait{left:4%!important;right:auto!important;}
 #screen-home .su-feature-links,#screen-home .ms-feature-links,#screen-home .sg-feature-links{bottom:8px!important;left:10px!important;right:auto!important;max-width:63%!important;gap:4px!important;}
 #screen-home .ms-feature-links{right:10px!important;left:auto!important;}
 #screen-home .su-feature-link,#screen-home .ms-feature-link,#screen-home .sg-feature-link{font-size:9px!important;min-height:0!important;padding:6px 8px!important;max-width:100%!important;}
}
/* Native night mode on the dynamically introduced biographies and books. */
html[data-oku-theme="dark"] :is(.hc-screen,.sufi-screen,.mystic-screen,.sages-screen){background:#3f3d39!important;color:#f4ede1!important;--paper:#3f3d39!important;}
html[data-oku-theme="dark"] :is(.hc-screen,.sufi-screen,.mystic-screen,.sages-screen) :is(.hc-detail,.hc-story,.su-main,.ms-main,.sg-main,.su-book-content,.ms-library,.sg-library){color:#f4ede1!important;}
html[data-oku-theme="dark"] .hc-screen .hc-story{background:#302f2c!important;color:#f4ede1!important;}
html[data-oku-theme="dark"] .sufi-screen :is(.su-reader-body,.su-search-match,.su-poem-card,.su-book-index-card,.su-volume-card,.su-topic-card,.su-part-card){background:#302e2a!important;color:#f2ebdf!important;border-color:#6e6559!important;}
html[data-oku-theme="dark"] .sufi-screen :is(.su-search-match,.su-reader-switch,.su-search-more,.su-search-clear){color:#f2ebdf!important;border-color:#756b60!important;}
html[data-oku-theme="dark"] .mystic-screen :is(.ms-reading-body,.ms-item,.ms-reading-switch,.ms-status){background:#302e2a!important;color:#f2ebdf!important;border-color:#6e6559!important;}
html[data-oku-theme="dark"] .sages-screen :is(.sg-reading-prose,.sg-reading-duo,.sg-index-card,.sg-next,.sg-note){background:#302e2a!important;color:#f2ebdf!important;border-color:#6e6559!important;}
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(input[type="search"],input[type="text"]){background:#2c2b27!important;color:#f4ede1!important;border-color:#9e917e!important;}
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(.su-modern-note,.sg-editorial,.su-source-note){color:#c6b9a5!important;}
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(.su-reader-switch,.ms-reading-switch,.sg-next):is(:hover,:focus-visible),
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(.su-poem-card,.ms-item,.sg-index-card):is(:hover,:focus-visible){background:#e7d5b2!important;color:#191813!important;}

/* v31.5 Electro Sufi — continuous single-color stage behind portrait and list */
#screen-electro .electro-stage,
#screen-electro .electro-artist,
#screen-electro .electro-listening,
#screen-electro .electro-production-note{
  background:#f3c768!important;
  background-image:none!important;
  box-shadow:none!important;
}
#screen-electro .electro-stage{background:#f3c768!important;}
#screen-electro .electro-artist::before,
#screen-electro .electro-artist::after{display:none!important;}
/* Animation layer stays composited even while the playlist changes. */
#screen-tefekkur .tefekkur-semazen-animated{
  backface-visibility:hidden!important;
  transform:translateZ(0)!important;
  will-change:transform;
}
/* OKU 2026-10-11 — reference layout, home six figures & four caliphs. */
#screen-home .hc-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
#screen-home .hc-card {aspect-ratio:.79!important;min-height:0!important;border-radius:25px!important;}
#screen-home .hc-card .hc-card-top{left:12px!important;right:10px!important;top:15px!important;}
#screen-home .hc-card .hc-calligraphy {top:37%!important;right:7%!important;width:57%!important;height:41%!important;}
#screen-home .hc-card .hc-flower {left:0!important;bottom:0!important;width:34%!important;max-width:34%!important;max-height:39%!important;object-position:bottom left!important;}
#screen-home .hc-card .hc-down{bottom:10px!important;left:13px!important;font-size:20px!important;}
#screen-home .su-home-grid--feature,#screen-home .ms-home-grid--feature,#screen-home .sg-home-grid--feature{gap:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
#screen-home .su-home,#screen-home .ms-home,#screen-home .sg-home{margin:12px 0 0!important;}
#screen-home .su-feature-card,#screen-home .ms-feature-card,#screen-home .sg-feature-card{
  position:relative!important;min-height:0!important;height:auto!important;aspect-ratio:2.17/1!important;
  overflow:hidden!important;padding:0!important;border:0!important;border-radius:33px!important;
  display:block!important;isolation:isolate!important;
}
#screen-home .su-feature-main,#screen-home .ms-feature-main,#screen-home .sg-feature-main{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  display:block!important;margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;
  text-align:left!important;border:0!important;
}
#screen-home .su-feature-num,#screen-home .ms-feature-num,#screen-home .sg-feature-num{
  position:absolute!important;left:17px!important;top:18px!important;font:600 11px/1 var(--mono)!important;
  color:inherit!important;opacity:.94!important;
}
#screen-home .su-feature-copy,#screen-home .ms-feature-copy,#screen-home .sg-feature-copy{
  position:absolute!important;left:23px!important;top:21px!important;right:auto!important;
  z-index:3!important;width:52%!important;max-width:none!important;padding:0!important;pointer-events:none!important;
}
#screen-home .su-feature-copy small,#screen-home .ms-feature-copy small,#screen-home .sg-feature-copy small{display:none!important;}
#screen-home .su-feature-copy h3,#screen-home .ms-feature-copy h3,#screen-home .sg-feature-copy h3{
  margin:0 0 0 24px!important;font:740 clamp(24px,2.2vw,39px)/1.08 var(--mono)!important;
  letter-spacing:-.045em!important;color:inherit!important;
}
#screen-home .ms-feature-copy{left:auto!important;right:28px!important;text-align:right!important;width:50%!important;}
#screen-home .ms-feature-copy h3{margin:0!important;}
#screen-home .su-feature-portrait,#screen-home .ms-feature-portrait,#screen-home .sg-feature-portrait{
  position:absolute!important;right:24px!important;top:10%!important;left:auto!important;
  width:auto!important;height:78%!important;aspect-ratio:1/1!important;border-radius:50%!important;
  overflow:hidden!important;border:1px solid rgba(252,238,210,.55)!important;
  background:rgba(255,255,255,.025)!important;z-index:2!important;transform:none!important;
}
#screen-home .su-feature-portrait img,#screen-home .ms-feature-portrait img,#screen-home .sg-feature-portrait img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center 26%!important;border-radius:50%!important;
}
#screen-home .ms-feature-portrait{left:24px!important;right:auto!important;}
#screen-home .su-feature-links,#screen-home .ms-feature-links,#screen-home .sg-feature-links{
  position:absolute!important;left:27px!important;bottom:20px!important;right:auto!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:7px!important;padding:0!important;max-width:47%!important;z-index:9!important;
}
#screen-home .ms-feature-links{right:27px!important;left:auto!important;align-items:flex-end!important;}
#screen-home .su-feature-link,#screen-home .ms-feature-link,#screen-home .sg-feature-link{
  padding:7px 15px!important;min-height:25px!important;font:650 clamp(10px,.81vw,13px)/1.1 var(--mono)!important;
  border:1px solid rgba(255,244,222,.48)!important;border-radius:999px!important;
  color:inherit!important;background:transparent!important;white-space:normal!important;text-align:center!important;
  transition:background .18s,color .18s!important;
}
#screen-home :is(.su-feature-link,.ms-feature-link,.sg-feature-link):is(:hover,:focus-visible){background:#111!important;color:#fff0d6!important;border-color:#111!important;transform:none!important;}
html[data-oku-theme="dark"] #screen-home .hc-head :is(h2,p,.hc-eyebrow){color:#efecdf!important;}
@media(max-width:750px){
 #screen-home .hc-grid{gap:9px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #screen-home .hc-card{min-height:0!important;aspect-ratio:.78!important;}
 #screen-home .hc-card .hc-calligraphy{top:37%!important;}
 #screen-home .hc-card .hc-flower{width:34%!important;}
 #screen-home .su-home-grid--feature,#screen-home .ms-home-grid--feature,#screen-home .sg-home-grid--feature{gap:10px!important;}
 #screen-home .su-feature-card,#screen-home .ms-feature-card,#screen-home .sg-feature-card{border-radius:20px!important;aspect-ratio:1.08/1!important;}
 #screen-home .su-feature-num,#screen-home .ms-feature-num,#screen-home .sg-feature-num{left:9px!important;top:9px!important;font-size:9px!important;}
 #screen-home .su-feature-copy,#screen-home .sg-feature-copy{left:12px!important;top:25px!important;width:54%!important;}
 #screen-home .ms-feature-copy{right:12px!important;top:25px!important;width:54%!important;}
 #screen-home .su-feature-copy h3,#screen-home .ms-feature-copy h3,#screen-home .sg-feature-copy h3{font-size:clamp(14px,4.1vw,23px)!important;margin:0!important;line-height:1.06!important;}
 #screen-home .su-feature-portrait,#screen-home .ms-feature-portrait,#screen-home .sg-feature-portrait{width:52%!important;height:auto!important;aspect-ratio:1/1!important;top:23%!important;right:4%!important;}
 #screen-home .ms-feature-portrait{left:4%!important;right:auto!important;}
 #screen-home .su-feature-links,#screen-home .ms-feature-links,#screen-home .sg-feature-links{bottom:8px!important;left:10px!important;right:auto!important;max-width:63%!important;gap:4px!important;}
 #screen-home .ms-feature-links{right:10px!important;left:auto!important;}
 #screen-home .su-feature-link,#screen-home .ms-feature-link,#screen-home .sg-feature-link{font-size:9px!important;min-height:0!important;padding:6px 8px!important;max-width:100%!important;}
}
/* Native night mode on the dynamically introduced biographies and books. */
html[data-oku-theme="dark"] :is(.hc-screen,.sufi-screen,.mystic-screen,.sages-screen){background:#3f3d39!important;color:#f4ede1!important;--paper:#3f3d39!important;}
html[data-oku-theme="dark"] :is(.hc-screen,.sufi-screen,.mystic-screen,.sages-screen) :is(.hc-detail,.hc-story,.su-main,.ms-main,.sg-main,.su-book-content,.ms-library,.sg-library){color:#f4ede1!important;}
html[data-oku-theme="dark"] .hc-screen .hc-story{background:#302f2c!important;color:#f4ede1!important;}
html[data-oku-theme="dark"] .sufi-screen :is(.su-reader-body,.su-search-match,.su-poem-card,.su-book-index-card,.su-volume-card,.su-topic-card,.su-part-card){background:#302e2a!important;color:#f2ebdf!important;border-color:#6e6559!important;}
html[data-oku-theme="dark"] .sufi-screen :is(.su-search-match,.su-reader-switch,.su-search-more,.su-search-clear){color:#f2ebdf!important;border-color:#756b60!important;}
html[data-oku-theme="dark"] .mystic-screen :is(.ms-reading-body,.ms-item,.ms-reading-switch,.ms-status){background:#302e2a!important;color:#f2ebdf!important;border-color:#6e6559!important;}
html[data-oku-theme="dark"] .sages-screen :is(.sg-reading-prose,.sg-reading-duo,.sg-index-card,.sg-next,.sg-note){background:#302e2a!important;color:#f2ebdf!important;border-color:#6e6559!important;}
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(input[type="search"],input[type="text"]){background:#2c2b27!important;color:#f4ede1!important;border-color:#9e917e!important;}
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(.su-modern-note,.sg-editorial,.su-source-note){color:#c6b9a5!important;}
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(.su-reader-switch,.ms-reading-switch,.sg-next):is(:hover,:focus-visible),
html[data-oku-theme="dark"] :is(.sufi-screen,.mystic-screen,.sages-screen) :is(.su-poem-card,.ms-item,.sg-index-card):is(:hover,:focus-visible){background:#e7d5b2!important;color:#191813!important;}
/* Electro portrait does not have a square gold backing. */
#screen-electro .electro-artist__portrait,
#screen-electro .electro-detail__portrait{border-radius:50%!important;clip-path:circle(50% at 50% 50%)!important;}
