/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --blue:  #314fff;
  --beige: #f9f6ef;
  --black: #0a0a0a;
  --white: #ffffff;

  --font: 'Geist Mono', monospace;

  --radius-btn: 12px;
  --radius-card: 16px;

  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: var(--font);
  border: none;
  background: none;
  cursor: pointer;
}

ul { list-style: none; }

/* ─────────────────────────────────────────
   VIEWS — contenedor base
───────────────────────────────────────── */
.view {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
}

.view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* ─────────────────────────────────────────
   VIEW: HOME
───────────────────────────────────────── */
.view--home {
  background: var(--blue);
  color: var(--beige);
  padding: 60px 36px 36px;
  justify-content: space-between;
}

.home__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Animación de portada — sprite sheet vertical (3 frames × 750×1100px) ── */
.home-anim {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 750 / 1100;
  overflow: hidden;
}

.home-anim__sprite {
  display: block;
  width: 100%;
  animation: cocoFrames 0.45s steps(3, end) infinite;
}

@keyframes cocoFrames {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

.illus-placeholder--home {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

/* .illus-placeholder--results eliminado — ver .diagnosis__illus */


/* ── Spot list ── */
.home__spots {
  padding: 0 32px;
}

/* Lista de spots — una playa por línea */
.spots-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Fila individual: abbrev + botón (+ opcionalmente el +) */
.spot-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Abbrev fuera del botón, columna izquierda fija */
.spot-abbrev {
  font-size: 9px;
  font-weight: 500;
  color: rgba(249, 246, 239, 0.45);
  letter-spacing: 0.06em;
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.spot-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  flex: 1;
  background: transparent;
  border: 1.5px solid rgba(249, 246, 239, 0.85);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.spot-item:active {
  background: rgba(249, 246, 239, 0.1);
}

.spot-item__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--beige);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón borrar — badge encima */
.spot-item__delete {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.spot-item--delete-mode .spot-item__delete {
  display: flex;
}

/* Botón añadir — círculo outline */
.btn-add-spot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(249, 246, 239, 0.85);
  color: rgba(249, 246, 239, 0.85);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.btn-add-spot:active { opacity: 0.3; }

/* ─────────────────────────────────────────
   VIEW: RESULTS
───────────────────────────────────────── */
.view--results {
  background: var(--beige);
  color: var(--black);
}

/* ── Header ── */
.results__header {
  display: flex;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 10px;
  flex-shrink: 0;
}

.btn-back {
  font-size: 20px;
  color: var(--blue);
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.35s ease;
}

/* Centro del header: nombre + clima juntos */
.results__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.results__spot-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.35s ease;
}

.results__weather {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.results__weather-icon {
  display: flex;
  align-items: center;
  color: rgba(10, 10, 10, 0.45);
  transition: color 0.35s ease;
}
.results__weather-icon svg { width: 16px; height: 16px; }
.results__weather-temp {
  font-size: 13px;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.55);
  transition: color 0.35s ease;
}

/* ── Time nav ── */
.time-nav {
  flex-shrink: 0;
  padding: 0 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.time-nav__days {
  display: flex;
  gap: 4px;
}

.time-nav__day {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.12);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.time-nav__day.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.time-nav__slider-wrap {
  padding: 2px 0;
}

.franja-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(49, 79, 255, 0.15);
  outline: none;
}

.franja-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(49, 79, 255, 0.3);
}

.franja-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: none;
}

.time-nav__franja {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}

.time-nav__franja-icon {
  display: flex;
  align-items: center;
  color: var(--blue);
  opacity: 0.7;
}

.time-nav__franja-icon svg {
  width: 15px;
  height: 15px;
}

.time-nav__franja-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.time-nav__franja-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(10, 10, 10, 0.45);
  text-transform: uppercase;
}

.time-nav__franja-hours {
  font-size: 10px;
  font-weight: 400;
  color: rgba(10, 10, 10, 0.3);
  letter-spacing: 0.03em;
}

/* ── Main ── */
.results__main {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 8px 20px 0;
  min-height: 0;
  padding-bottom: 40px;
}

/* ── Diagnosis ── */
.diagnosis {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px 8px;
}

.diagnosis__illus {
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.diagnosis__illus img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.diagnosis__pretitle {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(49, 79, 255, 0.4);
  margin-bottom: -2px;
}

.diagnosis__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.15;
}

.diagnosis__subtitle {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(49, 79, 255, 0.65);
  text-align: center;
  margin-top: 2px;
}

.diagnosis__blocks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 300px;
  text-align: left;
}

.diagnosis__block-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.diagnosis__block-icon {
  display: flex;
  align-items: center;
  color: rgba(49, 79, 255, 0.4);
  flex-shrink: 0;
  margin-top: 2px;
}

.diagnosis__block-icon svg { width: 16px; height: 16px; }

.diagnosis__block-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  text-align: left;
}

