:root {
  --heading-font: Unbounded, 'Segoe UI', Arial, sans-serif;
  font-family: 'Wix Madefor Display', 'Segoe UI', Arial, sans-serif;
  scrollbar-gutter: stable;
  --accent-foreground: #fff;
  --accent-hover: #a91840;
  --accent-text: #aa1740;
  --header-bg: rgba(250, 248, 244, .97);
  --reserve-bg: #fff0cf;
  --reserve-ink: #624915;
  --danger-bg: #f8e5df;
  --danger-ink: #9e3428;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151416;
  --surface: #211f22;
  --ink: #f6ede1;
  --line: #454047;
  --muted: #c1b7bc;
  --soft: #302d32;
  --olive: #b6be94;
  --olive-soft: #303426;
  --accent-soft: #41222d;
  --accent-text: #ff9bb4;
  --header-bg: rgba(21, 20, 22, .97);
  --reserve-bg: #44351e;
  --reserve-ink: #ffdfa0;
  --danger-bg: #482523;
  --danger-ink: #ffc1b6;
}
h1, h2, h3, h4, h5, h6, .sticker-title {
  font-family: var(--heading-font);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.wordmark { flex: 0 0 auto; }
.wordmark img { width: 105px; height: auto; }
.footer-mark img { width: 82px; }
.wordmark .header-sticker { width: 24px; flex: none; }
.footer-mark .header-sticker { width: 20px; }
.wordmark .logo-dark, .theme-sun { display: none; }
[data-theme="dark"] .wordmark .logo-light, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .wordmark .logo-dark, [data-theme="dark"] .theme-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #151416;
    --surface: #211f22;
    --ink: #f6ede1;
    --line: #454047;
    --muted: #c1b7bc;
    --soft: #302d32;
    --accent-soft: #41222d;
    --accent-text: #ff9bb4;
    --header-bg: rgba(21, 20, 22, .97);
  }
  :root:not([data-theme]) .wordmark .logo-light { display: none; }
  :root:not([data-theme]) .wordmark .logo-dark { display: block; }
}
.theme-toggle { width: 44px; height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .button:active:not(:disabled), .icon-button:active:not(:disabled), button.tab:active:not(:disabled) { scale: .95; }
}
.server-listing-photo { width: 100%; height: 100%; object-fit: contain; }
.site-footer > div { flex-wrap: wrap; }
.button-primary, .skip-link, .nav-count, .avatar-yellow,
.ad-symbol, .send-button, .favorite-button.active { color: var(--accent-foreground); }
.favorite-button.active svg { fill: currentColor; }
.highlight:after { background: var(--accent-soft); }
.category-button.active { color: var(--accent-text); background: var(--accent-soft); border-color: var(--accent-text); }
.category-button.active svg { color: inherit; }
.category-row.catalog-category-row { margin-block: 12px 16px; }
.catalog-category-row .category-button { min-height: 44px; padding: 8px 13px; gap: 8px; font-size: 13px; }
.catalog-category-row .category-button svg { width: 16px; height: 16px; }
.category-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  border-radius: 20px;
  color: var(--bg);
  background: var(--accent-text);
  font-size: 11px;
}
.catalog-category-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 48dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px;
  margin: -3px;
}
.catalog-category-choices label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
}
.catalog-category-choices label:has(input:checked) {
  border-color: var(--accent-text);
  background: var(--accent-soft);
}
.catalog-category-choices label:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.catalog-category-choices label svg { width: 16px; height: 16px; color: var(--olive); }
.catalog-category-choices input { flex: none; width: 16px; height: 16px; margin: 0 0 0 auto; accent-color: var(--accent-text); }
.catalog-category-actions { display: flex; gap: 8px; margin-top: 16px; }
.catalog-category-actions .button { flex: 1; padding-inline: 10px; }
@media (max-width: 470px) {
  .catalog-category-choices { grid-template-columns: 1fr; }
}
.status-reserved { color: var(--reserve-ink); background: var(--reserve-bg); }
.error-message { color: var(--danger-ink); background: var(--danger-bg); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
select option { color: var(--ink); background-color: var(--surface); }
select option:disabled { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  @supports (appearance: base-select) {
    .sort-select, .sort-select::picker(select) { appearance: base-select; }
    .sort-select { gap: 6px; }
    .sort-select::picker(select) { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
    .sort-select option { padding: 8px 10px; border-radius: 6px; }
    .sort-select option:is(:checked,:hover,:focus-visible) { background: var(--accent-soft); color: var(--accent-text); }
  }
}
.photo-main { border-color: var(--line); }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.home-actions .button { white-space: nowrap; }
.mobile-nav { display: none; }

@media (max-width: 1150px) {
  .header-inner { gap: 14px; }
}
@media (min-width: 701px) and (max-width: 950px) {
  .header-inner { gap: 10px; }
  .wordmark img { width: 88px; }
  .footer-mark img { width: 82px; }
  .desktop-nav { gap: 2px; }
  .desktop-nav .nav-link { padding: 10px 9px; font-size: 11px; }
  .desktop-nav .nav-link[data-page="favorites"] { font-size: 0; }
  .desktop-nav .nav-link[data-page="favorites"] > svg { display: block; width: 19px; }
  .header-actions { gap: 6px; }
  .theme-toggle { width: 38px; height: 38px; }
}
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  :root { --mobile-nav-height: calc(55px + env(safe-area-inset-bottom, 0px)); scroll-padding-bottom: calc(4px + var(--mobile-nav-height)); }
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  #main { overflow-anchor: none; }
  .header-inner { height: 72px; gap: 10px; }
  .header-inner .wordmark img { width: 93px; }
  .header-inner .location-button { flex: 0 1 auto; min-width: 0; min-height: 44px; margin-left: auto; }
  .location-button span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .location-button small { display: block; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { flex-shrink: 0; }
  .desktop-nav, .header-profile, .header-actions > .button { display: none; }
  .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,150px));
    justify-content: center;
    gap: 2px;
    min-height: var(--mobile-nav-height);
    padding: 5px max(5px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(5px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: var(--header-bg);
    backdrop-filter: blur(15px);
  }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 3px 0; gap: 3px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); font-size: clamp(8px,2.3vw,11px); }
  .mobile-nav a span { line-height: 1.2; }
  .mobile-nav a[aria-current="page"] { color: var(--accent-text); background: var(--accent-soft); border-color: var(--accent-text); font-weight: 800; }
  .main { padding-bottom: calc(20px + var(--mobile-nav-height)); }
  .site-footer { padding-bottom: calc(24px + var(--mobile-nav-height)); }
  .toasts { bottom: calc(15px + var(--mobile-nav-height)); }
  #message-input { font-size: 16px; }
}
@media (max-width: 700px) {
  .site-footer { display: none; }
  .main[data-server-page] ~ .site-footer { display: flex; padding-bottom: 24px; }
  .home-actions .button { min-height: 44px; padding: 10px 14px; font-size: 12px; }
}
@media (max-width: 350px) {
  .header-inner { gap: 8px; }
  .header-inner .wordmark img { width: 81px; }
  .home-actions .button { padding-inline: 11px; }
  .home-actions .button svg { width: 16px; height: 16px; }
}
.header-inner .wordmark .header-sticker { width: clamp(23px, 3vw, 29px); flex: none; }
@media (orientation: landscape) and (max-height: 500px) {
  .site-header { position: relative; }
}


