/* MEYVIS / Mobile Design System 2026.11 — iOS HIG-informed responsive web app.
   Primary: burgundy; native-feeling grouped surfaces, readable type, safe areas,
   visible focus and >=44 CSS pixel touch targets. No Apple assets used. */
:root{
 --ios-burgundy:#9a1e22;--ios-burgundy-deep:#5c0512;--ios-ink:#1c1b1e;
 --ios-muted:#75737b;--ios-bg:#f4f4f6;--ios-surface:#fff;--ios-line:#e9e8ec;
 --ios-soft:#f7f6f8;--ios-radius:18px;--ios-radius-sm:13px;
 --ios-shadow:0 3px 18px rgba(22,16,20,.035),0 1px 2px rgba(22,16,20,.025);
 --m-bordo:#9a1e22!important;--m-bordo-dark:#5c0512!important;
 --m-bg:#f4f4f6!important;--m-card:#fff!important;
 --m-text:#1c1b1e!important;--m-text-light:#75737b!important;
 --bordo:#9a1e22;--bordo2:#5c0512;--bg:#f4f4f6;--card:#fff;
 --wine:#9a1e22;--wine-dark:#5c0512;
 --radius-btn:13px!important;--radius-lg:18px!important;--radius-card:18px!important;
 --shadow-card:var(--ios-shadow)!important;--shadow-float:0 14px 28px rgba(52,17,25,.13)!important;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--ios-bg)!important;scroll-padding-top:20px;-webkit-text-size-adjust:100%}
