/* Theme. To restyle, set any --fx-* variable on :root (every feature on the site)
   or on .fx-dir (this feature only). The values here are the defaults. */
.fx-dir {
  --_accent: var(--fx-accent, #d4af37);
  --_accent-hover: var(--fx-accent-hover, #e2c158);
  --_accent-text: var(--fx-accent-text, #000);
  --_text: var(--fx-text, #f5f5f5);
  --_muted: var(--fx-muted, #b8b8b8);
  --_panel: var(--fx-panel, #181818);
  --_border: var(--fx-border, rgba(255,255,255,.35));
  --_demo: var(--fx-demo, #9ad1ff);
  --_font-display: var(--fx-font-display, inherit);
  --_font-body: var(--fx-font-body, inherit);
  --_space: var(--fx-space, 16px);
  --_space-sm: calc(var(--_space) * .5);
  --_space-lg: calc(var(--_space) * 1.5);
  --_radius: var(--fx-radius, 6px);
  --_radius-sm: calc(var(--_radius) * .6);
  font-family: var(--_font-body);
}
/* One-tap directions */
.fx-dir { margin: var(--_space) 0; padding: var(--_space); background: var(--_panel); color: var(--_text); border-radius: var(--_radius); }
.fx-dir-title { margin: 0 0 .3em; font-family: var(--_font-display); font-size: 1.7rem; font-weight: var(--fx-heading-weight, 800); line-height: 1; text-transform: var(--fx-heading-case, uppercase); }
.fx-dir-addr { margin: 0 0 12px; line-height: 1.5; }
.fx-dir-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 var(--_space);
  background: var(--_accent);
  color: var(--_accent-text);
  border-radius: var(--_radius-sm);
  font-family: var(--_font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: var(--fx-heading-case, uppercase);
  text-align: center;
}
.fx-dir-go:hover { background: var(--_accent-hover); }
.fx-dir-go svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
.fx-dir-apps { display: flex; gap: var(--_space-sm); margin-top: var(--_space-sm); }
.fx-dir-app {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 var(--_space-sm);
  border: 1px solid var(--_border);
  border-radius: var(--_radius-sm);
  color: var(--_text);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.fx-dir-app:hover { border-color: var(--_accent); color: var(--_accent); }
.fx-dir-tools { display: flex; flex-wrap: wrap; gap: 4px var(--_space); margin-top: var(--_space-sm); }
.fx-dir-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--_accent);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.fx-dir-tool span { text-decoration: underline; }
.fx-dir-tool svg { width: 18px; height: 18px; fill: currentColor; }
.fx-dir-tip { margin: 4px 0 0; color: var(--_muted); font-size: .8rem; }
.fx-dir-sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-dir .fx-ph { padding: .1em .35em; background: #ff2d95; color: #000; border-radius: var(--_radius-sm); font-size: .82rem; font-weight: 600; }
.fx-dir :focus-visible { outline: 3px solid var(--_accent); outline-offset: 2px; }
.fx-dir .fx-demo {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border: 1px dashed var(--_demo);
  border-radius: var(--_radius-sm);
  color: var(--_demo);
  font-family: var(--_font-body);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
