:root{font-family:Inter,system-ui,Arial,sans-serif;color:#1d2530;background:#f3f5f8}*{box-sizing:border-box}body{margin:0}header{background:#172333;color:white;display:flex;align-items:center;gap:1rem;padding:1rem max(1rem,calc((100vw - 1200px)/2))}header a{color:white;text-decoration:none}header .brand{font-size:1.25rem;letter-spacing:.08em;margin-right:auto}header strong{color:#ffbb45}header form{margin:0}main{max-width:1200px;margin:2rem auto;padding:0 1rem 4rem}h1{font-size:2rem;margin:.5rem 0}h2{font-size:1.25rem;margin-top:0}h3{margin-top:2rem}.lead{color:#586575}.grid,.columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem}.card{background:white;border:1px solid #dde2e9;border-radius:12px;padding:1.4rem;margin:1rem 0;box-shadow:0 2px 10px #1723330a}.competition{color:inherit;text-decoration:none}.competition:hover{border-color:#e59c24}.narrow{max-width:480px;margin:4rem auto}label{display:block;font-size:.9rem;font-weight:600;margin:.7rem 0}input,select{display:block;width:100%;border:1px solid #b9c4d1;border-radius:6px;padding:.6rem;margin-top:.3rem;font:inherit;background:white}button{background:#d5810c;border:0;border-radius:6px;color:#111;padding:.65rem 1rem;font:inherit;font-weight:700;cursor:pointer}button:hover{background:#f0a83d}header button{background:#314359;color:white}.danger{background:#f7d8d8;color:#8a1616}.error{padding:1rem;background:#ffdddd;border:1px solid #b54c4c;border-radius:6px}.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;padding:.6rem;border-bottom:1px solid #e2e6ec;vertical-align:top}th{background:#f4f6f9}td form{display:flex;align-items:end;gap:.4rem}td form label{min-width:75px;margin:0}td form input,td form select{min-width:75px}p,li{line-height:1.5}@media(max-width:600px){td form{display:block}header{flex-wrap:wrap}}
.category-list{list-style:none;padding:0}.category-list li{border-bottom:1px solid #e2e6ec;padding:.5rem 0}.category-row{display:flex;align-items:start;flex-wrap:wrap;gap:.5rem}.category-row>span{flex:1}.category-edit{min-width:2rem}.category-edit summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid #d4a056;border-radius:6px;color:#7a4804;background:#fff8ed;cursor:pointer;font-size:1.2rem}.category-edit summary::-webkit-details-marker{display:none}.category-edit summary:focus-visible{outline:2px solid #172333;outline-offset:2px}.category-edit[open]{flex-basis:100%}.category-edit form{padding:.75rem 0}.category-note{font-size:.85rem;color:#586575}
.fighter-edit-link{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid #d4a056;border-radius:6px;color:#7a4804;background:#fff8ed;text-decoration:none;font-size:1.2rem}.fighter-edit-link:focus-visible{outline:2px solid #172333;outline-offset:2px}#fighter-edit{scroll-margin-top:1rem}#fighter-edit form{max-width:680px}#fighter-edit form>a{margin-left:.75rem}
.notice{padding:1rem;background:#e7f5e9;border:1px solid #5b9363;border-radius:6px}.pending-account{border-top:1px solid #e2e6ec;padding:1rem 0}.pending-account p{overflow-wrap:anywhere}.pending-account button{margin-right:.5rem}
.fighter-remove-link{display:inline-block;margin-left:.5rem;color:#8a1616;font-weight:600}#fighter-removal{scroll-margin-top:1rem}#fighter-removal button{margin-right:.75rem}
.match-tabs{display:flex;gap:.35rem;overflow-x:auto;border-bottom:2px solid #d9e0e8;margin:1.5rem 0 1rem}.match-tabs a{display:inline-block;white-space:nowrap;padding:.75rem 1rem;color:#344256;text-decoration:none;font-weight:700;border-radius:8px 8px 0 0}.match-tabs a:hover,.match-tabs a:focus-visible{background:#fff2dd}.match-tabs a.active{background:#fff;color:#7a4804;box-shadow:inset 0 -3px #d5810c}
.result-save{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;flex:none}.result-save:focus-visible{outline:2px solid #172333;outline-offset:2px}
button:disabled{background:#d8dde4;color:#586575;cursor:not-allowed}
.round-groups li{margin:.45rem 0}.group-locked{display:inline-block;margin-left:.5rem;padding:.2rem .5rem;border-radius:5px;background:#fff0cf;color:#754800;font-size:.8rem;letter-spacing:.03em}
.order-arrow{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;font-size:1.25rem}.order-locked{display:inline-block;opacity:.55}
.fight-section th{background:#e8edf3;color:#344256;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}
.winner-select option.winner-red,.winner-select:has(option.winner-red:checked){color:#b4232c}
.winner-select option.winner-blue,.winner-select:has(option.winner-blue:checked){color:#1757b8}
.fighter-red{color:#b4232c;font-weight:700}.fighter-blue{color:#1757b8;font-weight:700}
.scoreboard-link{display:inline-block;background:#d5810c;border-radius:6px;color:#111;padding:.65rem 1rem;font-weight:700;text-decoration:none}.scoreboard-link:hover,.scoreboard-link:focus-visible{background:#f0a83d}
textarea{display:block;width:100%;border:1px solid #b9c4d1;border-radius:6px;padding:.6rem;margin-top:.3rem;font:inherit;background:white}.ability-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 1rem}
[hidden]{display:none!important}
.stripe-connected{display:inline-block;padding:.25rem .6rem;border-radius:999px;background:#dcf4e2;color:#17632a;font-weight:700}.card code{overflow-wrap:anywhere}.card summary{cursor:pointer;font-weight:700}
.entry-main{max-width:900px;margin:1rem auto;padding-bottom:2rem}.entry-main .card{margin:0}.entry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0 1rem}.entry-fighter{border:1px solid #d9e0e8;border-radius:10px;margin:1rem 0;padding:1rem}.entry-fighter legend{font-weight:700;padding:0 .4rem}.entry-remove{background:#f5e7e7;color:#7b2525}.entry-cart{margin:1.5rem 0;padding:1rem;border-radius:10px;background:#fff6e8;border:1px solid #e3bd7a}.entry-cart p{margin:.35rem 0}.entry-cart #cart-total{font-size:1.3rem}
.entry-confirm{display:flex;align-items:flex-start;gap:.6rem;margin:1rem 0}.entry-confirm input{width:auto;margin:.2rem 0 0}
.description-toolbar{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0}.description-toolbar button{background:#e8edf3;color:#172333;padding:.4rem .65rem}.description-surface{min-height:180px;border:1px solid #b9c4d1;border-radius:6px;padding:.8rem;background:#fff;line-height:1.5}.description-surface:focus{outline:2px solid #d5810c}.competition-description{margin:1.25rem 0;padding:1rem;border:1px solid #e2e6ec;border-radius:8px;overflow-wrap:anywhere}.competition-description img,.description-surface img{max-width:100%;height:auto;display:block;margin:.75rem 0}.competition-description h2,.competition-description h3{margin:1rem 0 .5rem}
.description-upload-status{min-height:1.5rem;color:#344256;font-size:.9rem}
.t-bracket{display:flex;gap:1rem;overflow-x:auto;padding:.5rem 0 1rem}.t-round{min-width:210px;flex:1}.t-round h3{margin:.4rem 0}.t-slot,.t-bout{border:1px solid #d9e0e8;border-radius:8px;padding:.7rem;margin:.5rem 0;background:#fff}.t-bout{margin:1rem 0}.t-bout form{margin:.5rem 0}.t-order-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:end}.t-order-actions form{display:flex;align-items:end;gap:.4rem}.t-order-actions label{min-width:120px}

/* Shared Kerpow admin identity. */
:root,body{background:#333333}header{background:#333333}header .brand{color:#fff}header .brand strong{color:#ff0000}main>h1,main>h2,main>p,main>.lead{color:#fff}.card{color:#1d2530}

.match-brand-logo{width:56px;height:56px;object-fit:contain;vertical-align:middle;border:0;margin-right:8px;flex-shrink:0}@media(max-width:600px){.match-brand-logo{width:42px;height:42px;margin-right:5px}}

header .brand{display:flex;align-items:center;gap:11px}header .brand .match-brand-logo{margin-right:0}header .brand .brand-words{display:block;margin:0;color:#fff;font-size:14px;font-weight:550;letter-spacing:2px;line-height:1.5}header .brand .brand-words strong{display:block;color:#ff0000;font-size:11px;letter-spacing:5.5px;line-height:1.5}@media(max-width:600px){header .brand .brand-words{font-size:12px}}

/* Identical Kerpow wordmark across products; custom club branding is separate. */
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body .brand:not(.club-brand){display:flex;align-items:center;gap:11px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;font-weight:550;line-height:1.5;letter-spacing:2px;color:#ffffff;white-space:nowrap;text-decoration:none}
body .brand:not(.club-brand)>span{display:block;margin:0;padding:0;color:#ffffff;font-family:inherit;font-size:14px;font-weight:550;line-height:1.5;letter-spacing:2px}
body .brand:not(.club-brand)>span>strong{display:block;margin:0;padding:0;color:#ff0000;font-family:inherit;font-size:11px;font-weight:700;line-height:1.5;letter-spacing:5.5px}
body .brand:not(.club-brand)>img{width:64px;height:64px;object-fit:contain;flex-shrink:0;margin:0;padding:0;border:0;border-radius:0}
@media(max-width:800px){body .brand:not(.club-brand)>img{width:48px;height:48px}body .brand:not(.club-brand),body .brand:not(.club-brand)>span{font-size:12px}}

/* Contrast for charcoal pages and white content surfaces. */
body{color:#f5f5f5}.card,.t-slot,.t-bout,.entry-cart,.description-surface{color:#1d2530}input,select,textarea{color:#1d2530}
main :where(h1,h2,h3,h4){color:inherit}main>h1,main>h2,main>h3{color:#fff}
main a:where(:not(.card):not(.scoreboard-link):not(.fighter-edit-link):not(.fighter-remove-link)){color:inherit}
.card a:where(:not(.scoreboard-link):not(.fighter-edit-link):not(.fighter-remove-link)){color:#18569a}
.lead{color:#ddd}.card .lead{color:#586575}
.match-tabs a{color:#eee}.match-tabs a:hover,.match-tabs a:focus-visible{background:#fff2dd;color:#344256}.match-tabs a.active{background:#fff;color:#754500}
.error,main>.error{color:#782222}.card .category-note,.card .description-upload-status{color:#526071}
@media print{body,main>h1,main>h2,main>h3,main>p,main>.lead{background:#fff;color:#111}.match-tabs a{color:#222}}