.message-form { display: block; }
.message-form-row { display: flex; align-items: center; gap: 8px; }
.message-form-row input { flex: 1; min-width: 0; }
.attach-button, .send-button { width: 44px; height: 44px; flex-shrink: 0; }
.draft-attachments { display: flex; align-items: center; gap: 6px; overflow-x: auto; }
.draft-attachments:not(:empty) { margin-bottom: 8px; padding-bottom: 3px; }
.draft-attachment { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; max-width: 100%; padding: 4px 4px 4px 8px; border-radius: 8px; background: var(--soft); font-size: 11px; }
.draft-attachment span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.draft-attachment img { width: 22px; height: 22px; border-radius: 4px; flex: none; }
.draft-attachment button { width: 28px; height: 28px; border-radius: 5px; background: var(--surface); flex: none; }
.draft-attachment svg { width: 15px; height: 15px; }
.draft-loading { color: var(--muted); font-size: 11px; }
.message-attachment { display: flex; align-items: center; gap: 8px; margin: 3px 0; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.message-attachment > span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.message-attachment:hover > span { text-decoration: underline; }
.message-attachment svg { width: 15px; height: 15px; }

@media (max-width: 700px) {
  .chat-layout { height: calc(100dvh - 116px - var(--mobile-nav-height) - env(safe-area-inset-top, 0px)); }
  .chat-layout.has-chat { min-height: 400px; }
  .message-form { padding: 8px 10px; }
  .message-form-row { gap: 6px; }
  .message-form-row input { padding-inline: 10px; }
  .attach-button, .send-button { width: 44px; height: 44px; }
}



.chat-keyboard { scroll-padding-bottom: 0; }
.chat-keyboard .site-header, .chat-keyboard .mobile-nav { visibility: hidden; }
.chat-keyboard #main { min-height: var(--chat-main-height); }
.chat-keyboard .chat-layout.has-chat {
  position: fixed;
  top: var(--chat-viewport-top);
  left: var(--chat-viewport-left);
  width: var(--chat-viewport-width);
  height: var(--chat-viewport-height);
  min-height: 0;
  display: block;
  padding-top: max(0px,calc(env(safe-area-inset-top, 0px) - var(--chat-viewport-top)));
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  border: 0;
  border-radius: 0;
  z-index: 40;
}
.chat-keyboard .chat-sidebar, .chat-keyboard .chat-item, .chat-keyboard .chat-deal-actions,
.chat-keyboard .chat-safety, .chat-keyboard .chat-header small { display: none; }
.chat-keyboard .chat-pane { height: 100%; }
.chat-keyboard .chat-header { min-height: 44px; padding: 4px 10px; gap: 8px; }
.chat-keyboard .chat-header > .avatar { width: 30px; height: 30px; font-size: 10px; }
.chat-keyboard .chat-header .icon-button { width: 32px; height: 32px; }
.chat-keyboard .chat-back { display: grid; }
.chat-keyboard .messages { padding: 8px 12px; gap: 8px; overscroll-behavior: contain; }
.chat-keyboard .message-form { flex-shrink: 0; padding: 6px 8px; }
.chat-keyboard #message-input { min-height: 44px; padding-block: 8px; }
.chat-keyboard .toasts { top: calc(var(--chat-viewport-top) + 50px); bottom: auto; }

.home-hero {
  grid-template:
    "copy artwork" auto
    "actions artwork" auto / minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0 clamp(24px, 4vw, 64px);
  padding: 18px 0 48px;
}
.home-hero .hero-copy { grid-area: copy; align-self: end; }
.home-hero .home-actions { grid-area: actions; align-self: start; }
.home-hero h1 { font-size: clamp(29px, 3.05vw, 45px); font-weight: 700; }
.home-artwork {
  grid-area: artwork;
  position: relative;
  justify-self: end;
  width: min(100%, 530px);
  padding-bottom: 25px;
}
.home-artwork img {
  width: 100%;
  height: auto;
  transform: translateX(clamp(-44px, -3vw, -16px));
}
.home-sticker {
  --sticker-peel: 30px;
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: clamp(152px, 44%, 218px);
  filter: drop-shadow(3px 8px 10px #68122d32);
  transform: rotate(-6deg);
}
.sticker-face {
  position: relative;
  padding: 15px 14px 17px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-foreground);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--sticker-peel)), calc(100% - var(--sticker-peel)) 100%, 0 100%);
}
.sticker-face::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--sticker-peel);
  aspect-ratio: 1;
  border-radius: 9px 0 0;
  background: linear-gradient(135deg,#f3b8ca,#fff5e5 57%,#d892a8);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.sticker-kicker { display: block; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sticker-title { margin-top: 8px; font-size: clamp(13px, 1.22vw, 17px); font-weight: 700; line-height: 1.16; }
.sticker-mark { position: absolute; top: 13px; right: 12px; width: 17px; height: 17px; opacity: .85; }
:root[data-theme="dark"] .home-sticker { filter: drop-shadow(3px 8px 10px #0006); }

.home-section { border-top: 1px solid var(--line); padding-top: 25px; }
.home-section + .home-section { margin-top: 44px; }
.home-section-heading { margin-bottom: 20px; }
.home-about {
  display: grid;
  grid-template-columns: minmax(0,613fr) minmax(0,667fr);
  align-items: start;
  row-gap: 28px;
  padding-top: 28px;
}
.home-about-intro { padding-right: 24px; }
.home-about .home-about-intro h2 { margin-bottom: 14px; font-size: 30px; line-height: 1.1; }
.home-about-intro p { max-width: 480px; margin-bottom: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; text-wrap: balance; }
.home-purpose-list { display: grid; gap: 10px; }
.home-purpose {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 12px 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.home-purpose-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.home-purpose-icon svg { width: 20px; height: 20px; }
.home-purpose h3 { margin: 1px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.25; }
.home-purpose p { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
  .home-about { grid-template-columns: minmax(0,1fr); }
  .home-about-intro { padding-right: 0; }
  .home-purpose { padding: 18px; }
}
@media (max-width: 480px) {
  .home-purpose { grid-template-columns: minmax(0,1fr); }
}
.home-quote {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 52px;
  min-width: 0;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-family: var(--heading-font);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.5;
}
.home-quote-copy { flex: 1; min-width: 0; margin: 0; padding: 12px 16px; }
.home-quote-window, .home-quote-toggle { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .home-quote:not(.is-paused) .home-quote-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .home-quote:not(.is-paused) .home-quote-window { display: block; flex: 1; min-width: 0; overflow: hidden; }
  .home-quote-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    animation: home-quote-scroll 28s linear infinite;
  }
  .home-quote-track span { flex: 1 0 auto; padding-inline: 16px 42px; white-space: nowrap; }
  .home-quote-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    min-height: 44px;
    color: inherit;
  }
  .home-quote-toggle:focus-visible { outline-color: currentColor; outline-offset: -5px; }
  .home-quote-toggle svg { width: 12px; height: 12px; stroke-width: 2; opacity: .76; }
  .home-quote-toggle:is(:hover, :focus-visible) svg { opacity: 1; }
  .home-quote-toggle .quote-play, .home-quote.is-paused .quote-pause { display: none; }
  .home-quote.is-paused .quote-play { display: block; }
}
@keyframes home-quote-scroll { to { transform: translateX(-50%); } }
@media (max-width: 700px), (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  .home-quote-track { font-size: 12px; }
}
.home-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.home-steps li { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.home-step-image { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; object-position: center bottom; }
.home-step-copy { min-width: 0; padding: 0 7px 7px; }
.home-step-number { display: inline-grid; place-items: center; min-width: 27px; height: 25px; margin-bottom: 6px; border-radius: 7px; background: var(--olive-soft); color: var(--ink); font-size: 11px; font-weight: 700; }
.home-step-copy h3 { font-size: 16px; }
.home-step-copy p { font-size: 12px; margin-top: 5px; color: var(--muted); }
.home-transfer-count {
  --transfer-frame: #727a41;
  --transfer-glow: #727a4138;
  --transfer-cell: #fff;
  --transfer-ink: #242321;
  --transfer-height: clamp(44px, 7vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2.6vw, 28px);
  margin-top: 14px;
  padding: clamp(12px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
:root[data-theme="dark"] .home-transfer-count {
  --transfer-frame: var(--accent);
  --transfer-glow: #c91b4850;
  --transfer-cell: #0e0d0e;
  --transfer-ink: #f6ede1;
}
.transfer-count-digits {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: clamp(4px, .6vw, 7px);
  padding: clamp(5px, .8vw, 9px);
  border-radius: 13px;
  background: var(--transfer-frame);
  box-shadow: 0 7px 20px var(--transfer-glow);
}
.transfer-digit {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(31px, 5.5vw, 52px);
  height: var(--transfer-height);
  overflow: hidden;
  border-radius: 7px;
  background: var(--transfer-cell);
  box-shadow: inset 0 0 6px #0002;
  color: var(--transfer-ink);
  font-family: var(--heading-font);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.transfer-reel {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  grid-template-rows: repeat(2, var(--transfer-height));
  transform: translateY(-50%);
}
.transfer-reel span { display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .transfer-reel { animation: transfer-roll .55s cubic-bezier(.22,.75,.32,1) both; }
}
@keyframes transfer-roll { from { transform: translateY(0); } }
.transfer-count-copy { flex: 1 1 120px; min-width: 0; }
.transfer-count-total { font-size: clamp(13px, 1.6vw, 17px); font-weight: 700; line-height: 1.35; }
.transfer-count-live { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.transfer-count-live::before { content: ""; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--transfer-frame); }
.home-city-interest { gap: 10px; min-height: 43px; margin-top: 10px; padding: 11px 20px; border-color: var(--ink); font-size: 13px; }
.home-city-interest svg { width: 18px; height: 18px; }
.home-about-intro .home-city-vote { margin: 10px 0 0; font-size: 12px; text-wrap: wrap; }
.city-interest-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.community-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: clamp(15px, 2.5vw, 25px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.profile-daily-idea { margin-top: 18px; background: var(--olive-soft); }
.community-card h2 { display: flex; align-items: center; gap: 8px; font-size: clamp(14px, 1.55vw, 18px); }
.community-card h2 svg { width: 18px; height: 18px; color: var(--olive); }
.community-card h3 { font-size: clamp(15px, 1.7vw, 21px); }
.community-card p { color: var(--muted); font-size: 14px; }
.community-card .button { margin-top: auto; }
.home-news-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.home-news-items article { display: grid; align-content: start; gap: 8px; }
.home-news-items article + article { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.home-news-items .button { justify-self: start; min-height: 42px; }
.home-news-links { display: flex; flex-wrap: wrap; gap: 8px; }
.home-project-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.home-project-support p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.home-faq-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-faq-answers { display: grid; gap: 8px; }
.home-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.home-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  border-radius: inherit;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.home-faq summary svg { width: 17px; color: var(--olive); }
.home-faq details[open] summary svg { transform: rotate(180deg); }
.home-faq details p { padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
.home-faq details a { color: var(--accent-text); text-decoration: underline; }
.home-give + .home-faq { margin-top: clamp(28px, 4vw, 37px); }
.home-project-support .button { flex-shrink: 0; }
.home-give {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 37px;
  padding: clamp(20px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
}
.home-give p { font-size: 13px; margin-top: 7px; }
.home-give-button { flex-shrink: 0; background: #fff8f5; color: #8e1536; }
.home-give-button:hover { background: #fbe7ed; }
.home-give-button:focus-visible { outline-color: #fff; }

@media (min-width: 701px) and (max-width: 920px) {
  .home-hero h1 { font-size: clamp(24px, 3.1vw, 29px); }
}
@media (min-width: 701px) and (hover: none) and (pointer: coarse) {
  .home-hero { grid-template-areas: "copy artwork" "actions actions"; }
  .home-hero .hero-copy { align-self: center; }
}
@media (max-width: 700px) {
  .home-hero {
    grid-template: "copy" "artwork" "actions" / minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 29px;
  }
  .home-hero h1 { font-size: clamp(21px, 5.9vw, 29px); }
  .home-artwork { justify-self: center; width: min(100%, 370px); padding-bottom: 32px; }
  .home-artwork img { transform: translateX(clamp(-20px, -3.7vw, -10px)); }
  .home-hero .home-actions { margin-top: 0; }
  .home-section { padding-top: 20px; }
  .home-section + .home-section { margin-top: 31px; }
  .home-section-heading { margin-bottom: 15px; }
  .home-section h2, .home-give h2 { font-size: 23px; }
  .home-steps { grid-template-columns: 1fr; gap: 8px; }
  .home-steps li { grid-template-columns: clamp(92px, 30vw, 152px) minmax(0, 1fr); align-items: center; }
  .home-step-image { object-position: center; }
  .home-step-copy { padding: 0; }
  .community-card h2 { font-size: 16px; }
  .home-news-items { grid-template-columns: 1fr; gap: 14px; }
  .home-news-items article + article { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .home-project-support { align-items: stretch; flex-direction: column; gap: 12px; }
  .home-project-support .button { align-self: flex-start; }
  .home-give { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 28px; }
}

.avatar { position: relative; overflow: hidden; }
.avatar-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#main:focus { outline: none; }
.profile-person > div { min-width: 0; overflow-wrap: anywhere; }
.profile-bio { white-space: pre-line; overflow-wrap: anywhere; }
.profile-card .profile-bio { margin: 12px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-phone-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.profile-phone-toggle input { flex: none; width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--accent); }
.profile-phone-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.profile-phone-link svg { width: 15px; height: 15px; }
.profile-account-email { margin: 12px 0 16px; font-size: 12px; line-height: 1.6; }
.profile-account-email dt { color: var(--muted); }
.profile-account-email dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.profile-heading { align-items: center; }
.profile-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-heading-actions .button { min-height: 44px; text-align: center; }
.profile-heading-actions svg { flex: none; width: 16px; height: 16px; }
@media (max-width: 900px) {
  .profile-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 480px) {
  .profile-heading-actions { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.button.profile-logout {
  border-color: var(--accent-text);
  background: var(--accent-soft);
  color: var(--accent-text);
  gap: 8px;
}
.button.profile-logout:hover { background: var(--accent); color: #fff; }
.button.profile-logout-mobile { display: none; }

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .profile-heading-actions .profile-logout-desktop { display: none; }
  .button.profile-logout-mobile { display: flex; width: 100%; min-height: 44px; margin-top: 14px; }
}

.profile-avatar-crop {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.profile-avatar-crop p { text-align: center; font-size: 13px; color: var(--muted); }
.profile-avatar-crop canvas {
  display: block;
  width: min(100%, 232px);
  height: auto;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
}
.profile-avatar-crop canvas:active { cursor: grabbing; }
.profile-avatar-crop canvas:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.profile-crop-range { display: flex; align-items: center; gap: 12px; width: min(100%, 280px); font-size: 13px; }
.profile-crop-range input { flex: 1; width: 100%; height: 32px; accent-color: var(--accent-text); }
.profile-crop-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.profile-crop-actions .button { min-height: 44px; }

.profile-card [data-action="edit-profile"] { padding-inline: 10px; gap: 6px; }
.profile-card [data-action="edit-profile"] svg { width: 16px; height: 16px; }

.district-alert-banner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.district-alert-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.district-alert-icon svg { width: 17px; height: 17px; }
.district-alert-banner strong, .district-alert-banner small { display: block; overflow-wrap: anywhere; }
.district-alert-banner strong { font-size: 14px; line-height: 1.3; }
.district-alert-banner small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.district-alert-banner .button { align-self: center; min-height: 44px; }
.district-alert-intro { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.district-alert-selects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.district-alert-selects .field { min-width: 0; margin: 0 0 12px; }
.district-alert-selects select { min-height: 44px; width: 100%; }
.district-alert-list { margin-top: 16px; }
.district-alert-list h3 { margin-bottom: 8px; font-size: 15px; }
.district-alert-list ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.district-alert-list li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.district-alert-list li strong, .district-alert-list li small { display: block; overflow-wrap: anywhere; }
.district-alert-list li small { margin-top: 2px; color: var(--muted); }
.district-alert-list li .button, .district-device-settings { min-height: 44px; }
.district-device-settings { margin-top: 14px; }
.reservation-watch { max-width: 100%; text-align: center; }

@media (max-width: 700px) {
  .district-alert-banner { gap: 8px; padding: 8px; }
  .district-alert-banner strong { font-size: 13px; }
  .district-alert-banner .button { padding-inline: 9px; font-size: 12px; }
  .dialog.district-alert-dialog[open] {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 16px);
    margin: 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    overscroll-behavior: contain;
    overflow: auto;
  }
  .district-alert-dialog .dialog-header { margin-bottom: 8px; }
  .district-alert-dialog .dialog-header h2 { font-size: 21px; }
}
@media (max-width: 410px) {
  .district-alert-selects { grid-template-columns: 1fr; gap: 0; }
}

.shortcut-style { margin: 14px 0 0; }
.shortcut-icons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.shortcut-icon {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.shortcut-icon img { width: 72px; height: 72px; border-radius: 14px; }
.shortcut-icon:hover, .shortcut-icon[aria-current="true"] { border-color: var(--accent-text); background: var(--accent-soft); }
.shortcut-link { margin-block: 12px; }
.shortcut-link button { margin-top: 8px; }
.shortcut-steps { display: grid; gap: 8px; margin: 12px 0 18px; padding-left: 20px; line-height: 1.55; }
.profile-card .profile-counts { margin-top: 12px; padding-top: 10px; }
.profile-avatar-editor {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.profile-avatar-preview { flex: none; }
.profile-avatar-controls { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.profile-avatar-controls .upload-label {
  position: relative;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.3;
}
.profile-avatar-controls .upload-label:hover { background: var(--soft); }
.profile-avatar-controls .upload-label:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.profile-avatar-controls .text-link { min-height: 44px; }
.profile-avatar-controls .field-help { flex: 0 0 100%; margin: 3px 0 0; font-size: 11px; line-height: 1.45; }

@media (max-width: 700px) {
  .profile-avatar-editor { gap: 10px; padding: 10px; }
  .profile-avatar-editor .avatar-large { width: 60px; height: 60px; font-size: 18px; }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  #profile-form .field input, #profile-form textarea { font-size: 16px; }
}

.district-search { margin-bottom: 8px; }
.district-search input { font-size: 16px; }
#extra-districts .district-checks {
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-content: start;
  max-height: min(220px,32dvh);
  margin: 8px 0;
  padding: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#extra-districts .district-checks label { min-height: 24px; overflow-wrap: anywhere; }
#extra-districts .district-checks input { flex: none; }
.district-selection-count { margin-bottom: 15px; }

.catalog-pagination { grid-column: 1 / -1; text-align: center; }
#auth-verify-form [data-action="login"] { margin-top: 8px; }

.member-profile .profile-card .profile-location { margin-bottom: 8px; }
.member-profile .public-achievements { margin-top: 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.member-profile .public-achievement-list { margin-bottom: 0; }
.member-contact { margin-top: 12px; }
.member-experience { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.member-listings .member-listing-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,205px),1fr)); }
.chat-profile-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.chat-profile-link > .avatar { flex: none; width: 40px; height: 40px; }
.chat-profile-link .chat-who { min-width: 0; }
a.chat-profile-link:hover strong { color: var(--accent-text); }

.photo-carousel { position: relative; width: 100%; height: 100%; }
.photo-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.photo-track::-webkit-scrollbar { display: none; }
.photo-track:focus-visible, .photo-slide:focus-visible { outline-offset: -4px; }
.photo-slide {
  display: block;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  scroll-snap-align: start;
}
button.photo-slide { cursor: zoom-in; }
.photo-slide img, .photo-slide .image-fallback { display: block; width: 100%; height: 100%; }
.photo-slide img { object-fit: contain; }
.photo-carousel .photo-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  background: var(--surface);
  transform: translateY(-50%);
}
.photo-prev { left: 10px; }
.photo-next { right: 10px; }
.photo-arrow:disabled { opacity: 0; pointer-events: none; }
.photo-position {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 99px;
  background: #242321cc;
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}
.dialog.gallery-dialog { width: min(850px,calc(100% - 24px)); padding: 16px; }
.dialog.gallery-dialog[open], .gallery-dialog #dialog-content {
  display: flex;
  flex-direction: column;
}
.gallery-dialog #dialog-content { min-height: 0; }
.gallery-dialog .dialog-header { flex: none; }
.gallery-dialog .photo-carousel { height: min(69dvh,620px); min-height: 0; }
.gallery-dialog .photo-track { border-radius: 14px; background: var(--bg); }
.listing-draft-status { margin-top: 12px; }

@media (max-width: 820px) {
  .chat-profile-link { gap: 6px; }
  .chat-profile-link > .avatar { width: 34px; height: 34px; }
}
@media (max-width: 700px) {
  .member-listings .member-listing-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,145px),1fr)); }
  .detail-thumbs { gap: 6px; }
  .detail-thumbs button { width: min(64px,18%); height: 50px; }
  .photo-carousel .photo-arrow { width: 38px; height: 38px; }
  .dialog.gallery-dialog { padding: 12px; }
}
.chat-keyboard .chat-profile-link > .avatar { width: 30px; height: 30px; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 59px; }
.legal-header .button { min-height: 44px; }
.legal-page { max-width: 780px; padding-top: 12px; }
.legal-document { overflow-anchor: none; }
.legal-document-embedded .legal-page { padding: 0 0 16px; }
.legal-dialog { width: min(760px, calc(100% - 24px)); }
.legal-dialog iframe { display: block; width: 100%; height: min(62dvh, 610px); border: 1px solid var(--line); border-radius: 10px; }
.legal-dialog .dialog-header { gap: 10px; }
.legal-dialog .dialog-header form { flex: none; }
.info-strip a[data-action="view-legal"] { text-decoration: underline; text-underline-offset: 2px; }
.legal-page article { margin: 16px 0 28px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.legal-page article h1 {
  margin-bottom: 16px;
  font-size: clamp(20px, 5vw, 34px);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: normal;
}
.legal-page article h2 { font-size: 21px; margin: 23px 0 7px; }
.legal-page article p { margin: 8px 0; }
.legal-page article ul { padding-inline-start: 22px; }
.legal-page article li + li { margin-top: 5px; }
.legal-page article a, .legal-links a, .auth-legal a, .terms-checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12px; }
.footer-social { display: grid; flex: 1 0 100%; gap: 10px; min-width: 0; }
.footer-social-title { font-size: 14px; font-weight: 700; }
.footer-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 555px);
}
.footer-social-card {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.footer-social-icon {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  height: 32px;
  border-radius: 8px;
  background: var(--soft);
}
.footer-social-icon svg, .footer-social-icon img { width: 16px; height: 16px; }
.footer-social-label { display: grid; min-width: 0; gap: 2px; line-height: 1.25; }
.footer-social-label strong { font-size: 13px; }
.footer-social-label small { color: var(--muted); font-size: 11px; }
.footer-social-instagram .footer-social-icon { background: var(--accent-soft); color: var(--accent-text); }
.footer-social-instagram small { color: var(--accent-text); }
.footer-social-card:hover { border-color: var(--accent-text); }
.footer-social-arrow { width: 15px; height: 15px; margin-left: auto; color: var(--muted); }
.footer-social .footer-social-note { max-width: 90ch; color: var(--muted); font-size: 11px; line-height: 1.55; }
@media (max-width: 520px) {
  .footer-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-social-instagram { grid-column: 1 / -1; }
  .footer-social-card:not(.footer-social-instagram) .footer-social-arrow { display: none; }
}
.home-legal { display: none; }
.auth-legal { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.terms-checkbox { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; font-size: 13px; }
.terms-checkbox input { flex: none; width: 16px; height: 16px; padding: 0; margin: 2px 0 0; accent-color: var(--accent); }
.legal-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 12px; }
@media (max-width: 700px) {
  .home-legal { display: grid; gap: 12px; margin-top: 20px; }
  .legal-page { padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
  .legal-dialog { padding: 14px; }
}

.cookie-notice {
  --cookie-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  position: fixed;
  z-index: 34;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: var(--cookie-bottom);
  width: min(400px, calc(100% - 36px));
  max-height: calc(100dvh - var(--cookie-bottom) - 12px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 30px #0003;
}
.cookie-notice[hidden], .chat-keyboard .cookie-notice { display: none; }
.cookie-notice-heading { display: flex; align-items: center; gap: 10px; }
.cookie-notice-heading h2 { font-size: 19px; line-height: 1.25; }
.cookie-notice-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.cookie-notice-icon svg { width: 20px; height: 20px; }
.cookie-notice p { margin: 8px 0 13px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-notice p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .button { min-height: 44px; border-radius: 12px; }
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .cookie-notice {
    --cookie-bottom: calc(var(--mobile-nav-height) + 9px);
    right: max(10px, env(safe-area-inset-right, 0px));
    width: min(400px, calc(100% - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    padding: 13px;
    border-radius: 16px;
  }
}

/* Community ideas and polls. */
.community-hero{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:40px;align-items:center;margin-bottom:34px}
.community-hero p{color:var(--muted);max-width:490px;margin:14px 0 22px}
.community-hero>img{width:100%;height:220px;object-fit:contain}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.community-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.community-stack,.community-polls{display:grid;gap:16px}
.community-idea h2,.community-poll h2{font-size:19px;line-height:1.5;margin:14px 0 12px}
.community-description,.community-reply p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.community-status{display:inline-flex;padding:5px 10px;border-radius:30px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:600}
.community-status[data-status=vote]{background:var(--accent-soft);color:var(--accent-text)}
.community-status[data-status=work],.community-status[data-status=done],.community-status[data-status=published]{background:var(--olive-soft);color:var(--olive)}
.community-mine{font-size:11px;color:var(--muted);float:right}
.community-idea-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:20px}
.community-author{font-size:12px;color:var(--muted)}
.community-author:hover{text-decoration:underline}
.community-support[aria-pressed=true]{background:var(--olive-soft);border-color:var(--olive);color:var(--olive)}
.community-reply{background:var(--olive-soft);border-radius:14px;padding:16px;margin-top:18px}
.community-reply strong{font-size:12px;color:var(--olive)}
.community-reply p{margin-top:8px}
.community-options{display:grid;gap:10px;margin-top:16px}
.community-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);text-align:left;font-size:13px}
.community-option>span{overflow-wrap:anywhere}
.community-option strong{flex-shrink:0}
.community-option[aria-pressed=true]{border-color:var(--olive);background:var(--olive-soft)}
.community-option:disabled{opacity:1}
.community-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;font-size:13px}
.community-result>span{overflow-wrap:anywhere}
.community-track{grid-column:1/-1;height:6px;overflow:hidden;border-radius:6px;background:var(--soft)}
.community-track>span{display:block;height:100%;background:var(--accent)}
.community-admin-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:22px}
.community-moderate{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}
.community-dialog form .form-actions{gap:12px;flex-wrap:wrap}
.community-dialog .form-actions>*{flex:1;min-width:160px}
@media(max-width:800px){
.community-layout{grid-template-columns:1fr}
.community-hero{grid-template-columns:1fr;gap:20px}
.community-hero>img{height:190px}
.community-hero .button{width:100%}
.community-idea h2,.community-poll h2{font-size:17px}
.community-description,.community-reply p{font-size:13px}
}

/* Entry points for community ideas and voting. */
.profile-together{display:flex;align-items:center;gap:12px;width:100%;margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);transition:border-color .18s,background .18s}
.profile-together:hover{border-color:var(--accent-text);background:var(--accent-soft)}
.profile-together-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:var(--accent-soft);color:var(--accent-text)}
.profile-together-copy{display:grid;gap:5px;flex:1;min-width:0}
.profile-together-copy strong{font-size:13px;font-weight:700;line-height:1.4}
.profile-together-copy>span{font-size:11px;color:var(--muted);line-height:1.4}
.profile-together>svg{width:17px;height:17px;color:var(--muted)}
.home-together{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.6fr);align-items:center;gap:36px;border-top:1px solid var(--line);padding-top:26px;margin-bottom:32px}
.home-together-copy{min-width:0}
.home-together h2{font-size:clamp(20px,1.8vw,24px);line-height:1.4}
.home-together-copy p{margin-top:12px;font-size:13px;line-height:1.7;color:var(--muted)}
.together-marker{position:relative;isolation:isolate;white-space:nowrap}
.together-marker::after{content:"";position:absolute;z-index:-1;left:-3px;right:-4px;bottom:0;height:45%;border-radius:3px 5px 2px 4px;transform:rotate(-1.5deg);background:#dce2bc}
:root[data-theme="dark"] .together-marker::after{background:#565f3c}
.home-together-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.home-together-choice{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:22px 18px;min-height:112px;border:1px solid var(--line);border-radius:18px;background:var(--surface);transition:border-color .18s,transform .18s}
.home-together-choice:hover{border-color:var(--olive);transform:translateY(-2px)}
.home-choice-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:var(--accent-text);background:var(--accent-soft)}
.home-choice-icon svg{width:20px;height:20px}
.home-together-choice-polls .home-choice-icon{color:var(--olive);background:var(--olive-soft)}
.home-choice-copy{display:grid;gap:7px;min-width:0}
.home-choice-copy strong{font-size:14px;font-weight:700;line-height:1.4}
.home-choice-copy>span{font-size:12px;line-height:1.6;color:var(--muted)}
.home-together-choice>svg{width:18px;height:18px;color:var(--muted)}
#community-ideas,#community-polls{scroll-margin-top:110px}
@media(max-width:1000px){
.home-together{grid-template-columns:1fr;gap:20px}
.home-together-copy p br{display:none}
}
@media(max-width:700px){
.home-actions{flex-wrap:nowrap;gap:8px}
.home-actions>.button{flex:1;min-width:0;gap:6px;padding:10px 9px;font-size:11px;white-space:nowrap}
.home-actions>.button svg{width:16px;height:16px;flex-shrink:0}
.home-together{padding-top:22px;margin-bottom:28px;gap:18px}
.home-together h2{font-size:21px}
.home-together-copy p{margin-top:10px;font-size:12px}
.home-together-choice{padding:18px 16px}
#community-ideas,#community-polls{scroll-margin-top:90px}
}
@media(max-width:560px){
.home-together-choices{grid-template-columns:1fr;gap:10px}
.home-together-choice{min-height:92px}
}
@media(prefers-reduced-motion:reduce){.home-together-choice:hover{transform:none}}
