/* SPA App.css — Our Story 섹션·모래시계·인터루드 */
.phone-shell[data-hourglass-interlude] {
  overflow: hidden !important;
  touch-action: none;
}

.phone-shell[data-hourglass-interlude] main.content {
  visibility: hidden;
  pointer-events: none;
}

.phone-shell[data-hourglass-interlude] .wedding-hero-sticky {
  visibility: hidden;
}

.phone-shell[data-hourglass-interlude][data-hourglass-interlude-exit-reveal] .wedding-hero-sticky {
  visibility: visible;
}

/* 닫기 페이드아웃: 검은 레이어 아래에서 본문을 2s로 페이드 인 (종이 배경만 비치는 현상 방지) */
.phone-shell[data-hourglass-interlude][data-hourglass-interlude-exit-reveal] main.content {
  visibility: visible;
  pointer-events: none;
  opacity: 0;
  animation: hourglass-interlude-exit-shell-reveal 2s ease-out forwards;
}

@keyframes hourglass-interlude-exit-shell-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-shell[data-hourglass-interlude][data-hourglass-interlude-exit-reveal] main.content {
    animation: none;
    opacity: 1;
  }
}
/* Our Story 제목 아래 이어폰 안내 */
.audio-hint-block {
  text-align: center;
}

.our-stroy .audio-hint-block {
  margin: 0;
}
.hero-audio-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 10px 0 12px;
  text-align: center;
}

/* 아이콘·물결 레이아웃은 audio-hint-waves.css */

.hero-audio-hint__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.scroll-reveal {
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(5px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.32, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.32, 1),
    filter 0.55s ease;
  will-change: opacity, transform;
}

.scroll-reveal.scroll-reveal--visible {
  transition-delay: var(--scroll-reveal-delay, 0ms);
}

.scroll-reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
.our-stroy__body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.our-stroy {
  --our-stroy-pull-l: max(var(--section-pad-x), env(safe-area-inset-left, 0px));
  --our-stroy-pull-r: max(var(--section-pad-x), env(safe-area-inset-right, 0px));
  position: relative;
  background: var(--stage);
  color: var(--color-text-on-contrast);
  /* 본문 `main` 가로 패딩만큼 보더 박스 자체를 넓혀 배경·콘텐츠가 양끝까지 닿음(마진만으로는 오른쪽 종이가 비는 경우 방지) */
  box-sizing: border-box;
  width: calc(100% + var(--our-stroy-pull-l) + var(--our-stroy-pull-r));
  max-width: none;
  margin-left: calc(-1 * var(--our-stroy-pull-l));
  margin-right: calc(-1 * var(--our-stroy-pull-r));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  overflow-x: hidden;
}

/* 직계 블록은 가로 전체 — 제목 장식(h2::before)·프리뷰 그리드 폭 유지 */
.our-stroy > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.our-stroy h2 {
  color: rgb(255 255 255 / 0.94);
}

.our-stroy h2[data-title-en]::before {
  color: rgb(80 80 80);
  opacity: 0.5;
}

.our-stroy .hero-audio-hint__text {
  color: rgb(255 255 255 / 0.72);
}

.our-stroy .hero-audio-hint__wave-track {
  --audio-wave-rgb: 255, 255, 255;
  width: calc(100% + 2 * var(--section-pad-x, 0px));
  margin-left: calc(-1 * var(--section-pad-x, 0px));
  margin-right: calc(-1 * var(--section-pad-x, 0px));
}

.our-stroy .our-story-back-preview {
  width: calc(100% + 2 * var(--section-pad-x, 0px));
  max-width: none;
}

.our-stroy .hero-audio-hint__svg {
  color: rgb(255 255 255 / 0.95);
  filter: drop-shadow(0 1px 6px rgb(255 255 255 / 0.18));
}

.our-story-back-preview {
  --os-preview-gold: #c9b896;
  --os-preview-gold-soft: rgb(201 184 150 / 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(100%, 22.5rem);
  margin: 0;
  padding: clamp(6px, 1.5vw, 10px) 0;
  overflow: visible;
}

.our-story-back-preview__glow {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 0;
  width: min(100%, 20rem);
  height: clamp(12rem, 54vw, 16rem);
  translate: -50% -50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 72% 60% at 50% 50%,
    rgb(201 184 150 / 0.16) 0%,
    rgb(255 255 255 / 0.05) 36%,
    transparent 72%
  );
}

.our-story-back-preview__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: clamp(13.5rem, 58vw, 17.5rem);
  padding: 0 clamp(10px, 3.5vw, 20px);
}

.our-story-back-preview__item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2.2vw, 12px);
  width: clamp(7.5rem, 38vw, 10.5rem);
  margin: 0;
}

