/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(./golos-text-cyrillic-ext.10aa879203c4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(./golos-text-cyrillic.2f175b8fc40e.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(./golos-text-latin-ext.90256a7b8eb3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(./golos-text-latin.f8d71091110f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(./unbounded-cyrillic-ext.5501f713602e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(./unbounded-cyrillic.c3880f0c5afb.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(./unbounded-vietnamese.54a956ea5b2c.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(./unbounded-latin-ext.ed84482df7b9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(./unbounded-latin.d7f07f8a308c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{font-family:'Golos Text',sans-serif;color:#30372c;background:#f5f3ed;font-synthesis:none;--muted:#92978a;--line:#e0e2d7;--green:#c8e48f}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #77a548;outline-offset:4px}button{touch-action:manipulation}button:disabled{cursor:default}button:hover:not(:disabled){filter:brightness(.97)}[hidden]{display:none!important}.site-header{height:105px;margin:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{color:#30372c;text-decoration:none;font-family:'Unbounded',sans-serif;font-size:25px;font-weight:900;letter-spacing:-1.5px;display:flex;align-items:center;position:relative}.brand>span:not(.brand-symbol){color:#85975f}.brand-symbol{width:40px;height:40px;display:grid;place-items:center;background:#c9e48c;border:1.5px solid #30372c;border-radius:12px;transform:rotate(-8deg);font-size:37px;margin-right:12px}.brand small{position:absolute;font-family:'Golos Text',sans-serif;font-size:7px;letter-spacing:2px;left:55px;bottom:-11px;color:#848d76}.build-tag{font-size:9px;letter-spacing:1.7px;font-weight:600;color:#818975;display:flex;gap:10px;align-items:center}.build-tag i,.eyebrow>span:first-child:not(#level-number),.game-bottom i{height:6px;width:6px;display:inline-block;border-radius:50%;background:#9cbb63}.build-tag>span{border:1px solid #dcded3;padding:6px 9px;border-radius:6px;letter-spacing:.5px;margin-left:9px}.icon-button,.text-button{background:transparent;border:1px solid #ddd;min-width:31px;height:31px;display:inline-grid;place-items:center;border-radius:10px;font-size:19px;font-weight:500}.site-header>.icon-button{border-color:#d6d9cc;border-radius:50%;font-size:16px}.workspace{max-width:1300px;margin:40px auto 36px;display:grid;grid-template-columns:1fr 432px 1fr;gap:54px;padding:0 35px;align-items:start}.intro{padding-top:55px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:700;display:flex;align-items:center;gap:8px;color:#7f896e}h1{font-family:'Unbounded',sans-serif;font-size:40px;line-height:1.45;letter-spacing:-2px;margin:21px 0 16px;font-weight:800}h1 em{font-style:normal;color:#849b56}.lead{font-size:12px;line-height:1.9;color:#89917f;margin:0}.how-card{display:grid;grid-template-columns:27px 1fr;gap:26px 12px;margin-top:42px}.step-number{font-size:10px;width:25px;height:25px;border:1px solid #cfd6c2;border-radius:50%;display:grid;place-items:center;margin-top:1px;color:#879573}.how-card h3{font-size:12px;margin:3px 0 8px;font-weight:600}.how-card p{font-size:11px;line-height:1.8;color:#959b8e;margin:0}.tiny-note{border-top:1px solid var(--line);margin-top:34px;padding-top:22px;font-size:10px;color:#929b83;white-space:nowrap}.tiny-note span{font-size:20px;margin-right:7px}.game{background:#fffefa;padding:22px 20px 0;border:1px solid #e0e2d8;border-radius:27px;box-shadow:0 9px 0 -3px #e5e7db,0 18px 40px #4653360b;overflow:hidden}.game-top{display:flex;align-items:center;justify-content:space-between}.game-top h2{font-size:19px;letter-spacing:-.6px;margin:7px 0 0;font-weight:800}.game-top .eyebrow{font-size:8px;letter-spacing:1.9px;color:#a0a891}.game-actions{display:flex;gap:5px}.game-actions button{border-color:#e5e8de;font-size:19px;border-radius:9px;background:#f5f6ef}.game-actions .text-button{font-size:12px;font-weight:700}.board-wrap{position:relative;margin:3px -12px 2px;aspect-ratio:1}canvas{display:block;width:100%;height:100%}.track-count{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);display:flex;align-items:center;white-space:nowrap;gap:5px;color:#939d88;font-size:7px;letter-spacing:.9px;background:#fffefa;padding:4px 9px;border-radius:8px}.track-count b{color:#6a7955;font-size:8px;letter-spacing:0}.waiting-heading,.queue-heading{display:flex;align-items:center;justify-content:space-between}.waiting-heading h3,.queue-heading h3{font-size:8px;letter-spacing:1.4px;margin:11px 0 9px;color:#69765b;font-weight:700}.waiting-heading h3 span{letter-spacing:0;font-size:9px;color:#aab19e;margin-left:5px}.waiting-heading>span,.queue-heading>span{font-size:8px;color:#aab19f}.waiting{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.waiting-slot{height:48px;background:#f1f2e9;border:1px dashed #d2d8c7;border-radius:11px;display:flex;align-items:center;justify-content:center;position:relative}.waiting-slot.empty:before{content:'+';font-size:19px;color:#d1d7c7;font-weight:400}.waiting-slot:not(.empty){border-style:solid;background:#f4eddc}.waiting-slot svg{width:42px;height:44px}.waiting-slot .ammo{font-size:15px;top:24px}.queue-heading{margin-top:9px}.queue-heading h3{font-size:9px;color:#59664b}.queue-heading h3 span{display:inline-block;margin-left:8px;font-size:13px}.queue{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;height:177px;overflow:hidden;padding-top:2px;position:relative}.queue-column{display:flex;flex-direction:column;gap:7px;align-items:stretch;position:relative;background:#f4f5ed;border-radius:12px 12px 0 0;padding:0 5px}.cannon-card{border:0;border-radius:11px;height:53px;min-height:53px;position:relative;display:grid;place-items:center;background:transparent;padding:0}.cannon-card:first-child{background:#e9efdc;border:1px solid #d6e1c1;box-shadow:0 3px 0 #d0dbbf;transition:top .12s,background .12s}.cannon-card:first-child:not(:disabled):hover{background:#dce9c5;top:-2px}.cannon-card:first-child:active{top:2px}.cannon-card svg{height:51px;width:58px;overflow:visible}.cannon-card:nth-child(2)>*{opacity:.7}.cannon-card:nth-child(3)>*{opacity:.4}.ammo{position:absolute;left:50%;top:29px;transform:translate(-50%,-50%);font-size:18px;font-weight:900;color:white;-webkit-text-stroke:3px #344034;paint-order:stroke fill;line-height:1;pointer-events:none}.queue-empty{height:53px;display:grid;place-items:center;font-size:18px;color:#ccd4be}.metal-shield{position:relative;margin:0 -20px;padding:12px 20px;height:39px;display:flex;align-items:center;justify-content:space-between;border-top:3px solid #d2d7cd;background:repeating-linear-gradient(110deg,transparent 0px,transparent 29px,#d4d9cd55 30px,#d4d9cd55 31px),linear-gradient(#eaede6,#dfe4d8);box-shadow:0 -5px 12px #515c3210;color:#9aa58f;font-size:7px;font-weight:600;letter-spacing:1.5px}.screw{font-size:14px;color:#aab39e}.shield-lines{font-size:13px;margin:0 9px}.game-bottom{height:36px;display:flex;align-items:center;justify-content:space-between;font-size:7px;color:#9ca590;letter-spacing:.3px}.game-bottom i{width:4px;height:4px;margin-right:4px}.game-bottom button{border:0;background:none;color:#8b987a;font-size:9px;padding:7px 0}.game-bottom button[aria-pressed=true]{color:#527f2b;font-weight:700}.field-notes{padding-top:58px;max-width:250px}.notes-heading{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.7px;color:#929b85;font-weight:600}.notes-heading span{font-size:16px}.note-illustration{background:#edf0e3;border:1px solid #e2e7d8;border-radius:100px 100px 25px 25px;margin-top:27px;width:210px;height:143px}.note-illustration svg{width:100%;height:100%}.field-notes h3{font-size:13px;margin:22px 0 10px}.field-notes p{font-size:11px;line-height:1.9;color:#939b86;margin:0}.size-legend{display:flex;align-items:center;gap:19px;margin-top:20px}.size-legend span{display:flex;align-items:center;gap:6px;color:#859475;font-size:8px}.size-legend i{display:inline-block;background:#d8e5c0;border:1px solid #9fb97b;border-radius:3px}.size-one{width:10px;height:10px}.size-two{width:16px;height:16px}.size-three{width:22px;height:22px}.note-divider{height:1px;background:var(--line);margin:29px 0}.color-dots{display:flex;gap:7px}.color-dots i{width:16px;height:16px;border-radius:50%;background:var(--dot);box-shadow:inset 0 -2px 0 #0001;border:1px solid #0001}.color-dots+h3{margin-top:15px}.reward-note{margin-top:31px;background:#eeeede;border:1px solid #e3e4d2;border-radius:11px;padding:15px 12px;display:flex;gap:10px;align-items:center;font-size:10px;color:#727f5c}.reward-note>span{font-size:26px;color:#abb873}.reward-note small{display:block;font-size:8px;margin-top:5px;color:#a1ab8e}.site-footer{margin:0 5%;border-top:1px solid var(--line);padding:20px 0 26px;display:flex;justify-content:space-between;font-size:7px;color:#a2a895;letter-spacing:1.1px}.site-footer b{font-weight:400;margin-left:11px}.toast{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%) translateY(7px);opacity:0;pointer-events:none;white-space:nowrap;background:#303c2eee;color:#fff;padding:12px 16px;border-radius:12px;font-size:11px;transition:opacity .2s,transform .2s;box-shadow:0 5px 20px #29331c33}.toast.visible{opacity:1;transform:translate(-50%,-50%)}dialog{border:1px solid #dde2cc;border-radius:27px;background:#fffef7;max-width:390px;width:calc(100% - 40px);padding:35px;text-align:center;color:#35402d;box-shadow:0 20px 100px #15230633}dialog::backdrop{background:#222d236e;backdrop-filter:blur(6px)}dialog .eyebrow{justify-content:center;margin-top:19px}dialog h2{font-family:'Unbounded',sans-serif;font-size:25px;line-height:1.4;letter-spacing:-1px;margin:15px 0}dialog p{font-size:12px;color:#869377;line-height:1.8}dialog button.primary{background:#c6e18e;border:1px solid #97b564;box-shadow:0 3px 0 #a2ba76;border-radius:12px;padding:13px;width:100%;font-size:12px;font-weight:600;margin:14px 0 0}dialog button.secondary{background:none;border:0;color:#909b80;margin:17px 0 0;font-size:10px}.result-icon{background:#edf2da;border:1px solid #dfebbf;border-radius:50%;width:85px;height:85px;display:grid;place-items:center;font-size:47px;color:#9ab955;margin:auto}#result-stats{font-size:11px;line-height:2;color:#6d7a59}#help-dialog{text-align:left}#help-dialog .eyebrow{justify-content:start}.dialog-close{position:absolute;right:18px;top:12px;border:0;background:none;font-size:24px;color:#9aa887}#debug-panel{font-size:9px;margin-top:15px;border:1px solid #cbd5bc;padding:10px;border-radius:10px;background:#eaf0df}#debug-data{white-space:pre-wrap;font-size:9px;line-height:1.6;margin-bottom:0}.shake{animation:shake .3s}@keyframes shake{25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@media(min-width:1450px){.workspace{margin-top:52px;gap:74px;grid-template-columns:1fr 456px 1fr}.game{padding-top:25px}.intro{padding-top:68px}h1{font-size:45px}.field-notes{padding-top:72px}}
@media(max-width:1100px){.workspace{grid-template-columns:1fr 420px;gap:40px;max-width:900px}.field-notes{display:none}.intro h1{font-size:35px}body.debug .field-notes{display:block;position:fixed;right:12px;bottom:12px;z-index:5;padding:0;width:230px}.debug .field-notes>*:not(#debug-panel){display:none}}
@media(max-width:760px){.site-header{height:65px;margin:0 20px}.brand{font-size:19px}.brand-symbol{width:30px;height:30px;font-size:28px;border-radius:9px;margin-right:9px}.brand small{display:none}.build-tag{font-size:6px;letter-spacing:1px;gap:5px}.build-tag>span{display:none}.site-header>.icon-button{width:26px;min-width:26px;height:26px;font-size:13px}.workspace{display:block;margin:15px auto 25px;padding:0 12px;max-width:456px}.intro{display:none}.game{padding:18px 18px 0;border-radius:24px}.game-top h2{font-size:17px}.site-footer{padding:14px 0;font-size:6px}.site-footer>span:nth-child(2){display:none}.metal-shield{margin:0 -18px}.game-bottom{font-size:7px}.queue{height:168px}.cannon-card,.queue-empty{height:50px;min-height:50px}.waiting-slot{height:43px}.waiting-slot .ammo{top:23px}.game-top .eyebrow{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Characters speak directly over the game, without a modal window. */
#story-layer{position:fixed;inset:0;z-index:60;cursor:pointer;outline:none;touch-action:manipulation;background:#17201580;-webkit-tap-highlight-color:transparent;text-align:left}
#story-skip{position:absolute;z-index:1;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));display:flex;align-items:center;justify-content:center;width:60px;height:48px;padding:4px;border:2px solid #b99c66;border-radius:15px;background:linear-gradient(#fff9e7,#ead9b3);box-shadow:inset 0 2px 0 #fffdf4,0 3px 0 #8f774e,0 5px 12px #17201526}
#story-skip>.story-skip-icon{display:block;width:44px;height:30px;flex:none;pointer-events:none}
#story-skip:active{transform:translateY(2px);box-shadow:inset 0 2px 0 #fffdf4,0 1px 0 #8f774e}
.story-stage{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 36px);max-width:520px;padding-bottom:120px}
.story-bubble{position:relative;margin:0 0 16px;padding:18px 20px 20px;background:#fffef4;border:2px solid #b7c998;border-radius:25px 25px 25px 10px;box-shadow:0 5px 0 #a4b58555,0 10px 30px #34482b24}
.story-bubble::after{content:'';position:absolute;bottom:-11px;left:36px;width:18px;height:18px;background:#fffef4;border-right:2px solid #b7c998;border-bottom:2px solid #b7c998;transform:rotate(45deg);border-radius:0 0 4px 0}
.story-bubble-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}#story-name{color:#60783e;font-size:15px;font-weight:800;line-height:1.3}#story-count{color:#9fa68d;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
#story-text{margin:0;color:#424d35;font-size:16px;line-height:1.55}
#story-portrait{position:absolute;bottom:0;left:0;width:104px;height:104px;object-fit:cover;border-radius:50%;border:4px solid #fffef4;box-shadow:0 0 0 2px #a8bf84,0 6px 18px #34482b30}
.story-continue{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom,0px));right:calc(18px + env(safe-area-inset-right,0px));max-width:calc(100% - 140px);color:#fffef4;font-size:12px;font-weight:500;line-height:1.5;text-align:right;text-shadow:0 1px 3px #17201580;pointer-events:none}
#story-layer[data-speaker=nika] .story-continue{left:calc(18px + env(safe-area-inset-left,0px));right:auto;text-align:left}
#story-layer[data-speaker=nika] .story-bubble{border-color:#dbc282;border-radius:25px 25px 10px 25px}#story-layer[data-speaker=nika] .story-bubble::after{left:auto;right:36px;border-color:#dbc282}#story-layer[data-speaker=nika] #story-name{color:#9c7839}#story-layer[data-speaker=nika] #story-portrait{left:auto;right:0;box-shadow:0 0 0 2px #d6b66c,0 6px 18px #80652f30}
@media(max-width:360px),(max-height:620px){.story-stage{bottom:max(16px,env(safe-area-inset-bottom));width:calc(100% - 28px);padding-bottom:94px}.story-bubble{padding:14px 16px 16px}#story-text{font-size:14px}#story-name{font-size:14px}#story-portrait{width:80px;height:80px}}
@media(min-width:600px) and (max-height:480px){.story-stage{max-width:660px;padding:0 0 0 106px;min-height:90px}.story-bubble{margin:0;padding:16px 20px}.story-bubble::after{left:-11px;bottom:30px;transform:rotate(135deg)}#story-portrait{width:80px;height:80px;bottom:10px}#story-layer[data-speaker=nika] .story-stage{padding:0 106px 0 0}#story-layer[data-speaker=nika] .story-bubble::after{left:auto;right:-11px;transform:rotate(-45deg)}}
#tutorial-guide{position:fixed;inset:0;pointer-events:none;z-index:45;overflow:hidden}
.tutorial-spotlight{position:absolute;border:3px solid #f7d775;border-radius:17px;box-shadow:0 0 0 100vmax #24351f80,0 0 0 6px #ffe7a644;transition:left .12s,top .12s}
.tutorial-hand{position:absolute;width:52px;height:62px;--hand-rotate:180deg;transform:rotate(var(--hand-rotate));filter:drop-shadow(0 3px 3px #26341d60);animation:tutorial-tap 1.15s ease-in-out infinite}.tutorial-hand.from-below{--hand-rotate:0deg}.tutorial-hand svg{width:100%;height:100%;overflow:visible}
.tutorial-label{position:absolute;padding:12px 16px;background:#fffbea;color:#4c583a;text-align:center;font-size:14px;line-height:1.4;font-weight:700;border:1px solid #decf9f;border-radius:14px;box-shadow:0 5px 20px #28361f33}
@keyframes tutorial-tap{0%,100%{transform:translateY(0) rotate(var(--hand-rotate))}50%{transform:translateY(7px) rotate(var(--hand-rotate))}}

.waiting-slot.occupied{padding:0;transition:background .15s,top .15s;border-color:#c8d3b2;box-shadow:0 2px 0 #d8dfcb}.waiting-slot.occupied:not(:disabled):hover{background:#e5edcf;top:-2px}.waiting-slot.occupied:not(:disabled):active{top:1px}.waiting-slot.occupied:disabled>*{opacity:.6}.relaunch-arrow{position:absolute;top:3px;right:5px;font-size:11px;font-weight:700;color:#819568;pointer-events:none}

/* Transfers live above the board and queue shield; only column contents are clipped. */
.flight-layer{position:absolute;inset:0;pointer-events:none;z-index:15;overflow:visible}
.flying-cannon{position:absolute;left:0;top:0;width:58px;height:58px;will-change:transform;filter:drop-shadow(0 8px 5px #354a302b)}
.flying-cannon svg{width:100%;height:100%;transform:rotate(var(--flight-tilt,0deg))}
.flying-cannon .ammo{top:35px}
.waiting-slot.receiving>svg,.waiting-slot.receiving>.ammo,.waiting-slot.receiving>.relaunch-arrow{visibility:hidden}
.waiting-slot.receiving{background:#edf1e1;border-style:dashed}
/* Keep card backgrounds outside a stacking context so links can sit above them. */
.queue-column{overflow:hidden}

.exit-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:15}
.exiting-cannon{filter:drop-shadow(0 5px 4px #354a3030)}

/* The viewport belongs to the game. Desktop scales one intact game surface. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
html{touch-action:pan-x pan-y}
*,*::before,*::after{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}
body{background:#e9edde}
.workspace{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;margin:0;display:block;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);overflow:hidden}
.workspace>.game{position:absolute;width:432px;max-width:none;flex-shrink:0;margin:0;padding:18px 20px 0;display:flex;flex-direction:column;transform:translate(-50%,-50%) scale(var(--game-scale,1));transform-origin:center;box-shadow:0 0 50px #46533616;border:0;border-radius:0}
.game>*{flex-shrink:0}
.game .game-top h2{font-size:19px}
.game .game-top .eyebrow{font-size:8px}

.game .board-wrap{width:calc(100% + 24px);height:auto;aspect-ratio:1;align-self:center;margin:3px -12px 2px}
.game .waiting-slot{height:48px}
.game .waiting-slot .ammo{top:24px}
.game .queue{height:177px}
.game .cannon-card,.game .queue-empty{height:53px;min-height:53px}
.game .metal-shield{margin:0 -20px}
.game .game-bottom{height:36px;font-size:7px}
.game #debug-panel{position:absolute;z-index:20;right:12px;bottom:37px;max-width:calc(100% - 24px);max-height:60%;overflow:auto;margin:0;box-shadow:0 5px 24px #26351933}
dialog{max-height:calc(100dvh - 24px);overflow:auto}
.flight-layer{position:fixed;overflow:hidden}
@media(max-width:760px){
 body{background:#fffefa}
 .workspace>.game{box-shadow:none}
 .game .board-wrap{margin-top:auto;margin-bottom:auto}
}

.game .game-top{justify-content:flex-end}

.lock-card{background:#e4e0ce!important;border:1px solid #c8c2aa!important;box-shadow:0 3px 0 #c6c1aa!important}.lock-card svg{height:40px;width:45px}.lock-card span{font-size:6px;letter-spacing:0;line-height:1.15;color:#8b8266;font-weight:800;white-space:nowrap}.flying-key{position:absolute;left:0;top:0;width:48px;height:40px;filter:drop-shadow(0 4px 4px #5a492d33);will-change:transform}.flying-key svg{width:100%;height:100%}

/* Linked cannons and limited helpers. */
.helpers{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding-top:10px;padding-bottom:12px}
.helper-button{position:relative;min-height:54px;border:1px solid #d3dcbf;border-radius:12px;background:#edf3dd;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:8px;font-weight:700;color:#637450}
.helper-icon{font-size:24px;line-height:26px}.helper-count{position:absolute;top:4px;right:6px;border-radius:50%;background:#fcfff5;width:15px;height:15px;display:grid;place-items:center;font-size:9px}
.helper-button[aria-pressed=true]{background:#d3e89f;border-color:#789749;box-shadow:0 0 0 2px #b5cd80}.helper-button:disabled{opacity:.4}
#pick-dialog{max-width:420px;padding:24px 15px}#pick-dialog h2{font-size:20px}#pick-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pick-column{display:flex;flex-direction:column;gap:7px;min-width:0}.pick-column>b{font-size:10px;color:#95a184}.pick-column .cannon-card{background:#edf3df;border:1px solid #d4dfc2;width:100%}.pick-column .cannon-card>*{opacity:1}.pick-column .cannon-card:disabled>*{opacity:.35}

/* Each linked member occupies a normal row; thread continues into its neighbor. */
.cannon-card.linked-member{overflow:visible}
.cannon-card.linked-member:not(:disabled){background:#e9efdc;border:1px solid #d6e1c1}.cannon-card.linked-member:not(:disabled)>*{opacity:1}
.chain-next:after{content:'';position:absolute;left:calc(50% - 1.5px);width:3px;height:18px;bottom:-15px;background:repeating-linear-gradient(to bottom,#6c775e 0 3px,transparent 3px 6px);pointer-events:none;z-index:3}
.waiting-chain-next:after{content:'';position:absolute;right:-11px;top:calc(50% - 1.5px);width:12px;height:3px;background:repeating-linear-gradient(to right,#6c775e 0 3px,transparent 3px 6px);z-index:3;pointer-events:none}

/* Campaign map: one continuous journey, with five distinct gardens. */
.game .game-top{justify-content:flex-end}
.campaign-map{position:fixed;inset:0;overflow-y:auto;overscroll-behavior:contain;background:#edf0e3;padding:24px 16px max(30px,env(safe-area-inset-bottom));z-index:30}
.map-shell{max-width:600px;margin:auto}
.journey-summary{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;background:#fffefa;padding:20px 22px;border-radius:20px}.journey-summary strong{display:block;font-size:20px}.journey-summary span{display:block;font-size:11px;color:#8a947e;margin-top:5px}.journey-bar{grid-column:1/-1;height:5px;background:#edf0e5;border-radius:4px;overflow:hidden}.journey-bar i{display:block;height:100%;background:#a5c96c;width:0;transition:width .3s}

.chapter{margin:0 0 20px;border-radius:25px;background:#fffefa;overflow:hidden;border:1px solid #dce3cd}.chapter-header{display:flex;gap:14px;align-items:center;padding:22px 22px 14px}.chapter-symbol{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;background:var(--chapter-color);border-radius:18px;font-size:30px;color:#536143}.chapter-kicker{font-size:9px;letter-spacing:1.3px;color:#8d987e;font-weight:700}.chapter h2{font-size:19px;margin:5px 0;letter-spacing:-.4px}.chapter p{font-size:11px;color:#8b957e;margin:0;line-height:1.6}.level-path{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:22px 10px;padding:18px 20px 24px;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--chapter-color) 18%,transparent),transparent 70%)}
.level-node{position:relative;min-height:77px;border:0;background:none;display:flex;align-items:center;flex-direction:column;gap:5px;padding:0;z-index:1}.level-node .node-circle{width:48px;height:48px;border-radius:50%;background:#edf0e6;border:2px solid #d9e0cd;box-shadow:0 4px #dce3d0;display:grid;place-items:center;font-weight:800;font-size:17px;color:#88947b}.level-node::after{content:'';position:absolute;left:calc(50% + 28px);right:calc(-50% + 20px);top:24px;border-top:3px dotted #d3dcc5;z-index:-1}.level-node:nth-child(5n)::after{display:none}.level-node.completed .node-circle{background:var(--chapter-color);border-color:#9db078;color:#425232;box-shadow:0 4px #a9ba89}.level-node.current .node-circle{background:#4e6541;border-color:#3e5432;color:white;box-shadow:0 4px #2e4325,0 0 0 5px #dcebc4}.level-node:disabled{cursor:default}.level-node:disabled .node-circle{opacity:.65;font-size:15px}.level-node .node-stars{font-size:11px;letter-spacing:1px;color:#ae913e;min-height:14px}.level-node .node-caption{font-size:8px;color:#829070;line-height:10px}.level-node.boss .node-circle{border-radius:15px}.chapter.locked .chapter-header{opacity:.6}.chapter.locked .level-path{opacity:.65}
.briefing-number{font-family:'Unbounded',sans-serif;font-size:45px;color:#7d9657;margin-top:20px}#level-briefing h2{font-size:24px}#level-briefing .stars-guide{font-size:10px;margin:20px 0 4px}.briefing-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:7px}.briefing-tags span{font-size:10px;padding:6px 9px;border-radius:9px;background:#edf2de;color:#718555}.result-icon.result-stars{width:170px;height:65px;border:0;border-radius:0;background:transparent;font-size:34px;color:#bda146;letter-spacing:5px}
@media(max-width:420px){.campaign-map{padding:12px 12px 28px}.chapter-header{padding:18px 16px 10px}.chapter h2{font-size:17px}.level-path{gap:18px 5px;padding:16px 10px 20px}.level-node .node-circle{width:43px;height:43px;font-size:15px}.level-node::after{top:22px;left:calc(50% + 24px);right:calc(-50% + 17px)}.level-node .node-stars{font-size:10px}.level-node .node-caption{font-size:7px}}

/* The whole garden fills with colour as actual resources become ready. */
body.is-loading{overflow:hidden}
#loading-status{--loading-fill:0%;position:fixed;inset:0;z-index:100;isolation:isolate;overflow:hidden;background:#a9afa0;color:#fff9e4;text-align:center;touch-action:none;transition:opacity .38s ease,visibility .38s}
.loading-scene{position:absolute;inset:-12px;background:url('./garden-backdrop.99558d26790d.webp') center/cover no-repeat;pointer-events:none}
.loading-scene-muted{filter:grayscale(1) blur(5px) brightness(.68)}
.loading-scene-color{clip-path:inset(calc(100% - var(--loading-fill)) 0 0);transition:clip-path .45s cubic-bezier(.2,.7,.3,1)}
.loading-shade{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#fff4bf24,transparent 62%),linear-gradient(#1d301b22 0%,#162a180a 35%,#14271933 65%,#112316d9 100%);pointer-events:none}
.loading-panel{position:absolute;left:50%;bottom:max(42px,calc(env(safe-area-inset-bottom) + 24px));width:min(380px,calc(100% - 56px));transform:translateX(-50%)}
.loading-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 1px 14px;font-size:13px;font-weight:500;text-align:left;text-shadow:0 1px 8px #18311e}
.loading-percent{flex-shrink:0;display:flex;align-items:baseline;gap:3px;font-variant-numeric:tabular-nums}
.loading-percent b{font-size:24px;font-weight:700;line-height:1}.loading-percent small{font-size:12px;opacity:.7}
.loading-progress{height:9px;border:1px solid #fffae447;border-radius:20px;background:#112b2266;box-shadow:0 2px 10px #10271822,inset 0 1px 3px #0c21183b;padding:2px;overflow:hidden}
.loading-progress>i{display:block;height:100%;width:var(--loading-fill);border-radius:20px;background:linear-gradient(90deg,#b9db7a,#eff5b0);box-shadow:0 0 10px #e0f4aa66;transition:width .45s cubic-bezier(.2,.7,.3,1)}
#loading-retry{margin-top:20px;padding:13px 24px;border:1px solid #e5efb9;border-radius:14px;background:#d7ecaa;color:#344a2c;font-size:13px;font-weight:700;box-shadow:0 3px 0 #789157;touch-action:manipulation}
.loading-motes{position:absolute;inset:0;pointer-events:none}.loading-motes i{position:absolute;left:20%;top:67%;width:5px;height:5px;border-radius:50%;background:#fff3ba;box-shadow:0 0 12px 3px #fff1a443;animation:loading-float 6s ease-in-out infinite}
.loading-motes i:nth-child(2){left:76%;top:33%;width:3px;height:3px;animation-delay:-2s}.loading-motes i:nth-child(3){left:67%;top:73%;animation-delay:-4s}.loading-motes i:nth-child(4){left:32%;top:24%;width:3px;height:3px;animation-delay:-1s}.loading-motes i:nth-child(5){left:86%;top:58%;width:4px;height:4px;animation-delay:-3s}
#loading-status.loading-leave{opacity:0;visibility:hidden}
#loading-status.load-error .loading-motes i{animation-play-state:paused}
@keyframes loading-float{0%,100%{opacity:.15;transform:translate(0,12px)}50%{opacity:.8;transform:translate(14px,-20px)}}
@media(max-width:480px){.loading-panel{bottom:max(34px,calc(env(safe-area-inset-bottom) + 20px))}.loading-caption{font-size:12px}}
@media(max-height:500px){.loading-panel{bottom:max(18px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.loading-motes{display:none}.loading-scene-muted{filter:grayscale(1) brightness(.68)}}
noscript{position:fixed;inset:0;z-index:101;background:#edf0e3;padding:40px;text-align:center}

.waiting.danger .waiting-slot{animation:waiting-danger .8s ease-in-out infinite}@keyframes waiting-danger{0%,100%{background:#f5e6d7;border-color:#d5a08d;box-shadow:0 2px 0 #dbbdac}50%{background:#f5aaa0;border-color:#c94f42;box-shadow:0 0 0 2px #d96b5d55}}@media(prefers-reduced-motion:reduce){.waiting.danger .waiting-slot{background:#f5aaa0;border-color:#c94f42}}

.helper-button.rescue:not(:disabled){animation:helper-rescue 1s ease-in-out infinite;border-color:#529644}
@keyframes helper-rescue{0%,100%{background:#e2f2d3;box-shadow:0 0 0 1px #78b75c44}50%{background:#a8e58d;box-shadow:0 0 0 3px #64bd5577,0 0 14px #72c95b66}}
@media(prefers-reduced-motion:reduce){.helper-button.rescue:not(:disabled){animation:none;background:#b8e99f;box-shadow:0 0 0 2px #64bd5577}}

/* One dashed link, colored by each cannon up to the midpoint. */
.queue,.waiting,#pick-columns{position:relative;isolation:isolate}
.link-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}
.link-overlay path{fill:none;stroke-width:5;stroke-dasharray:6 6;stroke-linecap:round}
.cannon-card,.waiting-slot{z-index:auto}
.cannon-card>svg,.waiting-slot>svg{position:relative;z-index:2}
.cannon-card>span,.waiting-slot>span{z-index:2}
.cannon-card:hover:not(:disabled),.waiting-slot:hover:not(:disabled){filter:none}
.chain-next:after,.waiting-chain-next:after{display:none}
/* Three independent paths with one shared safe zone per region. */
.campaign-map{background:radial-gradient(ellipse at 18% 40%,#dde8c9,transparent 60%),#edf1e4;padding-top:env(safe-area-inset-top,0px);padding-bottom:0;scroll-behavior:auto}
.map-shell{max-width:660px}
.journey-summary{padding:15px 20px;gap:12px;margin-bottom:18px}.journey-summary strong{font-size:19px}
.garden-region{background:#fffdf6cc;border:1px solid #d3dfc4;border-radius:26px;margin-bottom:22px;overflow:hidden;box-shadow:0 5px 24px #62734208}.region-header{display:flex;align-items:center;gap:13px;padding:20px 20px 12px}
.region-lanes{--stop-height:112px;--node-height:92px;--lane-footer:50px;--lane-padding:10px;--region-padding:18px;position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 var(--region-padding) var(--region-padding)}.garden-lane{border-radius:45px 45px 20px 20px;background:color-mix(in srgb,var(--lane-color) 10%,#fffdf8);border:1px solid color-mix(in srgb,var(--lane-color) 30%,#fffdf8);position:relative;padding:var(--lane-padding) 3px}.lane-0{--lane-petal:#b6d965}.lane-1{--lane-petal:#ffdc73}.lane-2{--lane-petal:#ef9d96}
.nest{height:93px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.nest svg{height:55px;width:66px}.nest time{order:-1;font-size:12px;font-weight:800;color:#8c5943;background:#fffbef;border:1px solid #e2d4b8;padding:4px 10px;border-radius:20px;font-variant-numeric:tabular-nums}.nest.cleared{color:#6a9251}.nest-clear{font-size:30px;width:46px;height:46px;border:2px dashed #a3bf86;border-radius:50%;display:grid;place-items:center}.nest small{font-size:9px;text-align:center}
.vertical-path{display:flex;flex-direction:column;position:relative}.vertical-path:before{content:'';position:absolute;width:4px;left:calc(50% - 2px);top:20px;bottom:50px;background:repeating-linear-gradient(to top,var(--lane-color) 0 7px,transparent 7px 14px);opacity:.45}.garden-stop{height:var(--stop-height);position:relative;display:flex;align-items:center;justify-content:center}
.garden-node{position:relative;width:calc(100% - 16px);height:var(--node-height);min-height:0;border:2px solid #cdd7c2;border-radius:14px;background:#edf0e7;box-shadow:0 4px #cdd7c2;padding:8px 4px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#68765c;transition:transform .15s,box-shadow .15s}.garden-node:not(:disabled):hover{transform:translateY(-2px)}.garden-node:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #b6c5a5}.garden-art{display:grid;place-items:center;width:100%;height:48px;font-size:26px;font-weight:800}.garden-art svg{height:57px;width:57px;filter:drop-shadow(0 3px 1px #657a4220)}.garden-node.available{background:var(--lane-color);border-color:color-mix(in srgb,var(--lane-color) 75%,#33452d);color:white;box-shadow:0 4px color-mix(in srgb,var(--lane-color) 75%,#33452d)}.garden-node:disabled{opacity:.5;cursor:default}.garden-label{font-size:11px;font-weight:650;white-space:nowrap}.garden-node.bloomed{background:color-mix(in srgb,var(--lane-color) 13%,#fffdf8);border-color:color-mix(in srgb,var(--lane-color) 48%,#d7dfcc);box-shadow:0 4px color-mix(in srgb,var(--lane-color) 27%,#d7dfcc)}.garden-node.eaten{background:#e8dfc8;border:2px dashed #ad8f69;box-shadow:0 3px #d5c4a4;color:#866345}
.safe-zone{position:absolute;left:calc(var(--region-padding) - 3px);right:calc(var(--region-padding) - 3px);bottom:calc(var(--region-padding) + var(--lane-padding) + var(--lane-footer) - 2px);height:calc(var(--safe-rows,1) * var(--stop-height) + 4px);border:2px solid #67b6cc;border-radius:19px;box-shadow:0 0 0 3px #def3f066;pointer-events:none;z-index:2;background:linear-gradient(transparent,#b5e8f013)}
.lane-name{height:var(--lane-footer);text-align:center;color:color-mix(in srgb,var(--lane-color) 70%,#2c3a21);font-size:12px;font-weight:800;padding:10px 0 4px}.lane-name small{display:block;margin-top:4px;font-size:10px;font-weight:500}.garden-region.locked .region-header{opacity:.5}.garden-region.locked .nest svg{filter:grayscale(1);opacity:.3}
.garden-dock{position:sticky;bottom:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 18px calc(10px + env(safe-area-inset-bottom));margin:0 -6px;background:#fffdf2f5;backdrop-filter:blur(12px);border:1px solid #d8dfc8;border-radius:22px 22px 0 0;box-shadow:0 -4px 22px #5b6b3620}.garden-hive{font-size:36px;line-height:40px;text-align:center;min-width:50px}.garden-dock strong{font-size:15px;color:#7b682d}.garden-dock small{display:block;font-size:9px;color:#949578;margin-top:5px}
.bee-swarm{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:41}.bee-swarm[hidden],body[data-screen="game"] .bee-swarm{display:none}.map-bee{position:absolute;left:0;top:0;width:27px;height:22px;filter:drop-shadow(0 2px 2px #6a5c3330);will-change:transform}.map-bee svg{width:100%;height:100%}.map-bee svg>ellipse:nth-child(-n+2){transform-box:fill-box;transform-origin:bottom center;animation:bee-wing .09s ease-in-out infinite alternate}@keyframes bee-wing{to{transform:scaleY(.45)}}
.raid-swarm{position:absolute;inset:0;pointer-events:none;z-index:5}.raid-swarm img{position:absolute;left:calc(50% - 18px);top:calc(50% - 18px);width:36px;height:36px;animation:raid-crawl 2.4s ease-in-out both;animation-delay:var(--bug-delay)}@keyframes raid-crawl{0%{transform:translate(0,var(--raid-distance)) rotate(180deg);opacity:0}8%{opacity:1}35%{transform:translate(calc(var(--bug-offset) * .6),calc(var(--raid-distance) * .6)) rotate(170deg)}65%{transform:translate(var(--bug-offset),calc(var(--raid-distance) * .25)) rotate(190deg);opacity:1}85%{transform:translate(var(--bug-offset),3px) rotate(180deg);opacity:1}100%{transform:translate(var(--bug-offset),6px) rotate(180deg);opacity:0}}
@media(max-width:420px){.region-lanes{--region-padding:8px;--stop-height:104px;--node-height:88px;gap:6px}.region-header{padding:17px 12px 10px;gap:7px}.chapter-kicker{font-size:8px}.garden-node{width:calc(100% - 10px);padding:7px 2px;border-radius:12px}.garden-label{font-size:10px}.lane-name{font-size:11px}.garden-dock{gap:9px;padding-left:12px;padding-right:12px}.garden-dock strong{font-size:13px}.nest small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.bee-swarm,.raid-swarm{display:none}}

/* Honey stock and production share the hive dock. Popups reflect actual credits. */
.garden-hive{position:relative}.honey-balance{flex:1;min-width:0}.honey-values{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;font-variant-numeric:tabular-nums}.honey-values #honey-total{font-size:23px;line-height:1.2;overflow-wrap:anywhere}.honey-values #honey-rate{font-size:12px;font-weight:700;color:#a28542;white-space:nowrap}.honey-popup{position:absolute;left:50%;top:0;z-index:6;white-space:nowrap;pointer-events:none;color:#359349;font-size:32px;font-weight:900;letter-spacing:0;text-shadow:0 1px 0 #fff,1px 0 0 #fff,-1px 0 0 #fff,0 -1px 0 #fff;animation:honey-delivered 1.4s ease-out forwards}@keyframes honey-delivered{0%{opacity:0;transform:translate(-50%,0) scale(.8)}15%{opacity:1;transform:translate(-50%,-12px) scale(1)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-64px) scale(1)}}
.honey-stock{display:flex;align-items:baseline;gap:5px;min-width:0;flex-wrap:wrap}#honey-capacity{font-size:14px;color:#949578;overflow-wrap:anywhere}.garden-hive.hive-full{filter:drop-shadow(0 0 5px #e6b34480)}.garden-dock #hive-status{color:#9a702b;line-height:1.4}
@media(max-width:420px){.honey-values{gap:4px 8px}.honey-values #honey-total{font-size:20px}.honey-values #honey-rate{font-size:11px}.honey-balance small{font-size:8px}.honey-popup{font-size:28px}}
@media(prefers-reduced-motion:reduce){.honey-popup{animation:none;transform:translate(-50%,-20px)}}
.nectar-icon{display:inline-block;vertical-align:middle;flex-shrink:0}.nectar-icon>svg{display:block;width:100%;height:100%}.garden-hive>.nectar-icon{display:block;width:44px;height:44px;margin:0 auto}

.level-lock{position:absolute;right:9px;top:7px;display:block;width:25px;height:22px;pointer-events:none}.level-lock svg{display:block;width:100%;height:100%}

/* Let the mobile garden use every available horizontal pixel. */
@media(max-width:760px),(hover:none) and (pointer:coarse){
 .workspace{overflow:hidden;overscroll-behavior:contain}
 .workspace>.game{position:absolute;width:100%;min-height:0}
 .game .board-wrap{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}
 .campaign-map{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
 .map-shell{width:100%;max-width:none}
 .garden-dock{margin-left:0;margin-right:0}

 /* Size touch controls in CSS pixels; devicePixelRatio only sharpens the canvas. */
 .workspace>.game{padding:12px 14px 0;--queue-row-height:66px}
 .game .game-top{min-height:36px;position:relative;z-index:1}
 .game .board-wrap{width:calc(100% + 28px);margin:calc(-1 * var(--board-top-inset,0px)) -14px auto}
 .map-button{min-height:44px;font-size:14px;gap:7px}
 
 .game-actions{gap:6px}
 .game-actions .icon-button{width:36px;min-width:36px;height:36px;font-size:21px;border-radius:8px}
 
 
 .track-count{font-size:10px;letter-spacing:.4px;padding:5px 10px}
 .track-count b{font-size:11px}
 .waiting-heading,.queue-heading{flex-wrap:wrap;gap:0 8px;padding:2px 0}
 .waiting-heading h3,.queue-heading h3{font-size:13px;letter-spacing:.6px;margin:2px 0}
 .queue-heading{margin-top:4px}
 .waiting-heading h3 span{font-size:13px}
 .waiting-heading>span,.queue-heading>span{font-size:12px;color:#74836a;line-height:1.4}
 .waiting{gap:6px}
 .game .waiting-slot{height:60px}
 .waiting-slot svg{width: min(100%,52px);height:54px}
 .game .waiting-slot .ammo{top:30px;font-size:18px}
 .relaunch-arrow{font-size:14px}
 .game .queue{height:calc(var(--queue-row-height)*2.5 + 18px);gap:8px}
 .queue-column{gap:8px;padding:0 3px}
 .game .cannon-card,.game .queue-empty,.pick-column .cannon-card{height:66px;min-height:66px}
 .cannon-card svg{height:62px;width: min(100%,70px)}
 .cannon-card .ammo{top:36px;font-size:21px}
 .lock-card span{font-size:8px;letter-spacing:0}
 .helpers{gap:8px;padding-top:4px;padding-bottom:16px}
 .helper-button{min-height:78px;font-size:12px;line-height:1.3;padding:8px 2px;gap:5px}
 .helper-icon{font-size:30px;line-height:32px}
 .helper-count{width:20px;height:20px;font-size:12px;top:5px;right:5px}
 dialog{padding:28px 22px;width:calc(100% - 24px)}
 dialog p{font-size:16px;line-height:1.6}
 dialog .eyebrow{font-size:12px}
 dialog button.primary,#resume{font-size:16px;min-height:48px}
 .dialog-close{width:44px;height:44px;top:5px;right:7px;font-size:30px}
 #result-stats{font-size:15px}
 .pick-column>b{font-size:14px}
 .toast{font-size:14px}

 .journey-summary{padding:18px 14px}
 .journey-summary strong{font-size:22px}
 .journey-summary span{font-size:13px;line-height:1.4}
 .region-header{padding:20px 14px 14px}
 .chapter-kicker{font-size:11px}
 .region-lanes{--stop-height:124px;--node-height:106px;--lane-footer:64px;--region-padding:8px;gap:6px}
 .garden-node{width:calc(100% - 4px);padding:10px 2px}
 .garden-art{height:58px;font-size:32px}
 .garden-art svg{width:64px;height:64px}
 .garden-label{font-size:13px}
 .nest{height:112px}
 .nest svg{height:64px;width:76px;max-width:100%}
 .nest time{font-size:14px;padding:5px 8px}
 .nest small{font-size:12px;line-height:1.3}
 .lane-name{font-size:14px}
 .lane-name small{font-size:12px}
 .honey-values #honey-total{font-size:28px}
 .honey-values #honey-rate{font-size:15px}
 .honey-balance small{font-size:12px;line-height:1.4}
}

/* Show two and a half queue rows so the board gets more vertical space. */
@media(max-height:800px) and (max-width:760px),(max-height:800px) and (hover:none) and (pointer:coarse){
 .workspace>.game{--queue-row-height:50px}
 
 .game .waiting-slot{height:48px}
 .waiting-slot svg{height:44px;width:min(100%,42px)}
 .game .waiting-slot .ammo{top:24px;font-size:16px}
 .game .cannon-card,.game .queue-empty{height:50px;min-height:50px}
 .game .cannon-card svg{height:49px;width:min(100%,58px)}
 .game .cannon-card .ammo{top:29px;font-size:18px}
 .helpers{padding-top:4px;padding-bottom:10px}
 .helper-button{min-height:62px}
 .helper-icon{font-size:26px;line-height:28px}
}
@media(max-height:620px) and (max-width:760px),(max-height:620px) and (hover:none) and (pointer:coarse){
 .workspace>.game{--queue-row-height:44px}
 .waiting-heading h3,.queue-heading h3{font-size:12px}
 .waiting-heading>span,.queue-heading>span{font-size:11px}
 .game .waiting-slot{height:44px}
 .game .cannon-card,.game .queue-empty{height:44px;min-height:44px}
 .game .cannon-card svg{height:43px}
 .game .cannon-card .ammo{top:26px}
 .helper-button{min-height:54px;font-size:11px;padding-top:5px;padding-bottom:5px}
 .helper-icon{font-size:24px;line-height:24px}
}

#pause-dialog h2{margin:0 0 24px}.pause-menu{display:flex;flex-direction:column;gap:12px}.pause-menu button{min-height:48px;border:1px solid #d6dfc6;border-radius:12px;background:#f0f4e6;font-size:16px;font-weight:600;padding:12px}.pause-menu button.primary{margin:0;font-size:16px}

/* Reserve separate rows for the lock and its caption at every card height. */
.game .lock-card{grid-template-rows:minmax(0,1fr) auto;gap:2px;padding:4px 2px}.game .lock-card svg{width:100%;height:100%;max-width:45px;min-height:0}

.toast{white-space:normal;width:max-content;max-width:calc(100% - 16px);text-align:center;line-height:1.4}

.garden-node.bloomed .garden-art svg{transform-box:fill-box;transform-origin:center}
.region-unlock-notice{display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:16px 20px;border:1px solid #dece9f;border-radius:18px;background:#fff7dd;color:#7a693f}.region-unlock-notice p{margin:0;font-size:13px;font-weight:650;line-height:1.5}.region-unlock-icon{display:block;flex:0 0 32px}.region-unlock-icon svg{display:block;width:32px;height:30px}
@media(max-width:420px){.region-unlock-notice{padding:14px 12px;gap:9px}.region-unlock-notice p{font-size:12px}}

/* Shared sound preference on the map and in the pause menu. */
.sound-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
#sound-pause{display:flex;align-items:center;justify-content:center;gap:10px}

/* Nectar storage and the two complementary swarm upgrades. */
.garden-upgrades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:0 0 100%}
.garden-upgrades button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:52px;padding:7px 8px;border:1px solid #bfd09b;border-radius:12px;background:#eaf3d5;color:#405c2a;font:inherit;font-size:12px;font-weight:700;cursor:pointer;line-height:1.35}
.garden-upgrades button small{font-size:11px;color:#7b682d;margin-top:2px;font-weight:500}
.garden-upgrades button:disabled{background:#f3f1e7;border-color:#e2dece;color:#949578;cursor:default}
.garden-upgrades button.upgrade-limited{color:#686e54}
.garden-upgrades button.upgrade-limited small{color:#686e54}
.garden-upgrades button:focus-visible{outline:3px solid #63a849;outline-offset:2px}
.garden-node.bloomed{isolation:isolate;overflow:hidden}
.flower-fill{position:absolute;inset:auto 0 0;height:var(--nectar-fill,0%);background:color-mix(in srgb,var(--lane-color) 42%,#fff5b9);border-top:1px solid color-mix(in srgb,var(--lane-color) 60%,transparent);pointer-events:none;z-index:-1;transition:height .25s linear}
.garden-node.bloomed .garden-art{position:absolute;inset:18px 0 19px;height:auto}
.garden-node.bloomed .garden-art svg{width:100%;height:100%;max-width:64px;max-height:64px}
.garden-node.bloomed .garden-label{position:absolute;top:5px;right:7px;font-size:10px;line-height:1.3}
.flower-stock{display:flex;align-items:center;justify-content:center;gap:2px;position:absolute;bottom:5px;left:4px;right:4px;text-align:center;white-space:nowrap;font-size:10px;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--lane-color) 50%,#354526);pointer-events:none}
.garden-node.nectar-full{border-color:color-mix(in srgb,var(--lane-color) 75%,#556436)}
.occupied-bugs{position:relative;display:block;width:78px;max-width:100%;height:50px}
.occupied-bugs img{position:absolute;width:36px;height:36px;filter:drop-shadow(0 2px 1px #65513428);pointer-events:none}
.occupied-bugs img:nth-child(1){left:3px;top:13px;transform:rotate(-25deg)}
.occupied-bugs img:nth-child(2){left:24px;top:0;transform:rotate(14deg)}
.occupied-bugs img:nth-child(3){right:0;top:17px;transform:rotate(38deg)}
@media(prefers-reduced-motion:reduce){.flower-fill{transition:none}}
.map-bee[hidden]{display:none}.map-bee.carrying{filter:drop-shadow(0 2px 3px #ddac31a0)}
@media(max-width:760px),(hover:none) and (pointer:coarse){.flower-stock,.garden-node.bloomed .garden-label{font-size:11px}.garden-upgrades button{font-size:13px}.garden-upgrades button small{font-size:12px}.honey-values #honey-rate{font-size:12px}}

.upgrade-icon{display:block;flex:0 0 30px;width:30px;height:32px;pointer-events:none}
.upgrade-icon svg{display:block;width:100%;height:100%}
.upgrade-copy{display:block;min-width:0}.upgrade-copy>span{display:block}
.garden-upgrades button .upgrade-cost{display:flex;align-items:center;justify-content:center;gap:3px;line-height:18px;font-variant-numeric:tabular-nums}.upgrade-cost .nectar-icon{width:16px;height:18px}
@media(max-width:380px){.garden-upgrades button{gap:5px;padding-left:5px;padding-right:5px;font-size:11px}.upgrade-icon{flex-basis:26px;width:26px}.flower-stock{font-size:9px}}

.flower-stock .nectar-icon{width:13px;height:15px}.flower-stock-value{min-width:0}
.nest.raid-trigger{width:100%;padding:0;border:0;background:none;border-radius:12px;font:inherit}.nest.raid-trigger:focus-visible{outline-offset:-3px}#raid-countdown{color:#8c5943;font-variant-numeric:tabular-nums;white-space:nowrap}#raid-dialog h2{font-size:22px;letter-spacing:-.5px}
@media(max-width:380px){.flower-stock .nectar-icon{width:11px;height:13px}}

.garden-notice{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:flex-start;gap:8px;width:calc(100% - 24px);max-width:480px;padding:14px 12px 14px 18px;background:#b74f43;color:#fffaf5;border:1px solid #9c4037;border-radius:16px;box-shadow:0 8px 28px #6c292938;font-size:14px;line-height:1.5;animation:garden-notice-in .2s ease-out}.garden-notice>span{flex:1;align-self:center;margin:0;color:inherit;font-size:14px;line-height:1.5}.garden-notice>button{flex:0 0 32px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:#a0443a;color:inherit;font-size:26px;line-height:1}.garden-notice>button:focus-visible{outline-color:#fff4d9;outline-offset:2px}@keyframes garden-notice-in{from{transform:translate(-50%,-8px)}to{transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){.garden-notice{animation:none}}
.garden-notice[data-tone="positive"]{background:#4f7f3d;border-color:#3c642e;box-shadow:0 8px 28px #294e2638}.garden-notice[data-tone="positive"]>button{background:#406a32}

/* Settings remain accessible from both the garden and a paused level. */
.map-settings{display:flex;gap:8px;align-items:center;justify-self:end}
#settings-map,#open-inventory{width:44px;height:44px;background:#f0f4e6;border-color:#d6dfc6;color:#64764b}
#settings-map svg,#open-inventory svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#settings-dialog .sound-toggle{display:flex;align-items:center;justify-content:center;gap:10px}
#settings-dialog h2,#reset-dialog h2{margin-top:0}
.pause-menu button.danger{background:#f9e9e3;border-color:#dcb6a7;color:#934b3f}
#reset-error{color:#934b3f}

/* Map milestones share one celebration when a nest also unlocks a region. */
#celebration-dialog{max-width:430px;padding:28px}
#celebration-dialog .eyebrow{margin-top:0;color:#708b44}
#celebration-dialog h2{font-size:24px;margin:12px 0 20px}
#celebration-events{display:grid;gap:12px}
.celebration-card{padding:16px;border:1px solid #d4e3bb;border-radius:16px;background:#eff5e4}
.celebration-card[data-event="regionOpened"]{background:#fff3d7;border-color:#ecd99d}
.celebration-icon{display:block;font-size:32px;line-height:1.2;color:#7e9b43}
.celebration-card h3{font-size:18px;margin:10px 0 8px;line-height:1.4}
.celebration-card p{font-size:14px;line-height:1.6;margin:0;color:#667751}
.celebration-card .celebration-reward{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;color:#397a94;font-size:18px}
.reward-box-icon{position:relative;display:inline-block;width:32px;height:30px;flex:none;vertical-align:middle}
.reward-box-icon>.art-sprite{display:block;width:100%;height:100%}
.celebration-card .celebration-reward{flex-wrap:wrap}
.celebration-card .celebration-reward-label{margin-top:12px;font-size:13px;color:#667751}
#raid-dialog .raid-reward-description{margin:8px 0 0;font-size:12px;line-height:1.5;color:#79816a}

#build-version{margin:22px 0 0;font-size:12px;color:#7d896e;font-variant-numeric:tabular-nums}

/* Timed honey collection, with two reward tracks and a shared helper inventory. */
.honey-open{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;flex:0 0 100%;min-height:48px;border:1px solid #dabf72;border-radius:13px;background:linear-gradient(105deg,#fff2c4,#f8e5ad);color:#73551f;font-size:14px;font-weight:750;padding:8px 14px}
.honey-open>span:nth-child(2){display:flex;align-items:center;gap:12px;flex:1;text-align:left}.honey-open small{margin:0;color:#947338;font-size:11px;font-weight:500;white-space:nowrap}.honey-open-icon{display:block;flex:none;width:32px;height:34px;font-size:0}.honey-open-icon>svg{display:block;width:100%;height:100%}.honey-open>b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#50843b;color:white;font-size:13px}
#honey-dialog{max-width:820px;width:calc(100% - 24px);padding:26px;text-align:left;overflow-x:hidden;scrollbar-width:thin}
#honey-dialog h2{margin:0 34px 14px 0;font-size:27px;letter-spacing:-.8px}
#honey-dialog p{font-size:13px;line-height:1.6;color:#79816a;margin:12px 0}.honey-event-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#7c806e}.honey-event-top>span:first-child{color:#82702b;font-weight:750}.honey-event-top time{font-weight:750;color:#966b2d;font-variant-numeric:tabular-nums;white-space:nowrap}
.honey-pass{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;background:#f3ecdc;border:1px solid #ded2b2;border-radius:13px;margin:14px 0 18px}.honey-pass strong{font-size:13px;color:#8a6c32}.honey-pass small{display:block;font-size:11px;line-height:1.4;margin-top:4px;color:#8e866f}.honey-pass button{flex-shrink:0;min-height:44px;border:1px solid #c8a754;border-radius:10px;background:#f3d889;padding:8px 12px;font-size:12px;font-weight:700;color:#715725}.honey-pass.active{background:#eef4df;border-color:#c9d9a9}.honey-pass.active button{background:#e0edc9;color:#54743a;border-color:#b9cf99}
.honey-jars{--honey-column:190px;--honey-gap:10px;position:relative;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 2px 13px;scrollbar-width:thin;scrollbar-color:#cfb677 #f3eddc;-webkit-overflow-scrolling:touch}
.honey-track{position:relative;width:max-content}.honey-jar-row,.honey-reward-row,.honey-milestones{display:grid;grid-template-columns:repeat(10,var(--honey-column));gap:var(--honey-gap)}
.honey-jar-card{min-width:0;border:1px solid #e4decc;border-radius:16px;padding:8px 8px 6px;background:#faf8ef}.honey-jar-card.current{border-color:#cead52;box-shadow:0 0 0 2px #edd48a55;background:#fffae9}.honey-jar-card.complete{border-color:#c9d6a8;background:#f6faee}
.honey-jar-stage{height:var(--honey-stage-height,184px);display:flex;align-items:flex-end;justify-content:center;padding-bottom:0}.honey-jar{height:calc(var(--jar-height) * var(--honey-jar-scale,1));aspect-ratio:120/132;flex:none}.honey-jar>svg{display:block;width:100%;height:100%;overflow:visible}.honey-jar-volume{text-align:center;font-size:12px;font-weight:750;color:#80632a;margin:6px 0 8px;font-variant-numeric:tabular-nums;white-space:nowrap}.honey-jar-volume>span{font-weight:400;color:#a09476}
.honey-fill-actions{min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px}.honey-fill-actions button{min-width:0;flex:1;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #acbf7d;border-radius:10px;background:#e4eebf;color:#617536;font-size:12px;font-weight:750;padding:4px;white-space:nowrap}.honey-fill-cost{display:flex;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}.honey-fill-cost .nectar-icon{flex:none;width:14px;height:16px}.honey-fill-value{min-width:0;white-space:normal;overflow-wrap:anywhere}.honey-fill-actions button:last-child{background:#f5d98d;border-color:#d7b45b;color:#805c24}.honey-fill-actions button:disabled{opacity:.45}.honey-fill-actions button[hidden]{display:none}.honey-fill-actions>span{font-size:11px;color:#83996a}
.honey-reward-row{position:relative}.honey-reward-row.free{padding-top:14px;padding-bottom:12px}.honey-reward-row.premium{padding-top:12px;padding-bottom:3px}.honey-reward-slot{position:relative;display:flex;justify-content:center}.honey-reward-slot:after{content:'';position:absolute;left:50%;width:1px;background:#d8d5bd}.free .honey-reward-slot:after{height:12px;top:100%}.premium .honey-reward-slot:after{height:12px;bottom:100%}
.honey-reward-bubble{width:124px;min-height:68px;border:1px solid #d6e2c0;border-radius:23px;background:#eef4e2;color:#657f44;padding:6px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.honey-reward-bubble>small{font-size:10px;line-height:1.3;font-weight:500}.honey-reward-bubble>span{display:flex;align-items:center;justify-content:center;gap:7px}.honey-reward-bubble i{font-style:normal;font-size:24px;line-height:26px}.honey-reward-bubble b{font-size:17px}.honey-reward-bubble.premium{background:#fcf0d2;border-color:#e7d3a1;color:#a47c2c}.honey-reward-bubble.ready{--reward-shadow:#4d8426;--reward-glow:#8bd83c55;border-color:#4c9b22;background:#8bd83c;color:#26451a;box-shadow:0 3px 0 var(--reward-shadow)}.honey-reward-bubble.premium.ready{--reward-shadow:#bd741b;--reward-glow:#ffb43c66;background:#ffb43c;border-color:#db8019;color:#583410;box-shadow:0 3px 0 var(--reward-shadow)}.honey-reward-bubble.claimed{background:#f4f6eb;color:#98a583}.honey-reward-bubble:disabled{cursor:default}
.honey-reward-bubble.ready:not(:disabled){animation:honey-reward-pulse 1.25s ease-in-out infinite}
@keyframes honey-reward-pulse{0%,100%{transform:scale(1);filter:brightness(1);box-shadow:0 3px 0 var(--reward-shadow),0 0 0 0 var(--reward-glow)}50%{transform:scale(1.09);filter:brightness(1.07);box-shadow:0 3px 0 var(--reward-shadow),0 0 0 5px var(--reward-glow)}}
@media(prefers-reduced-motion:reduce){.honey-reward-bubble.ready:not(:disabled){animation:none}}
.honey-progress{position:relative;height:22px}.honey-progress-rail{position:absolute;left:0;right:0;top:8px;height:6px;border-radius:9px;background:#e7e3d2;overflow:hidden}.honey-progress-rail>i{display:block;height:100%;width:var(--honey-position);background:linear-gradient(90deg,#e6bd60,#c48d32);border-radius:inherit}.honey-milestones{position:relative;place-items:center;height:22px}.honey-milestones>span{display:grid;place-items:center;width:22px;height:22px;border:2px solid #e2dcc7;border-radius:50%;background:#fffdf5;color:#a29673;font-size:9px;font-weight:700}.honey-milestones>span.complete{border-color:#c5993f;background:#e5bd62;color:#fffdf2}.honey-progress-head{position:absolute;left:clamp(6px,var(--honey-position),calc(100% - 6px));top:5px;transform:translateX(-50%);width:12px;height:12px;border-radius:50%;border:2px solid #fff9e6;background:#bf8c30;box-shadow:0 0 0 2px #cba44c55;pointer-events:none}
.honey-nectar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:0 0 12px;font-size:13px;color:#85856d}.honey-nectar strong{display:flex;align-items:center;gap:6px;color:#806629;font-size:20px;font-variant-numeric:tabular-nums}.honey-nectar .nectar-icon{width:24px;height:24px}
#honey-reward-dialog{max-width:350px}#honey-reward-dialog h2{margin-top:4px;color:#687f3f}.honey-received{display:flex;align-items:center;justify-content:center;gap:14px;min-height:104px;margin:16px 0;background:#eef4df;border:1px solid #d6e3bc;border-radius:22px;color:#718d45}.honey-received>span{font-size:56px;line-height:1}.honey-received>strong{font-size:36px}#honey-reward-name{font-size:18px;font-weight:700;color:#647b40;margin:12px 0}
.helper-count{width:auto;min-width:20px;padding:0 4px;border-radius:10px}
@media(max-width:480px){#honey-dialog{padding:20px 15px;border-radius:22px}#honey-dialog h2{font-size:22px}.honey-pass{padding:10px;gap:8px}.honey-pass button{font-size:10px;padding:8px}.honey-pass small{font-size:10px}.honey-open>span:nth-child(2){gap:5px;flex-wrap:wrap}}

/* Shared helper inventory, opened from the garden toolbar. */
#inventory-dialog{width:calc(100% - 24px);max-width:420px;padding:26px;text-align:left}
#inventory-dialog h2{font-size:22px;line-height:1.4;letter-spacing:-.6px;margin:0 28px 20px 0}
#helper-inventory-list{display:grid;gap:10px;list-style:none;padding:0;margin:0}
#helper-inventory-list li{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dce4cd;border-radius:14px;background:#f4f7ec;color:#64764b}
#helper-inventory-list i{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#e7efda;font-style:normal;font-size:30px;color:#788c50}
#helper-inventory-list li>span{flex:1;font-size:14px;font-weight:600}
#helper-inventory-list b{display:flex;align-items:baseline;gap:4px;font-size:22px;font-variant-numeric:tabular-nums;color:#5d733c}
#helper-inventory-list b>small{font-size:10px;font-weight:500;color:#8c987d}
#inventory-description{font-size:12px;line-height:1.6;color:#8c987d;margin:18px 0 0}
@media(max-width:480px){#inventory-dialog{padding:22px 18px}#inventory-dialog h2{font-size:20px}#helper-inventory-list li{padding:12px;gap:10px}}

@media(max-width:480px){.garden-upgrades{gap:6px}.garden-upgrades button{flex-direction:column;gap:3px;padding:7px 3px;font-size:11px}.garden-upgrades .upgrade-icon{width:30px;height:30px;flex-basis:30px}.garden-upgrades button small{font-size:11px}}

/* Pouring stays inside the same glass mask; the lid lands only after the stream stops. */
.honey-jar-card.is-pouring .honey-jar{filter:drop-shadow(0 3px 5px #dbad3b25)}
.honey-pour-stream,.honey-pour-splash,.honey-jar-lid{pointer-events:none}
.honey-jar-card.is-pouring .honey-fill-actions button{cursor:wait}

/* Short screens keep room for nectar and both reward tracks, scaling only jar art. */
@media(max-height:700px){
 #honey-dialog{padding-top:16px;padding-bottom:16px}
 #honey-dialog h2{font-size:22px;margin-bottom:8px}
 .honey-pass{margin:10px 0 12px;padding:8px 10px}
 .honey-reward-row.free{padding-top:9px;padding-bottom:8px}
 .honey-reward-row.premium{padding-top:8px}
 .free .honey-reward-slot:after,.premium .honey-reward-slot:after{height:8px}
 .honey-reward-bubble{min-height:60px;padding:4px}
}
@media(max-height:600px){
 #honey-dialog{padding-top:12px;padding-bottom:12px}
 #honey-dialog h2{font-size:20px;margin-bottom:6px}
 .honey-event-top{font-size:11px}
 .honey-pass{margin:8px 0;padding:6px 8px}
 .honey-pass button{min-height:40px}
 .honey-reward-bubble{min-height:52px}
 .honey-reward-bubble i{font-size:20px;line-height:22px}
 .honey-reward-bubble b{font-size:16px}
 .honey-reward-bubble>small{font-size:9px}
 .honey-jar-volume{margin:4px 0 6px}
 .honey-fill-actions,.honey-fill-actions button{min-height:40px}
}

/* Track names stay in the left gutter while jars and rewards scroll together. */
.honey-collection{position:relative;min-width:0;padding-left:30px}
.honey-track-label{position:absolute;left:0;width:24px;display:flex;align-items:center;justify-content:center;border:1px solid #d6e2c0;border-radius:9px;background:#eef4e2;color:#657f44;pointer-events:none}
.honey-track-label span{display:block;transform:rotate(-90deg);white-space:nowrap;font-size:10px;line-height:1;font-weight:700}
.honey-track-label.premium{background:#fcf0d2;border-color:#e7d3a1;color:#a47c2c}

/* Diamonds and optional storage unlocked by a paid recovery. */
.journey-summary .diamond-wallet{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;margin-top:0;line-height:1;text-align:center;color:#4387a1}
.journey-summary .diamond-icon{display:block;width:32px;height:32px;margin-top:0}
.diamond-wallet>b{line-height:1}
.diamond-icon{display:inline-block;flex:none;width:23px;height:23px;vertical-align:middle}.diamond-icon svg{display:block;width:100%;height:100%}.diamond-wallet{display:inline-flex;align-items:center;gap:5px;color:#4387a1;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.honey-nectar strong.diamond-wallet{color:#4387a1}.honey-nectar{gap:16px}.honey-reward-bubble i>svg{width:26px;height:26px;display:block}#honey-reward-icon>svg{width:70px;height:64px}#result-revive{display:flex;align-items:center;justify-content:center;gap:7px;background:#d1ecf5;border-color:#80b8cd;box-shadow:0 3px 0 #91bfd0}.reserve{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.reserve .waiting-slot{background:#e7f4f8;border-color:#8ab6c6}.reserve .waiting-slot.empty{background:#f2f8fa}.reserve .waiting-slot svg{width:42px;height:44px}#reserve-section .waiting-heading h3{color:#50869a}#revive-description{font-size:12px;line-height:1.5}@media(max-width:480px){.diamond-wallet{font-size:13px}.diamond-icon{width:20px;height:20px}}

.raid-wallet{display:flex;align-items:center;justify-content:center;gap:7px}.raid-wallet strong{color:#4387a1}#destroy-nest .diamond-icon{display:inline-block;vertical-align:middle;margin:0 5px}#destroy-nest:disabled{opacity:.5;box-shadow:none}
#flower-dialog{padding:24px;max-width:390px}.flower-portrait{width:76px;height:68px;margin:0 auto 8px}#flower-title{margin:8px 0;font-size:24px}#flower-location{font-size:12px;line-height:1.5;margin:0 0 18px;color:#839170}
.flower-stocks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.flower-stocks>div{padding:12px 8px;border:1px solid #dce4c5;border-radius:15px;background:#f0f5e4}.flower-stocks dt{font-size:12px;color:#7b8969}.flower-stocks dd{display:flex;justify-content:center;align-items:center;gap:5px;margin:6px 0 0;font-size:23px;color:#536e35;font-variant-numeric:tabular-nums}.flower-stocks .nectar-icon{width:18px;height:23px;flex:none}
.flower-storage-bar{height:9px;margin:12px 0 20px;overflow:hidden;border-radius:8px;background:#e6eadb;border:1px solid #d8dfc5}.flower-storage-bar i{display:block;height:100%;width:0;background:linear-gradient(#ffe08b,#e8ab35);border-radius:6px}
.flower-production{margin:0;text-align:left}.flower-production>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:14px;color:#7a866c}.flower-production dd{margin:0;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums;color:#607c3c}.flower-production small{font-size:11px;white-space:nowrap}.flower-production .flower-production-total{padding-top:14px;margin-bottom:0;border-top:1px solid #dce3cd;color:#435b30;font-size:17px;font-weight:800}

#raid-dialog .raid-reward-panel{margin-top:16px;padding:12px;border:1px solid #d4e3bb;border-radius:14px;background:#eff5e4}#raid-dialog .raid-reward{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 8px;margin:0;font-size:14px}.raid-reward-amount{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#397a94}

/* Achievements share the garden's cream panels, green progress and blue gems. */
.achievement-open{position:relative}
#open-achievements{color:#98752e}
#open-achievements svg.art-sprite{width:34px;height:34px;flex:none}
.achievement-badge{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;width:19px;height:19px;border:2px solid #fffbed;border-radius:50%;background:#db7150;color:#fff;font-size:12px;line-height:1;box-shadow:0 2px 4px #8a48252b}
.achievement-open.has-rewards{border-color:#d6b861;background:#fff0b9}
#achievements-dialog{width:calc(100% - 24px);max-width:640px;padding:26px;text-align:left;scrollbar-width:thin;scrollbar-gutter:stable}
#achievements-title{margin:0 30px 8px 0;font-size:25px;letter-spacing:-.8px}
.achievements-summary{margin:18px 0;padding:14px;border-radius:14px;background:#f2f1df;font-size:12px;font-weight:650;color:#6c7957}
.achievements-summary-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.achievements-summary-label b{font-size:14px;color:#5e793e;font-variant-numeric:tabular-nums}
.achievements-overall-bar{height:8px;overflow:hidden;border-radius:8px;background:#e0e5cd}
.achievements-overall-bar i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#91b653,#bddc7b)}
#achievement-list{display:grid;gap:12px}
.achievement-card{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid #e1e4d1;border-radius:18px;background:#fafaf1}
.achievement-card.ready{background:#fff9e5;border-color:#dfc778;box-shadow:0 3px 0 #ecdfac55}
.achievement-card.finished{background:#f0f5e9;border-color:#d5e0c5}
.achievement-icon{display:grid;place-items:center;flex:none;width:58px;height:58px;padding:7px;border-radius:17px;background:#efeedb}
.ready .achievement-icon{background:#f6e8b5}
.achievement-icon .art-sprite{width:100%;height:100%}
.achievement-copy{flex:1;min-width:0}
.achievement-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px}
.achievement-heading h3{font-size:15px;line-height:1.3;margin:0;font-weight:800;color:#485b38}
#achievement-list p{font-size:11px;line-height:1.55;margin:6px 0 10px;color:#829072}
.achievement-progress-copy{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:10px;color:#8b957b}
.achievement-progress-copy b{font-size:11px;color:#637c48;white-space:nowrap}
.achievement-progress{height:6px;overflow:hidden;border-radius:6px;background:#e6ead9;margin:6px 0 12px}
.achievement-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9abc60,#bbd87c)}
.ready .achievement-progress i{background:linear-gradient(90deg,#dfb95b,#eecd7c)}
.achievement-footer{display:flex;align-items:center;justify-content:flex-end}
.achievement-footer button{display:flex;align-items:center;justify-content:center;flex-shrink:0;gap:5px;border:1px solid #9dbd6a;border-radius:11px;background:#d4eaa9;color:#46622f;padding:9px 11px;min-height:38px;font-size:12px;font-weight:750}
.achievement-footer button:disabled{border-color:#dfe3d1;background:#eff1e6;color:#929b83}
#achievements-dialog .diamond-icon{display:inline-block;width:23px;height:23px;flex:none;vertical-align:middle}
@media(max-width:480px){#achievements-dialog{padding:22px 16px;border-radius:22px}#achievements-title{font-size:22px}.achievement-card{padding:13px 11px;gap:10px}.achievement-icon{width:44px;height:44px;padding:5px;border-radius:13px}.achievement-heading{display:block}.achievement-heading h3{font-size:14px}.achievement-footer{align-items:flex-start}.achievement-footer button{font-size:11px;padding:8px}.achievements-summary{font-size:11px;padding:10px}}
@media(max-width:380px){.journey-summary .map-settings{gap:5px}.journey-summary .map-settings .icon-button{width:35px;min-width:35px;height:35px}.map-shell .journey-summary{padding-left:12px;padding-right:12px;column-gap:8px}.journey-summary #map-completion{font-size:20px}.journey-summary>div:first-child>span{font-size:10px}.journey-summary .diamond-icon{width:27px;height:27px}}

#settings-dialog .language-toggle{display:flex;align-items:center;justify-content:center;gap:10px}
.language-flag{display:inline-flex;width:28px;height:19px;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px #34422f20;pointer-events:none}
.language-flag svg{display:block;width:100%;height:100%}
#language-error{color:#934b3f}

svg.art-sprite{display:inline-block;vertical-align:middle;overflow:hidden!important;flex-shrink:0;width:100%;height:100%;pointer-events:none}
body{background:#f6f3e9}.campaign-map{background:linear-gradient(#fbf9eee8,#edf1dfe8),url('./garden-backdrop.99558d26790d.webp') center top/cover fixed}
.workspace{background:linear-gradient(#fffdf399,#f2f3e5a6),url('./garden-backdrop.99558d26790d.webp') center/cover no-repeat}
.game{background:transparent;border-color:#dce0cb}
.workspace>.game{box-shadow:none}
.garden-dock{background:#fffbeeef;border-color:#dcdcc5}.garden-node{background-color:#f5f5e8}.garden-node.bloomed{background:#fffcf0}
.helper-icon{display:grid;place-items:center;width:40px;height:30px;margin:auto}.helper-icon>.art-sprite{width:100%;height:100%}
#pause>.art-sprite,.dialog-close>.art-sprite,#close-garden-notice>.art-sprite{width:24px;height:24px}.icon-button>.art-sprite{width:25px;height:25px}
.nest>.art-sprite{width:80px;height:62px}.nest.cleared .art-sprite{width:34px;height:34px}.garden-art>.art-sprite{width:100%;height:100%;max-width:76px;max-height:76px}
.garden-hive>.nectar-icon{width:60px;height:60px}.garden-hive{min-width:66px}.garden-node.eaten .garden-art{position:relative}.garden-node.eaten .occupied-bugs{position:relative;inset:auto;margin:auto}
.flying-cannon svg{transform:none}.map-bee>.art-sprite{width:31px;height:29px}.map-bee.carrying:after{display:none}
.helper-inventory-list .art-sprite,#helper-inventory-list i>.art-sprite{width:32px;height:32px}.celebration-icon>.art-sprite{width:70px;height:70px}.result-icon>.art-sprite{width:74px;height:74px}
.honey-open-icon>.art-honey-jar{width:100%;height:100%}.art-honey-jar .art-sprite{overflow:hidden}.honey-reward-bubble i>.art-sprite{width:29px;height:29px}#honey-reward-icon>.art-sprite{width:70px;height:64px}
#honey-reward-icon>img{display:block;width:84px;height:112px;object-fit:contain}
@media(max-width:480px){.garden-hive>.nectar-icon{width:48px;height:48px}.garden-hive{min-width:50px}.helper-icon{width:36px;height:27px}}
.helper-button{height:54px;min-height:54px;gap:0;padding:5px 8px}.helper-button .helper-icon{width:100%;max-width:76px;height:42px;margin:0;line-height:0}
#result-icon.result-bloom{width:110px;height:110px;background:none;border:0}#result-icon.result-bloom canvas{width:100%;height:100%}
.sound-toggle>.art-sprite{width:24px;height:24px;flex:0 0 24px;fill:initial;stroke:none}
#pause-dialog .pause-icon-button{display:flex;align-items:center;justify-content:center;gap:10px}
.pause-icon-button>.art-sprite{width:24px;height:24px;flex:0 0 24px}

.journey-summary{margin:0 12px;padding:14px 18px 13px;gap:9px 16px;top:0;border:1px solid #e5dfc3;border-top:0;border-radius:0 0 24px 24px;background:#fffcedf5;box-shadow:0 5px 20px #45622d16;backdrop-filter:blur(12px)}
.journey-summary strong{font-size:24px;line-height:1.15;font-weight:850;color:#35442e}
.journey-summary span{font-size:12px;margin-top:4px;line-height:1.25}
.journey-summary .map-settings{gap:8px}
.journey-summary .icon-button{display:grid;place-items:center;padding:var(--control-art-inset,3px);line-height:0;width:40px;height:40px;border:1px solid #ded9b9;background:#f6f2dd;border-radius:12px}
.map-settings #open-inventory>.art-sprite,.map-settings #open-achievements>.art-sprite,.map-settings #settings-map>.art-sprite{display:block;width:100%;height:100%;margin:0;flex:none}
.map-settings #open-inventory,.map-settings #open-achievements,.map-settings #settings-map{width:40px;height:40px;min-width:40px}
.journey-summary .diamond-wallet{font-size:16px;margin-right:3px}
.journey-summary .journey-bar{height:6px;margin-top:1px;background:#e9e4ca;border-radius:5px}
.journey-bar i{background:linear-gradient(90deg,#99be50,#b7d974)}
/* The dock keeps the hive in the meadow, with compact controls beside it. */
.garden-dock{display:grid;grid-template-columns:74px minmax(0,1fr) calc((100% - 14px)/3);align-items:center;gap:7px 10px;margin:0 8px;padding:12px 12px calc(10px + env(safe-area-inset-bottom));background:#fffbedf7;border:1px solid #e1d6b1;border-bottom:0;border-radius:30px 30px 0 0;box-shadow:0 -5px 24px #35512424;isolation:isolate}
.garden-hive{grid-column:1;grid-row:1;min-width:0;align-self:center;transform:translateY(-7px);z-index:1}
.garden-hive>.nectar-icon{width:86px;height:86px;margin-left:-9px;filter:drop-shadow(0 3px 1px #536a3626)}
.honey-balance{grid-column:2;grid-row:1;min-width:0}
.honey-values{display:block}
.honey-stock{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.dock-nectar-icon{display:block;width:19px;height:24px;flex:none}
.dock-nectar-icon>svg{display:block;width:100%;height:100%}
.honey-values #honey-total{font-size:22px;line-height:1.1;overflow-wrap:anywhere}
#honey-capacity{font-size:12px;color:#9a8d68}
.honey-values #honey-rate{display:block;font-size:11px;line-height:1.3;margin-top:3px;color:#9f7a2a;white-space:normal}
.garden-dock #bee-summary{font-size:9px;line-height:1.35;margin-top:4px;color:#82876b}
.garden-dock #hive-status{font-size:9px;line-height:1.3;margin-top:4px}
.garden-upgrades{grid-column:1/-1;grid-row:2;gap:7px}
.garden-upgrades button{flex-direction:row;gap:7px;font-size:11px;min-height:56px;padding:var(--control-art-inset,3px);border-radius:13px;background:linear-gradient(#eef5db,#e5edcc);border-color:#c8d7a4;box-shadow:0 2px 0 #bbc99a55}
.garden-upgrades .upgrade-icon{flex:0 0 48px;width:48px;height:48px}
.garden-upgrades .upgrade-copy{min-width:0}
.garden-upgrades button small{font-size:10px;line-height:1.25}
.garden-upgrades button:disabled{box-shadow:none}
.garden-dock .honey-open{grid-column:3;grid-row:1;display:flex;flex-direction:column;justify-content:flex-start;gap:3px;width:100%;min-height:96px;align-self:stretch;margin:0;padding:var(--control-art-inset,3px);border:1px solid #dfb24b;border-radius:19px;background:linear-gradient(#fff3af,#ffda6f);color:#785419;box-shadow:0 2px 0 #c3a05166;font-size:11px;line-height:1.15;text-align:center}
.garden-dock .honey-open-icon{width:56px;height:56px;flex:none}
.garden-dock .honey-open small{font-size:8px;white-space:nowrap;margin-top:3px;color:#9a742e}
.garden-dock .honey-open>span:nth-child(2){display:block;flex:none;width:100%;min-width:0;text-align:center;overflow-wrap:anywhere}
.garden-dock .honey-open>span:last-child{display:none}
.garden-dock #honey-reward-badge{position:absolute;top:6px;right:7px;font-size:12px}
.garden-notice{grid-column:1/-1}
@media(min-width:700px){
 .garden-dock{--dock-upgrade-width:calc((100% - 86px - 115px - 30px - 10px)/4);grid-template-columns:86px 115px calc(3*var(--dock-upgrade-width) + 10px) var(--dock-upgrade-width);gap:10px;margin:0 12px;padding:12px}
 .garden-hive>.nectar-icon{width:102px;height:102px;margin-left:-11px}
 .garden-upgrades{grid-column:3;grid-row:1;gap:5px}
 .garden-upgrades button{flex-direction:column;min-height:96px;padding:var(--control-art-inset,3px);font-size:10px;gap:2px}
 .garden-upgrades .upgrade-icon{width:56px;height:56px;flex-basis:56px}
 .garden-dock .honey-open{grid-column:4;width:100%;min-height:96px}
 .honey-values #honey-total{font-size:25px}
}
@media(max-width:380px){
 .journey-summary{margin:0 6px;padding:12px;gap:8px}.journey-summary strong{font-size:22px}.journey-summary span{font-size:11px}.journey-summary .icon-button{width:36px;height:36px}.journey-summary .map-settings{gap:6px}
 .region-lanes{padding:0 8px;gap:6px;--stop-height:132px;--flower-size:78px;--nest-height:118px}
 .nectar-gauge{height:23px;width:100%}.flower-stock{font-size:10px;gap:1px}.flower-stock>.nectar-icon{width:12px;height:17px}.garden-node.bloomed .garden-label{font-size:10px}
 .garden-dock{grid-template-columns:57px minmax(0,1fr) calc((100% - 10px)/3);margin:0 4px;padding:9px 8px calc(8px + env(safe-area-inset-bottom));gap:6px}
 .garden-hive>.nectar-icon{width:70px;height:70px;margin-left:-8px}.honey-values #honey-total{font-size:19px}#honey-capacity{font-size:10px}.honey-values #honey-rate{font-size:10px}.garden-dock #bee-summary,.garden-dock #hive-status{font-size:8px}
 .garden-dock .honey-open{width:100%;min-height:92px;font-size:10px}.garden-dock .honey-open small{font-size:7px}.garden-dock .honey-open-icon{width:56px;height:56px}
 .garden-upgrades{gap:5px}.garden-upgrades button{font-size:9px;gap:3px;min-height:48px;padding:var(--control-art-inset,3px)}.garden-upgrades .upgrade-icon{width:40px;height:40px;flex-basis:40px}.garden-upgrades button .upgrade-cost{font-size:9px;line-height:14px;gap:2px}.garden-upgrades .upgrade-cost .nectar-icon{width:12px;height:14px}.garden-upgrades button small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.garden-node.nectar-full .nectar-gauge{animation:none;box-shadow:0 0 7px #ffd96188}.flower-fill{transition:none}}

/* One finished illustration, reused without moving its baked-in artwork. */
.campaign-map{background:#91b64f;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);overflow-x:hidden;scroll-padding-top:110px;scroll-padding-bottom:190px}
.map-shell{container:meadow / inline-size;text-size-adjust:100%;-webkit-text-size-adjust:100%;--control-art-inset:3px;position:relative;width:100%;max-width:780px;min-height:100%;background:#91b64f;overflow-x:clip}
.campaign-map .art-sprite{contain:paint}
#chapter-list{position:relative;padding:0;isolation:isolate}
.garden-region{position:relative;width:100%;height:auto;aspect-ratio:2/3;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:url('./meadow-region-v2.f72d5e024c65.webp') center/100% 100% no-repeat;overflow:clip}
.region-join{position:absolute;left:0;right:0;bottom:0;height:6%;background:url('./meadow-region-v2.f72d5e024c65.webp') center top/100% 1666.6667% no-repeat;transform:scaleY(-1);mask-image:linear-gradient(#000,transparent);pointer-events:none}
.region-footer{position:absolute;left:0;right:0;bottom:2.5%;display:flex;flex-direction:column;align-items:center;gap:8px;z-index:3}
.region-footer:has(.region-unlock-notice){bottom:.5%;gap:6px}
.region-header{position:static;display:flex;align-items:center;justify-content:center;min-height:0;padding:0;gap:0;z-index:3}
.chapter-kicker{padding:5px 13px;border:1px solid #d5d0a8;border-radius:12px;background:#fff9e6f0;box-shadow:0 2px 4px #3d56292b;font-size:clamp(9px,2.2cqw,14px);font-weight:850;letter-spacing:3px;color:#46562a;text-shadow:0 1px 2px #e7f5bd90}
.garden-region.locked .region-header{opacity:.65}
.region-lanes{display:block;position:absolute;inset:0;margin:0;padding:0;gap:0}
.garden-lane{display:block;position:static;isolation:auto;margin:0;padding:0;border:0;border-radius:0;background:none}
.garden-lane:before,.vertical-path:before{display:none}
.vertical-path{display:block;position:static}
.garden-stop{position:absolute;display:block;transform:none;pointer-events:none}
.garden-node{--gauge-height:clamp(13px,2.6cqw,18px);--gauge-top:72.916667%;position:absolute;inset:0;left:0;width:100%;height:100%;max-width:none;min-height:0;padding:0;gap:0;border:0!important;border-radius:24px;box-shadow:none!important;background:none!important;display:block;overflow:visible!important;isolation:isolate;pointer-events:none;transition:none}
.garden-node.bloomed,.garden-node.eaten,.garden-node.available,.garden-node.unopened{isolation:auto}
.level-hit-area{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--stone-width);height:var(--stone-height);z-index:3;pointer-events:auto;border-radius:45%}
.garden-node:disabled .level-hit-area{pointer-events:none}
.garden-node.available .level-hit-area,.garden-node.unopened .level-hit-area{top:calc(50% - var(--stone-lift))}
.garden-node.eaten .level-hit-area{top:calc(50% - var(--eaten-lift))}
.garden-node.bloomed .level-hit-area{top:53%;width:91.2%;height:78%}
.garden-art{pointer-events:none}
.garden-node:disabled{opacity:1}
.garden-node:not(:disabled):hover,.garden-node:not(:disabled):active{transform:none;filter:none}
.garden-node:focus-visible{outline:none}
.garden-node:focus-visible .level-hit-area{outline:3px solid #fff6b4;outline-offset:1px}
.garden-art,.garden-node.bloomed .garden-art,.garden-node.eaten .garden-art{display:block;position:absolute;inset:0;width:100%;height:100%;line-height:0}
.scene-patch{display:block;position:absolute;left:0;top:8.333333%;width:100%;height:87.5%;mask-image:radial-gradient(ellipse closest-side,#000 76%,transparent 100%);pointer-events:none;z-index:1}
.garden-node.bloomed{--flower-lift:6px}
.scene-object{mask-image:none;z-index:2}
.scene-bloom{transform:translateY(calc(-1 * var(--flower-lift))) scale(1.224)}
.scene-patch>.art-sprite,.garden-node.bloomed .garden-art .art-sprite{display:block;position:static;width:100%;height:100%;max-width:none;max-height:none;filter:none}
.scene-stone{transform:scale(1.2)}
.level-marker{container:stone / size;position:absolute;left:50%;top:calc(50% - var(--stone-lift));transform:translate(-50%,-50%);width:var(--stone-width);height:var(--stone-height);display:grid;place-items:center;z-index:3;pointer-events:none}
.level-number{font-size:50cqh;line-height:1;font-weight:900;color:#fff5d6;-webkit-text-stroke:3cqh #506031;paint-order:stroke fill;font-variant-numeric:tabular-nums;pointer-events:none}
.lane-1 .level-number{-webkit-text-stroke-color:#80602a}.lane-2 .level-number{-webkit-text-stroke-color:#763d32}
.garden-node.available .scene-stone{filter:drop-shadow(0 0 3px #fff0a380)}
.garden-node.available:hover .scene-stone{filter:drop-shadow(0 0 5px #fff0a3cc) drop-shadow(0 0 2px #fff5b8)}
.level-padlock{display:block;width:40%;aspect-ratio:1;filter:drop-shadow(0 2px 1px #3d472e66)}
.garden-art .level-padlock>.art-sprite{display:block;width:100%;height:100%;max-width:none;max-height:none;filter:none}
.nectar-gauge{display:block;position:absolute;top:var(--gauge-top);left:50%;transform:translate(-50%,calc(-1 * var(--flower-lift)));width:94%;max-width:180px;height:var(--gauge-height);border:2px solid #eee1b9;border-radius:16px;background:#fff9e8;box-shadow:0 2px 0 #a9945d66,inset 0 0 0 1px #be9b5d42;overflow:hidden;isolation:isolate;z-index:4;pointer-events:auto}
.flower-fill{position:absolute;inset:1px auto 1px 1px;height:auto;width:var(--nectar-fill,0%);max-width:calc(100% - 2px);z-index:0;border:0;border-radius:12px;background:linear-gradient(#ffe88b,#ffd044 45%,#ec9a13);box-shadow:inset 0 1px 0 #fff7ad;transition:width .25s linear}
.flower-stock{position:relative;inset:auto;height:100%;z-index:1;display:flex;align-items:center;justify-content:center;gap:2px;font-size:clamp(8px,1.7cqw,11px);font-weight:800;color:#5b431f;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.flower-stock>.nectar-icon{display:block;width:clamp(6px,2cqw,15px);height:100%;flex:none}
.garden-node.bloomed .garden-label{position:absolute;top:calc(var(--gauge-top) + var(--gauge-height) + 3px);left:50%;right:auto;bottom:auto;transform:translate(-50%,calc(-1 * var(--flower-lift)));width:max-content;max-width:100%;margin:0;padding:1px 6px;border:1px solid #e9d7ad;border-radius:12px;background:#fff7e0;box-shadow:0 1px 1px #6f5a2f38;font-size:clamp(8px,1.5cqw,9px);line-height:1;font-weight:750;color:#755528;z-index:4;pointer-events:auto}
.garden-node.nectar-full .nectar-gauge{border-color:#ffdf59;animation:nectar-ready 2.2s ease-in-out infinite}
@keyframes nectar-ready{0%,100%{box-shadow:0 2px 0 #a9945d66,0 0 5px #ffd04b66}50%{box-shadow:0 2px 0 #a9945d66,0 0 12px 3px #ffe879aa}}
.scene-soil{transform:translateY(calc(-1 * var(--soil-lift))) scale(1.44);mask-image:radial-gradient(ellipse var(--soil-rx) var(--soil-ry) at var(--soil-x) var(--soil-y),#000 94%,transparent 100%)}
.garden-node.eaten .occupied-bugs{display:block;position:absolute;inset:auto;transform:translate(-50%,-50%);width:61%;height:43%;margin:0;z-index:2}
.occupied-bugs img{position:absolute;width:47%;height:auto;aspect-ratio:1;filter:drop-shadow(0 2px 1px #6551343a)}
.occupied-bugs img:nth-child(1){left:22%;top:56%;transform:translate(-50%,-50%) rotate(-25deg)}.occupied-bugs img:nth-child(2){left:52%;top:31%;transform:translate(-50%,-50%) rotate(10deg)}.occupied-bugs img:nth-child(3){left:76%;top:61%;transform:translate(-50%,-50%) rotate(35deg)}
.nest{position:absolute;transform:none;margin:0;padding:0;border:0;border-radius:35%;background:none;box-shadow:none;isolation:isolate;display:block;min-height:0;z-index:2;pointer-events:auto}
.nest:hover:not(:disabled){filter:none}
.nest-anchor{position:absolute;inset:8%}
.nest-reward{position:absolute;left:50%;bottom:65%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:4px;padding:4px 9px;border:1px solid #87bed0;border-radius:14px;background:linear-gradient(#fff,#def4fa);box-shadow:0 2px 3px #426c4933;color:#397a94;font-size:clamp(11px,2.5vw,16px);font-weight:850;line-height:1.1;white-space:nowrap;pointer-events:none;z-index:3}
.nest-reward::after{content:'';position:absolute;top:100%;left:50%;width:7px;height:7px;background:#def4fa;border-right:1px solid #87bed0;border-bottom:1px solid #87bed0;transform:translate(-50%,-3px) rotate(45deg)}
.nest-reward .reward-box-icon{width:clamp(24px,5vw,32px);height:clamp(22px,4.6vw,30px)}
.nest time{position:absolute;top:88%;bottom:auto;left:50%;order:initial;transform:translateX(-50%);font-size:clamp(8px,1.95vw,14px);line-height:1.1;font-weight:850;padding:3px 8px;border:1px solid #e1cda0;border-radius:18px;background:linear-gradient(#fffef4,#fff2d1);box-shadow:0 2px 0 #bda86b55;white-space:nowrap;z-index:2}
.nest-patch.scene-patch{left:-13.461538%;top:-9.615385%;width:126.923077%;height:119.23077%;mask-image:radial-gradient(ellipse closest-side,#000 78%,transparent 100%);z-index:0}
.nest.cleared .nest-patch>.art-sprite{width:100%;height:100%;max-width:none;max-height:none;filter:none;opacity:1}
.nest.cleared .nest-clear{position:absolute;transform:translate(-50%,-50%);width:clamp(32px,6vw,48px);height:clamp(32px,6vw,48px);display:grid;place-items:center;border:2px dashed #a3bc7d;border-radius:50%;background:#f4f5dce0;z-index:2}
.nest.cleared .nest-clear>.art-sprite{width:65%;height:65%}
.safe-zone{position:absolute;left:8%;right:3%;top:72%;bottom:15%;height:auto;border:2px solid #d9ffcc;border-radius:clamp(12px,3cqw,22px);box-shadow:0 0 0 1px #3c796ba6,0 0 12px #c9ffcf55,inset 0 0 14px #d3ffd526;background:none;pointer-events:none;z-index:5}
.safe-zone>span{position:absolute;top:100%;left:50%;transform:translate(-50%,clamp(4px,1.6cqw,8px));padding:3px 10px;border:1px solid #8cae73;border-radius:12px;background:#f4ffe4ed;box-shadow:0 1px 2px #3b623b33;color:#45663a;font-size:clamp(8px,1.7cqw,11px);line-height:1.2;font-weight:750;white-space:nowrap}
.region-unlock-notice{position:static;width:92%;margin:0;padding:6px 10px;border-color:#d5bb76;background:#fff5d9ee;box-shadow:0 3px 0 #8b783b24;border-radius:18px;z-index:3}
.region-unlock-notice p{font-size:clamp(9px,1.8vw,12px);line-height:1.3}
.region-unlock-icon{flex-basis:26px}.region-unlock-icon svg{width:26px;height:26px}
@media(max-width:380px){.nectar-gauge{border-width:1px}.garden-node.bloomed .garden-label{padding:1px 5px}.nest time{padding:2px 6px}}
@media(prefers-reduced-motion:reduce){.garden-node.nectar-full .nectar-gauge{animation:none;box-shadow:0 0 7px #ffd96188}.flower-fill{transition:none}}


@media(max-height:480px) and (min-width:700px){.map-shell{max-width:700px}}

@container meadow (max-width:480px){.scene-bloom{transform:translateY(calc(-1 * var(--flower-lift))) scale(1.008)}.garden-node{--gauge-top:67.5%}}
@container meadow (max-width:300px){.garden-node{--gauge-height:10px}.flower-stock,.safe-zone>span,.garden-node.bloomed .garden-label{font-size:6px}}

@media(min-width:381px) and (max-width:480px){.garden-upgrades button{font-size:10px;gap:4px}}
@media(max-width:380px){.map-settings #open-inventory,.map-settings #open-achievements,.map-settings #settings-map{width:35px;height:35px;min-width:35px}}
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
.support-contact{display:block;margin:14px auto;color:#537b35;font-weight:700}
#open-shop{border:1px solid #93bac9;border-radius:18px;padding:5px 8px;background:#edfaff;display:flex;align-items:center;gap:4px;white-space:nowrap}
#open-shop .diamond-icon{width:22px;height:22px;display:inline-flex}
#open-shop .shop-wallet-plus{margin:0;font:inherit;font-weight:700;line-height:1;flex:none}
#open-shop,#gift-claim{position:relative;overflow:visible}
:is(#open-shop,#gift-claim).has-gift::after{content:'';position:absolute;right:-4px;top:-5px;display:grid;place-items:center;width:19px;height:19px;box-sizing:border-box;border:2px solid #fffbed;border-radius:50%;background:#e34f47;color:#fff;font-size:12px;font-weight:800;line-height:1;box-shadow:0 2px 4px #8a48252b;pointer-events:none}
#shop-dialog{width:min(520px,calc(100vw - 24px));padding:24px 18px;color:#4b573a;background:#fffbee}
#shop-dialog h2{margin-top:0}#shop-dialog h3{margin:0;font-size:15px}#shop-dialog p{font-size:13px;line-height:1.4}
.shop-wallet{display:flex;align-items:center;justify-content:center;gap:6px}.shop-wallet .diamond-icon{width:28px;height:28px}
.shop-no-ads-promo{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;margin:0 0 14px;padding:14px;border:1px solid #bed6a0;border-radius:16px;background:linear-gradient(120deg,#edf6dc,#e0efd5);color:#4b663b;text-align:left;line-height:1.4}.shop-no-ads-promo>img{display:block;width:100%;height:auto;object-fit:contain}.shop-no-ads-copy{display:grid;gap:5px;min-width:0}.shop-no-ads-promo strong{font-size:15px}.shop-no-ads-promo span{font-size:12px;color:#6a8056}
@container shop (max-width:300px){.shop-no-ads-promo{grid-template-columns:56px minmax(0,1fr);gap:8px;padding:10px}.shop-no-ads-promo strong{font-size:13px}.shop-no-ads-promo span{font-size:11px}}
#shop-dialog{container:shop / inline-size}
#shop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop-product{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:12px;border:1px solid #dedfc5;border-radius:20px;background:linear-gradient(160deg,#fffef6,#f1f2dc);box-shadow:0 3px 0 #5362380a;text-align:center}
.shop-product.shop-gift{background:linear-gradient(160deg,#f7fce9,#eaf3d1);border-color:#c8dca0}
.shop-product-art{display:block;flex:none;align-self:center;width:100%;height:108px;object-fit:contain;filter:drop-shadow(0 5px 5px #626e361c)}
.shop-product-copy{margin:5px 0 10px}.shop-product p{margin:5px 0 0}.shop-product-copy>p{color:#7a8964}
.shop-product button{display:block;flex:none;width:100%;min-height:40px;margin-top:auto;padding:9px 6px;border:1px solid #b5cc7e;border-radius:12px;background:linear-gradient(#e6f2c8,#d4e8a7);box-shadow:0 2px 0 #b5cc7e;font-weight:700;font-size:13px;white-space:normal;overflow-wrap:anywhere}
.shop-product button:disabled{opacity:.58;cursor:default;box-shadow:none}
.shop-product-note{display:block;margin-top:9px;color:#7d8b63;font-size:10px;line-height:1.35;font-variant-numeric:tabular-nums}
.shop-pass{grid-column:1/-1;display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:12px;align-items:center;text-align:left;background:linear-gradient(135deg,#fff9e6,#f8e9bc);border-color:#e0cb92}
.shop-pass .shop-product-art{grid-row:1/3;height:134px}.shop-pass .shop-product-copy{margin:0 0 10px}.shop-pass button{grid-column:2;margin:0;justify-self:stretch}.shop-pass p{font-size:11px!important;line-height:1.45!important}
.shop-pass-entitlement{grid-column:2;padding:8px 0;color:#798d3e;font-size:14px;line-height:1.4}.shop-pass-entitlement>strong{display:block}.shop-pass-entitlement>small{display:block;margin-top:4px;font-size:11px;font-variant-numeric:tabular-nums}
.honey-pass-entitlement{flex-shrink:0;text-align:right}.honey-pass.active .honey-pass-entitlement>strong{color:#54743a}.honey-pass-entitlement>small{font-variant-numeric:tabular-nums;white-space:nowrap}
@container shop (max-width:350px){.shop-product{padding:9px;border-radius:16px}.shop-product-art{height:88px}#shop-dialog .shop-product h3{font-size:12px}#shop-dialog .shop-product p{font-size:12px}.shop-product button{font-size:12px}.shop-pass{grid-template-columns:82px minmax(0,1fr);gap:8px}.shop-pass .shop-product-art{height:122px}.shop-product-note{font-size:9px}}
@container shop (max-width:250px){#shop-products{grid-template-columns:1fr}.shop-pass{grid-column:auto;display:flex;text-align:center}.shop-pass .shop-product-art{height:100px}}
#orientation-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#f1f5d9;text-align:center;align-content:center;z-index:99999}#orientation-dialog>div{font-size:70px}

:root{--game-width:100vw;--game-height:100dvh;--game-left:0px;--game-top:0px;--game-right:0px;--game-bottom:0px}
/* Desktop: fit the entire 2:3 frame, touching either the horizontal or vertical edges. */
@media(hover:hover) and (pointer:fine){
 :root{--game-width:min(100vw,calc(100dvh * 2 / 3));--game-height:min(100dvh,calc(100vw * 3 / 2));--game-left:calc((100vw - var(--game-width)) / 2);--game-top:calc((100dvh - var(--game-height)) / 2);--game-right:var(--game-left);--game-bottom:var(--game-top)}
 body{background:#263c2b}
 .campaign-map,.workspace{box-shadow:0 0 32px #10231838}
}
.campaign-map,.workspace,#loading-status,#story-layer{inset:var(--game-top) var(--game-right) var(--game-bottom) var(--game-left);width:var(--game-width);height:var(--game-height);max-width:none;margin:0}
@media(hover:hover) and (pointer:fine){
 .campaign-map{container:game-map / inline-size}
 .campaign-map .map-shell{max-width:none}
 @container game-map (max-width:699px){
  .garden-dock{grid-template-columns:57px minmax(0,1fr) calc((100% - 10px)/3);margin:0 4px;padding:9px 8px;gap:6px}
  .garden-hive>.nectar-icon{width:70px;height:70px;margin-left:-8px}
  .honey-values #honey-total{font-size:19px}
  .garden-upgrades{grid-column:1/-1;grid-row:2;gap:5px;min-width:0}
  .garden-upgrades button{flex-direction:row;gap:3px;min-width:0;min-height:48px;font-size:9px}
  .garden-upgrades .upgrade-icon{width:36px;height:36px;flex-basis:36px}
  .garden-upgrades button small,.garden-upgrades button .upgrade-cost{font-size:9px}
  .garden-dock .honey-open{grid-column:3;grid-row:1;min-width:0;min-height:86px;font-size:10px}
  .garden-dock .honey-open-icon{width:48px;height:48px}
  .garden-dock .honey-open small{font-size:7px}
  .garden-dock #bee-summary,.garden-dock #hive-status{font-size:8px}
 }
 @container game-map (max-width:480px){
 .journey-summary{padding:10px 8px;gap:7px}
 .journey-summary #map-completion{font-size:18px}
 .journey-summary>div:first-child>span{font-size:9px}
 .journey-summary .map-settings{gap:4px}
 .journey-summary .map-settings :is(#open-inventory,#open-achievements,#settings-map){width:30px;height:30px;min-width:30px}
 .journey-summary #open-shop{padding:4px;font-size:13px;gap:2px}
 .journey-summary #open-shop .diamond-icon{width:20px;height:20px}
 }
 @container game-map (max-width:340px){
  .garden-dock{grid-template-columns:42px minmax(0,1fr) 76px}
  .garden-hive>.nectar-icon{width:54px;height:54px}
  .garden-upgrades button{flex-direction:column}
  .garden-upgrades .upgrade-icon{width:28px;height:28px;flex-basis:28px}
  .honey-values #honey-total{font-size:16px}
  .honey-values #honey-rate{font-size:9px}
 }
}
/* Keep screen-space particle coordinates intact while clipping them to the frame. */
.flight-layer,.exit-layer,.bee-swarm,#tutorial-guide{clip-path:inset(var(--game-top) var(--game-right) var(--game-bottom) var(--game-left))}
dialog{width:calc(var(--game-width) - 40px);max-height:calc(var(--game-height) - 24px)}
dialog::backdrop{clip-path:inset(var(--game-top) var(--game-right) var(--game-bottom) var(--game-left))}
#shop-dialog{width:min(520px,calc(var(--game-width) - 24px))}
#honey-dialog,#achievements-dialog{width:calc(var(--game-width) - 24px)}
#orientation-dialog{width:100vw;height:100dvh}
