.profile-ext-page{width:100%;min-width:0;max-width:none;margin:0;color:var(--text,#0f172a)}.profile-ext-flash{margin:0 0 18px;padding:14px 16px;border:1px solid rgba(37,99,235,.22);border-radius:var(--mz-border-radius);background:rgba(37,99,235,.08);color:var(--text,#0f172a)}.profile-ext-hero{position:relative;overflow:hidden;min-height:310px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:radial-gradient(circle at 16% 16%,rgba(37,99,235,.24),transparent 34%),radial-gradient(circle at 86% 18%,rgba(20,184,166,.18),transparent 32%),linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,41,59,.92))}.profile-ext-hero.has-banner{min-height:0}.profile-ext-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.36))}.profile-ext-hero__content{position:relative;z-index:1;min-height:310px;display:flex;align-items:flex-end;gap:22px;padding:34px;color:#fff}.profile-ext-avatar{width:132px;height:132px;flex:0 0 auto;border:4px solid rgba(255,255,255,.88);border-radius:var(--mz-border-radius);overflow:hidden;background:rgba(255,255,255,.18)}.profile-ext-avatar img,.profile-ext-content-card__media img,.profile-ext-settings-panel__avatar img{width:100%;height:100%;display:block;object-fit:cover}.profile-ext-identity{min-width:0}.profile-ext-identity p,.profile-ext-identity__meta{margin:0 0 6px;color:rgba(255,255,255,.78);font-weight:800}.profile-ext-identity__meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.profile-ext-identity__meta span{margin-top:0}.profile-ext-identity__meta>.verification-badge{flex:0 0 auto}.profile-ext-role-badge{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.14);color:rgba(255,255,255,.9);font-size:13px;font-weight:900;line-height:1}.profile-ext-identity h1{margin:0;max-width:780px;color:#fff;font-size:clamp(42px, 8vw, 86px);line-height:.95;letter-spacing:0;overflow-wrap:anywhere}.profile-ext-member-since{display:inline-flex;margin-top:12px;color:rgba(255,255,255,.78)}.profile-ext-actions{margin-left:auto;align-self:flex-start;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.profile-ext-edit-link{margin-left:auto;align-self:flex-start;width:44px;min-width:44px;height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:16px;text-decoration:none}.profile-ext-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:18px 0}.profile-ext-section,.profile-ext-settings-panel,.profile-ext-stats article{border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff)}.profile-ext-stats article{padding:20px}.profile-ext-stats strong{display:block;font-size:38px;line-height:1;color:var(--text,#0f172a)}.profile-ext-stats span{display:block;margin-top:8px;color:var(--muted,#64748b);font-weight:800}.profile-ext-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-ext-section{padding:22px}.profile-ext-section--wide{grid-column:1/-1}.profile-ext-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.profile-ext-section__head h2{margin:0;font-size:24px;letter-spacing:0}.profile-ext-card-list,.profile-ext-comments{display:grid;gap:12px}.profile-ext-content-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;min-height:118px;padding:12px;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:var(--mz-border-radius);color:inherit;text-decoration:none;background:rgba(148,163,184,.08);background:color-mix(in srgb,var(--surface,#fff) 92%,var(--text,#0f172a) 8%)}.profile-ext-content-card--no-media{grid-template-columns:minmax(0,1fr)}.profile-ext-content-card__media{overflow:hidden;border-radius:var(--mz-border-radius);background:rgba(148,163,184,.18)}.profile-ext-content-card__body{min-width:0;display:flex;flex-direction:column;justify-content:center}.profile-ext-comment small,.profile-ext-content-card small{color:var(--muted,#64748b);font-weight:700}.profile-ext-content-card strong{margin-top:5px;color:var(--text,#0f172a);font-size:18px;overflow-wrap:anywhere}.profile-ext-content-card em{margin-top:6px;color:var(--muted,#64748b);font-style:normal;line-height:1.45}.profile-ext-comment{padding:16px;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:var(--mz-border-radius);background:rgba(148,163,184,.06);background:color-mix(in srgb,var(--surface,#fff) 94%,var(--text,#0f172a) 6%)}.profile-ext-comment div{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.profile-ext-comment p{margin:10px 0;color:var(--text,#0f172a);line-height:1.55;overflow-wrap:anywhere}.profile-ext-comment a{color:var(--accent,#2563eb);font-weight:800;text-decoration:none}.profile-ext-view-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.profile-ext-view-card{display:grid;gap:7px;min-height:116px;padding:16px;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:var(--mz-border-radius);color:inherit;text-decoration:none;background:rgba(148,163,184,.08);background:color-mix(in srgb,var(--surface,#fff) 92%,var(--text,#0f172a) 8%)}.profile-ext-view-card span{color:var(--accent,#2563eb);font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.profile-ext-view-card strong{color:var(--text,#0f172a);font-size:18px;overflow-wrap:anywhere}.profile-ext-view-card small{color:var(--muted,#64748b);font-weight:700}.profile-ext-empty{margin:0;padding:18px;border:1px dashed var(--border,rgba(148,163,184,.32));border-radius:var(--mz-border-radius);color:var(--muted,#64748b)}.profile-ext-settings-panel{overflow:hidden}.profile-ext-settings-panel__preview{position:relative;min-height:190px;background:radial-gradient(circle at 20% 20%,rgba(37,99,235,.24),transparent 32%),linear-gradient(135deg,rgba(15,23,42,.98),rgba(51,65,85,.9))}.profile-ext-settings-panel__preview.has-banner{background-image:linear-gradient(90deg,rgba(5,10,20,.74),rgba(5,10,20,.18)),var(--profile-ext-banner-image);background-position:var(--profile-ext-banner-position-x,50%) var(--profile-ext-banner-position-y,50%);background-size:cover}.profile-ext-settings-panel__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.28))}.profile-ext-settings-panel__identity{position:absolute;left:24px;bottom:22px;z-index:1;display:flex;align-items:center;gap:14px;color:#fff}.profile-ext-settings-panel__avatar{width:74px;height:74px;overflow:hidden;border:3px solid rgba(255,255,255,.88);border-radius:var(--mz-border-radius);background:rgba(255,255,255,.18)}.profile-ext-settings-panel__identity small,.profile-ext-settings-panel__identity strong{display:block}.profile-ext-settings-panel__identity small{margin-top:2px;color:rgba(255,255,255,.74)}.profile-ext-settings-panel__body{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.25fr) auto;align-items:end;gap:18px;padding:22px}.profile-ext-settings-panel__body h2,.profile-ext-settings-panel__body p{margin:0}.profile-ext-settings-panel__body p{margin-top:6px;color:var(--muted,#64748b)}.profile-ext-banner-form{display:grid;gap:12px}.profile-ext-file-control{display:grid;gap:8px;color:var(--text,#0f172a);font-weight:800}.profile-ext-file-control input{width:100%}.profile-ext-button{min-height:44px}.profile-ext-remove-form{display:flex}.profile-ext-button--ghost{background:0 0}.profile-ext-cp{display:grid;gap:22px}.profile-ext-cp-panel__head,.profile-ext-cp__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.profile-ext-cp-panel h3,.profile-ext-cp__head h2{margin:0}.profile-ext-cp-fields,.profile-ext-cp-form{display:grid;gap:18px}.profile-ext-cp-panel{display:grid;gap:18px;padding:18px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:18px;background:rgba(148,163,184,.06);background:color-mix(in srgb,var(--surface,#fff) 94%,var(--text,#0f172a) 6%)}.profile-ext-cp-panel--split{grid-template-columns:minmax(0,1.2fr) minmax(260px,0.8fr);align-items:start}.profile-ext-role-matrix{overflow-x:auto;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:16px;background:var(--surface,#fff)}.profile-ext-role-row{display:grid;grid-template-columns:minmax(150px,1.2fr) repeat(5,minmax(132px,1fr));min-width:820px;border-top:1px solid var(--border,rgba(148,163,184,.18))}.profile-ext-role-row:first-child{border-top:0}.profile-ext-role-row--header{background:rgba(148,163,184,.08);color:var(--muted,#64748b);font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.profile-ext-role-row>*{min-width:0;padding:14px}.profile-ext-role-row strong{color:var(--text,#0f172a)}.profile-ext-role-check{display:flex;align-items:center;gap:8px;margin:0;color:var(--text,#0f172a);font-weight:800}.profile-ext-role-check span{overflow-wrap:anywhere}.profile-ext-cp-notes{display:grid;gap:8px;padding:14px 16px;border:1px solid rgba(245,158,11,.28);border-radius:14px;background:rgba(245,158,11,.1);color:var(--text,#0f172a)}.profile-ext-cp-notes p{margin:0}@media (max-width:760px){.profile-ext-page{width:100%;min-width:0}.profile-ext-hero__content{min-height:340px;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:24px}.profile-ext-avatar{width:104px;height:104px;border-radius:var(--mz-border-radius)}.profile-ext-identity h1{font-size:clamp(8px, 10vw, 32px)}.profile-ext-actions{margin-left:0;align-self:stretch;justify-content:stretch}.profile-ext-actions>*{flex:1 1 auto}.profile-ext-edit-link{margin-left:0;align-self:stretch}.profile-ext-cp-panel--split,.profile-ext-grid,.profile-ext-settings-panel__body,.profile-ext-stats{grid-template-columns:1fr}.profile-ext-content-card{grid-template-columns:88px minmax(0,1fr)}.profile-ext-comment div{display:grid;gap:4px}}.profile-ext-section-more{display:inline-flex;margin-left:8px;color:var(--accent,#2563eb);font-size:14px;font-weight:900;text-decoration:none;white-space:nowrap}.profile-ext-back-link:hover,.profile-ext-pagination a:hover,.profile-ext-section-more:hover{text-decoration:underline}.profile-ext-page--collection{display:grid;gap:18px}.profile-ext-collection-hero{position:relative;overflow:hidden;min-height:240px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:radial-gradient(circle at 16% 16%,rgba(37,99,235,.24),transparent 34%),radial-gradient(circle at 86% 18%,rgba(20,184,166,.18),transparent 32%),linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,41,59,.92))}.profile-ext-collection-hero.has-banner{min-height:0}.profile-ext-collection-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.36))}.profile-ext-collection-hero__content{position:relative;z-index:1;min-height:240px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:28px;color:#fff}.profile-ext-back-link{align-self:flex-start;display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-weight:900;text-decoration:none}.profile-ext-collection-hero__identity{display:flex;align-items:flex-end;gap:18px}.profile-ext-collection-avatar{width:92px;height:92px;flex:0 0 auto;overflow:hidden;border:3px solid rgba(255,255,255,.88);border-radius:var(--mz-border-radius);background:rgba(255,255,255,.18)}.profile-ext-collection-avatar img{width:100%;height:100%;display:block;object-fit:cover}.profile-ext-collection-hero__identity h1,.profile-ext-collection-hero__identity p,.profile-ext-collection-hero__identity small{margin:0}.profile-ext-collection-hero__identity p,.profile-ext-collection-hero__identity small{color:rgba(255,255,255,.78);font-weight:800}.profile-ext-collection-hero__identity h1{margin:3px 0 6px;color:#fff;font-size:clamp(34px, 6vw, 64px);line-height:.98;overflow-wrap:anywhere}.profile-ext-collection-section{display:grid;gap:18px}.profile-ext-collection-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.profile-ext-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:4px}.profile-ext-pagination a,.profile-ext-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 13px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:999px;color:var(--text,#0f172a);font-weight:900;text-decoration:none;background:rgba(148,163,184,.08)}.profile-ext-pagination span{background:var(--accent,#2563eb);border-color:var(--accent,#2563eb);color:#fff}@media (max-width:760px){.profile-ext-collection-hero__content{min-height:280px;padding:24px}.profile-ext-collection-hero__identity{align-items:flex-start;flex-direction:column}.profile-ext-collection-avatar{width:82px;height:82px}.profile-ext-section-more{display:flex;margin:6px 0 0}}.profile-ext-settings-panel__body.profile-ext-settings-panel__body--media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;padding:22px}.profile-ext-settings-panel--media .profile-ext-media-control{min-width:0;display:grid;align-content:start;gap:14px}.profile-ext-settings-panel--media .profile-ext-media-control h2{margin:0;color:var(--text,#0f172a);font-size:20px;line-height:1.2;font-weight:900}.profile-ext-settings-panel--media .mz-profile-photo-management-form,.profile-ext-settings-panel--media .profile-ext-media-control__actions,.profile-ext-settings-panel--media .profile-ext-media-control__actions>form,.profile-ext-settings-panel--media .profile-ext-media-form{min-width:0;margin:0;display:grid;grid-template-columns:1fr;align-content:start;gap:12px}.profile-ext-settings-panel--media .profile-ext-media-control .mz-field,.profile-ext-settings-panel--media .profile-ext-media-control .profile-ext-file-control{min-width:0;margin:0;display:grid;gap:8px;color:var(--muted,#64748b);font-weight:900}.profile-ext-settings-panel--media .profile-ext-media-control .mz-field>span,.profile-ext-settings-panel--media .profile-ext-media-control .profile-ext-file-control>span{display:block;min-height:20px;line-height:1.25;color:inherit;font-weight:inherit}.profile-ext-settings-panel--media .profile-ext-media-control .mz-file-control,.profile-ext-settings-panel--media .profile-ext-media-control input[type=file]{width:100%;min-height:52px;height:52px;box-sizing:border-box;padding:11px 14px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:999px;background:var(--surface-2,color-mix(in srgb,var(--surface,#fff) 92%,var(--accent,#2563eb) 8%));color:var(--text,#0f172a);font-weight:800}.profile-ext-settings-panel--media .profile-ext-media-control .mz-settings-button,.profile-ext-settings-panel--media .profile-ext-media-control .profile-ext-button{width:100%;min-height:52px;height:52px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:12px 16px;border-radius:var(--mz-border-radius);font-weight:900;line-height:1.2;text-align:center;cursor:pointer}.profile-ext-settings-panel--media .profile-ext-media-control .mz-settings-button-secondary,.profile-ext-settings-panel--media .profile-ext-media-control .profile-ext-button--secondary{border:1px solid var(--border,rgba(148,163,184,.28));background:var(--surface,#fff);color:var(--text,#0f172a)}.profile-ext-cp-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:6px;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:16px;background:rgba(148,163,184,.06);background:color-mix(in srgb,var(--surface,#fff) 94%,var(--text,#0f172a) 6%)}.profile-ext-cp-tab{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid transparent;border-radius:12px;color:var(--muted,#64748b);font-weight:900;text-decoration:none}.profile-ext-cp-tab.is-active,.profile-ext-cp-tab:hover{border-color:var(--border,rgba(148,163,184,.28));background:var(--surface,#fff);color:var(--text,#0f172a)}.profile-ext-cp-panel--custom-css,.profile-ext-custom-css-form{gap:16px}.profile-ext-custom-css-field{display:grid;gap:8px}.profile-ext-custom-css-field span{color:var(--text,#0f172a);font-weight:900}.profile-ext-custom-css-field textarea{width:100%;min-height:420px;padding:16px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:16px;background:color-mix(in srgb,var(--surface,#fff) 96%,var(--text,#0f172a) 4%);color:var(--text,#0f172a);font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;resize:vertical}.profile-ext-custom-css-path{margin:0;padding:12px 14px;border:1px dashed var(--border,rgba(148,163,184,.32));border-radius:14px;background:rgba(148,163,184,.06);overflow-wrap:anywhere}@media (max-width:760px){.profile-ext-settings-panel__body.profile-ext-settings-panel__body--media{grid-template-columns:1fr}.profile-ext-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(54px,1fr));gap:6px;overflow:visible}.profile-ext-stats::-webkit-scrollbar{display:none}.profile-ext-stats article{min-width:0;padding:7px 3px;border-radius:var(--mz-border-radius);text-align:center}.profile-ext-stats strong{font-size:18px;line-height:.95;letter-spacing:-.03em}.profile-ext-stats span{display:-webkit-box;margin-top:4px;font-size:8.5px;line-height:1.05;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-ext-grid{gap:12px}.profile-ext-section{padding:16px;border-radius:var(--mz-border-radius)}.profile-ext-section__head{align-items:flex-start;margin-bottom:12px}.profile-ext-section__head h2{font-size:20px;line-height:1.1}.profile-ext-section-more{margin:4px 0 0;font-size:12px;line-height:1.2}.profile-ext-card-list,.profile-ext-comments{gap:8px}.profile-ext-content-card{grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;min-height:0;padding:9px;border-radius:var(--mz-border-radius)}.profile-ext-content-card--no-media{grid-template-columns:minmax(0,1fr);padding:12px}.profile-ext-content-card__media{width:82px;height:58px;align-self:center;border-radius:var(--mz-border-radius)}.profile-ext-comment small,.profile-ext-content-card small{font-size:11px;line-height:1.2}.profile-ext-content-card strong{margin-top:3px;font-size:14px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-ext-content-card em{margin-top:4px;font-size:12px;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-ext-collection-list{grid-template-columns:1fr}.profile-ext-comment,.profile-ext-view-card{min-height:0;padding:12px;border-radius:var(--mz-border-radius)}.profile-ext-view-card strong{font-size:15px}}.profile-ext-media-editor__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border-bottom:1px solid var(--border,rgba(148,163,184,.28))}.profile-ext-media-editor__head h2{margin:0;color:var(--text,#0f172a);font-size:22px;line-height:1.2}.profile-ext-media-editor__head p{max-width:900px;margin:7px 0 0;color:var(--muted,#64748b);line-height:1.55}.profile-ext-media-editor__preview{border:0;border-radius:0}.profile-ext-media-editor__preview .profile-ext-hero__content{z-index:2;pointer-events:none}.profile-ext-media-editor__banner-handle{position:absolute;inset:0;z-index:1;pointer-events:none;cursor:default;touch-action:none}.profile-ext-media-editor__avatar{position:relative;z-index:3;pointer-events:none;cursor:default;touch-action:none}.profile-ext-settings-panel--media.is-positioning-banner .profile-ext-media-editor__banner-handle,.profile-ext-settings-panel--media.is-positioning-avatar .profile-ext-media-editor__avatar{pointer-events:auto;cursor:grab}.profile-ext-settings-panel--media.is-positioning-banner .profile-ext-media-editor__banner-handle{outline:2px solid color-mix(in srgb,var(--accent,#2563eb) 72%,transparent);outline-offset:-2px}.profile-ext-settings-panel--media.is-positioning-avatar .profile-ext-media-editor__avatar{outline:2px solid var(--accent,#2563eb);outline-offset:3px}.profile-ext-media-editor__avatar.is-dragging,.profile-ext-media-editor__banner-handle.is-dragging{cursor:grabbing}.profile-ext-media-editor__preview.is-dragging-avatar,.profile-ext-media-editor__preview.is-dragging-banner{user-select:none}.profile-ext-media-editor__toolbar{display:flex;align-items:center;justify-content:flex-start;gap:18px;padding:16px 22px;border-top:1px solid rgba(148,163,184,.16);border-bottom:1px solid var(--border,rgba(148,163,184,.28));background:color-mix(in srgb,var(--surface,#fff) 94%,var(--text,#0f172a) 6%)}.profile-ext-media-editor__toolbar>p{min-width:0;display:flex;align-items:center;gap:10px;margin:0;color:var(--muted,#64748b);font-weight:800;line-height:1.45}.profile-ext-media-editor__toolbar>p i{flex:0 0 auto;color:var(--accent,#2563eb)}.profile-ext-settings-panel--media .profile-ext-settings-panel__body--media{border-top:0}@media (max-width:760px){.profile-ext-media-editor__head{padding:18px}.profile-ext-media-editor__head h2{font-size:20px}.profile-ext-media-editor__toolbar{padding:16px 18px}}.profile-ext-managed-tab-option{display:grid;gap:7px;padding:14px 16px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff)}.profile-ext-managed-tab-option__toggle{margin:0}.profile-ext-managed-tab-option .help-text{margin:0}.profile-ext-section-manager{display:grid;gap:10px}.profile-ext-section-manager__item{display:grid;grid-template-columns:36px 40px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff);transition:border-color .15s ease,opacity .15s ease}.profile-ext-section-manager__item.is-dragging{opacity:.55}.profile-ext-section-manager__item.is-drag-over{border-color:var(--accent,#2563eb)}.profile-ext-section-manager__drag,.profile-ext-section-manager__moves button{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface-2,var(--surface,#fff));color:var(--text,#0f172a);cursor:pointer}.profile-ext-section-manager__drag{cursor:grab}.profile-ext-section-manager__drag:active{cursor:grabbing}.profile-ext-section-manager__icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface-2,var(--surface,#fff));color:var(--accent,#2563eb)}.profile-ext-section-manager__identity{display:grid;min-width:0;gap:3px}.profile-ext-section-manager__identity strong,.profile-ext-section-manager__identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-ext-section-manager__identity small{color:var(--muted,var(--text-muted,#64748b))}.profile-ext-section-manager__toggle{margin:0}.profile-ext-section-manager__moves{display:flex;gap:6px}.profile-ext-section-manager__moves button:disabled{cursor:not-allowed;opacity:.4}.profile-ext-cp-empty{margin:0;color:var(--muted,var(--text-muted,#64748b))}@media(max-width:720px){.profile-ext-section-manager__item{grid-template-columns:36px 40px minmax(0,1fr) auto}.profile-ext-section-manager__toggle{grid-column:2/4;justify-self:start}.profile-ext-section-manager__moves{grid-column:4;grid-row:1/3;flex-direction:column}}.profile-ext-managed-sections{grid-column:1/-1;min-width:0;overflow:hidden;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff)}.profile-ext-managed-bar{display:flex;align-items:stretch;gap:8px;min-width:0;padding:6px;border-bottom:1px solid var(--border,rgba(148,163,184,.24));background:color-mix(in srgb,var(--surface,#fff) 95%,var(--text,#0f172a) 5%)}.profile-ext-managed-tabs{display:flex;align-items:stretch;gap:4px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:thin}.profile-ext-managed-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:6px;flex:0 0 auto;margin-left:auto}.profile-ext-managed-tab,.profile-ext-managed-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:42px;height:42px;padding:0 15px;border-radius:var(--mz-border-radius);font-weight:900;text-decoration:none;white-space:nowrap}.profile-ext-managed-tab{border:1px solid transparent;color:var(--muted,#64748b)}.profile-ext-managed-tab:hover,.profile-ext-managed-tab:focus-visible{border-color:var(--border,rgba(148,163,184,.3));color:var(--text,#0f172a)}.profile-ext-managed-tab.is-active{border-color:var(--border,rgba(148,163,184,.32));background:var(--surface,#fff);color:var(--accent,#2563eb)}.profile-ext-managed-tab__label,.profile-ext-managed-tab__count{color:inherit}.profile-ext-managed-tab__count{font-variant-numeric:tabular-nums}.profile-ext-managed-tabs--icons-only .profile-ext-managed-tab{min-width:42px;padding:0 11px;gap:6px}.profile-ext-managed-tabs--icons-only .profile-ext-managed-tab__label{display:none}.profile-ext-managed-action{border:1px solid var(--border,rgba(148,163,184,.32));background:var(--surface,#fff);color:var(--text,#0f172a)}.profile-ext-managed-action:hover,.profile-ext-managed-action:focus-visible{border-color:var(--accent,#2563eb);color:var(--accent,#2563eb)}.profile-ext-managed-panels,.profile-ext-managed-panel{min-width:0}.profile-ext-managed-panel[hidden]{display:none}.profile-ext-managed-panel>.profile-ext-section,.profile-ext-managed-panel>.friends-profile-section{margin:0;border:0;border-radius:0}.profile-ext-managed-panel>.feed-profile-pane{min-width:0}@media(max-width:620px){.profile-ext-managed-bar{gap:5px;padding:5px}.profile-ext-managed-tab,.profile-ext-managed-action{min-height:40px;height:40px;padding:0 12px;font-size:14px}}
.profile-ext-hero+.profile-ext-grid,.profile-ext-privacy-notice+.profile-ext-grid{margin-top:18px}.profile-ext-image-preload{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0;pointer-events:none}.profile-ext-actions{position:absolute;top:34px;right:34px;z-index:2;margin-left:0;align-self:auto;flex-wrap:nowrap;max-width:calc(100% - 68px)}.profile-ext-privacy-notice{display:flex;align-items:center;gap:12px;margin-top:18px;padding:16px 18px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff);color:var(--text,#0f172a)}.profile-ext-privacy-notice__icon{display:inline-grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid color-mix(in srgb,var(--accent,#2563eb) 32%,var(--border,rgba(148,163,184,.28)));border-radius:50%;background:color-mix(in srgb,var(--accent,#2563eb) 12%,var(--surface,#fff));color:var(--accent,#2563eb)}.profile-ext-privacy-notice strong{display:block;line-height:1.45}@media(max-width:760px){.profile-ext-actions{position:static;top:auto;right:auto;z-index:auto;margin-left:0;align-self:stretch;flex-wrap:wrap;max-width:none}.profile-ext-privacy-notice{align-items:flex-start;padding:14px 16px}}
.profile-ext-edit-link__label{display:none}@media(min-width:761px){.profile-ext-page .profile-ext-actions :is(a,button):has(.fa-share-nodes,.fa-share-alt,.fa-share){width:44px;min-width:44px;max-width:44px;flex:0 0 44px;padding-inline:0;font-size:0}.profile-ext-page .profile-ext-actions :is(a,button):has(.fa-share-nodes,.fa-share-alt,.fa-share) i{font-size:16px}}@media(max-width:760px){.profile-ext-edit-link{gap:10px;width:100%;min-width:0;min-height:44px;height:auto;flex:1 1 100%;padding:0 16px}.profile-ext-edit-link__label{display:inline;font-size:inherit;font-weight:900;line-height:1.2}}.profile-ext-language-panel{margin:0;padding:0;overflow:hidden}.profile-ext-language-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--border,rgba(148,163,184,.25))}.profile-ext-language-panel__head h2{margin:0}.profile-ext-language-panel__head p{margin:7px 0 0;color:var(--muted,#64748b);line-height:1.55}.profile-ext-language-filter{display:grid;grid-template-columns:minmax(150px,220px) minmax(260px,1fr) auto;align-items:end;gap:12px;padding:18px 20px;border-bottom:1px solid var(--border,rgba(148,163,184,.25))}.profile-ext-language-filter label{display:grid;gap:7px;min-width:0;color:var(--text,#0f172a);font-weight:700}.profile-ext-language-filter input,.profile-ext-language-filter select,.profile-ext-language-row textarea{width:100%;min-width:0;border:1px solid var(--border,rgba(148,163,184,.38));border-radius:var(--mz-border-radius);background:var(--surface,#fff);color:var(--text,#0f172a);color-scheme:inherit;font:inherit}.profile-ext-language-filter input,.profile-ext-language-filter select{height:42px;padding:8px 12px}.profile-ext-language-filter .button{height:42px;min-height:42px}.profile-ext-language-search{position:relative;display:block;min-width:0}.profile-ext-language-search i{position:absolute;top:50%;inset-inline-start:13px;transform:translateY(-50%);color:var(--muted,#64748b);pointer-events:none}.profile-ext-language-search input{padding-inline-start:38px}.profile-ext-language-filter input:focus,.profile-ext-language-filter select:focus,.profile-ext-language-row textarea:focus{outline:2px solid color-mix(in srgb,var(--accent,#2563eb) 38%,transparent);outline-offset:1px;border-color:var(--accent,#2563eb)}.profile-ext-language-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px;border-bottom:1px solid var(--border,rgba(148,163,184,.22));color:var(--muted,#64748b);font-size:13px}.profile-ext-language-summary strong{color:var(--text,#0f172a)}.profile-ext-language-table{display:grid;min-width:0}.profile-ext-language-row{display:grid;grid-template-columns:minmax(220px,.42fr) minmax(0,1fr);align-items:center;gap:18px;padding:14px 20px;border-bottom:1px solid var(--border,rgba(148,163,184,.22))}.profile-ext-language-row:last-child{border-bottom:0}.profile-ext-language-row--head{padding-block:11px;background:color-mix(in srgb,var(--surface,#fff) 94%,var(--text,#0f172a) 6%);color:var(--muted,#64748b);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.profile-ext-language-row.is-customized{background:color-mix(in srgb,var(--accent,#2563eb) 4%,var(--surface,#fff))}.profile-ext-language-key{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.profile-ext-language-key code{max-width:100%;color:var(--text,#0f172a);font-size:13px;overflow-wrap:anywhere}.profile-ext-language-key small{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:color-mix(in srgb,var(--accent,#2563eb) 13%,var(--surface,#fff));color:var(--accent,#2563eb);font-size:11px;font-weight:800}.profile-ext-language-row textarea{display:block;min-height:58px;padding:10px 12px;resize:vertical;line-height:1.45}.profile-ext-language-actions{display:flex;justify-content:flex-end;padding:18px 20px;border-top:1px solid var(--border,rgba(148,163,184,.22))}.profile-ext-language-actions .button{min-height:42px;height:42px}.profile-ext-language-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:180px;padding:26px;text-align:center;color:var(--muted,#64748b)}.profile-ext-language-empty i{font-size:28px}@media(max-width:760px){.profile-ext-language-filter{grid-template-columns:1fr}.profile-ext-language-filter .button{width:100%}.profile-ext-language-summary{align-items:flex-start;flex-direction:column}.profile-ext-language-row{grid-template-columns:1fr;gap:9px}.profile-ext-language-row--head{display:none}.profile-ext-language-actions .button{width:100%}}

.profile-ext-banner-frame{position:relative;aspect-ratio:4/1;overflow:hidden}
.profile-ext-banner-frame[hidden]{display:none}
.profile-ext-banner-frame>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:var(--profile-ext-banner-position-x,50%) var(--profile-ext-banner-position-y,50%);transform:scale(var(--profile-ext-banner-zoom,1));transform-origin:var(--profile-ext-banner-position-x,50%) var(--profile-ext-banner-position-y,50%)}
.profile-ext-banner-frame>.profile-ext-hero__shade{pointer-events:none;background:linear-gradient(90deg,rgba(5,10,20,.72),rgba(5,10,20,.2))}
.profile-ext-hero.has-banner .profile-ext-hero__content{min-height:0}


.profile-ext-collection-hero.has-banner .profile-ext-collection-hero__content{min-height:0}

/* Default spacing for hook content; provider styles remain authoritative. */
:where(.profile-ext-managed-panel > section, .profile-ext-managed-panel > article, .profile-ext-managed-panel > div){padding:22px}
@media(max-width:620px){:where(.profile-ext-managed-panel > section, .profile-ext-managed-panel > article, .profile-ext-managed-panel > div){padding:16px}}

/* Classic identity shares the banner area; Sidebar uses separate header classes. */
.profile-ext-hero.has-banner{display:grid}
.profile-ext-hero.has-banner>.profile-ext-banner-frame,
.profile-ext-hero.has-banner>.profile-ext-hero__content{grid-area:1/1}
.profile-ext-hero.has-banner>.profile-ext-banner-frame{width:100%;height:auto;min-height:0;align-self:start}
.profile-ext-hero.has-banner>.profile-ext-hero__content{pointer-events:none}
.profile-ext-hero.has-banner>.profile-ext-hero__content>*{pointer-events:auto}
.profile-ext-hero.has-banner>.profile-ext-banner-frame>.profile-ext-hero__shade{background:linear-gradient(180deg,rgba(5,10,20,.18),rgba(5,10,20,.82))}
.profile-ext-hero.has-banner>.profile-ext-banner-frame .profile-direct-toolbar{top:16px;transform:translateX(-50%)}
@media(max-width:760px){
 .profile-ext-hero.has-banner{display:block}
 .profile-ext-hero.has-banner>.profile-ext-hero__content{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:12px;padding:12px 20px 18px}
 .profile-ext-hero.has-banner .profile-ext-avatar{align-self:start;transform:translateY(-28px);margin-bottom:-28px}
 .profile-ext-hero.has-banner .profile-ext-avatar{width:80px;height:80px}
 .profile-ext-hero.has-banner .profile-ext-identity h1{font-size:clamp(24px,7vw,32px);line-height:1.1}
 .profile-ext-hero.has-banner .profile-ext-actions{grid-column:1/-1}
 .profile-ext-hero.has-banner .profile-ext-member-since{font-size:12px}
}

/* Classic tabs already label their Forum activity panels. */
.profile-ext-managed-panel>.forum-profile-activity>h2,
.profile-ext-managed-panel>.forum-profile-activity>h2+.forum-ext-post-divider{display:none}
.profile-ext-managed-panel>.forum-profile-activity>.forum-profile-activity__item:first-of-type{padding-top:0}

/* Optional member introduction, shared by both profile layouts. */
.profile-ext-about{min-width:0;margin:20px 0;padding:24px;border:1px solid var(--border,#dce5f1);border-radius:var(--mz-border-radius,12px);background:var(--surface,#fff);color:var(--text,#172331)}
.profile-ext-about h2{margin:0 0 12px;font-size:1.1rem;line-height:1.4}
.profile-ext-about p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.mz-account-settings-page .mz-settings-card.profile-ext-settings-about{margin-block:24px!important}
.profile-ext-settings-about h2{margin:0 0 12px}
.profile-ext-settings-about textarea{display:block;width:100%;min-height:140px;resize:vertical;box-sizing:border-box}
@media(max-width:600px){.profile-ext-about{padding:18px}}

/* Compact CP controls: keep labels, checkboxes and inputs aligned. */
.profile-ext-cp .profile-ext-display-options{grid-template-columns:minmax(140px,.6fr) minmax(0,2fr);align-items:center;gap:16px}
.profile-ext-cp .profile-ext-display-options__controls{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,1.4fr);align-items:center;gap:24px}
.profile-ext-cp .profile-ext-display-options h3,.profile-ext-cp .profile-ext-banner-options h3{margin:0}
.profile-ext-cp .profile-ext-about-option{display:grid;gap:4px}
.profile-ext-cp .profile-ext-about-option .help-text,.profile-ext-cp .profile-ext-banner-options .help-text{margin:0;font-size:.875rem}
.profile-ext-cp label.profile-ext-inline-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;line-height:1.4;cursor:pointer}
.profile-ext-cp label.profile-ext-inline-check input[type="checkbox"]{flex:0 0 auto;width:18px;height:18px;min-height:0;margin:0;padding:0}
.profile-ext-cp .profile-ext-banner-options__head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.profile-ext-cp .profile-ext-banner-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.profile-ext-cp .profile-ext-banner-grid>label{display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0;margin:0}
.profile-ext-cp .profile-ext-display-options__controls>label{display:grid;gap:8px;min-width:0;margin:0}
.profile-ext-cp .profile-ext-banner-grid input,.profile-ext-cp .profile-ext-display-options select{box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0;padding:10px 12px;line-height:22px}
@media(max-width:1100px){.profile-ext-cp .profile-ext-banner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-ext-cp .profile-ext-display-options{grid-template-columns:1fr}}
@media(max-width:600px){.profile-ext-cp .profile-ext-banner-grid,.profile-ext-cp .profile-ext-display-options__controls{grid-template-columns:1fr}.profile-ext-cp .profile-ext-display-options__controls{gap:16px}}