.our-story-back-preview__item--first {
  z-index: 2;
  margin-right: clamp(-1rem, -5vw, -0.35rem);
  transform: rotate(-5.5deg) translate(clamp(-1.5rem, -8vw, -0.85rem), 6px);
}

.our-story-back-preview__item--second {
  z-index: 1;
  margin-left: clamp(-1rem, -5vw, -0.35rem);
  transform: rotate(4.5deg) translateY(-4px);
}

.our-story-back-preview__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 2px;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.1) 0%, rgb(255 255 255 / 0.03) 100%);
  box-shadow:
    0 22px 44px rgb(0 0 0 / 0.55),
    0 0 0 1px rgb(0 0 0 / 0.35) inset,
    0 1px 0 rgb(255 255 255 / 0.12) inset;
}

.our-story-back-preview__frame::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--os-preview-gold-soft);
  border-right: 1px solid var(--os-preview-gold-soft);
  pointer-events: none;
}

.our-story-back-preview__veil {
  position: absolute;
  inset: 5px;
  z-index: 1;
  border-radius: 1px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.06) 0%, transparent 30%, transparent 70%, rgb(0 0 0 / 0.4) 100%),
    radial-gradient(ellipse 90% 72% at 50% 50%, transparent 44%, rgb(0 0 0 / 0.24) 100%);
}

.our-story-back-preview__img {
  position: absolute;
  inset: 5px;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  min-width: 0;
  min-height: 0;
  border-radius: 1px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.05) brightness(0.96);
}

.our-story-back-preview__item .wedding-image-upload-placeholder.our-story-back-preview__img--placeholder {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  min-height: 0;
  margin: 0;
  border-radius: 1px;
  object-fit: unset;
  filter: none;
}

.our-story-action {
  display: flex;
  justify-content: center;
  margin: calc(clamp(20px, 6vw, 34px) + 20px) auto 0;
}

.our-story-action__btn {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.34);
  cursor: pointer;
}

.our-story-action__btn:hover {
  background: rgb(255 255 255 / 0.08);
}

.our-story-action__btn:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.85);
  outline-offset: 3px;
}

.our-stroy__hourglass--hidden-trigger {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.our-stroy__hourglass {
  --hg-w: min(9.24vw, 1.995rem); /* 직전 min(15.4vw, 3.325rem) 대비 0.6배 */
  position: relative;
  touch-action: none;
  user-select: none;
  cursor: grab;
  padding: 12px;
  overflow: visible;
}

/* 모래시계 + 하단 안내 문구 세로 정렬 */
.our-stroy__hourglass-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* 0° 대기: 문구 깜빡임(color). 숨김은 레이아웃 유지 + 래퍼 opacity만 0(완전 투명) */
.our-stroy__hourglass-hint-wrap {
  pointer-events: none;
  max-width: min(20rem, 92vw);
  margin-top: clamp(14px, 3.6vw, 24px);
  min-height: 2.35em;
  text-align: center;
  transition: opacity 0.45s ease;
  opacity: 0;
}

.our-stroy__hourglass-hint-wrap[data-visible="true"] {
  opacity: 1;
}

.our-stroy__hourglass-hint-text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(0.78rem, 3.1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  animation: our-stroy-hourglass-hint-text-blink 1.05s ease-in-out infinite;
}

.our-stroy__hourglass-hint-wrap[data-visible="false"] .our-stroy__hourglass-hint-text {
  animation: none;
}

@keyframes our-stroy-hourglass-hint-text-blink {
  0%,
  100% {
    color: var(--muted);
  }

  50% {
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .our-stroy__hourglass-hint-text {
    animation: none;
    color: var(--muted);
  }

  .our-stroy__hourglass-hint-wrap {
    transition-duration: 0.2s;
  }
}

.our-stroy__hourglass:active {
  cursor: grabbing;
}

.our-stroy__hourglass--locked {
  pointer-events: none;
  cursor: default;
}

/* 스토리 섹션 고정·전환 플래시·인터루드·닫기 페이드 — 터치가 아래로 새지 않도록 */
.our-stroy__hourglass--interaction-frozen {
  pointer-events: none;
  cursor: default;
}

/* Our Story 모래시계: clip-path·모래 a1/a2 (HourglassInteractive SAND_CYCLE_MS=5s와 동기) */
.our-stroy__hourglass-visual {
  display: block;
  width: var(--hg-w);
  max-width: 100%;
  aspect-ratio: 1 / 2;
  margin: 0 auto;
  filter: grayscale(0.7) drop-shadow(0 0 1px rgb(0 0 0 / 0.3));
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
}

.our-stroy__hourglass-rotate {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}

.our-stroy__hourglass-dial {
  width: 100%;
  height: 100%;
}

.our-stroy__hourglass-shape {
  --our-stroy-hourglass-fg: rgb(0 0 0 / 0.2);
  --our-stroy-hourglass-bg: linear-gradient(powderblue, pink);
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--our-stroy-hourglass-bg);
  clip-path: polygon(
    0% 0%,
    100% 0,
    100% 25%,
    calc(50% + 2px) 50%,
    100% 75%,
    100% 100%,
    0% 100%,
    0 75%,
    calc(50% - 2px) 50%,
    0% 25%
  );
}

.our-stroy__hourglass-sand-pack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.our-stroy__hourglass-sand-pack--flip {
  transform: scale(1, -1);
  transform-origin: center center;
}

.our-stroy__hourglass-pl-a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 50%,
    calc(50% + 2px) 50%,
    calc(50% + 2px) 100%,
    calc(50% - 2px) 100%,
    calc(50% - 2px) 50%,
    0% 50%
  );
}

