/* WerkDok 3.0: private garage loading, owner avatar, group profile; both themes. */
.wd-garage-auto-loading{display:flex;gap:20px;align-items:center;min-height:230px;padding:30px 34px;border-radius:24px}
.wd-garage-auto-loading[hidden]{display:none!important}
.wd-garage-loader-graphic{flex:0 0 112px;height:92px;border-radius:20px;background:linear-gradient(110deg,rgba(6,163,186,.12),rgba(6,163,186,.26),rgba(6,163,186,.12));background-size:220% 100%;animation:wd-skeleton 1.3s infinite}
.wd-garage-loader-title{font-size:16px;color:var(--muted,#64748b)}
@keyframes wd-skeleton{to{background-position-x:-220%}}
.mycars-status-content.wdcars-waiting{min-height:125px;display:flex;align-items:center;padding:18px 22px}
.mycars-status-content.wdcars-waiting .mycars-status-heading{width:100%}
.wd-top-avatar{position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(140deg,#0c869e,#2ac6cd)!important;background-image:none!important;color:#fff;font-weight:800;text-decoration:none}
.wd-top-avatar-initial{font-size:20px;line-height:1}
.wd-top-avatar-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .15s ease}
.wd-top-avatar--loaded .wd-top-avatar-image{opacity:1}
.wdg-profile-root{--wdg-primary:#008da5;--wdg-gold:#d4ab50}
.wdg-profile-hero{overflow:hidden;border-radius:24px;border:1px solid rgba(116,174,193,.3);background:var(--surface,#fff);box-shadow:0 18px 40px rgba(7,37,55,.08);margin:0 0 24px}
.wdg-profile-cover{min-height:190px;position:relative;background:radial-gradient(ellipse at 80% 40%,rgba(35,218,224,.30),transparent 42%),linear-gradient(125deg,#0d3444 5%,#076278 58%,#0c283f 100%);overflow:hidden}
.wdg-profile-cover:after{content:'';position:absolute;right:5%;bottom:-35%;width:45%;aspect-ratio:1;border:2px solid rgba(230,255,255,.13);border-radius:50%;box-shadow:0 0 0 46px rgba(255,255,255,.025),0 0 0 92px rgba(255,255,255,.018);pointer-events:none}
.wdg-profile-brand{position:absolute;top:24px;left:28px;letter-spacing:.17em;color:#c6f5f5;font-size:11px;font-weight:800}
.wdg-profile-identity{display:flex;align-items:end;gap:22px;padding:0 30px 20px;margin-top:-52px;position:relative;z-index:1}
.wdg-profile-emblem{height:112px;width:112px;display:grid;place-items:center;border-radius:28px;flex:0 0 auto;background:linear-gradient(145deg,#ecfafb,#c1eef0);color:#00677b;border:5px solid var(--surface,#fff);font-size:55px;font-weight:850;box-shadow:0 8px 25px rgba(7,33,45,.13)}
.wdg-profile-copy{padding-bottom:3px;min-width:0}.wdg-profile-brow{margin:0 0 4px;color:var(--wdg-primary);font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:800}
.wdg-profile-copy h1{margin:0;font-size:clamp(27px,2.3vw,38px);line-height:1.18;color:var(--text,#102b3b)}
.wdg-profile-description{color:var(--subtext,#576e7d);margin:10px 0;line-height:1.5;max-width:700px}
.wdg-profile-meta{margin:8px 0;font-size:13px;color:var(--subtext,#64748b)}
.wdg-profile-role{display:inline-block;border-radius:999px;background:rgba(0,145,161,.10);color:var(--wdg-primary);padding:4px 10px;font-size:12px;font-weight:700}
.wdg-profile-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:0 30px 15px}.wdg-profile-actions>.wdg-actions{display:flex;gap:8px;flex-wrap:wrap}
.wdg-profile-tabs{display:flex;gap:24px;border-top:1px solid rgba(120,168,180,.22);padding:10px 30px 0;min-height:54px;align-items:center}
.wdg-profile-tab{color:var(--subtext,#51677b);font-weight:700;text-decoration:none;display:inline-flex;padding:12px 3px 15px;border-bottom:3px solid transparent}
.wdg-profile-tab:first-child{color:var(--wdg-primary);border-color:var(--wdg-primary)}
.wdg-profile-content{scroll-margin-top:100px}.wdg-profile-root #wdg-profile-members{scroll-margin-top:100px}.wdg-social-post{border-radius:18px;padding:18px 20px}
.wdg-post-author-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}.wdg-social-author{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:inherit}
.wdg-social-avatar{position:relative;overflow:hidden;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#daf2f3;color:#07596b;font-weight:800;flex:0 0 42px}
.wdg-social-avatar-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.wdg-post-body{white-space:pre-wrap;line-height:1.6}
[data-theme="dark"] .wdg-profile-hero,.dark .wdg-profile-hero{background:#102735;--card-bg:#102735;--text-primary:#eaf7fa;--text-secondary:#a4c3cc}
[data-theme="dark"] .wdg-profile-emblem,.dark .wdg-profile-emblem{background:linear-gradient(135deg,#125366,#0b394b);color:#e4ffff}
@media(max-width:680px){.wdg-profile-cover{min-height:135px}.wdg-profile-identity{padding:0 16px 14px;gap:12px;margin-top:-38px;align-items:center}.wdg-profile-emblem{width:78px;height:78px;border-radius:19px;font-size:40px}.wdg-profile-copy h1{font-size:24px}.wdg-profile-brand{top:17px;left:18px}.wdg-profile-actions{padding:0 16px 12px}.wdg-profile-tabs{padding-left:16px;padding-right:16px}.wd-garage-auto-loading{padding:20px;min-height:160px}.wd-garage-loader-graphic{flex-basis:70px;height:70px}}
@media(prefers-reduced-motion:reduce){.wd-garage-loader-graphic{animation:none}.wd-top-avatar-image{transition:none}}

.wd-live-author-fallback{position:relative;flex:0 0 30px;width:30px;height:30px;display:inline-grid;place-items:center;overflow:hidden;border-radius:50%;background:#d4f3f5;color:#006d7b;font-weight:800;font-size:14px}.wd-live-author-fallback .wd-live-author-avatar{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover}.wd-live-author-link{min-height:32px}

/* C34.01 consistent fallback avatar; photo overlays only after successful authenticated read. */
.wdpi-comment-avatar-fallback,.wdk26-composer-avatar{position:relative;overflow:hidden;display:inline-grid;place-items:center;border-radius:50%;flex-shrink:0}
.wdpi-comment-avatar-fallback{width:28px;height:28px;background:#123d4b;color:#7deaf1;font-size:13px;font-weight:800;border:1px solid #237586}
.wdpi-comment-avatar-fallback img,.wdk26-composer-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
html[data-theme="light"] :is(.wd-live-author-fallback,.wdpi-comment-avatar-fallback,.wdk26-composer-avatar,.wd-c334-avatar,.wd-top-avatar,.wdm-avatar){background:#d4eff2!important;color:#075561!important;border-color:#80bbc2!important}
.wds-bookmark-state:empty,.wdpi-status:empty{display:none!important}
.wds-bookmark-state{flex-basis:100%;overflow-wrap:anywhere}
#wd-c3401-privacy-status{color:var(--text);font-size:13px;line-height:1.5;margin:12px 0}
#wd-c3401-privacy-status:empty{display:none}

/* C34.09: shared neutral user fallback, never a stock portrait on account surfaces.
   Keep group/workshop logos and profile cover photos outside this selector. */
html :is(.wd-production-mode .feed-avatar[href="#profile"],.wd-production-mode .feed-composer-top .feed-avatar.small,.wd-production-mode .wd-settings-account-avatar,.wd-c334-avatar,.wdi-avatar,.wdp-mini-mark,.wdsc-person .wdsc-avatar,.wdm-avatar,.wd-live-author-fallback,.wdpi-comment-avatar-fallback,.wdk26-composer-avatar,.wdg-social-avatar,.wdp-profile-v3 .wdp-avatar){
  background:#143e4b!important;background-image:none!important;color:#dff9fa!important;
  border-radius:50%!important;display:grid!important;place-items:center!important;
  font-weight:800;line-height:1;position:relative;overflow:hidden;
}
html[data-theme="light"] :is(.wd-production-mode .feed-avatar[href="#profile"],.wd-production-mode .feed-composer-top .feed-avatar.small,.wd-production-mode .wd-settings-account-avatar,.wd-c334-avatar,.wdi-avatar,.wdp-mini-mark,.wdsc-person .wdsc-avatar,.wdm-avatar,.wd-live-author-fallback,.wdpi-comment-avatar-fallback,.wdk26-composer-avatar,.wdg-social-avatar,.wdp-profile-v3 .wdp-avatar){
  background:#d4eff2!important;background-image:none!important;color:#075561!important;
}
.wd-c334-avatar-letter{font-size:clamp(15px,2vw,24px);line-height:1}
.wd-c334-avatar-photo,.wdsc-person .wdsc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.wd-c334-avatar:not(.wd-c334-avatar-loaded) .wd-c334-avatar-photo{opacity:0}
.wd-c334-avatar-loaded .wd-c334-avatar-photo{opacity:1}

.wd-production-mode :is(.feed-avatar[href="#profile"],.wd-settings-account-avatar,.feed-composer-top .feed-avatar.small):empty::before{content:"W";font-weight:800}
