:root[data-theme=light] .g-putt-streak,.g-putt-streak{--g-putt-streak-floor: #286d3e;--g-putt-streak-sunlit: #506e26;--g-putt-streak-joint: #82ac56;--g-putt-streak-shade: #124e32;--g-putt-streak-wall: #f0d5a0;--g-putt-streak-edge: #123e29;--g-putt-streak-water: #126c9b;--g-putt-streak-water-light: #65c4db;--g-putt-streak-ball: #fffdf1;--g-putt-streak-ball-rim: #153d2a;--g-putt-streak-cup: #061e18;--g-putt-streak-cup-rim: #fff2c4;--g-putt-streak-aim: #fff4cf;--g-putt-streak-hint: #edf6cf;--g-putt-streak-flag: #ffdc91;--g-putt-streak-text: #163d2a;--g-putt-streak-muted: #47603d;--g-putt-streak-surface: #fff5dc;--g-putt-streak-line: #c6a76b;--g-putt-streak-accent: #24653a;--g-putt-streak-hot: #835016;--g-putt-streak-sky: #f2cd91;width:100%;max-width:var(--mg-board-max);margin:0 auto}:root[data-theme=dark] .g-putt-streak{--g-putt-streak-floor: #205e39;--g-putt-streak-sunlit: #446322;--g-putt-streak-joint: #6ba84a;--g-putt-streak-shade: #0b3626;--g-putt-streak-wall: #e7c88c;--g-putt-streak-water: #09547e;--g-putt-streak-water-light: #50aacb;--g-putt-streak-text: #fff1cf;--g-putt-streak-muted: #d4dba9;--g-putt-streak-surface: #183d2c;--g-putt-streak-line: #8a9b61;--g-putt-streak-accent: #ffe0a0;--g-putt-streak-hot: #ffdc91;--g-putt-streak-sky: #5b492b}.g-putt-streak-app{position:relative;display:grid;grid-template-columns:minmax(0,1fr);padding-bottom:16px;color:var(--g-putt-streak-text);font-family:var(--mg-font)}.g-putt-streak-status{height:44px;padding-left:10px;margin-bottom:6px;display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums;contain:layout;background:linear-gradient(110deg,var(--g-putt-streak-sky),var(--g-putt-streak-surface));border-radius:var(--mg-radius)}.g-putt-streak-hole{display:inline-flex;align-items:center;gap:5px;min-width:3.2em;font-size:1.1rem;font-weight:700;white-space:nowrap}.g-putt-streak-hole svg{flex:none;color:var(--g-putt-streak-muted)}.g-putt-streak-balls{flex:1;min-width:0;display:flex;justify-content:center;align-items:center;gap:5px}.g-putt-streak-dot{width:11px;height:11px;flex:none;box-sizing:border-box;border-radius:50%;background:var(--g-putt-streak-text);border:1.5px solid var(--g-putt-streak-text)}.g-putt-streak-dot.is-empty{background:transparent;border-color:var(--g-putt-streak-muted);opacity:.7}.g-putt-streak-balls.is-flash .g-putt-streak-dot:not(.is-empty){background:var(--g-putt-streak-flag);border-color:var(--g-putt-streak-flag)}.g-putt-streak-best{display:inline-flex;align-items:center;gap:4px;color:var(--g-putt-streak-muted);font-size:.9rem;white-space:nowrap}.g-putt-streak-best svg{flex:none;color:var(--g-putt-streak-flag)}.g-putt-streak-best[hidden]{display:none}.g-putt-streak-stage{position:relative;width:min(calc(100% - 64px),440px,calc((100svh - 216px)*.8));aspect-ratio:360 / 450;justify-self:center;overflow:clip;border-radius:var(--mg-radius);background:var(--g-putt-streak-floor);touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;outline:none}.g-putt-streak-stage.is-card{touch-action:pan-y}.g-putt-streak-ghosthand{position:absolute;left:0;top:0;z-index:2;pointer-events:none;opacity:.9;will-change:transform}.g-putt-streak-ghosthand[hidden]{display:none}.g-putt-streak-ghosthand svg{display:block;width:100%;height:100%;overflow:visible}.g-putt-streak-ghosthand path{fill:var(--g-putt-streak-hint);stroke:var(--g-putt-streak-floor);stroke-width:2.4;stroke-linejoin:round;paint-order:stroke}.g-putt-streak-stage.is-kbd:focus{box-shadow:0 0 0 3px var(--g-putt-streak-accent)}.g-putt-streak-stage:focus{outline:none}.g-putt-streak-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}@media(max-width:340px){.g-putt-streak-app{padding-bottom:8px}.g-putt-streak-status{margin-bottom:4px;gap:6px}.g-putt-streak-dot{width:10px;height:10px}.g-putt-streak-balls{gap:4px}.g-putt-streak-stage{width:min(100%,calc((100svh - 206px)*.8))}}@media(max-height:559px){.g-putt-streak-stage{width:min(100%,440px,calc((100svh - 74px)*.8))}}.g-putt-streak-card{position:absolute;left:50%;top:30%;transform:translate(-50%,-50%);width:max-content;min-width:56%;max-width:86%;display:grid;justify-items:center;gap:2px;padding:10px 16px 12px;border:1px solid var(--g-putt-streak-line);border-radius:var(--mg-radius);background:var(--g-putt-streak-surface);box-shadow:0 2px 10px #0000001f;color:var(--g-putt-streak-text);text-align:center;pointer-events:none;font-variant-numeric:tabular-nums}.g-putt-streak-card[hidden]{display:none}.g-putt-streak-card-big{font-size:1.9rem;font-weight:800;line-height:1.15}.g-putt-streak-card-line{font-size:.9rem;color:var(--g-putt-streak-muted);line-height:1.35}.g-putt-streak-card-line.is-hot{color:var(--g-putt-streak-hot);font-weight:700}.g-putt-streak-card-big[hidden],.g-putt-streak-card-line[hidden],.g-putt-streak-card-hand[hidden]{display:none}.g-putt-streak-card-hand{margin-top:6px;color:var(--g-putt-streak-accent)}.g-putt-streak-card.is-compact{padding:4px 10px 5px;gap:1px}.g-putt-streak-card.is-compact .g-putt-streak-card-big{font-size:1.15rem}.g-putt-streak-card.is-compact .g-putt-streak-card-line{font-size:.8rem}.g-putt-streak-card.is-compact .g-putt-streak-card-hand{margin-top:2px}.g-putt-streak-card.is-compact .g-putt-streak-card-hand svg{width:24px;height:24px}@media(max-width:340px){.g-putt-streak-card{padding:6px 12px 8px}.g-putt-streak-card-big{font-size:1.5rem}}.g-putt-streak-fly{position:absolute;left:0;top:0;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;border-radius:50%;background:var(--g-putt-streak-flag);pointer-events:none}.g-putt-streak-pulse{animation:g-putt-streak-pulse 1.6s ease-in-out infinite}@keyframes g-putt-streak-pulse{0%,to{transform:scale(1);opacity:.75}50%{transform:scale(1.12);opacity:1}}@media(prefers-reduced-motion:reduce){.g-putt-streak-pulse{animation:none}}.g-putt-streak-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
