html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) {
 display:grid;gap:28px;padding-top:40px;padding-bottom:64px;
}
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) :is(.page-heading,.challenge-group,.challenge-record,.row-content,.row-state-actions) { min-width:0; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent))>.page-heading { padding:32px;background:var(--rd-surface);border:1px solid var(--rd-line);border-radius:var(--rd-panel-radius); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent))>.page-heading h1 { margin:0 0 12px;font-size:clamp(32px,5vw,48px);line-height:1.1;letter-spacing:-1.4px; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent))>.page-heading p { margin:0;color:var(--rd-muted);line-height:1.7; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent))>.match-actions { margin:0; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .challenge-group { margin:0;padding:0;border:0; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .challenge-group>h2 { margin:0 0 16px;font-size:21px;line-height:1.4;letter-spacing:-.4px;color:var(--rd-accent); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .challenge-record { display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.65fr);gap:24px;margin:0 0 12px;padding:24px;background:var(--rd-surface);border:1px solid var(--rd-line);border-radius:var(--rd-panel-radius);box-shadow:var(--rd-shadow); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .challenge-record h3 { margin:0 0 12px;font-size:20px;line-height:1.4;letter-spacing:-.3px;overflow-wrap:anywhere; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .item-title { color:var(--rd-text); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .item-title:hover { color:var(--rd-accent); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .item-meta { margin:8px 0 0;color:var(--rd-muted);font-size:14px;line-height:1.7;overflow-wrap:anywhere; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .row-state-actions { display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:16px; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) [data-challenge-status] { align-self:flex-start;max-width:100%;padding:7px 10px;background:var(--rd-surface-muted);border:1px solid var(--rd-line);border-radius:var(--rd-control-radius);color:var(--rd-text);font-size:13px;font-weight:700;line-height:1.6;white-space:normal;overflow-wrap:anywhere; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .row-actions { display:flex;gap:12px;flex-wrap:wrap; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .btn { min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;transition:none; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .btn-danger:not(:disabled) { background:var(--rd-negative-bg);border-color:var(--rd-negative);color:var(--rd-negative); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) button:disabled { opacity:1;background:var(--rd-surface-muted);border-color:var(--rd-line-strong);color:var(--rd-muted);cursor:not-allowed; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .joining-quote { width:100%;margin:0;padding:16px;background:var(--rd-surface-muted);border:1px solid var(--rd-line);border-radius:var(--rd-control-radius); }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .joining-quote>div { display:flex;gap:16px;justify-content:space-between;align-items:baseline;flex-wrap:wrap; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .joining-quote dt { color:var(--rd-muted);line-height:1.6; }
html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .joining-quote dd { min-width:0;margin:0;font-size:20px;font-weight:800;color:var(--rd-text);overflow-wrap:anywhere; }
@media(max-width:850px) {
 html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .challenge-record { grid-template-columns:minmax(0,1fr);gap:20px; }
}
@media(max-width:520px) {
 html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) { gap:24px;padding-top:24px; }
 html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) :is(.page-heading,.challenge-record) { padding:24px 20px; }
 html[data-ui-challenges] body .shared-main:has(>.page-heading):not(:has(>.event-heading)):not(:has(#createEvent)) .row-actions { flex-direction:column; }
}
