:root {
  --street-quiet: #655c69;
  --street-link: #105c53;
  --street-link-wash: #deeee6;
  --street-page-title: clamp(1.65rem, 3.55vw, 2.65rem);
  --street-section-title: clamp(1.3rem, 2.45vw, 1.9rem);
  --street-note: .8125rem;
}

/* Links also occur inside button-like cards, breadcrumbs and disclosure rows.
   Keep their component affordances without reintroducing a line on their text. */
a:any-link, a:any-link :not(del, s), .xn-story summary .xn-post-text {
  text-decoration-line: none !important;
}
:where(main) :is(p, dd, small, figcaption, li) > a:not([class]) {
  color: var(--street-link);
  font-weight: 650;
}
:where(main) :is(p, dd, small, figcaption, li) > a:not([class]):hover,
#content :is(.text-link, .xn-origin, .strip-link, .street-social):hover {
  background-color: var(--street-link-wash);
  color: #154b44;
}
body :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--street-focus, #14563a) !important;
  outline-offset: 2px;
}
.sitefoot { --street-focus: #ffe693; }

#content :is(.vc-tabs, .xp-nav nav) a[aria-current="page"] {
  background-color: var(--program-ink, #36204e);
  color: #fff;
}
.cover-actions a:focus-visible {
  clip-path: none;
}
.street-social {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  min-height: 40px;
  font: 650 .875rem/1.35 StreetHK, "PingFang HK", sans-serif;
}
.social-icon {
  display: inline-block;
  flex: none;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--social-mark) center / contain no-repeat;
  mask: var(--social-mark) center / contain no-repeat;
}
.social-x { --social-mark: url("./social-x.svg"); }
.social-instagram { --social-mark: url("./social-instagram.svg"); }

#content :is(.vc-heading, .cr-bio, .ks-head, .appTitle, .xp-head) h1,
#content .cr-page > h1 { font-size: var(--street-page-title); }
#content :is(.fair-block .section-cap, .archives-home .section-cap, .visit-info, .sponsor-home) h2,
#content #desk-title { font-size: var(--street-section-title); line-height: 1.22; }
#content :is(.desk-copy h3, .map-panel h3) { font-size: clamp(1.05rem, 1.65vw, 1.3rem); }
#content .visit-facts dt { font-size: .875rem; }
#content .visit-facts small { font-size: var(--street-note); line-height: 1.5; color: #544b4d; }
#content :is(.fair-block .section-deck, .exhibitor-block .desk-copy p, .sponsor-home-copy p) {
  font-size: .9375rem;
  line-height: 1.6;
  color: #524952;
}
#content :is(.vc-crumbs, .cr-crumbs, .ks-crumb, .pt-crumb, .appCrumb) {
  font-size: var(--street-note);
  line-height: 1.45;
}
#content :is(.xn-full .xn-day, .archive-strips span) {
  color: var(--street-quiet);
  font-weight: 500;
}
#content .archive-strips strong { font-size: .875rem; }
#content .cover-actions a { min-height: 44px; }

@media (forced-colors: active) {
  .social-icon { forced-color-adjust: none; background: LinkText; }
  body :is(a, button, input, select, textarea, summary):focus-visible { outline-color: Highlight !important; }
}

/* Text controls, primary actions and social marks share a consistent inset.
   Map pins use the floor plan's coordinates. The view icons and booth picker
   size their own contents; suggestion rows also have a portrait column. */
:root {
  --street-primary: #14563a;
  --street-primary-hover: #0d422d;
  --street-control-inset: clamp(.75rem, 1.4vw, 1.125rem);
}
#content :is(button:not(.sm-pin,.rs-view,.sm-picker-toggle,.sm-pick-item),
  input[type="submit"], input[type="button"], input[type="reset"],
  a.solid-btn, a.appAction, a.pt-button, a.pt-secondary, a.ks-primary,
  a.xp-primary, a.xp-secondary, a.vc-clear, a.sm-zoom,
  .inline-actions > a, .cover-actions > a, .section-cap > a, .news-head > a,
  .sp-tools > a, .ks-links > a, .xn-more > summary) {
  box-sizing: border-box;
  padding-inline: var(--street-control-inset);
}
#content :is(.solid-btn, .pt-button, .ks-primary, .xp-primary, .appAction.primary,
  .field-search button, .vc-filters button:not(.vc-clear)) {
  background: var(--street-primary);
  border-color: var(--street-primary);
  color: #fff;
}
#content :is(.solid-btn, .pt-button, .ks-primary, .xp-primary, .appAction.primary,
  .field-search button, .vc-filters button:not(.vc-clear)):focus-visible {
  background: var(--street-primary-hover);
}
.xn-links, .sitefoot .foot-social { gap: .25rem; }
.xn-links .street-social, .sitefoot .foot-social .street-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  min-block-size: 44px;
  padding-inline: 12px;
  border-radius: .35rem;
}
.xn-links .street-social { color: var(--street-primary); }
.street-social .social-icon { width: 1.15rem; height: 1.15rem; }
