.hb{--ink:#202b32;--muted:#66716e;--line:#dce2dc;--blue:#2164bd;--red:#bb443d;max-width:1160px;color:var(--ink);box-sizing:border-box;background:#f6f7f2;margin:auto;padding:52px 28px;font-family:Inter,system-ui,sans-serif}.hb *{box-sizing:border-box}.hb button,.hb textarea,.hb select{font:inherit}.hb button{cursor:pointer}.hb button:disabled{cursor:default}.hb button:focus-visible,.hb textarea:focus-visible,.hb select:focus-visible{outline-offset:4px;outline:3px solid #9c7a2e}.hb-eyebrow{letter-spacing:.18em;color:var(--muted);font-size:11px;font-weight:700}.hb h1{letter-spacing:-.065em;margin:18px 0;font-size:clamp(40px,6vw,72px);line-height:1.1}.hb h1 span{color:#71947c}.hb header>p{color:var(--muted);margin:0 0 35px}.hb-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px;display:grid}.hb-board{border:1px solid var(--line);background:#fff;border-radius:18px;flex-direction:column;display:flex;overflow:hidden}.hb-status{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:22px;display:flex}.hb-status>span:last-child{width:100%;color:var(--muted);padding-left:22px;font-size:13px}.hb-dot{border-radius:50%;width:11px;height:11px}.hb-dot.hb-B{background:var(--blue)}.hb-dot.hb-R{background:var(--red)}.hb-towers{flex:1;min-height:300px;padding:28px 24px}.hb-advice{color:#44320b;background:#fff7dc;border:2px solid #a36c0b;border-radius:12px;margin:20px 20px 0;padding:20px}.hb-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 20px 0;display:flex}.hb-hint-modal .hb-advice,.hb-hint-modal .hb-advice-heading h2{margin:0}.hb-advice-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.hb .hb-advice h2{margin:0;font-size:20px}.hb-advice-badge{color:#fff7dc;background:#44320b;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:700}.hb-advice p{font-size:13px;line-height:1.65}.hb-advice .hb-advice-move{font-size:16px}.hb-advice-values{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.hb-advice-values span{font-size:12px}.hb-advice-values strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:25px;display:block}.hb-advice-play{color:#fff;background:#44320b;border:0;border-radius:8px;max-width:100%;padding:12px 16px;font-weight:700!important}.hb-advice details{margin-top:18px;font-size:13px;line-height:1.8}.hb-advice summary{cursor:pointer;font-weight:600}.hb-advice ul{max-height:220px;padding-left:20px;overflow-y:auto}.hb-advice .hb-advice-rule{border-top:1px solid #dcc58e;margin-bottom:0;padding-top:12px;font-size:12px}.hb-letter.hb-recommended{outline-offset:3px;outline:3px solid #a36c0b;box-shadow:0 0 0 6px #fff7dc}.hb-tower{margin-bottom:24px}.hb-tower:last-child{margin-bottom:0}.hb-tower-title{letter-spacing:.14em;color:var(--muted);margin-bottom:10px;font-size:10px}.hb-string{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.hb-letter{border:1px solid;border-radius:8px;width:46px;height:52px;transition:opacity .15s,transform .15s;font-family:monospace!important;font-size:24px!important;font-weight:700!important}.hb-letter.hb-B{color:var(--blue);background:#edf4ff}.hb-letter.hb-R{color:var(--red);background:#fff0ed}.hb-letter:enabled:hover{transform:translateY(-3px);box-shadow:0 4px #202b3212}.hb-falling{opacity:.45}.hb-ground{color:#8b9489;font-size:30px}.hb-tip,.hb-empty{color:#9ba49c;font-size:23px}.hb-tower small{color:var(--muted);margin:8px 0 0 24px;font-size:11px;display:block}.hb-value{color:var(--ink);margin:10px 0 0 24px;font-size:14px}.hb-value strong,.hb-total strong{font-variant-numeric:tabular-nums}.hb-total{border-top:1px solid var(--line);background:#eaf0e7;padding:20px 24px;font-size:16px}.hb-total strong{overflow-wrap:anywhere;margin-left:8px;font-size:24px}.hb-board-footer{border-top:1px solid var(--line);background:#f9faf7;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.hb-board-footer>span{letter-spacing:.08em;color:var(--muted);font-size:9px}.hb-board-footer button{color:var(--ink);background:0 0;border:0;padding:6px;font-size:12px}.hb-board-footer button:disabled{opacity:.35}.hb h2{letter-spacing:-.02em;margin:0 0 20px;font-size:17px}.hb-sidebar .hb-match-controls{background:#eaf0e7;border-radius:18px;padding:24px}.hb-title-row{flex-wrap:wrap;align-items:center;gap:24px;margin-bottom:18px;display:flex}.hb-title-row h1{margin-bottom:0}.hb-info-button,.hb-hint-toggle,.hb-calibro-link,.hb-log-button{box-sizing:border-box;color:#263e31;cursor:pointer;background:#eaf0e7;border:1px solid #94a692;border-radius:24px;align-items:center;gap:6px;margin:0;padding:10px 16px;font-family:inherit;line-height:1.2;text-decoration:none;display:inline-flex;font-size:14px!important;font-weight:600!important}.hb-info-button:hover,.hb-hint-toggle:hover,.hb-calibro-link:hover,.hb-log-button:hover{background:#dde7d9;border-color:#7d927b}.hb-info-button:focus-visible,.hb-hint-toggle:focus-visible,.hb-calibro-link:focus-visible,.hb-log-button:focus-visible{outline-offset:4px;outline:3px solid #9c7a2e}.hb-players{gap:10px;font-size:14px;display:grid}.hb-modal-overlay{z-index:100;background:#14221db3;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.hb-modal{color:#202b32;text-align:left;background:#f6f7f2;border:1px solid #dce2dc;border-radius:18px;width:100%;max-width:720px;max-height:88dvh;padding:clamp(20px,4vw,32px);font-family:Inter,system-ui,sans-serif;line-height:1.7;overflow-y:auto;box-shadow:0 20px 80px #0005}.hb-dialog{outline:none}.hb-conway-photo{width:100%;max-width:320px;margin:24px auto}.hb-conway-photo img{border-radius:12px;width:100%;height:auto;display:block}.hb-conway-photo figcaption{text-align:center;color:#526052;margin-top:10px;font-size:11px;line-height:1.6}.hb-conway-photo figcaption strong,.hb-conway-photo figcaption span{display:block}.hb-conway-photo figcaption strong{color:#202b32;font-size:14px}.hb-modal-heading{grid-template-columns:44px minmax(0,1fr) 44px;align-items:start;gap:8px;display:grid}.hb-modal-heading h2{text-align:center;grid-area:1/2;margin:0;font-size:25px;font-weight:700;line-height:1.25}.hb-modal-heading .hb-modal-close{grid-area:1/3;justify-self:end}.hb-modal section{margin-top:22px}.hb-modal h3{margin:0 0 8px;font-size:17px;font-weight:700}.hb-modal p,.hb-modal li{font-size:14px}.hb-modal p{margin:8px 0}.hb-modal ol{padding-left:24px;list-style:decimal}.hb-modal a{color:#2164bd;overflow-wrap:anywhere;text-decoration:underline}.hb-modal button{font:inherit;cursor:pointer}.hb-modal-close{color:#263e31;background:#fff;border:1px solid #c5cec1;border-radius:8px;flex-shrink:0;padding:4px 12px}.hb-modal-close-bottom{color:#fff;background:#263e31;border:0;border-radius:8px;margin-top:22px;padding:12px 18px}.hb-modal button:focus-visible,.hb-modal a:focus-visible{outline-offset:4px;outline:3px solid #9c7a2e}.hb label{margin-bottom:9px;font-size:12px;font-weight:600;display:block}.hb textarea,.hb select{width:100%;color:var(--ink);background:#fcfdf9;border:1px solid #c5cec1;border-radius:8px;padding:12px}.hb textarea{resize:vertical;letter-spacing:.12em;font-family:monospace;font-size:19px}.hb-sidebar p{color:var(--muted);font-size:12px;line-height:1.65}.hb select{font-size:13px}.hb-primary{color:#fff;background:#263e31;border:0;border-radius:8px;justify-content:space-between;width:100%;padding:14px 16px;display:flex;font-size:13px!important}.hb-error{color:#a42f2f!important}.hb-error:empty{display:none}.hb-primary{margin-top:16px}.hb button.hb-advice-play{--hb-action-background:#44320b}.hb button.hb-primary{--hb-action-background:#263e31}.hb button:is(.hb-advice-play,.hb-primary),.hb button:is(.hb-advice-play,.hb-primary):is(:hover,:focus,:focus-visible,:active,:disabled){background:var(--hb-action-background);color:#fff;opacity:1;filter:none;border-color:#0000}.hb-rules{padding:26px 8px 0}.hb-rules h2{margin-bottom:12px}.hb-example{border:1px dashed #bdc8b9;border-radius:8px;padding:14px;font-family:monospace;font-size:20px}.hb-example small{color:var(--muted);margin-top:5px;font-family:system-ui;font-size:11px;display:block}.hb-history{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.hb-history-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.hb-history-head h2{margin:0}.hb-history h2 span{color:var(--muted);margin-left:8px;font-size:12px}.hb-history p,.hb-history li{color:var(--muted);font-size:13px;line-height:1.9}.hb-history ol{padding-left:22px}.hb-history .hb-history-start{margin:0 0 4px}.hb-history .hb-history-start strong,.hb-history .hb-history-review strong{color:var(--ink,#202b32)}.hb-history .hb-history-review{border-left:3px solid #a36c0b;max-width:70ch;margin-top:8px;padding:6px 0 6px 14px;line-height:1.7}.hb-history code{overflow-wrap:anywhere}.hb-text-B{color:var(--blue)}.hb-text-R{color:var(--red)}@media (max-width:760px){.hb{padding:30px 16px}.hb-layout{grid-template-columns:1fr}.hb-towers{padding:24px 16px}.hb-letter{width:40px;height:46px}.hb-sidebar{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;display:grid}.hb-rules{padding:12px 6px}}.hb3d{background:#cdb98e;border-radius:12px;height:clamp(360px,62vh,640px);margin:20px 20px 0;position:relative;overflow:hidden}.hb3d-stage,.hb3d-stage>canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.hb3d-stage>canvas{cursor:grab}.hb3d-stage>canvas:active{cursor:grabbing}.hb3d-labels{pointer-events:none;position:absolute;inset:0}.hb3d-label{color:#fff;letter-spacing:.02em;white-space:nowrap;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1f180aad;border-radius:10px;justify-items:center;padding:4px 9px;font-size:12px;font-weight:700;line-height:1.25;display:grid}.hb3d-label span{font-variant-numeric:tabular-nums;font-weight:500}.hb3d-overlay{text-align:center;color:#3a2c10;background:#cdb98ed9;place-items:center;padding:24px;font-weight:700;display:grid;position:absolute;inset:0}.hb3d-note{color:#fff;background:#1f180ab3;border-radius:8px;padding:6px 10px;font-size:12px;position:absolute;bottom:12px;left:12px}.hb3d-hud{pointer-events:none;flex-direction:column;justify-content:space-between;gap:8px;padding:10px;display:flex;position:absolute;inset:0}.hb3d-hud-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.hb .hb3d-chip,.hb .hb3d-caption{color:#fff;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1f180ab8;border-radius:8px;margin:0;padding:6px 11px;font-size:13px;line-height:1.4}.hb .hb3d-chip{border-left:4px solid #c9b58a;max-width:min(62%,420px)}.hb .hb3d-chip-B{border-left-color:#6b90ff}.hb .hb3d-chip-R{border-left-color:#ff6a50}.hb .hb3d-caption{text-align:center;align-self:center;max-width:100%;font-size:12px}.hb-leader{margin-top:6px;font-size:14px;display:block}.hb-total .hb-leader strong{font-size:inherit;margin-left:0}.hb-sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hb-cut-list{gap:8px;margin:12px 20px 0;display:grid}.hb-cut-list>div{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hb-cut-list button{border-radius:6px;padding:4px 10px}@media (max-width:760px){.hb3d,.hb3d-slot{height:clamp(320px,58vh,520px);margin:16px 0 0}.hb .hb3d-chip{max-width:100%}}.hb label[for=hb-cutter]{margin-top:14px}.hb label.hb-check{align-items:center;gap:8px;margin-top:12px;font-weight:500;display:flex}.hb label[for=hb-enlarge]{margin-top:14px}.hb .hb3d.hb3d-cinema{z-index:1000;border-radius:0;height:auto;margin:0;position:fixed;inset:0}.hb3d-slot{height:clamp(360px,62vh,640px);margin:20px 20px 0}.hb .hb3d:fullscreen{border-radius:0;height:100%;margin:0}
