.community { width: min(1200px, calc(100% - 48px)); margin: auto; padding: clamp(34px, 6vw, 82px) 0 96px; }
.community h1 { margin: 0; font-size: clamp(36px, 5.2vw, 70px); letter-spacing: -.045em; line-height: 1.02; overflow-wrap: anywhere; }
.community h2, .community h3, .community p { overflow-wrap: anywhere; }
.community h2 { font-size: clamp(21px, 2.2vw, 28px); }
.community p { color: var(--muted, #acb6c9); }
.community-icon { flex: none; width: 20px; height: 20px; }
.community .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.community-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: clamp(24px, 5vw, 64px); border: 1px solid #36405b; border-radius: 17px; margin-bottom: 28px; }
.community-gallery-hero { background: linear-gradient(90deg, #101421 0%, #131827ef 42%, #15182a55 100%), url('/media/graphics-workshop-foundry.webp') center 49% / cover; }
.community-hero p, .community-form-head p { font-size: 17px; margin: 12px 0 0; }
.community-hero .button { flex: none; }
.community-profile-hero { background: radial-gradient(ellipse at 84% 0%, #35395c, transparent 62%), linear-gradient(135deg, #171f33, #161720 67%); }
.community-identity { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); min-width: 0; }
.community-avatar { width: clamp(58px, 8vw, 100px); aspect-ratio: 1; flex: none; display: grid; place-items: center; border-radius: 24%; font-size: clamp(26px, 4vw, 48px); font-weight: 750; color: #eef5ff; border: 1px solid #8491bf; background: linear-gradient(140deg, #33426d, #4b5078); }
.community-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.community-section-head { margin: 38px 0 18px; justify-content: space-between; }
.community-section-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.community-surface, .community-notice, .community-submission { background: #181d2a; border: 1px solid #2f394e; border-radius: 12px; padding: clamp(15px, 3vw, 27px); }
.community-notice h2, .community-surface h2 { margin: 0 0 10px; }
.community-notice p, .community-surface p { margin: 0 0 12px; }
.community-notice p:last-child, .community-privacy p:last-child { margin-bottom: 0; }
.community-privacy { display: grid; grid-template-columns: 1fr 160px; gap: 24px; }
.community-privacy select { width: 100%; margin-top: 5px; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.community-grid-single { grid-template-columns: minmax(0, 1fr); }
.community-grid-single .community-card { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
.community-grid-single .community-card-copy { padding: clamp(18px, 4vw, 49px); }
.community-grid-single .community-card-copy :is(h2, h3) { font-size: clamp(24px, 3.4vw, 48px); }
#home-games + p { margin-top: 24px; }
.community-card { overflow: hidden; border: 1px solid #2f394e; background: #191e2b; border-radius: 13px; transition: border-color .18s ease; }
.community-card:hover { border-color: #6780ca; }
.community-card-art, .community-card-art img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0d121c; }
.community-card-copy { padding: 16px 18px 20px; }
.community-card-copy :is(h2, h3) { margin: 3px 0 8px; font-size: 22px; letter-spacing: -.02em; }
.community-card-copy p { margin: 0; }
.community-credit, .community-card-copy .community-credit { color: #b0bce0; font-size: 13px; font-weight: 650; }
.community-card :is(h2, h3) a, .community-submission h3 a { color: inherit; text-decoration: none; }
.community a:hover { text-decoration-color: currentColor; }
.community-card :is(h2, h3) a:hover { text-decoration: underline; }
.community-pagination { margin-top: 24px; }
.community-submissions { display: grid; gap: 12px; }
.community-submission { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.community-submission > img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; }
.community-submission h2,.community-submission h3 { margin: 5px 0 2px; }
.community-submission p { margin: 0; }
.community-status { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #303c5e; color: #e0e8ff; font-size: 13px; font-weight: 650; }
.status-approved { background: #244639; color: #c2f3d4; }
.status-rejected { background: #4d2b38; color: #ffd0dc; }
.community-review-link { margin: 0 0 16px; }
.community-review { margin-top: 16px; }
.community-back { display: inline-block; margin-bottom: 16px; color: #b5c8ff; }
.community:has(.community-game-head) { padding-top: clamp(32px, 4vw, 56px); }
.community-game-head { align-items: start; padding: 4px 0 8px; border: 0; }
.community-detail, .community-form-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); align-items: start; gap: 22px; }
.community-detail { grid-template-areas: "media facts" "about facts"; }
.community-game-media { grid-area: media; min-width: 0; }
.community-game-about { grid-area: about; min-width: 0; }
.community-game-gallery { margin: 0; background: #111521; border: 1px solid #2f394e; border-radius: 12px; overflow: hidden; }
.community-game-gallery > a { display: block; }
.community-game-gallery > a:focus-visible { outline-offset: -4px; }
.community-game-preview { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.community-gallery-controls { padding: 10px 14px; justify-content: space-between; color: #c7d2e9; }
.community-gallery-controls .button { min-width: 36px; min-height: 36px; padding: 0; }
.community-gallery-controls .button:disabled { opacity: .45; cursor: default; }
.community-filmstrip, .community-upload-previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.community-filmstrip button { cursor: pointer; padding: 0; overflow: hidden; border: 2px solid #343e52; border-radius: 6px; background: #121721; }
.community-filmstrip button[aria-pressed=true] { border-color: #8aafff; }
.community-filmstrip img, .community-upload-previews img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.community-game-links { grid-area: facts; display: grid; gap: 10px; padding: 16px; }
.community-game-links .button { min-height: 44px; }
.community-detail-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; background: #111521; }
.community-game-facts { margin: 4px 0 0; font-size: 14px; }
.community-game-facts > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 14px; padding: 11px 0; border-top: 1px solid #343e52; }
.community-game-facts dt { color: var(--muted, #acb6c9); }
.community-game-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.community-like > button { width: 100%; }
.community-like .community-notice { margin-top: 8px; padding: 10px; }
.community-like .community-icon, .community-like-guest .community-icon { fill: none; }
.community-like button[aria-pressed=true] { color: #ffd0e0; background: #42283f; border-color: #b87597; }
.community-like button[aria-pressed=true] .community-icon { fill: currentColor; }
.community-like-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; font-size: 14px; }
.community-like-guest span { display: inline-flex; align-items: center; gap: 6px; }
.community-game-links .community-itch-link img { flex: none; width: 20px; height: 20px; }
.community-trailer { margin-bottom: 30px; }
.community-trailer iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; background: #0d121c; }
.community-trailer > a { display: inline-block; margin: 8px 0 0 12px; }
.community-trailer iframe + a { margin-left: 0; }
.community-report { font-size: 13px; }
.community-game-about h2 { margin-top: 0; }
.community-description p { white-space: pre-wrap; }
.community-credits { margin-top: 24px; color: #c7d2e9; font-size: 14px; }
.community-credits summary { cursor: pointer; font-weight: 650; }
.community-tags, .community-tag-buttons { display: flex; flex-wrap: wrap; gap: 7px; margin: 5px 0 12px; padding: 0; list-style: none; }
.community-tags li, .community-tag { border: 1px solid #42506c; background: #242e46; color: #fcfcff; padding: 5px 10px; border-radius: 6px; font-size: 13px; }
.community-tag { cursor: pointer; }
.community-tag[aria-pressed=true] { background: #a4baff; color: #141e3a; border-color: #a4baff; }
.community-form-head { margin-bottom: 24px; }
.community fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.community-form-columns > div { display: grid; gap: 16px; min-width: 0; }
.community-form label, .community-review label, .community-privacy label { display: grid; gap: 5px; margin-bottom: 12px; font-weight: 640; font-size: 14px; }
.community input:not([type=checkbox]), .community textarea, .community select {
  width: 100%; max-width: 100%; min-width: 0; background: #111624; color: #fbfcff; border: 1px solid #46516b; border-radius: 6px; padding: 9px 10px; font: inherit;
}
.community input::file-selector-button { border: 0; background: #374668; color: white; border-radius: 4px; padding: 6px 8px; margin-inline-end: 8px; cursor: pointer; }
.community textarea { resize: vertical; }
.community-form label .community-row { flex-wrap: nowrap; }
.community-form summary { cursor: pointer; font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.community-form summary small { color: #9ba9bf; margin-left: 4px; font-size: 13px; font-weight: 500; }
.community-cover-preview img { width: 100%; height: auto; border-radius: 7px; margin-bottom: 12px; }
.community-form label.community-checkbox { display: flex; align-items: start; gap: 8px; }
.community-checkbox input { margin-top: 4px; accent-color: #a4baff; }
.community .community-error { color: #ffbcc7; }
.community-rules { max-width: 800px; }
.community-rules h2 { margin-top: 30px; }
.community-rules li { margin-bottom: 7px; }
.download-options { margin-bottom: 16px; }
.download-options [aria-current] { background: #343f67; border-color: #94adff; }
.download-panels { display: grid; gap: 16px; }
.download-panel h3 { margin: 20px 0 6px; }
.download-edition { margin-top: 24px; }
.download-commercial {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
  border-color: #494966;
  border-left: 4px solid #c6b2ff;
  background: #222439;
}
.download-commercial > div:first-child { flex: 1 1 420px; }
.download-commercial h2 { color: #f3edff; }
.download-commercial p, .download-commercial .actions { margin: 0; }
.download-commercial .actions { align-items: center; }
@media (max-width: 840px) {
  .community-grid:not(.community-grid-single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-detail, .community-form-columns { grid-template-columns: minmax(0, 1fr); }
  .community-detail { grid-template-areas: "media" "facts" "about"; }
  .community-review { grid-template-columns: 100px minmax(0, 1fr); }
  .community-review form { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .community { width: calc(100% - 28px); }
  .community-hero { align-items: flex-start; flex-direction: column; }
  .community-grid:not(.community-grid-single), .community-privacy { grid-template-columns: minmax(0, 1fr); }
  .community-grid-single .community-card { grid-template-columns: minmax(0, 1fr); }
  .community-submission { grid-template-columns: 76px minmax(0, 1fr); }
  .community-submission > button { grid-column: 2; justify-self: start; }
}
