.profile-public-id{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 20px;color:#aecddf;font-size:13px}
.profile-public-id strong{padding:7px 12px;border:1px solid #5889a9;border-radius:5px;background:#06223799;color:#d9f6ff;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.contests-content{min-width:0}
.profile-contests>h3,.contest-card h4{color:#d2efff;letter-spacing:.06em}.profile-contests>h3{font-size:15px}
.contest-card{padding:18px;margin-top:14px;border:1px solid #466d85;border-radius:7px;background:#06172599;min-width:0;overflow-wrap:anywhere}
.contest-card small,.contest-period{color:#9bbbd0;font-size:12px;line-height:1.6}.contest-card h4{font-size:19px;margin:9px 0 12px}
.contests-content .contest-card[data-phase=ACTIVE]{border-color:#d9b760}
.contests-content .contest-card[data-phase=ACTIVE] .contest-phase{color:#f0d491;font-weight:700}
.contest-description{white-space:pre-wrap;line-height:1.6;color:#c4dbe9;font-size:13px}.contest-description:empty{display:none}
.contest-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.contest-metric{display:grid;grid-template-columns:1fr auto;gap:8px;color:#accbde;font-size:12px}
.contest-metric strong{color:#eef9ff;font-variant-numeric:tabular-nums}.contest-metric progress{width:100%;height:8px;grid-column:1/-1;accent-color:#62c6eb;border:0;border-radius:5px;overflow:hidden;background:#173246}
.contest-metric progress::-webkit-progress-bar{background:#173246}.contest-metric progress::-webkit-progress-value{background:#62c6eb}.contest-metric progress::-moz-progress-bar{background:#62c6eb}
.contest-outcome{padding:11px 13px;border-left:3px solid #6197b6;background:#16324877;color:#c5e3f4;line-height:1.5;font-weight:700;font-size:14px}
.contest-card[data-eligible=true] .contest-outcome,.contest-confirmed{color:#a5e6cf;border-color:#73c9ac}.contest-card[data-phase=RESULTS] .contest-winning-prize{display:block;color:#f0d491;margin:12px 0}
.contest-prizes,.contest-winners{padding-left:24px;color:#bed7e7;font-size:13px;line-height:1.7}.contest-confirmed{font-size:13px;line-height:1.6}
.contest-error{color:#ffb8ae;font-size:13px;line-height:1.5}.contest-confirm-form{display:grid;gap:12px;margin-top:18px}.contest-confirm-form label{display:grid;gap:7px;font-size:13px;color:#c3dfef}
.contest-confirm-form input,.contest-admin input,.contest-admin select,.contest-admin textarea{min-width:0;width:100%;padding:10px 12px;border:1px solid #52768d;border-radius:5px;background:#071824;color:#eaf6ff;font:inherit}
.contest-confirm-form input:focus-visible,.contest-admin :is(input,select,textarea):focus-visible{outline:2px solid #73b9df;outline-offset:2px}
.contest-admin .admin-toolbar{flex-wrap:wrap}.contest-admin>h2{margin-top:0}
.contest-admin .contest-card .admin-row-actions{margin-top:14px}
.contest-admin-list{display:grid;gap:12px}.contest-admin-list .contest-card{margin-top:0}
.contest-admin button,.contest-admin .contest-export{min-height:38px;padding:9px 12px;border:1px solid #557d96;border-radius:5px;background:#102c40;color:#d7efff;font:inherit;font-size:12px;cursor:pointer}
.contest-admin button:hover:not(:disabled),.contest-export:hover{background:#19445e;border-color:#8dc9e8}.contest-admin button:disabled{opacity:.5;cursor:default}
.contest-admin .admin-primary{background:linear-gradient(#27688f,#164667);font-weight:800}.contest-admin .contest-export{display:inline-flex;align-items:center;text-decoration:none}
.contest-admin-details{margin-top:24px;padding-top:20px;border-top:1px solid #416177}.contest-admin-details[hidden]{display:none}
.contest-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin:16px 0}.contest-filters label{display:grid;gap:6px;font-size:12px;color:#aecdde;min-width:0}
.contest-table-wrap{overflow:auto;max-width:100%;border:1px solid #38566c;border-radius:5px}.contest-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}
.contest-table :is(th,td){padding:11px 12px;border-bottom:1px solid #34516877}.contest-table th{font-weight:700;color:#98c3dc;background:#0b2334}
.contest-table td{color:#d6e9f4}.contest-table td[data-eligible=true]{color:#9fdec5}
.contest-admin-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;color:#a8cbdf;font-size:12px}
.contest-editor{width:min(760px,calc(100vw - 28px))}.contest-editor textarea{resize:vertical;min-height:90px}
.contest-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contest-editor-grid label{min-width:0}
.contest-editor .contest-prizes-input{min-height:115px}.contest-admin .contest-time-help{color:#a8c4d6;font-size:12px;line-height:1.6}
.contest-admin [hidden]{display:none!important}
@media(max-width:650px){.contest-filters{grid-template-columns:1fr 1fr}.contest-editor-grid{grid-template-columns:1fr}.contest-metrics{grid-template-columns:1fr}.contest-card{padding:14px}.contest-admin .admin-row-actions{flex-wrap:wrap}}

.contests-page,:host(.contests-page){margin:0}
.contests-shell{box-sizing:border-box;border:1px solid #547e97;border-radius:10px;width:min(960px,calc(100% - 28px));margin:clamp(18px,5vh,55px) auto;min-width:0;padding:max(36px,var(--menu-frame-safe-top,0px)) max(28px,var(--menu-frame-safe-inline,0px)) max(28px,var(--menu-frame-safe-bottom,0px));color:#e5f5ff;font-family:Inter,Segoe UI,Arial,sans-serif}
.contests-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.contests-heading h1{margin:5px 0 16px;font-size:clamp(25px,4vw,34px);letter-spacing:.08em}
.contest-eyebrow{color:#86c4e2;font-size:11px;letter-spacing:.2em}
.contest-back{display:inline-flex;align-items:center;min-height:40px;padding:9px 13px;border:1px solid #547e97;border-radius:5px;color:#bfe7fc;text-decoration:none;font-size:12px;font-weight:700}
.contests-shell .profile-help{color:#a5c4d7;font-size:13px;line-height:1.65}
.contests-shell button{min-height:40px;padding:9px 14px;border:1px solid #648fa8;border-radius:5px;background:#123349;color:#e3f6ff;font:inherit;font-size:12px;cursor:pointer}
.contests-shell button:hover{background:#1b4c66;border-color:#a5d9f3}
.contest-claim{display:grid;gap:12px;margin-top:20px;padding:16px;border:1px solid #a18a4c88;border-radius:6px;background:#43351533}
.contest-claim label,.contest-verify-form label{display:grid;gap:9px;color:#d8e9f5;font-size:13px}
.contest-claim input{box-sizing:border-box;width:100%;min-width:0;padding:12px 9px;border:1px solid #b39b5f;border-radius:5px;background:#071824;color:#ffe1a1;font:600 clamp(10px,2.2vw,14px)/1.7 Consolas,monospace;letter-spacing:.02em}
.contest-verify-form{display:grid;gap:12px;margin-top:20px;padding-top:15px;border-top:1px solid #44657b}
.contest-code-result{font-size:13px;line-height:1.7;color:#a4e4cd;overflow-wrap:anywhere}.contest-code-result[data-error=true]{color:#ffb8ae}
@media(max-width:480px){.contests-shell{width:calc(100% - 16px)}.contest-claim{padding:12px}.contest-back{width:100%;justify-content:center}}
