@font-face{font-family:"Nunito";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/nunito-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Nunito";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/nunito-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/golos-400.woff2") format("woff2")}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/golos-500.woff2") format("woff2")}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/golos-600.woff2") format("woff2")}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/golos-700.woff2") format("woff2")}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/golos-800.woff2") format("woff2")}
:root{--paper:#fbf7f1;--paper-deep:#f5ecdf;--lilac:#eadcff;--lilac-soft:#f4edff;--ink:#211c3a;--muted:#5f5878;--blue:#3158ff;--blue-deep:#2342d8;--line:#e7ddf0;--card:#fffdf8;--mint:#a8e6c9;--butter:#ffe3a0;--coral:#ff9d8a;--display:"Nunito","Golos Text",Arial,sans-serif;--font:"Golos Text",Arial,sans-serif;--r-s:14px;--r-m:22px;--r-l:34px;--r-pill:999px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.games:focus-visible,.not-found:focus-visible{outline:3px solid var(--blue);outline-offset:6px;border-radius:8px}img{display:block;max-width:100%;height:auto}p,h1,h2,h3{margin:0}.wrap{max-width:1200px;margin-inline:auto;padding-inline:36px}.skip-link{position:fixed;top:8px;left:16px;z-index:10;background:white;padding:12px;transform:translateY(-150%)}.skip-link:focus{transform:none}
.site-header{height:100px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;width:150px;height:54px;isolation:isolate}.brand img{width:100%;height:100%;max-width:none;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:36px;font-size:14px;font-weight:500}.site-header nav>a{transition:color .18s}.site-header nav>a:hover{color:var(--blue)}.choose-game{border:1px solid var(--blue);border-radius:11px;padding:12px 19px;color:var(--blue);display:flex;gap:14px;align-items:center}.choose-game:hover{background:#eef1ff}
.intro{text-align:center;padding:18px 0 30px}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:12px;font-weight:500;color:var(--blue);line-height:1.5}.intro h1{font-size:clamp(40px,4.7vw,62px);font-weight:800;line-height:1.04;letter-spacing:-.048em;margin:12px 0 14px}.intro h1 span{color:var(--blue)}.intro-copy{font-size:20px;line-height:1.45;color:var(--muted);letter-spacing:-.025em}
.games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;scroll-margin-top:20px}.game{min-width:0;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:border-color .2s,box-shadow .2s}.game:hover,.game:focus-within{border-color:#bbc8ff;box-shadow:0 8px 24px #25397c08}.game-art{position:relative;aspect-ratio:2.1;overflow:hidden;border-radius:23px 23px 15px 15px;isolation:isolate}.tama-art{background:radial-gradient(ellipse at 48% 85%,#fffbe5 0%,#fff2ba 70%,#fff0b0 100%)}.spell-art{background:radial-gradient(ellipse at 55% 65%,#e5eaff,#cddcff 80%)}.art-labels{position:absolute;inset:18px 20px auto;display:flex;align-items:center;justify-content:space-between;z-index:3;pointer-events:none}.age{font-size:14px;font-weight:600;padding:7px 16px;border-radius:30px;background:#ffffffb3;color:#65491b}.spell-art .age{color:#2549db}.subject{font-size:11px;font-weight:500;letter-spacing:.15em;text-transform:uppercase;color:#333d61}.tama-scene,.spell-scene{position:absolute;inset:0}.egg{position:absolute;width:37%;left:19%;bottom:-2%;transform-origin:50% 87%;z-index:1}.star{position:absolute;width:23%;right:17%;top:26%;transform:rotate(8deg);transform-origin:50% 60%;z-index:2}.ground-shadow{position:absolute;width:62%;height:12%;left:14%;bottom:0;background:radial-gradient(ellipse,#9867272b,transparent 65%)}.hello-mark{position:absolute;background:#ffbd3e;border-radius:8px;box-shadow:inset 1px 1px 2px #fff4b8;width:9px;height:24px;left:57%;top:16%;transform:rotate(-28deg)}.mark-two{left:53.5%;top:26%;height:17px;transform:rotate(-67deg)}
.island{position:absolute;width:49%;left:6%;bottom:-15%;transform:rotate(-5deg);filter:drop-shadow(0 10px 8px #5d65991a);transition:transform .6s cubic-bezier(.2,.8,.2,1)}.wizard{position:absolute;width:38%;right:6%;bottom:-14%;transform:rotate(5deg);transform-origin:50% 80%;z-index:2}.letter{position:absolute;display:grid;place-items:center;width:10.5%;aspect-ratio:1;border-radius:11px;background:#fffcf3;color:#333345;font-size:clamp(25px,3.5vw,43px);font-weight:700;box-shadow:2px 4px 0 #d6c9b9,0 8px 14px #56679912;border:3px solid #fff;z-index:3;transition:transform .45s}.letter-s{left:48%;top:17%;transform:rotate(-12deg)}.letter-p{left:61%;top:23%;transform:rotate(10deg)}.letter-e{left:75%;top:13%;transform:rotate(17deg)}.spark{position:absolute;color:#fff9ce;font-size:30px;z-index:3;text-shadow:0 1px 2px #ecb24c}.spark-one{left:49%;top:52%}.spark-two{right:7%;bottom:18%;font-size:20px}
.game-copy{padding:17px 24px 24px}.game h2{font-size:40px;line-height:1.07;font-weight:800;letter-spacing:-.055em}.game h3{font-size:24px;line-height:1.25;letter-spacing:-.035em;font-weight:700;margin-top:3px}.game-copy>p{font-size:18px;color:var(--muted);line-height:1.4;margin-top:4px;letter-spacing:-.02em}.play{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:19px;min-height:54px;border-radius:14px;background:var(--blue);color:#fff;font-size:19px;font-weight:600;box-shadow:inset 0 -3px 0 #143ad729;transition:background .18s,transform .18s,box-shadow .18s}.play svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.play:hover{background:#244bea}.play:hover svg{transform:translateX(4px)}.play:active{transform:translateY(2px);box-shadow:none}
.reassurance{display:flex;align-items:center;justify-content:center;gap:70px;padding:20px 0;color:var(--muted)}.reassurance p{display:flex;align-items:center;gap:17px;font-size:16px;white-space:nowrap}.reassurance svg{width:31px;height:31px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round}.reassurance-divider{height:30px;width:1px;background:var(--line)}.parents{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;border-top:1px solid var(--line);padding:27px 0}.parents .eyebrow{color:var(--muted);font-size:11px}.parents h2{font-size:40px;line-height:1.05;letter-spacing:-.045em;font-weight:750;margin-top:8px}.parent-points{display:grid;gap:17px}.parent-point{display:flex;align-items:flex-start;gap:15px}.point-icon{width:22px;height:22px;flex:none;display:grid;place-items:center;font-size:13px;background:var(--blue);color:white;border-radius:50%;margin-top:1px}.parent-point h3{font-size:15px;line-height:1.3;font-weight:650;letter-spacing:-.02em}.parent-point p{font-size:14px;line-height:1.4;color:var(--muted);margin-top:3px}.site-footer{padding-block:15px 24px;position:relative}.site-footer:before{content:"";position:absolute;top:0;left:36px;right:36px;height:1px;background:var(--line)}.footer-brand{font-size:23px;font-weight:800;letter-spacing:-.055em}.footer-brand span{color:var(--blue)}.site-footer p{font-size:12px;color:var(--muted)}
@keyframes egg-hello{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg)}55%{transform:rotate(6deg)}78%{transform:rotate(-3deg)}}@keyframes star-hello{0%,100%{transform:translateY(0) rotate(8deg)}50%{transform:translateY(-10px) rotate(-7deg)}}@keyframes wizard-hello{0%,100%{transform:translateY(0) rotate(5deg)}45%{transform:translateY(-8px) rotate(-1deg)}}.game.is-reacting .egg{animation:egg-hello .7s ease-in-out}.game.is-reacting .star{animation:star-hello .7s ease-in-out}.game.is-reacting .wizard{animation:wizard-hello .7s ease-in-out}.game.is-reacting .island{transform:translateY(-5px) rotate(-3deg)}.game.is-reacting .letter-s{transform:translateY(-5px) rotate(-17deg)}.game.is-reacting .letter-p{transform:translateY(-7px) rotate(4deg)}.game.is-reacting .letter-e{transform:translateY(-4px) rotate(22deg)}
@media(min-width:1500px){.intro{padding-top:32px;padding-bottom:36px}.site-header{height:110px}}
@media(max-width:900px){.wrap{padding-inline:26px}.games{gap:18px}.intro h1{font-size:48px}.game-copy{padding:16px 20px 20px}.game h2{font-size:34px}.game h3{font-size:21px}.game-copy>p{font-size:16px}.desktop-break{display:none}.game-art{aspect-ratio:1.8}.egg{width:43%;left:13%}.star{width:25%;right:13%;top:31%}.island{width:56%;left:0;bottom:-9%}.wizard{width:43%;right:0;bottom:-9%}.letter{border-width:2px}.parents h2{font-size:33px}.reassurance{gap:45px}.site-footer:before{left:26px;right:26px}}
@media(max-width:600px){.wrap{padding-inline:20px}.site-header{height:78px}.brand{width:125px;height:47px}.site-header nav{font-size:14px;gap:0}.nav-parents,.site-header .choose-game{display:none}.site-header nav>a{padding:12px 0 12px 20px}.intro{text-align:left;padding:20px 4px 24px}.eyebrow{font-size:11px;letter-spacing:.145em}.intro h1{font-size:clamp(32px,8.9vw,50px);line-height:1.03;letter-spacing:-.045em;margin:11px 0 12px}.intro-copy{font-size:16px;line-height:1.4;max-width:32ch}.games{grid-template-columns:1fr;gap:16px}.game{border-radius:18px}.game-art{border-radius:17px 17px 12px 12px;aspect-ratio:1.9}.art-labels{inset:12px 14px auto}.age{font-size:12px;padding:6px 12px}.subject{font-size:10px;letter-spacing:.1em}.egg{width:37%;left:18%;bottom:-3%}.star{width:24%;right:16%;top:28%}.hello-mark{width:7px;height:19px;top:19%}.mark-two{height:13px;top:30%}.island{width:51%;left:3%;bottom:-13%}.wizard{width:40%;right:4%;bottom:-13%}.letter{border-radius:8px;font-size:29px}.game-copy{padding:12px 16px 16px}.game h2{font-size:31px}.game h3{font-size:21px;margin-top:3px}.game-copy>p{font-size:15px;line-height:1.4;margin-top:5px;max-width:32ch}.play{min-height:48px;border-radius:11px;font-size:16px;margin-top:14px;gap:12px}.play svg{width:22px;height:22px}.reassurance{padding:19px 0;gap:15px;justify-content:space-between}.reassurance p{gap:8px;font-size:12px;letter-spacing:-.02em}.reassurance svg{width:25px;height:25px}.reassurance-divider{height:27px}.parents{grid-template-columns:1fr;gap:22px;padding:25px 4px 28px}.parents h2{font-size:32px;max-width:14ch;line-height:1.1}.parent-points{gap:19px}.parent-point h3{font-size:15px}.parent-point p{font-size:14px}.parent-point{gap:12px}.site-footer:before{left:20px;right:20px}.site-footer p{font-size:11px}.footer-brand{font-size:21px}.site-footer{padding-block:17px 24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* The actual transparent game sprite keeps the illustration on its own sky. */
.wizard{width:31%;right:6%;bottom:-3%;transform:rotate(5deg)}
/* Five tiles keep the full game name visible, including on narrow phones. */
.spell-art{container-type:inline-size}
.letter{width:8.2%;font-size:clamp(17px,5.3cqw,32px);border-width:2px;border-radius:8px}
.letter-s{left:44%;top:28%;transform:rotate(-12deg)}
.letter-p{left:54%;top:25%;transform:rotate(8deg)}
.letter-e{left:64%;top:28%;transform:rotate(-5deg)}
.letter-l1{left:74%;top:31%;transform:rotate(9deg)}
.letter-l2{left:84%;top:34%;transform:rotate(15deg)}
.game.is-reacting .letter-l1{transform:translateY(-5px) rotate(3deg)}
.game.is-reacting .letter-l2{transform:translateY(-4px) rotate(20deg)}
@media(max-width:900px){.wizard{width:34%;right:5%;bottom:-3%}}
@media(max-width:600px){.intro h1{font-size:clamp(36px,10.8vw,52px)}.wizard{width:34%;right:5%;bottom:-5%}.intro-copy{max-width:30ch}}

.keep-together{white-space:nowrap}

/* Three independent games; store links appear only for published releases. */
.games{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.game-art{aspect-ratio:1.7}
.game-copy{padding:18px 20px 20px}
.game h2{font-size:34px;line-height:40px}
.game--tictac h2{font-size:26px;letter-spacing:-.045em}
.game h3{font-size:22px}
.game-copy>p{font-size:16px;min-height:68px}
.game-copy .desktop-break{display:none}
.play{font-size:16px;margin-top:15px;gap:10px;min-height:50px}
.art-labels{inset:14px 14px auto}.age{font-size:12px;padding:6px 12px}.subject{font-size:10px;letter-spacing:.1em}
.tictac-art{background:radial-gradient(ellipse at 70% 75%,#f4fff3,#d9f1e6)}
.tictac-art .age{color:#28634d}
.tictac-scene{position:absolute;inset:0}
.mini-board{position:absolute;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;width:47%;aspect-ratio:1;left:8%;bottom:7%;padding:6px;border-radius:14px;background:#8dc9b9;box-shadow:0 5px 0 #70a99a,0 12px 18px #335e4c1a;transform:rotate(-9deg);transition:transform .4s}
.mini-board>span{display:grid;place-items:center;aspect-ratio:1;border-radius:7px;background:#f6fff9}
.mini-board img{width:100%}
.tiko{position:absolute;width:49%;right:0;bottom:-3%;transform:rotate(5deg);transform-origin:50% 85%}
.store-links{margin-top:12px}
.store-link{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:9px 12px;border:1px solid #dce1ee;border-radius:11px;color:var(--ink);font-size:13px;transition:background .2s,border-color .2s}
.store-link:hover{background:#f1f4ff;border-color:#a9b8f9}.store-link:active{background:#e6ebff}
.store-link svg{width:21px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.store-arrow{margin-left:3px;color:var(--muted)}
.game.is-reacting .tiko{animation:tiko-hello .7s ease-in-out}
.game.is-reacting .mini-board{transform:translateY(-4px) rotate(-5deg)}
.game.is-reacting .winning-mark{animation:winning-mark .7s ease-in-out}
@keyframes tiko-hello{0%,100%{transform:rotate(5deg)}45%{transform:translateY(-8px) rotate(-5deg)}}
@keyframes winning-mark{50%{background:#caffce;transform:scale(1.08)}}
@media(max-width:600px){
 .games{grid-template-columns:1fr;gap:16px}
 .game-art{aspect-ratio:1.9}
 .game-copy{padding:12px 16px 16px}
 .game h2{font-size:31px;line-height:1.1}
 .game--tictac h2{font-size:26px;line-height:1.3}
 .game h3{font-size:21px}
 .game-copy>p{font-size:15px;min-height:0}
 .play{min-height:48px;margin-top:14px}
 .mini-board{width:43%;left:10%;bottom:7%}
 .tiko{width:46%;right:2%;bottom:-5%}
}

/* Product identity stays independent from its position in the catalogue. */
.game:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.25fr}
.game:first-child .game-art{aspect-ratio:auto;min-height:300px;height:100%;border-radius:23px 15px 15px 23px}
.game:first-child .game-copy{padding:28px 32px;align-self:center}
.game:first-child h2{font-size:34px;line-height:1.08;max-width:18ch}
.game:first-child .game-copy>p{min-height:0;margin-top:12px;max-width:46ch}
.game:first-child .play,.game:first-child .store-links{max-width:320px;margin-top:20px}
@media(min-width:601px) and (max-width:900px){.game:first-child .game-copy{padding:24px}.game:first-child h2{font-size:30px}}
@media(max-width:600px){
 .game:first-child{display:block}
 .game:first-child .game-art{aspect-ratio:1.9;min-height:0;height:auto;border-radius:17px 17px 12px 12px}
 .game:first-child .game-copy{padding:16px}
 .game:first-child h2{font-size:28px}
 .game:first-child .play,.game:first-child .store-links{max-width:none;margin-top:16px}
}

/* 404 keeps the same shell and the next step obvious. */
.not-found{max-width:1200px;padding-block:56px 96px}
.not-found h1{font-size:clamp(42px,6vw,70px);line-height:1.03;letter-spacing:-.05em;font-weight:800;margin:10px 0 0}
.not-found .intro-copy{max-width:46ch;margin-top:18px}
.not-found .play{max-width:320px;margin-top:30px}
@media(max-width:600px){.not-found{padding-block:32px 56px}.not-found .play{max-width:none}}

/* Legal links stay readable in the footer on every page. */
.footer-main{display:flex;justify-content:space-between;align-items:center;gap:14px 28px;flex-wrap:wrap}
.footer-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px;font-size:13px;font-weight:500;color:var(--muted)}
.footer-nav a{padding:3px 0;transition:color .18s}
.footer-nav a:hover{color:var(--blue)}
.footer-nav a[aria-current="page"]{color:var(--ink);font-weight:650}
.footer-note{margin-top:10px}

/* Legal pages share the landing shell but read as documents. */
.legal{max-width:820px;padding-block:20px 72px;overflow-wrap:break-word}
.legal .eyebrow{color:var(--muted);font-size:11px}
.legal h1{font-size:clamp(36px,5.6vw,58px);line-height:1.04;letter-spacing:-.05em;font-weight:800;margin:10px 0 0;overflow-wrap:anywhere}
.legal-lead{font-size:20px;line-height:1.5;color:var(--muted);letter-spacing:-.02em;max-width:62ch;margin-top:16px}
.legal-meta{font-size:13px;line-height:1.5;color:var(--muted);margin-top:14px}
.legal section{margin-top:34px}
.legal h2{font-size:26px;line-height:1.2;letter-spacing:-.03em;font-weight:700}
.legal h3{font-size:18px;line-height:1.3;font-weight:650;margin-top:20px}
.legal p,.legal li{font-size:17px;line-height:1.65;color:#2a3150}
.legal p+p{margin-top:12px}
.legal ul{margin:12px 0 0;padding-left:22px}
.legal li+li{margin-top:7px}
.legal a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.legal a:hover{text-decoration-thickness:2px}
.legal code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:#eef1f8;border-radius:4px;padding:1px 5px}
.contact-card{padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.contact-card h2{font-size:18px;letter-spacing:-.02em}
.legal .contact-email{display:inline-block;margin-top:8px;font-size:clamp(22px,4vw,30px);line-height:1.2;font-weight:700;letter-spacing:-.035em;color:var(--blue);text-decoration:none;word-break:break-word}
.legal .contact-email:hover{text-decoration:underline;text-underline-offset:3px}
.contact-card p{margin-top:10px}

/* The cookie notice informs without blocking the page or the counter. */
.cookie-note{display:flex;justify-content:space-between;align-items:center;gap:16px;width:calc(100% - 72px);max-width:1128px;margin:0 auto 8px;padding:11px 16px;border:1px solid #cfd8f2;border-radius:14px;background:#f1f4ff;font-size:14px;line-height:1.45}
.cookie-note[hidden]{display:none}
.cookie-note p{color:var(--muted);max-width:76ch}
.cookie-note a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.cookie-note-close{flex:none;min-height:40px;padding:8px 18px;border:0;border-radius:10px;background:var(--blue);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s}
.cookie-note-close:hover{background:#244bea}
.cookie-note-close:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

@media(max-width:900px){.cookie-note{width:calc(100% - 52px)}}
@media(max-width:600px){
 .footer-main{flex-direction:column;align-items:flex-start;gap:8px}
 .footer-nav{gap:5px 16px;font-size:12px}
 .footer-note{margin-top:8px}
 .legal{padding-block:14px 56px}
 .legal h1{font-size:clamp(27px,8.4vw,46px);line-height:1.06}
 .legal-lead{font-size:17px;margin-top:13px}
 .legal-meta{font-size:12px}
 .legal section{margin-top:28px}
 .legal h2{font-size:22px}
 .legal h3{font-size:17px}
 .legal p,.legal li{font-size:16px;line-height:1.6}
 .legal ul{padding-left:20px}
 .contact-card{padding:16px;border-radius:14px}
 .cookie-note{flex-direction:column;align-items:stretch;gap:10px;width:calc(100% - 40px);padding:12px 14px;font-size:13px}
 .cookie-note-close{width:100%}
}

/* TiKoPaID: optional anonymous progress, never a gate before the games. */
.id-open{display:flex;align-items:center;gap:8px;border:0;background:none;padding:12px 0;font:inherit;font-size:14px;font-weight:500;color:inherit;cursor:pointer;transition:color .18s}
.id-open:hover{color:var(--blue)}
.id-open:focus-visible{outline:3px solid var(--blue);outline-offset:5px;border-radius:4px}
.id-open[hidden]{display:none}
.id-open-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#b8c1d8;box-shadow:0 0 0 3px #edf0f8;transition:background .18s,box-shadow .18s}
.id-open.is-on .id-open-dot{background:#1f9d63;box-shadow:0 0 0 3px #e2f6eb}

.id-dialog:not([open]){display:none}
.id-dialog{width:min(520px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 30px 80px #15193638}
.id-dialog--store{width:min(500px,calc(100% - 32px))}
.id-dialog::backdrop{background:#15193680;backdrop-filter:blur(2px)}
.id-dialog-inner{position:relative;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:30px;overflow-y:auto;overscroll-behavior:contain}
.id-dialog h2{max-width:15ch;font-size:32px;line-height:1.05;letter-spacing:-.045em}
.id-dialog [hidden]{display:none!important}
.id-kicker{margin-bottom:10px;color:var(--blue);font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.17em;text-transform:uppercase}
.id-lead{margin-top:10px;color:var(--muted);font-size:16px;line-height:1.45;letter-spacing:-.015em}
.id-note{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.45}
.id-close{position:absolute;top:16px;right:16px;width:44px;height:44px;border:0;border-radius:50%;background:#f1f4fb;color:#5b6382;font:inherit;font-size:25px;line-height:1;cursor:pointer;transition:background .18s,color .18s}
.id-close:hover{background:#e6ebf8;color:var(--ink)}
.id-close:focus-visible,.id-button:focus-visible,.id-link-danger:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.id-status{min-height:20px;margin-top:10px;color:var(--muted);font-size:14px;line-height:1.4}
.id-status.is-error{color:#a32035}
.id-actions{display:grid;gap:10px;margin-top:18px}
.id-button{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 16px;border:1px solid #dce1ee;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;line-height:1.25;text-align:center;text-decoration:none;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.id-button:hover{background:#f1f4ff;border-color:#a9b8f9}
.id-button:active{background:#e6ebff}
.id-button--primary{border-color:var(--blue);background:var(--blue);color:#fff}
.id-button--primary:hover{border-color:#244bea;background:#244bea;color:#fff}
.id-button--danger{border-color:#c62f45;background:#c62f45;color:#fff}
.id-button--danger:hover{border-color:#a32035;background:#a32035;color:#fff}
.id-button[disabled]{cursor:default;opacity:.55}
.id-link-danger{align-self:flex-start;margin-top:16px;padding:4px 0;border:0;background:none;color:#a32035;font:inherit;font-size:13px;font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.id-member{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:14px;border:1px solid #d6eedf;border-radius:14px;background:#f4fbf7}
.id-member-dot{width:10px;height:10px;flex:none;margin-top:5px;border-radius:50%;background:#1f9d63;box-shadow:0 0 0 4px #dcf3e6}
.id-member strong{display:block;font-size:15px;font-weight:650;line-height:1.3}
.id-member p{margin-top:3px;color:var(--muted);font-size:13px;line-height:1.4}
.id-code-row{display:flex;align-items:stretch;gap:10px;margin-top:16px}
.id-code{display:grid;flex:1;place-items:center;min-width:0;min-height:58px;border:1px dashed #b9c5e8;border-radius:12px;background:#f5f7ff;color:var(--ink);font-size:26px;font-weight:700;letter-spacing:.09em;line-height:1.2;text-align:center;user-select:all}
.id-code-row .id-button{flex:none;min-width:126px}
.id-form{display:grid;gap:8px;margin-top:18px}
.id-label{font-size:14px;font-weight:600;line-height:1.35}
.id-input{width:100%;min-height:52px;padding:10px 14px;border:1px solid #cfd7ea;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:19px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.id-input:focus{border-color:var(--blue);outline:3px solid #3158ff33;outline-offset:1px}
.id-input::placeholder{color:#9aa4bd;font-weight:500}
.id-warning{margin-top:14px;padding:12px 14px;border:1px solid #f0cdd3;border-radius:12px;background:#fff4f5;color:#8a2433;font-size:13px;line-height:1.45}
.id-form .id-warning{margin-top:2px}
.id-foot{margin-top:22px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.4}
.id-foot a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.id-foot a:hover{color:var(--ink)}

body.id-lock{overflow:hidden}

@media(max-width:600px){
 .site-header nav>button{padding:12px 0 12px 16px;font-size:13px}
 .id-open-dot{width:7px;height:7px}
 .id-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:20px}
 .id-dialog-inner{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:24px 18px 20px}
 .id-dialog h2{font-size:27px;padding-right:34px}
 .id-close{top:12px;right:12px;width:40px;height:40px;font-size:22px}
 .id-lead{font-size:15px}
 .id-code{min-height:54px;font-size:22px;letter-spacing:.07em}
 .id-code-row .id-button{min-width:112px;font-size:14px}
 .id-button{min-height:48px;font-size:15px}
}
@media(max-width:420px){
 .id-code-row{flex-direction:column}
 .id-code-row .id-button{width:100%}
 .id-code{width:100%}
}
.id-status:empty{min-height:0;margin-top:0}

/* ===== 2026-11-22 playroom redesign ===== */
body{background:var(--paper);color:var(--ink);font-family:var(--font);}
h1,h2,h3,.display{font-family:var(--display);font-weight:800;}
::selection{background:var(--butter);color:var(--ink)}
.wrap{max-width:1180px;padding-inline:34px}
.site-header{height:88px;position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--paper) 90%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid color-mix(in srgb,var(--line) 62%,transparent)}
.brand{width:146px;height:52px}
.site-header nav{gap:24px;font-size:14px;font-weight:600;color:var(--ink)}
.site-header nav>a{transition:color .18s,transform .18s}
.site-header nav>a:hover{color:var(--blue)}
.profile-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--card);color:var(--ink);font-size:13px;font-weight:650;line-height:1;transition:transform .18s,border-color .18s,background .18s}
.profile-pill img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--lilac-soft);border:2px solid #fff}
.profile-pill:hover{transform:translateY(-1px);border-color:#c8b8e6;background:#fff}
.profile-pill:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.choose-game{border:1px solid var(--blue);border-radius:var(--r-pill);padding:12px 18px;color:var(--blue);background:#fff;font-weight:650;display:flex;gap:10px;align-items:center;transition:background .18s,color .18s,transform .18s}
.choose-game:hover{background:var(--blue);color:#fff;transform:translateY(-1px)}
.id-open{font-weight:600}

.hero{position:relative;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr);gap:40px;align-items:center;padding:54px 0 54px;min-height:610px;isolation:isolate}
.hero::before{content:"";position:absolute;z-index:-1;width:54vw;height:54vw;max-width:760px;max-height:760px;right:0;top:-12%;border-radius:50%;background:radial-gradient(circle at 40% 40%,#eadcff 0%,#f4edff 44%,transparent 72%);opacity:.82;filter:blur(6px)}
.hero-copy{position:relative;z-index:2;padding:14px 0}
.hero-kicker{display:inline-flex;align-items:center;gap:9px;min-height:34px;padding:7px 12px;border:1px solid var(--line);border-radius:var(--r-pill);background:#fffaf2;color:var(--muted);font-size:12px;font-weight:650;line-height:1;letter-spacing:.02em}
.kicker-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--coral);box-shadow:0 0 0 3px #ffe1d9}
.kicker-line{width:18px;height:1px;background:#d9cce5}
.hero h1{font-family:var(--display);font-size:clamp(54px,6.5vw,88px);line-height:.93;letter-spacing:-.052em;font-weight:800;max-width:11.2ch;margin:24px 0 24px}
.hero h1 span{color:var(--blue);display:inline-block}
.hero-lead{max-width:47ch;color:var(--muted);font-size:19px;line-height:1.5;letter-spacing:-.015em}
.hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:27px}
.hero-proof{display:flex;flex-wrap:wrap;align-items:center;gap:10px 0;margin-top:27px;color:var(--muted);font-size:12px;font-weight:600}
.hero-proof span{display:inline-flex;align-items:center;min-height:24px;padding:0 12px;border-left:1px solid var(--line)}
.hero-proof span:first-child{padding-left:0;border-left:0}
.hero-proof span:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mint);margin-right:7px}

.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 20px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--card);color:var(--ink);font:inherit;font-size:15px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}
.button:hover{transform:translateY(-1px);border-color:#cbbce3;background:#fff}
.button:active{transform:translateY(1px)}
.button--primary{border-color:var(--blue);background:var(--blue);color:#fff;box-shadow:0 8px 0 #d9d1ff,0 14px 24px #3158ff1f}
.button--primary:hover{border-color:var(--blue-deep);background:var(--blue-deep);color:#fff}
.button--quiet{background:#fffaf2;border-color:#e7dac8}
.button--quiet:hover{background:#fff;border-color:#d9c8b1}
.button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.hero-actions .button{min-height:54px;padding-inline:22px}
.hero-actions .button--primary{box-shadow:0 7px 0 #d8d0ff,0 14px 24px #3158ff1c}

.hero-playroom{position:relative;min-height:560px;display:grid;place-items:center;isolation:isolate}
.playroom-orbit{position:absolute;z-index:-1;border:1px dashed #d8c7ea;border-radius:50%;transform:rotate(-13deg)}
.orbit-one{width:88%;aspect-ratio:1}
.orbit-two{width:69%;aspect-ratio:1;border-style:solid;border-color:#e9def6;transform:rotate(14deg)}
.profile-window{position:relative;z-index:2;width:min(380px,86%);padding:10px;background:var(--card);border:1px solid var(--line);border-radius:32px;box-shadow:0 28px 70px #533a7f24,0 3px 0 #e7d8c8;transform:rotate(-2.2deg)}
.profile-window-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 12px;color:var(--muted);font-size:11px;font-weight:700;line-height:1.2;letter-spacing:.06em;text-transform:uppercase}
.profile-window-live{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:var(--r-pill);background:var(--lilac-soft);color:#594b77;font-size:11px;font-weight:650;letter-spacing:0;text-transform:none}
.profile-window-live i{width:6px;height:6px;border-radius:50%;background:#46b985}
.profile-window-image{aspect-ratio:1;overflow:hidden;border-radius:24px;background:var(--lilac-soft)}
.profile-window-image img{width:100%;height:100%;object-fit:cover}
.profile-window-bottom{display:flex;align-items:center;gap:8px;padding:12px 8px 6px;min-width:0}
.profile-window-label{font-size:10px;color:var(--muted);line-height:1.2}
.profile-window-bottom strong{flex:1;min-width:0;font-family:var(--display);font-size:19px;line-height:1.1;letter-spacing:-.03em;overflow-wrap:anywhere}
.profile-window-arrow{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:var(--lilac);color:var(--ink);font-size:15px}
.game-chip{position:absolute;z-index:3;display:flex;align-items:center;gap:7px;min-height:38px;padding:6px 11px 6px 7px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--card);box-shadow:0 6px 0 #e7d8c8,0 12px 20px #533a7f13;color:var(--ink);font-size:12px;line-height:1;transform:rotate(-4deg)}
.game-chip span{padding:4px 6px;border-radius:var(--r-pill);background:#fff5d7;color:#6f5a24;font-size:10px;font-weight:700}
.game-chip strong{font-family:var(--display);font-size:13px;font-weight:800;letter-spacing:-.02em}
.game-chip--tama{left:-3%;top:13%;background:#fff9df;border-color:#f1df9f}
.game-chip--spell{right:-2%;top:35%;background:#edf2ff;border-color:#d2dcfb;transform:rotate(4deg)}
.game-chip--spell span{background:#dfe7ff;color:#304ca8}
.game-chip--tictac{left:1%;bottom:20%;background:#eaf9ef;border-color:#c9ead5;transform:rotate(3deg)}
.game-chip--tictac span{background:#d9f4e3;color:#276b49}
.playroom-shelf{position:absolute;z-index:0;bottom:11%;width:88%;height:14px;border-radius:var(--r-pill);background:linear-gradient(#f0e2cf,#e5d3bb);box-shadow:0 12px 0 -5px #f5ecdf,0 20px 22px #764f3010}

.game-section{padding-top:22px;scroll-margin-top:18px}
.section-heading{display:grid;gap:5px;max-width:62ch;margin-bottom:18px}
.section-kicker{display:inline-flex;align-items:center;width:max-content;min-height:28px;padding:5px 10px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--lilac-soft);color:#5f4f7e;font-size:11px;font-weight:700;line-height:1.2}
.section-heading h2{font-family:var(--display);font-size:clamp(34px,4vw,48px);line-height:1;letter-spacing:-.045em;font-weight:800}
.section-heading>p:last-child{color:var(--muted);font-size:15px;line-height:1.45}
.games{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;padding-bottom:16px}
.games::after{content:"";position:absolute;left:1.5%;right:1.5%;bottom:0;height:9px;border-radius:var(--r-pill);background:linear-gradient(#efe2d2,#e5d4bd);box-shadow:0 9px 0 -3px #f6ecdf}
.game{position:relative;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:28px;overflow:hidden;transition:transform .24s,box-shadow .24s,border-color .24s}
.game:hover,.game:focus-within{transform:translateY(-4px);border-color:#cdbce6;box-shadow:0 18px 40px #533a7f16}
.game-art{position:relative;aspect-ratio:1.72;margin:10px 10px 0;overflow:hidden;border-radius:21px;isolation:isolate}
.game-copy{padding:18px 20px 21px}
.game h2{font-family:var(--display);font-size:36px;line-height:1;font-weight:800;letter-spacing:-.045em}
.game h3{font-family:var(--display);font-size:21px;line-height:1.18;font-weight:800;letter-spacing:-.025em;margin-top:5px}
.game-copy>p{color:var(--muted);font-size:15.5px;line-height:1.43;margin-top:7px;min-height:0}
.play{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:17px;min-height:50px;border-radius:15px;background:var(--blue);color:#fff;font-size:16px;font-weight:700;box-shadow:0 5px 0 #d8d0ff;transition:background .18s,transform .18s,box-shadow .18s}
.play svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.play:hover{background:var(--blue-deep);transform:translateY(-1px);box-shadow:0 6px 0 #d8d0ff}
.play:hover svg{transform:translateX(4px)}
.play:active{transform:translateY(2px);box-shadow:none}
.store-links{margin-top:10px}
.store-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:13px;background:#fffaf2;color:var(--ink);font-size:12.5px;font-weight:600;transition:background .18s,border-color .18s}
.store-link:hover{background:#fff;border-color:#cdbce6}
.store-link:active{background:#f6edff}
.store-link svg{width:19px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.store-arrow{margin-left:2px;color:var(--muted)}
.art-labels{position:absolute;inset:13px 14px auto;display:flex;align-items:center;justify-content:space-between;z-index:3;pointer-events:none;gap:8px}
.age{font-size:12px;font-weight:700;padding:6px 11px;border-radius:var(--r-pill);background:#ffffffc7;color:#65491b;backdrop-filter:blur(4px)}
.spell-art .age{color:#2549db}
.subject{font-size:10px;font-weight:700;letter-spacing:.035em;text-transform:none;color:#333d61}
.game:hover .play,.game:focus-within .play{background:var(--blue-deep)}

.game:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.04fr .96fr;border-radius:32px}
.game:first-child .game-art{aspect-ratio:auto;min-height:330px;height:calc(100% - 20px);margin:10px 0 10px 10px;border-radius:24px}
.game:first-child .game-copy{padding:30px 32px;align-self:center}
.game:first-child h2{font-size:42px;line-height:1}
.game:first-child h3{font-size:23px}
.game:first-child .game-copy>p{font-size:16px;max-width:42ch;margin-top:9px}
.game:first-child .play,.game:first-child .store-links{max-width:330px;margin-top:18px}

.profile-invite{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:28px;align-items:center;margin-top:42px;padding:36px 38px;border:1px solid var(--line);border-radius:36px;background:linear-gradient(125deg,#f5edff 0%,#fffaf1 64%,#fff6e8 100%);overflow:hidden;isolation:isolate}
.profile-invite:before{content:"";position:absolute;width:360px;height:360px;right:-90px;top:-140px;border-radius:50%;background:radial-gradient(circle,#e5d2ff 0%,transparent 70%);opacity:.9;z-index:-1}
.profile-invite:after{content:"";position:absolute;left:24px;bottom:20px;width:84px;height:84px;background-image:radial-gradient(#d9c8e8 1.4px,transparent 1.4px);background-size:11px 11px;opacity:.7;z-index:-1}
.profile-invite h2{font-family:var(--display);font-size:clamp(42px,5vw,62px);line-height:.95;letter-spacing:-.045em;font-weight:800;margin-top:12px}
.profile-invite-copy>p:not(.section-kicker):not(.profile-invite-note){max-width:45ch;margin-top:16px;color:var(--muted);font-size:16px;line-height:1.5}
.profile-facts{display:flex;flex-wrap:wrap;gap:8px;margin:19px 0 20px}
.profile-facts span{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 11px;border:1px solid #e4d6f0;border-radius:var(--r-pill);background:#fffdfa;color:var(--muted);font-size:12px;font-weight:600}
.profile-facts strong{font-family:var(--display);font-size:17px;color:var(--ink)}
.profile-invite-note{margin-top:12px;color:var(--muted);font-size:11.5px;line-height:1.45}
.profile-invite-art{position:relative;min-height:350px;display:grid;place-items:center}
.profile-invite-frame{width:min(320px,78%);aspect-ratio:1;padding:8px;border-radius:32px;background:var(--card);border:1px solid var(--line);box-shadow:0 22px 48px #533a7f1c,0 4px 0 #e5d3bd;transform:rotate(3deg)}
.profile-invite-frame img{width:100%;height:100%;object-fit:cover;border-radius:25px}
.profile-name-tag{position:absolute;z-index:2;left:2%;bottom:13%;padding:10px 13px;border-radius:11px;background:var(--ink);color:#fff;font-family:var(--display);font-size:16px;line-height:1;letter-spacing:-.02em;transform:rotate(-5deg);box-shadow:0 5px 0 #0f0c22}
.profile-star{position:absolute;z-index:2;right:3%;top:5%;color:var(--coral);font-size:38px;line-height:1;transform:rotate(9deg)}
.profile-sticker{position:absolute;z-index:2;left:2%;top:10%;padding:7px 10px;border:1px solid #ecd38c;border-radius:var(--r-pill);background:var(--butter);color:#674d1f;font-size:11px;font-weight:700;transform:rotate(-7deg)}
.reassurance{display:flex;align-items:center;justify-content:center;gap:44px;padding:25px 0 22px;color:var(--muted);border-bottom:1px solid var(--line)}
.reassurance p{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600;white-space:nowrap}
.reassurance svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}
.reassurance-divider{height:24px;width:1px;background:var(--line)}
.parents{display:grid;grid-template-columns:.94fr 1.06fr;gap:32px;margin-top:28px;padding:34px 36px;border:1px solid var(--line);border-radius:32px;background:var(--card)}
.parents .section-kicker{background:#fff7e8;color:#715522;border-color:#eee0c8}
.parents h2{font-family:var(--display);font-size:clamp(36px,4.2vw,52px);line-height:.97;letter-spacing:-.045em;font-weight:800;margin-top:12px}
.parents-lead{max-width:40ch;margin-top:15px;color:var(--muted);font-size:15px;line-height:1.5}
.parent-points{display:grid;gap:9px;align-content:center}
.parent-point{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:17px;background:#fbf7ef}
.parent-point:nth-child(2){background:#f6f1ff;border-color:#e5d8f4}
.parent-point:nth-child(3){background:#f1faf4;border-color:#d5eedf}
.point-icon{width:24px;height:24px;flex:none;display:grid;place-items:center;font-size:12px;background:var(--blue);color:#fff;border-radius:50%;margin-top:1px}
.parent-point h3{font-family:var(--display);font-size:16px;line-height:1.22;font-weight:800;letter-spacing:-.02em}
.parent-point p{font-size:13.5px;line-height:1.42;color:var(--muted);margin-top:3px}
.site-footer{padding-block:18px 26px;position:relative}
.site-footer:before{content:"";position:absolute;top:0;left:34px;right:34px;height:1px;background:var(--line)}
.footer-brand{font-family:var(--display);font-size:25px;font-weight:800;letter-spacing:-.05em}
.footer-brand span{color:var(--blue)}
.footer-nav{gap:5px 18px;font-size:12.5px}
.footer-note{font-size:11.5px}

@keyframes playroom-in{from{opacity:0;transform:translateY(16px) rotate(-2.2deg)}to{opacity:1;transform:translateY(0) rotate(-2.2deg)}}
@keyframes rise-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero-copy{animation:rise-in .55s ease-out both}
.hero-playroom{animation:rise-in .7s .08s ease-out both}
.profile-window{animation:playroom-in .75s .16s cubic-bezier(.2,.8,.2,1) both}
.game{animation:rise-in .5s .18s ease-out both}
.game:nth-child(2){animation-delay:.24s}.game:nth-child(3){animation-delay:.3s}
.profile-invite{animation:rise-in .55s .1s ease-out both}

@media(max-width:1050px){
 .hero{grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);gap:24px}
 .hero h1{font-size:clamp(52px,6.7vw,76px)}
 .game:first-child{grid-template-columns:1fr 1fr}
 .game:first-child .game-copy{padding:26px}
}
@media(max-width:900px){
 .wrap{padding-inline:26px}
 .site-header{height:80px}
 .site-header nav{gap:16px;font-size:13px}
 .profile-pill{padding-right:8px}
 .hero{grid-template-columns:1fr;gap:18px;padding-top:30px;min-height:0}
 .hero h1{max-width:12ch}
 .hero-playroom{min-height:500px;margin-top:4px}
 .profile-window{width:min(350px,72%)}
 .game-chip--tama{left:3%;top:10%}.game-chip--spell{right:2%;top:30%}.game-chip--tictac{left:5%;bottom:17%}
 .playroom-shelf{width:78%}
 .game:first-child .game-art{min-height:285px}
 .profile-invite{grid-template-columns:1fr;padding:30px}
 .profile-invite-art{min-height:300px;margin-top:2px}
 .profile-invite-frame{width:min(290px,64%)}
 .parents{grid-template-columns:1fr;gap:22px;padding:28px}
 .parents-lead{max-width:52ch}
 .site-footer:before{left:26px;right:26px}
}
@media(max-width:600px){
 .wrap{padding-inline:20px}
 .site-header{height:72px}
 .brand{width:118px;height:44px}
 .site-header nav{gap:0;font-size:13px}
 .site-header nav>a{padding:10px 0 10px 12px}
 .nav-parents,.site-header .choose-game{display:none}
 .profile-pill{padding:4px;min-height:38px;border:0;background:transparent}
 .profile-pill img{width:36px;height:36px;border-width:2px}
 .profile-pill span{display:none}
 .id-open{padding:10px 0 10px 10px;font-size:12px}
 .id-open-dot{width:7px;height:7px}
 .hero{padding:22px 0 28px;gap:8px}
 .hero h1{font-size:clamp(42px,12.2vw,60px);line-height:.95;margin:18px 0 16px;max-width:10.8ch}
 .hero-lead{font-size:16px;line-height:1.45;max-width:34ch}
 .hero-actions{gap:8px;margin-top:20px}
 .hero-actions .button{flex:1 1 auto;min-height:48px;font-size:13.5px;padding-inline:12px}
 .hero-proof{margin-top:20px;font-size:10.5px;gap:0}
 .hero-proof span{padding:0 8px}
 .hero-playroom{min-height:390px;margin-top:2px}
 .playroom-orbit{width:92%}
 .profile-window{width:min(280px,82%);border-radius:25px;padding:8px;transform:rotate(-1.6deg)}
 .profile-window-top{padding:6px 7px 9px;font-size:9.5px}
 .profile-window-live{font-size:9.5px;padding:4px 6px}
 .profile-window-image{border-radius:19px}
 .profile-window-bottom{padding:9px 6px 4px;gap:5px}
 .profile-window-bottom strong{font-size:16px}
 .profile-window-label{font-size:9px}
 .profile-window-arrow{width:26px;height:26px;font-size:13px}
 .game-chip{min-height:30px;padding:4px 8px 4px 5px;font-size:10px;box-shadow:0 4px 0 #e7d8c8}
 .game-chip span{font-size:8px;padding:3px 5px}
 .game-chip strong{font-size:10.5px}
 .game-chip--tama{left:-3%;top:8%}.game-chip--spell{right:-3%;top:26%}.game-chip--tictac{left:-1%;bottom:18%}
 .playroom-shelf{width:84%;bottom:12%;height:10px}
 .section-heading{margin-bottom:14px}
 .section-heading h2{font-size:34px}
 .section-heading>p:last-child{font-size:14px}
 .games{grid-template-columns:1fr;gap:15px;padding-bottom:14px}
 .games::after{left:3%;right:3%;height:7px}
 .game{border-radius:22px}
 .game-art{aspect-ratio:1.78;margin:8px 8px 0;border-radius:17px}
 .game-copy{padding:14px 15px 16px}
 .game h2{font-size:31px}
 .game h3{font-size:20px}
 .game-copy>p{font-size:14.5px;line-height:1.4;max-width:32ch}
 .play{min-height:46px;border-radius:12px;font-size:14px;margin-top:13px}
 .store-link{min-height:42px;font-size:12px}
 .game:first-child{display:block;border-radius:22px}
 .game:first-child .game-art{aspect-ratio:1.78;min-height:0;height:auto;margin:8px 8px 0;border-radius:17px}
 .game:first-child .game-copy{padding:14px 15px 16px}
 .game:first-child h2{font-size:31px}
 .game:first-child h3{font-size:20px}
 .game:first-child .game-copy>p{font-size:14.5px;max-width:none;margin-top:5px}
 .game:first-child .play,.game:first-child .store-links{max-width:none;margin-top:13px}
 .profile-invite{margin-top:26px;padding:22px 20px;border-radius:26px;gap:16px}
 .profile-invite h2{font-size:40px;margin-top:10px}
 .profile-invite-copy>p:not(.section-kicker):not(.profile-invite-note){font-size:14px;margin-top:13px}
 .profile-facts{gap:6px;margin:14px 0 16px}
 .profile-facts span{font-size:11px;min-height:33px;padding:6px 9px}
 .profile-facts strong{font-size:15px}
 .profile-invite .button{width:100%}
 .profile-invite-art{min-height:260px}
 .profile-invite-frame{width:min(230px,74%)}
 .profile-name-tag{font-size:13px;padding:8px 10px;bottom:8%}
 .profile-star{font-size:30px;right:1%}
 .profile-sticker{font-size:10px;padding:6px 8px;left:0;top:4%}
 .reassurance{justify-content:space-between;gap:12px;padding:20px 0}
 .reassurance p{font-size:11.5px;gap:7px}
 .reassurance svg{width:23px;height:23px}
 .reassurance-divider{height:22px}
 .parents{padding:22px 18px;border-radius:26px;gap:18px}
 .parents h2{font-size:36px}
 .parents-lead{font-size:14px;margin-top:12px}
 .parent-point{padding:12px}
 .parent-point h3{font-size:15px}
 .parent-point p{font-size:13px}
 .site-footer{padding-block:16px 22px}
 .site-footer:before{left:20px;right:20px}
 .footer-brand{font-size:22px}
 .footer-nav{gap:4px 14px;font-size:12px}
}
@media(max-width:370px){
 .brand{width:104px;height:40px}
 .site-header nav>a{padding-left:8px}
 .id-open{font-size:11px;padding-left:8px}
 .hero h1{font-size:clamp(38px,12vw,50px)}
 .profile-window{width:min(250px,84%)}
 .game-chip--spell{right:-1%}
}
@media(prefers-reduced-motion:reduce){
 .hero-copy,.hero-playroom,.profile-window,.game,.profile-invite{animation:none!important}
 .game,.button,.profile-pill,.choose-game,.play,.store-link{transition:none!important}
}
@media(max-width:600px){
 .game-chip{display:none}
 .hero-playroom{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:14px 0 28px;gap:4px}
 .playroom-shelf{bottom:44px}
}
.eyebrow{display:inline-flex;align-items:center;width:max-content;min-height:28px;padding:5px 10px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--lilac-soft);color:#5f4f7e;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:.02em;text-transform:none}
.legal .eyebrow{color:#5f4f7e;font-size:11px}

html,body{overflow-x:clip}
.game-chip--tama{left:-16%;top:13%}
.game-chip--spell{right:-7%;top:35%}
.game-chip--tictac{left:-22%;bottom:18%}
@media(max-width:900px){
 .hero-playroom{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:14px 0 28px;gap:4px}
 .playroom-shelf{bottom:44px}
 .game-chip--tama{left:2%;top:10%}
 .game-chip--spell{right:2%;top:32%}
 .game-chip--tictac{left:4%;bottom:19%}
}
.game-chip--tictac{display:none}
.profile-window-label{white-space:nowrap}
.profile-name-tag{max-width:72%;line-height:1.1;overflow-wrap:anywhere}

/* ===== 2026-11-22 profile as the only identity entry ===== */
html.has-profile .profile-invite{display:none}
html.has-profile .profile-pill-plus{display:none}
.profile-window{display:block;color:inherit;text-decoration:none;transition:transform .24s,box-shadow .24s}
.profile-window:hover{transform:rotate(-1.2deg) translateY(-4px);box-shadow:0 32px 74px #533a7f2b,0 4px 0 #e7d8c8}
.profile-window:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.profile-window-image{display:block}
.profile-window-live[data-state="none"]{background:#fff5d7;color:#6f5a24}
.profile-window-live[data-state="none"] i{background:#e0a43a}
.profile-window-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px;padding:9px 10px 7px;border-top:1px solid var(--line);color:var(--blue);font-size:12.5px;font-weight:700;line-height:1.2}
.profile-window-cta span[aria-hidden]{font-size:15px}
.profile-pill-plus{display:none;margin-left:-4px;color:var(--blue);font-size:14px;font-weight:800;line-height:1}
html:not(.has-profile) .profile-pill-plus{display:inline}
@media(max-width:600px){
  .profile-pill span:not(.profile-pill-plus){display:none}
  .profile-pill-plus{font-size:13px;margin-left:-2px}
}
@media(prefers-reduced-motion:reduce){
  .profile-window{transition:none!important}
  .profile-window:hover{transform:rotate(-2.2deg)}
}
