:root{font-family:Inter,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142a3c;background:#f2f5f7;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #cbd5df;background:white;border-radius:7px;padding:11px 17px;color:#173448;font-weight:650}button:hover{border-color:#078bb3;background:#f0faff}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #0baddc;outline-offset:3px}header{height:88px;background:#071a2c;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 4.5%;border-bottom:4px solid #0da8d2}.wordmark{font-size:23px;letter-spacing:1.2px;font-weight:850;line-height:1.1;color:#fff;text-decoration:none}.wordmark b{color:#27c2e6}.wordmark span{display:block;font-size:12px;letter-spacing:3px;margin-top:9px;color:#a9bed0}.demo{border:1px solid #52697d;padding:7px 13px;border-radius:30px;font-size:14px}main{max-width:1536px;margin:auto;padding:34px 3% 0}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:13px;letter-spacing:2.8px;font-weight:750;color:#197593;margin:0 0 7px}h1{font-size:36px;letter-spacing:1px;margin:0 0 9px}p{line-height:1.65}.intro{margin:0;color:#596b79}.summary{text-align:right}.summary strong{display:block;font-size:30px;letter-spacing:1px}.summary span{color:#5b6e7c;font-size:14px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.view-buttons{display:flex;gap:6px;background:#e3e9ed;padding:5px;border-radius:10px}.view-buttons button{background:transparent;border:0}.view-buttons .active{background:#fff;box-shadow:0 2px 5px #0b233516}.legend{font-size:14px;color:#536777;display:flex;gap:8px;align-items:center}.legend i{width:9px;height:9px;background:#098aa4;border-radius:50%}.notice{font-size:13px;color:#677987;margin:18px 0 12px}.board-scroll{overflow-x:auto;background:#071a2c;border-radius:12px 12px 0 0}.board{position:relative;width:1380px;height:605px;margin:auto;color:#fff;background:radial-gradient(ellipse at center,#103c50 0%,#071a2c 60%)}.round-labels{position:absolute;left:20px;right:20px;top:27px;display:grid;grid-template-columns:repeat(7,170px);gap:25px;font-size:14px;text-align:center;color:#afc0ce;letter-spacing:1px}.final-label{color:#77dcf1;font-weight:800;line-height:1.5}.board svg{position:absolute;left:0;top:0;pointer-events:none}.match{position:absolute;width:170px;padding:0;border:1px solid #476072;background:#102c3e;border-radius:7px;color:#fff;text-align:left;box-shadow:0 8px 25px #0002;overflow:visible;transition:background .25s,border-color .25s}.match:hover{background:#16384f;border-color:#44c1e1}.match.final{border-color:#35c6df;box-shadow:0 0 32px #09a2b324}.match .meta{position:absolute;top:-25px;font-size:12px;color:#afc0ce;width:100%;display:flex;justify-content:space-between;padding:0 1px}.team{min-height:43px;padding:9px 11px;display:flex;align-items:center;gap:5px;font-size:14px;font-weight:550}.team+.team{border-top:1px solid #365163}.team strong{margin-left:auto;font-variant-numeric:tabular-nums;font-size:18px}.team.winner{background:#12576b;color:#fff;font-weight:800}.team.pending{color:#a2b6c6;font-size:13px}.team.loser{color:#96a9b8}.champion{position:absolute;top:414px;left:510px;width:360px;text-align:center}.champion span{display:block;letter-spacing:4px;font-size:12px;color:#79d9e9;margin-bottom:12px}.champion strong{font-size:23px;font-weight:650}.side-label{position:absolute;bottom:32px;color:#688294;font-size:13px;letter-spacing:4px}.side-label.left{left:30px}.side-label.right{right:30px}.board-footer{background:white;border:1px solid #dce3e9;border-top:0;padding:17px 20px;border-radius:0 0 12px 12px;display:flex;gap:15px;justify-content:space-between;font-size:13px;color:#607381}.score-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:8px 0 20px}.score-top h2{margin:0;font-size:23px}.score-top p{margin:5px 0 0;color:#5d7180}.primary{background:#077f9d;color:white;border-color:#077f9d}.primary:hover{background:#08647e;color:white}.table-scroll{overflow:auto;border:1px solid #dce4ea;border-radius:10px;background:white}table{width:100%;border-collapse:collapse;min-width:750px}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid #e4eaf0}th{font-size:14px;color:#526979;background:#edf2f5}td{font-size:14px}td:first-child{color:#5a7180;font-weight:650}input[type=number]{width:70px;border:1px solid #b8c9d4;border-radius:5px;padding:9px;background:#f9fbfc;text-align:center}input:disabled,select:disabled{background:#edf0f2;color:#7e8a94}select{border:1px solid #b8c9d4;border-radius:5px;padding:9px;background:white;font-size:14px}.hint{font-size:13px;color:#617582}details{background:white;border:1px solid #dce4ea;border-radius:10px;margin-top:25px;padding:20px}summary{cursor:pointer;font-weight:700}details p{font-size:14px;color:#5d7180}code{font-size:14px;display:block;overflow:auto;background:#edf3f6;padding:12px}textarea{width:100%;display:block;margin:12px 0;border:1px solid #bdcdd8;border-radius:7px;padding:12px;font-size:14px}.import-actions{display:flex;gap:10px;flex-wrap:wrap}#message{margin-top:16px;min-height:24px;font-size:14px;font-weight:650;color:#087388}#message.error{color:#ad2534}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0 30px;color:#637887;font-size:13px}footer button{font-size:13px;padding:8px 12px}.highlight{animation:flash 1.8s ease}@keyframes flash{0%,40%{background:#c3f0fa}100%{background:transparent}}@media(min-width:1500px){.board{width:1380px}}@media(max-width:700px){header{height:76px;padding:0 5%}.wordmark{font-size:18px}.wordmark span{font-size:10px}.demo{font-size:12px}main{padding:25px 4% 0}h1{font-size:29px}.summary strong{font-size:25px}.toolbar{align-items:flex-start;flex-direction:column}.legend{font-size:13px}.notice{font-size:12px}.board-footer{flex-direction:column;gap:5px;padding:13px}.score-top{align-items:flex-start}.score-top p{font-size:14px}.score-top button{white-space:nowrap;font-size:14px}footer{align-items:flex-start}footer span{max-width:180px}.heading{margin-bottom:23px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.game-start td{border-top:2px solid #bdced9}.total{font-size:21px;font-weight:800;color:#087c98;font-variant-numeric:tabular-nums;background:#edf8fb}.total small{display:block;font-size:12px;font-weight:400;color:#647681}td[rowspan]{vertical-align:middle}#score-rows td{padding:10px 12px}#score-rows input{width:64px}table{min-width:790px}
.team-logo{width:28px;height:28px;min-width:28px;border-radius:5px;object-fit:contain;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;background:#fff;color:white;font-size:17px;font-weight:900;line-height:1;border:1px solid #ffffff35}.letter-logo{font-style:italic;letter-spacing:-1px}.empty-logo{background:#203f53;color:#9db5c5}.team{padding:7px;gap:7px;min-height:43px}.team .team-logo{width:25px;height:25px;min-width:25px;font-size:16px}.team-name{font-size:13px}.team strong{font-size:17px}.score-team{display:flex;align-items:center;gap:9px;white-space:nowrap}.champion strong{display:flex;align-items:center;justify-content:center;gap:10px}.signin{color:white;border:1px solid #517188;border-radius:6px;padding:9px 13px;text-decoration:none;font-size:14px}.admin-label{font-size:14px;color:#83d9ea}#logo-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 35px}.logo-item{background:white;border:1px solid #d6e1e8;border-radius:9px;display:flex;align-items:center;gap:10px;padding:16px;flex-wrap:wrap}.logo-item>.team-logo{width:42px;height:42px;font-size:25px}.logo-item strong{flex:1}.file-button{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #b8cad4;border-radius:6px;font-size:13px;font-weight:650;cursor:pointer}.file-button input{position:absolute;width:1px;height:1px;opacity:0}.file-button:focus-within{outline:3px solid #0baddc}.remove-logo{font-size:12px;padding:6px 9px}.embed-options,#legacy-panel{border:1px solid #d6e1e8;border-radius:10px;background:white;padding:24px;margin:20px 0}.embed-options h3{margin-top:0}.embed-options textarea{font-family:ui-monospace,monospace;font-size:13px;background:#f3f7fa}.import-actions a{align-self:center;color:#087895;font-weight:650}#sync-status{color:#486676;font-size:13px;margin:15px 0}#sync-status.error{color:#a22e35}.quarter-value{font-size:18px;font-variant-numeric:tabular-nums}.readonly #apply,.readonly #reset,.readonly .edit-only{display:none}.readonly .score-top p{display:none}.embed header,.embed .heading,.embed .toolbar,.embed .notice,.embed footer,.embed #settings-view,.embed .hint,.embed .score-top,.embed .board-footer,.embed #message:empty{display:none!important}.embed main{max-width:none;padding:8px}.embed .board-scroll{border-radius:10px}.embed #sync-status{margin:8px;font-size:12px}.embed #score-rows td{padding:8px 12px}.embed .match{cursor:default}.embed .table-scroll{border-radius:8px}.embed .board{height:605px}.embed [hidden]{display:none!important}@media(max-width:1000px){#logo-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){#logo-list{grid-template-columns:1fr}.view-buttons{flex-wrap:wrap}.view-buttons button{font-size:14px;padding:10px}.signin{font-size:12px;padding:7px}.admin-label{font-size:12px}.embed-options{padding:16px}}

.team-name-field{flex:1;min-width:150px;display:grid;gap:6px}.team-name-field span{font-size:12px;color:#5a7181}.team-name-field input{width:100%;min-width:0;border:1px solid #b8cad4;border-radius:5px;padding:9px 10px;font-size:16px;color:#142a3c}.draft-logo .team-logo{width:42px;height:42px;font-size:25px}.team-save-bar{display:flex;align-items:center;gap:15px;margin:0 0 25px;position:sticky;bottom:0;background:#f2f5f7;padding:15px 0;z-index:2;border-top:1px solid #d6e1e8}#team-save-status{font-size:14px;color:#126d83}.team-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team strong{flex-shrink:0}.score-team{white-space:normal;min-width:150px;overflow-wrap:anywhere}#champion{overflow-wrap:anywhere}.logo-item{align-content:start}.logo-item .file-button{margin-left:0}@media(max-width:650px){.team-save-bar{align-items:flex-start;flex-direction:column;gap:9px}}

/* Compact results strip, designed to be embedded above a host site's content. */
.results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.results-heading h2{font-size:18px;margin:0;color:#142a3c}.results-navigation{display:flex;gap:6px}.results-navigation button{padding:4px 12px;min-height:34px;font-size:18px;border-radius:4px}.results-navigation button:disabled{opacity:.4}
#result-cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 3px 12px;overscroll-behavior-x:contain;scrollbar-color:#9badba transparent;scrollbar-width:thin}.result-card{flex:0 0 310px;min-width:0;background:white;border:1px solid #cdd6dd;border-top:3px solid #12394c;padding:17px 18px 15px;scroll-snap-align:start;color:#172832;display:flex;flex-direction:column}.result-meta{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#667681;font-weight:650}.result-live{color:#bc3438}.result-scoreline{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:18px 0 15px;border-bottom:1px solid #d9dfe3}.result-scoreline .team-logo{width:43px;height:43px;min-width:43px;font-size:28px;flex-shrink:0}.result-scoreline strong{font-size:30px;line-height:1.2;font-weight:850;letter-spacing:-1px;font-variant-numeric:tabular-nums}.result-scoreline .result-loser{color:#7a848c}.result-dash{font-size:22px}.result-card h3{font-size:16px;line-height:1.5;margin:12px 0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}.result-card h3>span:not(.result-versus){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.result-card h3>span:last-child{text-align:right}.result-versus{color:#71818e;font-size:12px;font-weight:500}
.result-quarters{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse}.result-quarters th,.result-quarters td{padding:5px 2px;text-align:center;font-size:14px;background:white;border-bottom:1px solid #edf0f2;font-variant-numeric:tabular-nums;color:#243e4e;font-weight:500}.result-quarters thead th{font-size:12px;color:#667681;background:#f2f5f7}.result-quarters th:first-child{width:30%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-quarters .result-total{font-weight:800}.result-link{color:#087b96;font-size:14px;font-weight:750;text-decoration:none;display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:2px}.result-link:hover{text-decoration:underline}.results-embed{background:transparent}.results-embed main{padding:10px 8px 0}.results-embed #sync-status{margin:4px 3px;font-size:12px}.results-embed #message{margin:0 3px;font-size:12px;min-height:0}.results-embed #results-view{margin:0}.results-embed #result-cards{padding-bottom:10px}@media(max-width:400px){.result-card{flex-basis:290px;padding:15px}.results-heading h2{font-size:16px}}

/* Fixture metadata stays attached to its match in every view. */
.match-info{display:grid;gap:4px;font-size:12px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.match-info .bowl-name{font-size:14px;font-weight:700;line-height:1.5}
.match .match-info{padding:8px;border-top:1px solid #365163;color:#bacfdc}
.match .bowl-name{color:#eefaff}.match .match-info>span,.match .bowl-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match .match-info>span[title]{cursor:help}
.champion{top:500px}.side-label{top:83px;bottom:auto}
#score-rows td[rowspan]:first-child{min-width:235px;width:235px}
#score-rows .match-info{margin-top:9px;color:#526979;font-size:13px}
.result-card .match-info{margin-top:12px;padding-top:10px;border-top:1px solid #d9dfe3;color:#526979;min-height:83px}
.result-card .bowl-name{color:#173448}.result-link{margin-top:auto;padding-top:14px}
#match-info-list{display:grid;gap:15px;margin:20px 0}
.fixture-editor{margin:0;min-width:0;padding:18px;border:1px solid #d6e1e8;border-radius:9px;background:#fff}
.fixture-editor legend{font-weight:700;font-size:14px;padding:0 7px}.fixture-editor p{margin:0 0 12px;color:#526979;font-size:14px}
.fixture-fields{display:grid;grid-template-columns:1.1fr .8fr 1.6fr 1.6fr;gap:14px}
.fixture-fields label{display:grid;gap:7px;min-width:0;font-size:14px;color:#365163}
.fixture-fields input{width:100%;min-width:0;border:1px solid #b8cad4;border-radius:5px;padding:10px;color:#142a3c;background:white;font-size:16px}
#match-info-status{font-size:14px;color:#126d83}
@media(max-width:900px){.fixture-fields{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.fixture-fields{grid-template-columns:1fr}.fixture-editor{padding:14px}}

.champion strong.champion-tagline{font-size:20px;line-height:1.5;font-weight:550;letter-spacing:.3px}

.final-label{display:flex;flex-direction:column;align-items:center;gap:9px}.bowl-brand-logo{display:block;width:190px;height:179px;max-width:none;object-fit:contain;background:transparent;border-radius:0;box-shadow:none}

/* Reference bracket: four seeds merge progressively above a separate two-seed quarterfinal. */
.board,.embed .board{width:1800px;height:880px}.bracket-brand{position:absolute;left:805px;top:20px;width:190px}.bracket-brand .bowl-brand-logo{width:190px;height:179px}
.board .champion{top:800px;left:720px;width:360px}.entrant{position:absolute;width:155px;min-height:54px;border:2px solid #b7dfed;border-radius:8px;background:#087f9f;display:flex;align-items:center;gap:8px;padding:9px;color:#fff}
.entrant.right{background:#991154;border-color:#e4c2d8}.entrant>span:not(.team-logo){min-width:0;flex:1}.entrant strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.entrant small{font-size:12px;display:block;margin-top:4px;color:#e1f4fd}.entrant .team-logo{flex-shrink:0}
.branch-match{position:absolute;width:135px;padding:0 3px;border:0;border-radius:4px;background:#071a2c;color:#e7f4fc;display:grid;gap:2px;text-decoration:none;line-height:1.25;text-align:center;font-weight:400;box-shadow:none}
.branch-match:hover{background:#11364b;outline:1px solid #48b5d0}.branch-status{font-size:12px;color:#adc8d7;white-space:nowrap;letter-spacing:-.4px}.branch-score{display:flex;align-items:center;justify-content:center;gap:7px;height:24px}.branch-score>span{display:flex;align-items:center;gap:5px}.branch-score b{font-size:18px;font-variant-numeric:tabular-nums}.branch-score i{font-size:12px;font-style:normal;color:#a2bbc9}.branch-score .team-logo{width:20px;height:20px;min-width:20px;font-size:13px}
.branch-date{font-size:12px;white-space:nowrap}.branch-bowl{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-venue{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.board a.match{text-decoration:none}.embed .board-scroll{padding-bottom:6px}

/* Square team marks across bracket seeds and match scores. */
.board .team-logo{border-radius:0;aspect-ratio:1;flex-shrink:0}

/* A placeholder mark is a fixed square, never a growing flex child. */
.entrant .team-logo{flex:0 0 28px;width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;padding:0;border-radius:0}

.draft-logo:empty{display:none}
