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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  background: #f5f5f0;
  color: #333;
}

.wrapper {
  position: relative;
  display: inline-block;
}

.wrapper img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: 16px;
  display: block;
}

.calendar-panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 280px;
  width: 100%;
  color: #333;
}

.datetime {
  text-align: center;
  margin-bottom: 12px;
}

.date-text {
  font-size: 0.85rem;
  opacity: 0.9;
}

.time-text {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.nav-btn {
  background: rgba(0, 0, 0, 0.08);
  border: none;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.month-year {
  font-size: 0.95rem;
  font-weight: bold;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.weekday {
  font-size: 0.65rem;
  opacity: 0.7;
  padding: 3px 0;
}

.day {
  font-size: 0.8rem;
  padding: 4px 0;
  border-radius: 6px;
}

.day.today {
  background: #333;
  color: #f5f5f0;
  font-weight: bold;
}

.day.other-month {
  opacity: 0.3;
}
