.cwgh-hub,.cwgh-upload,.cwgh-single,.cwgh-message,.cwgh-lock{--cwgh-brand:#6d45ff;box-sizing:border-box;width:min(1180px,calc(100% - 24px));margin:26px auto;padding:clamp(18px,3vw,32px);border:1px solid rgba(17,24,39,.1);border-radius:28px;background:rgba(255,255,255,.86);box-shadow:0 18px 50px rgba(17,24,39,.08);backdrop-filter:blur(14px);color:#1f2430}.cwgh-hub *,.cwgh-upload *,.cwgh-single *{box-sizing:border-box}.cwgh-hub-header{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:20px}.cwgh-hub-header h2,.cwgh-upload h2{margin:0;font-size:clamp(2rem,5vw,3.6rem);line-height:1}.cwgh-hub-header p,.cwgh-upload header p{margin:8px 0 0;color:#656d78}.cwgh-kicker{margin:0 0 7px!important;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem!important;font-weight:900;color:var(--cwgh-brand)!important}.cwgh-primary,.cwgh-action,.cwgh-search button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:2px solid var(--cwgh-brand);border-radius:999px;background:var(--cwgh-brand);color:#fff!important;text-decoration:none!important;font-weight:850;cursor:pointer}.cwgh-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 16px;padding:3px}.cwgh-tabs::-webkit-scrollbar{display:none}.cwgh-tabs a{flex:none;padding:9px 14px;border:1px solid rgba(17,24,39,.12);border-radius:999px;background:#fff;color:#303643;text-decoration:none;font-size:.85rem;font-weight:800}.cwgh-tabs a.is-active{border-color:var(--cwgh-brand);background:var(--cwgh-brand);color:#fff}.cwgh-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px) auto;gap:10px;margin-bottom:22px}.cwgh-search input,.cwgh-search select,.cwgh-upload-form input,.cwgh-upload-form select,.cwgh-upload-form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid rgba(17,24,39,.18);border-radius:12px;background:#fff;color:#20242b}.cwgh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.cwgh-card{min-width:0;overflow:hidden;border:1px solid rgba(17,24,39,.1);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(17,24,39,.06)}.cwgh-card-media{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#eef0f5}.cwgh-media{display:block;width:100%;height:100%;object-fit:cover}.cwgh-badge{position:absolute;left:10px;top:10px;padding:6px 9px;border-radius:999px;background:rgba(17,24,39,.82);color:#fff;font-size:.68rem;font-weight:900}.cwgh-badge.is-member{left:auto;right:10px;background:var(--cwgh-brand)}.cwgh-card-body{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 13px 9px}.cwgh-card h3{margin:0;font-size:1rem;line-height:1.2}.cwgh-card h3 a{color:inherit;text-decoration:none}.cwgh-category{display:block;margin-top:4px;color:#777f8a;font-size:.74rem}.cwgh-favorite{flex:none;width:34px;height:34px;padding:0;border:1px solid rgba(17,24,39,.12);border-radius:50%;background:#fff;color:#a2a8b2;font-size:1rem;cursor:pointer}.cwgh-favorite.is-active{border-color:#ff3d92;background:#fff0f7;color:#ff3d92}.cwgh-card-actions{display:flex;flex-wrap:wrap;gap:7px;padding:0 13px 14px}.cwgh-action{min-height:34px;padding:6px 10px;border-width:1px;background:#fff;color:var(--cwgh-brand)!important;font-size:.72rem}.cwgh-action.is-primary{background:var(--cwgh-brand);color:#fff!important}.cwgh-locked-media{display:grid;place-items:center;font-size:2.2rem}.cwgh-pagination{display:flex;justify-content:center;gap:7px;margin-top:24px}.cwgh-pagination a{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#333;text-decoration:none;font-weight:800}.cwgh-pagination a.is-active{background:var(--cwgh-brand);color:#fff}.cwgh-empty,.cwgh-message,.cwgh-lock{text-align:center}.cwgh-empty{padding:42px 16px;border:1px dashed rgba(17,24,39,.18);border-radius:18px}.cwgh-upload header{margin-bottom:20px}.cwgh-upload-form{display:grid;gap:15px}.cwgh-upload-form label>span{display:block;margin-bottom:6px;font-weight:800}.cwgh-upload-form small{display:block;margin-top:5px;color:#747b86}.cwgh-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cwgh-form-checks{display:flex;flex-direction:column;justify-content:center;gap:10px}.cwgh-notice{margin-bottom:16px;padding:12px 14px;border:1px solid #b9dfc5;border-radius:12px;background:#effaf2;color:#176638;font-weight:800}.cwgh-single{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:26px;align-items:start}.cwgh-single-media{width:100%;height:auto;max-height:72vh;object-fit:contain;border-radius:18px;background:#111}.cwgh-single-copy{padding:4px}.cwgh-admin-thumb{width:74px;height:58px;object-fit:cover;border-radius:8px}@media(max-width:980px){.cwgh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.cwgh-hub,.cwgh-upload,.cwgh-single,.cwgh-message,.cwgh-lock{width:calc(100% - 10px);margin:8px auto;padding:14px;border-radius:20px}.cwgh-hub-header{align-items:flex-start;flex-direction:column}.cwgh-search{grid-template-columns:1fr}.cwgh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cwgh-card{border-radius:15px}.cwgh-form-row,.cwgh-single{grid-template-columns:1fr}.cwgh-card-actions{padding:0 9px 10px}.cwgh-card-body{padding:10px 10px 7px}.cwgh-action{flex:1 1 auto}}@media(max-width:420px){.cwgh-grid{grid-template-columns:1fr 1fr}.cwgh-card h3{font-size:.9rem}.cwgh-action{font-size:.66rem;padding:5px 7px}}

/* 1.1.1 — demo gallery and shared-overlay compatible comments picker */
.cwgh-comment-tools{--cwgh-brand:#6d45ff;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 16px}.cwgh-comment-gif-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:2px solid var(--cwgh-brand);border-radius:999px;background:#fff;color:var(--cwgh-brand);font:inherit;font-size:.84rem;font-weight:900;cursor:pointer}.cwgh-comment-gif-button>span:first-child{display:grid;place-items:center;min-width:28px;height:24px;padding:0 5px;border-radius:6px;background:var(--cwgh-brand);color:#fff;font-size:.7rem;letter-spacing:.03em}.cwgh-comment-selected{display:flex;align-items:center;gap:10px;min-width:min(100%,360px);padding:8px 10px;border:1px solid color-mix(in srgb,var(--cwgh-brand) 35%,#dfe2e8);border-radius:14px;background:color-mix(in srgb,var(--cwgh-brand) 6%,#fff)}.cwgh-comment-selected[hidden]{display:none!important}.cwgh-comment-selected-media{flex:0 0 58px;width:58px;height:58px;overflow:hidden;border-radius:10px;background:#111}.cwgh-comment-selected-media img,.cwgh-comment-selected-media video{display:block;width:100%;height:100%;object-fit:cover}.cwgh-comment-selected-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.cwgh-comment-selected-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cwgh-comment-selected-copy span{color:#6f7681;font-size:.72rem}.cwgh-comment-selected-remove{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:rgba(17,24,39,.08);color:#252a33;font-size:1.3rem;line-height:1;cursor:pointer}.cwgh-comment-picker{--cwgh-brand:#6d45ff;position:fixed;z-index:12000;inset:0;display:grid;place-items:center;padding:14px}.cwgh-comment-picker[hidden]{display:none!important}.cwgh-comment-picker-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(13,15,22,.64);backdrop-filter:blur(5px);cursor:pointer}.cwgh-comment-picker-dialog{position:relative;display:flex;flex-direction:column;width:min(900px,calc(100vw - 22px));max-height:min(780px,calc(100vh - 22px));overflow:hidden;border:1px solid rgba(255,255,255,.42);border-radius:26px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.35);color:#20242c}.cwgh-comment-picker-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px 12px}.cwgh-comment-picker-header h2{margin:0;font-size:clamp(1.35rem,3vw,2rem)}.cwgh-comment-picker-kicker{margin:0 0 3px;color:var(--cwgh-brand);font-size:.7rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.cwgh-comment-picker-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid rgba(17,24,39,.12);border-radius:50%;background:#fff;color:#252a33;font-size:1.65rem;line-height:1;cursor:pointer}.cwgh-comment-picker-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 20px 12px}.cwgh-comment-picker-search input{width:100%;min-height:44px;padding:10px 13px;border:1px solid rgba(17,24,39,.18);border-radius:12px;background:#fff;color:#20242c;font:inherit}.cwgh-comment-picker-search button{min-height:44px;padding:9px 16px;border:0;border-radius:12px;background:var(--cwgh-brand);color:#fff;font:inherit;font-weight:850;cursor:pointer}.cwgh-comment-picker-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 20px 12px;scrollbar-width:none}.cwgh-comment-picker-tabs::-webkit-scrollbar{display:none}.cwgh-comment-picker-tabs button{flex:none;padding:8px 12px;border:1px solid rgba(17,24,39,.12);border-radius:999px;background:#fff;color:#303643;font:inherit;font-size:.78rem;font-weight:850;cursor:pointer}.cwgh-comment-picker-tabs button.is-active{border-color:var(--cwgh-brand);background:var(--cwgh-brand);color:#fff}.cwgh-comment-picker-status{min-height:20px;margin:0;padding:0 20px 8px;color:#717784;font-size:.78rem}.cwgh-comment-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow:auto;padding:0 20px 20px}.cwgh-comment-picker-item{position:relative;display:block;min-width:0;aspect-ratio:1/1;overflow:hidden;padding:0;border:2px solid transparent;border-radius:14px;background:#edf0f5;cursor:pointer}.cwgh-comment-picker-item:hover,.cwgh-comment-picker-item:focus-visible{border-color:var(--cwgh-brand);outline:none}.cwgh-comment-picker-item img,.cwgh-comment-picker-item video{display:block;width:100%;height:100%;object-fit:cover}.cwgh-comment-picker-item span{position:absolute;right:6px;bottom:6px;left:6px;overflow:hidden;padding:5px 7px;border-radius:8px;background:rgba(12,15,22,.74);color:#fff;font-size:.65rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.cwgh-comment-picker-empty{grid-column:1/-1;padding:34px 14px;text-align:center;color:#747b86}.cwgh-comment-gif{display:block;width:min(100%,360px);margin:10px 0 2px}.cwgh-comment-gif a{display:block;overflow:hidden;border-radius:16px;background:#111;box-shadow:0 8px 24px rgba(17,24,39,.1)}.cwgh-comment-gif-media{display:block;width:100%;max-height:360px;object-fit:contain;background:#111}.cwgh-comment-gif.is-locked{padding:10px 12px;border:1px solid rgba(17,24,39,.12);border-radius:12px;background:rgba(17,24,39,.05);color:#5f6671;font-size:.82rem;font-weight:800}.cwgh-comment-picker-open{overflow:hidden}@media(max-width:760px){.cwgh-comment-picker{align-items:end;padding:0}.cwgh-comment-picker-dialog{width:100%;max-height:88vh;border-radius:24px 24px 0 0}.cwgh-comment-picker-header{padding:15px 15px 10px}.cwgh-comment-picker-search{padding:0 15px 10px}.cwgh-comment-picker-tabs{padding:0 15px 10px}.cwgh-comment-picker-status{padding:0 15px 7px}.cwgh-comment-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 18px}.cwgh-comment-tools{margin-bottom:13px}.cwgh-comment-selected{width:100%}.cwgh-comment-gif{width:min(100%,320px)}}

.cwgh-hub.is-demo .cwgh-hub-header .cwgh-primary,.cwgh-hub.is-demo .cwgh-card-actions,.cwgh-hub.is-demo .cwgh-favorite{display:none!important}.cwgh-hub.is-demo .cwgh-card-body{padding-bottom:15px}
