.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:14px 20px;border-radius:12px;color:rgb(var(--text));background:rgb(var(--surface))}.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;gap:8px 16px;margin-bottom:12px}.contest-problem-back,.contest-problem-navigation nav{border-radius:999px;background:rgb(var(--glass)/var(--glass-alpha));box-shadow:inset 0 0 0 1px rgb(var(--glass-edge)/var(--glass-edge-alpha))}.contest-problem-back{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px 0 10px;color:rgb(var(--text-subtle));font-size:13px;font-weight:700}.contest-problem-navigation nav{display:flex;gap:2px;margin-inline-start:auto;padding:3px}.contest-problem-navigation nav a{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;color:rgb(var(--text-subtle));font-size:14px;font-weight:700}.contest-problem-navigation a:hover{color:rgb(var(--text))}.contest-problem-navigation nav a[aria-current=page]{color:rgb(var(--background));background:rgb(var(--text))}.contest-problem-heading header{margin-top:0}.contest-section-heading{position:sticky;top:0;z-index:30;display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:16px;padding:10px 12px;border-radius:12px;background:rgb(var(--glass));box-shadow:inset 0 0 0 1px rgb(var(--glass-edge)/var(--glass-edge-alpha))}.contest-title-plate{margin:0;padding:6px 16px 7px;border-radius:8px;color:rgb(var(--on-art-plate));background:rgb(var(--art-plate));font-family:var(--font-round-display);font-size:28px;font-weight:900;letter-spacing:.02em;line-height:1;white-space:nowrap}.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-message-list{display:grid;gap:12px}.contest-message{min-width:0;padding:20px 22px;border-radius:12px;background:rgb(var(--surface))}.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 10px;border-radius:999px;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;border-radius:10px;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 22px;border-radius:12px;background:rgb(var(--surface))}.contest-message-form button,.contest-section-action,:is([data-contest-notices],[data-contest-questions],[data-contest-submissions]) button{border-radius:10px}.contest-message-form-title{font-size:18px;font-weight:700}.contest-message-form :is(input,textarea){font-size:16px}.contest-detail-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.contest-detail-status{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 16px;border-radius:999px;color:rgb(var(--on-art-plate));background:rgb(var(--on-art-plate)/.12);font-size:14px;font-weight:800;white-space:nowrap}.contest-detail-status[data-representative]{padding-left:12px;color:#36d6e7}.contest-detail-facts{display:grid;gap:6px;margin-bottom:12px;padding:12px 18px;border:1px solid rgb(var(--border-faint));border-radius:12px;color:rgb(var(--text-subtle));background:rgb(var(--surface));font-size:13px;line-height:1.5}.contest-detail-facts dl{display:flex;flex-wrap:wrap;gap:2px 20px;margin:0}.contest-detail-facts dl>div{display:flex;min-width:0;gap:6px}.contest-detail-facts dt{color:rgb(var(--text-muted))}.contest-detail-facts dd{margin:0;color:rgb(var(--text));font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.contest-detail-panel{min-width:0;margin-bottom:12px;overflow:hidden;border:1px solid rgb(var(--border-faint));border-radius:12px;background:rgb(var(--surface))}.contest-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:4px 10px 4px 20px;border-bottom:1px solid rgb(var(--border-faint));background:rgb(var(--surface-raised))}.contest-detail-bar h2{display:flex;align-items:baseline;gap:8px;margin:0;font-size:14px;font-weight:800}.contest-detail-bar h2 b{color:rgb(var(--primary-text));font-family:var(--font-round-display);font-weight:900;letter-spacing:.16em}.contest-detail-rows>*+*{border-top:1px solid rgb(var(--border-faint))}.contest-detail-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;padding:14px 20px}.contest-detail-row>strong:first-child{margin-right:auto;font-size:16px;font-weight:700}.contest-detail-record{color:rgb(var(--primary-text));font-family:var(--font-round-display);font-size:18px;font-weight:900;font-variant-numeric:tabular-nums}.contest-detail-body{padding:12px}a.contest-submission-card:is(:hover,:focus-visible){outline:none;box-shadow:inset 0 0 0 2px rgb(var(--primary))}[data-contest-submission-status=UPLOADING]{color:rgb(var(--primary-text))}[data-contest-submission-status=FAILED]{color:rgb(var(--danger))}.contest-submission-letter{flex-shrink:0;color:rgb(var(--primary-text));font-family:var(--font-round-display);font-style:italic;font-weight:900}.contest-submission-representative{flex-shrink:0;padding:2px 10px;border-radius:999px;color:rgb(var(--brand-primary-strong));background:rgb(var(--brand-primary-soft)/.6);font-size:13px;font-weight:700}@media (max-width:600px){.contest-section-heading{padding-bottom:16px}.contest-section-heading-aside{width:100%;justify-content:flex-end;gap:12px}.contest-message-heading h2{font-size:18px}.contest-message,.contest-message-form,.contest-question-answer{padding:16px}}[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-section-heading{top:-4px}[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-block:8px}[data-public-shell=workspace] .contest-section-heading [data-selection-title] h1{font-size:22px}[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-block:6px}[data-public-shell=workspace] .contest-section-heading [data-selection-title] h1{padding-inline:12px;font-size:18px}[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-participants,[data-contest-problem-table]{min-width:0;padding:16px 18px;border-radius:12px;color:rgb(var(--text));background:rgb(var(--surface))}.contest-home-problems-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:10px;font-size:18px;font-weight:800;line-height:1.3}.contest-eyebrow{color:rgb(var(--primary-text));font-family:var(--font-round-display);font-size:13px;font-weight:800;letter-spacing:.16em}.contest-home-problems{display:grid;gap:8px}.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(.2,.9,.1,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-home-problems{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.contest-stage{display:grid;height:100%;overflow:hidden;border-radius:12px;color:rgb(var(--text));background:rgb(var(--surface-raised)/.45);box-shadow:inset 0 0 0 1px rgb(var(--border-faint));text-align:left}a.contest-stage:focus-visible{box-shadow:inset 0 0 0 2px rgb(var(--primary))}.contest-stage-art{position:relative;display:flex;height:112px;align-items:flex-end;justify-content:space-between;padding:0 16px 12px;color:rgb(var(--on-art-plate));background:repeating-linear-gradient(90deg,rgb(255 255 255/.05) 0 1px,transparent 1px 28px),repeating-linear-gradient(0deg,rgb(255 255 255/.05) 0 1px,transparent 1px 28px),radial-gradient(120% 140% at 85% 10%,rgb(18 169 188/.35),transparent 60%),rgb(var(--art-plate))}.contest-stage-picture{position:absolute;z-index:0;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.contest-stage-art[data-picture]:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgb(var(--art-plate)/.1) 0,rgb(var(--art-plate)/.35) 45%,rgb(var(--art-plate)/.88) 100%)}.contest-stage-art[data-picture]{background:rgb(var(--art-plate))}.contest-stage-letter,.contest-stage-mode{position:relative;z-index:2}.contest-stage-corner{position:absolute;z-index:2;top:10px;width:16px;height:16px;border-color:#36d6e7;border-style:solid;opacity:.8}.contest-stage-corner:first-child{left:10px;border-width:2px 0 0 2px}.contest-stage-corner:nth-child(2){right:10px;border-width:2px 2px 0 0}.contest-stage-letter{font-size:64px;font-style:italic;line-height:.9}.contest-stage-letter,.contest-stage-mode{font-family:var(--font-round-display);font-weight:900}.contest-stage-mode{padding:3px 10px;border-radius:999px;color:#36d6e7;background:rgb(0 0 0/.45);font-size:13px;letter-spacing:.12em}.contest-stage-body{display:grid;align-content:start;gap:6px;padding:14px 16px 16px}.contest-stage-title{overflow:hidden;font-size:18px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.contest-stage-facts{color:rgb(var(--text-subtle));font-size:13px;font-weight:600}.contest-stage-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;padding-top:10px;border-top:1px solid rgb(var(--border-faint))}.contest-stage-mine{color:rgb(var(--text-subtext));font-size:13px;font-weight:700}.contest-stage-mine[data-ready]{color:rgb(var(--primary-text))}.contest-stage-mine[data-ready]:before{content:"✓ "}.contest-stage-go{display:inline-flex;align-items:center;gap:6px;color:rgb(var(--primary-text));font-size:14px;font-weight:800}.contest-problem-empty{position:relative;min-width:0;overflow:hidden;padding:1.5rem;border-radius:12px;color:rgb(var(--text));background:rgb(var(--surface))}.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{grid-template-columns:minmax(0,1fr)}.contest-stage-art{height:88px}.contest-stage-letter{font-size:48px}}@media (prefers-reduced-motion:reduce){.contest-participant-profile{animation:none}}