.haewon-room[hidden], #main[hidden], .haewon-room [hidden] { display: none; }
.haewon-room:focus { outline:none; }
#haewon :focus,#haewon :focus-visible,.haewon-album__card:focus,button.haewon-print__image:focus,.haewon-lightbox :focus,.haewon-lightbox :focus-visible { outline:none; }
.record-dialog :focus,.record-dialog :focus-visible,.haewon-episode-view:focus,.haewon-episode-view :focus,.haewon-episode-view :focus-visible,.archive-card:focus,.archive-card:focus-visible,#menuClose:focus,#menuClose:focus-visible,#languageClose:focus,#languageClose:focus-visible { outline:none; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.haewon-room,.haewon-album__card,.haewon-lightbox,.floating-close { -webkit-tap-highlight-color:transparent; }
html,.site,.haewon-print__image,.haewon-lightbox img,.haewon-album__card { touch-action:manipulation; }
.haewon-album__card:focus-visible .haewon-caption,
.haewon-print:has(> button.haewon-print__image:focus-visible) .haewon-caption { text-decoration:underline; text-underline-offset:4px; }
html[lang="ko"] .hero h1 { font-size:clamp(29px,8.8cqw,38px); line-height:1.2; }
.haewon-room {
  --room-paper: #d9d2c2;
  --room-muted: #aaa294;
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 60px);
  padding: 0 25px;
  color: #e5dfd3;
  background:#1c1c1a;
  overflow-anchor:none;
}
.haewon-room::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image: url("assets/haewon/grain.svg");
}
.haewon-room::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 8px;
  border-right: 1px solid #d0bda508;
  border-left: 1px solid #d0bda508;
  pointer-events: none;
}
.haewon-room__backdrop { display:none; position:absolute; z-index:-2; inset:0; min-height:100svh; background-image:var(--room-background-image); background-size:cover; background-position:center 30%; opacity:.085; filter:blur(4px) saturate(.4); pointer-events:none; }
.haewon-preview { isolation:isolate; }
.haewon-preview::before { content:""; position:absolute; z-index:-1; inset:0; background-image:var(--room-background-image); background-size:cover; background-position:center; opacity:.085; filter:blur(3px) saturate(.4); pointer-events:none; }
.is-haewon-room .site { background: #1c1c1a; }
.is-haewon-room .desktop-stage video { opacity: 0; }
.is-haewon-room .desktop-stage {
  background: radial-gradient(ellipse at 50% 40%, #292620, #0f1010 70%);
}
.is-haewon-room .desktop-stage__script { opacity: .42; }
.is-haewon-room .site-bar { background: #1c1c1af5; }
.is-haewon-room .floating-section-nav,
.is-haewon-room .scroll-progress { display: none; }
.is-haewon-room .noise { opacity: .025; }
.haewon-room__edge {
  position: absolute;
  top: 152px;
  right: 8px;
  color: #bbb09d65;
  writing-mode: vertical-rl;
  font: 7px/1 var(--mono);
  letter-spacing: .22em;
}
.haewon-room__intro { position: relative; isolation: isolate; padding: 14px 0 18px; text-align: center; }
.haewon-room__intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -25px;
  background: url("assets/haewon/room-group.webp") center 30% / cover no-repeat;
  opacity: .17;
  filter: saturate(.72);
  -webkit-mask-image: linear-gradient(#000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 62%, transparent 100%);
  pointer-events: none;
}
.haewon-back {
  display: flex;
  width: fit-content;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  color: var(--room-muted);
  font: 10px/1.5 var(--body);
  transition: color .2s;
}
.haewon-back:hover { color: #f0e8d9; }
.haewon-room h1 {
  margin: 50px -10px 12px;
  color: #ece5d9;
  font: 400 clamp(39px, 11cqw, 50px)/1.3 var(--title);
  letter-spacing: -.015em;
  text-wrap: balance;
}
html[lang="ja"] .haewon-room h1 { font: 400 36px/1.6 var(--title); }
html[lang="zh-CN"] .haewon-room h1 { font: 400 43px/1.5 "Ma Shan Zheng", cursive; }
html[lang="zh-TW"] .haewon-room h1 { font: 400 38px/1.5 "LXGW WenKai TC", cursive; }
html[lang="th"] .haewon-room h1 { font: 400 42px/1.6 "Sriracha", cursive; }
.haewon-room__note {
  margin: 0;
  text-align: center;
  color: #b8afa1;
  font: 12px/1.95 var(--prose);
  white-space: pre-line;
  word-break: keep-all;
}
.haewon-room__asterisk { display: block; margin-top: 12px; color: #a79b84; font-size: 12px; }
.haewon-room__people {
  max-width: 32rem;
  white-space: pre-line;
  margin: 13px auto 0;
  padding-inline: 8px;
  line-height: 1.85;
  text-wrap: pretty;
}
.haewon-people { margin: 26px -21px 18px; padding: 0 21px; overflow: hidden; }
.haewon-people::before { content: ""; display: block; width: 28px; height: 1px; margin: 0 auto 22px; background: #a79b8466; }
.haewon-people h2 { margin: 0; text-align: center; color: var(--room-paper); font: 400 20px/1.5 var(--tape-hand); }
.haewon-people .haewon-people__deck { margin-top: 10px; }
.haewon-album__card .haewon-person__print { padding: 0 0 24px; color: #575247; text-align: center; min-height: var(--person-height, 0); user-select: none; }
.haewon-person__print > div { padding: 0 8px; }
.haewon-album__card.haewon-person img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: var(--person-focus, 50%) center; filter: saturate(.96) contrast(.985); }
.haewon-person:nth-child(1) { --person-focus: 50%; }
.haewon-person:nth-child(2) { --person-focus: 82%; }
.haewon-person:nth-child(3) { --person-focus: 92%; }
.haewon-person:nth-child(4) { --person-focus: 76%; }
.haewon-person:nth-child(5) { --person-focus: 78%; }
.haewon-person-view { width: 100%; max-width: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; touch-action: pan-y pinch-zoom; }
.haewon-person-view::backdrop { background: #0b0b09e0; }
.haewon-person-view[open]::backdrop { animation: surface-dim-in .4s ease both; }
.haewon-person-view.is-closing::backdrop { animation: surface-dim-out .38s ease both; }
.haewon-person-view__stage { position: absolute; inset: 0; }
.haewon-person-view .haewon-album__card.haewon-person { top: 50%; left: 50%; cursor: default; filter: none; transform-origin: 50% 50%; transition: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) { .haewon-person-view[open]::backdrop,.haewon-person-view.is-closing::backdrop { animation: none; } }
.haewon-person__place { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 2px; max-width: calc(100% - 24px); padding: 2px 5px 2px 3px; color: #efe8da; background: #14130fa8; font: 8px/1.3 var(--mono); letter-spacing: .02em; text-align: left; }
.haewon-person__place::before { content: ""; flex: none; width: 9px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7.5 7.5 0 0 0-7.5 7.5C4.500 15 12 22 12 22s7.500-7 7.500-12.500A7.500 7.500 0 0 0 12 2Zm0 10.200a2.700 2.700 0 1 1 0-5.400 2.700 2.700 0 0 1 0 5.400Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7.5 7.5 0 0 0-7.5 7.5C4.500 15 12 22 12 22s7.500-7 7.500-12.500A7.500 7.500 0 0 0 12 2Zm0 10.200a2.700 2.700 0 1 1 0-5.400 2.700 2.700 0 0 1 0 5.400Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.haewon-person strong { display: block; margin-top: 10px; color: #2c2a24; font: 400 20px/1.3 var(--tape-hand); }
.haewon-person__role { margin: 2px 0 6px; color: #7a7263; font: 10px/1.5 var(--mono); letter-spacing: .04em; overflow-wrap: anywhere; }
.haewon-person__note { margin: 0; font: var(--person-note-size, 12.5px)/1.65 var(--prose); white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
/* The room's parts fade in whenever they go from hidden to shown, including after photos load. */
@keyframes room-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes room-fade { from { opacity: 0; } }
.haewon-room__intro > *, .haewon-people, .haewon-view-switch, .haewon-state, .haewon-photo-group, .haewon-photos[data-view="list"], .haewon-pagination, .haewon-room__footer { animation: room-rise .7s cubic-bezier(.22,.61,.36,1) backwards; }
.haewon-room__intro > :nth-child(2) { animation-delay: 70ms; }
.haewon-room__intro > :nth-child(3) { animation-delay: 140ms; }
.haewon-room__intro > :nth-child(4) { animation-delay: 210ms; }
.haewon-room__intro > :nth-child(5) { animation-delay: 280ms; }
.haewon-people { animation-delay: 360ms; }
.haewon-view-switch, .haewon-state { animation-delay: 440ms; }
.haewon-photo-group, .haewon-photos[data-view="list"] { animation-delay: 500ms; }
.haewon-room__edge, .is-haewon-room .room-close, .is-haewon-room .room-top { animation: room-fade .6s .3s ease backwards; }
.haewon-person img { transition: opacity .6s ease; }
.haewon-person img:not([data-loaded]) { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .haewon-room__intro > *, .haewon-people, .haewon-view-switch, .haewon-state, .haewon-photo-group, .haewon-photos[data-view="list"], .haewon-pagination, .haewon-room__footer, .haewon-room__edge, .is-haewon-room .room-close, .is-haewon-room .room-top { animation: none; }
  .haewon-person img { transition: none; }
}
.haewon-view-switch .haewon-shuffle { display: flex; gap: 7px; align-items: center; margin-left: auto; padding: 5px 0 5px 8px; color: var(--room-muted); font: 9px/1.6 var(--body); letter-spacing: .02em; transition: color .2s; }
.haewon-view-switch .haewon-shuffle:hover { color: #eee5d6; }
.haewon-view-switch .haewon-shuffle:disabled { opacity: .35; cursor: default; }
.haewon-shuffle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.haewon-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; margin: 0; padding: 0; list-style: none; }
.haewon-photo { min-width: 0; }
.haewon-print {
  position: relative;
  display:flow-root;
  margin: 0;
  padding: 0;
  container-type: inline-size;
  color: #575247;
  /* Paper Fibers by Heliodor Jalba, Subtle Patterns, CC BY-SA 3.0. */
  background: #e2dbcd url("assets/haewon/paper-fibers.png") repeat;
  background-size:var(--photo-paper-size,205px) var(--photo-paper-size,205px);
  background-blend-mode:multiply;
  box-shadow: 0 2px 2px #08070540, 0 9px 24px #08070535;
}
.haewon-print { margin: 7px; }
.haewon-print__sleeve { position: relative; padding: 5px 4px 9px; border: 1px solid #f3eee044; border-radius: 2px; background: linear-gradient(118deg,#ffffff0d,transparent 32%,#ffffff05 58%,#ffffff18); box-shadow: 1px 2px 4px #05050555, inset 1px 0 1px #ffffff18; }
.haewon-print__sleeve::before { content:""; position:absolute; z-index:3; inset:0; pointer-events:none; background:linear-gradient(113deg,transparent 15%,#ffffff06 30%,#ffffff20 31%,#ffffff07 33%,transparent 41%,transparent 70%,#ffffff0b 75%,transparent 81%); opacity:.8; }
.haewon-print__sleeve::after { content:""; position:absolute; z-index:4; inset:5px 3px; border-right:1px solid #ffffff35; border-left:1px solid #ffffff1a; border-bottom:1px solid #ffffff30; pointer-events:none; }
.haewon-print__sleeve .haewon-print { box-shadow: 0 2px 6px #05050533; }
.haewon-caption { flex: 1; min-width:0; padding: 0 1cqw; color:#696151; text-align:center; font:400 9px/1.7 var(--prose); letter-spacing:0; word-break:normal; overflow-wrap:anywhere; white-space:pre-line; text-wrap:balance; }
.haewon-print__image { position: relative; min-height: 130px; background: #c4bcaa; }
button.haewon-print__image { display:block; width:100%; padding:0; border:0; cursor:zoom-in; }
/* The paper owns a fixed 3:2 window, regardless of the source dimensions. */
.haewon-print .haewon-print__image { width:95cqw;margin:2.5cqw 2.5cqw 0;aspect-ratio:3/2;min-height:0;overflow:hidden;display:grid;place-items:center; }
.haewon-print .haewon-print__image img { position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center;opacity:0;transition:opacity .45s ease,filter .45s ease; }
.haewon-print .haewon-print__image img[data-loaded="true"] { opacity:1; }
.haewon-print__image::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background: #e3d5bb;
  mix-blend-mode: soft-light;
}
.haewon-print img { width: 100%; height: auto; min-height: 0; filter: saturate(.96) contrast(.985); }
.haewon-print img:not([data-loaded]) { min-height:0; }
.haewon-print img[data-failed] { display: none; }
.haewon-print__failure { padding: 70px 18px; text-align: center; font: 12px/1.8 var(--body); }
.haewon-print__failure a { display: inline-block; min-height: 44px; padding-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
.haewon-print figcaption { display:block;margin:0;padding:0;overflow:hidden;transition:height .32s cubic-bezier(.22,.61,.36,1);font:2.2cqw/1.7 var(--mono);letter-spacing:.08em; }
.haewon-print__caption-content { display:flex;min-height:12cqw;max-height:23cqw;gap:2cqw;justify-content:space-between;align-items:center;padding:1.5cqw 2.5cqw; }
.haewon-print__caption-content > span:first-child { flex:0 0 10cqw;white-space:nowrap;letter-spacing:0;text-align:left; }
.haewon-print__caption-content > span:last-child { flex:0 0 18cqw;text-align:right; }
.haewon-print .haewon-caption { max-height:20cqw;overflow-y:auto;overscroll-behavior-y:contain;font-size:calc(2.8cqw * var(--caption-scale,1)); }
.haewon-print figcaption.is-instant,.haewon-lightbox.is-unwrapping figcaption { transition:none; }
.haewon-print figcaption a { display: flex; min-height: 30px; align-items: center; padding: 0 5px; text-underline-offset: 3px; transition: color .2s; }
.haewon-print figcaption a:hover { color: #211f19; text-decoration: underline; }
.haewon-print figcaption span:last-child { font-family:"Mr De Haviland",cursive; font-size:6cqw; letter-spacing:0; }
.haewon-state { padding-top: 9px; text-align: center; }
.haewon-state__paper {
  position: relative;
  display: grid;
  min-height: 265px;
  place-items: center;
  padding: 32px 20px;
  color: #787060;
  background: linear-gradient(125deg, #ded8cb, #d0c6b4);
  box-shadow: 0 3px 4px #08070535, 0 8px 26px #0807052e;
  transform: rotate(-1deg);
}
.haewon-state__paper::after { content: ""; position: absolute; inset: 0; background:url("assets/haewon/paper-fibers.png") repeat; background-size:205px 205px; opacity: .24; mix-blend-mode: multiply; pointer-events: none; }
.haewon-state__paper > span:first-child { white-space: pre-line; font: 400 38px/1.5 "Mr De Haviland", cursive; }
html[lang="ko"] .haewon-state__paper > span:first-child { font: 400 28px/1.5 var(--title); }
html[lang="ja"] .haewon-state__paper > span:first-child,
html[lang^="zh"] .haewon-state__paper > span:first-child,
html[lang="th"] .haewon-state__paper > span:first-child { font: 400 25px/1.8 var(--title); }
.haewon-state__mark { position: absolute; right: 19px; bottom: 8px; font: 28px "Mr De Haviland", cursive; }
.haewon-state > p, .haewon-update { margin: 25px 0 0; color: var(--room-muted); font: 11px/1.9 var(--body); text-align: center; word-break: keep-all; }
.haewon-retry { min-height: 44px; padding: 6px 14px; border: 0; color: #c4b9a8; background: transparent; cursor: pointer; font: 10px var(--body); text-decoration: underline; text-underline-offset: 5px; }
.haewon-state[data-state="loading"] .haewon-state__paper { animation: room-breathe 2s ease-in-out infinite; }
.haewon-room__footer { display:flex; flex-direction:column; align-items:center; gap:12px; margin:24px 0 0; padding:20px 0 calc(94px + var(--safe-bottom)); border-top:1px solid #c1b39b22; color:#a69b89; font:8px/1.7 var(--mono); letter-spacing:.16em; }
.haewon-room__footer button { min-height: 44px; padding: 8px; border: 0; color: inherit; background: transparent; cursor: pointer; font: 10px var(--body); letter-spacing: 0; }
.menu-panel .haewon-menu-link em { font-style: normal; }
.menu-panel { overflow-y: auto; }
.haewon-preview { --room-paper: #d9d2c2; --preview-inline: 22px; position: relative; overflow:hidden; padding: 38px var(--preview-inline) 48px; color: #e5dfd3; background: radial-gradient(ellipse at 10% 20%, #3a302945, transparent 70%), #1c1c1a; }
.haewon-preview__copy { position:relative; z-index:3; pointer-events:none; }
.haewon-preview__copy h2 { margin: 28px 0 13px; font: 400 clamp(39px,11cqw,50px)/1.3 var(--title); letter-spacing:-.015em; }
html[lang="ja"] .haewon-preview__copy h2,
html[lang^="zh"] .haewon-preview__copy h2,
html[lang="th"] .haewon-preview__copy h2 { font: 400 38px/1.5 var(--title); }
.haewon-preview__copy p { margin: 0 0 28px auto; max-width: 33em; color: #b8afa1; font: 12.5px/1.95 var(--prose); white-space: pre-line; word-break: keep-all; text-align:right; }
.haewon-preview__photo { display: block; margin: 6px 0 24px; }
.haewon-portrait { position:relative; z-index:1; display:block; width:83.7%; max-width:324px; aspect-ratio:573/627; margin:-92px auto 0 calc(var(--preview-inline) * -2); padding:0; border:0; border-radius:0; background:transparent; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.haewon-portrait__poses { position:absolute; inset:0; pointer-events:none; isolation:isolate; transform:scale(1.08); transform-origin:50% 2%;  -webkit-mask-image:linear-gradient(#000 0%,#000 60%,#000b 74%,#0005 87%,transparent 100%); mask-image:linear-gradient(#000 0%,#000 60%,#000b 74%,#0005 87%,transparent 100%); }
.haewon-portrait__poses img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.haewon-portrait__frames { position:absolute; inset:0; background-repeat:no-repeat; }
.haewon-portrait:focus-visible { outline:1px solid #c7bca7; outline-offset:8px; }
.haewon-preview__photo[hidden] { display: none; }
.haewon-portrait + .haewon-preview__photo { position:relative; z-index:2; margin:-20px 0 24px; }
.haewon-portrait + .haewon-preview__photo .haewon-album { margin-top:0; }
.haewon-preview__photo:has(.haewon-album:empty) { visibility:hidden; }
.haewon-preview__enter { display:flex; min-height:56px; align-items:center; justify-content:space-between; gap:16px; padding:12px 16px; border:1px solid #b7a88d50; border-radius:0; color:#d2c8b6; font:var(--rect-button-size)/1.8 var(--body); transition:color .2s; }
.haewon-preview__enter:hover { color: #f1e8d7; }
.haewon-preview__enter > span:last-child { font-size: 21px; }
.haewon-album { position:relative; height:clamp(235px,66cqw,290px); margin:38px -4px 0; touch-action:pan-y; perspective:1000px;transition:height .32s cubic-bezier(.22,.61,.36,1); }
.haewon-album__card { position:absolute; top:4px; left:12%; width:76%; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; transform:translateX(var(--album-shift)) translateY(var(--album-drop)) rotate(var(--album-tilt)) scale(var(--album-scale)); transform-origin:50% 85%; transition:transform .65s cubic-bezier(.22,.78,.23,1),opacity .4s ease,filter .4s ease; will-change:transform; }
.haewon-album__card .haewon-print__sleeve { display:block; }
.haewon-album__card .haewon-print { margin:7px; }
.haewon-album__card .haewon-print__image { min-height:0; }
.haewon-album__card img { pointer-events:none; }
.haewon-album__card:not([aria-pressed="true"]) { filter:brightness(.78); }
.haewon-album__controls { position:relative; z-index:25; display:flex; align-items:center; justify-content:center; gap:20px; margin:0 0 16px; color:#c7bca7; }
.haewon-album__controls button { width:44px; height:44px; border:1px solid #baa98e44; border-radius:50%; background:#1c1c1a80; color:inherit; font-size:19px; cursor:pointer; transition:background .2s; }
.haewon-album__controls button:hover { background:#51473a77; }
.haewon-album__controls span { min-width:42px; text-align:center; font:8px var(--mono); letter-spacing:.13em; }
.haewon-view-switch { display:flex; gap:18px; align-items:center; margin:0 0 22px; padding-top:4px; border-top:1px solid #c1b39b29; }
.haewon-view-switch button { min-height:44px; padding:5px 0; border:0; border-bottom:1px solid transparent; background:transparent; color:#8f897d; font:10px var(--body); cursor:pointer; }
.haewon-view-switch button[aria-pressed="true"] { color:#e4d9c6; border-bottom-color:#b3a48a; }
.haewon-view-switch [hidden] { display:none; }
.haewon-subjects { display:flex; flex-wrap:wrap; align-items:center; gap:2px 12px; margin:-15px 0 19px; }
.haewon-subjects button { min-height:38px; padding:4px 5px; border:0; border-bottom:1px solid transparent; background:transparent; color:#b6ad9e; font:12px/1.4 var(--body); cursor:pointer; }
.haewon-subjects button:hover, .haewon-subjects button[aria-pressed="true"] { color:#f2e7d2; border-bottom-color:#c2b294; }
.haewon-subjects button:focus-visible { outline:2px solid #d4c5a8; outline-offset:2px; }
.haewon-subject-empty { color:var(--room-muted); text-align:center; font:12px var(--body); }
@media(max-width:620px) { .haewon-subjects { gap:0 7px; } .haewon-subjects button { min-height:44px; } }
.haewon-sort { display:flex; gap:14px; align-items:center; margin-left:auto; }
.haewon-sort button { font-size:9px; letter-spacing:.02em; white-space:nowrap; }
.haewon-photos[data-view="carousel"] { position:relative; display:block; min-height:220px; overflow:visible; touch-action:pan-y pinch-zoom;transition:height .32s cubic-bezier(.22,.61,.36,1); }
.haewon-photos[data-view="carousel"] > li { position:absolute; top:8px; left:6%; width:88%; transform:translateX(var(--photo-shift,0%)) translateY(var(--photo-drop,0px)) rotate(var(--photo-tilt,0deg)) scale(var(--photo-scale,1)); transform-origin:50% 50%; transition:transform .55s cubic-bezier(.2,.65,.25,1),opacity .35s ease; }
.haewon-photos.is-instant > li { transition:none; }
.haewon-photos[data-view="list"] > li { visibility:visible !important; opacity:1 !important; pointer-events:auto !important; }
.haewon-carousel-controls { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:12px; color:#bfb39e; }
.haewon-carousel-controls button { display:grid; width:44px; height:44px; place-items:center; border:1px solid #b7a88d38; border-radius:50%; background:transparent; color:inherit; font-size:20px; cursor:pointer; transition:background .2s; }
.haewon-carousel-controls button:hover { background:#c2b29516; }
.haewon-carousel-controls button:disabled { opacity:.25; cursor:default; }
.haewon-carousel-count { font:9px var(--mono); letter-spacing:.15em; }
.haewon-carousel-hint { margin:6px 0 0; text-align:center; color:#a69b89; font:9px/1.8 var(--body); }
.haewon-photo-group + .haewon-photo-group { margin-top:7px; }
.haewon-photo-group__stage { position:relative; touch-action:pan-y pinch-zoom; }
.haewon-photo-group__zone { position:absolute; z-index:30; top:0; bottom:22px; width:14%; min-width:44px; min-height:44px; padding:0; border:0; border-radius:0; background:transparent; color:inherit; cursor:pointer; touch-action:pan-y pinch-zoom; }
.haewon-photo-group__zone--previous { left:0; }
.haewon-photo-group__zone--next { right:0; }
.haewon-photo-group__zone:disabled { cursor:default; }
.haewon-photo-group__zone:focus-visible { background:#e4dac409; }
.haewon-photo-group__position,#haewonPageRange { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.haewon-group-sentinel { height:1px; }
.haewon-pagination { margin:26px 0 0; padding:16px 0 0; border-top:1px solid #c1b39b29; }
.haewon-pagination p { margin:0 0 12px; text-align:center; color:#b8afa1; font:10px/1.8 var(--body); }
.haewon-pagination > div { display:flex; justify-content:center; align-items:center; flex-wrap:nowrap; gap:3px; }
.haewon-pagination button { display:grid; flex:0 1 32px; place-items:center; min-width:24px; min-height:44px; padding:0; border:1px solid #b7a88d38; border-radius:0; background:transparent; color:#c7bda9; font:11px var(--mono); cursor:pointer; transition:background .2s,color .2s; }
.haewon-pagination > div > span { flex:0 0 12px; text-align:center; color:#a69b89; font:11px var(--mono); }
.haewon-pagination button[aria-current="page"],.haewon-pagination button:hover { color:#29271f; background:#ddd4c1; }
.haewon-pagination button:disabled { cursor:wait; }
.haewon-pagination button:disabled:not([aria-current]) { opacity:.3; cursor:default; }
.archive-card[hidden] { display:none; }
.archive-expand { display:block; width:100%; min-height:52px; margin-top:20px; border:1px solid #26241f60; background:transparent; color:#34312a; font:var(--rect-button-size)/1.7 var(--body); cursor:pointer; transition:background .2s; }
.archive-expand:hover { background:#1c1b1710; }
.archive-expand[hidden] { display:none; }
.archive-grid { position:relative; overflow-x:visible; overflow-y:clip; transition:max-height .8s cubic-bezier(.22,1,.36,1); }
.archive-card.is-peek { pointer-events:none; }
.archive-card :is(.archive-tape-title,.archive-card__number,.archive-card__meta) { transition:opacity .5s ease; }
.archive-card.is-peek :is(.archive-tape-title,.archive-card__number,.archive-card__meta) { opacity:0; }
.archive-more { position:relative; z-index:2; margin-top:-70px; padding-top:50px; background:linear-gradient(to bottom,transparent,var(--paper) 50px); }
.archive-more[hidden] { display:none; }
.archive-more .archive-expand { margin-top:0; background:var(--paper); }
@media(prefers-reduced-motion:reduce) { .archive-grid,.archive-card :is(.archive-tape-title,.archive-card__number,.archive-card__meta) { transition:none; } }
* { scrollbar-width:none !important; }
*::-webkit-scrollbar { display:none;width:0;height:0; }
@media (min-width:621px) {
  .device-shell { --phone-height:min(900px,calc(100dvh - 60px)); width:min(414px,calc(var(--phone-height) * .49),calc(100vw - 48px)); height:var(--phone-height); }
}
@keyframes room-breathe { 50% { opacity: .65; } }
@media (min-width: 621px) { .haewon-room { min-height: calc(100cqh - 60px); } }
@media (max-width: 380px) { .haewon-room { padding-right: 21px; padding-left: 21px; } .haewon-room__intro::before { inset: 0 -21px; } }
@media (prefers-reduced-motion: reduce) { .haewon-state[data-state="loading"] .haewon-state__paper { animation: none; } .haewon-album__card { transition:none; } }

.haewon-lightbox { width:min(1120px,96%); height:min(880px,94dvh); max-width:100%; max-height:none; padding:16px; border:0; outline:0; border-radius:32px; color:#e8dfd0; background:transparent; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:none; touch-action:pan-y pinch-zoom; }
.haewon-lightbox[open] { display:flex; flex-direction:column; }
.haewon-lightbox::backdrop { background:#080909eb; backdrop-filter:blur(10px); }
.haewon-lightbox[open]::backdrop { animation:photo-dim-in .42s ease both; }
.haewon-lightbox.is-closing::backdrop { animation:photo-dim-out .4s 1.55s ease both; }
@keyframes photo-dim-in { from { opacity:0; } to { opacity:1; } }
@keyframes photo-dim-out { from { opacity:1; } to { opacity:0; } }
.haewon-lightbox__bar { position:relative;z-index:2;display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:44px; font:14px var(--title);pointer-events:none; }
.haewon-lightbox__bar a { pointer-events:auto;display:inline-flex;align-items:center;min-height:44px;color:inherit;font:inherit;text-underline-offset:.24em; }
.haewon-lightbox__bar a[hidden] { display:none; }
.haewon-lightbox__bar > button,.haewon-lightbox__stage > button { flex-shrink:0; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#171715bb; color:inherit; cursor:pointer; }
.haewon-lightbox__bar > button:disabled,.haewon-lightbox__stage > button:disabled { opacity:.2; }
.haewon-lightbox__bar button { font-size:26px; }
.haewon-lightbox__stage { position:absolute;inset:0;display:flex;min-height:0;align-items:center;justify-content:center;margin:0;padding:0 12px;touch-action:pan-y pinch-zoom; }
.haewon-lightbox__print.haewon-print { width:100%;max-width:min(100%,calc((var(--dialog-device-height,100dvh) - 160px)/.91));margin:0;padding:0;border:0;outline:0;box-shadow:0 5px 30px #0005;transform-origin:50% 50%; }
#haewonLightboxCount { position:absolute;left:50%;bottom:calc(78px + var(--safe-bottom));transform:translateX(-50%);pointer-events:none; }
.haewon-lightbox__stage img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; opacity:0; transition:opacity .35s ease; }
.haewon-lightbox__stage img[data-loaded="true"] { opacity:1; }
.haewon-lightbox.is-unwrapping .haewon-lightbox__stage > .haewon-lightbox__print { visibility:hidden; }
.haewon-lightbox.is-opening-photo .haewon-lightbox__stage > .haewon-lightbox__print { visibility:visible;transform-origin:0 0; }
/* The departing sleeve must not enlarge the dialog's scrollable area. */
.haewon-lightbox__flight { position:absolute; z-index:10; inset:0; overflow:hidden; pointer-events:none; }
.haewon-lightbox__bundle { position:absolute; top:0; left:0; transform-origin:0 0; will-change:transform; }
.haewon-lightbox__flight .haewon-lightbox__print { position:absolute; top:0; left:0; transform-origin:0 0; will-change:transform; }
.haewon-lightbox__flight .haewon-lightbox__print img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; opacity:1; border:0; outline:0; }
.haewon-lightbox__flight .haewon-print__sleeve { position:absolute; z-index:2; margin:0; pointer-events:none; }
.haewon-lightbox__stage > button { position:absolute; z-index:2; top:50%; left:5px; transform:translateY(-50%); font-size:22px; transition:opacity .28s ease; }
.haewon-lightbox__stage button:last-child { right:5px; left:auto; }
.haewon-lightbox.is-unwrapping .haewon-lightbox__stage > button { opacity:0;pointer-events:none;transition:none; }
.haewon-lightbox p { min-height:24px; margin:0; text-align:center; font:12px/1.8 var(--prose); }
.floating-close { position:absolute; z-index:120; right:16px; bottom:calc(18px + var(--safe-bottom)); display:grid; place-items:center; width:48px; height:48px; padding:0; border:1px solid #d7cbb84a; border-radius:50%; color:#eee5d6; background:#1d1e1ce8; box-shadow:0 5px 16px #0005; font:28px/1 var(--body); cursor:pointer; backdrop-filter:blur(8px); touch-action:manipulation; }
.floating-close svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
.floating-close.is-back svg { stroke-linejoin:round; }
#main footer { padding-bottom:calc(94px + var(--safe-bottom)); }
.record-dialog__shuffle { bottom:calc(76px + var(--safe-bottom)); }
.record-dialog__shuffle:disabled { cursor:wait; }
.record-dialog.is-leaving,.haewon-lightbox.is-leaving { pointer-events:none; }
.record-dialog::backdrop { top:-120px; bottom:-120px; }
.record-dialog[open]::backdrop { animation:surface-dim-in .48s ease both; }
@keyframes surface-dim-in { from { opacity:0; } to { opacity:1; } }
.record-dialog.is-leaving::backdrop,.haewon-lightbox.is-leaving::backdrop { animation:surface-dim-out .34s ease both; }
.record-dialog.is-leaving::backdrop { animation-duration:.46s; }
@keyframes surface-dim-out { from { opacity:1; } to { opacity:0; } }
@media(prefers-reduced-motion:reduce) { .record-dialog[open]::backdrop,.record-dialog.is-leaving::backdrop,.haewon-lightbox.is-leaving::backdrop { animation:none; } }
.floating-close:focus,.floating-close:focus-visible,.floating-close:active { outline:none; }
.floating-close:focus-visible { color:#1c1d1b; background:#ddd3bf; }
.room-close,.room-top { display:none; }
/* A detail's buttons and the page's own sit in different places, so they cross-fade
   as it leaves. The sheet's slide would otherwise carry its buttons past the page's. */
.room-close,.room-top,.floating-section-nav { transition:opacity .28s ease; }
html:has(:is(#recordDialog,#haewonPersonView,#haewonEpisodeView)[open]:not(.is-leaving,.is-closing)) :is(#haewonRoomClose,#haewonRoomTop,.floating-section-nav) { opacity:0; transition:none; }
:is(.record-dialog.is-leaving,.haewon-person-view.is-closing,.haewon-episode-view.is-closing) .floating-close { opacity:0; transition:opacity .16s ease; }
.room-close { bottom:calc(76px + var(--safe-bottom)); }
.is-haewon-room .room-close,.is-haewon-room .room-top { display:grid; }
.is-haewon-room .floating-section-nav { display:none; }
.record-dialog__sheet { padding-bottom:calc(94px + var(--safe-bottom));scroll-padding-bottom:calc(94px + var(--safe-bottom)); }
.haewon-lightbox { padding-bottom:82px; }
@media(max-width:620px) {
  .room-close,.room-top { position:fixed; }
}
@media(prefers-reduced-motion:reduce) { .haewon-photos[data-view="carousel"] > li,.vhs-deck__flap { transition:none; } .haewon-lightbox[open]::backdrop { animation:none; } }
#haewonLightboxCount { display:block; margin:7px 0 3px; text-align:center; color:#aaa18e; font:9px var(--mono); }
@media(max-width:620px) { .haewon-lightbox { width:100%; height:100dvh; padding:12px 12px 82px; border:0; border-radius:0; } .record-dialog { width:100%; max-width:100%; } }

.scrubber__image #scrubVideo { position:absolute; inset:-2%; width:104%; height:104%; max-width:none; object-fit:cover; background:#090a0b; opacity:0; pointer-events:none; }
.scrubber__image.is-playing #scrubVideo { opacity:1; }
.scrubber__image.is-playing #scrubImage { opacity:0; }
.scrubber__image.is-playing .scrubber__play { opacity:0; }
.scrubber__image { aspect-ratio:3/2; }
.filmstrip { gap:14px; padding-top:20px; padding-bottom:20px; scroll-snap-type:x mandatory; scroll-padding-inline:20px; touch-action:pan-x pan-y; overscroll-behavior-x:contain; }
.filmstrip.is-dragging { scroll-snap-type:none; }
.filmstrip button { flex:0 0 202px; height:118px; border:2px solid #353638; border-radius:5px; scroll-snap-align:center; opacity:.68; background:repeating-linear-gradient(0deg,#1c1d1e 0 2px,#151617 2px 4px); box-shadow:inset 0 0 0 3px #08090a,0 5px 12px #0006; }
.filmstrip button::before,.filmstrip button::after { content:""; position:absolute; top:31px; width:37px; height:37px; border:6px solid #5b5b54; border-radius:50%; background:repeating-conic-gradient(#c5c1ad 0 16deg,#383a37 16deg 40deg); box-shadow:0 0 0 6px #090a0b,inset 0 0 0 9px #151617; }
.filmstrip button::before { left:13px; }.filmstrip button::after { right:13px; }
.filmstrip img { position:absolute; top:21px; left:65px; width:68px; height:66px; object-fit:cover; border:3px solid #b9b4a2; filter:saturate(.65); }
.filmstrip button span { inset:auto 8px 6px; padding:3px; color:#b8b2a4; background:transparent; text-align:center; font:7px var(--mono); letter-spacing:.12em; }
.filmstrip button.is-active { border-color:#b8aa8c; transform:translateY(-3px); }
.tape-controls { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:0 20px 15px; color:#a49d8e; }
.tape-controls button { width:44px; height:44px; border:1px solid #aaa38f44; border-radius:50%; background:transparent; cursor:pointer; }
.tape-controls span { font:7px var(--mono); letter-spacing:.15em; }
.archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 10px; }
.archive-card,.archive-card.is-wide { grid-column:auto; padding:12px 10px 10px; border:2px solid #2c2e2e; border-radius:5px; background:repeating-linear-gradient(0deg,#202122 0 2px,#191a1b 2px 4px); box-shadow:inset 0 0 0 4px #101112,0 7px 13px #24211b24; }
.archive-card__image,.archive-card.is-wide .archive-card__image { aspect-ratio:2/1; overflow:visible; border:1px solid #080909; border-radius:3px; background:#101112; }
.archive-card__image::before,.archive-card__image::after { content:""; position:absolute; z-index:1; top:50%; width:20%; aspect-ratio:1; margin-top:-10%; border:7px solid #77796e; border-radius:50%; background:repeating-conic-gradient(#c6c3ad 0 15deg,#44463e 15deg 45deg); box-shadow:0 0 0 5px #181a19,inset 0 0 0 12px #252724; pointer-events:none; }
.archive-card__image::before { left:6%; }.archive-card__image::after { right:6%; inset:auto 6% auto auto; top:50%; }
.archive-card img,.archive-card video { inset:17% 33%; width:34%; height:66%; object-fit:cover; border:3px solid #bfb7a0; border-radius:2px; filter:saturate(.65); }
.archive-card__meta { position:absolute; inset:auto 10px 8px; padding:0; color:#b8b19f; font-size:8px; }
.archive-card__number { top:8px; left:12px; color:#d1c9b4; font-size:8px; background:transparent; }
.archive-card__play { inset:auto 8px 7px auto; min-height:0; padding:2px; font-size:7px; color:#aaa38f; background:transparent; }
.archive-card__play { display:none; }
.archive-tape-title { display:block; margin:9px 4px 3px; padding:8px 10px; border:1px solid #e5ddc61f; border-radius:2px; color:#332e25; background:#d2c9b5; font:11px/1.6 var(--prose); text-align:left; word-break:keep-all; }
.record-dialog__bar { position:sticky; z-index:5; top:0; background:var(--paper); }
.record-dialog__media { min-height:0; aspect-ratio:3/2; }
.record-dialog__media img,.record-dialog__media video { object-fit:contain; }
@media(min-width:621px) {
  .record-dialog { --dialog-device-height:min(900px,calc(100dvh - 60px)); width:min(414px,calc(var(--dialog-device-height) * .49),calc(100vw - 48px)); height:var(--dialog-device-height); max-height:var(--dialog-device-height); margin:auto; }
  .haewon-lightbox { --dialog-device-height:min(1040px,calc(100dvh - 64px)); --photo-view-width:min(960px,calc(100vw - 192px),calc((var(--dialog-device-height) - 160px)/.91)); width:calc(var(--photo-view-width) + 128px); height:var(--dialog-device-height); max-height:var(--dialog-device-height); margin:auto; border-radius:12px; }
  .haewon-lightbox__stage { padding-inline:64px; }
  .haewon-lightbox__stage > button { left:12px; }
  .haewon-lightbox__stage > button:last-child { right:12px;left:auto; }
}
@media(display-mode:standalone) and (max-width:620px) {
  .site-bar { padding-top:env(safe-area-inset-top); min-height:calc(60px + env(safe-area-inset-top)); }
  .record-dialog__bar,.haewon-lightbox__bar { padding-top:env(safe-area-inset-top); }
  .haewon-lightbox { padding-bottom:calc(82px + var(--safe-bottom)); }
  /* iOS paints nothing below the installed app's viewport, so text cannot reach
     the screen edge there. Fade it out instead of cutting it off. */
  .record-dialog::after { content:""; position:absolute; z-index:2; right:0; bottom:0; left:0; height:64px; background:linear-gradient(transparent,var(--paper)); pointer-events:none; }
}

/* One photographed cassette plate; actual video thumbnails and titles stay live. */
.filmstrip button {
  flex:0 0 238px; height:auto; aspect-ratio:1.8; padding:0; border:0; border-radius:0;
  background:url("assets/ui/vhs-tape.webp") center/100% 100% no-repeat;
  box-shadow:none; overflow:visible;
}
.filmstrip button::before,.filmstrip button::after,
.archive-card__image::before,.archive-card__image::after { display:none; }
.filmstrip img {
  top:23.5%; left:31.2%; width:37.6%; height:43%; padding:0; border:0; border-radius:2px; object-fit:cover;
}
.filmstrip button .tape-paper-title {
  inset:82% 10% auto; max-height:19%; transform:translateY(-50%); padding:0; overflow:hidden; color:#342c20; background:transparent;
  text-align:left; font:8px/1.2 var(--prose); letter-spacing:0;
}
.filmstrip button.is-active { filter:brightness(1.09); }
.archive-card,.archive-card.is-wide {
  position:relative; aspect-ratio:1.8; padding:0; border:0; border-radius:0; container-type:inline-size;
  background:url("assets/ui/vhs-tape.webp") center/100% 100% no-repeat; box-shadow:none; overflow:visible;
}
.archive-card__image,.archive-card.is-wide .archive-card__image {
  position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border:0; border-radius:0; background:transparent;
}
.archive-card img { inset:23.5% auto auto 31.2%; width:37.6%; height:43%; padding:0; border:0; border-radius:2px; object-fit:cover; }
.archive-card__number { top:12%; left:10%; padding:0; color:#bbb5a4; }
.archive-card__meta { inset:12% 10% auto 27%; color:#bbb5a4; }
.archive-tape-title {
  position:absolute; z-index:3; inset:82% 10% auto; max-height:19%; margin:0; padding:0; overflow:hidden; transform:translateY(-50%);
  border:0; border-radius:0; color:#342c20; background:transparent;
  font:clamp(6px,4cqw,9px)/1.2 var(--prose); text-align:left;
}
.tape-paper-title,.archive-tape-title,.vhs-cassette__title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow-wrap:anywhere; }
.archive-card__number,.archive-card__meta { font-size:clamp(5px,3.5cqw,7px); line-height:1.2; letter-spacing:0; }
/* Individual cassette plates, arranged as two columns of five. */
.archive-card,.archive-card.is-wide { isolation:isolate; margin:2px 2px 4.5px; }
.archive-card::before,.archive-card::after { content:""; position:absolute; z-index:-1; inset:0; border-radius:3px; background:#1c1d1c url("assets/ui/vhs-tape.webp") center/100% 100% no-repeat; pointer-events:none; }

/* Keep the printed label on the same visible face as its cassette plate. */
:root { --tape-hand:"Haerangsa Tape Latin","Griun YEONWOO",cursive; --tape-leading:1.2; --tape-ink-offset:0em; }
html[lang="ko"] { --tape-hand:"Griun YEONWOO","Haerangsa Tape Latin",cursive; --tape-ink-offset:.1em; }
html[lang="ja"] { --tape-hand:"Haerangsa Tape Japanese","Haerangsa Tape Latin","Griun YEONWOO",cursive; --tape-ink-offset:-.075em; }
html[lang="zh-CN"],html[lang="zh-TW"] { --tape-hand:"Haerangsa Tape Chinese","Haerangsa Tape Latin","Griun YEONWOO",cursive; }
html[lang="th"] { --tape-hand:"Haerangsa Tape Thai","Haerangsa Tape Latin","Griun YEONWOO",cursive; --tape-leading:1.3; --tape-ink-offset:.07em; }
.archive-card,.archive-card.is-wide { --tape-angle:-.6deg; background:none; }
.archive-card:nth-child(even) { --tape-angle:.6deg; }
.archive-card:nth-child(3n) { --tape-angle:-.3deg; }
.archive-card .archive-card__image,.archive-card.is-wide .archive-card__image { z-index:0; background:url("assets/ui/vhs-tape.webp") center/100% 100% no-repeat; transform:rotate(var(--tape-angle)); transform-origin:center; }
.tape-paper-title,.archive-tape-title,.vhs-cassette__title { font-family:var(--tape-hand); font-style:normal; font-weight:400; line-height:var(--tape-leading); max-height:21%; letter-spacing:0; word-break:normal; }
.filmstrip button .tape-paper-title { font-family:var(--tape-hand); font-size:10.5px; line-height:var(--tape-leading); max-height:21%; }
.archive-tape-title { font-size:clamp(6px,calc(5cqw / var(--tape-leading)),9.5px); }
.vhs-cassette__title { font-family:var(--tape-hand); line-height:var(--tape-leading); }
.vhs-cassette__spine { font-family:var(--tape-hand); }
.archive-card__number,.archive-card__meta { font-family:var(--tape-hand); }

/* All section headings follow the hero's responsive scale in each language. */
.about__portrait { height:auto; min-height:0; padding:48px 22px 14px; overflow:visible; }
.about__profile-sleeve { width:100%; max-width:340px; transform:rotate(-1.4deg); }
.about__profile-photo { width:auto; aspect-ratio:auto; margin:7px; padding:10px 10px 28px; transform:none; background:#d7d0c3 url("assets/haewon/paper-fibers.png") repeat; background-size:205px 205px; background-blend-mode:multiply; }
.about__profile-photo img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
.about__portrait::after { pointer-events:none; }

/* A real-video aperture behind the photographed CRT bezel. The picture stays 3:2. */
.crt-unit { position:relative; isolation:isolate; width:100%; }
.crt-tv { position:relative; z-index:2; width:100%; aspect-ratio:1.34; scroll-margin-top:76px; }
.crt-unit .crt-screen { position:absolute; z-index:1; top:11.2%; left:11.2%; width:77.8%; height:71%; min-height:0; margin:0; overflow:hidden; border-radius:10% / 9%; background:#090a09; }
.crt-unit .crt-screen img,.crt-unit .crt-screen video { position:absolute; inset:-2%; width:104%; height:104%; max-width:none; object-fit:cover; border-radius:0; filter:url("assets/ui/crt-glass.svg#tube") blur(.45px) saturate(.88) contrast(.98) brightness(1.06); }
.crt-screen::before { content:""; position:absolute; z-index:4; inset:0; border-radius:inherit; pointer-events:none; opacity:.42; background:repeating-linear-gradient(0deg,#080b0b38 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#ff674308 0 1px,#75b8ff08 1px 2px,transparent 2px 3px); }
.crt-unit .crt-screen::after { content:""; position:absolute; z-index:5; inset:0; border:0; border-radius:inherit; pointer-events:none; background:radial-gradient(ellipse at 50% 46%,transparent 54%,#02040350 88%,#0009 100%),radial-gradient(ellipse at 20% 5%,#fff9ed16,transparent 46%); box-shadow:inset 0 0 12px #0007; }
.crt-tv__bezel { position:absolute; z-index:6; inset:0; background:url("assets/ui/crt-tv-bezel.webp") center/100% 100% no-repeat; pointer-events:none; }
.crt-tv__brand { position:absolute; z-index:7; left:38%; bottom:9.7%; width:24%; height:5.1%; object-fit:contain; filter:none; pointer-events:none; }
.crt-unit #recordDeck,.crt-unit #memoryDeck { z-index:1; width:calc(100% - 10px); margin:calc(-2.8% - 1px) 5px 20px; }
.record-dialog__signature { display:grid; place-items:center; height:calc(104px + env(safe-area-inset-top,0px)); margin:0; padding-top:env(safe-area-inset-top,0px); color:#575246; font:400 44px/1 "Mr De Haviland",cursive; }
@media(hover:none) and (pointer:coarse) {
  .crt-unit .crt-screen img,.crt-unit .crt-screen video { filter:blur(.3px) saturate(.88) contrast(.98) brightness(1.06); }
  .record-dialog::backdrop,.haewon-lightbox::backdrop { backdrop-filter:none; }
}
@media(max-width:340px),(max-height:520px) { .haewon-caption { white-space:normal; } }
@media(prefers-reduced-motion:reduce) { .haewon-print figcaption,.haewon-album,.haewon-photos[data-view="carousel"],.haewon-lightbox__stage > button { transition:none; } }
.record-dialog__sheet > .crt-unit { width:calc(100% - 20px); margin:0 10px; }
.scrubber__stage > .crt-unit { width:calc(100% + 16px); margin:0 -8px; }
#memory-player { padding-top:0;overflow:visible; }
#memory-player .scrubber__stage { display:flow-root; }
#memory-player .scrubber__stage > .crt-unit { margin-top:-48px; }
#scrubType,#scrubCounter,#scrubFilmDate,#scrubDate { display:none; }
.crt-unit .crt-screen.is-off img,.crt-unit .crt-screen.is-off video { opacity:0; pointer-events:none; }
.crt-unit .crt-screen.is-off #scrubVideo { opacity:0; }
.crt-screen.is-off::before { opacity:0; }
.crt-screen.is-off::after { background:radial-gradient(ellipse at 20% 5%,#fff9ed0a,transparent 55%); }
.record-dialog__carousel { margin:0 0 12px; border-color:#807a6b44; }
.record-dialog__carousel .filmstrip { padding:16px 20px; }
.record-dialog .crt-tv { scroll-margin-top:calc(28px + env(safe-area-inset-top,0px)); }
.record-dialog__copy { padding-top:4px; }
.crt-instagram-link { display:none; }
@media (min-width:621px) {
  .crt-instagram-link { display:flex; align-items:center; width:fit-content; max-width:calc(100% - 80px); min-height:44px; margin:-16px 12px 4px; padding:4px 0; color:inherit; font:400 11px/1.45 var(--body); text-decoration:underline; text-underline-offset:3px; opacity:.8; }
  .crt-instagram-link:hover,.crt-instagram-link:focus-visible { opacity:1; }
  #scrubSource,#recordSource { display:none; }
}
.filmstrip button { background:none; isolation:isolate; opacity:1; }
.filmstrip button .tape-face { position:absolute; display:block; inset:0; padding:0; background:url("assets/ui/vhs-tape.webp") center/100% 100% no-repeat; pointer-events:none; }
.filmstrip button::before { display:block; inset:0; width:auto; height:auto; border:0; border-radius:0; background:url("assets/ui/vhs-tape.webp") center/100% 100% no-repeat; transform:none; opacity:0; box-shadow:none; z-index:-1; pointer-events:none; transition:opacity .4s ease; }
/* Only a faint, unlabelled impression remains while the actual tape is docked. */
.filmstrip button:is(.is-in-deck,.is-loading-tape)::before,.archive-card:is(.is-in-deck,.is-loading-tape)::before { opacity:.08; }
.archive-card::before { opacity:0;transform:rotate(var(--tape-angle));box-shadow:none;transition:opacity .4s ease; }
.archive-card::after { display:none; }
@media (prefers-reduced-motion:reduce) { .filmstrip button::before,.archive-card::before { transition:none; } }
.filmstrip button.is-in-deck,.filmstrip button.is-loading-tape,.archive-card.is-in-deck,.archive-card.is-loading-tape { opacity:1; filter:none; transform:none; }
.filmstrip button.is-in-deck .tape-face,.filmstrip button.is-loading-tape .tape-face,
.archive-card.is-in-deck .archive-card__image,.archive-card.is-loading-tape .archive-card__image { opacity:0; }
.archive-card.is-in-deck::after,.archive-card.is-loading-tape::after { opacity:0; }
.filmstrip button:disabled,.archive-card:disabled { cursor:default; }
.vhs-eject { position:absolute; z-index:5; left:14%; top:14%; width:55%; height:54%; min-height:26px; padding:0; border:0; border-radius:0; color:transparent; background:transparent; cursor:pointer; pointer-events:auto; }
.vhs-eject:focus-visible { outline:1px solid #d4c6a3; outline-offset:2px; }
html[lang="ko"] p,html[lang="ko"] .haewon-caption { word-break:keep-all; overflow-wrap:break-word; line-break:strict; }
html[lang="ja"] p,html[lang^="zh"] p { line-break:strict; word-break:normal; overflow-wrap:break-word; }
html[lang="th"] p { word-break:normal; overflow-wrap:break-word; line-break:auto; }
.record-dialog__copy p { text-wrap:pretty; line-height:1.65; white-space:pre-line; }
html[lang="ko"] .record-dialog__copy h2 { line-height:1.08; }
@media(max-width:340px),(max-height:520px) { .record-dialog__copy p { white-space:normal; } }
.video-model-tags { display:flex; flex-wrap:nowrap; align-items:center; gap:5px; min-width:0; max-width:100%; margin-top:12px; overflow-x:auto; scrollbar-width:thin; }
.record-dialog__copy > .video-model-tags { justify-content:flex-start; }
.video-model-tags[hidden] { display:none; }
.record-dialog__upload-date { display:block; margin-top:7px; font:10px/1.4 var(--mono); letter-spacing:.04em; opacity:.68; }
.record-dialog__upload-date[hidden] { display:none; }
.record-dialog__copy > .record-dialog__upload-date + .video-model-tags { margin-top:9px; }
.video-model-tags span { flex:0 0 auto; padding:3px 6px; border:1px solid #a39c8b66; border-radius:2px; color:inherit; font:400 9px/1.35 var(--body); letter-spacing:.01em; white-space:nowrap; opacity:.72; }
.scrubber__caption > div { min-width:0; }
.archive-card img,.archive-card video,.archive-card:hover img,.archive-card:focus-visible img,.filmstrip img { filter:none; transform:none; }
.archive-card::before,.archive-card::after,.filmstrip button::before { filter:none; }
.vhs-cassette__title { text-align:left; color:#342c20; }
.vhs-cassette__spine { display:flex; align-items:center; justify-content:center; text-align:center; color:#342c20; }
.filmstrip button .tape-paper-title,.archive-tape-title,.vhs-cassette__title { inset:70.5% 10% 9.5%; display:flex; align-items:center; justify-content:flex-start; margin:0; padding:0; max-height:none; transform:none; overflow:hidden; text-align:left; }
.tape-label-text,.filmstrip button .tape-label-text { position:static; inset:auto; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; min-width:0; max-width:100%; margin:0; padding:0; overflow:hidden; background:transparent; color:inherit; font:inherit; letter-spacing:inherit; text-align:inherit; overflow-wrap:anywhere; transform:translateY(var(--tape-ink-offset)); }
.vhs-cassette__spine .tape-label-text { display:block; white-space:nowrap; text-overflow:ellipsis; }
.vhs-dock .vhs-cassette__title { justify-content:center; font-size:max(var(--tape-title-size),7px); line-height:1.2; text-align:center; }
.vhs-dock .vhs-cassette__title .tape-label-text { display:block; white-space:nowrap; text-overflow:ellipsis; }
.vhs-dock .vhs-cassette__spine { font-size:max(var(--tape-spine-size),5px); }
.crt-screen__spark { position:absolute; z-index:8; inset:0; opacity:0; border-radius:inherit; pointer-events:none; background:radial-gradient(ellipse at center,#fffef8 0,#dbe7f2aa 16%,transparent 65%); }
.crt-screen.is-powering-on .crt-screen__spark { animation:crt-spark .6s ease-out both; }
.crt-unit .crt-screen.is-powering-on img,.crt-unit .crt-screen.is-powering-on video { animation:crt-picture-on .6s cubic-bezier(.16,.75,.24,1) both; }
.crt-screen.is-powering-off .crt-screen__spark { animation:crt-spark-off .52s ease-in both; }
.crt-unit .crt-screen.is-powering-off img,.crt-unit .crt-screen.is-powering-off video { animation:crt-picture-off .52s cubic-bezier(.45,0,.7,1) both; transition:none; pointer-events:none; }
@keyframes crt-spark { 0% { opacity:0; transform:scale(.04,.015); } 14% { opacity:.94; transform:scale(.7,.015); } 34% { opacity:.55; transform:scale(1,.04); } 66% { opacity:.12; transform:scale(1); } 100% { opacity:0; transform:scale(1); } }
/* The picture opens along the tube's gentle curve, not a straight line. */
@keyframes crt-picture-on { 0%,12% { clip-path:ellipse(6% .3% at 50% 50%); opacity:0; } 32% { clip-path:ellipse(200% 1% at 50% 50%); opacity:.8; } 78%,100% { clip-path:ellipse(200% 62% at 50% 50%); opacity:1; } }
@keyframes crt-spark-off { 0%,18% { opacity:0; transform:scale(1); } 48% { opacity:.75; transform:scale(1,.018); } 68% { opacity:.65; transform:scale(.65,.014); } 87% { opacity:.5; transform:scale(.025,.025); } 100% { opacity:0; transform:scale(.006,.006); } }
@keyframes crt-picture-off { 0% { opacity:1; transform:scale(1); clip-path:inset(0); } 48% { opacity:1; transform:scale(1,.018); clip-path:inset(0); } 68% { opacity:.85; transform:scale(.65,.014); clip-path:inset(0); } 87% { opacity:.4; transform:scale(.025,.025); clip-path:inset(0); } 100% { opacity:0; transform:scale(.006,.006); clip-path:inset(0); } }
.career-list strong,.career-list .is-current strong { font-family:var(--prose); font-weight:400; line-height:1.5; font-synthesis:none; }
.career-list [data-career-status] { font-family:var(--prose); letter-spacing:0; }
:root { --archive-title-size:clamp(47px,13.5cqw,61px); }
html[lang="ko"] { --archive-title-size:clamp(29px,8.8cqw,38px); }
html[lang="ja"] { --archive-title-size:clamp(39px,12.5cqw,59px); }
html[lang="fr"],html[lang="da"] { --archive-title-size:clamp(42px,11.7cqw,53px); }
html[lang="th"] { --archive-title-size:clamp(36px,10.8cqw,50px); }
#main .hero h1,#main h2,#haewon h1 { font-size:var(--archive-title-size); }
html[lang="ko"] #main .hero h1 { font-weight:700;line-height:1.4; }
html[lang="ko"] #main .hero h1 em { font-size:inherit;font-weight:inherit;font-style:normal; }
#main h2 { max-width:100%; line-height:1.2; overflow-wrap:anywhere; }

/* Only the print and its sleeve move during pickup; the viewing canvas is fixed. */
.haewon-lightbox[open]{animation:none;transform:none}
.haewon-lightbox{overflow:clip}
.haewon-lightbox[data-photo-phase="preparing"] .haewon-lightbox__stage>*{visibility:hidden}
@media(max-width:620px){.haewon-lightbox{position:fixed;inset:0;width:100%;height:auto;margin:0;max-height:none}}

@media(max-width:620px) {
  html:is([lang="fr"],[lang="pt"],[lang="sv"],[lang="fi"]) .hero__intro { max-width:calc(100% - 48px); }
}
@media(max-width:360px) { html[lang] .hero__intro { max-width:calc(100% - 48px); } }

/* Latest episode: a film print in the room, its tape beside it. */
.haewon-episode { position:relative; display:grid; grid-template-columns:minmax(0,1fr); width:min(100%,340px); margin:10px auto 0; padding-bottom:44px; animation:room-rise .7s cubic-bezier(.22,1,.36,1) both; animation-delay:320ms; }
.haewon-episode[hidden] { display:none; }
.haewon-episode__print { position:relative; z-index:1; width:88%; margin:0; padding:8px 8px 10px; color:#575247; background:#e2dbcd url("assets/haewon/paper-fibers.png") repeat; background-size:205px 205px; background-blend-mode:multiply; box-shadow:0 2px 2px #08070540,0 9px 24px #08070535; transform:rotate(-1.5deg); }
.haewon-episode > .haewon-episode__print { grid-area:1/1; will-change:transform,opacity; backface-visibility:hidden; }
.haewon-episode.has-behind { touch-action:pan-y; }
.haewon-episode.has-behind > .haewon-episode__print { margin-left:10%; }
.haewon-episode.is-swapping { pointer-events:none; }
.haewon-episode > .haewon-episode__print.is-front { z-index:1; }
.haewon-episode > .haewon-episode__print.is-behind { z-index:0; opacity:.62; transform:translate(-15%,7px) rotate(-4.5deg) scale(.96); }
.haewon-episode.has-behind:not(.is-swapping) > .haewon-episode__print:not(.is-front,.is-behind) { visibility:hidden; opacity:0; }
.haewon-episode.is-swapping > .haewon-episode__print:not(.is-front,.is-behind) { opacity:0; }
.haewon-episode > .haewon-episode__print::after { content:""; position:absolute; z-index:1; inset:0; opacity:0; pointer-events:none; background:#ded9cf; transition:opacity .7s ease; }
.haewon-episode > .haewon-episode__print.is-behind::after { opacity:.42; }
.haewon-episode > .haewon-episode__print.is-behind .haewon-episode__photo { cursor:pointer; }
.haewon-episode__print img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; filter:saturate(.96) contrast(.985); }
.haewon-episode__print figcaption { min-height:21px; margin:7px 0 0; font:400 13px/1.5 var(--tape-hand); text-align:left; }
.haewon-episode__photo { display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; }
.haewon-episode-view { width:100%; max-width:100%; height:100dvh; max-height:none; margin:0; padding:0; border:0; overflow:hidden; color:#e8dfd0; background:transparent; }
.haewon-episode-view[open] { position:fixed; inset:0; display:block; }
/* Reaches past both edges: an installed iPhone app can leave a band below the viewport. */
.haewon-episode-view::backdrop { top:-120px; bottom:-120px; background:#080909f7; }
.haewon-episode-view[open]::backdrop { animation:photo-dim-in .42s ease both; }
.haewon-episode-view.is-closing::backdrop { animation:photo-dim-out .48s .1s ease both; }
.haewon-episode-view__stage { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; justify-content:safe center; gap:22px; padding:max(calc(24px + var(--safe-top,0px)),min(150px,calc(100dvh - 700px))) 16px calc(82px + var(--safe-bottom,0px)); overflow-y:auto; overscroll-behavior:contain; }
.haewon-episode-view .haewon-episode__print { --s:var(--print-scale,1); flex:none; width:min(100%,560px); padding:calc(8px*var(--s)) calc(8px*var(--s)) calc(10px*var(--s)); background-size:calc(205px*var(--s)) calc(205px*var(--s)); box-shadow:0 calc(2px*var(--s)) calc(2px*var(--s)) #08070540,0 calc(9px*var(--s)) calc(24px*var(--s)) #08070535; will-change:transform; transform:none; transform-origin:50% 50%; }
.haewon-episode-view .haewon-episode__print figcaption { min-height:calc(21px*var(--s)); margin-top:calc(7px*var(--s)); font-size:calc(13px*var(--s)); }
.haewon-episode-view__copy { flex:none; width:min(100%,560px); animation:room-fade .5s .32s ease both; }
.haewon-episode-view.is-closing .haewon-episode-view__copy { animation:none; opacity:0; transition:opacity .16s ease; }
.haewon-episode-view__title { display:flex; align-items:baseline; gap:10px; margin:0 0 10px; color:#f0e8da; font:400 24px/1.25 var(--tape-hand); }
.haewon-episode-view__title span:first-child { flex:none; color:#b5ab99; font:11px/1 var(--mono); letter-spacing:.06em; }
.haewon-episode-view__note { margin:0; color:#d6cebf; font:400 14px/1.85 var(--prose); white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere; }
.haewon-episode-view__actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.haewon-episode-view__actions > * { display:inline-flex; flex:1 1 auto; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border:1px solid #d7cbb84a; border-radius:3px; font:400 13px/1.3 var(--body); text-align:center; text-decoration:none; cursor:pointer; }
.haewon-episode-view__watch { color:#1c1c1a; border-color:#ddd3bf; background:#ddd3bf; }
.haewon-episode-view__instagram { color:#e8dfd0; background:transparent; }
.haewon-episode-view__instagram[hidden] { display:none; }
@media(min-width:900px) {
  .haewon-episode-view__stage { flex-direction:row; gap:44px; padding-inline:64px; }
  .haewon-episode-view .haewon-episode__print { width:min(58vw,640px,calc((100dvh - 150px)*1.36)); }
  .haewon-episode-view__copy { flex:0 1 320px; width:auto; }
  .haewon-episode-view__note { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) { .haewon-episode-view[open]::backdrop,.haewon-episode-view.is-closing::backdrop,.haewon-episode-view__copy { animation:none; } }
.filmstrip.haewon-episode__tape-host { position:absolute; z-index:3; right:-4px; bottom:0; display:block; width:52%; aspect-ratio:1.8; margin:0; padding:0; overflow:visible; scroll-snap-type:none; transform:rotate(3.5deg); transition:transform .35s cubic-bezier(.22,1,.36,1); }
.filmstrip.haewon-episode__tape-host button { display:block; width:100%; height:100%; flex:none; padding:0; border:0; border-radius:0; box-shadow:none; filter:drop-shadow(0 7px 10px #0806055c); will-change:transform; cursor:pointer; }
.filmstrip.haewon-episode__tape-host button .tape-paper-title { font-size:11px; }
.filmstrip.haewon-episode__tape-host:has(button:active) { transform:rotate(3.5deg) translateY(-3px) scale(1.02); }
@media(hover:hover) { .filmstrip.haewon-episode__tape-host:hover { transform:rotate(2deg) translateY(-3px); } }
/* Back from the detail: the tape comes down from the hand and settles on the table. */
/* Lifted and set down, the tape keeps its face even while it counts as in the deck. */
.filmstrip.haewon-episode__tape-host button:is(.is-placing,.is-lifting) .tape-face { opacity:1; }
.filmstrip.haewon-episode__tape-host button:is(.is-placing,.is-lifting)::before { opacity:0; }
.filmstrip.haewon-episode__tape-host button.is-lifting { animation:episode-tape-lift .42s ease both; }
@keyframes episode-tape-lift { to { opacity:0; } }
.filmstrip.haewon-episode__tape-host button.is-placing { animation:episode-tape-place 1s both; }
@keyframes episode-tape-place {
  0% { opacity:0; transform:translate3d(-16px,-104px,0) rotate(-10deg) scale(1.22); filter:drop-shadow(0 34px 24px #08060526); animation-timing-function:cubic-bezier(.3,.1,.3,1); }
  16% { opacity:1; }
  74% { opacity:1; transform:translate3d(0,-4px,0) rotate(-.8deg) scale(1.015); filter:drop-shadow(0 11px 13px #08060552); animation-timing-function:cubic-bezier(.5,0,.7,.5); }
  86% { opacity:1; transform:translate3d(0,1px,0) rotate(.2deg) scale(.994); filter:drop-shadow(0 4px 6px #08060570); animation-timing-function:ease-out; }
  100% { opacity:1; transform:none; filter:drop-shadow(0 7px 10px #0806055c); }
}
@media(prefers-reduced-motion:reduce) { .haewon-episode { animation:none; } .haewon-episode > .haewon-episode__print::after { transition:none; } .filmstrip.haewon-episode__tape-host { transition:none; } .filmstrip.haewon-episode__tape-host button:is(.is-placing,.is-lifting) { animation:none; } }

/* Episode video detail: the same room, the same dark paper and grain. */
.record-dialog.is-episode { --paper:#1c1c1a; --ink:#e5dfd3; --line-dark:#a79b8433; color:#e5dfd3; background:#1c1c1a; }
.record-dialog.is-episode::before { content:""; position:absolute; z-index:0; inset:0; background:url("assets/haewon/grain.svg"); opacity:.12; pointer-events:none; }
.record-dialog.is-episode .record-dialog__sheet { z-index:1; background:transparent; }
.record-dialog.is-episode .record-dialog__bar { background:#1c1c1a; }
.record-dialog.is-episode .record-dialog__signature { color:#d9d2c2; }
.record-dialog.is-episode #recordNote:empty { display:none; }
.record-dialog.is-episode #recordShuffle { display:none; }
.record-dialog.is-episode #recordShare { bottom:calc(76px + var(--safe-bottom)); }
.record-dialog.is-episode .bgm-player { display:none; }
/* With one episode the only tape is in the deck, so its shelf would stay empty. */
.record-dialog.is-episode .record-dialog__carousel { max-height:180px; overflow:hidden; transition:max-height .5s var(--ease-out),margin .5s var(--ease-out),opacity .3s ease; }
.record-dialog.is-episode .record-dialog__carousel:has(.filmstrip > button:only-of-type.is-in-deck) { max-height:0; margin-bottom:0; border-color:transparent; opacity:0; }
.record-dialog.is-episode::backdrop { background:#1c1c1a; backdrop-filter:none; }
.record-dialog.is-episode .record-dialog__copy p { color:#aaa294; }
html:has(#recordDialog.is-episode[open]),html:has(#recordDialog.is-episode[open]) body { background:#1c1c1a; }
.room-apostrophe { margin:0 -.13em 0 -.1em; font-style:normal; }
.record-dialog .for-episode,.record-dialog.is-episode .for-archive { display:none; }
.record-dialog.is-episode .for-episode { display:block; }
.record-dialog.is-episode .crt-tv__room-brand { left:30%; width:40%; color:#d9d2c2; font:400 clamp(13px,4.6cqw,17px)/1 "Mr De Haviland",cursive; text-align:center; white-space:nowrap; }
#recordSource[hidden],#recordLarger[hidden] { display:none; }
.record-dialog__sound { position:absolute; z-index:7; left:50%; bottom:10%; min-height:34px; padding:0 14px; border:1px solid #e5dfd366; border-radius:2px; color:#f1ecdf; background:#1c1c1acc; font:11px/1 var(--mono); transform:translateX(-50%); cursor:pointer; }
.record-dialog__sound[hidden] { display:none; }
