.top .nav-clay{width:25px;height:25px;object-fit:contain}#starsNav small{background:#eee9ff;color:#614abc;padding:0 5px;min-width:1.4em;text-align:center;border-radius:8px;font-size:.75rem}
.game-hero{display:flex;align-items:center;gap:18px;padding:25px 32px;border-radius:27px;background:linear-gradient(105deg,#e6dcff,#d6eaff 65%,#c4f4ed);box-shadow:var(--lift)}.game-hero>.clay{width:82px;height:82px;animation:float 3s ease-in-out infinite alternate}.game-hero h1{font-size:clamp(2.15rem,4.8vw,3.8rem);color:#53428d}.game-hero p{margin:6px 0;line-height:1.45;font-weight:700}
.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0}.game-card{display:flex;align-items:center;gap:13px;border:1px solid var(--edge);box-shadow:0 4px var(--edge);background:var(--tint);border-radius:20px;padding:16px;transition:transform .18s}.game-card:hover{transform:translateY(-3px)}.game-card:hover .clay{animation:pop-hop .6s}.game-card>.clay{width:61px;height:61px}.game-card h2{font-size:1.25rem}.game-card p{font-size:.92rem;line-height:1.4;margin:5px 0}.game-card small{color:#625499;font-weight:850}
.life-summary{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:12px 0;color:#57488c}.life-summary img{width:27px;height:27px}.life-summary small{background:#efeaff;color:#59479a;border-radius:20px;padding:3px 9px;font-weight:850}.result .life-summary{justify-content:center}
.game-setup>.clay{width:70px;height:70px}.game-setup h2{font-size:1.36rem;margin:20px 0 12px}.game-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-levels .level-option{padding:14px}.game-heading{display:flex;align-items:center;gap:11px}.game-heading .clay{width:51px;height:51px}.sheet .game-heading h1{font-size:clamp(1.8rem,4vw,2.5rem);margin:4px 0}.game-rule{margin:13px 0;line-height:1.5}.game-status,.race-controls,.letter-select,.code-slots,.code-palette{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:12px 0}.game-status b{padding:4px 12px;border-radius:18px;background:#eeebff;color:#554c93;font-weight:850}.game-status button,.small-action,.dpad button,.race-controls>button:not(.bigbtn),.letter-select button,.code-palette button{border:1px solid #d9d7f4;background:#f8f6ff;color:#554698;border-radius:12px;font-weight:850;box-shadow:0 2px #d8d4f1;padding:6px 12px;min-height:36px}
.tile-board,.maze-board,.sos-board,.snake-board{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));width:min(100%,420px);aspect-ratio:1;margin:12px auto}
.tile-board{grid-template-rows:repeat(var(--n),minmax(0,1fr));background:#c5edf4;gap:3px;padding:5px;border-radius:17px;box-shadow:0 4px #a4dce9}.tile-board button{background-image:url(puzzle-karang.webp);background-size:calc(100% * var(--n)) calc(100% * var(--n));position:relative;border:0;border-radius:9px;box-shadow:inset 0 2px 1px #ffffff8a,0 2px #668cad;transition:filter .15s}.tile-board button:disabled{cursor:default}.tile-board button:not(:disabled):hover{filter:brightness(1.15)}.tile-board button span{position:absolute;top:4px;left:4px;border-radius:8px;min-width:23px;background:#fffffff2;color:#37336e;font-weight:950;font-size:.88rem}.tile-hole{border-radius:8px;box-shadow:inset 1px 2px 4px #8fc8de}.puzzle-peek{display:block;width:min(45%,185px);margin:8px auto;aspect-ratio:1;object-fit:cover;border-radius:12px}
.maze-board{background:#f5faff;border:2px solid #8d88d6;border-radius:3px;touch-action:none}.maze-board span{display:grid;place-items:center;border-style:solid;border-color:#8982cf;line-height:1;font-size:clamp(.77rem,2.6vw,1.25rem);overflow:hidden}.maze-board .visited{background:#dbf6ee}.maze-reader{text-align:center;color:var(--muted);font-size:.9rem}.dpad{display:grid;grid-template-columns:repeat(3,48px);gap:5px;justify-content:center;margin:10px}.dpad button{height:42px;font-size:1.35rem}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1}
.code-clues{border-collapse:separate;border-spacing:0;width:min(100%,430px);margin:auto;text-align:center;background:#f5f2ff;border-radius:15px;padding:10px}.code-clues caption,.game-label,.word-form label{font-weight:950;padding:6px;color:var(--purple)}.code-clues td,.code-clues th{padding:4px}.code-clues td:first-child{white-space:nowrap}.gem,.empty-slot{display:inline-grid;place-items:center;min-width:31px;height:31px;line-height:1;vertical-align:middle;font-size:1.15rem;font-weight:900;border-radius:10px;background:#fff;margin:1px;box-shadow:0 2px #d8d5ec}.gem-0{color:#524cb0}.gem-1{color:#147669}.gem-2{color:#a45c00}.gem-3{color:#246cb2}.gem-4{color:#ba3c77}.gem-5{color:#744fac}.code-palette button{padding:4px}.code-palette button:disabled,.small-action:disabled{opacity:.45}.game-label{text-align:center;margin:8px auto}.game-sheet .actions,.game-finish .actions{justify-content:center}.code-slots{padding:7px 8px;background:#eeebfa;border-radius:16px;width:max-content;margin:auto}
.sos-board{max-width:395px;background:#dedcf5;padding:4px;gap:3px;border-radius:13px}.sos-board button{border:0;border-radius:8px;font-weight:1000;font-size:clamp(1.2rem,4vw,2.2rem);color:#7a6db5;background:#fff}.sos-board button:disabled{color:#514687;opacity:1}.sos-board button.linked{color:#18705f;background:#dbf9e9}.sos-board button.latest{outline:3px solid #9480f1;outline-offset:-3px}.letter-select button[aria-pressed=true]{color:white;background:#6653bf;border-color:#6653bf}
.snake-board{gap:2px;padding:3px;background:#d9d9f0;border-radius:12px;overflow:hidden}.snake-cell{position:relative;display:grid;align-content:start;justify-items:start;background:#fffcff;border-radius:3px;padding:2px 4px;line-height:1.07}.snake-cell:nth-child(2n){background:#edf2ff}.snake-cell.ladder{background:#cefae7}.snake-cell.snake{background:#ffe1ef}.snake-cell small{font-size:clamp(.6rem,2.5vw,.88rem);font-weight:850}.snake-cell b{font-size:clamp(.58rem,2.3vw,.8rem);color:#634581}.snake-cell i{position:absolute;bottom:1px;right:1px;font-size:clamp(.7rem,2.8vw,1.15rem);font-style:normal;line-height:1}.snake-log,.game-live,.rescue-area [role=status]{line-height:1.4;margin:8px 0;font-weight:750;color:#514984}
.game-finish{position:relative;text-align:center;overflow:hidden;border-radius:18px;background:linear-gradient(#eee9ff,#fff);padding:14px}.game-finish h2{font-size:1.65rem}.game-finish p{margin:8px}.game-reset,.rescue-area{margin-top:16px;padding-top:12px;border-top:1px solid #e2e0f5}.game-reset summary{color:#61578c;cursor:pointer;font-size:.9rem}.game-reset button{margin-top:8px}.rescue-area small{display:block;margin-top:7px}.rescue-area a,.listening a{color:#5544aa;text-decoration:underline}.rescue-area .life-summary{margin:0 0 8px}.rescue-area .life-summary small{margin:0}.rescue-area .bigbtn{font-size:.87rem;min-height:36px}
.word-clues{background:#eef9f4;border-radius:17px;padding:12px 16px;line-height:1.5}.word-clues ol{margin:4px 0 9px;padding-left:23px}.word-form{margin:12px 0}.word-form label{display:block;padding-left:0}.word-form>div{display:flex;gap:8px}.word-form input{border:1px solid #cfcdeb;border-radius:10px;min-width:0;flex:1;padding:8px;font:inherit}
.race-track{width:min(100%,318px);margin:10px auto;background:linear-gradient(90deg,#bdedd7 0 3%,#d8dcff 3% 97%,#bdedd7 97%);padding:4px 11px;border-radius:19px;box-shadow:0 4px #c0bce8;overflow:hidden}.race-row,.race-garage{display:grid;grid-template-columns:repeat(3,1fr)}.race-row span,.race-garage span{display:grid;place-items:center;height:37px;font-size:1.48rem;border-right:3px dashed white}.race-row span:last-child,.race-garage span:last-child{border:0}.race-garage{background:#d3cdf7}.race-garage span{height:50px}.race-garage img{width:54px;height:48px}.race-controls>button{min-height:44px;font-size:1.12rem}.race-controls .bigbtn{font-size:.96rem}
@media(max-width:850px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top{gap:6px}.top nav a{padding-inline:7px}}
@media(max-width:700px){.top nav .nav-clay{width:21px;height:21px}.game-grid{gap:9px}.game-card{align-items:flex-start;flex-direction:column;gap:5px;padding:13px}.game-card>.clay{width:43px;height:43px}.game-card p{font-size:.85rem}.game-hero{padding:18px 14px;gap:9px}.game-hero>.clay{width:53px;height:53px}.game-hero p{font-size:.9rem}.game-levels{grid-template-columns:1fr}.game-levels .level-option{display:flex;align-items:center;flex-direction:row}.game-levels small{margin-left:auto}.game-heading .clay{width:40px;height:40px}.game-inner .sheet{padding:18px 13px}}
@media(max-width:480px){.top nav{gap:0}.top nav a{gap:2px;padding:5px 4px;font-size:.76rem}.top nav .toy,.top nav .nav-clay{width:20px;height:20px}#starsNav small{font-size:.68rem;padding:1px 3px}.life-summary{font-size:.87rem}.snake-cell{padding:1px 2px}.tile-board,.maze-board,.snake-board,.sos-board{width:100%}}
@media(prefers-reduced-motion:reduce){.game-hero>.clay,.game-card:hover .clay{animation:none!important}}
.board-token{display:inline-block;position:relative;font-style:normal;line-height:1}.tile-board button:hover:not(:disabled){z-index:2}.race-garage .clay{filter:drop-shadow(0 3px 2px #8b7cbd50)}.game-finish .prize-orbit .toy-planet{width:76px;height:76px}.race-controls .bigbtn:focus-visible,.tile-board button:focus-visible,.sos-board button:focus-visible{outline:3px solid #5747ad;outline-offset:-3px}
@media(max-width:480px){
  .top nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;min-width:0}
  .top nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:4px 0;line-height:1.15;min-height:43px;gap:2px}
  #starsNav small{position:absolute;right:2px;top:1px;font-size:.62rem}
  .launch-hero{grid-template-columns:54% 46%}.launch-copy{padding-left:15px}.launch-copy h1{font-size:clamp(1.65rem,7.3vw,2.2rem);letter-spacing:-.055em}
  .launch-picture{background:#a49bff;min-height:165px}.launch-picture img{object-fit:contain;object-position:center;background:#9e96fd}
  .catalog-tools .filter-chips{flex-wrap:wrap;overflow:visible;gap:5px;padding:0}.catalog-tools .filter-chips button{font-size:.8rem;padding:5px 10px}
}
.snake-board{position:relative;isolation:isolate}.snake-paths{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);pointer-events:none;opacity:.65}.snake-cell>small,.snake-cell>b,.snake-cell>i{z-index:1}.snake-cell>small,.snake-cell>b{position:relative;text-shadow:0 1px 1px white,1px 0 white}
.game-levels{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.game-levels .level-option{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:9px;row-gap:3px;text-align:left;min-height:74px}
.game-levels .level-option .clay{width:30px;height:30px;grid-row:1/3}
.game-levels .level-option b,.game-levels .level-option small{grid-column:2;margin:0;line-height:1.25;overflow-wrap:anywhere}
.game-levels .level-option small{font-size:.78rem}
.game-levels .level-locked{background:#f1f0fa;border:2px dashed #b9b4ce;color:#575370;box-shadow:none;justify-content:center;cursor:default}.level-locked small{color:#625d77}
.game-card.game-preview{cursor:default;transform:none}
.game-preview:hover .clay{animation:none}
.park-gate,.park-choice{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:16px;margin:16px 0}
.park-gate{padding:16px 20px;border:1px solid #d6c8f3;border-radius:18px;background:#f8f4ff}
.park-gate>div:first-child{flex:1 1 200px}
.park-gate .park-progress{margin:6px 0;width:100%;height:12px}
.park-gate .actions{margin:0}
.park-choice{justify-content:flex-start}
#jenjang-taman{scroll-margin-top:6rem}
