:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #111;
  --muted: #666;
  --line: #d6d6d6;
  --soft-line: #e9e9e9;
  --soft: #f7f7f7;
  --link: #0645ad;
  --marker: #fff4bd;
  --green: #315d47;
  --red: #aa3328;
  --code: "Courier New", Courier, monospace;
  --sans: Verdana, Geneva, sans-serif;
  --display: Arial, Helvetica, sans-serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-size: 13px; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.12em; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { overflow-wrap: break-word; }
.community-preview-banner { border-bottom: 1px solid var(--line); background: #fff2a8; padding: 0.45rem 1rem; color: var(--ink); font: 700 0.68rem/1.4 var(--code); text-align: center; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100; padding: 0.7rem 0.9rem; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.community-site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem 1rem;
  align-items: end;
  width: min(1180px, calc(100% - 2rem));
  margin: auto;
  padding: 0.82rem 0.9rem 0.72rem;
  border-bottom: 1px dotted #e5e5e5;
}
.community-brand { display: flex; min-width: 0; flex-wrap: wrap; gap: 0.28rem 0.5rem; align-items: baseline; }
.community-brand a { color: var(--ink); }
.community-name { font: 700 1.35rem/1 var(--display); text-decoration: none; }
.community-brand-separator { color: #777; font: 0.67rem/1.2 var(--code); }
.community-wordmark { color: #555; font: 400 0.66rem/1.2 var(--code); text-decoration: none; }
.community-issue-links { display: flex; flex-wrap: wrap; gap: 0.28rem 0.5rem; align-items: center; justify-content: flex-end; font: 0.68rem/1.3 var(--code); }
.community-issue-links span { color: #777; }
.community-issue-links .is-current,
.community-status,
.community-badge {
  background: linear-gradient(to top, transparent 0, transparent 0.08em, var(--marker) 0.08em, var(--marker) 0.74em, transparent 0.74em);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #2d2608;
  padding: 0 0.04rem;
}

#community-app { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 3rem; }
.community-shell { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.community-status-strip { border-bottom: 1px solid var(--line); background: #f8f8f8; padding: 0.48rem 0.65rem; font: 0.72rem/1.2 var(--code); }
.community-showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem 2rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0.82rem 0.85rem;
}
.community-showcase-hero.has-organizer { grid-template-columns: minmax(0, 1fr) auto; }
.community-layout { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(18rem, 0.4fr); align-items: start; }
.community-main { min-width: 0; padding: 0.85rem; }
.community-intro p { max-width: 68ch; margin: 0; color: #333; line-height: 1.5; }

.community-organizer-profile {
  display: grid;
  grid-template-columns: 3.15rem minmax(0, 1fr);
  width: 33rem;
  max-width: 100%;
  min-width: 0;
  gap: 0.62rem;
  align-items: start;
  border-left: 1px solid var(--line);
  padding-left: 0.8rem;
}
.community-organizer-photo { display: block; width: 3.15rem; height: 3.15rem; border: 1px solid var(--line); object-fit: cover; }
.community-organizer-copy {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.7fr) minmax(13rem, 1.3fr);
  min-width: 0;
  gap: 0.18rem 0.72rem;
}
.community-organizer-identity { min-width: 0; }
.community-organizer-kicker { display: block; color: var(--muted); font: 0.64rem/1.35 var(--code); }
.community-organizer-name { margin: 0.1rem 0 0; }
.community-organizer-name a { color: var(--ink); font: 700 0.98rem/1.08 var(--display); text-decoration-thickness: 1px; }
.community-organizer-links { display: flex; grid-column: 1; flex-wrap: wrap; gap: 0.16rem 0.48rem; font: 0.63rem/1.3 var(--code); }
.community-organizer-bio { grid-column: 2; grid-row: 1 / span 2; margin: 0; border-left: 1px solid var(--soft-line); color: #3f3f3f; padding-left: 0.72rem; font-size: 0.72rem; line-height: 1.38; }

.campaign-panel { min-width: 0; border-left: 1px solid #e4e4e4; padding: 0.85rem; }
.campaign-panel h2 { margin: 0.3rem 0 0; font: 700 1.1rem/1.1 var(--display); }
.campaign-panel > p,
.campaign-copy > p:not(.community-status) { margin: 0.55rem 0 0; color: #444; font-size: 0.78rem; line-height: 1.45; }
.campaign-instruction { color: var(--ink) !important; font-weight: 700; }
.campaign-next-step { border-left: 3px solid var(--marker); padding-left: 0.55rem; }
.community-status { display: inline; margin: 0; font: 700 0.67rem/1.3 var(--code); }
.campaign-actions { display: grid; justify-items: start; gap: 0.65rem; margin-top: 0.75rem; }
.campaign-dates { display: grid; width: 100%; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.campaign-date { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem; align-items: baseline; border-bottom: 1px solid var(--soft-line); padding: 0.38rem 0; }
.campaign-date dt { color: #666; font: 0.65rem/1.3 var(--code); }
.campaign-date dd { margin: 0; font-weight: 700; }
.community-rules { width: 100%; border-bottom: 1px solid var(--soft-line); padding-bottom: 0.55rem; }
.community-rules summary { color: var(--link); font: 700 0.67rem/1.35 var(--code); text-decoration: underline; text-underline-offset: 0.12em; cursor: pointer; }
.community-rules p { margin: 0.5rem 0 0; color: #444; font-size: 0.72rem; line-height: 1.5; }

.community-button,
.community-vote-button {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 0.25rem 0.55rem;
  font: 700 0.72rem/1.3 var(--code);
  text-decoration: none;
  cursor: pointer;
}
.community-button:hover,
.community-button:focus-visible,
.community-vote-button:hover,
.community-vote-button:focus-visible { background: var(--marker); color: #111; }
.community-button-secondary { background: var(--paper); color: var(--ink); }
.community-button:disabled,
.community-vote-button:disabled { cursor: not-allowed; opacity: 0.62; }
.community-share-control { display: grid; width: 100%; gap: 0.35rem; }
.community-share-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--soft); }
.community-share-menu[hidden] { display: none; }
.community-share-menu > * { display: flex; min-height: 2rem; align-items: center; justify-content: center; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); padding: 0.35rem; font: 700 0.65rem/1.2 var(--code); text-align: center; text-decoration: none; cursor: pointer; }
.community-share-menu > *:last-child { border-right: 0; }
.community-share-menu > *:hover,
.community-share-menu > *:focus-visible { background: var(--marker); }
.community-share-message { margin: 0; color: #555; font: 0.65rem/1.35 var(--code); overflow-wrap: anywhere; }
.community-share-message[hidden] { display: none; }
.community-share-dialog { width: min(31rem, calc(100% - 1.25rem)); max-height: min(42rem, calc(100vh - 1.25rem)); padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.community-share-dialog::backdrop { background: rgba(17, 17, 17, 0.68); }
.community-share-dialog-card { padding: 0.9rem; }
.community-share-dialog-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.8rem; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }
.community-share-dialog-kicker { margin: 0; color: var(--muted); font: 0.63rem/1.35 var(--code); }
.community-share-dialog-heading h2 { margin: 0.25rem 0 0; font: 700 1.35rem/1.05 var(--display); }
.community-share-dialog-subtitle { max-width: 38ch; margin: 0.4rem 0 0; color: #444; font-size: 0.75rem; line-height: 1.45; }
.community-share-dialog-close { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 700 1.1rem/1 var(--display); cursor: pointer; }
.community-share-dialog-close:hover,
.community-share-dialog-close:focus-visible { background: var(--marker); }
.community-share-dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding-top: 0.8rem; }
.community-share-dialog-action { min-height: 2.65rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 0.5rem; font: 700 0.68rem/1.3 var(--code); cursor: pointer; }
.community-share-dialog-action:hover,
.community-share-dialog-action:focus-visible { border-color: var(--ink); background: var(--marker); }
.community-share-dialog-status { min-height: 1em; margin: 0.65rem 0 0; color: #555; font: 0.62rem/1.35 var(--code); }
.community-deadline { display: grid; gap: 0.25rem; margin: 0; font: 700 0.77rem/1.35 var(--code); }
.community-deadline span { text-transform: uppercase; }

.verification-panel {
  --verification-bg: #fff9d9;
  --verification-border: #b9a10b;
  --verification-accent: #ffe151;
  --verification-accent-ink: #111;
  --verification-muted: #655700;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(8rem, auto) minmax(10rem, auto);
  gap: 0.7rem 1rem;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--verification-border);
  background: var(--verification-bg);
  padding: 0.82rem;
}
.verification-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.2rem;
  background: #111;
  content: "";
  transform-origin: left;
  animation: community-verification-sweep 1900ms ease-out both;
}
.verification-panel[hidden] { display: none; }
.verification-panel.is-error {
  --verification-bg: #f8e5df;
  --verification-border: #aa3328;
  --verification-accent: #e7b2a8;
  --verification-muted: #7c281f;
}
.verification-panel.is-error::after { display: none; }
.verification-state-signal {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid var(--verification-border);
  background: var(--verification-accent);
  color: var(--verification-accent-ink);
  font: 700 1rem/1 var(--display);
}
.verification-state-copy { min-width: 0; }
.verification-state-copy .community-status {
  width: fit-content;
  background: var(--verification-accent);
  color: var(--verification-accent-ink);
  padding: 0.08rem 0.18rem;
}
.verification-panel h2 { margin: 0.2rem 0 0; font: 700 1.1rem/1.12 var(--display); }
.verification-state-body { margin: 0.35rem 0 0; color: #444; line-height: 1.4; }
.verification-state-reminder { margin: 0.42rem 0 0; color: #4d5f46; font-size: 0.68rem; line-height: 1.45; }
.verification-state-meta {
  display: grid;
  min-width: 8rem;
  gap: 0.12rem;
  border-left: 1px solid var(--verification-border);
  padding-left: 0.8rem;
}
.verification-state-meta span { color: #666; font: 0.6rem/1.3 var(--code); }
.verification-state-meta strong { font: 700 0.82rem/1.2 var(--display); }
.verification-controls { display: grid; min-width: 10rem; gap: 0.5rem; }
.verification-message {
  display: inline-flex;
  min-height: 2.35rem;
  gap: 0.42rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid var(--verification-border);
  background: transparent;
  color: var(--verification-muted);
  padding: 0.45rem 0.7rem;
  font: 700 0.68rem/1.25 var(--code);
  text-align: center;
}
.verification-message.is-error { display: block; border: 1px solid var(--red); background: #f8e5df; color: var(--ink); }
.verification-loading-dots { display: inline-flex; gap: 0.18rem; align-items: center; justify-content: center; }
.verification-loading-dot {
  width: 0.28rem;
  height: 0.28rem;
  background: currentColor;
  animation: community-verification-dot 900ms ease-in-out infinite;
}
.verification-loading-dot:nth-child(2) { animation-delay: 130ms; }
.verification-loading-dot:nth-child(3) { animation-delay: 260ms; }
.verification-state-signal .verification-loading-dot { width: 0.24rem; height: 0.24rem; }
.community-vote-success {
  --verification-bg: #edf4e8;
  --verification-border: #6f8663;
  --verification-accent: #b8d3a8;
  --verification-accent-ink: #111;
  --verification-muted: #405637;
  animation: community-verification-arrive 280ms ease-out;
}
.community-vote-success::after { display: none; }
.community-vote-success .verification-state-signal { animation: community-verification-check 240ms ease-out; }
.community-vote-success .community-share-button { width: 100%; }
.community-message { margin: 0.7rem 0 0; padding: 0.8rem; border-left: 4px solid var(--green); background: #e7f0e7; line-height: 1.45; }
.community-message[hidden] { display: none; }
.community-message.is-error { border-color: var(--red); background: #f8e5df; }
.community-message.verification-message {
  margin: 0;
  border: 1px solid var(--verification-border);
  background: transparent;
  color: var(--verification-muted);
  padding: 0.45rem 0.7rem;
  line-height: 1.25;
}
.community-message.verification-message.is-error { border-color: var(--red); background: #f8e5df; color: var(--ink); }

@keyframes community-verification-dot {
  0%, 65%, 100% { opacity: 0.28; transform: translateY(0); }
  32% { opacity: 1; transform: translateY(-0.18rem); }
}

@keyframes community-verification-sweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes community-verification-arrive {
  from { filter: saturate(0.35); opacity: 0.82; }
  to { filter: saturate(1); opacity: 1; }
}

@keyframes community-verification-check {
  from { opacity: 0.2; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.community-results { margin: 0 0 0.9rem; border: 1px solid var(--line); background: #fafafa; padding: 0.75rem; }
.community-results h2 { margin: 0; font: 700 1rem/1.2 var(--display); }
.community-results-note,
.community-results-method { margin: 0.4rem 0 0; color: #555; font-size: 0.7rem; line-height: 1.45; }
.community-result-list { display: grid; margin-top: 0.7rem; border-top: 1px solid var(--line); }
.community-result-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: baseline; border-bottom: 1px solid var(--soft-line); padding: 0.45rem 0; }
.community-result-project { display: flex; min-width: 0; flex-wrap: wrap; gap: 0.25rem 0.55rem; align-items: baseline; }
.community-result-project span { color: var(--green); font: 700 0.62rem/1.35 var(--code); }
.community-result-count { font: 700 0.68rem/1.35 var(--code); white-space: nowrap; }
.community-projects { padding-top: 0; }
.community-section-heading { margin-bottom: 0.6rem; }
.community-section-heading h2 { margin: 0; font: 700 1rem/1.2 var(--display); }
.community-project-list { display: grid; gap: 0.7rem; }
.community-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; gap: 1rem; align-items: start; border-bottom: 1px solid #eee; padding-bottom: 0.7rem; scroll-margin-top: 1rem; }
.community-card:last-child { border-bottom: 0; padding-bottom: 0; }
.community-card:target { background: linear-gradient(90deg, #fffbea, transparent); }
.community-card.is-winner { background: linear-gradient(90deg, #fffbea, transparent); }
.community-card.is-selected { border-color: #d6bc44; }
.community-card-copy { min-width: 0; }
.community-card h3 { margin: 0; font-size: 0.95rem; line-height: 1.35; }
.community-card-summary { margin: 0.24rem 0 0; color: #333; line-height: 1.45; }
.community-card-meta { margin: 0.32rem 0 0; color: #777; font: 0.73rem/1.35 var(--code); }
.community-card-meta > * { display: inline; }
.community-badge { font-weight: 700; }
.community-badge.is-community { color: var(--green); }
.community-badge.is-editorial { color: #244f91; }
.community-badge.is-current { color: #2d2608; }
.community-vote-button { border-color: #777; background: #fff; color: #111; font-family: var(--sans); font-weight: 400; }
.community-vote-button.is-selected { border-color: #9c7e1d; background: var(--marker); color: #111; opacity: 1; }
.community-empty { padding: 1rem 0; border-top: 1px dashed var(--line); }
.community-empty h3 { margin: 0; font: 700 1rem/1.2 var(--display); }
.community-empty p { margin-bottom: 0; line-height: 1.45; }

.community-project-page { min-width: 0; }
.community-project-detail { display: grid; width: min(100%, 960px); min-width: 0; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem); }
.community-project-hero { position: relative; display: grid; width: 100%; aspect-ratio: 1200 / 630; margin: 0; place-items: center; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: #f5f5f5; }
.community-project-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.community-project-hero.is-portrait img { object-fit: contain; }
.community-build-number-badges { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; display: grid; max-width: calc(100% - 1.5rem); gap: 0.28rem; justify-items: end; }
.community-build-number-badges.is-inline { position: static; max-width: 100%; margin: 0 0 0.48rem; justify-items: start; }
.community-project-hero .community-build-number-badge,
.community-build-number-badges.is-inline .community-build-number-badge { display: grid; width: max-content; max-width: 100%; box-sizing: border-box; gap: 0.08rem; background: rgb(255 255 255 / 95%); padding: 0.4rem 0.46rem; color: var(--ink); text-align: left; white-space: nowrap; }
.community-project-hero .community-build-number-badge small,
.community-build-number-badges.is-inline .community-build-number-badge small { font: 400 0.58rem/1.25 var(--code); }
.community-project-hero .community-build-number-badge strong,
.community-build-number-badges.is-inline .community-build-number-badge strong { font: 700 0.78rem/1.2 var(--display); }
.community-project-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: center; border: 1px solid var(--line); background: #fafafa; padding: 0.8rem; }
.community-project-title-block { min-width: 0; }
.community-project-caption h1 { margin: 0; font: 700 clamp(1.35rem, 2.5vw, 1.75rem)/1.04 var(--display); letter-spacing: -0.02em; }
.community-project-author-line { display: flex; width: fit-content; max-width: 100%; min-width: 0; flex-wrap: wrap; gap: 0.3rem 0.45rem; align-items: center; justify-content: flex-end; }
.community-project-author-prefix { color: var(--muted); font: 0.68rem/1.35 var(--code); }
.community-project-author-name {
  background: linear-gradient(to top, transparent 0, transparent 0.06em, var(--marker) 0.06em, var(--marker) 0.7em, transparent 0.7em);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font: 700 0.95rem/1.2 var(--display);
  padding: 0 0.08rem;
}
.community-project-author-divider { color: #888; font: 0.76rem/1 var(--code); }
.community-project-author-links { display: inline-flex; min-width: 0; flex-wrap: wrap; gap: 0.35rem 0.55rem; align-items: center; }
.community-project-author-link { display: inline-flex; min-width: 0; gap: 0.28rem; align-items: center; color: var(--ink); font: 0.68rem/1.3 var(--code); }
.community-project-author-image { display: inline-grid; flex: 0 0 auto; width: 1.65rem; height: 1.65rem; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.community-project-author-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.community-project-author-link.is-favicon .community-project-author-image { border-radius: 0.25rem; padding: 0.22rem; }
.community-project-author-link.is-favicon .community-project-author-image img { object-fit: contain; }
.community-project-author-link.has-image-error .community-project-author-image img { display: none; }
.community-project-author-link.has-image-error .community-project-author-image::after { content: "↗"; color: #666; font: 0.65rem/1 var(--code); }
.community-project-build-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.community-project-build-actions .community-button { min-height: 2.45rem; padding: 0.48rem 0.8rem; }
.community-project-build-actions .community-share-control { width: auto; }
.community-project-description { max-width: 72ch; margin-top: 1rem; }
.community-project-description p { margin: 0; font-size: clamp(0.9rem, 1.35vw, 1rem); line-height: 1.58; }
.community-project-social-proof { margin-top: 1rem; }
.community-project-vote-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17.75rem, 0.44fr); margin-top: 1rem; border: 1px solid var(--line); background: #fff; }
.community-project-vote-copy,
.community-project-vote-actions { min-width: 0; padding: 0.85rem; }
.community-project-vote-copy h2 { margin: 0.3rem 0 0; font: 700 1.08rem/1.15 var(--display); }
.community-project-vote-copy > p:not(.community-status) { max-width: 68ch; margin: 0.52rem 0 0; color: #444; font-size: 0.77rem; line-height: 1.48; }
.community-project-vote-actions { display: grid; align-content: start; gap: 0.75rem; border-left: 1px solid var(--line); background: #fafafa; }
.community-saved-choice { border-left: 3px solid #d6bc44; padding-left: 0.55rem; }
.community-saved-choice strong { font: 700 0.68rem/1.35 var(--code); }
.community-saved-choice p { margin: 0.25rem 0 0; color: #555; font-size: 0.68rem; line-height: 1.45; }
.community-project-vote-actions .campaign-dates { border-top: 1px solid var(--line); }
.community-project-vote-panel .community-vote-button { width: 100%; }
.community-creator-stats {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(13rem, 1fr);
  gap: 0.55rem;
  margin: 1rem 0 0;
}
.community-creator-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin: 0; }
.community-creator-stats-grid div,
.community-creator-stats-summary { min-width: 0; background: var(--marker); padding: 0.65rem; }
.community-creator-stats-grid div { display: grid; align-content: start; }
.community-creator-stats-grid dt { color: var(--ink); font: 700 0.62rem/1.3 var(--code); }
.community-creator-stats-grid dd { margin: 0; }
.community-creator-stat-value { margin-top: 0.18rem !important; font: 700 0.95rem/1.1 var(--display); }
.community-creator-stat-definition { margin-top: 0.35rem !important; color: #5f5835; font: 0.58rem/1.4 var(--code); }
.community-creator-stats-summary { grid-column: 2; grid-row: 1; }
.community-creator-stats-summary h2 { margin: 0.22rem 0 0; font: 700 1.05rem/1.1 var(--display); }
.community-creator-stats-summary > p:last-child { margin: 0.32rem 0 0; color: #4f492d; font-size: 0.72rem; line-height: 1.45; }
.community-creator-stats-eyebrow { margin: 0; color: #645c30; font: 0.58rem/1.35 var(--code); text-transform: uppercase; letter-spacing: 0.03em; }
.community-creator-stats.is-loading { grid-template-columns: 1fr; }
.community-creator-stats.is-loading .community-creator-stats-summary { grid-column: 1; }
.community-project-compact-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.78rem;
  font: 0.68rem/1.3 var(--code);
}
.community-project-nav-link { width: fit-content; }
.community-project-nav-link.is-previous { justify-self: start; }
.community-project-nav-link.is-all { justify-self: center; font-weight: 700; }
.community-project-nav-link.is-next { justify-self: end; }
.community-project-nav-link.is-disabled { color: #aaa; }

.community-attribution { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; justify-content: space-between; border-top: 1px solid var(--line); padding: 0.62rem 0.82rem; color: #666; font: 0.65rem/1.4 var(--code); }
.community-attribution p { margin: 0; }

.community-hero { margin-top: 0.8rem; border: 1px solid var(--line); padding: clamp(1.1rem, 4vw, 2rem); }
.community-kicker { margin: 0 0 0.35rem; color: var(--muted); font: 700 0.67rem/1.3 var(--code); text-transform: uppercase; }
.community-hero h1 { max-width: 850px; margin: 0; font: 700 clamp(1.8rem, 5vw, 3.4rem)/1 var(--display); letter-spacing: -0.035em; }
.community-lede { max-width: 720px; margin: 0.7rem 0 0; line-height: 1.5; }
body[data-community-view="submit"] .community-hero h1 { max-width: 760px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
body[data-community-view="submit"] .community-lede { max-width: 760px; }
.community-desktop-break { display: initial; }
.community-submit-shell { margin-top: 0.85rem; border: 1px solid var(--line); background: var(--paper); }
.community-submit-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; border-bottom: 1px solid var(--line); background: #f8f8f8; padding: 0.85rem; }
.community-submit-note h2 { margin: 0; font: 700 1rem/1.2 var(--display); }
.community-submit-note p { margin: 0; line-height: 1.45; }
.community-submission-form { display: grid; gap: 1rem; padding: clamp(0.9rem, 3vw, 1.5rem); }
.community-submission-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.1rem; }
.community-submission-field { display: grid; min-width: 0; align-content: start; gap: 0.3rem; }
.community-submission-field.is-wide { grid-column: 1 / -1; }
.community-submission-field label { font: 700 0.72rem/1.35 var(--code); }
.community-required { color: var(--red); }
.community-field-hint { min-height: 1em; margin: -0.08rem 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.35; }
.community-submission-field input,
.community-submission-field textarea,
.community-submission-field select {
  width: 100%;
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.58rem 0.65rem;
}
.community-submission-field textarea { min-height: 5.5rem; resize: vertical; line-height: 1.45; }
.community-submission-field input:hover,
.community-submission-field textarea:hover,
.community-submission-field select:hover { border-color: #999; }
.community-submission-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem 0.8rem; align-items: center; border-top: 1px solid var(--soft-line); padding-top: 0.95rem; }
.community-submission-message { margin: 0; color: #444; font: 0.68rem/1.4 var(--code); }
.community-submission-message.is-error { color: var(--red); }
.community-submission-privacy { grid-column: 1 / -1; max-width: 74ch; margin: 0; color: var(--muted); font-size: 0.65rem; line-height: 1.45; }
.community-submission-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.community-submit-success { padding: clamp(1.5rem, 6vw, 3rem); }
.community-submit-success h2 { max-width: 760px; margin: 0.5rem 0; font: 700 clamp(1.6rem, 5vw, 3rem)/1 var(--display); letter-spacing: -0.03em; }
.community-submit-success p { max-width: 680px; line-height: 1.55; }
body[data-community-view="submit"] .community-attribution { margin-top: 0.85rem; border: 1px solid var(--line); }

.community-vote-dialog { width: min(560px, calc(100% - 2rem)); padding: clamp(1.2rem, 4vw, 2.4rem); border: 1px solid var(--line); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.community-vote-dialog::backdrop { background: rgba(17, 17, 17, 0.7); }
.community-vote-dialog h2 { margin: 1rem 0; font: 700 clamp(1.8rem, 6vw, 3.2rem)/1 var(--display); letter-spacing: -0.035em; }
.dialog-close { float: right; border: 0; background: transparent; font: 700 0.75rem/1 var(--code); text-decoration: underline; cursor: pointer; }
.community-vote-form { display: grid; gap: 0.75rem; }
.community-vote-form > p { margin: 0; line-height: 1.5; }
.community-vote-form .community-dialog-deadline { border-left: 3px solid var(--marker); padding-left: 0.55rem; font: 700 0.68rem/1.4 var(--code); }
.community-vote-form label { font-weight: 700; }
.community-vote-form input[type="email"] { width: 100%; min-height: 42px; padding: 0.65rem; border: 1px solid var(--line); background: white; }
.community-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.community-loading,
.community-not-found { max-width: 780px; margin: 12vh auto; padding: 2rem; border: 1px solid var(--line); background: var(--paper); }
.community-not-found h1 { margin: 0.5rem 0; font: 700 clamp(2rem, 7vw, 4rem)/1 var(--display); letter-spacing: -0.04em; }

@media (max-width: 820px) {
  .community-site-header { grid-template-columns: 1fr; }
  .community-issue-links { justify-content: flex-start; }
  .community-showcase-hero.has-organizer { grid-template-columns: 1fr; align-items: start; }
  .community-organizer-profile { width: 100%; max-width: none; }
  .community-layout { display: flex; flex-direction: column; }
  .community-project-detail { width: 100%; }
  .community-main { display: contents; }
  .campaign-panel { order: 2; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .community-results { order: 3; width: calc(100% - 1.7rem); margin: 0.85rem 0.85rem 0; }
  .community-projects { order: 4; width: 100%; padding: 0.85rem; }
  .verification-panel { grid-template-columns: auto minmax(0, 1fr) auto; }
  .verification-state-meta { display: none; }
  .community-desktop-break { display: none; }
  .community-submit-note { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  #community-app, .community-site-header { width: min(100% - 0.75rem, 1180px); }
  .community-site-header { padding: 0.7rem; }
  .community-showcase-hero { gap: 0.8rem; padding: 0.7rem; }
  .community-organizer-profile { grid-template-columns: 2.75rem minmax(0, 1fr); border-top: 1px solid var(--line); border-left: 0; padding: 0.6rem 0 0; }
  .community-organizer-photo { width: 2.75rem; height: 2.75rem; }
  .community-organizer-copy { display: block; }
  .community-organizer-links { margin-top: 0.15rem; }
  .community-organizer-bio { margin-top: 0.3rem; border-left: 0; padding-left: 0; }
  .community-brand { align-items: center; }
  .community-card { grid-template-columns: 1fr; gap: 0.55rem; }
  .community-vote-button { width: 100%; }
  .community-attribution { display: grid; }
  .community-submit-note { align-items: start; }
  .community-submission-fields { grid-template-columns: 1fr; }
  .community-submission-field.is-wide { grid-column: auto; }
  .community-submission-actions { grid-template-columns: 1fr; justify-items: start; }
  .community-submission-privacy { grid-column: auto; }
  .community-project-detail { padding: 0.7rem; }
  .community-build-number-badges { top: 0.35rem; right: 0.35rem; max-width: calc(100% - 0.7rem); }
  .community-project-caption { grid-template-columns: 1fr; align-items: start; }
  .community-project-author-line { gap: 0.28rem 0.4rem; justify-content: flex-start; }
  .community-project-build-actions { display: grid; grid-template-columns: 1fr; }
  .community-project-build-actions .community-button,
  .community-project-build-actions .community-share-control { width: 100%; }
  .community-project-vote-panel { grid-template-columns: 1fr; }
  .community-project-vote-actions { border-top: 1px solid var(--line); border-left: 0; }
  .community-result-row { grid-template-columns: 1fr; gap: 0.12rem; }
  .community-result-count { white-space: normal; }
  .community-creator-stats { grid-template-columns: 1fr; }
  .community-creator-stats-summary { grid-column: 1; grid-row: 1; }
  .community-creator-stats-grid { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; }
  .community-share-dialog-actions { grid-template-columns: 1fr; }
  .verification-panel { grid-template-columns: auto minmax(0, 1fr); padding: 0.7rem; }
  .verification-controls { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .verification-loading-dot,
  .verification-panel::after,
  .community-vote-success,
  .community-vote-success .verification-state-signal { animation: none; }
  .verification-loading-dot { opacity: 1; transform: none; }
}