.our-stroy__hourglass-sand-a {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--our-stroy-hourglass-fg);
}

.our-stroy__hourglass-pl-b {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 100%, 0 50%, 100% 50%, 100% 100%);
}

.our-stroy__hourglass-sand-b {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--our-stroy-hourglass-fg);
}

.our-stroy__hourglass-sand-a--rest {
  height: 0;
  bottom: 50%;
}

.our-stroy__hourglass-sand-b--rest {
  height: 50%;
}

.our-stroy__hourglass-sand-a--animate {
  animation: our-stroy-hourglass-sand-a 5s 0s 1 both;
}

.our-stroy__hourglass-sand-b--animate {
  animation: our-stroy-hourglass-sand-b 5s 0s 1 both;
}

@keyframes our-stroy-hourglass-sand-a {
  0% {
    height: 100%;
    bottom: 0;
  }

  100% {
    height: 0;
    bottom: 50%;
  }
}

@keyframes our-stroy-hourglass-sand-b {
  0% {
    height: 0;
  }

  100% {
    height: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .our-stroy__hourglass-sand-a--animate {
    animation: none;
    height: 0;
    bottom: 50%;
  }

  .our-stroy__hourglass-sand-b--animate {
    animation: none;
    height: 50%;
  }
}

/* Our Story 인터루드: 전환 애니 없이 즉시 표시 (좌우 레터박스 + 셸 폭) */
.hourglass-flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior: none;
  touch-action: none;
  pointer-events: auto;
}

.hourglass-flash-overlay--interlude-page {
  z-index: 1001;
}

/* 스토리 패널: 텍스트·이미지·비디오·캔버스 선택·드래그 복사 방지(클립보드는 TS onCopy/onCut) */
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__panel--interlude,
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__panel--interlude * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/*
 * 스토리 인터루드: 가로(콘텐츠 폭·92vw/22rem·패딩 좌우 0)는 기본 .hg-stack 과 동일.
 * 세로만 100dvh/svh 안에 맞추고 스크롤 없음.
 */
