/* A shared, touch-friendly layer. Branding stays controlled by the appearance editor. */
html{scroll-padding-top:24px;-webkit-text-size-adjust:100%}
.play-body,.member-body{min-height:100vh;min-height:100dvh}
.play-main>*,.header-inner>*,.member-main>*,.account-summary>*,.login-grid>*{min-width:0}
.play-main,.header-inner{max-width:1440px}
.header-inner{gap:28px;padding:20px 36px;min-height:96px}
.site-header{position:relative;z-index:5}
.header-inner>.brand,.member-header>.brand{min-height:44px}
.onboard-back{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.site-nav a,.header-left>.btn{font-size:13px;min-height:44px}
.site-nav a.active:after{bottom:-22px}
.site-search{width:clamp(190px,21vw,300px);min-height:46px;border-radius:16px}
.site-search input{font-size:14px;min-width:0}
.site-search input::placeholder{font-size:12px}
.site-search button{min-width:30px;min-height:30px}
.play-main{padding:32px 36px 16px}
.welcome-banner{min-height:245px;border-radius:28px;padding:32px 38px}
.welcome-copy{max-width:64%}
.welcome-banner h1{font-size:clamp(25px,3vw,38px);line-height:1.7;text-wrap:balance}
.welcome-banner p{font-size:14px;line-height:2;max-width:610px}
.welcome-banner .mini-label,.banner-link{font-size:12px}
.banner-link{min-height:44px;margin-top:12px}
.banner-art{top:30px;left:36px;transform:scale(1.08)}
.collection-tab{font-size:13px;min-height:46px;padding:9px 17px;border-radius:15px}
.collection-tab .icon{width:18px;height:18px}
.layout-switch{border-radius:14px}
.layout-switch button{width:38px;height:38px}
.section-name h2{font-size:19px}
.section-name p{font-size:12px;color:#877166;line-height:1.8}
.section-controls .see-all{font-size:12px;min-height:44px}
.section-symbol{height:43px;width:43px;border-radius:15px}
.section-count{font-size:11px}
.scroll-arrow{height:38px;width:38px;border-radius:12px}
.game-row{grid-auto-columns:calc((100% - 90px)/6);gap:18px;padding-bottom:18px}
.game-section{margin-bottom:36px}
.game-caption{min-height:52px;padding:10px 9px}
.game-caption h3{font-size:13px;font-weight:700}
.card-badge{font-size:10px}
.game-card{box-shadow:0 4px 0 var(--site-soft,#ffe8d3),0 10px 25px #70401a0a}
.site-footer{max-width:1368px;margin-inline:auto;font-size:12px;padding:28px 0}
.site-footer>a{font-size:12px}
.footer-brand{font-size:16px}
.mini-label,.public-breadcrumbs,.back-link{font-size:13px}
.detail-content>p{font-size:15px;color:#877166}
.launch-note,.demo-notice{font-size:12px}
.collection-hero p,.custom-hero-copy p,.site-banner-card p{font-size:14px}
.member-field input,.member-field select,.member-field textarea{font-size:16px;min-height:48px}
.member-panel .btn,.plan-card .btn{min-height:48px}
.member-panel,.plan-card{overflow-wrap:anywhere}
.plan-price{font-size:clamp(36px,4vw,48px)}
.member-table-wrap{overscroll-behavior-x:contain}
.site-footer,.site-footer>a,.site-search input::placeholder{color:#8a766b}
.unity-instructions{padding-inline-start:24px;line-height:2.2;font-size:14px}.unity-instructions li{padding:8px 0}.unity-instructions code,.unity-path{overflow-wrap:anywhere;background:var(--orange-soft,#fff0df);border-radius:8px;padding:3px 7px;font-size:13px}.unity-instructions a{text-decoration:underline}.unity-builds{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px;margin-top:18px}.unity-checks{list-style:none;padding:0;font-size:13px;display:grid;gap:8px}.unity-checks .icon{width:17px;height:17px;color:var(--orange-dark)}.unity-path{display:block;margin:18px 0;white-space:normal}
.mobile-dock{display:none}
.unity-pick{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;cursor:pointer;margin-block:12px}.unity-pick input{width:20px;height:20px;accent-color:var(--orange);flex-shrink:0}.unity-import-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center}.unity-import-actions .member-field{margin:0}.unity-template-note{padding:20px;border:1px solid var(--line);border-radius:18px;margin-top:20px;background:var(--orange-soft)}.unity-template-note p{font-size:13px;margin:7px 0 14px}.unity-import-actions>div,.unity-import-actions>.unity-pick{grid-column:1/-1}@media(max-width:640px){.unity-import-actions{grid-template-columns:1fr}.unity-import-actions>div,.unity-import-actions>.unity-pick{grid-column:auto}}
.install-sheet{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid #efdfd2;border-radius:28px;background:#fffdf9;color:#3f3029;text-align:right;color-scheme:light}
.install-sheet h2,.install-sheet h3,.install-sheet .install-steps li{color:#3f3029}
.install-sheet .install-account-help{margin:18px 0;padding:16px;border:1px solid #eadfef;border-radius:16px;background:#f7f2fc}
.install-sheet .install-account-help h3{font-size:16px;margin-bottom:7px}
.install-sheet .install-account-help p{color:#65556c;font-size:13px;line-height:1.9}
.install-sheet .btn-primary{color:#fff;background:#6337a4}
.install-sheet::backdrop{background:#24170c77;backdrop-filter:blur(8px)}
.install-sheet .install-close{position:absolute;top:16px;left:16px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#f6eee6;color:#654a3c;font-size:26px}
.install-mark{display:grid;place-items:center;width:68px;height:68px;border-radius:23px;background:var(--site-accent,#ff7a00);color:var(--site-on-accent,#fff);font-size:32px;box-shadow:0 8px 0 var(--site-soft,#ffead0);margin:4px 0 23px}
.install-sheet h2{font-size:22px;margin-bottom:10px;max-width:95%;line-height:1.7}
.install-sheet p{font-size:14px;color:#806b5e}
.install-steps{list-style:none;padding:0;display:grid;gap:12px;margin:22px 0}
.install-steps li{display:flex;align-items:center;gap:12px;padding:12px;background:#f9f2eb;border-radius:16px;font-size:14px}
.install-step{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:white;border-radius:10px;color:var(--site-dark,#aa4b00);font-weight:bold}
.install-sheet .btn{white-space:normal;width:100%;min-height:48px;margin-top:8px}
.install-fine{display:block;font-size:11px;color:#8a766b;margin-top:14px;text-align:center}
body:has(.install-sheet[open]){overflow:hidden}
@media(min-width:1600px){.play-main,.header-inner{max-width:1512px}.site-footer{max-width:1440px}.welcome-banner{min-height:270px}.banner-art{left:70px;transform:scale(1.2)}}
@media(max-width:1200px){.header-inner{gap:20px}.site-nav{gap:16px}.game-row{grid-auto-columns:calc((100% - 64px)/5);gap:16px}.site-footer{margin-inline:36px}.welcome-banner p{max-width:75%}}
@media(min-width:721px) and (max-width:1000px){.header-inner{display:grid;grid-template-columns:auto 1fr;padding:20px 26px}.site-nav{grid-row:2;grid-column:1/-1;border:0;justify-content:flex-start;padding:0;gap:24px}.site-nav a.active:after{bottom:-6px}.header-left{min-width:0;justify-content:flex-end;gap:10px}.site-search{flex:1;width:auto;max-width:270px}.header-left>.btn{white-space:normal;text-align:center;max-width:175px}.play-main{padding:26px}.game-row{grid-auto-columns:calc((100% - 48px)/4)}[data-layout=grid] .game-row{grid-template-columns:repeat(4,minmax(0,1fr))}.banner-art{left:0;transform:scale(.85)}.welcome-banner{padding:26px}.welcome-copy{max-width:65%}.welcome-banner p{max-width:90%}.section-name h2{font-size:17px}.account-summary{grid-template-columns:1fr 1fr}.subscription-card{flex-direction:column;align-items:flex-start}.site-footer{margin-inline:26px}}
@media(max-width:720px){
  html{scroll-padding-top:18px}
  .play-body,.member-body{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
  .has-mobile-dock{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 12px;padding:20px 20px 16px;min-height:0}
  .header-inner>.brand{align-self:center;margin:0;max-width:100%}
  .header-left{display:contents}
  .header-left>.btn{grid-column:2;grid-row:1;max-width:155px;font-size:12px;min-height:44px;padding:9px 12px;white-space:normal;text-align:center;border-radius:15px;line-height:1.6}
  .header-left>.btn .icon{width:17px;height:17px}
  .header-inner .site-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;min-height:50px;padding:7px 12px;border-radius:17px}
  .site-search input,.site-search input::placeholder{font-size:16px}
  .site-search button{display:grid;min-height:36px;min-width:36px}
  .site-nav{display:none}.header-left .admin-link{display:none}
  .brand-name{font-size:21px}.brand-name small{font-size:8px;letter-spacing:0}.brand-icon{width:40px;height:40px;border-radius:14px}
  .brand-custom{gap:8px}.brand-custom .brand-name{max-width:120px}.brand-custom .brand-logo+.brand-name{max-width:85px;font-size:15px}.brand-logo{max-width:80px}
  .play-main{padding:22px 20px 8px}
  .welcome-banner{min-height:270px;padding:24px 22px;border-radius:26px;align-items:flex-start;margin-bottom:26px}
  .welcome-copy{max-width:100%}.welcome-banner h1{font-size:clamp(24px,6.5vw,33px);margin:9px 0;max-width:100%;letter-spacing:-.8px}
  .welcome-banner h1>span{display:inline}.welcome-banner p{font-size:13px;max-width:72%;line-height:2}
  .welcome-banner .mini-label{font-size:11px}.banner-link{font-size:13px;max-width:68%;margin-top:16px;min-height:44px}
  .banner-art{left:-10px;top:auto;bottom:-20px;transform:scale(.55);transform-origin:left bottom;opacity:.95;pointer-events:none}
  .banner-art .art-puzzle{left:80px;top:17px;width:130px}.banner-art .art-game{left:6px;top:67px;width:175px}
  .welcome-banner:after{left:-50px;top:auto;bottom:-140px;width:260px;height:260px}
  .category-banner{min-height:175px}.category-banner p{max-width:100%}
  .library-navigation{gap:8px;margin-bottom:26px;padding-bottom:15px}
  .collection-tabs{gap:6px;scroll-padding-inline:4px}.collection-tab{font-size:12px;min-height:44px;padding:8px 12px}
  .layout-switch button{height:36px;width:32px}.layout-switch .icon{height:18px;width:18px}
  .section-heading{align-items:flex-start;gap:8px;margin-bottom:15px}.section-name{gap:9px}.section-name h2{font-size:17px;line-height:1.9;overflow-wrap:anywhere}
  .section-name p{font-size:11px;max-width:44vw;white-space:nowrap}.section-count{font-size:10px}.section-symbol{width:38px;height:38px;border-radius:13px;margin-top:2px}.section-symbol .icon{width:20px;height:20px}
  .section-controls{gap:0}.section-controls .see-all{font-size:11px;min-height:44px;white-space:nowrap}.row-arrows{display:none}
  .game-row{grid-auto-columns:43%;gap:13px;padding:3px 1px 17px;scroll-snap-type:x mandatory;scrollbar-width:none}.game-row::-webkit-scrollbar{display:none}
  .game-cover{aspect-ratio:1.08}.game-caption{min-height:51px;padding:10px 7px}.game-caption h3{font-size:12px}.game-caption>span .icon{width:14px;height:14px}
  .card-badge{font-size:9px;top:8px;right:8px;padding:3px 7px}.card-badge .icon{width:13px;height:13px}
  [data-layout=grid] .game-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}[data-layout=grid] .game-caption h3{font-size:12px}
  .game-section{margin-bottom:30px}.game-card:active{transform:scale(.98)}
  .site-footer{margin:0 20px;padding:25px 0;gap:18px;font-size:11px}.site-footer>div{flex-wrap:wrap;gap:8px}.site-footer>a{font-size:11px;min-height:44px}.site-footer>span{display:block}.footer-brand{font-size:15px}
  .public-breadcrumbs{font-size:12px;line-height:2}.detail-content h1{font-size:28px}.game-detail{grid-template-columns:1fr;padding:17px;gap:20px;border-radius:24px}.detail-content{padding:4px}.detail-content>p{font-size:14px}.play-now{width:100%;min-height:52px;font-size:15px;border-radius:16px}.launch-note{font-size:11px;line-height:2}.back-link{min-height:44px;font-size:13px}
  .collection-hero{padding:18px;gap:15px}.collection-hero>img{width:76px;height:76px}.collection-hero h1{font-size:23px}.collection-hero p{font-size:12px}.hero-spark{display:none}
  .custom-hero{border-radius:24px}.custom-hero-copy{padding:20px;gap:16px}.custom-hero-copy h1{font-size:25px}.custom-hero-copy p{font-size:14px}.custom-hero-copy .btn{width:100%;min-height:48px}
  .site-banners{gap:18px}.site-banner-card>div{padding:20px}.site-banner-card h2{font-size:18px}.site-banner-card p{font-size:13px}.site-banner-card a{min-height:44px;font-size:13px;display:inline-flex;align-items:center}
  .catalog-subscription{font-size:12px;line-height:2;padding:12px 15px}.site-announcement{font-size:12px;line-height:2;overflow-wrap:anywhere}.demo-notice{font-size:11px;line-height:2}
  .member-header{padding:20px;gap:10px}.member-header .btn{font-size:12px;min-height:44px}.member-main{padding:0 20px;margin:12px auto 32px}
  .login-grid{grid-template-columns:1fr;gap:24px;padding:0}.member-story h1{font-size:30px;line-height:1.55;margin:8px 0}.member-story>p{font-size:13px}.member-story>img{display:none}.story-chips{display:none}.member-story{text-align:right;padding:8px 2px}
  .member-panel,.login-panel{border-radius:24px;padding:24px;max-width:none}.login-panel h2{font-size:25px}.member-field{font-size:13px}.member-field input{padding:13px}.member-panel>.muted{font-size:13px}
  .account-summary{grid-template-columns:1fr}.subscription-card{align-items:flex-start;gap:12px;flex-direction:row}.subscription-card .panel-symbol{flex-shrink:0;width:44px;height:44px}.subscription-card h2{font-size:18px}.member-welcome{align-items:flex-start;flex-wrap:wrap}.member-welcome h1{font-size:29px;overflow-wrap:anywhere}.member-welcome p{font-size:13px}
  .plans-grid{grid-template-columns:1fr;gap:26px}.plan-card{padding:26px;border-radius:25px}.plan-card h3{font-size:20px}.plan-price{font-size:44px}.plan-card li{font-size:13px}.plan-card ul{gap:12px}.plan-card>p{font-size:12px}.plan-card .btn{font-size:15px}.payment-assurance{font-size:12px}.member-footer{padding:24px 20px;font-size:12px}
  .onboarding-body{padding-bottom:env(safe-area-inset-bottom,0px)}.onboarding-body .member-header{padding-block:16px}.onboard-content{min-width:0}.onboard-option{min-height:54px}.onboard-next{min-height:52px}.onboard-actions{padding-bottom:4px}.intro-copy h1{font-size:clamp(25px,7vw,34px)}
  .mobile-dock{position:fixed;z-index:30;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:calc(16px + env(safe-area-inset-left,0px));right:calc(16px + env(safe-area-inset-right,0px));display:grid;grid-auto-flow:column;grid-auto-columns:1fr;max-width:480px;margin-inline:auto;padding:8px;border:1px solid #fff;border-radius:25px;background:#fffffff2;box-shadow:0 8px 40px #56351c26;backdrop-filter:blur(18px)}
  .mobile-dock>a,.mobile-dock>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;min-width:0;border-radius:18px;font:11px/1.6 Shadopia,Tahoma,sans-serif;color:#806c5f;background:transparent}
  .mobile-dock .icon{height:22px;width:22px}.mobile-dock [aria-current=page]{background:var(--site-soft,#fff0df);color:var(--site-dark,#a84800);font-weight:bold}.mobile-dock [hidden]{display:none!important}
  .keyboard-open .mobile-dock{display:none}.toast{bottom:calc(106px + env(safe-area-inset-bottom,0px))}
  .install-sheet{margin:auto auto calc(16px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 40px - env(safe-area-inset-bottom,0px));padding:25px}
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}
}
@media(min-width:481px) and (max-width:720px){.game-row{grid-auto-columns:30%}.welcome-banner{min-height:240px}.banner-art{transform:scale(.8);bottom:-5px}.welcome-copy{max-width:80%}[data-layout=grid] .game-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.header-inner,.play-main{padding-inline:14px}.header-left>.btn{max-width:122px;font-size:11px}.brand-custom .brand-name{max-width:102px;font-size:18px}.brand-custom .brand-logo+.brand-name{display:none}.game-caption h3{font-size:11px}.section-name h2{font-size:15px}.section-symbol{display:none}.welcome-banner{padding:21px 18px}.welcome-banner p{max-width:85%}.member-main{padding-inline:14px}.member-panel{padding:20px}.member-header{padding-inline:14px}.mobile-dock{left:10px;right:10px}}
@media(max-height:500px) and (orientation:landscape){.has-mobile-dock{padding-bottom:80px}.mobile-dock{bottom:8px;padding:4px;max-width:420px}.mobile-dock>a,.mobile-dock>button{min-height:44px;flex-direction:row;gap:6px}.welcome-banner{min-height:200px}.install-sheet{margin:auto;max-height:calc(100dvh - 20px)}}
@media(hover:none){.game-card:hover{transform:none}.game-card:hover .game-cover>img{transform:none}.card-hover{display:none}}
/* Family navigation shares the orange public shell. */
.family-account-links{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
@media(min-width:901px){.site-nav{flex-wrap:wrap;gap:8px}.site-nav a{white-space:nowrap}}
body.member-body{min-height:100svh;min-height:100dvh;overscroll-behavior-y:contain}
