.theme-community-page{min-height:100vh;color:var(--xb-page-text);background:var(--xb-page-bg)}
.theme-community-shell{display:grid;gap:18px;width:min(1180px,100%);min-height:100vh;margin:auto;padding:24px clamp(16px,4vw,42px) 48px}.theme-community-header{display:flex;align-items:center;gap:14px}.theme-community-header>a{display:grid;min-width:42px;height:42px;padding:0 12px;place-items:center;border:1px solid var(--xb-card-border);border-radius:14px;color:var(--xb-card-text);background:var(--xb-card-bg);text-decoration:none}.theme-community-header>div{flex:1}.theme-community-header h1,.theme-community-header p{margin:0}.theme-community-header>div>p:last-child{margin-top:4px;color:var(--xb-card-muted)}
.theme-community-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;padding:16px;border:1px solid var(--xb-card-border);border-radius:22px;background:var(--xb-card-bg)}.theme-community-filters label{display:grid;gap:6px;color:var(--xb-card-muted);font-size:12px}.theme-community-filters input,.theme-community-filters select{min-width:0;padding:11px 12px;border:1px solid var(--xb-input-border);border-radius:12px;color:var(--xb-input-text);background:var(--xb-input-bg)}.theme-community-status{margin:0;color:var(--xb-card-muted)}
.theme-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.theme-community-card{display:grid;align-content:start;gap:12px;overflow:hidden;border:1px solid var(--xb-card-border);border-radius:24px;background:var(--xb-card-bg);box-shadow:var(--xb-card-shadow)}.theme-community-cover{display:grid;min-height:190px;place-items:center;overflow:hidden;color:var(--xb-card-muted);background:linear-gradient(135deg,color-mix(in srgb,var(--xb-color-accent) 18%,transparent),rgba(255,255,255,.16))}.theme-community-cover img{width:100%;height:190px;object-fit:cover}.theme-community-card__body{display:grid;gap:9px;padding:0 16px 16px}.theme-community-card h2,.theme-community-card p{margin:0}.theme-community-tags{display:flex;flex-wrap:wrap;gap:6px}.theme-community-tags span{padding:4px 8px;border-radius:999px;color:var(--xb-nav-active-text);background:var(--xb-nav-active-bg);font-size:11px}.theme-community-description{min-height:40px;color:var(--xb-card-muted)}.theme-community-meta{color:var(--xb-card-muted);font-size:11px}.theme-community-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.theme-community-card button,.theme-community-detail button,.theme-community-more,.theme-community-preview button{padding:10px 12px;border:1px solid var(--xb-button-border);border-radius:12px;color:var(--xb-card-text);background:var(--xb-card-bg)}.theme-community-card button[data-community-action=copy],.theme-community-preview [data-community-preview-copy]{color:var(--xb-button-text);background:var(--xb-button-bg)}.theme-community-card button[data-community-action=favorite][aria-pressed=true]{color:#b13c68;background:color-mix(in srgb,#e9769e 18%,var(--xb-card-bg))}.theme-community-more{justify-self:center}
.theme-community-detail{display:grid;grid-template-columns:minmax(260px,1fr) 1.2fr;gap:22px;padding:20px;border:1px solid var(--xb-card-border);border-radius:26px;background:var(--xb-card-bg)}.theme-community-detail .theme-community-cover{min-height:360px;border-radius:18px}.theme-community-detail .theme-community-cover img{height:360px}.theme-community-detail__body{display:grid;align-content:start;gap:14px}.theme-community-detail h2,.theme-community-detail p{margin:0}.theme-community-detail__actions{display:flex;flex-wrap:wrap;gap:9px}
.theme-community-preview{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;color:var(--xb-page-text);background:rgba(10,12,18,.92)}.theme-community-preview::backdrop{background:rgba(6,8,12,.72)}.theme-community-preview__shell{display:grid;grid-template-rows:auto auto 1fr auto;gap:14px;height:100%;padding:clamp(16px,3vw,32px)}.theme-community-preview header,.theme-community-preview footer,.theme-community-preview nav{display:flex;align-items:center;gap:9px}.theme-community-preview header>div{flex:1}.theme-community-preview h2,.theme-community-preview p{margin:0}.theme-community-preview nav{justify-content:center}.theme-community-preview nav button[aria-pressed=true]{color:var(--xb-button-text);background:var(--xb-button-bg)}.theme-community-preview__stage{display:grid;place-items:center;min-height:0}.community-scene{display:grid;align-content:start;gap:16px;width:min(430px,100%);min-height:min(620px,65dvh);padding:22px;border:1px solid var(--xb-card-border);border-radius:30px;color:var(--xb-page-text);background:var(--xb-page-bg)}.community-scene .scene-header,.community-scene .scene-hero,.community-scene .scene-card,.community-scene .scene-input{padding:18px;border:1px solid var(--xb-card-border);border-radius:var(--xb-radius-card);color:var(--xb-card-text);background:var(--xb-card-bg)}.community-scene .scene-chat{display:grid;gap:12px}.community-scene .scene-chat p{width:74%;padding:13px;border-radius:var(--xb-radius-bubble);color:var(--xb-chat-assistant-bubble-text);background:var(--xb-chat-assistant-bubble-bg)}.community-scene .scene-chat p:first-child{justify-self:end;color:var(--xb-chat-user-bubble-text);background:var(--xb-chat-user-bubble-bg)}.theme-community-preview footer p{flex:1;text-align:center;color:var(--xb-card-muted)}
@media(max-width:840px){.theme-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-community-filters{grid-template-columns:1fr 1fr}.theme-community-detail{grid-template-columns:1fr}}
@media(max-width:580px){.theme-community-shell{padding:16px 12px 36px}.theme-community-header>div>p:last-child{display:none}.theme-community-grid,.theme-community-filters{grid-template-columns:1fr}.theme-community-cover,.theme-community-cover img{height:160px;min-height:160px}.theme-community-preview__shell{padding:12px}.theme-community-preview nav{justify-content:flex-start;overflow:auto}.theme-community-preview footer{display:grid;grid-template-columns:1fr 1fr}.theme-community-preview footer p{grid-column:1/-1}.theme-community-preview [data-community-preview-copy]{grid-column:1/-1}}
