/* Scoped competition console: no changes to public Ranking or Players forms. */
body.ra-active {background:#0c0c0e;}
.app-container.ra-host {padding:0;max-width:none;}
.ra { --ra-orange:#fe7e0f; color:#f7f7f8; background:#0c0c0e; font-family:Inter,sans-serif; font-size:16px; line-height:1.5; padding:24px 18px 110px; min-height:100dvh; box-sizing:border-box; }
.ra *, .ra-modal * { box-sizing:border-box; }
.ra h1,.ra h2,.ra h3,.ra p { margin:0 0 16px; overflow-wrap:anywhere; }
.ra h1 {font-size:30px; line-height:1.15; font-weight:700; letter-spacing:-1px;}
.ra h2 {font-size:22px;line-height:1.25;font-weight:700;}
.ra h3 {font-size:19px;line-height:1.35;font-weight:600;}
.ra p,.ra label,.ra span,.ra select,.ra input,.ra output {font-size:16px;}
.ra p {color:#d2d2d7;}
.ra button {font:600 18px/1.3 Inter,sans-serif; min-height:48px; background:#242428; color:#fff; border:1px solid #626269; border-radius:12px; padding:13px 18px; cursor:pointer; text-align:center; max-width:100%; white-space:normal; }
.ra button:disabled {opacity:.5;cursor:not-allowed;}
.ra button.ra-primary {background:var(--ra-orange);color:#17100b;border-color:var(--ra-orange);font-weight:700;}
.ra button:focus-visible,.ra input:focus-visible,.ra select:focus-visible {outline:3px solid #fff;outline-offset:3px;}
.ra-header {max-width:1040px;margin:0 auto 30px;}
.ra button.ra-back {background:transparent;padding-left:0;border-color:transparent;margin-bottom:22px;}
.ra .ra-eyebrow {display:block;color:#ff9b46;font-size:16px;font-weight:700;letter-spacing:1.5px;margin-bottom:12px;}
.ra-section,.ra-card,.ra-notice,.ra-error,.ra-wizard-steps {max-width:1040px;margin:0 auto 20px;}
.ra-card {padding:24px 20px;background:linear-gradient(130deg,#1c1c21,#141417);border:1px solid #424247;border-radius:22px;}
.ra-hero {border-color:#a95618;background:radial-gradient(ellipse at top right,#4a2819 0,transparent 65%),#18181c;}
.ra .ra-hero h2 {font-size:28px;}
.ra-badge {display:inline-block;font-weight:700;color:#ffab61;border:1px solid #a35d2a;padding:7px 12px;border-radius:9px;margin-bottom:18px;}
.ra .ra-closed {color:#ddd;border-color:#777;}
.ra-section {margin-top:34px;}
.ra-section-head {display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px;}
.ra-section-head h2 {margin:0;}
.ra-metrics,.ra-rule-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;margin:22px 0;}
.ra-rule-grid {border-top:1px solid #525258;padding-top:22px;}
.ra-metric {display:flex;flex-direction:column;gap:4px;min-width:0;}
.ra-metric strong {font:700 36px/1.1 Outfit,Inter,sans-serif;letter-spacing:-1px;color:#fff;}
.ra-metric span {color:#d5d5da;}
.ra-calendar {margin-top:24px;}
.ra-calendar progress {display:block;appearance:none;width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:#414146;margin-bottom:12px;accent-color:var(--ra-orange);}
.ra-calendar progress::-webkit-progress-bar {background:#414146;}
.ra-calendar progress::-webkit-progress-value {background:var(--ra-orange);}
.ra-card>button {display:block;width:100%;margin-top:12px;}
.ra label {display:flex;flex-direction:column;gap:9px;margin:18px 0;font-weight:600;min-width:0;}
.ra label span {font-weight:400;color:#d2d2d7;}
.ra input,.ra select {font:400 17px/1.4 Inter,sans-serif;color:#fff;background:#0e0e11;border:1px solid #85858e;border-radius:10px;min-height:52px;width:100%;max-width:100%;min-width:0;padding:12px;color-scheme:dark;}
.ra input[type=datetime-local] {appearance:none;}
.ra .ra-meta {font-size:14px;color:#b7b7c0;}
.ra-validation {color:#ffc398!important;}
.ra-notice,.ra-error {padding:20px;border:1px solid #b47943;border-radius:16px;background:#292019;}
.ra-error {border-color:#ff9090;background:#351e22;}
.ra-wizard-steps {display:flex;gap:12px;justify-content:space-between;padding:0 0 14px;border-bottom:1px solid #515158;}
.ra-wizard-steps [aria-current] {color:#ff9f50;font-weight:700;}
.ra-steppers {display:grid;gap:20px;}
.ra-stepper {padding:18px 14px;border:1px solid #55555c;border-radius:16px;background:#101014;}
.ra-stepper>div {display:flex;gap:20px;align-items:center;justify-content:space-between;}
.ra .ra-stepper output {font-size:42px;font-weight:700;line-height:1.3;}
.ra .ra-stepper button {min-width:54px;font-size:24px;padding:10px;}
.ra-stepper p {margin:14px 0 0;}
.ra-actions {display:flex;flex-direction:column;gap:12px;margin-top:24px;}
.ra-close-zone {margin-top:34px;border-color:#ba7741;}
.ra-issue {padding:18px 16px;border:1px solid #76767d;border-left-width:5px;border-radius:12px;margin-top:18px;background:#202024;}
.ra-blocker {border-color:#ff9696;}
.ra-warning {border-color:#ffc27b;}
.ra-info {border-color:#a3caff;}
.ra-issue p:last-child {margin-bottom:0;}
.ra-podium {display:grid;gap:12px;margin:20px 0;}
.ra-podium>div {padding:20px 16px;border:1px solid #b47b3e;background:linear-gradient(140deg,#3b2a1c,#19191e);border-radius:14px;}
.ra-podium strong {display:block;font-size:38px;color:#ffae62;margin-bottom:10px;}
.ra-podium p:last-child {margin-bottom:0;}
.ra-archive {background:linear-gradient(120deg,#26262e,#141417);border-color:#777783;}
.ra-trophy {display:block;font-size:60px!important;margin-bottom:16px;}
.ra-modal {position:fixed;inset:0;z-index:10000;background:#000c;display:flex;align-items:center;justify-content:center;padding:16px;}
.ra.ra-dialog {width:100%;max-width:560px;min-height:0;max-height:calc(100dvh - 32px);overflow:auto;padding:26px 20px;border:1px solid #b57946;border-radius:22px;overscroll-behavior:contain;}
.ra-access-message {position:fixed;z-index:10000;bottom:80px;left:16px;right:16px;max-width:540px;margin:auto;padding:22px;background:#202024;color:#fff;border:1px solid #ff9f50;border-radius:16px;font:16px/1.5 Inter,sans-serif;}
.ra-access-message h2 {font-size:20px;margin:0 0 12px;}
.ra-access-message button {font:600 18px Inter,sans-serif;min-height:48px;padding:12px 18px;border-radius:10px;background:#fe7e0f;color:#17100b;border:0;}
@media(min-width:760px){.ra{padding:40px 40px 110px;}.ra h1{font-size:42px;}.ra-card{padding:30px;}.ra-metrics{grid-template-columns:repeat(5,minmax(0,1fr));}.ra-steppers,.ra-podium{grid-template-columns:repeat(2,minmax(0,1fr));}.ra-podium{grid-template-columns:repeat(3,minmax(0,1fr));}.ra-actions{flex-direction:row;}.ra-actions button{flex:1;}}
