:root{--ccp-red:#ed1c24;--ccp-black:#111214;--ccp-bg:#f4f5f7;--ccp-line:#e4e6e9;--ccp-muted:#777c84}*{box-sizing:border-box}body.ccp-profile-page,body{margin:0}.ccp-app{min-height:100vh;background:var(--ccp-bg);display:grid;grid-template-columns:260px minmax(0,1fr);color:#17181b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}.ccp-left{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--ccp-line);padding:28px 22px;display:flex;flex-direction:column;z-index:30}.ccp-brand{display:flex;align-items:center;gap:12px;color:#17181b!important;text-decoration:none!important}.ccp-brand-mark{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:linear-gradient(145deg,#ed1c24,#ff4a56);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 10px 24px rgba(237,28,36,.22)}.ccp-brand>span:last-child{display:flex;flex-direction:column;line-height:.95}.ccp-brand strong{font-size:17px}.ccp-brand em{margin-top:6px;color:var(--ccp-red);font-style:normal;font-size:14px;font-weight:900;letter-spacing:.14em}.ccp-nav{display:flex;flex-direction:column;gap:8px;margin-top:42px}.ccp-nav a{display:flex;align-items:center;gap:14px;padding:13px 14px;border-radius:15px;color:#2b2d31!important;text-decoration:none!important;font-size:16px;font-weight:800}.ccp-nav a:hover,.ccp-nav a.is-active{background:#f0f2f4}.ccp-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ccp-create{margin-top:24px;padding:15px 18px;border-radius:15px;background:linear-gradient(135deg,#ed1c24,#ff4d59);color:#fff!important;text-decoration:none!important;text-align:center;font-weight:900;box-shadow:0 12px 25px rgba(237,28,36,.24)}.ccp-left-copy{margin-top:auto;color:#9ca0a7;font-size:12px}.ccp-main{width:min(100%,1120px);margin:0 auto;padding:26px 28px 70px}.ccp-mobile-header{display:none}.ccp-profile-card{background:#fff;border:1px solid var(--ccp-line);border-radius:28px;box-shadow:0 18px 45px rgba(17,18,20,.08);overflow:hidden}.ccp-profile-top{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:start;padding:32px}.ccp-profile-avatar{position:relative;width:180px;height:180px;border:0;padding:0;border-radius:50%;overflow:hidden;background:#eceef1;cursor:pointer;box-shadow:0 12px 34px rgba(17,18,20,.14)}.ccp-profile-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}.ccp-avatar-edit{position:absolute;left:0;right:0;bottom:0;min-height:42px;background:rgba(0,0,0,.68);color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800;font-size:13px}.ccp-avatar-edit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.ccp-profile-identity h1{font-size:34px;line-height:1.05;margin:12px 0 5px}.ccp-handle{color:var(--ccp-muted);font-size:17px}.ccp-counts{display:flex;gap:20px;margin-top:22px}.ccp-counts button{border:0;background:transparent;padding:0;display:flex;align-items:baseline;gap:6px;cursor:pointer}.ccp-counts strong{font-size:19px}.ccp-counts span{color:var(--ccp-muted);font-size:14px}.ccp-bio{margin-top:22px}.ccp-bio>span{display:block;color:#ff4b59;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.ccp-bio p{margin:6px 0 0;max-width:600px;color:#3e4147}.ccp-bio button{margin-top:7px;border:0;background:transparent;color:var(--ccp-red);padding:0;font-weight:800;cursor:pointer}.ccp-profile-actions{display:flex;align-items:center;gap:10px}.ccp-follow-button,.ccp-message-button{min-height:44px;padding:0 20px;border-radius:13px;border:0;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;font-weight:900}.ccp-follow-button{background:var(--ccp-red);color:#fff;cursor:pointer}.ccp-follow-button.is-following{background:#17181b}.ccp-message-button{background:#f0f2f4;color:#17181b!important}.ccp-more-menu{position:relative}.ccp-more-button{width:44px;height:44px;border:1px solid var(--ccp-line);border-radius:13px;background:#fff;cursor:pointer}.ccp-more-button svg{width:22px;height:22px}.ccp-more-dropdown,.ccp-account-dropdown{display:none;position:absolute;right:0;top:calc(100% + 8px);width:160px;padding:7px;background:#fff;border:1px solid var(--ccp-line);border-radius:14px;box-shadow:0 18px 40px rgba(17,18,20,.15);z-index:50}.ccp-more-menu:hover .ccp-more-dropdown,.ccp-account-menu:hover .ccp-account-dropdown{display:block}.ccp-more-dropdown button,.ccp-account-dropdown a{display:block;width:100%;padding:10px;border:0;background:transparent;text-align:left;border-radius:9px;color:#222!important;text-decoration:none!important;font-weight:700;cursor:pointer}.ccp-more-dropdown button:hover,.ccp-account-dropdown a:hover{background:#f1f3f5}.ccp-tabs{display:flex;gap:4px;padding:0 24px;border-top:1px solid var(--ccp-line);overflow-x:auto}.ccp-tabs button{border:0;background:transparent;padding:17px 15px;color:#777c84;font-weight:800;white-space:nowrap;cursor:pointer;border-bottom:3px solid transparent}.ccp-tabs button.is-active{color:#16171a;border-color:var(--ccp-red)}.ccp-tab-panel{display:none;margin-top:22px}.ccp-tab-panel.is-active{display:block}.ccp-composer-wrap{margin-bottom:18px}.ccp-composer-wrap .ccmp-standalone-composer{border-radius:22px}.ccp-feed{display:grid;gap:16px}.ccp-post{background:#fff;border:1px solid var(--ccp-line);border-radius:22px;padding:20px;box-shadow:0 10px 28px rgba(17,18,20,.05)}.ccp-post-head{display:flex;align-items:center;gap:12px}.ccp-post-head img{width:48px;height:48px;border-radius:50%;object-fit:cover}.ccp-post-head div{display:flex;flex-direction:column}.ccp-post-head span{color:var(--ccp-muted);font-size:12px}.ccp-post-content{margin-top:14px}.ccp-post-actions{display:flex;gap:22px;margin-top:14px;padding-top:12px;border-top:1px solid var(--ccp-line)}.ccp-post-actions button{border:0;background:transparent;color:#6e737b;font-weight:700}.ccp-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ccp-media-grid article{background:#fff;border-radius:18px;overflow:hidden;min-height:180px}.ccp-media-grid img,.ccp-media-grid video{width:100%;height:100%;max-height:330px;object-fit:cover}.ccp-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ccp-settings-card{background:#fff;border:1px solid var(--ccp-line);border-radius:22px;padding:22px}.ccp-settings-card h2{margin:0 0 10px}.ccp-settings-card label{display:grid;gap:6px;margin-top:14px;font-weight:700}.ccp-settings-card input,.ccp-settings-card textarea{width:100%;padding:12px;border:1px solid var(--ccp-line);border-radius:12px}.ccp-settings-card button,.ccp-primary-link{display:inline-flex;margin-top:14px;padding:11px 16px;border:0;border-radius:12px;background:var(--ccp-red);color:#fff!important;text-decoration:none!important;font-weight:900}.ccp-view-list,.ccp-blocked-list{display:grid;gap:8px}.ccp-view-list a,.ccp-blocked-list>div{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#f5f6f7;text-decoration:none!important;color:#222!important}.ccp-view-list img,.ccp-blocked-list img{width:44px;height:44px;border-radius:50%;object-fit:cover}.ccp-view-list span{display:flex;flex-direction:column}.ccp-view-list small{color:var(--ccp-muted)}.ccp-blocked-list button{margin-left:auto;margin-top:0;padding:8px 11px}.ccp-empty,.ccp-empty-small{padding:38px;text-align:center;color:var(--ccp-muted);background:#fff;border:1px dashed #d7d9dd;border-radius:20px}.ccp-empty-small{padding:18px}.ccp-footer{background:#101113;color:#fff}.ccp-footer-inner{width:min(100% - 40px,1360px);margin:0 auto;padding:26px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}.ccp-footer-brand{display:flex;align-items:center;gap:9px;color:#fff!important;text-decoration:none!important}.ccp-footer-brand span{width:36px;height:36px;border-radius:11px;background:var(--ccp-red);display:grid;place-items:center;font-weight:900}.ccp-footer nav{display:flex;gap:16px;flex-wrap:wrap}.ccp-footer nav a{color:#cfd2d7!important;text-decoration:none!important;font-size:12px;font-weight:700}.ccp-modal[hidden]{display:none}.ccp-modal{position:fixed;inset:0;z-index:999;display:grid;place-items:center;padding:18px}.ccp-modal-backdrop{position:absolute;inset:0;background:rgba(8,9,10,.68);backdrop-filter:blur(6px)}.ccp-modal-card{position:relative;width:min(100%,500px);max-height:82vh;overflow:auto;background:#fff;border-radius:22px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.ccp-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f2f4;font-size:24px;cursor:pointer}.ccp-modal-card h2{margin:0 40px 18px 0}.ccp-modal-body{display:grid;gap:8px}.ccp-relationship-user{display:flex;align-items:center;gap:12px;padding:10px;border-radius:13px;background:#f5f6f7;color:#222!important;text-decoration:none!important}.ccp-relationship-user img{width:48px;height:48px;border-radius:50%;object-fit:cover}.ccp-relationship-user span{display:flex;flex-direction:column}.ccp-relationship-user small{color:var(--ccp-muted)}.ccp-bio-modal-card textarea{width:100%;min-height:110px;padding:12px;border:1px solid var(--ccp-line);border-radius:12px}.ccp-save-bio,.ccp-avatar-modal-actions button{margin-top:12px;padding:11px 17px;border:0;border-radius:12px;background:var(--ccp-red);color:#fff;font-weight:900}.ccp-avatar-modal-card{width:min(100%,720px);background:#111}.ccp-avatar-modal-card>img{display:block;width:100%;max-height:70vh;object-fit:contain}.ccp-avatar-modal-actions{text-align:center}.ccp-account-menu{position:relative}.ccp-account-avatar{width:48px;height:48px;padding:0;border:0;border-radius:50%;overflow:hidden}.ccp-account-avatar img{width:100%;height:100%;object-fit:cover}.ccp-account-dropdown{width:190px}.ccp-account-logout{border-top:1px solid var(--ccp-line);font-size:11px!important;color:#8c9097!important}.ccp-form-message{margin-top:10px;color:var(--ccp-red)}@media(max-width:1080px){.ccp-app{display:block}.ccp-left{display:none}.ccp-main{width:100%;padding:0 14px 80px}.ccp-mobile-header{display:flex;align-items:center;justify-content:space-between;min-height:82px;margin:0 -14px 18px;padding:12px 16px;background:#fff;border-bottom:1px solid var(--ccp-line)}.ccp-profile-top{grid-template-columns:auto 1fr;gap:20px;padding:24px}.ccp-profile-actions{grid-column:1/-1}.ccp-footer{padding-bottom:72px}.ccp-footer-inner{flex-direction:column;text-align:center}.ccp-footer nav{justify-content:center}}@media(max-width:720px){.ccp-profile-top{grid-template-columns:1fr;text-align:center}.ccp-avatar-column{display:flex;justify-content:center}.ccp-profile-avatar{width:145px;height:145px}.ccp-counts{justify-content:center}.ccp-bio p{margin-left:auto;margin-right:auto}.ccp-profile-actions{justify-content:center}.ccp-tabs{padding:0 8px}.ccp-settings-grid{grid-template-columns:1fr}.ccp-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.ccp-main{padding-left:10px;padding-right:10px}.ccp-mobile-header{margin-left:-10px;margin-right:-10px}.ccp-brand strong{font-size:14px}.ccp-brand em{font-size:11px}.ccp-profile-top{padding:20px 16px}.ccp-profile-identity h1{font-size:28px}.ccp-media-grid{grid-template-columns:1fr}}
/* v1.1 dashboard-matched desktop shell */
@media(min-width:1081px){
.ccp-app{grid-template-columns:260px minmax(0,1fr)}
.ccp-page{min-width:0;padding:0 26px 70px}
.ccp-desktop-topbar{height:88px;display:flex;align-items:center;justify-content:flex-end;max-width:1340px;margin:0 auto}
.ccp-content-shell{max-width:1340px;margin:0 auto;display:grid;grid-template-columns:minmax(0,860px) 320px;gap:24px;align-items:start}
.ccp-main{width:100%;margin:0;padding:0}
.ccp-right{display:grid;gap:18px;position:sticky;top:24px}
.ccp-profile-top{grid-template-columns:160px minmax(0,1fr) auto;gap:24px;padding:28px}
.ccp-profile-avatar{width:160px;height:160px}
.ccp-profile-identity h1{font-size:31px}
}
.ccp-desktop-topbar{position:relative;z-index:60}
.ccp-right-card{background:#fff;border:1px solid var(--ccp-line);border-radius:22px;padding:22px;box-shadow:0 10px 28px rgba(17,18,20,.035)}
.ccp-welcome-card{background:linear-gradient(145deg,#fff 0%,#fff7f7 100%)}
.ccp-eyebrow{display:block;color:#ff5864;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.ccp-right-card h2{font-size:25px;line-height:1.1;margin:16px 0 12px}.ccp-right-card h3{font-size:19px;margin:0}.ccp-right-card p{color:#777c84;line-height:1.55;margin:0 0 20px}.ccp-welcome-card>a,.ccp-right-heading>a{color:var(--ccp-red)!important;text-decoration:none!important;font-weight:900}
.ccp-right-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ccp-right-heading>a{font-size:12px}
.ccp-suggestion-list{display:grid;gap:12px}.ccp-suggestion{display:flex;align-items:center;gap:10px}.ccp-suggestion-user{display:flex;align-items:center;gap:10px;min-width:0;flex:1;color:#17181b!important;text-decoration:none!important}.ccp-suggestion-user img{width:46px;height:46px;border-radius:50%;object-fit:cover}.ccp-suggestion-user span{display:flex;flex-direction:column;min-width:0}.ccp-suggestion-user strong,.ccp-suggestion-user small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ccp-suggestion-user small{color:#858a92}.ccp-suggestion>button{border:0;border-radius:999px;background:#111;color:#fff;padding:9px 13px;font-weight:900;cursor:pointer}.ccp-suggestion>button.is-following{background:var(--ccp-red)}
.ccp-trending-card{display:grid}.ccp-trending-card h3{margin-bottom:12px}.ccp-trending-card>a{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--ccp-line);color:#17181b!important;text-decoration:none!important}.ccp-trending-card>a:first-of-type{border-top:0}.ccp-trending-card b{color:var(--ccp-red);font-size:12px}.ccp-trending-card span{display:flex;flex-direction:column;gap:3px}.ccp-trending-card small{color:#8a8f97}
/* colorful sidebar icons matching dashboard */
.ccp-nav a svg{width:22px;height:22px}.ccp-nav a:before{content:"";width:42px;height:42px;flex:0 0 42px;border-radius:13px;box-shadow:0 7px 15px rgba(0,0,0,.08)}.ccp-nav a svg{position:absolute;margin-left:10px;color:#fff;z-index:1}.ccp-nav a{position:relative;padding:8px 12px;gap:14px}.ccp-nav a span{margin-left:42px}.ccp-nav a:nth-child(1):before{background:linear-gradient(145deg,#ff3040,#ff6470)}.ccp-nav a:nth-child(2):before{background:linear-gradient(145deg,#2577ee,#4f94ff)}.ccp-nav a:nth-child(3):before{background:linear-gradient(145deg,#f2a000,#ffc33e)}.ccp-nav a:nth-child(4):before{background:linear-gradient(145deg,#773ce7,#a05cff)}.ccp-nav a:nth-child(5):before{background:linear-gradient(145deg,#19aa6d,#42cc8e)}.ccp-nav a:nth-child(6):before{background:linear-gradient(145deg,#17181b,#34363b)}
.ccp-account-menu.is-open .ccp-account-dropdown{display:block}
@media(max-width:1240px) and (min-width:1081px){.ccp-page{padding-left:18px;padding-right:18px}.ccp-content-shell{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.ccp-profile-top{grid-template-columns:140px minmax(0,1fr);}.ccp-profile-avatar{width:140px;height:140px}.ccp-profile-actions{grid-column:1/-1}}
@media(max-width:1080px){.ccp-page{padding:0}.ccp-desktop-topbar,.ccp-right{display:none}.ccp-content-shell{display:block}.ccp-main{width:100%}}

/* v1.2 compact profile composer */
.ccp-composer-wrap .ccmp-standalone-composer{
    position:relative;
    min-height:190px!important;
    padding:22px 22px 20px!important;
    border-radius:24px!important;
    overflow:hidden;
    box-shadow:none!important;
}
.ccp-composer-wrap .ccmp-standalone-composer form{
    position:relative;
    min-height:146px;
    margin:0!important;
    padding:0!important;
}
.ccp-composer-wrap .ccmp-standalone-composer textarea,
.ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{
    width:100%!important;
    min-height:82px!important;
    height:82px!important;
    max-height:140px!important;
    margin:0!important;
    padding:8px 8px 8px 66px!important;
    border:0!important;
    outline:0!important;
    resize:none!important;
    background:transparent!important;
    color:#f4f4f5!important;
    font-size:18px!important;
    line-height:1.45!important;
    box-shadow:none!important;
}
.ccp-composer-wrap .ccmp-standalone-composer textarea::placeholder{color:#8f9299!important;opacity:1}
.ccp-composer-avatar{
    position:absolute;
    z-index:4;
    top:2px;
    left:0;
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #404247;
    background:#dfe2e5;
    pointer-events:none;
}
.ccp-composer-wrap .ccmp-standalone-composer button,
.ccp-composer-wrap .ccmp-standalone-composer input[type="button"],
.ccp-composer-wrap .ccmp-standalone-composer input[type="submit"]{
    min-height:44px!important;
    border-radius:13px!important;
}
.ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
.ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{
    position:absolute!important;
    right:0!important;
    bottom:0!important;
    min-width:96px!important;
    height:48px!important;
    margin:0!important;
    padding:0 22px!important;
    border:0!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,#ed1c24,#ff3542)!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:900!important;
    line-height:48px!important;
    box-shadow:0 10px 22px rgba(237,28,36,.22)!important;
}
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    display:flex!important;
    gap:10px!important;
    margin:0!important;
}
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions button,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions button,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions button{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid #42444a!important;
    background:#1a1b1f!important;
    color:#fff!important;
    box-shadow:none!important;
}
@media(max-width:720px){
    .ccp-composer-wrap .ccmp-standalone-composer{min-height:176px!important;padding:18px!important;border-radius:20px!important}
    .ccp-composer-wrap .ccmp-standalone-composer form{min-height:138px}
    .ccp-composer-wrap .ccmp-standalone-composer textarea,
    .ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{min-height:76px!important;height:76px!important;padding-left:58px!important;font-size:16px!important}
    .ccp-composer-avatar{width:44px;height:44px;border-width:3px}
    .ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{min-width:88px!important;height:44px!important;line-height:44px!important;font-size:16px!important}
}


/* v1.3 sidebar, tabs and composer alignment refinements */
@media(min-width:1081px){
    .ccp-app{grid-template-columns:240px minmax(0,1fr)}
    .ccp-left{padding:28px 18px}
    .ccp-nav{margin-top:42px;gap:8px}
    .ccp-nav a{padding:8px 10px;gap:16px}
    .ccp-nav a span{margin-left:42px}
    .ccp-create{margin-top:24px}
}
.ccp-tabs{justify-content:space-between;gap:0;padding:0 18px;scrollbar-width:none}
.ccp-tabs::-webkit-scrollbar{display:none}
.ccp-tabs button{flex:1 1 auto;min-width:0;padding:17px 10px;text-align:center}

.ccp-composer-wrap .ccmp-standalone-composer{
    padding:22px 24px 22px!important;
}
.ccp-composer-wrap .ccmp-standalone-composer form{
    min-height:146px;
}
.ccp-composer-avatar{
    top:4px;
    left:2px;
}
.ccp-composer-wrap .ccmp-standalone-composer textarea,
.ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{
    padding-left:72px!important;
}
.ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
.ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{
    right:2px!important;
    bottom:2px!important;
}
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions,
.ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions{
    left:2px!important;
    bottom:2px!important;
}
@media(max-width:720px){
    .ccp-tabs{justify-content:flex-start;overflow-x:auto}
    .ccp-tabs button{flex:0 0 auto;padding-left:14px;padding-right:14px}
    .ccp-composer-wrap .ccmp-standalone-composer{padding:18px 20px 20px!important}
    .ccp-composer-avatar{top:3px;left:1px}
    .ccp-composer-wrap .ccmp-standalone-composer textarea,
    .ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{padding-left:62px!important}
}

/* v1.4 responsive profile polish */
@media(min-width:1081px){
    /* Match the dashboard sidebar rhythm: icon, modest gap, then label. */
    .ccp-nav a{gap:16px!important}
    .ccp-nav a span{margin-left:0!important}
}

@media(max-width:720px){
    .ccp-page{overflow-x:hidden}

    /* Keep the compact mobile masthead safely inside the viewport. */
    .ccp-mobile-header{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:14px;
        padding:14px 18px!important;
        min-height:78px;
        background:#fff;
        border-bottom:1px solid var(--ccp-line);
    }
    .ccp-mobile-header .ccp-brand{min-width:0;gap:10px}
    .ccp-mobile-header .ccp-brand-mark{width:46px;height:46px;flex-basis:46px;border-radius:14px}
    .ccp-mobile-header .ccp-brand strong{font-size:15px;white-space:nowrap}
    .ccp-mobile-header .ccp-brand em{font-size:12px;margin-top:5px}
    .ccp-mobile-header .ccp-account-menu{flex:0 0 auto;margin-right:0}
    .ccp-mobile-header .ccp-account-avatar{width:46px;height:46px;display:block}
    .ccp-mobile-header .ccp-account-dropdown{right:0}

    .ccp-main{padding:18px 16px 52px!important}
    .ccp-profile-card{border-radius:22px}

    /* Instagram-style compact profile summary. */
    .ccp-profile-top{
        display:grid!important;
        grid-template-columns:92px minmax(0,1fr)!important;
        grid-template-areas:
            "avatar identity"
            "bio bio"
            "actions actions";
        align-items:center!important;
        gap:12px 18px!important;
        padding:20px 18px 16px!important;
    }
    .ccp-avatar-column{grid-area:avatar;align-self:start}
    .ccp-profile-avatar{width:92px!important;height:92px!important;box-shadow:0 8px 22px rgba(17,18,20,.12)}
    .ccp-avatar-edit{min-height:28px;font-size:10px;gap:4px}
    .ccp-avatar-edit svg{width:14px;height:14px}
    .ccp-profile-identity{grid-area:identity;min-width:0}
    .ccp-profile-identity h1{font-size:26px!important;line-height:1.05;margin:0 0 4px!important;overflow-wrap:anywhere}
    .ccp-handle{font-size:15px}
    .ccp-counts{gap:18px;margin-top:14px!important}
    .ccp-counts button{gap:4px}
    .ccp-counts strong{font-size:17px}
    .ccp-counts span{font-size:12px}
    .ccp-bio{grid-area:bio;margin-top:2px!important}
    .ccp-bio>span{font-size:10px;letter-spacing:.12em}
    .ccp-bio p{font-size:14px;line-height:1.4;margin-top:5px}
    .ccp-bio button{font-size:14px;margin-top:4px}
    .ccp-profile-actions{grid-area:actions}

    .ccp-tabs{padding:0 8px!important}
    .ccp-tabs button{padding:14px 12px!important;font-size:14px}
    .ccp-tab-panel{margin-top:14px}

    /* Composer: balanced avatar spacing, actions above, full-width Share button. */
    .ccp-composer-wrap .ccmp-standalone-composer{
        min-height:224px!important;
        padding:18px 16px 16px!important;
        border-radius:20px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer form{min-height:190px!important}
    .ccp-composer-avatar{top:2px!important;left:2px!important;width:44px;height:44px}
    .ccp-composer-wrap .ccmp-standalone-composer textarea,
    .ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{
        min-height:82px!important;
        height:82px!important;
        padding:6px 4px 6px 60px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions{
        left:2px!important;
        right:2px!important;
        bottom:58px!important;
        gap:10px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{
        left:2px!important;
        right:2px!important;
        bottom:2px!important;
        width:calc(100% - 4px)!important;
        max-width:none!important;
        min-width:0!important;
        height:48px!important;
        line-height:48px!important;
        border-radius:14px!important;
    }
}

@media(max-width:430px){
    .ccp-mobile-header{padding-left:14px!important;padding-right:14px!important}
    .ccp-mobile-header .ccp-brand strong{font-size:13px}
    .ccp-mobile-header .ccp-brand em{font-size:11px;letter-spacing:.11em}
    .ccp-profile-top{grid-template-columns:82px minmax(0,1fr)!important;gap:10px 14px!important;padding:18px 15px 14px!important}
    .ccp-profile-avatar{width:82px!important;height:82px!important}
    .ccp-profile-identity h1{font-size:23px!important}
    .ccp-counts{gap:12px}
}


/* v1.5 mobile masthead, spacing, composer and tab refinements */
.ccp-mobile-title{display:none}
@media(max-width:720px){
    .ccp-mobile-header{
        position:relative;
        display:grid!important;
        grid-template-columns:54px minmax(0,1fr) 54px;
        align-items:center;
        gap:10px;
        min-height:72px;
        padding:10px 16px!important;
        background:linear-gradient(135deg,#e91620,#ff3c49)!important;
        border-bottom:0!important;
        box-shadow:0 8px 22px rgba(237,28,36,.18);
    }
    .ccp-mobile-header .ccp-brand{display:block;min-width:0}
    .ccp-mobile-header .ccp-mobile-brand-desktop-text{display:none!important}
    .ccp-mobile-header .ccp-brand-mark{
        width:48px!important;
        height:48px!important;
        flex-basis:48px!important;
        border-radius:14px!important;
        background:#fff!important;
        color:var(--ccp-red)!important;
        box-shadow:0 8px 20px rgba(80,0,5,.18)!important;
        font-size:17px;
    }
    .ccp-mobile-title{
        display:block;
        min-width:0;
        color:#fff!important;
        text-decoration:none!important;
        text-align:center;
        font-size:18px;
        line-height:1.1;
        font-weight:900;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    .ccp-mobile-header .ccp-account-menu{justify-self:end;margin:0!important}
    .ccp-mobile-header .ccp-account-avatar{width:48px!important;height:48px!important;border:2px solid rgba(255,255,255,.65)!important;background:#fff}
    .ccp-mobile-header .ccp-account-dropdown{right:0;top:calc(100% + 10px)}

    .ccp-main{padding-top:10px!important}
    .ccp-profile-card{margin-top:0!important}

    .ccp-tabs{
        display:flex!important;
        justify-content:flex-start!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        overscroll-behavior-x:contain;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x proximity;
        padding:0 10px!important;
        scrollbar-width:none;
    }
    .ccp-tabs::-webkit-scrollbar{display:none}
    .ccp-tabs button{
        flex:0 0 auto!important;
        min-width:max-content!important;
        scroll-snap-align:start;
        padding:13px 14px!important;
    }

    .ccp-tab-panel{margin-top:12px!important}
    .ccp-composer-wrap{margin-bottom:14px!important}
    .ccp-composer-wrap .ccmp-standalone-composer{
        min-height:202px!important;
        padding:14px 14px 14px!important;
        border-radius:20px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer form{min-height:174px!important}
    .ccp-composer-avatar{top:2px!important;left:2px!important;width:42px!important;height:42px!important}
    .ccp-composer-wrap .ccmp-standalone-composer textarea,
    .ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{
        min-height:68px!important;
        height:68px!important;
        padding:4px 4px 4px 56px!important;
        font-size:16px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions{
        left:2px!important;
        right:2px!important;
        bottom:60px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{
        left:10px!important;
        right:10px!important;
        bottom:8px!important;
        width:calc(100% - 20px)!important;
        height:46px!important;
        line-height:46px!important;
        border-radius:14px!important;
    }
}
@media(max-width:430px){
    .ccp-mobile-header{grid-template-columns:48px minmax(0,1fr) 48px;padding:9px 12px!important;min-height:68px}
    .ccp-mobile-header .ccp-brand-mark,.ccp-mobile-header .ccp-account-avatar{width:44px!important;height:44px!important}
    .ccp-mobile-title{font-size:16px}
    .ccp-main{padding-top:8px!important}
}

/* v1.6 mobile profile redesign */
@media (max-width:720px){
    body.ccp-profile-page{background:var(--ccp-bg)!important}
    .ccp-page{min-width:0!important}

    /* Cleaner app-style mobile masthead. */
    .ccp-mobile-header{
        grid-template-columns:50px minmax(0,1fr) 50px!important;
        min-height:70px!important;
        padding:10px 14px!important;
        gap:8px!important;
        background:#ed1c24!important;
        box-shadow:0 3px 12px rgba(17,18,20,.12)!important;
    }
    .ccp-mobile-header .ccp-brand-mark{
        width:48px!important;height:48px!important;flex-basis:48px!important;
        border:3px solid #fff!important;border-radius:15px!important;
        background:#fff!important;color:#ed1c24!important;
        box-shadow:none!important;font-size:16px!important;
    }
    .ccp-mobile-title{
        display:flex!important;align-items:center;justify-content:center;
        font-size:17px!important;line-height:1.02!important;letter-spacing:.025em;
        text-transform:uppercase;white-space:normal!important;
        max-width:230px;margin:0 auto;
    }
    .ccp-mobile-header .ccp-account-avatar{
        width:46px!important;height:46px!important;
        border:3px solid rgba(255,255,255,.9)!important;
        box-shadow:none!important;
    }

    /* Pull content toward the masthead and reduce card height. */
    .ccp-main{padding:10px 12px 44px!important}
    .ccp-profile-card{border-radius:22px!important;box-shadow:0 10px 28px rgba(17,18,20,.07)!important}
    .ccp-profile-top{
        grid-template-columns:86px minmax(0,1fr)!important;
        grid-template-areas:"avatar identity" "bio bio" "actions actions"!important;
        align-items:start!important;
        column-gap:16px!important;row-gap:8px!important;
        padding:18px 16px 14px!important;
    }
    .ccp-profile-avatar{width:86px!important;height:86px!important;box-shadow:none!important}
    .ccp-avatar-edit{min-height:26px!important;font-size:10px!important}
    .ccp-profile-identity{padding-top:3px!important}
    .ccp-profile-identity h1{font-size:25px!important;margin:0 0 3px!important;line-height:1.08!important}
    .ccp-handle{font-size:14px!important}
    .ccp-counts{margin-top:12px!important;gap:15px!important}
    .ccp-counts strong{font-size:17px!important}
    .ccp-counts span{font-size:12px!important}
    .ccp-bio{margin:2px 0 0!important;text-align:left!important}
    .ccp-bio>span{font-size:9px!important;letter-spacing:.13em!important}
    .ccp-bio p{margin:4px 0 0!important;font-size:14px!important;line-height:1.32!important}
    .ccp-bio button{margin-top:3px!important;font-size:13px!important}

    /* Fully swipeable tab rail with room for Account. */
    .ccp-tabs{
        width:100%!important;max-width:100%!important;
        gap:0!important;padding:0 8px!important;
        overflow-x:auto!important;overflow-y:hidden!important;
        scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
    }
    .ccp-tabs::-webkit-scrollbar{display:none!important}
    .ccp-tabs button{
        flex:0 0 auto!important;padding:13px 12px!important;
        min-width:max-content!important;font-size:14px!important;
    }

    /* Compact, clean composer. */
    .ccp-tab-panel{margin-top:10px!important}
    .ccp-composer-wrap{margin-bottom:12px!important}
    .ccp-composer-wrap .ccmp-standalone-composer{
        position:relative!important;min-height:184px!important;
        padding:14px!important;border-radius:20px!important;
        overflow:hidden!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer form{
        position:relative!important;min-height:156px!important;
        margin:0!important;padding:0!important;background:transparent!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer textarea,
    .ccp-composer-wrap .ccmp-standalone-composer [contenteditable="true"]{
        display:block!important;width:100%!important;
        min-height:58px!important;height:58px!important;
        margin:0!important;padding:5px 4px 5px 54px!important;
        border:0!important;background:transparent!important;box-shadow:none!important;
        font-size:15px!important;line-height:1.35!important;
    }
    .ccp-composer-avatar{
        top:0!important;left:0!important;width:42px!important;height:42px!important;
        margin:0!important;z-index:3!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions{
        position:absolute!important;left:0!important;right:0!important;bottom:55px!important;
        width:100%!important;margin:0!important;padding:0!important;
        gap:10px!important;background:transparent!important;box-shadow:none!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-media-actions button,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-attachment-actions button,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-composer-actions button:not([type="submit"]){
        min-height:38px!important;border-radius:11px!important;
    }
    .ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{
        position:absolute!important;left:8px!important;right:8px!important;bottom:6px!important;
        width:calc(100% - 16px)!important;height:43px!important;line-height:43px!important;
        margin:0!important;border-radius:13px!important;
        font-size:16px!important;font-weight:900!important;
    }
    .ccp-empty{padding:28px 18px!important;border-radius:18px!important}
}

@media (max-width:430px){
    .ccp-mobile-header{grid-template-columns:46px minmax(0,1fr) 46px!important;padding:9px 11px!important}
    .ccp-mobile-header .ccp-brand-mark{width:44px!important;height:44px!important;flex-basis:44px!important}
    .ccp-mobile-header .ccp-account-avatar{width:44px!important;height:44px!important}
    .ccp-mobile-title{font-size:15px!important;max-width:190px}
    .ccp-main{padding-left:10px!important;padding-right:10px!important}
    .ccp-profile-top{grid-template-columns:80px minmax(0,1fr)!important;padding:16px 14px 13px!important;column-gap:13px!important}
    .ccp-profile-avatar{width:80px!important;height:80px!important}
    .ccp-profile-identity h1{font-size:22px!important}
    .ccp-counts{gap:11px!important}
}

/* v1.6.1 edge-spacing polish */
@media (min-width:721px){
    .ccp-composer-wrap .ccmp-standalone-composer button[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer input[type="submit"],
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-submit,
    .ccp-composer-wrap .ccmp-standalone-composer .ccmp-post-button{
        right:18px!important;
        bottom:18px!important;
    }
}

@media (max-width:720px){
    .ccp-mobile-header{
        padding-left:20px!important;
        padding-right:20px!important;
    }
    .ccp-mobile-header .ccp-brand-mark{
        justify-self:start!important;
    }
    .ccp-mobile-header .ccp-account-menu{
        justify-self:end!important;
    }
}

@media (max-width:430px){
    .ccp-mobile-header{
        padding-left:16px!important;
        padding-right:16px!important;
    }
}

/* v1.6.2 mobile + tablet masthead consistency */
@media (max-width:1080px){
    .ccp-mobile-header{
        display:grid!important;
        grid-template-columns:54px minmax(0,1fr) 54px!important;
        align-items:center!important;
        gap:12px!important;
        min-height:72px!important;
        margin:0!important;
        padding:10px 20px!important;
        background:linear-gradient(135deg,#e91620,#ff303d)!important;
        border-bottom:0!important;
        box-shadow:0 5px 16px rgba(17,18,20,.12)!important;
    }
    .ccp-mobile-header .ccp-brand{
        display:block!important;
        min-width:0!important;
        justify-self:start!important;
    }
    .ccp-mobile-header .ccp-mobile-brand-desktop-text{
        display:none!important;
    }
    .ccp-mobile-header .ccp-brand-mark{
        width:52px!important;
        height:52px!important;
        flex:0 0 52px!important;
        border:0!important;
        border-radius:16px!important;
        background:#fff!important;
        color:var(--ccp-red)!important;
        box-shadow:0 7px 18px rgba(96,0,7,.17)!important;
        font-size:18px!important;
        font-weight:900!important;
    }
    .ccp-mobile-title{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-width:0!important;
        max-width:320px!important;
        margin:0 auto!important;
        color:#fff!important;
        text-align:center!important;
        text-decoration:none!important;
        text-transform:uppercase!important;
        white-space:normal!important;
        overflow:visible!important;
        font-size:22px!important;
        line-height:.98!important;
        font-weight:950!important;
        letter-spacing:-.015em!important;
    }
    .ccp-mobile-header .ccp-account-menu{
        justify-self:end!important;
        margin:0!important;
    }
    .ccp-mobile-header .ccp-account-avatar{
        display:block!important;
        width:48px!important;
        height:48px!important;
        border:3px solid #fff!important;
        background:#fff!important;
        box-shadow:none!important;
    }
    .ccp-main{
        padding-top:14px!important;
    }
}

@media (max-width:720px){
    .ccp-mobile-header{
        grid-template-columns:52px minmax(0,1fr) 52px!important;
        min-height:72px!important;
        padding:10px 16px!important;
    }
    .ccp-mobile-header .ccp-brand-mark{
        width:50px!important;
        height:50px!important;
        flex-basis:50px!important;
        font-size:18px!important;
    }
    .ccp-mobile-title{
        max-width:235px!important;
        font-size:20px!important;
        line-height:1!important;
        font-weight:950!important;
    }
    .ccp-mobile-header .ccp-account-avatar{
        width:48px!important;
        height:48px!important;
    }
}

@media (max-width:430px){
    .ccp-mobile-header{
        grid-template-columns:50px minmax(0,1fr) 50px!important;
        padding-left:14px!important;
        padding-right:14px!important;
    }
    .ccp-mobile-title{
        max-width:205px!important;
        font-size:19px!important;
    }
}

/* v1.6.3 — cinematic mobile/tablet masthead */
@media (max-width:1080px){
    .ccp-mobile-header{
        position:relative!important;
        isolation:isolate!important;
        display:grid!important;
        grid-template-columns:92px minmax(0,1fr) 72px!important;
        align-items:center!important;
        gap:18px!important;
        min-height:116px!important;
        padding:14px 28px!important;
        overflow:hidden!important;
        background:
            linear-gradient(118deg,rgba(0,0,0,.92) 0 9%,rgba(24,0,0,.86) 25%,rgba(111,0,0,.92) 58%,rgba(226,0,18,.96) 100%)!important;
        border:0!important;
        box-shadow:0 10px 28px rgba(35,0,0,.22)!important;
    }
    .ccp-mobile-header:before,
    .ccp-mobile-header:after{
        content:""!important;
        position:absolute!important;
        inset:-30% auto -30% auto!important;
        z-index:-1!important;
        pointer-events:none!important;
        transform:skewX(-24deg)!important;
    }
    .ccp-mobile-header:before{
        left:8%!important;
        width:4px!important;
        background:#ff1020!important;
        box-shadow:34px 0 0 rgba(255,20,32,.65),68px 0 0 rgba(255,20,32,.28)!important;
    }
    .ccp-mobile-header:after{
        right:7%!important;
        width:110px!important;
        background:linear-gradient(90deg,transparent,rgba(255,40,52,.26),transparent)!important;
    }
    .ccp-mobile-header .ccp-brand{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        justify-self:start!important;
        width:88px!important;
        height:88px!important;
        min-width:88px!important;
        position:relative!important;
        transform:skewX(-7deg)!important;
    }
    .ccp-mobile-header .ccp-mobile-brand-desktop-text{display:none!important}
    .ccp-mobile-header .ccp-brand-mark{
        position:relative!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:84px!important;
        height:72px!important;
        flex:0 0 84px!important;
        border:3px solid #fff!important;
        border-radius:17px!important;
        background:linear-gradient(145deg,#fff,#ececec)!important;
        color:#fff!important;
        box-shadow:0 0 0 4px rgba(255,255,255,.08),0 0 22px rgba(255,20,32,.72)!important;
        font-size:0!important;
        transform:skewX(-8deg)!important;
    }
    .ccp-mobile-header .ccp-brand-mark:after{
        content:""!important;
        position:absolute!important;
        left:49%!important;
        top:-24px!important;
        width:5px!important;
        height:120px!important;
        background:#ff1828!important;
        transform:rotate(24deg)!important;
        box-shadow:0 0 12px #ff1828!important;
    }
    .ccp-mobile-header .ccp-brand-mark span{
        position:relative!important;
        z-index:2!important;
        display:block!important;
        margin:-2px!important;
        color:#fff!important;
        -webkit-text-stroke:5px #f21d2b!important;
        paint-order:stroke fill!important;
        font-size:42px!important;
        line-height:1!important;
        font-style:italic!important;
        font-weight:1000!important;
        letter-spacing:-.2em!important;
        text-shadow:0 0 10px rgba(255,0,20,.7)!important;
    }
    .ccp-mobile-title{
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:center!important;
        justify-self:center!important;
        width:100%!important;
        max-width:560px!important;
        margin:0!important;
        color:#fff!important;
        text-align:center!important;
        text-decoration:none!important;
        text-transform:uppercase!important;
        white-space:normal!important;
        line-height:1!important;
        filter:drop-shadow(0 0 8px rgba(255,255,255,.24))!important;
    }
    .ccp-mobile-title strong{
        font-size:34px!important;
        line-height:.98!important;
        font-weight:1000!important;
        font-style:italic!important;
        letter-spacing:.035em!important;
    }
    .ccp-mobile-title span{
        position:relative!important;
        margin-top:7px!important;
        padding:0 28px!important;
        color:#ff202f!important;
        font-size:24px!important;
        line-height:1!important;
        font-weight:1000!important;
        font-style:italic!important;
        letter-spacing:.28em!important;
        text-shadow:0 0 12px rgba(255,0,20,.65)!important;
    }
    .ccp-mobile-title span:before,
    .ccp-mobile-title span:after{
        content:""!important;
        position:absolute!important;
        top:50%!important;
        width:56px!important;
        height:2px!important;
        background:linear-gradient(90deg,transparent,#ff2030)!important;
        box-shadow:0 0 8px #ff2030!important;
    }
    .ccp-mobile-title span:before{right:100%!important}
    .ccp-mobile-title span:after{left:100%!important;transform:rotate(180deg)!important}
    .ccp-mobile-header .ccp-account-menu{justify-self:end!important;margin:0!important}
    .ccp-mobile-header .ccp-account-avatar{
        width:64px!important;
        height:64px!important;
        border:4px solid #fff!important;
        background:#fff!important;
        box-shadow:0 0 0 5px #ef1726,0 0 20px rgba(255,16,36,.5)!important;
    }
    .ccp-main{padding-top:12px!important}
}

@media (max-width:720px){
    .ccp-mobile-header{
        grid-template-columns:68px minmax(0,1fr) 58px!important;
        gap:10px!important;
        min-height:92px!important;
        padding:10px 14px!important;
    }
    .ccp-mobile-header .ccp-brand{
        width:66px!important;height:66px!important;min-width:66px!important;
    }
    .ccp-mobile-header .ccp-brand-mark{
        width:64px!important;height:58px!important;flex-basis:64px!important;border-radius:14px!important;
    }
    .ccp-mobile-header .ccp-brand-mark:after{top:-20px!important;height:98px!important;width:4px!important}
    .ccp-mobile-header .ccp-brand-mark span{font-size:31px!important;-webkit-text-stroke-width:4px!important}
    .ccp-mobile-title strong{font-size:24px!important;letter-spacing:.025em!important}
    .ccp-mobile-title span{margin-top:5px!important;padding:0 16px!important;font-size:16px!important;letter-spacing:.22em!important}
    .ccp-mobile-title span:before,.ccp-mobile-title span:after{width:28px!important}
    .ccp-mobile-header .ccp-account-avatar{width:52px!important;height:52px!important;border-width:3px!important;box-shadow:0 0 0 3px #ef1726!important}
}

@media (max-width:430px){
    .ccp-mobile-header{
        grid-template-columns:58px minmax(0,1fr) 50px!important;
        min-height:84px!important;
        padding-left:10px!important;
        padding-right:10px!important;
    }
    .ccp-mobile-header .ccp-brand{width:56px!important;height:56px!important;min-width:56px!important}
    .ccp-mobile-header .ccp-brand-mark{width:54px!important;height:50px!important;flex-basis:54px!important;border-width:2px!important}
    .ccp-mobile-header .ccp-brand-mark span{font-size:26px!important;-webkit-text-stroke-width:3px!important}
    .ccp-mobile-title strong{font-size:20px!important}
    .ccp-mobile-title span{font-size:13px!important;letter-spacing:.18em!important}
    .ccp-mobile-header .ccp-account-avatar{width:46px!important;height:46px!important}
}

/* v1.6.4 — tablet masthead matches mobile masthead */
@media (max-width:1080px){
    .ccp-mobile-header{
        position:relative!important;
        isolation:auto!important;
        display:grid!important;
        grid-template-columns:52px minmax(0,1fr) 52px!important;
        align-items:center!important;
        gap:12px!important;
        min-height:72px!important;
        margin:0!important;
        padding:10px 18px!important;
        overflow:visible!important;
        background:#ed1c24!important;
        border:0!important;
        border-bottom:0!important;
        box-shadow:0 4px 14px rgba(17,18,20,.12)!important;
    }
    .ccp-mobile-header:before,
    .ccp-mobile-header:after,
    .ccp-mobile-header .ccp-brand-mark:after,
    .ccp-mobile-title span:before,
    .ccp-mobile-title span:after{
        content:none!important;
        display:none!important;
    }
    .ccp-mobile-header .ccp-brand{
        display:block!important;
        width:auto!important;
        height:auto!important;
        min-width:0!important;
        transform:none!important;
        justify-self:start!important;
    }
    .ccp-mobile-header .ccp-brand-mark{
        display:grid!important;
        place-items:center!important;
        width:50px!important;
        height:50px!important;
        flex:0 0 50px!important;
        border:0!important;
        border-radius:15px!important;
        background:#fff!important;
        color:#ed1c24!important;
        box-shadow:none!important;
        transform:none!important;
        font-size:0!important;
    }
    .ccp-mobile-header .ccp-brand-mark span{
        display:inline!important;
        position:static!important;
        margin:0!important;
        color:#ed1c24!important;
        -webkit-text-stroke:0!important;
        font-size:18px!important;
        line-height:1!important;
        font-style:normal!important;
        font-weight:900!important;
        letter-spacing:-.18em!important;
        text-shadow:none!important;
    }
    .ccp-mobile-header .ccp-brand-mark span:last-child{margin-left:-1px!important}
    .ccp-mobile-title{
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:center!important;
        justify-self:center!important;
        width:auto!important;
        max-width:260px!important;
        margin:0!important;
        padding:0!important;
        color:#fff!important;
        filter:none!important;
        text-align:center!important;
        text-decoration:none!important;
        text-transform:uppercase!important;
        white-space:normal!important;
        line-height:1!important;
    }
    .ccp-mobile-title strong,
    .ccp-mobile-title span{
        position:static!important;
        margin:0!important;
        padding:0!important;
        color:#fff!important;
        font-size:20px!important;
        line-height:1.02!important;
        font-style:normal!important;
        font-weight:900!important;
        letter-spacing:.015em!important;
        text-shadow:none!important;
    }
    .ccp-mobile-title span{margin-top:1px!important}
    .ccp-mobile-header .ccp-account-menu{
        justify-self:end!important;
        margin:0!important;
    }
    .ccp-mobile-header .ccp-account-avatar{
        display:block!important;
        width:48px!important;
        height:48px!important;
        border:3px solid #fff!important;
        background:#fff!important;
        box-shadow:none!important;
    }
    .ccp-main{padding-top:14px!important}
}

@media (max-width:430px){
    .ccp-mobile-header{
        grid-template-columns:48px minmax(0,1fr) 48px!important;
        padding-left:14px!important;
        padding-right:14px!important;
    }
    .ccp-mobile-header .ccp-brand-mark{width:46px!important;height:46px!important;flex-basis:46px!important}
    .ccp-mobile-header .ccp-account-avatar{width:46px!important;height:46px!important}
    .ccp-mobile-title strong,
    .ccp-mobile-title span{font-size:18px!important}
}


/* v1.6.6 — safe Sitewide Shell integration (preserves original profile structure) */
body.ccsws-active .ccp-left,
body.ccsws-active .ccp-desktop-topbar,
body.ccsws-active .ccp-mobile-header,
body.ccsws-active .ccp-footer{
    display:none!important;
}
body.ccsws-active .ccp-app{
    display:block!important;
    min-height:0!important;
    width:100%!important;
}
body.ccsws-active .ccp-page{
    min-width:0!important;
    width:100%!important;
    padding-top:24px!important;
}
body.ccsws-active .ccp-content-shell{
    position:relative;
}
body.ccsws-active .ccp-profile-card{
    overflow:visible!important;
    position:relative;
    z-index:20;
}
body.ccsws-active .ccp-tabs{
    background:#fff;
    border-radius:0 0 28px 28px;
}
.ccp-bio>span{display:none!important}
.ccp-bio p{margin-top:0!important}
.ccp-more-menu{z-index:200!important}
.ccp-more-dropdown{
    z-index:10000!important;
    top:calc(100% + 10px)!important;
}
.ccp-more-menu.is-open .ccp-more-dropdown{display:block!important}

/* Compact desktop and tablet: actions get their own row. */
@media (min-width:721px) and (max-width:1240px){
    body.ccsws-active .ccp-page{padding-left:18px!important;padding-right:18px!important}
    .ccp-profile-top{
        grid-template-columns:140px minmax(0,1fr)!important;
        gap:18px 24px!important;
        align-items:center!important;
    }
    .ccp-profile-avatar{width:140px!important;height:140px!important}
    .ccp-profile-identity{min-width:0!important}
    .ccp-profile-identity h1{margin-top:0!important;overflow-wrap:anywhere}
    .ccp-profile-actions{
        grid-column:2!important;
        justify-content:flex-start!important;
        flex-wrap:wrap!important;
        min-width:0!important;
    }
}

/* Mobile: avatar left, identity right, controls below. */
@media (max-width:720px){
    body.ccsws-active .ccp-page{
        padding:14px 12px 64px!important;
    }
    .ccp-profile-top{
        display:grid!important;
        grid-template-columns:104px minmax(0,1fr)!important;
        grid-template-areas:
            "avatar identity"
            "actions actions"!important;
        gap:15px 16px!important;
        align-items:center!important;
        text-align:left!important;
        padding:20px 16px 16px!important;
    }
    .ccp-avatar-column{grid-area:avatar!important;display:block!important}
    .ccp-profile-avatar{width:104px!important;height:104px!important}
    .ccp-profile-identity{grid-area:identity!important;min-width:0!important}
    .ccp-profile-identity h1{
        margin:0 0 5px!important;
        font-size:26px!important;
        line-height:1.04!important;
        overflow-wrap:anywhere;
        text-align:left!important;
    }
    .ccp-handle{text-align:left!important;overflow-wrap:anywhere}
    .ccp-counts{
        justify-content:flex-start!important;
        flex-wrap:wrap!important;
        gap:12px!important;
        margin-top:14px!important;
    }
    .ccp-bio{margin-top:14px!important}
    .ccp-bio p{text-align:left!important;margin:0!important}
    .ccp-profile-actions{
        grid-area:actions!important;
        width:100%!important;
        display:flex!important;
        gap:9px!important;
        justify-content:flex-start!important;
        position:relative!important;
        z-index:300!important;
    }
    .ccp-follow-button,.ccp-message-button{
        flex:1 1 0!important;
        min-width:0!important;
        padding-left:12px!important;
        padding-right:12px!important;
    }
    .ccp-more-menu{flex:0 0 auto!important}
    .ccp-more-dropdown{
        right:0!important;
        left:auto!important;
        width:180px!important;
    }
    .ccp-tab-panel{position:relative;z-index:1}
}

@media (max-width:430px){
    .ccp-profile-top{
        grid-template-columns:88px minmax(0,1fr)!important;
        gap:12px 13px!important;
        padding:17px 13px 14px!important;
    }
    .ccp-profile-avatar{width:88px!important;height:88px!important}
    .ccp-profile-identity h1{font-size:22px!important}
    .ccp-handle{font-size:14px!important}
    .ccp-counts strong{font-size:17px!important}
    .ccp-counts span{font-size:12px!important}
    .ccp-follow-button,.ccp-message-button{font-size:14px!important}
    .ccp-more-button{width:44px!important;height:44px!important}
}

/* v1.6.7 — Sitewide Shell owns navigation and global chrome. */
body.ccsws-active .ccp-left,
body.ccsws-active .ccp-mobile-header,
body.ccsws-active .ccp-footer{display:none!important}
body.ccsws-active .ccp-app{display:block!important;grid-template-columns:none!important;min-height:0!important}
body.ccsws-active .ccp-main{width:min(100%,1120px)!important;margin:0 auto!important}
@media (min-width:1081px){
  body.ccsws-active .ccp-main{padding:28px 30px 72px!important}
}

/* v1.6.8 — sitewide shell desktop rail compatibility */
@media (min-width:1081px){
 body.ccsws-active .ccp-main{min-width:0!important}
 body.ccsws-active .ccp-content-shell{width:100%!important;max-width:100%!important}
 body.ccsws-active .ccp-profile-top{min-width:0!important}
}

/* v1.7.2 — keep profile controls clear of long names on desktop. */
@media (min-width:721px){
    .ccp-profile-top{
        display:grid!important;
        grid-template-columns:180px minmax(0,1fr)!important;
        grid-template-areas:
            "avatar identity"
            "actions actions"!important;
        gap:24px 28px!important;
        align-items:center!important;
    }
    .ccp-avatar-column{grid-area:avatar!important}
    .ccp-profile-avatar{width:180px!important;height:180px!important}
    .ccp-profile-identity{
        grid-area:identity!important;
        min-width:0!important;
        width:100%!important;
    }
    .ccp-profile-identity h1{
        margin-top:0!important;
        max-width:100%!important;
        overflow-wrap:break-word!important;
        word-break:normal!important;
    }
    .ccp-bio{width:100%!important}
    .ccp-bio p{
        width:100%!important;
        max-width:none!important;
        overflow-wrap:break-word!important;
    }
    .ccp-profile-actions{
        grid-area:actions!important;
        grid-column:1 / -1!important;
        width:100%!important;
        display:flex!important;
        align-items:center!important;
        gap:12px!important;
        min-width:0!important;
    }
    .ccp-follow-button,
    .ccp-message-button{
        flex:1 1 0!important;
        min-width:0!important;
        min-height:52px!important;
    }
    .ccp-more-menu{flex:0 0 auto!important}
    .ccp-more-button{width:52px!important;height:52px!important}
}

@media (min-width:721px) and (max-width:1240px){
    .ccp-profile-top{
        grid-template-columns:140px minmax(0,1fr)!important;
    }
    .ccp-profile-avatar{width:140px!important;height:140px!important}
}

/* v1.7.3 profile identity settings */
.ccp-field-note{display:block;margin-top:7px;color:#7b818c;font-size:13px;font-weight:600}.ccp-settings-card input[readonly]{background:#f2f3f5;color:#737984;cursor:not-allowed}.ccp-bio-counter{text-align:right;margin:-6px 0 12px;color:#777e88;font-size:13px;font-weight:700}.ccp-bio-counter span{color:#1d2025}


/* v1.8.0 messages and notifications */
.ccp-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.ccp-section-title h2{margin:0 0 5px}.ccp-section-title p{margin:0;color:#737983}.ccp-compose-link{white-space:nowrap}.ccp-subtabs{display:flex;gap:8px;border-bottom:1px solid #e3e5e8;margin-bottom:4px}.ccp-subtabs button{border:0;background:transparent;padding:13px 18px;font-weight:800;color:#737983;border-bottom:3px solid transparent;cursor:pointer}.ccp-subtabs button.is-active{color:#15171a;border-bottom-color:#f51f2b}.ccp-subtabs button span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:7px;padding:0 6px;border-radius:999px;background:#f51f2b;color:#fff;font-size:12px}.ccp-message-box{display:none}.ccp-message-box.is-active{display:block}.ccp-message-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eceef0}.ccp-message-row:last-child{border-bottom:0}.ccp-message-row.is-unread{background:#fff7f7;margin:0 -14px;padding-left:14px;padding-right:14px;border-radius:14px}.ccp-message-open{display:flex;align-items:center;gap:14px;min-width:0;flex:1;color:inherit;text-decoration:none}.ccp-message-open img{width:54px;height:54px;object-fit:cover;border-radius:50%;flex:0 0 54px}.ccp-message-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.ccp-message-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.ccp-message-meta strong{font-size:16px}.ccp-message-meta small{color:#8a9099;white-space:nowrap}.ccp-message-copy b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccp-message-copy em{font-style:normal;color:#747a84;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccp-message-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.ccp-message-actions button{border:1px solid #d9dde2;background:#fff;border-radius:10px;padding:9px 11px;font-weight:800;cursor:pointer}.ccp-message-actions .is-delete{color:#e31e2b}.ccp-notification-list{display:flex;flex-direction:column}.ccp-notification-row{display:flex;align-items:flex-start;gap:13px;padding:17px 4px;border-bottom:1px solid #eceef0;color:inherit;text-decoration:none}.ccp-notification-row:last-child{border-bottom:0}.ccp-notification-dot{width:10px;height:10px;border-radius:50%;margin-top:6px;background:#c9cdd2;flex:0 0 10px}.ccp-notification-row.is-new .ccp-notification-dot{background:#f51f2b}.ccp-notification-row>span:last-child{display:flex;flex-direction:column;gap:5px}.ccp-notification-row strong{font-size:16px;line-height:1.35}.ccp-notification-row.is-new strong{font-weight:900}.ccp-notification-row small{color:#858b94}.ccp-notification-row:hover strong{color:#f51f2b}
@media(max-width:720px){.ccp-section-title{align-items:stretch;flex-direction:column}.ccp-compose-link{text-align:center}.ccp-message-row{align-items:flex-start;flex-direction:column}.ccp-message-open{width:100%}.ccp-message-actions{width:100%;justify-content:flex-end}.ccp-message-copy em{white-space:normal}.ccp-message-meta{align-items:flex-start;flex-direction:column;gap:2px}}


/* v1.8.1 — clear Inbox / Sent controls and polished empty states */
.ccp-messages-card{padding:28px!important;overflow:visible!important}
.ccp-messages-card .ccp-section-title{margin-bottom:22px!important}
.ccp-messages-card .ccp-subtabs{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 16px!important;padding:0!important;border:0!important;min-height:46px!important}
.ccp-messages-card .ccp-subtabs button{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:104px!important;min-height:44px!important;margin:0!important;padding:10px 18px!important;border:1px solid #dfe2e6!important;border-radius:999px!important;background:#f2f3f5!important;color:#626873!important;font:800 15px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;text-indent:0!important;letter-spacing:0!important;box-shadow:none!important;overflow:visible!important;opacity:1!important;visibility:visible!important}
.ccp-messages-card .ccp-subtabs button::before,.ccp-messages-card .ccp-subtabs button::after{display:none!important;content:none!important}
.ccp-messages-card .ccp-subtabs button.is-active{background:#15171a!important;border-color:#15171a!important;color:#fff!important}
.ccp-messages-card .ccp-subtab-label{display:inline!important;position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;font:inherit!important;line-height:1!important;border-radius:0!important}
.ccp-messages-card .ccp-subtab-count{display:inline-grid!important;place-items:center!important;min-width:22px!important;height:22px!important;margin:0!important;padding:0 6px!important;border-radius:999px!important;background:#f51f2b!important;color:#fff!important;font-size:12px!important;font-weight:900!important;line-height:1!important}
.ccp-message-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:124px;padding:28px 20px;text-align:center;color:#747b85;background:#fff;border:1px dashed #d4d8dd;border-radius:18px}
.ccp-message-empty strong{color:#23262b;font-size:17px}
.ccp-message-empty span{max-width:420px;font-size:14px;line-height:1.45}
@media(max-width:720px){.ccp-messages-card{padding:20px!important}.ccp-messages-card .ccp-subtabs{width:100%!important}.ccp-messages-card .ccp-subtabs button{flex:1 1 0!important;min-width:0!important}.ccp-message-empty{min-height:112px;padding:24px 16px}}


/* v1.8.3 Explore-style profile sidebar member cards */
.ccp-members-sidebar-card,.ccp-featured-members-card{padding:24px}
.ccp-members-sidebar-card .ccp-right-heading,.ccp-featured-members-card .ccp-right-heading{margin-bottom:22px}
.ccp-members-sidebar-card .ccp-right-heading h3,.ccp-featured-members-card .ccp-right-heading h3{font-size:24px;font-weight:900}
.ccp-members-sidebar-card .ccp-right-heading>a,.ccp-featured-members-card .ccp-right-heading>a{font-size:14px;color:var(--ccp-red)!important}
.ccp-members-sidebar-card .ccp-suggestion-list{gap:20px}
.ccp-members-sidebar-card .ccp-suggestion{gap:12px}
.ccp-members-sidebar-card .ccp-suggestion-user img{width:54px;height:54px}
.ccp-members-sidebar-card .ccp-suggestion-user strong{font-size:16px}
.ccp-members-sidebar-card .ccp-suggestion-user small{font-size:13px;margin-top:3px}
.ccp-sidebar-view{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:66px;min-height:38px;padding:0 16px;border-radius:999px;background:#111;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:900}
.ccp-featured-member{display:flex;flex-direction:column;align-items:center;padding:20px 14px 8px;border:1px solid var(--ccp-line);border-radius:20px;text-align:center}
.ccp-featured-avatar{display:block;width:150px;height:150px;padding:6px;border:5px solid #ff3d4b;border-radius:50%;background:#fff}
.ccp-featured-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.ccp-featured-name{margin-top:20px;color:#17181b!important;text-decoration:none!important;font-size:22px;font-weight:900;line-height:1.15}
.ccp-featured-handle{margin-top:8px;color:#7e838b;font-size:15px}
.ccp-featured-view{display:inline-flex;align-items:center;justify-content:center;min-width:96px;min-height:42px;margin-top:18px;padding:0 20px;border-radius:999px;background:#111;color:#fff!important;text-decoration:none!important;font-weight:900}


/* 1.8.4: understated self-service profile deletion */
.ccp-delete-profile-section{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:18px;padding:22px;background:#fff;border:1px solid var(--ccp-line);border-radius:22px}.ccp-delete-profile-section h2{margin:0 0 6px;color:#111214;font-size:20px}.ccp-delete-profile-section p{margin:0;max-width:680px;color:#686d75;font-size:14px;line-height:1.55}.ccp-settings-card .ccp-delete-profile-button,.ccp-delete-profile-button{flex:0 0 auto;margin:0;padding:11px 18px;border:0;border-radius:12px;background:#111214;color:#fff!important;font-weight:900;cursor:pointer}.ccp-delete-profile-button:hover{background:#25272b}.ccp-delete-profile-modal-card{width:min(92vw,500px)}.ccp-delete-profile-modal-card>p{margin:0 0 18px;color:#626871;line-height:1.55}.ccp-delete-profile-modal-card label{display:block;margin-bottom:8px;color:#111214;font-weight:700}.ccp-delete-profile-modal-card input{width:100%;padding:12px 14px;border:1px solid #d7dadd;border-radius:12px;font-size:16px;text-transform:uppercase}.ccp-delete-modal-message{min-height:21px;margin-top:9px;color:#111214;font-size:14px}.ccp-delete-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.ccp-delete-modal-actions button{min-height:42px;padding:0 17px;border-radius:11px;font-weight:900;cursor:pointer}.ccp-delete-cancel{border:1px solid #d7dadd;background:#fff;color:#111214}.ccp-delete-confirm{border:0;background:#111214;color:#fff}.ccp-delete-confirm:disabled{opacity:.42;cursor:not-allowed}@media(max-width:700px){.ccp-delete-profile-section{align-items:flex-start;flex-direction:column}.ccp-delete-profile-button{width:100%}.ccp-delete-modal-actions{flex-direction:column-reverse}.ccp-delete-modal-actions button{width:100%}}

/* v1.9.0 member reporting */
.ccp-more-dropdown .ccp-report-menu-item{border-top:1px solid var(--ccp-line);margin-top:4px;padding-top:12px}.ccp-report-modal-card p{color:var(--ccp-muted);line-height:1.5}.ccp-report-modal-card label{display:block;margin:15px 0 6px;font-weight:800}.ccp-report-modal-card label span{color:var(--ccp-muted);font-weight:500}.ccp-report-modal-card select,.ccp-report-modal-card textarea{width:100%;border:1px solid var(--ccp-line);border-radius:12px;padding:12px;font:inherit;background:#fff}.ccp-report-modal-card textarea{min-height:110px;resize:vertical}.ccp-report-submit{width:100%;margin-top:16px;border:0;border-radius:12px;padding:13px;background:var(--ccp-red);color:#fff;font-weight:900;cursor:pointer}.ccp-report-submit:disabled{opacity:.65;cursor:wait}.ccp-report-message{min-height:20px;margin-top:10px;color:#444;font-weight:700}


/* v1.9.1: keep the profile action menu reachable during hover navigation */
.ccp-more-menu::after{content:"";position:absolute;z-index:49;top:100%;right:0;width:max(100%,180px);height:14px;background:transparent;pointer-events:auto}
.ccp-more-menu:hover .ccp-more-dropdown,.ccp-more-menu:focus-within .ccp-more-dropdown,.ccp-more-menu.is-hover-open .ccp-more-dropdown{display:block!important}
