html.chipter44{--c44-surface:var(--cc-surface,#131e24);--c44-text:var(--cc-text,#edf3f4);--c44-muted:var(--cc-muted,#93a6ae);--c44-line:var(--cc-border,#2c3c43);--c44-accent:#00c9ac}
html.chipter44[data-theme=light]{--c44-surface:#fff;--c44-text:#152c33;--c44-muted:#536b75;--c44-line:#d6e2e5}
html.chipter44 .cc44-check,html.chipter44 .cc43-verified{position:static!important;display:inline-flex!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;line-height:16px!important;margin:0 0 0 5px!important;vertical-align:middle;border:0!important;border-radius:50%!important;background:#198beb!important;color:#fff!important;font-size:11px!important;box-shadow:none!important;transform:none!important;align-items:center;justify-content:center}
html.chipter44 .cc44-check:after{content:'✓';font:700 11px/1 system-ui}html.chipter44 .cc44-check>i{display:none}html.chipter44 .fullname-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}html.chipter44 .fullname-line h1{min-width:0;overflow-wrap:anywhere;margin:0}html.chipter44 .fullname-line .online-status{flex-shrink:0}
html.chipter44 .profile-photo-container>.user-verified-badge{display:none!important}
html.chipter44 #preview-people-block .grid-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 10px;margin:0;width:100%}
html.chipter44 #preview-people-block .cc44-friend{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;height:auto;padding:0;border:0;background:none}
html.chipter44 .cc44-friend-photo{display:block;flex:none;width:56px;height:56px;min-height:0!important;padding:0!important;border:0!important;background:none!important;border-radius:50%;overflow:hidden}
html.chipter44 .cc44-friend-photo img{display:block;width:56px;height:56px;object-fit:cover;border-radius:50%}
html.chipter44 .cc44-friend-name{display:flex;align-items:center;justify-content:center;max-width:100%;min-height:28px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;line-height:1.4;font-size:13px;color:var(--c44-text);text-decoration:none}
html.chipter44 .cc44-friend-name>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* Static backgrounds have no load lifecycle. The upload handler owns its live status. */
html.chipter44 .profile-photo-loader,html.chipter44 .profile-cover-loader,html.chipter44 .preview-people-item .loader{display:none!important}
html.chipter44 .cc44-rank-host{margin:10px 0}html.chipter44 .cc44-rank-host:empty{display:none}
html.chipter44 .cc44-rank{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:36px;padding:6px 12px;border:1px solid var(--c44-line);border-radius:12px;background:var(--c44-surface);color:var(--c44-text);font:600 13px/1.4 system-ui;cursor:pointer}
.cc44-rank small{font-weight:400;color:var(--c44-muted);font-size:11px}.cc44-rank svg,.cc44-rank-current svg{color:var(--rank-color,#819ba4);filter:drop-shadow(0 1px 2px #0002)}
[data-rank=sprout]{--rank-color:#38b98c}[data-rank=bronze]{--rank-color:#c78550}[data-rank=silver]{--rank-color:#8ea9cb}[data-rank=gold]{--rank-color:#d8a53a}[data-rank=legend]{--rank-color:#a480ef}
html.chipter44 .cc44-rank-panel{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:24px;border:1px solid var(--c44-line);border-radius:24px;background:var(--c44-surface);color:var(--c44-text)}
.cc44-rank-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cc44-rank-panel h2{font-size:22px;line-height:1.3;margin:0}.cc44-rank-panel header button{flex:0 0 40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:inherit;font-size:26px}.cc44-rank-panel p{font-size:13px;line-height:1.7;color:var(--c44-muted);margin:16px 0}.cc44-rank-current{display:flex;align-items:center;gap:12px;font-size:23px;margin:20px 0}.cc44-rank-current svg{width:42px;height:42px}.cc44-rank-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cc44-rank-metrics>div{display:grid;gap:3px;border:1px solid var(--c44-line);padding:12px;border-radius:12px}.cc44-rank-metrics strong{font-size:24px}.cc44-rank-metrics span{font-size:12px;color:var(--c44-muted)}.cc44-rank-levels{padding:0;list-style:none;display:grid;gap:8px}.cc44-rank-levels li{border:1px solid var(--c44-line);border-left:3px solid var(--rank-color,#819ba4);border-radius:12px;padding:10px 14px}.cc44-rank-levels p{margin:4px 0;font-size:12px}.cc44-rank-levels [aria-current]{background:color-mix(in srgb,var(--rank-color) 10%,transparent)}
html.chipter44 dialog.cc44-compose{width:min(660px,calc(100vw - 32px));padding:0!important;border:1px solid var(--c44-line)!important;border-radius:24px;max-height:calc(100dvh - 40px);color:var(--c44-text);background:var(--c44-surface);box-shadow:0 24px 100px #0006;box-sizing:border-box;overflow:auto}
html.chipter44 dialog.cc44-compose #dialog-form{padding:0;display:flex;flex-direction:column;min-height:0}
html.chipter44 dialog.cc44-compose header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--c44-line);margin:0;background:transparent}
html.chipter44 dialog.cc44-compose header h2{font-size:20px;margin:0;font-weight:700;letter-spacing:-.4px}html.chipter44 dialog.cc44-compose header button{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--c44-muted);font-size:26px}
html.chipter44 dialog.cc44-compose #dialog-body{padding:24px;display:block;overflow:visible}
.cc44-composer-author{display:flex;align-items:center;gap:12px;margin-bottom:20px}.cc44-composer-author>.avatar{width:44px;height:44px;min-height:44px;border-radius:50%;font-size:18px;background:#124d49;color:#a7f5e6;display:grid;place-items:center}.cc44-composer-author>div{min-width:0;display:grid;gap:4px}.cc44-composer-author strong{font-size:14px;overflow-wrap:anywhere}.cc44-composer-author div>span{font-size:12px;color:var(--c44-muted);display:flex;align-items:center;gap:5px}.cc44-composer-author div>span svg{width:14px;height:14px}
html.chipter44 .cc44-editor{display:block;margin:0}html.chipter44 .cc44-editor textarea{display:block;width:100%;min-height:160px;max-height:320px;box-sizing:border-box;border:0;border-radius:0;padding:0!important;margin:0;resize:none;outline:none;background:transparent!important;color:var(--c44-text);font:400 19px/1.6 system-ui;box-shadow:none!important;white-space:pre-wrap}html.chipter44 .cc44-editor textarea::placeholder{color:var(--c44-muted);opacity:.85}.cc44-editor .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
html.chipter44 .cc44-editor .cc42-draft-state{font-size:11px;color:var(--c44-muted)}html.chipter44 .cc44-editor .cc42-draft-state:empty{display:none}
.cc44-compose-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;border-top:1px solid var(--c44-line);padding-top:12px}.cc44-compose-tools>div{display:flex;align-items:center;gap:4px}.cc44-compose-tools button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:40px;min-height:40px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:var(--c44-accent);font:600 13px system-ui}.cc44-compose-tools output{font-size:12px;color:var(--c44-muted);white-space:nowrap}.cc44-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;overflow:hidden;padding:0!important;pointer-events:none;clip-path:inset(50%)}
.cc44-attachment{position:relative;border:1px solid var(--c44-line);border-radius:16px;overflow:hidden;margin-top:16px;background:#0001}.cc44-attachment img{display:block;width:100%;max-height:270px;object-fit:contain}.cc44-attachment button{position:absolute;right:10px;top:10px;width:36px;height:36px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#101c24e6;color:white;font-size:24px}.cc44-attachment small{display:block;padding:8px 12px;color:var(--c44-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.chipter44 .cc44-compose footer{position:sticky;bottom:0;padding:16px 24px;display:flex;justify-content:flex-end;gap:10px;background:var(--c44-surface);border-top:1px solid var(--c44-line);margin:0}html.chipter44 .cc44-compose footer button{min-height:44px;padding:10px 20px;border:1px solid var(--c44-line);border-radius:12px;background:transparent;color:var(--c44-text);font:650 14px system-ui}html.chipter44 .cc44-compose #dialog-save{background:var(--c44-accent);color:#002c26;border-color:transparent}html.chipter44 .cc44-compose button:disabled{opacity:.45;cursor:default}.cc44-compose-state{font-size:13px;line-height:1.6;color:var(--c44-muted);margin:10px 0 0}.cc44-compose-state:empty{display:none}html.chipter44 dialog.cc44-drop{outline:3px dashed var(--c44-accent);outline-offset:-10px}
@media(max-width:600px){html.chipter44 dialog.cc44-compose{width:100%;max-width:100%;max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:24px 24px 0 0}html.chipter44 dialog.cc44-compose #dialog-body{padding:20px}html.chipter44 dialog.cc44-compose header{padding:16px 20px}html.chipter44 .cc44-compose footer{padding:14px 20px max(14px,env(safe-area-inset-bottom))}.cc44-rank small{display:none}}
@media(prefers-reduced-motion:reduce){html.chipter44 *{scroll-behavior:auto!important}}
/* Override the legacy #dialog form rule, including its !important input skin. */
html.chipter44 dialog.cc44-compose #dialog-body .cc44-editor textarea{border:0!important;border-radius:0!important;background:transparent!important;font:400 19px/1.6 system-ui!important;color:var(--c44-text)!important;padding:0!important}
html.chipter44 dialog.cc44-compose #dialog-body .cc44-file-input{border:0!important}
html.chipter44 .cc44-rank-host{clear:both;display:block;width:100%;text-align:left}
html.chipter44 .cc44-rank-host .cc44-rank{float:none!important;margin:0!important}
