.cwbe-profile{--cwbe-profile-accent:var(--cwbe-client-accent,#ec3d8d);width:min(1180px,calc(100% - 24px));margin:24px auto;padding:clamp(18px,3vw,34px);box-sizing:border-box;border:1px solid rgba(17,24,39,.12);border-radius:24px;background:rgba(255,255,255,.86);box-shadow:0 18px 45px rgba(17,24,39,.08);backdrop-filter:blur(12px);color:#20242b}.cwbe-profile *{box-sizing:border-box}.cwbe-profile-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.cwbe-profile-person{display:flex;align-items:center;gap:16px;min-width:0}.cwbe-profile-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--cwbe-profile-accent);background:#fff}.cwbe-profile-kicker{margin:0 0 3px;text-transform:uppercase;letter-spacing:.09em;font-size:.74rem;font-weight:800;color:var(--cwbe-profile-accent)}.cwbe-profile h2{margin:0;font-size:clamp(1.55rem,3vw,2.3rem);line-height:1.08}.cwbe-profile-person p:last-child{margin:7px 0 0;color:#606773}.cwbe-profile-count{flex:none;display:flex;align-items:baseline;gap:5px;padding:12px 16px;border-radius:16px;background:rgba(255,255,255,.7);border:1px solid rgba(17,24,39,.1)}.cwbe-profile-count strong{font-size:1.5rem;color:var(--cwbe-profile-accent)}.cwbe-profile-count span{font-size:.9rem;color:#626975}.cwbe-profile-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid rgba(17,24,39,.1);margin-bottom:22px}.cwbe-profile-upload p{grid-column:1/-1;margin:0;color:#68707b;font-size:.9rem}.cwbe-profile-file{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 12px;border:1px dashed rgba(17,24,39,.25);border-radius:12px;background:#fff}.cwbe-profile-file span{font-weight:800;white-space:nowrap}.cwbe-profile-file input{min-width:0;width:100%}.cwbe-profile-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:2px solid var(--cwbe-profile-accent)!important;border-radius:999px;background:var(--cwbe-profile-accent)!important;color:#fff!important;text-decoration:none!important;font-weight:800;line-height:1.1;cursor:pointer}.cwbe-profile-button:hover,.cwbe-profile-button:focus{filter:brightness(.94);transform:translateY(-1px)}.cwbe-profile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.cwbe-profile-card{min-width:0;overflow:hidden;border-radius:18px;background:rgba(255,255,255,.9);border:1px solid rgba(17,24,39,.1);box-shadow:0 8px 22px rgba(17,24,39,.06)}.cwbe-profile-image{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#eef0f4}.cwbe-profile-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.cwbe-profile-image span{position:absolute;left:10px;right:10px;bottom:10px;padding:9px 10px;border-radius:999px;background:rgba(17,24,39,.82);color:#fff;text-align:center;font-size:.82rem;font-weight:800;opacity:0;transform:translateY(6px);transition:.2s ease}.cwbe-profile-image:hover img,.cwbe-profile-image:focus img{transform:scale(1.035)}.cwbe-profile-image:hover span,.cwbe-profile-image:focus span{opacity:1;transform:none}.cwbe-profile-card-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:11px}.cwbe-profile-card-meta>div{min-width:0}.cwbe-profile-card-meta strong,.cwbe-profile-card-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cwbe-profile-card-meta strong{font-size:.92rem}.cwbe-profile-card-meta small{margin-top:3px;color:#737985;font-size:.76rem}.cwbe-profile-delete{padding:5px 7px!important;border:0!important;background:transparent!important;color:#a12626!important;font-size:.75rem;font-weight:700;cursor:pointer}.cwbe-profile-notice{margin:0 0 16px;padding:12px 14px;border-radius:12px;font-weight:700}.cwbe-profile-notice.is-success{background:#eaf8ef;color:#176b36;border:1px solid #bfe5cb}.cwbe-profile-notice.is-error{background:#fff0f0;color:#922727;border:1px solid #efc2c2}.cwbe-profile-empty,.cwbe-profile-login{text-align:center}.cwbe-profile-empty{padding:44px 18px;border:1px dashed rgba(17,24,39,.22);border-radius:18px;background:rgba(255,255,255,.5)}.cwbe-profile-empty p{margin:8px 0 0;color:#68707b}.cwbe-profile-login{max-width:650px}.cwbe-profile-login p{margin:8px 0 18px}
@media(max-width:980px){.cwbe-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.cwbe-profile{width:calc(100% - 12px);margin:10px auto;padding:14px;border-radius:18px}.cwbe-profile-header{align-items:flex-start}.cwbe-profile-avatar{width:56px;height:56px}.cwbe-profile-count{padding:8px 10px}.cwbe-profile-count strong{font-size:1.2rem}.cwbe-profile-count span{font-size:.75rem}.cwbe-profile-upload{grid-template-columns:1fr}.cwbe-profile-upload p{grid-column:auto}.cwbe-profile-file{display:block}.cwbe-profile-file span{display:block;margin-bottom:7px}.cwbe-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cwbe-profile-image span{opacity:1;transform:none;font-size:.72rem;left:7px;right:7px;bottom:7px;padding:7px}.cwbe-profile-card-meta{padding:8px}.cwbe-profile-card-meta small{display:none}}
body .cwbe-profile .cwbe-profile-button{border-color:var(--cwbe-profile-accent)!important;background:var(--cwbe-profile-accent)!important;color:#fff!important}
body .cwbe-profile .cwbe-profile-delete{min-height:0!important;padding:5px 7px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#a12626!important}
.cwbe-profile-progress{grid-column:1/-1;position:relative;min-height:42px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(17,24,39,.12);border-radius:12px;background:#fff}.cwbe-profile-progress[hidden]{display:none}.cwbe-profile-progress span{position:absolute;inset:0 auto 0 0;width:var(--cwbe-profile-progress,0%);background:color-mix(in srgb,var(--cwbe-profile-accent) 20%,transparent);transition:width .18s ease}.cwbe-profile-progress strong{position:relative;z-index:1;font-size:.88rem}.cwbe-profile-edited-badge{position:absolute;top:9px;right:9px;padding:5px 8px;border-radius:999px;background:var(--cwbe-profile-accent);color:#fff;font-size:.68rem;line-height:1;font-weight:800;box-shadow:0 3px 10px rgba(17,24,39,.18)}
.cwbe-profile-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 18px}.cwbe-profile-nav a{color:var(--cwbe-profile-accent);font-weight:800;text-decoration:none}.cwbe-profile-nav a:hover,.cwbe-profile-nav a:focus{text-decoration:underline}.cwbe-profile-visibility{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:rgba(255,255,255,.7)}.cwbe-profile-visibility label{display:flex;align-items:center;gap:9px;font-weight:700}.cwbe-profile-visibility input{width:18px;height:18px}.cwbe-profile-visibility .cwbe-profile-button{min-height:40px;padding:8px 15px;font-size:.84rem}.cwbe-profile.is-public-view .cwbe-profile-grid{margin-top:8px}@media(max-width:640px){.cwbe-profile-nav{margin-top:0}.cwbe-profile-visibility{align-items:flex-start;flex-direction:column}.cwbe-profile-visibility .cwbe-profile-button{width:100%}}

/* 1.8.6 — front-end profile avatar upload */
.cwbe-profile-avatar-wrap{position:relative;flex:0 0 auto;text-align:center}.cwbe-profile-avatar-wrap .cwbe-profile-avatar{display:block;width:72px;height:72px}.cwbe-profile-avatar-actions{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:7px}.cwbe-profile-avatar-change,.cwbe-profile-avatar-remove{appearance:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:28px!important;padding:5px 9px!important;border:1px solid var(--cwbe-profile-accent)!important;border-radius:999px!important;background:#fff!important;color:var(--cwbe-profile-accent)!important;font:inherit!important;font-size:.68rem!important;font-weight:800!important;line-height:1!important;cursor:pointer!important;text-decoration:none!important;box-shadow:none!important}.cwbe-profile-avatar-remove{border-color:#c73636!important;color:#a12626!important}.cwbe-profile-avatar-change:hover,.cwbe-profile-avatar-change:focus-visible,.cwbe-profile-avatar-remove:hover,.cwbe-profile-avatar-remove:focus-visible{transform:translateY(-1px);filter:brightness(.98)}.cwbe-profile-avatar-remove[hidden]{display:none!important}.cwbe-profile-avatar-status{position:absolute;left:50%;top:100%;z-index:3;width:max-content;max-width:190px;transform:translateX(-50%);margin-top:5px;color:#59616d;font-size:.68rem;font-weight:700}.cwbe-profile-avatar-wrap.is-uploading .cwbe-profile-avatar{opacity:.55}.cwbe-profile-avatar-wrap.is-uploading::after{content:"";position:absolute;left:50%;top:36px;width:22px;height:22px;margin:-11px;border:3px solid rgba(255,255,255,.7);border-top-color:var(--cwbe-profile-accent);border-radius:50%;animation:cwbe-avatar-spin .75s linear infinite}@keyframes cwbe-avatar-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.cwbe-profile-avatar-wrap .cwbe-profile-avatar{width:56px;height:56px}.cwbe-profile-avatar-actions{flex-direction:column;gap:4px}.cwbe-profile-avatar-change,.cwbe-profile-avatar-remove{width:100%;min-height:25px!important;padding:4px 7px!important;font-size:.62rem!important}.cwbe-profile-avatar-status{max-width:150px}}


/* 1.8.23 — private purchased tutorial library on the creator profile. */
.cwbe-profile-tutorials{margin:0 0 22px;padding:18px;border:1px solid rgba(17,24,39,.1);border-radius:20px;background:rgba(255,255,255,.74)}
.cwbe-profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.cwbe-profile-section-heading h3{margin:0;font-size:clamp(1.25rem,2.5vw,1.75rem)}.cwbe-profile-section-heading>span{flex:none;padding:7px 11px;border-radius:999px;background:color-mix(in srgb,var(--cwbe-profile-accent) 12%,#fff);color:var(--cwbe-profile-accent);font-size:.78rem;font-weight:800}
.cwbe-tutorial-group+.cwbe-tutorial-group{margin-top:22px;padding-top:20px;border-top:1px solid rgba(17,24,39,.1)}.cwbe-tutorial-group-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 12px}.cwbe-tutorial-group-title h4{margin:0;font-size:1.05rem}.cwbe-tutorial-group-title p{margin:0;color:#707784;font-size:.78rem}
.cwbe-tutorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cwbe-tutorial-card{min-width:0;overflow:hidden;border:1px solid rgba(17,24,39,.1);border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(17,24,39,.05)}.cwbe-tutorial-image{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--cwbe-profile-accent) 18%,#fff),#f2f3f8);text-decoration:none}.cwbe-tutorial-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.cwbe-tutorial-image>span{display:grid;width:100%;height:100%;place-items:center;color:var(--cwbe-profile-accent);font-size:2rem}.cwbe-tutorial-image:hover img,.cwbe-tutorial-image:focus img{transform:scale(1.035)}.cwbe-tutorial-new-badge{position:absolute;left:8px;top:8px;padding:5px 8px;border-radius:999px;background:rgba(17,24,39,.84);color:#fff;font-size:.66rem;line-height:1;font-weight:800}.cwbe-tutorial-body{padding:12px}.cwbe-tutorial-body h4{margin:0;font-size:.96rem;line-height:1.25}.cwbe-tutorial-purchased{margin:5px 0 10px;color:#747b87;font-size:.72rem}.cwbe-tutorial-progress-line{height:7px;overflow:hidden;border-radius:999px;background:#eceef4}.cwbe-tutorial-progress-line span{display:block;width:var(--cwbe-tutorial-progress,0%);height:100%;border-radius:inherit;background:var(--cwbe-profile-accent);transition:width .2s ease}.cwbe-tutorial-progress-label{margin-top:5px;color:#606773;font-size:.72rem;font-weight:700}.cwbe-tutorial-actions{display:flex;align-items:center;gap:8px;margin-top:11px}.cwbe-tutorial-actions .cwbe-profile-button{min-height:36px;padding:7px 11px;font-size:.76rem}.cwbe-tutorial-complete{appearance:none!important;min-height:36px!important;padding:7px 10px!important;border:1px solid var(--cwbe-profile-accent)!important;border-radius:999px!important;background:#fff!important;color:var(--cwbe-profile-accent)!important;font:inherit!important;font-size:.72rem!important;font-weight:800!important;cursor:pointer!important}.cwbe-tutorial-complete:disabled{opacity:.6;cursor:wait}.cwbe-tutorial-empty{padding:22px 16px;border:1px dashed rgba(17,24,39,.18);border-radius:15px;text-align:center;background:rgba(255,255,255,.55)}.cwbe-tutorial-empty p{margin:6px 0 0;color:#68707b}.cwbe-tutorial-empty.is-compact{padding:15px;color:#68707b;font-size:.84rem}
@media(max-width:900px){.cwbe-tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cwbe-profile-tutorials{padding:13px}.cwbe-profile-section-heading,.cwbe-tutorial-group-title{align-items:flex-start;flex-direction:column}.cwbe-tutorial-group-title{gap:3px}.cwbe-tutorial-grid{grid-template-columns:1fr}.cwbe-tutorial-actions{align-items:stretch;flex-direction:column}.cwbe-tutorial-actions .cwbe-profile-button,.cwbe-tutorial-complete{width:100%}}


/* 1.8.29 — resilient profile thumbnails */
.cwbe-profile-image.is-image-missing{display:grid;place-items:center;background:linear-gradient(135deg,#f4f5f8,#e8eaf0);min-height:160px}
.cwbe-profile-image .cwbe-profile-image-retry{position:static;display:inline-flex!important;align-items:center;justify-content:center;width:auto;max-width:calc(100% - 24px);margin:auto;padding:9px 12px;border:1px solid rgba(17,24,39,.25);border-radius:999px;background:#fff;color:#20242b;opacity:1;transform:none;cursor:pointer}
.cwbe-profile-image .cwbe-profile-image-retry[hidden]{display:none!important}


/* v1.8.31: keep coloring pages directly beneath the profile header */
.cwbe-profile-gallery{margin:20px 0 24px}
.cwbe-profile-gallery .cwbe-profile-section-heading{margin-bottom:14px}
.cwbe-profile-gallery .cwbe-profile-grid{margin-top:0}


/* v1.8.32 — clean Creator Profile page and tool shortcuts */
body.cwbe-profile-clean-page .site-header,
body.cwbe-profile-clean-page header.site-header,
body.cwbe-profile-clean-page .cw-pink-studio-header,
body.cwbe-profile-clean-page .cw-creator-header,
body.cwbe-profile-clean-page .cw-theme-header,
body.cwbe-profile-clean-page .site-announcement,
body.cwbe-profile-clean-page .announcement-bar,
body.cwbe-profile-clean-page .cwsa-install-button,
body.cwbe-profile-clean-page #cwsaInstallButton,
body.cwbe-profile-clean-page [data-cwsa-install-button],
body.cwbe-profile-clean-page .entry-header,
body.cwbe-profile-clean-page .page-header{display:none!important}
body.cwbe-profile-clean-page .site-content,
body.cwbe-profile-clean-page main.site-main,
body.cwbe-profile-clean-page .content-area{padding-top:0!important;margin-top:0!important}
.cwbe-profile-editor-shortcuts{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:0 0 22px;padding:0}
.cwbe-profile-editor-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-width:180px;min-height:52px;padding:12px 24px;border-radius:999px;background:var(--cwbe-accent,#5b3df5);color:#fff!important;text-decoration:none!important;font-weight:900;font-size:1.04rem;box-shadow:0 10px 24px rgba(51,36,130,.18)}
.cwbe-profile-editor-shortcuts a:hover,.cwbe-profile-editor-shortcuts a:focus{transform:translateY(-1px);filter:brightness(1.04)}
@media(max-width:580px){.cwbe-profile-editor-shortcuts{gap:10px;margin-bottom:16px}.cwbe-profile-editor-shortcuts a{min-width:0;flex:1 1 calc(50% - 6px);min-height:46px;padding:10px 14px;font-size:.92rem}}
