*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background-color:var(--app-bg);color:var(--app-text)}#root{min-height:100vh}.app-shell{min-height:100vh;display:flex;flex-direction:column;background-color:var(--app-bg)}.app-header{--header-ink: #20283a;--header-accent: #ffc32c;--header-accent-hover: #f4b817;position:sticky;top:0;z-index:100;background:var(--app-surface);box-shadow:0 4px 18px #1f2b4814}html.theme--dark .app-header{--header-ink: rgba(255, 255, 255, .9);--header-accent: #ffc32c;--header-accent-hover: #ffd05c}.app-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;width:100%;margin:0 auto;height:64px;padding:0 32px}.header-brand{display:flex;align-items:center;flex-shrink:0}.header-brand img{display:block;height:34px;width:auto}.header-nav{display:flex;align-items:stretch;gap:12px;flex:1;min-width:0;overflow:hidden}.header-nav-link{position:relative;display:inline-flex;align-items:center;height:64px;padding:0 10px;color:var(--header-ink);font-size:15px;font-weight:500;white-space:nowrap;flex-shrink:0;transition:color .2s}.header-nav-link:hover{color:var(--header-ink)}.header-nav-link.is-active{color:var(--header-ink);font-weight:600}.header-nav-link.is-active:after{content:"";position:absolute;left:50%;bottom:5px;width:30px;height:3px;background:var(--header-accent);border-radius:999px;transform:translate(-50%)}.header-nav-more{cursor:pointer;flex-shrink:0}.header-nav-more-caret{font-size:10px;margin-inline-start:2px}.header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:auto}.header-login{padding:0 8px;color:var(--header-ink);font-size:15px;font-weight:600;line-height:38px}.header-login:hover{color:var(--header-ink)}.header-signup{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 24px;border-radius:999px;background:var(--header-accent);color:var(--header-ink);font-size:15px;font-weight:600;line-height:1;box-shadow:0 4px 12px #ffc32c33}.header-signup:hover{background:var(--header-accent-hover);color:var(--header-ink)}.header-user-trigger{cursor:pointer;color:var(--header-ink);font-size:15px;font-weight:600}.user-inline-name{color:var(--app-text)}.user-inline-name:hover{color:var(--app-accent)}.app-content{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:24px 16px 48px}.app-content--home{max-width:none;padding:0}.app-footer{background:var(--app-surface);border-top:1px solid var(--app-border)}.app-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1440px;margin:0 auto;padding:18px 40px}.footer-meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:flex-end}.footer-links{display:flex;align-items:center;gap:20px}.footer-links a,.footer-theme-trigger{color:var(--app-text-muted);font-size:13px;white-space:nowrap}.footer-links a:hover,.footer-theme-trigger:hover{color:var(--app-accent)}.footer-theme-trigger{cursor:pointer}.footer-copy{color:var(--app-text-muted);font-size:13px;white-space:nowrap}.footer-copy a{color:inherit}.footer-copy a:hover{color:var(--app-accent)}@media (max-width: 767px){.app-header-inner,.app-footer-inner{padding-left:16px;padding-right:16px}.app-header-inner{gap:12px;height:64px}.header-brand img{height:34px}.app-footer-inner{flex-direction:column;align-items:flex-start;padding-top:20px;padding-bottom:20px}.footer-meta{justify-content:flex-start}.footer-links{flex-wrap:wrap;gap:12px 16px}}.rich-text-scroll{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden}.rich-text-scroll>:is(table,pre,img){max-width:100%}.rich-text-scroll table{overflow-x:visible}html:has(.login-page){scrollbar-gutter:stable}.login-page{color-scheme:light;min-height:100vh;display:grid;grid-template-columns:minmax(0,58.4%) minmax(0,41.6%);background:#f8f9fc;color:#111318;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.login-illustration{position:sticky;top:0;height:100vh;align-self:start;background-repeat:no-repeat;background-position:42% center;background-size:cover}.login-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px clamp(28px,3.3vw,68px)}.login-card{width:min(100%,500px);padding:24px clamp(28px,3vw,40px);border-radius:20px;background:#fff;box-shadow:0 14px 46px #1f2b481f}.login-heading{text-align:center;margin-bottom:20px}.login-heading h1{margin:0;color:#111318;font-size:clamp(30px,2.2vw,36px);line-height:1.18;font-weight:800;letter-spacing:-.04em}.login-underline{display:block;width:116px;height:7px;margin:7px auto 8px;border-top:4px solid #ffae00;border-radius:50%;transform:rotate(-4deg)}.login-heading p{margin:0;color:#41495a;font-size:14px;line-height:1.55}.login-form{display:flex;flex-direction:column}.login-form>label{margin:0 0 4px;color:#1e2532;font-size:14px;font-weight:700;line-height:1.5}.login-field{display:flex;align-items:center;gap:12px;height:42px;margin-bottom:10px;padding:0 13px;border:1px solid #cbd5e9;border-radius:10px;color:#657998;background:#fff;transition:border-color .15s,box-shadow .15s}.login-field:focus-within{border-color:#4075d8;box-shadow:0 0 0 3px #4075d821}.login-field>.anticon{font-size:18px}.login-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#151923;font:inherit;font-size:14px}.login-field input::placeholder{color:#70819f}.login-eye{display:grid;place-items:center;padding:3px;border:0;background:transparent;color:#657998;font-size:18px;cursor:pointer}.login-eye:focus-visible,.login-options a:focus-visible,.login-register a:focus-visible,.login-oauth a:focus-visible{outline:3px solid #4075d8;outline-offset:3px}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#4b5568;font-size:13px}.login-options a,.login-register a{color:var(--app-accent);font-weight:600;text-decoration:none}.login-options a:hover,.login-register a:hover{text-decoration:underline}.login-remember{display:inline-flex;align-items:center;gap:9px;cursor:pointer}.login-remember input{width:16px;height:16px;margin:0;accent-color:#ffb719}.login-submit,.login-factor button,.login-key-button{width:100%;min-height:42px;border:0;border-radius:10px;background:#ffb719;color:#1b1d22;font:inherit;font-size:15px;font-weight:700;cursor:pointer}.login-submit:hover:not(:disabled),.login-factor button:hover:not(:disabled),.login-key-button:hover:not(:disabled){background:#f2ad00}.login-submit:focus-visible,.login-factor button:focus-visible,.login-key-button:focus-visible{outline:3px solid #4075d8;outline-offset:3px}.login-submit:disabled,.login-factor button:disabled,.login-key-button:disabled{opacity:.65;cursor:wait}.login-error{margin:0 0 14px;color:#bc2727;font-size:14px}.login-register{margin-top:18px;padding-top:16px;border-top:1px solid #dce3ef;color:#4b5568;text-align:center;font-size:14px}.login-register a{margin-left:8px}.login-oauth{margin-top:16px;text-align:center;color:#63718e}.login-oauth p{margin:0 0 10px}.login-oauth a{display:inline-block;margin:4px 7px;color:var(--app-accent)}.login-footer{color:#4b5568;text-align:center;font-size:13px}.login-factor{display:grid;gap:12px}.login-factor input{width:100%;height:42px;padding:0 13px;border:1px solid #cbd5e9;border-radius:8px;font-size:14px}.login-key-button{margin-top:14px}.auth-phone-row,.auth-code-row{display:flex;gap:8px;margin-bottom:10px}.auth-phone-row .login-field,.auth-code-row .login-field{flex:1;min-width:0;margin-bottom:0}.auth-country-code{display:flex;align-items:center;justify-content:center;flex:0 0 72px;height:42px;border:1px solid #cbd5e9;border-radius:10px;color:#1e2532;font-size:14px;font-weight:600}.auth-send{flex:0 0 114px;min-height:42px;padding:0 8px;border:1px solid var(--app-accent);border-radius:10px;background:#fff;color:var(--app-accent);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.auth-send:hover:not(:disabled){background:#f1f6ff}.auth-send:disabled{color:#71819e;border-color:#cbd5e9;cursor:default}.auth-send:focus-visible{outline:3px solid #4075d8;outline-offset:3px}.auth-bottom-link{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;color:#4b5568;font-size:13px}.auth-bottom-link:before,.auth-bottom-link:after{content:"";flex:1;height:1px;background:#dce3ef}.auth-bottom-link a{color:var(--app-accent);font-weight:600;text-decoration:none}.auth-bottom-link a:hover{text-decoration:underline}.auth-bottom-link a:focus-visible{outline:3px solid #4075d8;outline-offset:3px}.auth-notice{margin:0 0 12px;color:#257744;font-size:13px}@media (max-width: 1100px){.login-page{grid-template-columns:46% 54%}.login-main{padding-inline:24px}.login-card{padding-inline:28px}}@media (max-width: 760px){.login-page{display:block}.login-illustration{display:none}.login-main{min-height:100vh;padding:20px 16px;gap:18px}.login-card{padding:24px}.login-heading{margin-bottom:20px}.login-heading h1{font-size:30px}.login-field{height:42px;margin-bottom:10px}.login-footer{font-size:13px}.auth-country-code{flex-basis:64px}.auth-send{flex-basis:105px;font-size:12px}}.problem{--problem-ink: #17265b;--problem-accent: #ffbd19;--problem-accent-strong: #f1aa00;width:100%}.problem-header{position:relative;padding:0 2px 14px}.problem-header:after{position:absolute;z-index:-1;inset:-24px -80px -42px;background:radial-gradient(circle at 36% 20%,rgba(221,243,255,.9),transparent 48%),linear-gradient(180deg,#eff9ffb8,#f5f8fc00);content:"";pointer-events:none}.problem-header h1{margin:0;color:var(--problem-ink);font-size:clamp(30px,2.6vw,34px);font-weight:800;letter-spacing:-.055em;line-height:1.05}.problem-header p{margin:4px 0 0;color:var(--problem-ink);font-size:14px;font-weight:600;line-height:1.5}.problem-workspace{position:relative;display:grid;grid-template-columns:minmax(0,2.8fr) minmax(240px,1fr);gap:16px;align-items:start}.problem-main{min-width:0}.problem-sidebar{display:grid;min-width:0;gap:12px}.problem-sidebar-card{border:1px solid var(--app-border);border-radius:12px;background:var(--app-surface);box-shadow:0 8px 24px #2442720a}.problem-category-card{padding:18px 20px 20px}.problem-sidebar-title{margin:0 0 14px;color:var(--problem-ink);font-size:18px;font-weight:700;line-height:1.4}.problem-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:8px}.problem-category-link{min-width:0;padding:0;overflow:hidden;border:0;background:transparent;color:var(--problem-ink);cursor:pointer;font:inherit;font-size:13px;font-weight:500;line-height:1.6;text-align:left;text-overflow:ellipsis;white-space:nowrap}.problem-category-link:hover,.problem-category-link:focus-visible,.problem-category-link[aria-pressed=true]{color:var(--app-accent)}.problem-category-link:focus-visible{border-radius:3px;outline:2px solid rgba(47,110,255,.22);outline-offset:3px}.problem-category-popover{--problem-ink: #17265b}.problem-category-popover .ant-popover-container{box-shadow:0 8px 24px #24427229}.problem-category-subtags{display:flex;flex-wrap:wrap;gap:2px 4px;width:220px}.problem-category-subtag{padding:4px 6px;border:0;border-radius:4px;background:transparent;color:var(--problem-ink);cursor:pointer;font:inherit;font-size:13px;line-height:1.4;text-align:left}.problem-category-subtag:hover,.problem-category-subtag:focus-visible,.problem-category-subtag[aria-pressed=true]{background:var(--app-accent);color:#fff}.problem-random-card{padding:12px;text-align:center}.problem-random-link{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border:1.5px solid var(--problem-accent);border-radius:8px;background:var(--problem-accent);color:#24231d;font-size:14px;font-weight:700}.problem-random-link .anticon{color:#24231d;font-size:16px}.problem-random-link:hover,.problem-random-link:focus-visible{border-color:var(--problem-accent-strong);background:var(--problem-accent-strong);color:#24231d}.problem-create-card{padding:16px 16px 14px}.problem-create-links{display:grid;gap:8px}.problem-create-link{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border-radius:8px;color:var(--problem-ink);font-size:14px;font-weight:600}.problem-create-link .anticon{color:var(--problem-accent-strong);font-size:15px}.problem-create-link:hover,.problem-create-link:focus-visible{background:#ffc32c1f}.problem-create-card p{margin:10px 2px 0;color:var(--app-text-secondary);font-size:12px;line-height:1.5}.problem-edit-card{padding:12px}.problem-edit-link{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--problem-ink);cursor:pointer;font:inherit;font-size:14px;font-weight:600;text-align:left}.problem-edit-link .anticon{color:var(--problem-accent-strong);font-size:15px}.problem-edit-link:hover,.problem-edit-link:focus-visible{background:#ffc32c1f}.problem-edit-link:disabled{cursor:not-allowed;opacity:.55}.problem-edit-select-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:16px}.problem-edit-mini{min-height:32px;padding:0 12px;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface);color:var(--problem-ink);cursor:pointer;font:inherit;font-size:13px;font-weight:600}.problem-edit-mini.is-primary{border-color:var(--problem-accent);background:var(--problem-accent);color:#24231d}.problem-edit-field{display:block;margin-bottom:8px;color:var(--problem-ink);font-size:13px;font-weight:600}.problem-edit-hidden{margin-top:12px}.problem-list-col-check{width:40px}.problem-list-docid{flex:0 0 auto;color:var(--app-text-secondary);font-size:12px;font-weight:600}.problem-random-card p{margin:10px 2px 0;color:var(--app-text-secondary);font-size:12px;line-height:1.5}.problem-search{display:grid;grid-template-columns:minmax(240px,1fr) 124px 84px auto;align-items:center;gap:10px;min-height:72px;padding:14px 16px;border:1px solid var(--app-border);border-radius:10px;background:var(--app-surface);box-shadow:0 8px 24px #2442720d}.problem-search-input.ant-input-affix-wrapper,.problem-sort.ant-select .ant-select-selector,.problem-search-button.ant-btn,.problem-tag-toggle.ant-btn{min-height:38px;border-radius:7px}.problem-search-input.ant-input-affix-wrapper{padding-inline:12px;border-color:#284f9129;box-shadow:inset 0 1px 2px #20416e08}.problem-search-input .anticon{margin-right:6px;color:var(--problem-ink);font-size:16px}.problem-search-input input,.problem-sort.ant-select .ant-select-selection-item{color:var(--problem-ink);font-size:13px;font-weight:500}.problem-sort.ant-select{height:38px}.problem-sort.ant-select .ant-select-selector{padding-inline:13px;border-color:#284f9129}.problem-search-button.ant-btn{border-color:var(--problem-accent);background:var(--problem-accent);box-shadow:0 5px 14px #e29d002b;color:#2b2a22;font-size:13px;font-weight:600}.problem-search-button.ant-btn:hover,.problem-search-button.ant-btn:focus-visible{border-color:var(--problem-accent-strong)!important;background:var(--problem-accent-strong)!important;color:#24231d!important}.problem-search-meta{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-left:6px}.problem-tag-toggle.ant-btn{border-color:#284f9129;color:var(--problem-ink);font-size:13px;font-weight:600}.problem-count{min-width:104px;margin:0;color:var(--problem-ink);font-size:13px;font-weight:600;text-align:right;white-space:nowrap}.problem-content{min-height:240px;margin-top:12px;border:1px solid var(--app-border);border-radius:12px;background:var(--app-surface);box-shadow:0 8px 24px #2442720a;overflow:hidden}.problem-list-table-wrap{overflow-x:auto}.problem-list-table{width:100%;min-width:720px;border-collapse:collapse;color:var(--problem-ink);table-layout:fixed}.problem-list-table th,.problem-list-table td{padding:11px 8px;border-bottom:1px solid var(--app-border);text-align:left;vertical-align:middle}.problem-list-table th:first-child,.problem-list-table td:first-child{padding-left:16px}.problem-list-table th:last-child,.problem-list-table td:last-child{padding-right:16px}.problem-list-table th{height:42px;background:#f4f8fdb8;color:var(--app-text-secondary);font-size:12px;font-weight:600;white-space:nowrap}.problem-list-col-title{width:308px}.problem-list-table.is-tags-hidden .problem-list-col-title{width:auto}.problem-list-col-stat{width:96px}.problem-list-col-difficulty{width:68px}.problem-list-table tbody tr{transition:background-color .14s ease}.problem-list-table tbody tr:hover{background:#ffc32c12}.problem-list-table tbody tr:last-child td{border-bottom:0}.problem-list-table .is-numeric{text-align:center;white-space:nowrap}.problem-list-title-cell{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:8px}.problem-list-title-line{display:flex;flex:1 1 auto;align-items:center;gap:8px;min-width:0;max-width:100%}.problem-list-state{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:15px;font-size:15px}.problem-list-state.is-accepted{color:#2ea44f}.problem-list-state.is-tried{color:#e69b00}.problem-list-title{display:flex;min-width:0;gap:8px;color:var(--problem-ink);font-size:14px;font-weight:500}.problem-list-title:hover{color:var(--app-accent)}.problem-list-pid{flex:0 0 auto;font-weight:700}.problem-list-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.problem-list-hidden{flex:0 0 auto;color:#d97706;font-size:11px}.problem-list-tags{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;width:max-content;max-width:100%;margin-left:auto;gap:4px 5px}.problem-list-tag{padding:2px 7px;border:0;border-radius:5px;color:#34456f;cursor:pointer;font:inherit;font-size:11px;line-height:19px;white-space:nowrap}.problem-list-tag:hover,.problem-list-tag:focus-visible{filter:brightness(.96);outline:2px solid rgba(47,110,255,.22);outline-offset:1px}.problem-list-tag.tone-0{background:#fff1c7}.problem-list-tag.tone-1{background:#ffe2e5}.problem-list-tag.tone-2{background:#dff7ef}.problem-list-tag.tone-3{background:#e9e1ff}.problem-list-tag.tone-4{background:#dcecff}.problem-list-tag.tone-5{background:#ffe8d4}.problem-list-tag.tone-6{background:#d7f4f8}.problem-list-tag.tone-7{background:#e7f6d8}.problem-list-stat{color:var(--app-text-secondary);font-size:13px;font-variant-numeric:tabular-nums}.problem-list-difficulty{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:6px;background:#2f6eff14;color:var(--problem-ink);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.problem-list-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:14px 16px;border-top:1px solid var(--app-border)}.problem-list-pager.ant-pagination{display:flex;align-items:center;gap:6px}.problem-list-pager.ant-pagination .ant-pagination-item,.problem-list-pager.ant-pagination .ant-pagination-prev,.problem-list-pager.ant-pagination .ant-pagination-next{min-width:36px;height:36px;margin:0;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface);line-height:34px}.problem-list-pager.ant-pagination .ant-pagination-prev,.problem-list-pager.ant-pagination .ant-pagination-next{width:auto;padding:0 12px}.problem-list-pager.ant-pagination .ant-pagination-item a,.problem-list-pager.ant-pagination .ant-pagination-prev button,.problem-list-pager.ant-pagination .ant-pagination-next button{color:var(--problem-ink);font-size:13px;font-weight:600}.problem-list-pager.ant-pagination .ant-pagination-item-active{border-color:var(--problem-accent);background:var(--problem-accent);box-shadow:0 4px 10px #e29d0029}.problem-list-pager.ant-pagination .ant-pagination-item-active a{color:#24231d}.problem-list-pager.ant-pagination .ant-pagination-disabled{background:#f4f8fdb3}.problem-list-pager.ant-pagination .ant-pagination-disabled button{color:var(--app-text-secondary);opacity:.55}.problem-list-empty{margin:64px 0}html.theme--dark .problem-list-table th{background:#ffffff09}html.theme--dark .problem-list-tag{color:#ffffffd1}html.theme--dark .problem-list-tag.tone-0{background:#dea21738}html.theme--dark .problem-list-tag.tone-1{background:#e0525f33}html.theme--dark .problem-list-tag.tone-2{background:#25ad7433}html.theme--dark .problem-list-tag.tone-3{background:#7754d73d}html.theme--dark .problem-list-tag.tone-4{background:#2f6eff38}html.theme--dark .problem-list-tag.tone-5{background:#e67e2238}html.theme--dark .problem-list-tag.tone-6{background:#0ea5b738}html.theme--dark .problem-list-tag.tone-7{background:#65a30d38}html.theme--dark .problem{--problem-ink: rgba(255, 255, 255, .9);--problem-accent: #ffc32c;--problem-accent-strong: #eeb018}html.theme--dark .problem-category-popover{--problem-ink: rgba(255, 255, 255, .9)}html.theme--dark .problem-header:after{background:radial-gradient(circle at 36% 20%,rgba(47,110,255,.12),transparent 52%)}html.theme--dark .problem-edit-link:hover,html.theme--dark .problem-edit-link:focus-visible{background:#ffc32c29}html.theme--dark .problem-edit-mini{border-color:#ffffff1f;background:transparent}@media (max-width: 960px){.problem-workspace{grid-template-columns:minmax(0,1fr)}.problem-sidebar{display:none}.problem-sidebar:has(.problem-edit-card){display:grid}.problem-workspace:not(.is-editing) .problem-sidebar>:not(.problem-edit-card){display:none}}@media (max-width: 800px){.problem-header{padding-top:4px}.problem-search{grid-template-columns:minmax(0,1fr) 132px;padding:14px;border-radius:10px}.problem-search-input{grid-column:1 / -1}.problem-search-button.ant-btn{min-width:0}.problem-search-meta{grid-column:1 / -1;justify-content:space-between;margin:4px 0 0}}@media (max-width: 480px){.problem-search{grid-template-columns:1fr}.problem-search-input,.problem-search-meta{grid-column:auto}.problem-list-pagination{align-items:flex-start;flex-direction:column}.problem-list-pager.ant-pagination{align-self:stretch;justify-content:center}}.record-page{--record-ink: #17265b;width:100%}.record-header{display:flex;align-items:flex-start;justify-content:space-between}.record-header h1{margin:0;color:var(--record-ink);font-size:clamp(30px,3vw,38px);font-weight:800;letter-spacing:-.05em}.record-header p{margin:5px 0 0;color:var(--app-text-secondary);font-size:14px}.record-filter-card,.record-table-card{border:1px solid var(--app-border);border-radius:12px;background:var(--app-surface);box-shadow:0 10px 28px #2442720d}.record-filter-card{margin-bottom:16px;padding:22px 20px 20px}.record-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:14px;align-items:end}.record-filters label{display:grid;min-width:0;gap:7px;color:var(--record-ink);font-size:13px;font-weight:600}.record-filters .ant-select{width:100%}.record-filters .ant-input,.record-filters .ant-select,.record-filters .ant-select-selector,.record-filter-actions .ant-btn{height:40px;border-radius:7px}.record-filter-actions{display:flex;gap:8px}.record-filter-actions .ant-btn-primary{border-color:#ffc400;background:#ffc400;color:#17265b;font-weight:700;box-shadow:none}.record-filter-actions .ant-btn-primary:hover{border-color:#efb600!important;background:#efb600!important;color:#17265b!important}.record-table-card{overflow:hidden}.record-table-wrap{overflow-x:auto}.record-table{width:100%;min-width:900px;border-collapse:collapse;color:var(--record-ink);font-size:13px}.record-table th{padding:14px 18px 11px;background:color-mix(in srgb,var(--app-surface) 88%,#edf5fb);color:var(--app-text-secondary);font-weight:600;text-align:left;white-space:nowrap}.record-table td{padding:10px 18px;border-top:1px solid var(--app-border);white-space:nowrap}.record-table tbody tr:hover{background:color-mix(in srgb,var(--app-surface) 94%,#ffc400)}.record-problem{display:block;max-width:360px;overflow:hidden;color:#1261d8;text-overflow:ellipsis}.record-status{display:inline-flex;align-items:center;gap:7px;font-weight:600}.record-status-icon{display:inline-grid;width:20px;height:20px;place-items:center;border-radius:50%;color:#fff;font-size:11px}.record-status-score{font-variant-numeric:tabular-nums}.record-status-text{padding:3px 8px;border-radius:999px;font-size:12px}.record-status.is-pass{color:#12a95c}.record-status.is-pass .record-status-icon{background:#16bd6c}.record-status.is-pass .record-status-text{background:#e6f8ec}.record-status.is-fail{color:#ed4d4d}.record-status.is-fail .record-status-icon{background:#f45a5a}.record-status.is-fail .record-status-text{background:#fff0ed}.record-status.is-progress,.record-status.is-pending{color:#e69000}.record-status.is-progress .record-status-icon,.record-status.is-pending .record-status-icon{background:#f5a623}.record-status.is-progress .record-status-text,.record-status.is-pending .record-status-text{background:#fff5dd}.record-status.is-ignored{color:#8055df}.record-status.is-ignored .record-status-icon{background:#8b5cf6}.record-status.is-ignored .record-status-text{background:#f3efff}.record-pager{display:flex;align-items:center;justify-content:center;gap:10px;min-height:70px;border-top:1px solid var(--app-border)}.record-pager button,.record-pager span{min-width:40px;height:36px;padding:0 14px;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface);color:var(--record-ink);cursor:pointer}.record-pager span{display:inline-grid;place-items:center;border-color:#ffc400;background:#ffc400;font-weight:700}.record-pager button:disabled{cursor:not-allowed;opacity:.45}html.theme--dark .record-page{--record-ink: rgba(255,255,255,.9)}html.theme--dark .record-status.is-pass .record-status-text{background:#16bd6c29}html.theme--dark .record-status.is-fail .record-status-text{background:#f45a5a29}html.theme--dark .record-status.is-progress .record-status-text,html.theme--dark .record-status.is-pending .record-status-text{background:#f5a62329}html.theme--dark .record-status.is-ignored .record-status-text{background:#8b5cf62e}@media (max-width: 1100px){.record-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.record-filter-actions{grid-column:span 1}}@media (max-width: 700px){.record-filters{grid-template-columns:1fr}.record-filter-actions{grid-column:auto}.record-filter-actions .ant-btn{flex:1}.record-filter-card{padding:16px}.record-status-text{display:none}}.invite-podium-stat{grid-template-columns:1fr!important}.invite-podium-stat dd,.invite-ranking-table tbody td:last-child{color:var(--ranking-ink);font-weight:750}.invite-ranking-table th:last-child,.invite-ranking-table td:last-child{width:32%;text-align:center}.my-invite-ranking-card dl{grid-template-columns:1fr}.popularity-podium-stat{grid-template-columns:1fr!important}.popularity-podium-stat dd,.popularity-table-card tbody td:last-child{color:var(--ranking-ink);font-weight:750}.popularity-table-card th:last-child,.popularity-table-card td:last-child{width:32%;text-align:center}.my-popularity-card dl{grid-template-columns:1fr}.discussion-detail-page{--detail-ink: #102252;width:100%}.discussion-detail-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(245px,1fr);align-items:start;gap:18px}.discussion-detail-main{display:grid;gap:18px;min-width:0}.discussion-detail-card{min-width:0;border:1px solid var(--app-border);border-radius:12px;background:var(--app-surface);box-shadow:0 8px 24px #2442720b}.discussion-article{padding:22px 24px 0}.discussion-article-heading{padding-bottom:16px;border-bottom:1px solid var(--app-border)}.discussion-richtext :is(h1,h2,h3,h4){scroll-margin-top:76px}.discussion-article-heading h1{margin:14px 0 10px;color:var(--detail-ink);font-size:clamp(24px,2.2vw,32px);font-weight:800;letter-spacing:-.035em}.discussion-article-author,.discussion-comment-head>div,.discussion-tail-head{display:flex;align-items:center;gap:8px;color:var(--app-text-secondary);font-size:12px}.discussion-richtext{min-height:180px;padding:20px 2px 26px;color:var(--app-text);font-size:15px;line-height:1.8}.discussion-richtext h1{position:relative;margin:24px 0 12px;padding-left:22px;color:var(--detail-ink);font-size:23px;line-height:1.4;scroll-margin-top:86px}.discussion-richtext h1:before{position:absolute;top:.14em;bottom:.14em;left:0;width:5px;border-radius:999px;background:#ffc20c;box-shadow:0 0 7px #ffc20c57;content:""}.discussion-richtext h2,.discussion-richtext h3,.discussion-richtext h4{scroll-margin-top:86px}.discussion-richtext img,.discussion-comment-content img{max-width:100%}.discussion-richtext blockquote,.discussion-comment-content blockquote{margin:12px 0;padding:8px 14px;border-left:3px solid #d5deea;background:#2f6eff0a;color:var(--app-text-secondary)}.discussion-richtext blockquote :is(h1,h2,h3,h4),.discussion-comment-content blockquote :is(h1,h2,h3,h4){margin:8px 0;padding-left:0;font-size:15px;line-height:1.6}.discussion-richtext blockquote>:first-child,.discussion-comment-content blockquote>:first-child{margin-top:0}.discussion-richtext blockquote>:last-child,.discussion-comment-content blockquote>:last-child{margin-bottom:0}.discussion-richtext blockquote h1:before,.discussion-comment-content blockquote h1:before{content:none}.discussion-article-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:0 -24px;padding:8px 24px;border-top:1px solid var(--app-border);color:var(--app-text-secondary)}.discussion-article-tools,.discussion-comment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.discussion-article-tools a,.discussion-article-tools button,.discussion-comment-actions button{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:none;color:var(--app-text-secondary);cursor:pointer;font:inherit}.discussion-article-tools a:hover,.discussion-article-tools button:hover,.discussion-comment-actions button:hover{color:var(--app-accent)}.discussion-reactions{display:flex;align-items:center;gap:6px}.discussion-reactions>button,.discussion-emoji-picker button{border:1px solid var(--app-border);border-radius:999px;background:color-mix(in srgb,var(--app-surface) 90%,var(--app-accent));color:var(--app-text-secondary);cursor:pointer}.discussion-reactions>button{display:inline-flex;align-items:center;gap:4px;padding:2px 8px}.discussion-reactions>button.is-active{border-color:#e9af17;background:#ffbe1824}.discussion-emoji-picker{display:grid;grid-template-columns:repeat(6,32px);gap:6px}.discussion-emoji-picker button{width:32px;height:32px;padding:0;font-size:17px}.discussion-detail-sidebar{position:sticky;z-index:2;top:84px;display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%;min-width:0;max-height:calc(100vh - 100px)}.discussion-author-card{flex:none;width:100%;min-width:0;overflow:hidden;padding:20px}.discussion-outline-card{display:flex;flex:0 1 auto;flex-direction:column;width:100%;min-width:0;min-height:0;padding:18px 0 18px 20px}.discussion-outline-card .discussion-section-title{flex:none;margin-bottom:8px;padding-right:20px}.discussion-outline-card .discussion-section-title h2{display:flex;align-items:center;gap:8px}.discussion-outline-card nav{display:grid;grid-auto-rows:max-content;align-content:start;min-height:0;overflow-y:auto;overscroll-behavior:contain}.discussion-outline-card nav button{width:100%;overflow:hidden;padding:8px 20px 8px 2px;border-bottom:1px solid var(--app-border);border-top:0;border-right:0;border-left:0;background:transparent;color:var(--app-text-secondary);cursor:pointer;font-family:inherit;font-size:13px;line-height:1.35;text-align:left;text-overflow:ellipsis;white-space:nowrap}.discussion-outline-card nav button:last-child{border-bottom:0}.discussion-outline-card nav button:hover,.discussion-outline-card nav button:focus-visible{color:var(--app-accent)}.discussion-outline-card nav button.is-level-2{padding-left:13px}.discussion-outline-card nav button.is-level-3{padding-left:26px;font-size:12px}.discussion-outline-card nav button.is-level-4{padding-left:39px;font-size:12px}.discussion-author-profile{display:flex;align-items:center;gap:14px}.discussion-author-profile .user-inline-name{color:var(--detail-ink);font-size:17px}.discussion-author-stats{display:grid;grid-template-columns:1fr 1fr;margin:18px 0;text-align:center}.discussion-author-stats>div+div{border-left:1px solid var(--app-border)}.discussion-author-stats strong,.discussion-author-stats span{display:block}.discussion-author-stats strong{color:var(--detail-ink);font-size:18px}.discussion-author-stats span{margin-top:3px;color:var(--app-text-secondary);font-size:12px}.discussion-profile-link{display:flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #458be8;border-radius:7px;color:#1677ff;font-weight:650}.discussion-comments{padding:20px 22px}.discussion-section-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.discussion-section-title i{width:5px;height:24px;border-radius:4px;background:#ffbd19}.discussion-section-title h2{margin:0;color:var(--detail-ink);font-size:19px}.discussion-composer{display:grid;gap:8px;margin-bottom:18px}.discussion-composer-actions{display:flex;justify-content:flex-end;gap:8px}.discussion-composer-actions .ant-btn-primary{background:#ffbd19;color:#172042;box-shadow:none}.discussion-locked{padding:10px 12px;border-radius:7px;background:color-mix(in srgb,var(--app-surface) 94%,var(--app-accent));color:var(--app-text-secondary)}.discussion-comment-list,.discussion-tail-list{margin:0;padding:0;list-style:none}.discussion-comment-list>li{padding:17px 0;border-top:1px solid var(--app-border)}.discussion-comment-head{display:flex;align-items:center;justify-content:space-between;color:var(--app-text-secondary);font-size:12px}.discussion-comment-content{padding:10px 0;color:var(--app-text);font-size:14px;line-height:1.7}.discussion-comment-content>:first-child{margin-top:0}.discussion-comment-content>:last-child{margin-bottom:0}.discussion-comment-actions{justify-content:flex-end;font-size:12px}.discussion-comment-actions .discussion-reactions{margin-left:auto}.discussion-tail-list{margin:13px 0 0 34px;padding:0 14px;border-left:3px solid var(--app-border);border-radius:0 8px 8px 0;background:color-mix(in srgb,var(--app-surface) 95%,var(--app-accent))}.discussion-tail-list>li{padding:12px 0;border-bottom:1px solid var(--app-border)}.discussion-tail-list>li:last-child{border-bottom:0}.discussion-comments>.ant-pagination{display:flex;justify-content:flex-end;margin-top:14px}html.theme--dark .discussion-detail-page{--detail-ink: #edf3ff}html.theme--dark .discussion-richtext blockquote,html.theme--dark .discussion-comment-content blockquote{border-left-color:#596579;background:#ffffff0a}html.theme--dark .discussion-node-tag{background:#ffffff0d}@media (max-width: 820px){.discussion-detail-layout{grid-template-columns:1fr}.discussion-detail-sidebar{position:static;max-height:none;order:-1}.discussion-outline-card nav{overflow:visible}.discussion-article-footer{align-items:flex-start;flex-direction:column}}@media (max-width: 560px){.discussion-article{padding:18px 16px 0}.discussion-article-footer{margin:0 -16px;padding:10px 16px}.discussion-comments{padding:18px 16px}.discussion-tail-list{margin-left:12px}}.problem-detail-page{--pd-ink: #10265c;--pd-muted: #6f7d9c;--pd-accent: #ffc31a;--pd-accent-strong: #f2ad00;--pd-surface: #fff;color:var(--pd-ink)}.problem-detail-hero,.problem-statement-card,.problem-side-card{border:1px solid rgba(46,76,126,.08);border-radius:10px;background:var(--pd-surface);box-shadow:0 8px 26px #24416912}.problem-detail-hero{padding:18px 22px 20px}.problem-detail-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:14px;min-width:0;color:var(--pd-muted);font-size:13px}.problem-detail-breadcrumb a{color:var(--pd-ink)}.problem-detail-breadcrumb .is-current{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}.problem-detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.problem-detail-title-row h1{margin:0;color:var(--pd-ink);font-size:30px;font-weight:700;letter-spacing:-.01em;line-height:1.28}.problem-detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}.problem-detail-meta>span{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px;border-radius:6px;background:color-mix(in srgb,var(--pd-ink) 5%,var(--pd-surface));color:var(--pd-ink);font-size:13px;font-weight:550}.problem-detail-meta .is-difficulty{background:linear-gradient(120deg,#fff2b9,#ffd969);color:#3d3108;font-weight:700}.problem-detail-tags-toggle{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px;border:0;border-radius:6px;background:color-mix(in srgb,var(--pd-ink) 5%,var(--pd-surface));color:#2f6eff;cursor:pointer;font:inherit;font-size:13px;font-weight:550}.problem-detail-tags-toggle:hover{background:color-mix(in srgb,var(--pd-ink) 8%,var(--pd-surface));color:#2458d6}.problem-detail-meta .problem-list-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:34px;padding:0 11px;font-size:13px;font-weight:600;line-height:1}html.theme--dark .problem-detail-tags-toggle{color:#7eb0ff}html.theme--dark .problem-detail-tags-toggle:hover{color:#a8caff}.problem-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;align-items:start;gap:16px;margin-top:16px}.problem-statement-card{min-width:0;padding:20px 22px 34px}.problem-language-switcher{display:flex;justify-content:flex-end;margin-bottom:16px}.problem-statement-card>.ant-alert{margin-bottom:14px}.problem-statement{color:var(--pd-ink);font-size:16px;line-height:1.8;overflow-x:auto}.problem-statement>:first-child{margin-top:0}.problem-statement>:last-child{margin-bottom:0}.problem-detail-page .problem-statement.richmedia h1,.problem-detail-page .problem-statement.richmedia h2,.problem-detail-page .problem-statement.richmedia h3{position:relative;margin:25px 0 13px;padding-left:16px;color:var(--pd-ink);font-weight:750;line-height:1.35}.problem-detail-page .problem-statement.richmedia h1{font-size:24px}.problem-detail-page .problem-statement.richmedia h2{font-size:22px}.problem-detail-page .problem-statement.richmedia h3{font-size:20px}.problem-detail-page .problem-statement.richmedia h1:before,.problem-detail-page .problem-statement.richmedia h2:before,.problem-detail-page .problem-statement.richmedia h3:before{content:"";position:absolute;top:.14em;bottom:.14em;left:0;width:5px;border-radius:99px;background:var(--pd-accent)}.problem-statement blockquote{margin:12px 0 16px;padding:10px 16px;border-left:3px solid #d5deea;background:#2f6eff0a;color:var(--pd-muted);font-size:15px}.problem-statement blockquote>:first-child{margin-top:0}.problem-statement blockquote>:last-child{margin-bottom:0}.problem-statement blockquote p{margin:.55em 0}.problem-statement blockquote :is(ul,ol){margin:.45em 0;padding-left:1.35em}.problem-detail-page .problem-statement.richmedia blockquote :is(h1,h2,h3,h4){margin:10px 0 8px;padding-left:0;font-size:inherit;font-weight:650;line-height:1.55}.problem-detail-page .problem-statement.richmedia blockquote :is(h1,h2,h3,h4):before{content:none}.problem-statement blockquote.note{border-left-color:var(--pd-accent);background:#fffdf3;color:var(--pd-ink)}.problem-statement blockquote.warn,.problem-statement blockquote.red{border-left-color:#e05252;background:#fff6f6;color:var(--pd-ink)}.problem-sample-wrap{position:relative;margin:.6em 0}.problem-sample-copy{position:absolute;top:8px;right:8px;z-index:1;min-height:28px;padding:0 10px;border:1px solid rgba(48,80,130,.16);border-radius:6px;background:var(--pd-surface);color:var(--pd-muted);cursor:pointer;font:inherit;font-size:12px;font-weight:600}.problem-sample-copy:hover{border-color:#ffc31a8c;color:var(--pd-ink)}.problem-statement pre{overflow:auto;padding:14px 16px;border:1px solid rgba(48,80,130,.12);border-radius:7px;background:color-mix(in srgb,var(--pd-ink) 4%,var(--pd-surface))}.problem-sample-wrap pre{margin:0;padding-right:72px}.problem-statement table{width:max-content;margin:.6em 0;border-collapse:collapse}.problem-statement :is(th,td){padding:6px 14px;border:1px solid var(--app-border)}.problem-statement th{background:color-mix(in srgb,var(--pd-ink) 6%,var(--pd-surface));font-weight:650}.problem-statement img{max-width:100%;height:auto}.objective-holder{display:inline-block;margin:0 6px;vertical-align:middle}.objective-holder.is-block{display:block;margin:8px 0}.objective-field{min-width:160px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--pd-ink) 28%,transparent);border-radius:6px;background:var(--pd-surface);color:var(--pd-ink);font:inherit}.objective-holder.is-block .objective-field{width:min(100%,520px);min-height:96px}.objective-choices{display:grid;gap:8px;margin:8px 0 16px}.objective-choice{display:flex;align-items:flex-start;gap:8px;margin:0;cursor:pointer}.objective-choice input{margin-top:.4em}.objective-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}.objective-index{display:flex;flex-wrap:wrap;gap:6px;width:100%}.objective-index a{min-width:28px;padding:2px 8px;border:1px solid color-mix(in srgb,var(--pd-ink) 28%,transparent);border-radius:6px;color:var(--pd-ink);text-align:center}.objective-index a.is-filled{border-color:var(--pd-accent);background:color-mix(in srgb,var(--pd-accent) 35%,transparent)}.objective-error{width:100%;margin:0;color:#cf1322}.problem-detail-sidebar{display:grid;gap:14px}.problem-side-card{padding:18px 17px}.problem-side-title{position:relative;margin:0 0 16px;padding-left:15px;color:var(--pd-ink);font-size:19px;font-weight:750}.problem-side-title:before{content:"";position:absolute;inset:2px auto 2px 0;width:5px;border-radius:99px;background:var(--pd-accent)}.problem-action-list{display:grid;gap:6px}.problem-action-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;padding:0 12px;border:1px solid #c9d4e6;border-radius:8px;background:transparent;color:var(--pd-ink);cursor:pointer;font:inherit;font-size:14px;font-weight:600;text-align:left;transition:border-color .16s,box-shadow .16s,transform .16s}.problem-action-link>span{display:inline-flex;align-items:center;gap:6px}.problem-action-link:hover,.problem-action-link:focus-visible{border-color:var(--pd-accent-strong);color:var(--pd-ink);box-shadow:0 5px 14px #f2ad0024;transform:translateY(-1px)}.problem-action-link:disabled,.problem-action-link.is-disabled,.problem-action-link:disabled:hover{opacity:.45;border-color:#c9d4e6;box-shadow:none;cursor:not-allowed;transform:none}.problem-action-link.is-primary{justify-content:center;border-color:var(--pd-accent);background:linear-gradient(120deg,#ffd447,#ffc311);color:#3d3108;box-shadow:0 7px 16px #ffbe0a38;font-weight:750}.problem-stat-list{margin:0}.problem-stat-list>div{border-bottom:1px solid rgba(45,72,115,.1)}.problem-stat-list>div:last-child{display:flex;justify-content:space-between;gap:16px;padding:11px 5px;border-bottom:0}.problem-stat-list a.problem-stat-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 5px;color:var(--pd-ink)}.problem-stat-list a.problem-stat-link:hover{color:var(--pd-accent-strong)}.problem-stat-label{display:inline-flex;align-items:center;gap:10px}.problem-stat-value{font-variant-numeric:tabular-nums;font-weight:650}.problem-stat-list dt{display:flex;align-items:center;gap:10px}.problem-stat-list dd{margin:0;font-variant-numeric:tabular-nums}.problem-related-list{display:grid;gap:4px}.problem-related-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;color:var(--pd-ink);font-size:13px;line-height:1.45}.problem-related-item>.anticon:first-child{font-size:20px}.problem-related-item>.anticon:last-child{color:var(--pd-muted);font-size:12px}.problem-related-item:hover{background:color-mix(in srgb,var(--pd-accent) 10%,transparent)}.problem-contest-list{display:grid}.problem-contest-list a{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:38px;padding:6px 8px;border-bottom:1px solid rgba(45,72,115,.1);border-radius:7px;color:var(--pd-ink);font-size:13px}.problem-contest-list a:last-child{border-bottom-color:transparent}.problem-contest-list a:hover{background:color-mix(in srgb,var(--pd-accent) 10%,transparent)}.problem-contest-list a.is-active{border-bottom-color:transparent;background:linear-gradient(105deg,#fff0ad,#ffe38a);color:#2e290f}.problem-contest-list strong{text-align:center}.problem-contest-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.problem-contest-list .anticon{color:var(--pd-muted);font-size:11px}.problem-contest-info-card .problem-stat-list>div{padding-inline:2px}.problem-contest-info-card .problem-stat-list dt{color:var(--pd-muted)}.problem-contest-info-card .problem-stat-list dd{min-width:0;text-align:right}.problem-detail-field-label{display:block;margin-bottom:7px;font-weight:600}html.theme--dark .problem-detail-page{--pd-ink: rgba(255, 255, 255, .91);--pd-muted: rgba(255, 255, 255, .58);--pd-accent: #ffc62e;--pd-accent-strong: #ffd45d;--pd-surface: var(--app-surface)}html.theme--dark .problem-action-link.is-primary{border-color:#8d6b14;background:linear-gradient(120deg,#6e5412,#8f6d16);color:#fff6dc;box-shadow:none}html.theme--dark .problem-action-link.is-primary:hover,html.theme--dark .problem-action-link.is-primary:focus-visible{border-color:#a88416;color:#fff6dc;box-shadow:none}html.theme--dark .problem-contest-list a.is-active{background:#4a3b13;color:#fff0bd}html.theme--dark .problem-statement blockquote{border-left-color:#596579;background:#ffffff0a;color:var(--pd-muted)}html.theme--dark .problem-statement blockquote.note{border-left-color:var(--pd-accent);background:#ffc62e14;color:var(--pd-ink)}html.theme--dark .problem-statement blockquote.warn,html.theme--dark .problem-statement blockquote.red{border-left-color:#e05252;background:#e052521a;color:var(--pd-ink)}@media (max-width: 860px){.problem-detail-layout{grid-template-columns:1fr}.problem-detail-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.problem-detail-sidebar .problem-actions-card{grid-column:1 / -1}}@media (max-width: 560px){.problem-detail-hero,.problem-statement-card,.problem-side-card{border-radius:8px}.problem-detail-hero,.problem-statement-card{padding-inline:16px}.problem-detail-meta>span{flex:1 1 calc(50% - 8px)}.problem-detail-title-row h1{font-size:25px}.problem-detail-sidebar{grid-template-columns:1fr}.problem-detail-sidebar .problem-actions-card{grid-column:auto}}@media (prefers-reduced-motion: reduce){.problem-action-link{transition:none}}.record-detail-page{--record-border: #dce6f1;--record-muted: #6379a8;--record-ink: #10265c;width:min(1320px,calc(100% - 40px));margin:0 auto;padding:16px 0 48px;color:var(--color-text);font-size:13px}.record-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:14px}.record-detail-main,.record-detail-sidebar{display:grid;gap:12px;min-width:0}.record-detail-card,.record-detail-side-card{overflow:hidden;border:1px solid var(--app-border);border-radius:8px;background:var(--color-card, #fff);box-shadow:0 5px 18px #2441690d}.record-detail-card{padding:14px 16px}.record-detail-card>header:not(.record-result-title){display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;color:var(--record-ink);font-size:16px;font-weight:700}.record-detail-card>header:not(.record-result-title) h2{position:relative;margin:0;padding-left:14px;color:#111a36;font-size:16px}.record-detail-card>header:not(.record-result-title) h2:before{content:"";position:absolute;top:1px;bottom:1px;left:0;width:4px;border-radius:4px;background:#ffc31a}.record-detail-side-card{padding:14px}.record-detail-side-card h2{position:relative;margin:0 0 11px;padding-left:14px;color:#111a36;font-size:16px;font-weight:700}.record-detail-side-card h2:before{content:"";position:absolute;top:1px;bottom:1px;left:0;width:4px;border-radius:4px;background:#ffc31a}.record-result-title{display:flex;align-items:center;gap:8px;min-height:28px;margin-bottom:10px;font-size:18px;font-weight:700}.record-result-title>svg{font-size:22px}.record-result-title.is-pass,.record-case-status.is-pass{color:#08a84e}.record-result-title.is-fail,.record-case-status.is-fail{color:#e94b4b}.record-result-title.is-progress,.record-result-title.is-pending,.record-case-status.is-progress,.record-case-status.is-pending{color:#db8b00}.record-result-title.is-ignored,.record-case-status.is-ignored{color:#7653d4}.record-result-table-wrap{overflow-x:auto}.record-result-table{width:100%;border-collapse:collapse;font-size:13px}.record-result-table th{padding:8px 10px;background:#eef6fd;color:#173667;font-weight:600;text-align:left;white-space:nowrap}.record-case-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.record-result-table .col--case{width:70px}.record-result-table .col--time,.record-result-table .col--memory{width:120px}.record-result-table td.col--case{border-left:3px solid transparent}.record-result-table td.col--case.is-pass{border-left-color:#3dcc7a}.record-result-table td.col--case.is-fail{border-left-color:#f07a7a}.record-result-table td.col--case.is-progress,.record-result-table td.col--case.is-pending{border-left-color:#f0b429}.record-result-table td.col--case.is-ignored{border-left-color:#a78bf0}.record-result-table tr.is-subtask td{padding-top:4px;padding-bottom:4px;background:#f7fbff}.record-case-score{font-weight:600}.record-result-table th:first-child{border-radius:6px 0 0 6px}.record-result-table th:last-child{border-radius:0 6px 6px 0}.record-result-table td{padding:8px 10px;border-bottom:1px solid var(--record-border);vertical-align:top}.record-result-table tbody tr:last-child td{border-bottom:0}.record-case-status{display:inline-flex;align-items:center;gap:6px;font-weight:500;white-space:nowrap}.record-case-status svg{font-size:14px}.record-result-table td small{display:block;max-width:520px;margin:3px 0 0 20px;color:var(--record-muted);font-size:12px;white-space:normal}.record-message-card pre{overflow:auto;max-height:280px;margin:10px 0 0;padding:10px 12px;border:1px solid var(--record-border);border-radius:6px;background:#f8fafc;color:var(--color-text);font-size:12px;white-space:pre-wrap}.record-code-card>header>div{display:flex;gap:6px}.record-code-card button,.record-code-card header a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:0 11px;border:1px solid var(--record-border);border-radius:6px;background:transparent;color:#1769d5;cursor:pointer;font:inherit;font-size:12px;font-weight:600}.record-code-card header a{background:#2979ef;color:#fff;border-color:#2979ef}.record-code-editor{height:360px;margin-top:10px;overflow:hidden;border:1px solid var(--record-border);border-radius:6px}.record-code-editor .coding-editor{height:100%}.record-code-download-only{margin:10px 0 0;color:var(--record-muted)}.record-detail-actions{display:grid;gap:8px}.record-detail-action{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 12px;border:1px solid #aebbd0;border-radius:7px;background:transparent;color:var(--record-ink);cursor:pointer;font:inherit;font-size:13px;font-weight:700}.record-detail-action:hover{border-color:#ffc31a}.record-info-list{margin:0}.record-info-list>div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px solid var(--app-border);font-size:13px}.record-info-list>div:last-child{border-bottom:0}.record-info-list dt{color:var(--record-muted)}.record-info-list dd{min-width:0;margin:0;color:var(--record-ink);overflow-wrap:anywhere}.record-info-list a{color:#1769d5}.record-history-card nav{display:grid;gap:4px}.record-history-card nav a{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:7px 8px;border-radius:6px;color:var(--color-text);font-size:13px}.record-history-card nav a:hover,.record-history-card nav a.is-active{background:#ffbf0026}.record-history-card nav span{display:grid;gap:2px}.record-history-card nav small{color:var(--record-muted);font-size:12px}.record-detail-card button:focus-visible,.record-detail-card a:focus-visible,.record-detail-side-card button:focus-visible,.record-detail-side-card a:focus-visible{outline:2px solid rgba(41,121,239,.35);outline-offset:2px}html.theme--dark .record-detail-page{--record-border: #414a57;--record-muted: rgba(255, 255, 255, .6);--record-ink: rgba(255, 255, 255, .91)}html.theme--dark .record-detail-card,html.theme--dark .record-detail-side-card{border-color:#343d49;background:#293039;box-shadow:none}html.theme--dark .record-detail-card>header:not(.record-result-title) h2,html.theme--dark .record-detail-side-card h2{color:var(--record-ink)}html.theme--dark .record-result-table th{background:#343d49;color:#e4eaf3}html.theme--dark .record-result-table tr.is-subtask td{background:#323b46}html.theme--dark .record-message-card pre{background:#20262e}html.theme--dark .record-detail-action{border-color:#596579;color:var(--record-ink)}html.theme--dark .record-history-card nav a:hover,html.theme--dark .record-history-card nav a.is-active{background:#ffbf0021}@media (max-width: 900px){.record-detail-page{width:min(100% - 24px,760px);padding-top:12px}.record-detail-layout{grid-template-columns:1fr}.record-detail-sidebar{grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))}.record-detail-main{grid-row:2}}@media (max-width: 620px){.record-detail-page{width:calc(100% - 16px)}.record-detail-card,.record-detail-side-card{padding:12px;border-radius:8px}.record-detail-sidebar{grid-template-columns:1fr}.record-result-title{font-size:16px}.record-result-title>svg{font-size:20px}.record-code-editor{height:300px}.record-detail-card>header:not(.record-result-title){align-items:flex-start;flex-direction:column}}@media (prefers-reduced-motion: reduce){.record-detail-page *{scroll-behavior:auto!important}}.user-profile-page{width:min(1120px,calc(100% - 32px));margin:24px auto 48px;font-size:14px}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}.profile-main{min-width:0}.profile-hero,.profile-card{background:var(--app-surface);border:1px solid var(--app-border);border-radius:12px;box-shadow:0 8px 24px #1f2b480d}.profile-hero{min-height:176px;padding:22px 24px 0;display:flex;justify-content:space-between;gap:18px}.profile-identity{display:flex;gap:20px;min-width:0}.profile-copy h1{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:3px 0 9px;font-size:25px;line-height:1.25}.profile-role-badge{display:inline-flex;align-items:center;justify-content:center;min-height:18px;padding:0 6px;border:1px solid var(--app-border);border-radius:4px;font-size:11px;font-weight:650;letter-spacing:.02em}.profile-role-badge.is-su{border-color:#d8c9a8;background:#f6f2e9;color:#8a7348}.profile-role-badge.is-mod{border-color:#c5d0e0;background:#f4f7fb;color:#5b6f8c}.profile-meta,.profile-social{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--app-text-secondary)}.profile-meta{font-size:13px}.profile-meta i{width:3px;height:3px;border-radius:50%;background:var(--app-text-secondary);opacity:.6}.profile-meta .is-online{color:#16a765}.profile-social{margin-top:12px;font-size:14px}.profile-social span+span{padding-left:14px;border-left:1px solid var(--app-border)}.profile-social strong{color:#1677ff}.profile-hero>.ant-btn{margin-top:0;min-width:108px;height:38px;font-size:14px;font-weight:700}.profile-tabs{height:50px;margin-top:-50px;padding-left:14px;display:flex;align-items:end;gap:4px;position:relative}.profile-tabs button{height:50px;padding:0 20px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--app-text-secondary);font-size:15px;font-weight:600;cursor:pointer}.profile-tabs button.active{color:#e6a900;border-bottom-color:#ffc400}.profile-tabs span{margin:auto 16px 15px auto;color:var(--app-text-secondary);font-size:12px}.profile-content{min-height:360px;margin-top:14px;overflow:hidden}.profile-sidebar{display:grid;gap:14px}.profile-card{padding:16px}.profile-card h2{margin:0 0 12px;padding-left:12px;position:relative;font-size:17px}.profile-card h2:before{content:"";position:absolute;left:0;top:1px;width:4px;height:22px;border-radius:5px;background:#ffc400}.profile-account-actions{display:grid;gap:7px}.profile-account-actions a{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 11px;border:1px solid #aebbd0;border-radius:7px;color:var(--app-text);font-size:13px;font-weight:700;transition:border-color .16s,box-shadow .16s,transform .16s}.profile-account-actions a>span{display:inline-flex;align-items:center;gap:7px}.profile-account-actions a:hover,.profile-account-actions a:focus-visible{border-color:#f2ad00;color:var(--app-text);box-shadow:0 5px 14px #f2ad0024;transform:translateY(-1px)}.profile-account-actions a.is-primary{border-color:#ffc31a;background:linear-gradient(120deg,#ffd94e,#ffc413);color:#111a36;box-shadow:0 5px 12px #ffbe0a33}.profile-account-actions a:focus-visible{outline:3px solid rgba(47,110,255,.45);outline-offset:2px}.profile-counts{display:grid;grid-template-columns:1fr 1fr;text-align:center}.profile-counts div+div{border-left:1px solid var(--app-border)}.profile-counts strong,.profile-counts span{display:block}.profile-counts strong{font-size:23px}.profile-counts span{margin-top:4px;color:var(--app-text-secondary)}.profile-tags{margin:0}.profile-tags div{display:flex;justify-content:space-between;padding:8px 3px;border-bottom:1px solid var(--app-border)}.profile-tags div:last-child{border:0}.profile-tags dt{color:var(--app-text-secondary)}.profile-tags dd{margin:0;font-weight:600}.profile-badges{display:flex;flex-wrap:wrap;gap:14px}.profile-badges figure{width:72px;margin:0;text-align:center}.profile-badges img{width:58px;height:58px;object-fit:contain}.profile-empty{min-height:326px;display:grid;place-items:center}.profile-rating-chart{width:100%;height:300px}.profile-table-wrap{overflow-x:auto}.profile-table{width:100%;border-collapse:collapse}.profile-table th,.profile-table td{padding:12px 14px;border-bottom:1px solid var(--app-border);text-align:left;white-space:nowrap}.profile-table th{background:var(--app-subtle-bg, rgba(22, 119, 255, .06))}.rating-up{color:#16a765}.rating-down{color:#e5484d}.contest-history{padding:6px 16px}.contest-history-item{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:13px 3px;border-bottom:1px solid var(--app-border);color:var(--app-text)}.contest-history-item:hover{color:#1677ff}.contest-history-item small{display:block;margin-top:5px;color:var(--app-text-secondary)}.contest-history-item em{color:var(--app-text-secondary);font-style:normal}.contest-status{color:var(--app-text-secondary);font-size:17px}.contest-status.done{color:#16a765}html.theme--dark .profile-hero,html.theme--dark .profile-card{box-shadow:none}html.theme--dark .profile-role-badge.is-su{border-color:#6a5c3e;background:#2c281f;color:#c4b089}html.theme--dark .profile-role-badge.is-mod{border-color:#4d5c70;background:#1f2a38;color:#8fa3bb}html.theme--dark .profile-account-actions a{border-color:#596579}html.theme--dark .profile-account-actions a.is-primary{border-color:#ffc31a;background:#3a3018;color:#ffe7a3}@media (max-width: 900px){.user-profile-page{width:min(100% - 24px,720px);margin-top:16px}.profile-layout{grid-template-columns:1fr}.profile-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-counts{grid-column:1 / -1}}@media (max-width: 600px){.profile-hero{min-height:230px;padding:18px 16px 0}.profile-identity{gap:12px}.profile-identity .ant-avatar{width:68px!important;height:68px!important;min-width:68px}.profile-copy h1{font-size:22px}.profile-meta i{display:none}.profile-meta{display:grid;gap:4px}.profile-social{font-size:13px}.profile-hero>.ant-btn{position:absolute;right:28px}.profile-tabs{margin-top:-50px}.profile-sidebar{grid-template-columns:1fr}.profile-counts{grid-column:auto}}.problem-statistics-page{--statistics-ink: #10265c;--statistics-muted: #6f7d9c;--statistics-accent: #ffc31a;--statistics-accent-strong: #f2ad00;--statistics-surface: #fff;--problem-page-ink: var(--statistics-ink);--problem-page-accent: var(--statistics-accent);--problem-page-accent-strong: var(--statistics-accent-strong);--problem-page-surface: var(--statistics-surface);color:var(--statistics-ink)}.problem-statistics-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;align-items:start;gap:16px}.problem-statistics-main{display:grid;min-width:0;gap:16px}.problem-statistics-hero,.problem-statistics-card{border:1px solid rgba(46,76,126,.08);border-radius:10px;background:var(--statistics-surface);box-shadow:0 8px 26px #24416912}.problem-statistics-hero{padding:18px 22px}.problem-statistics-hero h1{margin:0;font-size:30px;line-height:1.3}.problem-statistics-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;color:var(--statistics-muted);font-size:13px}.problem-statistics-breadcrumb a{color:var(--statistics-ink)}.problem-statistics-charts{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:16px}.problem-statistics-charts.is-objective{grid-template-columns:1fr}.problem-statistics-card{min-width:0;padding:18px 20px}.problem-statistics-card-title{position:relative;margin:0 0 16px;padding-left:15px;color:var(--statistics-ink);font-size:19px;font-weight:750}.problem-statistics-card-title:before{content:"";position:absolute;inset:2px auto 2px 0;width:5px;border-radius:99px;background:var(--statistics-accent)}.problem-status-chart{display:grid;grid-template-columns:minmax(150px,1fr) minmax(155px,.8fr);align-items:center;gap:10px;min-height:210px}.problem-status-pie{width:min(100%,190px);aspect-ratio:1;margin:auto;border:1px solid rgba(255,255,255,.72);border-radius:50%;box-shadow:inset 0 0 0 1px #10265c0d}.problem-status-legend{display:grid;gap:9px;margin:0}.problem-status-legend>div{display:grid;grid-template-columns:minmax(52px,1fr) auto;gap:12px;align-items:center}.problem-status-legend dt{display:flex;align-items:center;gap:8px;font-weight:650}.problem-status-legend dt i{width:11px;height:11px;border-radius:50%}.problem-status-legend dd{display:flex;gap:13px;margin:0;color:var(--statistics-muted);font-variant-numeric:tabular-nums}.problem-status-legend dd strong{min-width:32px;color:var(--statistics-ink);text-align:right}.problem-score-chart{display:block;width:100%;max-width:100%;height:210px;color:var(--statistics-muted)}.problem-score-chart line{stroke:#405b8424;stroke-width:1}.problem-score-chart text{fill:currentColor;font-size:11px;font-variant-numeric:tabular-nums}.problem-records-card{padding:0;overflow:hidden}.problem-records-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px 14px}.problem-records-header .problem-statistics-card-title{flex:0 0 auto;margin-bottom:0}.problem-record-filters{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px}.problem-record-filters label{display:flex;align-items:center;gap:6px;color:var(--statistics-ink);font-size:13px;white-space:nowrap}.problem-record-filters .ant-select{min-width:104px}.problem-record-filters button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:0 16px;border:1px solid var(--statistics-accent);border-radius:7px;background:var(--statistics-accent);color:#3d3108;cursor:pointer;font:inherit;font-size:13px;font-weight:700}.problem-record-table-wrap{overflow-x:auto;border-top:1px solid rgba(45,72,115,.1)}.problem-record-table{width:100%;min-width:780px;border-collapse:collapse;font-size:13px}.problem-record-table th,.problem-record-table td{padding:11px 13px;border-right:1px solid rgba(45,72,115,.1);border-bottom:1px solid rgba(45,72,115,.1);text-align:left;white-space:nowrap}.problem-record-table th:last-child,.problem-record-table td:last-child{border-right:0}.problem-record-table th{background:color-mix(in srgb,var(--statistics-ink) 4%,var(--statistics-surface));font-weight:700}.problem-record-table tbody tr:hover{background:color-mix(in srgb,var(--statistics-accent) 6%,transparent)}.problem-record-ac{display:inline-flex;align-items:center;gap:6px;color:#20a653;font-weight:750}.problem-records-card>.ant-empty{padding:40px 16px}.problem-records-card>.ant-pagination{justify-content:flex-end;margin:16px 20px}.problem-statistics-page :is(button,a,input):focus-visible{outline:3px solid rgba(47,110,255,.5);outline-offset:2px}html.theme--dark .problem-statistics-page{--statistics-ink: rgba(255, 255, 255, .91);--statistics-muted: rgba(255, 255, 255, .58);--statistics-surface: var(--app-surface)}@media (max-width: 1000px){.problem-records-header{align-items:flex-start;flex-direction:column}.problem-record-filters{justify-content:flex-start}}@media (max-width: 860px){.problem-statistics-layout{grid-template-columns:1fr}}@media (max-width: 640px){.problem-statistics-charts{grid-template-columns:1fr}.problem-statistics-hero,.problem-statistics-card{border-radius:8px}.problem-statistics-hero{padding-inline:16px}.problem-statistics-hero h1{font-size:25px}.problem-status-chart{grid-template-columns:1fr}.problem-status-pie{width:170px}.problem-status-legend{width:min(100%,260px);margin:auto}.problem-record-filters,.problem-record-filters label{width:100%}.problem-record-filters label{justify-content:space-between}.problem-record-filters .ant-select{flex:1}.problem-record-filters button{width:100%}}.problem-submit-page{--submit-ink: #10265c;--submit-muted: #6f7d9c;--submit-accent: #ffc31a;--submit-accent-strong: #f2ad00;--submit-surface: #fff;--problem-page-ink: var(--submit-ink);--problem-page-accent: var(--submit-accent);--problem-page-accent-strong: var(--submit-accent-strong);--problem-page-surface: var(--submit-surface);color:var(--submit-ink)}.problem-submit-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;align-items:start;gap:16px}.problem-submit-card{border:1px solid rgba(46,76,126,.08);border-radius:10px;background:var(--submit-surface);box-shadow:0 8px 26px #24416912}.problem-submit-card{min-width:0;padding:18px 22px 24px}.problem-submit-card>h1{margin:0 0 10px;font-size:30px;line-height:1.3}.problem-submit-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;color:var(--submit-muted);font-size:13px}.problem-submit-breadcrumb a{color:var(--submit-ink)}.problem-submit-hint{display:flex;align-items:center;gap:12px;margin:0 0 24px;padding:13px 16px;border:1px solid rgba(240,174,0,.35);border-radius:8px;background:linear-gradient(90deg,#ffc4191c,#ffc4190a);color:var(--submit-ink);font-size:14px}.problem-submit-hint>span{display:inline-grid;flex:0 0 20px;height:20px;place-items:center;border-radius:50%;background:var(--submit-accent);color:#fff;font-weight:800}.problem-submit-field{margin-top:22px}.problem-submit-section-title{position:relative;margin:0 0 13px;padding-left:15px;color:var(--submit-ink);font-size:19px;font-weight:750}.problem-submit-section-title:before{content:"";position:absolute;inset:2px auto 2px 0;width:5px;border-radius:99px;background:var(--submit-accent)}.problem-submit-lang-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.problem-submit-language{width:100%}.problem-submit-language .ant-select-selector{min-height:42px!important;padding-inline:14px!important;border-color:#c9d4e6!important}.problem-submit-language .ant-select-selection-item{line-height:40px!important}.problem-submit-editor{display:grid;grid-template-columns:52px minmax(0,1fr);min-height:270px;overflow:hidden;border:1px solid #c9d4e6;border-radius:8px;background:var(--submit-surface)}.problem-submit-lines{display:flex;flex-direction:column;align-items:flex-end;overflow:hidden;padding:15px 14px 15px 8px;background:color-mix(in srgb,var(--submit-ink) 5%,var(--submit-surface));color:var(--submit-muted);font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;user-select:none}.problem-submit-editor textarea{width:100%;min-height:270px;resize:vertical;padding:15px 16px;border:0;outline:0;background:transparent;color:var(--submit-ink);font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;tab-size:4}.problem-submit-editor:focus-within{border-color:#5c7fb5;box-shadow:0 0 0 3px #2f6eff1f}.problem-submit-editor textarea::placeholder{color:#9aa5b8}.problem-submit-upload{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:42px;padding:6px 10px;border:1px solid #c9d4e6;border-radius:8px}.problem-submit-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.problem-submit-upload button{padding:6px 11px;border:1px solid #aebbd0;border-radius:5px;background:var(--submit-surface);color:var(--submit-ink);cursor:pointer;font:inherit}.problem-submit-upload>span{min-width:0;overflow:hidden;color:var(--submit-ink);text-overflow:ellipsis;white-space:nowrap}.problem-submit-upload>span.is-empty{color:var(--submit-muted)}.problem-submit-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.problem-submit-primary,.problem-submit-secondary{display:inline-flex;align-items:center;justify-content:center;min-width:138px;min-height:42px;padding:0 22px;border-radius:8px;font:inherit;font-weight:700}.problem-submit-primary{border:1px solid var(--submit-accent);background:linear-gradient(120deg,#ffd447,#ffc311);color:#3d3108;cursor:pointer}.problem-submit-primary:disabled{opacity:.6;cursor:wait}.problem-submit-secondary{border:1px solid #c9d4e6;color:var(--submit-ink)}.problem-submit-page :is(button,a,textarea,input):focus-visible{outline:3px solid rgba(47,110,255,.5);outline-offset:2px}html.theme--dark .problem-submit-page{--submit-ink: rgba(255, 255, 255, .91);--submit-muted: rgba(255, 255, 255, .58);--submit-surface: var(--app-surface)}html.theme--dark .problem-submit-primary{border-color:#8d6b14;background:linear-gradient(120deg,#6e5412,#8f6d16);color:#fff6dc}@media (max-width: 860px){.problem-submit-layout{grid-template-columns:1fr}}@media (max-width: 560px){.problem-submit-lang-row{grid-template-columns:1fr}.problem-submit-card{padding-inline:16px}.problem-submit-card>h1{font-size:25px}.problem-submit-editor{grid-template-columns:42px minmax(0,1fr)}.problem-submit-primary,.problem-submit-secondary{flex:1 1 100%}}
