.hisn-page{background:radial-gradient(circle at 10% 8%,#a344a655,transparent 25%),radial-gradient(circle at 92% 16%,#00baa452,transparent 28%),linear-gradient(145deg,#071526,#17224a 50%,#083b3b)}.hisn-hero{max-width:1180px;margin:auto;padding:95px 30px 70px;display:grid;grid-template-columns:1.15fr .85fr;gap:65px;align-items:center}.hisn-hero .kicker,.hisn-detail .kicker{color:#ffe07a;text-transform:uppercase;letter-spacing:.16em;font-weight:900;font-size:13px}.hisn-hero h1{font:400 clamp(58px,8vw,94px)/.98 Georgia,serif;margin:15px 0 24px}.hisn-hero h1 em{color:#ff8dbc;font-weight:400}.hisn-hero p:not(.kicker){color:#c7dfdc;font-size:18px;line-height:1.75}.hisn-book{min-height:450px;border-radius:18px 42px 42px 18px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:radial-gradient(circle at 25% 15%,#fff49b55,transparent 28%),linear-gradient(150deg,#7f3ec8,#e55287 50%,#efa63e);border:3px solid #ffffff75;box-shadow:-18px 22px 0 #1b174b88,0 40px 85px #0008;transform:rotate(3deg);position:relative}.hisn-book:before{content:"";position:absolute;left:22px;top:0;bottom:0;border-left:2px solid #ffffff40}.hisn-book span,.hisn-book b{font:700 62px/1.1 'Noto Naskh Arabic',serif}.hisn-book small{font-weight:900;letter-spacing:.17em;margin-top:24px}.hisn-book i{font:italic 16px Georgia,serif;color:#fff7c4;margin-top:12px}.hisn-tools{max-width:1180px;margin:0 auto 25px;padding:22px;display:grid;grid-template-columns:1.2fr 1fr auto;gap:14px;background:#ffffff0e;border:1px solid #ffffff22;border-radius:22px;scroll-margin-top:130px}.hisn-tools label{display:grid;gap:7px;color:#d7ece9;font-size:12px;font-weight:800}.hisn-tools input,.hisn-tools select{width:100%;box-sizing:border-box;padding:14px;border-radius:11px;border:1px solid #ffffff2c;background:#071a2baa;color:#fff;font:500 15px Manrope}.hisn-tools select option{color:#13213b}.hisn-tools button{align-self:end;padding:15px 19px;border:0;border-radius:11px;background:linear-gradient(110deg,#ffe57e,#ff91a9);color:#3a2544;font-weight:900}.hisn-summary{max-width:1180px;margin:0 auto 18px;padding:0 6px;display:flex;justify-content:space-between;color:#b9d1ce}.hisn-summary p{margin:0}.hisn-grid{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hisn-card{height:600px;perspective:1600px;scroll-margin-top:150px}.hisn-flipper{width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .7s}.hisn-card.flipped .hisn-flipper{transform:rotateY(180deg)}.hisn-face{position:absolute;inset:0;box-sizing:border-box;padding:27px;border-radius:26px;backface-visibility:hidden;overflow:auto;border:1px solid #ffffff2e;box-shadow:0 24px 60px #0006;background:radial-gradient(circle at 100% 0,#ffce6c3d,transparent 34%),linear-gradient(145deg,#17365f,#4c276d 60%,#126274)}.hisn-card:nth-child(3n+2) .hisn-front{background:radial-gradient(circle at 0 100%,#ff6da943,transparent 38%),linear-gradient(145deg,#0b5364,#2f2b73)}.hisn-card:nth-child(3n+3) .hisn-front{background:radial-gradient(circle at 100% 0,#72ebd03c,transparent 36%),linear-gradient(145deg,#5a2a72,#0b5760)}.hisn-back{transform:rotateY(180deg);background:radial-gradient(circle at 90% 0,#6de6d04a,transparent 35%),linear-gradient(145deg,#0b5f61,#2d286d 63%,#832d65)}.hisn-card-top{display:flex;justify-content:space-between;align-items:center;color:#ffe17b}.hisn-card-top span{font:700 28px Georgia,serif}.hisn-card-top small{font-weight:800}.hisn-face h2{font:25px/1.15 Georgia,serif;margin:20px 0 12px;color:#fff}.hisn-arabic{font:600 29px/1.8 'Noto Naskh Arabic',serif;color:#fff;margin:15px 0;max-height:245px;overflow:auto}.hisn-reading{font:italic 14px/1.55 Georgia,serif;color:#f7d9e7;max-height:92px;overflow:auto}.hisn-meaning{font:20px/1.65 Georgia,serif;color:#eef8f6}.hisn-repeat{display:inline-block;padding:8px 11px;border-radius:99px;background:#ffe27e;color:#382641;font-weight:900}.hisn-actions{display:flex;gap:9px;position:sticky;bottom:-27px;padding:15px 0 3px;background:linear-gradient(transparent,#192d57 35%)}.hisn-back .hisn-actions{background:linear-gradient(transparent,#253060 35%)}.hisn-actions button,.hisn-actions a{display:grid;place-items:center;min-height:42px;padding:0 14px;border-radius:10px;border:1px solid #ffffff30;background:#ffffff13;color:#fff;text-decoration:none;font-weight:900;cursor:pointer}.hisn-actions .flip-hisn{flex:1;background:linear-gradient(110deg,#ffe482,#ff9caa);color:#3c2746;border:0}.hisn-source{max-width:900px;margin:90px auto;padding:42px;text-align:center;border-radius:26px;background:#ffffff0d;border:1px solid #ffffff22}.hisn-source h2{font:40px Georgia,serif;margin:0 0 14px}.hisn-source p{color:#bfd6d3;line-height:1.75}.hisn-page>.load-more{display:block;margin:40px auto 80px}.hisn-detail-card{max-width:900px;margin:80px auto;padding:52px;border-radius:30px;background:radial-gradient(circle at 100% 0,#ff6ea93b,transparent 35%),linear-gradient(145deg,#17375f,#3b286e 55%,#0d5961);border:1px solid #ffffff2d;box-shadow:0 30px 80px #0006}.hisn-detail-card h1{font:45px Georgia,serif}.detail-arabic{font:600 42px/1.9 'Noto Naskh Arabic',serif;color:#fff}.hisn-detail-card section{margin-top:28px;padding-top:22px;border-top:1px solid #ffffff20}.hisn-detail-card h2{color:#ffe080}.hisn-detail-card section p{font-size:18px;line-height:1.75;color:#d9ebe9}.detail-translit{font-style:italic}.repeat-note{color:#ffe080;font-weight:900}.hisn-toast{position:fixed}.hisn-page .toast{z-index:50}@media(max-width:900px){.hisn-hero{grid-template-columns:1fr;text-align:center}.hisn-book{max-width:420px;width:100%;margin:auto;min-height:400px}.hisn-grid{grid-template-columns:repeat(2,1fr);padding:0 18px}.hisn-tools{margin:0 18px;grid-template-columns:1fr 1fr}.hisn-tools button{grid-column:1/-1}.hisn-summary{padding:0 22px}}@media(max-width:650px){.hisn-hero{padding-top:55px}.hisn-hero h1{font-size:58px}.hisn-grid{grid-template-columns:1fr}.hisn-tools{grid-template-columns:1fr}.hisn-summary{display:block}.hisn-card{height:570px}.hisn-detail-card{margin:35px 16px;padding:30px 22px}.detail-arabic{font-size:32px}.hisn-detail-card h1{font-size:37px}}
