/* Оформление textula. Раньше эти правила жили прямо в index.html —
   две с лишним тысячи строк, из-за которых браузер перекачивал разметку
   при любой правке цвета. Отдельным файлом стили кэшируются сами по себе. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: #fff;
  color: #000;
  overflow: hidden;
}

#map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.leaflet-tile {
  filter: grayscale(1) contrast(0.95) brightness(0.97);
  -webkit-filter: grayscale(1) contrast(0.95) brightness(0.97);
}

.leaflet-control-attribution {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 9px !important;
  opacity: 0.3;
  background: rgba(255,255,255,0.8) !important;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: none !important;
}

.leaflet-control-zoom a {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  font-size: 14px !important;
  font-family: 'IBM Plex Mono', monospace !important;
}

.leaflet-control-zoom a:hover {
  background: #000 !important;
  color: #fff !important;
}

.leaflet-control-zoom-in {
  border-bottom: none !important;
}

/* Шапка фиксированная, а её высота зависит от ширины экрана и от того,
   перенеслось ли название. Всё, что под ней, стоит на fixed-позициях,
   поэтому фактическую высоту публикует JS (syncHeaderHeight), а значения
   здесь — только запасные, на случай если скрипт ещё не отработал. */
:root {
  --header-h: 45px;
  --search-h: 40px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid #000;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.site-header h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #000;
}

.site-header h1 span {
  font-weight: 400;
  font-style: italic;
  color: #666;
}

