.sarraf-view{display:inline-grid;place-items:center;width:100%;height:100%;min-height:100px;perspective:950px;vertical-align:middle;}
.sarraf-model{position:relative;width:var(--sarraf-size);height:var(--sarraf-size);transform-style:preserve-3d;transform:rotateX(-7deg) rotateY(-19deg);transition:transform .6s;}
.sarraf-face{position:absolute;inset:0;backface-visibility:hidden;overflow:hidden;background:#168c92;}.sarraf-face canvas{display:block;width:100%;height:100%;}
.sarraf-front{transform:translateZ(calc(var(--sarraf-depth)/2));}
.sarraf-back{transform:rotateY(180deg) translateZ(calc(var(--sarraf-depth)/2));}
.sarraf-left,.sarraf-right{left:calc((var(--sarraf-size) - var(--sarraf-depth))/2);width:var(--sarraf-depth);right:auto;filter:brightness(.9);}
.sarraf-left{transform:rotateY(-90deg) translateZ(calc(var(--sarraf-size)/2));}.sarraf-right{transform:rotateY(90deg) translateZ(calc(var(--sarraf-size)/2));}
.sarraf-top,.sarraf-bottom{top:calc((var(--sarraf-size) - var(--sarraf-depth))/2);height:var(--sarraf-depth);bottom:auto;}
.sarraf-top{transform:rotateX(90deg) translateZ(calc(var(--sarraf-size)/2));}.sarraf-bottom{transform:rotateX(-90deg) translateZ(calc(var(--sarraf-size)/2));}
a:hover>.sarraf-view .sarraf-model{transform:rotateX(-5deg) rotateY(12deg);}
@media(prefers-reduced-motion:reduce){.sarraf-model{transition:none;}}

.ahkam-3d-stage {--box-w:300px;--box-h:445px;--box-d:68px;position:relative;display:grid;place-items:center;min-height:550px;perspective:1400px;isolation:isolate;}
.ahkam-3d-box {position:relative;width:var(--box-w);height:var(--box-h);transform-style:preserve-3d;transform:rotateX(-3deg) rotateY(-18deg) rotateZ(0deg);will-change:transform;}
.ahkam-box-face {position:absolute;inset:0;backface-visibility:hidden;overflow:hidden;background:#28351b;box-shadow:none;}
.ahkam-box-front {transform:translateZ(calc(var(--box-d)/2));background:#344122;}
.ahkam-box-face canvas {display:block;width:100%;height:100%;}
.ahkam-box-back {transform:rotateY(180deg) translateZ(calc(var(--box-d)/2));}
.ahkam-box-side {left:calc((var(--box-w) - var(--box-d))/2);right:auto;width:var(--box-d);display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#192714,#46532c,#24321c);color:#d8dfab;}
.ahkam-box-left {transform:rotateY(-90deg) translateZ(calc(var(--box-w)/2));}
.ahkam-box-right {transform:rotateY(90deg) translateZ(calc(var(--box-w)/2));}
.ahkam-box-edge {top:calc((var(--box-h) - var(--box-d))/2);bottom:auto;height:var(--box-d);background:linear-gradient(#3e4b28,#1c2b17);}
.ahkam-box-top {transform:rotateX(90deg) translateZ(calc(var(--box-h)/2));}
.ahkam-box-bottom {transform:rotateX(-90deg) translateZ(calc(var(--box-h)/2));}
.ahkam-3d-shadow {position:absolute;bottom:25px;left:15%;width:70%;height:35px;border-radius:50%;background:rgba(0,0,0,.3);filter:blur(18px);z-index:-1;}
@media(max-width:760px){.ahkam-3d-stage{--box-w:225px;--box-h:334px;--box-d:51px;min-height:430px;}}
@media(prefers-reduced-motion:reduce){.ahkam-3d-box{will-change:auto;}}

.ahkam-flight {position:fixed;width:var(--box-w);height:var(--box-h);perspective:1400px;z-index:45;}
.ahkam-flight .ahkam-3d-box {transition:none;}
.ahkam-flight-origin .ahkam-3d-shadow {opacity:0;}
body.modal-open .ahkam-flight {visibility:hidden!important;}
.ahkam-flight:focus-visible {outline:2px solid var(--paper);outline-offset:8px;}

.ahkam-box-face {border:0;outline:0;}
.ahkam-box-left canvas,.ahkam-box-right canvas {filter:brightness(.91);}
.ahkam-box-top canvas {filter:brightness(1.03);}

.product-overview-item.vitrine-ahkam{position:relative;isolation:isolate;}
.product-overview-item.ahkam-3d-destination>img{visibility:hidden;}
.ahkam-flight{pointer-events:none;cursor:inherit;}
.ahkam-flight.is-docked{z-index:1;}
.ahkam-flight.is-docked .ahkam-3d-box{transition:none;}

html:has(body.product-screens-page){scroll-snap-type:none;}
body.product-screens-page{background:var(--primary);color:var(--paper);}
body.product-screens-page main.product-screens-main{background:var(--primary);padding:0;}
.catalog-chapter{padding:80px 24px;text-align:center;}
.catalog-eyebrow{display:block;font:700 11px/1.5 'DM Sans',sans-serif;letter-spacing:2px;}
.catalog-start{display:inline-flex;gap:18px;align-items:center;color:inherit;padding:14px 0;text-decoration:none;border-bottom:1px solid currentColor;}
.game-picker{display:grid;grid-template-columns:110px minmax(0,1fr);gap:40px;width:min(1440px,calc(100% - 80px));margin:auto;padding:80px 0 100px;align-items:start;scroll-margin-top:32px;}
.game-picker-shelf{display:grid;gap:12px;padding:12px 0;}
.game-picker-thumb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:112px;padding:12px 8px;border:1px solid #fffdf82b;border-radius:20px;background:#fffdf80a;color:var(--paper);cursor:pointer;transition:background .2s,border-color .2s;}
.game-picker-thumb[aria-pressed="true"]{background:#fffdf81a;border-color:var(--paper);}
.game-picker-thumb>img{width:70px;height:74px;object-fit:contain;filter:drop-shadow(0 8px 7px #660b1924);}
.game-thumb-label{font:700 11px/1.4 'DM Sans',sans-serif;text-align:center;}
.game-picker-thumb>.button-wave-fill{display:none;}
.game-picker-stage,.catalog-product-copy,.catalog-product-display{min-width:0;}
.catalog-product[hidden]{display:none!important;}
.catalog-product{padding:60px 0;scroll-margin-top:32px;}
.game-picker-stage>.catalog-product{padding:0;}
.catalog-product-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:center;gap:40px;width:min(1200px,calc(100% - 48px));margin:auto;}
.game-picker-stage .catalog-product-grid{width:100%;}
.catalog-product-display{text-align:center;padding:12px 0;background:transparent;position:relative;}

body.product-screens-page .catalog-product-display h2:focus{outline:none;box-shadow:none;}
.catalog-product-image{display:grid;place-items:center;width:100%;height:clamp(240px,30vw,350px);margin:0;perspective:1200px;isolation:isolate;}
.catalog-product-image>img{display:block;width:100%;height:100%;max-height:350px;object-fit:contain;filter:drop-shadow(0 22px 18px #60232226);transition:transform .4s;}
body.product-screens-page main .catalog-product-display h2{font:800 clamp(28px,3vw,44px)/1.15 'Nunito',sans-serif!important;color:var(--paper);text-transform:none!important;letter-spacing:-1px!important;margin:0 0 6px;overflow-wrap:break-word;}
.catalog-product-copy{display:flex;flex-direction:column;align-items:flex-start;gap:24px;}
.catalog-description-frame{width:100%;box-sizing:border-box;padding:24px 26px;border:1px solid var(--paper);border-radius:16px;}
.catalog-description-frame>.catalog-description+.catalog-description{margin-top:16px;}
@media(min-width:801px){.catalog-description-frame{position:relative;left:-18px;top:24px;margin-bottom:24px;}}
body.product-screens-page main .catalog-description{font:400 clamp(14px,1.1vw,16px)/1.7 'DM Sans',sans-serif;color:var(--paper);margin:0;}
body.product-screens-page .catalog-buy{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;background:transparent;color:var(--paper);border:1px solid currentColor;border-radius:10px;font:600 14px/1.3 'DM Sans',sans-serif;text-decoration:none;transition:border-radius .35s ease,background-color .25s ease,color .25s ease;}
body.product-screens-page .catalog-buy:is(:hover,:focus-visible){border-radius:999px;background:var(--paper);color:var(--primary);}
.catalog-product-display>.catalog-buy{margin-top:16px;width:auto;}
.catalog-cart-icon{width:22px;height:22px;flex:none;}
.catalog-reviews{display:grid;gap:12px;width:100%;margin:8px 0 0;}
.catalog-review{padding:18px 20px;background:#fffdf80d;border:1px solid #fffdf836;border-radius:16px;}
body.product-screens-page main .catalog-review p{font:400 13px/1.65 'DM Sans',sans-serif;color:var(--paper);margin:0;}
.catalog-product-image>.sarraf-view{height:100%!important;min-height:0;filter:none;}
.catalog-product-image>.catalog-ahkam-stage{--box-w:clamp(140px,15vw,210px);--box-h:calc(var(--box-w)*445/300);--box-d:calc(var(--box-w)*68/300);height:100%;min-height:0;width:100%;filter:none;}
.catalog-product-image .ahkam-3d-box{transform:rotateX(-7deg) rotateY(-22deg);transition:transform .5s;}
.picker-live-model{position:relative;width:88px;height:88px;pointer-events:none;}
.picker-live-model>.sarraf-view{position:absolute;inset:0;width:88px!important;height:88px!important;min-height:0;--sarraf-size:62px!important;--sarraf-depth:14px!important;}
.picker-live-model .sarraf-model{--sarraf-size:62px!important;--sarraf-depth:14px!important;}
body.product-screens-page .picker-live-model>.catalog-ahkam-stage{position:absolute;inset:0;width:88px;height:88px;min-height:0;--box-w:48px;--box-h:71px;--box-d:11px;}
body.product-screens-page .lubb-wave-transition{display:none;}
body.product-screens-page .site-footer{--footer-background:var(--paper);--footer-foreground:var(--primary);background:var(--paper);color:var(--primary);position:relative;}
.product-screens-page main :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:5px;}
@media(hover:hover){.game-picker-thumb:hover{background:#fffdf819;border-color:#fffdf8a0;}.catalog-product-image:hover>img{transform:translateY(-7px) rotate(-2deg);}.catalog-product-image:hover .sarraf-model{transform:rotateX(-5deg) rotateY(10deg);}.catalog-product-image:hover .ahkam-3d-box{transform:rotateX(-4deg) rotateY(6deg);}}
@media(max-width:1100px){.game-picker{width:calc(100% - 48px);grid-template-columns:96px minmax(0,1fr);gap:24px;}.catalog-product-grid{gap:26px;grid-template-columns:minmax(0,1fr) minmax(230px,.9fr);}.catalog-product-display{padding:12px 0;}.catalog-product-image{height:290px;}}
@media(max-width:800px){.game-picker{display:flex;flex-direction:column;gap:28px;width:calc(100% - 32px);padding:38px 0 60px;}.game-picker-shelf{display:flex;overflow-x:auto;width:100%;padding:4px 2px 12px;box-sizing:border-box;gap:10px;}.game-picker-thumb{flex:0 0 88px;min-height:108px;padding:10px 6px;}.game-picker-stage{width:100%;}.catalog-product-grid{grid-template-columns:1fr;gap:28px;}.catalog-product-display{padding:8px 0;}.catalog-product-image{height:270px;}.catalog-product-image>.catalog-ahkam-stage{--box-w:160px;}.catalog-product-copy{gap:20px;padding:0 6px;}.catalog-buy{width:100%;box-sizing:border-box;}.catalog-reviews{grid-template-columns:1fr 1fr;gap:10px;}.catalog-review{padding:16px;}}
@media(max-width:450px){.catalog-reviews{grid-template-columns:1fr;}.catalog-product-image{height:240px;}body.product-screens-page main .catalog-product-display h2{font-size:30px!important;}.catalog-product-image>.catalog-ahkam-stage{--box-w:145px;}}
@media(prefers-reduced-motion:reduce){.game-picker-thumb,.catalog-product-image>img,.catalog-product-image .ahkam-3d-box{transition:none;}}

.games-discover-intro{padding:75px 0 20px;}
.games-discover-intro>.container{width:min(1240px,calc(100% - 64px));margin:auto;}
.discover-opening{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:center;margin:28px 0 38px;}
body.product-screens-page main .games-discover-intro h1{font:600 clamp(44px,5vw,76px)/1.08 'Nunito',sans-serif!important;color:var(--paper);margin:0 0 26px;}
body.product-screens-page main .games-discover-intro .discover-handnote{font:500 clamp(27px,3vw,40px)/1.15 'Caveat',cursive;color:var(--paper);transform:rotate(-4deg);display:inline-block;margin:0;}
body.product-screens-page main .games-discover-intro p{font:400 16px/1.7 'DM Sans',sans-serif;color:inherit;}
.discover-opening-copy{color:#53443f;background:#fffdf8;border:1px solid #fffdf880;border-radius:28px;padding:34px 38px;box-sizing:border-box;}
body.product-screens-page main .games-discover-intro .discover-opening-copy h3{font:800 clamp(16px,1.5vw,23px)/1.3 'Nunito',sans-serif!important;text-transform:none!important;color:var(--primary);letter-spacing:-.4px!important;margin:0 0 24px;max-width:none;white-space:nowrap;}
body.product-screens-page main .games-discover-intro .discover-opening-text p{font:400 14px/1.85 'DM Sans',sans-serif;color:#53443f;margin:0 0 18px;max-width:62ch;}
body.product-screens-page main .games-discover-intro .discover-opening-text p:last-child{margin-bottom:0;}
.discover-opening-art{padding:20px 0;}
body.product-screens-page main .discover-journey-title{font:600 clamp(27px,3vw,42px)/1.2 'Nunito',sans-serif!important;color:var(--paper);text-align:center;margin:0 0 28px;}
.discover-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:start;}
.discover-step{padding:24px 18px;background:var(--paper);color:var(--ink);border-radius:24px 24px 24px 8px;min-width:0;}
.discover-step:nth-child(even){border-radius:24px 8px 24px 24px;}
.discover-step-number{font:500 30px 'Caveat',cursive;color:var(--primary);}
body.product-screens-page main .discover-step h3{font:700 17px/1.35 'Nunito',sans-serif!important;color:var(--primary);margin:15px 0 12px;}
body.product-screens-page main .discover-step p{font-size:13px;color:var(--ink);line-height:1.65;}
.discover-step details{border-top:1px solid var(--line);padding-top:12px;margin-top:18px;}
.discover-step summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;font:600 12px 'DM Sans',sans-serif;color:var(--primary);list-style:none;}
.games-discover-intro summary::-webkit-details-marker{display:none;}
.games-discover-intro details[open]>summary>span{rotate:45deg;}
.discover-finale{max-width:820px;margin:48px auto;text-align:center;color:var(--paper);}
.discover-finale>strong{font-size:14px;line-height:1.6;display:block;margin-top:20px;}
.discover-games-divider{padding:25px 0 10px;text-align:center;color:var(--paper);scroll-margin-top:30px;}
body.product-screens-page main .discover-games-divider h2{font:500 36px 'Caveat',cursive!important;color:var(--paper);margin:0;}
.discover-games-divider>span{font-size:32px;}
@media(max-width:1000px){.discover-steps{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:600px){.games-discover-intro{padding-top:45px;}.games-discover-intro>.container{width:calc(100% - 32px);}.discover-opening{grid-template-columns:1fr;gap:24px;}.discover-steps{grid-template-columns:1fr 1fr;gap:12px;}.discover-step{padding:20px 15px;}.discover-step:last-child{grid-column:1/-1;}.discover-finale{margin-block:32px;}}

body.product-screens-page main .games-discover-intro .discover-finale>strong{font:500 clamp(27px,3vw,40px)/1.15 'Caveat',cursive;display:block;transform:rotate(-4deg);margin-top:24px;}

.discover-opening-rearranged{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:64px;margin-block:35px 120px;}
body.product-screens-page main .games-discover-intro h1.discover-handwritten-title{font:700 clamp(38px,4.1vw,58px)/1.12 'Caveat',cursive!important;transform:rotate(-2deg);margin:0 0 22px;text-transform:none!important;}
@media(max-width:600px){.discover-opening-rearranged{grid-template-columns:1fr;gap:22px;margin-block:30px 38px;}body.product-screens-page main .games-discover-intro h1.discover-handwritten-title{font-size:40px!important;}}

.discover-title-cartoon{display:block;width:min(340px,85%);height:auto;margin:22px auto 4px;color:var(--paper);transform:rotate(-4deg);}
@media(max-width:600px){.discover-title-cartoon{max-width:85%;margin-top:16px;}}

body.product-screens-page main.product-screens-main>.games-discover-intro{background:var(--primary);color:var(--paper);}
body.product-screens-page main .games-discover-intro :is(.discover-kicker,.discover-handnote,.discover-handwritten-title,.discover-title-cartoon,.discover-story,.discover-journey-title,.discover-finale,.discover-games-divider,.discover-games-divider h2,.discover-games-link){color:var(--paper)!important;}
body.product-screens-page main .games-discover-intro .discover-finale>strong{color:var(--paper);}
.games-discover-intro .discover-step{background:var(--paper);border:1px solid #fffdf8;}

.discover-steps-red{margin-top:30px;}
body.product-screens-page main .games-discover-intro .discover-steps-red .discover-step{background:var(--primary);border-color:var(--primary);color:var(--paper);}
body.product-screens-page main .games-discover-intro .discover-steps-red :is(.discover-step-number,h3,p,summary){color:var(--paper);}
.discover-steps-red .discover-step details{border-color:#fffdf855;}

@media(min-width:801px){
 .game-picker-shelf{gap:8px;padding:0;max-height:calc(100svh - 100px);}
 .game-picker-thumb{min-height:0;height:clamp(58px,calc((100svh - 140px)/6),112px);padding:6px;gap:4px;border-radius:14px;box-sizing:border-box;}
 .game-picker-thumb>img{width:100%;height:clamp(30px,calc((100svh - 320px)/6),74px);}
 .game-thumb-label{font-size:10px;line-height:1.2;}
 .picker-live-model{width:70px;height:clamp(30px,calc((100svh - 320px)/6),74px);overflow:hidden;}
 .picker-live-model>.sarraf-view{width:70px!important;height:100%!important;--sarraf-size:clamp(25px,6svh,54px)!important;--sarraf-depth:12px!important;}
 .picker-live-model .sarraf-model{--sarraf-size:clamp(25px,6svh,54px)!important;--sarraf-depth:12px!important;}
 body.product-screens-page .picker-live-model>.catalog-ahkam-stage{width:70px;height:100%;--box-w:clamp(20px,4svh,42px);--box-h:calc(var(--box-w)*445/300);--box-d:calc(var(--box-w)*68/300);}
}

@media(max-width:900px){.discover-opening-rearranged{gap:30px;}.discover-opening-copy{padding:28px;}}
@media(max-width:600px){.discover-opening-art{padding:0;}.discover-opening-copy{padding:26px 22px;border-radius:22px;}body.product-screens-page main .games-discover-intro .discover-opening-text p{font-size:15px;line-height:1.8;}.discover-title-cartoon{width:210px;}.discover-opening-rearranged{margin-bottom:80px;}}

.discover-journey-surface{position:relative;width:100vw;left:50%;margin-left:-50vw;background:#fffdf8;padding:64px 0 40px;box-sizing:border-box;}
.discover-journey-inner{width:min(1240px,calc(100% - 64px));margin:auto;}
body.product-screens-page main .games-discover-intro:not(.materials-discover-intro) .discover-journey-surface{background:var(--primary);}
body.product-screens-page main .games-discover-intro:not(.materials-discover-intro) .discover-journey-surface :is(.discover-journey-title,.discover-finale,.discover-finale>strong,.discover-handnote,.discover-games-divider,.discover-games-divider h2){color:var(--paper)!important;}
body.product-screens-page main.product-screens-main>.games-discover-intro{padding-bottom:0;}
@media(max-width:600px){.discover-journey-surface{padding:44px 0 28px;}.discover-journey-inner{width:calc(100% - 32px);}}

body.product-screens-page .catalog-game .catalog-review {
 background:transparent;border:0;border-radius:0;box-shadow:none;
 color:var(--primary);padding:24px 25px 30px;
}
.catalog-game .catalog-handdrawn-bubble {position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.catalog-game .catalog-handdrawn-bubble path {fill:#fffdf8;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.catalog-game .catalog-handdrawn-bubble .catalog-bubble-sketch {fill:none;stroke-width:1;opacity:.6;}
body.product-screens-page .catalog-game .catalog-review:nth-child(2) {color:#fffdf8;background:transparent;border:0;}
.catalog-game .catalog-review:nth-child(2) .catalog-handdrawn-bubble path {fill:none;}
body.product-screens-page .catalog-game .catalog-review::after {display:none;}
body.product-screens-page main .catalog-game .catalog-review p {position:relative;color:inherit;font:500 clamp(8px,1.5vw,12px)/1.25 'Montserrat',cursive;margin:8px 0;}

body.product-screens-page .catalog-game .catalog-reviews {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:14px;
 width:100%;
}
body.product-screens-page .catalog-game .catalog-review {min-width:0;margin:0;}
@media(max-width:450px){
 body.product-screens-page .catalog-game .catalog-reviews {gap:10px;}
 body.product-screens-page .catalog-game .catalog-review {padding:18px 12px 24px;}
 body.product-screens-page main .catalog-game .catalog-review p {font-size:17px;}
}

.materials-discover-intro .discover-journey-surface{background:var(--paper);}
.materials-process .discover-step:nth-child(even){rotate:2deg;border-radius:24px 12px 28px 12px;}
.materials-process .discover-step:nth-child(odd){rotate:-1deg;border-radius:12px 28px 12px 24px;}
.materials-process .discover-step{box-shadow:4px 5px 0 #ed163526;}
.materials-catalog-page .game-picker-thumb{border-radius:12px 22px 12px 18px;}
.materials-catalog-page .catalog-review{position:relative;background:transparent;border:0;padding:30px 24px;}
.materials-catalog-page .catalog-handdrawn-bubble{position:absolute;inset:0;width:100%;height:100%;fill:var(--paper);stroke:var(--paper);stroke-width:2;z-index:-1;}
.materials-catalog-page .catalog-review{isolation:isolate;color:var(--primary);}
.materials-catalog-page .catalog-review p{color:var(--primary);}
@media(max-width:600px){.materials-process .discover-step:nth-child(n){rotate:0deg;}}

.materials-catalog-page .game-picker{min-height:calc(100svh + 80px);box-sizing:border-box;padding-bottom:140px;}

.materials-catalog-page .catalog-reviews{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px;}
.materials-catalog-page .catalog-review{min-width:0;}
@media(max-width:600px){.materials-catalog-page .catalog-reviews{gap:10px;}.materials-catalog-page .catalog-review{padding:22px 12px;}}

body main article.story-card {
 position:relative;isolation:isolate;overflow:hidden;
 background:#fffdf8;border:1px solid #fffdf8;border-radius:28px;
 padding:44px 36px 30px;
 box-shadow:0 18px 45px #75092118;
}
.story-card::before {
 content:'';display:block;width:42px;height:5px;margin-bottom:22px;
 border-radius:10px;background:var(--primary);box-shadow:52px 0 0 #ed16352b,68px 0 0 #ed163514;
}
.story-card::after {
 content:'';position:absolute;right:25px;top:24px;width:20px;height:20px;
 background:var(--primary);opacity:.28;
 clip-path:polygon(44% 0,56% 0,56% 32%,80% 9%,89% 18%,66% 44%,100% 44%,100% 56%,66% 56%,89% 80%,80% 89%,56% 66%,56% 100%,44% 100%,44% 66%,18% 89%,9% 80%,32% 56%,0 56%,0 44%,32% 44%,9% 18%,18% 9%,44% 32%);
 animation:story-spark-turn 12s ease-in-out infinite;
}
body main .story-card :is(.discover-opening-text, .workshop-intro-copy) {position:relative;}
body main .story-card strong {
 color:#2e2422;font-weight:700;
 text-decoration-line:underline;text-decoration-color:#fffdf8;
 text-decoration-thickness:3px;text-underline-offset:4px;text-decoration-skip-ink:auto;
}
body main .story-card .discover-opening-text>p,
body main .story-card>p {
 color:#655751;font-family:'DM Sans',sans-serif;line-height:1.85;
}
body main .story-card .discover-opening-text>p:last-child,
body main .story-card>p:last-of-type {
 border:0;background:#fffdf8;border-radius:16px;
 padding:17px 20px;margin:22px -10px 0;
}
@keyframes story-spark-turn {
 0%,100% {transform:rotate(0deg) scale(1);}
 50% {transform:rotate(90deg) scale(.85);}
}
@media(prefers-reduced-motion:no-preference) {
 .story-card[data-story-ready] {opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .7s cubic-bezier(.2,.7,.2,1);}
 .story-card[data-story-ready].is-story-visible {opacity:1;transform:translateY(0);}
 .story-card[data-story-ready] p {opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease;transition-delay:calc(100ms + var(--story-order,0)*75ms);}
 .story-card[data-story-ready].is-story-visible p {opacity:1;transform:translateY(0);}
}
@media(max-width:600px) {
 body main article.story-card {padding:32px 24px 25px;border-radius:24px;}
 .story-card::after {right:20px;top:20px;width:17px;height:17px;}
 body main .story-card .discover-opening-text>p:last-child,
 body main .story-card>p:last-of-type {padding:16px;margin-inline:-6px;}
}
@media(prefers-reduced-motion:reduce) {.story-card::after {animation:none;}}


body.product-screens-page main.product-screens-main:has(>.games-discover-intro:not(.materials-discover-intro)){
 background-color:var(--primary);
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 360' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.055' d='M0 60Q180 0 360 60T720 60T1080 60T1440 60V240Q1260 180 1080 240T720 240T360 240T0 240Z'/%3E%3C/svg%3E");
 background-size:100% 360px;
 background-repeat:repeat-y;
}

body.product-screens-page main.product-screens-main>.games-discover-intro:not(.materials-discover-intro),
body.product-screens-page main .games-discover-intro:not(.materials-discover-intro) .discover-journey-surface{background:transparent;}

body.product-screens-page .catalog-game .catalog-product-image{border:0;border-radius:0;padding:0;margin:18px auto 22px;background:transparent;box-shadow:none;filter:url(#catalog-beige-contour);}
body.product-screens-page .catalog-game .catalog-product-image>img{filter:none;}
body.product-screens-page .catalog-game .catalog-product-image:focus-visible{outline:2px dashed var(--paper);outline-offset:6px;}

body.product-screens-page .catalog-game .catalog-product-image:has(.sarraf-view,.catalog-ahkam-stage){filter:none;}
.catalog-game :is(.sarraf-view,.catalog-ahkam-stage){position:relative;}
.catalog-projected-contour{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.catalog-projected-contour polygon{fill:var(--paper);stroke:var(--paper);stroke-width:16px;stroke-linejoin:round;}
@media(max-width:800px){.catalog-projected-contour polygon{stroke-width:12px;}}

@media(min-width:801px){
 .materials-catalog-page .game-picker-shelf{gap:6px;}
 .materials-catalog-page .game-picker-thumb{height:clamp(58px,calc((100svh - 160px)/8),96px);gap:3px;padding:5px;}
 .materials-catalog-page .game-picker-thumb>img{height:clamp(26px,calc((100svh - 440px)/8),58px);}
 .materials-catalog-page .game-thumb-label{font-size:9px;line-height:1.15;}
}

.catalog-game :is(.sarraf-view,.catalog-ahkam-stage){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);}
.catalog-game :is(.sarraf-view,.catalog-ahkam-stage)>:is(.sarraf-model,.ahkam-3d-box){grid-area:1/1;align-self:center;justify-self:center;}
.picker-live-model .sarraf-view{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);}
.picker-live-model .sarraf-model{grid-area:1/1;}

.games-discover-intro .discover-steps-seven{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px;max-width:1200px;margin-inline:auto;}
.games-discover-intro .discover-steps-seven .discover-step{box-sizing:border-box;flex:0 0 calc((100% - 60px)/4);padding:24px 20px;}
.games-discover-intro .discover-steps-seven .discover-step-number{font-size:28px;line-height:1;}
body.product-screens-page main .games-discover-intro .discover-steps-seven .discover-step h3{font-size:17px!important;line-height:1.35!important;margin:16px 0 12px;}
body.product-screens-page main .games-discover-intro .discover-steps-seven .discover-step p{font:400 13px/1.7 'DM Sans',sans-serif;margin:0;}
@media(max-width:1100px){.games-discover-intro .discover-steps-seven{max-width:900px;gap:18px;}.games-discover-intro .discover-steps-seven .discover-step{flex-basis:calc((100% - 36px)/3);}}
@media(max-width:800px){.games-discover-intro .discover-steps-seven{max-width:620px;gap:16px;}.games-discover-intro .discover-steps-seven .discover-step{flex-basis:calc((100% - 16px)/2);}}
@media(max-width:480px){.games-discover-intro .discover-steps-seven{max-width:360px;}.games-discover-intro .discover-steps-seven .discover-step{flex-basis:100%;padding:24px;}}

body.product-screens-page:not(.materials-catalog-page){background:#fffdf8;}
body.product-screens-page:not(.materials-catalog-page) .site-footer{--footer-background:var(--primary);--footer-foreground:var(--paper);background:var(--footer-background);color:var(--footer-foreground);}
body.product-screens-page:not(.materials-catalog-page) .footer-pencil-bubble .brand-pencil{background:var(--footer-foreground);}

.discover-journey-heading{display:flex;align-items:center;justify-content:center;gap:22px;margin:0 0 30px;}
body.product-screens-page main .discover-journey-heading .discover-journey-title{margin:0;}
.discover-journey-flight{display:block;width:170px;height:auto;flex:0 0 170px;color:var(--paper);}
@media(max-width:800px){.discover-journey-heading{gap:12px;}.discover-journey-flight{width:110px;flex-basis:110px;}}
@media(max-width:480px){.discover-journey-heading{flex-direction:column;gap:6px;}.discover-journey-flight{width:130px;flex-basis:auto;}}

.games-discover-intro .discover-opening-copy.story-card::before{display:none;}
body.product-screens-page main .games-discover-intro .discover-opening-copy h3{font-size:clamp(20px,1.8vw,27px)!important;white-space:normal;}
body.product-screens-page main .games-discover-intro .discover-opening-text p{font-size:17px;line-height:1.8;}
@media(max-width:600px){body.product-screens-page main .games-discover-intro .discover-opening-text p{font-size:16px;}}

.discover-journey-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,7fr) minmax(0,1fr);gap:16px;align-items:center;}
body.product-screens-page main .discover-journey-heading .discover-journey-title{grid-column:2;text-align:center;}
.discover-journey-heading .discover-journey-flight{grid-column:3;justify-self:end;width:100%;max-width:150px;}
@media(max-width:600px){.discover-journey-heading{grid-template-columns:minmax(0,1fr) minmax(0,7fr) minmax(0,1fr);gap:8px;}.discover-journey-heading .discover-journey-flight{min-width:0;}}

body.product-screens-page main .materials-discover-intro .story-card .discover-opening-text>p:last-child{background:transparent;border:0;border-radius:0;padding:0;margin:0;}

body.product-screens-page main.product-screens-main:has(>.materials-discover-intro){
 background-color:var(--primary);
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 360' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.055' d='M0 60Q180 0 360 60T720 60T1080 60T1440 60V240Q1260 180 1080 240T720 240T360 240T0 240Z'/%3E%3C/svg%3E");
 background-size:100% 360px;
 background-repeat:repeat-y;
}
body.materials-catalog-page main.product-screens-main > .materials-discover-intro,
body.materials-catalog-page main .materials-discover-intro .discover-journey-surface {background:transparent;}

body.product-screens-page .catalog-material .catalog-review {
 background:transparent;border:0;border-radius:0;box-shadow:none;
 color:var(--primary);padding:24px 25px 30px;
}
.catalog-material .catalog-handdrawn-bubble {position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.catalog-material .catalog-handdrawn-bubble path {fill:#fffdf8;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.catalog-material .catalog-handdrawn-bubble .catalog-bubble-sketch {fill:none;stroke-width:1;opacity:.6;}
body.product-screens-page .catalog-material .catalog-review:nth-child(2) {color:#fffdf8;background:transparent;border:0;}
.catalog-material .catalog-review:nth-child(2) .catalog-handdrawn-bubble path {fill:none;}
body.product-screens-page .catalog-material .catalog-review::after {display:none;}
body.product-screens-page main .catalog-material .catalog-review p {position:relative;color:inherit;font:500 clamp(8px,1.5vw,12px)/1.25 'Montserrat',cursive;margin:8px 0;}

body.product-screens-page .catalog-material .catalog-reviews {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:14px;
 width:100%;
}
body.product-screens-page .catalog-material .catalog-review {min-width:0;margin:0;}
@media(max-width:450px){
 body.product-screens-page .catalog-material .catalog-reviews {gap:10px;}
 body.product-screens-page .catalog-material .catalog-review {padding:18px 12px 24px;}
 body.product-screens-page main .catalog-material .catalog-review p {font-size:17px;}
}

body.materials-catalog-page .catalog-material .catalog-handdrawn-bubble {z-index:0;}

.discover-journey-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:32px;align-items:start;}
.games-discover-intro .discover-journey-layout .discover-steps-seven{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;max-width:none;}
.games-discover-intro .discover-journey-layout .discover-step{min-width:0;padding:24px 20px;}
.discover-journey-aside .discover-finale{margin:12px 0 30px;text-align:left;}
body.product-screens-page main .discover-journey-aside .discover-finale p{font-size:15px;line-height:1.8;}
body.product-screens-page main .discover-journey-aside .discover-finale>strong{font-size:27px;}
.discover-journey-aside .discover-games-divider{margin:28px 0;padding:0;text-align:left;}
body.product-screens-page main .discover-journey-aside .discover-games-divider h2{font-size:26px!important;}

body.product-screens-page:not(.materials-catalog-page) .game-picker{align-items:center;}
body.product-screens-page:not(.materials-catalog-page) .game-picker-stage{align-self:center;}
body.product-screens-page:not(.materials-catalog-page) .catalog-product-grid{align-items:center;max-width:1160px;margin-inline:auto;}
body.product-screens-page:not(.materials-catalog-page) .catalog-product-copy{align-items:center;text-align:center;}
body.product-screens-page:not(.materials-catalog-page) .catalog-description-frame{position:static;left:auto;top:auto;margin:0;}
body.product-screens-page:not(.materials-catalog-page) .catalog-reviews{justify-content:center;text-align:center;}
body.product-screens-page:not(.materials-catalog-page) .catalog-product-display{text-align:center;}
@media(max-width:1000px){.discover-journey-layout{grid-template-columns:minmax(0,1fr);}.discover-journey-aside{max-width:700px;margin-inline:auto;}.discover-journey-aside .discover-finale,.discover-journey-aside .discover-games-divider{text-align:center;}}
@media(max-width:600px){.games-discover-intro .discover-journey-layout .discover-steps-seven{grid-template-columns:1fr;}.games-discover-intro .discover-journey-layout .discover-step{grid-column:auto;}}

@media(min-width:1001px){
 .games-discover-intro .discover-journey-layout .discover-steps-seven {
  grid-template-columns:repeat(4,minmax(0,1fr));
 }
 .games-discover-intro .discover-journey-layout .discover-step {padding:22px 16px;}
}

@media(min-width:1001px){
 .discover-journey-layout {grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
 .games-discover-intro .discover-journey-layout .discover-steps-seven {display:contents;}
 .discover-journey-layout > .discover-journey-aside {grid-column:4;grid-row:2;min-width:0;align-self:center;}
 .discover-journey-aside .discover-finale {margin-top:0;}
 body.product-screens-page main .discover-journey-aside .discover-finale p {font-size:14px;line-height:1.7;}
 body.product-screens-page main .discover-journey-aside .discover-finale > strong {font-size:25px;}
}

@media(min-width:601px){.materials-discover-intro .discover-opening-rearranged{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);}.materials-discover-intro .discover-opening-copy{grid-column:1;grid-row:1;}.materials-discover-intro .discover-opening-art{grid-column:2;grid-row:1;}}

.games-discover-intro .discover-journey-layout {display:block;}
.games-discover-intro .discover-journey-layout .discover-steps-seven {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px;width:100%;}
.games-discover-intro .discover-journey-layout .discover-step {grid-column:span 2;padding:26px 22px;}
.games-discover-intro .discover-journey-layout .discover-step:nth-child(5) {grid-column:2 / span 2;}
.games-discover-intro .discover-journey-layout > .discover-journey-aside {width:min(100%,850px);max-width:850px;margin:60px auto 0;}
.games-discover-intro .discover-journey-aside .discover-finale,
.games-discover-intro .discover-journey-aside .discover-games-divider {text-align:center;}
.games-discover-intro .discover-journey-aside .discover-finale {margin:0 0 36px;}
body.product-screens-page main .games-discover-intro .discover-journey-aside .discover-finale p {font-size:17px;line-height:1.85;}
body.product-screens-page main .games-discover-intro .discover-journey-aside .discover-finale>strong {font-size:30px;}
@media(max-width:1000px){
 .games-discover-intro .discover-journey-layout .discover-steps-seven {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
 .games-discover-intro .discover-journey-layout .discover-step,
 .games-discover-intro .discover-journey-layout .discover-step:nth-child(5) {grid-column:auto;}
}
@media(max-width:600px){
 .games-discover-intro .discover-journey-layout .discover-steps-seven {grid-template-columns:1fr;gap:18px;}
 .games-discover-intro .discover-journey-layout > .discover-journey-aside {margin-top:40px;}
 body.product-screens-page main .games-discover-intro .discover-journey-aside .discover-finale p {font-size:15px;}
}

@media(min-width:901px){
 body.materials-catalog-page .game-picker{min-height:100svh;scroll-margin-top:0;box-sizing:border-box;}
}

@media(min-width:1001px){
 body.product-screens-page:not(.materials-catalog-page) .game-picker{min-height:100svh;box-sizing:border-box;padding-block:70px;scroll-margin-top:0;}
 .games-discover-intro .discover-journey-heading{margin-bottom:clamp(20px,3svh,40px);}
 .games-discover-intro .discover-journey-layout .discover-step{padding:clamp(14px,2svh,26px) 22px;}
 .games-discover-intro .discover-step p{font-size:clamp(12px,1.5svh,16px);line-height:1.6;}
 .games-discover-intro .discover-step h3{font-size:clamp(12px,1.5svh,16px);}
}

@media(hover:hover) and (pointer:fine){
 body.product-screens-page .game-picker-thumb{position:relative;transform-origin:left center;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s,background .2s,border-color .2s;}
 body.product-screens-page .game-picker-thumb:is(:hover,:focus-visible){transform:translateX(8px) scale(1.12);z-index:3;box-shadow:0 10px 24px #660b1933;}
}
@media(prefers-reduced-motion:reduce){body.product-screens-page .game-picker-thumb{transition:none;}}

@media(min-width:1100px){body.product-screens-page:not(.materials-catalog-page) .catalog-product-copy{position:relative;left:-28px;}}

@media(min-width:901px){
 body.materials-catalog-page .game-picker{min-height:100svh;padding-block:70px;align-items:center;}
 body.materials-catalog-page .game-picker-stage{align-self:center;}
 body.materials-catalog-page .catalog-product-grid{max-width:1160px;margin-inline:auto;align-items:center;}
 body.materials-catalog-page .catalog-product-copy{align-items:center;text-align:center;}
 body.materials-catalog-page .catalog-description-frame{position:static;left:auto;top:auto;margin:0;}
 body.materials-catalog-page .catalog-reviews{justify-content:center;text-align:center;}
}

body.materials-catalog-page .materials-discover-intro{min-height:calc(100svh - var(--about-header-height,140px));box-sizing:border-box;}

@media(min-width:901px){
 body.product-screens-page .game-picker{align-items:center;}
 body.product-screens-page .game-picker-stage{align-self:center;}
}
