body.trip-layout {
  background: radial-gradient(160% 120% at 50% -20%, rgba(0, 122, 204, 0.15), transparent 70%),
              radial-gradient(120% 140% at 100% 100%, rgba(0, 204, 153, 0.12), transparent 65%),
              linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  min-height: 100vh;
}

.diary-content {
  max-width: 1100px;
  margin: 0 auto;
}

.trip-wrapper {
  background: rgba(20, 24, 30, 0.85);
  border: 1px solid rgba(0, 170, 255, 0.18);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
}

.trip-wrapper h1 {
  margin-top: 0;
  margin-bottom: 12px;
  text-align: center;
}

.trip-subtitle {
  text-align: center;
  margin: 0 0 24px;
  color: #c4d7f2;
}

.photo-day {
  margin: 32px 0;
  padding: 24px;
  background: rgba(37, 37, 38, 0.75);
  border: 1px solid #2f2f2f;
  border-radius: 12px;
}

.photo-day + .photo-day {
  margin-top: 40px;
}

.photo-day h2 {
  margin: 0 0 16px;
  color: #9cdcfe;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0 0;
}

.photo-grid figure {
  margin: 0;
  background-color: #1e1e1e;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.photo-grid figure > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.photo-grid figcaption {
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #b0c4de;
  text-align: center;
}

.diary-loading,
.diary-error {
  text-align: center;
  color: #b0c4de;
  margin: 32px 0;
}

.diary-error {
  color: #ff8a80;
}

@media (min-width: 1200px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .photo-grid figure > img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .diary-content {
    padding: 0 8px;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .photo-grid figure > img {
    height: 140px;
  }

  .trip-wrapper {
    padding: 24px 20px;
  }
}

html[data-theme="light"] body.trip-layout {
  background:
    radial-gradient(160% 120% at 50% -20%, rgba(7, 95, 174, 0.09), transparent 70%),
    radial-gradient(120% 140% at 100% 100%, rgba(33, 143, 128, 0.08), transparent 65%),
    linear-gradient(135deg, #f6fafc 0%, #edf4f7 100%);
}

html[data-theme="light"] .trip-wrapper {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(7, 95, 174, 0.2);
  box-shadow: 0 16px 32px rgba(25, 45, 62, 0.14);
}

html[data-theme="light"] .trip-subtitle,
html[data-theme="light"] .photo-grid figcaption,
html[data-theme="light"] .diary-loading {
  color: #465767;
}

html[data-theme="light"] .photo-day {
  background: rgba(248, 250, 252, 0.92);
  border-color: #c7d2dc;
}

html[data-theme="light"] .photo-day h2 {
  color: #075fae;
}

html[data-theme="light"] .photo-grid figure {
  background-color: #ffffff;
  border-color: #c7d2dc;
  box-shadow: 0 2px 6px rgba(25, 45, 62, 0.12);
}

html[data-theme="light"] .diary-error {
  color: #9f241d;
}
