@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Libre+Caslon+Display&display=swap";:root{color:#253d35;font-synthesis:none;--ink:#253d35;--muted:#85867a;--gold:#aa7a32;--line:#deded1;--paper:#f6f4ed;background:#f6f4ed;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.4}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,canvas:focus-visible{outline-offset:4px;outline:3px solid #bb852f}a{color:inherit;text-decoration:none}button{color:inherit;background:0 0;border:0}svg{stroke:currentColor;stroke-width:1.7px;fill:none;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;max-width:1512px;height:72px;margin:auto;padding:0 46px;display:flex}.backlink{align-items:center;gap:12px;font-size:12px;font-weight:600;display:flex}.backlink svg{width:16px}.brand-small{letter-spacing:.18em;color:var(--muted);font-size:11px;position:absolute;left:50%;transform:translate(-50%)}.auth-button{background:#fbfaf6;border:1px solid #d4d6c9;border-radius:6px;align-items:center;gap:9px;padding:10px 14px;font-size:12px;font-weight:600;display:flex}.google{color:#4285f4;font-family:Arial,sans-serif;font-size:16px;font-weight:700}.account{align-items:center;gap:12px;font-size:12px;display:flex}.avatar{color:#375345;background:#d8e2d4;border-radius:50%;place-items:center;width:29px;height:29px;font-weight:600;display:grid}.signout{color:var(--muted);font-size:11px;text-decoration:underline}.main{max-width:1512px;margin:0 auto;padding:32px 46px 22px}.page-heading{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.wordmark{align-items:center;gap:22px;display:flex}.emblem{color:#a88545;stroke-width:1px;width:44px;height:44px}.wordmark h1{letter-spacing:.095em;margin:0;font-family:Libre Caslon Display,Georgia,serif;font-size:54px;font-weight:400;line-height:1}.subtitle{letter-spacing:.27em;color:#9b8b6d;margin-top:9px;font-size:10px}.heading-note{color:#83887b;text-align:right;font-size:12px;line-height:1.7}.heading-note strong{color:var(--ink);font-weight:500}.layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px;display:grid}.game-panel{min-width:0}.game-top{color:#edf0df;background:#203c35;border-radius:10px 10px 0 0;justify-content:space-between;align-items:center;gap:12px;padding:17px 23px;display:flex}.stage-label{letter-spacing:.18em;color:#b5bba0;margin-bottom:5px;font-size:9px}.stage-name{font-family:Libre Caslon Display,Georgia,serif;font-size:23px;line-height:1.1}.stats{align-items:center;gap:24px;display:flex}.stat{min-width:48px}.stat small{color:#a7b7a6;letter-spacing:.15em;margin-bottom:4px;font-size:9px;display:block}.stat strong{font-variant-numeric:tabular-nums;font-size:17px;font-weight:500}.lives{color:#d9b868;letter-spacing:3px;font-size:16px}.separator{border-left:1px solid #426053;height:30px}.board{isolation:isolate;aspect-ratio:1080/660;touch-action:none;background:#b69253 url(/temple-courtyard.png) 50%/100% 100%;position:relative;overflow:hidden}.board canvas{touch-action:none;width:100%;height:100%;display:block;outline-offset:-5px!important}.overlay{z-index:3;background:#19261a21;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;inset:0}.overlay[hidden]{display:none}.overlay-card{text-align:center;outline-offset:-8px;background:#f9f6e8f5;border:1px solid #eee0bd;border-radius:3px;outline:1px solid #c4a773;width:330px;max-width:88%;padding:28px 25px 24px;box-shadow:0 12px 48px #342d2b38}.overlay-mark{color:#ac8138;stroke-width:1.3px;width:36px;height:36px;margin:0 auto 13px}.eyebrow{letter-spacing:.22em;color:#99814c;text-transform:uppercase;font-size:9px}.overlay-card h2{margin:9px 0 13px;font-family:Libre Caslon Display,Georgia,serif;font-size:41px;font-weight:400;line-height:1.05}.overlay-card p{color:#777c69;margin:0 0 21px;font-size:12px;line-height:1.75}.primary{color:#fff9e4;background:#26493b;border:1px solid #385b49;border-radius:5px;justify-content:center;align-items:center;gap:15px;width:100%;padding:12px 20px;font-size:12px;font-weight:500;transition:background .15s,transform .15s;display:flex}.primary:hover{background:#335c47}.primary:active{transform:scale(.98)}.primary svg{width:14px;height:14px}.secondary{color:#848470;text-underline-offset:3px;margin:13px auto 0;font-size:11px;text-decoration:underline;display:block}.overlay-foot{color:#979581!important;margin:12px 0 0!important;font-size:9px!important}.game-bottom{border:1px solid var(--line);background:#eeeee4;border-top:0;border-radius:0 0 10px 10px;justify-content:space-between;align-items:center;gap:10px;padding:13px 18px;display:flex}.level-progress{align-items:center;gap:12px;min-width:0;display:flex}.level-progress>span{color:#6f7868;letter-spacing:.1em;white-space:nowrap;font-size:9px}.progress-track{background:#d5d9c9;border-radius:10px;width:100px;height:3px;overflow:hidden}.progress-track>i{background:#668168;width:0%;height:100%;transition:width .3s;display:block}.tools{align-items:center;gap:8px;display:flex}.tool{color:#61705e;border-radius:4px;align-items:center;gap:6px;padding:5px;display:flex}.tool:hover{background:#dfe3d5}.tool svg{width:16px;height:16px}.tool span{font-size:10px}.tool.active{color:#b98125}.control-strip{color:#85897b;justify-content:center;align-items:center;gap:18px;margin:15px 0 0;font-size:10px;display:flex}.control-strip span{align-items:center;gap:6px;display:flex}kbd{font:inherit;color:#747e6d;background:#ecece3;border:1px solid #dbddd0;border-radius:3px;padding:2px 5px;box-shadow:0 1px #d4d8cc}.sidebar{flex-direction:column;gap:22px;display:flex}.sidebar-tabs{border-bottom:1px solid var(--line);gap:25px;padding-top:7px;display:flex}.tab{letter-spacing:.14em;color:#96998c;padding:0 0 13px;font-size:10px;position:relative}.tab.active{color:#334e3e}.tab.active:after{content:"";background:#8b9b77;height:2px;position:absolute;bottom:-1px;left:0;right:0}.journey-title{color:#8c927f;justify-content:space-between;align-items:center;margin:17px 0 18px;font-size:10px;display:flex}.journey-title strong{color:#40553e;font-family:Libre Caslon Display,Georgia,serif;font-size:23px;font-weight:400}.chapter{border-left:1px solid #d8ddca;margin-left:4px;padding:0 0 19px 19px;position:relative}.chapter:last-child{border-left:0;padding-bottom:0}.chapter:before{content:"";background:var(--paper);border:1px solid #bbc6aa;border-radius:50%;width:7px;height:7px;position:absolute;top:3px;left:-5px}.chapter.current:before{box-shadow:0 0 0 3px var(--paper);background:#758c5b;border-color:#758c5b}.chapter-name{color:#8b9382;margin-bottom:4px;font-family:Libre Caslon Display,Georgia,serif;font-size:21px}.chapter.current .chapter-name{color:#334c3a}.chapter-caption{color:#969b8a;margin-bottom:9px;font-size:10px;line-height:1.6}.stage-dots{gap:6px;display:flex}.stage-dot{color:#a1a693;border:1px solid #daddce;border-radius:4px;width:30px;height:26px;font-size:10px}.stage-dot.current{color:#3a5338;background:#e4e9d8;border-color:#c4cfb2}.stage-dot.done{color:#6b814f;background:#eef0e3}.stage-dot:disabled{opacity:.7}.side-note{color:#7c856d;background:#ebedde;border-radius:5px;padding:16px 17px;font-size:11px;line-height:1.65}.side-note strong{color:#516343;margin-bottom:3px;font-weight:500;display:block}.howto{border-top:1px solid var(--line);padding-top:18px}.side-label{letter-spacing:.17em;color:#8b927d;margin:0 0 16px;font-size:9px}.instruction{align-items:flex-start;gap:11px;margin:13px 0;display:flex}.instruction-icon{color:#8c9c72;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.instruction-icon svg{width:20px;height:20px}.instruction h3{color:#536449;margin:0 0 3px;font-size:11px;font-weight:500}.instruction p{color:#979c8b;margin:0;font-size:10px;line-height:1.6}.leaderboard-list{margin:6px 0;padding:0;list-style:none}.leader-row{border-bottom:1px solid var(--line);grid-template-columns:20px 1fr auto;align-items:center;gap:8px;padding:13px 0;font-size:11px;display:grid}.leader-rank{color:#a48b53}.leader-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.leader-row small{color:#8d967e;margin-top:3px;font-size:9px;display:block}.leader-row strong{font-variant-numeric:tabular-nums;font-weight:500}.empty-board{color:#8d957d;margin:22px 0;font-size:12px;line-height:1.8}.refresh-button{color:#788869;text-underline-offset:3px;margin:12px 0;font-size:10px;text-decoration:underline}.footer{border-top:1px solid var(--line);color:#9ca28e;justify-content:space-between;align-items:center;gap:20px;max-width:1512px;margin:24px auto 0;padding:20px 46px;font-size:10px;display:flex}.footer a{color:#78836b}.footer-mark{white-space:nowrap;align-items:center;gap:8px;display:flex}.footer-mark i{background:#a4b590;border-radius:50%;width:5px;height:5px;display:block}.toast{color:#f8f4e6;z-index:9;text-align:center;background:#233f35;border:1px solid #50694d;border-radius:7px;max-width:min(90vw,500px);padding:13px 20px;font-size:12px;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #1c2d2630}.toast[hidden]{display:none}.status-message{color:#fff0b8;letter-spacing:.08em;pointer-events:none;z-index:2;white-space:nowrap;background:#234739dd;border:1px solid #81936199;border-radius:20px;padding:7px 15px;font-size:11px;position:absolute;top:15px;left:50%;transform:translate(-50%)}.status-message[hidden],.mobile-actions{display:none}.help-dialog{color:var(--ink);background:#f6f4e9;border:1px solid #d6d3bd;border-radius:9px;width:90%;max-width:430px;padding:34px}.help-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#14281ecc}.help-dialog h2{margin:0 0 18px;font-family:Libre Caslon Display,Georgia,serif;font-size:36px;font-weight:400}.help-dialog p{color:#74806a;font-size:12px;line-height:1.8}.help-dialog .primary{margin-top:20px}.board:fullscreen{aspect-ratio:auto;background-color:#b69253;width:100vw;height:100dvh}.board:fullscreen canvas{object-fit:contain}.board:fullscreen .overlay-card{max-width:350px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (min-width:1600px){.main{padding-top:42px}.page-heading{margin-bottom:33px}}@media (max-width:1100px){.main{padding:24px}.topbar{padding:0 24px}.layout{grid-template-columns:minmax(0,1fr) 225px;gap:20px}.stats{gap:13px}.game-top{padding:14px 17px}.stage-name{font-size:21px}.control-strip{gap:12px;font-size:9px}.progress-track{width:65px}.footer{padding:20px 24px}.heading-note{font-size:11px}.sidebar-tabs{gap:17px}.overlay-card{width:300px;padding:23px}.overlay-card h2{font-size:36px}.overlay-mark{margin-bottom:7px}}@media (max-width:850px){.layout{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr 1fr;gap:24px;display:grid}.side-note{display:none}.sidebar-tabs{padding-top:0}.howto{border-top:0;padding-top:5px}.journey-title{margin:12px 0}.chapter{padding-bottom:10px}.chapter-name{font-size:19px}.chapter-caption{display:none}.stage-dots{margin-top:8px}.heading-note{font-size:10px}.control-strip{gap:20px;font-size:10px}.board{max-height:none}.overlay-card{width:310px;padding:25px}.overlay-card h2{font-size:39px}.footer{margin-top:6px}.main{padding-top:22px}.page-heading{margin-bottom:22px}.wordmark h1{font-size:45px}.emblem{width:35px;height:35px}}@media (max-width:540px){.topbar{height:58px;padding:0 18px}.brand-small{display:none}.main{padding:22px 12px 14px}.page-heading{padding:0 5px}.wordmark{gap:12px}.wordmark h1{font-size:39px}.subtitle{letter-spacing:.24em;font-size:8px}.heading-note{max-width:110px;font-size:9px}.game-top{padding:12px}.stage-name{font-size:18px}.stage-label{font-size:8px}.stats{gap:12px}.stat strong{font-size:14px}.stat small{font-size:7px}.stat{min-width:33px}.separator{display:none}.lives{letter-spacing:1px;font-size:12px}.board{aspect-ratio:1.25}.board canvas{object-fit:fill}.overlay-card{max-width:80%;padding:21px 23px}.overlay-card h2{margin:7px 0 10px;font-size:32px}.overlay-card p{margin-bottom:13px;font-size:10px;line-height:1.6}.overlay-mark{width:25px;height:25px;margin:0 auto 7px}.overlay-foot{margin-top:9px!important;font-size:8px!important}.eyebrow{font-size:8px}.primary{padding:11px;font-size:11px}.game-bottom{padding:10px}.tools{gap:7px}.tool span{display:none}.level-progress{gap:8px}.progress-track{width:55px}.level-progress>span{font-size:8px}.control-strip{display:none}.mobile-actions{gap:8px;margin-top:10px;display:flex}.mobile-actions button{background:#e9eddf;border:1px solid #d6dbcb;border-radius:5px;flex:1;padding:10px 14px;font-size:11px}.mobile-actions small{color:#879279;font-size:9px}.sidebar{grid-template-columns:1.1fr 1fr;gap:17px;margin:8px 6px 0}.tab{letter-spacing:.1em;font-size:8px}.sidebar-tabs{gap:18px}.journey-title strong{font-size:21px}.journey-title span{font-size:8px}.chapter-name{font-size:18px}.chapter{padding-left:13px}.instruction{gap:6px}.instruction h3{font-size:10px}.instruction p{font-size:9px}.instruction-icon{width:19px}.instruction-icon svg{width:17px}.footer{align-items:flex-start;padding:17px 18px;font-size:8px;line-height:1.6}.footer>span:first-child{max-width:240px}.auth-button{padding:8px 10px;font-size:10px}.backlink{font-size:11px}.side-label{font-size:8px}.account{gap:6px;font-size:10px}.account-name{text-overflow:ellipsis;white-space:nowrap;max-width:85px;overflow:hidden}.toast{font-size:11px}.status-message{padding:5px 11px;font-size:8px;top:7px}.stat-best{display:none}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}[hidden]{display:none!important}@media (min-width:851px) and (max-height:950px){.topbar{height:60px}.main{max-width:min(1512px,163.63svh - 110px);padding-top:18px}.page-heading{margin-bottom:18px}.wordmark h1{font-size:42px}.emblem{width:36px;height:36px}.game-top{padding:13px 18px}.stage-name{font-size:22px}.sidebar{gap:17px}.heading-note{font-size:10px}.stats{gap:18px}}#touch-fire{touch-action:none}.wave-count{font-variant-numeric:tabular-nums;color:#9a8148!important}@media (max-width:540px){#progress-label{display:none}.level-progress{gap:8px}.progress-track{width:45px}}
