:root {
  color-scheme: dark;
  --bg: #0d1117;
  --card: #161b22;
  --card-raised: #1c222b;
  --border: #2a313c;
  --text: #e6edf3;
  --muted: #9aa5b1;
  --accent: #22b8cf;
  --accent-soft: rgba(34, 184, 207, 0.14);
  --shadow: 0 14px 36px rgba(5, 8, 12, 0.34);
  --radius: 16px;
  --page-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3f6;
  --card: #f8fafb;
  --card-raised: #e7eef2;
  --border: #c5d0d7;
  --text: #17212b;
  --muted: #5d6b78;
  --accent: #22b8cf;
  --accent-soft: rgba(34, 184, 207, 0.2);
  --shadow: 0 14px 36px rgba(32, 49, 62, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  transition: background-color 160ms ease, color 160ms ease;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  width: min(100%, var(--page-width));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.site-header {
  position: relative; /* anchors the quit key at top centre */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 7vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cafe-count {
  min-height: 1.25em;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.app-version {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-button,
.add-button,
.near-button,
.filter-chip,
.view-toggle button {
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.icon-button:active,
.add-button:active,
.near-button:active,
.filter-chip:active,
.view-toggle button:active,
.cafe-card:active {
  transform: translateY(1px);
}

.icon-button {
  flex: 0 0 46px;
  width: 46px;
  padding: 0;
  border-radius: 14px;
  font-size: 1.15rem;
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.controls {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.search-field {
  position: relative;
  min-width: 0;
}

.search-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
}

.search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-wrap span {
  margin-right: 9px;
  font-size: 1.25rem;
  line-height: 1;
  transform: rotate(-18deg);
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.search-wrap input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-suggestions {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.location-suggestion {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 50px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.location-suggestion:hover,
.location-suggestion:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.location-suggestion strong {
  font-size: 0.9rem;
}

.location-suggestion span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.near-button {
  padding: 0 14px;
  border-radius: 14px;
  white-space: nowrap;
  font-weight: 700;
}

.near-button:hover,
.add-button:hover,
.filter-chip:hover,
.view-toggle button:hover,
.icon-button:hover {
  border-color: var(--accent);
}

.near-button[aria-busy="true"] {
  color: var(--muted);
  cursor: wait;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 0 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.search-context button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card);
  color: var(--accent);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.search-context button:hover {
  border-color: var(--accent);
}

.type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #0d1117;
}

.view-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card);
}

.view-toggle button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.view-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #0d1117;
}

.view-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

#map {
  width: 100%;
  height: max(410px, calc(100svh - 276px));
  min-height: 410px;
  background: var(--card-raised);
}

.map-panel {
  position: relative;
}

.map-toolbar {
  position: absolute;
  z-index: 1100;
  top: 14px;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.map-search-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  pointer-events: auto;
  white-space: nowrap;
}

.map-search-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

:root[data-theme="dark"] .leaflet-tile-pane {
  filter: brightness(0.72) saturate(0.62) contrast(1.15);
}

.leaflet-container {
  color: var(--text);
  font-family: inherit;
}

.leaflet-control-zoom a,
.leaflet-control-attribution,
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border-color: var(--border);
  background: var(--card);
  color: var(--text);
}

.leaflet-control-zoom a {
  color: var(--text);
}

.leaflet-control-zoom a:hover {
  background: var(--card-raised);
  color: var(--accent);
}

.leaflet-control-attribution {
  color: var(--muted);
}

.leaflet-control-attribution a,
.popup-card a {
  color: var(--accent);
}

.leaflet-popup-content-wrapper {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.leaflet-popup-content {
  width: min(248px, calc(100vw - 88px)) !important;
  margin: 16px;
}

.leaflet-popup-close-button {
  color: var(--muted) !important;
}

.popup-card h2 {
  margin: 0 28px 8px 0;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.2;
}

.popup-card p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.45;
}

.popup-card .popup-notes {
  color: var(--text);
}

.popup-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.popup-links a {
  font-weight: 750;
  text-underline-offset: 3px;
}

.remove-cafe {
  min-height: 38px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remove-cafe:hover {
  color: var(--text);
}

.user-location-marker {
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid var(--card);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 3px 10px rgba(5, 8, 12, 0.38);
}

.cafe-list {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.cafe-card {
  width: 100%;
  min-height: 44px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card-raised);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.cafe-card:hover {
  border-color: var(--accent);
}

.card-heading,
.card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cafe-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #0d1117;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.card-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-address,
.card-hours {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card-hours {
  color: var(--text);
}

.saved-label {
  color: var(--accent);
}

.empty-state,
.load-error {
  margin: 0;
  padding: 46px 20px;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 2000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: fit-content;
  max-width: min(460px, calc(100vw - 32px));
  margin-left: auto;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-raised);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.add-dialog {
  width: min(620px, calc(100vw - 24px));
  max-height: min(780px, calc(100svh - 24px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 26px 80px rgba(5, 8, 12, 0.62);
  color: var(--text);
}

.add-dialog::backdrop {
  background: rgba(5, 8, 12, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-card {
  max-height: min(780px, calc(100svh - 24px));
  padding: 22px;
  overflow-y: auto;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dialog-header h2 {
  margin: 2px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.eyebrow,
.osm-attribution,
.privacy-note,
.search-status {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-close {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card-raised);
  color: var(--text);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.dialog-intro {
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.add-search-form,
.add-save-form {
  display: grid;
  gap: 8px;
}

.add-search-form label,
.add-save-form label {
  font-size: 0.82rem;
  font-weight: 800;
}

.add-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.add-search-form input,
.add-save-form input,
.add-save-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: 0;
  background: var(--card-raised);
  color: var(--text);
  font-size: 16px;
}

.add-search-form input:focus,
.add-save-form input:focus,
.add-save-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.primary-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #0d1117;
  cursor: pointer;
  font-weight: 850;
}

.primary-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.privacy-note {
  margin: 0;
}

.search-status {
  min-height: 1.4em;
  margin: 14px 0 8px;
}

.place-results {
  display: grid;
  gap: 8px;
}

.place-result {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-raised);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.place-result:hover,
.place-result:focus-visible,
.place-result[aria-pressed="true"] {
  border-color: var(--accent);
}

.place-result[aria-pressed="true"] {
  background: var(--accent-soft);
}

.place-result strong {
  font-size: 0.92rem;
}

.place-result span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.place-result .place-result-action {
  width: fit-content;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 850;
}

.add-save-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.selected-place {
  display: grid;
  gap: 4px;
  margin-bottom: 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--accent-soft);
}

.selected-place span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selected-place strong {
  font-size: 0.82rem;
  line-height: 1.45;
}

.save-cafe-button {
  margin-top: 6px;
}

.osm-attribution {
  margin: 16px 0 0;
  text-align: center;
}

.osm-attribution a {
  color: var(--accent);
}

noscript {
  display: block;
  padding: 16px;
  color: var(--muted);
  text-align: center;
}

.add-alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.secondary-button {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-raised);
  color: var(--text);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.secondary-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.place-result .place-meta {
  color: var(--accent);
  font-weight: 800;
}

.popup-pending {
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.backup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.backup-actions {
  display: flex;
  gap: 6px;
}

.backup-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card);
  color: var(--accent);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.backup-actions button:hover {
  border-color: var(--accent);
}

#map.pin-mode {
  cursor: crosshair;
}

.pin-banner {
  position: absolute;
  z-index: 1100;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.pin-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.pin-actions .primary-button {
  min-height: 40px;
}

.pin-cancel {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-raised);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.drop-pin-wrap,
.user-cafe-pin-wrap {
  background: transparent;
  border: 0;
}

.drop-pin {
  display: block;
  font-size: 36px;
  line-height: 40px;
  text-align: center;
  filter: drop-shadow(0 3px 4px rgba(5, 8, 12, 0.5));
}

.user-cafe-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid var(--card);
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  box-shadow: 0 3px 10px rgba(5, 8, 12, 0.42);
  color: #0d1117;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px;
  }

  .add-button {
    width: 46px;
    padding: 0;
  }

  .add-label {
    display: none;
  }

  .dialog-card {
    padding: 18px;
  }

  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .type-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-chip {
    padding-inline: 10px;
  }

  .view-toggle {
    width: 100%;
  }

  #map {
    height: max(400px, calc(100svh - 334px));
    min-height: 400px;
  }
}

@media (max-width: 380px) {
  .search-row {
    grid-template-columns: 1fr;
  }

  .near-button {
    width: 100%;
  }

  .add-search-row {
    grid-template-columns: 1fr;
  }

  #map {
    height: 430px;
  }
}

@media (min-width: 760px) {
  .app-shell {
    padding: 28px 24px 32px;
  }

  .controls {
    grid-template-columns: minmax(340px, 1fr) auto;
    align-items: center;
  }

  .search-row,
  .search-context {
    grid-column: 1;
  }

  .filter-row {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .filter-row {
    justify-content: flex-end;
  }

  .cafe-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  #map {
    height: max(560px, calc(100svh - 190px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.signin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 12px 10px;
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* --- quit / restart key ---------------------------------------------------- */
.quit-key {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); /* top centre: harder to hit by accident */
  flex: 0 0 30px; width: 30px; min-height: 30px; height: 30px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.5; color: var(--text, inherit); background: var(--card); border: 1px solid var(--border); cursor: pointer;
}
.quit-key:active { opacity: 1; }
.quit-key svg { width: 14px; height: 14px; }
.quit-sheet {
  position: fixed; inset: 0; z-index: 5000; /* above Leaflet's 1000 */ display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,0.5); padding: 0 16px calc(env(safe-area-inset-bottom) + 16px);
}
.quit-sheet[hidden] { display: none; }
.quit-sheet__panel {
  width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 16px; display: grid; gap: 8px;
}
.quit-sheet__title { margin: 0 0 4px; font-size: 15px; opacity: 0.8; text-align: center; }
.quit-sheet__btn {
  min-height: 46px; border-radius: 12px; border: 1px solid var(--border);
  background: transparent; color: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.quit-sheet__btn--danger { color: #e0524f; border-color: rgba(224,82,79,0.5); }
.quit-sheet__btn--cancel { border-color: transparent; opacity: 0.7; }
.quit-closed {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: #0b1016; color: #e6edf3; font-family: -apple-system, system-ui, sans-serif; text-align: center; padding: 24px;
}
.quit-closed p { margin: 0; font-size: 18px; }
.quit-closed__hint { font-size: 14px !important; color: rgba(207,218,226,0.6); line-height: 1.45; }
.quit-closed__reopen {
  margin-top: 16px; min-height: 44px; padding: 0 20px; border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.2); background: rgba(255,255,255,0.06); color: #e6edf3; font-size: 15px;
}
