:root {
  --bg: #f4f7f4;
  --bg-deep: #dfe8df;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #18221f;
  --muted: #5a6e67;
  --line: rgba(39, 64, 56, 0.14);
  --accent: #0f766e;
  --accent-2: #d85b2a;
  --accent-3: #3166a6;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --sun: #f2b84b;
  --shadow: 0 22px 60px rgba(28, 52, 44, 0.13);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.17), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(216, 91, 42, 0.14), transparent 24%),
    linear-gradient(180deg, #eef6f2 0%, #fbfaf4 46%, #edf4f7 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  filter: blur(50px);
  opacity: 0.68;
  pointer-events: none;
}

.bg-glow-a {
  top: 40px;
  left: -70px;
  width: 280px;
  height: 280px;
  background: rgba(49, 102, 166, 0.2);
}

.bg-glow-b {
  right: -70px;
  top: 320px;
  width: 320px;
  height: 320px;
  background: rgba(216, 91, 42, 0.17);
}

.shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 24px;
  padding: 32px 0 18px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.panel,
.insight-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy,
.hero-panel,
.panel {
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(8, 28, 25, 0.98), rgba(18, 72, 61, 0.96) 54%, rgba(94, 53, 37, 0.94)),
    #102b26;
  color: #fffaf1;
  animation: rise-in 0.8s ease both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 25, 0.08), rgba(8, 28, 25, 0.58)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Teide_from_Llano_de_Ucanca.jpg/1280px-Teide_from_Llano_de_Ucanca.jpg")
      center / cover no-repeat;
  opacity: 0.28;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(32, 48, 43, 0.98), rgba(13, 101, 94, 0.96)),
    var(--panel);
  color: #effaf6;
  animation: rise-in 0.95s ease both;
}

.eyebrow,
.panel-kicker,
.insight-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--muted);
}

.hero-copy .eyebrow,
.hero-copy .hero-text,
.hero-panel .panel-kicker,
.hero-panel p,
.hero-panel span {
  color: rgba(255, 250, 241, 0.9);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.76;
}

.stat-row,
.hero-panel-grid,
.safety-grid,
.insight-grid {
  display: grid;
  gap: 14px;
}

.stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.stat-card {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.18);
}

.stat-card span,
.hero-panel-grid span,
.day-meta,
.detail-meta,
.safety-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-copy .stat-card span,
.hero-copy .stat-card strong {
  color: rgba(255, 250, 241, 0.9);
}

.stat-card strong,
.hero-panel-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
}

.toggle-wrap {
  margin-top: 26px;
}

.toggle-label {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 700;
}

.toggle-group {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(19, 46, 39, 0.12);
}

.toggle-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: rgba(255, 250, 241, 0.78);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.map-plan-inline .toggle-btn {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.9rem;
}

.toggle-btn:hover,
.toggle-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.toggle-btn.active {
  color: #13302b;
  background: #fffaf1;
  box-shadow: 0 12px 24px rgba(12, 36, 31, 0.16);
}

.map-plan-inline .toggle-btn.active {
  color: #fffaf1;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  color: #15332d;
  background: #fffaf1;
  box-shadow: 0 16px 36px rgba(8, 28, 25, 0.2);
}

.ghost-action {
  border: 1px solid rgba(255, 250, 241, 0.44);
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.12);
}

.hero-panel-top p {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.hero-panel-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel-note {
  margin: 20px 0 0;
  line-height: 1.7;
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.38fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0 48px;
}

.main-stack,
.sidebar {
  display: grid;
  gap: 22px;
}

.sidebar {
  position: sticky;
  top: 18px;
}

.panel,
.insight-card {
  background: var(--panel);
}

.panel {
  padding: 22px;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head.compact {
  margin-bottom: 12px;
}

.map-plan-status {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.map-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

#map {
  width: 100%;
  height: min(68vh, 640px);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #dbe6de;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-swatch {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: var(--legend-color);
}

.legend-swatch.is-primary {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--legend-color);
}

.legend-swatch.is-optional {
  width: 16px;
  height: 16px;
  border: 2px dashed var(--legend-color);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96) !important;
}

