/* Approved four-game homepage. All selectors are scoped to this page. */
body[data-home-v14]{background:#041b25!important;color:#f8f5ec!important;padding-bottom:90px!important;font-family:Tajawal,Tahoma,Arial,sans-serif!important}
body[data-home-v14] :is(a,summary,button):focus-visible{outline:3px solid #f2cc7b!important;outline-offset:4px}
body[data-home-v14] .h14-header{display:grid!important;grid-template-columns:44px 1fr 44px!important;align-items:center;direction:ltr;gap:18px;position:relative;z-index:40;max-width:1120px!important;padding:20px 24px!important;margin:auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
body[data-home-v14] .h14-brand{grid-column:2;grid-row:1;justify-self:center;direction:rtl;color:#f2c66f!important;text-decoration:none;font-size:40px!important;line-height:1.2;font-weight:900!important}
body[data-home-v14] .h14-account{grid-column:1;grid-row:1;color:#becbd2!important;display:grid;place-items:center;min-width:44px;min-height:44px;text-decoration:none}
body[data-home-v14] .h14-account svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6}
body[data-home-v14] .h14-menu{grid-column:3;grid-row:1;position:relative;direction:rtl}
body[data-home-v14] .h14-menu summary{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:44px;min-height:44px;list-style:none;cursor:pointer;border:0;background:none;padding:10px}
body[data-home-v14] .h14-menu summary::-webkit-details-marker{display:none}
body[data-home-v14] .h14-menu summary span{display:block;width:23px;height:2px;background:#e9e9e5;border-radius:2px}
body[data-home-v14] .h14-menu nav{display:flex;flex-direction:column;align-items:stretch;position:absolute;right:0;top:48px;width:200px;padding:10px;gap:8px;background:#102b37;border:1px solid #52616b;border-radius:16px;box-shadow:0 15px 40px #0008}
body[data-home-v14] .h14-menu:not([open]) nav{display:none}
body[data-home-v14] .h14-menu nav a{background:#0a222e!important;color:#f4dfac!important;border-color:#36515d!important;min-height:44px}
body[data-home-v14] .h14-home{max-width:1080px;margin:auto;padding:0 24px 28px}
body[data-home-v14] .h14-welcome{text-align:center;padding:14px 0 28px}
body[data-home-v14] .h14-welcome h1{font-size:clamp(30px,4vw,46px);font-weight:900;line-height:1.35;margin:0 0 8px;letter-spacing:0;color:#fff9f2}
body[data-home-v14] .h14-welcome p{font-size:20px;line-height:1.6;margin:0;color:#b8c6d0}
body[data-home-v14] .h14-games{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}
body[data-home-v14] .h14-card{position:relative;display:block;isolation:isolate;min-width:0;width:100%;box-sizing:border-box;overflow:hidden;border:1px solid #6a838e;border-radius:22px;background:#041923;color:#fff8f0;text-decoration:none;box-shadow:0 8px 24px #0002}
body[data-home-v14] .h14-card>img,body[data-home-v14] .h14-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
body[data-home-v14] .h14-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#00111b16,transparent 55%,#00111b35);z-index:-1}
body[data-home-v14] .h14-hero{min-height:480px}
body[data-home-v14] .h14-hero>img{object-position:center}
body[data-home-v14] .h14-copy{position:absolute;left:24px;top:26px;text-align:left;direction:rtl;max-width:78%}
body[data-home-v14] .h14-copy h2{margin:0;color:#f5cd7d;font-size:58px;font-weight:900;line-height:1.15;text-shadow:0 2px 15px #02121b}
body[data-home-v14] .h14-copy p{margin:10px 0 12px;font-size:22px;line-height:1.35;font-weight:700;color:#fcf9f2;text-shadow:0 2px 10px #000}
body[data-home-v14] .h14-badge{display:inline-flex;align-items:center;min-height:29px;padding:4px 11px;border:1px solid #b39450;border-radius:12px;background:#041b25cc;color:#f6cf7b;font-size:14px;font-weight:700;line-height:1.4}
body[data-home-v14] .h14-cta{position:absolute;left:16%;right:16%;bottom:20px;display:flex;justify-content:center;align-items:center;gap:24px;min-height:52px;padding:10px 16px;border-radius:999px;background:linear-gradient(110deg,#f6d88c,#eebe58);border:1px solid #fbe4a2;box-shadow:inset 0 1px #fff9,0 6px 22px #0004;color:#082332;font-size:25px;font-weight:900;line-height:1.2}
body[data-home-v14] .h14-cta>span{font:29px Arial}
body[data-home-v14] .h14-secondary{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-width:0}
body[data-home-v14] .h14-quiz>img{inset:0 0 0 auto;width:76%;object-position:60% 70%}
body[data-home-v14] .h14-quiz:after{background:linear-gradient(90deg,#031a25 3%,#031a25dd 30%,transparent 74%)}
body[data-home-v14] .h14-quiz .h14-copy{top:24px;left:22px;max-width:74%}
body[data-home-v14] .h14-quiz h2{font-size:37px}
body[data-home-v14] .h14-quiz .h14-copy p{font-size:20px;margin:8px 0}
body[data-home-v14] .h14-quiz .h14-cta{left:22px;right:auto;bottom:20px;min-width:155px;min-height:48px;font-size:20px;gap:16px;padding:9px 18px}
body[data-home-v14] .h14-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}
body[data-home-v14] .h14-small:after{background:linear-gradient(180deg,#00131b80,transparent 55%)}
body[data-home-v14] .h14-small h2{position:relative;padding:18px;margin:0;text-align:right;font-size:32px;font-weight:900;line-height:1.3;text-shadow:0 2px 12px #000;color:#fff8ee}
body[data-home-v14] .h14-bottom{position:fixed;inset-inline:0;bottom:0;z-index:50;max-width:1120px;margin:auto;display:flex;justify-content:space-around;align-items:center;padding:8px 24px max(8px,env(safe-area-inset-bottom));border-top:1px solid #35525f;background:#041b25f5;backdrop-filter:blur(15px)}
body[data-home-v14] .h14-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#bccbd2;text-decoration:none;min-width:84px;min-height:51px;font-size:14px;line-height:1.35;padding-bottom:4px;position:relative}
body[data-home-v14] .h14-bottom svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body[data-home-v14] .h14-bottom [aria-current]{color:#f4c76a}
body[data-home-v14] .h14-bottom [aria-current]:after{content:"";position:absolute;bottom:0;left:25%;right:25%;height:2px;border-radius:2px;background:#f4c76a}
body[data-home-v14]>.home-footer{display:none}
@media(hover:hover){body[data-home-v14] .h14-card:hover{border-color:#f2c66f;transform:translateY(-2px)}}
@media(max-width:700px){body[data-home-v14]{padding-bottom:80px!important}body[data-home-v14] .h14-header{padding:10px 13px!important;gap:12px}body[data-home-v14] .h14-brand{font-size:34px!important}body[data-home-v14] .h14-home{padding:0 12px 18px}body[data-home-v14] .h14-welcome{padding:7px 0 16px}body[data-home-v14] .h14-welcome h1{font-size:30px;line-height:1.35;margin-bottom:6px}body[data-home-v14] .h14-welcome p{font-size:17px}body[data-home-v14] .h14-games{display:block}body[data-home-v14] .h14-card{border-radius:15px}body[data-home-v14] .h14-hero{min-height:0;aspect-ratio:1.25}body[data-home-v14] .h14-copy{left:18px;top:20px}body[data-home-v14] .h14-copy h2{font-size:46px}body[data-home-v14] .h14-copy p{font-size:16px;margin:8px 0 9px}body[data-home-v14] .h14-badge{font-size:11px;padding:4px 9px;min-height:25px;border-radius:9px}body[data-home-v14] .h14-cta{left:16%;right:16%;bottom:13px;min-height:44px;padding:8px 12px;font-size:20px;gap:18px}body[data-home-v14] .h14-cta>span{font-size:25px}body[data-home-v14] .h14-secondary{display:block;margin-top:10px}body[data-home-v14] .h14-quiz{aspect-ratio:2.85;min-height:128px}body[data-home-v14] .h14-quiz .h14-copy{top:14px;left:15px;max-width:70%}body[data-home-v14] .h14-quiz h2{font-size:27px}body[data-home-v14] .h14-quiz .h14-copy p{font-size:15px;margin:5px 0}body[data-home-v14] .h14-quiz .h14-cta{left:15px;bottom:10px;min-width:116px;min-height:40px;padding:7px 12px;font-size:16px;gap:14px}body[data-home-v14] .h14-pair{gap:10px;margin-top:10px}body[data-home-v14] .h14-small{aspect-ratio:1.16}body[data-home-v14] .h14-small h2{font-size:27px;padding:12px}body[data-home-v14] .h14-bottom{padding:7px 18px max(8px,env(safe-area-inset-bottom))}body[data-home-v14] .h14-bottom a{font-size:12px;min-height:49px}body[data-home-v14] .h14-bottom svg{width:23px;height:23px}}
@media(max-width:359px){body[data-home-v14] .h14-welcome h1{font-size:25px}body[data-home-v14] .h14-welcome p{font-size:15px}body[data-home-v14] .h14-copy{left:13px;top:14px}body[data-home-v14] .h14-copy h2{font-size:39px}body[data-home-v14] .h14-copy p{font-size:14px}body[data-home-v14] .h14-badge{font-size:10px}body[data-home-v14] .h14-cta{font-size:17px;gap:12px;bottom:10px}body[data-home-v14] .h14-quiz h2{font-size:24px}body[data-home-v14] .h14-small h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){body[data-home-v14] *{scroll-behavior:auto!important;transition:none!important}}
