#ai-game-tide-tumble{--ag-max: 460px;--ag-accent: #086c7d;--ag-accent-hover: #075767;--ag-head-bg: #e3f4f3;--ag-score-bg: #fff9e9;--ag-score-border: #b8d8d8;--ag-score-text: #475569;--ag-score-value: #173448;--ag-help-backdrop: rgb(14 46 62 / 78%);--ag-help-bg: #112a38;--ag-help-section-bg: #17394b;--ag-help-border: #2b9bb0;--ag-help-item-border: #2c6278;--ag-help-text: #f1f7f8;--ag-help-title: #fff9e9;--ag-help-accent: #edc05a;--ag-help-button-bg: #086c7d;--ag-help-button-hover: #075767;--ag-help-focus: #f3944d}#ai-game-tide-tumble .ag-info{color:#203741;font-weight:700}#ai-game-tide-tumble .ag-head{gap:5px;padding-inline:6px}#ai-game-tide-tumble .ag-head .ag-score{padding-inline:6px}#ai-game-tide-tumble .ag-head .ag-score>span{overflow:hidden;text-overflow:ellipsis}#ai-game-tide-tumble .ag-head :is(.ag-score strong,.tide-size){flex-shrink:0}#ai-game-tide-tumble .ag-head .tide-size{color:var(--ag-score-value);font-size:12px}#ai-game-tide-tumble .ag-head .ag-help-btn{padding-inline:7px}#ai-game-tide-tumble .ag-stage{--tide-hint-height: 36px;width:min(100%,max(220px,calc((100vh - var(--ag-page-space, 16px) - var(--ag-head-height, 44px) - var(--tide-hint-height)) * .768)));width:min(100%,max(220px,calc((100svh - var(--ag-page-space, 16px) - var(--ag-head-height, 44px) - var(--tide-hint-height)) * .768)));margin-inline:auto;background:#eef9f8;color:#113b4a}#ai-game-tide-tumble:fullscreen .ag-stage{width:min(100%,calc((100svh - var(--ag-head-height, 44px) - 130px) * .768),500px)}#ai-game-tide-tumble .ag-actions .ag-btn{min-height:44px}#ai-game-tide-tumble .tide-shell{--tide-land: #ded4b4;--tide-road: #f2e7cb;--tide-water: #185e70;--tide-blue: #2c8097;--tide-ink: #173448;--tide-wood: #c38c59;--tide-plank: #996338;--tide-mint: #2b7663;--tide-coral: #e2724b;--tide-damage: #c63e47;--tide-yellow: #edc05a;--tide-light: #fff7de;--tide-control-bg: #e4eff0;--tide-control-ink: #214a55;display:grid;gap:.45rem;max-width:460px;margin:auto}#ai-game-tide-tumble .tide-shell .tide-stage{position:relative;border-radius:.75rem;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#ai-game-tide-tumble .tide-shell .tide-stage:focus{outline:none}#ai-game-tide-tumble .tide-shell .tide-stage.is-keyboard:focus-visible{outline:2px solid var(--ag-accent);outline-offset:2px}#ai-game-tide-tumble .tide-shell canvas{display:block;width:100%;height:auto;border-radius:.75rem}#ai-game-tide-tumble .tide-shell .tide-stick-ring{position:absolute;left:0;top:0;width:84px;height:84px;margin:-42px 0 0 -42px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--tide-control-bg) 42%,transparent);border:2px solid color-mix(in srgb,var(--tide-control-ink) 72%,transparent);box-shadow:0 0 0 1.5px #ffffff73,0 2px 8px #0e2e3e38;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .12s ease,visibility .12s ease}#ai-game-tide-tumble .tide-shell .tide-stick-ring.is-active{opacity:1;visibility:visible}#ai-game-tide-tumble .tide-shell .tide-stick-knob{width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,var(--tide-control-bg) 82%,transparent);border:2px solid var(--tide-control-ink);box-shadow:0 2px 6px #0e2e3e47;pointer-events:none}#ai-game-tide-tumble .tide-shell .tide-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:1rem;background:linear-gradient(0deg,#0e2e3e85,#0e2e3e24);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:.75rem}#ai-game-tide-tumble .tide-shell .tide-overlay[data-result=clear]{background:#0e2e3e33}#ai-game-tide-tumble .tide-shell .tide-overlay[hidden]{display:none}#ai-game-tide-tumble .tide-shell .tide-prompt{display:grid;gap:.6rem;width:fit-content;max-width:100%;justify-items:center;text-align:center;padding:18px;border:2px solid #efce9a;border-radius:18px;background:#fff9e9;color:#173448;box-shadow:0 6px 20px #0927384d}#ai-game-tide-tumble .tide-shell .tide-prompt :is(h3,p){margin:0}#ai-game-tide-tumble .tide-shell .tide-start{min-height:44px;border-color:#9e3f10;background:#f3944d;color:#3c210f}#ai-game-tide-tumble .tide-shell .tide-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}#ai-game-tide-tumble .tide-shell .tide-hint{margin:0;text-align:center;font-size:.82rem;line-height:1.4;color:#475569}@media(prefers-reduced-motion:reduce){#ai-game-tide-tumble .tide-shell .tide-stick-ring{transition:none}}@media(prefers-color-scheme:dark){#ai-game-tide-tumble .tide-shell{--tide-land: #aaa284;--tide-road: #c3b99a;--tide-water: #144d5f;--tide-ink: #173448;--tide-wood: #bc885e;--tide-plank: #96613c;--tide-mint: #216753;--tide-coral: #ed8a63;--tide-yellow: #eecd76;--tide-light: #fff0cb}}#ai-game-tide-tumble .tide-shell :is(.tide-next,.tide-select,.tide-option){min-height:44px}#ai-game-tide-tumble .tide-shell .tide-options:not([hidden]){display:grid;width:100%;gap:.3rem}#ai-game-tide-tumble .tide-shell .tide-option:disabled{opacity:.55;cursor:default}#ai-game-tide-tumble .tide-overlay.is-selecting :is(.tide-result,.tide-instruction,.tide-next,.tide-start){display:none}
