*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}html,body{overscroll-behavior:none;color:#fff;background:#7fd3ff;height:100%;margin:0;font-family:ui-rounded,SF Pro Rounded,system-ui,sans-serif;overflow:hidden}#view{touch-action:none;width:100%;height:100%;display:block;position:fixed;inset:0}#hole-title,#stroke-box{color:#ffe14d;text-shadow:-2px -2px #3a1f05,2px -2px #3a1f05,-2px 2px #3a1f05,2px 2px #3a1f05,0 3px #3a1f05;font-weight:900;line-height:1.1}#hole-info{font-size:22px}#hud>*{white-space:nowrap}@media (width<=500px){#hole-info,#stroke-box{font-size:17px}#hole-par{font-size:14px}}#hole-par{color:#fff;font-size:17px}#stroke-box{text-align:right;color:#6ff0ff;font-size:22px}#minimap{right:calc(env(safe-area-inset-right) + 12px);bottom:calc(env(safe-area-inset-bottom) + 14px);pointer-events:none;background:#3c230a73;border:3px solid #fff;border-radius:14px;width:110px;height:110px;position:fixed}@media (width<=500px){#minimap{width:90px;height:90px}}#hud{top:calc(env(safe-area-inset-top) + 10px);left:calc(env(safe-area-inset-left) + 12px);right:calc(env(safe-area-inset-right) + 12px);pointer-events:none;justify-content:space-between;align-items:flex-start;display:flex;position:fixed}.pill.small{opacity:.8;align-self:center;padding:4px 10px;font-size:12px}.pill{background:#2b2d6e;border:3px solid #fff;border-radius:999px;padding:6px 14px;font-size:17px;font-weight:800;box-shadow:0 4px #00000040}#putt-ui{left:50%;bottom:calc(env(safe-area-inset-bottom) + 14px);pointer-events:none;flex-direction:column;align-items:center;gap:10px;display:flex;position:fixed;transform:translate(-50%)}#btn-putt{text-shadow:0 2px #3a1f058c;touch-action:none;pointer-events:auto;border-width:4px;border-radius:50%;width:84px;height:84px;font-size:21px;font-weight:900;transition:opacity .15s;box-shadow:0 5px #0000004d}#putt-ui.off #btn-putt{opacity:.4}#putt-ui.running #btn-putt{background:#35c957}#meter{opacity:0;background:linear-gradient(90deg,#4be36b,#ffd23f 55%,#ff4d4d);border:3px solid #fff;border-radius:14px;width:min(190px,100vw - 260px);height:24px;transition:opacity .12s;position:relative;overflow:hidden;box-shadow:0 4px #00000040}#putt-ui.running #meter{opacity:1}@media (height<=500px){#meter{width:190px;position:absolute;bottom:30px;left:calc(100% + 12px)}}#meter-cover{transform-origin:100%;background:#2b2d6e;position:absolute;inset:0}#meter-mark{border-left:4px solid #fff;margin-left:-2px;position:absolute;inset:0}#buttons{left:calc(env(safe-area-inset-left) + 12px);bottom:calc(env(safe-area-inset-bottom) + 14px);gap:10px;display:flex;position:fixed}@media (width<=500px){#buttons{flex-direction:column-reverse}}button{font:inherit;color:#fff;touch-action:manipulation;background:#ff8a1f;border:3px solid #fff;border-radius:16px;font-weight:800;box-shadow:0 4px #00000040}#buttons button{width:54px;height:54px;font-size:24px}#buttons button.on{background:#2b2d6e}#btn-free{padding:0}#btn-free svg{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:28px;height:28px;margin:auto;display:block}body.intro #btn-free{opacity:.5;pointer-events:none}#free-hint{left:50%;top:calc(env(safe-area-inset-top) + 92px);text-align:center;pointer-events:none;opacity:0;width:max-content;max-width:calc(100vw - 40px);position:fixed;transform:translate(-50%)}body.free-look #free-hint.show{animation:4s ease-out forwards free-hint}@keyframes free-hint{0%,75%{opacity:.9}to{opacity:0}}body.card-up #free-hint,body.in-menu #free-hint{display:none}button:active{transform:translateY(3px);box-shadow:0 1px #00000040}button.green{background:#35c957}button.blue{background:#2fb8ff}button:disabled{opacity:.5}#loading{background:#7fd3ff;place-items:center;font-size:40px;font-weight:900;transition:opacity .4s;display:grid;position:fixed;inset:0}#loading.done{opacity:0;pointer-events:none}.hidden{display:none!important}body.in-party #btn-reset{display:none}#players{color:#fff;flex-direction:column;align-items:flex-end;gap:2px;margin-top:6px;font-size:14px;display:flex}#players>div,#lobby-players li{align-items:center;gap:6px;display:flex}#players .pstrokes{text-align:right;min-width:18px}.offline{opacity:.45}.dot{border:2px solid #fff;border-radius:50%;flex:none;width:12px;height:12px;display:inline-block}#tags{pointer-events:none;position:fixed;inset:0;overflow:hidden}.tag{white-space:nowrap;background:#2b2d6ed9;border:2px solid #fff;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:800;position:absolute;top:0;left:0}#party-wait{left:50%;top:calc(env(safe-area-inset-top) + 120px);white-space:normal;text-align:center;pointer-events:none;max-width:86vw;font-size:15px;position:fixed;transform:translate(-50%)}#lobby{background:#14163c73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}#lobby .card{text-align:center;background:#2b2d6e;border:4px solid #fff;border-radius:24px;flex-direction:column;gap:12px;width:min(340px,100%);padding:18px 20px 20px;animation:.35s cubic-bezier(.3,1.6,.5,1) pop-in;display:flex;box-shadow:0 6px #0000004d}.lobby-label{opacity:.8;font-size:14px;font-weight:800}#lobby-code{letter-spacing:6px;color:#ffd23f;text-shadow:0 4px #3a1f05;margin-top:-10px;font-size:56px;font-weight:900}#lobby-name{font:inherit;text-align:center;color:#2b2d6e;-webkit-user-select:text;user-select:text;background:#fff;border:3px solid #fff;border-radius:14px;padding:10px 12px;font-size:19px;font-weight:800}#lobby-players{text-align:left;flex-direction:column;gap:6px;margin:0;padding:0;font-size:17px;font-weight:800;list-style:none;display:flex}#lobby-players .dot{width:16px;height:16px}#lobby-status,#lobby-wait{opacity:.85;font-size:15px}#lobby-status:empty{display:none}#btn-share,#btn-start{min-height:48px;padding:10px 22px;font-size:19px}#btn-share{background:#2fb8ff}#btn-start{background:#4be36b;font-size:22px}.switch{background:#3d40a0;justify-content:center;align-items:center;gap:10px;padding:8px 14px;font-size:16px;display:flex}.switch:before{content:"";border:3px solid #fff;border-radius:7px;flex:none;width:22px;height:22px;font-size:18px;line-height:22px}.switch.on:before{content:"✓";background:#4be36b}#lobby-bump{opacity:.85;font-size:15px}#btn-leave{min-height:44px;box-shadow:none;opacity:.8;background:0 0;border:none;margin:-6px 0 -10px;font-size:15px;text-decoration:underline}@keyframes pop-in{0%{transform:scale(.4)}to{transform:scale(1)}}body.in-menu #hole-title,body.in-menu #stroke-box{visibility:hidden}body.in-menu #buttons,body.in-menu #minimap{display:none}#menu{background:#14163c61;position:fixed;inset:0}.screen{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:calc(env(safe-area-inset-top) + 46px) calc(env(safe-area-inset-right) + 20px) calc(env(safe-area-inset-bottom) + 24px) calc(env(safe-area-inset-left) + 20px);display:flex;position:absolute;inset:0;overflow-y:auto}.panel{flex-direction:column;gap:18px;width:min(100%,720px);margin:auto;animation:.3s cubic-bezier(.3,1.5,.5,1) pop-in;display:flex}.panel.narrow{width:min(100%,360px)}.panel.narrow .menu-buttons{width:100%}.panel.home{justify-content:space-between;align-items:center;gap:34px;min-height:100%;padding:4vh 0 3vh}@media (height>=501px) and (width>=700px){.panel.home{padding:8vh 0}}#logo{color:#ffe14d;-webkit-text-stroke:.16em #3a1f05;paint-order:stroke fill;text-shadow:0 .09em #3a1f05;flex-direction:column;align-items:center;margin:0;font-size:clamp(60px,19vw,104px);font-weight:900;line-height:.92;display:flex}#logo span:first-child{transform:rotate(-5deg)}#logo span:last-child{color:#fff;transform:translate(.25em)rotate(3deg)}.menu-buttons{flex-direction:column;gap:14px;width:min(100%,320px);display:flex}.menu-buttons button{border-width:4px;border-radius:20px;min-height:62px;padding:10px 20px;font-size:23px;font-weight:900;box-shadow:0 5px #0000004d}.menu-buttons .switch{justify-content:flex-start;gap:14px;font-size:20px}.menu-buttons .switch:before{border-radius:9px;width:28px;height:28px;font-size:22px;line-height:28px}@media (height<=500px){.screen{padding-top:calc(env(safe-area-inset-top) + 40px);padding-bottom:calc(env(safe-area-inset-bottom) + 14px)}.panel{gap:12px}.panel.home{flex-direction:row;justify-content:center;gap:56px;padding:0}#logo{font-size:clamp(60px,22vh,96px)}.menu-buttons{gap:12px}.menu-buttons button{min-height:56px}}.menu-head{align-items:center;gap:12px;display:flex}.menu-head .back{flex:none;width:54px;height:54px;font-size:26px;font-weight:900}.menu-head h2{text-align:center;color:#ffe14d;text-shadow:-2px -2px #3a1f05,2px -2px #3a1f05,-2px 2px #3a1f05,2px 2px #3a1f05,0 4px #3a1f05;flex:1;margin:0 66px 0 0;font-size:28px;font-weight:900;line-height:1.1}@media (width<=500px){.menu-head h2{font-size:24px}}.cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;display:grid}#menu .card{text-align:left;background:#2b2d6e;border:4px solid #fff;border-radius:22px;align-items:center;gap:14px;min-height:96px;padding:10px 16px 10px 12px;display:flex;box-shadow:0 6px #0000004d}#menu .card.green{background:#35c957}#menu button.card:active{box-shadow:0 3px #0000004d}.card-icon{text-align:center;flex:none;width:72px;font-size:46px;line-height:72px}.card-picture{background:#14163c8c;border-radius:14px;flex:none;width:72px;height:72px}.card-text{flex-direction:column;gap:3px;min-width:0;display:flex}.card-label{opacity:.8;font-size:14px;font-weight:800}.card-name{color:#ffd23f;font-size:22px;font-weight:900;line-height:1.1}.card.green .card-name{color:#fff;text-shadow:0 2px #00000040}.card-sub{font-size:16px;font-weight:800}.open-games{flex-direction:column;grid-column:1/-1;gap:10px;display:flex}.open-head{margin:6px 4px 0;font-size:18px;font-weight:900}.open-none{opacity:.8;margin:0 4px;font-size:16px;font-weight:800}#menu .card.open-playing{background:#2f7fd6}#menu form.card{flex-direction:column;align-items:stretch;gap:8px;padding:12px 16px 14px}.join-row{gap:10px;display:flex}#join-code{min-width:0;height:52px;font:inherit;letter-spacing:6px;text-align:center;text-transform:uppercase;color:#2b2d6e;-webkit-user-select:text;user-select:text;background:#fff;border:3px solid #fff;border-radius:14px;flex:1;font-size:26px;font-weight:900}#join-code::placeholder{color:#b9bbdc}#btn-join{height:52px;padding:0 22px;font-size:20px}
