.city-preview-actions {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
}
.city-preview-actions .city-preview-download {
  justify-content:center;
  min-height:0;
  padding:7px 10px;
  color:var(--app-blue);
  font-size:11px;
  font-weight:700;
}
.city-share-summary,.city-profile-summary {
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px;
  border:1px solid var(--app-line);
  border-radius:12px;
  background:var(--app-card);
}
.city-share-summary .city-race-card {
  flex:none;
  width:clamp(54px,30cqw,105px);
  border-radius:6px;
}
.city-share-summary {
  border-color:color-mix(in srgb,var(--app-accent) 22%,var(--app-line));
  background:color-mix(in srgb,var(--app-accent) 7%,var(--app-card));
}
.city-share-summary strong,.city-profile-summary strong {
  display:block;
  color:var(--app-text);
  font-size:13px;
  overflow-wrap:anywhere;
}
.city-share-summary p,.city-profile-summary p,.city-profile-form p,.city-share-note,.city-share-status {
  margin:3px 0 0;
  color:var(--app-muted);
  font-size:10px;
  line-height:1.4;
}
.city-share-label {
  margin:16px 0 6px;
  color:var(--app-muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:.09em;
}
.city-share-platforms {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  gap:3px;
}
.city-phone .city-share-option {
  display:grid;
  justify-items:center;
  align-content:center;
  gap:5px;
  min-height:56px;
  padding:4px 0;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--app-text);
  font:600 clamp(9px,3.8cqw,12px)/1.2 Arial,sans-serif;
  text-decoration:none;
}
.city-phone .city-share-option[hidden] { display:none; }
.city-share-icon {
  display:grid;
  place-items:center;
  width:clamp(32px,13cqw,48px);
  aspect-ratio:1;
  border:1px solid color-mix(in srgb,var(--app-accent) 25%,var(--app-line));
  border-radius:50%;
  background:color-mix(in srgb,var(--app-accent) 13%,var(--app-card));
  color:var(--app-blue);
}
.city-share-icon svg { width:52%; height:52%; }
.city-share-option:is(:hover,:focus-visible) .city-share-icon {
  background:color-mix(in srgb,var(--app-accent) 24%,var(--app-card));
}
.city-share-note { margin-top:10px; }
.city-profile-settings { display:grid; gap:6px; }
.city-profile-settings .city-app-row,.city-profile-reset {
  min-height:43px;
  padding:6px 9px;
}
.city-share-status:not(:empty) { margin-top:7px; }
.city-share-screen [data-share-download]:disabled { opacity:.6; }
.city-profile-avatar {
  display:grid;
  flex:none;
  place-items:center;
  width:34px;
  aspect-ratio:1;
  border-radius:50%;
  background:var(--app-soft);
  color:var(--app-blue);
  font-size:11px;
  font-weight:750;
}
.city-profile-form {
  display:grid;
  gap:5px;
  margin:12px 0;
}
.city-profile-form label {
  color:var(--app-text);
  font-size:11px;
  font-weight:700;
}
.city-profile-form>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }
.city-profile-form input,.city-profile-form button {
  min-width:0;
  min-height:34px;
  padding:5px 8px;
  border:1px solid var(--app-line);
  border-radius:7px;
  background:var(--app-card);
  color:var(--app-text);
  font-size:12px;
  font-family:inherit;
}
.city-profile-form button { padding-inline:10px; color:var(--app-blue); font-weight:700; }
.city-profile-form button:hover { background:var(--app-soft); }
.city-profile-form p { margin:0; }
.city-profile-switch {
  position:relative;
  flex:none;
  width:30px;
  height:17px;
  border:1px solid var(--app-line);
  border-radius:20px;
  background:var(--app-soft);
  transition:background 160ms ease;
}
.city-profile-switch::before {
  position:absolute;
  inset:3px auto 3px 3px;
  aspect-ratio:1;
  border-radius:50%;
  background:var(--app-muted);
  content:"";
  transition:transform 160ms ease;
}
[data-profile-theme][aria-pressed="true"] .city-profile-switch { background:var(--app-blue); }
[data-profile-theme][aria-pressed="true"] .city-profile-switch::before { transform:translateX(13px); background:var(--app-bg); }
.city-phone:has(.city-profile-screen:not([hidden])) [data-go="profile"] { background:var(--app-soft); }
@container (max-width:220px) {
  .city-phone-content:has(.city-share-screen:not([hidden])) + .city-phone-nav { display:none; }
  .city-share-screen .city-screen-body,.city-profile-screen .city-screen-body { padding-block:6px 2px; }
  .city-share-summary,.city-profile-summary { padding:6px; }
  .city-share-summary strong,.city-profile-summary strong { font-size:11px; }
  .city-share-summary .city-race-card { width:45px; }
  .city-share-summary p { margin-top:0; font-size:9px; }
  .city-share-summary strong,.city-profile-summary p,.city-profile-settings small { display:none; }
  .city-share-label { margin:6px 0 4px; font-size:8px; }
  .city-share-platforms { margin-inline:-5px; gap:0; }
  .city-phone .city-share-option { min-height:44px; gap:2px; padding:1px 0; font-size:8.5px; }
  .city-share-note { margin-top:3px; font-size:9px; }
  .city-share-status:not(:empty) { margin-top:3px; font-size:9px; }
  .city-profile-settings { gap:4px; }
  .city-profile-settings .city-app-row,.city-profile-reset { min-height:30px; padding:3px 5px; }
  .city-profile-avatar { width:25px; }
  .city-profile-form { margin:6px 0; gap:3px; }
  .city-profile-form input,.city-profile-form button { min-height:27px; padding:3px 5px; font-size:10px; }
  .city-preview-actions .city-preview-download { padding-inline:5px; font-size:9px; }
}
@media (prefers-reduced-motion:reduce) {
  .city-profile-switch,.city-profile-switch::before { transition:none; }
}
