:root{--firstPlaceBg: linear-gradient( rgba(230, 230, 0, .5), rgba(255, 255, 0, .3) );--secondPlaceBg: linear-gradient( rgba(180, 180, 180, .5), rgba(200, 200, 200, .3) );--thirdPlaceBg: linear-gradient( rgba(201, 120, 40, .5), rgba(205, 127, 50, .3) );--BLANKcolor: 53, 53, 53;--BLANKdrop: 17, 17, 17;--OKcolor: 9, 190, 54;--OKdrop: 0, 100, 0;--INI_OKcolor: 9, 190, 54;--INI_OKdrop: 0, 100, 0;--WAcolor: 220, 53, 69;--WAdrop: 139, 35, 45;--REcolor: 0, 123, 255;--REdrop: 7, 69, 136;--CEcolor: 195, 194, 196;--CEdrop: 112, 112, 112;--MLEcolor: 189, 97, 27;--MLEdrop: 121, 65, 21;--OLEcolor: 52, 58, 64;--OLEdrop: 41, 46, 51;--RVcolor: 160, 0, 0;--RVdrop: 112, 0, 0;--INI_ERRcolor: 160, 0, 0;--INI_ERRdrop: 112, 0, 0;--TLEcolor: 255, 162, 0;--TLEdrop: 153, 104, 51;--FROZENcolor: 45, 181, 181;--FROZENdrop: 48, 108, 108;--CHILLYcolor: 33, 206, 206;--CHILLYdrop: 33, 206, 206;--bombsBgColor: #888;--resultCellHeight: 42px;--resultCellWidth: 100%;--resultCellMargin: 4px 0px 4px 0px;--gridCellMin: 54px;--contestantImgWidth: 48px;--contestantImgHeight: 48px;--totalsScoreFontSize: 2.2rem;--totalsTimeFontSize: 1.5rem;--contestantNameWidth: 160px;--contestantNameSize: 1.6rem;--contestantTeamMemsSize: 1.2rem;--firstSolveColor: var(--OKcolor);--PENDINGcolor: 231, 231, 0;--submitTransparency: 1}html{scrollbar-color:#696969 #000b0e;scrollbar-gutter:stable;overflow-x:hidden}body{scroll-behavior:auto;background-color:#25252a;color:#fff;font-family:Lato,Arial,Helvetica,sans-serif;margin:0;padding:0}#debug{position:sticky;top:0;z-index:1000}.ranking-table{width:100%;height:1px;text-shadow:0px 1px 2px #000;margin:auto;border-collapse:collapse;text-align:center}.ranking-table tbody>tr{position:relative;border-top:1px solid rgba(130,130,130,.6)}.ranking-table thead>tr{background-color:#25252a;box-shadow:0 1px #828282cc;position:sticky;z-index:1000;top:0}.first-place{background-image:var(--firstPlaceBg);background-color:unset;background-repeat:no-repeat;background-origin:border-box}.second-place{background-image:var(--secondPlaceBg);background-color:unset;background-repeat:no-repeat;background-origin:border-box}.third-place{background-image:var(--thirdPlaceBg);background-color:unset;background-repeat:no-repeat;background-origin:border-box}.place{font-size:2rem;padding-left:8px}.place.selectable{cursor:pointer}.results-grid{display:grid;position:relative;grid-template-columns:repeat(var(--numOfTasks),1fr);gap:0px 4px;padding:0 4px}.results-grid--faded-bg{position:absolute;width:300px;height:200%;top:-50%;left:0;--mask-gradient: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 2%, rgba(255, 255, 255, 0) 100% );mask-image:var(--mask-gradient);-webkit-mask-image:var(--mask-gradient);clip-path:polygon(0% 25%,100% 25%,100% 75%,0% 75%);z-index:-1}.combined-info{grid-column:span var(--numOfTasks);display:flex;flex-direction:row;width:100%;justify-content:space-between;margin-top:4px}.contestant{justify-self:left!important;display:flex;flex-flow:row-reverse}.contestant__name{font-size:var(--contestantNameSize);font-weight:700;padding-left:8px;padding-right:8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;justify-content:center;flex-direction:column;align-items:start;display:flex}.contestant__team{font-size:var(--contestantTeamMemsSize);color:#aaa}.contestant__img{width:var(--contestantImgWidth);height:var(--contestantImgHeight);border-width:2px;border-style:solid;border-image:linear-gradient(#000,#111) 1;background-image:radial-gradient(circle at center bottom,#aaa,#000)}.totals{display:flex;flex-direction:row-reverse;padding-left:8px;padding-right:8px;align-items:center;justify-content:space-between;width:115px}.totals__score{padding-right:8px;padding-left:18px;font-size:var(--totalsScoreFontSize);font-weight:700}.totals__time{font-size:var(--totalsTimeFontSize)}.result-cell{--bg: var(--BLANKcolor);--drop: var(--BLANKdrop);box-sizing:border-box;margin:var(--resultCellMargin);position:relative;height:var(--resultCellHeight);width:var(--resultCellWidth);min-width:var(--gridCellMin);background-color:RGB(var(--bg));box-shadow:0 -3px RGB(var(--drop)) inset;text-shadow:.5px 1px 3px rgb(0,0,0);font-weight:700;font-size:1rem;line-height:1.05rem;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;border-radius:6px;transition-timing-function:linear;transition-duration:.25s;transition-property:background-color,box-shadow;align-items:center;align-self:center;justify-self:center;gap:0px 4px}.result-cell--OK{--bg: var(--OKcolor);--drop: var(--OKdrop)}.result-cell--WA{--bg: var(--WAcolor);--drop: var(--WAdrop)}.result-cell--RE{--bg: var(--REcolor);--drop: var(--REdrop)}.result-cell--TLE{--bg: var(--TLEcolor);--drop: var(--TLEdrop)}.result-cell--CE{--bg: var(--CEcolor);--drop: var(--CEdrop)}.result-cell--MLE{--bg: var(--MLEcolor);--drop: var(--MLEdrop)}.result-cell--OLE{--bg: var(--OLEcolor);--drop: var(--OLEdrop)}.result-cell--RV{--bg: var(--RVcolor);--drop: var(--RVdrop)}.result-cell--FROZEN{--bg: var(--FROZENcolor);--drop: var(--FROZENdrop)}.result-cell--trial{opacity:.8;filter:grayscale(.3) brightness(.8)}.result-cell__first-solve-badge{font-weight:1000;color:#ff0;width:1.6rem;height:1.6rem;position:absolute;z-index:100;left:-.1rem;top:-.1rem}.result-cell__status{font-size:1.4rem;font-weight:900}.result-cell__score{font-size:2rem}.result-cell__time{font-size:.9rem;color:#fffc;text-shadow:.5px 1px 1px rgba(0,0,0,.4)}.result-cell__bombs{font-weight:700;background-color:var(--bombsBgColor);color:#fff;border-radius:6px;position:absolute;z-index:4;right:-.1rem;top:-.1rem;padding:2px}.result-cell--header{--bg: 100, 100, 100;--drop: 70, 70, 70;height:30px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-shadow:none;margin-bottom:4px;font-size:1.2rem;text-transform:uppercase;font-weight:1000;flex-direction:row;justify-content:space-evenly}.result-cell--header-normal{background:none;height:30px;width:100%!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-shadow:none;margin-bottom:4px;font-size:1.4rem;text-transform:unset;padding-left:8px;padding-right:8px}.result-cell--INI_OK,.result-cell--INI_ERR{background:linear-gradient(#c3e65a,#28c44b);background-size:100% 1000%;--drop: none}.invisible{visibility:hidden}.submissions-list{font-size:1.1rem;width:100%;text-shadow:0px 1px 2px #000;text-align:center}.submit{border-bottom:1px solid rgba(130,130,130,.2);display:grid;grid-template-columns:5rem auto 15% 15%;grid-template-rows:auto 34px;justify-items:stretch;align-items:center}.submit__note{text-align:center;font-weight:700;font-style:italic;font-size:2rem;grid-column:span 4}.submit--first-solve{animation-name:firstsolvepulse;animation-duration:1.5s;animation-delay:0s;animation-iteration-count:10;animation-timing-function:ease-in-out;background-color:rgba(var(--firstSolveColor),.4)}.submit--new{animation-name:fadein;animation-duration:.4s;animation-delay:0s;animation-iteration-count:1;animation-timing-function:ease-in}.submit__time{font-size:1.2rem;grid-row:2}.submit__contestant{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;grid-row:2}.submit__task{text-transform:uppercase;font-weight:600;grid-row:2}.submit__status{font-weight:1000;font-size:1.2rem;--bg: 0, 0, 0;background-color:rgba(var(--bg),var(--submitTransparency));text-shadow:.5px 1px 3px rgb(0,0,0);grid-row:2;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;height:32px;border-radius:6px;position:relative}.submit__status--pending{background:unset}.submit__status--pending:before{content:" ";background:unset;opacity:0;animation-name:pending;animation-duration:1.3s;animation-delay:.3s;animation-iteration-count:infinite;animation-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:6px;z-index:-1}.submit__status--chilly{box-shadow:inset 0 0 3px 3px RGB(var(--CHILLYcolor)),0 0 3px 1px RGB(var(--CHILLYcolor))}.submit__status--OK{--bg: var(--OKcolor)}.submit__status--WA{--bg: var(--WAcolor)}.submit__status--RE{--bg: var(--REcolor)}.submit__status--TLE{--bg: var(--TLEcolor)}.submit__status--CE{--bg: var(--CEcolor)}.submit__status--MLE{--bg: var(--MLEcolor)}.submit__status--OLE{--bg: var(--OLEcolor)}.submit__status--RV{--bg: var(--RVcolor)}.submit__status--FROZEN{--bg: var(--FROZENcolor)}.submit__status--SE{--bg: 0, 0, 61}.submit__status--INI_OK,.submit__status--INI_ERR{background:linear-gradient(#c3e65a,#28c44b);background-size:100% 1000%;--drop: none}a:link,a:visited{text-decoration:inherit;color:inherit}@keyframes SEblink{50%{--bg: 52, 52, 247}}@keyframes fadein{0%{opacity:.1;border-bottom:1px solid rgba(130,130,130,0);transform:scale(.97) translateY(-25px)}60%{transform:scale(.97)}to{opacity:1;border-bottom:1px solid rgba(130,130,130,.2);transform:scale(1) translateY(0)}}@keyframes pending{0%{background:linear-gradient(to right,#ff0 0% 50%,#0000 0%);background-size:200% 200%;opacity:0;background-position:right}70%,to{background-position:left}60%{opacity:.5}to{background:linear-gradient(to right,#ff0 0% 50%,#0000 0%);background-size:200% 200%;opacity:0}}@keyframes firstsolvepulse{0%,to{background-color:rgba(var(--firstSolveColor),.4)}50%{background-color:rgba(var(--firstSolveColor),.1)}}