.header-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header-btn {
  background: none;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.header-btn:hover { border-bottom-color: #000; }
.header-btn.active { border-bottom-color: #000; }

.header-btn-help {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.header-btn-help:hover {
  background: #000;
  color: #fff;
}

.search-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 890;
  background: #fff;
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: var(--search-h);
}

.search-icon {
  font-size: 16px;
  color: #999;
  margin-right: 8px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #000;
  background: transparent;
  padding: 8px 0;
}

.search-input::placeholder { color: #bbb; }

.search-clear {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  font-family: 'IBM Plex Mono', monospace;
  transition: color 0.15s;
}

.search-clear:hover { color: #000; }
.search-clear.hidden { display: none; }

.search-results {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #000;
  max-height: 280px;
  overflow-y: auto;
  z-index: 891;
}

.search-results.hidden { display: none; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.1s;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #f5f5f5; }

.search-result-photo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #000;
  flex-shrink: 0;
}

.search-result-nophoto {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ccc;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-title mark {
  background: #000;
  color: #fff;
  padding: 0 2px;
}

.search-result-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

.search-no-results {
  padding: 20px 16px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #999;
}

.search-count {
  padding: 6px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #999;
  border-bottom: 1px solid #eee;
}

.filters-bar {
  position: fixed;
  top: calc(var(--header-h) + var(--search-h));
  left: 0;
  right: 0;
  z-index: 880;
  background: #fff;
  border-bottom: 1px solid #000;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  padding: 11px 20px 9px 20px;
  border: none;
  border-right: 1px solid #000;
  background: #fff;
  color: #666;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.filter-btn:last-child { border-right: none; }
.filter-btn:hover { color: #000; }
.filter-btn.active { background: #000; color: #fff; }

.dot-marker {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: left center;
}

.dot-marker .dot {
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.dot-marker .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #000;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 0.15s ease, font-size 0.15s ease;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dot-marker:hover .dot { transform: scale(1.8); }
.dot-marker:hover .label { opacity: 1; }

.dot-marker.pending { opacity: 0.35; }
.dot-marker.pending .dot {
  border: 1.5px dashed #000;
  background: transparent;
}

.dot-marker.active-marker .dot {
  background: #000;
  transform: scale(2);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}

.dot-marker.active-marker .label {
  opacity: 1;
  font-weight: 500;
}

.dot-marker.prox-1 { transform: scale(1.4); }
.dot-marker.prox-1 .label { opacity: 1; font-size: 12px; }
.dot-marker.prox-2 { transform: scale(1.2); }
.dot-marker.prox-2 .label { opacity: 0.9; }
.dot-marker.prox-3 { transform: scale(1.05); }
.dot-marker.prox-3 .label { opacity: 0.8; }

.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
  background: rgba(0,0,0,0.08) !important;
}

.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
  background: #000 !important;
  color: #fff !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  width: 32px !important;
  height: 32px !important;
  margin-left: 4px !important;
  margin-top: 4px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.marker-cluster { background: rgba(0,0,0,0.06) !important; border-radius: 50% !important; }

.temp-marker {
  width: 16px;
  height: 16px;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #000;
  animation: blink 1s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.user-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #000;
}

.panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #000;
  z-index: 950;
  max-height: 70vh;
  overflow-y: auto;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid #000;
  height: 44px;
}

.panel-toolbar-left, .panel-toolbar-right {
  display: flex;
  align-items: center;
  height: 100%;
}

/* В правой группе разделитель нужен слева, иначе кнопка «поделиться»
   отделяется от крестика чертой не с той стороны. */
.panel-toolbar-right .nav-btn {
  border-right: none;
  border-left: 1px solid #000;
}

.nav-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  border-right: 1px solid #000;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.nav-btn:hover { background: #000; color: #fff; }
.nav-btn:disabled { opacity: 0.15; cursor: default; background: #fff; color: #000; }

.panel-counter {
  padding: 0 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #666;
  letter-spacing: 0.05em;
}

.close-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  border-left: 1px solid #000;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.close-btn:hover { background: #000; color: #fff; }

.panel-content {
  display: flex;
  gap: 0;
}

.photo-slider {
  position: relative;
  width: 320px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-right: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#detail-photo {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

/* Пока новое фото не загрузилось, прячем картинку: иначе в <img> висит
   предыдущий снимок и точка какое-то время показывает чужое фото. */
.photo-slider.photo-loading #detail-photo,
.photo-slider.photo-failed #detail-photo {
  visibility: hidden;
}

.photo-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  pointer-events: none;
}

.photo-slider.photo-loading .photo-loader,
.photo-slider.photo-failed .photo-loader {
  display: flex;
}

.photo-loader-dots {
  display: flex;
  gap: 6px;
}

.photo-loader-dots span {
  width: 5px;
  height: 5px;
  background: #000;
  border-radius: 50%;
  animation: onbDot 1.4s ease infinite;
}

.photo-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.photo-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

.photo-loader-error {
  display: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #999;
  text-align: center;
  padding: 0 16px;
}

.photo-slider.photo-failed .photo-loader-dots { display: none; }
.photo-slider.photo-failed .photo-loader-error { display: block; }

.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.75);
  color: #000;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}

.photo-slider.has-many .photo-nav { display: flex; }
.photo-nav:hover { background: #fff; }
.photo-nav-prev { left: 0; }
.photo-nav-next { right: 0; }

.photo-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
  z-index: 2;
  display: none;
}

.photo-slider.has-many .photo-counter { display: block; }

.photo-caption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  letter-spacing: 0.03em;
  z-index: 2;
  max-width: calc(100% - 16px);
}

.photo-caption:empty { display: none; }

.photo-caption .photo-pending {
  color: #ffd34d;
  margin-left: 6px;
}

.btn-add-photo {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255,255,255,0.85);
  border: 1px solid #000;
  padding: 4px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: #000;
  z-index: 2;
  transition: all 0.15s;
}

.btn-add-photo:hover { background: #000; color: #fff; }

.photo-admin-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 1px;
  z-index: 3;
}

.photo-admin-bar:empty { display: none; }

.photo-admin-bar button {
  flex: 1;
  padding: 7px 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  background: rgba(0,0,0,0.82);
  color: #fff;
}

.photo-admin-bar button:hover { background: #000; }
.photo-admin-bar button.pa-approve { background: rgba(20,120,40,0.9); }
.photo-admin-bar button.pa-delete { background: rgba(150,20,20,0.9); }
.photo-admin-bar button:disabled { opacity: 0.3; cursor: default; }

.photo-form-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: #000;
}

.photo-agree {
  margin-top: 10px;
  font-size: 12px;
}

.detail-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.detail-info h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-info p {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}

.detail-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.category-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #000;
  color: #000;
}

.status-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-tag.approved { background: #000; color: #fff; }
.status-tag.pending { background: #fff; color: #000; border: 1px dashed #000; }

.detail-sub {
  font-size: 11px;
  color: #999;
  font-family: 'IBM Plex Mono', monospace;
}

.detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-approve, .btn-delete {
  padding: 8px 16px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-approve {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.btn-approve:hover { background: #333; }

.btn-delete {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.btn-delete:hover { background: #000; color: #fff; }

.admin-only { display: none; }
body.admin-mode .admin-only { display: flex; }

.add-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 960;
  width: 48px;
  height: 48px;
  background: #000;
  border: none;
  color: #fff;
  font-size: 28px;
  font-family: 'IBM Plex Mono', monospace;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.add-button.hidden { display: none; }

.geo-button {
  position: fixed;
  bottom: 76px;
  right: 20px;
  z-index: 960;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-button:hover { background: #000; color: #fff; }

.geo-button.locating { animation: geoBlink 0.6s ease infinite; }

@keyframes geoBlink {
  0%,100% { background: #fff; }
  50% { background: #000; color: #fff; }
}

.map-hint {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 8px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  z-index: 960;
  display: none;
  border: none;
}

.map-hint.visible { display: block; }

.add-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #000;
  z-index: 950;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.add-panel.open { transform: translateX(0); }

.add-panel h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.status-box {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
  border: 1px solid #000;
}

.status-waiting { color: #666; border-style: dashed; }
.status-ready { color: #000; background: #f0f0f0; }

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #000;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #000;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  box-shadow: 3px 3px 0 #000;
}

.form-field textarea {
  height: 80px;
  resize: vertical;
}

.form-field select {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.category-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cat-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid #000;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.cat-check:hover { background: #f0f0f0; }
.cat-check input { display: none; }
.cat-check.checked { background: #000; color: #fff; }

.form-field input[type="file"] {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #666;
}

.photo-preview { margin-top: 8px; }
.photo-preview img { max-width: 100%; max-height: 120px; border: 1px solid #000; }

.form-actions {
  display: flex;
  gap: 0;
  margin-top: 24px;
}

.btn-primary {
  flex: 1;
  padding: 12px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-primary:hover { background: #333; }

.btn-secondary {
  flex: 1;
  padding: 12px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-left: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-secondary:hover { background: #f0f0f0; }

.mod-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #000;
  z-index: 970;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-panel.open { transform: translateX(0); }

.mod-panel h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}

.mod-subtitle {
  color: #666;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #000;
}

.mod-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
}

.mod-close:hover { opacity: 0.5; }

.mod-card {
  border: 1px solid #000;
  padding: 16px;
  margin-bottom: 12px;
}

.mod-card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid #000;
}

.mod-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.mod-card p {
  color: #333;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.mod-card-cat {
  font-size: 10px;
  color: #666;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.mod-card-actions {
  display: flex;
  gap: 0;
}

.mod-card-actions button {
  flex: 1;
  padding: 8px;
  font-size: 11px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mod-btn-approve {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.mod-btn-approve:hover { background: #333; }

.mod-btn-reject {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-left: none;
}

.mod-btn-reject:hover { background: #f0f0f0; }

.mod-empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-family: 'IBM Plex Mono', monospace;
}

.mod-empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  border: 1px solid #fff;
}

.badge.hidden { display: none; }

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  color: #000;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.loading-overlay.hidden { display: none; }

.marker-preview {
  position: fixed;
  z-index: 940;
  pointer-events: none;
  background: #fff;
  border: 1px solid #000;
  padding: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  max-width: 200px;
}

.marker-preview.visible {
  opacity: 1;
  transform: translateY(0);
}

.marker-preview img {
  display: block;
  width: 200px;
  height: 140px;
  object-fit: cover;
}

.marker-preview .preview-title {
  padding: 6px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #000;
  border-top: 1px solid #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marker-preview .preview-no-photo {
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
}

.onboarding {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.onboarding.hiding {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.onboarding.hidden { display: none; }

.onboarding-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.onboarding-close:hover { color: #000; }
.onboarding-close.hidden { display: none; }

.onboarding-content {
  text-align: center;
  max-width: 420px;
  padding: 0 24px;
}

.onboarding-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: #000;
  margin-bottom: 4px;
}

.onboarding-title span {
  font-weight: 400;
  font-style: italic;
  color: #666;
}

/* Все шаги живут в одном гриде: строка под текст, строка под кнопку, строка
   под условия. Обёртки шагов прозрачны для раскладки (display: contents),
   поэтому высота каждой строки считается по самому длинному шагу сразу для
   всех. Так при переключении не двигаются ни логотип, ни кнопка — раньше
   блок был просто отцентрован и ездил вслед за длиной текста. */
.onboarding-steps {
  display: grid;
  grid-template-columns: 1fr;
}

.onboarding-step {
  display: contents;
}

.onboarding-step > * {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.onboarding-step.active > * {
  opacity: 1;
  visibility: visible;
}

.onboarding-step .onboarding-desc {
  grid-area: 1 / 1;
  align-self: center;
}

/* Одинаковая ширина, иначе более длинное «Исследовать» на последнем шаге
   раздвигает края кнопки относительно «Далее». */
.onboarding-step .onboarding-enter {
  grid-area: 2 / 1;
  justify-self: center;
  min-width: 190px;
}

.onboarding-step .onboarding-terms {
  grid-area: 3 / 1;
}

.onboarding-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 32px;
}

.onboarding-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.onboarding-dot {
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  animation: onbDot 1.4s ease infinite;
}

.onboarding-dot:nth-child(2) { animation-delay: 0.2s; }
.onboarding-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes onbDot {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.onboarding-enter {
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.15s;
}

.onboarding-enter:hover { background: #333; }

.onboarding-terms {
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: #bbb;
  letter-spacing: 0.03em;
}

.onboarding-terms a {
  color: #999;
  text-decoration: underline;
}

.onboarding-terms a:hover { color: #000; }

.onboarding-hint {
  margin-top: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #ccc;
  letter-spacing: 0.05em;
}

.form-agree { margin-top: 8px; }

.agree-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.agree-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #000;
}

.terms-link {
  color: #000;
  text-decoration: underline;
}

.terms-link:hover { text-decoration: none; }

.terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.terms-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.terms-body {
  background: #fff;
  border: 1px solid #000;
  max-width: 520px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.terms-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.terms-body p,
.terms-body li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 12px;
}

.terms-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.terms-body .terms-date {
  font-size: 10px;
  color: #999;
  margin-top: 20px;
}

.terms-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  color: #000;
}

.terms-close:hover { opacity: 0.5; }

.plus-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  background: transparent;
  border: 1.5px solid #000;
  color: #000;
  border-radius: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  margin: 0 5px;
  padding-bottom: 2px;
  box-sizing: border-box;
}

.search-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  background: #fff;
  border: none;
  border-top: 1px solid #000;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: #000;
  transition: all 0.15s;
}

.search-connect:hover {
  background: #000;
  color: #fff;
}

.search-connect.active {
  background: #000;
  color: #fff;
}

.search-connect-icon { font-size: 14px; }

.notes-section {
  margin-top: 16px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.notes-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}

.notes-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #ccc;
}

.btn-add-note {
  background: none;
  border: 1px solid #000;
  padding: 4px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: #000;
  transition: all 0.15s;
}

.btn-add-note:hover {
  background: #000;
  color: #fff;
}

.note-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.note-item:last-child { border-bottom: none; }

.note-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.note-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #bbb;
  margin-top: 6px;
}

.note-status {
  display: inline-block;
  padding: 1px 6px;
  font-size: 9px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  margin-left: 8px;
}

.note-status.pending {
  border: 1px dashed #999;
  color: #999;
}

.note-form {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #000;
  display: none;
}

.note-form.open { display: block; }

.note-form textarea {
  width: 100%;
  height: 70px;
  padding: 10px;
  border: 1px solid #ddd;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #000;
  outline: none;
  resize: vertical;
}

.note-form textarea:focus { border-color: #000; }

.note-form-row {
  display: flex;
  gap: 0;
  margin-top: 8px;
}

.note-form-author {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-right: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  outline: none;
}

.note-form-author:focus { border-color: #000; }

.note-form-submit {
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.note-form-submit:hover { background: #333; }

.note-form-cancel {
  padding: 8px 16px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-left: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.note-form-cancel:hover { background: #f0f0f0; }

.note-admin-actions {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
}

.note-admin-btn {
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.15s;
  padding: 0 2px;
}

.note-admin-btn:hover { opacity: 1; }

.notes-empty {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #ccc;
  padding: 8px 0;
}

.mod-section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.mod-note-card {
  border: 1px dashed #000;
  padding: 14px;
  margin-bottom: 10px;
}

.mod-note-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 6px;
}

.mod-note-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #999;
  margin-bottom: 10px;
}

.mod-note-actions {
  display: flex;
  gap: 0;
}

.mod-note-actions button {
  flex: 1;
  padding: 6px;
  font-size: 10px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.guess-mode {
  cursor: default !important;
}

body.guess-mode .filter-btn,
body.guess-mode #search-bar,
body.guess-mode #add-btn,
body.guess-mode #geo-float,
body.guess-mode .site-header #admin-btn,
body.guess-mode .site-header #help-btn {
  pointer-events: none;
  opacity: 0.4;
}

/* Игра прячет поиск и фильтры, но правила для .hidden у них не было, и они
   так и висели над картой — приглушённые, но на виду. */
.search-bar.hidden,
.filters-bar.hidden { display: none; }

#guess-mode {
  z-index: 960;
  max-height: 70vh;
  background: #fff;
  border-top: 1px solid #000;
  padding: 24px;
  overflow-y: auto;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: 'IBM Plex Mono', monospace;
}

/* На широком экране игра живёт колонкой справа, карта остаётся слева и
   целиком на виду — так удобнее ставить точку мышью. Панель начинается под
   шапкой, чтобы кнопка выхода из игры оставалась доступной. */
@media (min-width: 769px) {
  #guess-mode {
    top: var(--header-h); /* панель выше шапки по z-index и иначе накрывала бы её */
    bottom: 0;
    left: auto;
    right: 0;
    width: 400px;
    max-height: none;
    border-top: none;
    border-left: 1px solid #000;
    padding: 20px;
  }

  .guess-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .guess-image-container {
    height: 300px;
  }

  #guess-image {
    max-height: 300px;
  }

  /* В узкой колонке кнопки в строку не помещаются */
  .guess-actions {
    flex-direction: column;
  }

  .guess-stats {
    gap: 12px;
    font-size: 13px;
  }
}

.guess-title {
  text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.guess-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 240px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid #000;
}

/* В игре показать снимок предыдущего раунда особенно вредно: человек будет
   угадывать локацию не той фотографии. Прячем картинку до загрузки. */
.guess-image-container.photo-loading .guess-image,
.guess-image-container.photo-failed .guess-image {
  visibility: hidden;
}

.guess-image-container .photo-loader {
  background: #f7f7f7;
}

.guess-image-container.photo-loading .photo-loader,
.guess-image-container.photo-failed .photo-loader {
  display: flex;
}

.guess-image-container.photo-failed .photo-loader-dots { display: none; }
.guess-image-container.photo-failed .photo-loader-error { display: block; }

.guess-image {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.guess-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

#guess-score {
  font-weight: 700;
  font-size: 18px;
}

.guess-stats.hidden { display: none; }
.guess-btn.hidden { display: none; }
.guess-actions.hidden { display: none; }
.guess-final.hidden { display: none; }

/* Итог игры занимает место фотографии: снимок последнего раунда убирается,
   рамка уходит — остаётся счёт и фраза. */
.guess-image-container.finished {
  height: auto;
  min-height: 220px;
  border: none;
  background: transparent;
}

.guess-image-container.finished .guess-image,
.guess-image-container.finished .photo-loader { display: none; }

.guess-final {
  width: 100%;
  padding: 8px 4px;
  text-align: center;
}

.guess-final-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}

.guess-final-score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.guess-final-max {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.guess-final-phrase {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.35;
  margin: 18px 0 12px;
}

.guess-final-stats {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #666;
}

.guess-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.guess-btn {
  padding: 12px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid #000;
  transition: all 0.15s;
}

.guess-btn-dark {
  background: #000;
  color: #fff;
}
.guess-btn-dark:hover { background: #333; }

/* «Следующая» до ответа заблокирована — пусть это будет видно */
.guess-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.guess-btn-dark:disabled:hover { background: #000; }

.guess-btn-light {
  background: #fff;
  color: #000;
}
.guess-btn-light:hover { background: #f0f0f0; }

.guess-result {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  font-family: 'IBM Plex Mono', monospace;
}

@media (max-width: 768px) {
  .marker-preview { display: none !important; }
  .site-header { padding: 10px 16px; }
  .site-header h1 { font-size: 14px; }

  /* На узкой шапке название с подзаголовком и три кнопки в строку не
     помещались — заголовок переносился и отъедал у карты целую строку.
     Подзаголовок здесь декоративный, названия достаточно. */
  .site-header h1 span { display: none; }
  .header-right { gap: 12px; }
  :root { --search-h: 36px; }
  .search-bar { padding: 0 12px; }
  .search-input { font-size: 16px; }
  .search-results { top: 36px; }
  .filters-bar {
    top: auto;
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border: 1px solid #000;
    max-width: 94vw;
    overflow-x: auto;
    z-index: 900;
  }
  .filter-btn:last-child { border-right: none; }
  .panel-content { flex-direction: column; }
  .photo-slider { width: 100%; border-right: none; border-bottom: 1px solid #000; }
  #detail-photo { max-height: 240px; }
  .detail-info { padding: 16px; }
  .detail-info h2 { font-size: 20px; }
  .add-button { bottom: 64px; right: 16px; width: 44px; height: 44px; }
  .geo-button { bottom: 116px; right: 16px; width: 44px; height: 44px; }
  .add-panel {
    width: 100%;
    height: auto;
    max-height: 120px;
    top: auto;
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: 1px solid #000;
    transform: translateY(100%);
    padding: 16px 20px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s;
  }
  .add-panel.open { transform: translateY(0); max-height: 120px; }
  .add-panel.open.expanded { max-height: 80vh; overflow-y: auto; }
  .add-panel .form-field, .add-panel .form-actions { display: none; }
  .add-panel.expanded .form-field, .add-panel.expanded .form-actions { display: block; }
  .mod-panel {
    width: 100%;
    height: 70vh;
    top: auto;
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: 1px solid #000;
    transform: translateY(100%);
  }
  .mod-panel.open { transform: translateY(0); }
  .map-hint { bottom: 130px; font-size: 11px; }
  .dot-marker .label { max-width: 80px; font-size: 9px; }
  .onboarding-title { font-size: 24px; }
  .onboarding-desc { font-size: 14px; }

  /* Шторка снизу: раньше панель занимала весь экран и полностью закрывала
     карту — ткнуть в место находки было некуда, оставалась только кнопка
     «в центре карты», то есть игра вслепую. Сверху теперь видно карту,
     и чем её больше, тем точнее можно ткнуть, поэтому содержимое шторки
     прижато настолько, насколько остаётся читаемым. */
  /* Высота по содержимому, а не фиксированная доля экрана: раньше под
     кнопками оставалась пустая полоса, которую с тем же успехом могла
     занимать карта. Потолок нужен для длинного итога — он прокрутится. */
  #guess-mode {
    height: auto;
    max-height: 62vh;
    overflow-y: auto;
    padding: 10px 12px 12px;
  }

  .guess-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .guess-image-container {
    height: 128px;
    margin-bottom: 8px;
  }

  #guess-image {
    max-height: 128px;
  }

  /* Попытка, время и очки — одной строкой: перенос съедал ещё строку
     высоты, а вместе с ней кусок карты. */
  .guess-stats {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .guess-btn {
    padding: 7px 11px;
    font-size: 11px;
  }

  .guess-actions {
    gap: 8px;
    margin-bottom: 8px;
  }

  .guess-result {
    margin-top: 8px;
    font-size: 13px;
  }

  #guess-score { font-size: 13px; }
}

/* Совсем узкие экраны: строка со статусом должна остаться в одну строку
   и не выехать за край. */
@media (max-width: 360px) {
  .guess-stats { gap: 8px; font-size: 11px; }
  #guess-score { font-size: 12px; }
  .guess-image-container { height: 118px; }
  #guess-image { max-height: 118px; }

  .guess-image-container.finished { min-height: 190px; }
  .guess-final-score { font-size: 46px; }
  .guess-final-phrase { font-size: 18px; margin: 14px 0 10px; }

}
