/* Original illustrated art direction shared by every game and native control. */
:root{--bg:#14203c;--panel:#14203c;--panel-2:#14203c;--line:#263c67;--green:#ffe477;--muted:#28c7ee;--button-art:url('./art/ui/button-secondary.webp')}
body{background:radial-gradient(ellipse at 12% 3%,#1b2c5088,transparent 46%),var(--bg)}
#home-view{overflow-x:clip}
body.playing::before{content:'';position:fixed;inset:-40px;background-image:linear-gradient(#14203cd9,#14203cee),var(--scene-art);background-size:cover;background-position:center;filter:blur(18px);z-index:-1;pointer-events:none}
.brand-icon{height:56px;width:52px}.brand-icon img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #0e173144)}
.site-header{border-bottom-color:#ffe47720}.hero{padding-top:62px;padding-bottom:76px}.hero h1{font-size:clamp(34px,4vw,56px);letter-spacing:-2px}.hero .eyebrow{color:#ffe477}.hero-description{color:#95eaff}
.feature-card{border:1px solid #ffe4775a;background:#14203c;box-shadow:0 24px 55px #0e173155,0 0 0 6px #ffe47708;transform:rotate(-2deg)}
.feature-art>img{aspect-ratio:1.5;object-fit:cover;transition:transform .6s}.feature-card:hover .feature-art>img{transform:scale(1.025)}
.feature-art::after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0e173199);pointer-events:none}
.feature-label{font-size:clamp(25px,3vw,38px);letter-spacing:.5px;bottom:20px}.feature-tag{font-size:11px;padding:6px 11px;backdrop-filter:blur(8px)}
.hero-sticker{display:none}.hero-orbit{border-color:#ffe47726}.hero-plus{color:#ffb73f}.play-strip{background:#14203c;color:#8df0bf;border-color:#22c78136}
.inline-icon{display:inline-block;width:28px;height:28px;object-fit:contain;vertical-align:middle;flex:none}.ui-icon{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;user-select:none}
body button:not(.favorite-button):not(.sound-button):not(#pause-button):not(.dialog-close),a.button,.small-button,.dialog-text-button{background-image:var(--button-art)!important;background-repeat:no-repeat!important;background-size:100% 100%!important;background-position:center!important}
.button,.game-button,.small-button,.filter,.game-help,.dialog-text-button,.top-nav button,.site-footer button{border:0;background-color:transparent;color:#f8fbff;text-shadow:0 1px 2px #0e1731;box-shadow:none;border-radius:13px;min-height:44px;font-weight:750}
.button,.game-button{padding:14px 27px;font-size:16px;min-height:52px}.button.primary,.game-button,.filter.active{--button-art:url('./art/ui/button-primary.webp');color:#14203c;text-shadow:0 1px #f8fbff55;background-color:transparent}
.button.subtle,.game-button.workshop-secondary,.game-button.adventure-secondary{--button-art:url('./art/ui/button-secondary.webp');color:#f8fbff;background-color:transparent}
.button:hover,.game-button:hover,.small-button:hover,.filter:hover,.game-help:hover{filter:brightness(1.08);background-color:transparent;box-shadow:none;transform:translateY(-1px)}
.button:active,.game-button:active,.small-button:active,.filter:active{filter:brightness(.93);transform:translateY(2px)}
button:disabled{filter:grayscale(.65);opacity:.48;transform:none!important}
.top-nav{gap:13px}.top-nav button{padding:10px 22px;font-size:14px}.top-nav a{font-size:14px}.site-footer button{padding:10px 22px}
.hero-actions .button{min-height:58px;padding-inline:21px;gap:8px}.hero-actions .button.subtle span{font-size:inherit}
.icon-button,.favorite-button,.round-play,.card-play-icon,.dialog-close{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;backdrop-filter:none}
.icon-button{width:46px;height:46px}.icon-button .ui-icon,.favorite-button .ui-icon,.round-play .ui-icon,.dialog-close .ui-icon{width:100%;height:100%}.icon-button[aria-pressed=true]{filter:brightness(1.2)}
.round-play{width:55px;height:55px}.favorite-button{width:44px;height:44px;min-width:44px;min-height:44px;right:9px;top:10px}.favorite-button[aria-pressed=true]{filter:drop-shadow(0 0 6px #ffb73f80)}
.dialog-close{width:42px;height:42px}.card-play-icon{width:30px;height:30px}.back-home{gap:8px}.back-home .inline-icon{width:33px;height:33px}
.search-field{background:#14203c;border-color:#22c7813d;height:48px}.search-field .inline-icon{width:31px;height:31px}.search-field input{font-size:16px}
.filters{gap:8px}.filter{padding:10px 20px;font-size:14px;min-height:46px}.filter.favorite-filter{border:0;padding-left:12px;margin-left:0;border-radius:12px;display:flex;align-items:center;gap:5px}.filter.favorite-filter .inline-icon{width:25px;height:25px}
.collection-tools{gap:18px}.collection-count{color:#28c7ee}.game-card{border-color:#8df0bf1f;border-radius:18px;background:linear-gradient(160deg,#14203c,#14203c);box-shadow:0 5px 20px #0e173122}
.game-card:hover{box-shadow:0 15px 34px #0e173144;border-color:#ffe47755}.card-art{aspect-ratio:1.6;background:#14203c}.card-art::after{content:'';position:absolute;inset:44% 0 0;background:linear-gradient(transparent,#14203caa);pointer-events:none}
.art-wordmark{z-index:1;max-width:86%;font-size:22px;line-height:1.06;letter-spacing:.25px;text-shadow:0 2px 9px #0e1731a6;bottom:18px}.card-category{z-index:1;background:#fff5d2e3;color:#14203c;font-size:11px;border-radius:6px;top:15px;left:15px}
.card-new{z-index:1;top:46px;left:15px;background:#ffb73f;color:#1b2c50;letter-spacing:1px}.card-body{padding:20px 22px 18px}.card-body h3{font-size:19px}.card-body p{color:#28c7ee}.card-bottom{border-color:#ffe4771a}.card-status.played{color:#8df0bf}
.progress-section{background:linear-gradient(120deg,#1b2c50,#14203c);border-color:#ffcf3f4d}.progress-illustration{width:94px}.progress-illustration img{height:114px;object-fit:contain}.progress-link{--button-art:none;min-height:54px}.progress-link .text-link{background-image:url('./art/ui/button-primary.webp');background-size:100% 100%;background-color:transparent;color:#14203c;border:0;padding:13px 22px;font-weight:750;border-radius:12px}
.play-header{border-color:#ffe47723}.play-header .small-button{padding:10px 22px}.play-brand{color:#ffe477}.play-header .icon-button{width:44px;height:44px}
.lobby-art{border:1px solid #ffe4774d;box-shadow:0 16px 40px #0e173133;border-radius:21px;aspect-ratio:1.6;object-fit:cover}.lobby-controls{background:#14203ce8;border:1px solid #22c7813d;border-radius:14px;padding:18px 21px;line-height:1.9}.lobby-start{min-width:240px}.lobby-copy>p{color:#28c7ee}
.stage-grid{gap:14px}.stage-tile{--button-art:url('./art/ui/button-secondary.webp');background-color:transparent!important;border:0!important;border-radius:15px;min-height:95px;padding:17px 10px 13px;box-shadow:0 5px 9px #0e173122}.stage-tile strong{color:#fff5d2;text-shadow:0 2px 3px #0e1731}.stage-tile.cleared,.stage-tile.recommended{--button-art:url('./art/ui/button-primary.webp')}.stage-tile.cleared strong,.stage-tile.recommended strong{color:#14203c;text-shadow:none}.stage-tile span{color:#ffb73f}.stage-tile.cleared span,.stage-tile.recommended span{color:#1b2c50}
.game-hud{background:linear-gradient(150deg,#1b2c50e8,#14203ce8);border:1px solid #8df0bf33;box-shadow:0 8px 22px #0e173122;border-radius:15px;padding:14px 8px}.hud-item{position:relative;min-width:0}.hud-item:first-child:has(.hud-art){padding-left:45px}.hud-art{position:absolute;left:7px;top:50%;transform:translateY(-50%);width:39px;height:45px;object-fit:contain;filter:drop-shadow(0 3px 3px #0e173144)}
.hud-item span{color:#95eaff}.hud-item strong{color:#fff5d2}.game-help{display:flex;align-items:center;gap:5px;padding:7px 16px;white-space:nowrap}.game-help .ui-icon{width:27px;height:27px}.stage-label{color:#ffe477;border-color:#ffcf3f66;background:#14203cd9}
.game-canvas{border:1px solid #ffe47748;box-shadow:0 14px 35px #0e173144,0 0 0 5px #8df0bf0a;border-radius:17px}.game-note,.adventure-note,.workshop-note{color:#95eaff}.game-panel,.puzzle-panel,.color-panel,.cafe-board{border:1px solid #8df0bf33;box-shadow:0 10px 30px #0e173133}
.cafe-menu-item{--button-art:url('./art/ui/button-primary.webp');color:#1b2c50!important}.cafe-menu-item span{color:#1b2c50}.cafe-menu-item small{color:#263c67}.cafe-food{filter:drop-shadow(0 4px 3px #1b2c5026)}
.pipe-end-art{width:35px;height:35px;object-fit:contain;filter:drop-shadow(0 2px 2px #14203c66)}
.adventure-pad .game-button{--button-art:url('./art/ui/button-secondary.webp');color:#f8fbff!important}.defense-start{--button-art:url('./art/ui/button-gold.webp')}.studio-secondary{--button-art:url('./art/ui/button-secondary.webp');color:#f8fbff!important}
.studio-node-button,.garden-seed,.garden-plot{color:#14203c!important;text-shadow:0 1px #f8fbff55}
.world-rhythm-buttons .world-action:nth-child(1){border-bottom-color:#15996a!important}.world-rhythm-buttons .world-action:nth-child(2){border-bottom-color:#ff596d!important}.world-rhythm-buttons .world-action:nth-child(3){border-bottom-color:#df7534!important}.world-rhythm-buttons .world-action:nth-child(4){border-bottom-color:#28c7ee!important}
button.is-selected,button[aria-pressed=true]:not(.filter):not(.sound-button):not(.favorite-button){outline:2px solid #ffb73f;outline-offset:2px}
.crane-dock{--button-art:url('./art/ui/button-primary.webp');border-bottom:5px solid var(--dock-color)!important}
.puzzle-toolbar .game-button{--button-art:url('./art/ui/button-secondary.webp');color:#f8fbff}.pair-card,.lamp-cell,.pipe-cell,.slide-cell,.color-tile{--button-art:url('./art/ui/button-secondary.webp');border-radius:12px}.pair-back{background:#1b2c50;border-color:#ffe4773d}.pair-face{background:#ffe477}
.color-panel{background:linear-gradient(#14203ce8,#14203ce8),var(--scene-art);background-size:cover}.color-tile{background-color:transparent!important}
.play-dialog,.info-dialog{background:linear-gradient(145deg,#1b2c50,#14203c);border:1px solid #ffe47766;box-shadow:0 30px 100px #0e173199;border-radius:24px}.result-sprout{height:95px;display:flex;justify-content:center;align-items:center;margin-bottom:12px}.result-sprout img{width:95px;height:95px;object-fit:contain}.result-sprout .ui-icon{width:72px;height:72px}.result-stars .earned{color:#ffb73f}.dialog-actions .button{min-height:55px}.dialog-text-button{padding:12px 22px;min-height:48px}.result-score{background:#14203cb8;border-color:#ffe4772e}.record-row{border-color:#8df0bf1a}.record-row img{border-radius:8px}.record-stat{background:#1b2c50}.about-feature{background:#1b2c50}
@media(max-width:850px){.top-nav{gap:9px}.top-nav button{padding:9px 16px}.hero{gap:23px}.hero-actions .button{padding-inline:16px}.collection-tools{align-items:stretch}.search-field{max-width:100%}}
@media(max-width:600px){.brand-icon{width:43px;height:45px}.site-header{height:83px}.top-nav button{font-size:13px;padding:9px 15px}.site-header>.icon-button{width:42px;height:42px}.hero{padding:33px 0 40px;gap:29px}.hero h1{font-size:clamp(34px,9.4vw,43px);letter-spacing:-1.9px}.hero-actions .button{min-height:56px;padding:11px 13px;font-size:14px}.hero-actions .inline-icon{width:24px;height:24px}.hero-visual{margin-inline:3px;width:calc(100% - 10px)}.feature-label{font-size:31px;bottom:17px}.feature-info{padding:15px 19px}.feature-info h2{font-size:19px}.feature-info span{font-size:12px}.round-play{width:49px;height:49px}.feature-card{border-radius:19px}.feature-art>img{aspect-ratio:1.5}.filters{gap:7px}.filter{padding:10px 17px}.search-field{width:100%;height:47px}.game-grid{gap:21px 13px}.card-art{aspect-ratio:1.12}.card-art img{object-fit:cover}.favorite-button{width:39px;height:39px;min-width:39px;min-height:39px;right:5px;top:6px}.card-category{font-size:10px;left:9px;top:10px;padding:3px 6px;max-width:calc(100% - 48px)}.card-new{left:9px;top:38px;font-size:10px}.art-wordmark{left:10px;bottom:12px;font-size:16px;line-height:1.14}.card-body{padding:13px 12px}.card-body h3{font-size:16px;min-height:48px}.card-body p{font-size:14px;min-height:71px}.card-bottom{font-size:12px;min-height:42px}.progress-illustration{width:65px}.progress-illustration img{height:85px}.progress-link .text-link{font-size:12px;padding:12px 18px}.site-footer button{padding:10px 18px}.play-header{gap:5px}.play-header .small-button{padding:9px 13px;font-size:12px}.play-header .icon-button{width:42px;height:42px}.back-home{font-size:12px;gap:4px}.back-home .inline-icon{width:28px;height:28px}#play-main{padding:21px 12px 30px}.game-help{font-size:13px;padding:7px 11px}.game-help .ui-icon{width:22px;height:22px}.game-title-block h1{font-size:17px}.game-topline{gap:6px}.game-hud{padding:12px 3px}.game-hud .hud-item span{font-size:11px}.game-hud .hud-item strong{font-size:18px}.hud-item:first-child:has(.hud-art){padding-left:30px}.hud-art{width:27px;height:34px;left:2px}.game-canvas{border-radius:12px}.game-button{padding:12px 20px;font-size:15px;min-height:49px}.game-controls{gap:7px}.game-note{font-size:15px}.stage-grid{gap:9px}.stage-tile{min-height:84px;padding:14px 5px 10px}.stage-tile strong{font-size:23px}.lobby-start{min-width:100%}.lobby-art{max-height:270px}.lobby-controls{padding:16px}.play-dialog{padding:26px 23px}.result-sprout{height:82px}.result-sprout img{width:82px;height:82px}}
@media(prefers-reduced-motion:reduce){.feature-card:hover .feature-art>img,.button:hover,.game-button:hover{transform:none}}