.diagnosis__block-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.35;
  text-align: left;
}

.diagnosis__block-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(10, 10, 10, 0.4);
  line-height: 1.45;
  text-align: left;
}

/* ── Terral pill — compacta, abre el sheet con info terral ── */
.terral-pill {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--black);
  border-radius: 100px;
  padding: 8px 14px 8px 8px;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.15s ease;
  border: none;
  margin-bottom: 8px;
}

.terral-pill:not(.hidden) { display: flex; }
.terral-pill:active { opacity: 0.75; }

.terral-pill__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.terral-pill__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  flex: 1;
}

.terral-pill__more {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

/* ── Tech toggle — CTA acordeón técnico ── */
.tech-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 6px 0;
  background: none;
  border: none;
  color: var(--blue);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease;
}

.tech-toggle:active { opacity: 0.35; }

.tech-toggle__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.tech-toggle.open .tech-toggle__arrow {
  transform: rotate(180deg);
}

/* ── Tech section — contenido colapsable ── */
.tech-section {
  display: none;
}

.tech-section.open {
  display: block;
  animation: techFadeIn 0.15s ease;
}

@keyframes techFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Terral popup ── */
.terral-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 300;
}

.terral-modal {
  position: fixed;
  left: 20px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 301;
  background: var(--black);
  border-radius: 20px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terral-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.terral-modal__close:active { background: rgba(255, 255, 255, 0.2); }

.terral-modal__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terral-modal__bang {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.terral-modal__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.terral-modal__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font);
}

.terral-modal__advice {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  font-family: var(--font);
}

/* Bloque terral en la sección técnica */
.explain-terral {
  background: var(--black);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.explain-terral__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explain-terral__bang {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.explain-terral__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.explain-terral__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.explain-terral__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.explain-terral__advice {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-top: 2px;
}

/* ── Tech rows — filas métricas en el sheet expandido ── */
.tech-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
}

.tech-row__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(49, 79, 255, 0.05);
  border-radius: 14px;
  padding: 14px 10px;
  min-width: 78px;
  max-width: 78px;
  flex-shrink: 0;
  text-align: center;
}

.tech-row__icon {
  display: flex;
  align-items: center;
  color: rgba(49, 79, 255, 0.4);
}
.tech-row__icon svg { width: 18px; height: 18px; }

.tech-row__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(49, 79, 255, 0.45);
}

.tech-row__value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}

.tech-row__sub {
  font-size: 9px;
  font-weight: 500;
  color: rgba(49, 79, 255, 0.5);
  line-height: 1.3;
}

.tech-row__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.tech-row__text p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
}

.tech-divider {
  height: 1px;
  background: rgba(10, 10, 10, 0.06);
}

.tech-closing {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(49, 79, 255, 0.18);
  border-radius: 14px;
  text-align: center;
}

.tech-closing p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(49, 79, 255, 0.65);
}

/* ── Metrics grid (obsoleto — oculto) ── */
.metrics-grid { display: none; }

.mgrid__value {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(10, 10, 10, 0.65);
  line-height: 1;
}

.mgrid__sub {
  font-size: 8px;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.3);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────
   SEARCH SCREEN — expansión desde botón +
───────────────────────────────────────── */
.search-screen {
  position: fixed;
  inset: 0;
  background: #fafafa;
  z-index: 200;
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.search-screen.active {
  clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%));
  pointer-events: auto;
}

.search-screen__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 56px 32px calc(32px + var(--safe-bottom));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  transition-delay: 0.18s;
  overflow: hidden;
}

.search-screen.active .search-screen__inner {
  opacity: 1;
  transform: translateY(0);
}

.search-back {
  font-size: 20px;
  color: rgba(10, 10, 10, 0.35);
  padding: 4px;
  line-height: 1;
  align-self: flex-start;
  margin-bottom: 28px;
  transition: opacity 0.15s ease;
}

.search-back:active { opacity: 0.4; }

.search-prompt {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 28px;
}

.search-field-wrap {
  border-bottom: 1.5px solid rgba(10, 10, 10, 0.12);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.search-field {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  caret-color: var(--blue);
}

.search-field::placeholder {
  color: rgba(10, 10, 10, 0.18);
}

.search-results {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.search-result-item {
  padding: 14px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
  opacity: 0;
  animation: resultIn 0.2s ease forwards;
  animation-delay: calc(var(--idx, 0) * 40ms);
}

@keyframes resultIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.search-result-item:active { opacity: 0.5; }

.search-result-item__name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
}

.search-result-item__location {
  display: block;
  font-size: 12px;
  color: rgba(10, 10, 10, 0.38);
  margin-top: 2px;
}

.search-status {
  padding: 14px 0;
  font-size: 13px;
  color: rgba(10, 10, 10, 0.3);
}

/* Confirmar nombre del spot */
.search-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  margin-top: 4px;
}

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

