/* TribünPlan · blok modülü stilleri (v3) */
.bk-tools{display:grid;gap:10px;margin:12px 0}
.bk-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.bk-h{font-family:var(--display);font-size:1.1rem;text-transform:uppercase;letter-spacing:.02em;min-width:150px}
.bk-bar,.bk-seg{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.bk-bar button,.bk-seg button,.bk-cmpb{min-height:40px;padding:0 14px;border-radius:99px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.bk-bar button[aria-pressed=true]{background:#0fae56;border-color:#0fae56;color:#04140b}
.bk-seg{border:1.5px solid var(--line);border-radius:99px;padding:3px;background:var(--surface);gap:0}.bk-seg button{border:0;min-height:36px}
.bk-seg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.bk-cmpb[aria-pressed=true]{background:#1f5fbf;border-color:#1f5fbf;color:#fff}
.bk-clr{border-style:dashed!important}
.bk-cnt{font-size:.86rem;color:var(--muted)}
.bk-note{margin:0;padding:8px 12px;border-radius:10px;background:rgba(255,207,51,.18);border:1px solid rgba(255,179,0,.5);font-size:.9rem}
#map.bk-flt .blk{opacity:.16;transition:opacity .2s}
#map.bk-flt .blk.bk-hit{opacity:1;stroke:#fff;stroke-width:1.2}
#map.bk-flt .blk.bk-best{stroke:#ffd400;stroke-width:2.2;filter:drop-shadow(0 0 2.5px #ffd400) drop-shadow(0 0 5px rgba(255,212,0,.8))}
#map .blk.bk-cs{stroke:#1f5fbf;stroke-width:2.6;filter:drop-shadow(0 0 3px rgba(31,95,191,.9))}
.bk-sun{pointer-events:none}
@media (prefers-reduced-motion:reduce){#map.bk-flt .blk{transition:none}}
.bk-card,.bk-sheet{position:fixed;z-index:60;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 14px 40px rgba(0,0,0,.24);font-size:.9rem}
.bk-card{max-width:330px;padding:12px 14px;border-radius:14px;pointer-events:none}
.bk-sheet{right:16px;bottom:16px;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;padding:14px 16px;border-radius:16px}
.bk-cmp{width:min(760px,calc(100vw - 32px))}
@media (max-width:700px){.bk-sheet,.bk-cmp{left:0;right:0;bottom:0;width:auto;max-height:78vh;border-radius:18px 18px 0 0;padding:10px max(16px,env(safe-area-inset-left,0px)) calc(16px + env(safe-area-inset-bottom,0px))}}
.bk-grab{width:44px;height:5px;border-radius:3px;background:var(--line);margin:0 auto 8px}
@media (min-width:701px){.bk-grab{display:none}}
.bk-dh{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.bk-x{min-width:40px;min-height:40px;border-radius:10px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:1.3rem;cursor:pointer}
.bk-t{display:block;font-size:1.05rem;margin-bottom:6px}
.bk-bdgs{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 8px}.bk-bdg{font-size:.76rem;font-weight:700;padding:3px 8px;border-radius:99px;background:var(--line);color:var(--ink)}
.bk-bdg.ok{background:#dbe8ff;color:#123a80}.bk-bdg.sun{background:#ffeaa0;color:#6b4a00}.bk-bdg.hot{background:#ffd6d9;color:#8a0f1a}
.bk-g{display:grid;gap:7px}.bk-r{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;align-items:start}
.bk-k{color:var(--muted);font-weight:600}.bk-v{min-width:0}
.bk-st{display:inline-flex;gap:2px;margin-right:6px;vertical-align:-1px}.bk-st i{width:10px;height:10px;border-radius:2px;background:var(--line)}.bk-st i.on{background:#f5b301}
.bk-lv{display:inline-block;width:50px;height:6px;border-radius:3px;margin-right:6px;vertical-align:2px;background:linear-gradient(90deg,#e3202f calc(var(--lv)*20%),var(--line) calc(var(--lv)*20%))}
.bk-n{display:block;margin:8px 0 0;font-size:.78rem;color:var(--muted)}
.bk-pv{margin:6px 0 12px}.bk-pvh{display:block;font-size:.92rem;margin-bottom:6px}
.pv{display:block;width:100%;height:auto;border-radius:10px;background:#0d1630}
.pv-g{fill:#2f8f4e}.pv-st{fill:#3a9d59}.pv-l{fill:none;stroke:#fff;stroke-width:1.2;stroke-linejoin:round;stroke-opacity:.92}.pv-goal{fill:none;stroke:#fff;stroke-width:2}
.bk-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bk-act button{flex:1 1 160px;min-height:46px;border-radius:12px;font:inherit;font-weight:700;cursor:pointer;border:1.5px solid var(--line);background:var(--surface);color:var(--ink)}
.bk-act .bk-go{background:#0fae56;border-color:#0fae56;color:#04140b}
.bk-cg{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:6px}@media (max-width:520px){.bk-cg{grid-template-columns:1fr}}
.bk-cc{display:grid;gap:8px;align-content:start;padding:10px;border-radius:12px;border:2px solid var(--line);min-width:0}.bk-cc.a{border-color:#0fae56}.bk-cc.b{border-color:#1f5fbf}
.bk-cc.empty{place-items:center;min-height:120px;color:var(--muted);border-style:dashed}
.bk-m{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:.84rem}
.bk-m span{color:var(--muted);font-weight:600}.bk-m i{display:block;height:8px;border-radius:4px;background:var(--line);overflow:hidden}.bk-m u{display:block;height:100%;background:currentColor}
.bk-cc.a .bk-m u{background:#0fae56}.bk-cc.b .bk-m u{background:#1f5fbf}.bk-m em{font-style:normal;font-weight:700;white-space:nowrap}.bk-m em.g{grid-column:2/4;white-space:normal;font-weight:600}
.bk-zc{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:4px;padding:4px;border-radius:12px;background:var(--surface);border:1px solid var(--line);box-shadow:0 4px 14px rgba(0,0,0,.12)}
.bk-zc button{min-width:40px;min-height:40px;border-radius:9px;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:700;font-size:1.05rem;cursor:pointer}.bk-zc button:hover{background:var(--line)}
.bk-zc button[data-z='0']{font-size:.82rem;padding:0 8px}.bk-zl{min-width:44px;text-align:center;font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}
.bk-cmp.bk-mini{width:min(360px,calc(100vw - 32px))}@media (max-width:700px){.bk-cmp.bk-mini{left:0;right:0;width:auto}}
