@font-face{font-family:Manrope;src:url(../assets/manrope.ttf)format("truetype");font-display:swap}*{box-sizing:border-box}body{color:#242029;background:#f5f2ec;margin:0;font-family:Manrope,Segoe UI,sans-serif}button,input,select{font:inherit}button,select{cursor:pointer}button{min-height:42px;color:inherit;background:0 0;border:1px solid #cbc5bd;border-radius:5px;padding:8px 17px;font-weight:650}button:hover{background:#e7dfd5}button:disabled{opacity:.5;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #df6500}::selection{color:#201a17;background:#ff7a00}header{border-bottom:1px solid #d7d0c6;justify-content:space-between;align-items:center;gap:16px;height:84px;padding:0 36px;display:flex}.brand{letter-spacing:-.035em;color:#252129;font-size:21px;font-weight:850;text-decoration:none}.brand span{font-weight:450}.local{letter-spacing:.12em;color:#6a605a;font-size:10px}main{grid-template-columns:minmax(0,1fr) 330px;min-height:calc(100svh - 123px);display:grid}.stage{color:#fbf3ff;background:#25213a;min-height:700px;position:relative;overflow:hidden}.stage-title{z-index:1;pointer-events:none;position:absolute;top:28px;left:36px}.stage-title h1{letter-spacing:-.035em;margin:0;font-size:44px;font-weight:800;line-height:1.1}.stage-title p{color:#d8cce7;margin:10px 0;font-size:13px}#viewport{height:100%;min-height:700px;position:absolute;inset:0}canvas{touch-action:none;width:100%;height:100%;display:block}.stage-bottom{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex;position:absolute;bottom:34px;left:30px;right:30px}#status{background:#211c32;border:1px solid #64526e;border-radius:5px;max-width:60%;padding:11px 14px}.stage-bottom label{align-items:center;gap:9px;display:flex}.stage-bottom select{color:#fbf3ff;background:#292238;border:1px solid #7f6c8c;border-radius:4px;padding:8px;font-size:12px}.gesture{color:#cfc3de;margin:0 0 6px;font-size:10px;position:absolute;bottom:5px;left:31px}aside{background:#f5f2ec;padding:28px 25px 22px}h2{margin:0 0 17px;font-size:14px;font-weight:750}h2 span{float:right;color:#6f655d;font-size:11px;font-weight:500}dl{margin:0}dl div{justify-content:space-between;margin:12px 0;display:flex}dt{color:#685e58;font-size:12px}dt span{color:#685e58;margin-left:10px;font-size:10px}dd{font-variant-numeric:tabular-nums;margin:0;font-size:19px;font-weight:650}.total{border-top:1px solid #d1c8bd;align-items:center;padding-top:15px}.total dt{color:#28212b;font-weight:650}.total dd{letter-spacing:-.035em;font-size:40px}.shot{border-top:1px solid #d1c8bd;margin-top:24px;padding-top:23px}.shot label{justify-content:space-between;margin-top:17px;font-size:12px;display:flex}.shot output{color:#6b5e55;font-variant-numeric:tabular-nums;font-size:11px}input[type=range]{accent-color:#c35a00;cursor:pointer;width:100%;height:22px;margin:7px 0 0}.primary{color:#281500;background:#ff7a00;border-color:#ff7a00;width:100%;min-height:48px;margin-top:21px;font-size:15px}.primary:hover{background:#ec6c00}.rules{border-top:1px solid #d1c8bd;margin-top:24px;padding-top:22px}.rules p{margin:0 0 10px;font-size:12px;line-height:1.95}.rules strong{float:right;font-variant-numeric:tabular-nums}.rules small,details{color:#6c6057;font-size:10px;line-height:1.7}details{margin-top:20px}summary{cursor:pointer;color:#40352d}ol{padding-left:18px}.check{align-items:center;gap:8px;display:flex}footer{color:#74675d;border-top:1px solid #d7d0c6;align-items:center;height:39px;padding:0 36px;font-size:10px;display:flex}.review header,.review aside,.review footer,.review .stage-title,.review .stage-bottom,.review .gesture{display:none}.review main{height:100vh;display:block}.review .stage,.review #viewport{height:100vh;min-height:0}.review .stage{background:#fff}@media (width>=1600px){main{grid-template-columns:minmax(0,1fr) 370px}aside{padding:36px}}@media (width<=900px){header{height:68px;padding:0 20px}.local{display:none}main{grid-template-columns:minmax(0,1fr) 290px}.stage-title{left:24px}.stage-title h1{font-size:35px}aside{padding:24px 20px}.stage-bottom{left:20px;right:20px}}@media (width<=680px){header{padding:0 16px}.brand{font-size:17px}header button{padding:7px 12px;font-size:12px}main{display:block}.stage{height:63svh;min-height:440px}#viewport{min-height:440px}.stage-title{top:22px;left:20px}.stage-title h1{font-size:32px}.stage-title p{font-size:12px}.stage-bottom{bottom:30px;left:16px;right:16px}.stage-bottom label{font-size:0}.stage-bottom select{font-size:11px}#status{max-width:68%;padding:8px;font-size:11px}.gesture{font-size:9px;bottom:4px;left:17px}aside{grid-template-columns:1fr 1fr;gap:24px;padding:26px 20px;display:grid}.shot{border-top:0;margin-top:0;padding-top:0}.score .total dd{font-size:38px}.rules{grid-column:1/-1;margin-top:0;padding-top:20px}.rules p{max-width:360px}details{grid-column:1/-1;margin-top:0}footer{height:auto;min-height:42px;padding:0 20px;font-size:9px}.shot label{margin-top:11px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.ball-grip{z-index:4;cursor:grab;touch-action:none;background:0 0;border:2px dashed #ffe4ac;border-radius:50%;width:36px;height:36px;min-height:0;padding:0;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 5px #21152d66}.ball-grip:hover{background:#ffb34322}.ball-grip.pulling{cursor:grabbing;border-style:solid;border-color:#ffad45}.ball-grip[hidden]{display:none}.clear-progress{color:#6b5e55;margin:-8px 0 16px;font-size:11px}.review .ball-grip{display:none}.rules-dialog{color:#29222d;background:#f8f4ee;border:1px solid #d0c3b5;border-radius:14px;width:min(620px,100vw - 32px);padding:0;box-shadow:0 22px 70px #1b112966}.rules-dialog[open]{flex-direction:column;max-height:calc(100svh - 32px);display:flex}.rules-dialog::backdrop{background:#21192dbb}.rules-dialog-header{border-bottom:1px solid #ded2c5;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;display:flex}.rules-dialog-header span{color:#67574a;font-size:13px}.rules-dialog-header button{color:#92501b;white-space:nowrap;border:0}.rules-dialog-body{padding:28px;overflow-y:auto}.rules-dialog-body h2{letter-spacing:0;margin:0 0 22px;font-size:24px;line-height:1.4}.rules-dialog-body ul{margin:0;padding-left:21px}.rules-dialog-body li{margin:14px 0;font-size:15px;line-height:1.85}.rules-dialog-footer{border-top:1px solid #ded2c5;justify-content:space-between;gap:18px;padding:18px 24px;display:flex}.rules-dialog-footer .primary{width:auto;min-width:140px;min-height:42px;margin:0}@media (width<=680px){header{gap:8px}#show-rules{padding:7px 10px;font-size:12px}.rules-dialog-header,.rules-dialog-footer{padding:13px 18px}.rules-dialog-body{padding:18px 22px}.rules-dialog-body h2{font-size:21px}.rules-dialog-body li{font-size:14px;line-height:1.75}.rules-dialog-footer .primary{min-width:112px}}.language-select{color:#29222d;background:#f8f4ee;border:1px solid #cbc5bd;border-radius:5px;min-width:100px;max-width:150px;min-height:42px;padding:8px;font-size:12px}header .language-select{margin-left:auto}#show-rules{margin-left:0}.rules-dialog-header{flex-shrink:0;gap:12px}.rules-dialog-header>span{flex:1;min-width:0}.rules-dialog-header .language-select{flex-shrink:1;width:130px;min-width:0}.rules-dialog-header button{flex-shrink:0;padding:8px}.rules-dialog-footer{flex-shrink:0}h2>span[data-i18n]{float:none;font-size:inherit;font-weight:inherit;color:inherit}.stage-title p{max-width:min(470px,100vw - 55px);line-height:1.5}.stage-bottom label{flex-shrink:0}.gesture{line-height:1.4;right:16px}.shot h2{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.shot label{gap:8px}.shot output{flex-shrink:0}.rules-dialog-footer button{white-space:normal}.local{white-space:nowrap}@media (width<=1100px){.local{display:none}}@media (width<=680px){header{grid-template-columns:1fr 1fr;gap:8px;height:auto;min-height:112px;padding:12px 16px;display:grid}.brand{white-space:nowrap}header .language-select{justify-self:end;max-width:155px;margin:0}#show-rules{margin:0}header button{white-space:normal;width:100%;font-size:12px}.rules-dialog-header{gap:7px;padding:12px}.rules-dialog-header>span{font-size:11px}.rules-dialog-header .language-select{width:113px;font-size:11px}.rules-dialog-header button{padding:6px;font-size:12px}.rules-dialog-footer{gap:10px;padding:13px 16px}.rules-dialog-footer .primary{min-width:0;max-width:65%}.stage-bottom{bottom:44px}.gesture{bottom:6px}.stage-bottom select{max-width:120px}.score h2{justify-content:space-between;gap:8px;display:flex}.score dt span{margin-left:0;display:block}.score dt [data-i18n]{display:inline}.rules p{max-width:none}footer{padding-top:10px;padding-bottom:10px}}.score-dialog{color:#29222d;background:#f8f4ee;border:1px solid #cbbdab;border-radius:14px;width:min(400px,100vw - 32px);max-height:calc(100svh - 32px);padding:28px;overflow:auto;box-shadow:0 22px 70px #1b112966}.score-dialog::backdrop{background:#21192dbb}.score-dialog h2{letter-spacing:0;margin:0 0 20px;font-size:24px}.score-award{color:#b65100;font-variant-numeric:tabular-nums;margin:20px 0;font-size:64px;font-weight:800;line-height:1}.score-dialog dl{border-top:1px solid #d1c8bd;padding-top:18px}.score-dialog #score-strokes{font-size:14px}.score-dialog .primary{white-space:normal}.stage-title h1{font-size:clamp(23px,3vw,40px)}.stage-title p{max-width:420px}
