dialog.street-viewer {
  --gutter: clamp(80px, 7.2vw, 100px);
  --wide-width: calc(100vw - 2 * var(--gutter));
  --wide-height: calc(100dvh - 2 * var(--gutter));
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(720px, calc(var(--wide-width) - 36px));
  height: min(490px, calc(var(--wide-height) - 42px));
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 1px solid #91a38e;
  border-radius: 16px;
  background: #faf8ef;
  color: #263f38;
  box-shadow: 0 20px 90px #152f3680;
  font: 15px/1.35 Atkinson, system-ui, sans-serif;
}
.street-viewer[open] { display: flex; flex-direction: column; }
.street-viewer.street-wide { width: var(--wide-width); height: var(--wide-height); }
.street-viewer::backdrop { background: #1937317d; }
body:has(dialog.street-viewer[open]) { overflow: hidden; }
.street-heading, .street-footer { display: flex; align-items: center; gap: 10px; flex: none; padding: 10px 15px; }
.street-heading { border-bottom: 1px solid #a8b7a5; }
.street-heading > div { flex: 1; min-width: 0; }
.street-heading h2 { margin: 0; color: #263f38; font: 650 clamp(16px, 2vw, 23px)/1.2 Atkinson, system-ui, sans-serif; }
.street-heading p { margin: 3px 0 0; font: 13px/1.2 Atkinson, system-ui, sans-serif; color: #4b6257; }
.street-viewer button { box-sizing: border-box; cursor: pointer; color: #2b493d; background: #f3f1e6; border: 1px solid #b8c4af; border-radius: 7px; padding: 6px 10px; min-height: 36px; font: 650 13px/1.2 Atkinson, system-ui, sans-serif; }
.street-viewer button:hover { background: #e5eadb; }
.street-viewer button:focus-visible { outline: 3px solid #237181; outline-offset: 2px; }
.street-viewer .street-close { font-size: 22px; padding: 0; width: 36px; }
.street-body { position: relative; flex: 1; min-height: 0; background: #e6ebe0; }
.street-frame { display: block; width: 100%; height: 100%; border: 0; }
.street-offline { padding: 16px; font: inherit; text-align: center; }
.street-viewer [hidden] { display: none; }
.street-footer { justify-content: space-between; padding-block: 6px; border-top: 1px solid #bdc8b5; }
.street-views { display: flex; gap: 4px; }
.street-views button[aria-pressed="true"] { background: #345b49; border-color: #345b49; color: #fffdf1; }
.street-credit { font-size: 12px; color: #526657; }
@media (max-width: 760px), (max-height: 510px) {
  dialog.street-viewer { --gutter: 10px; }
  .street-heading, .street-footer { padding: 7px 9px; gap: 6px; }
  .street-heading p { font-size: 12px; }
}
@media (max-height: 420px) {
  dialog.street-viewer { --gutter: 5px; height: calc(var(--wide-height) - 12px); }
  .street-heading, .street-footer { padding-block: 3px; }
  .street-heading p { margin-top: 1px; }
}
/* Tam Google Haritalar'da aç: küçük harita ve sarı adamla gezinmeye devam etmek için */
.street-footer { flex-wrap: wrap; }
.street-external { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: #ffd76e; color: #2e2457;
  font: 700 13px/1 Atkinson, system-ui, sans-serif; text-decoration: none; box-shadow: 0 2px 0 #b8902e; white-space: nowrap; }
.street-external:hover { background: #ffe48f; }
.street-external:focus-visible { outline: 3px solid #216e84; outline-offset: 2px; }
@media (max-width: 560px) { .street-external { padding: 5px 9px; font-size: 12px; } }