.search-field--sm {
  font-size: 15px;
  flex: 1;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(10, 10, 10, 0.12);
}

.search-save-btn {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.search-save-btn:active { opacity: 0.5; }

/* ─────────────────────────────────────────
   HAMBURGER BUTTON — fixed, always visible
───────────────────────────────────────── */
.btn-menu {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 20px;
  z-index: 150;
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-menu:active { opacity: 0.5; }

.btn-menu__bar {
  display: block;
  width: 20px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
}

/* Color según vista activa */
body[data-view="view-home"]    .btn-menu { color: var(--beige); }
body[data-view="view-results"] .btn-menu { color: var(--blue); }

/* ─────────────────────────────────────────
   MENU DRAWER
───────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  z-index: 351;
  background: var(--beige);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-bottom);
}

.menu-drawer.active {
  transform: translateX(0);
}

.menu-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 24px 18px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  flex-shrink: 0;
}

.menu-drawer__brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.menu-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(10, 10, 10, 0.35);
  transition: opacity 0.15s ease;
}

.menu-drawer__close svg { width: 18px; height: 18px; }
.menu-drawer__close:active { opacity: 0.4; }

.menu-drawer__nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.menu-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  transition: background 0.12s ease;
}

.menu-nav-item:active { background: rgba(49, 79, 255, 0.05); }

.menu-nav-item__icon {
  display: flex;
  align-items: center;
  color: var(--blue);
  opacity: 0.7;
  flex-shrink: 0;
}

.menu-nav-item__icon svg { width: 18px; height: 18px; }

.menu-nav-item__label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.menu-nav-item__arrow {
  font-size: 18px;
  color: rgba(10, 10, 10, 0.2);
  line-height: 1;
}

.menu-drawer__footer {
  padding: 16px 24px calc(16px + var(--safe-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

.menu-drawer__footer span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.3);
  letter-spacing: 0.04em;
}

.menu-drawer__version {
  background: rgba(49, 79, 255, 0.08);
  border-radius: 100px;
  padding: 2px 8px;
}

/* ─────────────────────────────────────────
   ABOUT SHEET
───────────────────────────────────────── */
.about-overlay,
.suggestions-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.about-overlay.active,
.suggestions-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.about-sheet,
.suggestions-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 401;
  background: var(--beige);
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 88vh;
  overflow-y: auto;
  padding-bottom: calc(32px + var(--safe-bottom));
}

.about-sheet.active,
.suggestions-sheet.active {
  transform: translateY(0);
}

.about-sheet__handle,
.suggestions-sheet__handle {
  width: 36px;
  height: 4px;
  background: rgba(10, 10, 10, 0.12);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.about-sheet__content,
.suggestions-sheet__content {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-sheet__head { display: flex; flex-direction: column; gap: 4px; }

.about-sheet__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.about-sheet__tagline {
  font-size: 13px;
  color: rgba(49, 79, 255, 0.55);
  font-weight: 500;
}

.about-sheet__desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.6);
}

.about-sheet__disclaimer {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
}

.about-sheet__credits {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-sheet__credits p {
  font-size: 11px;
  color: rgba(10, 10, 10, 0.35);
  line-height: 1.5;
}

.about-sheet__credits a { color: rgba(49, 79, 255, 0.6); }

.about-sheet__links {
  display: flex;
  gap: 16px;
  padding-bottom: 4px;
}

.about-sheet__links a {
  font-size: 11px;
  font-weight: 600;
  color: rgba(49, 79, 255, 0.55);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.about-sheet__links a:active { opacity: 0.5; }

/* Suggestions sheet */
.suggestions-sheet__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.suggestions-sheet__desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.6);
}

.suggestions-textarea {
  width: 100%;
  min-height: 100px;
  background: rgba(10, 10, 10, 0.04);
  border: 1.5px solid rgba(10, 10, 10, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 13px;
  color: #0a0a0a;
  resize: none;
  outline: none;
  transition: border-color 0.15s ease;
  margin-top: 8px;
  box-sizing: border-box;
}
.suggestions-textarea:focus { border-color: rgba(10, 10, 10, 0.35); }
.suggestions-textarea::placeholder { color: rgba(10, 10, 10, 0.3); }

.suggestions-counter {
  font-family: var(--font);
  font-size: 11px;
  color: rgba(10, 10, 10, 0.3);
  text-align: right;
  margin-top: 4px;
}

.suggestions-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: #0a0a0a;
  color: #f9f6ef;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity 0.15s ease;
}
.suggestions-send:active { opacity: 0.75; }
.suggestions-send:disabled { opacity: 0.4; cursor: default; }

.suggestions-success__msg {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  text-align: center;
  padding: 24px 0 8px;
}

/* ─────────────────────────────────────────
   UTILS
───────────────────────────────────────── */
.hidden { display: none !important; }
