/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.items-center{align-items:center}.justify-between{justify-content:space-between}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{color:#a13d1c;font-synthesis:none;background:#fff0dc;font-family:Trebuchet MS,ui-rounded,system-ui,sans-serif;font-weight:600}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline-offset:4px;outline:3px solid #25799a}button svg{flex-shrink:0}h1,h2,p{margin:0}h1{letter-spacing:-1.2px;font-size:clamp(28px,4vw,44px);font-weight:850}h2{font-size:30px;font-weight:800;line-height:1.15}.app{--accent:#bf512a;--dark:#9d3719;--soft:#ffe2c5;--tile:#ffc62f;--second:#7fcddb;isolation:isolate;min-height:100dvh;color:var(--dark);padding:24px 28px 32px;position:relative}.backdrop{z-index:-2;background:#fff0dc url(/assets/workshop-landscape.webp) 50%/cover no-repeat;position:fixed;top:0;right:0;bottom:0;left:0}.game .backdrop:after{content:"";background:var(--soft);mix-blend-mode:multiply;opacity:.6;position:absolute;top:0;right:0;bottom:0;left:0}.shell{max-width:1040px;margin:auto}header{gap:16px;height:80px}.brand{text-align:center;letter-spacing:-1.5px;font-size:42px;font-weight:900;line-height:1.05}.brand span{letter-spacing:.3px;margin-top:7px;font-size:14px;font-weight:700;display:block}.icon-button{width:48px;height:48px;color:var(--dark);background:linear-gradient(#ffead2,#ffcda7);border:1px solid #ffdbb5;border-radius:50%;place-items:center;display:grid;box-shadow:inset 0 2px 1px #fff7eb,0 3px 6px #b8713926}.icon-button svg{width:25px;height:25px}.welcome{text-align:center;margin:20px 0 10px}.welcome h1{font-size:clamp(38px,5vw,58px)}.welcome p{margin-top:6px;font-size:18px}.eyebrow{letter-spacing:2px;opacity:.65;margin-bottom:9px;font-size:11px}.home-layout{grid-template-columns:1fr 1fr;align-items:center;gap:76px;max-width:880px;margin:20px auto;display:grid}.hero-art{padding:20px 30px;position:relative}.deck{isolation:isolate;background:linear-gradient(145deg,#fffdf1,#fff3db);border:2px solid #fffef4;border-radius:30px;position:relative;box-shadow:0 8px 12px #9f6b3b26,inset 0 -3px 2px #e9cc9b50}.deck:before,.deck:after{content:"";border-radius:inherit;z-index:-1;background:#fff3dd;border:2px solid #fff7e6;position:absolute;top:3px;right:3px;bottom:-10px;left:-10px;box-shadow:0 3px 5px #98693b26}.deck:before{background:#f9e9ce;top:10px;right:8px;bottom:-18px;left:-18px}.mini-deck{max-width:280px;margin:auto;padding:24px}.board{grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:6px;display:grid}.tile{aspect-ratio:1;color:#725024;background:linear-gradient(145deg,#fff9eb,#f9eedb);border:1.5px solid #d8bb87;border-radius:11px;place-items:center;min-width:0;transition:transform .15s,background .15s;display:grid;box-shadow:inset 0 2px 2px #fffef4,0 2px 2px #b68c5320}.tile span{opacity:.16;font-size:13px}.tile.color1{background:linear-gradient(140deg,var(--tile),var(--tile))}@supports (color:color-mix(in lab,red,red)){.tile.color1{background:linear-gradient(140deg,color-mix(in srgb,var(--tile),white 35%),var(--tile))}}.tile.color1{border-color:var(--tile)}@supports (color:color-mix(in lab,red,red)){.tile.color1{border-color:color-mix(in srgb,var(--tile),#a86605 30%)}}.tile.color1{box-shadow:inset 1px 2px 3px #ffffb4,0 3px 2px #a7762830}.tile.color2{background:linear-gradient(140deg,var(--second),var(--second))}@supports (color:color-mix(in lab,red,red)){.tile.color2{background:linear-gradient(140deg,color-mix(in srgb,var(--second),white 30%),var(--second))}}.tile.color2{border-color:var(--second)}@supports (color:color-mix(in lab,red,red)){.tile.color2{border-color:color-mix(in srgb,var(--second),#4c697a 30%)}}button.tile:hover{filter:brightness(1.03);transform:translateY(-1px)}button.tile:active{transform:scale(.92)}.axis{background:repeating-linear-gradient(90deg,var(--accent) 0 10px,transparent 10px 18px);height:2px;margin:14px 0}.spark{color:#ffc135;text-shadow:0 3px #df922a;font-size:50px;position:absolute}.s1{top:0;left:0}.s2{font-size:35px;bottom:30px;right:0}.home-menu{flex-direction:column;gap:14px;display:flex}.progress-card{background:#fff8e9b8;border:2px solid #fff9ec;border-radius:23px;padding:18px 22px;box-shadow:0 4px 7px #bb824326}.meter{background:#edc7a480;border-radius:20px;height:12px;overflow:hidden}.meter i{background:linear-gradient(90deg,var(--accent),var(--accent));height:100%;display:block}@supports (color:color-mix(in lab,red,red)){.meter i{background:linear-gradient(90deg,color-mix(in srgb,var(--accent),white 20%),var(--accent))}}.meter i{border-radius:inherit;transition:width .1s linear}.progress-card .meter{margin-top:13px}.gold{color:#f8b921;filter:drop-shadow(0 1px #c17612)}.primary,.secondary{border-radius:22px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:60px;padding:14px 20px;transition:transform .15s,box-shadow .15s;display:flex}.primary{color:#fff9e8;border:1px solid var(--accent);font-size:22px;font-weight:800}@supports (color:color-mix(in lab,red,red)){.primary{border:1px solid color-mix(in srgb,var(--accent),#843300 20%)}}.primary{background:linear-gradient(160deg,var(--accent),var(--accent) 70%)}@supports (color:color-mix(in lab,red,red)){.primary{background:linear-gradient(160deg,color-mix(in srgb,var(--accent),#ffc092 32%),var(--accent) 70%)}}.primary{box-shadow:inset 0 3px 2px #ffffff40,0 5px 0 var(--accent),0 8px 13px #a5633530}@supports (color:color-mix(in lab,red,red)){.primary{box-shadow:inset 0 3px 2px #ffffff40,0 5px color-mix(in srgb,var(--accent),#563522 25%),0 8px 13px #a5633530}}.primary:hover,.secondary:hover{transform:translateY(-2px)}.primary:active,.secondary:active{transform:translateY(2px)}.primary:disabled{opacity:.65}.secondary{background:linear-gradient(140deg,#fffcf0,#fff0d9);border:2px solid #fffdf5;font-size:17px;box-shadow:0 4px 7px #a87b3b20,inset 0 -2px 1px #e6cda350}.next-label{text-align:center;margin:3px 0 -5px;font-size:14px}.level-link{margin-top:6px}.level-link svg:last-child{margin-left:auto}.level-link svg:first-child{margin-right:auto}.two-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.two-actions .secondary{gap:7px;padding:14px 9px;font-size:13px}.tiny{opacity:.65;text-align:center;margin-top:5px;font-size:12px}.section-title{justify-content:space-between;align-items:center;margin:24px 0;display:flex}.score-pill{color:#aa661c;background:#fff5dc;border-radius:30px;align-items:center;gap:8px;padding:10px 18px;display:flex}.levels-content{max-width:690px;margin:auto}.level-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.level-button{background:linear-gradient(145deg,#fffdf3,var(--level-soft));box-shadow:0 4px 0 var(--level-color),0 5px 8px #79553420;border:2px solid #fffdf3;border-radius:22px}@supports (color:color-mix(in lab,red,red)){.level-button{box-shadow:0 4px color-mix(in srgb,var(--level-color),transparent 65%),0 5px 8px #79553420}}.level-button{min-height:103px;color:var(--level-color);flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:10px 3px;transition:transform .2s;display:flex}.level-button strong{font-size:30px;font-weight:850;line-height:1}.level-button:hover:enabled{transform:translateY(-4px)}.level-button.locked{background:linear-gradient(145deg,#fff9f0,var(--level-soft));color:var(--level-color)}@supports (color:color-mix(in lab,red,red)){.level-button.locked{color:color-mix(in srgb,var(--level-color),#817367 35%)}}.level-button.locked>svg{width:22px;height:22px;color:var(--level-color);opacity:.65}.level-button.current{outline:3px solid var(--level-color);outline-offset:2px}.stars{color:#c29256;gap:1px;display:flex}.stars svg{stroke-width:1.8px;width:20px;height:20px}.stars .earned{color:#ffbe25;stroke:#d99025;filter:drop-shadow(0 2px 1px #bb7b2530)}.level-footer{text-align:center;max-width:400px;margin:26px auto}.level-footer .meter{margin-top:14px}.game .shell{max-width:1100px}.game-meta{align-items:center;gap:24px;max-width:650px;margin:22px auto;display:flex}.game-meta .timer{flex:1;height:15px}.game-meta strong{white-space:nowrap}.play-layout{flex-direction:column;align-items:center;gap:30px;display:flex}.play-deck{width:min(740px,85vw);padding:24px 28px;animation:.35s ease-out card-in}.board-pair{align-items:stretch;gap:20px;display:flex}.board-wrap{flex:1;min-width:0}.board-caption{text-align:center;opacity:.65;margin-bottom:9px;font-size:12px;display:block}.board-pair>.axis{background:repeating-linear-gradient(0deg,var(--accent) 0 9px,transparent 9px 17px);flex-shrink:0;width:2px;height:auto;margin:22px 0 0}.game-actions{text-align:center;width:360px;max-width:90vw}.game-actions h1{letter-spacing:-.5px;font-size:24px}.game-actions p{margin:6px 0 16px;font-size:13px}.game-actions .primary{min-height:54px}.dots{justify-content:center;gap:12px;margin:18px 0 10px;display:flex}.dots span{background:var(--soft);border-radius:50%;width:12px;height:12px}.dots .active{background:var(--accent)}.feedback{min-height:18px}.warning{color:#a24724}.error-note{font-size:11px}.success{animation:.6s ease-out success}.overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:10;background:#5c361a50;place-items:center;padding:20px;display:grid;position:fixed;top:0;right:0;bottom:0;left:0}.dialog{text-align:center;background:linear-gradient(145deg,#fffaf0,#ffecd3);border:3px solid #fff8e9;border-radius:32px;flex-direction:column;align-items:center;gap:19px;width:100%;max-width:440px;max-height:90dvh;padding:38px 28px;animation:.25s ease-out card-in;display:flex;position:relative;overflow:auto;box-shadow:0 18px 70px #5d301b30}.dialog p{font-size:15px;line-height:1.6}.dialog .stars svg{width:58px;height:58px}.dialog-icon{width:48px;height:48px}.dialog ol{text-align:left;padding-left:20px;font-size:14px;line-height:1.8;list-style:decimal}.dialog .close{width:34px;height:34px;position:absolute;top:10px;right:10px}.dialog .close svg{width:18px}.star-rules{text-align:left;color:#aa6918;font-size:14px;line-height:1.8}.text-button{background:0 0;border:0;font-size:14px;text-decoration:underline}.celebration{color:#eaa729;letter-spacing:15px;font-size:40px}.dialog .primary{font-size:18px}.dialog .secondary{min-height:48px}.game.portrait .board-pair{flex-direction:column;gap:0}.game.portrait .board-pair>.axis{background:repeating-linear-gradient(90deg,var(--accent) 0 10px,transparent 10px 18px);width:auto;height:2px;margin:12px 0}.game.portrait .play-deck{width:min(390px,86vw);padding:18px 24px}.game.portrait .board{gap:5px}.game.portrait .tile{max-height:64px}.game.portrait .game-actions h1{font-size:21px}.game.portrait .game-actions>p:first-of-type{display:none}.game.portrait .game-meta{margin:18px 0}.game.portrait .board-caption{margin-bottom:5px;font-size:11px}@keyframes card-in{0%{opacity:0;transform:translateY(20px)rotate(2deg)}to{opacity:1;transform:none}}@keyframes success{50%{transform:scale(1.02);box-shadow:0 0 40px #e8c653}}@media(orientation:portrait){.backdrop{background-image:url(/assets/workshop-portrait.webp)}}@media(max-width:650px){.app{padding:16px 22px 28px}header{height:58px}.brand{font-size:34px}.brand span{font-size:12px}.icon-button{width:42px;height:42px}.welcome{margin:24px 0 0}.welcome h1{font-size:38px}.welcome p{font-size:15px}.eyebrow{letter-spacing:1.5px;font-size:9px}.home-layout{flex-direction:column;gap:22px;margin-top:10px;display:flex}.hero-art{width:240px;padding:12px 32px}.mini-deck{border-radius:24px;max-width:176px;padding:16px}.mini-deck .board{gap:4px}.mini-deck .tile{border-radius:8px}.mini-deck .axis{margin:10px 0}.spark{font-size:33px}.home-menu{gap:12px;width:100%;max-width:380px}.progress-card{padding:12px 16px;font-size:14px}.primary{min-height:57px;font-size:20px}.two-actions .secondary{gap:5px;min-height:57px;font-size:11px}.two-actions svg{width:21px}.tiny{font-size:11px}.level-grid{gap:11px 7px}.level-button{border-radius:16px;gap:5px;min-height:70px}.level-button strong{font-size:24px}.level-button .stars svg{width:14px;height:14px}.level-button.locked>svg{width:18px;height:18px}.section-title{margin:26px 0 20px}.game .game-meta{gap:16px;font-size:14px}.game.portrait .play-deck{width:min(320px,83vw);padding:16px 20px}.game.portrait .tile{border-radius:8px;max-height:58px}.game.portrait .board-caption{margin-bottom:5px}.game.portrait .play-layout{gap:24px}.game-actions .feedback{font-size:12px}.game .dots{margin:14px 0 4px}}@media(orientation:landscape)and (max-height:600px){.app.game{padding:10px 24px}.game header{height:44px}.game .brand{font-size:25px}.game .brand span{font-size:10px}.game .icon-button{width:36px;height:36px}.game-meta{max-width:500px;font-size:13px;margin:12px auto!important}.play-layout{flex-direction:row;justify-content:center;align-items:center;gap:30px}.play-deck{width:min(62vw,560px);padding:13px 20px}.board-pair{gap:15px}.board-caption{margin-bottom:5px;font-size:10px}.game-actions{width:210px}.game-actions h1{font-size:19px}.game-actions p{font-size:11px}.game-actions .primary{min-height:46px;padding:10px;font-size:18px}.board .tile{max-height:calc((100dvh - 155px)/var(--n));border-radius:7px}.board{gap:4px}.game-actions .dots{margin:15px 0}.game-actions .feedback{font-size:11px}}@media(prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.game.portrait .play-deck{width:min(350px,86vw,50dvh - 172px)}.game.portrait .game-actions .feedback{margin:5px 0}.game.portrait .game-actions .primary{min-height:48px;padding:10px}.game.portrait .game-actions h1{margin-bottom:10px}@media(max-width:650px){.home .welcome{margin-top:15px}.home .welcome h1{font-size:34px}.home .hero-art{width:210px;padding:8px 30px}.home .mini-deck{max-width:145px;padding:12px}.home .mini-deck .axis{margin:8px 0}.home .home-layout{gap:16px}.home .home-menu{gap:10px}.home .two-actions .secondary{min-height:48px}.home .primary,.home .secondary{min-height:50px;padding:10px 14px}.home .tiny{margin-top:0}.home .progress-card{padding:10px 14px}}.game.landscape .play-deck{width:min(740px,85vw,200dvh - 800px)}@media(orientation:landscape)and (max-height:600px){.game.landscape .play-deck{width:min(62vw,560px)}}.game.portrait .board{width:min(100%,calc(var(--n) * 64px + (var(--n) - 1) * 5px));margin-inline:auto}@media(max-width:650px){.game.portrait .board{width:min(100%,calc(var(--n) * 58px + (var(--n) - 1) * 5px))}}html{-webkit-text-size-adjust:100%}body{touch-action:pan-x pan-y pinch-zoom;overflow-x:hidden}button{touch-action:manipulation;-webkit-user-select:none;user-select:none}.app{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.board-icon{color:var(--accent);justify-content:flex-start;margin-bottom:8px;display:flex}.board-icon svg{width:22px;height:22px}.card-stack{isolation:isolate;perspective:1200px;position:relative}.game .card-stack .play-deck{width:100%;margin:0}.game .active-card{z-index:2;animation:none}.game .incoming-card{z-index:1;pointer-events:none;animation:.95s both stack-reveal;position:absolute;top:0;right:0;bottom:0;left:0}.game .card-to-bottom{pointer-events:none;animation:.95s cubic-bezier(.4,0,.2,1) both card-to-bottom}@keyframes card-to-bottom{0%{z-index:3;transform:translate(0)}40%{z-index:3;transform:translate(12%,12%)rotate(6deg)scale(.97)}50%{z-index:0;transform:translate(15%,16%)rotate(7deg)scale(.94)}to{z-index:0;opacity:0;transform:translate(-12px,16px)scale(.97)}}@keyframes stack-reveal{0%{transform:translate(-8px,10px)scale(.98)}to{transform:translate(0)scale(1)}}.game.portrait .card-stack{width:min(88vw,50dvh - 106px);min-width:min(88vw,280px)}.game.portrait .card-stack .play-deck{padding:16px 20px}.game.portrait .card-stack .board{gap:6px;width:100%;margin:0}.game.portrait .card-stack .tile{aspect-ratio:1;width:100%;height:auto;max-height:none}.game.portrait .play-layout{gap:24px}.game.portrait .game-actions{width:min(440px,88vw)}.game.portrait .game-actions h1{margin-bottom:10px;font-size:20px}.game.portrait .game-actions .feedback{margin-top:14px}.game.landscape .card-stack{width:min(850px,88vw,200dvh - 700px)}.game.landscape .card-stack .tile{width:100%;max-height:none}.game .board-pair>.axis{margin-top:30px}.game.portrait .board-pair>.axis{margin:12px 0}@media(orientation:landscape)and (max-height:600px){.game.landscape .card-stack{width:min(64vw,200dvh - 290px);min-width:280px}.game .board-icon{margin-bottom:4px}.game .board-icon svg{width:16px;height:16px}.game .game-actions{max-width:26vw}}@media(prefers-reduced-motion:reduce){.game .card-to-bottom{opacity:0}.game .incoming-card{transform:none}}.game.portrait .card-stack{width:min(88vw,50dvh - 190px)}.game .card-stack .play-deck:before,.game .card-stack .play-deck:after{content:none}.stack-backing{pointer-events:none;border:2px solid #fff9eb;border-radius:30px;position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:0 4px 6px #98693b30}.stack-bottom{z-index:-2;background:#f1dfbf;transform:translate(-20px,24px)}.stack-middle{z-index:-1;background:#fff0d6;transform:translate(-10px,12px)}.card-stack.transitioning .stack-middle{visibility:hidden}.game .card-stack{margin-bottom:12px}@media(max-width:650px){.stack-bottom{transform:translate(-14px,22px)}.stack-middle{transform:translate(-7px,11px)}}.reveal-stars .earned{animation:.42s cubic-bezier(.2,.8,.3,1.3) both star-reveal}@keyframes star-reveal{0%{opacity:0;transform:scale(.25)rotate(-25deg)}70%{opacity:1;transform:scale(1.18)rotate(6deg)}to{opacity:1;transform:scale(1)rotate(0)}}.game.landscape{padding-left:max(32px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}.game.landscape .shell{max-width:none}.game.landscape .play-layout{grid-template-columns:minmax(0,1fr) clamp(180px,20vw,280px);align-items:center;gap:clamp(22px,3vw,48px);padding-left:12px;display:grid}.game.landscape .card-stack{width:100%;min-width:0}.game.landscape .game-actions{width:100%;max-width:none}.game.landscape .game-meta{gap:24px;width:100%;max-width:none}.game.landscape .game-meta .timer{max-width:none}.game.landscape .card-stack .play-deck{padding:clamp(14px,2vw,28px)}@media(orientation:landscape)and (max-height:600px){.game.landscape .play-layout{grid-template-columns:minmax(0,1fr) clamp(150px,20vw,210px);gap:20px;padding-left:4px}.game.landscape .game-meta{margin:12px 0!important}.game.landscape .card-stack .play-deck{padding:12px 16px}}.title-logo{object-fit:contain;width:clamp(155px,22vw,280px);height:auto;max-height:88px;display:block}.brand{line-height:1}.home .title-logo{width:clamp(200px,28vw,340px);max-height:96px}.atik-sprite{object-fit:contain;pointer-events:none;width:170px;height:170px;margin:0 auto;display:block}.dialog .atik-sprite{width:180px;height:180px;margin:-20px 0 -18px}.game-actions .atik-sprite{margin-bottom:12px}.welcome-atik{z-index:4;width:130px;height:130px;position:absolute;bottom:0;left:-42px}.game.portrait .game-actions .atik-sprite{width:90px;height:90px;margin:0;position:absolute;bottom:100%;right:-16px}.game.portrait .game-actions{position:relative}.reveal-stars .earned{animation-duration:.5s}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media(orientation:landscape)and (max-height:600px){.game .title-logo{width:170px;max-height:49px}.game-actions .atik-sprite{width:100px;height:100px;margin-bottom:4px}}@media(max-width:650px){.home .title-logo{width:190px}.welcome-atik{width:95px;height:95px;bottom:5px;left:-22px}.game .title-logo{width:175px;max-height:58px}}.levels-guide{z-index:10;width:120px;height:120px;position:fixed;bottom:16px;right:16px}.dialog .atik-sprite{margin-left:auto;margin-right:auto}.home .collected-stars{text-align:left;align-items:center;gap:12px;display:flex}.collected-stars>svg{filter:drop-shadow(0 3px #d99837);width:56px;height:56px}.collected-stars>span{flex-direction:column;display:flex}.collected-stars b{font-size:48px;font-weight:900;line-height:1}.collected-stars span span{margin-top:6px;font-size:15px}.completed-levels{white-space:nowrap;font-size:14px}.home .progress-card{padding:22px}.dialog .text-button{min-height:48px;font-size:20px;font-weight:700}.sound-options{gap:12px;margin:24px 0;display:grid}.sound-option{text-align:left;background:#fff6e6;border:1px solid #e1bf91;border-radius:18px;grid-template-columns:1fr 52px 46px;align-items:center;gap:12px;padding:16px;font-size:20px;font-weight:700;display:grid}.sound-option small{font-size:13px}.switch-track{background:#c9b9a4;border-radius:20px;width:52px;height:30px;padding:3px}.switch-track i{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;display:block;box-shadow:0 2px 4px #0002}.sound-option[aria-checked=true] .switch-track{background:var(--accent)}.sound-option[aria-checked=true] .switch-track i{transform:translate(22px)}@media(max-width:450px){.home .progress-card{padding:18px}.collected-stars b{font-size:40px}.collected-stars>svg{width:44px;height:44px}.collected-stars span span{font-size:13px}.completed-levels{font-size:12px}.sound-option{gap:8px;padding:12px;font-size:18px}}.home .welcome-atik{width:260px;height:260px;bottom:0;left:-140px}.game.portrait .board-wrap{grid-template-columns:22px minmax(0,1fr);align-items:center;column-gap:8px;display:grid}.game.portrait .board-icon{align-self:center;margin:0}.game.portrait .board-pair>.axis{margin-left:30px}@media(max-width:650px){.home .welcome-atik{width:190px;height:190px;bottom:5px;left:-85px}.home .hero-art .mini-deck{transform:translate(30px)}.home .welcome-atik{left:-105px}}.header-spacer{flex-shrink:0;width:48px;height:48px}.champion-list{gap:8px;width:100%;margin:0;padding:0;list-style:none;display:grid}.champion{text-align:left;background:#fffaf0;border:1px solid #e8ceb0;border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.champion.me{border:2px solid var(--accent);background:var(--soft);box-shadow:0 2px 8px #aa671a20}.champion .rank{min-width:28px;font-size:22px}.champion-name{overflow-wrap:anywhere;flex:1}.champion small{margin-top:3px;font-size:12px;display:block}.champion strong{color:#a76a05;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;min-width:65px;display:flex}.champion strong small{text-align:center;width:100%}.champion-month{text-transform:capitalize;font-weight:800}.own-rank{z-index:1;position:sticky;top:0}.sync-notice{background:#fff2cf;border-radius:12px;margin-top:8px;padding:10px;font-size:13px}.sync-notice button{background:0 0;border:0;margin-left:8px;text-decoration:underline}@media(max-width:650px){.header-spacer{width:42px;height:42px}}.sync-notice{z-index:30;width:min(560px,100vw - 24px);position:fixed;top:8px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #65340b25}.dialog>.dialog-icon{flex-shrink:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
