.seattle-format-note { grid-column: 1 / -1; margin: 0; line-height: 1.6; }
.seattle-masters-panel > details { margin-block: 1rem; }
.seattle-masters-panel summary, .seattle-round summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 800; padding: .65rem; border: 1px solid var(--line); }
.seattle-bracket-phase { margin-top: 1.5rem; min-width: 0; }
.seattle-round { margin-block: .7rem; }
.seattle-match-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,285px),1fr)); gap: .8rem; margin-top: .8rem; }
.seattle-match-card { padding: 1rem; border: 1px solid var(--line); background: var(--panel); min-width: 0; border-radius: 8px; }
.seattle-match-card h4 { margin: 0 0 .8rem; }
.seattle-match-side { display: grid; gap: .4rem; padding-block: .7rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.seattle-game-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.seattle-game-inputs label, .seattle-rolloff, .seattle-cut-fields label { display: grid; gap: .35rem; min-width: 0; }
.seattle-match-card input, .seattle-match-card select, .seattle-cut-fields select { width: 100%; min-width: 0; font-size: 16px; min-height: 44px; }
.seattle-rolloff { margin-block: .9rem; }
.seattle-match-card button { min-height: 44px; width: 100%; }
.seattle-cut-fields { display: grid; gap: .75rem; margin-block: 1rem; }
.seattle-ladder-seeds { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; }
.seattle-ladder-seeds p { padding: .8rem; margin: .3rem 0; min-width: 0; overflow-wrap: anywhere; border: 1px solid var(--line); }
.seattle-ladder-seeds strong { display: block; }
.seattle-ladder-seeds span { display: block; font-size: .85rem; }
@media (max-width: 700px) { .seattle-ladder-seeds { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.seattle-bracket-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1rem; }
.seattle-bracket-tabs button { min-height: 44px; }
.seattle-bracket-status { display: grid; gap: .45rem; padding-block: 1rem; }
.seattle-bracket-status > strong { color: #a00000; font-size: 1.2rem; }
.seattle-diagram-hint { font-size: .9rem; }
.seattle-diagram-scroll { overflow: auto; max-height: min(70vh,700px); width: 100%; overscroll-behavior: contain; border: 1px solid #cabfb0; background: #f8f5ee; border-radius: 8px; }
.seattle-diagram-scroll:focus-visible { outline: 3px solid #a00000; outline-offset: 2px; }
.seattle-diagram-canvas { position: relative; }
.seattle-bracket-lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.seattle-bracket-lines path { fill: none; stroke: #806c5d; stroke-width: 2; }
.seattle-bracket-lines .conditional-path { stroke-dasharray: 5 4; }
.seattle-tree-round-title { position: absolute; top: 12px; font-size: 13px; font-weight: 850; text-align: center; }
.seattle-tree-match { position: absolute; border: 1px solid #b7aa9b; border-radius: 5px; background: #fff; overflow: hidden; box-shadow: 0 2px 4px #0000000c; box-sizing: border-box; }
.seattle-tree-match > header { height: 20px; padding: 3px 6px; background: #ebe5da; color: #483d33; font-size: 10px; font-weight: 800; line-height: 14px; box-sizing: border-box; }
.seattle-tree-slot { display: grid; grid-template-columns: 25px minmax(0,1fr) 35px; align-items: center; height: 34px; padding: 1px 6px; border-top: 1px solid #ddd4c7; box-sizing: border-box; }
.seattle-tree-slot > span { min-width: 0; }
.seattle-tree-slot strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 14px; }
.seattle-tree-slot small { display: block; font-size: 9px; line-height: 11px; color: #6b6055; }
.seattle-tree-seed { font-size: 10px; color: #716457; }
.seattle-tree-score { font-size: 14px; text-align: right; }
.seattle-tree-slot.winner { background: #fce8e4; color: #a00000; }
.seattle-tree-match > footer { height: 18px; padding: 2px 6px; font-size: 9px; line-height: 13px; white-space: nowrap; color: #6b6055; border-top: 1px solid #ddd4c7; box-sizing: border-box; }
.conditional-match { border-style: dashed; }
@media(max-width:780px) {
  .seattle-bracket-tabs button { flex: 1 1 130px; padding: .65rem; }
  .seattle-diagram-scroll { max-height: 60vh; }
}
@media print {
  .seattle-diagram-scroll { max-height: none; }
}
