@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#151a21;background:#eef2f6;font-synthesis:none;text-rendering:optimizeLegibility;--blue:#087ff5;--blue-dark:#006cdd;--soft:#eaf3ff;--muted:#77818c;--line:#e9edf2;--card:#fff;--pad:20px;--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#eef2f6}button,input,select{font:inherit}button{cursor:pointer}.app-shell{width:100%;max-width:680px;min-height:100svh;margin:0 auto;background:var(--card);position:relative;padding-bottom:calc(82px + var(--safe-bottom));box-shadow:0 8px 50px #17283a16}.app-header{height:66px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f2f4;position:sticky;top:0;z-index:4;background:#ffffffed;backdrop-filter:blur(14px)}.app-brand{display:flex;align-items:center;gap:9px;color:#151a21;text-decoration:none}.brand-ball{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--soft);font-size:18px}.app-brand b{font-size:17px;letter-spacing:-.5px;display:block}.app-brand i{font-style:normal;color:var(--blue)}.app-brand small{display:block;margin-top:2px;font-size:7px;color:#9aa3ad;letter-spacing:1.45px}.city-button{height:36px;padding:0 12px;border:0;border-radius:22px;background:#f4f6f8;color:#39434e;display:flex;align-items:center;gap:7px;font-size:12px}.city-button span:first-child{font-size:16px;color:var(--blue)}.city-button b{color:#8b96a1}.view{display:none;min-height:calc(100svh - 148px);padding:0 var(--pad) 24px}.view.active{display:block}.welcome-row{display:flex;justify-content:space-between;align-items:center;padding:25px 0 18px}.kicker{font-size:9px;font-weight:700;letter-spacing:1.6px;color:var(--blue);margin:0 0 9px}.welcome-row h1,.page-heading h1{font-size:29px;line-height:1.12;letter-spacing:-1.2px;margin:0;font-weight:800}.welcome-row h1 span{color:var(--blue)}.ball-art{width:60px;height:60px;border-radius:19px;background:linear-gradient(145deg,#edf6ff,#d9eaff);display:grid;place-items:center;font-size:29px;transform:rotate(7deg)}.search-box{height:48px;border:1px solid #e7ebef;border-radius:12px;display:flex;align-items:center;padding:0 11px;gap:8px;background:#fafbfc}.search-icon{font-size:25px;line-height:1;color:#8c98a5;transform:rotate(-20deg)}.search-box input{border:0;outline:0;min-width:0;flex:1;font-size:12px;background:transparent;color:#232c35}.search-box input::placeholder{color:#9aa3ad}.search-box button{height:32px;width:32px;border:0;border-radius:9px;background:var(--soft);color:var(--blue);font-size:21px}.filter-row{display:flex;gap:8px;overflow:auto;padding:13px 0 18px;scrollbar-width:none}.filter-row::-webkit-scrollbar{display:none}.filter-chip{height:33px;white-space:nowrap;padding:0 14px;border:1px solid #e9edf2;border-radius:20px;background:#fff;color:#66717d;font-size:11px;font-weight:600}.filter-chip.active{background:var(--soft);color:var(--blue);border-color:var(--soft)}.filter-chip span{font-size:13px;margin-right:2px}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 0 12px}.section-heading h2{font-size:19px;letter-spacing:-.5px;margin:0 0 3px}.section-heading p{font-size:10px;color:#919ba5;margin:0}.map-toggle{height:32px;border:1px solid #dceaff;background:#f5f9ff;color:var(--blue);padding:0 11px;border-radius:20px;font-size:11px;font-weight:700}.map-toggle span{font-size:14px;margin-right:3px}.stadium-list{display:flex;flex-direction:column;gap:13px}.stadium-card{border:1px solid #ebeff3;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 16px #152b4210}.card-photo{height:175px;position:relative;background:#d7e4ef center/cover}.card-photo::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(0deg,#07101d72,transparent)}.photo-count{position:absolute;z-index:1;left:11px;bottom:11px;background:#10182177;color:#fff;padding:5px 8px;border-radius:18px;font-size:10px;backdrop-filter:blur(8px)}.price-pill{position:absolute;z-index:1;top:11px;left:11px;background:var(--blue);color:#fff;border-radius:18px;padding:7px 10px;font-size:11px;font-weight:700;box-shadow:0 3px 12px #006bca48}.heart-button{position:absolute;z-index:2;right:11px;top:11px;width:34px;height:34px;border:0;border-radius:50%;background:#ffffffed;color:#788594;font-size:19px;display:grid;place-items:center}.heart-button.saved{color:var(--blue)}.card-body{padding:13px 14px 14px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.card-body h3{font-size:16px;letter-spacing:-.35px;line-height:1.2;margin:0 0 5px}.rating{white-space:nowrap;color:var(--blue);font-size:11px;font-weight:700;background:#eff6ff;padding:5px 7px;border-radius:8px}.card-address{font-size:11px;color:#77818d;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-footer{display:flex;align-items:center;gap:7px;margin-top:13px}.meta-tag{background:#f3f5f7;color:#64717e;font-size:10px;padding:6px 8px;border-radius:20px;white-space:nowrap}.detail-button{margin-left:auto;border:0;border-radius:20px;background:var(--blue);color:#fff;padding:8px 14px;font-size:11px;font-weight:700;white-space:nowrap}.detail-button:active,.blue-button:active{transform:scale(.98)}.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center;padding:60px 20px;color:#6f7b87}.empty-state>span{font-size:40px;color:#a9cfff;margin-bottom:13px}.empty-state b{font-size:15px;color:#2b333c}.empty-state p{max-width:230px;font-size:12px;line-height:1.6;margin:7px 0 16px}.blue-button{border:0;border-radius:11px;background:var(--blue);color:#fff;font-size:13px;font-weight:700;min-height:45px;padding:0 20px}.page-heading{padding:35px 0 24px}.page-heading h1{font-size:30px;margin-bottom:9px}.page-heading>p:last-child{font-size:13px;color:#77818d;line-height:1.6;max-width:340px;margin:0}.info-card{display:flex;align-items:center;gap:13px;background:#f6f8fa;border-radius:14px;padding:16px;margin-bottom:10px}.info-card>span{color:var(--blue);font-size:10px;font-weight:800;align-self:flex-start;margin-top:3px}.info-card div{flex:1}.info-card b{font-size:13px}.info-card p{margin:4px 0 0;color:#7c8792;font-size:11px;line-height:1.5}.info-card i{font-size:21px;color:var(--blue);font-style:normal;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--soft)}.telegram-card{display:flex;align-items:center;gap:12px;padding:16px;margin-top:18px;border-radius:14px;background:#edf6ff;color:#17212c;text-decoration:none}.telegram-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:white}.telegram-card span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.telegram-card b{font-size:13px}.telegram-card small{font-size:10px;color:#768493}.telegram-card strong{color:var(--blue)}.bottom-nav{height:calc(67px + var(--safe-bottom));padding:5px 15px var(--safe-bottom);position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);background:#ffffffef;border-top:1px solid #e8edf2;backdrop-filter:blur(15px);display:grid;grid-template-columns:repeat(4,1fr);z-index:5}.nav-item{position:relative;border:0;background:transparent;color:#9aa4ae;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0}.nav-icon{font-size:25px;line-height:28px;font-family:Arial,sans-serif}.nav-item b{font-size:10px;font-weight:600}.nav-item.active{color:var(--blue)}.nav-item.active::before{content:"";position:absolute;width:80px;height:35px;border-radius:22px;background:#edf4ff;z-index:-1;top:3px}.saved-count{position:absolute;top:2px;left:calc(50% + 15px);background:var(--blue);color:#fff;border-radius:12px;min-width:15px;height:15px;display:grid;place-items:center;font-size:8px}.sheet-backdrop,.detail-backdrop{position:fixed;inset:0;background:#0b172333;z-index:9;opacity:0;pointer-events:none;transition:opacity .22s}.sheet-backdrop.open,.detail-backdrop.open{opacity:1;pointer-events:auto}.bottom-sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);transition:transform .28s ease;width:min(100%,680px);z-index:10;background:#fff;border-radius:22px 22px 0 0;padding:10px 22px calc(23px + var(--safe-bottom));box-shadow:0 -10px 40px #102b441c}.bottom-sheet.open{transform:translate(-50%,0)}.sheet-handle{width:38px;height:4px;background:#d8dde3;border-radius:5px;margin:0 auto 16px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.sheet-head h2{font-size:20px;margin:0}.icon-close,.detail-close{width:34px;height:34px;border:0;background:#f2f4f6;border-radius:50%;font-size:23px;color:#66717d}.field-label{display:block;font-size:11px;font-weight:700;color:#697581;margin:15px 0 7px}.bottom-sheet select{width:100%;height:45px;border:1px solid #e5e9ee;border-radius:10px;background:white;padding:0 11px;color:#313b46;font-size:12px}.apply-filters{width:100%;margin-top:22px}.detail-panel{position:fixed;left:50%;bottom:0;transform:translate(-50%,110%);transition:transform .3s ease;width:min(100%,680px);max-height:93svh;overflow:auto;background:#fff;border-radius:22px 22px 0 0;z-index:12;padding-bottom:calc(18px + var(--safe-bottom))}.detail-panel.open{transform:translate(-50%,0)}.detail-close{position:absolute;z-index:2;right:14px;top:14px;background:#ffffffef}.detail-image{height:245px;background:center/cover;position:relative}.detail-image::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(0deg,#0a15228a,transparent)}.detail-inner{padding:18px 20px}.detail-inner h2{font-size:23px;letter-spacing:-.7px;margin:0 40px 6px 0}.detail-inner .address{font-size:12px;color:#75808c;margin:0 0 18px}.detail-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.detail-fact{border-radius:11px;background:#f5f7f9;padding:11px 9px}.detail-fact span{display:block;font-size:9px;color:#84909c;margin-bottom:5px}.detail-fact b{font-size:12px}.detail-inner h3{font-size:16px;margin:22px 0 9px}.detail-about{font-size:12px;line-height:1.6;color:#71808e}.map-preview{height:135px;border-radius:13px;background-color:#eaf3ed;background-image:linear-gradient(35deg,transparent 43%,#fff 44%,#fff 46%,transparent 47%),linear-gradient(120deg,transparent 56%,#fff 57%,#fff 59%,transparent 60%),linear-gradient(160deg,transparent 22%,#d0e6c9 23%,#d0e6c9 29%,transparent 30%);position:relative;overflow:hidden;display:grid;place-items:center}.map-preview::before,.map-preview::after{content:"";position:absolute;width:150%;height:16px;background:#fff;border:1px solid #dce3dd;transform:rotate(-25deg);top:43%;left:-20%}.map-preview::after{transform:rotate(25deg);top:57%}.map-pin{z-index:1;width:32px;height:32px;border:5px solid white;background:var(--blue);border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 3px 9px #1436}.map-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.map-actions a{height:41px;border-radius:10px;text-decoration:none;display:grid;place-items:center;background:#edf5ff;color:var(--blue);font-size:11px;font-weight:700}.detail-bottom{display:grid;grid-template-columns:1fr 1.2fr;gap:9px;margin-top:17px}.detail-bottom a,.detail-bottom button{height:48px;border-radius:11px;display:grid;place-items:center;text-decoration:none;font-size:13px;font-weight:700}.call-button{background:#f0f4f8;color:#323d49}.book-button{background:var(--blue);color:#fff;border:0}.toast{position:fixed;z-index:30;left:50%;bottom:calc(82px + var(--safe-bottom));transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:.22s;background:#142233;color:#fff;padding:11px 15px;border-radius:22px;font-size:11px;white-space:nowrap;box-shadow:0 6px 20px #152b4233}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:681px){.app-shell{border-radius:10px;overflow:hidden;margin:24px auto;min-height:calc(100svh - 48px)}.app-header{border-radius:10px 10px 0 0}.view{min-height:calc(100svh - 196px)}.bottom-nav{bottom:24px;border-radius:0 0 10px 10px}.stadium-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.card-photo{height:180px}.bottom-sheet,.detail-panel{bottom:24px;border-radius:22px}.sheet-backdrop.open,.detail-backdrop.open{backdrop-filter:blur(2px)}}
.app-shell{max-width:640px}.app-header{height:92px;justify-content:center;border:0;background:#fff}.app-header h1{font-size:27px;letter-spacing:-1px;margin:12px 0 0}.profile-shortcut{position:absolute;right:19px;top:42px;width:34px;height:34px;border:0;border-radius:50%;background:#f3f6f9;color:#65717e;font-size:20px;display:none}.view{padding:0 19px 25px}.stadiums-heading h2{font-size:23px;letter-spacing:-.5px;margin:28px 0 14px}.promo-carousel{width:100%;aspect-ratio:1.78;overflow:hidden;border-radius:23px;background:#102339;box-shadow:0 6px 16px #10243b12}.promo-track{height:100%;display:flex;transition:transform .3s}.promo-slide{flex:0 0 100%;height:100%;border-radius:23px;background-size:cover;background-position:center;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px 24px;color:white;text-decoration:none;overflow:hidden}.promo-tag{font-size:8px;font-weight:800;letter-spacing:1.5px;color:#91c8ff;border-left:2px solid var(--blue);padding-left:7px}.promo-slide strong{font-size:clamp(20px,6vw,37px);line-height:.97;max-width:65%;letter-spacing:-.7px;margin-top:11px}.promo-sub{font-size:9px;letter-spacing:1.1px;color:#d7e6f6;margin-top:10px}.promo-cta{font-size:8px;letter-spacing:.6px;background:var(--blue);border-radius:18px;padding:8px 11px;margin-top:14px;font-weight:800}.promo-cta b{padding-left:8px}.promo-dots{height:28px;display:flex;align-items:center;justify-content:center;gap:9px}.promo-dot{width:9px;height:9px;border:0;border-radius:50%;background:#d8dde2;padding:0}.promo-dot.active{background:var(--blue);transform:scale(1.08)}.stadiums-heading h2{margin-top:19px}.search-row{display:grid;grid-template-columns:minmax(0,1fr) 52px 52px;gap:9px;align-items:stretch;margin-bottom:11px}.search-box{height:53px;border:1.5px solid #dedfe2;border-radius:18px;background:#fff;padding:0 13px;gap:12px}.search-icon{font-size:28px;color:#454b51}.search-box input{font-size:15px}.search-box input::placeholder{color:#a4a8ad}.square-action{width:52px;height:53px;border:1.5px solid #dedfe2;border-radius:18px;background:#fff;color:#222b34;font-size:23px}.square-action.selected{background:var(--soft);color:var(--blue);border-color:#c7e0ff}.filter-row{display:none}.result-count{font-size:10px;color:#8c96a1;margin:0 1px 9px}.stadium-list{gap:15px}.stadium-card{border:1px solid #eceef1;border-radius:21px;overflow:hidden;box-shadow:0 3px 15px #101d2a0d}.card-photo{height:auto;aspect-ratio:1.68;border-radius:20px 20px 0 0;cursor:pointer}.card-photo::after{display:none}.card-body{padding:15px 16px 17px}.card-body h3{font-size:20px;line-height:1.25;letter-spacing:-.45px;margin:0 0 10px;cursor:pointer}.address-row,.distance-row{display:flex;align-items:flex-start;gap:11px;margin:6px 0;color:#747b82}.address-row p,.distance-row p{font-size:14px;line-height:1.5;margin:0}.pin-icon{font-size:20px;color:#747b82;line-height:1.2}.distance-row{align-items:center}.distance-row>span{font-size:15px;color:var(--blue)}.distance-row .detail-button{display:none}.card-price{font-size:21px;line-height:1.2;font-weight:800;color:var(--blue);margin-top:9px;letter-spacing:-.5px}.bottom-nav{height:calc(76px + var(--safe-bottom));grid-template-columns:repeat(4,1fr);padding:6px 8px var(--safe-bottom);box-shadow:0 -3px 16px #15293b08}.nav-item{gap:1px}.nav-icon{font-size:27px;line-height:31px}.nav-item b{font-size:12px;font-weight:500}.nav-item.active{color:var(--blue);font-weight:700}.nav-item.active b{font-weight:700}.nav-item.active::before{width:61px;height:32px;top:2px;background:#edf4ff}.empty-state{padding:42px 20px}.page-heading{padding-top:32px}.shop-coming,.profile-box{padding:20px;border:1px solid var(--line);border-radius:16px;background:#f7f9fb;display:flex;flex-direction:column;gap:8px}.shop-coming>span{font-size:34px}.shop-coming b{font-size:15px}.shop-coming p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}.profile-box{flex-direction:row;align-items:center}.profile-box>span{width:42px;height:42px;border-radius:50%;background:var(--soft);color:var(--blue);display:grid;place-items:center;font-size:22px}.profile-box div{display:flex;flex-direction:column;gap:4px}.profile-box b{font-size:13px}.profile-box small{font-size:11px;color:var(--muted)}.district-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.district-option{height:55px;border:1.5px solid #dedfe2;border-radius:13px;background:#fff;color:#2a3037;font-size:14px}.district-option.active{border-color:var(--blue);background:var(--blue);color:#fff;font-weight:700}.bottom-sheet{max-height:84svh;overflow:auto;padding-left:20px;padding-right:20px}.map-screen{position:fixed;inset:0;background:#f9fafb;z-index:15;display:none}.map-screen.open{display:flex;flex-direction:column}.map-header{height:66px;padding:0 15px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;background:#fff;border-bottom:1px solid #e7eaf0}.map-header h2{font-size:18px;text-align:center;margin:0}.map-back,.map-locate{width:38px;height:38px;border:0;border-radius:12px;background:#f3f6f9;color:#202a34;font-size:22px}.map-locate{font-size:24px;color:var(--blue)}.yandex-map{flex:1;min-height:0;width:100%;background:#f4f4f0}.map-footer{position:absolute;bottom:calc(15px + var(--safe-bottom));left:15px;right:15px;border-radius:14px;background:#ffffffef;box-shadow:0 4px 20px #192b3b24;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#596573;z-index:2}.map-footer button,.map-missing-key a{border:0;border-radius:10px;background:var(--blue);color:#fff;padding:10px 12px;font-size:10px;font-weight:700;text-decoration:none;white-space:nowrap}.map-missing-key{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);width:min(85%,360px);padding:22px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px #13223820;text-align:center;display:flex;align-items:center;flex-direction:column;gap:9px}.map-missing-key[hidden]{display:none}.map-missing-key>span{width:40px;height:40px;border-radius:50%;background:var(--soft);color:var(--blue);display:grid;place-items:center;font-size:22px}.map-missing-key b{font-size:14px}.map-missing-key p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.map-missing-key a{margin-top:3px}.map-preview{background:#eaf3ed}.detail-bottom button{cursor:pointer}.secondary-view{min-height:calc(100svh - 168px)}
@media(min-width:681px){.app-header h1{margin-top:0}.view{padding-left:25px;padding-right:25px}.promo-slide{padding-left:35px}.stadiums-heading h2{margin-top:25px}.bottom-nav{width:min(100%,640px)}}
@media(max-width:370px){.search-row{grid-template-columns:minmax(0,1fr) 46px 46px;gap:6px}.square-action{width:46px}.search-box{padding:0 10px}.search-box input{font-size:13px}.card-body h3{font-size:18px}.card-price{font-size:19px}}
.detail-panel{max-height:100svh;border-radius:0;overflow:auto;padding-bottom:calc(96px + var(--safe-bottom))}.detail-close{position:fixed;top:calc(14px + env(safe-area-inset-top,0px));right:16px;z-index:4;background:#ffffffed}.detail-gallery{padding-top:calc(62px + env(safe-area-inset-top,0px));}.detail-image{height:auto;aspect-ratio:1.48;margin:0 18px;border-radius:22px;position:relative;background-position:center}.gallery-thumbs{display:flex;gap:10px;padding:13px 19px 6px;overflow:auto;scrollbar-width:none}.gallery-thumbs button{flex:0 0 74px;height:63px;border:0;border-radius:12px;background:center/cover;opacity:.73}.gallery-thumbs button.active{outline:2px solid var(--blue);opacity:1}.detail-inner{padding:17px 20px 25px}.detail-inner h2{font-size:26px;margin:0 30px 18px 0;letter-spacing:-.8px}.feature-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:28px}.feature-stats>div{display:flex;flex-direction:column;align-items:center;gap:3px}.feature-stats>div>span{width:58px;height:58px;border-radius:17px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:24px;margin-bottom:5px}.feature-stats b{font-size:17px}.feature-stats small{color:#828c96;font-size:12px}.detail-inner h3{font-size:19px;margin:26px 0 12px;letter-spacing:-.3px}.phone-line{display:flex;align-items:center;gap:13px;margin:10px 0 22px;padding:7px 7px;color:var(--blue);font-size:17px;font-weight:700;text-decoration:none}.phone-line-icon{width:24px;height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.detail-about{font-size:15px;line-height:1.65;color:#7a8189;white-space:pre-line;margin:0 0 18px}.detail-map{width:100%;height:190px;padding:0;border:0;border-radius:17px;overflow:hidden;position:relative;background:#eff3f7;cursor:pointer}.detail-map iframe{width:100%;height:100%;border:0;pointer-events:none}.map-open-hint{position:absolute;right:8px;bottom:8px;background:#ffffffec;color:#44505e;border-radius:17px;padding:7px 10px;font-size:9px;box-shadow:0 2px 8px #17283822}.detail-address{display:flex;align-items:flex-start;gap:12px;margin:13px 2px 10px;font-size:14px;line-height:1.55;font-weight:600;color:#454e57}.detail-address span{color:var(--blue);font-size:20px}.detail-sticky{position:fixed;z-index:3;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,680px);min-height:82px;padding:11px 18px calc(11px + var(--safe-bottom));background:#fffffff2;border-top:1px solid #e6eaf0;display:grid;grid-template-columns:1fr 1.15fr;gap:12px;align-items:center;backdrop-filter:blur(12px)}.detail-sticky>div{display:flex;flex-direction:column;gap:1px}.detail-sticky>div>small{font-size:11px}.detail-sticky>div>b{font-size:22px;letter-spacing:-.4px}.detail-sticky>div>b small{font-size:14px;font-weight:400}.detail-sticky .book-button{height:54px;border:0;border-radius:14px;background:var(--blue);color:white;font-size:17px;font-weight:700}.map-chooser{position:fixed;z-index:21;bottom:0;left:50%;transform:translate(-50%,105%);transition:transform .25s ease;width:min(100%,640px);background:#fff;border-radius:24px 24px 0 0;padding:9px 22px calc(20px + var(--safe-bottom));box-shadow:0 -6px 30px #101b2b26}.map-chooser.open{transform:translate(-50%,0)}.chooser-backdrop{position:fixed;inset:0;background:#0008;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}.chooser-backdrop.open{opacity:1;pointer-events:auto}.chooser-head{display:flex;justify-content:space-between;align-items:center;margin:8px 0 9px}.chooser-head h2{font-size:20px;margin:0}.map-app-list{display:flex;flex-direction:column}.map-app-list button{height:72px;display:flex;align-items:center;gap:15px;border:0;background:#fff;text-align:left;padding:0 9px;color:#17212b}.map-app-list b{font-size:16px;font-weight:600;flex:1}.app-map-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;font-weight:800;font-size:22px}.google-icon{background:conic-gradient(#4285f4 0 28%,#34a853 28% 51%,#fbbc05 51% 76%,#ea4335 76%);color:#fff;border-radius:50%;font-size:19px}.navigator-icon{background:#fff1cf;color:#eba900;transform:none}.yandex-icon{background:#f3f5f8;color:#ec4a3f;font-size:29px;position:relative}.gis-icon{background:#e4f2e8;color:#28a342}.app-chevron{font-size:30px;color:#8c959e;font-weight:300}.map-screen .map-missing-key{display:none}.yandex-map iframe{width:100%;height:100%;border:0}.location-prompt{padding:0;border:0;background:transparent;color:var(--blue);font-size:14px;text-decoration:underline;text-underline-offset:3px}.detail-backdrop{z-index:11}.detail-panel{z-index:12}.chooser-backdrop{z-index:20}.map-chooser{z-index:21}
@media(min-width:681px){.detail-panel{bottom:24px;width:min(100%,640px);max-height:calc(100svh - 48px);border-radius:22px}.detail-close{top:calc(28px + env(safe-area-inset-top,0px))}.detail-sticky{width:min(100%,640px);bottom:24px;border-radius:0 0 22px 22px}.map-chooser{bottom:24px;border-radius:24px}.chooser-backdrop{backdrop-filter:blur(2px)}}
/* Booking and order flows */
.booking-backdrop{position:fixed;inset:0;background:#101b2c66;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s}.booking-backdrop.open{opacity:1;pointer-events:auto}.booking-sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);transition:transform .28s ease;width:min(100%,680px);max-height:92svh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;z-index:41;padding:12px 22px calc(20px + var(--safe-bottom));box-shadow:0 -10px 40px #102b4426}.booking-sheet.open{transform:translate(-50%,0)}.booking-sheet h2{font-size:23px;text-align:center;margin:16px 0 22px}.booking-sheet h3{font-size:17px;margin:20px 0 12px}.date-input{width:100%;height:48px;border:1px solid #e1e6ec;border-radius:12px;padding:0 14px;color:#26303a;background:#fff}.slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.slot-button{min-height:54px;border:1px solid #cfdfda;border-radius:13px;background:#eff6f4;color:#216049;font-weight:700;font-size:12px}.slot-button.selected{background:#087ff5;border-color:#087ff5;color:#fff}.slot-button:disabled{background:#f1f2f3;border-color:#e2e3e5;color:#b8bbc0}.booking-action,.pay-primary{width:100%;min-height:58px;border:0;border-radius:17px;background:#087ff5;color:#fff;font-weight:700;font-size:17px;margin-top:19px}.booking-action:disabled,.pay-primary:disabled{background:#d8dadd;color:#999}.repeat-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-top:24px}.repeat-row input{width:44px;height:25px;accent-color:#087ff5}.repeat-help{font-size:12px;color:#828b95;line-height:1.5;margin:5px 0 14px}.chosen-slot{display:inline-flex;align-items:center;gap:10px;background:#087ff5;color:white;padding:11px 14px;border-radius:12px;font-weight:700;font-size:13px;margin:3px 0}.chosen-slot button{border:0;border-radius:50%;background:#fff;color:#087ff5;font-size:15px;width:22px;height:22px}.summary-box,.pay-box{background:#f1f6f5;border-radius:17px;padding:17px;margin:20px 0}.summary-row{display:flex;justify-content:space-between;gap:10px;margin:10px 0;font-size:13px}.summary-row span{color:#818991}.summary-total{border-top:1px solid #dbe1df;padding-top:15px;margin-top:16px;font-size:16px;font-weight:700}.summary-total b{color:#087ff5}.outline-action{width:100%;min-height:56px;border:2px solid #087ff5;border-radius:16px;background:white;color:#087ff5;font-weight:700;font-size:16px;margin-top:10px}.terms-note{text-align:center;color:#7d858d;font-size:11px;line-height:1.55;margin:18px 0 4px}.booking-success{text-align:center;padding:12px 0 5px}.success-mark{width:74px;height:74px;margin:8px auto 18px;border:7px solid #087ff5;color:#087ff5;border-radius:50%;font-size:48px;line-height:59px;font-weight:700}.booking-success h2{font-size:25px}.success-data{margin:24px 0;text-align:left}.success-data .summary-row{font-size:14px}.orders-heading{display:flex;align-items:center;justify-content:center;position:relative}.orders-heading .icon-action{position:absolute;right:0}.icon-action{border:0;background:transparent;font-size:27px;color:#1d2833}.order-card{border:1px solid #edf0f2;border-radius:20px;padding:17px;margin:12px 0 16px;box-shadow:0 5px 18px #132e4610}.order-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:17px;font-weight:700;margin-bottom:14px}.order-cancel{border:0;background:transparent;color:#9aa1a8;font-size:25px}.order-meta{display:grid;gap:9px;color:#727b84;font-size:13px}.order-meta b{font-weight:500;color:#515b64}.deposit-line{color:#db941b!important;font-weight:700}.countdown{background:#fff7eb;color:#d4921b;border-radius:12px;padding:12px;text-align:center;font-size:16px;font-weight:700;margin:14px 0}.countdown.expired{background:#fff0f0;color:#e23c3c}.order-pay{width:100%;height:54px;border:0;border-radius:15px;background:#087ff5;color:#fff;font-size:16px;font-weight:700}.order-note{font-size:12px;color:#8c949c;margin:13px 0 0}.pay-method{display:flex;align-items:center;gap:13px;width:100%;min-height:72px;border:1px solid #eaedf0;border-radius:16px;background:white;padding:12px 14px;margin:10px 0;text-align:left;font-weight:700}.pay-method.selected{border:2px solid #087ff5;background:#f3f8ff}.pay-logo{width:40px;text-align:center;color:#00a9a0;font-size:12px;font-weight:800}.pay-method.click .pay-logo{color:#1767e8}.pay-radio{margin-left:auto;width:22px;height:22px;border:2px solid #aeb4ba;border-radius:50%}.pay-method.selected .pay-radio{border:7px solid #087ff5}.cancel-confirm{text-align:center;padding-bottom:8px}.cancel-confirm h2{margin:16px 0 6px}.cancel-confirm p{color:#7a828a;margin:8px 0 25px}.cancel-danger{width:100%;min-height:60px;border:0;border-radius:16px;background:#e53935;color:white;font-weight:700;font-size:16px}.cancel-no{width:100%;height:52px;border:0;background:transparent;color:#087ff5;font-size:16px;font-weight:700;margin-top:8px}
/* Store catalogue */
.shop-view{padding-top:13px}.shop-top{display:flex;align-items:center;justify-content:center;position:relative;min-height:52px;margin-bottom:22px}.shop-top h1{font-size:27px;margin:0;letter-spacing:-.8px}.shop-top-actions{position:absolute;right:0;display:flex;gap:10px}.shop-square{height:52px;width:52px;border:0;border-radius:15px;background:#f2f5f8;color:#17202a;font-size:23px;position:relative}.shop-square i{position:absolute;right:-4px;top:-4px;min-width:20px;height:20px;border-radius:50%;background:var(--blue);color:#fff;font-size:11px;font-style:normal;display:grid;place-items:center}.shop-search-row{display:grid;grid-template-columns:1fr 58px;gap:11px;margin-bottom:20px}.shop-search{height:58px;border:1px solid #dfe4e9;border-radius:17px;display:flex;align-items:center;padding:0 15px;gap:12px}.shop-search span{font-size:30px;color:#6d7782}.shop-search input{width:100%;border:0;outline:0;font-size:16px}.shop-search input::placeholder{color:#a0a5ab}.shop-filter{height:58px;width:58px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-card{min-width:0;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 6px 25px #13243812}.product-visual{height:195px;background:radial-gradient(ellipse at 48% 40%,#273749 0,#0a1017 57%,#05080b 100%);position:relative;display:grid;place-items:center;overflow:hidden}.shirt-art{height:88%;width:84%;filter:drop-shadow(0 11px 14px #0008)}.product-like{position:absolute;right:10px;top:10px;width:42px;height:42px;border:0;border-radius:50%;background:#ffffff45;color:white;font-size:24px}.product-like.liked{color:#e64557;background:#fff2f3}.product-likes{position:absolute;bottom:10px;left:12px;color:white;font-size:14px;font-weight:700;text-shadow:0 1px 5px #000}.product-copy{min-height:126px;padding:13px 13px 16px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.product-copy b{font-size:14px;line-height:1.45}.product-copy strong,.product-price{font-size:17px;color:var(--blue);font-weight:800}.cart-float{position:fixed;z-index:6;bottom:calc(83px + var(--safe-bottom));left:50%;transform:translateX(-50%);width:min(86%,510px);height:68px;border:0;border-radius:25px;background:var(--blue);color:white;font-weight:700;font-size:17px;box-shadow:0 10px 30px #087ff54d}.cart-float b{display:inline-grid;place-items:center;border-radius:50%;width:25px;height:25px;background:#ffffff3c}.shop-sort-option{display:flex;align-items:center;gap:14px;width:100%;padding:17px 0;border:0;background:#fff;text-align:left;font-size:18px;font-weight:600}.shop-sort-option i{font-size:24px;color:var(--blue);font-style:normal}.shop-product-screen{position:fixed;inset:0;z-index:35;background:#fff;overflow:auto;padding-bottom:calc(18px + var(--safe-bottom));transform:translateX(105%);transition:transform .28s ease}.shop-product-screen.open{transform:translateX(0)}.product-screen-head{position:sticky;top:0;z-index:2;height:64px;background:#ffffffef;backdrop-filter:blur(14px);display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:0 14px;border-bottom:1px solid #edf0f2}.product-screen-head>button:first-child{font-size:28px;border:0;background:transparent}.product-screen-head h2{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.top-like{position:static;width:auto;height:42px;border-radius:13px;padding:0 12px;background:#fff1f2;color:#dc5360;display:flex;align-items:center;gap:7px}.product-hero{height:min(72vw,450px);min-height:310px;background:radial-gradient(ellipse at center,#253b51,#091018 70%);display:grid;place-items:center;position:relative}.product-hero .shirt-art{width:78%;height:85%}.hero-dots{position:absolute;bottom:15px;display:flex;gap:8px}.hero-dots i{height:8px;width:8px;background:#ffffff9c;border-radius:10px}.hero-dots i:first-child{width:29px;background:var(--blue)}.product-detail-copy{padding:22px 20px 95px}.product-detail-copy h1{font-size:25px;line-height:1.35;margin:0 0 20px}.product-price{display:block;font-size:24px}.old-payment{color:#8a929a;font-size:14px;margin:12px 0 20px}.size-info{display:flex;align-items:center;gap:13px;padding:15px;border-radius:16px;background:#f1f5f7;margin:24px 0}.size-info b{width:42px;height:42px;border-radius:12px;background:var(--blue);color:white;display:grid;place-items:center}.product-detail-copy h3{font-size:17px;margin:27px 0 12px}.product-detail-copy>p:last-child{font-size:15px;line-height:1.7;color:#77818c}.product-detail-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);display:grid;grid-template-columns:1fr 1.2fr;gap:12px;padding:12px 18px calc(13px + var(--safe-bottom));background:#fffffff2;backdrop-filter:blur(12px);border-top:1px solid #edf0f2}.quantity-stepper{height:55px;border-radius:18px;background:#eff4f3;display:flex;justify-content:space-around;align-items:center}.quantity-stepper button{height:40px;width:40px;border:0;border-radius:50%;background:var(--blue);color:white;font-size:24px}.quantity-stepper button:last-child{background:#bcd6fb;color:#145da3}.add-cart{height:56px;border:0;border-radius:17px;background:var(--blue);color:white;font-weight:700;font-size:15px}.cart-head{grid-template-columns:42px 1fr 42px}.cart-head h2{text-align:center;font-size:24px}.cart-lines{padding:15px 18px 160px;display:grid;gap:14px}.cart-line{position:relative;display:grid;grid-template-columns:88px 1fr 25px;gap:12px;padding:12px;border:1px solid #e8ecef;border-radius:20px}.cart-shirt{height:100px;border-radius:17px;background:radial-gradient(ellipse,#263c52,#080d13);display:grid;place-items:center;overflow:hidden}.cart-shirt .shirt-art{width:95%;height:95%}.cart-info{display:flex;flex-direction:column;gap:8px;padding-right:4px}.cart-info>b{font-size:14px;line-height:1.35}.cart-info>span{color:#89919a;font-size:13px}.cart-info small{align-self:flex-start;padding:7px 9px;border:1px solid #c6d9fa;border-radius:10px;color:#3478c9;font-size:11px}.cart-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto}.cart-line-bottom>strong{font-size:13px;color:var(--blue)}.cart-line-bottom .quantity-stepper{height:37px;width:110px;border:1px solid #cbd8d3}.cart-line-bottom .quantity-stepper button{height:29px;width:29px;font-size:18px;background:transparent;color:#6e7780}.cart-line-bottom .quantity-stepper button:last-child{color:var(--blue)}.cart-line-bottom .quantity-stepper b{font-size:13px}.cart-remove{border:0;background:transparent;color:#747e88;font-size:19px}.cart-summary{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);padding:19px 20px calc(18px + var(--safe-bottom));background:white;border-radius:24px 24px 0 0;box-shadow:0 -8px 30px #14283c12}.cart-summary>.summary-row{font-size:19px;margin:0 0 15px}.cart-summary>.summary-row b:last-child{color:var(--blue)}.cart-deposit{padding:14px;border:1px solid #cbdcfb;background:#f0f6ff;border-radius:14px;color:#246fc3;margin-bottom:14px;font-weight:600}.cart-deposit b{float:right}.cart-summary .add-cart{width:100%}
/* Profile settings */
.app-header.profile-mode{display:none}.profile-view{padding:0 18px 28px;position:relative}.profile-cover{height:190px;margin:0 -18px;background:radial-gradient(circle at 12% 35%,#ffffff12 0 80px,transparent 82px),radial-gradient(circle at 90% 5%,#ffffff13 0 100px,transparent 102px),linear-gradient(135deg,#006cdd,#087ff5 65%,#67b0ff);border-radius:0 0 34px 34px;position:relative;overflow:hidden}.profile-avatar{position:relative;margin:-71px auto 0;width:132px;height:132px;border-radius:50%;border:6px solid white;background:#e5f1ff;color:#087ff5;display:grid;place-items:center;font-size:48px;font-weight:600;box-shadow:0 10px 24px #132e4622}.avatar-camera{position:absolute;top:228px;left:calc(50% + 36px);height:44px;width:44px;border-radius:50%;border:4px solid white;background:#087ff5;color:white}.profile-identity{text-align:center;margin:22px 0 27px}.profile-identity h1{font-size:25px;margin:0 0 8px}.profile-identity p{font-size:16px;color:#858d95;margin:0}.profile-info,.settings-card{background:white;border-radius:22px;box-shadow:0 6px 22px #1c355014;padding:12px 17px;margin-bottom:25px}.profile-info-row{display:flex;align-items:center;gap:13px;min-height:72px}.profile-info-row+ .profile-info-row{border-top:1px solid #edf0f2;padding-top:10px;margin-top:5px}.profile-symbol,.setting-icon,.settings-group h2 i{width:43px;height:43px;flex:none;border-radius:13px;display:grid;place-items:center;background:#edf5ff;color:#087ff5;font-size:21px;font-style:normal}.profile-info-row>div{display:flex;flex-direction:column;gap:4px;flex:1}.profile-info-row small{color:#8a9299;font-size:12px}.profile-info-row b{font-size:15px;font-weight:500}.profile-info-row>button{height:43px;width:43px;border:0;border-radius:13px;background:#edf5ff;color:#087ff5;font-size:21px}.settings-group{margin-top:29px}.settings-group h2{display:flex;align-items:center;gap:11px;font-size:17px;margin:0 0 13px}.settings-group h2 i{width:39px;height:39px;font-size:18px}.settings-card{padding:0 14px;margin:0}.settings-card>button,.settings-card>a,.setting-toggle-row{display:flex;align-items:center;gap:13px;min-height:66px;border:0;background:transparent;text-decoration:none;color:#151a21;width:100%;text-align:left;font-size:16px}.settings-card>button+button,.settings-card>a+a{border-top:1px solid #f0f2f4}.settings-card>button>b{margin-left:auto;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#9ba3ac;font-size:16px}.settings-card>button.selected{background:#f1f7ff}.settings-card>button.selected>b{background:#087ff5;color:white}.settings-card>button>span:first-child{font-size:21px;width:33px}.setting-toggle-row{padding:10px 8px}.setting-toggle-row>span:nth-child(2){flex:1}.switch{width:51px;height:29px;position:relative}.switch input{opacity:0;width:0;height:0}.switch i{position:absolute;inset:0;border-radius:20px;background:#c6cbd0;transition:.2s}.switch i:after{content:"";position:absolute;left:4px;top:4px;width:21px;height:21px;border-radius:50%;background:white;transition:.2s}.switch input:checked+i{background:#84b5f5}.switch input:checked+i:after{transform:translateX(22px);background:#087ff5}.link-card a>span:nth-child(2),.danger-links button>span:nth-child(2){flex:1}.link-card a small{display:block;color:#879099;font-size:12px;margin-top:4px}.link-card a>b,.danger-links button>b{font-size:24px;color:#aab0b6;font-weight:400}.social-icon{width:40px;height:40px;border-radius:13px;background:#edf5ff;color:#087ff5;display:grid;place-items:center;font-size:20px}.social-icon.instagram{background:#fff1f6;color:#d44c8a}.social-icon.telegram{background:#e8f8ff;color:#238fc1}.danger-heading{color:#df515b}.danger-heading i{background:#fff0f1;color:#db525a}.danger-links button{display:flex;align-items:center;gap:13px;min-height:66px;width:100%;border:0;background:white;text-align:left;font-size:15px}.danger-links button+button{border-top:1px solid #f0f2f4;color:#d64c54}.danger-links .setting-icon{background:#fff0f1;color:#d64c54}.app-version{text-align:center;color:#b5bbc0;font-size:12px;padding:24px 0}
body.dark-theme{background:#121b26;color:#edf3f8}body.dark-theme .app-shell,body.dark-theme .shop-product-screen,body.dark-theme .booking-sheet,body.dark-theme .bottom-sheet{background:#182432;color:#edf3f8}body.dark-theme .app-header,body.dark-theme .bottom-nav{background:#172330ed;border-color:#273544}body.dark-theme .profile-info,body.dark-theme .settings-card,body.dark-theme .product-card{background:#202e3d;color:#edf3f8}body.dark-theme .settings-card>button,body.dark-theme .settings-card>a,body.dark-theme .danger-links button{color:#edf3f8}
@media(max-width:380px){.product-visual{height:165px}.product-copy{min-height:120px;padding:11px}.product-copy b{font-size:13px}.cart-line{grid-template-columns:72px 1fr 20px;gap:8px}.cart-shirt{height:85px}.cart-line-bottom .quantity-stepper{width:94px}}

.shirt-photo{width:100%;height:100%;object-fit:cover;display:block}.product-visual>.shirt-photo{position:absolute;inset:0}.product-hero>.shirt-photo{width:100%;height:100%;object-fit:contain}.cart-shirt>.shirt-photo{width:100%;height:100%;object-fit:cover}

/* Compact mobile layout: keep stadium photos full-width and give every card the same image ratio. */
.app-header{height:76px}
.stadium-list{display:flex;flex-direction:column;gap:11px}
.stadium-list .card-photo{height:auto;aspect-ratio:1.68}
.promo-dots{height:22px}
.stadiums-heading h2{margin-top:13px;margin-bottom:10px}
.card-body{padding:12px 14px 13px}
.card-body h3{margin-bottom:6px}
.address-row,.distance-row{margin:4px 0}
.card-price{margin-top:6px}
@media(max-width:680px){
  .view{padding-bottom:14px}
  .promo-carousel{aspect-ratio:1.78;border-radius:19px}
  .promo-slide{border-radius:19px;padding-top:16px;padding-bottom:16px}
  .stadiums-heading h2{margin-top:11px;margin-bottom:9px}
  .search-row{margin-bottom:8px}
  .result-count{margin-bottom:7px}
  .detail-gallery{padding-top:calc(50px + env(safe-area-inset-top,0px))}
  .detail-image{aspect-ratio:1.62;margin:0 14px;border-radius:18px}
  .gallery-thumbs{gap:8px;padding:10px 15px 4px}
  .gallery-thumbs button{flex-basis:68px;height:58px;border-radius:10px}
  .detail-inner{padding:13px 17px 20px}
  .detail-inner h2{margin-bottom:12px}
  .feature-stats{margin-bottom:16px}
  .feature-stats>div>span{width:50px;height:50px;border-radius:14px}
  .detail-inner h3{margin:19px 0 8px}
  .detail-about{line-height:1.55;margin-bottom:13px}
  .detail-map{height:165px}
}

/* Fit the district chooser and its primary action into one mobile view. */
#filterSheet{max-height:calc(96svh - env(safe-area-inset-top,0px));overflow:hidden;display:flex;flex-direction:column;padding-top:8px;padding-bottom:calc(10px + var(--safe-bottom))}
#filterSheet .sheet-handle{margin-bottom:10px}
#filterSheet .sheet-head{flex:none;margin:4px 0 10px}
#filterSheet .district-grid{flex:none;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:auto;padding:0 0 2px}
#filterSheet .district-option{height:clamp(36px,4.8svh,44px);border-radius:11px;font-size:clamp(12px,3.4vw,14px)}
#filterSheet .apply-filters{flex:none;height:46px;min-height:46px;margin-top:10px}
#filterSheet .district-option{position:relative;display:flex;align-items:center;justify-content:center;padding:0 28px 0 8px;white-space:nowrap}
.district-count{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-width:18px;height:18px;padding:0 4px;border-radius:10px;display:grid;place-items:center;background:#f0f3f6;color:#7d8791;font-size:10px;font-weight:700}
.district-option.active .district-count{background:#ffffff38;color:#fff}

/* Compact map selection card, shown after choosing a stadium marker. */
.map-field-preview{position:absolute;z-index:3;left:14px;right:14px;bottom:calc(14px + var(--safe-bottom));min-height:124px;padding:12px;display:grid;grid-template-columns:82px minmax(0,1fr) 48px;align-items:center;gap:12px;border-radius:22px;background:#fffffff5;box-shadow:0 8px 30px #182a3d26;backdrop-filter:blur(12px);cursor:pointer}
.map-field-preview[hidden]{display:none}
.map-field-preview img{width:82px;height:92px;object-fit:cover;border-radius:16px;background:#edf1f3}
.map-preview-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.map-preview-copy b{font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#171b20}
.map-preview-copy span{font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#777f87}
.map-preview-copy strong{font-size:16px;line-height:1.25;color:#fff;background:var(--blue);border-radius:12px;padding:7px 10px;overflow:hidden;text-overflow:ellipsis;width:max-content;max-width:100%}
.map-field-preview .map-preview-open{width:48px;height:56px;border:0;border-radius:16px;background:#eaf3ff;color:var(--blue);font-size:34px;line-height:1}
.map-field-preview .map-preview-close{position:absolute;right:8px;top:8px;width:28px;height:28px;border:0;border-radius:50%;background:#eaf3ff;color:var(--blue);font-size:22px;line-height:1;z-index:1}
.map-preview-copy{padding-right:18px}
.map-footer[hidden]{display:none}
#editProfile{width:auto;min-width:43px;max-width:112px;height:auto;min-height:43px;padding:6px 10px;flex:none;font-size:12px;line-height:1.25;text-align:center;white-space:normal}
.profile-info-row>div{min-width:0}
@media(max-width:360px){.map-field-preview{grid-template-columns:68px minmax(0,1fr) 42px;gap:9px;padding:10px}.map-field-preview img{width:68px;height:80px}.map-field-preview .map-preview-open{width:42px;height:50px}.map-preview-copy b{font-size:14px}.map-preview-copy span{font-size:12px}.map-preview-copy strong{font-size:14px;padding:6px 8px}}

/* Shorter home header and promo banner leave more of the stadium list visible. */
.app-header{height:54px;justify-content:flex-start;padding:0 19px;border-bottom:0}
.app-header h1{font-size:21px;letter-spacing:-.5px;margin:0}
.profile-shortcut{display:grid;place-items:center;top:8px;right:18px;width:38px;height:38px;font-size:19px}
.profile-shortcut svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-header.home-mode{height:calc(58px + var(--tg-app-top-safe,calc(var(--tg-safe-area-inset-top,env(safe-area-inset-top,0px)) + var(--tg-content-safe-area-inset-top,0px))));justify-content:flex-start;padding:var(--tg-app-top-safe,calc(var(--tg-safe-area-inset-top,env(safe-area-inset-top,0px)) + var(--tg-content-safe-area-inset-top,0px))) 18px 0;border-bottom:1px solid #e9edf2}
.app-header.home-mode #pageTitle{display:none}
.home-identity{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.home-user-button{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding:0;border:0;background:transparent;text-align:left;color:#263649}
.home-avatar{position:relative;display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;overflow:hidden;background:#e5f4fb;color:#168cc7;border:2px solid #f1f6f9}
.home-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-avatar img[hidden]{display:none}
.home-avatar b{font-size:22px;font-weight:600}
.home-user-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.home-user-copy strong{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.15;font-weight:800;letter-spacing:-.35px}
.home-user-copy small{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#55ad39;font-size:12px;line-height:1.2;font-weight:700}
.home-actions{display:flex;align-items:center;gap:8px;flex:none}
.home-action,.home-actions .profile-shortcut{position:static;display:grid;place-items:center;flex:none;width:32px;height:38px;padding:0;border:0;border-radius:0;background:transparent;color:#8c9caf}
.home-action svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.home-action.trophy-action{font-size:22px}
.home-actions .profile-shortcut svg{width:25px;height:25px;stroke:#8c9caf}
.app-header:not(.home-mode) .home-identity{display:none}
@media(max-width:360px){.app-header.home-mode{padding-left:14px;padding-right:14px}.home-identity{gap:5px}.home-actions{gap:4px}.home-avatar{width:43px;height:43px}.home-user-copy strong,.home-user-copy small{max-width:116px}.home-action,.home-actions .profile-shortcut{width:29px}}
.promo-carousel{aspect-ratio:2.35;border-radius:18px}
.promo-slide{border-radius:18px;padding-top:14px;padding-bottom:14px}
.promo-dots{height:19px}
.stadiums-heading h2{margin-top:11px;margin-bottom:9px}
.promo-carousel{aspect-ratio:647/363}
.promo-slide{position:relative;cursor:pointer;background-size:cover;background-position:center;padding:0}
.promo-slide:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.promo-cta-hotspot{position:absolute;left:2.5%;bottom:9%;width:39%;height:15%;border-radius:24px;cursor:pointer}

/* Profile page restyled to match Telegram's compact account layout. */
.app-header.profile-mode{display:flex;height:calc(58px + var(--tg-app-top-safe,calc(var(--tg-safe-area-inset-top,env(safe-area-inset-top,0px)) + var(--tg-content-safe-area-inset-top,0px))));justify-content:flex-start;align-items:flex-end;padding:var(--tg-app-top-safe,calc(var(--tg-safe-area-inset-top,env(safe-area-inset-top,0px)) + var(--tg-content-safe-area-inset-top,0px))) 18px 14px;border:0;background:#fff;backdrop-filter:none}
.app-header.profile-mode #pageTitle{display:block;margin:0;color:#263649;font-size:21px;line-height:1.2;font-weight:800;letter-spacing:-.3px}
.profile-view{background:#f1f3f9;padding:0 18px 30px}
.profile-hero{margin:0 -18px;padding:24px 20px 25px;background:#f1f3f9;text-align:center}
.profile-avatar-wrap{width:112px;height:112px;position:relative;margin:0 auto}
.profile-avatar{width:112px;height:112px;margin:0;border:5px solid #e0e7f0;background:#c9e8f8;color:#159fda;font-size:43px;box-shadow:none}
.profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.profile-avatar img[hidden]{display:none}
.profile-avatar b{font-size:42px;font-weight:700}
.avatar-camera{top:auto;left:auto;right:-5px;bottom:-1px;width:43px;height:43px;border:4px solid #f1f3f9;border-radius:50%;background:#19a9dc;color:#fff;font-size:20px;box-shadow:none}
.profile-identity{text-align:center;margin:16px 0 0}
.profile-identity h1{font-size:25px;line-height:1.2;margin:0 0 8px;color:#243044;font-weight:800}
.profile-user-id{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:0;background:transparent;color:#8998ad;font-size:14px}
.profile-user-id b{font-weight:600}
.profile-user-id span{font-size:18px;color:#9aa9bd}
.profile-group{margin-top:24px}
.profile-group-title{margin:0 5px 12px!important;color:#899bb4!important;font-size:16px!important;line-height:1.25;letter-spacing:1px;font-weight:800!important}
.profile-info{background:#fff;border:1.5px solid #e1e7ef;border-radius:26px;box-shadow:none;padding:8px 15px;margin:0}
.profile-info-row{min-height:76px;gap:13px}
.profile-info-row+.profile-info-row{border-top:1px solid #e9edf3;padding-top:7px;margin-top:3px}
.profile-symbol,.profile-info-row>button,.setting-icon{border-radius:17px;background:#e8f3ff;color:#168fe0}
.profile-symbol{width:46px;height:46px;display:grid;place-items:center;font-size:22px}
.profile-info-row small{font-size:12px;color:#8a96a5}
.profile-info-row b{font-size:15px;color:#283447;font-weight:600;overflow-wrap:anywhere}
.profile-info-row>button{width:auto;min-width:43px;padding:0 11px;font-size:12px;font-weight:700}
.profile-view .settings-card{padding:0 14px;margin:0;background:#fff;border:1.5px solid #e1e7ef;border-radius:26px;box-shadow:none}
.profile-view .settings-card>button,.profile-view .setting-toggle-row{min-height:70px}
.profile-view .settings-card>button+button{border-top:1px solid #e9edf3}
.profile-view .settings-group h2 i{display:none}
.profile-view .link-card a,.profile-view .danger-links button{min-height:72px}
.profile-view .app-version{padding:22px 0}
body.dark-theme .profile-view,body.dark-theme .profile-hero{background:#182432}
body.dark-theme .profile-info,body.dark-theme .profile-view .settings-card{background:#202e3d;border-color:#2c3d4f;color:#edf3f8}
body.dark-theme .profile-info-row b,body.dark-theme .profile-identity h1{color:#edf3f8}
body.dark-theme .app-header.profile-mode{background:#172330}
@media(max-width:360px){.profile-avatar-wrap,.profile-avatar{width:100px;height:100px}.profile-group{margin-top:20px}}
.app-header.menu-mode #pageTitle{display:none}
.shop-top{justify-content:space-between}
.shop-top h1{text-align:left}
.shop-top-actions{position:static}
.cart-icon,.cart-nav-icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-icon{width:25px;height:25px}
.nav-icon.cart-nav-icon{display:block;width:26px;height:26px;overflow:visible;flex:none}
.product-screen-head.cart-head{height:calc(118px + var(--tg-app-top-safe,0px));padding:calc(54px + var(--tg-app-top-safe,0px)) 18px 0;grid-template-columns:1fr 42px;gap:10px}
.product-screen-head.cart-head h2{text-align:left;font-size:27px;letter-spacing:-.8px}
.profile-symbol svg{width:22px;height:22px;display:block;fill:currentColor}
.profile-symbol.phone-symbol{border-radius:50%;background:#55c90d;color:#fff}
.profile-symbol.phone-symbol svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-symbol.telegram-symbol{background:#e8f6ff;color:#168fe0}
.profile-hero{padding-top:16px;padding-bottom:10px}
.profile-avatar-wrap,.profile-avatar{width:108px;height:108px}
.avatar-camera{width:40px;height:40px}
.profile-group{margin-top:16px}
@media(max-width:360px){.profile-avatar-wrap,.profile-avatar{width:100px;height:100px}}
.detail-panel{padding-top:var(--tg-app-top-safe,0px);padding-bottom:calc(96px + var(--safe-bottom))}
.detail-sticky .book-button{background:var(--blue)!important}
.detail-close{position:sticky;top:calc(54px + var(--tg-app-top-safe,0px));left:auto;right:auto;display:flex;align-items:center;gap:8px;width:max-content;height:42px;margin:0 18px 8px;padding:0 17px;border:0;border-radius:24px;background:#eef2f5;color:#263649;font-size:18px;font-weight:700;box-shadow:none}
.detail-gallery{padding-top:0}
.detail-map{height:auto;aspect-ratio:1.65}
.map-open-hint{display:none}
.detail-map-apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:center;margin:18px 0 8px}
.detail-map-app{height:70px;min-width:0;border:0;border-radius:17px;background:transparent;display:grid;place-items:center;padding:5px}
.detail-map-app svg{display:block;width:56px;height:56px}
.detail-sticky{z-index:13}
.nav-item .nav-icon{width:26px;height:26px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-item[data-tab="profile"] .nav-icon{fill:currentColor;stroke-width:1.2}
.social-icon svg{display:block;width:27px;height:27px}
.social-icon.instagram{background:#fff0f5}
.social-icon.instagram svg{overflow:visible}
.social-icon.chrome{background:#edf4ff}
.social-icon.telegram{background:#e8f8ff}
.setting-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.notification-symbol{background:#e9f1ee;color:#155f45}
.notification-symbol svg{fill:currentColor;stroke:currentColor}
.doc-symbol,.shield-symbol{background:#e9f1ee;color:#155f45}
.profile-view .settings-group h2 i.group-title-icon{display:grid;width:36px;height:36px;margin:0 0 0 0;border-radius:12px;background:#e9f1ee;color:#155f45;font-size:21px;font-style:normal}
.group-title-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-group-title{display:flex;align-items:center;gap:11px;font-size:17px!important;letter-spacing:.7px}
.profile-info-row small{font-size:13px;font-weight:600}
.profile-info-row b{font-size:16px;font-weight:700}
.profile-view .settings-card>button,.profile-view .setting-toggle-row{font-size:16px;font-weight:600}
.profile-view .link-card a,.profile-view .danger-links button{font-size:16px;font-weight:600}
.profile-view .link-card a small{font-size:13px;font-weight:500}
.nav-item[data-tab="profile"].active{color:#155f45}
.nav-item[data-tab="profile"].active::before{background:#e9f1ee}
.profile-view .switch input:checked+i{background:#91afa3}
.profile-view .switch input:checked+i:after{background:#155f45}
.profile-symbol.phone-symbol{background:var(--blue);color:#fff}
.notification-symbol,.doc-symbol,.shield-symbol,.profile-view .settings-group h2 i.group-title-icon{background:#e8f3ff;color:var(--blue)}
.profile-view .switch input:checked+i{background:#a8ceff}
.profile-view .switch input:checked+i:after{background:var(--blue)}
.nav-item[data-tab="profile"].active{color:var(--blue)}
.nav-item[data-tab="profile"].active::before{background:#edf5ff}
.app-header.map-mode{display:none}
.bottom-nav{z-index:18}
.nav-item{gap:3px}
.nav-item .nav-icon{width:29px;height:29px;stroke-width:2}
.nav-item b{font-size:12px;font-weight:700}
.nav-item.active::before{width:90px;height:43px;background:#eaf3ff}
.map-screen{padding-bottom:calc(70px + var(--safe-bottom))}
.map-header{height:calc(54px + var(--tg-app-top-safe,0px));min-height:calc(54px + var(--tg-app-top-safe,0px));padding:var(--tg-app-top-safe,0px) 15px 0;grid-template-columns:minmax(104px,auto) 1fr 42px;flex:none}
.map-header h2{grid-column:2}
.map-back{width:max-content;min-width:104px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:23px;background:#eef2f5;color:#263649;font-size:16px;font-weight:700}
.map-locate{justify-self:end}
.map-footer{bottom:calc(88px + var(--safe-bottom))}
.map-field-preview{bottom:calc(88px + var(--safe-bottom))}
.map-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.nav-item{min-width:0}
.nav-item.active::before{width:min(60px,calc(100% - 8px));height:40px}
.nav-item[data-tab="map"].active{color:var(--blue)}
.nav-item[data-tab="map"].active::before{background:#edf5ff}
@media(max-width:360px){.nav-item b{font-size:10px}.nav-item .nav-icon{width:25px;height:25px}}
.bottom-nav{background:#f3f8ff}
.nav-item.active::before{background:#dcecff}
.detail-open .bottom-nav{display:none}
#bottomNav[hidden]{display:none!important}
#detailStickyRoot .detail-sticky{display:grid}
.profile-view{background:#f1f4fa;padding:0 16px 20px}
.profile-hero{padding:14px 16px 13px;background:#f1f4fa}
.profile-avatar-wrap,.profile-avatar{width:92px;height:92px}
.profile-avatar{border-width:4px;font-size:35px;box-shadow:0 4px 14px #1b38500d}
.profile-avatar b{font-size:34px}
.avatar-camera{width:35px;height:35px;right:-3px;bottom:-1px;border-width:3px;font-size:16px}
.profile-identity{margin:10px 0 0}
.profile-identity h1{font-size:21px;margin:0 0 3px}
.profile-user-id{font-size:12px;padding:2px 6px}
.profile-user-id span{font-size:15px}
.profile-group{margin-top:15px}
.profile-group-title{font-size:13px!important;margin:0 4px 8px!important;letter-spacing:.8px}
.profile-info{padding:5px 11px;border-radius:20px;box-shadow:0 3px 12px #243b570d}
.profile-info-row{min-height:62px;gap:10px}
.profile-info-row+.profile-info-row{padding-top:5px;margin-top:2px}
.profile-symbol{width:39px;height:39px;border-radius:13px}
.profile-info-row small{font-size:11px}
.profile-info-row b{font-size:14px}
.profile-info-row>button{min-height:37px;padding:4px 9px;font-size:11px}
.profile-view .settings-card{border-radius:20px;box-shadow:0 3px 12px #243b570d;padding:0 11px}
.profile-view .settings-card>button,.profile-view .setting-toggle-row{min-height:58px;font-size:14px}
.profile-view .link-card a,.profile-view .danger-links button{min-height:60px;font-size:14px}
.profile-view .link-card a small{font-size:11px}
.profile-view .app-version{padding:15px 0;font-size:10px}

/* Shop product-to-cart flow */
.product-hero .product-gallery-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.hero-dots button{height:8px;width:8px;padding:0;border:0;border-radius:10px;background:#ffffff9c}
.hero-dots button.active{width:29px;background:var(--blue)}
.product-detail-actions.single-action{grid-template-columns:1fr}
.product-detail-actions.in-cart{grid-template-columns:minmax(0,1fr) 1.2fr}
.product-detail-actions .go-to-cart{display:flex;align-items:center;justify-content:center;gap:10px}
.product-detail-actions .go-to-cart span{font-size:20px}
.product-size-picker{margin:23px 0 27px}
.product-size-picker h3{font-size:17px;margin:0 0 13px}
.product-size-picker>div{display:flex;flex-wrap:wrap;gap:10px}
.product-size-picker button{min-width:70px;height:66px;padding:0 16px;border:1.5px solid #dfe4e9;border-radius:17px;background:#fff;color:#171b20;font-size:17px;font-weight:700}
.product-size-picker button.selected{border-color:var(--blue);background:var(--blue);color:#fff;box-shadow:0 8px 18px #087ff52b}
.product-screen-head.cart-head{grid-template-columns:42px 1fr 42px;padding:0 18px;height:64px}
.product-screen-head.cart-head h2{text-align:center;font-size:24px}
.product-screen-head.cart-head>button:first-child{width:42px;height:42px;font-size:28px}
@media(max-width:380px){.product-detail-actions.in-cart{grid-template-columns:minmax(0,1fr) 1.15fr;gap:9px;padding-left:14px;padding-right:14px}.product-detail-actions .quantity-stepper{height:55px}.product-size-picker button{min-width:60px;height:58px}}

/* Profile shortcut: visual treatment only; the existing click handler is unchanged. */
.app-header.home-mode .home-actions .profile-shortcut{width:44px;height:44px;min-width:44px;min-height:44px;flex:none;padding:0;border:1px solid #dce9f7;border-radius:14px;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%);color:var(--blue);box-shadow:0 2px 7px #087ff514;transition:transform .14s ease,background-color .18s ease,box-shadow .18s ease,border-color .18s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.app-header.home-mode .home-actions .profile-shortcut svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8}
@media(hover:hover){.app-header.home-mode .home-actions .profile-shortcut:hover{background:#edf6ff;border-color:#b9d8fa;box-shadow:0 4px 11px #087ff51f;transform:translateY(-1px)}}
.app-header.home-mode .home-actions .profile-shortcut:active{transform:scale(.94);box-shadow:0 1px 3px #087ff514}
.app-header.home-mode .home-actions .profile-shortcut:focus-visible{outline:3px solid #087ff533;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.app-header.home-mode .home-actions .profile-shortcut{transition:none}}

/* Stadium search and view controls: visual refresh, existing filter/map handlers retained. */
#homeView .stadiums-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.55px;margin:13px 0 14px;color:#151a21}
#homeView .stadium-search-row{display:grid;grid-template-columns:minmax(0,1fr) 60px 60px;gap:12px;align-items:stretch;margin-bottom:11px}
#homeView .search-box{display:flex;align-items:center;min-width:0;height:56px;padding:0 13px;gap:10px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 2px 8px #17283a08;transition:border-color .18s ease,box-shadow .18s ease}
#homeView .search-box:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb18}
#homeView .search-box .search-icon{width:21px;height:21px;flex:none;color:#303b48;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:none;transition:color .18s ease}
#homeView .search-box:focus-within .search-icon{color:#2563eb}
#homeView .search-box input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:#202a35;font-size:14px}
#homeView .search-box input::placeholder{color:#99a2ad;opacity:1}
#homeView .search-box input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
#homeView .clear-search{display:none;place-items:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#e8edf3;color:#fff;font-size:21px;line-height:1;transition:background-color .18s ease,transform .15s ease}
#homeView .search-box input:not(:placeholder-shown)+.clear-search{display:grid}
#homeView .square-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:60px;height:56px;padding:4px 2px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#202a35;font-size:9px;line-height:1.1;font-weight:600;box-shadow:0 2px 8px #17283a08;transition:transform .18s ease,color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#homeView .square-action svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#homeView .square-action.selected{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 5px 12px #2563eb30}
#homeView .square-action:active{transform:scale(.97)}
#homeView .clear-search:active{transform:scale(.94)}
@media(hover:hover){#homeView .square-action:not(.selected):hover{border-color:#c8dcff;background:#f5f9ff;color:#2563eb}#homeView .square-action.selected:hover{background:#1d58d7;border-color:#1d58d7}#homeView .clear-search:hover{background:#c9d8eb}}
@media(max-width:430px){#homeView .stadium-search-row{grid-template-columns:minmax(0,1fr) 56px 56px;gap:8px}#homeView .square-action{width:56px;height:56px}}
@media(max-width:360px){#homeView .stadium-search-row{grid-template-columns:minmax(0,1fr) 52px 52px;gap:7px}#homeView .square-action{width:52px;height:56px;font-size:8.5px}#homeView .search-box{padding:0 10px;gap:8px}#homeView .search-box .search-icon{width:19px;height:19px}#homeView .search-box input{font-size:13px}}
@media(prefers-reduced-motion:reduce){#homeView .search-box,#homeView .search-box .search-icon,#homeView .clear-search,#homeView .square-action{transition:none}}

/* Bottom navigation refresh; data-tab routing remains unchanged. */
#bottomNav{height:calc(76px + var(--safe-bottom));padding:8px 10px calc(8px + var(--safe-bottom));grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:0;border-top:1px solid #e8edf2;border-radius:22px 22px 0 0;background:rgba(255,255,255,.94);box-shadow:0 -5px 22px #203a5a12;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
#bottomNav .nav-item{position:relative;isolation:isolate;display:flex;min-width:0;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:4px 0 8px;border:0;border-radius:18px;background:transparent;color:#94a3b8;overflow:visible;transform:scale(1);transition:transform .24s cubic-bezier(.2,.8,.25,1.3),color .2s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#bottomNav .nav-item::before{content:"";position:absolute;z-index:0;top:1px;left:50%;width:56px;height:44px;border-radius:17px;background:#e8f2ff;opacity:0;transform:translateX(-50%) scale(.82);transition:opacity .22s ease,transform .24s cubic-bezier(.2,.8,.25,1.2)}
#bottomNav .nav-item::after{content:"";position:absolute;z-index:1;top:2px;left:50%;width:44px;height:44px;border-radius:50%;background:radial-gradient(circle,#168af53d 0%,#168af51a 54%,transparent 72%);opacity:0;transform:translateX(-50%) scale(.55);pointer-events:none}
#bottomNav .nav-item.active{color:#168af5}
#bottomNav .nav-item.active::before{width:56px;height:44px;background:#e8f2ff;opacity:1;transform:translateX(-50%) scale(1)}
#bottomNav .nav-item .nav-icon{position:relative;z-index:2;display:block;flex:none;width:25px;height:25px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transform:translateY(0);transition:transform .2s cubic-bezier(.2,.8,.25,1.2)}
#bottomNav .nav-item[data-tab="profile"] .nav-icon{fill:none;stroke-width:1.9}
#bottomNav .nav-item b{position:relative;z-index:2;display:block;max-width:100%;margin-top:4px;overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.15;font-weight:500;transition:font-weight .18s ease,color .2s ease}
#bottomNav .nav-item.active b{font-weight:600}
#bottomNav .nav-dot{position:absolute;z-index:2;left:50%;bottom:1px;display:block;width:4px;height:4px;border-radius:50%;background:#168af5;opacity:0;transform:translateX(-50%) scale(.3);transition:opacity .2s ease,transform .24s cubic-bezier(.2,.8,.25,1.2)}
#bottomNav .nav-item.active .nav-dot{opacity:1;transform:translateX(-50%) scale(1)}
#bottomNav .nav-item:active{transform:scale(.94)}
#bottomNav .nav-item:active .nav-icon{transform:translateY(-1px) scale(1.04)}
#bottomNav .nav-item:active::after{animation:nav-ripple .28s ease-out}
@keyframes nav-ripple{0%{opacity:0;transform:translateX(-50%) scale(.55)}35%{opacity:1}100%{opacity:0;transform:translateX(-50%) scale(1.35)}}
@media(max-width:360px){#bottomNav{padding-left:7px;padding-right:7px}#bottomNav .nav-item b{font-size:11px}#bottomNav .nav-item .nav-icon{width:24px;height:24px}#bottomNav .nav-item::before{width:50px}}
@media(min-width:681px){#bottomNav{bottom:24px;height:76px;padding:8px 10px;border-radius:22px}}
@media(prefers-reduced-motion:reduce){#bottomNav .nav-item,#bottomNav .nav-item::before,#bottomNav .nav-item .nav-icon,#bottomNav .nav-item b,#bottomNav .nav-dot{transition:none}#bottomNav .nav-item:active::after{animation:none}}

/* Profile UI refresh, scoped to the existing profile view and its existing controls. */
#profileView{background:#f7f9fc;padding:0 16px calc(28px + var(--safe-bottom));color:#172033}
#profileView .profile-hero{margin:0 -16px 20px;padding:20px 16px 19px;background:radial-gradient(ellipse at 15% 20%,#e4f1ff 0,transparent 48%),radial-gradient(ellipse at 88% 6%,#edf5ff 0,transparent 44%),linear-gradient(180deg,#f0f7ff 0%,#f7f9fc 100%);border-bottom:1px solid #eaf0f8;border-radius:0 0 24px 24px;text-align:center}
#profileView .profile-avatar-wrap{width:104px;height:104px;margin:0 auto;position:relative}
#profileView .profile-avatar{display:grid;place-items:center;width:104px;height:104px;margin:0;border:5px solid #fff;border-radius:50%;background:linear-gradient(145deg,#e783f1 0%,#d64be4 55%,#b847da 100%);color:#fff;font-size:38px;box-shadow:0 9px 22px #9848c52c}
#profileView .profile-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
#profileView .profile-avatar img[hidden]{display:none}
#profileView .profile-avatar b{font-size:38px;font-weight:700}
#profileView .avatar-camera{position:absolute;top:auto;right:0;bottom:0;left:auto;display:grid;place-items:center;width:36px;height:36px;padding:0;border:3px solid #f0f7ff;border-radius:50%;background:#168af5;color:#fff;font-size:16px;box-shadow:0 3px 10px #168af53a;transition:transform .22s cubic-bezier(.2,.8,.25,1.25),box-shadow .2s ease}
#profileView .avatar-camera svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#profileView .profile-identity{margin:12px auto 0;text-align:center;min-width:0}
#profileView .profile-identity h1{margin:0 0 3px;color:#172033;font-size:21px;line-height:1.25;font-weight:800;letter-spacing:-.35px;overflow-wrap:anywhere}
#profileView .profile-header-username{margin:0;color:#708099;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
#profileView .profile-user-id{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin-top:4px;padding:4px 8px;border:0;border-radius:10px;background:transparent;color:#8a98ad;font-size:12px;line-height:1.3;transition:background-color .18s ease,color .18s ease,transform .2s cubic-bezier(.2,.8,.25,1.2)}
#profileView .profile-user-id b{color:#53647d;font-weight:600;overflow-wrap:anywhere}
#profileView .profile-user-id svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#profileView .profile-group{margin-top:20px}
#profileView .profile-group-title{display:flex;align-items:center;gap:9px;margin:0 2px 10px!important;color:#64748b!important;font-size:12px!important;line-height:1.2;letter-spacing:.65px;font-weight:700!important}
#profileView .profile-group-title .group-title-icon{display:grid!important;place-items:center;flex:none;width:30px;height:30px;margin:0;border-radius:10px;background:#e8f2ff;color:#168af5;font-size:17px;font-style:normal}
#profileView .profile-group-title .group-title-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#profileView .profile-info,#profileView .settings-card{margin:0;padding:5px 10px;border:1px solid #e6ebf2;border-radius:18px;background:#fff;box-shadow:0 4px 16px #1b35520b}
#profileView .profile-info-row{min-height:68px;gap:10px;padding:5px 0}
#profileView .profile-info-row+.profile-info-row{margin-top:2px;padding-top:7px;border-top:1px solid #edf1f6}
#profileView .profile-symbol,#profileView .setting-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:13px;background:#e8f2ff;color:#168af5;font-size:19px}
#profileView .profile-symbol svg,#profileView .setting-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#profileView .profile-info .phone-symbol{border-radius:50%;background:#168af5;color:#fff}
#profileView .profile-info .telegram-symbol{background:#e8f2ff;color:#168af5}
#profileView .profile-info-row>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#profileView .profile-info-row small{color:#8a98ad;font-size:11px;line-height:1.25}
#profileView .profile-info-row b{color:#172033;font-size:14px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
#profileView .profile-info-row>button{width:auto;min-width:0;min-height:42px;padding:0 12px;border:1px solid transparent;border-radius:14px;background:#e8f2ff;color:#168af5;font-size:11px;line-height:1.2;font-weight:700;white-space:nowrap}
#profileView .profile-info-row:last-child::after{content:"›";margin-left:auto;padding:0 3px;color:#94a3b8;font-size:22px;line-height:1}
#profileView .settings-card{padding:5px}
#profileView .settings-card>button,#profileView .settings-card>a,#profileView .setting-toggle-row{min-height:58px}
#profileView #languageChoices>button,#profileView #themeChoices>button{position:relative;display:flex;align-items:center;gap:11px;width:100%;min-height:54px;padding:0 10px;border:1px solid transparent;border-radius:14px;background:transparent;color:#172033;text-align:left;font-size:14px;font-weight:600;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .22s cubic-bezier(.2,.8,.25,1.2)}
#profileView #languageChoices>button+button,#profileView #themeChoices>button+button{border-top:1px solid #edf1f6}
#profileView #languageChoices>button.selected,#profileView #themeChoices>button.selected{border-color:#e8f2ff;background:#e8f2ff}
#profileView #languageChoices>button>span:first-child,#profileView #themeChoices>button>span:first-child{display:grid;place-items:center;flex:none;width:28px;height:28px;font-size:20px}
#profileView #languageChoices>button>b,#profileView #themeChoices>button>b{display:grid;place-items:center;flex:none;width:23px;height:23px;margin-left:auto;border:1.5px solid #d5deea;border-radius:50%;background:#fff;color:transparent;font-size:0;transition:transform .22s cubic-bezier(.2,.8,.25,1.3),opacity .18s ease,background-color .2s ease,border-color .2s ease}
#profileView #languageChoices>button.selected>b,#profileView #themeChoices>button.selected>b{border-color:#168af5;background:#168af5;color:#fff;font-size:13px;transform:scale(1)}
#profileView .setting-toggle-row{gap:11px;min-height:60px;padding:8px 9px;color:#172033;font-size:14px;font-weight:600}
#profileView .setting-toggle-row>span:nth-child(2){flex:1;min-width:0}
#profileView .setting-toggle-row .notification-symbol{border-radius:50%}
#profileView .switch{display:block;flex:none;width:48px;height:28px}
#profileView .switch input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#profileView .switch i{position:absolute;inset:0;border-radius:20px;background:#cbd5e1;transition:background-color .2s ease,box-shadow .2s ease}
#profileView .switch i:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #1d314224;transition:transform .22s cubic-bezier(.2,.8,.25,1.2)}
#profileView .switch input:checked+i{background:#168af5}
#profileView .switch input:checked+i:after{background:#fff;transform:translateX(20px)}
#profileView .switch input:focus-visible+i{outline:3px solid #168af540;outline-offset:2px}
#profileView .link-card a,#profileView .danger-links button{position:relative;display:flex;align-items:center;gap:11px;min-height:62px;padding:7px 8px;border-radius:13px;overflow:hidden;color:#172033;font-size:14px;font-weight:600;transition:background-color .18s ease,border-color .18s ease,transform .22s cubic-bezier(.2,.8,.25,1.2)}
#profileView .link-card a+a,#profileView .danger-links button+button{border-top:1px solid #edf1f6}
#profileView .link-card a>span:nth-child(2),#profileView .danger-links button>span:nth-child(2){flex:1;min-width:0;line-height:1.25}
#profileView .link-card a small{display:block;margin-top:3px;color:#8a98ad;font-size:11px;font-weight:500;line-height:1.2;overflow-wrap:anywhere}
#profileView .link-card a>b,#profileView .danger-links button>b{flex:none;color:#94a3b8;font-size:22px;font-weight:400;transition:transform .18s ease,color .18s ease}
#profileView .social-icon{flex:none;width:38px;height:38px;border-radius:12px}
#profileView .social-icon svg{width:23px;height:23px}
#profileView .app-version{padding:20px 0;color:#a0aec0;font-size:11px}
#profileView .profile-user-id,#profileView .avatar-camera,#profileView .profile-info-row>button,#profileView #languageChoices>button,#profileView #themeChoices>button,#profileView .link-card a,#profileView .danger-links button{isolation:isolate;overflow:hidden}
#profileView .profile-user-id::after,#profileView .avatar-camera::after,#profileView .profile-info-row>button::after,#profileView #languageChoices>button::after,#profileView #themeChoices>button::after,#profileView .link-card a::after,#profileView .danger-links button::after{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;background:radial-gradient(circle at center,#168af526 0%,transparent 70%);opacity:0;transform:scale(.7);transition:opacity .2s ease,transform .24s ease;pointer-events:none}
#profileView .profile-user-id:active,#profileView .avatar-camera:active,#profileView .profile-info-row>button:active,#profileView #languageChoices>button:active,#profileView #themeChoices>button:active,#profileView .link-card a:active,#profileView .danger-links button:active{transform:scale(.98)}
#profileView .profile-user-id:active::after,#profileView .avatar-camera:active::after,#profileView .profile-info-row>button:active::after,#profileView #languageChoices>button:active::after,#profileView #themeChoices>button:active::after,#profileView .link-card a:active::after,#profileView .danger-links button:active::after{opacity:1;transform:scale(1.15)}
#profileView .avatar-camera:active{transform:scale(.94);box-shadow:0 2px 7px #168af54a}
@media(hover:hover){#profileView .profile-user-id:hover,#profileView .profile-info-row>button:hover,#profileView #languageChoices>button:not(.selected):hover,#profileView #themeChoices>button:not(.selected):hover,#profileView .link-card a:hover,#profileView .danger-links button:hover{border-color:#d6e8ff;background-color:#f4f8ff;color:#168af5}#profileView .link-card a:hover>b,#profileView .danger-links button:hover>b{color:#168af5;transform:translateX(2px)}#profileView .avatar-camera:hover{transform:scale(1.04);box-shadow:0 5px 13px #168af54d}}
@media(max-width:360px){#profileView{padding-left:13px;padding-right:13px}#profileView .profile-hero{margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px}#profileView .profile-info{padding-left:8px;padding-right:8px}#profileView .profile-info-row{gap:8px}#profileView .profile-symbol,#profileView .setting-icon{width:36px;height:36px}#profileView .profile-info-row>button{padding:0 8px;font-size:10px}#profileView .profile-info-row b{font-size:13px}}
@media(prefers-reduced-motion:reduce){#profileView .avatar-camera,#profileView .profile-user-id,#profileView .profile-info-row>button,#profileView #languageChoices>button,#profileView #themeChoices>button,#profileView .switch i,#profileView .switch i:after,#profileView .link-card a,#profileView .danger-links button,#profileView .link-card a>b,#profileView .danger-links button>b,#profileView [class]::after{transition:none!important;animation:none!important}}
/* Home stadium cards: mobile-first layout based on the supplied reference. */
#homeView .stadium-filter-row{display:flex;align-items:center;gap:7px;min-width:0;padding:2px 0 14px;white-space:nowrap}
#homeView .stadium-filter-row .filter-chip,#homeView .stadium-filter-button{height:44px;min-width:0;padding:0 11px;border:1px solid #e5e7eb;border-radius:13px;background:#fff;color:#252c35;font-size:11px;font-weight:600;white-space:nowrap;transition:background-color .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}
#homeView .stadium-filter-row .filter-chip.active,#homeView .stadium-filter-button.active{background:#0a84ff;border-color:#0a84ff;color:#fff;box-shadow:0 3px 10px #0a84ff2e}
#homeView .stadium-filter-button svg{width:13px;height:13px;margin-left:3px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
#homeView .price-sort-button[data-sort="desc"] svg{transform:rotate(180deg)}
#homeView .stadium-filter-row .result-count{flex:1;min-width:0;text-align:right;margin:0;color:#75808e;font-size:10px;overflow:hidden;text-overflow:ellipsis}
#homeView .stadium-list{gap:15px}
#homeView .stadium-card{border:1px solid #e5e7eb;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 3px 14px #0f172a0c}
#homeView .card-photo{position:relative;display:block;width:100%;height:auto;aspect-ratio:1.68;padding:0;overflow:hidden;border:0;border-radius:16px 16px 0 0;background:#e7edf3;color:#fff;text-align:left}
#homeView .card-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
#homeView .photo-count{position:absolute;right:10px;bottom:10px;left:auto;display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:20px;background:#101821b8;color:#fff;font-size:11px;font-weight:700;backdrop-filter:blur(8px)}
#homeView .photo-count svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#homeView .card-body{padding:10px 12px 12px}
#homeView .card-main-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:27px}
#homeView .card-body h3{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.3px}
#homeView .card-distance{flex:none;display:inline-flex;align-items:center;gap:4px;color:#64748b;font-size:14px;font-weight:500;white-space:nowrap}
#homeView .card-distance svg{width:17px;height:17px;fill:#0a84ff;stroke:#0a84ff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#homeView button.card-distance{height:44px;padding:0 6px;border:0;border-radius:9px;background:transparent;color:#64748b;font-size:12px;text-decoration:none}
#homeView .address-row{display:flex;align-items:center;gap:6px;min-width:0;margin:4px 0 10px;color:#64748b}
#homeView .address-row svg{flex:none;width:15px;height:15px;fill:none;stroke:#172033;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#homeView .address-row p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;line-height:1.35}
#homeView .card-actions{display:flex;align-items:center;gap:6px;min-width:0}
#homeView .card-price-pill{height:44px;min-width:0;flex:1;display:flex;align-items:center;gap:5px;overflow:hidden;padding:0 9px;border-radius:13px;background:#eaf3ff;color:#0877e8}
#homeView .card-price-pill svg{flex:none;width:17px;height:17px;fill:currentColor;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
#homeView .card-price-pill b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:750;letter-spacing:-.15px}
#homeView .card-icon-button{flex:none;width:44px;height:44px;display:grid;place-items:center;border:1px solid #e5e7eb;border-radius:13px;background:#fff;color:#172033;transition:transform .2s cubic-bezier(.2,.8,.2,1),background-color .18s,border-color .18s,color .18s,box-shadow .18s;touch-action:manipulation}
#homeView .card-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s,color .18s,fill .18s}
#homeView .field-like.liked{color:#ef4444;border-color:#fee2e2;background:#fff7f7}
#homeView .field-like.liked svg{fill:#ef4444;stroke:#ef4444;animation:field-heart-pop .28s ease-out}
#homeView .card-detail-button{flex:none;height:44px;min-width:82px;margin:0;padding:0 10px;border:0;border-radius:13px;background:linear-gradient(135deg,#168af5,#0877e8);color:#fff;font-size:12px;font-weight:700;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .18s,filter .18s;box-shadow:0 3px 9px #0a84ff25}
#homeView .card-detail-button span{margin-left:3px;font-size:15px;vertical-align:-1px}
#homeView .card-icon-button:active,#homeView .card-detail-button:active,#homeView .stadium-filter-row button:active{transform:scale(.97)}
@keyframes field-heart-pop{0%{transform:scale(.72)}65%{transform:scale(1.16)}100%{transform:scale(1)}}
@media(hover:hover){#homeView .card-icon-button:hover{background:#f3f8ff;border-color:#cfe3ff;color:#0877e8}#homeView .card-detail-button:hover{filter:brightness(1.04);box-shadow:0 5px 14px #0a84ff40}#homeView .stadium-filter-row button:not(.active):hover{background:#f3f8ff;border-color:#cfe3ff;color:#0877e8}}
#homeView #emptyState[hidden]{display:none!important}
/* Mobile measurements normalized from the supplied 590px reference. */
@media(max-width:680px){
  #homeView{padding-left:16px;padding-right:16px;font-family:Arial,sans-serif}
  #homeView .stadiums-heading{display:block;visibility:visible;height:auto}
  #homeView .stadiums-heading h2{display:block;font-size:24px;font-weight:700;line-height:29px;letter-spacing:-.6px;margin:12px 0 8px}
  #homeView .stadium-search-row{display:grid;grid-template-columns:minmax(0,1fr) 62px 58px;gap:8px;margin-bottom:8px}
  #homeView .stadium-search-row .search-box{height:44px;min-height:44px;padding:0 10px;gap:8px;border-radius:12px;background:#fff;box-shadow:none}
  #homeView .stadium-search-row input{font-size:13px}
  #homeView .stadium-search-row .search-icon{width:20px;height:20px;flex:none}
  #homeView .stadium-search-row .square-action{width:100%;height:44px;min-height:44px;padding:4px 0;gap:2px;border-radius:11px}
  #homeView .stadium-search-row .square-action svg{width:20px;height:20px}
  #homeView .stadium-search-row .square-action span{margin:0;font-size:11px;font-weight:500;line-height:14px}
  #homeView .stadium-search-row .square-action.selected{background:#0a84ff;border-color:#0a84ff}
  #homeView .stadium-search-row .clear-search{display:grid;width:18px;height:18px;min-width:18px;padding:0;place-items:center;border-radius:50%;background:#a6adb8;color:white;font-size:16px;line-height:1}
  #homeView .stadium-filter-row{gap:7px;padding:0 0 8px}
  #homeView .stadium-filter-row>button{flex:1 1 0}
  #homeView .stadium-filter-row .filter-chip,#homeView .stadium-filter-button{height:36px;min-height:36px;padding:0 8px;border-radius:10px;font-size:12px;font-weight:500;box-shadow:none}
  #homeView .stadium-filter-row .result-count{flex:0 0 auto;font-size:13px;margin-left:2px}
  #homeView #stadiumList{width:100%;margin:0;gap:10px}
  #homeView .stadium-card{width:100%;margin:0;border-radius:14px;border-color:#edf0f3;box-shadow:0 3px 10px #0f172a08}
  #homeView .card-photo{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1.72;display:block;border-radius:13px 13px 0 0}
  #homeView .card-photo img{width:100%;height:100%;object-fit:cover}
  #homeView .card-photo::after{display:none}
  #homeView .card-body{padding:7px 10px 9px}
  #homeView .card-main-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:22px}
  #homeView .card-body h3{font-size:18px;font-weight:700;line-height:22px;letter-spacing:-.4px;margin:0}
  #homeView .card-distance,#homeView button.card-distance{height:24px;min-height:24px;padding:0;margin-right:4px;transform:translateY(3px);font-size:16px;font-weight:400;line-height:24px;white-space:nowrap}
  #homeView .card-distance svg{width:19px;height:19px}
  #homeView .address-row{margin:3px 0 0;gap:5px}
  #homeView .address-row p{font-size:14px;line-height:19px;color:#858b95}
  #homeView .address-row svg{width:14px;height:14px}
  #homeView .card-actions{height:36px;margin-top:12px;display:flex;flex-wrap:nowrap;align-items:center;gap:6px}
  #homeView .card-price-pill{height:36px;min-width:0;flex:0 1 auto;justify-content:center;padding:0 5px;gap:4px;border-radius:10px;background:#e8f3fb}
  #homeView .card-price-pill b{font-size:15px;font-weight:700;letter-spacing:-.35px;overflow:visible;text-overflow:clip}
  #homeView .card-price-pill svg{width:16px;height:16px}
  #homeView .card-icon-button{width:36px;height:36px;min-width:36px;flex:0 0 36px;padding:0;border-radius:10px}
  #homeView .card-icon-button svg{width:21px;height:21px}
  #homeView .card-detail-button{height:36px;min-width:78px;flex:1 0 78px;padding:0 6px;border-radius:10px;white-space:nowrap;font-size:15px;font-weight:600;background:#0a84ff}
  #homeView .card-detail-button span{font-size:16px;margin-left:4px}
  #homeView .photo-count{right:8px;bottom:8px;padding:6px 8px;font-size:12px;gap:5px}
}
@media(max-width:360px){
  #homeView .stadium-search-row{grid-template-columns:minmax(0,1fr) 56px 54px;gap:6px}
  #homeView .stadium-filter-row{gap:5px}
  #homeView .stadium-filter-row .filter-chip,#homeView .stadium-filter-button{padding:0 8px;font-size:11px}
  #homeView .stadium-filter-row .result-count{font-size:12px}
  #homeView .card-body{padding-left:8px;padding-right:8px}
  #homeView .card-body h3{font-size:16px}
  #homeView .card-actions{gap:4px}
  #homeView .card-price-pill{padding:0 4px;gap:3px}
  #homeView .card-price-pill svg{width:12px;height:12px}
  #homeView .card-price-pill b{font-size:13px;letter-spacing:-.3px}
  #homeView .card-detail-button{min-width:78px;flex-basis:78px;padding:0 4px;font-size:14px}
}
@media(max-width:335px){
  #homeView .card-price-pill b{font-size:11.5px}
  #homeView .card-detail-button{min-width:66px;flex-basis:66px;font-size:12px}
  #homeView .stadium-filter-row{gap:4px}
  #homeView .stadium-filter-row .filter-chip,#homeView .stadium-filter-button{padding:0 4px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){#homeView .stadium-filter-row button,#homeView .price-sort-button svg,#homeView .card-icon-button,#homeView .card-icon-button svg,#homeView .card-detail-button,#homeView .field-like.liked svg{transition:none!important;animation:none!important}}
body.dark-theme #profileView{background:#182432;color:#edf3f8}
body.dark-theme #profileView .profile-hero{background:radial-gradient(ellipse at 15% 20%,#233b52 0,transparent 48%),radial-gradient(ellipse at 88% 6%,#20374d 0,transparent 44%),linear-gradient(180deg,#1b2a39 0%,#182432 100%);border-color:#2c3d4f}
body.dark-theme #profileView .profile-identity h1,body.dark-theme #profileView .profile-info-row b,body.dark-theme #profileView .setting-toggle-row,body.dark-theme #profileView #languageChoices>button,body.dark-theme #profileView #themeChoices>button,body.dark-theme #profileView .link-card a{color:#edf3f8}
body.dark-theme #profileView .profile-header-username,body.dark-theme #profileView .profile-info-row small,body.dark-theme #profileView .link-card a small{color:#a8b6c8}
body.dark-theme #profileView .profile-info,body.dark-theme #profileView .settings-card{background:#202e3d;border-color:#34465a;box-shadow:0 4px 16px #00000018}
body.dark-theme #profileView .profile-info-row+.profile-info-row,body.dark-theme #profileView #languageChoices>button+button,body.dark-theme #profileView #themeChoices>button+button,body.dark-theme #profileView .link-card a+a{border-color:#34465a}
/* District chooser sheet, matching the supplied Hududlar reference. */
#filterSheet.district-sheet{max-height:calc(100svh - env(safe-area-inset-top,0px) - 8px);overflow:hidden;display:flex;flex-direction:column;gap:0;padding:8px 12px calc(10px + var(--safe-bottom));border-radius:24px 24px 0 0;background:rgba(255,255,255,.98);opacity:.98;transition:transform .28s cubic-bezier(.22,.75,.25,1),opacity .25s ease}
#filterSheet.district-sheet.open{opacity:1}
#filterSheet.district-sheet .sheet-handle{flex:none;width:38px;height:4px;margin:0 auto 12px;border-radius:99px;background:#d8dee8;touch-action:none}
#filterSheet.district-sheet .sheet-head{flex:none;min-height:40px;margin:2px 2px 12px;align-items:center}
#filterSheet.district-sheet .sheet-head h2{margin:0;color:#172033;font-size:24px;line-height:30px;font-weight:750;letter-spacing:-.45px}
#filterSheet.district-sheet .icon-close{width:36px;height:36px;flex:none;border:0;border-radius:50%;background:#f1f4f8;color:#253247;font-size:24px;line-height:1;transition:transform .18s ease,background-color .18s ease}
#filterSheet.district-sheet .icon-close:active{transform:scale(.94)}
#filterSheet .district-search{height:52px;min-height:52px;flex:none;display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:0 12px;border:1px solid #e6ebf2;border-radius:16px;background:#f4f7fb;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
#filterSheet .district-search:focus-within{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}
#filterSheet .district-search>svg{width:20px;height:20px;flex:none;fill:none;stroke:#243247;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#filterSheet .district-search:focus-within>svg{stroke:#2563eb}
#filterSheet .district-search input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:#172033;font-size:14px}
#filterSheet .district-search input::placeholder{color:#8b96a7;opacity:1}
#filterSheet .district-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
#filterSheet #clearDistrictSearch{display:none;width:24px;height:24px;flex:none;place-items:center;padding:0;border:0;border-radius:50%;background:#d9e0e9;color:#fff;font-size:19px;line-height:1}
#filterSheet .district-search input:not(:placeholder-shown)+#clearDistrictSearch{display:grid}
#filterSheet .district-grid{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:4px;overflow-y:auto;overscroll-behavior:contain;padding:0 0 2px;scrollbar-width:thin;scrollbar-color:#d8e1ec transparent}
#filterSheet .district-option{position:relative;flex:none;width:100%;height:52px;min-height:52px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:4px 8px;border:1px solid #edf0f4;border-radius:13px;background:#fff;color:#172033;text-align:left;white-space:nowrap;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#filterSheet .district-option:active{transform:scale(.985)}
#filterSheet .district-option.active{border-color:#b9d8ff;background:#eaf4ff;color:#172033;box-shadow:0 2px 8px #2563eb0d}
#filterSheet .district-symbol{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:12px;background:#eaf2ff;color:#2563eb;font-size:22px;font-weight:700;line-height:1}
#filterSheet .district-option[data-tone="orange"] .district-symbol{background:#fff0df;color:#ef8a12}
#filterSheet .district-option[data-tone="brown"] .district-symbol{background:#f4ece8;color:#7d4935}
#filterSheet .district-option[data-tone="green"] .district-symbol{background:#e8f7e8;color:#27a64b}
#filterSheet .district-option[data-tone="purple"] .district-symbol{background:#f0eaff;color:#804ce0}
#filterSheet .district-option[data-tone="teal"] .district-symbol{background:#e5f8f7;color:#168c9b}
#filterSheet .district-option[data-tone="amber"] .district-symbol{background:#fff4d9;color:#e8a10b}
#filterSheet .district-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:500;line-height:20px}
#filterSheet .district-count{position:static;flex:none;width:32px;min-width:32px;height:28px;padding:0;border-radius:14px;display:grid;place-items:center;transform:none;background:#f0f3f7;color:#7b8797;font-size:13px;font-weight:700}
#filterSheet .district-option.active .district-count{background:#dbeafe;color:#2563eb}
#filterSheet .district-chevron{width:24px;height:24px;flex:none;fill:none;stroke:#8e99a9;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#filterSheet .district-check{width:24px;height:24px;flex:none;display:grid;place-items:center;border-radius:50%;background:#2563eb;color:#fff;font-size:16px;font-weight:700;line-height:1}
#filterSheet .district-empty{flex:1;min-height:80px;display:grid;place-items:center;color:#7b8797;font-size:14px}
#filterSheet .district-empty[hidden]{display:none}
#filterSheet .apply-filters{position:sticky;bottom:0;z-index:1;flex:none;width:100%;height:56px;min-height:56px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;border:0;border-radius:16px;background:#168af5;color:#fff;font-size:16px;font-weight:650;box-shadow:0 5px 14px #168af52b;transition:transform .18s ease,filter .18s ease}
#filterSheet .apply-filters:active{transform:scale(.985)}
@media(hover:hover){#filterSheet .district-option:not(.active):hover{border-color:#d5e7ff;background:#f6faff}#filterSheet .icon-close:hover{background:#e8eef6}#filterSheet .apply-filters:hover{filter:brightness(1.03)}}
@media(max-width:360px){#filterSheet.district-sheet{padding-right:10px;padding-left:10px}#filterSheet .district-option{gap:9px}#filterSheet .district-name{font-size:15px}}
@media(prefers-reduced-motion:reduce){#filterSheet.district-sheet,#filterSheet .icon-close,#filterSheet .district-search,#filterSheet .district-option,#filterSheet .apply-filters{transition:none!important}}

body.dark-theme #profileView #languageChoices>button.selected,body.dark-theme #profileView #themeChoices>button.selected{background:#263d57;border-color:#385a7d}

/* District sheet stays within Telegram's usable viewport. */
#sheetBackdrop{z-index:40}
#filterSheet.district-sheet{z-index:41;max-height:calc(100svh - max(16px, var(--tg-app-top-safe, env(safe-area-inset-top, 0px))) - 12px)}
#filterSheet .district-footer{flex:none;background:inherit;padding-top:8px}
#filterSheet .district-footer .apply-filters{margin-top:0}
#filterSheet .district-dismiss{display:block;width:100%;min-height:44px;margin-top:6px;border:1px solid #e6ebf2;border-radius:14px;background:#f4f7fb;color:#172033;font-size:15px;font-weight:600}
#filterSheet .district-dismiss:active{transform:scale(.98)}
body.district-open{overflow:hidden}

/* Price categories expand directly below the existing price button. */
#homeView .price-filter{position:relative;flex:1 1 0;min-width:0}
#homeView .price-filter>#priceSortButton{width:100%}
#homeView .price-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:8;width:210px;padding:6px;border:1px solid #e2eaf4;border-radius:14px;background:#fff;box-shadow:0 10px 28px #17203324;animation:price-menu-open .18s ease-out;transform-origin:top right;white-space:normal}
#homeView .price-menu[hidden]{display:none}
#homeView .price-menu button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;width:100%;min-height:48px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#172033;text-align:left}
#homeView .price-menu button b{font-size:14px;font-weight:600}
#homeView .price-menu button small,#homeView .price-menu-note{font-size:11px;color:#64748b}
#homeView .price-menu-note{display:block;padding:4px 10px}
#homeView .price-menu button[aria-pressed="true"]{background:#e8f2ff;color:#087ff5}
#homeView .price-menu button:hover,#homeView .price-menu button:focus-visible{background:#edf5ff;outline:2px solid #a5cfff;outline-offset:-2px}
#homeView #priceSortButton[aria-expanded="true"] svg{transform:rotate(180deg)}
@keyframes price-menu-open{from{opacity:0;transform:translateY(-5px) scaleY(.96)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#homeView .price-menu{animation:none}}

/* Result count sits beside the section title; filters share one even row. */
#homeView .stadiums-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
#homeView .stadiums-heading h2{min-width:0}
#homeView .stadiums-heading .count-badge{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border:1px solid #dbeafe;border-radius:999px;background:linear-gradient(180deg,#fff 0%,#f1f7ff 100%);box-shadow:0 3px 10px #168af529;color:#168af5;font-size:13px;font-weight:700;letter-spacing:.1px}
#homeView .stadium-filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;white-space:normal}
#homeView .stadium-filter-row>button,#homeView .stadium-filter-row>.price-filter{width:100%;min-width:0;flex:none}
#homeView .stadium-filter-row .filter-chip,#homeView .stadium-filter-row .stadium-filter-button{width:100%;height:42px;min-height:42px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border-radius:12px;font-size:13px;font-weight:600}
#homeView .stadium-filter-row .price-filter>#priceSortButton{width:100%}
@media(max-width:360px){#homeView .stadiums-heading .count-badge{min-height:27px;padding:0 9px;font-size:12px}#homeView .stadium-filter-row{gap:6px}#homeView .stadium-filter-row .filter-chip,#homeView .stadium-filter-row .stadium-filter-button{height:38px;min-height:38px;padding:0 4px;font-size:11px}}
/* Three-button home toolbar and sorting popover. */
#homeView .stadium-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:7px;margin:4px 0 10px;position:relative;z-index:3}
#homeView .stadium-toolbar .price-filter{position:static;min-width:0}
#homeView .stadium-toolbar .toolbar-button{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;height:46px;padding:0 5px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#172033;font-family:inherit;font-size:14px;font-weight:600;white-space:nowrap;box-shadow:0 2px 6px #17203305;transition:background .18s,border-color .18s,transform .18s}
#homeView .stadium-toolbar .toolbar-button svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#homeView .stadium-toolbar .toolbar-button.selected{background:#0a84ff;border-color:#0a84ff;color:#fff;box-shadow:0 4px 10px #0a84ff29}
#homeView .stadium-toolbar #priceSortButton>svg:last-child{width:14px;height:14px;transition:transform .18s}
#homeView .stadium-toolbar #priceSortButton[aria-expanded="true"]{border-color:#168af5;background:#f5faff}
#homeView .stadium-toolbar .toolbar-button:active{transform:scale(.97);background:#e8f2ff;color:#168af5}
#homeView .stadium-toolbar .toolbar-button:focus-visible{outline:2px solid #168af5;outline-offset:2px}
#homeView .stadium-toolbar .sort-menu{top:calc(100% + 7px);right:0;width:min(280px,100%);padding:10px;border-radius:16px;background:#fff;box-shadow:0 10px 30px #1720331c}
#homeView .stadium-toolbar .sort-menu::before{content:"";position:absolute;top:-7px;right:45%;width:12px;height:12px;background:#fff;border-top:1px solid #e2eaf4;border-left:1px solid #e2eaf4;transform:rotate(45deg)}
#homeView .stadium-toolbar .sort-menu h3{margin:3px 5px 9px;font-size:16px;line-height:22px;color:#172033}
#homeView .stadium-toolbar .sort-menu button{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:48px;padding:10px;border-radius:11px;font-size:14px;color:#172033}
#homeView .stadium-toolbar .sort-menu button>svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#homeView .stadium-toolbar .sort-menu button:first-of-type>svg{fill:currentColor;stroke-width:1.2}
#homeView .stadium-toolbar .sort-menu button span{flex:1}
#homeView .stadium-toolbar .sort-menu button i{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;font-size:14px;font-style:normal;background:#168af5;color:#fff;visibility:hidden}
#homeView .stadium-toolbar .sort-menu button[aria-pressed="true"]{background:#e8f2ff;color:#168af5;font-weight:600}
#homeView .stadium-toolbar .sort-menu button[aria-pressed="true"] i{visibility:visible}
@media(max-width:360px){#homeView .stadium-toolbar{gap:5px;grid-template-columns:repeat(3,minmax(0,1fr))}#homeView .stadium-toolbar .toolbar-button{padding:0 4px;gap:4px;font-size:12px}#homeView .stadium-toolbar .toolbar-button svg{width:18px;height:18px}}
@media(hover:hover){#homeView .stadium-toolbar .toolbar-button:not(.selected):hover{background:#f0f7ff;border-color:#acd5ff}}
@media(prefers-reduced-motion:reduce){#homeView .stadium-toolbar .toolbar-button,#homeView .stadium-toolbar #priceSortButton>svg:last-child{transition:none}}
