:root{--bg:#111;--panel:#1a1a1a;--panel2:#191919;--line:#2b2b2b;--muted:#666;--green:#6B8CFF;--green2:#597BFA}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Arial,sans-serif;background:#f7f7f7;color:#fff}button,input{font:inherit}.phone-shell{width:min(100%,560px);min-height:100vh;margin:0 auto;background:var(--bg);position:relative;overflow:hidden}.screen{display:none;min-height:100vh;background:var(--bg)}.screen.active{display:block}.auth-screen{min-height:100vh}.auth-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center}.brand{text-align:center;margin-top:55px}.brand-icon{width:80px;height:80px;margin:0 auto 18px;border-radius:20px;border:1px solid rgba(107,140,255,.35);background:rgba(107,140,255,.08);display:grid;place-items:center}.brand-icon svg{width:40px;height:40px;fill:none}.brand-icon path{stroke:var(--green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.brand-name{font-size:25px;font-weight:800;letter-spacing:2px}.brand-sub{font-size:11px;color:var(--green);letter-spacing:4px;font-weight:600;margin-top:5px}.auth-card{background:#191919;border:1px solid #2d2d2d;border-radius:20px;box-shadow:0 25px 45px rgba(0,0,0,.28);width:500px;max-width:calc(100% - 80px)}.auth-card h1{margin:0;font-size:30px;line-height:1.15}.auth-card>p,.title-row p{color:#666;margin:8px 0 0;font-size:16px}.login-card{margin-top:48px;padding:34px 30px 32px}.field{height:62px;border:1px solid #2f2f2f;border-radius:16px;display:flex;align-items:center;gap:14px;padding:0 20px;margin-top:16px;color:#5b5b5b}.field:focus-within{border-color:rgba(107,140,255,.55)}.field span{font-size:20px;color:#555}.field input{flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:16px;min-width:0}.field input::placeholder{color:#454545}.eye{border:0;background:none;color:#555;font-size:17px;cursor:pointer}.text-link{border:0;background:none;color:var(--green);font-weight:700;cursor:pointer}.forgot-link{display:block;margin:20px 0 28px auto;font-size:14px}.primary{width:100%;height:65px;border:0;border-radius:16px;background:var(--green);color:#101010;font-weight:800;font-size:16px;cursor:pointer}.primary:active{transform:scale(.99)}.primary:disabled{opacity:.35;cursor:not-allowed}.switch-text{text-align:center;color:#666;font-size:16px;margin-top:34px}.switch-text button{border:0;background:none;color:var(--green);font-weight:800;font-size:inherit;cursor:pointer}.register-wrap .brand{margin-top:48px}.register-card{margin-top:46px;padding:38px 30px 34px}.title-row{display:flex;gap:16px;align-items:flex-start}.title-row h1{font-size:25px}.title-row p{font-size:14px;margin-top:2px}.back-btn{width:40px;height:40px;border-radius:12px;border:1px solid #303030;background:#191919;color:#888;font-size:24px;line-height:1;cursor:pointer}.steps{display:flex;gap:10px;margin:29px 0 24px}.steps i{height:5px;background:#2d2d2d;border-radius:99px;flex:1}.steps i.on{background:var(--green)}.register-card .field{margin-top:15px}.continue-btn{margin-top:20px}.continue-btn span{font-size:25px;margin-left:12px}.membership-list{display:grid;gap:10px}.plan-option{text-align:left;color:#fff;background:#151515;border:1px solid #303030;border-radius:14px;padding:15px;cursor:pointer}.plan-option.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.plan-option div{display:flex;justify-content:space-between}.plan-option b{font-size:17px}.plan-option small{color:var(--green);font-size:14px}.plan-option>span{display:block;color:#737373;font-size:12px;margin-top:8px}.terms{display:flex;gap:9px;color:#777;font-size:13px;margin:18px 2px}.terms input{accent-color:var(--green)}.forgot-wrap .brand{margin-top:48px}.forgot-card{margin-top:51px;padding:38px 30px 29px}.forgot-card .field{margin-top:34px}.muted-green{margin-top:30px;background:#526ccf}.gym-select-wrap{padding:0 28px 34px;align-items:stretch}.brand-gym{margin-top:70px}.brand-gym .brand-icon{width:72px;height:72px}.gym-heading{margin:39px 0 22px}.gym-heading h1{font-size:29px;margin:0}.gym-heading p{color:#777;margin:8px 0 0;font-size:16px}.gym-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.gym-card{height:216px;border-radius:18px;border:1px solid #303030;background:#191919;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.gym-card.selected{border-color:var(--green);box-shadow:0 0 0 1px rgba(107,140,255,.45) inset}.gym-symbol{width:80px;height:80px;border:1px solid;border-radius:20px;display:grid;place-items:center;font-size:34px;margin-bottom:16px}.orange{color:#ff7a1a;background:#2a1d16;border-color:#663518}.blue{color:#4778e9;background:#171d2b;border-color:#2f426a}.purple{color:#a84df4;background:#24192c;border-color:#4b2b60}.red{color:#ef5555;background:#2a1919;border-color:#672b2b}.teal{color:#35b6a5;background:#142421;border-color:#26544e}.yellow{color:#f2c128;background:#2a2514;border-color:#5f521a}.gym-card b{font-size:16px}.gym-card small{font-size:14px;color:#777;margin-top:7px}.gym-card em{font-size:12px;color:#454545;font-style:normal;margin-top:7px}.gym-continue{position:static;margin-top:24px;background:rgba(107,140,255,.42);backdrop-filter:blur(4px);z-index:3}.gym-continue:not(:disabled){background:var(--green)}
.app-screen{padding-bottom:100px}.app-content{min-height:100vh;background:#111}.tab-page{display:none}.tab-page.active{display:block}.home-pad,.page-pad{padding:31px 32px 125px}.home-top{display:flex;align-items:center;justify-content:space-between}.home-top small{display:block;color:#777;font-size:16px;margin-bottom:5px}.home-top h1{font-size:29px;margin:0}.bell{width:58px;height:58px;border-radius:50%;border:1px solid #303030;background:#191919;color:#fff;font-size:25px;position:relative}.bell i{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--green);right:11px;top:8px}.pass-card{margin-top:28px;background:linear-gradient(180deg,#181818,#151515);border:1px solid #303030;border-radius:28px;padding:34px 30px 30px;box-shadow:0 18px 35px rgba(0,0,0,.25)}.pass-title{display:flex;justify-content:space-between;align-items:flex-start}.pass-title h2{font-size:25px;margin:0}.pass-title p{color:#727272;font-size:16px;margin:8px 0 0}.active-pill{background:#182443;color:var(--green);border-radius:18px;padding:9px 14px;font-size:14px}.active-pill i{display:inline-block;width:10px;height:10px;background:#6B8CFF;border-radius:50%;margin-right:7px}.qr-box{background:white;border-radius:20px;height:355px;margin:27px 0;display:grid;place-items:center}.qr-box svg{width:275px;max-width:74%;height:auto}.member-id{text-align:center;color:#888}.member-id small{display:block;font-size:14px;margin-bottom:7px}.member-id span{font-size:17px}.membership-card{margin-top:26px;border:1px solid #3855b8;border-radius:28px;padding:28px 30px;background:linear-gradient(120deg,#172347,#11182c)}.membership-head{display:flex;justify-content:space-between;align-items:center;color:var(--green);font-size:14px;letter-spacing:.5px}.membership-head b{background:var(--green);color:#101010;border-radius:22px;padding:9px 14px;font-size:13px}.membership-card h2{font-size:25px;margin:11px 0 26px}.member-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px}.member-stats>div{height:126px;border:1px solid #29334d;border-radius:20px;padding:22px}.member-stats small{color:#717171;font-size:14px;display:block}.member-stats strong{font-size:34px;font-weight:500;display:block;margin-top:11px}.member-stats em{font-style:normal;color:#717171;font-size:13px}.announcements{margin-top:28px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head h2{font-size:22px}.section-head button{border:0;background:none;color:var(--green);font-size:15px;font-weight:700}.announcement-scroll{display:flex;gap:14px;overflow-x:auto;padding-bottom:14px;scrollbar-color:#aaa #333;scrollbar-width:auto}.announcement-scroll article{min-width:350px;height:120px;border-radius:19px;border:1px solid #303030;background:#191919;display:flex;gap:15px;padding:20px}.announce-icon{width:54px;height:54px;border-radius:17px;background:#192544;color:var(--green);display:grid;place-items:center;font-size:25px;flex:0 0 auto}.announcement-scroll b{font-size:16px}.announcement-scroll p{color:#6d6d6d;font-size:14px;line-height:1.7;margin:7px 0 0}.page-header h1{font-size:28px;margin:0 0 8px}.page-header p{margin:0;color:#6c6c6c;font-size:17px}.payments-page{padding-top:42px}.plan-card{margin-top:27px;border:1px solid #303030;border-radius:28px;padding:26px;background:radial-gradient(circle at 100% 0,#171d2b,#191919 52%)}.plan-top{display:flex;justify-content:space-between}.plan-top small{color:#777;letter-spacing:1.3px}.plan-top h2{font-size:24px;margin:12px 0 4px}.plan-top b{color:var(--green);font-size:17px}.bolt{width:56px;height:56px;border-radius:18px;border:1px solid #3b58ba;background:#182547;color:var(--green);display:grid;place-items:center;font-size:30px}.remaining{margin-top:25px}.remaining>div:first-child{display:flex;justify-content:space-between;color:#777;font-size:14px}.remaining strong{color:#fff}.progress{height:10px;background:#292929;border-radius:10px;margin-top:10px;overflow:hidden}.progress i{display:block;width:57%;height:100%;background:var(--green);border-radius:10px}.renew{border-top:1px solid #303030;margin-top:20px;padding-top:19px;color:#777;display:flex;gap:14px;font-size:14px}.renew b{color:#fff}.payment-method{margin-top:25px;border:1px solid #303030;border-radius:22px;background:#191919;height:92px;padding:18px 20px;display:flex;align-items:center;gap:16px}.card-icon,.account-icon{width:50px;height:50px;border-radius:15px;background:#252525;color:#858585;display:grid;place-items:center;font-size:27px}.payment-method div{flex:1}.payment-method b{display:block;font-size:16px}.payment-method small{display:block;color:#777;margin-top:4px}.payment-method button{border:0;background:none;color:var(--green);font-weight:700}.history-title{font-size:19px;margin:30px 0 17px}.history-list{display:grid;gap:10px}.history-row{height:90px;border:1px solid #303030;background:#191919;border-radius:21px;padding:16px 20px;display:flex;align-items:center;gap:15px}.status{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:18px}.status.ok{color:var(--green);background:#1a294a}.status.fail{color:#f44336;background:#371b1b}.history-row>div:nth-of-type(1){flex:1}.history-row b,.history-row strong{display:block;font-size:16px}.history-row small{display:block;color:#747474;margin-top:4px}.history-row>div:last-child{text-align:right}.history-row em{display:block;color:var(--green);font-style:normal;font-size:14px;margin-top:4px}.history-row .fail+div+div em{color:#ff3737}.profile-page{padding-top:42px}.profile-hero{text-align:center;margin-top:35px}.avatar{width:120px;height:120px;margin:0 auto 20px;border-radius:30px;border:1px solid #405fc7;background:#182548;display:grid;place-items:center;position:relative;overflow:visible}.avatar>span{font-size:58px;color:var(--green)}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:29px;position:absolute;inset:0}.camera{position:absolute;right:-11px;bottom:-10px;width:42px;height:42px;border-radius:50%;background:var(--green);color:#111;display:grid;place-items:center;font-weight:800;cursor:pointer;z-index:2}.camera input{display:none}.profile-hero h2{font-size:22px;margin:0}.member-pill{display:inline-block;margin-top:8px;border:1px solid #405fc7;background:#18213c;color:var(--green);border-radius:16px;padding:5px 15px;font-size:13px}.account-title{font-size:17px;color:#777;letter-spacing:1.5px;margin:37px 0 15px}.account-list{display:grid;gap:11px}.account-row{min-height:90px;border:1px solid #303030;background:#191919;border-radius:22px;padding:17px 20px;display:grid;grid-template-columns:50px 1fr auto;gap:14px;align-items:center}.account-row>div:nth-of-type(1){min-width:0}.account-row small{display:block;color:#666;font-size:13px;margin-bottom:5px}.account-row b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edit-btn{border:0;background:none;color:var(--green);font-weight:700;cursor:pointer}.inline-editor{display:none;grid-column:1/-1;border-top:1px solid #292929;padding-top:12px}.account-row.editing .inline-editor{display:block}.account-row.editing{grid-template-rows:auto auto}.inline-editor input{width:100%;height:48px;border:1px solid #343434;background:#111;border-radius:13px;color:#fff;padding:0 13px;outline:none;margin-bottom:10px}.inline-editor>div{display:flex;gap:10px}.inline-editor button{flex:1;height:43px;border-radius:12px;border:1px solid #353535;background:#171717;color:#999}.inline-editor .save{background:var(--green);color:#111;border-color:var(--green);font-weight:800}.password-editor input+input{margin-top:0}.logout{width:100%;height:68px;border:1px solid #303030;border-radius:20px;background:#191919;color:#ff5757;font-size:17px;font-weight:700;margin-top:24px}.version{text-align:center;color:#444;font-size:13px;margin-top:26px}.bottom-nav{position:fixed;z-index:50;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);height:101px;background:#1a1a1a;border-top:1px solid #2c2c2c;display:flex;align-items:center;justify-content:space-around;padding:9px 24px max(9px,env(safe-area-inset-bottom))}.nav-item{border:0;background:none;color:#656565;width:100px;height:75px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.nav-item span{font-size:30px;line-height:1}.nav-item b{font-size:13px}.nav-item.active{color:var(--green);background:#192544}
@media(max-width:600px){html,body{background:#111}.auth-card{max-width:calc(100% - 48px)}.home-pad,.page-pad{padding-left:24px;padding-right:24px}.gym-select-wrap{padding-left:22px;padding-right:22px}.gym-card{height:190px}.qr-box{height:330px}.member-stats{gap:14px}.member-stats>div{padding:18px}.announcement-scroll article{min-width:330px}}
@media(max-width:420px){.brand{margin-top:40px}.brand-icon{width:66px;height:66px}.login-card{margin-top:36px}.auth-card{max-width:calc(100% - 28px);padding-left:22px;padding-right:22px}.gym-grid{gap:10px}.gym-card{height:170px}.gym-symbol{width:64px;height:64px}.home-pad,.page-pad{padding-left:18px;padding-right:18px}.pass-card{padding-left:20px;padding-right:20px}.qr-box{height:300px}.member-stats>div{height:115px}.member-stats strong{font-size:29px}.bottom-nav{padding-left:10px;padding-right:10px}.nav-item{width:92px}}

.language-section{margin-top:24px;border:1px solid #303030;background:#191919;border-radius:20px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.language-label{font-size:14px;color:#777;letter-spacing:1.4px;font-weight:700}.language-toggle{display:flex;padding:4px;background:#111;border:1px solid #303030;border-radius:14px;gap:4px}.language-btn{width:58px;height:38px;border:0;border-radius:10px;background:transparent;color:#747474;font-weight:800;cursor:pointer}.language-btn.active{background:#192544;color:var(--green)}


/* FitCore refinement v5 */
.gym-grid{margin-bottom:40px}
.gym-card{height:190px;padding:18px 12px;gap:14px;justify-content:center}
.gym-logo-wrap{width:88px;height:88px;border-radius:22px;display:grid;place-items:center;overflow:hidden;flex:0 0 auto;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.gym-logo{width:100%;height:100%;display:block;object-fit:cover}
.gym-card b{font-size:17px;margin:0}
.gym-card small,.gym-card em,.gym-symbol{display:none!important}
.gym-card.selected{border-color:var(--green);box-shadow:0 0 0 1px rgba(107,140,255,.32) inset,0 12px 28px rgba(38,55,105,.18)}
.gym-continue{margin-top:0;position:relative;z-index:1;background:rgba(107,140,255,.28);backdrop-filter:none}
.gym-continue:not(:disabled){background:var(--green);color:#0d1020}

.language-section{margin-top:24px;border:1px solid #303030;background:#191919;border-radius:20px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.language-label{font-size:14px;color:#777;letter-spacing:1.2px;font-weight:700}
.language-toggle{display:flex;gap:6px;background:#121212;border:1px solid #303030;padding:5px;border-radius:14px}
.language-btn{min-width:58px;height:40px;padding:0 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:#777;font-weight:800;cursor:pointer;transition:.18s ease}
.language-btn:hover{color:#c9d2ff;background:#1b2130}
.language-btn.active{background:var(--green);border-color:var(--green);color:#0d1020;box-shadow:0 6px 16px rgba(73,98,190,.24)}

.brand-icon,.avatar,.member-pill,.bolt{border-color:#3f5fc7}
.membership-card{border-color:#3855b8;background:linear-gradient(120deg,#172347,#11182c)}
.nav-item.active{background:#192544;color:var(--green)}
.announce-icon{background:#192544;color:var(--green)}
.active-pill{background:#192544;color:var(--green)}
.membership-head b{color:#0d1020}

.notification-wrap{position:relative}
.bell{display:grid;place-items:center;cursor:pointer;transition:.18s ease}
.bell:hover{border-color:#465c9e;background:#1c2130}
.bell svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bell i{background:var(--green);box-shadow:0 0 0 3px #191919}
.announcement-dropdown{position:fixed;z-index:120;top:104px;left:50%;transform:translateX(-50%);width:min(500px,calc(100% - 34px));max-height:min(620px,calc(100vh - 140px));overflow:auto;background:#181818;border:1px solid #34394a;border-radius:22px;box-shadow:0 25px 70px rgba(0,0,0,.55);padding:18px}
.announcement-dropdown[hidden]{display:none!important}
.dropdown-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:4px 2px 15px;border-bottom:1px solid #2b2b2b}
.dropdown-head b{font-size:18px}.dropdown-head small{display:block;color:#707070;font-size:12px;margin-top:5px}
.dropdown-close{width:34px;height:34px;border-radius:10px;border:1px solid #313131;background:#202020;color:#aaa;font-size:24px;line-height:1;cursor:pointer}
.dropdown-list{display:grid;gap:10px;padding-top:12px}
.dropdown-list article{display:grid;grid-template-columns:10px 1fr;gap:13px;align-items:flex-start;padding:14px;border:1px solid #2d2d2d;border-radius:15px;background:#1b1b1b}
.dropdown-list article b{font-size:14px}.dropdown-list article p{margin:5px 0 0;color:#737373;font-size:12px;line-height:1.55}
.announce-dot{width:8px;height:8px;border-radius:50%;background:var(--green);margin-top:5px;box-shadow:0 0 0 4px rgba(107,140,255,.10)}
.section-head button{cursor:pointer}

@media(max-width:420px){
  .gym-grid{margin-bottom:34px}
  .gym-card{height:156px;padding:14px 8px;gap:10px}
  .gym-logo-wrap{width:70px;height:70px;border-radius:18px}
  .gym-card b{font-size:15px}
  .gym-continue{margin-top:0}
  .announcement-dropdown{top:88px;width:calc(100% - 24px);max-height:calc(100vh - 112px);padding:14px}
  .language-section{padding:14px 15px}
  .language-btn{min-width:52px;height:38px}
}


/* FitCore gym-member visual refinement */
:root{
  --bg:#0B1118;
  --panel:#121922;
  --panel2:#151D27;
  --line:#27313D;
  --muted:#7B8794;
  --green:#5D86F7;
  --green2:#466FE2;
  --accent-soft:#172443;
  --accent-line:#35508D;
}
html,body{background:#E9EDF2}.phone-shell,.screen,.app-content{background:var(--bg)}
.auth-card,.gym-card,.history-row,.account-row,.logout,.announcement-scroll article{background:var(--panel);border-color:var(--line)}
.bottom-nav{background:#101720;border-top-color:#26303B}
.brand-icon{background:#141E2B;border-color:#2E4673}.brand-sub{color:#7EA2FF}
.primary{background:linear-gradient(135deg,#668CF5,#4B71D8);color:#F8FAFF;box-shadow:0 8px 24px rgba(69,103,190,.22)}
.gym-card.selected{border-color:#668CF5;box-shadow:0 0 0 1px rgba(102,140,245,.35) inset,0 8px 24px rgba(26,43,75,.18)}
.gym-continue{margin-top:34px;background:#182641!important;color:#7E91B5!important}.gym-continue:not(:disabled){background:linear-gradient(135deg,#668CF5,#4B71D8)!important;color:#fff!important}
.pass-card{background:linear-gradient(180deg,#131B25,#0F151D);border-color:#27313D}.membership-card{background:linear-gradient(135deg,#16243A,#101923);border-color:#314C78}
.active-pill,.member-pill,.nav-item.active{background:#172443;color:#7EA2FF}.membership-head b{color:#fff}.bell{background:#121922;border-color:#2C3743}.bell i{box-shadow:0 0 0 3px #121922}
.announcement-scroll article{display:block;min-width:350px;height:auto;min-height:116px;padding:23px 24px}.announcement-scroll b{font-size:17px}.announcement-scroll p{margin-top:8px}.announce-icon{display:none!important}
.announcement-dropdown{background:#111923;border-color:#2A3644}.dropdown-list article{background:#151E28;border-color:#2A3541;grid-template-columns:1fr}.announce-dot{display:none}.dropdown-list article b{font-size:15px}.dropdown-list article p{color:#84909D}
.profile-hero{margin-top:42px}.avatar{background:#15213A;border-color:#3D5C9B}.avatar>.avatar-default{width:58%;height:58%;position:static;object-fit:contain;border-radius:0;filter:invert(56%) sepia(91%) saturate(1235%) hue-rotate(197deg) brightness(101%) contrast(101%)}
.avatar>#avatarPreview{width:100%;height:100%;object-fit:cover;border-radius:29px;position:absolute;inset:0;z-index:1}
.camera{background:#668CF5;border:3px solid var(--bg);overflow:hidden}.camera>img{width:22px;height:22px;object-fit:contain;filter:invert(1);position:static;border-radius:0}.camera input{display:none}
.language-section{background:#121922;border-color:#27313D}.language-toggle{background:#0D141D;border-color:#27313D}.language-btn{color:#8290A0}.language-btn:hover{background:#172443;color:#C9D7FF}.language-btn.active{background:#668CF5;border-color:#668CF5;color:#fff;box-shadow:none}
.nav-item{color:#66727F}.nav-item.active{background:#172443}.nav-icon{width:29px;height:29px;display:grid;place-items:center}.nav-icon img{width:25px;height:25px;object-fit:contain;opacity:.55;filter:invert(53%) sepia(12%) saturate(391%) hue-rotate(169deg) brightness(88%) contrast(84%)}.nav-item.active .nav-icon img{opacity:1;filter:invert(58%) sepia(83%) saturate(1595%) hue-rotate(198deg) brightness(102%) contrast(94%)}
.plan-card{background:linear-gradient(145deg,#151D27,#111820);border-color:#27313D}.bolt{background:#172443;border-color:#35508D;color:#7EA2FF}.progress{background:#25303A}.progress i{background:#668CF5}.status.ok{background:#172443;color:#7EA2FF}.history-row em{color:#7EA2FF}
.account-icon,.card-icon{background:#1A232D;color:#8794A2}.inline-editor input{background:#0D141D;border-color:#2B3641}.inline-editor .save{background:#668CF5;color:#fff;border-color:#668CF5}.text-link,.switch-text button,.edit-btn,.section-head button{color:#7EA2FF}
@media(max-width:600px){html,body{background:var(--bg)}.gym-continue{margin-top:36px}.announcement-scroll article{min-width:calc(100vw - 100px)}}


/* v9 requested fixes: only targeted layout/announcement/icon corrections */
.gym-heading p{display:none!important}
.gym-grid{margin-bottom:54px!important}
.gym-continue{margin-top:20px!important;position:relative!important}
.announcement-scroll .extra-announcement{display:none!important}
.announcement-scroll.expanded{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;overflow:visible!important;padding-bottom:0!important}
.announcement-scroll.expanded article{display:block!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;padding:20px 22px!important}
.announcement-scroll.expanded .extra-announcement{display:block!important}
.announcement-scroll article,.dropdown-list article{grid-template-columns:1fr!important}
.announcement-scroll article>span,.announcement-scroll .announce-icon,.dropdown-list article>span,.dropdown-list .announce-dot{display:none!important}
.dropdown-list article{display:block!important;padding:16px 17px!important}
.dropdown-list article b{display:block!important}.dropdown-list article p{margin:7px 0 0!important}
#viewAllAnnouncements{appearance:none;border:0;background:transparent;cursor:pointer;font-weight:800;padding:8px 0}
.nav-icon{width:31px!important;height:31px!important}.nav-icon img{max-width:28px!important;max-height:28px!important;object-fit:contain!important;background:transparent!important}
.nav-item[data-tab="payments"] .nav-icon img{width:28px!important;height:24px!important}
.avatar>.avatar-default{width:62%!important;height:62%!important;object-fit:contain!important}
.camera>img{width:22px!important;height:18px!important;object-fit:contain!important;background:transparent!important}
@media(max-width:600px){.gym-grid{margin-bottom:50px!important}.gym-continue{margin-top:22px!important}}

/* Profile cleanup + provided logout icon */
.profile-page .page-header{margin-bottom:0}.profile-hero{margin-top:42px}.logout{display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer}.logout img{width:25px;height:25px;object-fit:contain;flex:0 0 auto}.logout span{display:inline-block}.version,.member-pill{display:none!important}

/* User-provided profile action icons */
.account-icon img{width:27px;height:27px;object-fit:contain;display:block}
.account-row[data-edit-row="phone"] .account-icon img{width:30px;height:30px}
.account-row[data-edit-row="password"] .account-icon img{width:27px;height:27px}
.logout img{width:26px;height:26px;object-fit:contain;display:block}
/* Plan icon intentionally removed; keep plan content aligned naturally. */
.plan-top{align-items:flex-start}

/* === GymFlow integrated member app === */
.gym-search{margin:8px 0 14px}.gym-search input{width:100%;height:48px;border:1px solid #d9e0e8;border-radius:14px;padding:0 16px;font:inherit;background:#fff;color:#111827;outline:none}.gym-search input:focus{border-color:#4b63ec;box-shadow:0 0 0 3px rgba(75,99,236,.1)}
.gym-card small{display:block;margin-top:4px;color:#8b95a7;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.gym-fallback{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:#eef2ff;color:#4154dc;font-weight:800;font-size:22px}.gym-loading{grid-column:1/-1;text-align:center;padding:28px 12px;color:#7d8796}.gym-loading.error{color:#c74747}
.registration-note{padding:16px;border:1px solid #dce4ff;border-radius:14px;background:#f5f7ff;margin:6px 0 14px}.registration-note b{display:block;color:#263985;margin-bottom:6px}.registration-note p{margin:0;color:#667085;line-height:1.45;font-size:13px}
.form-message{margin:10px 0;padding:11px 13px;border-radius:10px;font-size:12px;line-height:1.4;background:#fff1f1;color:#b42318;border:1px solid #ffd5d2}.form-message.success{background:#ecfdf3;color:#027a48;border-color:#abefc6}.activation-switch{margin-top:10px}.activation-switch button{font-size:12px}
.qr-box#memberQr{display:flex;align-items:center;justify-content:center;background:#fff}.qr-box#memberQr svg{display:block;width:min(280px,92%);height:auto;aspect-ratio:1}.qr-unavailable{font-size:12px;color:#7d8796;padding:40px 10px;text-align:center}.active-pill.inactive{background:#f2f4f7;color:#667085}.active-pill.inactive i{background:#98a2b3}
.empty-state{padding:22px 8px;color:#8b95a7;text-align:center;font-size:13px}.history-list .empty-state{border:1px dashed #d9e0e8;border-radius:14px;background:#fafbfc}
.app-toast{position:fixed;left:50%;bottom:95px;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#111827;color:#fff;padding:10px 14px;border-radius:12px;font-size:12px;z-index:9999;transition:.2s ease;box-shadow:0 10px 30px rgba(0,0,0,.2);max-width:min(90vw,420px);text-align:center}.app-toast.show{opacity:1;transform:translate(-50%,0)}.app-toast.error{background:#b42318}
.password-editor input{margin-bottom:8px}.reset-link-button{display:block;text-align:center;text-decoration:none;margin-top:12px}

/* === 2026-08 mobile-first user polish === */
.field .field-icon{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px}.field .field-icon img{width:22px;height:22px;object-fit:contain;opacity:.65;filter:invert(58%) sepia(8%) saturate(622%) hue-rotate(169deg) brightness(90%)}
.activate-card #activateAccount{margin-top:24px!important}.activate-card .form-message[hidden]+#activateAccount{margin-top:28px!important}
.gym-lang-switch{position:absolute;right:18px;top:18px;z-index:10;display:flex;background:#111923;border:1px solid #2a3541;border-radius:12px;padding:3px;gap:2px}.gym-lang-btn{border:0;background:transparent;color:#7f8a98;border-radius:9px;min-width:42px;height:34px;font-weight:800;cursor:pointer}.gym-lang-btn.active{background:#668cf5;color:#fff}
.member-checkin-card{margin-top:18px;padding:17px 18px;border:1px solid #27313d;border-radius:18px;background:#121922;display:flex;align-items:center;gap:14px}.checkin-state-icon{width:42px;height:42px;border-radius:13px;background:#18212c;color:#8290a0;display:grid;place-items:center;font-size:22px;font-weight:900;flex:0 0 42px}.member-checkin-card>div:last-child{min-width:0;display:flex;flex-direction:column}.member-checkin-card small{font-size:10px;letter-spacing:1px;color:#728090;font-weight:800}.member-checkin-card strong{margin-top:4px;font-size:15px;color:#fff;white-space:normal}.member-checkin-card span{margin-top:3px;color:#7f8b98;font-size:12px}.member-checkin-card.checked-today{border-color:#315c49;background:#102019}.member-checkin-card.checked-today .checkin-state-icon{background:#16392b;color:#51d18a}
.announcement-empty{width:100%;padding:20px;border:1px dashed #2d3844;border-radius:16px;color:#7e8a97;text-align:center;font-size:13px}.announcement-scroll .announcement-empty{min-width:100%}.bell i{display:none}.bell.has-news i{display:block}
.membership-card .member-stats strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-stats>div{min-width:0}

@media(max-width:600px){
  html,body{width:100%;min-width:0;overflow-x:hidden;background:#0b1118!important}.phone-shell{width:100%;max-width:none;min-height:100dvh;margin:0;overflow-x:hidden}.screen,.auth-screen{min-height:100dvh}.auth-wrap{min-height:100dvh;width:100%;padding-left:18px;padding-right:18px}.brand{margin-top:34px}.brand-icon{width:68px;height:68px;margin-bottom:14px}.brand-name{font-size:24px}.brand-sub{font-size:10px;letter-spacing:3.2px}
  .auth-card{width:100%;max-width:none;margin-left:0;margin-right:0;border-radius:20px}.login-card,.register-card,.forgot-card{margin-top:30px;padding:26px 20px}.auth-card h1,.title-row h1{font-size:27px;line-height:1.15}.auth-card>p,.title-row p{font-size:14px}.title-row{gap:13px}.back-btn{width:44px;height:44px;flex:0 0 44px}.steps{margin:24px 0 18px}.field{height:58px;margin-top:13px;padding:0 16px;border-radius:15px}.field input{font-size:15px}.primary{height:58px;border-radius:15px}.switch-text{font-size:14px;margin-top:23px}.forgot-link{margin:16px 0 20px auto}.terms{font-size:12px;line-height:1.45}.registration-note{padding:15px;margin-top:4px}.registration-note p{font-size:12px}
  .gym-select-wrap{padding:0 18px 26px}.brand-gym{margin-top:48px}.gym-heading{margin:30px 0 16px}.gym-heading h1{font-size:28px}.gym-search{margin:0 0 14px}.gym-search input{height:54px;border-radius:15px;font-size:15px}.gym-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:30px!important}.gym-card{height:145px;padding:12px 8px;border-radius:17px}.gym-logo-wrap{width:62px;height:62px;border-radius:16px}.gym-fallback{width:62px;height:62px}.gym-card b{font-size:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gym-card small{font-size:10px;max-width:100px}.gym-continue{margin-top:4px!important;height:58px}.gym-lang-switch{top:14px;right:14px}
  .home-pad,.page-pad{padding:24px 18px 108px}.home-top h1{font-size:27px}.home-top small{font-size:14px}.bell{width:50px;height:50px}.pass-card{margin-top:20px;border-radius:22px;padding:23px 18px}.pass-title h2{font-size:21px}.pass-title p{font-size:13px}.active-pill{font-size:11px;padding:7px 9px;max-width:44%;text-align:center}.qr-box{height:auto;aspect-ratio:1;margin:20px 0;border-radius:17px}.qr-box#memberQr svg{width:88%;max-width:280px}.membership-card{margin-top:18px;border-radius:22px;padding:21px 18px}.membership-card h2{font-size:21px;margin:9px 0 18px}.membership-head{font-size:12px}.membership-head b{font-size:11px;padding:7px 10px}.member-stats{gap:10px}.member-stats>div{height:100px;padding:16px 13px;border-radius:16px}.member-stats small{font-size:11px}.member-stats strong{font-size:26px;margin-top:9px}.member-stats em{font-size:11px}.announcements{margin-top:22px}.section-head h2{font-size:20px}.announcement-scroll{gap:11px;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}.announcement-scroll::-webkit-scrollbar{display:none}.announcement-scroll article{min-width:calc(100vw - 72px)!important;max-width:calc(100vw - 72px);min-height:112px!important;padding:18px!important;border-radius:17px;scroll-snap-align:start}.announcement-scroll b{font-size:15px}.announcement-scroll p{font-size:12px;line-height:1.55}.announcement-dropdown{left:12px;right:12px;top:78px;width:auto!important;max-height:calc(100dvh - 100px);overflow:auto}.dropdown-head{position:sticky;top:0;background:#111923;z-index:2;padding-bottom:10px}.dropdown-list article{padding:14px!important}.dropdown-list article b{font-size:14px}.dropdown-list article p{font-size:12px}
  .payments-page{padding-top:28px}.page-header h1{font-size:26px}.page-header p{font-size:14px}.plan-card{margin-top:20px;border-radius:22px;padding:20px}.plan-top h2{font-size:21px}.history-row{padding:16px 12px}.history-row>div:nth-child(2){min-width:0}.history-row b{font-size:13px}.history-row small{font-size:10px}.history-row strong{font-size:13px}
  .profile-page{padding-top:28px}.profile-hero{margin-top:26px}.account-row{min-height:82px;padding:14px 13px}.account-icon{width:44px;height:44px}.account-row>div:not(.inline-editor){min-width:0}.account-row b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.edit-btn{font-size:12px}.inline-editor{padding:12px 0 0}.inline-editor input{width:100%;height:46px}.language-section{margin-top:20px}.logout{height:58px}
  .bottom-nav{height:78px;padding-bottom:max(4px,env(safe-area-inset-bottom))}.nav-item b{font-size:10px}.nav-icon{width:27px!important;height:27px!important}.nav-icon img{max-width:24px!important;max-height:24px!important}
}
@media(max-width:360px){.auth-wrap{padding-left:14px;padding-right:14px}.login-card,.register-card,.forgot-card{padding:23px 16px}.gym-select-wrap{padding-left:14px;padding-right:14px}.gym-card{height:134px}.home-pad,.page-pad{padding-left:14px;padding-right:14px}.pass-card,.membership-card{padding-left:15px;padding-right:15px}.member-stats strong{font-size:23px}.announcement-scroll article{min-width:calc(100vw - 56px)!important;max-width:calc(100vw - 56px)}}

/* === Member mobile layout recovery 2026-08-15 === */
.tab-page[hidden]{display:none!important}.tab-page.active:not([hidden]){display:block!important}
.bottom-nav .nav-item{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
@media(max-width:600px){
  .app-screen{padding-bottom:0!important;min-height:100dvh}.app-content{min-height:100dvh;padding-bottom:82px}
  .home-pad,.page-pad{padding:20px 16px 104px!important}
  .home-top{padding:2px 2px 0}.home-top small{font-size:12px!important}.home-top h1{font-size:24px!important;line-height:1.2}
  .bell{width:44px!important;height:44px!important;flex:0 0 44px}.bell svg{width:21px;height:21px}
  .pass-card{margin-top:18px!important;padding:20px 16px 18px!important;border-radius:20px!important}.pass-title{gap:10px}.pass-title h2{font-size:19px!important}.pass-title p{font-size:12px!important;margin-top:5px!important}.active-pill{font-size:10px!important;padding:6px 8px!important;white-space:nowrap}
  .qr-box{margin:18px 0!important;aspect-ratio:1.18/1!important;min-height:0!important}.qr-box#memberQr svg{width:min(76vw,260px)!important;max-width:260px!important}
  .member-id small{font-size:10px!important;margin-bottom:4px!important}.member-id span{font-size:13px!important}
  .membership-card{padding:18px 16px!important;border-radius:20px!important;margin-top:16px!important}.membership-card h2{font-size:19px!important;margin:8px 0 16px!important}.membership-head{font-size:10px!important}.membership-head b{font-size:10px!important;padding:6px 8px!important}
  .member-stats{gap:8px!important}.member-stats>div{height:88px!important;padding:13px 12px!important;border-radius:14px!important}.member-stats small{font-size:10px!important}.member-stats strong{font-size:22px!important;margin-top:7px!important}.member-stats em{font-size:9px!important}
  .member-checkin-card{margin-top:14px!important;padding:13px 14px!important;border-radius:16px!important}.checkin-state-icon{width:36px!important;height:36px!important;flex-basis:36px!important;border-radius:11px!important}.member-checkin-card small{font-size:8px!important}.member-checkin-card strong{font-size:12px!important}.member-checkin-card span{font-size:10px!important}
  .announcements{margin-top:18px!important}.section-head{margin-bottom:9px}.section-head h2{font-size:18px!important;margin:0}.section-head button{font-size:12px!important}.announcement-scroll article{min-width:calc(100vw - 54px)!important;max-width:calc(100vw - 54px)!important;min-height:96px!important;height:auto!important;padding:15px!important}.announcement-scroll b{font-size:13px!important}.announcement-scroll p{font-size:11px!important;margin-top:5px!important}.announce-icon{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:13px!important}
  .payments-page,.profile-page{padding-top:22px!important}.page-header h1{font-size:24px!important}.page-header p{font-size:12px!important}.plan-card{margin-top:16px!important;padding:18px!important;border-radius:20px!important}.plan-top h2{font-size:19px!important}.plan-top b{font-size:14px!important}.remaining{margin-top:18px!important}.history-title{font-size:17px!important;margin:22px 0 13px!important}.history-row{min-height:76px!important;height:auto!important;border-radius:17px!important}.status{width:40px!important;height:40px!important;border-radius:12px!important}
  .profile-hero{margin-top:20px!important}.avatar{width:96px!important;height:96px!important;border-radius:25px!important}.avatar img{border-radius:24px!important}.camera{width:36px!important;height:36px!important}.profile-hero h2{font-size:20px!important}.account-title{font-size:13px!important;margin:28px 0 12px!important}.account-row{min-height:76px!important;border-radius:17px!important;grid-template-columns:42px 1fr auto!important;gap:10px!important}.account-icon{width:42px!important;height:42px!important;border-radius:12px!important}.account-row small{font-size:10px!important}.account-row b{font-size:12px!important;max-width:46vw!important}.edit-btn{font-size:11px!important}.language-section{margin-top:18px!important}.logout{height:54px!important;border-radius:17px!important;font-size:14px!important}
  .bottom-nav{width:100%!important;max-width:none!important;left:0!important;transform:none!important;height:72px!important;padding:6px 12px max(6px,env(safe-area-inset-bottom))!important;background:#101720!important}.bottom-nav .nav-item{width:31%!important;height:58px!important;border-radius:14px!important;gap:3px!important}.bottom-nav .nav-item.active{background:#19294c!important}.nav-item b{font-size:10px!important}.nav-icon{width:23px!important;height:23px!important}.nav-icon img{max-width:21px!important;max-height:21px!important}
}
\n\n/* === 2026-08-15 notification mobile overlay + home flow fix === */\n@media(max-width:600px){\n  .announcement-dropdown{\n    position:fixed!important;\n    top:76px!important;\n    left:14px!important;\n    right:14px!important;\n    width:auto!important;\n    max-width:none!important;\n    transform:none!important;\n    max-height:calc(100dvh - 96px)!important;\n    overflow-y:auto!important;\n    overflow-x:hidden!important;\n    z-index:1000!important;\n    padding:14px!important;\n    border-radius:18px!important;\n    box-sizing:border-box!important;\n  }\n  .announcement-dropdown .dropdown-head{\n    position:sticky!important;\n    top:-14px!important;\n    margin:-14px -14px 10px!important;\n    padding:16px 14px 12px!important;\n    background:#111923!important;\n    border-bottom:1px solid #2a3541!important;\n    z-index:2!important;\n  }\n  .dropdown-close{flex:0 0 34px!important}\n  .dropdown-list{padding-top:2px!important}\n  .member-checkin-card{margin-top:14px!important;margin-bottom:0!important}\n  .member-checkin-card + .membership-card{margin-top:14px!important}\n}\n