/* Account 0.7.0: compact modal + private gallery, scoped to Looks Studio. */
.lsm-site-shell .lsm-accounts-dialog.lsm-auth-is-account{width:min(735px,calc(100vw - 22px));max-height:min(92dvh,920px);overflow:auto;padding:24px!important}
.lsm-account-area{display:flex;flex-direction:column;gap:14px}
.lsm-account-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px;border-radius:16px;background:#ffffff0a;border:1px solid #ffffff1c}
.lsm-account-identity{display:flex;align-items:center;gap:12px;min-width:0}
.lsm-account-avatar{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#8f4ed1,#d65bc8);color:#fff;font-size:26px;flex:none}
.lsm-account-identity>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.lsm-account-identity strong{color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:350px}
.lsm-account-identity small,.lsm-account-numbers small{font-size:11px;color:#c8b9d3}
.lsm-account-verified{color:#d7b9ec;font-size:11px;line-height:1.4}
.lsm-account-numbers{display:flex;gap:10px;align-items:stretch}
.lsm-account-numbers>div{display:flex;flex-direction:column;gap:4px;min-width:110px;padding:10px 12px;background:#ffffff0a;border-radius:12px}
.lsm-account-numbers strong{color:#fff;font-size:16px}
.lsm-account-tabs{display:flex;gap:6px;padding:5px;background:#120f1a80;border:1px solid #ffffff17;border-radius:13px}
.lsm-account-tabs button{flex:1;color:#d4c5dc;background:transparent;border:0;border-radius:10px;padding:10px 9px;font-size:13px;font-weight:650}
.lsm-account-tabs button[aria-selected=true]{color:#fff;background:#7f42ae}
.lsm-account-pane{min-height:140px}
.lsm-account-description{margin:0;color:#cbbbd5;font-size:13px;line-height:1.55}
.lsm-account-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.lsm-account-quick-actions button{margin-top:0!important}
.lsm-account-logout{margin-top:1px;padding:9px 12px;border-radius:10px;border:1px solid #665570;color:#d1bfd9;background:transparent;font-size:12px;align-self:flex-end}
.lsm-social-entry{margin:13px 0 2px}
.lsm-social-divider{display:flex;align-items:center;gap:12px;font-size:11px;text-align:center;color:#a99cb5;margin-bottom:12px}
.lsm-social-divider:before,.lsm-social-divider:after{content:'';height:1px;background:#ffffff21;flex:1}
.lsm-social-buttons{display:flex;flex-wrap:wrap;gap:8px}
.lsm-social-button{display:inline-flex;flex:1;justify-content:center;align-items:center;min-width:125px;gap:9px;padding:10px 12px;border-radius:11px;border:1px solid #675372;background:#ffffff0d;color:#f8eefa!important;text-decoration:none!important;font-size:13px;font-weight:650}
.lsm-social-button:hover{background:#ffffff20}
.lsm-social-button.is-connected{opacity:.65;cursor:default}
.lsm-social-google-icon{font-size:17px;font-weight:800;color:#80aaff}
.lsm-social-tg-icon{font-size:18px;color:#79cbff}
.lsm-social-agreement{font-size:10px;color:#a89bb1;text-align:center;line-height:1.5;margin:10px 0 2px}
.lsm-social-linked{display:flex;flex-direction:column;gap:10px;margin-top:15px;padding-top:13px;border-top:1px solid #ffffff1b}
.lsm-social-linked>strong{font-size:12px;color:#e9d7ef}
.lsm-gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.lsm-gallery-toolbar strong{font-size:14px;color:#faf0ff}
.lsm-gallery-toolbar p{margin:3px 0 0;font-size:11px;color:#bbaec9}
.lsm-gallery-toolbar button{background:#ffffff10;color:#f1dcf6;border:1px solid #685376;border-radius:10px;padding:8px 12px;font-size:12px}
.lsm-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:390px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px}
.lsm-gallery-grid>p,.lsm-gallery-grid:not(:has(*)){grid-column:1/-1;color:#beaeca;font-size:13px}
.lsm-gallery-photo{min-width:0;overflow:hidden;border:1px solid #6c5578;background:#ffffff0b;border-radius:13px;display:flex;flex-direction:column}
.lsm-gallery-photo-preview{display:block;position:relative;width:100%;aspect-ratio:9/12;background:#251b32;border:0;padding:0;overflow:hidden}
.lsm-gallery-photo-preview img{width:100%;height:100%;object-fit:cover}
.lsm-gallery-photo-preview:hover img{transform:scale(1.04)}
.lsm-gallery-photo-preview img{transition:transform .15s ease}
.lsm-gallery-photo-info{display:flex;flex-direction:column;padding:8px 9px 4px;gap:2px}
.lsm-gallery-photo-info strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f6ecfb}
.lsm-gallery-photo-info small{font-size:10px;color:#b6a8c1}
.lsm-gallery-photo-actions{display:flex;gap:6px;margin-top:auto;padding:5px 7px 8px}
.lsm-gallery-photo-actions>a,.lsm-gallery-photo-actions>button{flex:1;text-align:center;border:1px solid #786284;border-radius:8px;background:#ffffff0d;color:#f4e6f9;padding:6px 4px;font-size:10px;text-decoration:none}
.lsm-gallery-photo-actions>a{border-color:#a861d7;color:#f2c8fc}
.lsm-gallery-photo-actions>button:hover{border-color:#e67eab}
.lsm-gallery-storage-note{margin:8px 0 0;color:#aa9bb9;font-size:11px}
.lsm-account-history{margin:0 0 13px;max-height:290px}
.lsm-gallery-viewer{position:fixed;inset:0;z-index:100100;display:flex;align-items:center;justify-content:center;padding:15px}
.lsm-gallery-viewer[hidden]{display:none!important}
.lsm-gallery-viewer-shade{position:absolute;inset:0;background:rgba(5,5,9,.93);backdrop-filter:blur(10px)}
.lsm-gallery-viewer-panel{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;max-width:min(96vw,900px);max-height:94dvh;align-items:center}
.lsm-gallery-viewer-panel img{max-width:100%;max-height:calc(94dvh - 70px);object-fit:contain;border-radius:10px}
.lsm-gallery-viewer-close{position:absolute;right:0;top:0;transform:translate(40%,-40%);border:1px solid #ffffff40;color:#fff;background:#1b1524;border-radius:999px;width:36px;height:36px;font-size:23px;cursor:pointer}
.lsm-gallery-viewer-actions{display:flex;gap:18px;justify-content:space-between;align-items:center;width:100%;color:#fff}
.lsm-gallery-viewer-actions a{padding:10px 15px;border-radius:10px;background:#8c46cc;color:#fff;text-decoration:none;font-weight:700}
.lsm-site-shell[data-theme=light] .lsm-account-summary{background:#f8fafc;border-color:#e1e6ef}
.lsm-site-shell[data-theme=light] .lsm-account-identity strong,.lsm-site-shell[data-theme=light] .lsm-account-numbers strong,.lsm-site-shell[data-theme=light] .lsm-gallery-toolbar strong,.lsm-site-shell[data-theme=light] .lsm-gallery-photo-info strong{color:#1e2433}
.lsm-site-shell[data-theme=light] .lsm-account-identity small,.lsm-site-shell[data-theme=light] .lsm-account-numbers small,.lsm-site-shell[data-theme=light] .lsm-account-verified,.lsm-site-shell[data-theme=light] .lsm-account-description,.lsm-site-shell[data-theme=light] .lsm-gallery-toolbar p,.lsm-site-shell[data-theme=light] .lsm-gallery-storage-note{color:#59677c}
.lsm-site-shell[data-theme=light] .lsm-account-numbers>div,.lsm-site-shell[data-theme=light] .lsm-account-tabs{background:#f3f5f9;border-color:#e2e8f0}
.lsm-site-shell[data-theme=light] .lsm-account-tabs button{color:#475467}
.lsm-site-shell[data-theme=light] .lsm-account-tabs button[aria-selected=true]{color:#fff}
.lsm-site-shell[data-theme=light] .lsm-gallery-photo{background:#fff;border-color:#e1e5ee}
.lsm-site-shell[data-theme=light] .lsm-gallery-photo-info small{color:#667085}
.lsm-site-shell[data-theme=light] .lsm-gallery-photo-actions>a,.lsm-site-shell[data-theme=light] .lsm-gallery-photo-actions>button,.lsm-site-shell[data-theme=light] .lsm-gallery-toolbar button,.lsm-site-shell[data-theme=light] .lsm-social-button{background:#f8fafc;color:#344054!important;border-color:#d1d9e5}
.lsm-site-shell[data-theme=light] .lsm-social-linked>strong,.lsm-site-shell[data-theme=light] .lsm-social-agreement{color:#475467}
@media(max-width:720px){.lsm-site-shell .lsm-accounts-dialog.lsm-auth-is-account{padding:16px!important;max-height:94dvh}.lsm-account-summary{grid-template-columns:1fr}.lsm-account-numbers{display:grid;grid-template-columns:1fr 1fr}.lsm-account-identity strong{max-width:min(70vw,400px)}.lsm-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:45dvh}.lsm-gallery-toolbar p{max-width:240px}.lsm-social-button{min-width:0}.lsm-account-quick-actions{grid-template-columns:1fr 1fr}}
