body[data-app="mall-mobile"] .mas-settings-panel { margin:0!important; padding:0!important; background:#f5f6f8!important; border:0!important; border-radius:0!important; color:#272c36; }
body[data-app="mall-mobile"] .mas-settings-panel[hidden] { display:none!important; }
.mas-settings { min-width:0; padding-bottom:28px; }
.mas-hero { position:relative; overflow:hidden; padding:24px 18px 20px; color:#fff; background:linear-gradient(135deg,#eb6952 0%,#d84648 55%,#b93655 100%); }
.mas-hero::after { content:""; position:absolute; width:190px; height:190px; right:-70px; top:-90px; border:1px solid #ffffff2b; border-radius:50%; box-shadow:0 0 0 22px #ffffff0c,0 0 0 44px #ffffff08; pointer-events:none; }
.mas-hero-top { position:relative; z-index:1; display:flex; align-items:center; gap:12px; min-width:0; }
.mas-avatar { position:relative; display:grid; place-items:center; width:58px; height:58px; flex:0 0 58px; overflow:hidden; border:2px solid #ffffffb8; border-radius:50%; background:#ffffff2b; color:#fff; }
.mas-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.mas-avatar svg { width:27px; height:27px; }
.mas-hero-copy { min-width:0; flex:1; }
.mas-hero-copy h2 { margin:0 0 3px; color:#fff; font-size:18px; line-height:1.35; font-weight:650; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mas-hero-copy p { margin:0; color:#ffe8e1; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.mas-hero-copy p strong { color:#fff; font-weight:500; }
.mas-hero-status { display:inline-flex; align-items:center; gap:5px; margin-top:6px; color:#fff4ed; font-size:11px; }
.mas-hero-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#9ff0bb; box-shadow:0 0 0 3px #9ff0bb2d; }
.mas-score { position:relative; z-index:1; display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-top:20px; }
.mas-score-label { display:grid; gap:2px; color:#ffe8e1; font-size:12px; }
.mas-score-label strong { color:#fff; font-size:16px; font-weight:600; }
.mas-score-value { color:#fff; font-size:24px; line-height:1; font-weight:700; }
.mas-progress { position:relative; z-index:1; height:6px; margin-top:9px; overflow:hidden; border-radius:999px; background:#ffffff35; }
.mas-progress span { display:block; width:0; height:100%; border-radius:inherit; background:#fff; transition:width .3s ease; }
.mas-section { margin-top:12px; padding:0 16px; background:#fff; }
.mas-section-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:48px; border-bottom:1px solid #f0f1f3; }
.mas-section-heading h3 { margin:0; color:#333944; font-size:14px; font-weight:650; }
.mas-section-heading p { margin:0; color:#a1a6ae; font-size:11px; }
.mas-list { margin:0; }
.mas-settings .mas-row { display:grid; grid-template-columns:34px minmax(0,1fr) auto; grid-template-areas:"icon copy action" "icon state action"; align-items:center; gap:4px 10px; min-height:80px; padding:12px 0; border-bottom:1px solid #f1f2f4; }
.mas-settings .mas-row-icon { grid-area:icon; }
.mas-settings .mas-row-copy { grid-area:copy; }
.mas-settings .mas-row-state { grid-area:state; max-width:none; text-align:left; }
.mas-settings .mas-row-action { grid-area:action; min-height:44px; }
.mas-row:last-child { border-bottom:0; }
.mas-row-icon { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border-radius:10px; background:#fff0eb; color:#e15b4e; }
.mas-row-icon.blue { background:#edf3ff; color:#4c80db; }
.mas-row-icon.green { background:#eaf8f1; color:#26936c; }
.mas-row-icon.purple { background:#f2edff; color:#8566c9; }
.mas-row-icon.gray { background:#f1f3f6; color:#758092; }
.mas-row-icon svg { width:18px; height:18px; }
.mas-row-copy { min-width:0; flex:1; }
.mas-row-copy strong { display:block; color:#363b45; font-size:13px; font-weight:500; line-height:1.4; }
.mas-row-copy span { display:block; margin-top:2px; color:#9a9fa8; font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.mas-row-state { flex:0 0 auto; max-width:92px; color:#9da3ac; font-size:11px; text-align:right; overflow-wrap:anywhere; }
.mas-row-state.ready { color:#24946b; }
.mas-row-state.warn { color:#db6a45; }
.mas-row-action { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:36px; padding:5px 8px; border:0; border-radius:5px; background:#fff3ef; color:#dc5d4f; font-size:12px; cursor:pointer; }
.mas-row-action.link { text-decoration:none; }
.mas-row-action:focus-visible { outline:2px solid #2468da; outline-offset:2px; }
.mas-row-action:disabled { color:#a4aab2; background:#f3f4f6; cursor:not-allowed; }
.mas-settings-note { margin:12px 16px 0; color:#9ba1aa; font-size:11px; line-height:1.6; }
.mas-security-drawer { margin:12px 14px 0; padding:14px; border:1px solid #eceef2; border-radius:8px; background:#fff; }
.mas-security-drawer[hidden] { display:none!important; }
.mas-security-drawer > header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.mas-security-drawer > header h3 { margin:0; color:#333944; font-size:15px; }
.mas-security-close { min-width:44px; min-height:36px; padding:5px 8px; border:0; background:#f5f6f8; border-radius:5px; color:#707783; font-size:12px; }
.mas-logout { display:flex; align-items:center; justify-content:center; gap:7px; width:calc(100% - 32px); min-height:46px; margin:18px 16px 0; border:1px solid #f2c9c3; border-radius:6px; background:#fff; color:#d9534f; font-size:14px; cursor:pointer; }
.mas-logout svg { width:17px; height:17px; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-root { padding:0; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-heading { align-items:flex-start; padding:0 0 12px; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-heading h2 { font-size:15px; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-row { display:block; padding:14px 0; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-row-title { align-items:flex-start; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-row p { max-width:none; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-actions { justify-content:flex-start; margin-top:10px; }
body[data-app="mall-mobile"] .mas-security-drawer .msc-actions button { min-height:40px; }
@media (prefers-reduced-motion:reduce) { .mas-progress span { transition:none; } }
