@media (orientation:portrait) and (width<=900px){body.play-theme-tag-along-pup .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-tag-along-pup .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(460px,100svh - 112px)}}@media (orientation:landscape) and (height<=520px){body.play-theme-tag-along-pup .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-tag-along-pup .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(230px,100svh - 108px)}}body.play-theme-tag-along-pup .play-shell[data-game-shell]:fullscreen{--game-shell-max-width:100vw;--fullscreen-game-width:100vw}body.play-theme-tag-along-pup .play-shell[data-game-shell]:fullscreen .game-stage{aspect-ratio:auto;height:calc(100dvh - 56px)}body.play-theme-tag-along-pup{--player-surface:#f8f0dc;--player-ink:#3d4a32;--player-line:#3d4a3224}.tg-root{--tg-ink:#3d4a32;--tg-cream:#fffaf0;--tg-paper:#f8f0dc;--tg-leaf:#5c8f45;--tg-leaf-dark:#456f33;--tg-plum:#7d5fb8;--tg-line:#3d4a3224;--tg-hud-h:58px;--tg-tip-h:62px;grid-template-rows:var(--tg-hud-h) var(--tg-tip-h) minmax(0, 1fr) auto;color:var(--tg-ink);-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#d5e8ad;outline:none;grid-template-columns:minmax(0,1fr);grid-template-areas:"hud""tip""board""side";font-family:ui-rounded,Nunito,Trebuchet MS,system-ui,sans-serif;display:grid;position:absolute;inset:0;overflow:hidden}.tg-root [hidden]{display:none!important}.tg-root button{-webkit-tap-highlight-color:transparent}.tg-root.is-idle .tg-count,.tg-root.is-idle .tg-hud .tg-bells{visibility:hidden}.tg-root.is-wide{grid-template:"board hud""board side""board tip"minmax(0,1fr)/minmax(0,1fr) minmax(180px,236px)}.tg-hud{background:var(--tg-paper);border-bottom:1px solid var(--tg-line);grid-area:hud;align-items:center;gap:10px;min-height:0;padding:6px 12px;display:flex;overflow:hidden}.tg-root.is-wide .tg-hud{border-bottom:0;border-left:1px solid var(--tg-line);flex-wrap:wrap;align-content:flex-start;padding-top:10px;overflow:visible}.tg-where{background:var(--tg-cream);min-width:0;min-height:44px;color:inherit;line-height:1.15;font:inherit;cursor:pointer;text-align:left;border:2px solid #3d4a3222;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;margin-left:-6px;padding:2px 10px 2px 8px;display:flex}.tg-where:focus-visible{outline-offset:2px;outline:3px solid #f2c14e}.tg-where strong{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:15px;overflow:hidden}.tg-where>span{opacity:.8;white-space:nowrap;align-items:center;gap:3px;font-size:11px;display:inline-flex}.tg-where svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round;width:13px;height:13px}.tg-root.is-wide .tg-where{width:calc(100% - 54px);margin-left:0}.tg-help{border-radius:50%;flex:none;width:44px;height:44px;min-height:44px;padding:0}.tg-help svg{width:22px;height:22px}.tg-count{font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto;font-size:15px}.tg-count [data-tg=beats]{font-size:18px;font-weight:800}.tg-par{opacity:.75;margin-left:4px}.tg-root.is-wide .tg-count{margin-left:0}.tg-root:not(.is-wide) .tg-hud{gap:8px;padding:6px 10px}.tg-root:not(.is-wide) .tg-where{margin-left:-4px;padding:2px 7px}.tg-root:not(.is-wide) .tg-count{flex-direction:column;align-items:flex-end;font-size:14px;line-height:1.1;display:flex}.tg-root:not(.is-wide) .tg-par{margin-left:0;font-size:13px}.tg-root:not(.is-wide) .tg-hud .tg-bell{width:18px;height:18px}.tg-bells{flex:none;gap:2px;display:flex}.tg-bell{fill:#e6dcc2;stroke:#b9a77c;stroke-width:1.2px;width:20px;height:20px}.tg-bell.is-on{fill:#f2c14e;stroke:#b5822f}.tg-bells.tg-big{gap:6px}.tg-big .tg-bell{width:30px;height:30px}.tg-board{grid-area:board;min-width:0;min-height:0;position:relative}.tg-board canvas{touch-action:none;display:block;position:absolute;inset:0}.tg-side{background:var(--tg-paper);border-top:1px solid var(--tg-line);grid-area:side;padding:6px 10px 8px}.tg-root.is-wide .tg-side{border-top:0;border-left:1px solid var(--tg-line);padding-top:4px}.tg-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.tg-controls .tg-btn{white-space:nowrap;flex-direction:column;gap:1px;padding:4px;font-size:12px;line-height:1.1}.tg-waits{order:-1;grid-column:1/-1;gap:6px;display:flex}.tg-controls .tg-waits .tg-btn{flex-direction:row;flex:1 1 0;gap:5px;min-width:44px;padding:4px 6px;font-size:17px;font-weight:800}.tg-controls .tg-waits .tg-wait{flex:2 1 0;font-size:15px}.tg-wait b{font-size:17px;font-weight:800}.tg-root .tg-btn.tg-waitk{color:#4f3a86;background:#efe8fa;border-color:#b9a6dd}.tg-root.is-wide .tg-controls{gap:8px}.tg-root.is-wide .tg-waits{flex-wrap:wrap;gap:8px}.tg-root.is-wide .tg-controls .tg-waits .tg-wait{flex:1 0 100%}.tg-root.is-wide .tg-controls .tg-btn{font-size:13px}.tg-root.is-wide .tg-controls .tg-waits .tg-btn{font-size:17px}.tg-root.is-wide .tg-controls .tg-waits .tg-wait{font-size:15px}.tg-hint b{color:#8a6234;font-weight:800}.tg-root.is-stuck [data-tg=undo]:not(:disabled){border-color:#d9a441;box-shadow:0 0 0 3px #f2c14e66,0 2px #3d4a3222}.tg-btn{background:var(--tg-cream);min-width:44px;min-height:46px;color:var(--tg-ink);font:inherit;cursor:pointer;border:2px solid #3d4a3233;border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:15px;font-weight:700;display:inline-flex;box-shadow:0 2px #3d4a3222}.tg-btn:active{box-shadow:none;transform:translateY(1px)}.tg-btn:disabled{opacity:.45;cursor:default}.tg-btn:focus-visible{outline-offset:2px;outline:3px solid #f2c14e}.tg-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.tg-wait,.tg-primary{background:var(--tg-plum);color:#fffaf0;border-color:#5e4592}.tg-tip{text-align:center;background:var(--tg-paper);border-bottom:1px solid var(--tg-line);grid-area:tip;justify-content:center;align-items:center;min-height:0;margin:0;padding:4px 12px;font-size:13px;line-height:1.18;display:flex;overflow:hidden}.tg-tip span{overflow-wrap:break-word;min-width:0;max-width:100%}.tg-root.is-wide .tg-tip{text-align:left;border-bottom:0;border-left:1px solid var(--tg-line);justify-content:flex-start;align-items:flex-start;padding:8px 12px;font-size:14px}.tg-result{background:var(--tg-cream);z-index:1;border-bottom:3px solid #e7d6ac;grid-area:1/1/3;min-height:0;padding:6px 12px;overflow:hidden}.tg-root.is-won .tg-hud,.tg-root.is-won .tg-tip{display:none}.tg-root.is-wide .tg-result{border-bottom:0;border-left:3px solid #e7d6ac;grid-area:1/2/-1;padding:12px}.tg-root.is-wide.is-won .tg-side{display:none}.tg-results{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:4px 8px;height:100%;display:grid}.tg-results-text{min-width:0}.tg-results h2{color:var(--tg-leaf-dark);overflow-wrap:break-word;margin:0;font-size:16px;line-height:1.12}.tg-results p{margin:1px 0 0;font-size:13px;line-height:1.15}.tg-results .tg-rule{opacity:.8;font-size:11.5px}.tg-root:not(.is-wide) .tg-results .tg-rule{display:none}.tg-results .tg-bells{align-self:center}.tg-results .tg-actions{flex-wrap:nowrap;grid-column:1/-1;gap:6px}.tg-results .tg-actions .tg-btn{text-align:center;flex:auto;min-width:0;padding:4px 10px;font-size:14px;line-height:1.12}.tg-root.is-wide .tg-results{grid-template-rows:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:6px}.tg-root.is-wide .tg-results .tg-bells{order:-1;grid-column:1/-1}.tg-root.is-wide .tg-results-text{grid-column:1/-1;margin-bottom:4px}.tg-root.is-wide .tg-results h2{font-size:19px}.tg-root.is-wide .tg-results .tg-actions{display:contents}.tg-root.is-wide .tg-results .tg-actions .tg-primary{grid-column:1/-1}.tg-card{z-index:2;background:#3d4a3240;justify-content:center;align-items:flex-start;padding:12px;display:flex;position:absolute;inset:0;overflow:auto}.tg-card-inner{background:var(--tg-cream);border:3px solid #e7d6ac;border-radius:20px;width:min(440px,100%);margin:auto 0;padding:16px 18px;box-shadow:0 12px 30px #2a351f40}.tg-card h2{color:var(--tg-leaf-dark);margin:0 0 4px;font-size:24px}.tg-portrait{float:right;width:80px;height:48px;margin:-4px -4px 0 6px}.tg-sub{opacity:.85;margin:0 0 8px;font-size:14px}.tg-how{clear:right;margin:0 0 10px;padding-left:20px;font-size:14px;line-height:1.35}.tg-how li+li{margin-top:4px}.tg-legend{gap:4px;margin:0 0 12px;padding:0;font-size:12.5px;line-height:1.25;list-style:none;display:grid}.tg-legend li{align-items:center;gap:8px;display:flex}.tg-legend svg{flex:none;width:40px;height:22px}.tg-actions{flex-wrap:wrap;gap:8px;display:flex}.tg-actions .tg-btn{flex:140px}.tg-small{opacity:.7;margin:10px 0 0;font-size:11px}.tg-note{background:#fbe7c4;border:1px solid #e0b872;border-radius:12px;margin:0 0 10px;padding:8px 10px;font-size:13px;line-height:1.35}.tg-intro .tg-lag{color:#5e4592;clear:right;margin:4px 0 6px;font-size:17px;line-height:1.3}.tg-intro .tg-sub{margin-bottom:12px}.tg-rules .tg-sub{font-weight:700}.tg-map .tg-chips{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:6px;margin:8px 0;padding:2px;display:grid}.tg-chip{min-height:50px;color:inherit;font:inherit;cursor:pointer;background:#f3ead0;border:2px solid #3d4a3226;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:relative}.tg-chip strong{font-size:16px}.tg-chip.is-next{border-color:var(--tg-plum);background:#ece4f6}.tg-chip.is-here{box-shadow:inset 0 0 0 2px #f2c14e}.tg-chip em{background:var(--tg-plum);color:#fffbea;border-radius:8px;padding:1px 5px;font-size:10px;font-style:normal;font-weight:800;position:absolute;top:-7px;right:-4px}.tg-chip.is-locked{cursor:help;color:#3d4a3299;background:#ece6d4;border-style:dashed}.tg-lock{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round;width:14px;height:14px}.tg-chip-bells{gap:1px;display:inline-flex}.tg-chip-bells .tg-bell{width:13px;height:13px}.tg-today{justify-content:space-between;width:100%;margin-bottom:8px}.tg-today small{opacity:.8;margin-left:4px;font-size:12px;font-weight:600}.tg-map-note{min-height:2.6em;margin:0 0 8px;font-size:13px;line-height:1.3}.tg-sr{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (height<=520px){.tg-card{padding:6px 8px}.tg-card-inner{width:min(720px,100%);padding:8px 14px}.tg-title{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;column-gap:14px;display:grid}.tg-title h2,.tg-title .tg-sub,.tg-title .tg-portrait{grid-column:1}.tg-title .tg-portrait{display:none}.tg-title .tg-how{grid-area:3/1/span 4;margin-bottom:0;font-size:12.5px;line-height:1.25}.tg-title .tg-how li+li{margin-top:2px}.tg-title .tg-legend{grid-area:1/2/span 3;margin:4px 0 6px;font-size:11.5px}.tg-title .tg-note{grid-area:4/2;margin-bottom:6px;padding:5px 8px;font-size:12px}.tg-title .tg-actions{grid-area:5/2}.tg-title .tg-small{grid-area:6/2;margin-top:4px}.tg-card h2{font-size:19px}.tg-sub{margin-bottom:4px;font-size:13px}.tg-map .tg-chips{grid-template-columns:repeat(8,minmax(0,1fr))}}@media (width<=420px) and (height<=700px){.tg-card{padding:8px}.tg-card-inner{padding:12px 14px}.tg-card h2{font-size:21px}.tg-how{margin-bottom:8px;font-size:13px;line-height:1.3}.tg-legend{margin-bottom:8px;font-size:12px}.tg-small{margin-top:6px}}@media (width<=480px){.tg-root:not(.is-wide) .tg-hud{grid-template-rows:1fr 1fr;grid-template-columns:minmax(0,max-content) auto minmax(0,1fr);align-items:center;gap:1px 8px;display:grid}.tg-root:not(.is-wide) .tg-where{grid-row:1/3}.tg-root:not(.is-wide) .tg-help{grid-area:1/2/3}.tg-root:not(.is-wide) .tg-count{flex-direction:row;grid-area:1/3;place-self:end;align-items:baseline;gap:4px;margin-left:0}.tg-root:not(.is-wide) .tg-hud .tg-bells{grid-area:2/3;place-self:start end}}@media (width<=340px){.tg-root:not(.is-wide) .tg-hud{column-gap:6px;padding:6px 8px}.tg-where strong{font-size:14px}.tg-root:not(.is-wide) .tg-waits{gap:4px}.tg-root:not(.is-wide) .tg-controls .tg-waits .tg-btn{gap:3px;padding:4px}}.tg-root.is-wide.is-short{grid-template-columns:minmax(0,1fr) minmax(200px,280px)}.tg-root.is-wide.is-short .tg-controls{gap:6px}.tg-root.is-wide.is-short .tg-waits{flex-wrap:nowrap;gap:6px}.tg-root.is-wide.is-short .tg-controls .tg-waits .tg-wait{flex:1 1 0}.tg-root.is-wide.is-short .tg-wait-word{display:none}
