/* SDEPORTES_CORR_001: additive shell for the existing general frontend. */
:root{--sidebar:218px;--topbar:74px;--emerald:#087b51;--dark:#032e29;--muted:#68777e}
.ui-icon{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle}
body.has-app-shell{padding:var(--topbar) 0 0 var(--sidebar);background:#f6f8fa;color:#152d36}
.has-app-shell>header{position:fixed;inset:0 0 auto var(--sidebar);height:var(--topbar);min-height:var(--topbar)!important;padding:12px 26px!important;background:linear-gradient(100deg,#073d34,#052f2b)!important;z-index:30}
.has-app-shell>header>.brand{display:none}
#topbar-tools{display:flex;align-items:center;justify-content:space-between;flex:1;gap:12px}
#topbar-tools button{display:flex;align-items:center;gap:8px;color:#fff;background:#ffffff0b;border:1px solid #ffffff15;border-radius:10px;margin:0;padding:8px 12px;min-height:44px;font-size:13px}
#topbar-tools button[aria-label]{background:transparent;border:0;margin-left:auto}
.has-app-shell .header-profile{min-height:44px}
#app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(165deg,#02382e,#001f20);color:#d2e6df;z-index:40;padding:28px 12px 18px;display:flex;flex-direction:column;overflow-y:auto}
.sidebar-brand{color:white;text-decoration:none;font-size:24px;font-weight:850;letter-spacing:-1.2px;padding:0 12px 20px;display:block}
.sidebar-brand b{color:#45d18c;font-style:italic}.sidebar-brand small{display:block;font-size:11px;font-weight:400;letter-spacing:0;color:#bfd6cf;margin-top:2px}
#app-sidebar nav{display:flex;flex-direction:column;gap:5px;margin:5px 0}
#app-sidebar nav button{display:flex;align-items:center;gap:14px;text-align:left;font-size:13px;font-weight:500;background:transparent;color:#c6d9d4;border-radius:9px;padding:11px 13px;margin:0;min-height:44px}
#app-sidebar button[aria-current=page]{background:#1b5949;color:#fff;font-weight:650}
#app-sidebar button[aria-current=page] .ui-icon{color:#50de91}
#app-sidebar button:hover{background:#ffffff12}
.sidebar-note{margin:auto 4px 0;border-radius:12px;padding:90px 14px 18px;background:linear-gradient(0deg,#00352dec,#00352d44),url('/static/61b76d2a328db1b2/assets/sport-banner.jpg') center/cover}
.sidebar-note strong{display:block;font-size:22px;line-height:1.1;color:#fff;max-width:150px}.sidebar-note p{font-size:12px;margin:10px 0 0;color:#d7e5df}
.has-app-shell .community-main{max-width:1440px;padding:24px 26px 38px}
.has-app-shell .welcome{display:flex;flex-direction:column;gap:18px;padding:0}
.has-app-shell .welcome-copy{display:flex;align-items:center;justify-content:space-between;gap:22px}
.has-app-shell .welcome h1{color:#112830;font-size:clamp(26px,2.5vw,36px);margin:0;letter-spacing:-1.1px;line-height:1.2}
.welcome-copy>div>p{margin:2px 0 0;color:var(--muted);font-size:16px}
.has-app-shell .role-modes{width:min(440px,48%);flex-shrink:0;border:1px solid #dce3e6;border-radius:30px;box-shadow:none;padding:4px;margin:0;gap:4px}
.has-app-shell .role-modes button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:24px;font-size:12px;background:transparent;min-height:42px;padding:9px 10px}
.has-app-shell .role-modes button[aria-pressed=true]{background:#087b51;box-shadow:none}
.discovery-row{display:flex;gap:12px;align-items:center}
.has-app-shell .discovery-search{flex:1;margin:0;grid-template-columns:90px minmax(0,1fr) 45px;border-radius:13px;box-shadow:0 3px 8px #172d3a05;padding:3px}
.has-app-shell .discovery-search button{font-size:0;width:44px;height:44px;padding:10px;background:transparent;color:#233f49}.has-app-shell .discovery-search button:after{content:none}
.has-app-shell .discovery-search input{font-size:13px}
.has-app-shell .filter-chips{margin:0;flex-wrap:nowrap;gap:7px}
.has-app-shell .filter-chips button{display:flex;align-items:center;justify-content:center;gap:6px;background:white;color:#1d343d;border:1px solid #e0e6e9;border-radius:12px;min-height:48px;padding:9px 12px;font-size:12px;white-space:nowrap;box-shadow:0 3px 7px #172d3a05}
.has-app-shell .filter-chips button[aria-pressed=true]{border-color:#087b51;background:#e6f5ec;color:#075d3f}
.has-app-shell .filter-chips .ui-icon{width:18px;height:18px}
.has-app-shell .sport-banner{width:100%;min-height:176px;justify-content:center;padding:22px 28px;border-radius:14px;background-image:linear-gradient(90deg,#001e19e6,#00201960 55%,#001e191a),url('/static/61b76d2a328db1b2/assets/sport-banner.jpg');background-position:center 55%}
.has-app-shell .sport-banner h2{font-size:clamp(28px,3vw,40px);max-width:480px;letter-spacing:-1px;line-height:1.05;margin:0 0 14px}.sport-banner h2 span{color:#88e9ab}.has-app-shell .sport-banner p{font-size:13px;word-spacing:8px;color:#fff}
.has-app-shell .section-title{font-size:19px;letter-spacing:-.4px;margin:20px 0 12px}
.has-app-shell .action-cards{gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.has-app-shell .action-card{border-radius:13px;box-shadow:none;border:1px solid #e6eff1;align-self:stretch!important;min-width:0}
.has-app-shell .action-card.blue{background:#e6f2ff;color:#112b50}.has-app-shell .action-card.green{background:#e6f6ee;color:#123d31}.has-app-shell .action-card.orange{background:#fff2df;color:#51391a}.has-app-shell .action-card.purple{background:#f0eafd;color:#322750}
.has-app-shell .action-card .card-link{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:10px;color:inherit!important;padding:16px 12px 28px!important;min-height:134px}
.has-app-shell .card-icon{display:grid;place-items:center;width:40px;height:44px;border-radius:11px;background:#0975d8;color:white;margin:0}.has-app-shell .green .card-icon{background:#0b8051}.has-app-shell .orange .card-icon{background:#d18a13}.has-app-shell .purple .card-icon{background:#7e51d9}
.has-app-shell .card-icon .ui-icon{width:26px;height:26px}.has-app-shell .card-arrow{top:auto;bottom:9px;right:10px;width:22px;height:22px;background:#ffffffd9;color:inherit}.card-arrow .ui-icon{width:15px;height:15px}
.has-app-shell .action-card h3{font-size:13px;line-height:1.3;letter-spacing:-.15px;margin:0 0 7px}.has-app-shell .action-card p{font-size:11px;color:#566773;line-height:1.5;margin:0}
.has-app-shell .home-shortcuts{margin:12px 0}.has-app-shell .home-shortcuts button{min-height:44px;font-size:12px}
.has-app-shell .court-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:visible}
.has-app-shell .featured-court{display:flex;flex-direction:column;padding:0;border-radius:13px;box-shadow:none;min-width:0}
.has-app-shell .featured-court img{height:140px;object-fit:cover}.court-copy{padding:12px;min-width:0}
.has-app-shell .court-copy h3{font-size:14px;margin:0 0 6px}.has-app-shell .court-copy p{margin:5px 0;font-size:11px}.has-app-shell .court-copy .court-price{display:block;margin:8px 0;padding:8px;border-radius:8px;font-size:15px;color:#105c43;background:#eaf7f0}
.has-app-shell .court-copy button{margin:4px 0;min-height:44px}.has-app-shell .court-copy .court-map{margin:8px 0;display:inline-block;min-height:28px}.has-app-shell .court-copy .pilot-notice{font-size:11px;background:#fff6df;color:#785719;padding:7px;border-radius:6px}
.has-app-shell .featured-profiles{border:1px solid #e0e8e8;background:#fff;border-radius:14px;margin:24px 0 0;padding:0 20px 18px}.featured-profiles p{color:#63767a;font-size:13px;max-width:700px}.featured-profiles button{font-size:12px;min-height:44px;margin:0;background:#e6f4ed;color:#176349}
.has-app-shell .bottom-nav{display:none!important}.has-app-shell>footer{max-width:1440px;padding:0 26px 25px!important}
.has-app-shell .screen-heading{background:none;color:#173a33;padding:0 0 18px;margin:0;border-bottom:1px solid #e2e8e6;border-radius:0}.has-app-shell .screen-heading h1,.has-app-shell .screen-heading h2{color:#12392e}.has-app-shell .screen-heading p{color:#63767a}.has-app-shell .screen-heading button{color:#176349;min-height:44px}
.has-app-shell .screen-content{min-width:0}.has-app-shell .screen-content input,.has-app-shell .screen-content select{max-width:100%;min-width:0}.has-app-shell .screen-content article{overflow-wrap:anywhere}
.has-app-shell .profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}.has-app-shell .profile-links button{min-width:0;min-height:48px}.has-app-shell .screen-content>.role-modes{width:100%}
.has-app-shell button:focus-visible,.has-app-shell a:focus-visible{outline:3px solid #dfa12c;outline-offset:3px}
@media(min-width:1400px){.has-app-shell .featured-court{display:grid;grid-template-columns:40% 60%}.has-app-shell .featured-court img{height:100%;min-height:195px}}
@media(max-width:1199px){:root{--sidebar:180px}.sidebar-brand{font-size:21px;padding-left:7px}.has-app-shell .community-main{padding:22px 20px}.has-app-shell .welcome-copy{align-items:flex-start;flex-direction:column;gap:14px}.has-app-shell .role-modes{width:100%;max-width:480px}.discovery-row{align-items:stretch;flex-direction:column;gap:10px}.has-app-shell .filter-chips{flex-wrap:wrap}.has-app-shell .action-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.has-app-shell .action-card .card-link{min-height:110px}.has-app-shell .action-card h3{font-size:14px}.has-app-shell .court-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.has-app-shell .sport-banner{min-height:180px}}
@media(max-width:767px){:root{--sidebar:0px;--topbar:64px}body.has-app-shell{padding:64px 0 76px;background:#f6f8fa}.has-app-shell #app-sidebar{display:none}.has-app-shell>header{inset:0 0 auto;height:64px;min-height:64px!important;padding:10px 14px!important;gap:10px}.has-app-shell>header>.brand{display:block;font-size:18px!important;letter-spacing:-1px!important}.has-app-shell>header>.brand b{font-size:24px}.has-app-shell #topbar-tools{justify-content:end;gap:0}.has-app-shell #topbar-location{font-size:11px;max-width:135px;overflow:hidden;padding:6px;white-space:nowrap}.has-app-shell #topbar-tools button[aria-label]{margin:0;padding:8px 4px}.has-app-shell .header-profile #header-name{display:none}.has-app-shell .avatar{height:30px;width:30px}.has-app-shell .community-main{padding:20px 16px}.has-app-shell .welcome-copy{gap:14px}.has-app-shell .welcome h1{font-size:28px;color:#122f35}.welcome-copy>div>p{font-size:14px}.has-app-shell .role-modes{max-width:none;width:100%;padding:4px;gap:2px}.has-app-shell .role-modes button{font-size:11px;gap:6px;padding:8px 5px;min-height:42px}.role-modes .ui-icon{width:18px;height:18px}.has-app-shell .discovery-search{grid-template-columns:70px minmax(0,1fr) 42px}.has-app-shell .discovery-search input{font-size:12px;padding:7px 5px}.has-app-shell .filter-chips{gap:6px}.has-app-shell .filter-chips button{font-size:11px;min-height:44px;padding:7px 9px}.has-app-shell .sport-banner{min-height:164px;padding:20px}.has-app-shell .sport-banner h2{font-size:30px;max-width:300px}.has-app-shell .action-cards{gap:9px}.has-app-shell .action-card .card-link{display:flex;flex-direction:column;min-height:178px;padding:14px 12px 29px!important;gap:10px}.has-app-shell .card-icon{width:36px;height:36px}.has-app-shell .action-card h3{font-size:13px;line-height:1.3}.has-app-shell .action-card p{font-size:11px}.has-app-shell .court-cards{grid-template-columns:1fr}.has-app-shell .featured-court{display:grid;grid-template-columns:36% minmax(0,1fr)}.has-app-shell .featured-court img{height:100%;min-height:210px}.has-app-shell .court-copy{padding:12px}.has-app-shell .bottom-nav{display:flex!important;gap:0;padding:6px 3px max(6px,env(safe-area-inset-bottom));z-index:50}.has-app-shell .bottom-nav button{flex:1;min-width:0;min-height:48px;padding:4px!important;font-size:11px!important}.has-app-shell .bottom-nav button[aria-current=page]{color:#087b51;background:#e6f5ed;border-radius:10px}.has-app-shell .screen-content:not(:has(.welcome)){background:none;padding:0}.has-app-shell .screen-content:not(:has(.welcome))>.screen-heading{background:none;margin:0 0 16px;padding:0 0 16px}.has-app-shell .screen-heading h1{font-size:27px;color:#163c32}.has-app-shell .screen-heading p{color:#63767a}.has-app-shell .profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}.has-app-shell .screen-tabs{flex-wrap:wrap}.has-app-shell .screen-tabs button{min-height:44px}.has-app-shell .home-shortcuts{flex-wrap:wrap}.has-app-shell .featured-profiles{padding:0 14px 18px}.has-app-shell>footer{padding:0 16px 16px!important}}
@media(max-width:359px){.has-app-shell #topbar-location{display:none}.has-app-shell .community-main{padding:16px 12px}.has-app-shell .filter-chips{gap:4px}.has-app-shell .filter-chips button{padding:7px 6px;font-size:10px}.has-app-shell .filter-chips .ui-icon{width:16px}.has-app-shell .role-modes button{font-size:10px;gap:4px}.has-app-shell .welcome h1{font-size:26px}.has-app-shell .sport-banner h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.has-app-shell>header>.brand{order:1}.has-app-shell #topbar-tools{order:2}.has-app-shell .header-profile{order:3}
