/* نور وسطور — الهوية البصرية: مكتبة ليلية، ذهب، ورق عتيق */
body.id-body{
  --gold:#e4c56b;
  --gold-2:#f3dd9a;
  background:
    radial-gradient(circle at 50% -10%, rgba(228,197,107,.08), transparent 28rem),
    #070b16 !important;
  color:#f6f1e6 !important;
  font-family:"Tajawal","Segoe UI",Tahoma,sans-serif !important;
}
body.id-body main::before{display:none}
body.id-body .grain{opacity:.12}

body.id-body .splash{
  background:
    radial-gradient(circle at 50% 42%, rgba(228,197,107,.16), transparent 16rem),
    #070b16;
}
body.id-body .splash-title{
  font-family:"Aref Ruqaa",serif;
  font-size:54px;
  background:linear-gradient(180deg,#fff6d8,#e4c56b 55%,#a97832);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
body.id-body .splash-sub{letter-spacing:.42em;color:#d9c79a}
body.id-body .splash-line{background:linear-gradient(90deg,transparent,#e4c56b,transparent);box-shadow:0 0 16px rgba(228,197,107,.7)}

/* الشريط العلوي */
body.id-body .id-header{
  height:auto;
  min-height:78px;
  padding:8px max(16px, calc((100vw - 1240px) / 2));
  gap:18px;
  background:linear-gradient(180deg,#10182c 0%, #0b1222 100%);
  border-bottom:1px solid rgba(228,197,107,.22);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
}
body.id-body .id-brand{gap:10px;min-width:0}
body.id-body .aj-mark{width:54px;height:54px;flex:0 0 auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45))}
body.id-body .aj-mark svg{width:100%;height:100%;display:block}
body.id-body .id-brand .brand-copy{gap:1px}
body.id-body .id-brand .brand-copy b{
  font-family:"Aref Ruqaa",serif;
  font-size:clamp(22px,2vw,30px);
  font-weight:700;
  line-height:1;
  background:none;
  -webkit-text-fill-color:#f0d48a;
  color:#f0d48a;
  letter-spacing:0;
}
body.id-body .id-brand .brand-copy small{
  display:block;
  color:#f0e6d4;
  font-size:11px;
  font-weight:500;
  font-family:"Tajawal",sans-serif;
}
body.id-body .id-brand .brand-copy em{
  display:block;
  margin-top:1px;
  font-style:normal;
  font-family:"Tajawal",sans-serif;
  font-size:9px;
  letter-spacing:.28em;
  color:#cbb892;
}
body.id-body .id-book{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  margin-inline-start:4px;
  color:#e8d7a8;
}
body.id-body .id-nav{gap:18px;flex:1;justify-content:center}
body.id-body .desktop-nav a{
  color:#f4efe4;
  font-family:"Tajawal",sans-serif;
  font-weight:700;
  font-size:15px;
  padding:8px 0;
}
body.id-body .desktop-nav a::after{
  right:0;left:0;bottom:0;height:2px;
  background:#e4c56b;
  transform:scaleX(0);
  transform-origin:center;
}
body.id-body .desktop-nav a.is-current{color:#f3d48a}
body.id-body .desktop-nav a.is-current::after,
body.id-body .desktop-nav a:hover::after{transform:scaleX(1);left:0}
body.id-body .id-actions{gap:10px}
body.id-body .id-login{
  border:0;background:none;cursor:pointer;
  color:#f7f2e8;
  font-family:"Tajawal",sans-serif;
  font-weight:700;
  font-size:15px;
  padding:8px 4px;
}
body.id-body .id-round{
  position:relative;
  width:40px;height:40px;min-width:40px;
  display:grid;place-items:center;
  border-radius:50%;
  border:1.5px solid rgba(244,236,214,.55);
  background:rgba(255,255,255,.03);
  color:#f7f1e4;
  cursor:pointer;
  padding:0;
}
body.id-body .id-round:hover,
body.id-body .id-login:hover{color:#f3d48a;border-color:#e4c56b}
body.id-body .id-round b{
  position:absolute;top:-4px;left:-4px;
  min-width:16px;height:16px;padding:0 4px;
  border-radius:99px;
  background:#2a241c;color:#8d8374;
  font-size:9px;display:grid;place-items:center;
}
body.id-body #favoritesBtn{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}
body.id-body .menu-btn{
  width:40px;height:40px;border-radius:50%;
  border:1.5px solid rgba(244,236,214,.45);
  background:transparent;color:#f7f1e4;cursor:pointer;
}

/* البطل */
body.id-body .id-hero{
  position:relative;
  min-height:min(68vh,640px);
  display:grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
}
body.id-body .id-hero-bg{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 42%;
}
body.id-body .id-hero-shade{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(7,11,22,.28) 0%, rgba(7,11,22,.08) 28%, rgba(7,11,22,.12) 58%, rgba(7,11,22,.78) 86%, #070b16 100%);
}
body.id-body .id-hero-copy{
  position:relative;z-index:2;
  text-align:center;
  padding:28px 16px 86px;
  width:min(920px,100%);
}
body.id-body .id-hero-copy h1{
  margin:0;
  font-family:"Aref Ruqaa",serif;
  font-weight:700;
  font-size:clamp(64px,8.4vw,118px);
  line-height:1.05;
  letter-spacing:0;
  background:linear-gradient(180deg,#fff8e4 0%, #f0d078 46%, #c8963c 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.45));
}
body.id-body .id-ornament{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin:6px 0 8px;color:#e4c56b;
}
body.id-body .id-ornament span{
  width:54px;height:1px;
  background:linear-gradient(90deg,transparent,#e4c56b);
}
body.id-body .id-ornament span:last-child{background:linear-gradient(90deg,#e4c56b,transparent)}
body.id-body .id-ornament i{font-style:normal;font-size:11px}
body.id-body .id-hero-copy p{
  margin:0 0 18px;
  color:#f7f1e6;
  font-size:clamp(16px,2vw,22px);
  font-weight:500;
  text-shadow:0 2px 14px rgba(0,0,0,.65);
}
body.id-body .id-search{
  width:min(680px,92vw);
  height:58px;
  margin:0 auto;
  display:flex;align-items:center;gap:12px;
  padding:0 22px;
  border:0;border-radius:999px;
  background:linear-gradient(180deg,#fffaf3,#f4e7d0);
  color:#8d8172;
  box-shadow:0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 #fff;
  cursor:pointer;
  font-family:"Tajawal",sans-serif;
  font-size:16px;
  font-weight:500;
}
body.id-body .id-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.id-body .id-search svg{flex:0 0 auto;color:#8d6b32}

/* بوابات الأقسام */
body.id-body .id-gates{
  position:relative;z-index:3;
  width:min(1180px,calc(100% - 28px));
  margin:-78px auto 0;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
body.id-body .gate{
  display:flex;flex-direction:column;
  min-height:268px;
  border-radius:22px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 40px rgba(0,0,0,.38);
  transition:transform .25s ease, box-shadow .25s ease;
}
body.id-body .gate:hover{transform:translateY(-6px);box-shadow:0 26px 50px rgba(0,0,0,.46)}
body.id-body .gate-art{height:118px;overflow:hidden;flex:0 0 auto}
body.id-body .gate-art img{width:100%;height:100%;object-fit:cover;display:block}
body.id-body .gate-body{
  position:relative;flex:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  padding:14px 10px 40px;
  gap:2px;
}
body.id-body .gate-body b{
  font-family:"Aref Ruqaa",serif;
  font-size:clamp(22px,2vw,30px);
  font-weight:700;
  line-height:1.2;
}
body.id-body .gate-body small{
  font-family:"Tajawal",sans-serif;
  font-size:13px;
  font-weight:500;
  opacity:.9;
}
body.id-body .gate-arrow{
  position:absolute;bottom:12px;
  width:28px;height:28px;border-radius:50%;
  border:1.5px solid currentColor;
  display:grid;place-items:center;
  font-style:normal;font-size:14px;line-height:1;
  background:rgba(0,0,0,.12);
}
body.id-body .gate-books .gate-body{background:linear-gradient(180deg,#7a572c,#3e2a16);color:#f8f1e4}
body.id-body .gate-manga .gate-body{background:linear-gradient(180deg,#6a2036,#3a1020);color:#fdecef}
body.id-body .gate-kids .gate-body{background:linear-gradient(180deg,#1d4f8e,#14386a);color:#f3f7ff}
body.id-body .gate-color .gate-body{background:linear-gradient(180deg,#f7ead4,#e6d2ae);color:#3d3122}
body.id-body .gate-color .gate-arrow{background:rgba(255,255,255,.35)}
body.id-body .gate-comp .gate-body{background:linear-gradient(180deg,#5a3488,#321a62);color:#f7f2ff}

/* المزايا */
body.id-body .id-perks{
  width:min(1100px,calc(100% - 28px));
  margin:26px auto 0;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
body.id-body .id-perks button{
  position:relative;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:14px 10px;
  border:0;background:none;cursor:pointer;
  color:#f6f0e4;
  font-family:"Tajawal",sans-serif;
}
body.id-body .id-perks button + button::before{
  content:"";
  position:absolute;right:0;top:18%;bottom:18%;
  width:1px;background:rgba(228,197,107,.35);
}
body.id-body .id-perks svg{color:#e4c56b;margin-bottom:4px}
body.id-body .id-perks b{font-size:14px;font-weight:800}
body.id-body .id-perks small{color:#cbbfaa;font-size:12px;font-weight:500;line-height:1.45}

/* اللفافة */
body.id-body .id-scroll{
  width:min(1100px,calc(100% - 8px));
  margin:18px auto 10px;
  padding:0 8px 8px;
}
body.id-body .id-scroll-paper{
  position:relative;
  min-height:118px;
  display:grid;place-items:center;
  padding:28px 64px 22px;
  color:#5a4630;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.65), transparent 55%),
    linear-gradient(180deg,#fbf6ea 0%, #f0e2c6 70%, #e4d2ae 100%);
  border-radius:46% 46% 18px 18px / 28px 28px 18px 18px;
  box-shadow:
    inset 0 10px 16px rgba(255,255,255,.55),
    inset 0 -12px 16px rgba(120,86,40,.08),
    0 16px 30px rgba(0,0,0,.28);
}
body.id-body .id-scroll-paper p{
  margin:0;
  font-family:"Aref Ruqaa",serif;
  font-size:clamp(22px,3vw,34px);
  text-align:center;
}
body.id-body .id-quill{
  position:absolute;
  left:8%;
  top:18px;
  width:92px;
  transform:rotate(-18deg);
  filter:drop-shadow(0 6px 6px rgba(90,60,20,.25));
}
body.id-body .id-more{
  width:min(900px,calc(100% - 28px));
  margin:4px auto 8px;
  display:flex;justify-content:center;gap:8px;flex-wrap:wrap;
}
body.id-body .id-more a,
body.id-body .id-more button{
  border:1px solid rgba(228,197,107,.28);
  background:rgba(228,197,107,.06);
  color:#f0e2c0;
  border-radius:999px;
  padding:8px 14px;
  font-family:"Tajawal",sans-serif;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

/* بقية المكتبة على نفس الليل */
body.id-body .worlds,
body.id-body .content-shell,
body.id-body .library-section,
body.id-body .about-library,
body.id-body .contact-section,
body.id-body .manifesto,
body.id-body .coloring-section{
  color:#f6f1e6 !important;
  background:transparent !important;
}
body.id-body .section-head{border-bottom-color:rgba(228,197,107,.2) !important}
body.id-body .section-head h2,
body.id-body .about-library h2,
body.id-body .contact-section h2,
body.id-body .manifesto h2{color:#f6e7c4 !important}
body.id-body .section-head p,
body.id-body .about-library p,
body.id-body .contact-section p,
body.id-body .manifesto p{color:#d5ccbe !important}
body.id-body .kicker{color:#e4c56b !important}
body.id-body .about-library,
body.id-body .contact-section{
  border:1px solid rgba(228,197,107,.16) !important;
  border-radius:24px;
  background:rgba(255,255,255,.03) !important;
}
body.id-body .about-points span{
  background:rgba(255,255,255,.04) !important;
  color:#f0e6d4 !important;
  border-color:rgba(228,197,107,.16) !important;
}
body.id-body .catalog-card,
body.id-body .book-card{
  background:#121a2a !important;
  color:#f6f1e6 !important;
  border-color:rgba(228,197,107,.16) !important;
}
body.id-body .catalog-copy h3,
body.id-body .catalog-copy p,
body.id-body .catalog-copy small{color:#e7dece !important}
body.id-body .app-dialog{
  background:linear-gradient(165deg,#141c2e,#0d1422) !important;
  color:#f6f1e6 !important;
}
body.id-body .dialog-head h2{color:#f6e7c4}
body.id-body .search-box,
body.id-body .auth-form input,
body.id-body .auth-form textarea,
body.id-body .auth-form select{
  background:#0c1422 !important;
  color:#f6f1e6 !important;
  border-color:rgba(228,197,107,.28) !important;
}
body.id-body .search-box input{color:#f6f1e6}
body.id-body .result-item{background:rgba(255,255,255,.03)}
body.id-body .result-item b{color:#f6f1e6}
body.id-body .empty-state b{color:#f0e2c0}
body.id-body .footer-links{flex-wrap:wrap;justify-content:center;row-gap:6px;max-width:100%}
body.id-body .footer{
  background:#080d18 !important;
  border-radius:0 !important;
  border-top:1px solid rgba(228,197,107,.16);
}
body.id-body .spotlight{border-color:rgba(228,197,107,.2)}
body.id-body .coloring-section{
  margin-inline:auto;
  width:min(1160px,calc(100% - 32px));
  padding-inline:0;
}

@media (max-width:1100px){
  body.id-body .desktop-nav{display:none}
  body.id-body .menu-btn{display:grid;place-items:center}
  body.id-body .id-gates{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}
  body.id-body .id-hero{min-height:520px}
  body.id-body .id-hero-copy{padding-bottom:28px}
  body.id-body .id-perks{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}
  body.id-body .id-perks button + button::before{display:none}
}
@media (max-width:720px){
  body.id-body .id-header{min-height:68px;padding-inline:12px;gap:8px}
  body.id-body .id-brand .brand-copy small,
  body.id-body .id-brand .brand-copy em,
  body.id-body .id-book{display:none}
  body.id-body .aj-mark{width:42px;height:42px}
  body.id-body .id-login{font-size:13px;padding-inline:2px}
  body.id-body .id-round{width:36px;height:36px;min-width:36px}
  body.id-body .id-hero{min-height:460px}
  body.id-body .id-hero-copy h1{font-size:58px}
  body.id-body .id-hero-copy p{font-size:15px}
  body.id-body .id-search{height:50px;font-size:13px;padding-inline:14px}
  body.id-body .id-gates{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:8px;
    margin-top:14px;
    -webkit-overflow-scrolling:touch;
  }
  body.id-body .gate{min-width:78%;scroll-snap-align:center;min-height:240px}
  body.id-body .id-perks{grid-template-columns:1fr 1fr}
  body.id-body .id-scroll-paper{padding:26px 16px 18px;border-radius:28px}
  body.id-body .id-quill{width:64px;left:4%;top:8px}
  body.id-body .mobile-nav{top:72px}
}
@media (prefers-reduced-motion:reduce){
  body.id-body .gate{transition:none}
}

/* V71: integrated library tiles */
.id-gates .gate-mushaf .gate-custom-art,.id-gates .gate-hifz .gate-custom-art{display:grid;place-items:center;background:radial-gradient(circle at 40% 20%,#52795f,#122b29 76%);color:#f1d697;min-height:130px;font-size:72px;text-shadow:0 4px 20px #071c18}.id-gates .gate-hifz .gate-hifz-art{background:radial-gradient(circle at 35% 20%,#665b76,#172a36 75%)}
.id-gates .gate-custom-art span{font-family:Georgia,serif}.id-gates .gate-mushaf,.id-gates .gate-hifz{min-width:0}

/* Main Quran gate: first, custom illuminated mushaf artwork */
.id-gates .gate-mushaf .gate-mushaf-art{background:#102e2b;display:block;min-height:118px}
.id-gates .gate-mushaf .gate-mushaf-art img{height:100%;width:100%;object-fit:cover;display:block}
.id-gates .gate-mushaf{border-color:rgba(227,196,124,.5)}

/* V76 official user-approved category art */
.id-gates .gate-mushaf-art img,.id-gates .gate-hifz-art img{width:100%;height:100%;object-fit:cover;object-position:center 38%;display:block}
.id-gates .gate-hifz-art{background:#d7b98b;display:block;min-height:118px}

/* V79: full-art gate cards with accessible title overlays */
body.id-body .id-gates .gate{position:relative;isolation:isolate;min-height:268px;background:#18352f}
body.id-body .id-gates .gate-art{position:absolute;inset:0;width:100%;height:100%;min-height:0;z-index:-2}
body.id-body .id-gates .gate-art img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
body.id-body .id-gates .gate-body{margin-top:auto;flex:0 0 auto;min-height:112px;padding:34px 12px 30px!important;color:#fff!important;background:linear-gradient(0deg,rgba(8,19,20,.92),rgba(12,26,26,.69) 60%,transparent)!important;text-shadow:0 2px 8px #0008}
body.id-body .id-gates .gate-body small{opacity:.95}
body.id-body .id-gates .gate-arrow{bottom:6px}
body.id-body .id-gates .gate-mushaf-art,body.id-body .id-gates .gate-hifz-art{height:100%;min-height:0}
body.id-body .books-portal-grid .library-hifz-shelf{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;text-align:center;text-decoration:none;color:inherit;border:1px solid rgba(180,150,95,.32);padding:14px;border-radius:15px;background:rgba(190,155,92,.08)}
body.id-body .books-portal-grid .library-hifz-shelf span{font-size:26px}body.id-body .books-portal-grid .library-hifz-shelf small{opacity:.75}


/* V79.1: improve gate readability and crop text baked into approved artwork */
body.id-body .id-gates .gate{overflow:hidden}
body.id-body .id-gates .gate-body{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;line-height:1.35}
body.id-body .id-gates .gate-body b{display:block;font-size:1.24rem;line-height:1.2}
body.id-body .id-gates .gate-body small{display:block;font-size:.92rem;line-height:1.45;max-width:18ch}
body.id-body .id-gates .gate-mushaf .gate-art img{object-position:center 22%;transform:scale(1.06)}
body.id-body .id-gates .gate-hifz .gate-art img{object-position:center 12%;transform:scale(1.08)}
body.id-body .id-gates .gate-books .gate-body small,
body.id-body .id-gates .gate-manga .gate-body small,
body.id-body .id-gates .gate-kids .gate-body small,
body.id-body .id-gates .gate-color .gate-body small,
body.id-body .id-gates .gate-comp .gate-body small{max-width:15ch}
body.id-body .books-portal-grid .library-hifz-shelf{cursor:pointer;font:inherit}
body.id-body #hifzTextsGrid .hifz-text-item{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:right;gap:6px;padding:16px;border-radius:16px;border:1px solid rgba(180,150,95,.28);background:rgba(14,29,31,.4);color:inherit;text-decoration:none}
body.id-body #hifzTextsGrid .hifz-text-item b{font-size:1rem;line-height:1.45}
body.id-body #hifzTextsGrid .hifz-text-item small{opacity:.82;line-height:1.5}
body.id-body #hifzTextsGrid .hifz-text-item span{display:inline-flex;align-items:center;gap:8px;color:#dfc48d;font-weight:700}
body.id-body #hifzTextsGrid .hifz-empty{grid-column:1/-1;padding:18px;border-radius:16px;background:rgba(190,155,92,.08);border:1px dashed rgba(190,155,92,.35)}

/* V79.2: approved artwork contains its own captions, use only upper illustration area */
body.id-body .id-gates .gate-mushaf .gate-art img,body.id-body .id-gates .gate-hifz .gate-art img{height:148%;width:100%;object-fit:cover;object-position:center top;transform:none}
body.id-body .id-gates .gate-body{min-height:116px;padding:20px 12px 25px!important;gap:5px}
body.id-body .id-gates .gate-body b{font-size:1.12rem;line-height:1.45}
body.id-body .id-gates .gate-body small{font-size:.78rem;line-height:1.45;max-width:100%}

/* V79.3: caption spacing and clean artwork */
body.id-body .id-gates .gate-body{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:134px;gap:9px;padding:12px 14px 48px!important;background:linear-gradient(0deg,rgba(6,18,20,.96) 0%,rgba(8,22,25,.9) 70%,rgba(7,21,24,.18) 100%)!important}
body.id-body .id-gates .gate-body b{display:block;font-size:clamp(17px,1.45vw,22px);line-height:1.35;margin:0;max-width:100%}
body.id-body .id-gates .gate-body small{display:block;font-size:clamp(11px,1vw,13px);line-height:1.6;margin:0;max-width:100%;opacity:.96}
body.id-body .id-gates .gate-arrow{bottom:11px;left:50%;transform:translateX(-50%)}
body.id-body .id-gates .gate-mushaf .gate-art img,body.id-body .id-gates .gate-hifz .gate-art img{width:100%;height:100%;object-fit:cover;object-position:center center;transform:none}
@media(max-width:650px){body.id-body .id-gates .gate-body{padding:12px 9px 46px!important;min-height:145px}body.id-body .id-gates .gate-body b{font-size:17px}body.id-body .id-gates .gate-body small{font-size:12px}}

/* V79.5: editorial identities sharing Noor's gold and night palette */
body.id-body .noor-featured-stage{position:relative;display:grid;grid-template-columns:1.1fr .9fr;min-height:290px;overflow:hidden;border:1px solid rgba(223,185,111,.65);border-radius:25px;background:radial-gradient(circle at 75% 15%,rgba(187,132,59,.22),transparent 38%),linear-gradient(110deg,#171f2d,#12161f);box-shadow:0 12px 52px rgba(0,0,0,.22),inset 0 0 0 3px rgba(225,193,122,.055)}
body.id-body .noor-featured-stage:before{content:'✦';position:absolute;top:18px;left:22px;font-size:23px;color:#d7b56d;filter:drop-shadow(0 0 9px #dfb967)}
body.id-body .noor-featured-copy{z-index:1;align-self:center;padding:35px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
body.id-body .noor-featured-label{color:#ebd29c;border:1px solid #bb945a99;border-radius:20px;padding:6px 15px;background:#a47e3720}
body.id-body .noor-featured-copy h3{font-size:clamp(24px,3vw,42px);line-height:1.35;margin:0;color:#f7e8c6}
body.id-body .noor-featured-copy p{line-height:1.9;color:#d1c9ba;margin:0;max-width:60ch}
body.id-body .noor-featured-copy button,body.id-body .noor-voices-submit{cursor:pointer;border:1px solid #d7b56d;border-radius:12px;background:#d4b678;color:#1b2230;padding:11px 19px;font:inherit;font-weight:700}
body.id-body .noor-featured-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px;padding:25px 45px;background:radial-gradient(ellipse at 55% 50%,#d3ab5a30,transparent 65%)}
body.id-body .noor-featured-art img{max-height:280px;max-width:85%;height:100%;width:auto;object-fit:contain;box-shadow:0 13px 34px #000a;border-radius:9px;transform:rotate(-3deg)}
body.id-body .noor-featured-monogram{font-size:100px;color:#d9b875;text-shadow:0 0 24px #d9b87577}
body.id-body #new{position:relative}
body.id-body .noor-voices{margin-top:56px;margin-bottom:54px;padding:32px;border:1px solid rgba(215,181,109,.28);border-radius:26px;background:linear-gradient(145deg,#1a2532,#131b27 75%);box-shadow:0 20px 50px #0002;color:#f4ecd8}
body.id-body .noor-voices-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}
body.id-body .noor-voices-heading h2{font-size:clamp(25px,3vw,39px);color:#e8ce9a;margin:4px 0 8px}
body.id-body .noor-voices-heading p{color:#b9bdc2;margin:0;line-height:1.8}
body.id-body .noor-voices-quote{font-family:Georgia,serif;font-size:78px;color:#bb975e;opacity:.7}
body.id-body .noor-voices-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin:24px 0 20px}
body.id-body .noor-voice-card{padding:22px;border:1px solid #bd9f6744;background:#263242;border-radius:18px;min-height:180px;display:flex;flex-direction:column}
body.id-body .noor-voice-card>span{font-size:30px;color:#e5c488}
body.id-body .noor-voice-card p{font-size:15px;line-height:1.9;overflow-wrap:anywhere;flex:1}
body.id-body .noor-voice-card footer{display:flex;justify-content:space-between;gap:8px;color:#d6c09a;font-size:12px}
body.id-body .noor-voices-empty{padding:25px;border:1px dashed #cbaa6855;border-radius:12px;color:#d3c4a9}
body.id-body .noor-voices-privacy{font-size:12px;color:#aeb5bb;margin:15px 0 0}
@media(max-width:700px){body.id-body .noor-featured-stage{grid-template-columns:1fr}body.id-body .noor-featured-art{grid-row:1;min-height:210px;padding:22px}body.id-body .noor-featured-art img{max-height:195px}body.id-body .noor-featured-copy{padding:22px}body.id-body .noor-voices{padding:19px;margin-top:38px}body.id-body .noor-voices-quote{font-size:48px}}

/* V79.6: recent arrivals more substantial, without losing mobile responsiveness */
body.id-body #new{margin-top:32px}
body.id-body #new .section-head h2{font-size:clamp(27px,2.7vw,39px)}
body.id-body #newGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;overflow:visible;padding:10px 2px 18px}
body.id-body #newGrid .catalog-card{min-width:0;width:100%;flex:none;box-shadow:0 10px 32px #0003;border:1px solid rgba(209,173,105,.35);border-radius:17px;background:linear-gradient(145deg,#273042,#171d2b);overflow:hidden}
body.id-body #newGrid .card-main{display:flex;flex-direction:column;height:100%}
body.id-body #newGrid .catalog-cover{aspect-ratio:5/5.5;width:100%;box-sizing:border-box;border-radius:16px 16px 5px 5px}
body.id-body #newGrid .catalog-copy{padding:15px 14px 18px;width:100%;box-sizing:border-box;flex:1}
body.id-body #newGrid .catalog-copy h3{font-size:18px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.id-body #newGrid .catalog-copy p{font-size:12px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
body.id-body #newGrid .catalog-copy small{font-size:11px}
body.id-body #newGrid .catalog-copy span{font-size:10px}
body.id-body #newGrid .catalog-cover strong{font-size:clamp(16px,1.5vw,23px);line-height:1.45}
body.id-body #readerVoices{margin-bottom:25px}
body.id-body #about{margin-top:20px;margin-bottom:44px}
@media(max-width:900px){body.id-body #newGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:580px){body.id-body #newGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.id-body #newGrid .catalog-copy{padding:11px 10px 14px}body.id-body #newGrid .catalog-copy h3{font-size:15px}body.id-body #newGrid .catalog-copy p{font-size:11px}}

/* V79.7: responsive library text shelf buttons */
body.id-body #hifzTextsGrid button.hifz-text-item{cursor:pointer;font:inherit;min-width:0;width:100%;}
body.id-body #hifzTextsGrid .hifz-text-item:hover{border-color:#d9b577;background:rgba(184,147,89,.13)}
