:root{--cmc-nav-h:60px;--cmc-primary:#1565C0;--cmc-primary-lt:#E3F2FD;--cmc-icon-color:#9CA3AF;--cmc-vh:1vh}html.cmc-pwa-app{overscroll-behavior-y:none}html.cmc-pwa-app a,html.cmc-pwa-app button{-webkit-tap-highlight-color:#fff0}html.cmc-pwa-app .cmc-nav-item,html.cmc-pwa-app #cmc-splash{-webkit-user-select:none;user-select:none}#cmc-splash{display:none!important}#cmc-splash.cmc-splash-show{display:flex!important;position:fixed;inset:0;z-index:2147483640;align-items:center;justify-content:center;opacity:1;pointer-events:auto}#cmc-splash.cmc-splash-hide{opacity:0!important;pointer-events:none;transition:opacity 0.45s ease}.cmc-splash-inner{display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 32px;animation:cmc-splash-in 0.5s ease both}@keyframes cmc-splash-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.cmc-splash-icon{width:96px;height:96px;border-radius:24px;overflow:hidden;margin-bottom:20px;box-shadow:0 8px 32px rgb(0 0 0 / .25);background:rgb(255 255 255 / .15);display:flex;align-items:center;justify-content:center}.cmc-splash-icon img{width:100%;height:100%;object-fit:cover;display:block}.cmc-splash-icon svg{width:56px;height:56px}.cmc-splash-title{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:24px;font-weight:700;color:#fff;margin:0 0 6px}.cmc-splash-sub{font-size:13px;color:rgb(255 255 255 / .7);margin:0 0 28px}.cmc-spin-ring{width:36px;height:36px;border:3px solid rgb(255 255 255 / .25);border-top-color:rgb(255 255 255 / .85);border-radius:50%;animation:cmc-spin 0.8s linear infinite}@keyframes cmc-spin{to{transform:rotate(360deg)}}#cmc-pwa-bottom-nav{display:none}html.cmc-pwa-app #cmc-pwa-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(var(--cmc-nav-h) + env(safe-area-inset-bottom, 0px));background:rgb(255 255 255 / .97);border-top:1px solid rgb(0 0 0 / .08);box-shadow:0 -1px 0 rgb(0 0 0 / .05),0 -4px 16px rgb(0 0 0 / .06);align-items:stretch;z-index:9999;padding-bottom:env(safe-area-inset-bottom,0);will-change:transform;transform:translateZ(0);-webkit-transform:translateZ(0)}.cmc-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:var(--cmc-icon-color);padding:6px 4px;min-width:0;position:relative;transition:color 0.18s ease;-webkit-tap-highlight-color:#fff0;cursor:pointer}.cmc-nav-item:active{opacity:.7}.cmc-nav-item--active{color:var(--cmc-primary)}.cmc-nav-item--active::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:32px;height:3px;background:var(--cmc-primary);border-radius:0 0 4px 4px}.cmc-nav-icon{position:relative;display:flex;align-items:center;justify-content:center;width:26px;height:26px}.cmc-nav-icon svg{width:22px;height:22px;fill:currentColor;transition:transform 0.18s cubic-bezier(.34,1.56,.64,1);display:block}.cmc-nav-item--active .cmc-nav-icon svg{transform:scale(1.12)}.cmc-nav-label{font-size:10px;font-weight:500;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;letter-spacing:.2px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.cmc-nav-badge{position:absolute;top:-4px;right:-6px;background:#E53E3E;color:#fff;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;border:1.5px solid #fff}#cmc-offline-bar{display:none;position:fixed;top:-56px;left:12px;right:12px;background:#1F2937;color:#fff;padding:10px 14px;border-radius:12px;align-items:center;gap:10px;font-size:13px;font-weight:500;font-family:-apple-system,sans-serif;z-index:99998;box-shadow:0 4px 20px rgb(0 0 0 / .3);transition:top 0.3s cubic-bezier(.34,1.56,.64,1);max-width:500px;margin:0 auto}html.cmc-pwa-app #cmc-offline-bar{display:flex}#cmc-offline-bar.cmc-offline--visible{top:12px}#cmc-offline-bar svg{width:18px;height:18px;fill:#F59E0B;flex-shrink:0}.cmc-pwa-offline-retry{background:rgb(255 255 255 / .15);border:1px solid rgb(255 255 255 / .3);color:#fff;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer;margin-left:auto;white-space:nowrap;font-family:inherit}.cmc-pwa-update-bar{position:fixed;top:0;left:0;right:0;z-index:99997;background:var(--cmc-primary);color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 16px;font-size:14px;font-weight:500;font-family:-apple-system,sans-serif;transform:translateY(-100%);transition:transform 0.3s ease}.cmc-pwa-update-bar--visible{transform:translateY(0)}.cmc-pwa-update-bar__btn{background:#fff;color:var(--cmc-primary);border:none;border-radius:6px;padding:5px 14px;font-size:13px;font-weight:700;cursor:pointer}.cmc-pwa-update-bar__close{background:#fff0;border:none;color:rgb(255 255 255 / .7);font-size:20px;cursor:pointer;margin-left:4px;padding:0 4px}.cmc-pwa-toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%) translateY(10px);background:rgb(26 37 64 / .9);color:#fff;padding:10px 20px;border-radius:24px;font-size:13px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s,transform 0.2s;z-index:99996;font-family:-apple-system,sans-serif}.cmc-pwa-toast--visible{opacity:1;transform:translateX(-50%) translateY(0)}