.ds-page{padding-bottom:40px}.community-panel{padding:clamp(20px,4vw,42px);margin:24px auto;max-width:1020px}.community-panel h1,.page-heading h1{font-family:var(--font-display);font-size:clamp(32px,6vw,52px);line-height:1.1;margin-bottom:22px;text-transform:uppercase}.community-form{display:grid;gap:22px;margin-top:24px;max-width:720px}.form-field{min-width:0}.ds-actions{margin-bottom:24px}.ds-actions button,.ds-actions a{white-space:normal}.ds-actions select,.ds-search input{border:1px solid #5487ad;border-radius:8px;padding:12px;background:#071c31;color:#edf5fc;max-width:100%;font:inherit}.ds-search{display:flex;gap:12px;margin:30px 0}.ds-search input{flex:1;min-width:0}.ds-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.ds-listing{border:1px solid #64829b;border-radius:16px;background:linear-gradient(145deg,#071b30ee,#020912ee);overflow:hidden;margin-top:14px}.ds-card-button{border:0;padding:0;background:none;color:inherit;display:grid;grid-template-columns:160px 1fr;width:100%;text-align:left;align-items:stretch}.ds-card-button>img{width:100%;height:100%;min-height:170px;object-fit:cover}.ds-card-button>div{padding:20px;min-width:0}.ds-card-button h2{font-family:var(--font-display);font-size:29px;font-style:italic;line-height:1.1;text-transform:uppercase;margin:7px 0}.ds-card-button p{font-size:14px;color:#adcade;line-height:1.5}.ds-racer-card{display:flex;gap:20px;padding:24px;border-radius:16px;border:1px solid #aa8957;background:#061529cc}.ds-racer-card h2{font-family:var(--font-display);font-size:28px}.ds-racer-card .racer-avatar{flex-shrink:0}.ds-section-title{font-family:var(--font-display);font-size:32px;margin:35px 0 15px}.ds-race-row{display:flex;justify-content:space-between;gap:20px;padding:20px;border:1px solid #365c7a;border-radius:12px;margin:14px 0;background:#031324d9}.ds-race-row>div{min-width:0}.ds-race-row p{color:#bad1e4;overflow-wrap:anywhere}.ds-race-row strong{font-size:20px;color:#ffd27b}.ds-race-row small{color:#8dadc5}.ds-review{border-bottom:1px solid #476988;padding-bottom:30px;margin-top:30px}.ds-profile-head{display:flex;gap:25px;align-items:center}.ds-profile-preview{width:120px;height:120px;object-fit:cover;border:2px solid #ffca76;border-radius:20px}.ds-bio{margin:20px 0;color:#c3d6e7}.ds-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.ds-stats>div{display:flex;flex-direction:column;padding:18px;border:1px solid #9a825c;border-radius:12px;text-align:center}.ds-stats strong{font-size:35px;color:#ffd480}.ds-stats span{font-size:13px}.ds-scope{color:#ffd27b;font-weight:700;margin-top:20px}.ds-editor{max-width:900px}.ds-editor form{max-width:none}.details-photo img{max-height:380px;width:100%;object-fit:contain}.details-info{padding:25px}.details-contact{margin-top:22px}.ds-toast.is-error{background:#481b28;border-color:#ff8c98}.ds-tabbar a{background:#03172ae6}.ds-tabbar a:hover{background:#145b96}.ds-table input,.ds-table select{max-width:220px}.ds-login-form .form-help{margin-top:25px}.market-description{white-space:pre-line}.ds-empty{margin:24px 0}.details-photo{position:relative}.gallery-controls{display:flex;justify-content:center;gap:18px;padding:10px}.gallery-controls button{background:#194f7a;border:1px solid #7095b2;border-radius:6px;color:#fff}.ds-card-button:hover h2{color:#ffc16f}.ds-toast{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.ds-listing-grid{grid-template-columns:1fr}.ds-card-button{grid-template-columns:110px 1fr}.ds-card-button>div{padding:15px}.ds-card-button h2{font-size:25px}.ds-stats{grid-template-columns:repeat(2,1fr)}.ds-profile-head{align-items:flex-start}.ds-actions>*{max-width:100%}.community-panel{width:100%;padding:22px 16px}.site-header{height:auto;min-height:96px;flex-wrap:wrap;padding:18px}.site-header nav{gap:12px;flex-wrap:wrap;font-size:13px}.site-header .scale-mark{display:none}.ds-table th,.ds-table td{padding:10px}.ds-race-row{padding:16px;gap:12px}.ds-race-row strong{font-size:17px}}

/* Native WordPress login form. Signup posts credentials over same-origin HTTPS; no browser storage. */
.ds-login-form{max-width:620px}.ds-auth-logo{display:block;width:110px;height:110px;object-fit:contain;margin:0 auto 22px}.ds-login-form>h1,.ds-login-form>p{text-align:center}
#ds-password-login{display:grid;gap:20px;margin:28px auto 18px;max-width:440px}#ds-password-login p{margin:0}#ds-password-login .login-username label,#ds-password-login .login-password label{display:block;font-weight:700;margin-bottom:10px}
#ds-password-login .input{box-sizing:border-box;display:block;width:100%;min-height:50px;border:1px solid #7193ae;border-radius:9px;padding:12px 14px;background:#031424;color:#f3f8ff;font:inherit;font-size:17px}
#ds-password-login .input:focus{outline:2px solid #78c7ff;outline-offset:2px}#ds-password-login .login-remember label{display:flex;align-items:center;gap:10px;font-size:14px}#ds-password-login input[type=checkbox]{width:18px;height:18px;accent-color:#2785ed}
#ds-login-submit{width:100%;min-height:50px;border:1px solid #86ccff;border-radius:9px;background:linear-gradient(#288bff,#1053b4);box-shadow:0 0 16px #2798ff33;color:#fff;font:inherit;font-weight:700;cursor:pointer}#ds-login-submit:hover{background:#176cd7}
.ds-auth-links{justify-content:center;margin-top:25px}.ds-auth-social{max-width:440px;margin:26px auto}.ds-auth-divider{display:flex;align-items:center;gap:14px;color:#a6bfd2;margin:20px 0;font-size:14px}.ds-auth-divider:before,.ds-auth-divider:after{content:"";height:1px;flex:1;background:#37536b}
.ds-auth-provider{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #b5c6d5;border-radius:9px;padding:14px 18px;margin:12px 0;min-height:50px;box-sizing:border-box;color:#142536;background:#fff;text-decoration:none;font-weight:600}.ds-auth-provider:hover{box-shadow:0 0 0 2px #77b8e3}.ds-auth-provider-apple{background:#080b10;color:#fff;border-color:#7490a6}.ds-auth-provider svg{width:20px;height:20px;flex-shrink:0}
@media(max-width:480px){.ds-auth-logo{width:92px;height:92px}.ds-login-form{border-radius:14px}#ds-password-login{gap:18px}.ds-auth-provider{font-size:15px}}

.ds-auth-recovery{display:flex;justify-content:center;margin:22px 0}.ds-login-identity{padding:18px;border:1px solid #537fa4;border-radius:12px;margin:18px 0;overflow-wrap:anywhere}.ds-login-identity h2{font-size:20px}.ds-login-identity p{margin:10px 0}

.ds-tabbar a[aria-current="page"]{background:#145b96;border-color:#8ed3ff}

/* Registration feedback remains visible beside its form in both languages. */
.ds-signup-notice{padding:18px;border:1px solid #6acb95;border-radius:10px;background:#082c27;color:#defbe9;line-height:1.6;overflow-wrap:anywhere;scroll-margin-block:24px}
.ds-signup-notice p{margin:0}.ds-signup-notice .secondary-button{display:inline-flex;margin-top:14px;white-space:normal}

/* Account security forms share the existing responsive account presentation. */
.ds-security-sections{display:grid;gap:16px;margin-top:24px}
.ds-security-section{min-width:0;border:1px solid #537fa4;border-radius:12px;background:#041729cc;padding:20px;margin:16px 0;overflow-wrap:anywhere}
.ds-security-sections .ds-security-section{margin:0}
.ds-security-section>summary{cursor:pointer;font-weight:700;font-size:20px;min-height:28px}
.ds-security-section>h2{font-size:24px;margin-bottom:14px}
.ds-security-section>p{margin-top:16px}
.ds-credentials-form{width:100%;max-width:720px}
.ds-credentials-form input{box-sizing:border-box;max-width:100%;min-width:0}
.ds-credentials-form .ds-actions{margin-bottom:0}
.ds-credentials-form .form-feedback{overflow-wrap:anywhere}
@media(max-width:480px){.ds-security-section{padding:16px}.ds-security-section>summary{font-size:18px}.ds-credentials-form .ds-actions>button{width:100%}}

/* Public PRO label is independent from the avatar's victory-ranking crown. */
.ds-profile-head .racer-avatar{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.ds-profile-head .racer-avatar>img{min-width:0;min-height:0}
.ds-profile-identity{min-width:0;flex:1}
.ds-profile-identity h1{margin:0;overflow-wrap:anywhere}
.ds-profile-identity>p{margin-top:10px;overflow-wrap:anywhere}
.ds-profile-pro-badge{display:inline-flex;align-items:center;gap:8px;max-width:100%;margin-top:12px;padding:7px 14px;border:1px solid #f2c65c;border-radius:999px;background:linear-gradient(135deg,#493810cc,#1c210dcc);box-shadow:inset 0 0 10px #f5c85a12;color:#ffda7a;font-family:var(--font-display);font-size:20px;font-weight:700;line-height:1.1;white-space:nowrap;vertical-align:middle}
.ds-profile-pro-badge svg{display:block;flex-shrink:0}
@media(max-width:540px){
    .ds-profile-head{align-items:center;gap:16px}
    .ds-profile-head .racer-avatar.large{width:96px;height:96px;border-radius:19px}
    .ds-profile-head .racer-avatar.large .racer-crown{width:35px;height:35px;right:-8px;top:-11px}
    .ds-profile-head .racer-avatar.large .racer-crown svg{width:22px;height:22px}
    .ds-profile-identity h1{font-size:clamp(27px,7vw,36px);line-height:1.05}
    .ds-profile-pro-badge{font-size:16px;gap:6px;padding:6px 10px;margin-top:10px}
    .ds-profile-pro-badge svg{width:18px;height:18px}
    .ds-profile-identity>p{font-size:13px;margin-top:8px}
}

/* The directory uses the same owner-based PRO label in a compact card size. */
.ds-racer-card{align-items:center}
.ds-racer-card-info{flex:1;min-width:0;overflow-wrap:anywhere}
.ds-racer-card-info h2{line-height:1.15}
.ds-racer-card .racer-avatar{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.ds-racer-card .racer-avatar>img{min-width:0;min-height:0}
.ds-racer-card .ds-profile-pro-badge{font-size:14px;gap:5px;padding:5px 9px;margin:7px 0}
.ds-racer-card .ds-profile-pro-badge svg{width:15px;height:15px}
@media(max-width:540px){
    .ds-racer-card{gap:16px;padding:20px 16px}
    .ds-racer-card-info h2{font-size:26px}
}

/* Keep all three podium places visible, with the label below each PRO name. */
.racer-podium-card .ds-profile-pro-badge{font-size:12px;gap:3px;padding:4px 5px;margin:0}
.racer-podium-card .ds-profile-pro-badge svg{width:12px;height:12px}
.racer-podium .racer-avatar{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.racer-podium .racer-avatar>img{min-width:0;min-height:0}
@media(max-width:540px){
    .racer-podium-card .ds-profile-pro-badge{font-size:11px;padding:4px;gap:3px}
    .racer-podium-card .ds-profile-pro-badge svg{width:10px;height:10px}
}
@media(max-width:360px){
    .racer-podium-card .ds-profile-pro-badge svg{display:none}
}

.ds-event-track-picker{display:grid;gap:18px;min-width:0}
.ds-event-track-picker select{max-width:100%;width:100%;min-width:0}
.ds-event-track-preview{padding:16px;border:1px solid #527fa5;border-radius:12px;background:#08223be6;overflow-wrap:anywhere}
.ds-event-track-preview>strong{font-family:var(--font-display);font-size:25px;color:#ffd27b;line-height:1.2}
.ds-event-track-preview p{margin-top:6px;color:#bed4e7}
.ds-event-track-preview>a{display:inline-block;margin-top:10px;color:#9bd8ff}
.ds-event-legacy-location{display:grid;gap:20px;min-width:0;border:1px solid #527fa5;border-radius:12px;padding:16px;margin:0}
.ds-event-legacy-location legend{padding:0 6px;color:#bed4e7}
.ds-event-host-name,.ds-event-organizer{overflow-wrap:anywhere}
.ds-card-button .ds-event-host-name{color:#ffd27b;margin:8px 0 2px}
.ds-event-organizer a{text-decoration:underline;text-underline-offset:3px}
/* Event contact details stay above the hosting track, including personal events. */
.ds-event-contact{margin:22px 0;min-width:0}
.ds-event-contact .details-contact{display:grid;gap:16px;margin:0}
.ds-event-contact .details-contact>div{display:flex;align-items:flex-start;gap:10px;min-width:0}
.ds-event-contact .details-contact>div>svg{width:22px;height:22px;margin-top:3px;flex-shrink:0;color:#8fccff}
.ds-event-contact .details-contact>div>span{display:grid;gap:4px;min-width:0}
.ds-event-contact .details-contact small{display:block;font-size:12px;font-weight:700;letter-spacing:1px;color:#8fccff}
.ds-event-contact .details-contact strong,.ds-event-contact .details-contact a{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.ds-event-contact .details-contact a{text-decoration:underline;text-underline-offset:3px}
.ds-event-contact .form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.ds-event-contact .form-actions>*{max-width:100%}
.ds-event-track-info{margin:22px 0;padding:18px;border:1px solid #4f7c9c;border-radius:12px;background:#061c31}
.ds-event-track-info h3{font-family:var(--font-display);font-size:28px;line-height:1.15;margin:7px 0 10px;overflow-wrap:anywhere}
.ds-event-track-label{font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#ffd27b}
.ds-event-track-info .market-description{margin:10px 0;overflow-wrap:anywhere}
.ds-event-track-info .secondary-button{margin-top:12px}
.arcade-event-copy .ds-event-banner-host{color:#ffd27b;overflow-wrap:anywhere}
.details-info .details-title,.arcade-event-copy h3{overflow-wrap:anywhere}
.ds-push-offer{width:min(100%,520px);text-align:center;overflow-wrap:anywhere}
.ds-push-offer .ds-push-offer-logo{display:block;width:80px;height:80px;object-fit:contain;border-radius:18px;margin:0 auto 18px}
.ds-push-offer h2{margin:0 16px 14px;line-height:1.1}
.ds-push-offer>p{margin-top:14px}
.ds-push-offer-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}
.ds-push-offer-actions>a,.ds-push-offer-actions>button{justify-content:center;white-space:normal;min-width:0}
.ds-push-offer .form-feedback{margin-top:18px}
@media(max-width:420px){.ds-push-offer-actions{display:grid;grid-template-columns:minmax(0,1fr)}.ds-push-offer .ds-push-offer-logo{width:64px;height:64px}.ds-push-offer h2{font-size:32px}}
