#root .gr-full-demo-tag {
  display: inline-flex;
  flex: none;
  align-items: center;
  width: max-content;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f3e7e1;
  color: #803039;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}

#root .gr-demo-home-hero[data-featured-event="true"] {
  min-height: 152px;
  aspect-ratio: 2.02;
}

#root .gr-demo-home-hero[data-featured-event="true"] .gr-demo-home-hero-image {
  object-position: center 40%;
}

#root .gr-demo-home-hero[data-featured-event="true"]::after {
  background: linear-gradient(90deg, rgb(42 24 26 / 72%), transparent 80%),
    linear-gradient(0deg, rgb(36 21 23 / 82%), rgb(36 21 23 / 16%) 75%);
}

#root .gr-demo-home-hero-copy .gr-full-demo-hero-label {
  justify-self: start;
  padding: 3px 6px;
  border: 1px solid rgb(255 243 229 / 43%);
  border-radius: 5px;
  background: rgb(52 32 33 / 68%);
  color: #fff5df;
  font-size: 11px;
}

#root .gr-demo-home-hero[data-featured-event="true"] strong {
  font-size: 23px;
  line-height: 1.3;
}

#root [code-path$="ui.tsx:409:11"]:is([data-nav="/ai-agent"], [data-nav="/demands"]) > span:first-child::before {
  display: none;
}

#root [code-path$="ui.tsx:409:11"]:is([data-nav="/ai-agent"], [data-nav="/demands"]) > span:first-child[style*="transparent"] svg {
  display: block !important;
}

#root :is([code-path$="Activities.tsx:105:11"], [code-path$="Square.tsx:30:5"], [code-path$="ui.tsx:338:5"])[role="link"]:focus-visible {
  outline: 2px solid #9e2930;
  outline-offset: -2px;
}

#root [code-path$="Square.tsx:70:7"] button:disabled,
#root [code-path$="ui.tsx:376:9"]:disabled {
  opacity: .74;
  cursor: default;
}

#root main.gb-demo-demand-detail {
  min-height: 100dvh;
  background: #f7f3ef;
  color: #301f20;
}

#root .gb-demo-demand-detail > .gb-header {
  background: #fffaf5;
}

#root .gb-demo-demand-detail > .gb-card {
  margin: 14px;
  border: 1px solid #ecded7;
  background: #fffdfa;
}

#root .gb-demo-demand-title {
  margin: 12px 0 5px;
  color: #301f20;
  font-size: 22px;
  line-height: 1.33;
  overflow-wrap: anywhere;
}

#root .gb-demo-demand-copy {
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid #ecded7;
}

#root .gb-demo-demand-detail .gb-note {
  background: #f7ede8;
  color: #665455;
}

#root .gb-demo-demand-actions {
  padding: 2px 14px;
}

#root .gb-demo-demand-actions > button {
  width: 100%;
  background: #9e2930;
}

#root .gr-full-demo-post-detail {
  --gr-visual-ground: #f7f3ef;
  background: #f7f3ef !important;
}

#root .gr-full-demo-post-detail > [code-path$="ui.tsx:183:5"] {
  background: #85242b !important;
}

#root .gr-full-demo-post-detail [code-path$="Square.tsx:30:5"] {
  margin: 14px;
  border-color: #ecded7;
  border-radius: 14px;
}

#root .gr-full-demo-post-detail [code-path$="Square.tsx:53:9"]:has(>img) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}

#root .gr-full-demo-post-detail [code-path$="Square.tsx:53:9"]:has(> img:only-child) {
  grid-template-columns: 1fr;
}

#root .gr-full-demo-post-detail [code-path$="Square.tsx:53:9"]:has(>img) > img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 4 / 3;
}

#root .gr-full-demo-post-detail [code-path$="Square.tsx:53:9"] > img:only-child {
  aspect-ratio: 16 / 10;
}