body,body.meyvis-screen,body input,body button,body select,body textarea{
 font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Helvetica,Arial,sans-serif!important;
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body.meyvis-screen{background:var(--ios-bg)!important;color:var(--ios-ink)!important;overflow-x:clip;user-select:text!important;-webkit-user-select:text!important}
body.meyvis-screen :is(button,a,input,select,textarea){touch-action:manipulation}
body.meyvis-screen button,body.meyvis-screen [role="button"]{cursor:pointer}
body.meyvis-screen :is(button,a,input,select,textarea):focus-visible{
 outline:3px solid rgba(154,30,34,.48)!important;outline-offset:2px!important;
}
body.meyvis-screen button:disabled{opacity:.55;cursor:not-allowed}
body.meyvis-screen .app-input,body.meyvis-screen .input,body.meyvis-screen input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),body.meyvis-screen select,body.meyvis-screen textarea{
 background:#f9f9fb!important;color:var(--ios-ink)!important;border:1px solid #e4e3e8!important;
 border-radius:13px!important;min-height:48px;font-size:16px!important;box-shadow:none!important;
}
body.meyvis-screen input[type="checkbox"],body.meyvis-screen input[type="radio"]{accent-color:var(--ios-burgundy)}
body.meyvis-screen :is(.app-btn,.action-btn,.save-btn,.btn.primary,.btn-add,.m-btn,.search-btn,.secondary-action,.save,.btn-act,.btn-manage){
 min-height:48px;border-radius:13px!important;font-size:14px!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;
}
body.meyvis-screen .app-btn,body.meyvis-screen .action-btn,body.meyvis-screen .save-btn{
 background:var(--ios-burgundy)!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
body.meyvis-screen .meyvis-empty-state,body.meyvis-screen .empty,body.meyvis-screen .history-empty,
body.meyvis-screen .no-results,body.meyvis-screen .no-data,body.meyvis-screen .empty-state{
 background:#fff!important;box-shadow:none!important;border:1px solid var(--ios-line)!important;
 border-radius:16px!important;font-size:13px!important;font-weight:500!important;
}
body.meyvis-screen :is(.modal-overlay,.sheet,.meyvis-confirm-overlay){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.meyvis-screen :is(.modal-box,.panel,.meyvis-confirm){border-radius:24px!important;border:1px solid var(--ios-line)!important;background:#fff!important;box-shadow:0 24px 76px rgba(20,15,17,.2)!important}
body.meyvis-screen :is(.m-title,.modal-title,.m-name,.page-headline){font-size:clamp(20px,4.7vw,27px)!important;font-weight:760!important;letter-spacing:-.7px!important;line-height:1.2!important}
body.meyvis-screen :is(.profile-card-title,.stamps-title,.qr-card-title,.section-title,.section-head h2){font-size:16px!important;font-weight:730!important;letter-spacing:-.35px!important;text-transform:none!important;color:var(--ios-ink)!important}
body.meyvis-screen .dev-warning{font-size:12px!important;color:var(--ios-muted)!important;border:0!important;margin:2px 20px 20px!important;padding:5px 8px!important}
body.meyvis-screen :is(.profile-card,.campaign-item,.stamps-card,.qr-card,.stat,.search-card,.customer-card,.card,.stat-card,.log-card,.staff-item,.menu-list,.settings-box,.info-card){
 background:#fff!important;border:1px solid var(--ios-line)!important;border-radius:var(--ios-radius)!important;box-shadow:var(--ios-shadow)!important;
}
body.meyvis-screen .top,body.meyvis-screen .simple-header,body.meyvis-screen .top-bordeaux-bg,body.meyvis-screen .dashboard-header{
 background:transparent!important;box-shadow:none!important;color:var(--ios-ink)!important;
}
body.meyvis-screen :is(.back,.header-link){color:var(--ios-burgundy)!important;border-color:var(--ios-line)!important}
/* Customer experience — ref image: spacious header, dark loyalty card, compact grouped actions */
body.meyvis-home #tab-home{width:100%;max-width:570px;margin:0 auto;padding-bottom:calc(105px + env(safe-area-inset-bottom))}
body.meyvis-home #tab-home .top-bordeaux-bg{padding:calc(env(safe-area-inset-top) + 24px) 22px 14px!important}
body.meyvis-home .header{margin-bottom:23px!important}
body.meyvis-home .header .mvs-logo{display:flex;align-items:center;gap:11px;min-width:0}
body.meyvis-home .mvs-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#eee2e5;color:var(--ios-burgundy);font-size:18px;font-weight:800;flex:none}
body.meyvis-home .mvs-eyebrow{font-size:12px;line-height:1.4;color:var(--ios-muted);font-weight:550}
body.meyvis-home .mvs-brandline{font-size:15px;line-height:1.4;color:var(--ios-ink);font-weight:750;letter-spacing:-.4px}
body.meyvis-home .weather-widget{color:var(--ios-ink)!important;background:#fff!important;border:1px solid var(--ios-line);padding:0 13px!important;min-height:42px;font-size:12px!important;border-radius:22px!important;font-weight:650!important;box-shadow:var(--ios-shadow)}
body.meyvis-home .greeting{margin:0!important}
body.meyvis-home .greeting h1{font-size:clamp(26px,6vw,34px)!important;font-weight:460!important;letter-spacing:-1px!important;line-height:1.12!important;gap:7px!important;margin:0 0 8px!important}
body.meyvis-home .greeting h1 strong{font-weight:770}
body.meyvis-home .greeting p{font-size:13px!important;color:var(--ios-muted)!important;opacity:1!important;letter-spacing:0!important;line-height:1.45!important}
body.meyvis-home .club-card-wrapper{margin:11px 20px 18px!important;z-index:1!important}
body.meyvis-home .club-card{
 position:relative;isolation:isolate;padding:22px 23px 20px!important;min-height:206px;height:auto!important;
 border:1px solid rgba(255,255,255,.08)!important;border-left:0!important;border-radius:22px!important;
 color:#fff!important;background:linear-gradient(126deg,#28252a 0%,#211b20 48%,#491829 100%)!important;
 box-shadow:0 12px 30px rgba(49,20,30,.16)!important;transition:box-shadow .2s ease!important;
}
body.meyvis-home .club-card::after{content:"";position:absolute;z-index:-1;width:220px;height:220px;border:1px solid rgba(255,255,255,.085);border-radius:50%;right:-105px;top:-115px;box-shadow:0 0 0 35px rgba(255,255,255,.022),0 0 0 75px rgba(255,255,255,.018)}
body.meyvis-home .club-card-logo{font-size:12px!important;letter-spacing:1.2px!important;font-weight:760!important;color:#fff!important}
body.meyvis-home .tier-badge-text{color:#f4d9df!important;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.11);font-size:10px!important;letter-spacing:.6px!important;border-radius:30px;padding:7px 10px}
body.meyvis-home .club-card-footer{padding-top:30px}
body.meyvis-home .mvs-card-label{display:block;font-size:12px;font-weight:500;color:#d4c7cd}
body.meyvis-home .mvs-stamp-total{display:block;margin:4px 0 12px;font-size:37px;line-height:1;font-weight:800;letter-spacing:-1.3px;font-variant-numeric:tabular-nums}
body.meyvis-home .mvs-stamp-total small{font-size:18px;font-weight:500;color:#cbbdc4;letter-spacing:-.5px}
body.meyvis-home .mvs-card-progress{height:7px;border-radius:30px;background:rgba(255,255,255,.18);overflow:hidden}
body.meyvis-home .mvs-card-progress span{display:block;height:100%;border-radius:30px;background:#f4dfe5;transition:width .35s ease}
body.meyvis-home .mvs-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;font-size:11px;line-height:1.5;color:#e0cfd5}
body.meyvis-home .mvs-heading-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 22px 11px}
body.meyvis-home .mvs-heading-row h2{margin:0;font-size:16px;font-weight:770;letter-spacing:-.45px}
body.meyvis-home .mvs-heading-row .mvs-quiet{font-size:12px;color:var(--ios-muted)}
body.meyvis-home .mvs-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 20px 19px}
body.meyvis-home .mvs-quick-action{
 appearance:none;border:1px solid var(--ios-line);border-radius:17px;background:#fff;color:var(--ios-ink);
 padding:13px 4px 11px;min-width:0;min-height:93px;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:9px;
 box-shadow:var(--ios-shadow);text-decoration:none;font-size:11px;font-weight:620;line-height:1.15;text-align:center;
}
body.meyvis-home .mvs-quick-action svg{display:block;width:23px;height:23px;stroke:var(--ios-burgundy);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.meyvis-home .mvs-quick-action:active{transform:scale(.98)}
body.meyvis-home #reward-banner-container:empty{display:none}
body.meyvis-home .reward-banner{border:1px solid #ecdde1!important;background:#fffbfc!important;border-radius:17px!important;margin:0 20px 12px!important;padding:14px 16px!important;box-shadow:none!important}
body.meyvis-home .reward-text h3{font-size:14px!important;color:var(--ios-ink)!important}
body.meyvis-home .reward-text p{font-size:12px!important;line-height:1.5!important;margin-top:3px!important}
body.meyvis-home .gift-btn-small{width:44px!important;height:44px!important;border-radius:13px!important;background:var(--ios-burgundy)!important;color:#fff!important;flex:none}
body.meyvis-home .action-grid{margin:0 20px 16px!important;gap:12px!important}
body.meyvis-home .stamps-card{padding:18px 16px 20px!important}
body.meyvis-home .stamps-header{margin-bottom:16px!important}
body.meyvis-home .mvs-stamps-count{font-size:12px;color:var(--ios-muted);font-variant-numeric:tabular-nums}
body.meyvis-home .stamps-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px!important;justify-items:center}
body.meyvis-home .stamp-circle{width:44px!important;height:44px!important;border:1.5px dashed #ddd4d9!important;border-radius:50%!important;background:#faf9fa!important;transform:none!important;box-shadow:none!important}
body.meyvis-home .stamp-circle.filled{border:1.5px solid var(--ios-burgundy)!important;background:var(--ios-burgundy)!important}
body.meyvis-home .stamp-circle.filled::before{content:"✓";font-size:18px;color:#fff;font-weight:750}
body.meyvis-home .stamp-circle.gift{border-color:#b8a17d!important;background:#fbf6eb!important}
body.meyvis-home .stamp-circle.gift img{width:20px!important}
body.meyvis-home .qr-card{padding:20px 16px 21px!important;scroll-margin-top:22px}
body.meyvis-home .qr-card-title{font-size:16px!important;margin-bottom:5px!important}
body.meyvis-home .qr-desc{font-size:12px!important;line-height:1.5!important;max-width:285px;color:var(--ios-muted)!important;margin-bottom:12px!important}
body.meyvis-home .qr-image-wrapper{width:min(62vw,225px)!important;height:min(62vw,225px)!important;border-radius:16px!important;border:1px solid var(--ios-line)!important;background:#fff!important;padding:10px!important}
body.meyvis-home .mvs-recent{margin:0 20px 18px;padding:3px 15px;background:#fff;border:1px solid var(--ios-line);border-radius:18px;box-shadow:var(--ios-shadow)}
body.meyvis-home .mvs-recent-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--ios-line)}
body.meyvis-home .mvs-recent-row:last-child{border-bottom:0}
body.meyvis-home .mvs-recent-icon{flex:none;display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#f8ebee;color:var(--ios-burgundy);font-size:16px;font-weight:740}
body.meyvis-home .mvs-recent-main{flex:1;min-width:0}
body.meyvis-home .mvs-recent-title{font-size:13px;font-weight:680;line-height:1.3}
body.meyvis-home .mvs-recent-time{font-size:11px;color:var(--ios-muted);margin-top:3px}
body.meyvis-home .mvs-recent-value{font-size:13px;font-weight:720;color:var(--ios-burgundy);white-space:nowrap}
body.meyvis-home .mvs-recent-empty{font-size:13px;color:var(--ios-muted);padding:20px 4px}
body.meyvis-home .bottom-nav{
 width:min(550px,calc(100% - 24px))!important;left:50%!important;right:auto!important;transform:translateX(-50%);
 bottom:max(9px,env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:repeat(3,1fr);
 padding:7px 10px!important;border-radius:24px!important;background:rgba(255,255,255,.92)!important;
 border:1px solid rgba(223,219,224,.85)!important;box-shadow:0 9px 35px rgba(40,35,40,.11)!important;
 backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;
}
body.meyvis-home .bottom-nav .nav-item{border:0!important;background:transparent!important;min-height:56px;padding:7px 5px;border-radius:17px!important;display:flex;flex-direction:column;gap:4px;color:#807d85!important;transform:none!important;cursor:pointer}
body.meyvis-home .bottom-nav .nav-item svg{width:21px!important;height:21px!important}
body.meyvis-home .bottom-nav .nav-item span.nav-label{font-size:10px!important;font-weight:620!important;letter-spacing:0!important}
body.meyvis-home .bottom-nav .nav-item.active{background:#f8edef!important;color:var(--ios-burgundy)!important}
body.meyvis-home .bottom-nav .nav-item.active svg{stroke:var(--ios-burgundy)!important}
body.meyvis-home .simple-header{padding:calc(env(safe-area-inset-top) + 24px) 22px 18px!important}
body.meyvis-home .simple-header a{color:var(--ios-burgundy)!important;font-size:13px!important;letter-spacing:0!important}
body.meyvis-home .profile-card{margin:0 20px 13px!important;padding:18px!important}
body.meyvis-home .profile-card-title{border-bottom:0!important;padding-bottom:0!important;margin-bottom:12px!important}
body.meyvis-home .app-input{font-size:16px!important;padding:12px 14px!important}
body.meyvis-home .profile-label{font-size:12px!important;color:var(--ios-muted)!important;font-weight:600!important}
body.meyvis-home .campaign-item{border:1px solid var(--ios-line)!important;margin:0 20px 12px!important;padding:18px!important}
body.meyvis-home .campaign-item h4{font-size:15px!important}
body.meyvis-home .campaign-item p{font-size:13px!important}
body.meyvis-home .modal-overlay{align-items:flex-end!important;padding:12px 12px calc(env(safe-area-inset-bottom) + 12px)!important}
body.meyvis-home .modal-box{max-width:560px!important;width:100%!important;padding:25px!important}
body.meyvis-home .tab-content{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
/* Login / account recovery */
body.meyvis-auth .hero-section{padding:calc(env(safe-area-inset-top) + 80px) 20px calc(env(safe-area-inset-bottom) + 30px)!important;justify-content:flex-start!important}
body.meyvis-auth .main-logo{height:38px!important;margin-bottom:24px!important}
body.meyvis-auth .auth-card{max-width:450px!important;padding:24px 21px 22px!important;border:1px solid var(--ios-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--ios-shadow)!important}
body.meyvis-auth .tab{min-height:46px;display:flex;align-items:center;justify-content:center;font-size:14px!important;letter-spacing:0!important;font-weight:620!important;text-transform:none!important}
body.meyvis-auth .tabs{margin-bottom:23px!important}
body.meyvis-auth .lang-trigger{min-height:44px!important;border-radius:25px!important;top:calc(env(safe-area-inset-top) + 15px)!important;right:20px!important;font-size:12px!important;background:#fff!important;opacity:1}
body.meyvis-auth .app-input{height:50px!important;font-size:16px!important}
body.meyvis-auth .app-btn{margin-top:8px!important}
body.meyvis-auth .field-error-text{font-size:12px!important;letter-spacing:0!important}
body.meyvis-auth :is(.auth-card a,.auth-footer a){color:var(--ios-burgundy)!important}
/* Scanner: camera area is the high-priority task, modal = native-like sheet */
body.meyvis-scanner .top-bordeaux-bg{padding:calc(env(safe-area-inset-top) + 22px) 20px 12px!important;max-width:610px;width:100%;margin:0 auto}
body.meyvis-scanner .logo-text{font-size:22px!important;font-weight:760!important;letter-spacing:-.7px!important}
body.meyvis-scanner .header-actions{gap:8px!important}
body.meyvis-scanner .header-link{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--ios-line);background:#fff;border-radius:22px;padding:0 14px;font-size:12px!important;letter-spacing:0!important;font-weight:630!important;text-decoration:none}
body.meyvis-scanner .content-area{max-width:610px!important;padding:12px 20px 80px!important}
body.meyvis-scanner .page-title{text-align:left!important;font-size:13px!important;text-transform:none!important;letter-spacing:0!important;font-weight:550!important;margin-bottom:15px!important;color:var(--ios-muted)!important}
body.meyvis-scanner .scanner-card{background:#fff!important;border:1px solid var(--ios-line)!important;border-radius:20px!important;box-shadow:var(--ios-shadow)!important;padding:13px!important;overflow:hidden}
body.meyvis-scanner .reader-shell,body.meyvis-scanner #reader{border-radius:14px!important;overflow:hidden!important;background:#19191d!important}
body.meyvis-scanner .scanner-status{border:0!important;background:#f7f6f8!important;border-radius:12px!important;font-size:13px!important;font-weight:550!important}
body.meyvis-scanner .scanner-help{font-size:12px!important;line-height:1.5!important}
body.meyvis-scanner .modal-overlay{align-items:flex-end!important;padding:10px 10px calc(10px + env(safe-area-inset-bottom))!important}
body.meyvis-scanner .modal-box{width:100%!important;max-width:560px!important;border:1px solid var(--ios-line)!important;border-left:1px solid var(--ios-line)!important;padding:21px 19px!important;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain}
body.meyvis-scanner .m-label,body.meyvis-scanner .m-stat-lbl{font-size:12px!important;letter-spacing:0!important;text-transform:none!important}
body.meyvis-scanner .m-name{font-size:24px!important}
body.meyvis-scanner .m-btn{min-height:49px!important;font-size:14px!important;border-radius:13px!important;text-transform:none!important;letter-spacing:0!important}
body.meyvis-scanner .btn-add{background:var(--ios-burgundy)!important;color:#fff!important}
body.meyvis-scanner .btn-remove,body.meyvis-scanner .btn-cancel{background:#f5f4f6!important;color:var(--ios-ink)!important;border:1px solid var(--ios-line)!important}
/* Admin and related pages — shared light surfaces, same spacing and burgundy accent */
body.meyvis-admin{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
body.meyvis-admin .shell,body.meyvis-admin .wrap{max-width:920px!important;margin:0 auto!important}
body.meyvis-admin :is(.top,.hero){background:transparent!important;color:var(--ios-ink)!important;box-shadow:none!important;border:0!important}
body.meyvis-admin .hero{padding:calc(env(safe-area-inset-top) + 24px) 20px 0!important}
body.meyvis-admin .top{padding:calc(env(safe-area-inset-top) + 18px) 20px 14px!important}
body.meyvis-admin :is(.brand-title,.title){font-size:clamp(25px,5vw,32px)!important;letter-spacing:-1px!important;font-weight:760!important}
body.meyvis-admin :is(.brand-kicker,.eyebrow){font-size:12px!important;letter-spacing:0!important;text-transform:none!important;color:var(--ios-muted)!important;opacity:1!important}
body.meyvis-admin .logout,body.meyvis-admin .back{background:#fff!important;color:var(--ios-burgundy)!important;border:1px solid var(--ios-line)!important;border-radius:22px!important;padding:0 15px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none}
body.meyvis-admin .hero-card{
 background:linear-gradient(126deg,#2b2429,#491b2a)!important;color:#fff!important;border:0!important;
 border-radius:22px!important;padding:23px!important;box-shadow:0 14px 30px rgba(49,20,30,.15)!important;
}
body.meyvis-admin .hero-card :is(.eyebrow,.hero-sub,.mini span){color:#e0cbd2!important}
body.meyvis-admin .hero-card .mini{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.1)!important;border-radius:12px!important}
body.meyvis-admin :is(.content,.wrap){padding-left:20px!important;padding-right:20px!important}
body.meyvis-admin .section{margin-bottom:20px!important}
body.meyvis-admin :is(.metric,.shortcut,.cta,.tool,.live-card,.stat,.search-card,.customer-card,.card,.log-card,.staff-item,.panel,.metric.linked){
 background:#fff!important;color:var(--ios-ink)!important;border:1px solid var(--ios-line)!important;border-radius:17px!important;box-shadow:var(--ios-shadow)!important;
}
body.meyvis-admin :is(.metric-value,.stat strong,.live-value){font-weight:750!important}
body.meyvis-admin :is(.shortcut-title,.cta-title,.section-title,.section-head h2){color:var(--ios-ink)!important}
body.meyvis-admin :is(.metric-label,.shortcut-copy,.cta-copy,.metric-foot,.section-note){color:var(--ios-muted)!important}
body.meyvis-admin .metric:before,body.meyvis-admin .customer-card:before{display:none!important}
body.meyvis-admin .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.meyvis-admin .btn.primary,body.meyvis-admin .save{background:var(--ios-burgundy)!important;color:#fff!important}
body.meyvis-admin .mvs-admin-nav{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:1px;
 position:fixed;bottom:max(9px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);
 width:min(650px,calc(100% - 24px));padding:7px 8px;border-radius:24px;background:rgba(255,255,255,.93);
 border:1px solid var(--ios-line);box-shadow:0 10px 30px rgba(20,15,17,.11);z-index:90;
 backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
}
body.meyvis-admin .mvs-admin-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;border-radius:17px;gap:5px;text-decoration:none;font-size:10px;font-weight:650;color:#7b7680}
body.meyvis-admin .mvs-admin-nav a.active{background:#f8edef;color:var(--ios-burgundy)}
body.meyvis-admin .mvs-admin-nav svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.meyvis-admin .sheet{z-index:110}
/* General polish */
body.meyvis-screen .meyvis-confirm-btn{min-height:48px;font-size:13px!important;font-weight:650!important;text-transform:none!important;letter-spacing:0!important}
@media(min-width:700px){body.meyvis-home #tab-home{max-width:570px}body.meyvis-home .mvs-quick-action{min-height:100px}body.meyvis-admin .mvs-admin-nav{max-width:700px}}
@media(max-width:380px){body.meyvis-home .mvs-quick-grid{gap:6px}body.meyvis-home .mvs-quick-action{font-size:10px!important}body.meyvis-home .club-card{min-height:198px;padding:20px!important}body.meyvis-home .greeting h1{font-size:25px!important}body.meyvis-home .mvs-card-bottom{flex-wrap:wrap}body.meyvis-admin .hero{padding-left:15px!important;padding-right:15px!important}body.meyvis-admin :is(.content,.wrap){padding-left:14px!important;padding-right:14px!important}}
@media(prefers-reduced-motion:reduce){body.meyvis-screen *,body.meyvis-screen *::before,body.meyvis-screen *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

body.meyvis-screen :is(button,.nav-item,.mvs-quick-action){user-select:none!important;-webkit-user-select:none!important;}

/* ===========================================================================
   MEYVIS CLUB — iOS-native-feeling web experience / Design System v2.0
   Builds on the existing PHP app without replacing its business logic.
   Liquid glass is restricted to floating navigation and transient controls.
   =========================================================================== */
:root {
  --ios-burgundy:#9a1e22;
  --ios-burgundy-pressed:#7c1624;
  --ios-burgundy-soft:#f7e9ed;
  --ios-bg:#f5f5f7;
  --ios-ink:#1e1c20;
  --ios-muted:#65636c;
  --ios-line:#e6e5ea;
  --ios-surface:#fff;
  --ios-radius:20px;
  --ios-shadow:0 2px 10px rgba(21,14,28,.027),0 1px 2px rgba(21,14,28,.026);
  --m-bg:#f5f5f7!important;
  --m-text-light:#65636c!important;
  --radius-lg:20px!important;
  --radius-card:20px!important;
  --radius-btn:14px!important;
  --shadow-card:var(--ios-shadow)!important;
  --bezier-smooth:cubic-bezier(.22,1,.36,1)!important;
}
html { overscroll-behavior-y:auto; }
body.meyvis-screen { background:#f5f5f7!important; line-height:1.45; }
body.meyvis-screen :is(button,select,a) { -webkit-tap-highlight-color:transparent; }
body.meyvis-screen :is(button,a,input,select,textarea):focus-visible{
  outline:3px solid rgba(154,30,34,.5)!important;outline-offset:3px!important;
}
body.meyvis-screen :is(input,textarea) { user-select:text!important;-webkit-user-select:text!important; }
body.meyvis-screen :is(h1,h2,h3,h4) { text-wrap:pretty; }
body.meyvis-screen :is(.app-input,.input,.search-input) { font-size:16px!important; }
body.meyvis-screen :is(.app-btn,.action-btn,.modal-btn,.save-btn,.save,.btn.primary,.btn-add,.m-btn) {
  min-height:48px!important;border-radius:14px!important;letter-spacing:-.1px!important;text-transform:none!important;font-weight:680!important;
}
body.meyvis-screen :is(button,.nav-item,a) { transition-property:background-color,color,box-shadow,transform,border-color;transition-duration:.18s;transition-timing-function:ease-out; }
body.meyvis-screen :is(button,.nav-item):active:not(:disabled){transform:scale(.985);}
body.meyvis-screen .tab-content { animation:none!important;opacity:1!important; }
body.meyvis-screen .tab-content:not(.active) { display:none!important; }
body.meyvis-screen .anim-item { animation-duration:.4s!important;animation-delay:0s!important; }

/* Customer app: content first, no ineffective weather widget and no redundant card. */
body.meyvis-home #tab-home,
body.meyvis-home #tab-qr,
body.meyvis-home #tab-profile,
body.meyvis-home #tab-campaigns { width:100%;max-width:570px;margin-inline:auto; }
body.meyvis-home .top-bordeaux-bg { padding:calc(env(safe-area-inset-top) + 25px) 22px 12px!important; }
body.meyvis-home .header { min-height:52px;margin-bottom:29px!important;gap:10px; }
body.meyvis-home .mvs-logo { gap:13px!important; }
body.meyvis-home .mvs-avatar { width:47px;height:47px;font-size:19px;box-shadow:inset 0 0 0 1px rgba(154,30,34,.05); }
body.meyvis-home .mvs-eyebrow { font-size:11px;letter-spacing:.55px;line-height:1.6;font-weight:690; }
body.meyvis-home .mvs-brandline { font-size:16px;line-height:1.3;font-weight:760; }
body.meyvis-home .mvs-header-profile { flex:none;display:grid;place-items:center;width:45px;height:45px;border-radius:50%!important;background:rgba(255,255,255,.78);border:1px solid var(--ios-line);color:var(--ios-burgundy);box-shadow:var(--ios-shadow); }
body.meyvis-home .mvs-header-profile svg { width:21px;height:21px; }
body.meyvis-home .greeting h1 { font-size:clamp(27px,6vw,34px)!important;line-height:1.17!important;letter-spacing:-1.1px!important;font-weight:430!important;margin-bottom:7px!important;overflow-wrap:anywhere; }
body.meyvis-home .greeting h1 strong { font-weight:780!important; }
body.meyvis-home .greeting p { font-size:14px!important;letter-spacing:-.06px!important;line-height:1.5!important; }
body.meyvis-home .club-card-wrapper { margin:16px 20px 0!important; }
body.meyvis-home .club-card { min-height:218px!important; padding:23px 24px 21px!important; border-radius:24px!important;background:linear-gradient(130deg,#282327 0%,#241e23 44%,#581927 100%)!important;box-shadow:0 16px 34px rgba(49,19,31,.17)!important; }
body.meyvis-home .club-card::after { width:250px;height:250px;right:-125px;top:-125px;box-shadow:0 0 0 32px rgba(255,255,255,.02),0 0 0 64px rgba(255,255,255,.015); }
body.meyvis-home .club-card-logo { font-size:12px!important;letter-spacing:1.4px!important; }
body.meyvis-home .tier-badge-text { border-radius:20px;padding:6px 12px;background:rgba(255,255,255,.1); }
body.meyvis-home .club-card-footer { padding-top:35px; }
body.meyvis-home .mvs-card-label { font-size:12px;font-weight:540; }
body.meyvis-home .mvs-stamp-total { font-size:39px;font-weight:780;letter-spacing:-1.4px;margin:3px 0 14px; }
body.meyvis-home .mvs-stamp-total small { font-size:18px; }
body.meyvis-home .mvs-card-progress { height:7px; }
body.meyvis-home .mvs-card-bottom { font-size:11px;color:#ebe0e4;margin-top:12px; }
body.meyvis-home .mvs-card-bottom strong { font-weight:800; }
body.meyvis-home .mvs-qr-hero-action { display:flex;align-items:center;gap:12px;width:calc(100% - 40px);margin:14px 20px 0;padding:0 16px;min-height:57px;background:var(--ios-burgundy);color:white;border:1px solid rgba(128,10,31,.16);border-radius:17px;font-size:15px;letter-spacing:-.2px;font-weight:720;text-align:start;box-shadow:0 6px 16px rgba(120,21,39,.14); }
body.meyvis-home .mvs-qr-hero-action:active{background:var(--ios-burgundy-pressed)}
body.meyvis-home .mvs-qr-action-icon { flex:none;display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:rgba(255,255,255,.15); }
body.meyvis-home .mvs-qr-action-icon svg { width:22px;height:22px; }
body.meyvis-home .mvs-action-chevron { width:17px;height:17px;margin-left:auto;opacity:.75; }
body.meyvis-home .mvs-heading-row { margin:25px 22px 12px; }
body.meyvis-home .mvs-heading-row h2 { font-size:17px;letter-spacing:-.4px;font-weight:750; }
body.meyvis-home .mvs-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:17px; }
body.meyvis-home .mvs-quick-action { min-height:84px!important;padding:15px!important;border-radius:18px!important;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:13px;font-size:13px!important;font-weight:700!important;line-height:1.3;overflow-wrap:anywhere;text-align:left; }
body.meyvis-home .mvs-quick-action svg { flex:none;width:25px;height:25px; }
body.meyvis-home .mvs-quick-action:hover { border-color:#e1cbd1; }
body.meyvis-home .reward-banner { background:#fffbfc!important;border:1px solid #ebd9df!important;padding:16px 17px!important;margin-bottom:16px!important;gap:12px; }
body.meyvis-home .reward-text h3 { font-size:15px!important;line-height:1.3; }
body.meyvis-home .reward-text p { font-size:12px!important;line-height:1.5; }
body.meyvis-home .gift-btn-small { min-width:46px;min-height:46px;width:46px;height:46px;border-radius:13px!important;background:var(--ios-burgundy)!important;color:#fff!important; }
body.meyvis-home .gift-btn-small svg { width:21px;height:21px; }
body.meyvis-home .action-grid { margin:0 20px 4px;gap:0; }
body.meyvis-home .stamps-card { padding:20px 19px 23px!important;border-radius:20px!important; }
body.meyvis-home .stamps-header { margin-bottom:19px!important; }
body.meyvis-home .stamps-title { font-size:16px!important;font-weight:740!important; }
body.meyvis-home .mvs-stamps-count { font-size:13px;font-weight:650;color:var(--ios-muted); }
body.meyvis-home .stamps-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 7px!important; }
body.meyvis-home .stamp-circle { width:min(12vw,46px)!important;height:min(12vw,46px)!important;min-width:34px;min-height:34px;border-radius:50%!important; }
body.meyvis-home .stamp-circle.filled::before { font-size:18px; }
body.meyvis-home .stamp-circle.gift:not(.filled) img { opacity:.95; }
body.meyvis-home .stamp-circle.gift.filled { background:var(--ios-burgundy)!important;border-color:var(--ios-burgundy)!important; }
body.meyvis-home .stamp-circle.gift.filled img { display:none; }
body.meyvis-home .mvs-recent { margin-bottom:25px; }
body.meyvis-home .mvs-recent-row { min-height:64px;padding:12px 0; }
body.meyvis-home .mvs-recent-title { font-size:13px!important; }
body.meyvis-home .mvs-recent-time { font-size:11px!important; }
body.meyvis-home .mvs-recent-icon { width:40px;height:40px; }
body.meyvis-home .mvs-quiet { display:none; }

/* QR is a task-specific screen; the actual QR image stays solid white and sharp. */
body.meyvis-home .mvs-qr-tab { padding-bottom:calc(125px + env(safe-area-inset-bottom))!important; }
body.meyvis-home .mvs-qr-header { padding:calc(env(safe-area-inset-top) + 29px) 24px 13px!important; }
body.meyvis-home .mvs-qr-header h1 { margin:3px 0 6px; }
body.meyvis-home .mvs-qr-header p { margin:0;max-width:350px;font-size:13px;line-height:1.5;color:var(--ios-muted); }
body.meyvis-home .mvs-qr-tab-body { margin:12px 20px 0;background:white;border:1px solid var(--ios-line);border-radius:24px;padding:25px 17px 23px;box-shadow:var(--ios-shadow);text-align:center; }
body.meyvis-home .mvs-qr-tab-body .qr-card { border:0!important;box-shadow:none!important;padding:2px!important;background:transparent!important; }
body.meyvis-home .mvs-qr-tab-body .qr-card-title { font-size:18px!important;line-height:1.3;letter-spacing:-.5px!important;text-transform:none!important; }
body.meyvis-home .mvs-qr-tab-body .qr-desc { font-size:13px!important;margin:6px 0 23px!important;max-width:320px; }
body.meyvis-home .mvs-qr-tab-body .qr-image-wrapper { width:min(68vw,300px)!important;height:min(68vw,300px)!important;padding:12px!important;border:1px solid #e9e8ed!important;border-radius:20px!important; }
body.meyvis-home .mvs-qr-rotate-note { font-size:12px;line-height:1.5;color:var(--ios-muted);display:flex;align-items:center;justify-content:center;gap:9px;margin:20px 3px 8px; }
body.meyvis-home .mvs-pulse { display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#238b5a;box-shadow:0 0 0 4px #e4f4ec; }
body.meyvis-home .mvs-qr-counter { color:var(--ios-muted);font-size:13px;font-variant-numeric:tabular-nums; }
body.meyvis-home .mvs-qr-tab .qr-image-wrapper img { image-rendering:pixelated!important; }

/* Four destinations, subtle translucent material with readable labels. */
body.meyvis-home .bottom-nav { box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:min(530px,calc(100% - 28px))!important;border-radius:25px!important;padding:7px!important;border:1px solid rgba(255,255,255,.85)!important;background:rgba(249,248,250,.84)!important;box-shadow:0 4px 24px rgba(25,17,26,.14),0 0 0 1px rgba(24,11,20,.06)!important;backdrop-filter:blur(26px) saturate(150%)!important;-webkit-backdrop-filter:blur(26px) saturate(150%)!important; }
body.meyvis-home .bottom-nav .nav-item { min-width:0;min-height:57px!important;border-radius:18px!important;padding:7px 3px!important;gap:4px!important;color:#66646c!important; }
body.meyvis-home .bottom-nav .nav-item.active { color:var(--ios-burgundy)!important;background:rgba(154,30,34,.09)!important; }
body.meyvis-home .bottom-nav .nav-item svg { width:21px;height:21px; }
body.meyvis-home .bottom-nav .nav-label { font-size:10px!important;max-width:100%;line-height:1.15; }
body.meyvis-home .bottom-nav .nav-item.active svg { stroke:var(--ios-burgundy)!important; }
body.meyvis-home #tab-home,body.meyvis-home #tab-campaigns,body.meyvis-home #tab-profile { padding-bottom:calc(120px + env(safe-area-inset-bottom))!important; }

/* Forms are grouped, spacious and keyboard-safe. */
body.meyvis-home .simple-header { align-items:center;padding:calc(env(safe-area-inset-top) + 28px) 22px 19px!important;gap:15px; }
body.meyvis-home .simple-header .page-headline { font-size:29px!important;letter-spacing:-1px!important;font-weight:780!important; }
body.meyvis-home .simple-header a { color:var(--ios-burgundy)!important;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 7px;text-transform:none!important;letter-spacing:0!important;white-space:nowrap; }
body.meyvis-home .profile-card { padding:21px 19px!important;box-shadow:var(--ios-shadow)!important; }
body.meyvis-home .profile-card-title { font-size:16px!important;margin-bottom:15px!important; }
body.meyvis-home .profile-label { display:block;margin:10px 0 6px;font-size:12px!important; }
body.meyvis-home .app-input { min-height:50px;line-height:1.4;border-color:#e1e0e6!important; }
body.meyvis-home .pass-container .app-input { padding-right:50px!important; }
body.meyvis-home .pass-eye { min-width:45px;color:var(--ios-muted)!important; }
body.meyvis-home #btn-save-prof { min-height:52px!important;width:calc(100% - 40px);font-size:15px!important;text-transform:none!important;letter-spacing:0!important; }
body.meyvis-home .modal-overlay { background:rgba(17,13,18,.36)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;align-items:flex-end!important;padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important; }
body.meyvis-home .modal-box { border-radius:26px!important;padding:27px 23px 23px!important;max-height:calc(90dvh - env(safe-area-inset-bottom));overflow-y:auto; }
body.meyvis-home .modal-title { font-size:24px!important;line-height:1.2; }
body.meyvis-home .modal-desc { font-size:14px!important;line-height:1.55; }
body.meyvis-home .modal-btn,body.meyvis-home .modal-btn-cancel { min-height:52px;font-size:15px!important;letter-spacing:0!important;text-transform:none!important; }
body.meyvis-home .campaign-item { padding:20px!important; }
body.meyvis-home .campaign-item h4 { font-size:16px!important; }
body.meyvis-home .campaign-item p { font-size:14px!important; }

/* Staff: scanning remains the primary action and prevents accidental input. */
body.meyvis-scanner .logo-text { font-size:23px!important;letter-spacing:-.8px!important; }
body.meyvis-scanner .logo-text span { font-weight:470;color:var(--ios-muted); }
body.meyvis-scanner .top-bordeaux-bg { padding:calc(env(safe-area-inset-top) + 22px) 20px 18px!important; }
body.meyvis-scanner .content-area { padding:0 20px calc(115px + env(safe-area-inset-bottom))!important; }
body.meyvis-scanner .page-title { font-size:15px!important;line-height:1.45;color:var(--ios-muted)!important; }
body.meyvis-scanner .scanner-card { padding:15px!important;border-radius:22px!important; }
body.meyvis-scanner .scanner-status { padding:13px!important;line-height:1.4;font-size:13px!important; }
body.meyvis-scanner .scanner-help { font-size:13px!important;line-height:1.55!important; }
body.meyvis-scanner #capture-button { min-height:48px;font-size:14px!important; }
body.meyvis-scanner .modal-box { border-radius:26px!important; }
body.meyvis-scanner .m-name { line-height:1.2;overflow-wrap:anywhere; }
body.meyvis-scanner .m-stat-box { min-width:0; }
body.meyvis-scanner .m-btn { min-height:51px!important; }

/* Admin: consistent grouped lists, readable tables, large touch areas. */
body.meyvis-admin .hero-card { border-radius:24px!important; }
body.meyvis-admin :is(.metric,.shortcut,.cta,.tool,.live-card,.stat,.search-card,.customer-card,.card,.log-card,.staff-item,.panel,.metric.linked){border-radius:19px!important;}
body.meyvis-admin .shell,body.meyvis-admin .wrap{max-width:960px!important;}
body.meyvis-admin .top { padding-top:calc(env(safe-area-inset-top) + 25px)!important; }
body.meyvis-admin .top-row { gap:13px; }
body.meyvis-admin :is(.brand-title,.title) { line-height:1.12!important;overflow-wrap:anywhere; }
body.meyvis-admin :is(.card h2,.section-title,.section-head h2) { letter-spacing:-.3px!important;text-transform:none!important;font-size:16px!important;line-height:1.35; }
body.meyvis-admin :is(.card p,.section-note,.hint) { font-size:13px!important;line-height:1.5!important;font-weight:470!important; }
body.meyvis-admin :is(.label,.metric-label) { font-size:13px!important;letter-spacing:0!important;text-transform:none!important; }
body.meyvis-admin :is(.field-row,.switch-row) { min-height:58px;gap:14px; }
body.meyvis-admin input[type="number"],body.meyvis-admin input[type="time"] { min-width:0; }
body.meyvis-admin .save { bottom:calc(90px + env(safe-area-inset-bottom));z-index:19;min-height:52px!important; }
body.meyvis-admin .mvs-admin-nav { bottom:max(10px,env(safe-area-inset-bottom))!important;background:rgba(248,248,251,.87)!important;border:1px solid rgba(255,255,255,.86)!important;box-shadow:0 4px 24px rgba(25,17,26,.14),0 0 0 1px rgba(24,11,20,.06)!important;backdrop-filter:blur(26px) saturate(145%)!important;-webkit-backdrop-filter:blur(26px) saturate(145%)!important; }
body.meyvis-admin .mvs-admin-nav a { font-size:10px!important;min-height:58px!important;min-width:0;text-align:center;padding:5px 2px; }
body.meyvis-admin .mvs-admin-nav a.active { background:rgba(154,30,34,.09)!important;color:var(--ios-burgundy)!important; }
body.meyvis-admin .mvs-admin-nav a svg { flex:none; }
body.meyvis-admin .switch input { display:block!important;position:absolute!important;left:50%;top:50%;width:1px;height:1px;opacity:0; }
body.meyvis-admin .switch input:focus-visible + .slider { outline:3px solid rgba(154,30,34,.5);outline-offset:4px; }
body.meyvis-admin .switch:has(input:disabled) { opacity:.45; }

@media (max-width:374px) {
 body.meyvis-home .top-bordeaux-bg { padding-inline:17px!important; }
 body.meyvis-home .club-card-wrapper,body.meyvis-home .action-grid,body.meyvis-home .mvs-recent,body.meyvis-home .mvs-quick-grid,body.meyvis-home .reward-banner,body.meyvis-home .mvs-qr-hero-action { margin-left:16px!important;margin-right:16px!important; }
 body.meyvis-home .mvs-qr-hero-action { width:calc(100% - 32px)!important; }
 body.meyvis-home .club-card { padding:21px 19px!important; }
 body.meyvis-home .mvs-card-bottom { gap:8px; }
 body.meyvis-home .mvs-quick-grid { gap:9px; }
 body.meyvis-home .mvs-quick-action { padding:11px!important;gap:9px!important;font-size:12px!important; }
 body.meyvis-home .mvs-quick-action svg { width:23px;height:23px; }
 body.meyvis-home .mvs-heading-row { margin-left:17px; }
 body.meyvis-home .stamps-grid { gap:11px 2px!important; }
 body.meyvis-home .bottom-nav .nav-label { font-size:9.5px!important; }
 body.meyvis-home .mvs-qr-tab-body { margin-inline:16px; }
 body.meyvis-admin .field-row { grid-template-columns:minmax(0,1fr) 88px!important; }
}
@media (min-width:720px) {
 body.meyvis-home .mvs-qr-tab-body .qr-image-wrapper { width:300px!important;height:300px!important; }
 body.meyvis-home .mvs-qr-tab-body { margin-inline:20px; }
 body.meyvis-scanner .content-area { padding-inline:24px!important; }
}
@media (prefers-reduced-transparency:reduce) {
 body.meyvis-home .bottom-nav,body.meyvis-admin .mvs-admin-nav { background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important; }
}
@media (prefers-contrast:more) {
 body.meyvis-screen { --ios-line:#8c8991;--ios-muted:#49474f; }
 body.meyvis-home .mvs-quick-action { border-width:2px; }
}
@media (prefers-reduced-motion:reduce) {
 html:focus-within {scroll-behavior:auto!important;}
 body.meyvis-screen *,body.meyvis-screen *::before,body.meyvis-screen *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
}

/* Authentication: iOS-like segmented controls, form controls, unobstructed keyboard. */
body.meyvis-auth .hero-section { min-height:100dvh;padding:calc(env(safe-area-inset-top) + 86px) 20px calc(env(safe-area-inset-bottom) + 40px)!important; }
body.meyvis-auth .auth-card { width:100%;max-width:440px!important;border-radius:25px!important;box-shadow:0 8px 28px rgba(22,14,22,.045)!important; }
body.meyvis-auth .main-logo { height:34px!important;margin-bottom:28px!important; }
body.meyvis-auth .tabs { display:flex;align-items:stretch;padding:4px!important;margin-bottom:24px!important;border:0!important;border-radius:13px!important;background:#f1f0f4!important; }
body.meyvis-auth .tab { appearance:none;flex:1;border:0;outline-offset:1px;background:transparent;display:flex;align-items:center;justify-content:center;min-height:43px;padding:8px 5px!important;border-radius:10px!important;font-size:14px!important;font-weight:680!important;line-height:1.2;text-align:center;color:#6e6a72!important; }
body.meyvis-auth .tab.active { color:var(--ios-ink)!important;background:white!important;box-shadow:0 1px 4px rgba(24,19,22,.11)!important; }
body.meyvis-auth .tab-indicator { display:none!important; }
body.meyvis-auth .form-group { margin-bottom:15px; }
body.meyvis-auth .input-row { gap:11px;margin-bottom:15px; }
body.meyvis-auth .app-input { min-height:51px;height:51px!important;padding:0 14px!important;border:1px solid var(--ios-line)!important;border-radius:13px!important;background:#faf9fb!important;font-size:16px!important;font-weight:520!important;letter-spacing:0; }
body.meyvis-auth .app-input::placeholder { color:#77747c!important;opacity:1; }
body.meyvis-auth .app-input:focus { background:white!important;border-color:var(--ios-burgundy)!important; }
body.meyvis-auth .pass-eye,body.meyvis-home .pass-eye { display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--ios-muted);border-radius:10px;min-width:44px;width:44px;min-height:44px;padding:0; }
body.meyvis-auth .mvs-forgot-link { background:transparent;border:0;padding:7px 2px;min-height:44px;color:var(--ios-burgundy)!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important; }
body.meyvis-auth .app-btn { min-height:52px!important;width:100%;background:var(--ios-burgundy)!important;color:#fff!important;font-size:15px!important;letter-spacing:0!important;font-weight:720!important;border:0;border-radius:14px!important;box-shadow:none!important; }
body.meyvis-auth .app-btn:active { background:var(--ios-burgundy-pressed)!important; }
body.meyvis-auth .lang-trigger { gap:8px;min-height:44px!important;top:calc(env(safe-area-inset-top) + 15px)!important;border:1px solid var(--ios-line)!important;border-radius:22px!important;padding:7px 14px!important;font-size:12px!important; }
body.meyvis-auth .lang-trigger svg { width:18px;height:18px; }
body.meyvis-auth .modal-overlay { padding:16px 12px calc(env(safe-area-inset-bottom) + 12px)!important;align-items:flex-end!important;background:rgba(26,18,24,.35)!important; }
body.meyvis-auth .modal-box { margin:auto auto 0;width:100%!important;max-width:520px!important;max-height:88dvh;overflow-y:auto;padding:25px 22px 23px!important;border-radius:27px!important;background:#fff!important; }
body.meyvis-auth .lang-list { gap:7px; }
body.meyvis-auth .lang-item { width:100%;min-height:48px;display:flex;justify-content:flex-start;text-align:left;border:1px solid var(--ios-line)!important;background:#f8f8fa!important;font-size:14px!important;font-weight:620!important;padding:11px 17px!important; }
body.meyvis-auth .lang-item.active { color:var(--ios-burgundy)!important;background:#f8eef0!important;border-color:#edd4da!important;box-shadow:none!important; }
body.meyvis-auth .modal-cancel-btn { min-height:50px;font-size:14px!important;letter-spacing:0!important;text-transform:none!important; }
body.meyvis-auth .field-error-text { font-size:12px!important;font-weight:530!important;letter-spacing:0!important;line-height:1.5!important; }
body.meyvis-auth #splash-screen { transition:opacity .3s ease,visibility .3s ease; }
body.meyvis-auth #splash-logo { animation:none!important; }
@media (max-width:340px){body.meyvis-auth .hero-section {padding-inline:14px!important}body.meyvis-auth .auth-card {padding:20px 15px!important}body.meyvis-auth .input-row {gap:8px}body.meyvis-auth .phone-group .w-30 {width:37%;padding-inline:5px!important}body.meyvis-auth .phone-group .w-70 {width:63%;}}


/* MEYVIS v2.1 — PROFILE ONLY. Home, QR and auth retain their working v2 layout. */
body.meyvis-home #tab-profile .simple-header {
  background:transparent!important;
  color:var(--ios-ink)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:calc(env(safe-area-inset-top) + 24px) 22px 18px!important;
  margin:0 0 2px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body.meyvis-home #tab-profile .simple-header .page-headline {
  color:var(--ios-ink)!important;
  font-size:clamp(27px,6vw,32px)!important;
  font-weight:760!important;
  line-height:1.18!important;
  letter-spacing:-.85px!important;
  overflow-wrap:anywhere;
}
body.meyvis-home #tab-profile .simple-header a {
  color:var(--ios-burgundy)!important;
  background:#fff!important;
  border:1px solid var(--ios-line)!important;
  border-radius:999px!important;
  text-decoration:none!important;
  box-shadow:0 1px 4px rgba(20,16,20,.035);
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:44px!important;
  padding:0 14px!important;
  flex:none;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:650!important;
  letter-spacing:0!important;
  white-space:nowrap;
}
body.meyvis-home #tab-profile .page-shell {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding:0 20px 10px!important;
}
body.meyvis-home #tab-profile .page-shell > .profile-card {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
  padding:20px!important;
  border:1px solid var(--ios-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:var(--ios-shadow)!important;
}
body.meyvis-home #tab-profile .profile-card-title {
  margin:0 0 16px!important;
  padding:0!important;
  border:0!important;
  color:var(--ios-ink)!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:730!important;
  letter-spacing:-.3px!important;
  text-transform:none!important;
}
body.meyvis-home #tab-profile .profile-label {
  display:block!important;
  margin:0 0 7px!important;
  font-size:12px!important;
  line-height:1.45!important;
  letter-spacing:0!important;
  color:var(--ios-muted)!important;
  font-weight:600!important;
  text-transform:none!important;
}
body.meyvis-home #tab-profile .profile-card .app-input {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-height:50px!important;
  font-size:16px!important;
  line-height:1.4!important;
  color:var(--ios-ink)!important;
  background:#f9f9fb!important;
  border:1px solid #e2e1e7!important;
  border-radius:13px!important;
  padding:11px 14px!important;
  margin:0 0 15px!important;
}
body.meyvis-home #tab-profile .profile-card .app-input:focus {
  border-color:var(--ios-burgundy)!important;
  background:#fff!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(154,30,34,.13)!important;
}
body.meyvis-home #tab-profile .profile-card .app-input:last-child {
  margin-bottom:0!important;
}
body.meyvis-home #tab-profile .pass-container {
  margin:0 0 12px!important;
}
body.meyvis-home #tab-profile .pass-container:last-child {
  margin-bottom:0!important;
}
body.meyvis-home #tab-profile .pass-container .app-input {
  margin-bottom:0!important;
  padding-right:52px!important;
}
body.meyvis-home #tab-profile .pass-eye {
  width:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  right:4px!important;
  color:var(--ios-muted)!important;
  background:transparent!important;
  border:0!important;
  border-radius:12px!important;
}
body.meyvis-home #tab-profile #btn-save-prof {
  display:block!important;
  box-sizing:border-box!important;
  width:calc(100% - 40px)!important;
  max-width:530px!important;
  min-height:52px!important;
  margin:4px auto calc(110px + env(safe-area-inset-bottom))!important;
  border-radius:14px!important;
  background:var(--ios-burgundy)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:690!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
@media(max-width:340px){
  body.meyvis-home #tab-profile .page-shell{padding-inline:16px!important}
  body.meyvis-home #tab-profile .page-shell > .profile-card{padding:17px!important}
  body.meyvis-home #tab-profile .simple-header{padding-inline:18px!important}
  body.meyvis-home #tab-profile #btn-save-prof{width:calc(100% - 32px)!important}
}
