.chess-round-end{overscroll-behavior:contain;color:#203648;background:#fffaf0;border:1px solid #af8d4f;border-radius:15px;width:min(90vw,900px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:auto;padding:0;font-family:inherit;position:fixed;inset:0;overflow:auto;box-shadow:0 15px 55px #091c2a65}.chess-round-end[open]{animation:.23s ease-out chess-end-arrival}.chess-round-end::backdrop{background:#0d2137b8}.chess-round-end-hero{isolation:isolate;text-align:center;color:#ffe3a5;background:linear-gradient(90deg,#133142cc,#183849e8 40%,#163445e8 60%,#183545ad),url(/royal-peaks.webp) 50% 46%/cover;border-bottom:4px solid #b49152;align-content:center;justify-items:center;gap:.35em;padding:clamp(26px,6vh,74px) 16px;display:grid;position:relative}.chess-round-end-hero:before{content:"";pointer-events:none;border:1px solid #e6c58278;border-radius:7px;position:absolute;inset:8px}.chess-round-end-hero small{font-size:clamp(1rem,2vw,1.65rem);line-height:1.3}.chess-round-end-hero h2{color:#fff4d6;letter-spacing:-.05em;margin:0;font-size:clamp(2.75rem,8vw,7rem);line-height:1.14}.chess-round-end-body{padding:clamp(16px,2.6vw,34px)}.chess-round-end-choices,.chess-round-end-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.4vw,16px);display:grid}.chess-round-end[open] .chess-round-end-choices{animation:.2s .24s backwards chess-end-choices-in}.chess-round-choice,.chess-round-team,.chess-round-tie,.chess-round-back{border-radius:7px;justify-content:center;align-items:center;gap:.45em;line-height:1.22;display:flex}.chess-round-choice,.chess-round-team{color:#fff8e9;background:#913e31;border:1px solid #723328;min-height:clamp(58px,9vh,82px);padding:.5em .7em;font-size:clamp(1.12rem,2.4vw,2.15rem)}.chess-round-choice:is([data-choice=extend],[data-choice=resume]){background:#285850;border-color:#254c50}.chess-round-choice svg,.chess-round-team svg{flex:none;width:1em;height:1em}.chess-round-end button:hover:enabled{filter:brightness(1.12)}.chess-round-end button:disabled{opacity:.6;cursor:default}.chess-round-step-head{align-items:center;gap:14px;margin-bottom:13px;display:flex}.chess-round-step-head h3{margin:0;font-size:clamp(1.2rem,2.4vw,2rem);line-height:1.2}.chess-round-step-head h3:focus,.chess-round-end-hero h2:focus{outline:none}.chess-round-back,.chess-round-tie{color:#28434a;background:#f7f2e6;border:1px solid #b3a58c;min-height:44px;padding:5px 12px;font-size:1rem}.chess-round-team{background:var(--side);border-color:var(--side);overflow-wrap:anywhere}.chess-round-tie{grid-column:1/-1;justify-self:center;min-width:7em}.chess-round-extension{grid-template-columns:auto minmax(4em,6em) minmax(0,1fr);align-items:center;gap:10px;display:grid}.chess-round-extension label{font-size:clamp(1rem,1.8vw,1.45rem)}.chess-round-extension input{text-align:center;width:100%;min-height:46px}.chess-round-extension button{justify-self:end;min-width:min(100%,9em)}.chess-round-end-notice{color:#87392c;text-align:center;margin-top:10px}@keyframes chess-end-arrival{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes chess-end-choices-in{0%{opacity:0}to{opacity:1}}@media (max-width:520px){.chess-round-end{width:calc(100vw - 24px)}.chess-round-end-hero{padding-block:30px}.chess-round-extension{grid-template-columns:1fr minmax(60px,5em)}.chess-round-extension button{grid-column:1/-1;width:100%}}@media (max-height:440px) and (orientation:landscape){.chess-round-end-hero{padding-block:15px}.chess-round-end-hero h2{font-size:2.8rem}.chess-round-end-body{padding:12px}.chess-round-team,.chess-round-choice{min-height:46px}}@media (prefers-reduced-motion:reduce){.chess-round-end[open],.chess-round-end[open] .chess-round-end-choices{animation:none}}
.chess-pick-celebration{--burst-width:clamp(40px,9vw,128px);grid-template-columns:var(--burst-width) minmax(0,auto) var(--burst-width);vertical-align:middle;align-items:center;max-width:100%;display:inline-grid}.chess-picked-name{overflow-wrap:anywhere;min-width:0}.chess-pick-burst{pointer-events:none;width:100%;height:auto;max-height:1.45em;display:block;overflow:hidden}.chess-pick-burst[data-side=right]{transform:scaleX(-1)}.chess-pick-paper,.chess-pick-streamer{opacity:0}.chess-pick-paper{animation:chess-pick-scatter 1.15s var(--chess-burst-delay) both}.chess-pick-streamer{stroke-dasharray:1 1;animation:chess-pick-ribbon .95s var(--chess-burst-delay) both}.chess-pick-glint{transform-origin:78px 52px;animation:chess-pick-spark .9s var(--chess-burst-delay) both}@keyframes chess-pick-scatter{0%{opacity:0;transform:scale(.3)}10%{opacity:1}58%{opacity:1;transform:translate(var(--paper-x),var(--paper-y)) rotate(var(--paper-spin))}to{opacity:0;transform:translate(var(--paper-x),calc(var(--paper-y) + 15px)) rotate(calc(var(--paper-spin) + 55deg)) scale(.8)}}@keyframes chess-pick-ribbon{0%{opacity:0;stroke-dashoffset:1px}12%{opacity:1}52%{opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-1px}}@keyframes chess-pick-spark{0%{transform:scale(.45)}22%{transform:scale(1.45)}75%{transform:scale(.85)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.chess-pick-paper,.chess-pick-streamer,.chess-pick-glint{animation:none}}
