/* Mobile More / Account review 0.3 — shared navy, gold and existing light/dark tokens. */
#mobile-shell[data-screen="more"] #app-content{padding:6px 18px 28px}
#mobile-shell[data-screen="more"] #app-header{padding:13px 18px 10px;min-height:68px}
#mobile-shell[data-screen="more"] .brand-name{font-size:calc(18px * var(--ui-scale,1));letter-spacing:-.7px}
#mobile-shell[data-screen="more"] .brand-name small{font-size:calc(9px * var(--ui-scale,1));letter-spacing:0;font-weight:500}
.more-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 20px}
.more-heading h1{font-size:calc(29px * var(--ui-scale,1));font-weight:800;line-height:1.2;letter-spacing:-1.25px;margin:0 0 7px}
.more-heading p{color:var(--muted);font-size:calc(13px * var(--ui-scale,1));line-height:1.6;margin:0;word-break:keep-all}
.more-demo{font-size:calc(10px * var(--ui-scale,1));color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:5px 7px;white-space:nowrap;align-self:flex-start;margin-top:3px}
.more-account{padding:0!important;border-radius:18px;box-shadow:none;overflow:hidden;margin-bottom:26px}
.more-account-top{width:100%;display:flex;align-items:center;gap:12px;padding:18px 16px;text-align:left;min-height:102px;background:var(--surface)}
.more-avatar{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:linear-gradient(140deg,#101d36,#152d48);color:#fcd34d;border:1px solid #233d5f}
.more-avatar .icon{width:24px;height:24px;stroke-width:1.7}
.more-profile{flex:1;min-width:0;display:block}
.more-profile-label{display:block;color:var(--muted);font-size:calc(12px * var(--ui-scale,1));font-weight:600;margin-bottom:5px}
.more-profile>strong{font-size:calc(17px * var(--ui-scale,1));line-height:1.4;font-weight:750;display:block;overflow-wrap:anywhere;letter-spacing:-.4px}
.more-profile-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin-top:7px;font-size:calc(10px * var(--ui-scale,1));color:var(--muted)}
.more-verified{color:#1b7865;font-weight:650;display:inline-flex;align-items:center;gap:3px}
.more-verified .icon{width:12px;height:12px}
html[data-theme=dark] .more-verified{color:#83c8b7}
.more-account-bottom{border-top:1px solid var(--line);padding:0 16px}
.more-group{margin:0 0 24px;min-width:0}
.more-group-title{display:flex;align-items:center;justify-content:space-between;padding:0 1px 10px;gap:8px}
.more-group-title h2{font-size:calc(17px * var(--ui-scale,1));line-height:1.4;letter-spacing:-.5px;font-weight:750;margin:0}
.more-group-title>span{color:var(--muted);font-size:calc(11px * var(--ui-scale,1))}
.more-card{padding:0 16px!important;border-radius:18px;box-shadow:none;margin:0;overflow:hidden}
.more-row{display:flex;align-items:center;gap:11px;min-width:0;width:100%;padding:14px 0;min-height:63px;border-bottom:1px solid var(--line);text-align:left;line-height:1.35;box-sizing:border-box}
.more-row:last-child{border-bottom:0}
.more-icon{width:33px;height:33px;flex:none;display:grid;place-items:center;background:var(--surface-2);border-radius:9px;color:var(--text)}
.more-icon .icon{width:18px;height:18px;stroke-width:1.7}
.more-row-text{min-width:0;flex:1;display:block}
.more-row-text strong{font-size:calc(14px * var(--ui-scale,1));font-weight:650;display:block;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
.more-row-text small{font-size:calc(11px * var(--ui-scale,1));font-weight:400;display:block;color:var(--muted);margin-top:4px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.more-row-meta{font-size:calc(11px * var(--ui-scale,1));color:var(--muted);max-width:84px;text-align:right;flex:none;overflow-wrap:anywhere}
.more-chevron{color:var(--muted);display:flex;align-items:center;flex:0 0 13px}
.more-chevron .icon{width:13px;height:13px}
.more-mode-wrap{padding:17px 0;border-bottom:1px solid var(--line)}
.more-mode-wrap h3{font-size:calc(13px * var(--ui-scale,1));font-weight:650;margin:0 0 12px}
.more-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.more-mode{min-width:0;display:block;text-align:left;padding:9px!important;border:1px solid var(--line);border-radius:12px;min-height:0!important;background:var(--surface)!important;overflow:hidden}
.more-mode.is-active{border:2px solid var(--studio-gold-text);padding:8px!important;box-shadow:0 0 0 2px var(--accent-bg)}
.mode-preview{height:61px;border:1px solid #d8e2ef;border-radius:8px;background:#f5f7fa;padding:6px;overflow:hidden;display:flex;flex-direction:column;gap:5px}
.mode-dark{background:#090c12;border-color:#394150}
.mode-top{display:flex;align-items:center;gap:4px;height:9px}
.mode-top>i{width:8px;height:8px;border-radius:2px;background:#14243c;border:1px solid #e2b948;flex:none}
.mode-top>span{width:33px;height:3px;background:#14243c;border-radius:3px}
.mode-top>b{width:9px;height:3px;background:#d9ad36;margin-left:auto;border-radius:3px}
.mode-dark .mode-top>span{background:#c4cfdf}
.mode-body{display:grid;grid-template-columns:1.25fr 1fr;gap:5px;flex:1;min-height:0}
.mode-panel{background:#14243c;border-radius:5px;display:flex;flex-direction:column;gap:4px;padding:6px}
.mode-panel>span{width:75%;height:3px;border-radius:2px;background:#fff;opacity:.8}.mode-panel>span:first-child{background:#e9be45;width:32%}.mode-panel>i{width:42%;height:3px;border-radius:3px;background:#e9be45;margin-top:auto}
.mode-tile{display:flex;flex-direction:column;gap:4px;min-width:0}.mode-tile>i{background:#fff;border:1px solid #e1e7ef;flex:1;border-radius:4px}.mode-dark .mode-tile>i{background:#191e28;border-color:#353d4d}
.mode-name{display:flex;align-items:center;gap:4px;margin-top:8px;min-width:0}
.mode-name>.icon{width:14px;height:14px;flex:none;color:var(--muted)}
.mode-name>strong{font-size:calc(13px * var(--ui-scale,1));line-height:1.5;font-weight:750;white-space:normal}
.mode-selected{display:grid;place-items:center;flex:none;margin-left:auto;width:15px;height:15px;border-radius:50%;background:var(--line);visibility:hidden}
.more-mode.is-active .mode-selected{visibility:visible;background:var(--studio-gold-text);color:var(--surface)}.mode-selected .icon{width:11px;height:11px}
.more-mode>small{font-size:calc(10px * var(--ui-scale,1))!important;display:block;margin-top:4px;line-height:1.4;color:var(--muted);word-break:keep-all}
.more-step-row{gap:8px;min-height:70px}
.more-stepper{display:flex;align-items:center;flex:0 0 auto;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;overflow:hidden}
.more-stepper button{width:40px;min-height:44px;font-size:calc(19px * var(--ui-scale,1));font-weight:500;text-align:center;color:var(--text);line-height:1}
.more-stepper button:first-child{border-right:1px solid var(--line)}.more-stepper button:last-child{border-left:1px solid var(--line)}
.more-stepper>strong{min-width:41px;font-size:calc(11px * var(--ui-scale,1));line-height:1.4;text-align:center;padding:0 5px;font-variant-numeric:tabular-nums;color:var(--text)}
.more-toggle-row .switch{margin-left:auto}
.more-toggle-row .switch:before{border:1px solid var(--line)}
.more-toggle-row .switch.is-on:before{background:var(--sage-text);border-color:var(--sage-text)}
.more-footer{text-align:center;color:var(--muted);font-size:calc(11px * var(--ui-scale,1));line-height:1.8;padding:6px 0 14px}.more-footer>strong{color:var(--text);font-size:calc(12px * var(--ui-scale,1));font-weight:650}.more-footer>p{margin:5px 0}.more-footer .text-btn{min-height:44px;font-size:calc(11px * var(--ui-scale,1));color:var(--muted)}
.more-group:last-of-type .more-row[data-action="more-danger"] .more-row-text>strong{color:var(--danger)}
.more-detail-intro{display:flex;align-items:center;gap:12px;margin:5px 0 20px;min-width:0}.more-detail-intro>div{min-width:0;flex:1}.more-detail-intro h3{font-size:calc(17px * var(--ui-scale,1));line-height:1.4;font-weight:750;overflow-wrap:anywhere;margin:0 0 5px}.more-detail-intro p{font-size:calc(12px * var(--ui-scale,1));color:var(--muted);margin:0;line-height:1.55;word-break:keep-all}
.more-details{background:var(--surface-2);border:1px solid var(--line);border-radius:13px;margin:0 0 18px;padding:0 14px}
.more-details>div{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.more-details>div:last-child{border:0}.more-details dt{color:var(--muted);font-size:calc(12px * var(--ui-scale,1));min-width:75px}.more-details dd{margin:0;font-size:calc(13px * var(--ui-scale,1));font-weight:650;text-align:right;overflow-wrap:anywhere;min-width:0}
.more-detail-list{padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:12px 0 18px}
.more-demo-options{border:1px dashed var(--line);border-radius:12px;padding:0 13px;margin-top:18px;background:var(--bg)}.more-demo-options summary{font-size:calc(12px * var(--ui-scale,1));font-weight:600;padding:14px 0;cursor:pointer;min-height:44px}.more-demo-options>p{font-size:calc(11px * var(--ui-scale,1));color:var(--muted);line-height:1.5}.more-demo-options .more-row:last-child{border:0}
.more-note{font-size:calc(12px * var(--ui-scale,1))!important;line-height:1.7!important;color:var(--muted);margin:13px 0 4px;word-break:keep-all}
.more-api-state{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:18px}.more-api-state strong{font-size:calc(13px * var(--ui-scale,1));display:flex;align-items:center;gap:6px}.more-api-state strong>i,.more-key-dot{width:8px;height:8px;background:#18947d;border-radius:50%;flex:none}.more-api-state p{color:var(--muted);font-size:calc(11px * var(--ui-scale,1));margin:5px 0 0}.more-api-state>.btn{flex:none;min-height:44px;font-size:calc(12px * var(--ui-scale,1));padding:9px 11px}
.more-detail-section{margin:0 0 20px;padding-bottom:19px;border-bottom:1px solid var(--line)}.more-detail-section:last-child{border-bottom:0;padding-bottom:0}.more-detail-section h3{font-size:calc(15px * var(--ui-scale,1));font-weight:750;margin:0 0 10px}.more-detail-section>p{font-size:calc(12px * var(--ui-scale,1));margin-bottom:10px}.more-detail-section>.btn{width:100%;min-height:46px}
.more-api-key{display:flex;align-items:center;gap:11px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-top:8px}.more-api-key>div{min-width:0;flex:1}.more-api-key strong{font-size:calc(14px * var(--ui-scale,1));font-weight:650;overflow-wrap:anywhere}.more-api-key small{font-size:calc(11px * var(--ui-scale,1));display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.more-delete{flex:none;color:var(--danger);background:var(--danger-bg);border:1px solid var(--line);padding:8px 12px;min-height:44px;border-radius:10px;font-size:calc(12px * var(--ui-scale,1));font-weight:650}.more-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.more-form-grid .field{min-width:0}.more-detail-section input:disabled{opacity:1;color:var(--muted);background:var(--surface-2)}
.more-small-title{font-size:calc(14px * var(--ui-scale,1));font-weight:650;margin:20px 0 9px}.more-line-options{display:flex;gap:5px;background:var(--surface-2);padding:5px;border:1px solid var(--line);border-radius:11px;min-width:0}.more-line-options>button{flex:1;min-width:0;min-height:44px;font-size:calc(12px * var(--ui-scale,1));border-radius:8px;color:var(--muted);padding:5px 3px;word-break:keep-all}.more-line-options>button.is-active{background:var(--surface);box-shadow:0 1px 4px #14244113;color:var(--text);font-weight:750;border:1px solid var(--line)}.more-stats-tabs{margin:13px 0}.more-reader-preview{margin:18px 0;border:1px solid var(--line);border-radius:13px;padding:16px;background:var(--bg)}.more-reader-preview>span{display:block;font-size:calc(11px * var(--ui-scale,1));color:var(--muted);margin-bottom:12px}.more-reader-preview>p{font-size:var(--reader-font-size);line-height:var(--reader-line-height);margin:0;word-break:keep-all;overflow-wrap:anywhere}.more-danger-note{background:var(--danger-bg);border:1px solid var(--line);border-radius:13px;padding:15px;line-height:1.7}.more-danger-note strong{color:var(--danger);font-size:calc(14px * var(--ui-scale,1));font-weight:650}.more-danger-note>p{font-size:calc(12px * var(--ui-scale,1));line-height:1.7;margin-top:10px;color:var(--text)}
.cn-reduced-motion *,.cn-reduced-motion *::before,.cn-reduced-motion *::after{animation-duration:0.01ms!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}
@media(max-width:350px){#mobile-shell[data-screen="more"] #app-content{padding-left:13px;padding-right:13px}#mobile-shell[data-screen="more"] #app-header{padding-left:14px;padding-right:14px}.more-account-top{padding:15px 12px;gap:9px}.more-account-bottom,.more-card{padding-left:12px!important;padding-right:12px!important}.more-avatar{flex-basis:40px;height:40px}.more-profile>strong{font-size:calc(15px * var(--ui-scale,1))}.more-mode-grid{gap:7px}.more-stepper button{width:36px}.more-stepper>strong{min-width:37px}.more-row{gap:8px}.more-row-meta{max-width:62px}.more-form-grid{grid-template-columns:1fr;gap:0}.mode-name>strong{font-size:calc(12px * var(--ui-scale,1))}.more-mode>small{font-size:calc(9px * var(--ui-scale,1))!important}}
@media(min-width:600px){#mobile-shell[data-screen="more"] #app-content{padding-left:28px;padding-right:28px}.more-mode-grid{gap:14px}.mode-preview{height:95px}.more-card,.more-account-bottom{padding-left:20px!important;padding-right:20px!important}.more-account-top{padding:22px 20px}.more-group{margin-bottom:26px}}
@media(max-height:500px){#mobile-shell[data-screen="more"] #app-header{min-height:53px;padding-top:7px;padding-bottom:5px}.more-heading{margin:6px 0 13px}}
