/* ficklestudio26 · Tournament bracket (builds on /timer/timer.css) */
.b-form { display:grid; gap:10px; max-width:520px; margin:0 auto 12px; text-align:left; }
.b-form textarea { width:100%; min-height:170px; padding:12px; border:2px solid #e8e8ec; border-radius:12px; font:17px/1.5 system-ui,sans-serif; }
.b-form label.chk { display:flex; gap:8px; align-items:center; font-size:15px; }
.b-view { overflow-x:auto; padding:6px 2px 10px; text-align:left; }
.b-grid { display:flex; gap:clamp(10px,3vw,28px); min-width:min-content; align-items:stretch; }
.b-col { display:flex; flex-direction:column; justify-content:space-around; gap:10px; min-width:150px; flex:1; }
.b-title { font:800 13px system-ui,sans-serif; text-transform:uppercase; letter-spacing:.06em; color:#5b5b66; text-align:center; }
.b-match { display:grid; gap:4px; background:#fff4e6; border-radius:12px; padding:6px; }
.b-team { display:block; width:100%; padding:10px 12px; border:2px solid #e8e8ec; border-radius:9px; background:#fff; font:700 16px system-ui,sans-serif; text-align:left; cursor:pointer; color:#1d1d22; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.b-team:hover:not(:disabled) { border-color:#e8590c; }
.b-team.is-win { background:#d3f9d8; border-color:#40c057; }
.b-team.is-out { opacity:.45; text-decoration:line-through; }
.b-team.is-empty { color:#adb5bd; background:#f8f9fa; cursor:default; font-weight:600; }
.b-team:disabled { cursor:default; }
.b-champ { margin:14px auto 4px; padding:16px 10px; background:#fff4e6; border-radius:16px; text-align:center; max-width:760px; }
.b-champ span { display:block; font:700 clamp(16px,3vw,22px) system-ui,sans-serif; color:#5b5b66; }
.b-champ strong { display:block; font:800 clamp(44px,12vw,100px)/1.05 system-ui,sans-serif; color:#d9480f; word-break:break-word; }
.b-msg { text-align:center; color:#5b5b66; font-weight:600; }
@media print { .wrap > h1 ~ *:not(.timer), .b-form, .timer__controls, .timer__hint, .site-footer, .fs-bar { display:none !important; } .timer { border:0 !important; box-shadow:none !important; } .b-team { border-color:#000 !important; } }
