/* Universal single-elimination display. Independent of all otb/classic rules. */
.unbt-root{width:100%;box-sizing:border-box;padding:15px 12px 12px;background:#fff;border:1px solid #d5e0ea;border-radius:14px;margin:12px 0;overflow:hidden;color:#152c46}
.unbt-root *{box-sizing:border-box}
.unbt-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px}
.unbt-header span{font-size:10px;letter-spacing:2px;color:#a67d2e;font-weight:850}
.unbt-header h2{font-size:21px;letter-spacing:-.5px;margin:4px 0 0;color:#102843}
.unbt-header strong{font-size:12px;color:#617890;white-space:nowrap}
.unbt-finder{display:flex;gap:8px;align-items:flex-end;margin:10px 0}
.unbt-picker,.unbt-round-picker{min-width:0;display:flex;flex-direction:column;gap:4px;flex:1}
.unbt-picker span,.unbt-round-picker span{font-size:11px;color:#607a90;font-weight:800}
.unbt-picker select,.unbt-round-picker select{width:100%;height:42px;background:#fff;border:1px solid #c5d5e6;border-radius:8px;color:#17344e;padding:8px 9px;font-size:13px;min-width:0}
.unbt-finder>button,.unbt-controls>button{height:42px;padding:0 12px;background:#fdf6e5;border:1px solid #c49a44;border-radius:8px;color:#89631b;font-size:12px;font-weight:800;white-space:nowrap}
.unbt-controls{display:flex;align-items:flex-end;gap:7px;padding:8px 7px;background:#f1f5f9;border-radius:10px}
.unbt-controls>button{background:#102945;color:#fff;border-color:#102945}
.unbt-zoom{display:flex;align-items:center;gap:3px;flex:none}
.unbt-zoom button{width:32px;height:40px;background:#fff;border:1px solid #c8d8e4;border-radius:8px;font-size:21px;color:#183850;font-weight:700}
.unbt-zoom output{width:37px;font-size:11px;text-align:center;color:#53708c;font-weight:800}
.unbt-hint,.unbt-caption{font-size:11px;color:#678094;line-height:1.35;margin:8px 2px}
/* Safari visibility safeguard: the absolutely positioned game cards do not
   contribute intrinsic height. An auto-height scroller collapses to a hairline
   on real iPhones even though the game markup is present. A bounded viewport
   must have an EXPLICIT height and BOTH axes must be scrollable. */
.unbt-viewport{display:block!important;position:relative!important;width:100%!important;overflow:auto!important;height:65vh!important;height:min(67dvh,680px)!important;min-height:360px!important;max-height:680px!important;background:#fff;border:1px solid #cfdae7;border-radius:9px;scroll-behavior:auto!important;overflow-anchor:none!important;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;overscroll-behavior:contain}
.unbt-stage{display:block;position:relative!important;overflow:visible!important;transform:none!important;transform-origin:0 0!important;max-width:none!important;min-width:0!important;flex:none!important;background:#fff}
.unbt-connectors{position:absolute;left:0;top:0;z-index:1;pointer-events:none;overflow:visible}
.unbt-path{fill:none;stroke:#64778a;stroke-width:2.5;stroke-linecap:square;stroke-linejoin:round}
.unbt-path-highlight{fill:none;stroke:#c3913c;stroke-width:3.5;stroke-linecap:square;stroke-linejoin:round}
.unbt-round-label{position:absolute;top:19px;width:218px;font-size:13px;font-weight:850;color:#173451;white-space:nowrap}
.unbt-card{position:absolute!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;z-index:2!important;width:218px!important;height:102px!important;min-width:218px!important;min-height:102px!important;max-width:none!important;overflow:hidden!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #c9d8e6!important;border-radius:8px!important;text-align:left!important;padding:5px 7px!important;margin:0!important;box-shadow:0 2px 4px #0b21340a!important;color:#172f48!important;cursor:pointer}
.unbt-card.unbt-selected{border:2px solid #b88930!important;background:#fff9ed!important}
.unbt-card-head{font-size:10px;font-weight:900;letter-spacing:.5px;color:#987027;line-height:16px;height:16px;flex:none;white-space:nowrap}
.unbt-team{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:28px;max-height:28px;line-height:1.08;border-bottom:1px solid #dce6ee;font-size:11px;color:#18334f}
.unbt-team>span{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.unbt-team>strong{font-size:11px;flex:none}
.unbt-pending{color:#8493a4;font-style:italic}
.unbt-my-team,.unbt-winner{color:#926a22;font-weight:850}
.unbt-meta{font-size:9px;line-height:16px;height:16px;color:#607b91;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){.unbt-root{padding:12px 8px}.unbt-controls{gap:5px;padding:7px 5px}.unbt-controls>button{padding:0 8px}.unbt-round-picker select{font-size:12px}.unbt-zoom button{width:29px}.unbt-zoom output{width:31px;font-size:10px}}

/* V086: No native horizontal scrolling on mobile. Safari used to restore the
   wide scrollport at the championship, despite the Round 1 selector.
   The inner tree moves through an explicit, clamped X coordinate while the
   outer viewer scrolls vertically through the *entire* bracket. */
.unbt-viewport{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none!important;touch-action:pan-y!important;scroll-behavior:auto!important}
.unbt-hclip{position:relative!important;width:100%!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important}
.unbt-hclip>.unbt-stage{position:absolute!important;left:0!important;top:0!important;transform-origin:0 0!important;will-change:transform;zoom:1!important}

/* V087: left offset owns horizontal navigation; no translated wide canvas. */
.unbt-hclip>.unbt-stage{left:0!important;transition:none!important;transform-origin:top left!important}
.unbt-viewport{scroll-padding-inline:0!important;overflow-anchor:none!important}
