.contest-participant-profile,.contest-surface{--contest-ink:#151d23;--contest-on-ink:#ffffff}.contest-shell{padding-block:24px}.contest-context-menu{max-height:min(100%,calc(100dvh - var(--page-aside-top, 133px) - 104px));overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.contest-context-title{display:block;word-break:keep-all;overflow-wrap:anywhere;font-size:21px;font-weight:750;line-height:1.38;letter-spacing:-.025em}.contest-context-phase{display:flex;align-items:center;gap:6px;margin-top:10px;color:rgb(var(--primary-variant));font-size:13px;font-weight:650}.contest-context-phase svg{flex-shrink:0}.contest-context-timer{--primary-variant:39 204 223;--text-subtle:184 198 208;margin-top:20px;padding:12px;background:var(--contest-ink)}.contest-context-timer>span{display:block;color:rgb(var(--text-subtle));font-size:13px}.contest-context-strip-clock>strong,.contest-context-timer>strong{color:rgb(var(--primary-variant));font-family:var(--font-contest-display);font-size:28px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:0;white-space:nowrap}.contest-context-timer>strong{display:block;margin-top:4px}.contest-context-ending{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px;margin-top:14px;padding-bottom:19px;border-bottom:1px solid rgb(var(--border));font-size:13px;line-height:1.55}.contest-context-ending dt{color:rgb(var(--text-subtle))}.contest-context-ending dd{min-width:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.contest-context-ending dd>span{display:block}.contest-context-problems{margin-top:19px}.contest-context-problems-title{margin-bottom:9px;color:rgb(var(--text-subtle));font-size:13px;font-weight:600}.contest-context-problem{display:grid;grid-template-columns:24px minmax(0,1fr) 14px;align-items:center;gap:7px;min-height:54px;padding:9px 8px;color:rgb(var(--text));font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.contest-context-problem+.contest-context-problem{margin-top:4px}.contest-context-problem:hover{background:rgb(var(--surface-muted))}.contest-context-problem[aria-current=location]{--primary-variant:39 204 223;background:var(--contest-ink);color:var(--contest-on-ink)}.contest-context-problem-number{color:rgb(var(--primary-variant));font-family:var(--font-contest-display);font-size:27px;font-weight:900;line-height:1}.contest-context-problem:not([aria-current=location])>svg{visibility:hidden}.contest-context-problem:focus-visible{outline:2px solid rgb(var(--primary-variant));outline-offset:-2px}.contest-context-strip{justify-content:space-between;gap:14px 24px;padding:17px 20px;background:rgb(var(--surface-muted)/.4)}.contest-context-strip-identity{flex:1 1 210px;min-width:0}.contest-context-strip-identity>strong{display:block;word-break:keep-all;overflow-wrap:anywhere;font-size:16px;font-weight:750;line-height:1.4}.contest-context-strip-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:5px;color:rgb(var(--text-subtle));font-size:13px}.contest-context-strip-clock{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}.contest-context-strip-clock>span{color:rgb(var(--text-subtle));font-size:13px}.contest-context-strip-clock>strong{min-width:0;font-size:30px}@media (min-width:1280px) and (max-width:1559px){.contest-problem-navigation,.contest-shell-frame:has([data-contest-problem-heading])>.contest-shell-overview{max-width:900px}}.contest-problem-heading{--primary:39 204 223;--on-brand:6 37 45}.contest-problem-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 16px;padding-bottom:8px;border-bottom:1px solid rgb(var(--border-subtle));font-size:14px}.contest-problem-navigation nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin-inline-start:auto}.contest-problem-back,.contest-problem-navigation nav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:rgb(var(--text-subtle))}.contest-problem-navigation nav a{padding-inline:14px;font-weight:600}.contest-problem-navigation a:hover{color:rgb(var(--text))}.contest-problem-navigation nav a[aria-current=page]{background:var(--contest-ink);color:var(--contest-on-ink)}.contest-problem-heading>header{margin-bottom:24px}.contest-problem-heading>header>div:first-child{padding-block:16px}.contest-problem-heading dl{--problem-facts-ink:var(--contest-ink);--problem-facts-on-ink:var(--contest-on-ink);--problem-facts-ink-muted:#b8c6d0}.contest-problem-primary{justify-content:space-between;width:260px;height:48px;min-height:48px;padding:0 20px;border:0;border-radius:0;clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%);color:rgb(var(--on-brand));font-size:15px}@media (max-width:639px){.contest-problem-heading>header>div:first-child{row-gap:40px}.contest-problem-primary{width:100%}}.contest-section-heading{position:sticky;top:0;z-index:30;display:flex;flex:none;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px;padding-bottom:22px;background:rgb(var(--background))}.contest-section-heading:before{position:absolute;z-index:-1;inset:-4px 0 0;background:inherit;content:""}.contest-section-heading-aside{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}.contest-section-action{min-width:140px;min-height:44px}.contest-list-heading{--text:255 255 255;--text-subtle:184 198 208;--primary-variant:39 204 223;min-width:0;padding:16px 20px;background:var(--contest-ink);color:var(--contest-on-ink)}.contest-message{min-width:0;padding-block:24px;border-top:1px solid rgb(var(--border))}.contest-message:last-child{padding-bottom:0}.contest-message-heading h2{min-width:0;overflow-wrap:anywhere;word-break:keep-all;font-size:19px;font-weight:700;line-height:1.5}.contest-message-title-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 16px}.contest-message-title-row h2{flex:1 1 260px}.contest-message-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:7px;color:rgb(var(--text-subtle));font-size:13px;line-height:1.5;overflow-wrap:anywhere}.contest-message-meta>*{min-width:0}.contest-message-meta time,.contest-question-answer-heading time{font-variant-numeric:tabular-nums}.contest-message-visibility,.contest-question-answer-heading strong,.contest-question-status{display:inline-flex;align-items:center;gap:5px}.contest-message svg{flex-shrink:0}.contest-message-own{color:rgb(var(--text));font-weight:600}.contest-message-body{min-width:0;margin-top:15px;color:rgb(var(--text));font-size:16px;line-height:1.8;overflow-wrap:anywhere}.contest-message-body :is(.md-p,.md-ul,.md-ol){color:inherit;font-size:inherit;line-height:inherit}.contest-message-body>div>:first-child{margin-top:0}.contest-message-body>div>:last-child{margin-bottom:0}.contest-message-body :not(pre)>.md-inline-code{white-space:normal;overflow-wrap:anywhere}.contest-question-status{padding:3px 8px;border-radius:3px;background:rgb(var(--brand-primary-soft)/.6);color:rgb(var(--brand-primary-strong));font-size:13px;font-weight:600;line-height:1.6;white-space:nowrap}.contest-question-status[data-answered=false]{background:rgb(var(--secondary)/.12);color:rgb(var(--secondary-variant))}.contest-question-answer{margin-top:18px;padding:16px 18px;background:rgb(var(--brand-primary-soft)/.6)}.contest-question-answer-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 14px;color:rgb(var(--brand-primary-strong));font-size:13px}.contest-question-answer-heading strong{gap:7px;font-size:14px;font-weight:700}.contest-question-answer p{margin-top:9px;color:rgb(var(--text));font-size:16px;line-height:1.75;overflow-wrap:anywhere}.contest-question-management{margin-top:20px}.contest-message-form{display:flex;max-width:720px;flex-direction:column;gap:16px;padding:20px;background:rgb(var(--surface-raised))}.contest-message-form-title{font-size:18px;font-weight:700}.contest-message-form :is(input,textarea){font-size:16px}.contest-submission-row{min-height:62px}@media (max-width:600px){.contest-section-heading{padding-bottom:16px}.contest-section-heading-aside{width:100%;justify-content:flex-end;gap:12px}.contest-list-heading{padding:16px}.contest-message-heading h2{font-size:18px}.contest-message-form,.contest-question-answer{padding:14px}}[data-public-shell=workspace] .contest-page-shell,[data-public-shell=workspace] .contest-surface{height:100%;min-height:0}[data-public-shell=workspace] .contest-page-shell{display:flex;flex-direction:column}[data-public-shell=workspace] .contest-page-shell>nav{flex-shrink:0}[data-public-shell=workspace] .contest-page-body{flex:1;min-height:0}[data-public-shell=workspace] .contest-shell{height:100%;min-height:0;padding-block:24px}[data-public-shell=workspace] .contest-shell-frame{display:flex;height:100%;min-height:0;flex-direction:column}[data-public-shell=workspace] .contest-shell-frame>:not(.contest-shell-content){flex-shrink:0}[data-public-shell=workspace] .contest-shell-content{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px;margin:-4px}[data-public-shell=workspace] .contest-shell-content:has(.contest-section-heading){scroll-padding-top:calc(var(--contest-section-height) + 8px)}[data-public-shell=workspace] .contest-shell-sidebar{overflow-y:auto;overscroll-behavior:contain}[data-public-shell=workspace] .contest-context-menu{top:0}.contest-shell-overview:focus-visible{outline:2px solid rgb(var(--primary-variant));outline-offset:-2px}@media (max-height:640px){[data-public-shell=workspace] .contest-shell:has(.contest-section-heading){padding-block:12px}[data-public-shell=workspace] .contest-shell-frame:has(.contest-section-heading)>.contest-shell-overview{max-height:25%;margin-bottom:12px;padding-block:8px;overflow:auto;overscroll-behavior:contain}[data-public-shell=workspace] .contest-section-heading{gap:8px 16px;padding-bottom:12px}[data-public-shell=workspace] .contest-section-heading [data-selection-title] h1{font-size:40px}[data-public-shell=workspace] .contest-page-shell:not(:has(.contest-section-heading)),[data-public-shell=workspace] .contest-page-shell:not(:has(.contest-section-heading)) :is(.contest-shell,.contest-shell-frame,.contest-shell-content){height:auto}[data-public-shell=workspace] .contest-page-shell:not(:has(.contest-section-heading)) .contest-shell-content{overflow:visible}}@media (max-width:600px) and (max-height:480px){[data-public-shell=workspace] .contest-shell:has(.contest-section-heading){padding-block:4px}[data-public-shell=workspace] .contest-shell-frame:has(.contest-section-heading)>.contest-shell-overview{max-height:20%;margin-bottom:8px}[data-public-shell=workspace] .contest-section-heading{flex-wrap:nowrap;align-items:center;gap:8px;padding-bottom:8px}[data-public-shell=workspace] .contest-section-heading [data-selection-title] h1{font-size:28px}[data-public-shell=workspace] .contest-section-heading [data-selection-title] h1>span{padding-inline:12px}[data-public-shell=workspace] .contest-section-heading-aside{width:auto;max-width:45%;flex-direction:column;align-items:flex-end;gap:0}[data-public-shell=workspace] .contest-section-action{min-width:0;padding:4px 12px;white-space:normal}}.contest-home-problems-heading{margin-bottom:12px;font-size:28px;font-weight:800;line-height:1.3}.contest-home-problems{display:grid;gap:8px}.contest-home-participants{margin-top:32px}.contest-home-participant-list{display:flex;flex-wrap:wrap;gap:0 30px;margin-top:12px}.contest-home-participant-list li{min-width:0;max-width:100%}.contest-home-participant-link{display:inline-flex;align-items:center;min-height:44px;padding-block:8px;color:rgb(var(--text));font-size:15px;font-weight:600;line-height:1.8;text-decoration:none;overflow-wrap:anywhere}.contest-home-participant-link:focus-visible{outline:2px solid rgb(var(--primary));outline-offset:4px}.contest-participant-profile{z-index:70;width:min(280px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid rgb(var(--border-subtle));background:rgb(var(--surface-panel));color:rgb(var(--text));font-size:14px;line-height:1.5;animation:contest-participant-profile-reveal .18s cubic-bezier(.16,1,.3,1) both}.contest-participant-profile-heading{position:relative;display:flex;align-items:center;gap:12px;padding:14px 28px 14px 16px;background:var(--contest-ink);color:var(--contest-on-ink)}.contest-participant-profile-heading:after{position:absolute;inset:0 0 0 auto;width:18px;background:#27ccdf;clip-path:polygon(70% 0,100% 0,100% 100%,0 100%);content:""}.contest-participant-profile-heading>div{flex-shrink:0}.contest-participant-profile-heading strong{min-width:0;overflow-wrap:anywhere}.contest-participant-profile-stats{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:14px 16px}.contest-participant-profile-stats>div{min-width:0}.contest-participant-profile-stats dt{color:rgb(var(--text-subtle));font-size:13px}.contest-participant-profile-stats dd{margin-top:4px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.contest-participant-profile-stats .contest-participant-profile-rating{font-family:var(--font-contest-display);font-size:28px;font-weight:900;line-height:1}.contest-participant-profile-message{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 16px 14px;color:rgb(var(--text-subtle));overflow-wrap:anywhere}@keyframes contest-participant-profile-reveal{0%{opacity:0}to{opacity:1}}.contest-choice{display:grid;width:100%;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:28px;min-height:92px;padding:16px 32px;border-bottom:1px solid rgb(var(--border-subtle));background:rgb(var(--surface-panel));text-align:left}a.contest-choice:is(:hover,:focus-visible){border-color:rgb(var(--primary-variant)/.4);background:rgb(var(--primary)/.1)}.contest-choice-number{padding-inline-end:24px;border-inline-end:1px solid rgb(var(--border-subtle));color:rgb(var(--primary-variant));font-family:var(--font-contest-display);font-size:56px;line-height:1;text-align:center;overflow-wrap:anywhere}.contest-choice-title{display:block;font-size:20px;font-weight:700;line-height:1.4}.contest-choice-mode{margin-top:4px;color:rgb(var(--text-subtle));font-size:14px}.contest-choice-action{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600}.contest-problem-empty{position:relative;min-width:0;overflow:hidden;padding:2rem;background:rgb(var(--surface-muted)/.5)}.contest-problem-empty:before{position:absolute;inset:0 0 0 56%;background:rgb(var(--primary)/.07);clip-path:polygon(50% 0,100% 0,100% 100%,0 100%);content:"";pointer-events:none}.contest-problem-empty>*{position:relative}.contest-surface :is(a,button,summary):focus-visible{outline:2px solid rgb(var(--primary-variant));outline-offset:4px}@media (max-width:767px){.contest-problem-empty{padding:1.25rem}.contest-home-problems-heading{font-size:24px}.contest-choice{grid-template-columns:44px minmax(0,1fr) auto;gap:16px;min-height:88px;padding:16px}.contest-choice-number{padding-inline-end:12px;font-size:44px}.contest-choice-title{font-size:18px}.contest-choice-action>span{display:none}}@media (prefers-reduced-motion:reduce){.contest-participant-profile{animation:none}}