:root{--screen-max:680px;--soft:#f4f2f8;--purple:#5d2a91;--purple-soft:#f0e9f8;--danger:#d51f31;--success:#087d4b}
body.account-page{background:#f3f4f6;padding-bottom:76px}
.account-topbar{position:sticky;top:0;z-index:50;height:58px;display:flex;align-items:center;gap:8px;padding:0 10px;background:linear-gradient(105deg,#100b22,#26103e 70%,#3c1119);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.08)}
.account-icon{width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;text-decoration:none;cursor:pointer}.account-icon:active{background:rgba(255,255,255,.12)}.account-icon svg{width:22px;height:22px}
.account-title{flex:1;min-width:0;text-align:center;text-decoration:none;color:#fff;line-height:1.05}.account-title strong{display:block;font-size:18px;font-weight:850}.account-title small{display:block;margin-top:3px;font-size:8px;letter-spacing:.9px;opacity:.72}
.account-shell{width:min(100%,var(--screen-max));margin:0 auto;padding:10px 10px 18px}.account-lead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:2px 2px 10px}.account-lead h1{font-size:21px;line-height:1.15;margin:0 0 3px}.account-lead p{font-size:11.5px;line-height:1.45;color:var(--muted);margin:0}.text-btn{border:0;background:transparent;color:var(--purple);font-size:11px;font-weight:800;padding:5px;white-space:nowrap;cursor:pointer}
.segmented{display:flex;overflow:auto;scrollbar-width:none;background:#fff;border:1px solid var(--line);border-radius:12px;padding:3px;margin-bottom:9px;box-shadow:var(--shadow)}.segmented::-webkit-scrollbar{display:none}.segmented button{flex:1 0 auto;border:0;background:transparent;border-radius:9px;padding:8px 11px;color:#5b5d65;font-size:11px;font-weight:750;cursor:pointer}.segmented button.active{background:var(--brand);color:#fff}
.prompt-card,.profile-card,.settings-card,.empty-card,.saved-card,.alert-card,.account-ad{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}
.prompt-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;margin-bottom:9px}.prompt-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple)}.prompt-icon svg{width:20px}.prompt-copy strong{display:block;font-size:12.5px;line-height:1.25}.prompt-copy small{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:2px}.compact-btn{border:0;border-radius:9px;background:var(--purple);color:#fff;padding:8px 10px;font-size:10.5px;font-weight:800;cursor:pointer}.compact-btn.secondary{background:#f2f2f5;color:#3d3e45;border:1px solid var(--line)}
.alert-list,.saved-list{display:grid;gap:7px}.alert-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;padding:10px;align-items:start;cursor:pointer;position:relative}.alert-card.unread{border-color:#d9c7ec;background:#fdfbff}.alert-card.unread:before{content:"";position:absolute;left:4px;top:50%;width:5px;height:5px;border-radius:50%;background:var(--danger);transform:translateY(-50%)}.alert-symbol{width:42px;height:42px;border-radius:11px;background:#f2eef7;color:var(--purple);display:grid;place-items:center}.alert-symbol.breaking{background:#fff0f1;color:var(--danger)}.alert-symbol.community{background:#eaf8f1;color:var(--success)}.alert-symbol svg{width:20px}.alert-copy{min-width:0}.alert-copy span{display:block;color:var(--purple);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.45px;margin-bottom:2px}.alert-copy h2{font-size:13px;line-height:1.35;margin:0;font-weight:800}.alert-copy p{font-size:10.5px;line-height:1.35;margin:2px 0 0;color:var(--muted)}.alert-time{font-size:9px;color:#8a8d95;white-space:nowrap;margin-top:2px}.alert-day{font-size:10px;font-weight:850;color:#60636b;margin:10px 2px 5px;text-transform:uppercase;letter-spacing:.5px}
.saved-card{overflow:hidden}.saved-main{display:grid;grid-template-columns:112px minmax(0,1fr);gap:9px;padding:8px;cursor:pointer}.saved-media{height:82px;border-radius:9px;overflow:hidden;background:#e8e8ec}.saved-media img{width:100%;height:100%;object-fit:cover}.saved-media.portrait img{object-fit:contain;background:#ece8ef}.saved-copy{min-width:0}.saved-copy span{display:block;color:var(--purple);font-size:9px;font-weight:850;text-transform:uppercase;margin-bottom:3px}.saved-copy h2{font-size:13px;line-height:1.35;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.saved-copy p{font-size:10px;color:var(--muted);margin:4px 0 0;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.saved-actions{height:38px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}.saved-actions button{border:0;background:transparent;color:#5c5f67;padding:0 12px;font-size:10.5px;font-weight:750;display:flex;align-items:center;gap:5px;cursor:pointer}.saved-actions svg{width:17px;height:17px}
.account-ad{padding:7px;text-align:center;margin-top:8px}.account-ad span{display:block;font-size:8px;letter-spacing:.8px;color:#8a8c93;text-transform:uppercase;margin-bottom:4px}.account-ad img{display:block;width:100%;max-height:82px;object-fit:cover;border-radius:9px}
.empty-card{text-align:center;padding:28px 18px}.empty-card .empty-icon{width:54px;height:54px;border-radius:18px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;margin:0 auto 9px}.empty-card h2{font-size:16px;margin:0 0 4px}.empty-card p{font-size:11px;color:var(--muted);line-height:1.45;margin:0 0 12px}
.profile-card{padding:12px;margin-bottom:9px}.profile-head{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:10px;align-items:center}.profile-avatar{width:50px;height:50px;border-radius:16px;background:linear-gradient(135deg,#3b1d78,#d51f31);color:#fff;display:grid;place-items:center;font-size:17px;font-weight:900}.profile-copy strong{display:block;font-size:14px}.profile-copy small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.status-pill{border-radius:20px;background:#eef8f2;color:var(--success);padding:5px 8px;font-size:9px;font-weight:850}.profile-note{border-top:1px solid var(--line);margin-top:10px;padding-top:9px;font-size:10.5px;line-height:1.45;color:var(--muted)}
.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:9px}.quick-action{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;text-align:left;box-shadow:var(--shadow);cursor:pointer}.quick-action svg{width:21px;height:21px;color:var(--purple);margin-bottom:7px}.quick-action strong{display:block;font-size:11.5px}.quick-action small{display:block;font-size:9.5px;color:var(--muted);line-height:1.35;margin-top:2px}
.settings-card{overflow:hidden;margin-bottom:9px}.settings-card>h2{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#777a82;margin:0;padding:10px 12px 7px}.setting-row{min-height:48px;display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 11px;border-top:1px solid var(--line)}.setting-row:first-of-type{border-top:0}.setting-icon{width:31px;height:31px;border-radius:10px;background:#f2eef7;color:var(--purple);display:grid;place-items:center}.setting-icon svg{width:17px}.setting-copy strong{display:block;font-size:11.5px}.setting-copy small{display:block;font-size:9.5px;color:var(--muted);margin-top:2px;line-height:1.3}.chevron{color:#92949b;font-size:18px}.switch{position:relative;width:40px;height:23px;border:0;border-radius:20px;background:#cbcdd2;padding:0;cursor:pointer}.switch:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.18s}.switch.on{background:var(--purple)}.switch.on:after{left:20px}
.sheet-form{position:fixed;z-index:90;inset:auto 0 0;background:#fff;border-radius:20px 20px 0 0;padding:12px 14px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -14px 40px rgba(0,0,0,.2);max-height:88vh;overflow:auto}.form-backdrop{position:fixed;z-index:85;inset:0;background:rgba(0,0,0,.5)}.sheet-form header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.sheet-form h2{font-size:17px;margin:0}.sheet-form label{display:block;font-size:10px;font-weight:750;margin:8px 0 4px}.sheet-form input,.sheet-form select,.sheet-form textarea{width:100%;border:1px solid #dfe1e6;background:#fafafa;border-radius:9px;padding:9px;font:inherit;font-size:11px;outline:0}.sheet-form textarea{min-height:82px;resize:vertical}.sheet-form input:focus,.sheet-form textarea:focus,.sheet-form select:focus{border-color:#8060a5;background:#fff}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.file-box{border:1px dashed #b8a8ca;border-radius:10px;background:#faf8fc;padding:11px;text-align:center;font-size:10px;color:#6b587e}.form-submit{width:100%;border:0;border-radius:10px;background:var(--brand);color:#fff;padding:11px;font-size:12px;font-weight:850;margin-top:11px;cursor:pointer}.form-note{font-size:9.5px;color:var(--muted);line-height:1.4;margin:8px 0 0}
@media(min-width:760px){body.account-page{padding-bottom:0}.account-topbar{height:64px;padding:0 max(18px,calc((100vw - 1080px)/2))}.account-shell{padding:16px 0 26px}.bottom-nav{display:none}.sheet-form{left:50%;right:auto;bottom:50%;transform:translate(-50%,50%);width:520px;border-radius:18px;padding:18px;max-height:82vh}.quick-grid{grid-template-columns:repeat(4,1fr)}.saved-main{grid-template-columns:150px minmax(0,1fr)}.saved-media{height:100px}}
.bottom-item,.compact-btn,.setting-row{text-decoration:none}.compact-btn{display:inline-flex;align-items:center;justify-content:center}.setting-row{color:inherit}

.quick-action{text-decoration:none;color:inherit}
