@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Tajawal:wght@400;500;600;700;800&display=swap');
@font-face{font-family:"Aref Ruqaa Local";src:url("../fonts/ArefRuqaa-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Aref Ruqaa Local";src:url("../fonts/ArefRuqaa-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root{--ink:#201c29;--muted:#898392;--purple:#7952cf;--purple2:#6740b9;--lav:#f4efff;--line:#eeeaf3;--gold:#d6a93f;--green:#249875;--shadow:0 18px 55px #2b19490d}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:15px/1.8 "Segoe UI",Tahoma,Arial,sans-serif}h1,h2,h3,.brand,.btn,.eyebrow,.header nav,.cat-card h3{font-family:"Aref Ruqaa","Segoe UI",Tahoma,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}.wrap{width:min(1150px,calc(100% - 44px));margin:auto}.header{height:82px;width:min(1220px,calc(100% - 44px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #f4f1f7}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:700;white-space:nowrap}.logo{width:40px;height:40px;display:grid;place-items:center;background:var(--purple);color:#fff;border-radius:14px;font-size:26px;box-shadow:0 7px 18px #7952cf2a}.header nav{display:flex;gap:32px;font-size:15px;color:#777180}.header nav a:hover,.link:hover{color:var(--purple)}.header-actions{display:flex;align-items:center;gap:9px}.welcome{font-size:12px;color:var(--muted)}.btn{border:1px solid transparent;border-radius:13px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:14px;font-weight:700;cursor:pointer;transition:.2s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-main{background:linear-gradient(120deg,#805bd5,#6943ba);color:white;box-shadow:0 9px 22px #7952cf30}.btn-light{border-color:#e9e5ef;background:#fff;color:#51485f}.btn-outline{border-color:#e9e5ef;background:white;color:#51485f}.btn-lg{padding:14px 22px;font-size:15px}.btn-white{background:white;color:#6740b9}.btn:disabled{opacity:.5;cursor:not-allowed}.hamburger{display:none;border:0;background:none;font-size:23px}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--purple);font-size:13px;font-weight:700}.eyebrow i{width:7px;height:7px;border-radius:50%;background:#906de0;box-shadow:0 0 0 4px #f2ecff}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding-block:68px 54px;min-height:580px}.hero h1{font-size:clamp(40px,4.5vw,61px);line-height:1.45;letter-spacing:-1px;margin:16px 0 12px;font-weight:700}.hero h1 em,.page-heading em,.profile h1 em,.auth-art h1 em{font-style:normal;color:var(--purple)}.hero-copy>p{max-width:490px;color:#817b8b;font-size:15px;line-height:2.1;margin:0}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.proof{display:flex;align-items:center;gap:12px;color:#8b8593;font-size:12px;margin-top:30px}.mini-avatars{display:flex;direction:ltr}.mini-avatars i{font-style:normal;width:29px;height:29px;margin-left:-5px;border:2px solid white;border-radius:50%;display:grid;place-items:center;background:#eee6ff;color:#7752c3;font-size:10px;font-weight:800}.mini-avatars i:nth-child(2){background:#fae8cf;color:#9b762f}.mini-avatars i:nth-child(3){background:#dff5eb;color:#258a68}.mini-avatars i:nth-child(4){background:#25202f;color:white}.hero-visual{height:460px;position:relative;display:grid;place-items:center}.halo{position:absolute;width:390px;height:390px;border:1px solid #eee6fb;border-radius:50%;box-shadow:0 0 0 30px #faf7ff,0 0 0 60px #fdfbff}.quiz-card{position:relative;z-index:2;width:min(360px,90%);padding:23px;background:white;border:1px solid #efebf5;border-radius:25px;box-shadow:0 24px 75px #3e2c5e12;transform:rotate(-1deg)}.quiz-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#398a70}.quiz-meta b{color:#40384e;font-size:14px}.quiz-meta small{color:#aaa3b2;font-weight:400}.progress{height:5px;border-radius:10px;background:#f1edf7;margin-top:14px;overflow:hidden}.progress i{display:block;width:12%;height:100%;background:var(--purple)}.category{display:block;color:#8868cf;margin-top:20px;font-size:11px;font-weight:700}.quiz-card h3{font-size:19px;line-height:1.8;margin:6px 0 14px}.option{height:42px;display:flex;align-items:center;gap:10px;border:1px solid #efecf3;border-radius:11px;padding:0 10px;margin-top:8px;font-size:12px;color:#5e5869}.option span{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;background:#f6f3fa;color:#817592}.option.correct{background:#f2fbf7;border-color:#b9e7d5;color:#258260}.option.correct span{background:#d7f4e7;color:#23845f}.option b{margin-right:auto}.quiz-foot{display:flex;justify-content:space-between;margin-top:17px;font-size:11px;color:#a09aa8}.quiz-foot span{color:#e66b85;letter-spacing:3px;font-size:14px}.floating{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;background:white;border:1px solid #eeeaf4;border-radius:15px;padding:10px 14px;box-shadow:0 14px 35px #35234e12}.floating b,.floating small{display:block}.floating b{font-size:12px}.floating small{font-size:10px;color:#908998}.coin,.cup{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-size:21px;background:#fff5d9;color:#bf922d}.cup{background:#f2edff;color:#805bd0}.ftop{top:45px;right:0}.fbottom{bottom:35px;left:0}.spark{position:absolute;color:#c8b4f1;font-size:25px}.s1{top:60px;left:28px}.s2{bottom:60px;right:22px}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:19px;padding:19px 26px;box-shadow:0 8px 30px #2b194905}.feature-strip>div{display:flex;align-items:center;justify-content:center;gap:13px;border-left:1px solid var(--line)}.feature-strip>div:last-child{border:0}.feature-strip>div>span{width:41px;height:41px;border-radius:13px;background:#fff5db;color:#c39a31;display:grid;place-items:center;font-size:21px}.feature-strip>div:nth-child(2)>span{background:#f2edff;color:#8b68d3}.feature-strip>div:nth-child(3)>span{background:#e8f8f1;color:#299672}.feature-strip p{margin:0}.feature-strip b,.feature-strip small{display:block}.feature-strip b{font-size:13px}.feature-strip small{font-size:11px;color:#928c9a}.categories{padding-block:96px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}.section-head h2{font-size:34px;margin:7px 0 0}.section-head p{font-size:13px;color:#898391;margin:0}.link{font-size:13px;color:var(--purple);font-weight:700}.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cat-card{position:relative;border:1px solid var(--line);border-radius:19px;padding:23px;min-height:210px;transition:.2s}.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#ded3f4}.cat-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#fff4d9;color:#bd902b;font-size:22px;font-weight:700}.cat-icon.lilac{background:#f2edff;color:#805bd0}.cat-icon.mint{background:#e7f8f0;color:#299571}.cat-icon.rose{background:#fff0f3;color:#d26c88}.cat-icon.blue{background:#eaf3ff;color:#5783c4}.arrow{position:absolute;left:22px;top:22px;color:#aaa2b1}.cat-card h3{font-size:19px;margin:14px 0 3px}.cat-card p{font-size:12px;color:#898391;margin:0 0 18px}.cat-card>div:last-child{display:flex;justify-content:space-between;border-top:1px solid #f2eff5;padding-top:11px;color:#7952cf;font-size:11px;font-weight:700}.leader-band{background:#faf9fc;border-block:1px solid #f2eff6;padding-block:83px}.leader-layout{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:65px}.leader-layout h2{font-size:42px;line-height:1.5;margin:14px 0}.leader-layout>div:first-child>p{max-width:360px;color:#837d8c;font-size:14px;line-height:2;margin-bottom:24px}.leader-card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:23px;box-shadow:0 15px 45px #2b194906}.leader-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.leader-title>div{display:grid;grid-template-columns:34px auto;align-items:center}.leader-title>div>span{grid-row:span 2;font-size:24px;color:#d1a43a}.leader-title b{font-size:15px}.leader-title small{font-size:10px;color:#958e9c}.leader-title label{font-size:10px;background:#f4efff;color:#7652be;border-radius:9px;padding:7px 10px}.leader-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f3f0f6}.rank{width:22px;color:#a49dab;font-size:12px;font-weight:800}.leader-row>i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#f2edff;color:#7952cf;font-size:12px;font-weight:800}.leader-row>b{flex:1;font-size:12px}.leader-row strong{font-size:12px;color:#714bbd}.leader-row small{font-size:10px;color:#9b94a4;font-weight:400}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 10px;color:#888191}.empty>span{width:48px;height:48px;display:grid;place-items:center;background:#fff4da;color:#c59a33;border-radius:15px;font-size:26px}.empty>b{margin-top:10px;font-size:13px;color:#3c3547}.empty small{font-size:11px;margin-top:3px}.leader-more{display:block;padding-top:16px;color:#7952cf;font-size:12px;font-weight:700}.cta{margin-block:75px 85px;border-radius:23px;padding:34px 39px;display:flex;align-items:center;gap:20px;background:linear-gradient(115deg,#805bd1,#6540b5);color:white;overflow:hidden}.cta>span{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#ffffff20;font-size:24px}.cta div{flex:1}.cta h2{font-size:25px;margin:0}.cta p{font-size:12px;color:#e7ddfb;margin:4px 0 0}.cta .btn{z-index:1}footer{width:min(1220px,calc(100% - 44px));min-height:88px;margin:auto;border-top:1px solid #f1edf5;display:flex;align-items:center;justify-content:space-between;color:#9992a0;font-size:11px}footer .brand{font-size:22px;color:var(--ink)}footer .logo{width:31px;height:31px;border-radius:10px;font-size:19px}
.auth{display:grid;grid-template-columns:.95fr 1.05fr;gap:0;min-height:calc(100vh - 170px);padding-block:30px}.auth-art{border-radius:25px;background:linear-gradient(145deg,#fbf9ff,#f2edff);padding:30px 34px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:"";position:absolute;width:360px;height:360px;left:-130px;bottom:-150px;border:1px solid #e2d6f7;border-radius:50%;box-shadow:0 0 0 30px #e9e0fa55,0 0 0 65px #eee7fc55}.auth-art>div{position:relative;z-index:1;margin:auto 0}.art-star{width:53px;height:53px;border-radius:17px;display:grid;place-items:center;background:white;color:#8967d1;font-size:27px}.auth-art h1{font-size:39px;line-height:1.65;margin:20px 0 7px}.auth-art p{max-width:310px;color:#827b90;font-size:14px}.auth-stats{display:flex;gap:35px;margin-top:32px}.auth-stats div{display:flex;flex-direction:column}.auth-stats b{font-size:25px;color:#7852c8}.auth-stats small{font-size:11px;color:#8d869b}.art-foot{color:#928aa0;font-size:11px;position:relative;z-index:1}.auth-form{width:min(410px,100%);margin:auto;padding:35px 48px}.mobile-brand{display:none}.auth-form h2{font-size:31px;margin:5px 0}.sub{font-size:12px;color:#898392;margin:0 0 24px}.google-btn{width:100%;height:52px;border:1px solid #e8e4ee;border-radius:13px;background:white;color:#393343;font-weight:700;font-size:13px;cursor:pointer}.google-btn b{font:bold 19px Arial;margin-left:12px;background:conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);color:transparent;background-clip:text}.divider{display:flex;align-items:center;gap:12px;margin:19px 0;color:#aaa3b1;font-size:10px;white-space:nowrap}.divider:before,.divider:after{content:"";height:1px;background:#eeeaf3;flex:1}.auth-form form{display:flex;flex-direction:column;gap:15px}.auth-form form>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#4a4354}.auth-form input:not([type=checkbox]){width:100%;height:46px;border:1px solid #e8e4ee;border-radius:11px;padding:0 13px;outline:none;color:#2a2433;background:#fff}.auth-form input:focus{border-color:#b7a2e8;box-shadow:0 0 0 4px #f4efff}.auth-form input::placeholder{color:#b0a9b8;font-weight:400}.password-box{position:relative}.password-box input{padding-left:45px!important}.password-box button{position:absolute;left:10px;top:50%;transform:translateY(-50%);border:0;background:none;color:#908899;cursor:pointer}.terms,.remember{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;color:#898391!important;font-size:10px!important;font-weight:400!important}.terms input,.remember input{accent-color:#7952cf}.form-extra{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-top:-3px}.form-extra a,.switch a{color:#7952cf;font-weight:700}.submit{width:100%;height:54px;font-size:14px}.message{font-size:12px;color:#b44e60}.message:empty{display:none}.message.success{color:#21845f}.switch{text-align:center;color:#8d8695;font-size:11px;margin:20px 0 7px}.back{display:block;text-align:center;color:#9991a0;font-size:11px;margin-top:15px}.method-tabs{display:flex;gap:6px;background:#f7f5fa;border-radius:11px;padding:5px;margin-bottom:14px}.method-tabs button{flex:1;border:0;background:transparent;border-radius:8px;padding:8px 4px;color:#82798e;font-size:10px;cursor:pointer}.method-tabs button.active{background:#fff;color:#704bbd;box-shadow:0 2px 8px #2817440b}.forgot{min-height:65vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:510px}.forgot h1{font-size:33px;margin:14px 0 0}.forgot p{color:#898391;font-size:14px}.play-page{max-width:850px;padding-block:30px 80px;min-height:70vh}.play-card{margin-top:20px;border:1px solid var(--line);border-radius:23px;padding:30px;box-shadow:var(--shadow)}.play-card h1{font-size:30px;margin:8px 0}.play-card>p{color:#898391;font-size:13px}.hud{display:grid;grid-template-columns:1fr 1fr 1fr;border-block:1px solid var(--line);padding:18px 0;margin-top:20px}.hud>div{display:flex;flex-direction:column;gap:5px}.hud>div:nth-child(2){align-items:center}.hud>div:last-child{align-items:flex-end}.hud small{font-size:11px;color:#9891a0}.hud b{font-size:18px}.hearts{color:#e66b85;font-size:14px;letter-spacing:3px}.question-empty{margin:22px 0;padding:42px 20px;background:#fcfaff;border:1px dashed #ddd3ef;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:7px}.question-empty>span{width:48px;height:48px;display:grid;place-items:center;background:#f0e9ff;color:#7952cf;border-radius:15px;font-size:25px}.question-empty small{font-size:11px;color:#9891a0;text-align:center}.page-heading{text-align:center;padding-block:70px 35px}.page-heading h1{font-size:45px;margin:8px 0}.page-heading p{color:#898391;font-size:13px}.week{display:inline-block;margin-top:15px;padding:8px 13px;border:1px solid var(--line);border-radius:10px;font-size:11px;color:#7d708f}.board{max-width:820px;margin:0 auto 80px;border:1px solid var(--line);border-radius:20px;padding:15px 25px;box-shadow:var(--shadow)}.board-head,.board-row{display:grid;grid-template-columns:75px 1fr 120px;align-items:center;gap:12px}.board-head{padding:10px 0;color:#a09aa7;font-size:11px;border-bottom:1px solid var(--line)}.board-head span:last-child{text-align:left}.board-row{padding:14px 0;border-bottom:1px solid #f3f0f6}.board-row>span{color:#a29baa;font-size:12px;font-weight:800}.board-row>b{display:flex;align-items:center;gap:10px;font-size:12px}.board-row>b i{font-style:normal;width:35px;height:35px;border-radius:12px;background:#f2edff;color:#7952cf;display:grid;place-items:center}.board-row>strong{text-align:left;color:#704bbd;font-size:12px}.board-row small{font-size:10px;color:#9b94a4}.profile{padding-block:60px 90px;min-height:70vh}.profile h1{font-size:38px;margin:8px 0}.profile>p{color:#898391}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0}.profile-stats>div{border:1px solid var(--line);border-radius:17px;padding:20px;display:flex;flex-direction:column}.profile-stats small{font-size:11px;color:#8d8695}.profile-stats b{font-size:24px}.flash{margin:12px auto;width:min(1150px,calc(100% - 44px));padding:10px 14px;background:#f4efff;color:#6c4bb1;border-radius:10px;font-size:12px}
@media(max-width:900px){.hero{gap:10px}.hero h1{font-size:45px}.hero-visual{transform:scale(.92)}.leader-layout{gap:30px}.auth-form{padding:30px}.cat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.wrap,.header,footer{width:calc(100% - 32px)}.header{height:70px;gap:10px}.brand{font-size:24px}.logo{width:35px;height:35px}.header nav{display:none;position:absolute;z-index:20;top:68px;right:16px;left:16px;background:white;border:1px solid var(--line);border-radius:14px;padding:15px;box-shadow:var(--shadow);flex-direction:column;gap:12px}.header nav.open{display:flex}.header-actions{margin-right:auto}.header-actions .btn{padding:7px 10px;font-size:11px}.welcome{display:none}.hamburger{display:block}.hero{display:flex;flex-direction:column;align-items:stretch;padding-block:42px 25px}.hero h1{font-size:clamp(37px,10vw,48px)}.hero-copy>p{font-size:13px}.actions .btn{flex:1;padding:11px 9px;font-size:12px}.hero-visual{height:390px;transform:none;margin-top:15px}.halo{width:310px;height:310px}.quiz-card{width:min(330px,88%);padding:19px}.ftop{top:20px;right:0}.fbottom{bottom:20px;left:0}.feature-strip{grid-template-columns:1fr;padding:8px 18px}.feature-strip>div{justify-content:flex-start;padding:12px 0;border-left:0;border-bottom:1px solid var(--line)}.feature-strip>div:last-child{border:0}.categories{padding-block:65px}.section-head{align-items:flex-start;flex-direction:column;gap:12px}.section-head h2{font-size:28px}.cat-grid{gap:10px}.cat-card{padding:15px;min-height:200px}.cat-card h3{font-size:16px}.cat-card p{font-size:11px}.cat-card .arrow{left:15px;top:14px}.cat-card>div:last-child{font-size:10px}.leader-band{padding-block:58px}.leader-layout{grid-template-columns:1fr;gap:25px}.leader-layout h2{font-size:35px}.leader-card{padding:17px}.cta{margin-block:48px 55px;padding:23px;flex-wrap:wrap;gap:13px}.cta h2{font-size:21px}.cta .btn{width:100%}footer{min-height:95px;gap:8px;flex-wrap:wrap;padding-block:16px}footer>span:nth-child(2){display:none}.auth{display:block;padding-block:14px;min-height:auto}.auth-art{display:none}.auth-form{padding:25px 8px 40px;margin:auto}.mobile-brand{display:flex;align-items:center;gap:9px;margin-bottom:28px;font-size:24px}.auth-form h2{font-size:28px}.page-heading{padding-block:48px 25px}.page-heading h1{font-size:36px}.board{padding:12px;margin-bottom:55px}.board-head,.board-row{grid-template-columns:40px 1fr 80px;gap:8px}.board-row>b{font-size:11px;gap:7px}.board-row>b i{width:31px;height:31px}.board-row>strong{font-size:11px}.profile{padding-block:40px 60px}.profile h1{font-size:30px}.profile-stats{gap:8px}.profile-stats>div{padding:13px}.profile-stats small{font-size:9px}.profile-stats b{font-size:20px}.play-card{padding:19px}.play-card h1{font-size:25px}}
@media(max-width:390px){.cat-grid{grid-template-columns:1fr}.cat-card{min-height:175px}.hero-visual{height:360px}.floating{padding:8px 10px}.floating b{font-size:11px}.floating small{font-size:9px}}

/* SAHER STUDIO REDESIGN — 2026 */
:root{--ink:#21172f;--muted:#81768f;--purple:#7144d5;--purple2:#5630b2;--lav:#f5f0ff;--line:#eae3f5;--gold:#e0b34f;--shadow:0 24px 80px rgba(49,28,91,.09)}
html{scroll-behavior:smooth}body{font-family:'Tajawal','Segoe UI',Tahoma,sans-serif;background:#fff;color:var(--ink);letter-spacing:0}h1,h2,h3,.brand,.btn,.eyebrow,.header nav,.cat-card h3,.auth-art h1{font-family:'Aref Ruqaa Local','Aref Ruqaa','Tajawal',Tahoma,sans-serif}button,input{font-family:'Tajawal','Segoe UI',sans-serif}
.header{height:78px;border-bottom-color:#f0eaf7}.brand{font-size:29px;letter-spacing:-.6px}.logo{border-radius:13px;background:linear-gradient(145deg,#8b62ed,#6339c3);box-shadow:0 8px 22px #7044d52d}.header nav{font-family:'Tajawal',sans-serif;font-weight:600;gap:35px}.header nav a{transition:color .2s}.btn{font-family:'Tajawal',sans-serif;border-radius:12px}.btn-main{background:linear-gradient(125deg,#8256e8,#6034bd);box-shadow:0 12px 28px #7144d52b}.btn-main:hover:not(:disabled){box-shadow:0 16px 32px #7144d538;transform:translateY(-2px)}
.hero{position:relative;isolation:isolate;padding-block:70px 58px;min-height:590px}.hero:before{content:'';position:absolute;z-index:-1;top:32px;right:-45px;width:55%;height:86%;border-radius:42px;background:radial-gradient(ellipse at 70% 25%,#f5efff 0%,#fbf9ff 42%,rgba(255,255,255,0) 73%)}.hero-copy{padding:14px 0}.hero h1{font-size:clamp(48px,5vw,70px);line-height:1.37;letter-spacing:-1.3px;margin:20px 0 15px}.hero-copy>p{font-size:17px;max-width:470px;line-height:2.05}.eyebrow{font-family:'Tajawal',sans-serif;font-size:14px;letter-spacing:.1px}.hero-visual{height:490px}.halo{width:395px;height:395px;border-color:#e7dcfb;box-shadow:0 0 0 22px #f9f6ff,0 0 0 48px #fdfbff}.quiz-card{width:min(370px,90%);padding:25px;border-radius:27px;transform:rotate(-2deg);box-shadow:0 35px 95px rgba(44,25,81,.13);border-color:#eee6fa}.quiz-card h3{font-size:22px}.option{height:44px;font-family:'Tajawal',sans-serif}.floating{border-radius:17px;box-shadow:0 18px 45px #39215d14;padding:12px 15px}.feature-strip{border-radius:22px;box-shadow:0 15px 42px #3d275c07;padding:23px 28px}.feature-strip b{font-size:15px}.feature-strip small{font-size:12px}.categories{padding-block:100px}.section-head h2{font-size:39px}.cat-grid{gap:18px}.cat-card{border-radius:22px;min-height:220px;padding:25px;overflow:hidden;background:linear-gradient(160deg,#fff 72%,#fcfaff)}.cat-card:after{content:'';position:absolute;width:130px;height:130px;border:1px solid #f1eafa;border-radius:50%;left:-60px;bottom:-75px;transition:transform .3s}.cat-card:hover:after{transform:scale(1.25)}.cat-card h3{font-size:22px}.cat-card p{font-size:14px}.cat-card>div:last-child{font-size:13px}.cat-icon{width:49px;height:49px;border-radius:16px}.leader-band{background:linear-gradient(135deg,#faf8ff,#fdfcff);border-color:#f0eafa}.leader-layout h2{font-size:48px}.leader-card{border-radius:26px;padding:27px;box-shadow:0 25px 70px #39215d0b}.leader-row>b,.leader-title b{font-family:'Tajawal',sans-serif;font-size:14px}.cta{border-radius:27px;background:radial-gradient(ellipse at 90% 0%,#926fe9,#7144d5 42%,#5630b2);box-shadow:0 22px 55px #7144d52b;padding:38px 42px}.cta h2{font-size:30px}.cta p{font-family:'Tajawal',sans-serif;font-size:14px}footer{font-family:'Tajawal',sans-serif}
/* Auth page: compact, editorial, high-contrast panel rather than a mostly empty split screen. */
.auth{width:min(1120px,calc(100% - 48px));min-height:calc(100vh - 180px);padding-block:24px 42px;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}.auth-art{border-radius:30px;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.15),transparent 27%),radial-gradient(circle at 90% 85%,rgba(223,191,255,.22),transparent 30%),linear-gradient(150deg,#2c194b 0%,#5630a7 50%,#754bd6 100%);color:#fff;padding:34px;min-height:650px;justify-content:space-between;box-shadow:0 25px 75px rgba(67,36,127,.18)}.auth-art:before,.auth-art:after{content:'';position:absolute;border:1px solid rgba(255,255,255,.16);border-radius:50%;width:410px;height:410px;right:-145px;bottom:-200px}.auth-art:after{width:300px;height:300px;right:-90px;bottom:-145px}.auth-art .brand{color:#fff;font-size:26px}.auth-art .logo{background:#fff;color:#6a40c5;box-shadow:none}.auth-art>div{margin:0;max-width:440px}.art-star{width:56px;height:56px;display:grid;place-items:center;border:1px solid #ffffff35;background:#ffffff14;border-radius:18px;color:#f4d98d;font-size:31px;box-shadow:0 12px 30px #1d0e3a22}.auth-art h1{font-size:clamp(35px,3.2vw,49px);line-height:1.55;margin:22px 0 10px;color:#fff}.auth-art h1 em{color:#e4cbff}.auth-art p{font-family:'Tajawal',sans-serif;color:#e4d9fa;font-size:16px;line-height:2.05;max-width:365px}.auth-stats{gap:14px;margin-top:34px}.auth-stats div{min-width:125px;border:1px solid #ffffff25;background:#ffffff10;border-radius:16px;padding:13px 16px}.auth-stats b{font-family:'Tajawal',sans-serif;color:#f6d98a;font-size:29px;line-height:1.2}.auth-stats small{color:#e1d5f5;font-size:12px}.art-foot{font-family:'Tajawal',sans-serif;color:#d5c4f3;font-size:12px}.auth-form{width:min(460px,100%);padding:36px 36px;margin:auto}.auth-form h2{font-size:37px;line-height:1.4;margin:8px 0 2px}.sub{font-family:'Tajawal',sans-serif;font-size:14px;margin:0 0 22px;line-height:1.9}.auth-form form{gap:13px}.auth-form form>label{font-family:'Tajawal',sans-serif;font-size:13px;gap:7px}.auth-form input:not([type=checkbox]){height:51px;border-radius:13px;border-color:#e6deef;padding-inline:15px;font-family:'Tajawal',sans-serif;font-size:14px;background:#fff}.auth-form input:focus{border-color:#9b7ae6;box-shadow:0 0 0 4px #f1eaff}.password-box button{font-size:17px}.google-btn{height:52px;border-radius:13px;border-color:#e5dced;font-family:'Tajawal',sans-serif;font-size:14px;transition:.2s}.google-btn:hover{background:#fcfaff;border-color:#cdbcf1}.divider{font-family:'Tajawal',sans-serif;font-size:12px;margin:20px 0}.submit{height:55px;border-radius:14px;font-size:16px}.switch,.back{font-family:'Tajawal',sans-serif;font-size:13px}.switch{margin-top:22px}.back{margin-top:14px}.method-tabs{background:#f6f2fb;padding:5px}.method-tabs button{font-family:'Tajawal',sans-serif;font-size:12px}.terms{line-height:1.7}.message{font-family:'Tajawal',sans-serif;line-height:1.8}.flash{font-family:'Tajawal',sans-serif;border:1px solid #e8defa}
@media(max-width:900px){.auth{gap:12px}.auth-art{padding:26px;min-height:620px}.auth-form{padding:26px 18px}.auth-art h1{font-size:36px}.hero h1{font-size:48px}}
@media(max-width:680px){.auth{width:calc(100% - 28px);padding-block:16px 28px}.auth-art{display:block;min-height:0;padding:23px;border-radius:23px;margin-bottom:22px}.auth-art>.brand{display:none}.auth-art>div{max-width:none}.art-star{width:44px;height:44px;font-size:25px}.auth-art h1{font-size:29px;line-height:1.5;margin:12px 0 5px}.auth-art p{font-size:13px;margin:0}.auth-stats{margin-top:14px;gap:9px}.auth-stats div{min-width:0;flex:1;padding:9px 12px}.auth-stats b{font-size:22px}.auth-stats small{font-size:10px}.art-foot{display:none}.auth-form{padding:8px 7px 22px}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:22px;font-family:'Aref Ruqaa Local','Aref Ruqaa','Tajawal',sans-serif;font-size:26px}.auth-form h2{font-size:32px}.sub{font-size:13px}.hero:before{right:-15px;width:100%;top:20px}.hero h1{font-size:clamp(40px,10vw,52px)}.section-head h2{font-size:31px}.cat-card h3{font-size:18px}.cta{padding:24px;border-radius:22px}}

/* Saher typography + reliability patch */
.brand-mark{width:40px;height:40px;display:block;flex:0 0 auto;border-radius:13px;box-shadow:0 7px 18px #7952cf20}
.mobile-brand .brand-mark{width:44px;height:44px}
.auth-art .brand-mark{width:46px;height:46px}
@font-face{font-family:"Saher Ruqaa";src:url("../fonts/ArefRuqaa-Regular.woff2?v=20261012-4") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Saher Ruqaa";src:url("../fonts/ArefRuqaa-Bold.woff2?v=20261012-4") format("woff2");font-style:normal;font-weight:700;font-display:swap}
/* Keep body text readable; reserve Ruqaa for display headings and the wordmark. */
body{font-family:"Tajawal","Segoe UI",Tahoma,Arial,sans-serif}
h1,h2,h3,.brand,.cat-card h3,.auth-art h1,.auth-form h2,.play-card h1,.question-panel h2,.game-result h2{font-family:"Saher Ruqaa","Aref Ruqaa","Traditional Arabic",Tahoma,serif}
.btn,.eyebrow,.header nav,.game-setup,.hud,.country-form,.revealed-list,.site-modal-card,.game-message,footer{font-family:"Tajawal","Segoe UI",Tahoma,Arial,sans-serif}
.message{white-space:pre-line;line-height:1.9}
[data-code-wrap] input{direction:ltr;letter-spacing:5px;font-weight:800;text-align:center}
.resend-code{display:block;margin-top:10px;padding:8px 0;border:0;background:transparent;color:#7044c8;font-size:12px;font-weight:700;cursor:pointer}
.resend-code:disabled{opacity:.5;cursor:wait}.message.success{color:#18845d}
.final-answers{margin:24px 0;padding:20px;border:1px solid #e8def7;border-radius:18px;background:#fcfaff;text-align:right}
.final-answers h3{font-size:20px;margin:0 0 15px}
.final-answers .rank-slot{background:#fff}
@media(max-width:620px){.final-answers{padding:13px}.final-answers h3{font-size:18px}}


/* GAME PAGE COMPLETE LAYOUT FIX */
[hidden]{display:none!important}
.play-page{width:min(1040px,calc(100% - 32px));padding:20px 0 72px;min-width:0}
.play-page>.back{display:inline-flex;margin:0 0 18px;color:#8b8297;align-items:center;gap:6px}
.play-card{width:100%;min-width:0;padding:clamp(20px,4vw,34px);border:1px solid #e9e0f6;border-radius:26px;background:#fff;box-shadow:0 24px 80px rgba(49,28,91,.08);overflow:hidden}
.game-heading{display:flex;justify-content:flex-start;text-align:right;padding-bottom:24px;border-bottom:1px solid var(--line)}
.game-heading>div{width:100%;min-width:0}
.play-card .eyebrow{margin-bottom:8px}
.play-card h1{font-size:clamp(28px,3.2vw,38px);line-height:1.5;margin:3px 0 10px;color:#21152f}
.game-heading p{font-size:15px;line-height:2.05;color:#71677e;margin:0;max-width:850px}
.game-setup{padding-top:23px;text-align:right}
.random-challenge-note{display:flex;align-items:flex-start;gap:12px;margin:0 0 24px}
.random-challenge-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:12px;background:#f5efff;color:#7044d5;font-size:20px}
.random-challenge-note strong,.random-challenge-note small{display:block}
.random-challenge-note strong{font-size:15px;color:#251936;margin-bottom:3px}
.random-challenge-note small,.game-setup>small{font-size:12px;color:#877c94;line-height:1.9}
.difficulty-picker{margin:0 0 20px}
.difficulty-label{display:block;font-size:13px;color:#756a83;margin-bottom:9px}
.difficulty-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.difficulty-option{appearance:none;-webkit-appearance:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:70px;padding:12px 15px;border:1px solid #e8e0f1;border-radius:14px;background:#fff;color:#332641;text-align:right;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.difficulty-option b{font-size:14px}.difficulty-option small{font-size:11px;color:#8a8097}
.difficulty-option:hover{border-color:#bca8eb;background:#fcfaff}
.difficulty-option.selected,.difficulty-option[aria-pressed="true"]{border-color:#8159dc;background:#f6f1ff;box-shadow:inset 0 0 0 1px #8159dc}
#start-game{min-height:48px;padding:12px 23px;margin:0 0 12px}
.game-setup>small{display:block;margin-top:13px}
.game-message{font-size:13px;color:#b84b61;min-height:0;margin:5px 0}.game-message:empty{display:none}.game-message.success{color:#18845d}
#game-live{padding-top:22px}
.hud{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.hud>div{display:flex;flex-direction:column;gap:5px;min-width:0}.hud>div:nth-child(2){align-items:center;text-align:center}.hud>div:nth-child(3){align-items:flex-start;text-align:right}
.hud>div>small{font-size:11px;color:#92869f}.hud>div>b{font-family:"Tajawal","Segoe UI",sans-serif;font-size:18px;color:#241832}.hud .hearts{color:#ed6687;letter-spacing:3px;font-size:18px}
.game-progress-track{height:6px;background:#f0eaf8;border-radius:20px;overflow:hidden;margin:16px 0 22px}.game-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9b7bea,#6840c5);transition:width .25s}
.question-panel{min-width:0;text-align:right}.question-kicker{font-size:12px;color:#8257d8;font-weight:700;margin-bottom:5px}
.question-panel h2{font-size:clamp(23px,2.8vw,31px);line-height:1.65;margin:0 0 20px;color:#21152f}
.country-form label{display:block;font-size:13px;color:#695d79;margin-bottom:8px}
.country-entry{display:flex;align-items:stretch;gap:9px;max-width:560px}.country-entry input{flex:1;min-width:0;height:48px;padding:0 14px;border:1px solid #dcd2e9;border-radius:11px;background:#fff;color:#251936;outline:none;direction:rtl;font-size:14px}
.country-entry input::placeholder{color:#a398b1}.country-entry input:focus{border-color:#9c7be5;box-shadow:0 0 0 4px #f3edff}.country-entry input:disabled{background:#f8f6fb}.country-entry .btn{min-width:86px}
.answer-feedback{font-size:13px;line-height:1.8;margin-top:10px}.answer-feedback:empty{display:none}.answer-feedback.feedback-good{color:#16845d}.answer-feedback.feedback-bad{color:#c24b64}
.revealed-list-wrap{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.revealed-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.revealed-title strong{font-size:14px}.revealed-title span{font-size:12px;color:#887d95}
.revealed-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rank-slot{display:flex;align-items:center;gap:10px;min-width:0;min-height:42px;padding:9px 12px;border:1px solid #eee8f5;border-radius:11px;background:#fdfcff;color:#8d8398}
.rank-number{flex:0 0 28px;font-family:"Tajawal",sans-serif;font-size:12px;color:#8b7ca0}.rank-country{min-width:0;flex:1;overflow-wrap:anywhere;font-size:13px}.rank-slot>small{font-size:12px;color:#1a986c}.rank-slot.rank-found{border-color:#d9c9f6;background:#f8f4ff;color:#302044}.rank-found .rank-number{color:#7649cc;font-weight:800}
.source-note{display:block;color:#988da4;font-size:11px;line-height:1.8;margin-top:14px}.leave-game{margin-top:20px}
.game-result{text-align:center;padding:25px 0 4px}.result-icon{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 12px;border-radius:18px;background:#f4efff;color:#7044d5;font-size:28px}
.game-result h2{font-size:31px;margin:8px 0}.game-result>p{color:#7b7188;margin:0 auto;line-height:1.9}.result-score{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:15px 0}.result-score strong{font:800 35px "Tajawal",sans-serif;color:#7044d5}.result-score span{font-size:13px;color:#81758f}
.final-answers{text-align:right}.final-answers .revealed-list{grid-template-columns:repeat(2,minmax(0,1fr))}.game-result>.btn{margin:8px 4px 0}
.site-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}.site-modal[hidden]{display:none!important}.site-modal-backdrop{position:fixed;inset:0;background:rgba(25,16,39,.48);backdrop-filter:blur(5px)}
.site-modal-card{position:relative;z-index:1;width:min(430px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;margin:auto;padding:27px;border:1px solid #e8def7;border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(28,14,51,.25);text-align:center}
.site-modal-symbol{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 13px;border-radius:16px;background:#f4efff;color:#7044d5;font-size:24px;font-weight:800}.site-modal-symbol.success{background:#e9f8f1;color:#16845d}.site-modal-symbol.error{background:#fff0f3;color:#c74460}.site-modal-symbol.question{background:#fff6df;color:#a77a19}
.site-modal-card h2{font-size:25px;margin:0 0 8px}.site-modal-card p{font-size:14px;line-height:2;color:#71677e;margin:0;overflow-wrap:anywhere}.site-modal-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:22px}.site-modal-actions .btn{min-width:90px}body.modal-open{overflow:hidden}
@media(max-width:640px){.play-page{width:calc(100% - 24px);padding-top:12px}.play-card{padding:18px 15px;border-radius:20px}.game-heading{padding-bottom:18px}.game-heading p{font-size:13px}.difficulty-options{grid-template-columns:1fr;gap:8px}.difficulty-option{min-height:58px;padding:10px 13px}.difficulty-option small{font-size:11px}.hud{gap:6px}.hud>div>small{font-size:10px}.hud>div>b{font-size:16px}.hud .hearts{font-size:15px;letter-spacing:1px}.country-entry{gap:7px}.country-entry .btn{min-width:76px;padding-inline:12px}.revealed-list,.final-answers .revealed-list{grid-template-columns:1fr}.rank-slot{min-height:39px}.site-modal{padding:14px}.site-modal-card{padding:22px 18px;border-radius:19px;max-height:calc(100dvh - 28px)}}

/* Saher responsive layout v5: wide desktop, polished mobile, distraction-free active game */
:root{--page-gutter:clamp(18px,3.2vw,56px)}
html{min-height:100%;scroll-behavior:smooth;scroll-padding-top:24px}
body{min-width:320px;overflow-x:clip}
.wrap{width:min(1680px,calc(100% - var(--page-gutter)*2))}
.header,footer{width:calc(100% - var(--page-gutter)*2);max-width:1760px}
.header{height:clamp(72px,6.2vw,96px)}
main{width:100%;min-width:0}
.hero{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,5vw,90px);padding-block:clamp(54px,6vw,100px) clamp(42px,5vw,78px)}
.hero-copy{max-width:760px}
.hero-copy>p{max-width:650px}
.hero-visual{width:100%;max-width:720px;justify-self:center}
.feature-strip{width:100%}
.categories{padding-block:clamp(65px,7vw,115px)}
.cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,25px)}
.leader-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(35px,6vw,100px)}
.leader-card{width:100%}
.cta{width:100%;margin-block:clamp(55px,6vw,90px)}
.play-page{width:calc(100% - var(--page-gutter)*2);max-width:1760px;padding:clamp(14px,2vw,28px) 0 clamp(36px,5vw,72px)}
.play-card{width:100%;padding:clamp(24px,3.5vw,58px);border-radius:clamp(20px,2.1vw,32px)}
.game-heading p{max-width:1100px;font-size:clamp(14px,1.1vw,17px)}
.game-setup{max-width:1000px;margin-inline-start:auto}
.difficulty-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.difficulty-option{min-height:78px;padding:15px 20px}
#start-game{min-width:170px;min-height:54px}
#game-live{min-height:calc(100dvh - 245px)}
.question-panel{max-width:1300px;margin-inline-start:auto}
.question-panel h2{font-size:clamp(27px,3vw,44px);margin-bottom:clamp(20px,3vh,34px)}
.country-entry{max-width:760px}
.country-entry input{height:56px;font-size:16px}
.country-entry .btn{min-width:112px}
.revealed-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rank-slot{min-height:48px;padding:11px 15px}
.rank-country{font-size:14px}
/* While a round is running, use the entire viewport for the game itself. */
body:has(#game-live:not([hidden])) .header,
body:has(#game-live:not([hidden])) footer,
body:has(#game-live:not([hidden])) .play-page>.back{display:none}
body:has(#game-live:not([hidden])) .play-page{width:100%;max-width:none;min-height:100dvh;padding:0}
body:has(#game-live:not([hidden])) .play-card{min-height:100dvh;border:0;border-radius:0;box-shadow:none;padding:clamp(22px,3vw,52px) clamp(22px,5vw,88px)}
body:has(#game-live:not([hidden])) #game-live{min-height:calc(100dvh - 165px);display:flex;flex-direction:column}
body:has(#game-live:not([hidden])) .question-panel{width:100%;max-width:1500px;margin-inline-start:auto}
body:has(#game-live:not([hidden])) .revealed-list-wrap{margin-top:auto;padding-top:clamp(18px,3vh,34px)}
body:has(#game-live:not([hidden])) .leave-game{align-self:flex-start}
/* Tablet */
@media(max-width:1000px){
 :root{--page-gutter:24px}
 .hero{gap:22px;min-height:0;padding-block:50px 38px}
 .hero h1{font-size:clamp(39px,5.4vw,54px)}
 .hero-visual{height:410px;transform:none}
 .halo{width:min(340px,78%);height:auto;aspect-ratio:1}
 .leader-layout{gap:25px}
 .play-card{padding:28px}
}
/* Mobile: thumb-friendly controls, clear spacing and no clipped content */
@media(max-width:680px){
 :root{--page-gutter:14px}
 html{scroll-padding-top:12px}
 .wrap,.header,footer{width:calc(100% - 28px)}
 .header{height:66px;gap:8px;position:relative}
 .brand{font-size:24px;gap:8px}
 .brand-mark{width:32px;height:32px;object-fit:contain}
 .header nav{top:60px;right:0;left:0;padding:16px;border-radius:16px;gap:13px}
 .header nav a{display:block;padding:7px 4px;font-size:14px}
 .header-actions{gap:6px}
 .header-actions .btn{min-height:36px;padding:7px 10px;font-size:11px;white-space:nowrap}
 .hamburger{width:38px;height:38px;border:1px solid #eee7f7;border-radius:11px;background:#fff;color:#7044d5;display:grid;place-items:center;font-size:21px;flex:0 0 auto}
 .hero{padding-block:34px 22px;gap:8px}
 .hero-copy{padding:6px 0}
 .hero h1{font-size:clamp(35px,9.5vw,47px);line-height:1.42;letter-spacing:-.4px;margin:12px 0 8px}
 .hero-copy>p{font-size:13px;line-height:1.95}
 .actions{gap:8px;margin-top:18px}
 .actions .btn{min-height:44px;flex:1;padding:10px 8px;font-size:12px}
 .proof{gap:8px;margin-top:19px;font-size:10px}
 .hero-visual{height:340px;margin-top:3px;overflow:visible}
 .halo{width:260px;max-width:72vw;box-shadow:0 0 0 14px #f9f6ff,0 0 0 30px #fdfbff}
 .quiz-card{width:min(300px,82%);padding:16px;border-radius:20px}
 .quiz-card h3{font-size:18px}
 .option{height:38px;margin-top:6px}
 .floating{padding:8px 10px;gap:7px;border-radius:12px}
 .floating b{font-size:10px}.floating small{font-size:9px}
 .coin,.cup{width:29px;height:29px;font-size:17px}
 .ftop{top:14px;right:0}.fbottom{bottom:8px;left:0}
 .feature-strip{padding:8px 14px;border-radius:16px}
 .feature-strip>div{gap:10px;padding:10px 0}
 .feature-strip>div>span{width:35px;height:35px;flex:0 0 35px}
 .feature-strip b{font-size:12px}.feature-strip small{font-size:10px}
 .categories{padding-block:54px}
 .section-head{margin-bottom:18px;gap:7px}
 .section-head h2{font-size:28px}
 .section-head p{font-size:12px;line-height:1.8}
 .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .cat-card{padding:14px;min-height:180px;border-radius:16px}
 .cat-icon{width:39px;height:39px;border-radius:12px;font-size:18px}
 .cat-card h3{font-size:16px;line-height:1.7;margin-top:11px}
 .cat-card p{font-size:11px;line-height:1.7}
 .cat-card>div:last-child{font-size:10px;gap:6px}
 .leader-band{padding-block:48px}
 .leader-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .leader-layout h2{font-size:33px;line-height:1.5;margin:9px 0}
 .leader-layout>div:first-child>p{font-size:13px;line-height:1.9}
 .leader-card{padding:15px;border-radius:18px}
 .leader-row{gap:9px;padding:10px 0}
 .cta{margin-block:40px 45px;padding:20px;border-radius:19px;gap:12px}
 .cta>span{width:40px;height:40px;flex:0 0 40px}
 .cta h2{font-size:20px;line-height:1.6}
 .cta p{font-size:12px;line-height:1.8}
 footer{min-height:76px;padding-block:12px;gap:8px;font-size:10px}
 footer .brand{font-size:20px}
 footer .brand-mark{width:27px;height:27px}
 .auth{width:calc(100% - 28px);padding-block:12px 24px}
 .auth-form{padding:8px 3px 28px}
 .page-heading{padding-block:35px 20px}
 .page-heading h1{font-size:31px}
 .board{margin-bottom:35px;border-radius:16px}
 .profile{padding-block:28px 42px}
 .profile-stats>div{min-width:0}
 .play-page{width:calc(100% - 20px);padding:10px 0 28px}
 .play-page>.back{margin:0 0 10px;font-size:12px}
 .play-card{padding:19px 15px;border-radius:19px}
 .game-heading{padding-bottom:16px}
 .play-card h1{font-size:clamp(26px,7vw,32px);line-height:1.55}
 .game-heading p{font-size:12px;line-height:1.95}
 .game-setup{padding-top:17px}
 .random-challenge-note{gap:9px;margin-bottom:17px}
 .random-challenge-icon{width:30px;height:30px;flex-basis:30px;border-radius:10px}
 .random-challenge-note strong{font-size:13px}
 .random-challenge-note small,.game-setup>small{font-size:11px;line-height:1.8}
 .difficulty-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .difficulty-option{min-height:72px;padding:9px 6px;align-items:center;text-align:center;border-radius:12px}
 .difficulty-option b{font-size:12px}
 .difficulty-option small{font-size:9px;line-height:1.5}
 #start-game{width:100%;min-height:48px;margin-top:5px}
 #game-live{padding-top:17px;min-height:0}
 .hud{gap:5px;padding-bottom:14px}
 .hud>div{gap:3px}.hud>div>small{font-size:9px}.hud>div>b{font-size:16px}
 .hud .hearts{font-size:13px;letter-spacing:0}
 .game-progress-track{margin:13px 0 18px}
 .question-panel h2{font-size:clamp(22px,6.1vw,29px);line-height:1.65;margin-bottom:17px}
 .country-form label{font-size:12px}
 .country-entry{gap:7px;max-width:none}
 .country-entry input{height:46px;padding-inline:10px;font-size:13px;border-radius:10px}
 .country-entry .btn{min-width:72px;padding:8px 11px;font-size:12px;border-radius:10px}
 .answer-feedback{font-size:12px}
 .revealed-list-wrap{margin-top:19px;padding-top:14px}
 .revealed-title strong{font-size:12px}.revealed-title span{font-size:11px}
 .revealed-list,.final-answers .revealed-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .rank-slot{min-height:38px;padding:8px 9px;gap:6px;border-radius:9px}
 .rank-number{flex-basis:22px;font-size:11px}.rank-country{font-size:11px}.rank-slot>small{font-size:10px}
 .leave-game{width:100%;min-height:43px;margin-top:15px}
 .game-result{padding-top:17px}
 .game-result h2{font-size:26px}
 .game-result>p{font-size:12px;line-height:1.9}
 .result-score strong{font-size:31px}
 .final-answers h3{font-size:18px}
 .game-result>.btn{min-height:43px;margin:6px 2px 0}
 .site-modal{padding:12px}
 .site-modal-card{width:100%;padding:22px 17px;border-radius:18px;max-height:calc(100dvh - 24px)}
 .site-modal-card h2{font-size:22px}
 .site-modal-card p{font-size:13px;line-height:1.9}
 /* Keep the active game immersive but still scrollable on phones. */
 body:has(#game-live:not([hidden])) .play-card{padding:20px 15px}
 body:has(#game-live:not([hidden])) #game-live{min-height:calc(100dvh - 40px)}
 body:has(#game-live:not([hidden])) .revealed-list-wrap{margin-top:18px}
 body:has(#game-live:not([hidden])) .leave-game{align-self:stretch}
}
@media(max-width:390px){
 .header-actions .btn{padding:6px 8px;font-size:10px}
 .brand{font-size:22px}
 .cat-grid{grid-template-columns:1fr}
 .cat-card{min-height:155px}
 .hero-visual{height:315px}
 .difficulty-option small{font-size:8px}
 .hud>div>small{font-size:8px}
 .revealed-list,.final-answers .revealed-list{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* Saher homepage: randomized challenge preview, never a fixed sample question */
.google-btn{display:flex;align-items:center;justify-content:center;text-decoration:none;gap:0}
.random-visual .random-card{position:relative;z-index:2;width:min(390px,92%);padding:25px 24px 20px;background:rgba(255,255,255,.96);border:1px solid #eee7f8;border-radius:28px;box-shadow:0 24px 75px #3e2c5e12;transform:rotate(-1deg);overflow:hidden}
.random-card-top,.random-card-foot{display:flex;align-items:center;justify-content:space-between}
.random-status{display:flex;align-items:center;gap:8px;color:#7e718f;font-size:11px;font-weight:700}
.random-status i{width:7px;height:7px;border-radius:50%;background:#43b98a;box-shadow:0 0 0 5px #e8f8f0}
.random-spark{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#fff4d9;color:#bd902b;font-size:20px}
.random-emblem{height:115px;position:relative;display:grid;place-items:center;margin:13px 0 4px}
.random-emblem:before{content:"";position:absolute;width:105px;height:105px;border-radius:50%;background:radial-gradient(circle,#f2eaff 0,#faf7ff 62%,transparent 64%);border:1px solid #eee3fc}
.random-emblem span{position:relative;z-index:1;display:grid;place-items:center;width:62px;height:62px;border-radius:21px;background:linear-gradient(145deg,#8e61e8,#5c31b4);color:white;font-size:36px;font-weight:800;box-shadow:0 12px 30px #7650c638}
.random-emblem i{position:absolute;color:#c4a2ff;font-style:normal;font-size:20px}.random-emblem i:nth-of-type(1){top:14px;right:80px}.random-emblem i:nth-of-type(2){bottom:12px;left:84px;color:#d9b96a}
.random-label{display:block;text-align:center;color:#8864cf;font-size:11px;font-weight:800}
.random-card h2{text-align:center;font-size:24px;line-height:1.65;margin:5px 0 7px;color:#281c39}
.random-card h2 em{font-style:normal;color:#7950ca}
.random-card>p{text-align:center;color:#8a8295;font-size:12px;line-height:1.9;margin:0 auto 18px;max-width:280px}
.mystery-ranks{display:grid;gap:7px}
.mystery-rank{display:flex;align-items:center;gap:10px;min-height:35px;border:1px solid #f0ebf6;border-radius:10px;padding:5px 9px;background:#fdfcff}
.mystery-rank b{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#f1ebfc;color:#8964d0;font-size:10px}
.mystery-rank span{height:6px;border-radius:10px;background:linear-gradient(90deg,#eee7f8,#f7f3fc);flex:1}
.mystery-rank:nth-child(2) span{max-width:75%}.mystery-rank:nth-child(3) span{max-width:58%}.mystery-rank:nth-child(4) span{max-width:68%}.mystery-rank:nth-child(5) span{max-width:45%}
.mystery-rank i{font-style:normal;color:#b7a8cc;font-size:14px}
.random-card-foot{border-top:1px solid #f1edf6;margin-top:17px;padding-top:14px}
.random-card-foot span{color:#df7594;letter-spacing:3px;font-size:13px}.random-card-foot small{color:#9a91a4;font-size:10px}
.random-features{margin-bottom:18px}
@media(max-width:760px){
 .hero{grid-template-columns:1fr;gap:8px;padding-block:40px 30px;min-height:0}
 .hero-copy{text-align:center}.hero-copy>p{margin-inline:auto}.hero-copy .actions,.proof{justify-content:center}
 .hero-visual{height:430px;margin-top:8px}.random-visual .random-card{width:min(355px,88%);padding:20px 18px 16px}
 .random-card h2{font-size:22px}.random-emblem{height:92px}.random-emblem:before{width:86px;height:86px}.random-emblem span{width:54px;height:54px}
 .random-emblem i:nth-of-type(1){right:56px}.random-emblem i:nth-of-type(2){left:59px}
 .random-visual .floating{transform:scale(.83)}.random-visual .ftop{right:-2px;top:35px}.random-visual .fbottom{left:-2px;bottom:30px}
 .random-features{margin-inline:18px;padding:13px 10px;gap:6px}.random-features>div{gap:7px;justify-content:flex-start;padding:4px}
 .random-features>div>span{width:32px;height:32px;flex-shrink:0;font-size:17px}.random-features b{font-size:10px}.random-features small{font-size:9px}
}

