*{box-sizing:border-box}body{margin:0;background:#e9e6df;color:#292d2d;font-family:Arial,"Noto Sans Hebrew",sans-serif}header{background:#202b2c;color:#fff;padding:16px max(18px,5vw);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}header span{opacity:.7}main{max-width:1100px;margin:22px auto;padding:0 16px}.toolbar,.navigation{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:15px}button{font:inherit;background:#fff;border:1px solid #adb5b1;border-radius:7px;padding:10px 14px;cursor:pointer}button:hover{background:#e2ebe7}#book{perspective:1500px;max-width:900px;margin:auto}.sheet{display:flex;direction:rtl;min-height:510px;background:#fdfbf5;box-shadow:0 12px 32px #0003;border:1px solid #b8b7b1;transform-origin:center;transition:transform .28s ease,opacity .28s ease}.sheet.turn{transform:rotateY(-12deg) scale(.985);opacity:.6}.page{width:50%;padding:36px;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-left:1px solid #d5d0c7}.page:last-child{border-left:0}.page img{max-width:100%;max-height:355px;object-fit:contain}.page h1{font-size:clamp(24px,3vw,40px)}.page h2{font-size:clamp(20px,2.4vw,30px)}.page p{line-height:1.8;max-width:38ch}.page small{color:#626968}.page a{color:#215f71}.cover{background:#263636;color:white}.cover img{max-height:430px}.navigation span{min-width:105px;text-align:center}.hint{text-align:center;color:#58605e;font-size:14px}dialog{border:0;border-radius:10px;max-width:94vw;max-height:94vh;padding:12px;background:#202525}dialog::backdrop{background:#000c}dialog img{display:block;max-width:88vw;max-height:82vh;object-fit:contain}dialog button{margin-bottom:10px}@media(max-width:650px){.sheet{min-height:490px}.page{width:100%;padding:22px}.page:not(:first-child){display:none}.page img{max-height:310px}.toolbar button,.navigation button{font-size:13px;padding:9px}.sheet{min-height:460px}}