:root{
  color-scheme:light;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  --bg:#f5fbff;--surface:#ffffff;--surface-soft:#eef8ff;
  --text:#17315f;--muted:#637494;--blue:#0a97ff;--blue-2:#2f73ff;
  --cyan:#11c9e9;--teal:#18c6b5;--coral:#ff4e7a;--gold:#ffb321;
  --line:#d9ecf8;--shadow:0 18px 55px rgba(26,95,155,.13);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#f8fcff 0,#eef8ff 100%);color:var(--text);line-height:1.65}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
.site-shell{max-width:1400px;margin:auto;padding:0 24px}
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(196,226,244,.8)}
.topbar-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--text)}
.brand img{width:58px;height:58px;border-radius:16px;box-shadow:0 8px 24px rgba(8,142,236,.12)}
.brand-copy strong{display:block;font-size:1.15rem}
.brand-copy span{display:block;font-size:.78rem;color:var(--muted);font-weight:600;letter-spacing:.05em}
nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
nav a{color:#375578;font-weight:700;font-size:.95rem}
.hero{padding:64px 0 36px;position:relative;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;filter:blur(3px);opacity:.35;pointer-events:none}
.hero::before{width:360px;height:360px;background:#96e4ff;right:-120px;top:-90px}
.hero::after{width:260px;height:260px;background:#b7fff0;left:-110px;bottom:-80px}
.hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:46px;align-items:center;position:relative;z-index:1}
.hero-brand{max-width:470px}
.hero-logo{width:190px;margin-bottom:22px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:#e7f7ff;color:#087abf;font-weight:800;font-size:.82rem;letter-spacing:.06em}
.hero h1{font-size:clamp(2.6rem,5vw,5.5rem);line-height:.98;margin:20px 0 18px;letter-spacing:-.045em}
.hero h1 span{background:linear-gradient(90deg,#0b84ff,#12c8e9);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{font-size:1.13rem;color:var(--muted);max-width:650px;margin:0 0 26px}
.store-actions{display:flex;gap:12px;flex-wrap:wrap}
.store-btn{display:inline-flex;align-items:center;gap:11px;padding:12px 16px;border-radius:16px;background:#fff;border:1px solid var(--line);color:var(--text);font-weight:800;box-shadow:0 10px 28px rgba(31,108,165,.08)}
.store-btn:hover{text-decoration:none;transform:translateY(-1px);box-shadow:0 14px 30px rgba(31,108,165,.14)}
.store-btn.is-coming{pointer-events:none;opacity:.76;filter:saturate(.82);box-shadow:none}
.store-btn svg{width:27px;height:27px;flex:0 0 auto}
.hero-visual{position:relative}
.hero-visual img{width:100%;border-radius:30px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.95)}
.hero-badge{position:absolute;right:-16px;bottom:-18px;background:#fff;padding:13px 16px;border-radius:16px;box-shadow:0 14px 34px rgba(31,108,165,.18);font-weight:800;color:#14618e}
.section{padding:56px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section-head h2{margin:0;font-size:clamp(1.8rem,3vw,2.8rem);letter-spacing:-.03em}
.section-head p{margin:0;color:var(--muted);max-width:620px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{background:linear-gradient(145deg,#fff,#f4fbff);border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 10px 30px rgba(35,105,160,.07)}
.feature-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;margin-bottom:14px;font-size:1.5rem}
.feature:nth-child(1) .feature-icon{background:#e6f7ff;color:#098ee3}.feature:nth-child(2) .feature-icon{background:#e7fff9;color:#13aa98}.feature:nth-child(3) .feature-icon{background:#fff2e4;color:#ef8b11}
.feature h3{margin:0 0 7px;font-size:1.12rem}.feature p{margin:0;color:var(--muted);font-size:.96rem}
.gallery-wrap{position:relative}
.carousel{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:8px 2px 20px;scrollbar-width:none}
.carousel::-webkit-scrollbar{display:none}
.carousel{cursor:grab;user-select:none}
.carousel.is-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none}
.slide{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(37,105,156,.08)}
.slide img{aspect-ratio:16/9;object-fit:cover;width:100%;user-select:none;-webkit-user-drag:none}
.slide figcaption{padding:12px 14px;color:#456887;font-weight:700;font-size:.9rem}
.carousel-actions{display:flex;gap:10px}
.carousel-btn{width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#177ed0;font-size:1.45rem;font-weight:900;box-shadow:0 10px 26px rgba(31,108,165,.15);cursor:pointer}
.carousel-btn:hover{background:#eaf8ff}
.download-panel{background:linear-gradient(120deg,#0a91ff,#15c9df 55%,#20c6ae);border-radius:30px;padding:38px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:28px;box-shadow:0 22px 54px rgba(5,137,215,.22)}
.download-panel h2{margin:0 0 7px;font-size:2rem}.download-panel p{margin:0;opacity:.9}
.download-panel .store-btn{box-shadow:none}
.site-footer{border-top:1px solid var(--line);margin-top:40px;padding:30px 0 42px;color:var(--muted)}
.footer-grid{display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
main:not(.home-main){max-width:940px;margin:auto;padding:34px 20px 60px}
main:not(.home-main)>header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:28px}
main:not(.home-main)>header nav a{margin-inline-start:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;margin:18px 0;box-shadow:0 8px 28px rgba(35,105,160,.08)}
h1,h2{line-height:1.2}.meta,.muted{color:var(--muted);font-size:.95rem}.rtl{direction:rtl;text-align:right}
.button{display:inline-block;background:linear-gradient(90deg,var(--blue),var(--cyan));color:#fff;text-decoration:none;padding:11px 18px;border-radius:12px;font-weight:800}
footer{color:var(--muted);font-size:.9rem}
@media(max-width:1050px){.hero-grid{grid-template-columns:1fr}.hero-brand{max-width:760px}.carousel{grid-auto-columns:calc((100% - 18px)/2)}}
@media(max-width:700px){.site-shell{padding:0 16px}.topbar-inner{height:auto;padding:12px 0;align-items:flex-start}.brand-copy{display:none}nav{gap:10px;justify-content:flex-end}.hero{padding-top:36px}.hero-visual{margin-top:8px}.feature-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.carousel{grid-auto-columns:86%}.download-panel{align-items:flex-start;flex-direction:column}.hero-badge{right:10px}.topbar nav a:nth-child(2),.topbar nav a:nth-child(3){display:none}main:not(.home-main)>header{display:block}main:not(.home-main)>header nav{margin-top:12px}}

/* Dev Group storefront refresh */
.site-shell{max-width:1580px}
.topbar-inner{height:116px}
.brand{display:flex;align-items:center;min-width:0;overflow:visible;flex:0 1 auto}
.brand img{width:360px;height:94px;max-width:42vw;object-fit:contain;object-position:left center;flex:0 1 auto;border-radius:0;box-shadow:none}
.brand-copy{display:none}
.hero{padding:48px 0 70px}
.hero-grid{grid-template-columns:.72fr 1.28fr;gap:54px}
.hero-brand{max-width:560px}
.hero h1{font-size:clamp(3rem,4.8vw,5.6rem)}
.store-actions--qr{align-items:stretch;gap:14px}
.store-card{display:grid;grid-template-columns:minmax(135px,1fr) 64px;align-items:center;gap:8px;padding:7px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.9);box-shadow:0 12px 32px rgba(31,108,165,.1)}
.store-card .store-btn{border:0;box-shadow:none;background:transparent;padding:8px 10px;min-width:0}
.store-card .store-btn:hover{box-shadow:none}
.store-copy{display:flex;flex-direction:column;gap:2px;line-height:1.12}
.store-copy strong{font-size:.98rem}
.store-copy small{color:var(--muted);font-size:.72rem;font-weight:700}
.store-qr{width:62px;height:62px;padding:4px;border-radius:10px;background:#fff;border:1px solid #d7eafa}
.device-showcase{position:relative;padding:0 0 34px 0}
.hero-visual .desktop-art{width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover;border-radius:30px;box-shadow:0 24px 65px rgba(32,95,155,.18);border:1px solid rgba(255,255,255,.98);background:#eef8ff url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAA8KCw0LCQ8NDA0REA8RFiUYFhQUFi0gIhslNS84NzQvNDM7QlVIOz9QPzM0SmRLUFdaX2BfOUdob2dcblVdX1v/2wBDARARERYTFisYGCtbPTQ9W1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1v/wAARCAAtAFADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDrLe8E4UoUBUEyREZY8cBfxqsIpdR1RGeR0tUUMkXl4DMOuT6g9qi0hojK9pOy/bYs4KYAbA6L9Pfn1qG1fxNaWwj8hJOv7y4lBc9eo3YBPGADjg9KpuM9UZpPqb89xFHLHDKwErgkDb1ApxiOeAPyrm4v+En/ANFWRICIWDOzSKWYYIPfnr04GQOTWhH/AGxdpGZ5IrWRWbhHzu4XHAODk7uvanC99WrDltojUlSURnymUMejbc4P0qje6ra+V5S3UJduG2ENj24p0VzqUSzNexxBVi3Kyd2xkjqenP5Ci0STyIAt1IipGo2LGMZ2jvjmqs077iumrFW2urRAWzLI7dkt3bA/75qU3YIbZY3rkqQP9H29fritMM5wAc4GSTS5L8IwH60ObYlBIyrW5v4INqaTMxJz87xqOg/2qQ6lqdtCpvbJVRnVDIJ13LubGcAc9RWvnAywBI9TWZ4hkC2MJYAj7VFkcc4bP9Kh6l7EsVpbG6lngQiSQh2BB4bHX2PrV5Wbb90n1rJ06K5XSlFxvdjKCD5gBxgd81dvFY3EB2sQrZyCBinaOwtbXJwjbfvSYxj73/1qVdyA5LNnpuP/ANaqc0G7V4Jz5uY0KAB8Kc9yO9SRxSDUZpTvwygDLfLx7UWQ0M1a4WCwnyjFmjYZxwMjHWpIkHKEj5SQOnbj1qlqCNLZXIaMLvkTPzZz8wFaYGHON55PXkdaFsHUGGd+T0HAzilRsjLHH49PanFWxwvPr6UhU5yVLemaQxAMgAn5iDzjPesvXv3kFioJAe7U5xyPlY/0rTfClGckY/hB71k60oZ9OUOwBuGct1PEbnNHQTINA1Xdp4EhUsuAIocAIvatEamrHiNv++xXBaAHSyeZZXDmTAxjA+XNdbpQa/0P7SW2zcjPJHX0zWdN3fKF0ka9vcrMSW+QjoC3WpW3AZ6Adcniqa2aK2SEOOny/wD16vNFkctnPUEVpbuMrXEltPA0MoWWN+GU/MDWWNH0otJmB1z90hmGPyNW7fybz7T/AKNEnkybAQo596njsIWPA2/7uR/WmktxXuZT6ZpfSNb+P3WWT/4qsmWxu/tTR2txqCpn5S1y4yPxrsP7PiTkPL9N5qBLFUWVbZhEXIJZgXz+ZppoGZn9h3Rt0MeuX8cp6hpt4HH0p8rS/bERo2IUgeYWBz2zWh9lnjxJJdswQZCKu0VFHCsmsSwOAdqiRX5z1HB596kZ/9k=") center/cover no-repeat}
.phone-art{position:absolute;left:-74px;right:auto;bottom:-18px;width:clamp(180px,21%,205px);min-width:0;max-width:none;z-index:3;transform:rotate(-1.5deg);filter:drop-shadow(0 20px 28px rgba(15,56,104,.24));background:transparent}
.phone-art img{width:100%;border:0;border-radius:0;box-shadow:none;background:transparent}

.hero-badge{right:8px;bottom:-2px}
#gallery{padding-top:72px}
#gallery .section-head{margin-bottom:30px}
.carousel{grid-auto-columns:calc((100% - 72px)/4);gap:24px;padding:10px 4px 28px}
.slide{margin:0;border-radius:26px}
.slide img{aspect-ratio:9/16;object-fit:cover;width:100%;background:#fff}
.slide figcaption{padding:14px 16px 16px;text-align:center;font-size:.96rem;color:#355f83}
.download-panel .store-card{background:rgba(255,255,255,.96);box-shadow:none}
.download-panel .store-actions--qr{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1180px){
  .hero-grid{grid-template-columns:1fr}
  .hero-brand{max-width:760px}
  .hero-visual{max-width:980px}
  .carousel{grid-auto-columns:calc((100% - 24px)/2)}
}
@media(max-width:700px){
  .topbar-inner{height:88px;min-height:88px;padding:6px 0;align-items:center;gap:10px}
  .brand{max-width:230px}
  .brand img{width:220px;height:72px;max-width:58vw;object-fit:contain;object-position:left center;border-radius:0;box-shadow:none}
  .store-actions--qr{width:100%}
  .store-card{grid-template-columns:minmax(150px,1fr) 66px;max-width:330px}
  .store-qr{width:62px;height:62px}
  .device-showcase{padding:0 0 24px 0}
  .phone-art{left:-12px;right:auto;bottom:-8px;width:108px;min-width:0}
  .hero-badge{position:relative;display:inline-flex;right:auto;bottom:auto;margin:14px 0 0 18px}
  .carousel{grid-auto-columns:78%;gap:16px}
  .download-panel .store-actions--qr{justify-content:flex-start}
}


/* =========================
   Sudoku Pro web portal 2026-09-29
   ========================= */
.portal-home{
  --portal-ink:#101a38;
  --portal-muted:#66708d;
  --portal-surface:#ffffff;
  --portal-soft:#f2f3ff;
  --portal-line:#dde4f1;
  --portal-primary:#5149d8;
  --portal-blue:#2698ed;
  --portal-cyan:#28c3d8;
  --portal-green:#31b983;
  --portal-orange:#f5a33c;
  --portal-pink:#e66ba6;
  background:
    radial-gradient(circle at 87% 4%,rgba(109,91,255,.16),transparent 29%),
    radial-gradient(circle at 8% 21%,rgba(39,197,220,.13),transparent 23%),
    linear-gradient(180deg,#fbfcff 0,#f2f8ff 48%,#f8fbff 100%);
  color:var(--portal-ink);
}
.portal-home.dark{
  color-scheme:dark;
  --portal-ink:#f6f8ff;
  --portal-muted:#b4bed8;
  --portal-surface:#252d40;
  --portal-soft:#303a51;
  --portal-line:#4a5875;
  --text:#f6f8ff;
  --muted:#b4bed8;
  --bg:#1d2637;
  --surface:#252d40;
  --surface-soft:#303a51;
  --line:#4a5875;
  background:
    radial-gradient(circle at 87% 4%,rgba(93,75,209,.25),transparent 29%),
    radial-gradient(circle at 8% 21%,rgba(23,132,158,.20),transparent 23%),
    linear-gradient(180deg,#1d2637 0,#243149 55%,#1d2637 100%);
}
.portal-home .portal-topbar{background:rgba(255,255,255,.84);border-bottom:1px solid rgba(220,228,241,.9)}
.portal-home.dark .portal-topbar{background:rgba(20,24,38,.90);border-color:#30384f}
.portal-topbar .topbar-inner{height:96px}
.portal-topbar .brand img{width:290px;height:74px;max-width:34vw}
.portal-nav{gap:18px}
.portal-nav a{color:var(--portal-muted);font-size:.92rem}
.portal-nav a:hover{color:var(--portal-primary);text-decoration:none}
.portal-controls{display:flex;gap:8px}
.portal-icon-btn{
  width:42px;height:42px;border:1px solid var(--portal-line);border-radius:13px;
  background:var(--portal-surface);color:var(--portal-ink);font-weight:900;cursor:pointer;
  box-shadow:0 6px 18px rgba(36,64,110,.08)
}
.portal-icon-btn:hover{transform:translateY(-1px)}
.portal-hero{padding:56px 0 34px}
.portal-hero-grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(420px,1.06fr);gap:58px;align-items:center}
.portal-hero-copy{max-width:660px}
.portal-hero-copy h1{font-size:clamp(3rem,5.4vw,6rem);line-height:.96;letter-spacing:-.055em;margin:20px 0 20px;color:var(--portal-ink)}
.portal-hero-copy p{font-size:1.08rem;max-width:650px;color:var(--portal-muted)}
.portal-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 16px}
.portal-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;
  border-radius:15px;text-decoration:none;font-weight:850;border:1px solid transparent;transition:.17s ease;
}
.portal-btn:hover{text-decoration:none;transform:translateY(-1px)}
.portal-btn-primary{background:linear-gradient(135deg,var(--portal-primary),var(--portal-blue));color:#fff;box-shadow:0 12px 28px rgba(77,75,213,.20)}
.portal-btn-soft{background:var(--portal-surface);color:var(--portal-primary);border-color:var(--portal-line)}
.portal-btn-block{width:100%}
.portal-store-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.portal-store-mini{
  display:flex;align-items:center;gap:10px;min-width:188px;padding:10px 13px;border-radius:14px;
  background:color-mix(in srgb,var(--portal-surface) 92%,transparent);border:1px solid var(--portal-line);
  color:var(--portal-ink);text-decoration:none;box-shadow:0 8px 20px rgba(31,74,128,.06)
}
.portal-store-mini:hover{text-decoration:none;transform:translateY(-1px)}
.portal-store-mini span:last-child{display:grid;line-height:1.15}
.portal-store-mini small{font-size:.66rem;color:var(--portal-muted);font-weight:800;letter-spacing:.08em}
.portal-store-mini strong{font-size:.88rem}
.store-symbol{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--portal-soft);color:var(--portal-primary);font-size:18px;font-weight:950}

.portal-quick-card{
  position:relative;background:linear-gradient(150deg,color-mix(in srgb,var(--portal-surface) 96%,transparent),color-mix(in srgb,var(--portal-soft) 72%,var(--portal-surface)));
  border:1px solid color-mix(in srgb,var(--portal-line) 84%,white);border-radius:30px;padding:24px;
  box-shadow:0 30px 80px rgba(47,67,126,.16);overflow:hidden
}
.portal-quick-card:before{
  content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-100px;top:-110px;
  background:linear-gradient(135deg,rgba(81,73,216,.20),rgba(38,152,237,.10));pointer-events:none
}
.quick-head{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.quick-head h2{margin:3px 0 0;font-size:1.45rem;color:var(--portal-ink)}
.quick-kicker{font-size:.72rem;font-weight:950;letter-spacing:.14em;color:var(--portal-primary)}
.live-dot{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#e9fff7;color:#167d58;font-size:.72rem;font-weight:850}
.portal-home.dark .live-dot{background:#19392f;color:#75e0b5}
.live-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:#28b981;box-shadow:0 0 0 5px rgba(40,185,129,.12)}
.mini-sudoku{
  position:relative;display:grid;grid-template-columns:repeat(9,1fr);aspect-ratio:1;width:min(100%,470px);margin:auto;
  background:#5d6780;gap:1px;border:3px solid #4f5870;border-radius:18px;overflow:hidden;box-shadow:0 18px 35px rgba(32,52,95,.14)
}
.mini-sudoku span{
  display:grid;place-items:center;background:var(--portal-surface);font-size:clamp(15px,2.2vw,24px);font-weight:900;color:#264eb8
}
.mini-sudoku span:nth-child(3n){box-shadow:inset -2px 0 0 #4f5870}
.mini-sudoku span:nth-child(9n){box-shadow:none}
.mini-sudoku span:nth-child(n+19):nth-child(-n+27),
.mini-sudoku span:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid #4f5870}
.quick-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0 10px}
.quick-levels a{
  text-align:center;border:1px solid var(--portal-line);background:var(--portal-surface);color:var(--portal-muted);
  border-radius:11px;padding:8px 4px;font-size:.76rem;font-weight:850;text-decoration:none
}
.quick-levels a:hover,.quick-levels a.active{background:var(--portal-soft);color:var(--portal-primary);border-color:color-mix(in srgb,var(--portal-primary) 28%,var(--portal-line))}

.portal-ad-wrap{padding:10px 24px 16px}
.portal-ad-slot{
  min-height:82px;border:1px dashed color-mix(in srgb,var(--portal-primary) 25%,var(--portal-line));border-radius:17px;
  display:grid;place-items:center;text-align:center;padding:12px;color:var(--portal-muted);
  background:color-mix(in srgb,var(--portal-surface) 80%,transparent);font-size:.78rem
}
.portal-ad-wide{min-height:96px}
.portal-section{padding:64px 0}
.portal-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.portal-section-head h2{font-size:clamp(2rem,3.4vw,3.45rem);letter-spacing:-.035em;margin:12px 0 0;color:var(--portal-ink)}
.portal-section-head p{max-width:650px;margin:0;color:var(--portal-muted)}

.level-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}
.level-card{
  position:relative;min-height:176px;border:1px solid var(--portal-line);border-radius:20px;padding:18px;
  background:var(--portal-surface);text-decoration:none;color:var(--portal-ink);overflow:hidden;
  box-shadow:0 10px 26px rgba(36,73,120,.06);transition:.18s ease
}
.level-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-48px;bottom:-48px;background:var(--level-accent,#755fe5);opacity:.13}
.level-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(36,73,120,.12);text-decoration:none}
.level-card>span{font-size:.72rem;font-weight:950;letter-spacing:.16em;color:var(--level-accent,#755fe5)}
.level-card h3{font-size:1.22rem;margin:28px 0 3px}
.level-card p{margin:0;color:var(--portal-muted);font-size:.82rem}
.level-easy{--level-accent:#2bb67d}.level-medium{--level-accent:#3293df}.level-hard{--level-accent:#7b67df}.level-expert{--level-accent:#c05ad0}.level-master{--level-accent:#e17e42}.level-grand{--level-accent:#d3445f}

.portal-variants-bg{position:relative}
.portal-variants-bg:before{
  content:"";position:absolute;inset:20px 0;background:linear-gradient(180deg,rgba(107,91,215,.055),rgba(38,178,220,.035));pointer-events:none
}
.portal-variants-bg>.site-shell{position:relative}
.variant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.variant-card{
  position:relative;background:var(--portal-surface);border:1px solid var(--portal-line);border-radius:22px;padding:21px;
  box-shadow:0 11px 28px rgba(36,73,120,.06);min-height:215px
}
.variant-icon{
  width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,var(--portal-soft),color-mix(in srgb,var(--portal-primary) 9%,var(--portal-surface)));
  color:var(--portal-primary);font-weight:950;font-size:1.1rem;margin-bottom:16px
}
.variant-card h3{margin:0 0 7px;font-size:1.16rem}
.variant-card p{color:var(--portal-muted);margin:0 0 13px;font-size:.92rem}
.variant-card a{font-weight:850;color:var(--portal-primary)}
.variant-tag{display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--portal-soft);color:var(--portal-primary);font-size:.7rem;font-weight:850}

.learn-promo{
  display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center;
  background:linear-gradient(130deg,#151a38,#232a58 55%,#244d6c);border-radius:30px;padding:38px;color:#fff;
  box-shadow:0 24px 58px rgba(17,28,62,.18)
}
.learn-promo .eyebrow{background:#ffffff16;color:#aee9ff}
.learn-promo h2{font-size:clamp(2rem,3.4vw,3.35rem);margin:14px 0 13px;letter-spacing:-.035em;color:#fff}
.learn-promo p{color:#cad5ef;margin:0 0 22px}
.strategy-preview{
  position:relative;min-height:300px;border-radius:24px;padding:26px;background:linear-gradient(145deg,#ffffff12,#ffffff08);
  border:1px solid #ffffff1f;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end
}
.strategy-preview:before{
  content:"";position:absolute;inset:25px;background:
    linear-gradient(#ffffff10 1px,transparent 1px),
    linear-gradient(90deg,#ffffff10 1px,transparent 1px);
  background-size:11.111% 11.111%;border:2px solid #ffffff38;border-radius:12px
}
.strategy-preview-badge{position:absolute;top:22px;left:22px;padding:7px 11px;border-radius:999px;background:#ffc95c;color:#4f3500;font-size:.75rem;font-weight:950}
.strategy-lines i{position:absolute;background:#6ee7ff;border-radius:999px;box-shadow:0 0 18px #6ee7ff55}
.strategy-lines i:nth-child(1){left:10%;right:10%;top:34%;height:3px}.strategy-lines i:nth-child(2){left:10%;right:10%;top:66%;height:3px}
.strategy-lines i:nth-child(3){top:12%;bottom:12%;left:31%;width:3px}.strategy-lines i:nth-child(4){top:12%;bottom:12%;left:70%;width:3px}
.strategy-preview strong,.strategy-preview small{position:relative;z-index:2}.strategy-preview strong{font-size:1.2rem}.strategy-preview small{color:#b9cae8;margin-top:3px}

.portal-download-section{padding-top:36px}
.portal-download-panel{background:linear-gradient(120deg,#4d47d7,#278fe8 60%,#23b9c5)}
.download-chip{display:inline-block;font-size:.7rem;letter-spacing:.13em;font-weight:950;color:#d6eeff;margin-bottom:8px}
.portal-download-stores{display:flex;gap:10px;flex-wrap:wrap}
.download-store-card{
  min-width:205px;background:#fff;color:#151a34;border-radius:15px;padding:12px 15px;display:flex;align-items:center;gap:11px;text-decoration:none
}
.download-store-card:hover{text-decoration:none;transform:translateY(-1px)}
.download-store-card>span{font-size:26px;color:#2f72e8}.download-store-card div{display:grid;line-height:1.1}.download-store-card small{font-size:.62rem;color:#72809c;font-weight:850;letter-spacing:.08em}.download-store-card strong{font-size:.92rem}
.portal-home.dark .slide,.portal-home.dark .feature,.portal-home.dark .store-card{background:var(--portal-surface);border-color:var(--portal-line)}
.portal-home.dark .slide figcaption{color:var(--portal-muted)}
.portal-home.dark .site-footer{border-color:var(--portal-line)}

html[dir="rtl"] .portal-nav,html[dir="rtl"] .portal-store-row,html[dir="rtl"] .portal-hero-actions{direction:rtl}
html[dir="rtl"] .strategy-preview-badge{left:auto;right:22px}
html[dir="rtl"] .portal-section-head{text-align:right}

@media(max-width:1240px){
  .portal-hero-grid{grid-template-columns:1fr 1fr;gap:36px}
  .level-grid{grid-template-columns:repeat(3,1fr)}
  .portal-nav{gap:12px}
  .portal-topbar .brand img{width:240px;max-width:30vw}
}
@media(max-width:960px){
  .portal-hero-grid{grid-template-columns:1fr}
  .portal-quick-card{max-width:720px}
  .variant-grid{grid-template-columns:repeat(2,1fr)}
  .learn-promo{grid-template-columns:1fr}
  .portal-section-head{align-items:flex-start;flex-direction:column}
  .portal-nav a:nth-child(6),.portal-nav a:nth-child(7){display:none}
}
@media(max-width:720px){
  .portal-topbar .topbar-inner{height:auto;min-height:82px;padding:8px 0;align-items:center;flex-wrap:wrap}
  .portal-topbar .brand{max-width:190px}.portal-topbar .brand img{width:185px;height:58px;max-width:46vw}
  .portal-nav{
    order:3;
    width:100%;
    display:flex;
    justify-content:flex-start;
    gap:6px;
    overflow-x:auto;
    scrollbar-width:none;
    padding:0 0 4px;
  }
  .portal-nav::-webkit-scrollbar{display:none}
  .portal-nav a{font-size:.8rem;padding:7px 9px;border-radius:9px;background:var(--portal-surface);border:1px solid var(--portal-line);white-space:nowrap}
  .portal-nav a:nth-child(6),.portal-nav a:nth-child(7){display:none}
  .portal-controls{margin-inline-start:auto}
  .portal-hero{padding-top:28px}.portal-hero-copy h1{font-size:clamp(2.65rem,13vw,4rem)}
  .portal-quick-card{padding:16px;border-radius:23px}
  .quick-head h2{font-size:1.22rem}
  .level-grid{grid-template-columns:repeat(2,1fr)}
  .variant-grid{grid-template-columns:1fr}
  .learn-promo{padding:24px;border-radius:24px}.strategy-preview{min-height:260px}
  .portal-download-stores{width:100%}.download-store-card{flex:1 1 100%}
  .portal-ad-wrap{padding-left:16px;padding-right:16px}
}
@media(max-width:430px){
  .level-grid{grid-template-columns:1fr}
  .level-card{min-height:132px}
  .level-card h3{margin-top:18px}
  .quick-levels{grid-template-columns:repeat(2,1fr)}
}

.portal-highlights{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px;max-width:620px
}
.portal-highlight{
  display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--portal-line);
  border-radius:14px;background:color-mix(in srgb,var(--portal-surface) 88%,transparent);
  color:var(--portal-ink);text-decoration:none;box-shadow:0 7px 18px rgba(31,74,128,.05)
}
.portal-highlight:hover{text-decoration:none;transform:translateY(-1px);border-color:color-mix(in srgb,var(--portal-primary) 28%,var(--portal-line))}
.portal-highlight strong{
  width:34px;height:34px;display:grid;place-items:center;border-radius:10px;
  background:linear-gradient(145deg,var(--portal-soft),color-mix(in srgb,var(--portal-primary) 11%,var(--portal-surface)));
  color:var(--portal-primary);font-size:1rem
}
.portal-highlight span{font-size:.76rem;font-weight:800;color:var(--portal-muted);line-height:1.2}
@media(max-width:560px){
  .portal-highlights{grid-template-columns:1fr}
  .portal-highlight{padding:10px 12px}
}

.portal-store-badges{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:16px;
}
.portal-store-badge{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:194px;
  min-height:58px;
  padding:10px 15px;
  border-radius:16px;
  background:#11162b;
  color:#fff;
  text-decoration:none;
  border:1px solid #ffffff18;
  box-shadow:0 12px 28px rgba(18,25,55,.18);
  transition:transform .17s ease,box-shadow .17s ease,filter .17s ease;
}
.portal-store-badge:hover{
  text-decoration:none;
  transform:translateY(-2px);
  box-shadow:0 17px 34px rgba(18,25,55,.24);
  filter:brightness(1.04);
}
.portal-store-badge.windows{
  background:linear-gradient(135deg,#11162b,#19274e);
}
.portal-store-badge .store-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
}
.portal-store-badge .store-mark svg{
  width:30px;
  height:30px;
  display:block;
}
.portal-store-badge.google .store-mark svg{width:29px;height:32px}
.portal-store-badge.windows .store-mark svg{width:27px;height:27px}
.portal-store-badge .store-copy{
  display:grid;
  gap:1px;
  line-height:1.05;
}
.portal-store-badge small{
  font-size:.61rem;
  letter-spacing:.12em;
  color:#c5cee2;
  font-weight:800;
}
.portal-store-badge strong{
  font-size:1rem;
  font-weight:900;
  color:#fff;
}
@media(max-width:560px){
  .portal-store-badges{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .portal-store-badge{
    min-width:0;
    min-height:56px;
    padding:9px 11px;
  }
  .portal-store-badge strong{font-size:.91rem}
  .portal-store-badge small{font-size:.55rem}
}
@media(max-width:390px){
  .portal-store-badges{grid-template-columns:1fr}
}

.legal-download-strip{
  margin:26px 0 14px;padding:18px 20px;border:1px solid var(--line);
  border-radius:20px;background:linear-gradient(135deg,#f8fbff,#f3f1ff);
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap
}
.legal-download-strip>div:first-child{display:grid;gap:4px;min-width:220px}
.legal-download-strip>div:first-child strong{font-size:1.08rem;color:var(--text)}
.legal-download-strip>div:first-child span{color:var(--muted);font-size:.9rem}
.legal-download-strip .portal-store-badges{margin-top:0}
.portal-store-badge .store-mark svg{width:30px;height:30px;display:block}
.portal-store-badge.google .store-mark svg{width:29px;height:32px}
.portal-store-badge.windows .store-mark svg{width:27px;height:27px}
@media(max-width:720px){
  .legal-download-strip{align-items:stretch}
  .legal-download-strip .portal-store-badges{width:100%;display:grid;grid-template-columns:1fr}
}

.quick-levels-six{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1180px){.quick-levels-six{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Clean 2026 web presentation: calm spacing, clear levels, explicit variant difficulties. */
.portal-topbar{position:sticky;top:0;z-index:2000;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.level-grid-rich{gap:12px}
.level-grid-rich .level-card{
  min-height:214px;
  display:flex;
  flex-direction:column;
  padding:18px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(28,54,99,.055);
}
.level-grid-rich .level-card:after{display:none}
.level-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.level-number{font-size:.7rem;font-weight:950;letter-spacing:.16em;color:var(--level-accent)}
.level-signal{font-size:.72rem;letter-spacing:.04em;color:var(--level-accent);white-space:nowrap}
.level-grid-rich .level-card h3{margin:30px 0 7px;font-size:1.18rem}
.level-grid-rich .level-card p{min-height:40px;font-size:.82rem;line-height:1.45}
.level-cta{margin-top:auto;padding-top:16px;font-size:.78rem;font-weight:900;color:var(--level-accent)}
.variant-grid-rich{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.variant-card-rich{
  min-height:236px;
  padding:19px;
  border-radius:20px;
  display:flex;
  flex-direction:column;
  box-shadow:0 8px 24px rgba(28,54,99,.055)
}
.variant-card-head{display:grid;grid-template-columns:52px 1fr;gap:13px;align-items:start}
.variant-card-rich .variant-icon{margin:0;width:52px;height:52px;border-radius:14px}
.variant-card-rich h3{margin:1px 0 5px;font-size:1.08rem}
.variant-card-rich p{margin:0;font-size:.82rem;line-height:1.45}
.variant-levels{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
  margin-top:auto;padding-top:18px
}
.variant-levels a{
  display:flex;align-items:center;justify-content:center;min-height:35px;padding:7px 6px;
  border:1px solid var(--portal-line);border-radius:10px;background:var(--portal-surface);
  color:var(--portal-muted);font-size:.72rem;font-weight:850;text-decoration:none;white-space:nowrap
}
.variant-levels a:hover{
  color:var(--portal-primary);
  border-color:color-mix(in srgb,var(--portal-primary) 35%,var(--portal-line));
  background:var(--portal-soft);text-decoration:none
}
@media(max-width:1120px){
  .level-grid-rich{grid-template-columns:repeat(3,1fr)}
  .variant-grid-rich{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .level-grid-rich{grid-template-columns:repeat(2,1fr)}
  .variant-grid-rich{grid-template-columns:1fr}
}
@media(max-width:440px){
  .level-grid-rich{grid-template-columns:1fr}
  .level-grid-rich .level-card{min-height:170px}
}

/* Cross-platform showcase requested for the homepage. */
.portal-device-card{
  min-width:0;
  display:grid;
  gap:14px;
}
.portal-device-card .device-showcase{
  position:relative;
  padding:0 0 34px 48px;
}
.portal-device-card .device-stage{
  position:relative;
  border-radius:28px;
}
.portal-device-card .desktop-art{
  width:100%;
  aspect-ratio:1672/941;
  object-fit:cover;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 26px 70px rgba(33,72,130,.20);
}
.portal-device-card .phone-art{
  position:absolute;
  left:-48px;
  bottom:-32px;
  width:clamp(145px,24%,205px);
  z-index:3;
  filter:drop-shadow(0 22px 28px rgba(22,55,102,.24));
}
.portal-device-card .phone-art img{
  width:100%;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}
.device-platform-chip{
  position:absolute;
  top:14px;
  right:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#183d70;
  font-size:.72rem;
  font-weight:900;
  box-shadow:0 8px 24px rgba(25,61,111,.12);
}
.portal-qr-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding-left:48px;
}
.portal-qr-card{
  min-width:0;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 12px;
  border:1px solid var(--portal-line);
  border-radius:16px;
  background:var(--portal-surface);
  color:var(--portal-ink);
  text-decoration:none;
  box-shadow:0 10px 24px rgba(35,71,124,.07);
}
.portal-qr-card:hover{
  text-decoration:none;
  transform:translateY(-1px);
}
.portal-qr-card .store-qr{
  width:64px;
  height:64px;
  object-fit:contain;
  flex:0 0 64px;
  border:1px solid #e4e8ef;
  border-radius:10px;
}
.portal-qr-card span{
  display:grid;
  gap:3px;
  min-width:0;
}
.portal-qr-card small{
  font-size:.61rem;
  color:var(--portal-muted);
  font-weight:900;
  letter-spacing:.08em;
}
.portal-qr-card strong{
  font-size:.92rem;
  color:var(--portal-ink);
}
.portal-quick-play-section{
  padding:8px 24px 22px;
}
.portal-quick-card-wide{
  padding:22px 24px;
}
.quick-play-grid{
  display:grid;
  grid-template-columns:minmax(320px,470px) minmax(280px,1fr);
  gap:24px;
  align-items:center;
}
.quick-play-grid .mini-sudoku{
  width:min(100%,440px);
}
.quick-play-options p{
  margin:0 0 14px;
  color:var(--portal-muted);
}
.quick-play-options .quick-levels{
  margin:0 0 12px;
}
@media(max-width:1180px){
  .portal-device-card{max-width:940px}
  .portal-device-card .device-showcase{padding-left:34px}
  .portal-qr-grid{padding-left:34px}
}
@media(max-width:820px){
  .quick-play-grid{grid-template-columns:1fr}
  .quick-play-grid .mini-sudoku{width:min(100%,520px)}
}
@media(max-width:700px){
  .portal-device-card .device-showcase{padding:0 0 24px 24px}
  .portal-device-card .phone-art{left:-22px;bottom:-20px;width:112px}
  .portal-qr-grid{padding-left:0;grid-template-columns:1fr}
  .portal-qr-card .store-qr{width:58px;height:58px;flex-basis:58px}
  .portal-quick-play-section{padding-left:16px;padding-right:16px}
  .portal-quick-card-wide{padding:16px}
}

.portal-download-qrs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.portal-download-qrs a{
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.94);
  color:#17315f;
  text-decoration:none;
  font-weight:850;
}
.portal-download-qrs img{
  width:56px;
  height:56px;
  border-radius:8px;
  background:#fff;
}
@media(max-width:900px){
  .portal-download-qrs{justify-content:flex-start}
}

.portal-controls{position:relative}
.sr-only-control{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.home-settings-popover{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:40;
  width:min(300px,calc(100vw - 28px));
  padding:12px;
  border:1px solid var(--portal-line);
  border-radius:16px;
  background:color-mix(in srgb,var(--portal-surface) 96%,transparent);
  box-shadow:0 18px 45px rgba(26,52,98,.18);
  backdrop-filter:blur(18px);
}
html[dir="rtl"] .home-settings-popover{right:auto;left:0}
.home-setting-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px;color:var(--portal-ink);font-size:12px;font-weight:800
}
.home-setting-row>div{display:flex;gap:6px}
.home-setting-row button{
  min-width:50px;min-height:34px;border:1px solid var(--portal-line);
  border-radius:9px;background:var(--portal-surface);color:var(--portal-ink);
  font-size:11px;font-weight:850;cursor:pointer
}
.home-setting-row button.active{
  border-color:var(--portal-blue);background:#eaf4ff;color:#176bc7
}
.portal-home.dark .home-setting-row button.active{background:#253755;color:#9fc8ff}


/* Final homepage small-screen audit: never widen the viewport. */
html,body.portal-home{max-width:100%;overflow-x:hidden}
.portal-home .site-shell,
.portal-home .portal-hero-grid,
.portal-home .portal-hero-copy,
.portal-home .portal-device-card,
.portal-home .portal-quick-card,
.portal-home .quick-play-grid,
.portal-home .quick-play-options{min-width:0}
.portal-home img{max-width:100%}
@media(max-width:720px){
  .portal-home .site-shell{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin-inline:auto!important;
  }
  .portal-topbar .topbar-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "brand controls"
      "nav nav"!important;
    gap:6px 8px!important;
    min-height:auto!important;
    padding:7px 0!important;
  }
  .portal-topbar .brand{grid-area:brand!important;min-width:0!important}
  .portal-topbar .brand img{
    width:min(145px,42vw)!important;
    max-width:100%!important;
    height:42px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  html[dir="rtl"] .portal-topbar .brand img{object-position:right center!important}
  .portal-controls{grid-area:controls!important;margin:0!important;justify-self:end!important}
  .portal-icon-btn{width:34px!important;height:34px!important;border-radius:10px!important;font-size:14px!important}
  .portal-nav{
    grid-area:nav!important;
    order:initial!important;
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    overflow-x:auto!important;
    justify-content:flex-start!important;
    gap:5px!important;
    padding:0 0 1px!important;
  }
  .portal-nav a{
    flex:0 0 auto!important;
    min-height:32px!important;
    padding:6px 8px!important;
    font-size:10.5px!important;
    white-space:nowrap!important;
  }
  .portal-nav a:nth-child(6),.portal-nav a:nth-child(7){display:flex!important}
  .portal-hero{padding:24px 0 20px!important}
  .portal-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:26px!important}
  .portal-hero-copy h1{
    max-width:100%!important;
    font-size:clamp(2.35rem,11.2vw,3.65rem)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    overflow-wrap:normal!important;
  }
  .portal-hero-copy p{font-size:.98rem!important;max-width:100%!important}
  .portal-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .portal-btn{width:100%!important}
  .portal-store-badges{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    width:100%!important;
  }
  .portal-store-badge{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .portal-highlights{grid-template-columns:1fr!important;width:100%!important}
  .portal-device-card{width:100%!important;max-width:100%!important}
  .portal-device-card .device-showcase{
    width:100%!important;
    padding:0!important;
  }
  .portal-device-card .phone-art{display:none!important}
  .portal-device-card .desktop-art{
    width:100%!important;
    max-width:100%!important;
    border-radius:20px!important;
  }
  .device-platform-chip{top:10px!important;right:10px!important;font-size:.64rem!important}
  html[dir="rtl"] .device-platform-chip{right:auto!important;left:10px!important}
  .portal-qr-grid{
    width:100%!important;
    padding-left:0!important;
    grid-template-columns:1fr!important;
  }
  .portal-qr-card{width:100%!important;min-width:0!important}
  .portal-quick-play-section{padding:6px 10px 18px!important}
  .portal-quick-card-wide{padding:14px!important}
  .quick-head{align-items:center!important;gap:8px!important}
  .quick-head h2{font-size:1.08rem!important}
  .live-dot{font-size:.65rem!important;padding:6px 8px!important}
  .quick-play-grid{grid-template-columns:1fr!important;gap:16px!important}
  .quick-play-grid .mini-sudoku{width:100%!important;max-width:430px!important}
  .quick-levels-six{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .level-grid-rich{grid-template-columns:1fr!important}
  .variant-grid-rich{grid-template-columns:1fr!important}
  .variant-levels{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .learn-promo{padding:20px!important;border-radius:22px!important}
  .strategy-preview{min-height:230px!important}
  .portal-download-panel{padding:22px!important}
  .portal-download-qrs{width:100%!important;display:grid!important;grid-template-columns:1fr!important}
}
@media(max-width:390px){
  .portal-home .site-shell{width:calc(100% - 14px)!important;max-width:calc(100% - 14px)!important}
  .portal-hero-copy h1{font-size:2.25rem!important}
  .portal-topbar .brand img{width:118px!important}
  .portal-nav a{font-size:10px!important;padding-inline:7px!important}
}

/* Unified download cards: one store card per platform, with its QR inside. */
.portal-download-store-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(230px,1fr));
  gap:12px;
  min-width:min(620px,48vw);
}
.portal-download-store-card{
  min-height:96px;
  padding:10px 11px 10px 15px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:linear-gradient(135deg,#0d1221,#17233f);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(9,26,65,.18);
  transition:transform .17s ease,box-shadow .17s ease,filter .17s ease;
}
.portal-download-store-card:hover{
  text-decoration:none;
  transform:translateY(-2px);
  box-shadow:0 17px 34px rgba(9,26,65,.24);
  filter:brightness(1.04);
}
.portal-download-store-main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.portal-download-store-card .store-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
}
.portal-download-store-card .store-mark svg{
  width:30px;
  height:30px;
  display:block;
}
.portal-download-store-card .windows-mark svg{width:27px;height:27px}
.portal-download-store-card .store-copy{
  display:grid;
  gap:2px;
  line-height:1.06;
}
.portal-download-store-card small{
  font-size:.61rem;
  letter-spacing:.1em;
  color:#c5cee2;
  font-weight:800;
}
.portal-download-store-card strong{
  font-size:1rem;
  font-weight:900;
  color:#fff;
}
.portal-download-store-qr{
  width:66px;
  height:66px;
  flex:0 0 66px;
  padding:4px;
  border-radius:10px;
  background:#fff;
  object-fit:contain;
}
@media(max-width:1180px){
  .portal-download-panel{align-items:flex-start;flex-direction:column}
  .portal-download-store-grid{width:100%;min-width:0}
}
@media(max-width:620px){
  .portal-download-store-grid{grid-template-columns:1fr}
  .portal-download-store-card{width:100%}
}

/* 2026-09-30 hero store merge + Quick Play hierarchy cleanup. */
.portal-store-merged{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.portal-store-merged-card{
  min-height:88px!important;
  padding:10px 12px!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 62px!important;
  align-items:center!important;
  gap:10px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(91,105,145,.18)!important;
  box-shadow:0 12px 28px rgba(31,50,92,.10)!important;
}
.portal-store-merged-card .store-mark{
  width:34px;height:34px;display:grid;place-items:center;
}
.portal-store-merged-card .store-mark svg{width:30px;height:30px;display:block}
.portal-store-merged-card .windows-mark svg{width:27px;height:27px}
.portal-store-merged-card .store-copy{display:grid;gap:2px;line-height:1.05}
.portal-store-merged-card .store-copy small{
  color:#67728f;font-size:.58rem;letter-spacing:.08em;font-weight:900;
}
.portal-store-merged-card .store-copy strong{
  color:#10234c;font-size:.96rem;font-weight:950;
}
.portal-store-merged-card .store-qr{
  width:58px!important;height:58px!important;padding:3px!important;border-radius:9px!important;
  background:#fff!important;border:1px solid #e2e7f1!important;
}
.quick-play-control-card{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:18px 20px;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(245,248,255,.94));
  border:1px solid rgba(91,105,145,.16);
}
.quick-choice-label{
  display:block;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.08em;
  color:#5666dc;
  text-transform:uppercase;
}
.quick-play-control-card p{margin:0!important;max-width:760px;line-height:1.55}
.quick-level-picker{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.quick-level-picker a{
  min-height:74px!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  justify-content:flex-start!important;
  border-radius:15px!important;
  background:#fff!important;
  border:1px solid #dbe2f1!important;
  color:#10234c!important;
  box-shadow:0 7px 18px rgba(32,53,102,.06)!important;
  text-decoration:none!important;
}
.quick-level-picker a:hover{
  transform:translateY(-2px);
  border-color:#6d78ef!important;
  box-shadow:0 11px 24px rgba(62,75,171,.13)!important;
}
.quick-level-picker a span{
  width:34px;height:34px;flex:0 0 34px;
  display:grid;place-items:center;
  border-radius:10px;
  background:#eeedff;
  color:#4d4ee3;
  font-weight:950;
  font-size:.78rem;
}
.quick-level-picker a strong{font-size:.86rem;font-weight:900}
body.dark .portal-store-merged-card,
body.dark .quick-play-control-card,
body.dark .quick-level-picker a{
  background:#172033!important;
  border-color:#34405b!important;
}
body.dark .portal-store-merged-card .store-copy strong,
body.dark .quick-level-picker a{color:#f5f7ff!important}
body.dark .portal-store-merged-card .store-copy small{color:#aeb8d0}
@media(max-width:900px){
  .portal-store-merged{grid-template-columns:1fr!important}
  .quick-level-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .quick-level-picker{grid-template-columns:1fr!important}
  .portal-store-merged-card{grid-template-columns:32px minmax(0,1fr) 54px!important}
  .portal-store-merged-card .store-qr{width:50px!important;height:50px!important}
}

/* 2026-09-30 homepage polish: unified hero store cards + compact Quick Play. */
.portal-store-merged{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  width:100%;
}
.portal-store-merged-card{
  min-height:84px;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 58px;
  align-items:center;
  gap:10px;
  padding:10px 12px!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#111827,#18233e)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(24,39,75,.14);
}
.portal-store-merged-card .store-mark{
  width:34px;height:34px;display:grid;place-items:center;
}
.portal-store-merged-card .store-mark svg{width:29px;height:29px;display:block}
.portal-store-merged-card .store-copy{display:grid;gap:3px;min-width:0}
.portal-store-merged-card .store-copy small{
  font-size:.58rem;letter-spacing:.09em;font-weight:800;color:#bdc9de;
}
.portal-store-merged-card .store-copy strong{
  font-size:.96rem;font-weight:900;color:#fff;white-space:nowrap;
}
.portal-store-merged-card .store-qr{
  width:58px!important;height:58px!important;padding:4px;border-radius:9px;background:#fff;
}
.portal-store-merged-card:hover{
  transform:translateY(-2px);text-decoration:none!important;
  box-shadow:0 17px 34px rgba(24,39,75,.2);
}
.quick-play-control-card{
  align-self:center;
  padding:22px;
  border:1px solid rgba(69,85,135,.15);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(246,249,255,.92));
  box-shadow:0 14px 34px rgba(50,65,110,.08);
}
.quick-choice-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:8px;
  color:#16264a;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.02em;
}
.quick-choice-label:before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:#22b980;
  box-shadow:0 0 0 5px rgba(34,185,128,.1);
}
.quick-level-picker{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:15px;
}
.quick-level-picker a{
  min-height:66px;
  display:flex!important;
  align-items:center;
  justify-content:flex-start!important;
  gap:10px;
  padding:10px 12px!important;
  border-radius:14px!important;
  text-decoration:none!important;
  background:#fff!important;
  border:1px solid #d8e1f1!important;
  color:#24365f!important;
  box-shadow:0 7px 18px rgba(36,54,95,.05);
}
.quick-level-picker a:hover{
  border-color:#5874e8!important;
  transform:translateY(-2px);
  box-shadow:0 11px 22px rgba(60,83,180,.12);
}
.quick-level-picker a span{
  width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;
  border-radius:10px;background:#edf1ff;color:#4b54d8;font-size:.72rem;font-weight:900;
}
.quick-level-picker a strong{font-size:.84rem;line-height:1.15}
@media(max-width:900px){
  .portal-store-merged{grid-template-columns:1fr}
  .quick-level-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .quick-level-picker{grid-template-columns:1fr!important}
  .portal-store-merged-card{grid-template-columns:32px minmax(0,1fr) 52px}
  .portal-store-merged-card .store-qr{width:52px!important;height:52px!important}
}

/* 2026-09-30 final homepage visual polish */
.portal-device-card .phone-art{
  left:-92px!important;
  bottom:-38px!important;
  width:clamp(155px,23%,210px)!important;
  transform:rotate(-5deg)!important;
  transform-origin:70% 85%;
}
.mini-sudoku{
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  grid-template-rows:repeat(9,minmax(0,1fr))!important;
}
.mini-sudoku span{min-width:0!important;min-height:0!important}
.variant-card-head{
  grid-template-columns:82px minmax(0,1fr)!important;
  align-items:center!important;
}
.variant-thumb{
  width:82px;height:64px;position:relative;overflow:hidden;
  border:2px solid #55637f;border-radius:12px;
  background-color:#fff;
  box-shadow:0 7px 18px rgba(37,60,104,.10);
  background-image:
    linear-gradient(#d6dfef 1px,transparent 1px),
    linear-gradient(90deg,#d6dfef 1px,transparent 1px);
  background-size:calc(100% / 4) calc(100% / 4);
}
.variant-thumb:before,.variant-thumb:after,.variant-thumb i{
  content:"";position:absolute;pointer-events:none
}
.thumb-classic:before{inset:0;border-left:2px solid #53627d;border-top:2px solid transparent;box-shadow:inset 39px 0 0 transparent}
.thumb-classic:after{left:50%;top:0;bottom:0;border-left:2px solid #53627d}
.thumb-x:before,.thumb-x:after{
  left:5px;right:5px;top:50%;height:3px;background:#4f8fe8;border-radius:99px
}
.thumb-x:before{transform:rotate(36deg)}.thumb-x:after{transform:rotate(-36deg)}
.thumb-jigsaw{
  background:
    linear-gradient(135deg,#dcf2ff 0 34%,#fff1d7 34% 61%,#e7ddff 61% 100%);
}
.thumb-jigsaw:before{
  inset:8px 12px;border:3px solid #53627d;border-radius:40% 24% 42% 22%;
  transform:rotate(-6deg)
}
.thumb-killer i:first-child{
  left:8px;top:8px;width:33px;height:27px;border:2px dashed #d0833d;border-radius:7px
}
.thumb-killer i:last-child{
  right:7px;bottom:7px;width:35px;height:30px;border:2px dashed #d0833d;border-radius:7px
}
.thumb-killer:after{content:"12";left:11px;top:8px;font:800 9px/1 system-ui;color:#b36d2c}
.thumb-sandwich:before{
  content:"12";left:3px;top:22px;color:#6b55d8;font:900 11px/1 system-ui
}
.thumb-sandwich:after{
  content:"17";right:21px;top:2px;color:#6b55d8;font:900 11px/1 system-ui
}
.thumb-hex{
  background-image:
    linear-gradient(#d7dff0 1px,transparent 1px),
    linear-gradient(90deg,#d7dff0 1px,transparent 1px);
  background-size:calc(100% / 8) calc(100% / 8);
}
.thumb-hex:after{
  content:"A  G";inset:0;display:grid;place-items:center;
  color:#3159bd;font:900 17px/1 ui-monospace,monospace;letter-spacing:6px
}
@media(max-width:700px){
  .portal-device-card .phone-art{
    left:-34px!important;bottom:-22px!important;width:116px!important;transform:rotate(-5deg)!important
  }
  .variant-card-head{grid-template-columns:70px minmax(0,1fr)!important}
  .variant-thumb{width:70px;height:56px}
}

/* Persistent compact store dock */
.floating-store-dock{
  position:fixed;right:12px;top:50%;transform:translateY(-50%);
  z-index:1850;display:grid;gap:8px
}
.floating-store{
  width:48px;height:48px;display:flex;align-items:center;justify-content:center;
  border-radius:14px;background:#0f1421;color:#fff;text-decoration:none;
  border:1px solid #263047;box-shadow:0 12px 30px rgba(18,35,67,.18);
  transition:.18s ease;overflow:hidden
}
.floating-store svg{width:25px;height:25px;flex:0 0 auto}
.floating-store span{
  width:0;opacity:0;overflow:hidden;white-space:nowrap;
  font:800 11px/1 system-ui;transition:.18s ease
}
.floating-store:hover{
  width:150px;justify-content:flex-start;gap:9px;padding:0 12px;
  text-decoration:none;transform:translateX(-2px)
}
.floating-store:hover span{width:auto;opacity:1}
html[dir="rtl"] .floating-store-dock{right:auto;left:12px}
html[dir="rtl"] .floating-store:hover{transform:translateX(2px)}
@media(max-width:720px){
  .floating-store-dock{
    top:auto;bottom:12px;right:12px;transform:none;
    grid-template-columns:repeat(2,44px)
  }
  html[dir="rtl"] .floating-store-dock{left:12px;right:auto}
  .floating-store{width:44px;height:44px;border-radius:13px}
  .floating-store:hover{width:44px;padding:0;justify-content:center;transform:none}
  .floating-store:hover span{display:none}
}

/* Wider secondary content on the public site, matching the home-page scale. */
main:not(.home-main){
  max-width:1500px!important;
  width:min(1500px,calc(100% - 28px))!important;
  padding-left:0!important;
  padding-right:0!important
}
@media(max-width:700px){
  main:not(.home-main){width:100%!important;padding-left:8px!important;padding-right:8px!important}
}


/* 2026-09-30 floating store dock: fixed anchor + compact visible labels.
   Hovered item expands inward; its sibling never shifts. */
.floating-store-dock{
  width:76px!important;
  justify-items:end!important;
  overflow:visible!important;
}
.floating-store{
  position:relative!important;
  justify-self:end!important;
  width:72px!important;
  min-width:72px!important;
  justify-content:flex-start!important;
  gap:7px!important;
  padding:0 10px!important;
  overflow:hidden!important;
  transform:none!important;
}
.floating-store::after{
  display:block;
  min-width:0;
  color:#fff;
  font:850 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.01em;
  white-space:nowrap;
}
.floating-store.google::after{content:"Play"}
.floating-store.microsoft::after{content:"Win"}
.floating-store span{
  position:absolute!important;
  left:45px!important;
  width:0!important;
  max-width:0!important;
  opacity:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  transition:opacity .16s ease,max-width .18s ease!important;
}
.floating-store:hover{
  width:174px!important;
  min-width:174px!important;
  padding:0 12px!important;
  gap:9px!important;
  transform:none!important;
  z-index:3!important;
}
.floating-store:hover::after{display:none!important}
.floating-store:hover span{
  position:static!important;
  width:auto!important;
  max-width:120px!important;
  opacity:1!important;
  overflow:visible!important;
}
html[dir="rtl"] .floating-store{
  justify-self:start!important;
}
html[dir="rtl"] .floating-store span{
  left:auto!important;
  right:45px!important;
}
@media(max-width:720px){
  .floating-store-dock{
    width:auto!important;
    justify-items:stretch!important;
    grid-template-columns:repeat(2,54px)!important;
  }
  .floating-store{
    width:54px!important;
    min-width:54px!important;
    height:46px!important;
    padding:0!important;
    justify-content:center!important;
  }
  .floating-store::after{display:none!important}
  .floating-store:hover{
    width:54px!important;
    min-width:54px!important;
    padding:0!important;
    justify-content:center!important;
  }
  .floating-store:hover span{display:none!important}
}


/* Wide legal/support pages: match the public site's visual width. */
main.legal-page{
  width:min(1480px,calc(100% - 28px))!important;
  max-width:1480px!important;
  margin:0 auto!important;
  padding:26px 18px 54px!important;
}
main.legal-page>header{
  border-radius:18px;
  padding:18px 20px;
  background:var(--surface);
  border:1px solid var(--line);
}
main.legal-page>.card{
  padding:22px 24px!important;
}
@media(max-width:620px){
  main.legal-page{
    width:100%!important;
    padding:10px 8px 30px!important;
  }
  main.legal-page>header{
    padding:14px;
    align-items:flex-start!important;
  }
  main.legal-page>.card{padding:17px!important}
}


/* ===== Final floating store dock: sibling buttons never move or disappear ===== */
.floating-store-dock{
  width:196px!important;
  right:12px!important;
  left:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  gap:9px!important;
  justify-items:end!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.floating-store{
  pointer-events:auto!important;
  width:92px!important;
  min-width:92px!important;
  height:48px!important;
  margin-left:auto!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:0 11px!important;
  overflow:hidden!important;
  transform:none!important;
  transition:width .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
.floating-store::after{
  display:block!important;
  color:#fff!important;
  font:850 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;
}
.floating-store.google::after{content:"Play"!important}
.floating-store.microsoft::after{content:"Windows"!important}
.floating-store span{
  position:absolute!important;
  opacity:0!important;
  width:0!important;
  max-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.floating-store:hover{
  width:196px!important;
  min-width:196px!important;
  padding:0 13px!important;
  box-shadow:0 15px 34px rgba(18,35,67,.26)!important;
  filter:brightness(1.05)!important;
}
.floating-store:hover::after{display:none!important}
.floating-store:hover span{
  position:static!important;
  opacity:1!important;
  width:auto!important;
  max-width:150px!important;
  overflow:visible!important;
}
html[dir="rtl"] .floating-store-dock{
  left:12px!important;
  right:auto!important;
  justify-items:start!important;
}
html[dir="rtl"] .floating-store{
  margin-left:0!important;
  margin-right:auto!important;
  justify-self:start!important;
}
@media(max-width:720px){
  .floating-store-dock{
    width:auto!important;
    left:auto!important;
    right:12px!important;
    top:auto!important;
    bottom:12px!important;
    transform:none!important;
    grid-template-columns:repeat(2,54px)!important;
    pointer-events:none!important;
  }
  html[dir="rtl"] .floating-store-dock{
    left:12px!important;
    right:auto!important;
  }
  .floating-store,
  .floating-store:hover{
    width:54px!important;
    min-width:54px!important;
    height:46px!important;
    padding:0!important;
    justify-content:center!important;
  }
  .floating-store::after,
  .floating-store:hover::after,
  .floating-store span,
  .floating-store:hover span{display:none!important}
}


/* ===== Homepage strategy preview: make the learning interaction visually obvious ===== */
.strategy-preview{
  justify-content:space-between!important;
  gap:16px!important;
  padding:24px!important;
}
.strategy-demo-board{
  position:relative;
  width:100%;
  min-height:220px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px),
    rgba(255,255,255,.035);
  background-size:calc(100% / 9) calc(100% / 9);
}
.strategy-demo-board:before,
.strategy-demo-board:after{
  content:"";
  position:absolute;
  pointer-events:none;
  background:rgba(87,219,255,.88);
  border-radius:999px;
  box-shadow:0 0 16px rgba(87,219,255,.24);
}
.strategy-demo-board:before{
  left:11%;right:7%;top:33%;height:3px;
}
.strategy-demo-board:after{
  left:11%;right:7%;top:66%;height:3px;
}
.strategy-demo-board .logic-line{
  position:absolute;
  background:rgba(87,219,255,.9);
  border-radius:999px;
  box-shadow:0 0 16px rgba(87,219,255,.22);
}
.strategy-demo-board .logic-col-a{top:5%;bottom:5%;left:31%;width:3px}
.strategy-demo-board .logic-col-b{top:5%;bottom:5%;left:72%;width:3px}
.strategy-demo-board .logic-row-a,
.strategy-demo-board .logic-row-b{display:none}
.strategy-demo-board .demo-hit{
  position:absolute;
  z-index:3;
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:10px;
  background:#ffcf58;
  color:#513500;
  font:950 16px/1 system-ui;
  box-shadow:0 6px 18px rgba(255,207,88,.28);
}
.strategy-demo-board .hit-a{left:calc(31% - 16px);top:calc(33% - 16px)}
.strategy-demo-board .hit-b{left:calc(72% - 16px);top:calc(33% - 16px)}
.strategy-demo-board .hit-c{left:calc(31% - 16px);top:calc(66% - 16px)}
.strategy-demo-board .hit-d{left:calc(72% - 16px);top:calc(66% - 16px)}
.strategy-demo-board .demo-candidate{
  position:absolute;
  z-index:2;
  padding:5px 7px;
  border-radius:8px;
  background:rgba(255,255,255,.9);
  color:#203a70;
  font:850 10px/1 system-ui;
}
.strategy-demo-board .cand-a{left:46%;top:16%}
.strategy-demo-board .cand-b{left:46%;bottom:13%}
.strategy-preview-footer{
  display:grid;
  gap:5px;
}
.strategy-step-chip{
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,207,88,.95);
  color:#4b3300;
  font:900 10px/1 system-ui;
}
.strategy-preview-footer strong{font-size:1rem!important;color:#fff!important}
.strategy-preview-footer small{color:#c8d8ef!important;font-size:.76rem!important}

/* Hero phone should sit outside the desktop artwork instead of covering it. */
.portal-device-card .phone-art{
  left:-76px!important;
  bottom:-38px!important;
  transform:rotate(-6deg)!important;
  transform-origin:60% 100%!important;
}
@media(max-width:1180px){
  .portal-device-card .phone-art{left:-52px!important}
}
@media(max-width:700px){
  .portal-device-card .phone-art{display:none!important}
}


/* ===== More Than Classic: unmistakable miniature rule previews ===== */
.variant-thumb{
  width:86px!important;
  height:68px!important;
  border:2px solid #4f5f7b!important;
  border-radius:13px!important;
  background-color:#fff!important;
  box-shadow:0 8px 18px rgba(36,58,100,.10)!important;
}
.thumb-classic{
  background-image:
    linear-gradient(#cbd6e8 1px,transparent 1px),
    linear-gradient(90deg,#cbd6e8 1px,transparent 1px),
    linear-gradient(#65738f 2px,transparent 2px),
    linear-gradient(90deg,#65738f 2px,transparent 2px)!important;
  background-size:
    calc(100% / 9) calc(100% / 9),
    calc(100% / 9) calc(100% / 9),
    calc(100% / 3) calc(100% / 3),
    calc(100% / 3) calc(100% / 3)!important;
}
.thumb-classic i:nth-child(1)::after{content:"5";position:absolute;left:7px;top:7px;color:#315bb8;font:900 11px/1 system-ui}
.thumb-classic i:nth-child(2)::after{content:"7";position:absolute;left:48px;top:24px;color:#315bb8;font:900 11px/1 system-ui}
.thumb-classic i:nth-child(3)::after{content:"3";position:absolute;right:8px;bottom:7px;color:#315bb8;font:900 11px/1 system-ui}

.thumb-x{
  background-image:
    linear-gradient(#d5deed 1px,transparent 1px),
    linear-gradient(90deg,#d5deed 1px,transparent 1px)!important;
  background-size:calc(100% / 9) calc(100% / 9)!important;
}
.thumb-x:before,.thumb-x:after{
  left:3px!important;right:3px!important;top:50%!important;height:3px!important;
  background:#3d8cf0!important;
}
.thumb-x:before{transform:rotate(38deg)!important}
.thumb-x:after{transform:rotate(-38deg)!important}

.thumb-jigsaw{
  background-image:
    linear-gradient(#dce4f1 1px,transparent 1px),
    linear-gradient(90deg,#dce4f1 1px,transparent 1px)!important;
  background-size:calc(100% / 6) calc(100% / 6)!important;
  background-color:#fdfefe!important;
}
.thumb-jigsaw:before{
  inset:auto!important;
  left:5px!important;top:5px!important;width:35px!important;height:38px!important;
  border:3px solid #51627f!important;
  border-radius:9px 18px 8px 16px!important;
  transform:rotate(-5deg)!important;
  background:#d9f2e7!important;
}
.thumb-jigsaw:after{
  content:""!important;
  position:absolute!important;
  right:5px!important;bottom:5px!important;width:38px!important;height:37px!important;
  border:3px solid #51627f!important;
  border-radius:18px 8px 16px 9px!important;
  transform:rotate(5deg)!important;
  background:#f8e3ba!important;
}
.thumb-jigsaw i:nth-child(1){
  left:30px!important;top:17px!important;width:27px!important;height:35px!important;
  border:3px solid #51627f!important;border-radius:15px 8px 14px 7px!important;
  background:#e5dcff!important;transform:rotate(3deg)!important;
}

.thumb-killer{
  background-image:
    linear-gradient(#d6dfef 1px,transparent 1px),
    linear-gradient(90deg,#d6dfef 1px,transparent 1px)!important;
  background-size:calc(100% / 6) calc(100% / 6)!important;
}
.thumb-killer i:first-child{
  left:5px!important;top:6px!important;width:40px!important;height:30px!important;
  border:2px dashed #d46d35!important;border-radius:8px!important;
}
.thumb-killer i:last-child{
  right:5px!important;bottom:5px!important;width:39px!important;height:31px!important;
  border:2px dashed #d46d35!important;border-radius:8px!important;
}
.thumb-killer:after{
  content:"12+"!important;left:8px!important;top:7px!important;
  color:#b95b27!important;font:900 9px/1 system-ui!important;
}

.thumb-sandwich{
  overflow:visible!important;
  margin-left:7px!important;
  margin-top:5px!important;
  background-image:
    linear-gradient(#d6dfef 1px,transparent 1px),
    linear-gradient(90deg,#d6dfef 1px,transparent 1px)!important;
  background-size:calc(100% / 6) calc(100% / 6)!important;
}
.thumb-sandwich:before{
  content:"12"!important;
  left:-14px!important;top:24px!important;
  color:#6248d5!important;font:950 10px/1 system-ui!important;
}
.thumb-sandwich:after{
  content:"17"!important;
  right:22px!important;top:-13px!important;
  color:#6248d5!important;font:950 10px/1 system-ui!important;
}
.thumb-sandwich i:first-child::after{
  content:"1";position:absolute;left:15px;top:28px;color:#2759b9;font:950 11px/1 system-ui
}
.thumb-sandwich i:last-child::after{
  content:"9";position:absolute;right:15px;top:28px;color:#2759b9;font:950 11px/1 system-ui
}

.thumb-hex{
  background-image:
    linear-gradient(#d8e0ef 1px,transparent 1px),
    linear-gradient(90deg,#d8e0ef 1px,transparent 1px),
    linear-gradient(#677692 2px,transparent 2px),
    linear-gradient(90deg,#677692 2px,transparent 2px)!important;
  background-size:
    calc(100% / 16) calc(100% / 16),
    calc(100% / 16) calc(100% / 16),
    calc(100% / 4) calc(100% / 4),
    calc(100% / 4) calc(100% / 4)!important;
}
.thumb-hex:after{
  content:"A   G   9"!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  color:#3259bd!important;
  font:950 9px/1 system-ui!important;
}


/* Reserve a slim desktop rail for the floating store dock so it never covers cards. */
@media(min-width:1200px) and (max-width:1700px){
  body.portal-home .site-shell{
    width:min(1480px,calc(100% - 128px))!important;
  }
  body:not(.portal-home) .shell{
    width:min(1480px,calc(100% - 128px))!important;
  }
  .global-site-header .gsh-inner{
    width:min(1420px,calc(100% - 128px))!important;
  }
}


/* ===== Policy-safe responsive AdSense banner containers ===== */
.adsense-banner-wrap{
  width:100%;
  margin:26px auto;
}
.adsense-banner{
  width:min(970px,100%);
  min-height:90px;
  margin:28px auto;
  padding:18px 8px 8px;
  position:relative;
  overflow:hidden;
  border-radius:16px;
  background:color-mix(in srgb,var(--surface,#fff) 94%,#edf3ff);
  border:1px solid color-mix(in srgb,var(--line,#dce5f2) 78%,transparent);
  text-align:center;
}
.adsense-banner-label{
  position:absolute;
  top:5px;
  left:50%;
  transform:translateX(-50%);
  color:var(--muted,#7a879d);
  font:700 9px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.adsense-banner .adsbygoogle{
  width:100%!important;
  min-height:72px;
}
.adsense-banner.ad-unconfigured{
  display:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
@media(max-width:700px){
  .adsense-banner{
    width:100%;
    min-height:76px;
    margin:20px auto;
    padding:16px 0 6px;
    border-radius:12px;
  }
  .adsense-banner .adsbygoogle{min-height:60px}
}

.ad-unconfigured-wrapper{display:none!important}


/* ===== Homepage: browser play is the primary first-screen message ===== */
.portal-hero{
  padding:32px 0 18px!important;
}
.portal-hero-grid{
  gap:42px!important;
  align-items:center!important;
}
.portal-hero-copy h1{
  font-size:clamp(2.75rem,4.8vw,5.3rem)!important;
  margin:12px 0 12px!important;
}
.portal-hero-copy p{
  margin:0!important;
  font-size:1rem!important;
  line-height:1.55!important;
}
.browser-play-now{
  width:min(100%,560px);
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 28px;
  align-items:center;
  gap:10px;
  margin-top:14px;
  padding:10px 12px;
  border:1px solid color-mix(in srgb,#22a06b 28%,var(--portal-line));
  border-radius:15px;
  background:
    linear-gradient(135deg,rgba(232,251,242,.96),rgba(242,250,255,.96));
  color:var(--portal-ink);
  text-decoration:none;
  box-shadow:0 8px 22px rgba(30,93,74,.08);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.browser-play-now:hover{
  transform:translateY(-1px);
  border-color:#25a56e;
  box-shadow:0 12px 26px rgba(30,93,74,.13);
  text-decoration:none;
}
.browser-play-live{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#ddf7e9;
}
.browser-play-live i{
  width:10px;height:10px;border-radius:50%;
  background:#20b36c;
  box-shadow:0 0 0 5px rgba(32,179,108,.13);
}
.browser-play-copy{
  display:grid;
  gap:2px;
}
.browser-play-copy strong{
  color:#173a2c;
  font-size:.9rem;
  font-weight:950;
}
.browser-play-copy small{
  color:#58716a;
  font-size:.73rem;
  font-weight:700;
}
.browser-play-arrow{
  color:#25875f;
  font-size:1.25rem;
  font-weight:950;
  text-align:center;
}
html[dir="rtl"] .browser-play-arrow{transform:rotate(180deg)}
.portal-hero-actions{
  margin:14px 0 10px!important;
}
.portal-highlights{
  margin-top:10px!important;
}
.portal-device-card .device-showcase{
  padding-bottom:22px!important;
}
.portal-device-card .desktop-art{
  max-height:360px!important;
  object-fit:cover!important;
}
.portal-quick-play-section{
  padding-top:0!important;
  margin-top:-6px!important;
}
@media(min-width:1200px){
  .portal-store-merged-card{
    min-height:76px!important;
  }
  .portal-store-merged-card .store-qr{
    width:52px!important;
    height:52px!important;
  }
}
@media(max-width:720px){
  .portal-hero{padding:18px 0 12px!important}
  .portal-hero-copy h1{margin:8px 0 10px!important}
  .browser-play-now{width:100%;margin-top:12px}
  .portal-quick-play-section{margin-top:0!important}
}

/* Final homepage hierarchy: one primary play action. */
.browser-play-now{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border-color:#9fdcc8!important;
  animation:browserPlayPulse 2.6s ease-in-out infinite!important;
}
.browser-play-now::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-70%;
  left:-28%;
  width:28%;
  height:240%;
  transform:rotate(20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  animation:browserPlaySheen 3.2s ease-in-out infinite;
}
@keyframes browserPlayPulse{
  0%,100%{box-shadow:0 10px 26px rgba(28,137,95,.11),0 0 0 0 rgba(42,185,128,.13)}
  50%{box-shadow:0 13px 30px rgba(28,137,95,.16),0 0 0 5px rgba(42,185,128,.08)}
}

@keyframes browserPlaySheen{
  0%,45%{left:-32%;opacity:0}
  55%{opacity:.8}
  80%,100%{left:112%;opacity:0}
}
.portal-hero-actions-secondary{
  margin:10px 0 8px!important;
}
.portal-hero-actions-secondary .portal-btn{
  min-height:42px!important;
  min-width:176px!important;
  width:auto!important;
  padding:9px 16px!important;
  border-radius:13px!important;
}
.portal-highlights{
  margin-top:8px!important;
  gap:10px!important;
}
.portal-highlight{
  min-height:58px!important;
  justify-content:flex-start!important;
}

.portal-store-merged{
  max-width:720px!important;
  margin-inline:auto!important;
  gap:10px!important;
}
.portal-store-merged-card{
  min-height:72px!important;
  padding:6px 9px!important;
  grid-template-columns:42px minmax(0,1fr) 64px!important;
  gap:9px!important;
  border-radius:16px!important;
}
.portal-store-merged-card .store-mark{
  width:40px!important;
  height:40px!important;
}
.portal-store-merged-card .store-mark svg{
  width:36px!important;
  height:36px!important;
}
.portal-store-merged-card .windows-mark svg{
  width:34px!important;
  height:34px!important;
}

.portal-store-merged-card .store-copy small{
  font-size:.64rem!important;
  letter-spacing:.075em!important;
  line-height:1.05!important;
}
.portal-store-merged-card .store-copy strong{
  font-size:1.06rem!important;
  line-height:1.02!important;
}
.portal-store-merged-card .store-qr{
  width:62px!important;
  height:62px!important;
  padding:2px!important;
  border-radius:9px!important;
}
@media(max-width:720px){
  .portal-store-merged{
    max-width:100%!important;
  }
  .portal-store-merged-card{
    min-height:68px!important;
    grid-template-columns:38px minmax(0,1fr) 58px!important;
  }
  .portal-store-merged-card .store-mark{
    width:36px!important;
    height:36px!important;
  }
  .portal-store-merged-card .store-qr{
    width:56px!important;
    height:56px!important;
  }
}


/* Cache 118: stronger but calm call-to-action emphasis. */
.browser-play-now{
  width:min(100%,440px)!important;
  animation:browserPlayPulse118 2.35s ease-in-out infinite!important;
}
@keyframes browserPlayPulse118{
  0%,100%{
    box-shadow:0 8px 20px rgba(30,93,74,.08),0 0 0 0 rgba(41,170,118,.08);
  }
  50%{
    box-shadow:0 12px 30px rgba(30,93,74,.16),0 0 0 7px rgba(41,170,118,.08);
  }
}
.learn-promo .portal-btn-primary{
  animation:strategyCtaGlow 2.2s ease-in-out infinite!important;
}
@keyframes strategyCtaGlow{
  0%,100%{box-shadow:0 8px 20px rgba(63,79,210,.18),0 0 0 0 rgba(91,121,255,.08)}
  50%{box-shadow:0 12px 30px rgba(63,79,210,.30),0 0 0 7px rgba(91,121,255,.10)}
}

/* ===== Cache 119: restrained site-wide heading scale ===== */
.portal-hero-copy h1{
  font-size:clamp(2.6rem,4.4vw,4.8rem)!important;
  line-height:.98!important;
}
.section-head h2{
  font-size:clamp(1.55rem,2.5vw,2.35rem)!important;
}
.download-panel h2{
  font-size:1.7rem!important;
}
main:not(.home-main) h1{
  font-size:clamp(1.85rem,3.2vw,2.8rem)!important;
}


/* Cache 119: exact Quick Play cells; heavy rules are visual overlays only. */
.mini-sudoku span{
  min-width:0!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
.mini-sudoku span:nth-child(n+19):nth-child(-n+27),
.mini-sudoku span:nth-child(n+46):nth-child(-n+54){
  border-bottom:0!important;
  position:relative;
}
.mini-sudoku span:nth-child(n+19):nth-child(-n+27)::after,
.mini-sudoku span:nth-child(n+46):nth-child(-n+54)::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:#4f5870;
  pointer-events:none;
}
.quick-head h2{
  font-size:1.22rem!important;
}
.portal-section-head h2{
  font-size:clamp(1.5rem,2.35vw,2.2rem)!important;
}


/* ===== Cache 121: hero shows web play beside the app banner ===== */
@media(min-width:1200px){
  .portal-hero-grid{
    grid-template-columns:minmax(0,.86fr) minmax(720px,1.14fr)!important;
    gap:34px!important;
  }
  .portal-device-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 214px!important;
    grid-template-areas:
      "device webplay"
      "stores stores"!important;
    gap:12px 14px!important;
    align-items:center!important;
  }
  .portal-device-card .device-showcase{
    grid-area:device!important;
    padding:0 0 18px 38px!important;
  }
  .hero-web-play-card{
    grid-area:webplay!important;
  }
  .portal-device-card .portal-qr-grid{
    grid-area:stores!important;
    width:100%!important;
    max-width:none!important;
    padding-left:38px!important;
  }
}
.hero-web-play-card{
  min-width:0;
  display:grid;
  gap:9px;
  padding:13px;
  border:1px solid color-mix(in srgb,#2f78e9 24%,var(--portal-line));
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0,rgba(78,123,239,.12),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,247,255,.98));
  color:var(--portal-ink);
  text-decoration:none;
  box-shadow:0 15px 36px rgba(35,72,130,.12);
  transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease;
}
.hero-web-play-card:hover{
  text-decoration:none;
  transform:translateY(-2px);
  border-color:color-mix(in srgb,#2f78e9 48%,var(--portal-line));
  box-shadow:0 20px 42px rgba(35,72,130,.18);
}
.hero-web-play-head{
  display:grid;
  gap:2px;
}
.hero-web-play-kicker{
  color:#326bdd;
  font-size:.58rem;
  letter-spacing:.12em;
  font-weight:950;
}
.hero-web-play-head strong{
  font-size:.98rem;
  color:var(--portal-ink);
}
.hero-mini-sudoku{
  width:100%!important;
  max-width:184px!important;
  border-width:2px!important;
  border-radius:13px!important;
  box-shadow:0 10px 24px rgba(32,52,95,.12)!important;
}
.hero-mini-sudoku span{
  font-size:10px!important;
}
.hero-web-play-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 9px;
  border-radius:11px;
  background:linear-gradient(135deg,#4660df,#2f91e9);
  color:#fff;
  font-size:.72rem;
  font-weight:950;
  box-shadow:0 8px 18px rgba(51,92,210,.18);
}
.portal-quick-play-section .quick-play-grid{
  grid-template-columns:1fr!important;
}
.portal-quick-play-section .quick-play-control-card{
  max-width:none!important;
}
.portal-highlight span{
  display:grid!important;
  gap:2px!important;
}
.portal-highlight span b{
  color:var(--portal-ink)!important;
  font-size:.76rem!important;
  font-weight:900!important;
}
.portal-highlight span small{
  color:var(--portal-muted)!important;
  font-size:.62rem!important;
  font-weight:700!important;
  line-height:1.18!important;
}

@media(min-width:821px) and (max-width:1199px){
  .portal-device-card{
    grid-template-columns:minmax(0,1fr) 190px!important;
    grid-template-areas:
      "device webplay"
      "stores stores"!important;
    align-items:center!important;
  }
  .portal-device-card .device-showcase{grid-area:device!important}
  .hero-web-play-card{grid-area:webplay!important}
  .portal-device-card .portal-qr-grid{grid-area:stores!important}
}
@media(max-width:820px){
  .hero-web-play-card{
    margin-top:4px;
    grid-template-columns:116px minmax(0,1fr);
    grid-template-areas:
      "board head"
      "board cta";
    align-items:center;
  }
  .hero-web-play-head{grid-area:head}
  .hero-mini-sudoku{grid-area:board;max-width:116px!important}
  .hero-web-play-cta{grid-area:cta}
}


/* ===== Cache 122: web-play card belongs on the opposite side and must be prominent ===== */
@media(min-width:1200px){
  .portal-hero-grid{
    grid-template-columns:minmax(0,.82fr) minmax(760px,1.18fr)!important;
    gap:34px!important;
  }
  .portal-device-card{
    grid-template-columns:320px minmax(0,1fr)!important;
    grid-template-areas:
      "webplay device"
      "stores stores"!important;
    gap:14px 18px!important;
    align-items:center!important;
  }
  .hero-web-play-card{
    grid-area:webplay!important;
    width:320px!important;
    min-height:414px!important;
    padding:17px!important;
    gap:12px!important;
    align-self:center!important;
  }
  .portal-device-card .device-showcase{
    grid-area:device!important;
    padding:0 0 18px 26px!important;
  }
  .portal-device-card .portal-qr-grid{
    grid-area:stores!important;
    padding-left:0!important;
    margin-top:2px!important;
  }
  .hero-mini-sudoku{
    width:100%!important;
    max-width:286px!important;
  }
  .hero-mini-sudoku span{
    font-size:13px!important;
  }
  .hero-web-play-head strong{
    font-size:1.2rem!important;
  }
  .hero-web-play-kicker{
    font-size:.66rem!important;
  }
  .hero-web-play-cta{
    min-height:48px!important;
    font-size:.86rem!important;
    border-radius:13px!important;
  }
}

@media(min-width:821px) and (max-width:1199px){
  .portal-device-card{
    grid-template-columns:250px minmax(0,1fr)!important;
    grid-template-areas:
      "webplay device"
      "stores stores"!important;
    gap:13px 16px!important;
  }
  .hero-web-play-card{
    grid-area:webplay!important;
    width:250px!important;
    padding:14px!important;
  }
  .portal-device-card .device-showcase{grid-area:device!important}
  .portal-device-card .portal-qr-grid{grid-area:stores!important}
  .hero-mini-sudoku{max-width:220px!important}
  .hero-mini-sudoku span{font-size:11px!important}
  .hero-web-play-cta{min-height:43px!important}
}

@media(max-width:820px){
  .hero-web-play-card{
    width:100%!important;
    margin:8px 0 2px!important;
  }
}


/* ===== Cache 123: keep hero web-play card on the same physical side in LTR + RTL ===== */
@media(min-width:821px){
  .portal-device-card{
    direction:ltr!important;
  }
  html[dir="rtl"] .hero-web-play-card{
    direction:rtl!important;
    text-align:right!important;
  }
  html[dir="rtl"] .portal-device-card .portal-qr-grid{
    direction:rtl!important;
  }
  html[dir="rtl"] .portal-device-card .device-showcase{
    direction:ltr!important;
  }
}


/* ===== Cache 124: website-first hero + compact useful Quick Play ===== */
.portal-hero{padding-top:24px!important;padding-bottom:22px!important}
.portal-hero-grid{
  grid-template-columns:minmax(560px,.94fr) minmax(620px,1.06fr)!important;
  gap:30px!important;
  align-items:center!important;
}
.hero-play-first{max-width:none!important;min-width:0!important}
.hero-play-first .eyebrow{font-size:.68rem!important}
.hero-play-intro{display:grid;gap:6px;margin:8px 0 12px}
.hero-play-intro h1{
  margin:0!important;
  font-size:clamp(2rem,2.8vw,3rem)!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
}
.hero-play-intro p{margin:0!important;max-width:720px!important;font-size:.9rem!important;line-height:1.48!important}
.hero-play-first .hero-web-play-card{
  width:100%!important;
  min-height:360px!important;
  padding:16px!important;
  display:grid!important;
  grid-template-columns:minmax(300px,1fr) 178px!important;
  grid-template-areas:"board head" "board cta"!important;
  gap:12px 16px!important;
  align-items:center!important;
}
.hero-play-first .hero-web-play-head{grid-area:head!important;align-self:end!important}
.hero-play-first .hero-mini-sudoku{grid-area:board!important;width:100%!important;max-width:360px!important}
.hero-play-first .hero-web-play-cta{grid-area:cta!important;align-self:start!important;min-height:48px!important}
.hero-web-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}
.hero-web-shortcuts a{
  display:grid;gap:2px;padding:10px 11px;border:1px solid var(--portal-line);border-radius:13px;
  background:rgba(255,255,255,.75);text-decoration:none;color:var(--portal-ink)
}
.hero-web-shortcuts strong{font-size:.72rem}.hero-web-shortcuts small{font-size:.61rem;color:var(--portal-muted)}
.portal-device-card.hero-app-column{
  display:grid!important;grid-template-columns:1fr!important;
  grid-template-areas:"appintro" "device" "stores"!important;gap:10px!important;direction:ltr!important
}
.hero-app-intro{grid-area:appintro;display:grid;gap:2px;padding:0 8px}
.hero-app-intro span{font-size:.62rem;font-weight:950;letter-spacing:.12em;color:#326bdd}
.hero-app-intro strong{font-size:1.06rem;color:var(--portal-ink)}
.hero-app-intro small{font-size:.7rem;color:var(--portal-muted)}
.portal-device-card.hero-app-column .device-showcase{grid-area:device!important;padding:0 0 20px 36px!important}
.portal-device-card.hero-app-column .portal-qr-grid{grid-area:stores!important;padding-left:36px!important;width:100%!important}
html[dir="rtl"] .hero-app-intro{direction:rtl;text-align:right}
html[dir="rtl"] .hero-play-first{direction:rtl;text-align:right}

.portal-quick-play-section{padding-top:8px!important}
.portal-quick-card-wide{padding:18px!important;border-radius:22px!important}
.quick-head{margin-bottom:10px!important}.quick-head h2{font-size:1.18rem!important}
.quick-play-control-card{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr)!important;
  grid-template-areas:"label explore" "copy explore" "levels explore"!important;
  gap:8px 18px!important;
  padding:16px 18px!important;
}
.quick-choice-label{grid-area:label}.quick-play-control-card>p{grid-area:copy;margin:0!important;font-size:.82rem!important}
.quick-level-picker{grid-area:levels!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.quick-level-picker a{min-height:52px!important;padding:8px 10px!important;border-radius:12px!important}
.quick-level-picker a span{width:27px!important;height:27px!important}.quick-level-picker a strong{font-size:.78rem!important}
.quick-explore-card{
  grid-area:explore;display:grid;align-content:start;gap:7px;padding:14px;border:1px solid var(--portal-line);
  border-radius:17px;background:linear-gradient(145deg,#f9fbff,#f1f6ff)
}
.quick-explore-kicker{font-size:.58rem;font-weight:950;letter-spacing:.12em;color:#4b5ed9}
.quick-explore-card>strong{font-size:.96rem}
.quick-explore-description{margin:0;color:var(--portal-muted);font-size:.68rem;line-height:1.5;max-width:620px}
.quick-explore-links{display:grid;gap:7px}
.quick-explore-links>a{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:center;padding:8px;border-radius:11px;background:#fff;text-decoration:none}
.quick-explore-links>a>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eef2ff;color:#4559d6}
.quick-explore-links b{display:block;font-size:.72rem}.quick-explore-links small{display:block;font-size:.61rem;color:var(--portal-muted);margin-top:1px}

@media(max-width:1199px){
  .portal-hero-grid{grid-template-columns:1fr!important}
  .hero-play-first .hero-web-play-card{max-width:720px!important}
  .portal-device-card.hero-app-column{max-width:860px!important}
}
@media(max-width:900px){
  .quick-play-control-card{grid-template-columns:1fr!important;grid-template-areas:"label" "copy" "levels" "explore"!important}
}
@media(max-width:700px){
  .hero-play-first .hero-web-play-card{
    min-height:0!important;grid-template-columns:1fr!important;grid-template-areas:"head" "board" "cta"!important
  }
  .hero-play-first .hero-mini-sudoku{max-width:100%!important}
  .hero-web-shortcuts{grid-template-columns:1fr!important}
  .quick-level-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* Cache 124c: final Quick Play density + keep app phone inside the app half. */
.quick-level-picker a{
  height:48px!important;
  min-height:48px!important;
  padding:6px 9px!important;
}
@media(min-width:1200px){
  .portal-device-card.hero-app-column .phone-art{
    left:-34px!important;
    bottom:-34px!important;
  }
}


/* Cache 124d: hero physical anatomy never flips with document RTL. */
.portal-hero-grid{direction:ltr!important}
html[dir="rtl"] .hero-play-first{direction:rtl!important;text-align:right!important}
html[dir="rtl"] .hero-app-intro{direction:rtl!important;text-align:right!important}


/* ===== Cache 126: square hero board + denser Quick Play + app banner polish ===== */

/* True square hero board with visual 3x3 separators drawn over the grid. */
.hero-play-first .hero-mini-sudoku{
  position:relative!important;
  width:min(100%,360px)!important;
  height:auto!important;
  max-height:360px!important;
  aspect-ratio:1/1!important;
  align-self:center!important;
  justify-self:center!important;
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  grid-template-rows:repeat(9,minmax(0,1fr))!important;
  overflow:hidden!important;
}
.hero-play-first .hero-mini-sudoku span{
  min-width:0!important;
  min-height:0!important;
  box-shadow:none!important;
}
.hero-play-first .hero-mini-sudoku::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:5;
  pointer-events:none;
  border-radius:inherit;
  background:
    linear-gradient(to right,transparent calc(33.3333% - 1px),#4f5873 calc(33.3333% - 1px),#4f5873 calc(33.3333% + 1px),transparent calc(33.3333% + 1px)),
    linear-gradient(to right,transparent calc(66.6667% - 1px),#4f5873 calc(66.6667% - 1px),#4f5873 calc(66.6667% + 1px),transparent calc(66.6667% + 1px)),
    linear-gradient(to bottom,transparent calc(33.3333% - 1px),#4f5873 calc(33.3333% - 1px),#4f5873 calc(33.3333% + 1px),transparent calc(33.3333% + 1px)),
    linear-gradient(to bottom,transparent calc(66.6667% - 1px),#4f5873 calc(66.6667% - 1px),#4f5873 calc(66.6667% + 1px),transparent calc(66.6667% + 1px));
}

/* Quick Play: narrower level area, larger visual exploration area. */
@media(min-width:901px){
  .quick-play-control-card{
    grid-template-columns:minmax(0,620px) minmax(0,1fr)!important;
    gap:10px 22px!important;
  }
  .quick-level-picker{
    width:100%!important;
    max-width:620px!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .quick-level-picker a{
    height:46px!important;
    min-height:46px!important;
    padding:6px 8px!important;
  }
  .quick-explore-card{
    min-width:0!important;
    padding:15px!important;
    gap:9px!important;
  }
}
.quick-explore-links{gap:8px!important}
.quick-explore-links>a{
  grid-template-columns:86px minmax(0,1fr)!important;
  gap:12px!important;
  min-height:70px!important;
  padding:7px 10px!important;
  align-items:center!important;
}
.quick-thumb{
  width:86px!important;
  height:58px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  grid-template-rows:repeat(3,1fr)!important;
  gap:0!important;
  overflow:hidden!important;
  border:2px solid #56617c!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:0 7px 16px rgba(35,61,112,.10)!important;
  color:#2148b5!important;
}
.quick-thumb i{
  display:grid!important;
  place-items:center!important;
  min-width:0!important;
  min-height:0!important;
  border-right:1px solid #aeb8cb!important;
  border-bottom:1px solid #aeb8cb!important;
  font-style:normal!important;
  font-size:9px!important;
  font-weight:900!important;
}
.quick-thumb i:nth-child(3n){border-right:0!important}
.quick-thumb i:nth-child(n+7){border-bottom:0!important}
.quick-thumb-variants i:nth-child(1),
.quick-thumb-variants i:nth-child(5){background:#e8f4ff!important}
.quick-thumb-variants i:nth-child(3),
.quick-thumb-variants i:nth-child(7){background:#fff2df!important}
.quick-thumb-variants i:nth-child(2),
.quick-thumb-variants i:nth-child(6),
.quick-thumb-variants i:nth-child(9){background:#efe9ff!important}
.quick-thumb-learn{background:#f7fbff!important}
.quick-thumb-learn .hit{
  background:#ffe9a8!important;
  box-shadow:inset 0 0 0 2px #f4b93f!important;
}
.quick-thumb-learn::after{
  content:"";
  position:absolute;
  width:58px;
  height:2px;
  background:#7658e8;
  transform:rotate(-18deg);
  opacity:.75;
}
.quick-thumb-custom i:last-child{
  background:linear-gradient(135deg,#eef5ff,#dfeaff)!important;
  color:#315ed6!important;
  font-size:14px!important;
}

/* Move phone further outward and tilt it gently so it does not cover the Sudoku Pro wordmark. */
@media(min-width:1200px){
  .portal-device-card.hero-app-column .phone-art{
    left:-82px!important;
    bottom:-30px!important;
    width:clamp(145px,21%,190px)!important;
    transform:rotate(-4deg)!important;
    transform-origin:70% 88%!important;
  }
  .portal-device-card.hero-app-column .portal-qr-grid{
    padding-left:24px!important;
    gap:9px!important;
  }
  .portal-store-merged-card{
    min-height:58px!important;
    padding:7px 10px!important;
    border-radius:14px!important;
  }
  .portal-store-merged-card .store-qr{
    width:46px!important;
    height:46px!important;
    flex-basis:46px!important;
  }
  .portal-store-merged-card .store-copy strong{
    font-size:.84rem!important;
  }
  .portal-store-merged-card .store-copy small{
    font-size:.52rem!important;
  }
}


/* Cache 126 finishing details. */
.hero-play-first .hero-mini-sudoku span::after{display:none!important}
.quick-thumb{position:relative!important}


/* Cache 126 final hero store scale. */
@media(min-width:1200px){
  .portal-device-card.hero-app-column .portal-qr-grid{
    width:min(100%,620px)!important;
    justify-self:center!important;
  }
  .portal-store-merged-card{
    min-height:52px!important;
    padding:6px 9px!important;
  }
  .portal-store-merged-card .store-qr{
    width:40px!important;
    height:40px!important;
    flex-basis:40px!important;
  }
  .portal-store-merged-card .store-copy strong{font-size:.8rem!important}
  .portal-store-merged-card .store-copy small{font-size:.49rem!important}
}


/* Cache 127b: keep hero store buttons comfortably away from the phone artwork. */
@media(min-width:1200px){
  .portal-device-card.hero-app-column .portal-qr-grid{
    width:min(100%,585px)!important;
    justify-self:end!important;
    margin-right:28px!important;
    margin-top:14px!important;
    padding-left:0!important;
  }
}


/* ===== Cache 127: Learn-by-seeing section uses the full page width ===== */
.learn-promo{
  grid-template-columns:minmax(280px,.72fr) minmax(470px,1.18fr) minmax(260px,.66fr)!important;
  gap:22px!important;
  align-items:stretch!important;
  padding:30px!important;
}
.learn-promo-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
}
.learn-promo h2{
  font-size:clamp(1.9rem,2.7vw,2.85rem)!important;
  line-height:1.02!important;
  margin:12px 0 11px!important;
}
.learn-promo-copy p{
  font-size:.9rem!important;
  line-height:1.52!important;
  margin-bottom:18px!important;
}
.learn-promo-copy .portal-btn{
  width:max-content!important;
  max-width:100%!important;
}
.strategy-preview{
  min-height:330px!important;
  padding:20px!important;
  gap:12px!important;
}
.strategy-demo-board{
  min-height:242px!important;
}
.learn-promo-steps{
  display:grid!important;
  grid-template-rows:repeat(3,minmax(0,1fr)) auto!important;
  gap:9px!important;
  min-width:0!important;
}
.learn-step-mini{
  display:grid!important;
  grid-template-columns:28px 64px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  padding:10px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.045))!important;
}
.learn-step-number{
  align-self:start!important;
  color:#8bd9ff!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
.learn-step-mini>div:last-child{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
}
.learn-step-mini strong{
  color:#fff!important;
  font-size:.8rem!important;
  line-height:1.15!important;
}
.learn-step-mini small{
  color:#becce6!important;
  font-size:.64rem!important;
  line-height:1.35!important;
}
.learn-step-visual{
  position:relative!important;
  width:64px!important;
  height:50px!important;
  border:1px solid rgba(255,255,255,.2)!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:
    linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px),
    rgba(255,255,255,.035)!important;
  background-size:33.333% 33.333%!important;
}
.visual-candidates{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
}
.visual-candidates i{
  width:16px!important;
  height:16px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#fff2b8!important;
  color:#674d00!important;
  font-size:8px!important;
  font-style:normal!important;
  font-weight:950!important;
}
.visual-pattern i{
  position:absolute!important;
  width:10px!important;
  height:10px!important;
  border-radius:50%!important;
  background:#ffce58!important;
  box-shadow:0 0 0 3px rgba(255,206,88,.13)!important;
}
.visual-pattern i:nth-child(1){left:10px!important;top:8px!important}
.visual-pattern i:nth-child(2){right:10px!important;top:8px!important}
.visual-pattern i:nth-child(3){left:10px!important;bottom:8px!important}
.visual-pattern i:nth-child(4){right:10px!important;bottom:8px!important}
.visual-pattern::before,
.visual-pattern::after{
  content:""!important;
  position:absolute!important;
  background:#69def7!important;
  opacity:.85!important;
}
.visual-pattern::before{left:15px!important;right:15px!important;top:14px!important;height:2px!important}
.visual-pattern::after{top:13px!important;bottom:13px!important;left:15px!important;width:2px!important}
.visual-eliminate{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
.visual-eliminate b,
.visual-eliminate em{
  width:21px!important;
  height:21px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:7px!important;
  font-size:11px!important;
  font-style:normal!important;
  font-weight:950!important;
}
.visual-eliminate b{background:#cff1dd!important;color:#24613d!important}
.visual-eliminate em{background:#ffe1df!important;color:#9c322f!important;text-decoration:line-through!important}
.learn-promo-rail-link{
  min-height:39px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px 10px!important;
  border-radius:11px!important;
  background:rgba(105,222,247,.12)!important;
  border:1px solid rgba(105,222,247,.24)!important;
  color:#b9efff!important;
  text-decoration:none!important;
  font-size:.72rem!important;
  font-weight:900!important;
}
.learn-promo-rail-link:hover{
  background:rgba(105,222,247,.18)!important;
  text-decoration:none!important;
}

@media(max-width:1180px){
  .learn-promo{
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
  }
  .learn-promo-steps{
    grid-column:1/-1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
  }
  .learn-promo-rail-link{
    grid-column:1/-1!important;
  }
}
@media(max-width:780px){
  .learn-promo{
    grid-template-columns:1fr!important;
    padding:18px!important;
  }
  .learn-promo-steps{
    grid-column:auto!important;
    grid-template-columns:1fr!important;
  }
  .learn-promo-rail-link{grid-column:auto!important}
}

/* ===== Cache 128: hero CTA breathing room + fuller Quick Play composition ===== */
@media(min-width:1200px){
  .hero-play-first .hero-web-play-head,
  .hero-play-first .hero-web-play-cta{
    transform:translateX(-28px)!important;
  }
  .hero-play-first .hero-web-play-head{
    max-width:calc(100% - 12px)!important;
  }
  .hero-play-first .hero-web-play-cta{
    width:calc(100% - 4px)!important;
  }

  .portal-quick-card-wide{
    padding:18px 20px 20px!important;
  }
  .portal-quick-card-wide .quick-play-control-card{
    grid-template-columns:minmax(0,1fr) minmax(390px,1.08fr)!important;
    gap:12px 20px!important;
    padding:15px 16px!important;
    align-items:stretch!important;
  }
  .portal-quick-card-wide .quick-play-control-card>p{
    max-width:760px!important;
  }
  .portal-quick-card-wide .quick-level-picker{
    max-width:none!important;
    width:100%!important;
    gap:9px!important;
  }
  .portal-quick-card-wide .quick-level-picker a{
    min-height:52px!important;
    height:52px!important;
    padding:7px 10px!important;
  }
  .portal-quick-card-wide .quick-explore-card{
    height:100%!important;
    box-sizing:border-box!important;
    padding:16px!important;
  }
  .portal-quick-card-wide .quick-explore-links{
    height:100%!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .portal-quick-card-wide .quick-explore-links>a{
    min-height:76px!important;
    height:auto!important;
  }
}
@media(min-width:901px) and (max-width:1199px){
  .hero-play-first .hero-web-play-head,
  .hero-play-first .hero-web-play-cta{
    transform:translateX(-18px)!important;
  }
}

/* Cache 128b: keep hero CTA away from phone without leaving its card. */
@media(min-width:1200px){
  .hero-play-first .hero-web-play-head,
  .hero-play-first .hero-web-play-cta{
    transform:translateX(-8px)!important;
  }
  .hero-play-first .hero-web-play-cta{
    width:calc(100% - 10px)!important;
  }
}
@media(min-width:901px) and (max-width:1199px){
  .hero-play-first .hero-web-play-head,
  .hero-play-first .hero-web-play-cta{
    transform:translateX(-6px)!important;
  }
}

/* ===== Cache 129: visibly fuller Quick Play + use the rail gap for mode navigation ===== */
@media(min-width:901px){
  .portal-quick-card-wide .quick-play-control-card{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:14px 22px!important;
    padding:16px 18px!important;
    min-height:382px!important;
  }
  .portal-quick-card-wide .quick-choice-label{
    align-self:end!important;
    font-size:.76rem!important;
  }
  .portal-quick-card-wide .quick-play-control-card>p{
    align-self:start!important;
    line-height:1.5!important;
  }
  .portal-quick-card-wide .quick-level-picker{
    align-self:stretch!important;
    gap:11px!important;
  }
  .portal-quick-card-wide .quick-level-picker a{
    height:68px!important;
    min-height:68px!important;
    padding:9px 12px!important;
    border-radius:15px!important;
    box-shadow:0 8px 20px rgba(36,54,95,.07)!important;
  }
  .portal-quick-card-wide .quick-level-picker a span{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
    font-size:.78rem!important;
  }
  .portal-quick-card-wide .quick-level-picker a strong{
    font-size:.84rem!important;
  }
  .portal-quick-card-wide .quick-explore-card{
    padding:15px!important;
    gap:8px!important;
  }
  .portal-quick-card-wide .quick-explore-links{
    gap:9px!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
  }
  .portal-quick-card-wide .quick-explore-links>a{
    min-height:86px!important;
    padding:8px 11px!important;
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:13px!important;
  }
  .portal-quick-card-wide .quick-thumb{
    width:104px!important;
    height:70px!important;
  }
  .portal-quick-card-wide .quick-explore-links b{
    font-size:.78rem!important;
  }
  .portal-quick-card-wide .quick-explore-links small{
    font-size:.64rem!important;
  }
}
@media(max-width:900px){
  .portal-quick-card-wide .quick-play-control-card{
    min-height:0!important;
  }
}

/* Put Sudoku mode navigation directly after the six difficulty buttons instead of
   wasting the large lower part of the left rail. */
@media(min-width:821px){
  .difficulty-picker{
    justify-content:flex-start!important;
  }
  .difficulty-picker .variant-quick-nav{
    margin-top:10px!important;
  }
  .difficulty-picker .variant-quick-nav a{
    min-height:34px!important;
    height:34px!important;
    font-size:10px!important;
    padding:6px 5px!important;
  }
  .difficulty-picker .variant-quick-nav-title{
    font-size:9px!important;
    margin-bottom:3px!important;
  }
}


/* Cache 131b: homepage hero CTA always glows clearly. */
.hero-play-first .hero-web-play-cta{
  position:relative!important;
  overflow:visible!important;
  animation:sudokuHeroPlayGlow 2.2s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::after{
  content:""!important;
  position:absolute!important;
  inset:-4px!important;
  z-index:-1!important;
  border-radius:inherit!important;
  background:linear-gradient(135deg,#4660df,#2f91e9)!important;
  opacity:.55!important;
  filter:blur(11px)!important;
  animation:sudokuHeroPlayGlowHalo 2.2s ease-in-out infinite!important;
  pointer-events:none!important;
}
@keyframes sudokuHeroPlayGlow{
  0%,100%{box-shadow:0 8px 20px rgba(47,112,231,.26),0 0 0 0 rgba(47,145,233,0)}
  50%{box-shadow:0 10px 26px rgba(47,112,231,.38),0 0 0 5px rgba(47,145,233,.10)}
}
@keyframes sudokuHeroPlayGlowHalo{
  0%,100%{opacity:.42;transform:scale(.985)}
  50%{opacity:.72;transform:scale(1.02)}
}
@media(prefers-reduced-motion:reduce){
  .hero-play-first .hero-web-play-cta,.hero-play-first .hero-web-play-cta::after{animation:none!important}
  .hero-play-first .hero-web-play-cta{box-shadow:0 10px 28px rgba(47,112,231,.38),0 0 0 4px rgba(47,145,233,.10)!important}
}

/* ===== Cache 133: use the More to Play empty space for concise guidance ===== */
.quick-explore-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:2px 0 4px}
.quick-explore-guide>div{min-width:0;padding:9px 10px;border:1px solid color-mix(in srgb,var(--portal-line) 82%,transparent);border-radius:12px;background:color-mix(in srgb,var(--portal-surface) 90%,var(--portal-soft));box-sizing:border-box}
.quick-explore-guide b{display:block;margin-bottom:3px;font-size:.68rem;color:var(--portal-ink)}
.quick-explore-guide span{display:block;font-size:.6rem;line-height:1.4;color:var(--portal-muted)}
html[dir="rtl"] .quick-explore-guide{text-align:right;direction:rtl}
@media(min-width:901px){
  .portal-quick-card-wide .quick-explore-links{height:auto!important;grid-template-rows:repeat(3,minmax(72px,1fr))!important}
  .portal-quick-card-wide .quick-explore-links>a{min-height:72px!important}
}
@media(max-width:700px){.quick-explore-guide{grid-template-columns:1fr}.quick-explore-guide>div{padding:8px 10px}}

/* ===== Cache 134: clearer labels and navigation typography site-wide ===== */
body{font-weight:500;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}
nav a,button,.store-btn,.portal-icon-btn,
.hero-web-play-cta,.hero-web-shortcuts strong,
.quick-level-picker a,.quick-explore-links a{font-weight:800!important}
small,.meta,.eyebrow,[class*="kicker"]{font-weight:650}
.quick-explore-guide b{font-size:.76rem!important;font-weight:850!important}
.quick-explore-guide span{
  font-size:.68rem!important;font-weight:600!important;line-height:1.5!important;
}
.legal-page p,.legal-page li{font-weight:500}
html[dir="rtl"] body,html[dir="rtl"] button,html[dir="rtl"] input,
html[dir="rtl"] select,html[dir="rtl"] textarea{
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
}

/* Cache 138: dark-only color polish; no sizing/layout changes */
.portal-home.dark .quick-explore-card{background:linear-gradient(145deg,#2b354a,#303b52)!important;border-color:#53617e!important}
.portal-home.dark .quick-explore-links>a{background:#344057!important;color:#f6f8ff!important;border:1px solid #53617e}
.portal-home.dark .quick-explore-links>a>span{background:#414f6b!important;color:#a9c8ff!important}
.portal-home.dark .quick-explore-kicker{color:#91a9ff!important}
.portal-home.dark .quick-explore-description,.portal-home.dark .quick-explore-links small{color:#c5cee2!important}
.portal-home.dark .quick-explore-guide>div{background:#344057!important;border-color:#53617e!important}
.portal-home.dark .portal-topbar{background:rgba(31,40,57,.92)!important;border-color:#4a5875!important}

/* Cache 139: dark-only hero play area; preserve all dimensions/layout */
.portal-home.dark .hero-web-play-card{background:radial-gradient(circle at 100% 0,rgba(96,125,190,.16),transparent 38%),linear-gradient(145deg,#2b354a,#344057)!important;border-color:#53617e!important;box-shadow:0 15px 36px rgba(8,15,28,.22)!important}
.portal-home.dark .hero-web-shortcuts a{background:#344057!important;border-color:#53617e!important;color:#f6f8ff!important}
.portal-home.dark .hero-web-shortcuts small{color:#c5cee2!important}
.portal-home.dark .hero-web-play-head strong{color:#f6f8ff!important}
.portal-home.dark .hero-web-play-head small{color:#c5cee2!important}

/* Cache 140: gentle visual accents for Quick Play + six-level section; no structural changes */
.portal-home:not(.dark) .quick-play-control-card{background:linear-gradient(135deg,rgba(238,249,255,.92),rgba(247,244,255,.94))!important;box-shadow:inset 0 0 0 1px rgba(91,130,205,.08),0 16px 38px rgba(66,108,166,.08)!important}
.portal-home:not(.dark) .quick-level-picker a{background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--level-accent,#6d78e8) 7%,#fff))!important;box-shadow:0 8px 20px rgba(58,91,145,.08)!important}
.portal-home:not(.dark) .quick-level-picker a:hover{box-shadow:0 12px 25px rgba(58,91,145,.14)!important}
.portal-home:not(.dark) .quick-explore-card{background:linear-gradient(145deg,#f7fbff,#f4f2ff)!important;box-shadow:0 12px 30px rgba(62,93,153,.08)!important}
.portal-home:not(.dark) .quick-explore-links>a{background:linear-gradient(135deg,#fff,#f7faff)!important;border:1px solid #e2e9f6!important;box-shadow:0 5px 14px rgba(65,94,146,.05)!important}
.portal-home:not(.dark) .level-card{background:linear-gradient(160deg,#fff 55%,color-mix(in srgb,var(--level-accent) 9%,#fff))!important;border-color:color-mix(in srgb,var(--level-accent) 22%,var(--portal-line))!important;box-shadow:0 12px 28px color-mix(in srgb,var(--level-accent) 9%,transparent)!important}
.portal-home:not(.dark) .level-card:before{content:"";position:absolute;left:18px;right:18px;top:0;height:3px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,var(--level-accent),transparent);opacity:.72}
.portal-home:not(.dark) .level-card:after{opacity:.10!important}
.portal-home:not(.dark) .level-card:hover{border-color:color-mix(in srgb,var(--level-accent) 48%,var(--portal-line))!important;box-shadow:0 18px 36px color-mix(in srgb,var(--level-accent) 14%,transparent)!important}

/* Cache 141: apply approved playful pastel direction to the live page */
.portal-home:not(.dark) .quick-play-control-card{background:linear-gradient(135deg,#f2fbff 0%,#f7f5ff 55%,#eef8ff 100%)!important;border-color:#d9e8f7!important}
.portal-home:not(.dark) .quick-choice-label:after{content:" ✦";color:#4e8ff0}
.portal-home:not(.dark) .quick-level-picker a{position:relative;overflow:hidden;border-width:1px!important}
.portal-home:not(.dark) .quick-level-picker a:nth-child(1){--quick-accent:#22bd78;background:linear-gradient(135deg,#fff,#effcf5)!important;border-color:#ccefe0!important}
.portal-home:not(.dark) .quick-level-picker a:nth-child(2){--quick-accent:#3298ed;background:linear-gradient(135deg,#fff,#eef8ff)!important;border-color:#cee7fa!important}
.portal-home:not(.dark) .quick-level-picker a:nth-child(3){--quick-accent:#7d62ea;background:linear-gradient(135deg,#fff,#f3efff)!important;border-color:#ded4ff!important}
.portal-home:not(.dark) .quick-level-picker a:nth-child(4){--quick-accent:#d354d7;background:linear-gradient(135deg,#fff,#fff0fc)!important;border-color:#f1d3ef!important}
.portal-home:not(.dark) .quick-level-picker a:nth-child(5){--quick-accent:#f29a32;background:linear-gradient(135deg,#fff,#fff6e9)!important;border-color:#f6dfbd!important}
.portal-home:not(.dark) .quick-level-picker a:nth-child(6){--quick-accent:#ed526d;background:linear-gradient(135deg,#fff,#fff0f3)!important;border-color:#f5d0d8!important}
.portal-home:not(.dark) .quick-level-picker a:after{content:"→";margin-left:auto;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--quick-accent) 12%,#fff);color:var(--quick-accent);font-weight:950}
.portal-home:not(.dark) .quick-level-picker a span{background:color-mix(in srgb,var(--quick-accent) 14%,#fff)!important;color:var(--quick-accent)!important}
.portal-home:not(.dark) .quick-explore-card{background:linear-gradient(145deg,#f5f9ff,#f2f5ff)!important;border-color:#d9e5f5!important}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(1){background:linear-gradient(145deg,#fff9ef,#fff)!important;border-color:#f6dfb7!important}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(2){background:linear-gradient(145deg,#f5f0ff,#fff)!important;border-color:#e0d4fa!important}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(3){background:linear-gradient(145deg,#effcf6,#fff)!important;border-color:#caeedc!important}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(1) b{color:#e48a23}.portal-home:not(.dark) .quick-explore-guide>div:nth-child(2) b{color:#7558d8}.portal-home:not(.dark) .quick-explore-guide>div:nth-child(3) b{color:#1ba76a}
.portal-home:not(.dark) .quick-explore-links>a{transition:transform .16s ease,box-shadow .16s ease!important}.portal-home:not(.dark) .quick-explore-links>a:hover{transform:translateX(3px);box-shadow:0 9px 20px rgba(65,94,146,.10)!important}
.portal-home:not(.dark) .level-grid-rich{position:relative}
.portal-home:not(.dark) .level-card{border-width:1.5px!important}
.portal-home:not(.dark) .level-card .level-number{background:color-mix(in srgb,var(--level-accent) 12%,#fff)!important;color:var(--level-accent)!important;border-radius:9px;padding:5px 7px}
.portal-home:not(.dark) .level-card .level-cta{display:inline-block;margin-top:14px;padding:7px 11px;border-radius:999px;background:color-mix(in srgb,var(--level-accent) 12%,#fff);color:var(--level-accent)!important;font-weight:900}
.portal-home:not(.dark) .level-card h3{color:#0c1e45!important}
.portal-home:not(.dark) .level-card:after{width:130px!important;height:130px!important;right:-58px!important;bottom:-60px!important;opacity:.09!important}
.portal-home:not(.dark) .portal-section-head:before{content:"✦";align-self:center;color:#7b67df;font-size:1.2rem;filter:drop-shadow(0 4px 8px rgba(123,103,223,.2))}

/* Cache 142: closer implementation of the approved reference artwork */
.portal-home:not(.dark) .portal-quick-card-wide{background:linear-gradient(120deg,#fff 0%,#fbfdff 58%,#f3f4ff 100%)!important;box-shadow:0 22px 55px rgba(69,99,154,.11)!important}
.portal-home:not(.dark) .quick-play-control-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#eef9ff,#f4f8ff 55%,#f3f0ff)!important}
.portal-home:not(.dark) .quick-play-control-card:before{content:"✦  ✧";position:absolute;right:28px;top:18px;font-size:25px;letter-spacing:10px;color:#f2b827;opacity:.85}
.portal-home:not(.dark) .quick-play-control-card:after{content:"✎";position:absolute;right:64px;top:54px;width:66px;height:66px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#dff4ff,#eee9ff);color:#438bf0;font-size:38px;transform:rotate(-8deg);box-shadow:0 10px 22px rgba(68,118,188,.12)}
.portal-home:not(.dark) .quick-level-picker a{min-height:76px!important;border-radius:18px!important;padding:12px 16px!important}
.portal-home:not(.dark) .quick-level-picker a strong{font-size:.95rem!important}
.portal-home:not(.dark) .quick-level-picker a:before{content:"▥";font-size:20px;color:var(--quick-accent);margin-left:4px}
.portal-home:not(.dark) .quick-level-picker a span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px!important;font-size:.78rem;font-weight:950}
.portal-home:not(.dark) .quick-explore-card{position:relative;overflow:hidden}
.portal-home:not(.dark) .quick-explore-card:before{content:"✦";position:absolute;right:20px;top:12px;color:#805ee9;font-size:24px;opacity:.22}
.portal-home:not(.dark) .quick-explore-guide>div{position:relative;padding-left:48px!important;min-height:72px}
.portal-home:not(.dark) .quick-explore-guide>div:before{position:absolute;left:12px;top:15px;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;font-size:17px;font-weight:900}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(1):before{content:"▦";background:#fff0d9;color:#f09a2d}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(2):before{content:"◆";background:#eee7ff;color:#7658e2}
.portal-home:not(.dark) .quick-explore-guide>div:nth-child(3):before{content:"✎";background:#e3faef;color:#20b875}
.portal-home:not(.dark) .quick-explore-links>a:after{content:"›";margin-left:auto;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e7f4ff;color:#1592ed;font-size:25px;font-weight:700}
.portal-home:not(.dark) .portal-levels{position:relative;background:radial-gradient(circle at 3% 42%,rgba(75,192,255,.12),transparent 18%),radial-gradient(circle at 97% 70%,rgba(219,94,235,.10),transparent 18%)}
.portal-home:not(.dark) .portal-levels:before,.portal-home:not(.dark) .portal-levels:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;filter:blur(2px);pointer-events:none}
.portal-home:not(.dark) .portal-levels:before{left:-55px;top:42px;background:rgba(76,178,255,.13)}
.portal-home:not(.dark) .portal-levels:after{right:-52px;bottom:10px;background:rgba(220,95,233,.11)}
.portal-home:not(.dark) .level-grid-rich .level-card{min-height:220px!important;overflow:hidden!important}
.portal-home:not(.dark) .level-grid-rich .level-card:after{display:block!important}
.portal-home:not(.dark) .level-card:before{height:4px!important;left:0!important;right:0!important;border-radius:18px 18px 0 0!important;background:linear-gradient(90deg,var(--level-accent),color-mix(in srgb,var(--level-accent) 25%,#fff))!important;opacity:.9!important}
.portal-home:not(.dark) .level-card h3:before{content:"◆";display:inline-block;margin-right:8px;color:var(--level-accent);font-size:.82rem}
.portal-home:not(.dark) .level-card .level-cta{color:#fff!important;background:var(--level-accent)!important;padding:9px 14px!important;border-radius:999px!important;box-shadow:0 7px 15px color-mix(in srgb,var(--level-accent) 24%,transparent)!important}
.portal-home:not(.dark) .level-card:after{background:var(--level-accent)!important;opacity:.075!important}

/* Cache 143: compact Quick Play to match the reference instead of enlarging it */
@media(min-width:901px){
.portal-home:not(.dark) .quick-play-control-card{grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr)!important;grid-template-areas:"label explore" "copy explore" "levels explore"!important;min-height:0!important;padding:14px 16px!important;gap:8px 16px!important}
.portal-home:not(.dark) .quick-choice-label{align-self:end!important}
.portal-home:not(.dark) .quick-play-control-card>p{align-self:start!important}
.portal-home:not(.dark) .quick-level-picker{align-self:end!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.portal-home:not(.dark) .quick-level-picker a{min-height:62px!important;padding:9px 12px!important;border-radius:14px!important}
.portal-home:not(.dark) .quick-level-picker a span{width:34px!important;height:34px!important}
.portal-home:not(.dark) .quick-level-picker a:before{font-size:17px!important}
.portal-home:not(.dark) .quick-explore-card{padding:12px!important;gap:6px!important;border-radius:15px!important}
.portal-home:not(.dark) .quick-explore-guide{gap:7px!important}
.portal-home:not(.dark) .quick-explore-guide>div{min-height:60px!important;padding:9px 8px 9px 43px!important}
.portal-home:not(.dark) .quick-explore-guide>div:before{top:11px!important}
.portal-home:not(.dark) .quick-explore-links{gap:6px!important}
.portal-home:not(.dark) .quick-explore-links>a{min-height:58px!important;padding:6px 9px!important}
.portal-home:not(.dark) .quick-play-control-card:after{width:52px!important;height:52px!important;right:54px!important;top:42px!important;font-size:30px!important}
}

/* Cache 144: rebuild upper Quick Play composition to the approved reference */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide{padding:18px 20px!important}
.portal-home:not(.dark) .quick-play-control-card{grid-template-columns:minmax(0,1.55fr) minmax(520px,.95fr)!important;grid-template-areas:"label explore" "copy explore" "levels explore"!important;padding:16px 18px!important}
.portal-home:not(.dark) .quick-level-picker{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.portal-home:not(.dark) .quick-level-picker a{display:grid!important;grid-template-columns:46px 28px minmax(0,1fr) 32px!important;align-items:center!important;gap:9px!important;min-height:78px!important;padding:10px 12px!important}
.portal-home:not(.dark) .quick-level-picker a span{width:46px!important;height:46px!important;border-radius:13px!important;color:#fff!important;background:linear-gradient(145deg,color-mix(in srgb,var(--quick-accent) 70%,#fff),var(--quick-accent))!important;box-shadow:0 7px 15px color-mix(in srgb,var(--quick-accent) 18%,transparent)!important}
.portal-home:not(.dark) .quick-level-picker a:before{content:"▂▄▆"!important;margin:0!important;font-size:17px!important;letter-spacing:-3px!important;color:var(--quick-accent)!important}
.portal-home:not(.dark) .quick-level-picker a .quick-signal{display:none!important}
.portal-home:not(.dark) .quick-level-picker a div{min-width:0}
.portal-home:not(.dark) .quick-level-picker a strong{display:block!important;font-size:.9rem!important;color:#10244d!important}
.portal-home:not(.dark) .quick-level-picker a small{display:block!important;margin-top:3px;color:#667897!important;font-size:.66rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-home:not(.dark) .quick-level-picker a:after{margin-left:0!important;width:32px!important;height:32px!important;font-size:18px!important}
.portal-home:not(.dark) .quick-explore-card{gap:8px!important;padding:13px!important}
.portal-home:not(.dark) .quick-explore-guide{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.portal-home:not(.dark) .quick-explore-guide>div{min-height:78px!important;padding:10px 9px 9px 46px!important}
.portal-home:not(.dark) .quick-explore-links>a{grid-template-columns:70px 1fr 32px!important;min-height:64px!important;padding:6px 9px!important}
.portal-home:not(.dark) .quick-explore-links>a>span{width:66px!important;height:54px!important;border-radius:9px!important}
.portal-home:not(.dark) .quick-explore-links>a:after{width:30px!important;height:30px!important}
.portal-home:not(.dark) .quick-play-control-card:after{right:34px!important;top:8px!important;width:48px!important;height:48px!important;font-size:28px!important;opacity:.8}
}

/* Cache 145: fill Quick Play dead space and reduce upper panel height */
@media(min-width:901px){
.portal-home:not(.dark) .quick-play-control-card{grid-template-columns:minmax(0,1.55fr) minmax(520px,.95fr)!important;grid-template-rows:auto auto auto!important;align-content:start!important;min-height:0!important;padding:14px 18px!important}
.portal-home:not(.dark) .quick-choice-label{position:relative;min-height:72px!important;display:flex!important;align-items:center!important;padding-left:74px!important;margin:0!important}
.portal-home:not(.dark) .quick-choice-label:before{content:"🎮";position:absolute;left:10px;top:8px;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#fff,#e9f5ff);font-size:31px;box-shadow:0 8px 18px rgba(64,111,181,.13)}
.portal-home:not(.dark) .quick-choice-label:after{content:"✦"!important;position:absolute;right:28px;top:5px;color:#f4b622!important;font-size:22px}
.portal-home:not(.dark) .quick-play-control-card>p{margin:-31px 0 10px 74px!important;max-width:700px!important}
.portal-home:not(.dark) .quick-play-control-card>p:after{content:"";position:absolute;right:22px;top:14px;width:126px;height:78px;border-radius:22px;background:linear-gradient(145deg,rgba(211,240,255,.8),rgba(235,230,255,.85));opacity:.7;z-index:0}
.portal-home:not(.dark) .quick-play-control-card:after{content:"✎"!important;right:52px!important;top:24px!important;width:58px!important;height:58px!important;font-size:34px!important;z-index:1!important;background:linear-gradient(145deg,#dff4ff,#eee9ff)!important}
.portal-home:not(.dark) .quick-play-control-card:before{right:118px!important;top:18px!important;z-index:2!important}
.portal-home:not(.dark) .quick-level-picker{margin-top:8px!important}
.portal-home:not(.dark) .quick-explore-card{align-self:start!important}
}

/* Cache 146: remove legacy forced Quick Play height and use reference-like compact banner */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card{min-height:0!important;height:auto!important;grid-template-rows:auto auto auto!important;align-items:start!important;align-content:start!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-explore-card{height:auto!important;align-self:start!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label{min-height:54px!important;padding-left:64px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label:before{left:4px!important;top:1px!important;width:48px!important;height:48px!important;font-size:29px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p{margin:-20px 150px 6px 64px!important;min-height:22px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p:after{right:14px!important;top:8px!important;width:118px!important;height:70px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{right:42px!important;top:17px!important;width:52px!important;height:52px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-level-picker{margin-top:6px!important;align-self:start!important}
}

/* Cache 147: enlarge artwork/content inside compact Quick Play banner without increasing its height */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label{min-height:66px!important;padding-left:92px!important;font-size:.9rem!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label:before{left:5px!important;top:-5px!important;width:72px!important;height:72px!important;font-size:44px!important;box-shadow:0 10px 24px rgba(64,111,181,.16)!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label:after{right:150px!important;top:0!important;font-size:27px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p{margin:-24px 220px 2px 92px!important;font-size:.78rem!important;line-height:1.45!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p:after{right:18px!important;top:4px!important;width:190px!important;height:92px!important;border-radius:28px!important;background:radial-gradient(circle at 20% 70%,rgba(107,211,255,.42),transparent 34%),linear-gradient(145deg,rgba(211,240,255,.95),rgba(235,230,255,.96))!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{right:55px!important;top:7px!important;width:92px!important;height:92px!important;font-size:57px!important;border-radius:25px!important;box-shadow:0 13px 28px rgba(68,118,188,.17)!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:before{right:155px!important;top:2px!important;font-size:30px!important;letter-spacing:15px!important}
}

/* Cache 148: match the approved compact banner composition */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label{min-height:58px!important;padding-left:62px!important;font-size:.82rem!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label:before{left:2px!important;top:1px!important;width:50px!important;height:50px!important;font-size:29px!important;background:#fff!important;box-shadow:0 7px 18px rgba(64,111,181,.12)!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label:after{content:"✦"!important;right:156px!important;top:3px!important;font-size:20px!important;color:#f3b51e!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p{margin:-23px 210px 5px 62px!important;font-size:.72rem!important;line-height:1.4!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p:after{right:10px!important;top:1px!important;width:188px!important;height:82px!important;border-radius:0!important;background:radial-gradient(circle at 24% 70%,rgba(89,207,245,.30),transparent 32%),radial-gradient(circle at 78% 30%,rgba(145,113,239,.24),transparent 38%)!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{content:"✎"!important;right:37px!important;top:0!important;width:104px!important;height:82px!important;font-size:55px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:rotate(-8deg)!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:before{content:"✦  ✦"!important;right:17px!important;top:-2px!important;font-size:21px!important;letter-spacing:80px!important;color:#f4b622!important;opacity:.95!important}
}

/* Cache 149: larger approved banner + explicit Sudoku grid with pencil */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label{min-height:92px!important;padding-left:100px!important;font-size:1rem!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-choice-label:before{left:10px!important;top:7px!important;width:72px!important;height:72px!important;font-size:43px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p{margin:-38px 310px 12px 100px!important;font-size:.84rem!important;line-height:1.5!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p:after{right:24px!important;top:8px!important;width:270px!important;height:112px!important;border-radius:28px!important;background:linear-gradient(90deg,rgba(185,238,255,.22),rgba(225,221,255,.52))!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{content:"1  2  3\A4  5  6\A7  8  9   ✎"!important;white-space:pre!important;right:42px!important;top:10px!important;width:218px!important;height:106px!important;box-sizing:border-box!important;padding:10px 52px 8px 12px!important;display:block!important;border:3px solid #a8c9f2!important;border-radius:13px!important;background:repeating-linear-gradient(90deg,transparent 0 31px,#b9d0ed 31px 33px),repeating-linear-gradient(0deg,transparent 0 31px,#b9d0ed 31px 33px),linear-gradient(145deg,#fff,#edf6ff)!important;color:#7da5dc!important;font:800 17px/31px Arial,sans-serif!important;letter-spacing:5px!important;transform:rotate(-4deg)!important;box-shadow:0 12px 24px rgba(72,120,185,.16)!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:before{content:"✦   ✦   ✦"!important;right:25px!important;top:2px!important;font-size:25px!important;letter-spacing:24px!important;color:#f5b91e!important;z-index:3!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-level-picker{margin-top:10px!important}
}

/* Cache 150: keep Sudoku artwork inside the left banner, never over More to Play */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card{position:relative!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{right:calc(38% + 22px)!important;top:12px!important;width:170px!important;height:100px!important;padding:8px 45px 7px 10px!important;font-size:14px!important;line-height:28px!important;letter-spacing:3px!important;transform:rotate(-4deg)!important;z-index:2!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:before{right:calc(38% + 8px)!important;top:1px!important;font-size:21px!important;letter-spacing:17px!important;z-index:3!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p{margin-right:235px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p:after{right:calc(38% + 5px)!important;top:5px!important;width:215px!important;height:112px!important;z-index:0!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-explore-card{position:relative!important;z-index:5!important}
}

/* Cache 151: use dedicated Sudoku-grid + pencil artwork matching approved reference */
@media(min-width:901px){
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{content:""!important;right:calc(38% + 8px)!important;top:0!important;width:245px!important;height:138px!important;padding:0!important;border:0!important;border-radius:0!important;background:url('/assets/sudoku-pencil-art.svg?v=151') center/contain no-repeat!important;box-shadow:none!important;transform:none!important;z-index:2!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p{margin-right:280px!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card>p:after{display:none!important}
.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:before{display:none!important}
}

/* Cache 152: repaired visible Sudoku pencil artwork */
@media(min-width:901px){.portal-home:not(.dark) .portal-quick-card-wide .quick-play-control-card:after{content:""!important;display:block!important;position:absolute!important;right:calc(38% + 10px)!important;top:0!important;width:260px!important;height:150px!important;background-image:url('/assets/sudoku-pencil-art.svg?v=152')!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;opacity:1!important;visibility:visible!important;z-index:4!important;pointer-events:none!important}}

/* Cache 153: homepage heading rhythm + direct header controls */
.portal-lang-btn{width:auto!important;min-width:72px!important;padding:0 10px!important;gap:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.portal-lang-btn .lang-flag{font-size:18px;line-height:1}.portal-lang-btn .lang-code{font-size:11px;font-weight:900;letter-spacing:.04em}
.portal-theme-btn{font-size:18px!important}
.portal-home .portal-section h2,.portal-home .learn-promo-copy h2{font-size:clamp(1.7rem,3vw,2.65rem)!important;line-height:1.12!important;letter-spacing:-.025em!important;text-wrap:balance;max-width:20ch}
.portal-home .learn-promo-copy h2{font-size:clamp(1.65rem,2.65vw,2.35rem)!important;max-width:22ch}
.portal-home .section-head h2{font-size:clamp(1.75rem,3vw,2.55rem)!important;line-height:1.14!important;text-wrap:balance}
html[dir="rtl"] .portal-home .portal-section h2,html[dir="rtl"] .portal-home .learn-promo-copy h2{font-size:clamp(1.55rem,2.5vw,2.15rem)!important;line-height:1.32!important;letter-spacing:0!important;max-width:24ch}
html[dir="rtl"] .portal-home .section-head h2{font-size:clamp(1.55rem,2.6vw,2.15rem)!important;line-height:1.32!important;letter-spacing:0!important}
.portal-home .portal-hero h1{line-height:1.08!important;text-wrap:balance}html[dir="rtl"] .portal-home .portal-hero h1{line-height:1.25!important;letter-spacing:0!important}
@media(max-width:700px){.portal-lang-btn{min-width:62px!important;padding:0 8px!important}.portal-home .portal-section h2,.portal-home .learn-promo-copy h2,.portal-home .section-head h2{font-size:clamp(1.45rem,7vw,1.9rem)!important;line-height:1.18!important}html[dir="rtl"] .portal-home .portal-section h2,html[dir="rtl"] .portal-home .learn-promo-copy h2,html[dir="rtl"] .portal-home .section-head h2{font-size:clamp(1.35rem,6.3vw,1.75rem)!important;line-height:1.34!important}}

/* Cache 153b: recognizable, working share control */
.share-icon-svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.portal-share-btn.share-success,.global-site-header .gsh-share.share-success{color:#16845f!important;background:#e9fff7!important;border-color:#a6e3cf!important;font-weight:900!important}

/* Cache 155: browser-independent flag assets */
.portal-lang-btn .lang-flag,.global-site-header .gsh-flag{width:22px!important;height:15px!important;display:block!important;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(20,40,70,.10)}

/* Cache 156: centered share icon + share targets menu */
.portal-share-btn,.global-site-header .gsh-share{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}
.portal-share-btn .share-icon-svg,.global-site-header .gsh-share .share-icon-svg{margin:auto!important;position:static!important;transform:none!important}
.web-share-menu{position:fixed;z-index:99999;display:grid;gap:6px;padding:10px;background:var(--portal-surface,#fff);color:var(--portal-text,#17233b);border:1px solid var(--portal-line,#dfe7f3);border-radius:14px;box-shadow:0 16px 38px rgba(23,35,59,.18)}
.web-share-menu .web-share-status{display:block;padding:4px 6px 8px;font-size:12px;text-align:center}
.web-share-menu a{display:flex;align-items:center;min-height:38px;padding:0 12px;border-radius:10px;text-decoration:none;color:inherit;background:color-mix(in srgb,var(--portal-surface,#fff) 86%,#eaf2ff);font-weight:800;font-size:13px}
.web-share-menu a:hover{background:color-mix(in srgb,var(--portal-surface,#fff) 70%,#dbe9ff)}
.portal-home.dark .web-share-menu,body.dark .web-share-menu{background:#1f2839;color:#f2f6ff;border-color:#46536a}

/* Cache 157: cross-browser language alignment + share menu controls */
.portal-controls .portal-lang-btn{box-sizing:border-box!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:34px!important;min-height:34px!important;flex:0 0 72px!important;padding:0 8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;line-height:1!important}
.portal-controls .portal-lang-btn .lang-flag{flex:0 0 22px!important;width:22px!important;height:15px!important;margin:0!important}.portal-controls .portal-lang-btn .lang-code{display:block!important;line-height:1!important;margin:0!important}
.global-site-header .gsh-actions .gsh-lang{box-sizing:border-box!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:36px!important;min-height:36px!important;flex:0 0 72px!important;padding:0 8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;line-height:1!important}
.global-site-header .gsh-actions .gsh-lang .gsh-flag{flex:0 0 22px!important;width:22px!important;height:15px!important;margin:0!important}.global-site-header .gsh-actions .gsh-lang span{display:block!important;line-height:1!important;margin:0!important}
.web-share-menu .web-share-native{min-height:38px;padding:0 12px;border:0;border-radius:10px;background:color-mix(in srgb,var(--portal-surface,#fff) 78%,#dfeaff);color:inherit;font:inherit;font-weight:800;cursor:pointer;text-align:start}
.web-share-menu .web-share-native:hover{background:color-mix(in srgb,var(--portal-surface,#fff) 66%,#d3e4ff)}
@media(max-width:700px){.portal-controls .portal-lang-btn,.global-site-header .gsh-actions .gsh-lang{width:64px!important;min-width:64px!important;max-width:64px!important;flex-basis:64px!important;padding:0 6px!important;gap:5px!important}}

/* Cache 158: gallery/lower section heading balance */
.portal-home .section-head h2{font-size:clamp(2.05rem,3.35vw,2.9rem)!important;line-height:1.1!important;letter-spacing:-.025em!important}
html[dir="rtl"] .portal-home .section-head h2{font-size:clamp(1.85rem,3vw,2.55rem)!important;line-height:1.28!important;letter-spacing:0!important}
@media(max-width:700px){.portal-home .section-head h2{font-size:clamp(1.7rem,7.5vw,2.15rem)!important}.portal-home[dir="rtl"] .section-head h2,html[dir="rtl"] .portal-home .section-head h2{font-size:clamp(1.55rem,7vw,2rem)!important;line-height:1.32!important}}

/* Cache 159: homepage controls match the in-game header sizing */
.portal-home .portal-controls .portal-icon-btn{box-sizing:border-box!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;flex:0 0 36px!important}
.portal-home .portal-controls .portal-lang-btn{width:72px!important;min-width:72px!important;max-width:72px!important;height:36px!important;min-height:36px!important;flex:0 0 72px!important;padding:0 8px!important;gap:6px!important}
.portal-home .portal-controls .portal-lang-btn .lang-flag{width:22px!important;height:15px!important;flex:0 0 22px!important}
.portal-home .portal-controls .portal-lang-btn .lang-code{font-size:11px!important;font-weight:900!important;line-height:1!important}
@media(max-width:620px){.portal-home .portal-controls .portal-icon-btn{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important}.portal-home .portal-controls .portal-lang-btn{width:64px!important;min-width:64px!important;max-width:64px!important;height:34px!important;min-height:34px!important;flex-basis:64px!important;padding:0 6px!important;gap:5px!important}}

/* Cache 160b: give the Microsoft badge eyebrow a touch more breathing room */
.portal-store-merged-card.windows .store-copy small,.portal-download-store-card .windows-mark + .store-copy small{margin-bottom:2px!important}

/* Cache 166: attention CTA with rotating multi-color glow */
.hero-play-first .hero-web-play-cta{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
  animation:sudokuHeroMultiGlow 1.65s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::before,
.hero-play-first .hero-web-play-cta::after{
  content:""!important;
  position:absolute!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  z-index:-1!important;
}
.hero-play-first .hero-web-play-cta::before{
  inset:-3px!important;
  padding:2px!important;
  background:linear-gradient(90deg,#3b82f6,#22d3ee,#8b5cf6,#ec4899,#f59e0b,#3b82f6)!important;
  background-size:300% 100%!important;
  opacity:.9!important;
  filter:blur(1.5px)!important;
  animation:sudokuHeroColorSweep 2.2s linear infinite!important;
}
.hero-play-first .hero-web-play-cta::after{
  inset:-12px!important;
  background:linear-gradient(90deg,rgba(59,130,246,.72),rgba(34,211,238,.66),rgba(139,92,246,.72),rgba(236,72,153,.62),rgba(245,158,11,.62),rgba(59,130,246,.72))!important;
  background-size:300% 100%!important;
  opacity:.78!important;
  filter:blur(18px)!important;
  animation:sudokuHeroColorSweep 2.2s linear infinite,sudokuHeroHaloPulse 1.05s ease-in-out infinite!important;
}
@keyframes sudokuHeroMultiGlow{
  0%,100%{box-shadow:0 10px 26px rgba(59,130,246,.42),0 0 24px rgba(59,130,246,.34)}
  25%{box-shadow:0 10px 28px rgba(34,211,238,.44),0 0 30px rgba(34,211,238,.42)}
  50%{box-shadow:0 10px 30px rgba(139,92,246,.46),0 0 34px rgba(139,92,246,.44)}
  75%{box-shadow:0 10px 30px rgba(236,72,153,.44),0 0 32px rgba(236,72,153,.40)}
}
@keyframes sudokuHeroColorSweep{0%{background-position:0% 50%}100%{background-position:300% 50%}}
@keyframes sudokuHeroHaloPulse{0%,100%{transform:scale(.98);opacity:.62}50%{transform:scale(1.08);opacity:.9}}
.hero-play-first .hero-web-play-cta:hover{transform:translateY(-2px) scale(1.035)!important}
@media(prefers-reduced-motion:reduce){
  .hero-play-first .hero-web-play-cta,.hero-play-first .hero-web-play-cta::before,.hero-play-first .hero-web-play-cta::after{animation:none!important}
  .hero-play-first .hero-web-play-cta{box-shadow:0 10px 30px rgba(59,130,246,.42),0 0 26px rgba(139,92,246,.35)!important}
}

/* Cache 168: breathing CTA — motion attracts attention without a constant heavy glow */
.hero-play-first .hero-web-play-cta{
  overflow:hidden!important;
  transform-origin:center!important;
  box-shadow:0 7px 18px rgba(46,111,226,.20)!important;
  animation:sudokuHeroBreath 1.75s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.08) 40%,rgba(255,255,255,.72) 50%,rgba(255,255,255,.10) 60%,transparent 75%)!important;
  transform:translateX(-135%)!important;
  opacity:0!important;
  filter:none!important;
  animation:sudokuHeroShine 2.45s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::after{
  content:""!important;
  position:absolute!important;
  inset:1px!important;
  border-radius:inherit!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:transparent!important;
  opacity:0!important;
  filter:none!important;
  animation:none!important;
}
@keyframes sudokuHeroBreath{
  0%,100%{
    transform:scale(1);
    box-shadow:0 7px 18px rgba(59,130,246,.18),0 0 0 rgba(59,130,246,0);
  }
  24%{
    transform:scale(1.018);
    box-shadow:0 9px 22px rgba(34,211,238,.28),0 0 14px rgba(34,211,238,.18);
  }
  48%{
    transform:scale(1.028);
    box-shadow:0 10px 24px rgba(139,92,246,.30),0 0 18px rgba(139,92,246,.22);
  }
  72%{
    transform:scale(1.018);
    box-shadow:0 9px 22px rgba(236,72,153,.24),0 0 14px rgba(236,72,153,.16);
  }
}
@keyframes sudokuHeroShine{
  0%,28%{transform:translateX(-135%);opacity:0}
  38%{opacity:.72}
  58%{transform:translateX(135%);opacity:.42}
  62%,100%{transform:translateX(135%);opacity:0}
}
.hero-play-first .hero-web-play-cta:hover{
  animation-play-state:paused!important;
  transform:translateY(-1px) scale(1.02)!important;
  box-shadow:0 10px 24px rgba(59,130,246,.30),0 0 16px rgba(59,130,246,.18)!important;
}
@media(prefers-reduced-motion:reduce){
  .hero-play-first .hero-web-play-cta,
  .hero-play-first .hero-web-play-cta::before,
  .hero-play-first .hero-web-play-cta::after{animation:none!important}
  .hero-play-first .hero-web-play-cta{transform:none!important;box-shadow:0 8px 20px rgba(59,130,246,.22)!important}
  .hero-play-first .hero-web-play-cta::before{display:none!important}
}

/* Cache 169: obvious CTA motion with a soft breathing glow, never a permanent halo */
.hero-play-first .hero-web-play-cta{
  overflow:hidden!important;
  will-change:transform,box-shadow!important;
  animation:sudokuHeroAttention 2.65s cubic-bezier(.4,0,.2,1) infinite!important;
}
.hero-play-first .hero-web-play-cta::before{
  display:block!important;
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  z-index:1!important;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.05) 36%,rgba(255,255,255,.62) 50%,rgba(255,255,255,.07) 64%,transparent 80%)!important;
  transform:translateX(-150%)!important;
  opacity:0!important;
  animation:sudokuHeroSweep 2.65s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::after{display:none!important}
@keyframes sudokuHeroAttention{
  0%,52%,100%{
    transform:translateY(0) scale(1);
    box-shadow:0 7px 18px rgba(47,112,231,.17),0 0 0 0 rgba(47,145,233,0);
  }
  60%{
    transform:translateY(-2px) scale(1.025);
    box-shadow:0 9px 21px rgba(34,211,238,.25),0 0 10px rgba(34,211,238,.12);
  }
  68%{
    transform:translateY(-3px) scale(1.045);
    box-shadow:0 11px 25px rgba(139,92,246,.30),0 0 18px rgba(139,92,246,.20);
  }
  76%{
    transform:translateY(-1px) scale(1.018);
    box-shadow:0 9px 21px rgba(236,72,153,.22),0 0 11px rgba(236,72,153,.12);
  }
  84%{
    transform:translateY(0) scale(1);
    box-shadow:0 7px 18px rgba(47,112,231,.17),0 0 0 0 rgba(47,145,233,0);
  }
}
@keyframes sudokuHeroSweep{
  0%,54%{transform:translateX(-150%);opacity:0}
  60%{opacity:.18}
  70%{opacity:.75}
  82%{transform:translateX(150%);opacity:.18}
  86%,100%{transform:translateX(150%);opacity:0}
}
.hero-play-first .hero-web-play-cta:hover{
  animation-play-state:paused!important;
  transform:translateY(-2px) scale(1.025)!important;
  box-shadow:0 10px 24px rgba(47,112,231,.28),0 0 14px rgba(47,145,233,.14)!important;
}

/* Cache 171: pastel homepage shortcut cards (6 levels / 6 modes / 19 lessons) */
.hero-play-first .hero-web-shortcuts a:nth-child(1){
  background:linear-gradient(145deg,#f2f6ff,#e7efff)!important;
  border-color:#c8d8ff!important;
  box-shadow:0 6px 16px rgba(74,111,190,.08)!important;
}
.hero-play-first .hero-web-shortcuts a:nth-child(2){
  background:linear-gradient(145deg,#f4fbf7,#e5f6ee)!important;
  border-color:#c4e7d5!important;
  box-shadow:0 6px 16px rgba(52,134,94,.08)!important;
}
.hero-play-first .hero-web-shortcuts a:nth-child(3){
  background:linear-gradient(145deg,#fff8f1,#fff0df)!important;
  border-color:#f2d4b5!important;
  box-shadow:0 6px 16px rgba(190,119,49,.08)!important;
}
.hero-play-first .hero-web-shortcuts a:nth-child(1) strong{color:#4769b8!important}
.hero-play-first .hero-web-shortcuts a:nth-child(2) strong{color:#3a8a62!important}
.hero-play-first .hero-web-shortcuts a:nth-child(3) strong{color:#b87837!important}
.hero-play-first .hero-web-shortcuts a:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 9px 20px rgba(40,66,110,.12)!important;
}
.portal-home.dark .hero-play-first .hero-web-shortcuts a:nth-child(1){background:linear-gradient(145deg,#2f3a56,#33425f)!important;border-color:#53668f!important}
.portal-home.dark .hero-play-first .hero-web-shortcuts a:nth-child(2){background:linear-gradient(145deg,#2b4238,#314d40)!important;border-color:#4e745f!important}
.portal-home.dark .hero-play-first .hero-web-shortcuts a:nth-child(3){background:linear-gradient(145deg,#4a392d,#554131)!important;border-color:#7a614b!important}
.portal-home.dark .hero-play-first .hero-web-shortcuts a strong{color:#f7f9ff!important}

/* Cache 172: clear play cue — animated button, expanding ring, and a visible click badge */
.hero-play-first .hero-web-play-cta{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
  animation:sudokuCtaNudge 2.5s cubic-bezier(.4,0,.2,1) infinite!important;
  box-shadow:0 8px 19px rgba(47,112,231,.20)!important;
}
.hero-play-first .hero-web-play-cta::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-5px!important;
  border:2px solid rgba(75,126,241,.58)!important;
  border-radius:15px!important;
  background:transparent!important;
  filter:none!important;
  z-index:-1!important;
  opacity:0!important;
  pointer-events:none!important;
  animation:sudokuCtaRing 2.5s ease-out infinite!important;
}
.hero-play-first .hero-web-play-cta::after{
  content:"CLICK TO PLAY ↓"!important;
  display:block!important;
  position:absolute!important;
  top:-25px!important;
  right:8px!important;
  left:auto!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#fff3b8!important;
  border:1px solid #f1d16a!important;
  color:#735b05!important;
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  white-space:nowrap!important;
  box-shadow:0 5px 12px rgba(118,91,5,.14)!important;
  opacity:1!important;
  filter:none!important;
  z-index:4!important;
  pointer-events:none!important;
  animation:sudokuCtaBadge 2.5s ease-in-out infinite!important;
}
html[dir="rtl"] .hero-play-first .hero-web-play-cta::after{
  content:"اضغط للعب ↓"!important;
  right:auto!important;
  left:8px!important;
  letter-spacing:0!important;
}
@keyframes sudokuCtaNudge{
  0%,46%,100%{transform:translateY(0) scale(1)}
  54%{transform:translateY(-2px) scale(1.025)}
  62%{transform:translateY(-3px) scale(1.045)}
  70%{transform:translateY(-1px) scale(1.02)}
  78%{transform:translateY(0) scale(1)}
}
@keyframes sudokuCtaRing{
  0%,48%{opacity:0;transform:scale(.97)}
  56%{opacity:.55;transform:scale(1)}
  76%{opacity:.14;transform:scale(1.11)}
  82%,100%{opacity:0;transform:scale(1.15)}
}
@keyframes sudokuCtaBadge{
  0%,45%,100%{transform:translateY(0);opacity:.9}
  56%{transform:translateY(-4px);opacity:1}
  66%{transform:translateY(1px);opacity:1}
  74%{transform:translateY(-2px);opacity:1}
  82%{transform:translateY(0);opacity:.9}
}

/* Cache 173: clean primary CTA attention — no badge/bubble, just a tasteful pulse + shimmer */
.hero-play-first .hero-web-play-cta{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:linear-gradient(120deg,#4660df 0%,#2f91e9 48%,#5b6ee1 100%)!important;
  background-size:180% 100%!important;
  animation:sudokuCtaCleanPulse 2.35s ease-in-out infinite!important;
  box-shadow:0 8px 18px rgba(51,92,210,.20)!important;
}
.hero-play-first .hero-web-play-cta::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  border:0!important;
  border-radius:inherit!important;
  background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.06) 38%,rgba(255,255,255,.52) 50%,rgba(255,255,255,.08) 62%,transparent 75%)!important;
  z-index:1!important;
  pointer-events:none!important;
  opacity:0!important;
  transform:translateX(-135%)!important;
  filter:none!important;
  animation:sudokuCtaCleanShimmer 2.35s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::after{display:none!important;content:none!important}
@keyframes sudokuCtaCleanPulse{
  0%,48%,100%{transform:translateY(0) scale(1);background-position:0% 50%;box-shadow:0 8px 18px rgba(51,92,210,.20)}
  58%{transform:translateY(-1px) scale(1.018);box-shadow:0 9px 22px rgba(47,145,233,.28),0 0 9px rgba(47,145,233,.12)}
  68%{transform:translateY(-2px) scale(1.034);background-position:100% 50%;box-shadow:0 11px 25px rgba(91,110,225,.32),0 0 15px rgba(91,110,225,.16)}
  80%{transform:translateY(0) scale(1);box-shadow:0 8px 18px rgba(51,92,210,.20)}
}
@keyframes sudokuCtaCleanShimmer{
  0%,52%{opacity:0;transform:translateX(-135%)}
  60%{opacity:.35}
  72%{opacity:.65}
  84%{opacity:0;transform:translateX(135%)}
  100%{opacity:0;transform:translateX(135%)}
}

/* Cache 174: primary play CTA — breathing glow, no badge, with clear space from phone art */
.hero-play-first .hero-web-play-cta{
  transform:none!important;
  margin-inline-end:24px!important;
  width:calc(100% - 24px)!important;
  overflow:hidden!important;
  background:linear-gradient(118deg,#4864e6 0%,#2f91e9 46%,#5c6ee6 100%)!important;
  background-size:180% 100%!important;
  animation:sudokuCtaGlowBreath 1.85s ease-in-out infinite!important;
  box-shadow:0 8px 18px rgba(50,91,205,.20)!important;
}
.hero-play-first .hero-web-play-cta::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  border:0!important;
  background:linear-gradient(108deg,transparent 24%,rgba(255,255,255,.08) 39%,rgba(255,255,255,.62) 50%,rgba(255,255,255,.10) 61%,transparent 76%)!important;
  opacity:0!important;
  transform:translateX(-145%)!important;
  pointer-events:none!important;
  z-index:1!important;
  filter:none!important;
  animation:sudokuCtaGlowSweep 3.05s ease-in-out infinite!important;
}
.hero-play-first .hero-web-play-cta::after{display:none!important;content:none!important}
@keyframes sudokuCtaGlowBreath{
  0%,100%{
    background-position:0% 50%;
    box-shadow:0 8px 18px rgba(50,91,205,.18),0 0 0 rgba(47,145,233,0);
    filter:brightness(1);
  }
  35%{
    box-shadow:0 9px 21px rgba(47,145,233,.27),0 0 10px rgba(34,211,238,.14);
    filter:brightness(1.025);
  }
  58%{
    background-position:100% 50%;
    box-shadow:0 11px 25px rgba(91,110,230,.35),0 0 22px rgba(99,102,241,.24),0 0 36px rgba(34,211,238,.10);
    filter:brightness(1.07);
  }
  78%{
    box-shadow:0 9px 21px rgba(47,145,233,.25),0 0 12px rgba(139,92,246,.13);
    filter:brightness(1.02);
  }
}
@keyframes sudokuCtaGlowSweep{
  0%,50%{opacity:0;transform:translateX(-145%)}
  59%{opacity:.25}
  69%{opacity:.72}
  79%{opacity:.20;transform:translateX(145%)}
  82%,100%{opacity:0;transform:translateX(145%)}
}
@media(min-width:901px) and (max-width:1199px){
  .hero-play-first .hero-web-play-cta{margin-inline-end:18px!important;width:calc(100% - 18px)!important}
}
@media(max-width:900px){
  .hero-play-first .hero-web-play-cta{margin-inline-end:0!important;width:100%!important}
}

/* ===== Cache 175: mobile homepage responsive repair ===== */
@media(max-width:720px){
  html,body{max-width:100%;overflow-x:hidden}
  body.portal-home .site-shell{min-width:0!important}
  .portal-home .portal-section,
  .portal-home .portal-quick-play-section{overflow:hidden}

  /* Variant cards: icon gets its own small column and can never cover the text. */
  .portal-home .variant-grid-rich{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .portal-home .variant-card-rich{
    min-height:0!important;
    padding:13px!important;
    border-radius:17px!important;
    overflow:hidden!important;
  }
  .portal-home .variant-card-head{
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    gap:11px!important;
    align-items:start!important;
  }
  .portal-home .variant-card-head>div:last-child{
    min-width:0!important;
    width:auto!important;
  }
  .portal-home .variant-card-head h3{
    margin:1px 0 4px!important;
    font-size:1.02rem!important;
    line-height:1.18!important;
    overflow-wrap:anywhere;
  }
  .portal-home .variant-card-head p{
    margin:0!important;
    min-height:0!important;
    font-size:.73rem!important;
    line-height:1.38!important;
    overflow-wrap:anywhere;
  }
  .portal-home .variant-thumb{
    width:56px!important;
    height:48px!important;
    min-width:56px!important;
    margin:0!important;
    border-width:2px!important;
    border-radius:10px!important;
    overflow:hidden!important;
    transform:none!important;
  }
  .portal-home .thumb-jigsaw:before{
    left:3px!important;top:3px!important;width:23px!important;height:27px!important;
    border-width:2px!important;border-radius:7px 12px 6px 11px!important;
  }
  .portal-home .thumb-jigsaw:after{
    right:3px!important;bottom:3px!important;width:25px!important;height:24px!important;
    border-width:2px!important;border-radius:12px 6px 10px 6px!important;
  }
  .portal-home .thumb-jigsaw i:nth-child(1){
    left:19px!important;top:11px!important;width:18px!important;height:24px!important;
    border-width:2px!important;border-radius:10px 6px 9px 5px!important;
  }
  .portal-home .thumb-killer i:first-child{
    left:3px!important;top:4px!important;width:26px!important;height:20px!important;
    border-width:2px!important;border-radius:6px!important;
  }
  .portal-home .thumb-killer i:last-child{
    right:3px!important;bottom:3px!important;width:26px!important;height:21px!important;
    border-width:2px!important;border-radius:6px!important;
  }
  .portal-home .thumb-killer:after{
    left:5px!important;top:5px!important;font-size:7px!important;
  }
  .portal-home .thumb-sandwich{
    margin:0!important;
    overflow:hidden!important;
  }
  .portal-home .thumb-sandwich:before{
    left:2px!important;top:20px!important;font-size:8px!important;
  }
  .portal-home .thumb-sandwich:after{
    right:8px!important;top:2px!important;font-size:8px!important;
  }
  .portal-home .thumb-sandwich i:first-child::after{
    left:12px!important;top:24px!important;font-size:8px!important;
  }
  .portal-home .thumb-sandwich i:last-child::after{
    right:12px!important;top:24px!important;font-size:8px!important;
  }
  .portal-home .variant-levels{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    margin-top:11px!important;
    padding-top:0!important;
  }
  .portal-home .variant-levels a{
    min-height:36px!important;
    padding:6px 4px!important;
    border-radius:9px!important;
    font-size:.67rem!important;
    line-height:1.1!important;
  }

  /* Quick Play: remove desktop artwork that was sitting over copy on narrow screens. */
  .portal-home .portal-quick-play-section{
    padding:5px 7px 15px!important;
  }
  .portal-home .portal-quick-card-wide{
    padding:10px!important;
    border-radius:18px!important;
  }
  .portal-home .quick-head{
    margin-bottom:8px!important;
    gap:7px!important;
  }
  .portal-home .quick-head h2{
    font-size:1rem!important;
    line-height:1.2!important;
  }
  .portal-home .live-dot{
    font-size:.58rem!important;
    padding:5px 7px!important;
  }
  .portal-home .quick-play-control-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"label" "copy" "levels" "explore"!important;
    gap:8px!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:12px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  .portal-home .quick-play-control-card:before,
  .portal-home .quick-play-control-card:after,
  .portal-home .quick-play-control-card>p:after{
    display:none!important;
    content:none!important;
  }
  .portal-home .quick-choice-label{
    grid-area:label!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    font-size:.88rem!important;
    line-height:1.3!important;
  }
  .portal-home .quick-choice-label:before,
  .portal-home .quick-choice-label:after{
    display:none!important;
    content:none!important;
  }
  .portal-home .quick-play-control-card>p{
    grid-area:copy!important;
    margin:0 0 3px!important;
    padding:0!important;
    min-height:0!important;
    max-width:none!important;
    font-size:.73rem!important;
    line-height:1.45!important;
    overflow-wrap:anywhere;
  }
  .portal-home .quick-level-picker{
    grid-area:levels!important;
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:1px 0 0!important;
  }
  .portal-home .quick-level-picker a{
    display:grid!important;
    grid-template-columns:20px 31px minmax(0,1fr)!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
    min-height:52px!important;
    height:auto!important;
    padding:7px 8px!important;
    border-radius:13px!important;
  }
  .portal-home .quick-level-picker a:before{
    margin:0!important;
    font-size:14px!important;
    letter-spacing:-3px!important;
  }
  .portal-home .quick-level-picker a span{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    border-radius:10px!important;
    font-size:.7rem!important;
  }
  .portal-home .quick-level-picker a div{min-width:0!important}
  .portal-home .quick-level-picker a strong{
    display:block!important;
    font-size:.73rem!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .portal-home .quick-level-picker a small,
  .portal-home .quick-level-picker a .quick-signal,
  .portal-home .quick-level-picker a:after{
    display:none!important;
    content:none!important;
  }
  .portal-home .quick-explore-card{
    grid-area:explore!important;
    min-width:0!important;
    height:auto!important;
    margin-top:3px!important;
    padding:11px!important;
    gap:7px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .portal-home .quick-explore-card:before{display:none!important;content:none!important}
  .portal-home .quick-explore-card>strong{
    font-size:.9rem!important;
    line-height:1.2!important;
  }
  .portal-home .quick-explore-description{
    max-width:none!important;
    font-size:.68rem!important;
    line-height:1.42!important;
  }
  .portal-home .quick-explore-guide{
    grid-template-columns:1fr!important;
    gap:5px!important;
    margin:1px 0 3px!important;
  }
  .portal-home .quick-explore-guide>div{
    min-height:0!important;
    padding:7px 8px 7px 38px!important;
    border-radius:10px!important;
  }
  .portal-home .quick-explore-guide>div:before{
    left:8px!important;top:8px!important;width:23px!important;height:23px!important;font-size:13px!important;
  }
  .portal-home .quick-explore-guide b{font-size:.67rem!important}
  .portal-home .quick-explore-guide span{font-size:.59rem!important;line-height:1.35!important}
  .portal-home .quick-explore-links{
    height:auto!important;
    grid-template-rows:none!important;
    gap:6px!important;
  }
  .portal-home .quick-explore-links>a{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:8px!important;
    min-width:0!important;
    min-height:58px!important;
    height:auto!important;
    padding:6px 7px!important;
    border-radius:10px!important;
  }
  .portal-home .quick-explore-links>a:after{display:none!important;content:none!important}
  .portal-home .quick-explore-links>a>span,
  .portal-home .quick-thumb{
    width:52px!important;
    height:40px!important;
    min-width:52px!important;
    border-radius:7px!important;
  }
  .portal-home .quick-explore-links b{font-size:.7rem!important}
  .portal-home .quick-explore-links small{font-size:.59rem!important;line-height:1.3!important}

  /* The download dock was covering content on phones; downloads remain available in-page. */
  .floating-store-dock{display:none!important}
}

@media(max-width:390px){
  .portal-home .variant-card-rich{padding:12px!important}
  .portal-home .variant-card-head{grid-template-columns:52px minmax(0,1fr)!important;gap:9px!important}
  .portal-home .variant-thumb{width:52px!important;height:45px!important;min-width:52px!important}
  .portal-home .variant-levels a{font-size:.64rem!important}
  .portal-home .quick-play-control-card{padding:10px!important}
  .portal-home .quick-level-picker a{grid-template-columns:18px 29px minmax(0,1fr)!important;padding:6px!important}
  .portal-home .quick-level-picker a span{width:29px!important;height:29px!important;min-width:29px!important}
}

/* ===== Cache 176: tighter mobile homepage typography + card anatomy ===== */
@media(max-width:720px){
  /* Keep the public home genuinely mobile-sized instead of shrinking desktop artwork. */
  .portal-home .portal-quick-play-section,
  .portal-home .portal-levels,
  .portal-home #variants{
    padding-left:7px!important;
    padding-right:7px!important;
  }

  /* Quick Play: remove decorative width pressure so all six level names stay readable. */
  .portal-home .quick-play-control-card{
    padding:10px!important;
    gap:7px!important;
    border-radius:15px!important;
  }
  .portal-home .quick-choice-label{
    font-size:.79rem!important;
    line-height:1.25!important;
  }
  .portal-home .quick-play-control-card>p{
    font-size:.65rem!important;
    line-height:1.4!important;
    margin-bottom:1px!important;
  }
  .portal-home .quick-level-picker{
    gap:6px!important;
  }
  .portal-home .quick-level-picker a{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:7px!important;
    min-height:48px!important;
    padding:6px 8px!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  .portal-home .quick-level-picker a:before,
  .portal-home .quick-level-picker a:after,
  .portal-home .quick-level-picker a .quick-signal{
    display:none!important;
    content:none!important;
  }
  .portal-home .quick-level-picker a span{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    border-radius:9px!important;
    font-size:.66rem!important;
  }
  .portal-home .quick-level-picker a div{
    min-width:0!important;
    width:100%!important;
  }
  .portal-home .quick-level-picker a strong{
    display:block!important;
    width:100%!important;
    font-size:.69rem!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:normal!important;
  }

  /* More to Play already has explicit destination cards; hide the redundant explainer trio on phones. */
  .portal-home .quick-explore-card{
    margin-top:2px!important;
    padding:10px!important;
    gap:5px!important;
  }
  .portal-home .quick-explore-kicker{
    font-size:.54rem!important;
  }
  .portal-home .quick-explore-card>strong{
    font-size:.84rem!important;
  }
  .portal-home .quick-explore-description{
    font-size:.63rem!important;
    line-height:1.38!important;
    margin-bottom:2px!important;
  }
  .portal-home .quick-explore-guide{
    display:none!important;
  }
  .portal-home .quick-explore-links{
    gap:5px!important;
  }
  .portal-home .quick-explore-links>a{
    grid-template-columns:46px minmax(0,1fr)!important;
    min-height:52px!important;
    padding:5px 7px!important;
  }
  .portal-home .quick-explore-links>a>span,
  .portal-home .quick-thumb{
    width:46px!important;
    min-width:46px!important;
    height:36px!important;
  }
  .portal-home .quick-explore-links b{
    font-size:.66rem!important;
  }
  .portal-home .quick-explore-links small{
    font-size:.56rem!important;
    line-height:1.25!important;
  }

  /* Variant cards: reserve a strict icon column and keep all artwork inside it. */
  .portal-home .variant-grid-rich{
    gap:9px!important;
  }
  .portal-home .variant-card-rich{
    padding:11px!important;
    border-radius:16px!important;
  }
  .portal-home .variant-card-head{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
  }
  .portal-home .variant-card-head>div:last-child{
    min-width:0!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
  }
  .portal-home .variant-thumb{
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:42px!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .portal-home .variant-card-head h3{
    margin:0 0 3px!important;
    padding:0!important;
    font-size:.92rem!important;
    line-height:1.12!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .portal-home .variant-card-head p{
    margin:0!important;
    padding:0!important;
    font-size:.64rem!important;
    line-height:1.32!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .portal-home .variant-levels{
    gap:5px!important;
    margin-top:9px!important;
  }
  .portal-home .variant-levels a{
    min-height:34px!important;
    padding:5px 4px!important;
    border-radius:9px!important;
    font-size:.64rem!important;
  }

  /* Scale the custom thumbnail drawings to the new 48x42 mobile frame. */
  .portal-home .thumb-jigsaw:before{
    left:3px!important;top:3px!important;width:20px!important;height:23px!important;
  }
  .portal-home .thumb-jigsaw:after{
    right:3px!important;bottom:3px!important;width:22px!important;height:21px!important;
  }
  .portal-home .thumb-jigsaw i:nth-child(1){
    left:16px!important;top:10px!important;width:17px!important;height:21px!important;
  }
  .portal-home .thumb-killer i:first-child{
    left:3px!important;top:4px!important;width:22px!important;height:17px!important;
  }
  .portal-home .thumb-killer i:last-child{
    right:3px!important;bottom:3px!important;width:22px!important;height:18px!important;
  }
  .portal-home .thumb-killer:after{
    left:5px!important;top:5px!important;font-size:6px!important;
  }

  /* Store dock must never sit over page content on phones. */
  .portal-home .floating-store-dock{
    display:none!important;
  }
}

@media(max-width:390px){
  .portal-home .quick-head h2{font-size:.94rem!important}
  .portal-home .live-dot{font-size:.54rem!important}
  .portal-home .quick-level-picker a{
    grid-template-columns:26px minmax(0,1fr)!important;
    padding:5px 7px!important;
  }
  .portal-home .quick-level-picker a span{
    width:26px!important;height:26px!important;min-width:26px!important;
  }
  .portal-home .quick-level-picker a strong{
    font-size:.65rem!important;
  }
  .portal-home .variant-card-head{
    grid-template-columns:46px minmax(0,1fr)!important;
    gap:9px!important;
  }
  .portal-home .variant-thumb{
    width:46px!important;min-width:46px!important;max-width:46px!important;height:40px!important;
  }
}


/* Cache 176b: preserve the full Grandmaster label even on ~360px phones. */
@media(max-width:390px){
  .portal-home .quick-level-picker a{
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:4px!important;
    padding:5px 6px!important;
  }
  .portal-home .quick-level-picker a span{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    border-radius:8px!important;
    font-size:.61rem!important;
  }
  .portal-home .quick-level-picker a strong{
    font-size:.62rem!important;
    letter-spacing:-.01em!important;
  }
}


/* Cache 178: mobile Quick Play typography wins over theme-specific desktop rules. */
@media(max-width:720px){
  .portal-home:not(.dark) .quick-level-picker a strong,
  .portal-home.dark .quick-level-picker a strong{
    font-size:11px!important;
    line-height:1.08!important;
    letter-spacing:-.01em!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}
@media(max-width:390px){
  .portal-home:not(.dark) .quick-level-picker a strong,
  .portal-home.dark .quick-level-picker a strong{
    font-size:10.5px!important;
  }
}

/* Cache 181: admin-controlled mobile floating store dock. */
@media(max-width:720px){
  .portal-home .floating-store-dock.allow-mobile{
    display:grid!important;
    pointer-events:none!important;
  }
  .portal-home .floating-store-dock.allow-mobile .floating-store{
    pointer-events:auto!important;
  }
}