@font-face{font-family:Barlow;src:url('/type/barlow-condensed.woff2') format('woff2');font-weight:700 900;font-display:swap}
@font-face{font-family:Geist;src:url('/type/geist.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Plex;src:url('/type/plex-mono.woff2') format('woff2');font-display:swap}
:root{color:#25192e;background:#fbefda;font:16px/1.46 Geist,system-ui,sans-serif;--ink:#25192e;--purple:#412858;--pink:#f8b6db;--yellow:#f8df70;--paper:#fff4df;--line:#a286a0;--orange:#954022;--mono:Plex,ui-monospace,monospace;--display:Barlow,Impact,Geist,sans-serif}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.49}
a{color:inherit;text-underline-offset:.21em}
a:hover{color:#803d76}
:focus-visible{outline:3px solid #a34621;outline-offset:3px}
.wrap{width:min(100% - 62px,1220px);margin-inline:auto}
.skip{position:absolute;top:0;left:8px;transform:translateY(-160%);background:white;padding:9px;z-index:3}
.skip:focus{transform:translateY(3px)}
.mast{background:#3f2754;color:#fff0cf;border-bottom:2px solid #291d37}
.mast-inner,.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:63px}
.brand{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font:830 27px/.98 var(--display);letter-spacing:-.042em;text-transform:uppercase;text-decoration:none}
.brand span{color:#f6dc78;margin-left:-3px}
.mast a:hover{color:#f6dc78}
.mast nav{display:flex;gap:22px}
.mast nav a,.footer>a:last-child{font-size:13px;font-weight:700;text-decoration:none}
.mast nav a:hover,.footer>a:last-child:hover{text-decoration:underline}
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:12px;align-items:center;background:#f5b8db;margin-block:13px 16px;border:2px solid var(--ink);box-shadow:5px 5px 0 #a184a4;padding:12px}
.hero-copy{padding:4px 0 6px 12px}
.eyebrow{font:12px/1.35 var(--mono);letter-spacing:.06em;text-transform:uppercase;margin:0 0 4px;color:#603863}
h1{font:850 clamp(58px,8.2vw,121px)/.84 var(--display);letter-spacing:-.04em;margin:0}
h1 span{color:#a7455b}
.hero p:not(.eyebrow){max-width:440px;color:#442a48;font-size:15px;margin:15px 0 8px}
.primary,.plain{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:37px;border:1px solid #473251;background:#f8ecd6;color:#3a2648;padding:6px 8px;text-decoration:none;font-size:13px;font-weight:750;line-height:1.3;white-space:nowrap}
.primary{color:#fff5d2;background:#412858;border-color:#412858}
.primary:hover:not(:disabled){background:#542e6b;color:#fff5db}
.plain:hover:not(:disabled){background:#f1d7ed}
.hero-image{margin:0;background:#f4b5d6;border:1px solid #573858;overflow:hidden}
.hero-image img{display:block;width:100%;height:clamp(212px,26vw,334px);object-fit:contain}
.tournament{scroll-margin-top:11px;border:2px solid var(--ink);background:#f8ecdc;margin-bottom:11px;box-shadow:5px 5px 0 #b99aa7}
.tournament-head,.instructions,.champion{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tournament-head{background:#f7de72;border-bottom:1px solid #8e6982;padding:7px 9px}
.nameplate h2,.champion h3,.round h3,dialog h2,.guide-grid h2{font:820 40px/.96 var(--display);margin:0;letter-spacing:-.03em;overflow-wrap:anywhere}
.nameplate p,.instructions p,.champion-copy>p:last-child{margin:2px 0 0;color:#533e56;font-size:12px}
.nameplate p strong{font-weight:780}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.tournament-head .plain{background:#faebbc}
.instructions{padding:5px 8px;border-bottom:1px solid #ac90a8}
.instructions p{margin:0}
.instructions .plain{min-height:29px;padding:4px 6px;font-size:11px}
.pick{position:relative;cursor:pointer}
.pick input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.pick:focus-within{outline:3px solid #a34621;outline-offset:2px}
.notice{margin:5px 8px 0;background:#fce4be;border-left:2px solid #a15736;padding:4px 6px;color:#5c3f48;overflow-wrap:anywhere;font-size:12px}
.notice:empty{display:none}
.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:8px}
.board[data-rounds="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.board[data-rounds="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.round{display:flex;flex-direction:column;min-width:0;background:#eddfdf;border:1px solid #b29bad;padding:4px 5px 5px}
.round h3{font-size:25px;padding:3px 4px 6px;color:#4c315d}
.matches{display:flex;flex:1;flex-direction:column;justify-content:space-around;gap:6px}
.match{position:relative;padding:4px;background:#fff3e1;border:1px solid #7e6580}
.round:not(:last-child) .match:after{position:absolute;content:"";height:1px;width:17px;background:#ad8aab;right:-18px;top:50%;pointer-events:none}
.match>p{font:10px/1.3 var(--mono);color:#70546e;margin:0 0 2px}
.contender{display:flex;align-items:center;gap:5px;background:#fff7e8;color:#3c284a;border:1px solid #c9afc2;padding:2px 4px;margin-top:3px;text-align:left;min-height:33px;width:100%;min-width:0}
.contender:disabled{opacity:.64}
.contender:not(:disabled):hover{background:#f4cde5}
.contender[aria-pressed=true]{background:#f5e29e;box-shadow:inset 3px 0 #81673e;border-color:#aa8a66}
.contender-name{font-size:13px;line-height:1.18;font-weight:720;overflow-wrap:anywhere;flex:1;min-width:0}
.contender small{font:10px/1.2 var(--mono);color:#6c5967}
.stamp{height:25px;width:25px;flex:0 0 25px;display:grid;place-items:center;background:#eedcf1;border:1px solid #bba6be;color:#5d3d69;font:12px/1 var(--mono);overflow:hidden}
.stamp img{height:100%;width:100%;object-fit:cover}
.round-tabs{display:none}
.champion{margin:0 8px 6px;background:#eadcef;border:1px solid #aa8fb0;padding:6px}
.champion.won{background:#f5d886;border-color:#997848}
#champion-pic .stamp{width:42px;height:42px;font-size:22px}
.champion-copy{flex:1;min-width:0}
.champion-copy .eyebrow{font-size:10px;margin:0}
.champion h3{font-size:28px}
.privacy{margin:0;padding:4px 8px 6px;color:#695366;font-size:11px}
.footer{min-height:51px;border-top:1px solid #c0a0b1;margin-block:18px 8px}
.footer .brand{font-size:20px}
.footer .brand img{width:26px;height:26px}
.footer .brand span{color:#733e71}
dialog{width:min(690px,calc(100% - 25px));max-height:85vh;background:#fff0d8;color:#4b3158;border:2px solid #3b2649;padding:12px}
dialog::backdrop{background:#201526be}
dialog header p{margin:4px 0 7px;color:#594459;font-size:13px}
.setup-fields{display:grid;grid-template-columns:1.4fr .55fr auto;gap:5px;align-items:end}
.field{display:flex;flex-direction:column;gap:3px;min-width:0}
.field span{font-size:12px;font-weight:690;color:#4f3b52}
.field input,.field select{width:100%;border:1px solid #a88aa5;background:#fff7e9;color:#37253d;min-height:37px;padding:5px;min-width:0;font-size:14px}
.slots{display:grid;gap:4px;margin-top:6px}
.slot{display:grid;grid-template-columns:27px minmax(0,1fr) auto auto;gap:4px;align-items:end;background:#f1e2da;border:1px solid #ccb0b0;padding:4px}
.slot .stamp{height:27px;width:27px;align-self:center;margin-top:12px}
.slot .pick{font-size:11px}
.text{background:none;border:0;color:#743b50;text-decoration:underline;font-size:11px;min-height:31px;padding:3px}
.dialog-actions{margin-top:7px;justify-content:end}
.error{color:#833219;margin:5px 0;font-size:13px}
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 19px}
.guide-grid article{border-bottom:1px solid #baa0aa;padding:9px 0}
.guide-grid h2{font-size:30px}
.guide-grid p{margin:5px 0 0;color:#523f54}
@media(max-width:900px){
 .wrap{width:calc(100% - 38px)}
 .hero-copy{padding-left:4px}
 .contender-name{font-size:12px}
 .board{gap:11px}
 .round:not(:last-child) .match:after{right:-15px;width:14px}
}
@media(max-width:680px){
 .wrap{width:calc(100% - 22px)}
 .mast-inner{min-height:51px}
 .brand{font-size:23px;gap:4px}.brand img{height:27px;width:27px}
 .mast nav{gap:7px}.mast nav a,.footer>a:last-child{font-size:11px}
 .mast nav span{display:none}
 .hero{padding:5px;margin-block:8px 12px;gap:5px}
 .hero-copy{padding:4px 0 4px 2px}
 h1{font-size:clamp(39px,11.2vw,69px)}
 .eyebrow{font-size:9px}
 .hero p:not(.eyebrow){margin:8px 0 5px;font-size:12px}
 .primary,.plain{font-size:11px;min-height:33px;padding:5px}
 .hero-image img{height:clamp(157px,45vw,225px);object-fit:cover}
 .tournament-head,.instructions{align-items:start;flex-wrap:wrap;gap:4px;padding:5px}
 .nameplate h2{font-size:34px}
 .round-tabs{display:flex;gap:3px;flex-wrap:wrap;padding:5px 5px 0}
 .round-tabs [aria-pressed=true]{background:#422b55;color:#fff3d9}
 .board,.board[data-rounds="2"],.board[data-rounds="4"]{grid-template-columns:1fr;padding:4px;gap:4px}
 .round[data-active=false]{display:none}
 .round:not(:last-child) .match:after{display:none}
 .round h3{font-size:24px}
 .champion{margin-inline:4px;gap:5px;flex-wrap:wrap}
 .champion h3{font-size:25px}
 .champion .primary{max-width:100%}
 .guide-grid{grid-template-columns:1fr}
 .setup-fields{grid-template-columns:1fr .78fr}
 .setup-fields .field:first-child{grid-column:1/-1}
 .slot{grid-template-columns:27px minmax(0,1fr) auto}
 .slot .thumb-remove{grid-column:2/-1;width:max-content;min-height:22px;padding:0}
}
