.jh-window-layer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.jh-window-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.jh-window { position: absolute; display: flex; flex-direction: column; box-sizing: border-box; min-width: 0; margin: 0; border: 1px solid #e7e9ed; background: #fffffe; color: #111; box-shadow: 0 17px 42px rgba(51, 65, 85, .18), 0 2px 8px rgba(51, 65, 85, .06); transform: rotate(var(--jh-window-angle, 0deg)); transform-origin: center; pointer-events: auto; animation: jh-window-arrive 160ms ease-out both; }
.jh-window::before, .jh-window::after { position: absolute; width: 18px; height: 18px; content: ''; pointer-events: none; }
.jh-window::before { left: -7px; top: -7px; border-top: 1px solid #1f2937; border-left: 1px solid #1f2937; }
.jh-window::after { right: -7px; bottom: -7px; border-right: 1px solid #1f2937; border-bottom: 1px solid #1f2937; }
.jh-window.is-dragging { user-select: none; box-shadow: 0 24px 52px rgba(51, 65, 85, .22), 0 3px 9px rgba(51, 65, 85, .07); }
.jh-window-toolbar { display: flex; flex: none; min-width: 0; height: 46px; padding: 0 2px 0 8px; }
.jh-window-handle { display: flex; flex: 1; align-items: center; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: #657080; font-family: 'IBM Plex Sans KR', sans-serif; font-size: 14px; text-align: left; cursor: grab; touch-action: none; user-select: none; }
.jh-window.is-dragging .jh-window-handle { cursor: grabbing; }
.jh-window-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-window-close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #111; font: 400 28px/1 'IBM Plex Sans KR', sans-serif; cursor: pointer; touch-action: manipulation; }
.jh-window-handle:focus-visible, .jh-window-close:focus-visible, .jh-window-links a:focus-visible, .jh-window-book-button:focus-visible { outline: 2px solid #2b3bff; outline-offset: -3px; }
.jh-window-body { flex: 1 1 auto; min-height: 0; box-sizing: border-box; padding: 12px 26px 26px; overflow: auto; overscroll-behavior: contain; font-family: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
.jh-window-kicker { margin: 0 0 12px; color: #5a5a55; font-family: 'IBM Plex Mono', 'IBM Plex Sans KR', monospace; font-size: 14px; letter-spacing: .035em; }
.jh-window-heading { margin: 0 0 20px; font-family: 'Gowun Batang', 'Nanum Myeongjo', serif; font-size: clamp(27px, 2.7vw, 36px); font-weight: 400; line-height: 1.38; }
.jh-window-description { margin: 0; font-size: 16px; line-height: 1.8; }
.jh-window-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 22px; }
.jh-window-links a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; box-sizing: border-box; padding: 6px 0; color: #111; font-size: 14px; line-height: 1.6; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.jh-window-links a:hover { color: #2b3bff; }
.jh-window-facts { margin: 0; }
.jh-window-facts > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 8px 0; }
.jh-window-facts dt { color: #6b7280; font-size: 14px; }
.jh-window-facts dd { margin: 0; font-size: 16px; }
.jh-window-intro .jh-window-facts { margin-top: 20px; }
.jh-window-cover .jh-window-body { padding: 8px 16px 18px; }
.jh-window-cover-mat { display: flex; align-items: center; justify-content: center; padding: 24px; background: #f0f1ef; }
.jh-window-cover-mat > .jh-window-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 156px; max-width: 100%; aspect-ratio: 3 / 4; box-sizing: border-box; padding: 18px 14px 12px 20px; border: 0; background: var(--jh-cover-bg, #111); color: var(--jh-cover-fg, #fcfcfa); box-shadow: inset 4px 0 0 #0002, 6px 9px 16px #33415526; transform: none; animation: none; }
.jh-window-cover-mat > .jh-window-cover::before, .jh-window-cover-mat > .jh-window-cover::after { content: none; }
.jh-window-cover-title { font-family: 'Gowun Batang', serif; font-size: 23px; line-height: 1.35; }
.jh-window-cover-mark { align-self: flex-end; font-family: 'East Sea Dokdo', sans-serif; font-size: 27px; line-height: 1; }
.jh-window-book-list { display: grid; }
.jh-window-book-button { display: flex; align-items: center; gap: 14px; min-height: 64px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #e3e5e8; border-radius: 0; background: transparent; color: #111; text-align: left; cursor: pointer; }
.jh-window-book-button:first-child { border-top: 1px solid #e3e5e8; }
.jh-window-book-button:hover { color: #2b3bff; }
.jh-window-book-swatch { flex: none; width: 6px; height: 34px; }
.jh-window-book-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-family: 'IBM Plex Sans KR', sans-serif; font-size: 16px; line-height: 1.6; }
.jh-window-book-status { color: #6b7280; font-size: 14px; }
@keyframes jh-window-arrive { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 699px) { .jh-window-body { padding: 10px 20px 22px; } .jh-window-heading { font-size: 28px; } .jh-window-cover-mat { padding: 18px; } .jh-window-cover-mat > .jh-window-cover { width: 132px; } .jh-window-cover-title { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .jh-window { animation: none; } }
