/* Community layer: real text, quiet charcoal surfaces and translucent blue actions. */
.cgwind-site :is(.cg-publish,.cg-vip) { background:rgba(35,128,215,.25)!important; border:1px solid #54b5f55e; color:#fff!important; box-shadow:inset 0 1px #ffffff12; }
.cgwind-site :is(.cg-publish,.cg-vip):hover { background:rgba(35,128,215,.42)!important; border-color:#6bcaff; }
.cgwind-site :is(.cg-publish,.cg-vip) .cg-icon { color:#8dd4ff; }
/* Cover embedded image lettering completely. Only the artwork at the right is exposed. */
.cgwind-site .cg-category { background-image:linear-gradient(90deg,#1b1d20 0 66%,#1b1d20cc 76%,#1b1d2044),var(--cg-category-art,url(category-model.webp))!important; background-size:100% 100%,var(--cg-category-size,100% 100%)!important; background-position:0 0,var(--cg-category-position,center)!important; min-height:70.5px; aspect-ratio:16/3; padding:10px 14px; gap:10px; }
.cgwind-site .cg-category>* { opacity:1!important; visibility:visible!important; }
.cgwind-site .cg-category>span:not(.cg-category-icon) { flex:1; min-width:0; }
.cgwind-site .cg-category strong { font-size:clamp(16px,1.6vw,20px); line-height:1.2; letter-spacing:.04em; font-weight:700; }
.cgwind-site .cg-category small { font-size:12px; line-height:1.4; color:#c2c8ce; margin-top:3px; white-space:normal; }
.cgwind-site .cg-category-icon { width:32px; min-width:32px; }
.cgwind-site .cg-category-icon .cg-icon { width:32px; height:32px; }
.cgwind-site .cg-category-browser--account { --cg-category-text:#f2f0ec; --cg-category-muted:#c2c8ce; grid-template-columns:repeat(6,minmax(0,1fr)); }
.cgwind-site .cg-category-browser--account .cg-category { grid-column:auto; color:var(--cg-category-text); }
.cgwind-site .cg-category-browser--account .cg-category small { color:var(--cg-category-muted); }
.cgwind-site .cg-category:focus-visible { outline:2px solid var(--cg-primary)!important; outline-offset:3px; }
.cgwind-site .cg-category--account { cursor:pointer; }
.cgwind-site .cg-category--account strong { letter-spacing:0; white-space:nowrap; }
.cgwind-site .cg-category--account .cg-category-icon { color:var(--cg-publish-accent,#6bcaff); }
@media(max-width:1200px) { .cgwind-site .cg-category { padding:10px 12px; gap:8px; } .cgwind-site .cg-category small { font-size:11px; } .cgwind-site .cg-category-icon { width:28px; min-width:28px; } .cgwind-site .cg-category-icon .cg-icon { width:28px; height:28px; } }
@media(max-width:1100px) { .cgwind-site .cg-category-browser { grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:10px; } }
@media(max-width:560px) { .cgwind-site .cg-category-browser { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:9px; } .cgwind-site .cg-category { padding:8px; gap:6px; } .cgwind-site .cg-category small { font-size:10px; } .cgwind-site .cg-category-icon { width:24px; min-width:24px; } .cgwind-site .cg-category-icon .cg-icon { width:24px; height:24px; } .cgwind-site .cg-category>.cg-icon { width:12px; flex:none; } }
.cg-category--model { color:#eee; }
.cg-side-category-art { background-image:linear-gradient(90deg,#1b1d20 0 70%,#1b1d20b3 83%,#1b1d2044),var(--cg-category-art,url(category-model.webp))!important; background-size:100% 100%,var(--cg-category-size,100% 100%)!important; background-position:0 0,var(--cg-category-position,center)!important; display:flex; align-items:center; gap:12px; padding:14px 29px 14px 12px; min-height:84px; aspect-ratio:auto; }
.cg-side-category-icon { flex:none; color:var(--category-accent,#ddd); }
.cg-side-category-icon .cg-icon { width:33px; height:33px; }
.cg-side-category-copy strong { display:block; font-size:18px; color:#f5f5f7; font-weight:650; }
.cg-side-category-copy small { display:block; font-size:10px; color:#c2c8ce; margin-top:6px; white-space:nowrap; }
.cg-side-motion { --category-accent:#ff7045; }.cg-side-scene { --category-accent:#08d7bd; }.cg-side-fx { --category-accent:#bd4cff; }.cg-side-other { --category-accent:#ffbd58; }
.cg-card-tags { display:flex; flex:1; justify-content:flex-end; margin-left:auto; gap:5px; min-width:0; overflow:hidden; }
.cg-card-tags a { display:block; width:auto; height:auto; flex:0 1 auto; background:#ffffff08; border:1px solid #ffffff0c; padding:3px 5px; border-radius:4px; font-size:11px; max-width:90px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; color:var(--cg-muted); }
/* Four supplied label images; visual height stays below the author avatar. */
.cg-role-badge { position:relative; display:inline-flex; flex:none; width:calc(var(--cg-badge-size,20px) * 3.6); height:var(--cg-badge-size,20px); max-width:none; max-height:23px; border:0; border-radius:0; cursor:help; }
.cg-role-art { display:block; width:100%; height:100%; overflow:hidden; border-radius:0; }
.cg-role-badge .cg-role-art img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 43%; border-radius:0; }
.cg-role-tip { display:none; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); background:#31363e; color:white; padding:5px 9px; white-space:nowrap; border-radius:5px; font-size:12px; z-index:8; }
.cg-role-badge:hover .cg-role-tip,.cg-role-badge:focus .cg-role-tip { display:block; }
.cg-role-badge.cg-author-tier { width:auto; align-items:center; gap:4px; color:var(--cg-text); cursor:default; white-space:nowrap; font-size:12px; line-height:1.2; }
.cg-role-badge.cg-author-tier>img { display:block; width:var(--cg-badge-size,20px); height:var(--cg-badge-size,20px); flex:none; object-fit:contain; border-radius:0; }
.cg-card-meta .cg-author { margin-right:auto; flex:1 1 auto; }
/* Cover and text heights follow the shared 2.5:1.5 card proportion. */
.cgwind-site .cg-card { container-type:inline-size; }
.cgwind-inner .cg-feed { container-type:inline-size; }
.cgwind-inner .cg-feed .cg-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@container(min-width:1160px) { .cgwind-inner .cg-feed .cg-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@container(max-width:559px) { .cgwind-inner .cg-feed .cg-grid { grid-template-columns:minmax(0,1fr); } }
.cgwind-site .cg-card-image { aspect-ratio:16/9; }
.cgwind-site .cg-card-body { aspect-ratio:80/27; display:flex; flex-direction:column; justify-content:space-between; gap:2px; padding:clamp(5px,2cqw,9px) clamp(10px,3.5cqw,14px); }
.cgwind-site .cg-card-body h3 { min-height:0; margin:0; font-size:clamp(13px,4cqw,15px); line-height:1.35; -webkit-line-clamp:1; }
.cgwind-site .cg-card-summary { min-height:0; margin:0; gap:8px; }
.cgwind-site .cg-card-price { font-size:clamp(13px,4cqw,16px); line-height:1.2; }
.cgwind-site .cg-card-time { font-size:clamp(11px,3cqw,12px); line-height:1.4; }
.cgwind-site .cg-card-tags { flex:0 0 auto; }
.cgwind-site .cg-card-tags a { font-size:clamp(10px,2.8cqw,11px); line-height:1.2; padding:1px 4px; }
.cgwind-site .cg-card-meta { gap:8px; font-size:clamp(11px,3cqw,12px); line-height:1.4; }
.cgwind-site .cg-card-meta .cg-author img { width:18px; height:18px; }
.cgwind-site .cg-card-meta svg { width:13px; height:13px; }
@container(max-width:239px) {
  .cgwind-home .cg-card-body { padding:4px 8px; gap:1px; }
  .cgwind-home .cg-card-body h3 { font-size:12px; line-height:1.3; }
  .cgwind-home .cg-card-price { font-size:12px; }
  .cgwind-home .cg-card-time { font-size:10px; line-height:1.3; }
  .cgwind-home .cg-card-tags a { font-size:9px; padding:1px 3px; }
  .cgwind-home .cg-card-meta .cg-author img { width:16px; height:16px; }
}
.cg-user-surface .cg-page-banner { min-height:230px; background:none; position:relative; isolation:isolate; }
.cg-user-surface .cg-page-banner:before { content:''; position:absolute; inset:-75px 0 -110px; z-index:-1; background:url(community/user-studio.webp) center 45%/cover no-repeat; opacity:.65; mask-image:linear-gradient(0deg,transparent,#000 25% 74%,transparent),linear-gradient(90deg,transparent,#000 10% 90%,transparent); mask-composite:intersect; }
.cg-user-surface .author-header .page-cover { height:320px; }
.cg-user-surface .author-header .page-cover img { mask-image:linear-gradient(0deg,transparent,#000 25% 75%,transparent),linear-gradient(90deg,transparent,#000 12% 88%,transparent); mask-composite:intersect; }
.cgwind-site .posts-filter,.cgwind-site .post-filter { display:none; }
/* Publishing units */
.cg-publish-intro h1 { font-size:32px; font-weight:750; letter-spacing:.08em; color:#7cd2ff; margin:0 0 15px; }
.cg-publish-intro h1:before { content:''; display:inline-block; width:5px; height:28px; margin-right:13px; border-radius:3px; background:#51baff; vertical-align:-3px; }
.cg-required { color:#ff7777; margin-left:5px; font-weight:700; }
.cg-cover-uploader { min-height:210px; padding:30px; border:1px dashed #6bcaff55; border-radius:9px; background:linear-gradient(135deg,#3287cf10,#1c1e22); text-align:center; }
.cg-cover-stage img { max-width:100%; max-height:300px; border-radius:8px; display:block; margin:0 auto 18px; }
.cg-cover-stage p { padding:30px 0 18px; font-size:13px; color:var(--cg-muted); }
.cg-access-fields { margin-top:18px; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cg-access-fields[hidden] { display:none; }
.cg-required-tag { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.cg-tag-presets { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.cg-tag-presets button { min-height:30px; padding:4px 10px; font-size:12px; }
.cg-tag-presets button[aria-pressed=true] { border-color:#76c9ff!important; background:#1969a457!important; }
.cg-publish-actions>.cg-preview-button { display:block; width:calc(50% - 6px); margin-top:12px; }
.cg-validation-dialog { width:min(420px,92vw); border:1px solid #617380; border-radius:12px; background:#22262b; color:white; padding:25px; }
.cg-validation-dialog::backdrop { background:#0009; }
.cg-validation-dialog h2 { font-size:20px; color:#7cd2ff; }.cg-validation-dialog p { margin:16px 0 22px; font-size:14px; }
.cg-validation-dialog button { background:#267dc44f; color:white; border:1px solid #499de85c; padding:10px 20px; border-radius:7px; }
.cgwind-site.page-template-newposts .cg-schedule-toggle input:after { display:none!important; }
/* Shared Zibll media adapter: 16 rectangular cards per page. */
.cg-card-price { display:flex; justify-content:flex-end; margin:0 0 12px; color:var(--cg-primary); font:600 16px/1.5 var(--cg-body); font-variant-numeric:tabular-nums; }
.cg-card-price.is-free { color:var(--cg-publish-accent,#6bcaff); font-size:14px; }
.cg-media-modal .modal-dialog { width:min(1000px,94vw)!important; max-width:1000px; }
.cg-media-modal .modal-content { background:#202328; color:#f2f4f7; border:1px solid #435363; border-radius:12px; padding:8px 12px; }
.cg-media-modal .cg-media-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:8px 0; max-height:68vh; overflow:auto; }
.cg-media-modal .cg-media-grid>.list-item { width:100%!important; margin:0!important; height:auto!important; aspect-ratio:auto!important; cursor:pointer; border-radius:8px; border:1px solid #444c56; background:#292f36; overflow:hidden; }
.cg-media-modal .list-box { display:block!important; width:100%; height:100%; padding:0!important; }
.cg-media-thumb { aspect-ratio:16/9; width:100%; position:relative; display:flex; align-items:center; justify-content:center; background:#13171d; }
.cg-media-thumb img,.cg-media-thumb video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cg-media-name { display:block; padding:8px 10px; font-size:12px; line-height:1.5; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.cg-media-unavailable { color:#9ba8b6; font-size:12px; }
.cg-media-page { grid-column:1/-1; display:flex; justify-content:center; gap:14px; align-items:center; padding:12px; }
.cg-media-page button,.cg-media-modal .but { border:1px solid #499de85c; background:#237dce40; color:#fff; border-radius:6px; padding:7px 13px; }
.cg-media-page button:disabled { opacity:.4; cursor:not-allowed; }
.cg-media-modal .loading-box,.cg-media-modal .null-box { grid-column:1/-1; }
.cg-media-modal .list-item:focus-visible { outline:2px solid #66c7ff; outline-offset:2px; }
@media(max-width:700px) { .cg-media-modal .cg-media-grid { gap:6px; }.cg-media-name { padding:6px; font-size:10px; }.cg-category strong { font-size:17px; }.cg-access-fields { grid-template-columns:1fr; }.cg-user-surface .author-header .page-cover { height:240px; } }

.cgwind-site .cg-category::before { display:none!important; }
.cg-media-modal .list-box { height:auto!important; }
.cg-media-thumb { height:clamp(60px,9vh,108px); aspect-ratio:auto; }
.cg-media-modal .cg-media-name { padding-block:6px; }
.cg-media-modal .cg-media-page { padding:6px; }
.cg-user-surface .author-header .page-cover { background:url(community/user-studio.webp) center/cover no-repeat; mask-image:linear-gradient(0deg,transparent,#000 25% 75%,transparent),linear-gradient(90deg,transparent,#000 8% 92%,transparent); mask-composite:intersect; }
.cg-user-surface .author-header .page-cover img { opacity:0; }
.cg-user-surface .sign { position:relative; }
.cg-user-surface.page-template-user-sign:before { content:''; position:fixed; inset:0; z-index:-1; background:linear-gradient(0deg,#161719,transparent 35% 65%,#161719),linear-gradient(90deg,#161719,transparent 20% 80%,#161719),url(community/user-studio.webp) center/cover; opacity:.7; }
.cgwind-site.page-template-newposts .cg-schedule-toggle input[type=checkbox]:checked { background-color:rgba(30,143,233,.45)!important; border:1px solid #6bcaff!important; }

/* The personal cover is part of the page canvas, without a second banner or frame. */
.cg-user-surface .author-header { position:relative; isolation:isolate; overflow:visible; background:transparent; border:0; border-radius:0; box-shadow:none; }
.cg-user-surface .author-header:before { content:''; position:absolute; z-index:-1; top:-55px; bottom:-25px; left:calc((100% - 100vw)/2); width:100vw; background:var(--cg-user-art,url(community/user-studio.webp)) center 40%/cover no-repeat; mask-image:linear-gradient(0deg,transparent,#000 var(--cg-user-fade,25%) 75%,transparent),linear-gradient(90deg,transparent,#000 10% 90%,transparent); mask-composite:intersect; pointer-events:none; }
.cg-user-surface .author-header .page-cover { background:none; mask-image:none; border-radius:0; }
.cg-user-surface .author-header .user-avatar { position:relative; }
.cg-user-surface .author-header .user-info { background:transparent; }
.cgwind-site.page-template-newposts { --cg-edit-blue:var(--cg-publish-accent,#6bcaff); --cg-edit-button:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 24%,transparent); }
.cgwind-site :is(.cg-publish,.cg-vip) { background:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 24%,transparent)!important; border-color:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 38%,transparent); }
.cg-user-surface .author-header .user-name { text-shadow:0 2px 8px #000b; }
.cg-publish-intro h1 { color:var(--cg-publish-accent,#6bcaff); }
.cg-publish-section .cg-heading-copy { min-width:0; flex:1; }
.cg-publish-section .cg-heading-copy p { margin:7px 0 0; color:var(--cg-muted); font:13px/1.8 var(--cg-body); }
.cg-price-note { margin:18px 0 0; text-align:left; color:var(--cg-muted); font:12px/1.8 var(--cg-body); }
.cg-screenshot-actions { margin-top:20px; }
.cg-preset-name { display:block; max-width:480px; margin-top:16px; color:var(--cg-muted); font-size:13px; }
.cg-drive-row legend.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.cgwind-site.page-template-newposts .drop-btn { display:flex; align-items:center; gap:8px; text-align:left; }
.cgwind-site.page-template-newposts .drop-btn>:last-child { margin-left:auto; }
.cgwind-site.page-template-newposts #cg-publish-actions :is([action="posts_draft"],.cg-preview-button) { background:rgba(145,150,158,.16)!important; border-color:#a4abb43d!important; color:#eef0f3!important; }
.cgwind-site.page-template-newposts #cg-publish-actions :is([action="posts_draft"],.cg-preview-button):hover { background:rgba(145,150,158,.28)!important; border-color:#a4abb470!important; }
.cg-media-modal .cg-media-video-text .list-box { height:100%!important; min-height:clamp(82px,11vh,120px); display:flex!important; align-items:center; justify-content:center; background:#181d23; }
.cg-media-video-copy { width:100%; padding:14px 12px; text-align:center; }
.cg-media-video-copy time { display:block; font-size:12px; color:#8da5bb; margin-bottom:9px; }
.cg-media-original { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; color:#edf1f5; font:13px/1.6 var(--cg-body); }
.cg-media-video-text:is(:hover,:focus-visible) .list-box { background:#223142; }
@media(max-width:700px) { .cg-media-video-copy { padding:10px 5px; }.cg-media-original,.cg-media-video-copy time { font-size:10px; } }

.cg-card-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; min-height:24px; }
.cg-card-summary .cg-card-price { margin:0; margin-left:auto; }
.cg-card-time { color:var(--cg-muted); font:12px/1.6 var(--cg-body); white-space:nowrap; }
.cgwind-site.page-template-newposts .cg-cover-uploader:has(.cg-cover-stage img) { padding:0 0 18px; overflow:hidden; }
.cgwind-site.page-template-newposts :is(.cg-cover-stage:has(img),#cg-video-stage:has(video)) { width:100%; aspect-ratio:16/9; overflow:hidden; border-radius:8px; background:#111; margin:0 0 18px; }
.cgwind-site.page-template-newposts :is(.cg-cover-stage img,#cg-video-stage video) { display:block; width:100%!important; height:100%!important; max-width:none!important; max-height:none!important; object-fit:cover; margin:0; border-radius:0; }
.cgwind-site.page-template-newposts #cg-video-uploader:has(video) { padding:0 0 18px; overflow:hidden; }
.cg-publication-result { padding-top:48px; padding-bottom:72px; }
.cg-result-panel { max-width:760px; margin:0 auto; padding:44px 32px; text-align:center; background:var(--cg-surface); border:1px solid var(--cg-border); border-radius:12px; }
.cg-result-symbol { width:64px; height:64px; border-radius:50%; margin:0 auto 22px; display:grid; place-items:center; color:var(--cg-publish-accent,#6bcaff); background:#3287cf24; }
.cg-result-symbol svg { width:34px; height:34px; }
.cg-result-panel h1 { font:600 28px/1.5 var(--cg-body); color:var(--cg-publish-accent,#6bcaff); margin:0 0 14px; }
.cg-result-description { color:var(--cg-muted); font:14px/1.8 var(--cg-body); }
.cg-result-title { overflow-wrap:anywhere; font-size:18px; margin:24px 0 12px; }
.cg-result-date { font-size:14px; line-height:1.8; }
.cg-result-date time { display:block; color:var(--cg-publish-accent,#6bcaff); margin-top:6px; }
.cg-result-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:30px; }
.cg-result-actions a { display:inline-flex; align-items:center; justify-content:center; padding:10px 18px; min-height:42px; border:1px solid #a4abb43d; border-radius:7px; background:#92969e29; color:var(--cg-text); font:500 14px/1.5 var(--cg-body); }
.cg-result-actions .cg-result-primary { border-color:#6bcaff66; background:#3287cf40; }
.cg-result-actions a:focus-visible { outline:2px solid var(--cg-publish-accent,#6bcaff); outline-offset:3px; }
@media(max-width:600px) { .cg-publication-result { padding-top:24px; padding-bottom:40px; }.cg-result-panel { padding:28px 18px; }.cg-result-panel h1 { font-size:22px; }.cg-result-actions { gap:8px; }.cg-result-actions a { flex:1 1 auto; } }
.cgwind-site .cg-resource-parameters { margin:24px 0 30px; }
.cgwind-site .cg-resource-parameters dl { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
.cgwind-site .cg-resource-parameters .cg-parameter-item { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:baseline; gap:12px; padding:7px 0; border-bottom:1px solid var(--cg-border); }
.cgwind-site .cg-resource-parameters dt { margin:0; font:400 13px/1.7 var(--cg-body); }
.cgwind-site .cg-resource-parameters dd { font:500 14px/1.7 var(--cg-body); }
.cgwind-site .cg-resource-parameters dd a { display:inline-block; margin:2px 5px 2px 0; padding:3px 9px; border:1px solid var(--cg-border); border-radius:5px; font-size:12px; background:#6bcaff0b; }
.cgwind-site.single-post :is(video.cg-detail-preview,.cg-detail-player) { display:block; width:75%!important; margin-left:0!important; margin-right:auto!important; float:none!important; align-self:flex-start!important; max-width:100%; }
.cgwind-site.single-post .cg-detail-player { height:auto!important; padding-bottom:0!important; aspect-ratio:16/9; }
.cgwind-site.single-post video.cg-detail-preview { height:auto!important; max-height:none!important; aspect-ratio:16/9; object-fit:cover; background:#101215; border-radius:8px; }
.cgwind-site.single-post .cg-detail-player video { width:100%!important; }
/* Article media owns alignment, including old editor classes and inline styles. */
.cgwind-site.single-post :is(.cg-detail-media-left img,img.cg-detail-media-left,.cg-detail-media-left video,video.cg-detail-media-left) { display:block!important; float:none!important; margin-left:0!important; margin-right:auto!important; align-self:flex-start!important; max-width:100%!important; height:auto!important; }
.cgwind-site.single-post :is(.cg-detail-media-left:has(img,video,.cg-detail-player),.cg-detail-media-left :is(p,div,figure,a,picture):has(img,video,.cg-detail-player)) { float:none!important; margin-left:0!important; margin-right:auto!important; text-align:left!important; justify-content:flex-start!important; align-items:flex-start!important; max-width:100%; }
.cg-quick-preview { padding:18px; border:1px solid var(--cg-border); border-radius:10px; background:var(--cg-surface); }
.cg-quick-preview h2 { font:600 16px/1.5 var(--cg-body); margin:0 0 16px; }
.cg-quick-preview h3 { color:var(--cg-publish-accent,#6bcaff); font:600 14px/1.5 var(--cg-body); margin:0 0 8px; }
.cg-quick-preview p { margin:0; overflow-wrap:anywhere; }
.cg-quick-preview-section+.cg-quick-preview-section { border-top:1px solid var(--cg-border); padding-top:12px; margin-top:12px; }
.cg-quick-preview ul { margin:0; padding-left:18px; font-size:13px; }
.cg-quick-preview li { margin:4px 0; overflow-wrap:anywhere; }
.cgwind-site.single-post #posts-pay .pay-thumb .graphic { height:auto!important; padding-bottom:0!important; aspect-ratio:16/9; overflow:hidden; }
.cgwind-site.single-post #posts-pay .pay-thumb .graphic img { width:100%; height:100%; object-fit:cover; }
.cgwind-site .cg-drive-download+.cg-drive-download { margin-top:22px; padding-top:18px; border-top:1px solid var(--cg-border); }
.cgwind-site .cg-drive-download-name { font-weight:600; margin:0 0 8px; }
.cgwind-site .cg-drive-download-text { margin:0; white-space:normal; overflow-wrap:anywhere; line-height:1.8; }
.cgwind-site .cg-drive-address { white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.cgwind-site .cg-drive-address:focus-visible { outline:2px solid var(--cg-publish-accent,#6bcaff); outline-offset:3px; }
.cgwind-site .cg-drive-gate { padding:14px 0; text-align:left; }
.cgwind-site .cg-drive-gate .cg-drive-reveal { display:inline-flex; justify-content:center; align-items:center; min-width:170px; min-height:42px; max-width:100%; padding:8px 16px; border:1px solid var(--cg-publish-accent,#6bcaff); border-radius:7px; font:inherit; color:var(--cg-text); background:var(--cg-surface); cursor:pointer; }
.cgwind-site .cg-drive-gate .cg-drive-reveal:hover:not(:disabled) { color:var(--cg-publish-accent,#6bcaff); }
.cgwind-site .cg-drive-gate .cg-drive-reveal:focus-visible { outline:2px solid var(--cg-publish-accent,#6bcaff); outline-offset:3px; }
.cgwind-site .cg-drive-gate .cg-drive-reveal:disabled { cursor:default; opacity:.65; }
.cgwind-site .cg-drive-feedback { min-height:1.8em; margin:8px 0 0; color:var(--cg-muted); font-size:13px; line-height:1.8; }
.cgwind-site .cg-drive-result:not([hidden]) { margin-top:16px; }
.cgwind-site .cg-drive-result[hidden] { display:none; }
.cgwind-site .cg-post-section[data-cg-section=download] .hidden-box { margin-top:18px; }
.cgwind-site .cg-post-section[data-cg-section=download] .hidden-box p { text-align:left; }
@media(max-width:800px) { .cgwind-site .cg-resource-parameters dl { grid-template-columns:1fr; }.cgwind-site .cg-resource-parameters .cg-parameter-item { grid-template-columns:100px minmax(0,1fr); } }

/* Shared module headings: plain blue text, including legacy article headings. */
.cgwind-site { --cg-section-heading:var(--cg-publish-accent,#6bcaff); }
.cgwind-site:not(.dark-theme) { --cg-section-heading:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 55%,#003867); }
.cgwind-site.single-post :is(.wp-posts-content,.sidebar) :is(h1,h2,h3,h4,h5,h6,.title-theme) { color:var(--cg-section-heading)!important; border:0!important; background:none!important; box-shadow:none!important; text-decoration:none!important; padding-left:0!important; }
.cgwind-site.single-post :is(.wp-posts-content,.sidebar) :is(h1,h2,h3,h4,h5,h6,.title-theme)::before,
.cgwind-site.single-post :is(.wp-posts-content,.sidebar) :is(h1,h2,h3,h4,h5,h6,.title-theme)::after { display:none!important; }
.cgwind-site.single-post :is(.wp-posts-content,.sidebar) :is(h1,h2,h3,h4,h5,h6,.title-theme) :is(a,span) { color:inherit!important; text-decoration:none!important; border-bottom:0!important; box-shadow:none!important; }
.cgwind-site.single-post :is(.wp-posts-content,.sidebar) :is(h1,h2,h3,h4,h5,h6,.title-theme)>span:empty { display:none!important; }

/* Personal center cover: preserve the artwork while removing empty height. */
.cg-account-center .author-header .page-cover { height:clamp(160px,12vw,200px); padding-bottom:0; }
.cg-account-center .author-header:before { top:-24px; bottom:-18px; }
/* Author articles use one compact cover, followed by list navigation. */
.cg-author-page .author-header .page-cover { height:clamp(120px,10vw,180px); padding-bottom:0; }
.cg-author-page .author-header:before { top:-24px; bottom:-18px; }
.cg-account-logout { display:block; width:calc(25% - 10px); min-width:50px; max-width:100px; margin:5px; border-radius:6px; color:inherit; cursor:pointer; }
.cg-account-logout .cg-icon { width:1em; height:1em; color:var(--cg-publish-accent,#6bcaff); }
.cg-account-logout:hover { color:var(--cg-text)!important; background:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 12%,transparent); }
.cgwind-site :is(.cg-account-logout,.cg-author-back,.cg-message-read-all,#cg-message-read-confirm .cg-dialog-actions button):focus-visible { outline:2px solid var(--cg-publish-accent,#6bcaff)!important; outline-offset:3px; }
.cg-account-logout:active { background:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 20%,transparent); }
.cg-author-toolbar { padding-block:0 12px; }
.cg-author-back { display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.cg-author-back .cg-icon { width:16px; height:16px; transform:rotate(180deg); }
.cg-author-back:hover { filter:brightness(1.12); }
.cg-author-back:active { filter:brightness(.95); }
.cg-message-read-all { min-width:128px; min-height:36px; cursor:pointer; }
.cg-message-read-all:hover { color:var(--cg-text); background:var(--cg-border); }
.cg-message-read-all:active { filter:brightness(.95); }
.cg-message-read-all:disabled { opacity:.65; cursor:wait; }

/* Outbound confirmation extends the existing site dialog. */
.cgwind-site .cg-navigation-confirm { width:min(420px,90vw); padding:24px; background:var(--cg-surface); border-color:var(--cg-border); text-align:left; }
.cg-navigation-confirm h2 { font:600 20px/1.5 var(--cg-body); padding-right:14px; }
.cg-navigation-confirm p { font:400 14px/1.8 var(--cg-body); }
.cg-dialog-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:24px; }
.cg-dialog-actions :is(a,button) { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:7px 16px; font:500 14px/1.5 var(--cg-body); border:1px solid var(--cg-border); border-radius:7px; background:var(--cg-background); color:var(--cg-text); cursor:pointer; }
.cg-dialog-actions .cg-dialog-confirm { background:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 24%,transparent); border-color:var(--cg-publish-accent,#6bcaff); }
.cg-dialog-actions :is(a,button):hover { border-color:var(--cg-publish-accent,#6bcaff); background:color-mix(in srgb,var(--cg-publish-accent,#6bcaff) 15%,var(--cg-surface)); }
.cg-dialog-actions :is(a,button):focus-visible { outline:2px solid var(--cg-publish-accent,#6bcaff); outline-offset:2px; }
.cgwind-site .cg-header .cg-login { width:auto; min-width:44px; border-radius:7px; padding:0 7px; font:500 14px/1.5 var(--cg-body); }
@media(min-width:1451px) and (max-width:1750px) { .cgwind-site .cg-header-row { flex-wrap:wrap; gap:0 24px; padding-block:12px; }.cgwind-site .cg-header .cg-nav { margin-left:auto; height:50px; }.cgwind-site .cg-header-actions { flex-basis:100%; justify-content:flex-end; margin-top:8px; }.cgwind-site .cg-header-actions .cg-search--nav { margin-right:auto; } }