.hourglass-flash-overlay--interlude-page.hourglass-flash-overlay {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  max-height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__shell-column,
.hourglass-flash-overlay--interlude-page .hourglass-interlude-page,
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__shell--solid-black {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__panel--interlude {
  --our-story-progress-reserve: clamp(52px, 8dvh, 68px);
  overflow: hidden;
  min-height: 0;
  padding-top: clamp(4px, 1.2dvh, 12px);
  padding-bottom: clamp(8px, 2dvh, 28px);
}

.hourglass-flash-overlay--interlude-page .hg-stack {
  min-height: 0;
  /* --interlude-content-w 는 건드리지 않음(전역과 동일) */
  --interlude-wave-h: clamp(100px, min(28dvh, 30svh), 340px);
  /* `50%`는 반드시 각 `top` 선언 안에 두고, 여기엔 고정분만(브라우저·픽셀 튜닝 안정) */
  --interlude-wave-top-shift: calc(min(20.5dvh, 122px) + 6px);
  --interlude-wave-top: calc(50% + var(--interlude-wave-top-shift));
  --ipf-back-max-h: min(36dvh, 38svh, 520px);
  /* 화자 이름 세로: 웨이브 박스 상단 대비 +아래 / -위 (이 블록이 인터루드에서 최종값) */
  --interlude-name-y-offset: 14px;
}

.hourglass-flash-overlay--interlude-page .back_photo_layer {
  top: clamp(14%, 16dvh, 21%);
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  transform: translateY(-50%);
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__interlude-art__video-stack {
  transform: translateY(clamp(14px, 4dvh, 56px));
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__interlude-art__video-stack .hourglass-flash-overlay__interlude-art__video {
  max-height: min(44dvh, 52svh, 560px);
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__couple-img {
  max-height: min(22dvh, 28svh, 300px);
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__wave-wrap {
  height: var(--interlude-wave-h);
}

.hourglass-flash-overlay--interlude-page .hourglass-interlude-script__body {
  min-height: var(--interlude-wave-h);
  top: calc(50% + var(--interlude-wave-top-shift) - 1.25rem - 3px);
}

/* 반딧불이(60)보다 위 — 홈 버튼만. 챕터 좌우 네비는 커튼(40)보다 위(z:42, App.css) */
.hourglass-flash-overlay--interlude-page .hourglass-interlude-home-anchor {
  bottom: calc(var(--our-story-progress-reserve, 58px) + env(safe-area-inset-bottom, 0px));
  z-index: 70;
}

/* 자식에 pointer-events: none 이 많아도 투명 구간 클릭이 본문(#root)으로 통과하지 않도록 히트 면 유지 */
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__gutter,
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__shell-column,
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__shell--solid-black,
.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__panel--interlude,
.hourglass-flash-overlay--interlude-page .hourglass-interlude-home-anchor,
.hourglass-flash-overlay--interlude-page .our-story-chapter-viewport,
.hourglass-flash-overlay--interlude-page .our-story-chapter-curtain,
.hourglass-flash-overlay--interlude-page .our-story-chapter-surface,
.hourglass-flash-overlay--interlude-page .hg-stack {
  pointer-events: auto;
}

/* 모래 뒤집기 → 흰 화면(2s) → 검은 화면(2s) → 인터루드 */
.hourglass-transition-flash {
  position: fixed;
  inset: 0;
  z-index: 2500;
  pointer-events: auto;
}

.hourglass-transition-flash__layer {
  position: absolute;
  inset: 0;
}

.hourglass-transition-flash__layer--white {
  background: #fff;
  opacity: 0;
  animation: hourglass-transition-flash-fade-in 2s ease forwards;
}

.hourglass-transition-flash__layer--white.hourglass-transition-flash__layer--solid {
  animation: none;
  opacity: 1;
}

.hourglass-transition-flash__layer--black {
  background: #000;
  opacity: 0;
  animation: hourglass-transition-flash-fade-in 2s ease forwards;
}

@keyframes hourglass-transition-flash-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 인터루드 닫기: 검게 덮은 뒤(위 .layer--black) → 본문으로 페이드아웃 */
.hourglass-transition-flash--interlude-exit {
  z-index: 2600;
}

/* 인터루드 반딧불이: 패널(셸 콘텐츠 폭) 안에만 — 챕터 뷰포트(45)·좌우 네비(42)·커튼(40)·대본 등보다 위, 홈 앵커(70)보다 아래 */
.hourglass-flash-overlay--interlude-page .hourglass-interlude-firefly-slot {
  position: absolute;
  inset: 0;
  z-index: 60;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  animation: hourglass-interlude-firefly-slot-fade-in 2.4s ease forwards;
}

@keyframes hourglass-interlude-firefly-slot-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 홈: 검은 toBlack(2s)과 비슷한 길이로 레이어 전체 투명 — 캔버스는 계속 그려져 자연스럽게 소멸 */
.hourglass-flash-overlay--interlude-page .hourglass-interlude-firefly-slot--fade-out {
  animation: hourglass-interlude-firefly-slot-fade-out 1.95s ease-out forwards;
  pointer-events: none;
}

@keyframes hourglass-interlude-firefly-slot-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* 스토리 위 검은 덮개: 처음부터 끝까지 서서히 불투명 (진입용 .layer--black과 분리) */
.hourglass-transition-flash__layer--interlude-exit-to-black {
  background: #000;
  opacity: 0;
  animation: hourglass-interlude-exit-to-black 2s ease-in-out forwards;
}

@keyframes hourglass-interlude-exit-to-black {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hourglass-transition-flash__layer--interlude-exit-from-black {
  background: #000;
  opacity: 1;
  animation: hourglass-transition-flash-fade-out 2s ease-out forwards;
}

@keyframes hourglass-transition-flash-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.hourglass-flash-overlay__gutter {
  flex: 1 1 0;
  min-width: 0;
  min-height: 100%;
  min-height: 100dvh;
  background-color: #000;
}

.hourglass-flash-overlay__shell-column {
  flex: 0 1 var(--shell-max);
  width: min(100%, var(--shell-max));
  max-width: var(--shell-max);
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hourglass-interlude-page {
  min-height: 100dvh;
}

.hourglass-flash-overlay__shell--solid-black {
  flex: 1;
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  position: relative;
  background-color: #000;
}

@media (max-width: 520px) {
  .hourglass-flash-overlay__shell-column {
    flex-basis: 100%;
    max-width: none;
    width: 100%;
  }
}

.hourglass-flash-overlay__panel--interlude {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  /* 좌우 패딩 없음 — 포토·웨이브가 셸 가로와 동일한 콘텐츠 폭을 쓰도록 */
  padding: 12px 0 28px;
  box-sizing: border-box;
}

/* Our Story: 폴더별 챕터 — 가로 스와이프 또는 좌우 네비 버튼으로 이전/다음 */
/* 패널 안에서 이전처럼 `.hg-stack`이 남은 세로를 전부 쓰도록 flex 체인 유지(50%·--interlude-wave-top-shift 기준 복구) */
.our-story-chapter-viewport {
  position: relative;
  flex: 1 1 0;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 챕터 좌·우 화면 반쪽 히트(이전/다음) — 좌·우 커튼 페이드(z:40)보다 위에 두어 화살표·탭이 가리지 않게 */
.hourglass-flash-overlay--interlude-page .our-story-chapter-viewport > .our-story-chapter-nav {
  position: absolute;
  inset: 0;
  z-index: 42;
  pointer-events: none;
  opacity: 0;
  animation: our-story-progress-fade-in 1.2s ease 0.45s forwards;
}

.hourglass-flash-overlay--interlude-page.hourglass-flash-overlay--interlude-under-exit .our-story-chapter-viewport > .our-story-chapter-nav {
  animation: our-story-progress-fade-out 0.9s ease forwards;
}

.our-story-chapter-nav__hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: w-resize;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.our-story-chapter-nav__hit--prev {
  left: 0;
}

.our-story-chapter-nav__hit--next {
  right: 0;
  cursor: e-resize;
}

.our-story-chapter-nav__hit:focus {
  outline: none;
}

.our-story-chapter-nav__hit:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.42);
  outline-offset: -2px;
}

.our-story-chapter-nav__hit--disabled {
  cursor: default;
  pointer-events: none;
}

/* 페이지 전환(커튼) 중: 클릭만 막고 화살표 밝기는 유지 — `disabled`는 첫/끝 페이지만 */
.our-story-chapter-nav__hit--locked {
  pointer-events: none;
  cursor: default;
}

/* 히트는 전체 반쪽 — 화살표만 장식(탭은 부모 div가 받음) */
.our-story-chapter-nav__arrow-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: max(12px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: rgb(255 255 255 / 0.9);
  filter: drop-shadow(0 1px 4px rgb(0 0 0 / 0.78));
}

.our-story-chapter-nav__hit--next .our-story-chapter-nav__arrow-wrap {
  left: auto;
  right: max(12px, env(safe-area-inset-right, 0px));
}

.our-story-chapter-nav__hit--disabled .our-story-chapter-nav__arrow-wrap {
  opacity: 0.22;
}

.our-story-chapter-nav__arrow {
  display: block;
  flex-shrink: 0;
}

.hourglass-flash-overlay--interlude-page .hourglass-flash-overlay__panel--interlude > .our-story-progress {
  position: relative;
  z-index: 50;
  flex-shrink: 0;
}

.our-story-progress {
  flex-shrink: 0;
  width: min(100% - 72px, var(--interlude-content-w, 22rem));
  margin: 0 auto;
  padding: 11px 0 calc(2px + env(safe-area-inset-bottom, 0px));
  color: #fff;
  pointer-events: none;
  opacity: 0;
  animation: our-story-progress-fade-in 1.2s ease 0.45s forwards;
}

.hourglass-flash-overlay--interlude-page.hourglass-flash-overlay--interlude-under-exit .our-story-progress {
  animation: our-story-progress-fade-out 0.9s ease forwards;
}

@keyframes our-story-progress-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes our-story-progress-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

.our-story-progress__rail {
  position: relative;
  height: 3px;
  margin: 0 10px 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.2);
  overflow: hidden;
}

.our-story-progress__rail-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.62), #fff);
  box-shadow: 0 0 14px rgb(255 255 255 / 0.28);
  transition: width 0.38s cubic-bezier(0.33, 1, 0.32, 1);
}

.our-story-progress__steps {
  display: grid;
  gap: 0 2px;
  margin: 0;
  padding: 0 2px;
  list-style: none;
}

.our-story-progress__step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.our-story-progress__dot {
  display: block;
  box-sizing: border-box;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.36);
  background: rgb(255 255 255 / 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.our-story-progress__step--done .our-story-progress__dot {
  border-color: rgb(255 255 255 / 0.82);
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12);
}

.our-story-progress__step--current .our-story-progress__dot {
  width: 11px;
  height: 11px;
  margin-top: -1px;
  border-color: #fff;
  background: #fff;
  box-shadow:
    0 0 0 3px rgb(255 255 255 / 0.18),
    0 0 12px rgb(255 255 255 / 0.35);
}

.our-story-progress__step--upcoming .our-story-progress__dot {
  opacity: 0.9;
}

.our-story-chapter-surface {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(0);
  isolation: isolate;
}

/* 챕터 페이드: viewport 안 surface 위·네비(42) 아래 — 진행도·홈은 패널 직속 */
.hourglass-flash-overlay--interlude-page .our-story-chapter-viewport > #our-story-interlude-curtain-host {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.our-story-chapter-surface > .hg-stack {
  flex: 1 1 auto;
}

/* 챕터 전환: 다음=오른쪽에서 왼쪽으로 한 장이 덮임, 이전=반대(1s, 대본 오디오 페이드와 동일) */
.our-story-chapter-curtain {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: auto;
  overflow: hidden;
  transform: translateZ(0);
  background: transparent;
}

.our-story-chapter-curtain__sheet {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  pointer-events: none;
  will-change: transform;
}

/* 진행 방향 앞쪽 가장자리만 살짝 뿌옇게 */
.our-story-chapter-curtain__sheet--next {
  background: linear-gradient(
    to right,
    rgb(0 0 0 / 0.38) 0%,
    rgb(0 0 0 / 0.94) 16%,
    rgb(0 0 0 / 1) 100%
  );
  transform: translateX(100%);
  animation: our-story-chapter-curtain-wipe-next-in 1s cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

.our-story-chapter-curtain__sheet--prev {
  background: linear-gradient(
    to left,
    rgb(0 0 0 / 0.38) 0%,
    rgb(0 0 0 / 0.94) 16%,
    rgb(0 0 0 / 1) 100%
  );
  transform: translateX(-100%);
  animation: our-story-chapter-curtain-wipe-prev-in 1s cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

@keyframes our-story-chapter-curtain-wipe-next-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes our-story-chapter-curtain-wipe-prev-in {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.our-story-chapter-surface--enter-next {
  animation: our-story-chapter-enter-from-right 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.our-story-chapter-surface--enter-prev {
  animation: our-story-chapter-enter-from-left 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes our-story-chapter-enter-from-right {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes our-story-chapter-enter-from-left {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

/* Our Story 대본 루트 — `.hg-stack` 기준 자식 절대 배치(이름·본문 각각 독립) */
.hourglass-interlude-script {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

/*
 * 화자 이름: 웨이브 상단 = `50% + --interlude-wave-top-shift`.
 * `--interlude-name-y-offset`: 그 지점에서 **아래로** 얼마나 더 내릴지(+, 픽셀/rem). 음수면 위로.
 * 인터루드에서는 `.hourglass-flash-overlay--interlude-page .hg-stack`에 변수를 둠(튜닝 확실히 반영).
 */
.hourglass-interlude-script__name {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--interlude-wave-top-shift) + var(--interlude-name-y-offset, 0px));
  transform: translateX(-50%);
  width: var(--interlude-content-w);
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
  color: rgb(255 255 255 / 0.88);
  /* 대본 `.hourglass-interlude-script__text`와 동일: 밝은 글로우 + 검은 림(가독) */
  text-shadow:
    0 0 8px rgb(255 255 255 / 0.28),
    0 0 20px rgb(255 255 255 / 0.14),
    0 0 36px rgb(255 255 255 / 0.06),
    0 1px 2px rgb(0 0 0 / 0.95),
    0 2px 10px rgb(0 0 0 / 0.78);
  text-align: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 11;
}

.hourglass-interlude-script__name--visible {
  opacity: 1;
}

/* 대본만 — 기존과 동일 세로(웨이브보다 약 1.25rem 위)·이름 유무와 무관 */
.hourglass-interlude-script__body {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--interlude-wave-top-shift) - 1.25rem - 3px);
  transform: translateX(-50%);
  width: var(--interlude-content-w);
  max-width: 100%;
  min-height: clamp(180px, 34dvh, 380px);
  box-sizing: border-box;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.hourglass-interlude-script__text {
  margin: 0;
  max-width: 100%;
  font-size: 0.8125rem;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
  color: rgb(255 255 255 / 0.93);
  text-shadow:
    0 0 8px rgb(255 255 255 / 0.28),
    0 0 20px rgb(255 255 255 / 0.14),
    0 0 36px rgb(255 255 255 / 0.06),
    0 1px 2px rgb(0 0 0 / 0.95),
    0 2px 10px rgb(0 0 0 / 0.78);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hourglass-interlude-script__text--visible {
  opacity: 1;
}

/* 인터루드 홈 버튼 + 대본 종료 후 탭 힌트(손가락·양옆 화살표) */
.hourglass-interlude-home-anchor {
  position: absolute;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2dvh, 10px);
  pointer-events: none;
}

.hourglass-flash-overlay--interlude-page .hourglass-interlude-home-anchor .hourglass-flash-overlay__back--icon {
  position: relative;
  left: auto;
  top: auto;
  bottom: auto;
  transform: none;
  pointer-events: auto;
}

/* 사진: 셸 안 세로·가로 정중앙 고정 / 웨이브: 그 아래 별도 띠 */
/* hg = hourglass 인터루드 콘텐츠 스택 (일러·포토·웨이브) */
.hg-stack {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: min(52dvh, 560px);
  /* 셸 컬럼 안에서의 공통 콘텐츠 최대 폭(좌우 패딩 없이 100%까지 사용) */
  --interlude-content-w: min(100%, 92vw, 22rem);
  /* 웨이브 세로: `50%`는 wave/script/name 각 `top`에서 + `--interlude-wave-top-shift` */
  --interlude-wave-top-shift: calc(min(20.5vh, 122px) + 6px);
  --interlude-wave-top: calc(50% + var(--interlude-wave-top-shift));
  /* 비인터루드 `.hg-stack`용 기본(인터루드는 위쪽 `--interlude-page .hg-stack`이 덮음) */
  --interlude-name-y-offset: 0px;
  /* 백 사진(InterludePhotoFilm) — 가로: 콘텐츠 폭, 세로: --ipf-back-max-h 박스 + cover */
  --ipf-black: #000;
  --ipf-back-max-h: min(48dvh, 520px);
}

/* 인터루드: 일러스트 → 포토 → 웨이브 순 페이드(전환 대신 animation으로 첫 프레임부터 보간) */
/* 백 사진·비네트·필름·그레인은 부모 한 덩어리(`back_photo_layer`)로만 페이드 — 타이밍 일치 */
.hg-stack .back_photo_layer,
.hg-stack .hourglass-flash-overlay__interlude-art,
.hg-stack .hourglass-flash-overlay__wave-wrap {
  opacity: 0;
  animation: none;
}

.hg-stack--art .hourglass-flash-overlay__interlude-art {
  animation: hourglass-interlude-art-fade-in 1.5s ease forwards;
}

.hg-stack--photo .back_photo_layer {
  animation: hourglass-interlude-layer-fade-in 1.5s ease forwards;
}

.hg-stack--wave .hourglass-flash-overlay__wave-wrap {
  animation: hourglass-interlude-layer-fade-in 1.5s ease forwards;
}

@keyframes hourglass-interlude-layer-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hourglass-interlude-art-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.7;
  }
}

/* 백 사진: 패널·hg-stack 가로 100% — 웨이브·대본만 `--interlude-content-w` 사용 */
.back_photo_layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 21%;
  z-index: 0;
  width: 100%;
  max-width: none;
  max-height: var(--ipf-back-max-h, min(48dvh, 520px));
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: hidden;
  display: block;
}

/* 사진 콘텐츠: 가로 100% (콘텐츠 열) */
.back_img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
  pointer-events: none;
  overflow: visible;
}

/* 필름·그레인·비네트 — `InterludePhotoFilm.css` 그리드 셀 안에서 이미지와 동일 크기 */
.back_img__wrap .flash {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
  pointer-events: none;
  overflow: hidden;
  display: block;
  isolation: isolate;
}

.back_img .back_img_inner {
  width: 100%;
  max-width: 100%;
}

/* 비네트(flash)·이미지 위로 — InterludePhotoFilm.css */
.back_img .back_img__img {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.hourglass-flash-overlay__interlude-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0;
  box-sizing: border-box;
  transform: scale(0.96);
  transform-origin: center center;
}

.hourglass-flash-overlay__couple-img {
  display: block;
  width: auto;
  max-width: min(var(--interlude-content-w), 16.25rem);
  height: auto;
  max-height: min(38dvh, 300px);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 1.5px rgb(0 0 0 / 0.75)) drop-shadow(0 0 18px rgb(0 0 0 / 0.45));
}

/*
 * 일러스트 mp4: 밝기만 불규칙하게 흔들기 — 키프레임 간격을 넓히고 linear 보간으로 부드럽게 연속.
 * transform 미사용(플립·인터루드 오버라이드와 충돌 없음)
 */
@keyframes hourglass-interlude-illustration-flicker {
  0%,
  100% {
    filter: brightness(1);
  }

  11% {
    filter: brightness(0.81);
  }

  18% {
    filter: brightness(0.93);
  }

  26% {
    filter: brightness(0.77);
  }

  34% {
    filter: brightness(1.05);
  }

  43% {
    filter: brightness(0.86);
  }

  51% {
    filter: brightness(0.78);
  }

  58% {
    filter: brightness(1.04);
  }

  67% {
    filter: brightness(0.84);
  }

  74% {
    filter: brightness(0.73);
  }

  82% {
    filter: brightness(0.97);
  }

  89% {
    filter: brightness(0.83);
  }
}

/* 일러스트 mp4 2레이어 크로스페이드 — 격자 한 칸에 겹침 */
.hourglass-flash-overlay__interlude-art__video-stack {
  display: grid;
  grid-template: 1fr / 1fr;
  justify-items: center;
  width: max-content;
  max-width: min(100%, var(--interlude-content-w));
  pointer-events: none;
  transform: translateY(clamp(22px, 5vh, 56px));
  animation: hourglass-interlude-illustration-flicker 5.27s linear infinite;
  will-change: filter;
}

.hourglass-flash-overlay__interlude-art__video-stack .hourglass-flash-overlay__interlude-art__video {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  max-width: min(100%, var(--interlude-content-w));
  height: auto;
  max-height: min(64dvh, 580px);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 1.5px rgb(0 0 0 / 0.75)) drop-shadow(0 0 18px rgb(0 0 0 / 0.45));
  /* `InterludeIllustrationFrames.tsx` 의 LOOP_CROSSFADE_SEC(1) 과 맞출 것 */
  transition: opacity 1s ease;
}

.hourglass-flash-overlay__wave-wrap {
  position: absolute;
  left: 50%;
  width: var(--interlude-content-w);
  max-width: 100%;
  transform: translateX(-50%);
  z-index: 1;
  background: transparent;
  top: calc(50% + var(--interlude-wave-top-shift));
  height: clamp(180px, 34dvh, 380px);
  border-radius: 0;
  overflow: visible;
}

.hourglass-flash-overlay__wave-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hourglass-flash-overlay__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hourglass-flash-overlay__back {
  margin: 0;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: #fff;
}

.hourglass-flash-overlay__back--icon {
  position: absolute;
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 0;
}

/* 인터루드 진입 직후 뒤로가기가 서서히 드러남 */
@keyframes hourglass-interlude-back-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hourglass-flash-overlay__back--interlude-fade-in {
  opacity: 0;
  animation: hourglass-interlude-back-fade-in 1.75s ease 0.55s forwards;
}

.hourglass-flash-overlay__back-home-icon {
  display: block;
  width: 17px;
  height: 17px;
  color: rgb(255 255 255 / 0.96);
}

.hourglass-flash-overlay__back--icon:hover {
  background: rgb(255 255 255 / 0.1);
}

.hourglass-flash-overlay__back--icon:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hourglass-flash-overlay__interlude-art__video-stack {
    animation: none;
    filter: none;
    opacity: 1;
    will-change: auto;
  }

  .hourglass-flash-overlay__back--interlude-fade-in {
    animation: none;
    opacity: 1;
  }

  .hourglass-flash-overlay--interlude-page .our-story-chapter-viewport > .our-story-chapter-nav {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hourglass-flash-overlay--interlude-page.hourglass-flash-overlay--interlude-under-exit .our-story-chapter-viewport > .our-story-chapter-nav {
    animation: none;
    opacity: 0;
    transform: none;
    transition: none;
  }

  .hourglass-flash-overlay--interlude-page .hourglass-interlude-firefly-slot {
    animation: none;
    opacity: 1;
  }

  .hourglass-flash-overlay--interlude-page .hourglass-interlude-firefly-slot--fade-out {
    animation: none;
    opacity: 0;
  }

  .hourglass-flash-overlay__panel--interlude {
    perspective: none;
  }

  /* 챕터 커튼: 방향별 닦기 — reduced-motion에서도 1s 유지 */
  .our-story-chapter-curtain__sheet--next {
    animation: our-story-chapter-curtain-wipe-next-in 1s cubic-bezier(0.33, 0, 0.2, 1) forwards;
  }

  .our-story-chapter-curtain__sheet--prev {
    animation: our-story-chapter-curtain-wipe-prev-in 1s cubic-bezier(0.33, 0, 0.2, 1) forwards;
  }

  .hg-stack {
    transform: none;
    transform-style: flat;
  }

  .hg-stack::before {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.04);
  }

  .hg-stack::after {
    background: radial-gradient(
      ellipse 92% 78% at 50% 44%,
      rgb(0 0 0 / 0) 0%,
      rgb(0 0 0 / 0) 42%,
      rgb(0 0 0 / 0.18) 78%,
      rgb(0 0 0 / 0.5) 100%
    );
  }

  .hourglass-flash-overlay__screen-glow-host {
    display: none;
  }

  .flash {
    box-shadow: none;
  }
}
