.opbg { --ink:#15392f;--grass:#a9d844;--edge:#cbdacf;--muted:#476057;max-width:74rem;margin:18px auto;padding:clamp(16px,3vw,35px);background:#f5f7ee;color:var(--ink);border:1px solid var(--edge);border-radius:18px;font:400 15px/1.45 system-ui,sans-serif;box-sizing:border-box }
.opbg *, .opbg *::before, .opbg *::after {box-sizing:border-box}
.opbg [hidden]{display:none!important}
.opbg header,.opbg aside,.opbg .opbg-view{background:none}
.opbg header>span,.opbg aside>span,.opbg-pad>span{font:700 11px/1.4 ui-monospace,monospace;letter-spacing:.09em}
.opbg h2,.opbg h3,.opbg h4{font-family:inherit;color:var(--ink);margin:0;letter-spacing:-.035em}
.opbg h2{font-size:clamp(29px,5vw,51px);line-height:1.03;margin:7px 0 18px}
.opbg h3{font-size:clamp(21px,3.5vw,27px);line-height:1.2}.opbg h4{font-size:20px;margin-top:12px}
.opbg p{font-size:.94rem;color:var(--muted);margin:8px 0 16px;line-height:1.45}
.opbg nav,.opbg-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.opbg nav{background:#e1e9db;border-radius:12px;padding:4px;width:fit-content;margin:0 0 18px}
.opbg button,.opbg select{font:650 .85rem/1.25 system-ui,sans-serif;letter-spacing:normal;text-transform:none;cursor:pointer;min-height:40px;border:1px solid var(--edge);color:var(--ink);border-radius:8px;background:#fff;padding:8px 13px;margin:0}
.opbg nav button{border:0;background:transparent}.opbg nav [aria-pressed=true]{background:var(--ink);color:white}
.opbg button:disabled{opacity:.53;cursor:default}.opbg :focus-visible{outline:3px solid #297ad8;outline-offset:3px}
.opbg .opbg-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(210px,1fr);gap:14px;align-items:start}
.opbg .opbg-view,.opbg aside{border:1px solid var(--edge);border-radius:12px;padding:clamp(13px,2.5vw,24px);background:#fff;min-width:0}
.opbg aside{background:#eaf1de}.opbg aside>h3{margin:5px 0 14px}
.opbg .opbg-kicker{display:flex;align-items:center;justify-content:space-between;gap:8px}
.opbg [data-timer]{font:700 16px/1 ui-monospace,monospace;white-space:nowrap;color:#275442}
.opbg-pad{position:relative;display:grid;place-content:center stretch;text-align:center;gap:15px;min-height:clamp(140px,21vh,215px);border-radius:8px;overflow:hidden;color:white;user-select:none;touch-action:none;background:radial-gradient(ellipse at 68% 85%,#346849 0%,#184434 70%);padding:20px 8%}
.opbg-pad::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(110deg,#ffffff08 0 24px,transparent 25px 52px);pointer-events:none}
.opbg-track{position:relative;height:23px;background:#12372b;border:1px solid #87b585;border-radius:15px}
.opbg-track i{position:absolute;inset:-7px auto -7px 46.5%;width:7%;background:#c9f95fb8;border-left:2px solid #dfffa4;border-right:2px solid #dfffa4}
.opbg-track b{position:absolute;width:17px;height:17px;left:0;top:2px;background:#fffcdf;border:2px solid white;border-radius:100%;box-shadow:0 2px 5px #103327a8;transform:translateX(-50%);will-change:left}
.opbg-controls{margin:13px 0 9px}
.opbg-controls>button:first-child{background:var(--ink);color:white;border-color:var(--ink)}
.opbg [data-hud],.opbg-record{color:var(--muted);font-size:.85rem;line-height:1.5;display:block}
.opbg-prob>div{display:flex;align-items:center;justify-content:space-between;font-size:.89rem}
.opbg-prob{margin:9px 0}.opbg-prob progress{display:block;width:100%;height:8px;border-radius:8px;overflow:hidden;appearance:none;accent-color:#477a4c}
.opbg-prob progress::-webkit-progress-bar{background:#d2deca}.opbg-prob progress::-webkit-progress-value{background:#467d51}.opbg-birdie progress::-webkit-progress-value{background:#72a926}.opbg-bogey progress::-webkit-progress-value{background:#bc7640}
.opbg-record{border-top:1px solid var(--edge);padding-top:10px;margin-top:13px}
.opbg a{color:#17543d;text-decoration:underline}.opbg a[data-login]{display:inline-block;margin-top:6px;font-weight:650}
.opbg label{display:block;color:var(--ink);font-size:.92rem}.opbg select{display:block;width:100%;margin-top:4px}
.opbg label.opbg-check{display:flex;gap:8px;align-items:center;font-size:.85rem}.opbg-check input{width:17px;height:17px}
.opbg .opbg-result{background:#eaf1de;padding:9px;border-radius:6px;color:#203d30;font-variant-numeric:tabular-nums}
.opbg summary{cursor:pointer;font-size:.86rem}.opbg-card{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(55px,1fr));gap:4px;margin:8px 0;padding:0}.opbg-card li{display:grid;text-align:center;background:#f1f4e9;padding:3px;font-size:12px;border-radius:5px}
.opbg-message:empty{display:none}.opbg-message{margin-top:11px;color:var(--ink);font-weight:600}
@media(max-width:660px){.opbg{padding:12px;border-radius:12px}.opbg .opbg-layout{grid-template-columns:1fr}.opbg nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.opbg nav button{font-size:12px;padding:7px 3px}.opbg aside>h3{margin-bottom:9px}.opbg aside [data-bars]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.opbg-prob>div{display:block;font-size:.74rem}.opbg-prob b{display:block}.opbg aside{padding:12px}.opbg .opbg-pad{min-height:135px}}
@media(prefers-reduced-motion:reduce){.opbg *{scroll-behavior:auto!important}}
