/* RoadLife V28 imagery controls follow the existing logo palette and themes. */
#game .imagerySettings28 {
  margin: 12px 0 18px;
  color: var(--text);
}
#game .imageryDetails28 {
  margin: 9px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--rl-raised);
  overflow: hidden;
}
#game .imageryDetails28 > summary {
  cursor: pointer;
  padding: 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--text);
}
#game .imageryDetails28 > summary::marker { color: var(--accent); }
#game .imageryDetails28[open] > summary { border-bottom: 1px solid var(--line); }
#game .imageryDetails28 > :not(summary) { margin-left: 12px; margin-right: 12px; }
#game .imageryDetails28 > :last-child { margin-bottom: 12px; }
#game .imageryDetails28 .imageryDetails28 { background: var(--rl-input); }
#game .imageryHelp28 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}
#game .imageryHelp28[data-state="error"] { color: var(--danger); }
#game .imageryHelp28[data-state="saved"] { color: var(--accent); }
#game .imagerySources28 { margin-top: 4px; }
#game .imagerySource28 {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
#game .imagerySource28:last-child { border-bottom: 0; }
#game .imagerySource28 input { grid-column: 1; grid-row: 1 / span 2; margin: 3px 0 0; }
#game .imagerySourceText28 { grid-column: 2; min-width: 0; }
#game .imagerySourceText28 strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  color: var(--text);
}
#game .imagerySourceText28 small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
#game .imagerySourceState28 {
  grid-column: 2;
  justify-self: start;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--muted);
}
#game .imagerySourceState28[data-ready="true"] { color: var(--accent); }
#game .imageryField28 {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  margin-bottom: 11px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
#game .imageryField28 :is(input, select) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
  border: 1px solid var(--line);
}
#game .imageryToggle28 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}
#game .imageryLegacyKey28 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 11px;
  margin-bottom: 11px;
}
#game .imagerySave28 {
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--rl-accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}
#game #mapProviderReadout {
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  border-radius: 0 7px 7px 0;
  background: var(--rl-accent-soft);
  overflow-wrap: anywhere;
}
