/* Daily scene hero + Input scene shell */

.hero-scene {
  position: relative;
  margin: 0 -4px 18px;
  min-height: min(52vh, 420px);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-scene__plate {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1412;
  transform: scale(1.02);
}

.hero-scene__plate.place-school { background-image: linear-gradient(135deg, #3d2a22, #8b5a3c); }
.hero-scene__plate.place-cafe { background-image: linear-gradient(135deg, #2a221c, #a67c52); }
.hero-scene__plate.place-market { background-image: linear-gradient(135deg, #3a2418, #c4783a); }
.hero-scene__plate.place-park { background-image: linear-gradient(135deg, #1e2e22, #5a8f62); }
.hero-scene__plate.place-station { background-image: linear-gradient(135deg, #1c2430, #5a6f88); }
.hero-scene__plate.place-library { background-image: linear-gradient(135deg, #2a2218, #8a6b45); }
.hero-scene__plate.place-home { background-image: linear-gradient(135deg, #2a1c18, #8f5a48); }

.hero-scene__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 9, 0.15) 0%, rgba(5, 5, 9, 0.55) 45%, rgba(5, 5, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 5, 9, 0.45) 0%, transparent 40%);
  pointer-events: none;
}

.hero-scene__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(52vh, 420px);
  padding: 28px 18px 22px;
  max-width: 720px;
}

.hero-scene__brand {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff8f4;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.hero-scene__brand em {
  font-style: normal;
  color: var(--coral, #ff8a68);
}

.hero-scene__today {
  margin: 12px 0 0;
  font-size: 1.05rem;
  color: rgba(255, 248, 244, 0.88);
  letter-spacing: 0.01em;
  max-width: 28rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
}

/* Input scene shell */
.scene-shell {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(12, 12, 18, 0.72);
  backdrop-filter: blur(10px);
}

.scene-shell__banner {
  position: relative;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #1a1412;
}

.scene-shell__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 8, 12, 0.88) 100%);
}

.scene-shell__banner-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.scene-shell__place {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff8f4;
}

.scene-shell__genre {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral, #ff8a68);
  border: 1px solid rgba(255, 138, 104, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
}

.scene-shell__body {
  padding: 16px 16px 18px;
}

.scene-shell.genre-notice .scene-shell__body,
.scene-shell.genre-diary .scene-shell__body,
.scene-shell.genre-letter .scene-shell__body {
  background: rgba(255, 248, 240, 0.03);
  border-left: 3px solid rgba(255, 138, 104, 0.35);
  margin: 0 12px 12px;
  border-radius: 0 10px 10px 0;
}

.scene-shell.genre-fairy .scene-shell__body,
.scene-shell.genre-serial .scene-shell__body {
  background: linear-gradient(180deg, rgba(255, 220, 180, 0.06), transparent);
}

.scene-line {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 12px;
}

.scene-line__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.scene-line__avatar.placeholder {
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--muted);
}

.scene-line__bubble {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.scene-line__who {
  font-size: 0.72rem;
  color: var(--coral, #ff8a68);
  margin: 0 0 4px;
  font-weight: 700;
}

.scene-cast-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.scene-cast-row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .hero-scene {
    min-height: min(44vh, 320px);
    margin: 0 -8px 14px;
  }
  .hero-scene__content {
    min-height: min(44vh, 320px);
    padding: 22px 14px 18px;
  }
  .hero-scene__brand {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .scene-shell__banner {
    min-height: 110px;
  }
  .scene-line {
    grid-template-columns: 32px 1fr;
  }
  .scene-line__avatar {
    width: 32px;
    height: 32px;
  }
}
