:root{--cg-bg:#08131c;--cg-panel:#101e29;--cg-panel-2:#0c1a24;--cg-border:#294453;--cg-text:#eef9ff;--cg-muted:#9fb5c3;--cg-cyan:#59d8ff;--cg-green:#69e1bb}
.page-community [hidden]{display:none!important}
.page-community{background:radial-gradient(circle at 12% 6%,rgba(39,141,185,.19),transparent 28%),radial-gradient(circle at 84% 28%,rgba(45,101,191,.13),transparent 35%),linear-gradient(135deg,#07121a,#0a1721 50%,#07131e);color:var(--cg-text);min-height:100vh}
.page-community *{box-sizing:border-box}.page-community button,.page-community input,.page-community select,.page-community textarea{font:inherit}.page-community button{cursor:pointer}.community{width:min(1660px,calc(100% - 64px));margin:0 auto;padding:48px 0 110px;min-height:75vh}.community-hero{display:flex;justify-content:space-between;align-items:end;gap:32px;border-bottom:1px solid var(--cg-border);padding:36px 0 35px}.community-kicker{display:block;color:var(--cg-cyan);font:700 11px/1.4 Consolas,monospace;letter-spacing:.16em}.community-hero h1{font-size:clamp(42px,5.5vw,90px);line-height:.94;max-width:880px;letter-spacing:-.055em;margin:16px 0;color:var(--cg-text);font-weight:900}.community-hero p{font-size:15px;line-height:1.55;color:var(--cg-muted);max-width:550px}.community-hero__actions{display:flex;align-items:center;gap:22px;flex-shrink:0}.community-total{font:800 28px Consolas,monospace;color:var(--cg-muted);border-right:1px solid var(--cg-border);padding-right:22px}.community-primary,.community-secondary,.community-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:3px;border:1px solid var(--cg-cyan);padding:12px 18px;text-decoration:none;font-weight:800;font-size:13px;min-height:44px}.community-primary{background:var(--cg-cyan);color:#081822;box-shadow:3px 3px 0 #174b78}.community-primary:hover{filter:brightness(1.1)}.community-primary:disabled{opacity:.5;cursor:wait}.community-secondary,.community-more{background:#0b1a24;color:var(--cg-text);border-color:var(--cg-border)}.community-secondary:hover,.community-more:hover{border-color:var(--cg-cyan)}.community-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:38px;margin-top:32px}.community-sidebar{align-self:start;position:sticky;top:24px;padding-right:20px;border-right:1px solid var(--cg-border)}.community-sidebar h2,.community-results h2{font-size:12px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 14px}.community-sidebar__head{display:flex;justify-content:space-between;align-items:start;gap:8px}.community-sidebar__head button{background:none;border:0;color:var(--cg-cyan);font-size:12px}.community-filters{display:grid;gap:3px}.community-filters button{border:0;border-left:2px solid transparent;background:transparent;color:var(--cg-muted);padding:10px 10px;text-align:left;font-size:14px}.community-filters button:hover{color:var(--cg-text);background:#122b38}.community-filters button.is-active{color:var(--cg-text);border-left-color:var(--cg-cyan);background:#122c3c;font-weight:800}.community-filter-divider{height:1px;background:var(--cg-border);margin:22px 0}.community-sort span{display:block;font-size:12px;color:var(--cg-muted);margin-bottom:8px}.community-sort select,.community-publish input:not([type=checkbox]):not([type=radio]):not([type=file]),.community-publish select,.community-publish textarea{width:100%;background:#07131b;border:1px solid #31505e;color:var(--cg-text);border-radius:3px;padding:12px;min-height:43px}.community-sort select{width:100%}.community-sidebar__note{font-size:12px;color:var(--cg-muted);line-height:1.5;margin-top:22px}.community-results{min-width:0}.community-results__head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--cg-border);margin-bottom:18px}.community-results__head h2{margin:0 0 15px}.community-results__head span{font:12px Consolas,monospace;color:var(--cg-muted);margin-bottom:15px}.community-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.community-card{display:block;position:relative;min-width:0;background:#0c1822;border:1px solid #26404e;padding:0;text-align:left;color:var(--cg-text);overflow:hidden;transition:border-color .2s,transform .2s,box-shadow .2s}.community-card:hover,.community-card:focus-visible{border-color:var(--cg-cyan);transform:translateY(-3px);box-shadow:0 20px 35px #0006}.community-card__visual{display:block;position:relative;aspect-ratio:3/4;overflow:hidden;background:linear-gradient(140deg,#142c3d,#08151d)}.community-card__visual img{width:100%;height:100%;object-fit:cover;display:block;transform:translate(var(--card-x,0px),var(--card-y,0px)) scale(1.055);transition:transform .15s ease-out}.community-card__seams{position:absolute;inset:0;background:linear-gradient(90deg,transparent 19.7%,#09151a66 20%,transparent 20.3%,transparent 39.7%,#09151a66 40%,transparent 40.3%,transparent 59.7%,#09151a66 60%,transparent 60.3%,transparent 79.7%,#09151a66 80%,transparent 80.3%);pointer-events:none}.community-card__badges{position:absolute;inset:9px 9px auto;display:flex;flex-wrap:wrap;gap:4px}.community-card__badges span{background:#07131be6;color:var(--cg-text);border:1px solid #416172;padding:4px 6px;font:700 10px Consolas,monospace}.community-card__badges .community-card__mode{color:var(--cg-cyan)}.community-card__adult{position:absolute;inset:0;display:grid;place-items:center;font:900 22px Consolas,monospace;color:white;background:#07131a55}.community-card.is-adult img{filter:blur(18px) brightness(.55);transform:scale(1.12)}.community-card__content{display:grid;gap:7px;padding:12px}.community-card__content strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-card__content span{font:11px Consolas,monospace;color:var(--cg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-empty,.community-loading{border:1px dashed var(--cg-border);text-align:center;padding:60px 20px;color:var(--cg-muted)}.community-empty b{color:var(--cg-text);font-size:18px}.community-empty p{margin:10px 0 0}.community-more{width:100%;margin-top:16px}.community-author{margin:20px 0 10px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--cg-border);background:linear-gradient(115deg,#122d3c,#0b1c29 70%)}.community-author[hidden]{display:none}.community-author__identity{display:flex;align-items:center;gap:18px;min-width:0}.community-author__identity img{width:84px;height:84px;object-fit:cover;border:1px solid var(--cg-cyan)}.community-author__identity span{font:700 10px Consolas,monospace;color:var(--cg-cyan);letter-spacing:.14em}.community-author__identity h2{font-size:30px;margin:4px 0}.community-author__identity p{font-size:13px;color:var(--cg-muted);max-width:520px}.community-author__links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.community-author__links a{color:var(--cg-cyan);font-size:11px;border:1px solid var(--cg-border);padding:5px 8px;text-decoration:none}.community-author__stats{display:flex;gap:22px}.community-author__stats div{display:grid;gap:4px}.community-author__stats strong{font-size:22px}.community-author__stats span{font-size:11px;color:var(--cg-muted)}#authorEdit{color:var(--cg-cyan);font-size:12px;white-space:nowrap}
.community-modal-open{overflow:hidden}.community-overlay{position:fixed;inset:0;z-index:500;background:#02080ddd;display:grid;place-items:center;padding:22px;overflow:auto}.community-overlay[hidden]{display:none}.community-detail,.community-publish{width:min(1350px,100%);max-height:calc(100vh - 44px);overflow:auto;background:#0e1c27;border:1px solid #3a5c6c;box-shadow:14px 14px 0 #17405a55}.community-detail__top,.community-publish__top{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--cg-border);padding:16px 20px;color:var(--cg-cyan);font:700 11px Consolas,monospace;letter-spacing:.1em}.community-detail__top button,.community-publish__top button{font-size:23px;line-height:1;background:#09141d;border:1px solid var(--cg-border);color:var(--cg-text);width:35px;height:35px}.community-detail__body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,.8fr);gap:24px;padding:22px}.community-detail__preview{background:#07131b;display:grid;place-items:center;min-height:420px;max-height:calc(100vh - 145px);overflow:auto;perspective:1000px}.community-detail__preview img,.community-detail__preview video{display:block;max-width:100%;max-height:100%;object-fit:contain;transition:transform .15s}.community-detail__info{min-width:0;align-self:start}.community-detail__info h2{font-size:clamp(26px,3vw,45px);line-height:1.05;margin:10px 0}.community-detail__info>p{line-height:1.55;color:var(--cg-muted);font-size:14px;white-space:pre-wrap}.community-detail__metrics{display:flex;gap:34px;border-top:1px solid var(--cg-border);border-bottom:1px solid var(--cg-border);padding:18px 0;margin:20px 0}.community-detail__metrics span{display:grid;gap:2px}.community-detail__metrics b{font-size:23px}.community-detail__metrics small{font:10px Consolas,monospace;color:var(--cg-muted);text-transform:uppercase}.community-detail__author{display:flex;align-items:center;gap:10px;color:var(--cg-text);border-bottom:1px solid var(--cg-border);padding-bottom:16px;text-decoration:none}.community-detail__author img{width:35px;height:35px;object-fit:cover}.community-detail__background{display:block;margin:16px 0;color:var(--cg-cyan);font-size:12px}.community-detail__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}.community-detail__actions .community-primary{grid-column:1/-1}.community-detail__actions .is-liked{color:#ff9bc5;border-color:#ff9bc5}.community-detail__owner{display:flex;gap:10px;border-top:1px solid var(--cg-border);padding-top:18px;margin-top:16px}.community-detail__owner button{background:transparent;border:1px solid var(--cg-border);color:var(--cg-text);padding:8px 12px}#detailFeedback,#publishFeedback{color:var(--cg-cyan);min-height:1.4em;font-size:12px;margin:14px 0}
.community-publish{width:min(1420px,100%)}.community-publish__top h2{font:900 26px/1.1 inherit;letter-spacing:0;color:var(--cg-text);margin:8px 0}.community-publish__layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:0}.community-publish__preview{padding:24px;border-right:1px solid var(--cg-border)}.community-drop{min-height:440px;border:1px dashed #447182;background:linear-gradient(140deg,#0a1721,#0c2330);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;cursor:pointer;padding:20px}.community-drop:hover{border-color:var(--cg-cyan)}.community-drop__icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--cg-border);border-radius:50%;font-size:24px}.community-drop strong{font-size:17px}.community-drop small{font-size:12px;color:var(--cg-muted)}.community-drop>span:last-child{background:var(--cg-cyan);color:#06121b;padding:10px 14px;font-weight:800}.community-preview-selected{display:grid;place-items:center;gap:12px;min-height:440px;background:#07121a}.community-preview-selected img,.community-preview-selected video{max-width:100%;max-height:390px;object-fit:contain}.community-preview-selected button{background:transparent;color:var(--cg-cyan);border:0}.community-publish__preview>p{font-size:12px;color:var(--cg-muted);line-height:1.5;margin-top:12px}.community-publish__fields{padding:24px;display:grid;gap:16px;max-height:calc(100vh - 130px);overflow:auto}.community-publish__fields>label:not(.community-check),.community-sort{display:grid;gap:7px}.community-publish__fields>label>span,.community-publish legend{font-size:12px;color:var(--cg-muted);font-weight:700}.community-publish textarea{resize:vertical}.community-publish input[type=file]{width:100%;font-size:12px;color:var(--cg-muted)}.community-publish input[type=file]::file-selector-button{padding:9px;background:#142e3a;border:1px solid var(--cg-border);color:var(--cg-text);margin-right:9px}.community-publish small{font-size:11px;color:var(--cg-muted)}.community-publish__rule{height:1px;background:var(--cg-border)}.community-publish fieldset{border:0;padding:0;display:grid;gap:7px}.community-publish legend{margin-bottom:9px}.community-choice,.community-check{display:flex;align-items:flex-start;gap:10px;padding:10px;background:#0b1923;border:1px solid var(--cg-border);font-size:12px;line-height:1.4}.community-choice input,.community-check input{accent-color:var(--cg-cyan);margin-top:1px}.community-adult-overlay{z-index:510}.community-adult-overlay section{width:min(430px,100%);padding:30px;background:#0e1d28;border:1px solid var(--cg-border)}.community-adult-overlay h2{font-size:26px}.community-adult-overlay p{font-size:13px;color:var(--cg-muted);margin:14px 0 25px}.community-adult-overlay section>div{display:flex;gap:10px}.community-adult-overlay button:not(.community-primary){background:transparent;color:var(--cg-text);border:1px solid var(--cg-border);padding:10px 14px}
.page-community :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--cg-cyan);outline-offset:3px}
@media(max-width:900px){.community{width:min(100% - 28px,900px)}.community-layout{grid-template-columns:1fr;gap:22px}.community-sidebar{position:static;border-right:0;border-bottom:1px solid var(--cg-border);padding:0 0 20px}.community-filters{display:flex;overflow-x:auto;gap:5px}.community-filters button{white-space:nowrap;border:1px solid var(--cg-border);padding:9px}.community-filters button.is-active{border-color:var(--cg-cyan)}.community-sidebar__note{display:none}.community-author{flex-wrap:wrap}.community-detail__body{grid-template-columns:1fr}.community-detail__preview{max-height:55vh}.community-publish__layout{grid-template-columns:1fr}.community-publish__preview{border-right:0;border-bottom:1px solid var(--cg-border)}.community-drop,.community-preview-selected{min-height:250px}.community-publish__fields{max-height:none}}
@media(max-width:560px){.community{padding-top:24px}.community-hero{display:block;padding:20px 0}.community-hero h1{font-size:42px}.community-hero__actions{justify-content:space-between;margin-top:22px}.community-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-card__content{padding:9px}.community-card__content strong{font-size:12px}.community-card__badges span{font-size:8px}.community-overlay{padding:0}.community-detail,.community-publish{max-height:100dvh;min-height:100dvh;box-shadow:none;border:0}.community-detail__body,.community-publish__fields,.community-publish__preview{padding:15px}.community-detail__preview{min-height:280px;max-height:48vh}.community-author__identity img{width:58px;height:58px}.community-author__stats{width:100%;justify-content:space-between}.community-author__identity h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.community-card,.community-card__visual img,.community-detail__preview img,.community-detail__preview video{transition:none!important;transform:none!important}}

/* Keep dialogs above the fixed product rail and support launcher. */
.page-community .community-overlay{z-index:1600}
.page-community .community-adult-overlay{z-index:1610}
@media(max-width:900px){
  .page-community .community-layout{grid-template-columns:minmax(0,1fr)}
  .page-community .community-sidebar,.page-community .community-results{min-width:0}
  .page-community .community-filters{max-width:100%;min-width:0}
}

/* Use the workspace width on large displays; keep the catalogue heading secondary to the works. */
@media(min-width:901px){
  .page-community .community{width:min(2160px,calc(100% - 6vw));padding-top:32px}
  .page-community .community-hero{padding:24px 0 26px}
  .page-community .community-hero h1{font-size:clamp(42px,3.6vw,64px);line-height:1.02;max-width:760px;letter-spacing:-.045em;margin:12px 0 10px}
  .page-community .community-hero p{font-size:14px;margin:0}
  .page-community .community-hero__actions{gap:16px}
  .page-community .community-total{font-size:23px;padding-right:16px}
  .page-community .community-hero .community-primary{min-height:40px;padding:9px 14px;font-size:12px}
}

/* Keep the shared footer at the bottom when the catalogue has little content. */
.page-community{display:flex;flex-direction:column;min-height:100dvh}
.page-community > .community{flex:1 0 auto}
.page-community > #ssFootHost{flex:0 0 auto;width:100%}
.page-community .ss-foot{margin-top:0}

/* ===== 2026-09-28 redesign: cards and the work window in the site's glass style ===== */
body.page-community .community-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
body.page-community .community-card{display:flex;flex-direction:column;border-radius:18px;border:1px solid rgba(139,233,255,.14);
  background:linear-gradient(160deg,rgba(18,34,72,.72),rgba(6,12,28,.86));box-shadow:0 14px 34px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.05);
  padding:0;overflow:hidden;font-family:var(--home-display,'Montserrat',sans-serif);text-align:left;cursor:pointer;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
body.page-community .community-card:hover,body.page-community .community-card:focus-visible{transform:translateY(-5px);border-color:rgba(111,227,255,.5);
  box-shadow:0 22px 44px rgba(0,0,0,.45),0 0 0 1px rgba(111,227,255,.18),0 0 34px rgba(31,201,241,.16);outline:none}
body.page-community .community-card__visual{aspect-ratio:3/4;border-radius:0;background:#060c1c}
body.page-community .community-card__visual::before{content:"";position:absolute;inset:-20px;background:var(--thumb) center/cover no-repeat;filter:blur(22px) brightness(.55) saturate(1.2);opacity:0;transition:opacity .2s}
body.page-community .community-card.is-wide .community-card__visual::before{opacity:1}
body.page-community .community-card__visual img{position:relative;object-fit:cover;object-position:center top;transform:translate(var(--card-x,0px),var(--card-y,0px)) scale(1.04);transition:transform .25s ease-out}
body.page-community .community-card.is-wide .community-card__visual img{object-fit:contain;object-position:center;transform:scale(1)}
body.page-community .community-card__visual::after{content:"";position:absolute;inset:auto 0 0;height:38%;background:linear-gradient(transparent,rgba(4,9,24,.72));pointer-events:none}
body.page-community .community-card__seams{display:none}
body.page-community .community-card__badges{z-index:2;inset:10px 10px auto;gap:6px}
body.page-community .community-card__badges span{padding:5px 9px;border-radius:999px;border:1px solid rgba(139,233,255,.3);background:rgba(4,10,26,.66);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#e9f3ff;font:700 10.5px/1 var(--home-display,'Montserrat',sans-serif);letter-spacing:.02em}
body.page-community .community-card__badges .community-card__mode{color:#6fe3ff}
body.page-community .community-card__badges .community-card__gif{color:#03121c;background:linear-gradient(90deg,#1fc9f1,#6fe3ff);border-color:transparent}
body.page-community .community-card__badges .community-card__paid{color:#ffd88a;border-color:rgba(255,216,138,.45)}
body.page-community .community-card__adult{z-index:3;font:800 20px/1 var(--home-display,'Montserrat',sans-serif)}
body.page-community .community-card__content{display:grid;gap:8px;padding:14px 16px 16px}
body.page-community .community-card__content strong{font:800 15px/1.25 var(--home-display,'Montserrat',sans-serif);color:#fff}
body.page-community .community-card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
body.page-community .community-card__author{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12.5px/1.2 var(--home-display,'Montserrat',sans-serif)!important;color:rgba(214,229,250,.72)!important}
body.page-community .community-card__stats{display:flex;align-items:center;gap:5px;flex:none;font:700 12px/1 var(--home-display,'Montserrat',sans-serif)!important;color:rgba(214,229,250,.8)!important}
body.page-community .community-card__stats b{font-weight:700;margin-right:6px}
body.page-community .community-card__stats b:last-child{margin-right:0}
body.page-community .community-card__icon{display:inline-grid;width:15px;height:15px;color:#6fe3ff}
body.page-community .community-card__icon svg{width:15px;height:15px}

/* Work window: one fixed size for every work, no inner scrolling. */
body.page-community .community-overlay{background:rgba(2,6,18,.62);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
body.page-community .community-detail{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1240px,100%);height:min(820px,calc(100vh - 44px));max-height:none;overflow:hidden;
  border-radius:22px;border:1px solid rgba(111,227,255,.26);background:linear-gradient(160deg,rgba(18,36,78,.8),rgba(6,12,30,.9));
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 34px 100px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.07);font-family:var(--home-display,'Montserrat',sans-serif)}
body.page-community .community-detail__top{padding:14px 18px 14px 24px;border-bottom:1px solid rgba(139,233,255,.14);font:700 11px/1 var(--home-display,'Montserrat',sans-serif);letter-spacing:.14em;color:#6fe3ff}
body.page-community .community-detail__top button{width:38px;height:38px;border-radius:11px;border:1px solid rgba(139,233,255,.24);background:rgba(3,8,24,.6);color:#e9f3ff;font-size:22px;cursor:pointer}
body.page-community .community-detail__top button:hover{border-color:rgba(111,227,255,.6)}
body.page-community .community-detail__body{grid-template-columns:minmax(0,1fr) 380px;gap:0;padding:0;min-height:0;height:100%}
body.page-community .community-detail__preview{position:relative;height:auto;min-height:0;max-height:none;overflow:hidden;margin:16px 0 16px 16px;border-radius:16px;background:#040915;perspective:1200px;isolation:isolate}
body.page-community .community-detail__preview::before{content:"";position:absolute;inset:-40px;z-index:-1;background:var(--stage-bg) center/cover no-repeat;filter:blur(38px) brightness(.45) saturate(1.2)}
body.page-community .community-detail__preview img,body.page-community .community-detail__preview video{max-width:none;max-height:none;object-fit:contain;border-radius:8px;box-shadow:0 18px 50px rgba(0,0,0,.5);transition:transform .2s ease-out}
body.page-community .community-detail__info{height:100%;overflow-y:auto;padding:26px 26px 24px}
body.page-community .community-detail__info h2{font:800 clamp(26px,2.6vw,38px)/1.1 var(--home-display,'Montserrat',sans-serif);color:#fff;margin:10px 0 10px}
body.page-community .community-detail__info .community-kicker{font:700 11px/1.3 var(--home-display,'Montserrat',sans-serif);letter-spacing:.08em;color:#6fe3ff}
body.page-community .community-detail__metrics{gap:0;display:grid;grid-template-columns:1fr 1fr;padding:0;border:1px solid rgba(139,233,255,.16);border-radius:14px;background:rgba(3,8,24,.35);overflow:hidden}
body.page-community .community-detail__metrics span{padding:14px 16px}
body.page-community .community-detail__metrics span+span{border-left:1px solid rgba(139,233,255,.16)}
body.page-community .community-detail__metrics b{font:800 24px/1 var(--home-display,'Montserrat',sans-serif);color:#fff}
body.page-community .community-detail__metrics small{margin-top:6px;font:700 10.5px/1 var(--home-display,'Montserrat',sans-serif);letter-spacing:.1em;color:rgba(214,229,250,.6)}
body.page-community .community-detail__author{margin-top:4px;padding:12px 14px;border:1px solid rgba(139,233,255,.14);border-radius:14px;background:rgba(3,8,24,.3);font-weight:700}
body.page-community .community-detail__author img{border-radius:10px}
body.page-community .community-detail__actions .community-primary{min-height:50px;border-radius:13px}
body.page-community .community-detail__actions .community-secondary{min-height:44px;border-radius:12px}
@media(max-width:900px){
  body.page-community .community-detail{height:100dvh;width:100%;border-radius:0;border:0}
  body.page-community .community-detail__body{grid-template-columns:1fr;grid-template-rows:52vh auto;overflow-y:auto}
  body.page-community .community-detail__preview{margin:12px}
  body.page-community .community-detail__info{height:auto;overflow:visible;padding:8px 16px 24px}
}
@media(max-width:560px){
  body.page-community .community-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.page-community .community-card{border-radius:14px}
  body.page-community .community-card__content{padding:10px 11px 12px;gap:6px}
  body.page-community .community-card__content strong{font-size:13px}
  body.page-community .community-card__badges span{font-size:9px;padding:4px 7px}
  body.page-community .community-card__author{font-size:11px!important}
  body.page-community .community-card__stats{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){body.page-community .community-card,body.page-community .community-card__visual img{transition:none;transform:none}}

/* Filters in the same glass-pill style as the cards. */
body.page-community .community-filters{gap:6px}
body.page-community .community-filters button{border:1px solid rgba(139,233,255,.14);border-radius:12px;background:rgba(3,8,24,.35);color:rgba(214,229,250,.75);
  padding:10px 14px;font:600 14px/1.2 var(--home-display,'Montserrat',sans-serif);cursor:pointer;transition:border-color .18s,background .18s,color .18s}
body.page-community .community-filters button:hover{color:#fff;border-color:rgba(111,227,255,.4);background:rgba(31,201,241,.08)}
body.page-community .community-filters button.is-active{color:#fff;font-weight:800;border-color:rgba(111,227,255,.6);background:linear-gradient(90deg,rgba(31,201,241,.22),rgba(31,201,241,.08));box-shadow:0 0 18px rgba(31,201,241,.14)}
body.page-community .community-sidebar select{border-radius:12px;border:1px solid rgba(139,233,255,.2);background:rgba(3,8,24,.55)}
@media(max-width:900px){body.page-community .community-filters button{border-radius:999px;padding:9px 14px}}

/* ===== Previous / next work (2026-09-28) =====
   Glass "peek" tabs hug the stage edges: a slim glowing sliver with a blurred
   glimpse of the neighbouring work.  On hover the tab opens up into a sharp
   thumbnail with its title, and the stage slides + blurs the way you go. */
body.page-community .community-detail__preview>img,body.page-community .community-detail__preview>video{transition:transform .2s ease-out,opacity .19s ease,filter .19s ease}
body.page-community .community-detail__preview.is-leaving>img,body.page-community .community-detail__preview.is-leaving>video{
  opacity:0;filter:blur(10px) saturate(1.3);transform:translateX(calc(var(--swap,1) * 70px)) scale(.96)!important}
body.page-community .community-detail__preview.is-entering>img,body.page-community .community-detail__preview.is-entering>video{animation:gallery-swap-in .42s cubic-bezier(.2,.8,.2,1) backwards}
@keyframes gallery-swap-in{from{opacity:0;filter:blur(12px) saturate(1.4);transform:translateX(calc(var(--swap,1) * 90px)) scale(.97)}to{opacity:1;filter:none;transform:none}}

body.page-community .gallery-peek{position:absolute;top:50%;z-index:3;display:flex;align-items:center;width:46px;height:150px;padding:0;overflow:hidden;
  transform:translateY(-50%);border:1px solid rgba(139,233,255,.22);border-radius:16px;cursor:pointer;color:#e9f3ff;
  background:rgba(4,10,26,.5);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);
  box-shadow:0 14px 34px rgba(0,0,0,.4),inset 0 1px rgba(255,255,255,.06);
  transition:width .34s cubic-bezier(.2,.8,.2,1),height .34s cubic-bezier(.2,.8,.2,1),border-color .2s,box-shadow .2s,background .2s}
body.page-community .gallery-peek--prev{left:12px;flex-direction:row-reverse}
body.page-community .gallery-peek--next{right:12px}
/* the glowing edge line on the side facing the work */
body.page-community .gallery-peek::before{content:"";position:absolute;top:18%;bottom:18%;width:2px;border-radius:2px;z-index:2;
  background:linear-gradient(transparent,#6fe3ff 30%,#8a7dff 70%,transparent);box-shadow:0 0 12px rgba(111,227,255,.8);opacity:.8;transition:opacity .2s,top .34s,bottom .34s}
body.page-community .gallery-peek--prev::before{right:5px}
body.page-community .gallery-peek--next::before{left:5px}
body.page-community .gallery-peek__shot{position:absolute;inset:0;z-index:0;background:var(--peek) center/cover no-repeat;opacity:.34;filter:blur(6px) saturate(1.2);transform:scale(1.15);
  transition:opacity .34s,filter .34s,transform .5s cubic-bezier(.2,.8,.2,1)}
body.page-community .gallery-peek.is-adult .gallery-peek__shot{filter:blur(18px)!important}
body.page-community .gallery-peek__shot::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,10,26,.15) 30%,rgba(4,10,26,.88))}
body.page-community .gallery-peek__arrow{position:relative;z-index:2;display:grid;place-items:center;flex:none;width:44px;height:100%;color:#6fe3ff;filter:drop-shadow(0 0 8px rgba(111,227,255,.7))}
body.page-community .gallery-peek__arrow svg{width:22px;height:22px;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
body.page-community .gallery-peek--prev .gallery-peek__arrow svg{transform:scaleX(-1)}
body.page-community .gallery-peek__label{position:relative;z-index:2;display:grid;gap:4px;flex:1;min-width:0;align-self:flex-end;padding:0 4px 14px 14px;text-align:left;
  opacity:0;transform:translateY(8px);transition:opacity .2s,transform .3s cubic-bezier(.2,.8,.2,1)}
body.page-community .gallery-peek--prev .gallery-peek__label{padding:0 14px 14px 4px;text-align:right}
body.page-community .gallery-peek__label small{font:700 9.5px/1 var(--home-display,'Montserrat',sans-serif);letter-spacing:.14em;text-transform:uppercase;color:#6fe3ff}
body.page-community .gallery-peek__label b{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font:800 14px/1.2 var(--home-display,'Montserrat',sans-serif);color:#fff;white-space:normal}
@media (hover:hover) and (pointer:fine){
  body.page-community .gallery-peek:hover,body.page-community .gallery-peek:focus-visible{width:188px;height:236px;outline:none;border-color:rgba(111,227,255,.6);background:rgba(4,10,26,.3);
    box-shadow:0 22px 50px rgba(0,0,0,.5),0 0 0 1px rgba(111,227,255,.2),0 0 38px rgba(31,201,241,.22)}
  body.page-community .gallery-peek:hover .gallery-peek__shot,body.page-community .gallery-peek:focus-visible .gallery-peek__shot{opacity:1;filter:none;transform:scale(1)}
  body.page-community .gallery-peek:hover .gallery-peek__label,body.page-community .gallery-peek:focus-visible .gallery-peek__label{opacity:1;transform:none;transition-delay:.1s}
  body.page-community .gallery-peek:hover::before{opacity:0}
  body.page-community .gallery-peek--next:hover .gallery-peek__arrow svg{transform:translateX(3px)}
  body.page-community .gallery-peek--prev:hover .gallery-peek__arrow svg{transform:scaleX(-1) translateX(3px)}
  body.page-community .gallery-peek:hover .gallery-peek__arrow{align-self:flex-end;height:60px}
}
body.page-community .gallery-peek:active{transform:translateY(-50%) scale(.97)}
body.page-community .gallery-peek--next:not(:hover) .gallery-peek__arrow svg{animation:gallery-nudge 2.6s ease-in-out infinite}
@keyframes gallery-nudge{0%,70%,100%{transform:none}80%{transform:translateX(4px)}90%{transform:translateX(0)}}

/* position counter with a thin progress line */
body.page-community .gallery-count{position:absolute;left:50%;bottom:14px;z-index:3;display:flex;align-items:baseline;gap:6px;padding:8px 14px 10px;transform:translateX(-50%);
  border:1px solid rgba(139,233,255,.2);border-radius:999px;background:rgba(4,10,26,.55);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font:800 13px/1 var(--home-display,'Montserrat',sans-serif);color:#fff;letter-spacing:.06em;pointer-events:none;overflow:hidden}
body.page-community .gallery-count span{font-weight:600;font-size:11px;color:rgba(214,229,250,.6)}
body.page-community .gallery-count i{position:absolute;left:14px;right:14px;bottom:4px;height:2px;border-radius:2px;background:rgba(139,233,255,.14)}
body.page-community .gallery-count i::after{content:"";position:absolute;inset:0 auto 0 0;width:calc(var(--progress,0) * 100%);border-radius:inherit;background:linear-gradient(90deg,#1fc9f1,#8a7dff);box-shadow:0 0 8px rgba(111,227,255,.7);transition:width .4s cubic-bezier(.2,.8,.2,1)}

@media (max-width:900px){
  body.page-community .gallery-peek{width:38px;height:96px;border-radius:13px}
  body.page-community .gallery-peek--prev{left:8px}body.page-community .gallery-peek--next{right:8px}
  body.page-community .gallery-peek__arrow{width:36px}
  body.page-community .gallery-count{bottom:10px;padding:7px 12px 9px;font-size:12px}
}
@media (prefers-reduced-motion:reduce){
  body.page-community .gallery-peek,body.page-community .gallery-peek *{transition:none!important;animation:none!important}
  body.page-community .community-detail__preview>img,body.page-community .community-detail__preview>video{transition:none;animation:none!important}
}
/* the label floats over the thumbnail so the collapsed tab keeps its arrow centred */
body.page-community .gallery-peek__label{position:absolute;bottom:0;left:0;right:40px;padding:0 4px 14px 14px}
body.page-community .gallery-peek--prev .gallery-peek__label{left:40px;right:0;padding:0 14px 14px 4px}
body.page-community .gallery-peek__arrow{width:100%;margin:0}
@media (hover:hover) and (pointer:fine){
  body.page-community .gallery-peek:hover .gallery-peek__arrow,body.page-community .gallery-peek:focus-visible .gallery-peek__arrow{position:absolute;bottom:0;width:40px;height:52px}
  body.page-community .gallery-peek--next:hover .gallery-peek__arrow,body.page-community .gallery-peek--next:focus-visible .gallery-peek__arrow{right:0}
  body.page-community .gallery-peek--prev:hover .gallery-peek__arrow,body.page-community .gallery-peek--prev:focus-visible .gallery-peek__arrow{left:0}
}
/* Until fitPreview() has measured the file (a heavy GIF can take a moment),
   the media is simply kept inside the stage instead of spilling out cropped. */
body.page-community .community-detail__preview{container-type:size}
body.page-community .community-detail__preview>img,body.page-community .community-detail__preview>video{max-width:calc(100cqw - 48px)!important;max-height:calc(100cqh - 48px)!important}

/* Tabs live outside the window, in the gutters left and right of it
   (owner: keep them off the showcase itself). */
@media (min-width:901px){
  body.page-community #workOverlay{padding:22px 86px}
  body.page-community #workOverlay>.gallery-peek--prev{left:22px}
  body.page-community #workOverlay>.gallery-peek--next{right:22px}
}
body.page-community #workOverlay>.gallery-peek{position:absolute;z-index:5}
body.page-community .community-detail__preview>img,body.page-community .community-detail__preview>video{transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .19s ease,filter .19s ease}
@media (max-width:900px){
  /* the window is full screen here: tabs sit on the screen edges beside the preview */
  body.page-community #workOverlay>.gallery-peek{position:fixed;top:calc(78px + 26vh)}
  body.page-community #workOverlay>.gallery-peek--prev{left:4px}
  body.page-community #workOverlay>.gallery-peek--next{right:4px}
}
/* Opened tab stays inside the free gutter so it never covers the window's buttons.
   Gutter = (viewport - window width) / 2; the window is min(1240px, 100vw - 172px). */
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  body.page-community #workOverlay>.gallery-peek{container-type:inline-size}
  body.page-community #workOverlay>.gallery-peek:hover,body.page-community #workOverlay>.gallery-peek:focus-visible{
    width:clamp(52px,calc((100vw - min(1240px,100vw - 172px)) / 2 - 34px),200px);height:260px}
}
@container (max-width:110px){
  body.page-community .gallery-peek__label{display:none}
  body.page-community .gallery-peek:hover .gallery-peek__arrow{position:absolute;left:0!important;right:0!important;width:100%!important}
}
/* Tabs hug the window from outside (W = window width) and open outwards. */
@media (min-width:901px){
  body.page-community #workOverlay>.gallery-peek--prev{left:auto;right:calc(50% + min(1240px,100% - 172px) / 2 + 14px)}
  body.page-community #workOverlay>.gallery-peek--next{right:auto;left:calc(50% + min(1240px,100% - 172px) / 2 + 14px)}
}
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  body.page-community #workOverlay>.gallery-peek:hover,body.page-community #workOverlay>.gallery-peek:focus-visible{
    width:clamp(52px,calc((100% - min(1240px,100% - 172px)) / 2 - 30px),200px)}
}
/* "Upload to Steam automatically" (static/js/gallery-steam.js): a full-width button under "Download ZIP" and a note. */
body.page-community .community-detail__actions .community-steam{grid-column:1/-1;min-height:46px;border-radius:12px;border-color:rgba(111,227,255,.45);color:#cdf6ff;font-size:14px;white-space:nowrap}
body.page-community .community-detail__actions .community-steam svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.page-community .community-detail__actions .community-steam:disabled{opacity:.6;cursor:progress}
body.page-community .community-steam__note{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:11px 13px;border:1px solid var(--cg-border);border-radius:11px;background:#0a1823;font-size:12.5px;line-height:1.5;color:var(--cg-muted)}
body.page-community .community-steam__note[hidden]{display:none}
body.page-community .community-steam__note span{flex:1 1 220px}
body.page-community .community-steam__note a{color:var(--cg-cyan);font-weight:700;text-decoration:none;white-space:nowrap}
body.page-community .community-steam__sets{display:flex;flex-wrap:wrap;gap:6px;width:100%}
body.page-community .community-steam__sets button{padding:7px 11px;border:1px solid var(--cg-border);border-radius:9px;background:#0d2230;color:var(--cg-text);font-size:12px}
body.page-community .community-steam__sets button:hover{border-color:var(--cg-cyan)}
/* Browser extensions do not exist on phones and tablets. */
@media (hover:none){body.page-community .community-detail__actions .community-steam,body.page-community .community-steam__note{display:none}}

/* Creator links (2026-10-13): author page avatar / name -> public profile; the creator block in the work window opens a
   choice between the public profile and the gallery page. */
body.page-community .community-author__to-profile{color:inherit;text-decoration:none;display:inline-block;border-radius:12px;transition:opacity .15s}
body.page-community .community-author__to-profile:hover{opacity:.85}
body.page-community .community-author__to-profile:hover h2{text-decoration:underline;text-decoration-color:rgba(139,233,255,.5);text-underline-offset:4px}
body.page-community .community-detail__author{position:relative;cursor:pointer;transition:border-color .15s,background .15s}
body.page-community .community-detail__author:hover,body.page-community .community-detail__author.is-open{border-color:rgba(31,201,241,.45);background:rgba(31,201,241,.06)}
body.page-community .community-detail__author>i{margin-left:auto;width:7px;height:7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);opacity:.6;transition:transform .18s}
body.page-community .community-detail__author.is-open>i{transform:translateY(3px) rotate(225deg)}
body.page-community .community-author-menu{display:grid;gap:4px;margin-top:6px;padding:6px;border:1px solid rgba(139,233,255,.18);border-radius:14px;
  background:linear-gradient(180deg,#0f1c42,#070d22);box-shadow:0 18px 40px rgba(0,0,0,.45);animation:cg-menu .16s ease-out}
body.page-community .community-author-menu[hidden]{display:none}
body.page-community .community-author-menu a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#eaf3ff;text-decoration:none}
body.page-community .community-author-menu a:hover,body.page-community .community-author-menu a:focus-visible{background:rgba(31,201,241,.10)}
body.page-community .community-author-menu i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,.06);font-style:normal}
body.page-community .community-author-menu b{display:block;font-size:13.5px}
body.page-community .community-author-menu small{display:block;margin-top:2px;color:#93a7c6;font-size:12px}
@keyframes cg-menu{from{opacity:0;transform:translateY(-4px)}}
