:root{font-family:Arial,Helvetica,sans-serif;color:#11254d;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.45}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f9ad32;outline-offset:3px}.shell{max-width:1200px;margin:auto;padding-left:26px;padding-right:26px}.site-header{background:#fff;border-bottom:1px solid #e6ebf2;position:relative;z-index:10;box-shadow:0 2px 12px #102b4d08}.header-inner{min-height:78px;display:flex;align-items:center;gap:22px}.brand{font-weight:800;font-size:23px;letter-spacing:-.9px;white-space:nowrap}.brand span:not(.brand-icon){color:#1672cb}.brand-icon{font-size:29px;margin-right:8px}.header-inner nav{display:flex;align-items:center;gap:12px;margin-left:auto}.header-inner nav>a,.nav-dropdown>a{padding:10px 16px;border-radius:25px;font-weight:700;font-size:15px}.header-inner nav a:hover,.header-inner nav a.active{background:#e7f2ff;color:#1163b6}.nav-dropdown{position:relative;display:flex;align-items:center}.dropdown-toggle,.search-toggle,.mobile-toggle{border:0;background:transparent;color:#13366a}.dropdown-toggle{font-size:22px;padding:5px}.dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:170px;padding:9px;background:white;box-shadow:0 9px 28px #1b38612b;border:1px solid #e0e9f6;border-radius:13px}.nav-dropdown.open .dropdown-menu{display:grid}.dropdown-menu a{padding:9px;border-radius:8px}.dropdown-menu a:hover{background:#e7f2ff}.search-toggle{font-size:34px;line-height:1}.mobile-toggle{display:none;font-size:26px}.search-panel{padding-top:16px;padding-bottom:20px}.search-panel label{display:block;font-weight:bold;margin-bottom:8px}.search-panel input{padding:12px 14px;width:100%;border:1px solid #c7d7e8;border-radius:10px}.search-results{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.search-results a{padding:7px 12px;border-radius:20px;background:#e8f3ff}.hero{min-height:345px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:25px;background:linear-gradient(105deg,#fff,#f1f8ff);overflow:hidden}.hero h1{font-size:clamp(34px,4vw,55px);line-height:1.12;margin:0 0 18px;letter-spacing:-1.6px}.hero p{font-size:19px;max-width:460px;margin:0 0 22px}.hero-points{display:flex;flex-wrap:wrap;gap:11px;color:#1764a8;font-size:13px;font-weight:700}.hero-points span{background:white;border:1px solid #d7eafb;border-radius:30px;padding:7px 12px}.hero-art{position:relative;height:305px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 65% 62%,#d5ecff 0%,transparent 67%)}.people{font-size:105px;position:relative;z-index:2;letter-spacing:-24px;filter:drop-shadow(0 10px 12px #527b9e2a)}.laptop{position:absolute;bottom:20px;background:#6689ac;color:#6689ac;border-bottom:13px solid #3f5e7c;border-radius:12px 12px 2px 2px;width:190px;height:110px;z-index:3;text-align:center}.cloud{position:absolute;background:#d5ecff;border-radius:100px}.c1{width:210px;height:110px;right:10px;top:40px}.c2{width:130px;height:90px;left:30px;bottom:40px}.section{padding-top:37px;padding-bottom:50px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.section-heading h2,.more-games h2,.how-to h2{font-size:26px;margin:0}.section-heading>a{color:#0965c1;font-weight:700}.cards{display:grid;gap:20px}.home-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card{border:1px solid #e2eaf4;background:#fff;border-radius:17px;box-shadow:0 4px 12px #203c5a12;padding:12px;display:flex;flex-direction:column;gap:7px;min-width:0;transition:transform .15s,box-shadow .15s}.game-card:not(.soon):hover{transform:translateY(-3px);box-shadow:0 8px 22px #203c5a20}.game-thumb{aspect-ratio:1.5;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.thumb-solitaire{background:linear-gradient(145deg,#098a49,#05602d)}.thumb-memory{background:linear-gradient(135deg,#ac77eb,#6331b1)}.thumb-2048{background:linear-gradient(135deg,#e9ba80,#c9874a)}.thumb-spider{background:linear-gradient(135deg,#c78988,#a44e57)}.thumb-other{background:linear-gradient(135deg,#c5d9ef,#9ab3d5)}.mini-cards{display:flex;gap:5px;align-items:center}.mini-cards b{background:#fff;border-radius:6px;box-shadow:0 4px 8px #0002;width:44px;height:66px;display:grid;place-items:center;font-size:23px;color:#111}.mini-cards b.red{color:#e02637}.mini-cards b:nth-child(2){transform:translateY(-8px)}.mini-tiles{display:grid;grid-template-columns:repeat(2,54px);gap:6px}.mini-tiles b{background:#f6e6c6;border-radius:8px;display:grid;place-items:center;height:54px;font-size:24px;color:#6b492d}.mini-tiles b:nth-child(3){background:#f7a83a;color:white}.mini-tiles b:nth-child(4){background:#f37a31;color:white}.memory-tiles{display:grid;grid-template-columns:repeat(2,59px);gap:7px}.memory-tiles b{background:#e5d4ff;border-radius:8px;height:57px;display:grid;place-items:center;font-size:31px;box-shadow:inset 0 0 0 3px #ffffff6c}.thumb-emoji{font-size:60px}.game-card h3{font-size:19px;margin:4px 2px 0;line-height:1.25}.game-card p{font-size:14px;margin:0 2px 9px;flex:1}.play-button{display:block;text-align:center;background:linear-gradient(#2589e9,#0962b8);color:white;border-radius:10px;padding:10px 12px;font-weight:700;margin-top:auto}.game-card.soon{background:#f8faff;color:#6c7b95;box-shadow:none;border-style:dashed}.game-card.soon .game-thumb{filter:saturate(.55);opacity:.72}.soon-label{align-self:flex-start;font-size:12px;font-weight:800;color:#526b99;background:#e3ebf9;border-radius:30px;padding:6px 11px;margin-top:auto}.benefits{background:#f1f7ff;padding:35px 0}.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;text-align:center}.benefits-grid>div{padding:8px 16px;border-right:1px solid #d8e4f2}.benefits-grid>div:last-child{border:0}.benefits-grid span{font-size:35px}.benefits-grid h3{font-size:17px;margin:9px 0}.benefits-grid p{font-size:14px;margin:0}.footer-full{background:#0b244b;color:white;padding:34px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid h3{font-size:18px;margin:0 0 10px}.footer-grid p{font-size:14px;line-height:1.7}.footer-grid a{display:block;margin:5px 0;font-size:14px}.footer-grid a:hover{text-decoration:underline}.copyright{border-top:1px solid #ffffff40;margin-top:25px;padding-top:15px;text-align:center;font-size:12px}.footer-min{border-top:1px solid #e4eaf2;margin-top:40px;padding-top:22px;padding-bottom:25px;display:flex;justify-content:space-between;gap:12px;color:#62738d;font-size:13px}.footer-min span{display:flex;gap:17px}.footer-min a:hover{text-decoration:underline}.catalog{padding-top:24px;padding-bottom:40px}.catalog section{margin-bottom:34px;scroll-margin-top:20px}.catalog h1,.catalog h2{font-size:26px;margin:0 0 15px;background:#eaf3ff;border-radius:11px;padding:10px 16px}.catalog-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.catalog .game-card h3{font-size:17px}.catalog .game-card{padding:10px}.catalog .game-card p{display:none}.catalog .game-thumb{aspect-ratio:1.55}.play-layout{padding-top:22px;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.game-heading h1{font-size:27px;margin:0}.draw-tabs{display:flex;background:#e8f2ff;padding:4px;border-radius:12px}.draw-tabs button{border:0;background:transparent;padding:9px 16px;border-radius:9px;color:#1b467a;font-weight:700}.draw-tabs button.selected{background:#176fc4;color:#fff}.game-board{background:radial-gradient(ellipse at 50% 30%,#108d4b,#056534);border-radius:17px;padding:18px;color:#fff;min-height:480px;position:relative;overflow:hidden}.board-status{display:flex;justify-content:space-between;font-weight:700;margin-bottom:18px}.board-top{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-bottom:25px}.card-back,.empty-pile,.foundation{height:100px;max-width:73px;width:100%;border-radius:7px;border:2px solid #ffffff65;display:grid;place-items:center;font-size:35px}.card-back{background:repeating-linear-gradient(45deg,#2884d0 0 5px,#1761aa 5px 10px);border:4px solid #fff;color:#d9eaff}.foundation{color:#ffffff80}.board-top .foundation:first-of-type{grid-column:4}.tableau{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;min-height:205px}.tableau-col{position:relative;height:190px}.playing-card{position:absolute;top:var(--offset);left:0;width:min(100%,73px);height:100px;background:white;border-radius:7px;border:1px solid #ccd7e2;color:#101b31;font-weight:800;font-size:21px;padding:6px;box-shadow:0 2px 6px #0002}.playing-card.red{color:#dc2739}.playing-card.face-down{background:repeating-linear-gradient(45deg,#277dcb 0 5px,#185f9c 5px 10px);border:3px solid white}.board-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:12px}.board-controls button{border:0;background:#fff;color:#14416d;border-radius:30px;padding:11px 17px;font-weight:800}.board-toast{text-align:center;font-size:13px;min-height:22px;margin-top:8px}.how-to,.more-games{margin-top:27px}.how-to p{color:#40516b;max-width:760px}.prototype-note{background:#fff5df;border-left:3px solid #e3a832;padding:12px;border-radius:6px;font-size:13px}.recommendation-cards{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:15px}.recommendation-cards .game-card h3{font-size:16px}.recommendation-cards .game-card p{display:none}.ad-slot,.side-ad{display:none}.legal{min-height:65vh;padding-top:35px}.legal section{margin:30px 0}@media(min-width:1440px){.play-layout:has(.side-ad:not([hidden])){grid-template-columns:minmax(0,1fr) 300px}.side-ad:not([hidden]){display:block}}@media(max-width:850px){.header-inner{min-height:68px}.header-inner nav{display:none;position:absolute;left:0;right:0;top:68px;background:white;padding:12px 25px 20px;box-shadow:0 10px 20px #0002;flex-direction:column;align-items:stretch}.header-inner nav.show{display:flex}.nav-dropdown{flex-wrap:wrap}.dropdown-menu{position:static;box-shadow:none;flex-basis:100%}.mobile-toggle{display:block;margin-left:0}.search-toggle{margin-left:auto}.hero{grid-template-columns:1fr 1fr;min-height:290px}.people{font-size:76px}.laptop{width:140px;height:75px}.catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.brand{font-size:19px}.benefits-grid{grid-template-columns:repeat(2,1fr)}.benefits-grid>div:nth-child(2){border:0}}@media(max-width:600px){.shell{padding-left:16px;padding-right:16px}.brand{font-size:17px;letter-spacing:-.6px}.brand-icon{font-size:21px;margin-right:3px}.hero{grid-template-columns:1fr;gap:0;padding-top:28px}.hero h1{font-size:38px}.hero p{font-size:16px}.hero-art{height:190px}.people{font-size:70px}.laptop{height:65px;bottom:7px}.section-heading h2{font-size:22px}.home-cards{grid-template-columns:1fr 1fr;gap:12px}.home-cards .game-card:first-child{grid-column:1/-1}.game-card h3{font-size:16px}.game-card p{font-size:13px}.mini-cards b{width:35px;height:53px;font-size:17px}.mini-tiles{grid-template-columns:repeat(2,40px)}.mini-tiles b{height:40px;font-size:19px}.memory-tiles{grid-template-columns:repeat(2,43px)}.memory-tiles b{height:43px;font-size:23px}.benefits-grid{gap:8px}.benefits-grid>div{padding:8px}.benefits-grid h3{font-size:15px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid>div:first-child{grid-column:1/-1}.footer-min{flex-direction:column;align-items:center}.catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog h1,.catalog h2{font-size:22px}.catalog .game-card h3{font-size:15px}.game-heading h1{font-size:23px}.game-board{padding:9px;min-height:400px}.board-top,.tableau{gap:5px}.card-back,.empty-pile,.foundation{height:70px;font-size:22px}.playing-card{height:72px;font-size:14px;padding:3px}.tableau-col{height:160px}.tableau{min-height:160px}.board-controls button{padding:9px 10px;font-size:12px}.recommendation-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.2 — illustrated assets aligned with the approved v01 design */
.hero-art{background:linear-gradient(120deg,#f3f9ff,#e4f2ff);border-radius:26px;overflow:hidden;display:flex;align-items:stretch;justify-content:center}
.hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.game-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}
.game-card:not(.soon):hover .game-thumb img{transform:scale(1.035)}
.game-card.soon .game-thumb img{filter:saturate(.65);opacity:.75}
@media(max-width:600px){.hero-art{height:205px}.hero-art img{object-position:center 40%}}

/* v0.3: faithful reconstruction of the selected v01 reference image */
:root{font-family:Arial,Helvetica,sans-serif;color:#07183a}
.shell{max-width:1600px;padding-left:58px;padding-right:58px}
.header-inner{min-height:79px;gap:30px}
.brand{font-size:29px;letter-spacing:-1.15px;color:#071533}
.brand span:not(.brand-icon){color:#1266e9}
.brain-brand{display:inline-grid;place-items:center;color:#126ce9;font-size:38px;vertical-align:middle;line-height:1;margin-right:10px}
.header-inner nav{gap:28px;margin-left:auto;margin-right:auto}
.header-inner nav>a,.nav-dropdown>a{font-size:18px;color:#071533;padding:10px 16px}
.header-inner nav a.active{background:linear-gradient(110deg,#0969e5,#4d9eff);color:white;border-radius:26px}
.search-toggle{background:#eef4fc;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;font-size:34px}
.hero-reference{max-width:none;min-height:345px;background:linear-gradient(100deg,#e8f8ff 0%,#e9f8ff 44%,#c7e8f6 100%);overflow:hidden}
.hero-inner{height:345px;position:relative;display:flex;align-items:center}
.hero-copy{position:relative;z-index:2;max-width:760px;padding-left:54px}
.hero-reference h1{font-size:clamp(43px,3.5vw,60px);line-height:1.04;letter-spacing:-2px;margin:0 0 15px;color:#071333;font-weight:800}
.hero-reference p{font-size:24px;line-height:1.35;color:#45536b;margin:0 0 23px}
.hero-points{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:17px;color:#071333;font-weight:600}
.hero-points span{background:none;border:0;padding:0;display:flex;align-items:center;gap:8px}
.hero-points span:before{content:'✓';color:white;font-weight:900;background:#18bf63;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:16px}
.hero-photo{position:absolute;right:0;top:0;bottom:0;width:55%;background:url('assets/hero-reference.webp') center center/cover no-repeat;mask-image:linear-gradient(to right,transparent 0%,black 20%);-webkit-mask-image:linear-gradient(to right,transparent 0%,black 20%)}
.featured-reference{padding-top:20px;padding-bottom:32px}
.featured-reference .section-heading{margin:0 0 20px}
.featured-reference .section-heading h2{font-size:34px;font-weight:800;letter-spacing:-.8px}
.featured-reference .section-heading>a{font-size:20px;color:#0060d6}
.heading-game-icon{font-size:35px;color:#0769de}
.featured-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.featured-image-grid a{display:block;border-radius:23px;overflow:hidden;box-shadow:0 4px 10px #243a5824;transition:transform .15s ease}
.featured-image-grid a:hover{transform:translateY(-3px)}
.featured-image-grid img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:fill}
.benefits-reference{margin-top:24px;border-radius:24px;background:#f1f7fd;display:grid;grid-template-columns:repeat(4,1fr);padding:30px 12px}
.benefits-reference>div{display:flex;align-items:center;gap:18px;padding:0 22px;border-right:1px solid #d0dced}
.benefits-reference>div:last-child{border-right:0}
.benefits-reference h3{font-size:19px;margin:0 0 5px;line-height:1.15}
.benefits-reference p{font-size:17px;color:#485771;margin:0;line-height:1.3}
.benefit-icon{font-size:46px;color:#0869e7;line-height:1}
.benefit-icon.pink{color:#f03a72}
@media(max-width:1100px){.shell{padding-left:28px;padding-right:28px}.hero-copy{padding-left:0}.hero-reference h1{font-size:45px}.hero-reference p{font-size:19px}.hero-photo{width:53%}.header-inner nav{gap:5px}.header-inner nav>a,.nav-dropdown>a{font-size:15px}.brand{font-size:23px}.benefits-reference>div{gap:8px;padding:0 12px}.benefits-reference h3{font-size:15px}.benefits-reference p{font-size:13px}.benefit-icon{font-size:33px}}
@media(max-width:750px){.hero-inner{height:auto;min-height:380px;align-items:flex-start;padding-top:30px;padding-bottom:190px}.hero-reference h1{font-size:39px}.hero-reference p{font-size:17px;max-width:450px}.hero-photo{top:auto;bottom:0;right:0;height:210px;width:75%;mask-image:linear-gradient(to right,transparent,black 15%);-webkit-mask-image:linear-gradient(to right,transparent,black 15%)}.hero-points{font-size:13px;gap:10px}.hero-points span:before{width:18px;height:18px;font-size:12px}.featured-image-grid{grid-template-columns:1fr;gap:14px}.featured-image-grid img{aspect-ratio:2/1}.benefits-reference{grid-template-columns:repeat(2,1fr);gap:18px}.benefits-reference>div:nth-child(2){border:0}.featured-reference .section-heading h2{font-size:24px}.featured-reference .section-heading>a{font-size:14px}.desktop-only{display:none}}
@media(max-width:420px){.shell{padding-left:16px;padding-right:16px}.hero-inner{padding-bottom:165px}.hero-photo{height:180px;width:88%}.hero-reference h1{font-size:34px}.hero-reference p{font-size:16px}.benefits-reference{padding:18px 8px}.benefits-reference>div{padding:0 6px}.benefit-icon{font-size:27px}.benefits-reference h3{font-size:13px}.benefits-reference p{font-size:12px}}

/* v0.4 — desktop hero alignment and reference-style icons */
body[data-page="home"] .shell{max-width:1580px}
.hero.hero-reference{display:block;position:relative;min-height:350px;background:linear-gradient(105deg,#e8f7ff 0%,#e8f7ff 48%,#c8e9f7 100%)}
.hero-reference .hero-inner{height:350px;display:flex;align-items:center;position:relative;z-index:1}
.hero-reference .hero-copy{width:49%;max-width:700px;padding-left:0;z-index:2}
.hero-reference .hero-copy h1{font-size:clamp(39px,3.5vw,58px)}
.hero-reference .hero-copy p{font-size:clamp(17px,1.4vw,23px);max-width:620px}
.hero-reference .hero-photo{position:absolute;z-index:0;top:0;bottom:0;right:0;width:54%;background-image:url('assets/hero-clean.webp');background-size:cover;background-position:center 42%;mask-image:linear-gradient(to right,transparent 0%,#000 18%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 18%)}
.brand-icon.brain-brand{display:inline-flex;align-items:center;vertical-align:middle;color:#0869e7;margin-right:9px}
.brain-brand svg{width:34px;height:34px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.heading-game-icon{display:inline-flex;vertical-align:middle;color:#0869e7;margin-right:6px}
.heading-game-icon svg{width:36px;height:36px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.benefit-icon{display:inline-flex;align-items:center;justify-content:center}
.benefit-icon svg{width:43px;height:43px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1050px){.hero-reference .hero-copy{width:53%}.hero-reference .hero-photo{width:52%}.hero-reference .hero-copy h1{font-size:clamp(34px,4vw,45px)}.hero-reference .hero-copy p{font-size:17px}.hero-points{gap:12px;font-size:13px}}
@media(max-width:750px){.hero.hero-reference{min-height:0}.hero-reference .hero-inner{height:auto;min-height:0;display:block;padding-top:28px;padding-bottom:215px}.hero-reference .hero-copy{width:100%;max-width:560px}.hero-reference .hero-photo{top:auto;bottom:0;height:205px;width:75%;background-position:center 38%;mask-image:linear-gradient(to right,transparent 0%,#000 25%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 25%)}.hero-reference .hero-copy h1{font-size:38px}.hero-reference .hero-copy p{max-width:520px}.hero-reference .hero-points{font-size:12px}}
@media(max-width:420px){.hero-reference .hero-inner{padding-bottom:190px}.hero-reference .hero-photo{height:185px;width:88%}.hero-reference .hero-copy h1{font-size:34px}.benefit-icon svg{width:28px;height:28px}}

/* v0.5 — only approved header, search, catalog and footer revisions */
.header-inner{gap:18px}
.header-inner nav{margin-left:auto;margin-right:0;gap:14px}
.header-search{position:relative;display:flex;align-items:center;flex:0 1 255px;min-width:145px;height:42px;border:1px solid #d3e2f2;border-radius:24px;background:#f4f8fe;margin-left:12px}
.header-search:focus-within{border-color:#2885ed;box-shadow:0 0 0 2px #2885ed20}
.header-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;padding:8px 36px 8px 39px;color:#11254d;font-size:15px}
.header-search input:focus-visible{outline:0}
.search-glass{position:absolute;left:13px;font-size:24px;color:#2763a2;line-height:1;pointer-events:none}
.search-clear{position:absolute;right:7px;width:25px;height:25px;border:0;border-radius:50%;background:#dce8f7;color:#173c69;font-weight:800;font-size:19px;line-height:22px;padding:0;text-align:center}
.search-clear[hidden]{display:none}
.footer-grid p,.footer-grid a{font-size:16px}
.footer-grid h3{font-size:19px}
.copyright{font-size:14px}
.footer-min{font-size:15px}
.catalog h1,.catalog h2{font-size:21px;line-height:1.3}
.catalog .game-thumb{position:relative;overflow:hidden}
.catalog .thumb-action{position:absolute;left:50%;top:50%;transform:translate(-50%,-43%);white-space:nowrap;background:#fff;color:#0963c5;border-radius:28px;padding:9px 18px;font-weight:800;font-size:14px;box-shadow:0 4px 14px #082f4c35;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;pointer-events:none}
.catalog .game-card:not(.soon):hover .thumb-action,.catalog .game-card:not(.soon):focus-visible .thumb-action{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.catalog .game-card.soon .thumb-action{background:#e9edf4;color:#65748a;cursor:not-allowed;opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.catalog .game-card>.play-button,.catalog .game-card>.soon-label{display:none}
.catalog .game-card[hidden],.catalog section[hidden]{display:none}
@media(hover:none),(pointer:coarse){.catalog .thumb-action{opacity:1;visibility:visible;transform:translate(-50%,-50%);font-size:12px;padding:7px 12px}}
@media(max-width:1100px){.header-inner nav{gap:3px}.header-search{flex-basis:190px;margin-left:0}.header-inner nav>a{padding:9px 10px}}
@media(max-width:850px){.header-inner nav{margin-left:0}.header-search{margin-left:auto;flex:0 1 230px}.mobile-toggle{margin-left:0}}
@media(max-width:600px){.header-inner{gap:9px}.brand{font-size:16px}.header-search{flex-basis:130px;min-width:85px;height:37px}.header-search input{font-size:13px;padding-left:29px;padding-right:28px}.search-glass{left:9px;font-size:19px}.search-clear{right:4px;width:22px;height:22px;font-size:16px}.catalog h1,.catalog h2{font-size:19px}.footer-grid p,.footer-grid a{font-size:15px}}

/* v0.6: remove the right-side hero color strip without altering the copy */
.hero.hero-reference{position:relative;isolation:isolate}
.hero.hero-reference::before{content:"";position:absolute;z-index:0;top:0;bottom:0;right:0;width:56%;background-image:url("assets/hero-clean.webp");background-size:cover;background-position:center 42%;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 18%);mask-image:linear-gradient(to right,transparent 0%,#000 18%)}
.hero-reference .hero-inner{position:relative;z-index:1}
.hero-reference .hero-photo{display:none}
.hero-reference .hero-copy{position:relative;z-index:2}
@media(max-width:1050px){.hero.hero-reference::before{width:53%}}
@media(max-width:750px){.hero.hero-reference::before{top:auto;bottom:0;height:205px;width:75%;background-position:center 38%;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 25%);mask-image:linear-gradient(to right,transparent 0%,#000 25%)}}
@media(max-width:420px){.hero.hero-reference::before{height:185px;width:88%}}
/* v0.6: compact Poki-style information strip directly below the board */
.game-info-band{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e4eaf2;border-top:0;padding:13px 16px;border-radius:0 0 12px 12px}
.play-main>.game-board{border-radius:16px 16px 0 0}
.game-info-name{display:flex;align-items:center;gap:14px;min-width:0}
.game-info-name img{width:48px;height:48px;object-fit:cover;border-radius:9px;flex:none}
.game-info-name h1{font-size:clamp(20px,2vw,27px);line-height:1.2;margin:0}
.game-feedback{display:flex;align-items:center;gap:8px}
.game-feedback button{background:transparent;border:0;padding:9px;color:#1680d4;display:grid;place-items:center}
.game-feedback button:disabled{opacity:.7;cursor:not-allowed}
.game-feedback svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:500px){.game-info-band{padding:9px 10px;gap:6px}.game-info-name{gap:8px}.game-info-name img{width:36px;height:36px}.game-info-name h1{font-size:17px}.game-feedback{gap:0}.game-feedback button{padding:6px}.game-feedback svg{width:20px;height:20px}}

/* v0.7: consistent cross-page shell and header; no game logic changes */
html{overflow-y:scroll;scrollbar-gutter:stable}
body .shell{width:100%;max-width:1580px;margin-left:auto;margin-right:auto}
.site-header .header-inner{min-height:79px}
.site-header .brand{display:inline-flex;align-items:center;flex-shrink:0}
.site-header .brain-brand{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;line-height:1}
.site-header .brain-brand svg{display:block;width:34px;height:34px}
@media(max-width:850px){.site-header .header-inner{min-height:68px}}

/* v0.8 About page: equal-weight section headings, no hero artwork */
.about-page{padding-top:46px;padding-bottom:70px}.about-content{max-width:960px;margin:0 auto}.about-eyebrow{color:#0874d0;font-weight:750;font-size:14px;letter-spacing:.04em;margin:0 0 14px}.about-section{padding:30px 0 34px;border-bottom:1px solid #dce6f1}.about-intro{padding-top:0}.about-section h1,.about-section h2,.about-end h2{font-size:clamp(25px,2.4vw,31px);line-height:1.2;font-weight:750;letter-spacing:-.025em;margin:0 0 12px;color:#091a3d}.about-section p,.about-section li,.about-end p{font-size:clamp(16px,1.45vw,19px);line-height:1.6;color:#24354e;margin:0}.about-section ul{padding-left:23px;margin:16px 0 0}.about-section li+li{margin-top:9px}.about-end{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px;padding:24px 30px;border-radius:18px;background:#edf6ff}.about-end h2{margin-bottom:6px}.about-cta{display:inline-block;white-space:nowrap;background:#086ec7;color:white;text-decoration:none;font-weight:700;border-radius:30px;padding:13px 22px}.about-cta:hover{background:#075ca7}@media(max-width:650px){.about-page{padding-top:30px}.about-section{padding:23px 0}.about-end{flex-direction:column;align-items:flex-start;padding:22px}.about-cta{white-space:normal}}

/* v0.12: common 16:10 game stage and dedicated, senior-readable game navigation */
body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-nav-width:118px;--game-ad-width:260px;--game-gap:18px;background:#fbfdff}
.game-sidebar{position:fixed;z-index:20;left:0;top:0;bottom:0;width:var(--game-nav-width);padding:17px 10px;background:#fff;border-right:1px solid #e3eaf1;display:flex;flex-direction:column;align-items:stretch;gap:27px}
.game-side-brand{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:5px 1px 14px;border-bottom:1px solid #e5ebf4}
.game-side-brand>svg{width:62px;height:62px;fill:none;stroke:#0868e2;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.game-brand-words{display:flex;flex-direction:column;align-items:center;line-height:1.05;letter-spacing:-.4px;font-size:18px;color:#0d2041}
.game-brand-words b:nth-child(2){color:#0868e2}
.game-side-nav{display:flex;flex-direction:column;gap:10px}
.game-side-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #dce9f6;background:#f4f9ff;border-radius:12px;padding:12px 5px;color:#183b63;font-size:15px;font-weight:800;min-height:77px}
.game-side-nav a:hover{background:#e4f1ff}
.game-side-nav svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
.standard-game-page{box-sizing:border-box;max-width:1750px;margin:0 auto 0 var(--game-nav-width);padding:16px 20px 30px;display:grid;grid-template-columns:minmax(0,1fr) var(--game-ad-width);gap:var(--game-gap);align-items:start}
.standard-game-page .play-main{min-width:0;max-width:1120px;width:100%;justify-self:center}
.standard-game-frame{aspect-ratio:16/10;width:100%;overflow:hidden;border-radius:15px 15px 0 0;background:#14553e;position:relative}
.standard-game-frame .draw3-embed{height:100%;border-radius:0}
.standard-game-frame .game-board{height:100%;min-height:0;border-radius:0;overflow:hidden}
.standard-game-page .game-info-band{border-radius:0 0 13px 13px}
.game-ad-rail{width:100%;min-width:0}
.game-ad-placeholder{width:100%;min-height:245px;border:1px dashed #dce5ee;background:#f7f9fc;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#8191a3;font-size:13px;text-align:center}
.game-ad-placeholder small{font-size:12px}
.standard-game-page .more-games{margin-top:55px}
body[data-page="solitaire-draw3"] .footer-min,body[data-page="solitaire-draw1"],body[data-page="2048"] .footer-min{margin-left:var(--game-nav-width)}
@media(max-width:1390px){body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-ad-width:0px;--game-gap:0px}.standard-game-page{grid-template-columns:minmax(0,1fr);padding:12px 14px 25px}.game-ad-rail{display:none}.standard-game-page .play-main{max-width:min(100%,1050px)}}
@media(max-width:700px){body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-nav-width:0px}.game-sidebar{position:relative;top:auto;bottom:auto;width:100%;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:7px 12px;gap:12px;border-right:0;border-bottom:1px solid #e3eaf1}.game-side-brand{flex-direction:row;border:0;padding:0;gap:6px}.game-side-brand>svg{width:34px;height:34px}.game-brand-words{font-size:12px;align-items:flex-start}.game-side-nav{flex-direction:row;gap:7px}.game-side-nav a{min-height:50px;min-width:65px;padding:5px;font-size:12px;gap:2px}.game-side-nav svg{width:19px;height:19px}.standard-game-page{margin-left:0;padding:10px 7px 25px}.standard-game-frame{border-radius:10px 10px 0 0}.standard-game-page .game-info-name h1{font-size:17px}body[data-page="solitaire-draw3"] .footer-min,body[data-page="solitaire-draw1"],body[data-page="2048"] .footer-min{margin-left:0}}

/* v0.13 — unified centered site grid: navigation, game and ads share one boundary */
:root{--site-content-width:1360px;--site-gutter:24px}
body .shell{width:100%;max-width:var(--site-content-width);margin-inline:auto;padding-inline:var(--site-gutter)}
body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{
  --game-nav-width:112px;--game-ad-width:250px;--game-gap:20px;
  background:#fbfdff;
  display:grid;grid-template-columns:minmax(0,1fr) 1fr; /* reset below */
  display:block;
}
body[data-page="solitaire-draw3"] .game-sidebar,body[data-page="solitaire-draw1"],body[data-page="2048"] .game-sidebar{
  position:absolute;left:max(var(--site-gutter),calc((100vw - var(--site-content-width))/2 + var(--site-gutter)));
  top:16px;bottom:auto;width:var(--game-nav-width);min-height:420px;
  border:1px solid #e3eaf1;border-radius:13px;padding:14px 8px;
}
body[data-page="solitaire-draw3"] .standard-game-page,body[data-page="solitaire-draw1"],body[data-page="2048"] .standard-game-page{
  max-width:var(--site-content-width);width:100%;margin:0 auto;
  padding:16px var(--site-gutter) 30px calc(var(--site-gutter) + var(--game-nav-width) + var(--game-gap));
  display:grid;grid-template-columns:minmax(0,1fr) var(--game-ad-width);
  gap:var(--game-gap);align-items:start;
}
.standard-game-page .play-main{max-width:none;min-width:0;width:100%}
.standard-game-page .game-ad-rail{display:block}
body[data-page="solitaire-draw3"] .footer-min,body[data-page="solitaire-draw1"],body[data-page="2048"] .footer-min{margin-left:auto}
@media(max-width:1150px){
 body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-ad-width:0px;--game-gap:16px}
 body[data-page="solitaire-draw3"] .standard-game-page,body[data-page="solitaire-draw1"],body[data-page="2048"] .standard-game-page{grid-template-columns:minmax(0,1fr);padding-right:var(--site-gutter)}
 .standard-game-page .game-ad-rail{display:none}
}
@media(max-width:700px){
 body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-nav-width:0px;--game-gap:0px}
 body[data-page="solitaire-draw3"] .game-sidebar,body[data-page="solitaire-draw1"],body[data-page="2048"] .game-sidebar{
  position:relative;left:auto;top:auto;min-height:0;width:100%;border-radius:0;
  flex-direction:row;justify-content:space-between;padding:7px 12px;
 }
 body[data-page="solitaire-draw3"] .standard-game-page,body[data-page="solitaire-draw1"],body[data-page="2048"] .standard-game-page{
  padding:10px 7px 25px;
 }
}

/* v0.14: single genuine 1860px site-wide design system */
:root{--site-content-width:1860px;--site-gutter:clamp(16px,2.2vw,36px)}
html{scrollbar-gutter:auto}
body .shell,body[data-page="home"] .shell{box-sizing:border-box;width:100%;max-width:var(--site-content-width);padding-inline:var(--site-gutter);margin-inline:auto}
/* Wide-screen home components must expand with the shared container. */
body[data-page="home"] .featured-reference,body[data-page="home"] .header-inner,body[data-page="home"] .hero-inner,body[data-page="home"] .footer-grid,body[data-page="home"] .copyright{max-width:var(--site-content-width)}
body[data-page="home"] .featured-image-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
body[data-page="home"] .featured-image-grid a,body[data-page="home"] .featured-image-grid img{min-width:0;width:100%}
/* Entire game-page group is centered, including the sidebar. */
body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-nav-width:118px;--game-ad-width:300px;--game-gap:24px}
body[data-page="solitaire-draw3"] .game-sidebar,body[data-page="solitaire-draw1"],body[data-page="2048"] .game-sidebar{left:max(var(--site-gutter),calc((100vw - var(--site-content-width))/2 + var(--site-gutter)));top:16px;width:var(--game-nav-width);min-height:430px}
body[data-page="solitaire-draw3"] .standard-game-page,body[data-page="solitaire-draw1"],body[data-page="2048"] .standard-game-page{max-width:var(--site-content-width);margin-inline:auto;padding:16px var(--site-gutter) 30px calc(var(--site-gutter) + var(--game-nav-width) + var(--game-gap));grid-template-columns:minmax(0,1fr) var(--game-ad-width);gap:var(--game-gap)}
.standard-game-page .play-main{width:100%;max-width:none;justify-self:stretch}
.standard-game-frame{aspect-ratio:16/10;overflow:hidden}
.standard-game-frame iframe{display:block;overflow:hidden}
.standard-game-page .more-games{margin-top:62px}
/* Game stage should remain comfortable rather than squeeze to make room for an ad. */
@media(max-width:1280px){body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-ad-width:0px;--game-gap:16px}body[data-page="solitaire-draw3"] .standard-game-page,body[data-page="solitaire-draw1"],body[data-page="2048"] .standard-game-page{grid-template-columns:minmax(0,1fr)}body[data-page="solitaire-draw3"] .game-ad-rail,body[data-page="solitaire-draw1"],body[data-page="2048"] .game-ad-rail{display:none}}
@media(max-width:700px){body[data-page="solitaire-draw3"],body[data-page="solitaire-draw1"],body[data-page="2048"]{--game-nav-width:0px;--game-gap:0px}body[data-page="solitaire-draw3"] .game-sidebar,body[data-page="solitaire-draw1"],body[data-page="2048"] .game-sidebar{position:relative;left:auto;top:auto;width:auto;min-height:0;margin:0 var(--site-gutter);border-radius:10px}body[data-page="solitaire-draw3"] .standard-game-page,body[data-page="solitaire-draw1"],body[data-page="2048"] .standard-game-page{padding:10px var(--site-gutter) 26px;grid-template-columns:minmax(0,1fr)}body[data-page="home"] .featured-image-grid{grid-template-columns:1fr}}

/* v0.15: compact game metadata, preserving 16:10 stage and individual game UIs. */
.standard-game-page .game-info-band{padding:5px 12px;gap:10px;min-height:44px}
.standard-game-page .game-info-name{gap:9px}
.standard-game-page .game-info-name img{width:30px;height:30px;border-radius:6px}
.standard-game-page .game-info-name h1{font-size:clamp(17px,1.5vw,21px)}
.standard-game-page .game-feedback{gap:3px}
.standard-game-page .game-feedback button{padding:5px}
.standard-game-page .game-feedback svg{width:20px;height:20px}
/* About page remains normal on desktop; phone/tablet gets a focused About + notice. */
.mobile-coming-soon{display:none}
html.dsg-mobile-visitor body[data-page="about"] .site-header,
html.dsg-mobile-visitor body[data-page="about"] .footer-min,
html.dsg-mobile-visitor body[data-page="about"] .about-content{display:none!important}
html.dsg-mobile-visitor body[data-page="about"] .mobile-coming-soon{display:block}
html.dsg-mobile-visitor body[data-page="about"] .about-page{padding:24px 20px 48px;max-width:560px;min-height:100dvh}
.mobile-coming-soon{text-align:center;color:#14294d}
.mobile-coming-icon{font-size:49px;margin-bottom:5px}
.mobile-coming-brand{font-size:23px;font-weight:800;margin:0 0 38px;letter-spacing:-.7px}
.mobile-coming-brand span{color:#1672cb}
.mobile-coming-eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:#1672cb;margin:0 0 12px}
.mobile-coming-soon h1{font-size:clamp(27px,6vw,36px);line-height:1.18;margin:0 0 15px}
.mobile-coming-soon>p:not(.mobile-coming-brand):not(.mobile-coming-eyebrow):not(.mobile-coming-footer):not(.mobile-coming-legal){font-size:16px;line-height:1.65;color:#43526a}
.mobile-coming-notice{background:#edf6ff;border:1px solid #d8e9fa;border-radius:19px;padding:23px 18px;margin-top:32px}
.mobile-coming-notice>span{font-size:34px}
.mobile-coming-notice h2{font-size:21px;line-height:1.3;margin:12px 0}
.mobile-coming-notice p{font-size:15px;line-height:1.6;color:#40536d;margin:0}
.mobile-coming-footer{font-size:14px;margin-top:24px;color:#526580}
.mobile-coming-legal{font-size:13px;margin-top:25px;color:#1768b4;text-decoration:underline}

/* v0.28 featured cards: user-supplied 1200x600 PNG artwork + accessible HTML copy */
body[data-page="home"] .featured-image-grid{gap:20px}
body[data-page="home"] .featured-custom-card{position:relative;aspect-ratio:2/1;border-radius:24px;overflow:hidden;display:block;box-shadow:0 4px 10px #243a5824;isolation:isolate}
body[data-page="home"] .featured-custom-card>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body[data-page="home"] .featured-custom-copy{position:absolute;top:9%;bottom:9%;left:53%;right:5%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fff;text-shadow:0 2px 5px #0004;min-width:0}
body[data-page="home"] .featured-custom-copy h3{font-size:clamp(18px,1.8vw,34px);line-height:1.1;margin:0 0 12px;font-weight:800}
body[data-page="home"] .featured-custom-copy p{font-size:clamp(12px,1.03vw,19px);line-height:1.35;margin:0 0 14px}
body[data-page="home"] .featured-custom-action{background:#fff;color:#0861c4;text-shadow:none;border-radius:999px;padding:9px 18px;font-weight:800;font-size:clamp(12px,1.05vw,18px);white-space:nowrap;box-shadow:0 3px 8px #0002}
body[data-page="home"] .featured-custom-soon{cursor:default}
body[data-page="home"] .featured-custom-soon .featured-custom-status{font-weight:800;font-size:clamp(14px,1.2vw,21px);margin:0}
@media(max-width:900px){body[data-page="home"] .featured-image-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){body[data-page="home"] .featured-image-grid{grid-template-columns:1fr}}

/* v0.28: Coming Soon cards have only the game name and Coming Soon text */
.catalog .game-card.soon .thumb-action{display:none}
.catalog .game-card.soon .soon-label{display:block;align-self:flex-start;margin:4px 2px 0;background:transparent;border-radius:0;padding:0;font-size:15px;color:#65748a}
.catalog .game-card.soon{border-style:solid}

/* v0.29 — shared art assets for all game cards */
body[data-page="home"] .featured-custom-card{
 background-image:var(--game-bg);background-position:center;background-size:cover;
}
body[data-page="home"] .featured-custom-card>img.featured-game-icon{
 position:absolute;left:1.5%;top:1%;width:49%;height:98%;
 object-fit:contain;inset:auto;transform:none;
}
body[data-page="home"] .featured-custom-copy{z-index:1}
.game-thumb-shared{background-size:cover;background-position:center}
.game-thumb-shared img{width:76%;height:98%;object-fit:contain}
.game-card:not(.soon):hover .game-thumb-shared img{transform:scale(1.035)}
/* Coming Soon: neutral background, outline icon, no action or description */
.catalog .game-thumb-soon,.recommendation-cards .game-thumb-soon{background:#e5e8ec;opacity:1;filter:none}
.game-card.soon .game-thumb{opacity:1;filter:none}
.soon-outline{width:34%;max-height:75%;fill:none;stroke:#8b96a4;stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
.game-card.soon .thumb-action,.game-card.soon .play-button{display:none!important}
.game-card.soon .soon-label{display:block;margin:4px 2px 0;padding:0;background:transparent;border:0;color:#66758a;font-size:15px}
.game-card.soon{background:#f8faff;color:#69788f}
.catalog section{margin-bottom:19px}
.catalog h1,.catalog h2{padding-top:6px;padding-bottom:6px;margin-bottom:10px}
/* About SEO layout: main heading left edge reference; copy begins 18px in */
body[data-page="about"] .about-content{max-width:none;margin:0;width:100%}
body[data-page="about"] .about-section p,
body[data-page="about"] .about-section ul{margin-left:18px}
body[data-page="about"] .about-end{margin-left:18px}
/* Footer: three horizontal rows */
.footer-full.footer-compact{padding:22px 0 0}
.footer-compact-inner{display:flex;flex-direction:column;gap:10px}
.footer-compact-top{display:flex;justify-content:space-between;align-items:center;gap:24px}
.footer-compact-top h3{font-size:19px;margin:0}
.footer-compact-top nav{display:flex;gap:clamp(12px,2vw,30px);align-items:center;flex-wrap:wrap}
.footer-compact-top a{display:inline-block;margin:0;font-size:16px}
.footer-compact-inner>p{margin:0;font-size:16px;line-height:1.5}
.footer-compact-copyright{border-top:1px solid #ffffff40;text-align:center;font-size:13px;padding:11px 0 12px}
@media(max-width:700px){
 .footer-compact-top{align-items:flex-start;flex-direction:column;gap:12px}
 .footer-compact-top nav{gap:10px 18px}
}
/* Game pages: sidebar frame fills viewport and stays in place.
   All children retain their approved dimensions and positions. */
@media(min-width:701px){
 body[data-page="solitaire-draw3"] .game-sidebar,
 body[data-page="solitaire-draw1"] .game-sidebar,
 body[data-page="2048"] .game-sidebar{
  position:fixed;top:16px;bottom:0;height:calc(100dvh - 16px);min-height:0;
  overflow-y:auto;overflow-x:hidden;
  border-bottom-left-radius:0;border-bottom-right-radius:0;
 }
}

/* v0.30: single reusable catalog/recommendation card presentation */
.catalog .game-card,.recommendation-cards .game-card{gap:0;padding:10px;overflow:hidden}
.catalog .game-card h3,.recommendation-cards .game-card h3{
 font-size:17px;line-height:1.3;margin:0;padding:12px 3px;
 min-height:68px;display:flex;align-items:center;overflow-wrap:anywhere
}
.catalog .game-card .play-button,.recommendation-cards .game-card .play-button,
.catalog .game-card .soon-label,.recommendation-cards .game-card .soon-label{display:none!important}
.catalog .game-card .game-thumb,.recommendation-cards .game-card .game-thumb{position:relative;isolation:isolate}
.catalog .game-thumb-shared img,.recommendation-cards .game-thumb-shared img{
 width:87.4%;height:100%;object-fit:contain;transition:transform .2s ease
}
.catalog .game-card:not(.soon):hover .game-thumb-shared img,
.recommendation-cards .game-card:not(.soon):hover .game-thumb-shared img{transform:scale(1.035)}
.catalog .game-thumb::before,.recommendation-cards .game-thumb::before{
 content:"";position:absolute;inset:0;background:rgba(0,0,0,.12);
 opacity:0;transition:opacity .18s;z-index:1;pointer-events:none
}
.catalog .game-card:hover .game-thumb::before,.recommendation-cards .game-card:hover .game-thumb::before,
.catalog .game-card:focus-visible .game-thumb::before,.recommendation-cards .game-card:focus-visible .game-thumb::before{opacity:1}
.catalog .game-thumb .thumb-action,.recommendation-cards .game-thumb .thumb-action{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.9);
 background:#fff;color:#1164b9;border-radius:30px;padding:12px 22px;
 font-weight:800;font-size:clamp(15px,1.4vw,20px);white-space:nowrap;
 box-shadow:0 4px 14px #0003;z-index:2;opacity:0;
 transition:opacity .18s,transform .18s;pointer-events:none
}
.catalog .game-card:not(.soon):hover .thumb-action,
.recommendation-cards .game-card:not(.soon):hover .thumb-action,
.catalog .game-card:not(.soon):focus-visible .thumb-action,
.recommendation-cards .game-card:not(.soon):focus-visible .thumb-action{
 opacity:1;transform:translate(-50%,-50%) scale(1.08)
}
.catalog .game-thumb-soon,.recommendation-cards .game-thumb-soon{background:#e5e7eb!important}
.catalog .game-thumb-soon .soon-game-icon,.recommendation-cards .game-thumb-soon .soon-game-icon{
 display:block;width:87.4%;height:100%;object-fit:contain
}
.catalog .game-thumb .thumb-soon-overlay,.recommendation-cards .game-thumb .thumb-soon-overlay{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-45%);
 z-index:2;font-weight:800;font-size:clamp(16px,1.5vw,22px);
 color:#fff;text-shadow:0 2px 6px #0008;white-space:nowrap;
 opacity:0;transition:opacity .18s,transform .18s;pointer-events:none
}
.catalog .game-card.soon:hover .thumb-soon-overlay,
.recommendation-cards .game-card.soon:hover .thumb-soon-overlay{opacity:1;transform:translate(-50%,-50%)}
.catalog .game-card.soon,.recommendation-cards .game-card.soon{border-style:solid}
.catalog section{margin-bottom:15px}
.catalog h1,.catalog h2{padding-top:5px;padding-bottom:5px;margin-bottom:8px}
.recommendation-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-page="home"] .featured-custom-copy{justify-content:flex-start;top:11%;bottom:8%}
body[data-page="home"] .featured-custom-copy h3{margin-bottom:12px}
body[data-page="home"] .featured-variant{display:block;color:#143f26}
body[data-page="home"] .featured-custom-copy p{margin:0}
body[data-page="home"] .featured-custom-action{margin-top:auto;align-self:flex-end}
@media(hover:none){
 .catalog .game-card.soon .thumb-soon-overlay,.recommendation-cards .game-card.soon .thumb-soon-overlay{
 opacity:1;transform:translate(-50%,-50%);font-size:16px
 }
 .catalog .game-card.soon .game-thumb::before,.recommendation-cards .game-card.soon .game-thumb::before{opacity:.1}
}
@media(min-width:701px){
 body[data-page="solitaire-draw3"] .game-sidebar,
 body[data-page="solitaire-draw1"] .game-sidebar,
 body[data-page="2048"] .game-sidebar{
 top:16px;bottom:16px;height:calc(100dvh - 32px);min-height:0;
 border-radius:18px;overflow-y:auto
 }
}

.catalog .game-thumb .thumb-action,.recommendation-cards .game-thumb .thumb-action{visibility:hidden}
.catalog .game-card:not(.soon):hover .thumb-action,
.recommendation-cards .game-card:not(.soon):hover .thumb-action,
.catalog .game-card:not(.soon):focus-visible .thumb-action,
.recommendation-cards .game-card:not(.soon):focus-visible .thumb-action{visibility:visible}
.catalog .game-card.soon .game-thumb img,.recommendation-cards .game-card.soon .game-thumb img{
 opacity:1;filter:none
}

/* v0.31 accessibility and mobile game fallback */
.sr-only{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}
@media(prefers-reduced-motion:reduce){.game-card,.game-thumb img,.thumb-action,.thumb-soon-overlay,.featured-custom-card,.solitaire-option{animation:none!important;transition:none!important}}
.mobile-game-notice{display:none}
@media(max-width:900px){body[data-page="2048"] .standard-game-frame,body[data-page="solitaire-draw3"] .standard-game-frame{display:none!important}body[data-page="2048"] .mobile-game-notice,body[data-page="solitaire-draw3"] .mobile-game-notice{display:block;background:#eef4fc;border:1px solid #cadbed;border-radius:16px;padding:24px;margin:20px auto;max-width:600px;color:#17374d}body[data-page="2048"] .game-sidebar,body[data-page="solitaire-draw3"] .game-sidebar{position:relative!important;height:auto!important;min-height:0!important;top:auto!important;bottom:auto!important}}

/* v0.32: reserve right/bottom advertising space without visible placeholders until ads are enabled. */
.game-ad-placeholder{background:transparent!important;border:0!important;box-shadow:none!important}

/* v0.33: approved single-line brand-blue footer and readable legal pages */
body{min-height:100dvh;display:flex;flex-direction:column}
body > main,body > .standard-game-page,body > .site-main{flex-grow:1}
body > .dsg-footer{margin-top:auto}
.dsg-footer{background:#1672cb;color:#fff;width:100%;padding:22px 0}
.dsg-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.dsg-footer-inner strong{font-size:20px;font-weight:800;letter-spacing:-.4px}
.dsg-footer-inner nav{display:flex;gap:clamp(14px,2.5vw,32px);flex-wrap:wrap;align-items:center}
.dsg-footer-inner a{font-size:15px;font-weight:600;color:#fff}
.dsg-footer-inner a:hover{text-decoration:underline}
.dsg-legal{max-width:920px;padding-top:40px;padding-bottom:75px;line-height:1.75;font-size:17px;min-height:0}
.dsg-legal h1{font-size:36px;line-height:1.2}
.dsg-legal h2{font-size:28px;margin:0 0 14px}
.dsg-legal h3{font-size:21px;margin:28px 0 10px}
.dsg-legal section{margin:40px 0 65px;scroll-margin-top:25px}
.dsg-legal p{margin:10px 0 15px;max-width:80ch}
.dsg-legal a{color:#0866c3;text-decoration:underline;overflow-wrap:anywhere}
.legal-jump{display:flex;gap:20px;flex-wrap:wrap}
@media(max-width:600px){.dsg-footer-inner{flex-direction:column;align-items:flex-start;gap:12px}.dsg-footer-inner nav{gap:12px 18px}.dsg-footer-inner a{font-size:14px}.dsg-legal{font-size:16px}.dsg-legal h1{font-size:30px}}

/* v0.34: footer sits above the fixed game navigation when it reaches the viewport.
   Keeps the approved sidebar placement and game dimensions unchanged. */
.dsg-footer{position:relative;z-index:30;flex-shrink:0}