.legend-swatch.is-viewpoint {
  width: 16px;
  height: 16px;
  border: 2px solid var(--legend-color);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96) !important;
}

.legend-line {
  width: 28px;
  height: 0;
  border-top: 3px dashed rgba(71, 85, 105, 0.75);
  border-radius: 999px;
}

.legend-line.is-active {
  border-top-style: solid;
  border-top-color: #0f172a;
}

.legend-marker {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.legend-marker-stay {
  background: #0f4f67;
}

.map-reset-control,
.map-style-toggle,
.map-geolocate-toggle {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(24, 34, 31, 0.16);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

.map-style-toggle {
  min-width: 78px;
}

.map-geolocate-toggle {
  min-width: 90px;
}

.map-geolocate-toggle.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
}

.map-reset-control:focus-visible,
.map-style-toggle:focus-visible,
.map-geolocate-toggle:focus-visible {
  outline: 2px solid rgba(32, 104, 93, 0.35);
  outline-offset: 2px;
}

.day-list {
  display: grid;
  gap: 12px;
}

.day-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.day-button:hover,
.day-button.active {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(255, 255, 255, 0.94);
}

.day-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fffaf1;
  background: var(--day-color, var(--accent));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.day-button h3 {
  margin-bottom: 5px;
}

.day-meta {
  line-height: 1.5;
}

.day-arrow {
  align-self: center;
  color: var(--muted);
  font-weight: 900;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.insight-card p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.safety-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safety-card {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.safety-card strong {
  color: var(--accent);
}

.safety-card span {
  line-height: 1.6;
}

.warning-strip {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.warning-strip div {
  padding: 14px 16px;
  border-left: 4px solid var(--accent-2);
  border-radius: 12px;
  background: rgba(216, 91, 42, 0.1);
  color: #604132;
  line-height: 1.65;
}

.detail-panel,
.poi-panel {
  overflow: hidden;
}

.detail-media {
  width: calc(100% + 44px);
  height: 190px;
  margin: -22px -22px 18px;
  object-fit: cover;
  background: #dbe6de;
}

.poi-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.poi-panel-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-panel h2,
.poi-panel h2 {
  margin-bottom: 12px;
}

.detail-meta {
  margin-bottom: 14px;
  line-height: 1.6;
}

.detail-panel p,
.poi-panel p {
  line-height: 1.72;
}

.stop-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.stop-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.stop-item strong {
  font-size: 0.96rem;
}

.stop-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.poi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.poi-actions a,
.poi-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf1;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.poi-close {
  background: rgba(24, 34, 31, 0.08);
  color: var(--text);
}

.poi-detail-card {
  display: grid;
  gap: 14px;
}

.poi-detail-image {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 18px;
  object-fit: cover;
  background: #dbe6de;
}

.poi-detail-body {
  display: grid;
  gap: 12px;
}

.poi-detail-score {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.poi-kind-chip {
  width: fit-content;
  margin-top: -2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(49, 102, 166, 0.12);
  color: #3166a6;
  font-size: 0.82rem;
  font-weight: 800;
}

.poi-kind-chip--primary {
  background: rgba(216, 91, 42, 0.12);
  color: #a74320;
}

.poi-kind-chip--optional {
  background: rgba(209, 138, 23, 0.14);
  color: #8a5a0d;
}

.poi-kind-chip--viewpoint {
  background: rgba(67, 128, 90, 0.14);
  color: #2c6b43;
}

.poi-detail-tagline,
.poi-detail-note {
  margin: 0;
  color: #315d74;
  line-height: 1.65;
}

.poi-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.poi-detail-item {
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(22, 115, 139, 0.07);
}

.poi-detail-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.poi-detail-item span {
  color: var(--text);
  line-height: 1.5;
}

.poi-detail-item--wide {
  grid-column: 1 / -1;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(24, 34, 31, 0.08);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.detail-actions a.primary {
  background: var(--accent);
  color: #fffaf1;
}

.member-comments {
  margin-top: 18px;
}

.member-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.member-compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.member-compact-head h3 {
  margin: 2px 0 0;
  font-size: 1rem;
}

.member-status,
.member-link-button {
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.member-status {
  padding: 8px 10px;
}

.member-link-button {
  padding: 8px 10px;
  cursor: pointer;
}

.member-auth-form,
.member-comment-box {
  display: grid;
  gap: 10px;
}

.member-auth-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.member-auth-form input,
.member-comment-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}

.member-auth-form input {
  min-height: 42px;
  padding: 0 12px;
}

.member-comment-box textarea {
  min-height: 86px;
  padding: 12px;
  resize: vertical;
}

.member-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf1;
  font-weight: 800;
  cursor: pointer;
}

.member-register-link {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.member-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-score-row strong {
  color: var(--accent);
  font-size: 1.8rem;
}

.member-score-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.member-rating-actions {
  display: flex;
  gap: 4px;
}

.member-star {
  border: 0;
  background: transparent;
  color: #d18a17;
  font-size: 1.35rem;
  cursor: pointer;
}

.member-comments {
  display: grid;
  gap: 10px;
}

.member-comment {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.member-comment.is-pinned {
  border-color: rgba(216, 91, 42, 0.35);
  background: rgba(216, 91, 42, 0.09);
}

.member-comment-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.member-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.member-comment-top span,
.member-message {
  color: var(--muted);
  font-size: 0.82rem;
}

.member-comment p {
  margin: 0;
}

.member-comment-image {
  width: 100%;
  max-height: 220px;
  border-radius: 12px;
  object-fit: cover;
}

.leaflet-popup-content {
  margin: 12px 14px;
  min-width: 210px;
}

.popup-card strong {
  display: block;
  margin-bottom: 6px;
}

.popup-card span {
  display: block;
  color: #567084;
  line-height: 1.5;
}

.marker-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--marker-color);
  box-shadow: 0 8px 18px rgba(20, 30, 40, 0.25);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.marker-dot span {
  line-height: 1;
}

.marker-dot-optional {
  background: rgba(255, 255, 255, 0.96);
  border: 2px dashed var(--marker-color);
  color: var(--marker-color);
}

.marker-dot-viewpoint {
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--marker-color);
  border-radius: 8px;
  color: var(--marker-color);
}

.current-location-dot {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.2), 0 8px 18px rgba(37, 99, 235, 0.26);
}

.stay-marker {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(15, 79, 103, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 20px rgba(20, 30, 40, 0.18);
}

.stay-marker.is-active {
  box-shadow: 0 12px 24px rgba(15, 79, 103, 0.25);
}

.stay-marker-house {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4f67, #16738b);
}

.stay-marker-house svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}

.footer {
  padding: 0 0 30px;
  color: var(--muted);
  text-align: center;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .planner-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    padding-top: 16px;
  }

  .hero-copy,
  .hero-panel,
  .panel,
  .insight-card {
    border-radius: 22px;
  }

  .hero-copy,
  .hero-panel,
  .panel {
    padding: 18px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .stat-row,
  .hero-panel-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .panel-head {
    display: grid;
  }

  .map-plan-status {
    justify-items: start;
  }

  #map {
    height: 460px;
    min-height: 360px;
  }

  .day-button {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .day-arrow {
    display: none;
  }

  .detail-media {
    width: calc(100% + 36px);
    margin: -18px -18px 16px;
  }

  .poi-panel-head,
  .detail-actions {
    display: grid;
  }

  .poi-detail-grid {
    grid-template-columns: 1fr;
  }
}
