/* ========== viewer-module.css — 게시판·갤러리 오버레이 (2026-06-01) ========== */
/* ========== viewer-module.css — 갤러리 이미지 라이트박스 (테마·570px·이전/다음) ========== */
.vz-module-image-lightbox { position: fixed; inset: 0; z-index: 13000; display: flex; align-items: center; justify-content: center; padding: 12px 16px 16px; box-sizing: border-box; color: var(--vz-gallery-lightbox-title-fg, #f8fafc); --vz-gallery-lightbox-max-w: 570px; }
.vz-module-image-lightbox.hidden { display: none !important; }
.vz-module-image-lightbox__backdrop { position: absolute; inset: 0; background: var(--vz-gallery-lightbox-backdrop, rgba(15, 23, 42, 0.9)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vz-module-image-lightbox__panel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; width: min(96vw, var(--vz-gallery-lightbox-max-w)); max-width: var(--vz-gallery-lightbox-max-w); max-height: 94vh; box-sizing: border-box; }
.vz-module-image-lightbox__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding-right: 44px; min-height: 32px; }
.vz-module-image-lightbox__title { margin: 0; flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--vz-gallery-lightbox-title-fg, #f8fafc); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-module-image-lightbox__counter { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--vz-gallery-lightbox-muted-fg, #94a3b8); padding: 2px 8px; border-radius: 999px; background: var(--vz-gallery-lightbox-counter-bg, rgba(255, 255, 255, 0.08)); }
.vz-module-image-lightbox__counter:empty { display: none; }
.vz-module-image-lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 80px; overflow: visible; }
.vz-module-image-lightbox__nav { position: relative; z-index: 30; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; background: rgba(15, 23, 42, 0.25); color: var(--vz-gallery-lightbox-nav-fg, #f8fafc); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: none; opacity: 0.12; transition: opacity 0.28s ease, background 0.28s ease, color 0.28s ease, transform 0.2s ease, border-color 0.28s ease, box-shadow 0.28s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.vz-module-image-lightbox__stage:hover .vz-module-image-lightbox__nav:not(.vz-module-image-lightbox__nav--hidden):not(:disabled),
.vz-module-image-lightbox__nav:not(.vz-module-image-lightbox__nav--hidden):not(:disabled):hover,
.vz-module-image-lightbox__nav:not(.vz-module-image-lightbox__nav--hidden):not(:disabled):focus-visible { opacity: 1; border-color: var(--vz-gallery-lightbox-nav-border, rgba(255, 255, 255, 0.28)); background: var(--vz-gallery-lightbox-nav-hover-bg, rgba(56, 189, 248, 0.55)); color: var(--vz-gallery-lightbox-nav-hover-fg, #fff); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45); transform: scale(1.06); }
.vz-module-image-lightbox__nav:disabled { opacity: 0; cursor: default; transform: none; pointer-events: none; }
.vz-module-image-lightbox__nav--hidden { display: none !important; }
.vz-module-image-lightbox__viewport { position: relative; z-index: 1; flex: 1; min-width: 0; min-height: 80px; display: block; max-width: var(--vz-gallery-lightbox-max-w); margin: 0 auto; width: 100%; overflow: hidden; }
.vz-module-image-lightbox__viewport img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; width: auto; height: auto; max-width: min(var(--vz-gallery-lightbox-max-w), 96vw); max-height: calc(92vh - 88px); margin: 0; object-fit: contain; border-radius: 8px; box-shadow: var(--vz-gallery-lightbox-img-shadow, 0 12px 40px rgba(0, 0, 0, 0.45)); background: var(--vz-gallery-lightbox-img-bg, rgba(0, 0, 0, 0.2)); opacity: 0; transition: opacity 1s ease; pointer-events: none; z-index: 1; }
.vz-module-image-lightbox__viewport img.is-visible { opacity: 1; z-index: 2; pointer-events: auto; }
.vz-module-image-lightbox__viewport img.is-fade-out { opacity: 0; z-index: 1; pointer-events: none; }
.vz-module-image-lightbox__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--vz-gallery-lightbox-loading-fg, #38bdf8); font-size: 1.5rem; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
.vz-module-image-lightbox__loading.is-busy { opacity: 1; }
.vz-module-image-lightbox__close { position: absolute; top: 0; right: 0; border: 1px solid var(--vz-gallery-lightbox-nav-border, transparent); background: var(--vz-gallery-lightbox-nav-bg, rgba(255, 255, 255, 0.12)); color: var(--vz-gallery-lightbox-nav-fg, #fff); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease; }
.vz-module-image-lightbox__close:hover { background: var(--vz-gallery-lightbox-nav-hover-bg, rgba(56, 189, 248, 0.35)); color: var(--vz-gallery-lightbox-nav-hover-fg, #fff); }
@media (max-width: 520px) {
  .vz-module-image-lightbox { padding: 10px 8px 14px; }
  .vz-module-image-lightbox__panel { width: 100%; max-width: none; }
  .vz-module-image-lightbox__stage { display: block; gap: 0; min-height: 120px; }
  .vz-module-image-lightbox__viewport { width: 100%; max-width: 100%; min-height: 50vh; }
  .vz-module-image-lightbox__viewport img { max-width: 100vw; max-height: calc(88vh - 72px); }
  .vz-module-image-lightbox__nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; font-size: 18px; opacity: 0.28; }
  .vz-module-image-lightbox__nav--prev { left: max(6px, env(safe-area-inset-left, 0px)); }
  .vz-module-image-lightbox__nav--next { right: max(6px, env(safe-area-inset-right, 0px)); }
  .vz-module-image-lightbox__stage:hover .vz-module-image-lightbox__nav:not(.vz-module-image-lightbox__nav--hidden),
  .vz-module-image-lightbox__nav:not(.vz-module-image-lightbox__nav--hidden):active { opacity: 1; transform: scale(1.06); }
  .vz-module-image-lightbox__head { padding-right: 48px; margin-bottom: 6px; }
  .vz-module-image-lightbox__close { top: 4px; right: 4px; width: 42px; height: 42px; z-index: 40; }
}
/* ========== viewer-module.css — 갤러리 이미지 라이트박스 end ========== */
/* ========== viewer-module.css — 갤러리 슬라이드쇼(전체 화면) ========== */
.vz-gallery-slideshow { position: fixed; inset: 0; z-index: 13100; display: flex; align-items: center; justify-content: center; padding: 12px; box-sizing: border-box; }
.vz-gallery-slideshow.hidden { display: none !important; }
.vz-gallery-slideshow__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.92); }
.vz-gallery-slideshow__panel { position: relative; z-index: 1; width: min(96vw, 960px); max-height: 94vh; display: flex; flex-direction: column; align-items: stretch; }
.vz-gallery-slideshow__title { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: #f8fafc; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 44px; }
.vz-gallery-slideshow__body { flex: 1; min-height: 0; width: 100%; height: min(72vh, 640px); }
.vz-gallery-slideshow__close { position: absolute; top: -4px; right: 0; border: none; background: rgba(255, 255, 255, 0.14); color: #fff; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; z-index: 2; }
/* ========== viewer-module.css — 갤러리 슬라이드쇼 end ========== */
/* ========== viewer-module.css — 갤러리 슬라이딩(객체 크기 100% 맞춤) ========== */
.vz-module-layer-widget--gallery-slide { padding: 0; overflow: hidden; }
.vz-module-layer-gallery-slide,
.vz-module-layer-gallery-slide .zine-slide-player,
.vz-module-layer-gallery-slide .zine-slide-viewport { width: 100%; height: 100%; box-sizing: border-box; }
.vz-module-layer-gallery-slide .zine-slide-track--horizontal { width: 100%; height: 100%; }
.vz-module-layer-gallery-slide .zine-slide-track--horizontal img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.vz-module-layer-gallery-slide .zine-slide-track--fade { width: 100%; height: 100%; }
.vz-module-layer-gallery-slide .zine-slide-fade-img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* 2026-06-01: 갤러리 슬라이드 — 장면 전환 시 세로 높이 부드럽게(슬라이드 작동시간과 동기) */
.vz-module-layer-widget--gallery-slide { --vz-gallery-slide-resize-dur: 0.5s; }
.vz-module-layer-widget--gallery-slide.vz-gallery-slide-height-animate,
.vz-module-layer-widget--gallery-list.vz-gallery-slide-height-animate,
.vz-module-layer-widget--gallery-preview.vz-gallery-slide-height-animate,
.vz-module-layer-widget--gallery-detail.vz-module-layer-widget--gallery-slide.vz-gallery-slide-height-animate,
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-slide.vz-gallery-slide-height-animate,
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-list.vz-gallery-slide-height-animate,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-slide.vz-gallery-slide-height-animate,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-list.vz-gallery-slide-height-animate,
#canvas-interactive-zone [id^="canvas-obj-"].vz-module-layer-widget--gallery-slide.vz-gallery-slide-height-animate,
#canvas-interactive-zone [id^="canvas-obj-"].vz-module-layer-widget--gallery-list.vz-gallery-slide-height-animate { transition: height var(--vz-gallery-slide-resize-dur, 0.5s) ease, max-height var(--vz-gallery-slide-resize-dur, 0.5s) ease; }
.vz-gallery-slide-height-animate .vz-gallery-layer-panel,
.vz-gallery-slide-height-animate .vz-module-layer-gallery-slide,
.vz-gallery-slide-height-animate .vz-gallery-layer-detail-slide,
.vz-gallery-slide-height-animate .vz-gallery-layer-panel__body--slide { transition: height var(--vz-gallery-slide-resize-dur, 0.5s) ease, max-height var(--vz-gallery-slide-resize-dur, 0.5s) ease; }
@media (prefers-reduced-motion: reduce) { .vz-gallery-slide-height-animate, .vz-gallery-slide-height-animate .vz-gallery-layer-panel, .vz-gallery-slide-height-animate .vz-module-layer-gallery-slide, .vz-gallery-slide-height-animate .vz-gallery-layer-detail-slide { transition: none !important; } }
.vz-gallery-slideshow__body .zine-slide-player,
.vz-gallery-slideshow__body .zine-slide-viewport { width: 100%; height: 100%; min-height: 240px; box-sizing: border-box; }
.vz-gallery-slideshow__body .zine-slide-track--horizontal img { width: 100%; height: 100%; object-fit: fill; display: block; }
.vz-gallery-slideshow__body .zine-slide-fade-img { width: 100%; height: 100%; object-fit: fill; }
/* ========== viewer-module.css — 갤러리 슬라이딩 end ========== */
/* ========== viewer-module.css — 캔버스 board/gallery 위젯 ========== */
.vz-module-layer-widget { display: flex; align-items: stretch; justify-content: stretch; background: var(--vz-gallery-layer-widget-bg, linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88))); border: 1px dashed var(--vz-gallery-layer-widget-border, rgba(56, 189, 248, 0.45)); border-radius: 10px; box-sizing: border-box; overflow: hidden; }
.vz-module-layer-widget__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; padding: 8px; text-align: center; box-sizing: border-box; }
.vz-module-layer-widget__icon { font-size: 1.35rem; color: var(--vz-gallery-layer-widget-icon-fg, #38bdf8); }
.vz-module-layer-widget__title { font-size: 12px; font-weight: 700; color: var(--vz-gallery-layer-widget-title-fg, #f8fafc); }
.vz-module-layer-widget__code { font-size: 10px; color: var(--vz-gallery-layer-muted-fg, #94a3b8); background: var(--vz-gallery-layer-count-bg, rgba(0, 0, 0, 0.25)); padding: 2px 6px; border-radius: 4px; }
.vz-module-layer-widget__scope { font-size: 9px; color: var(--vz-gallery-layer-icon-fg, #a5b4fc); }
.vz-module-layer-widget__hint { font-size: 9px; color: var(--vz-gallery-layer-widget-hint-fg, #64748b); margin-top: 2px; }
.vz-module-layer-widget--gallery-preview { border-style: solid; border-color: var(--vz-gallery-layer-border, rgba(15, 23, 42, 0.85)); background: var(--vz-gallery-layer-bg, #0f172a); padding: 0; position: relative; container-type: inline-size; container-name: vz-gallery-layer; }
.vz-module-layer-widget--loading { border-style: dashed; border-color: var(--vz-gallery-layer-border, rgba(148, 163, 184, 0.35)); }
.vz-module-layer-gallery-preview.vz-module-gallery-grid { width: 100%; height: 100%; gap: 4px; padding: 4px; box-sizing: border-box; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; align-content: start; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@container vz-gallery-layer (max-width: 480px) { .vz-module-layer-gallery-preview.vz-module-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.vz-module-layer-widget--gallery-preview .vz-module-gallery-cell { border-radius: 6px; min-height: 0; }
.vz-module-layer-widget--gallery-preview .vz-module-gallery-cell:focus-visible { outline: 2px solid var(--vz-gallery-layer-focus, #38bdf8); outline-offset: -1px; z-index: 1; }
.vz-module-layer-gallery-preview--loading { display: flex; align-items: center; justify-content: center; color: var(--vz-gallery-layer-loading-fg, #38bdf8); font-size: 1rem; min-height: 48px; width: 100%; height: 100%; }
.vz-module-layer-gallery-preview__badge { position: absolute; right: 4px; bottom: 4px; z-index: 2; font-size: 8px; color: var(--vz-gallery-layer-count-fg, #e2e8f0); background: var(--vz-gallery-layer-count-bg, rgba(15, 23, 42, 0.75)); padding: 2px 5px; border-radius: 4px; border: none; cursor: pointer; }
.vz-module-layer-gallery-preview__badge:hover { background: var(--vz-gallery-layer-btn-hover-bg, rgba(56, 189, 248, 0.35)); color: var(--vz-gallery-layer-btn-hover-fg, #fff); }
.vz-module-layer-widget__inner--empty { padding: 6px; }
.vz-module-layer-widget__inner--guide { gap: 6px; padding: 10px 8px; }
.vz-module-layer-widget__hint--guide { color: var(--vz-accent, #fbbf24); line-height: 1.35; font-size: 9px; }
.vz-module-layer-widget__inner--editor-gallery { gap: 5px; padding: 10px 8px; }
.vz-module-layer-widget__hint--editor-gallery { color: var(--vz-gallery-layer-muted-fg, #94a3b8); line-height: 1.35; font-size: 9px; text-align: center; }
.vz-module-layer-widget__link { font-size: 9px; color: var(--vz-gallery-layer-widget-icon-fg, #38bdf8); text-decoration: underline; margin-top: 4px; }
.vz-module-layer-board-preview__list { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; max-height: 48px; overflow: hidden; }
.vz-module-layer-board-preview__list li { font-size: 9px; color: var(--vz-gallery-layer-muted-fg, #cbd5e1); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 1px 0; }
.vz-module-layer-gallery-slide { position: relative; width: 100%; height: 100%; box-sizing: border-box; overflow: hidden; }
/* ========== viewer-module.css — 레이어 갤러리 목록(카드 UI) start ========== */
/* 2026-06-01: 갤러리 여백 토큰 — JS 실측·에디터 안내와 동일 기준 */
.vz-gallery-layer-panel { --vz-gallery-head-pad-y: 8px; --vz-gallery-head-pad-x: 10px; --vz-gallery-head-gap: 8px; --vz-gallery-head-icon: 28px; --vz-gallery-head-border: 1px; --vz-gallery-body-pad: 8px; --vz-gallery-body-pad-list-y: 10px; --vz-gallery-body-pad-list-x: 12px; --vz-gallery-body-pad-list-bottom: 16px; --vz-gallery-grid-gap: 8px; }
.vz-module-layer-widget--gallery-list { border: 1px solid var(--vz-gallery-layer-border, transparent); background: var(--vz-gallery-layer-bg-gradient, linear-gradient(160deg, #0c1222 0%, #111827 45%, #0f172a 100%)); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--vz-gallery-layer-title-fg, #fff) 8%, transparent); }
.vz-module-layer-widget--gallery-detail { border: 1px solid var(--vz-gallery-layer-border, transparent); background: var(--vz-gallery-layer-bg-gradient, linear-gradient(160deg, #0c1222 0%, #111827 45%, #0f172a 100%)); }
/* 2026-06-01: 객체 세로(h) = 헤더(실측) + 본문 flex — 반응형 시 ResizeObserver로 --vz-gallery-layer-head-h 갱신 */
.vz-module-layer-widget--gallery-list,
.vz-module-layer-widget--gallery-detail { display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; min-height: 0; max-height: 100%; box-sizing: border-box; position: relative; top: auto; margin: 0; padding: 0; }
.vz-module-layer-widget--gallery-list > .vz-gallery-layer-panel,
.vz-module-layer-widget--gallery-detail > .vz-gallery-layer-panel { flex: 1 1 0; min-height: 0; max-height: 100%; height: 100%; width: 100%; margin: 0; }
/* 2026-06-01: 타이포 rem — viewer-theme.css 토큰(웹진 카드와 동일), 그리드만 container */
/* 2026-06-01: 좁은 레이어 — px(570)로 스테이지 scale 축소 시 푸터(0.85rem)와 비슷한 체감 */
.vz-gallery-layer-panel { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; max-height: 100%; box-sizing: border-box; overflow: hidden; margin: 0; padding: 0; color: var(--vz-gallery-layer-title-fg, #f8fafc); container-type: inline-size; container-name: vz-gallery-layer; font-family: inherit; line-height: 1.5; --vz-gallery-font-title: 21px; --vz-gallery-font-sub: 17px; --vz-gallery-font-card: 20px; --vz-gallery-font-badge: 15px; --vz-gallery-font-page: 16px; --vz-gallery-font-stack: 17px; --vz-gallery-head-icon-size: 36px; --vz-gallery-head-btn-size: 38px; --vz-gallery-head-pad-y: 10px; --vz-gallery-head-pad-x: 12px; }
/* 2026-06-01: PC·태블릿(600+) + 레이어 400px+ — 푸터(.vz-foot 0.85rem)와 동일 rem */
@media (min-width: 600px) { @container vz-gallery-layer (min-width: 400px) { .vz-gallery-layer-panel { --vz-gallery-font-title: 0.9rem; --vz-gallery-font-sub: 0.85rem; --vz-gallery-font-card: 0.85rem; --vz-gallery-font-badge: 0.72rem; --vz-gallery-font-page: 0.85rem; --vz-gallery-font-stack: 0.85rem; --vz-gallery-head-icon-size: 1.75rem; --vz-gallery-head-btn-size: 1.875rem; --vz-gallery-head-pad-y: 8px; --vz-gallery-head-pad-x: 10px; } } }
/* 2026-06-01: 모바일 — 스테이지 scale 보정 px(레이어 400px+여도 rem 미적용), 푸터 체감 맞춤 */
@media (max-width: 599px) {
  /* viewer-module.css start: gallery layer mobile typo */
  .vz-gallery-layer-panel { --vz-gallery-font-title: 22px; --vz-gallery-font-sub: 18px; --vz-gallery-font-card: 21px; --vz-gallery-font-badge: 16px; --vz-gallery-font-page: 17px; --vz-gallery-font-stack: 18px; --vz-gallery-head-icon-size: 38px; --vz-gallery-head-btn-size: 40px; --vz-gallery-head-pad-y: 10px; --vz-gallery-head-pad-x: 12px; }
  /* viewer-module.css end: gallery layer mobile typo */
}
.vz-gallery-layer-panel__head { display: flex; align-items: center; gap: var(--vz-gallery-head-gap, 8px); flex: 0 0 auto; flex-shrink: 0; margin: 0; padding: var(--vz-gallery-head-pad-y, 10px) var(--vz-gallery-head-pad-x, 12px); box-sizing: border-box; min-height: calc(var(--vz-gallery-head-icon-size, 2rem) + var(--vz-gallery-head-pad-y, 10px) * 2); background: var(--vz-gallery-layer-head-bg, linear-gradient(90deg, rgba(14, 165, 233, 0.18) 0%, transparent 100%)); border-bottom: var(--vz-gallery-head-border, 1px) solid var(--vz-gallery-layer-head-border, rgba(148, 163, 184, 0.12)); }
.vz-gallery-layer-panel__head--detail { padding-left: 8px; }
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__list-btn,
.vz-gallery-layer-panel__head--detail .vz-board-layer-panel__list-btn { margin-left: auto; }
.vz-gallery-layer-panel__icon { display: flex; align-items: center; justify-content: center; width: var(--vz-gallery-head-icon-size, 2rem); height: var(--vz-gallery-head-icon-size, 2rem); border-radius: 8px; background: var(--vz-gallery-layer-icon-bg, rgba(56, 189, 248, 0.2)); color: var(--vz-gallery-layer-icon-fg, #7dd3fc); font-size: 1rem; flex-shrink: 0; }
.vz-gallery-layer-panel__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vz-gallery-layer-panel__name { font-size: var(--vz-gallery-font-title, 21px); font-weight: 500; color: var(--vz-gallery-layer-title-fg, #f8fafc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.02em; line-height: 1.5; }
.vz-gallery-layer-panel__count { font-size: var(--vz-gallery-font-sub, 17px); color: var(--vz-gallery-layer-muted-fg, #94a3b8); font-weight: 500; line-height: 1.5; }
.vz-gallery-layer-panel__chip { flex-shrink: 0; width: var(--vz-gallery-head-icon-size, 2rem); height: var(--vz-gallery-head-icon-size, 2rem); border: 1px solid var(--vz-gallery-layer-border, transparent); border-radius: 8px; background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.08)); color: var(--vz-gallery-layer-btn-fg, #bae6fd); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease; }
.vz-gallery-layer-panel__chip:hover { background: var(--vz-gallery-layer-btn-hover-bg, rgba(56, 189, 248, 0.35)); color: var(--vz-gallery-layer-btn-hover-fg, #fff); transform: scale(1.05); }
.vz-gallery-layer-panel__chip:focus-visible { outline: 2px solid var(--vz-gallery-layer-focus, #38bdf8); outline-offset: 2px; }
.vz-gallery-layer-panel__back { flex-shrink: 0; width: var(--vz-gallery-head-btn-size, 2.125rem); height: var(--vz-gallery-head-btn-size, 2.125rem); border: 1px solid var(--vz-gallery-layer-border, transparent); border-radius: 8px; background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.08)); color: var(--vz-gallery-layer-btn-fg, #e2e8f0); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: background 0.15s ease, color 0.15s ease; }
.vz-gallery-layer-panel__back:hover { background: var(--vz-gallery-layer-btn-hover-bg, rgba(56, 189, 248, 0.3)); color: var(--vz-gallery-layer-btn-hover-fg, #fff); }
.vz-gallery-layer-panel__body { flex: 1 1 0; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0; padding: var(--vz-gallery-body-pad, 8px); box-sizing: border-box; }
.vz-gallery-layer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--vz-gallery-grid-gap, 8px); width: 100%; box-sizing: border-box; margin: 0; }
@container vz-gallery-layer (min-width: 421px) { .vz-gallery-layer-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.vz-gallery-layer-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; margin: 0; border: 1px solid var(--vz-gallery-layer-border, transparent); border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--vz-gallery-layer-card-bg, rgba(30, 41, 59, 0.65)); box-shadow: var(--vz-gallery-layer-card-shadow, 0 2px 8px rgba(0, 0, 0, 0.25)); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; text-align: left; }
.vz-gallery-layer-card:hover { transform: translateY(-2px); box-shadow: var(--vz-gallery-layer-card-shadow-hover, 0 6px 16px rgba(14, 165, 233, 0.22)); border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #38bdf8) 35%, transparent); }
.vz-gallery-layer-card:focus-visible { outline: 2px solid var(--vz-gallery-layer-focus, #38bdf8); outline-offset: 2px; }
.vz-gallery-layer-card__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--vz-gallery-layer-card-media-bg, #1e293b); }
.vz-gallery-layer-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.vz-gallery-layer-card:hover .vz-gallery-layer-card__media img { transform: scale(1.06); }
.vz-gallery-layer-card__shade { position: absolute; inset: 0; background: var(--vz-gallery-layer-card-shade, linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.75) 100%)); pointer-events: none; }
.vz-gallery-layer-card__count { position: absolute; right: 6px; top: 6px; z-index: 1; font-size: var(--vz-gallery-font-badge, 0.72rem); font-weight: 600; color: var(--vz-gallery-layer-count-fg, #f8fafc); background: var(--vz-gallery-layer-count-bg, rgba(15, 23, 42, 0.72)); backdrop-filter: blur(4px); padding: 4px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.vz-gallery-layer-card__title { display: block; padding: 6px 10px 10px; font-size: var(--vz-gallery-font-card, 20px); font-weight: 500; line-height: 1.5; color: var(--vz-gallery-layer-card-title-fg, #e2e8f0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--vz-gallery-layer-card-title-bg, rgba(15, 23, 42, 0.55)); }
.vz-gallery-layer-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; box-sizing: border-box; grid-auto-rows: auto; align-items: start; }
@container vz-gallery-layer (min-width: 421px) { .vz-gallery-layer-photos { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.vz-gallery-layer-photo { position: relative; display: block; width: 100%; height: auto; aspect-ratio: auto; padding: 0; border: 1px solid var(--vz-gallery-layer-border, transparent); border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--vz-gallery-layer-photo-bg, #1e293b); box-shadow: var(--vz-gallery-layer-card-shadow, 0 1px 4px rgba(0, 0, 0, 0.2)); transition: box-shadow 0.15s ease, border-color 0.15s ease; line-height: 0; }
.vz-gallery-layer-photo:hover { box-shadow: var(--vz-gallery-layer-photo-shadow-hover, 0 4px 12px rgba(14, 165, 233, 0.25)); border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #38bdf8) 35%, transparent); }
.vz-gallery-layer-photo img { width: 100%; height: auto; max-width: 100%; object-fit: contain; object-position: center; display: block; vertical-align: top; }
.vz-gallery-layer-photo__idx { position: absolute; left: 4px; bottom: 4px; font-size: var(--vz-gallery-font-badge, 0.72rem); font-weight: 600; color: var(--vz-gallery-layer-count-fg, #fff); background: var(--vz-gallery-layer-photo-idx-bg, rgba(15, 23, 42, 0.7)); padding: 3px 7px; border-radius: 4px; }
.vz-gallery-layer-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 80px; padding: 16px; text-align: center; box-sizing: border-box; }
.vz-gallery-layer-empty__icon { width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--vz-gallery-layer-empty-icon-bg, rgba(56, 189, 248, 0.12)); color: var(--vz-gallery-layer-empty-icon-fg, #38bdf8); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.vz-gallery-layer-empty__title { margin: 0; font-size: var(--vz-gallery-font-title, 0.98rem); font-weight: 500; color: var(--vz-gallery-layer-title-fg, #f1f5f9); line-height: 1.45; }
.vz-gallery-layer-empty__hint { margin: 0; font-size: var(--vz-gallery-font-sub, 0.78rem); color: var(--vz-gallery-layer-muted-fg, #64748b); line-height: 1.45; }
.vz-gallery-layer-empty__hint--inline { padding: 12px; text-align: center; color: var(--vz-gallery-layer-muted-fg, #64748b); }
.vz-gallery-layer-panel--detail .vz-gallery-layer-panel__body { display: flex; flex-direction: column; min-height: 0; }
.vz-gallery-layer-panel__body--slide { flex: 1 1 0; min-height: 0; max-height: none; margin: 0; padding: 4px; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; }
.vz-gallery-layer-panel__body--grid { overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.vz-gallery-layer-detail-slide { flex: 1; width: 100%; min-height: 0; height: 100%; box-sizing: border-box; overflow: hidden; }
.vz-gallery-layer-panel--detail-slide .vz-module-layer-gallery-slide,
.vz-gallery-layer-panel--detail-slide .vz-gallery-layer-detail-slide .zine-slide-player,
.vz-gallery-layer-panel--detail-slide .vz-gallery-layer-detail-slide .zine-slide-viewport { width: 100%; height: 100%; min-height: 0; box-sizing: border-box; }
.vz-gallery-layer-panel--detail-slide .vz-gallery-layer-detail-slide .zine-slide-track--horizontal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vz-gallery-layer-panel--detail-slide .vz-gallery-layer-detail-slide .zine-slide-fade-img { width: 100%; height: 100%; object-fit: cover; }
.vz-module-layer-widget--gallery-list .vz-module-layer-gallery-preview__badge { display: none; }
.vz-gallery-layer-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--vz-gallery-layer-head-border, rgba(148, 163, 184, 0.12)); flex-shrink: 0; }
.vz-gallery-layer-pagination--done { border-top-style: dashed; }
.vz-gallery-layer-pagination__stat { font-size: var(--vz-gallery-font-sub, 0.78rem); color: var(--vz-gallery-layer-muted-fg, #94a3b8); font-weight: 500; }
.vz-gallery-layer-page-btn { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--vz-gallery-layer-border, transparent); background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.08)); color: var(--vz-gallery-layer-btn-fg, #e2e8f0); font-size: var(--vz-gallery-font-page, 0.85rem); font-weight: 600; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.vz-gallery-layer-page-btn--more { background: var(--vz-gradient, linear-gradient(135deg, #2563eb, #1a56a8)); color: #fff; border-color: transparent; }
.vz-gallery-layer-page-btn--more:hover:not(:disabled) { background: var(--vz-gradient-accent, linear-gradient(135deg, #f97316, #e85d3a)); color: #fff; }
.vz-gallery-layer-page-btn:disabled { opacity: 0.55; cursor: default; }
/* ========== viewer-module.css — 갤러리 아래 나열(list) start ========== */
.vz-gallery-layer-panel--detail-list .vz-gallery-layer-panel__body--list { flex: 1 1 0; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0; padding: var(--vz-gallery-body-pad-list-y, 10px) var(--vz-gallery-body-pad-list-x, 12px) var(--vz-gallery-body-pad-list-bottom, 16px); box-sizing: border-box; }
.vz-gallery-layer-stack { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 100%; box-sizing: border-box; }
.vz-gallery-layer-stack__item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; }
/* 2026-06-01: 아래 나열 — vz-module-gallery-cell(정사각형) 미적용, 원본 비율 */
.vz-gallery-layer-stack__frame { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; padding: 0; margin: 0 auto; border: 1px solid var(--vz-gallery-layer-border, rgba(148, 163, 184, 0.18)); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--vz-gallery-layer-card-media-bg, #1e293b); box-shadow: var(--vz-gallery-layer-card-shadow, 0 4px 16px rgba(0, 0, 0, 0.3)); transition: box-shadow 0.2s ease, border-color 0.2s ease; line-height: 0; }
.vz-gallery-layer-stack__frame:hover { box-shadow: var(--vz-gallery-layer-card-shadow-hover, 0 10px 24px rgba(14, 165, 233, 0.3)); border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #38bdf8) 42%, transparent); }
.vz-gallery-layer-stack__frame:focus-visible { outline: 2px solid var(--vz-gallery-layer-focus, #38bdf8); outline-offset: 3px; }
.vz-gallery-layer-stack__frame img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; object-position: center; margin: 0 auto; vertical-align: top; }
.vz-gallery-layer-stack__frame.vz-module-gallery-cell { aspect-ratio: auto; width: 100%; height: auto; border-radius: 12px; }
.vz-gallery-layer-stack__frame.vz-module-gallery-cell img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.vz-gallery-layer-stack__num { font-size: var(--vz-gallery-font-stack, 17px); font-weight: 500; color: var(--vz-gallery-layer-muted-fg, #94a3b8); letter-spacing: 0.02em; line-height: 1.5; }
.vz-module-layer-widget--gallery-detail-list { border: 1px solid var(--vz-gallery-layer-border, transparent); }
/* ========== viewer-module.css — 갤러리 아래 나열(list) end ========== */
/* ========== viewer-module.css — 레이어 갤러리 목록(카드 UI) end ========== */
/* ========== viewer-module.css — 레이어 게시판 목록 start ========== */
/* 2026-06-01: 게시판·목록 — viewer-theme 갤러리 레이어 토큰과 동일(테마 연동) */
.vz-module-layer-widget--board-list { border: 1px solid var(--vz-gallery-layer-border, transparent); background: var(--vz-gallery-layer-bg-gradient, linear-gradient(160deg, #0c1222 0%, #111827 45%, #0f172a 100%)); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--vz-gallery-layer-title-fg, #fff) 8%, transparent); display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; min-height: 0; max-height: 100%; box-sizing: border-box; position: relative; padding: 0; }
.vz-module-layer-widget--board-list > .vz-board-layer-panel { flex: 1 1 0; min-height: 0; max-height: 100%; height: 100%; width: 100%; margin: 0; background: var(--vz-gallery-layer-bg, transparent); }
.vz-module-layer-widget--board-list .vz-board-layer-panel__body--feed,
.vz-module-layer-widget--board-list .vz-board-layer-panel__body--cards { background: var(--vz-gallery-layer-body-bg, var(--vz-gallery-layer-bg, var(--vz-card, #fff))); }
/* 2026-06-03: 게시판 목록 헤드 — 제목·아이콘·전체보기 버튼 가독 */
.vz-board-layer-panel__head .vz-gallery-layer-panel__name { font-weight: 600; }
.vz-board-layer-panel__head .vz-board-layer-panel__webzine,
.vz-gallery-layer-panel__head .vz-gallery-layer-panel__webzine { font-weight: 500; }
.vz-board-layer-panel__head .vz-gallery-layer-panel__icon,
.vz-board-layer-panel__head .vz-gallery-layer-panel__chip { border: 1px solid color-mix(in srgb, var(--vz-gallery-layer-focus, #1a56a8) 40%, var(--vz-gallery-layer-border, rgba(148, 163, 184, 0.3))); box-shadow: 0 1px 3px color-mix(in srgb, var(--vz-gallery-layer-title-fg, #1c1917) 12%, transparent); }
.vz-board-layer-panel__head .vz-gallery-layer-panel__icon { background: var(--vz-gallery-layer-icon-bg, rgba(56, 189, 248, 0.2)); color: var(--vz-gallery-layer-icon-fg, var(--vz-gallery-layer-focus, #1a56a8)); font-size: 1.05rem; }
.vz-board-layer-panel__head .vz-gallery-layer-panel__icon i { font-weight: 900; }
.vz-board-layer-panel__head .vz-gallery-layer-panel__chip { background: var(--vz-gallery-layer-icon-bg, var(--vz-gallery-layer-btn-bg)); color: var(--vz-gallery-layer-icon-fg, var(--vz-gallery-layer-focus, #1a56a8)); font-size: 1.05rem; }
.vz-board-layer-panel__head .vz-gallery-layer-panel__chip i { font-weight: 900; }
.vz-board-layer-panel__head .vz-gallery-layer-panel__chip:hover { background: var(--vz-gallery-layer-btn-hover-bg); color: var(--vz-gallery-layer-btn-hover-fg, var(--vz-gallery-layer-focus)); border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #1a56a8) 55%, transparent); box-shadow: 0 2px 6px color-mix(in srgb, var(--vz-gallery-layer-focus, #1a56a8) 22%, transparent); transform: scale(1.05); }
.vz-board-layer-panel__head { background: var(--vz-gallery-layer-head-bg, linear-gradient(90deg, rgba(14, 165, 233, 0.18) 0%, transparent 100%)); }
/* 2026-06-01: 게시판 목록 — 공지 앱 스타일 피드(날짜 위·제목·구분선·chevron) */
.vz-board-layer-panel__body--feed { padding: 0; }
.vz-board-layer-panel__body--cards { padding: var(--vz-gallery-body-pad, 8px); }
.vz-board-feed { display: flex; flex-direction: column; width: 100%; margin: 0; padding: 0; box-sizing: border-box; background: color-mix(in srgb, var(--vz-gallery-layer-title-fg, #fff) 3%, transparent); }
.vz-board-feed--card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vz-gallery-grid-gap, 8px); background: transparent; align-items: stretch; }
@container vz-gallery-layer (max-width: 380px) { .vz-board-feed--card { grid-template-columns: 1fr; } }
button.vz-board-layer-card { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0; padding: 10px 12px 10px 14px; border: 1px solid var(--vz-gallery-layer-border, transparent); border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--vz-gallery-layer-card-bg, rgba(30, 41, 59, 0.65)); box-shadow: var(--vz-gallery-layer-card-shadow, 0 2px 8px rgba(0, 0, 0, 0.25)); color: inherit; text-align: left; font: inherit; box-sizing: border-box; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; text-decoration: none; min-height: 0; }
button.vz-board-layer-card:hover { transform: translateY(-2px); box-shadow: var(--vz-gallery-layer-card-shadow-hover, 0 6px 16px rgba(14, 165, 233, 0.22)); border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #38bdf8) 35%, transparent); }
button.vz-board-layer-card:focus-visible { outline: 2px solid var(--vz-gallery-layer-focus, #38bdf8); outline-offset: 2px; }
.vz-board-layer-card__body { flex: 1 1 0; display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; }
.vz-board-layer-card__chev { flex-shrink: 0; width: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--vz-gallery-layer-muted-fg, #94a3b8); font-size: 0.7rem; opacity: 0.65; }
.vz-board-layer-card__tag { flex-shrink: 0; margin-right: 3px; font-weight: 500; color: inherit; }
.vz-board-layer-card.is-notice .vz-board-layer-card__tag { color: var(--vz-gallery-layer-focus, #38bdf8); }
.vz-board-layer-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: calc(var(--vz-gallery-font-sub, 0.85rem) + 0.1rem); font-weight: 400; line-height: 1.65; color: var(--vz-gallery-layer-card-title-fg, var(--vz-gallery-layer-title-fg, #e2e8f0)); word-break: break-word; }
.vz-board-layer-card__meta { font-size: var(--vz-gallery-font-badge, 0.72rem); font-weight: 400; color: var(--vz-gallery-layer-muted-fg, #94a3b8); line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vz-board-layer-card__views { font-weight: 400; opacity: 0.88; }
@container vz-gallery-layer (max-width: 300px) { .vz-board-layer-card__views { display: none; } }
button.vz-board-feed-item, a.vz-board-feed-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0; padding: 15px 12px 15px 14px; border: none; border-bottom: 1px solid var(--vz-gallery-layer-head-border, rgba(148, 163, 184, 0.2)); border-radius: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; font: inherit; box-sizing: border-box; transition: background 0.15s ease; text-decoration: none; }
.vz-board-feed-item:last-child { border-bottom: none; }
.vz-board-feed-item:hover { background: var(--vz-gallery-layer-btn-hover-bg, rgba(148, 163, 184, 0.1)); }
.vz-board-feed-item:focus-visible { outline: 2px solid var(--vz-gallery-layer-focus, #38bdf8); outline-offset: -2px; }
.vz-board-feed-item__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.vz-board-feed-item__date { font-size: var(--vz-gallery-font-badge, 0.72rem); font-weight: 400; color: var(--vz-gallery-layer-muted-fg, #94a3b8); line-height: 1.35; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.vz-board-feed-item__meta { font-weight: 400; opacity: 0.88; }
/* 2026-06-03: 피드 제목 — 본문(.vz-board-layer-detail__article)과 동일 타이포(본문 규칙은 수정하지 않음) */
.vz-board-feed-item__title { display: flex; align-items: baseline; gap: 0; width: 100%; min-width: 0; font-size: calc(var(--vz-gallery-font-sub, 0.85rem) + 0.1rem); font-weight: 400; line-height: 1.65; color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); }
.vz-board-feed-item__tag { flex-shrink: 0; margin-right: 3px; color: inherit; font-weight: 500; }
.vz-board-feed-item.is-notice .vz-board-feed-item__tag { color: var(--vz-gallery-layer-focus, #38bdf8); }
.vz-board-feed-item__title-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.vz-board-feed-item__chev { flex-shrink: 0; width: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--vz-gallery-layer-muted-fg, #94a3b8); font-size: 0.7rem; opacity: 0.65; }
@container vz-gallery-layer (max-width: 300px) { .vz-board-feed-item__meta { display: none; } }
.vz-board-layer-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--vz-gallery-layer-head-border, rgba(148, 163, 184, 0.12)); flex-shrink: 0; }
.vz-board-layer-pagination__stat { font-size: var(--vz-gallery-font-sub, 0.78rem); color: var(--vz-gallery-layer-muted-fg, #94a3b8); font-weight: 500; min-width: 4.5em; text-align: center; }
.vz-board-layer-page-btn { width: 2.25rem; height: 2.25rem; border-radius: 8px; border: 1px solid var(--vz-gallery-layer-border, transparent); background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.08)); color: var(--vz-gallery-layer-btn-fg, #e2e8f0); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; }
.vz-board-layer-page-btn:hover:not(:disabled) { background: var(--vz-gallery-layer-btn-hover-bg, rgba(56, 189, 248, 0.35)); color: var(--vz-gallery-layer-btn-hover-fg, #fff); }
.vz-board-layer-page-btn:disabled { opacity: 0.45; cursor: default; }
.vz-module-layer-board-preview--loading { display: flex; align-items: center; justify-content: center; color: var(--vz-gallery-layer-loading-fg, #38bdf8); font-size: 1rem; min-height: 48px; width: 100%; height: 100%; }
.vz-module-layer-widget__inner--editor-board { gap: 5px; padding: 10px 8px; }
.vz-module-layer-widget__hint--editor-board { color: var(--vz-gallery-layer-muted-fg, #94a3b8); line-height: 1.35; font-size: 9px; text-align: center; }
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--board-list,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--board-list { overflow: hidden !important; display: flex !important; flex-direction: column !important; align-items: stretch; min-height: 0; box-sizing: border-box; }
/* ========== viewer-module.css — 시뮬 게시판 컨텐츠 날짜·제목 여백 start (2026-06-06) ========== */
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--board-list .vz-board-layer-panel__body--feed button.vz-board-feed-item,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--board-list .vz-board-layer-panel__body--feed a.vz-board-feed-item,
#canvas-interactive-zone [id^="canvas-obj-"].vz-module-layer-widget--board-list .vz-board-layer-panel__body--feed button.vz-board-feed-item,
#canvas-interactive-zone [id^="canvas-obj-"].vz-module-layer-widget--board-list .vz-board-layer-panel__body--feed a.vz-board-feed-item { padding-left: 10px; padding-right: 10px; }
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--board-list .vz-board-layer-panel__body--cards button.vz-board-layer-card,
#canvas-interactive-zone [id^="canvas-obj-"].vz-module-layer-widget--board-list .vz-board-layer-panel__body--cards button.vz-board-layer-card { padding-left: 10px; padding-right: 10px; }
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--board-detail .vz-gallery-layer-panel__head--detail,
#canvas-interactive-zone [id^="canvas-obj-"].vz-module-layer-widget--board-detail .vz-gallery-layer-panel__head--detail { padding-left: 10px; padding-right: 10px; }
/* ========== viewer-module.css — 시뮬 게시판 컨텐츠 날짜·제목 여백 end ========== */
/* ========== viewer-module.css — 레이어 게시판 상세(객체 내 스크롤) start ========== */
.vz-module-layer-widget--board-detail { border: 1px solid var(--vz-gallery-layer-border, transparent); background: var(--vz-gallery-layer-bg-gradient, linear-gradient(160deg, #0c1222 0%, #111827 45%, #0f172a 100%)); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--vz-gallery-layer-title-fg, #fff) 8%, transparent); display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; min-height: 0; max-height: 100%; box-sizing: border-box; position: relative; padding: 0; }
.vz-module-layer-widget--board-detail > .vz-board-layer-panel--detail { flex: 1 1 0; min-height: 0; max-height: 100%; height: 100%; width: 100%; margin: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--vz-gallery-layer-bg, transparent); }
/* 2026-06-01: 게시판 상세 스크롤 본문 — 불투명 배경(스카이·라이트 하단 그라데이션 비침 방지) */
.vz-board-layer-panel--detail .vz-board-layer-panel__body--detail { flex: 1 1 0; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0; padding: var(--vz-gallery-body-pad-list-y, 10px) calc(var(--vz-gallery-body-pad-list-x, 12px) + 5px) var(--vz-gallery-body-pad-list-bottom, 16px); box-sizing: border-box; background: var(--vz-gallery-layer-body-bg, var(--vz-gallery-layer-bg, var(--vz-card, #fff))); }
/* 2026-06-03: 게시판 객체 내 글 본문 — 좌우 여백 +5px */
.vz-board-layer-panel__body { flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.vz-board-layer-panel--detail .vz-gallery-layer-panel__count { color: var(--vz-gallery-layer-muted-fg, #94a3b8); }
/* 2026-06-01: 객체 내 글 본문 — 테마 본문색(라이트/스카이에서도 가독) */
/* 2026-06-03: 객체 내 글 본문 — 기본 대비 +0.3rem */
.vz-board-layer-detail__article { font-size: calc(var(--vz-gallery-font-sub, 0.85rem) + 0.1rem); line-height: 1.65; color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); word-break: break-word; white-space: pre-wrap; }
.vz-board-layer-detail__article.vz-module-article-body { color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); }
.vz-board-layer-detail__article p, .vz-board-layer-detail__article li, .vz-board-layer-detail__article span, .vz-board-layer-detail__article div, .vz-board-layer-detail__article td, .vz-board-layer-detail__article th, .vz-board-layer-detail__article blockquote { color: inherit; }
.vz-board-layer-detail__article h1, .vz-board-layer-detail__article h2, .vz-board-layer-detail__article h3, .vz-board-layer-detail__article h4, .vz-board-layer-detail__article h5, .vz-board-layer-detail__article h6 { color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); font-weight: 500; margin: 0.75em 0 0.35em; line-height: 1.4; }
.vz-board-layer-detail__article h1:first-child, .vz-board-layer-detail__article h2:first-child, .vz-board-layer-detail__article h3:first-child { margin-top: 0; }
.vz-board-layer-detail__article a { color: var(--vz-gallery-layer-focus, var(--vz-primary, #1a56a8)); text-decoration: underline; }
.vz-board-layer-detail__article a:hover { color: var(--vz-gallery-layer-btn-hover-fg, var(--vz-accent, #e85d3a)); }
.vz-board-layer-detail__article img { max-width: 100%; height: auto; display: block; }
.vz-board-layer-detail__article p { margin: 0 0 0.75em; }
.vz-board-layer-detail__article p:last-child { margin-bottom: 0; }
.vz-board-layer-detail__article ul, .vz-board-layer-detail__article ol { margin: 0 0 0.75em; padding-left: 1.25em; }
.vz-board-layer-detail__article blockquote { margin: 0 0 0.75em; padding: 0.5em 0.75em; border-left: 3px solid var(--vz-gallery-layer-focus, var(--vz-primary, #1a56a8)); background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.06)); }
.vz-board-layer-detail__article pre, .vz-board-layer-detail__article code { font-size: 0.92em; background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.08)); color: inherit; border-radius: 4px; }
.vz-board-layer-detail__article pre { padding: 0.65em 0.75em; overflow-x: auto; }
.vz-board-layer-detail__article code { padding: 0.1em 0.35em; }
.vz-board-layer-detail__article table { width: 100%; border-collapse: collapse; margin: 0 0 0.75em; font-size: 0.92em; }
.vz-board-layer-detail__article th, .vz-board-layer-detail__article td { border: 1px solid var(--vz-gallery-layer-border, rgba(148, 163, 184, 0.2)); padding: 6px 8px; }
.vz-board-layer-detail__article th { background: var(--vz-gallery-layer-head-bg, rgba(148, 163, 184, 0.08)); font-weight: 500; }
/* 2026-06-03: 게시판·갤러리 상세 헤드 — 제목·이전/목록 버튼 가독 */
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__name { font-weight: 600; }
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__back,
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__chip { border: 1px solid color-mix(in srgb, var(--vz-gallery-layer-focus, #1a56a8) 40%, var(--vz-gallery-layer-border, rgba(148, 163, 184, 0.3))); background: var(--vz-gallery-layer-icon-bg, var(--vz-gallery-layer-btn-bg)); color: var(--vz-gallery-layer-icon-fg, var(--vz-gallery-layer-focus, #1a56a8)); box-shadow: 0 1px 3px color-mix(in srgb, var(--vz-gallery-layer-title-fg, #1c1917) 12%, transparent); font-size: 1.05rem; }
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__back i,
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__chip i { font-weight: 900; }
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__back:hover,
.vz-gallery-layer-panel__head--detail .vz-gallery-layer-panel__chip:hover { background: var(--vz-gallery-layer-btn-hover-bg); color: var(--vz-gallery-layer-btn-hover-fg, var(--vz-gallery-layer-focus)); border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #1a56a8) 55%, transparent); box-shadow: 0 2px 6px color-mix(in srgb, var(--vz-gallery-layer-focus, #1a56a8) 22%, transparent); }
.vz-board-layer-detail__badge { display: inline-block; font-size: var(--vz-gallery-font-badge, 0.72rem); font-weight: 600; color: #fff; background: var(--vz-gradient, linear-gradient(135deg, #2563eb, #1a56a8)); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--board-detail,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--board-detail { overflow: hidden !important; display: flex !important; flex-direction: column !important; align-items: stretch; min-height: 0; box-sizing: border-box; }
/* ========== viewer-module.css — 레이어 게시판 상세(객체 내 스크롤) end ========== */
/* ========== viewer-module.css — 레이어 게시판 목록 end ========== */
/* ========== viewer-module.css — 갤러리 객체 셸(헤더+본문=객체 높이) start (2026-06-01) ========== */
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-list,
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-detail,
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-slide,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-list,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-detail,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-slide { overflow: hidden !important; display: flex !important; flex-direction: column !important; align-items: stretch; min-height: 0; box-sizing: border-box; }
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-list > .vz-gallery-layer-panel,
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-detail > .vz-gallery-layer-panel,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-list > .vz-gallery-layer-panel,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-detail > .vz-gallery-layer-panel,
.vz-canvas-render [id^="vz-obj-"].vz-module-layer-widget--gallery-slide > .vz-module-layer-gallery-slide,
#preview-canvas-render [id^="preview-obj-"].vz-module-layer-widget--gallery-slide > .vz-module-layer-gallery-slide { flex: 1 1 0; min-height: 0; height: 100%; max-height: 100%; }
/* ========== viewer-module.css — 갤러리 객체 셸(헤더+본문=객체 높이) end ========== */
/* ========== viewer-module.css — 캔버스 board/gallery 위젯 end ========== */
/* 2026-06-01: 전체보기 오버레이 — viewer-theme·갤러리 레이어 토큰 연동(라이트/스카이 가독) */
.vz-module-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    flex-direction: column;
    background: var(--vz-gallery-layer-bg-gradient, linear-gradient(165deg, #ffffff 0%, #f8fafc 100%));
    color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917));
    backdrop-filter: blur(8px);
}
.vz-module-overlay.hidden { display: none !important; }
.vz-module-overlay__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--vz-gallery-layer-head-border, rgba(148, 163, 184, 0.2));
    background: var(--vz-gallery-layer-head-bg, transparent);
    flex-shrink: 0;
}
.vz-module-overlay__back, .vz-module-overlay__close {
    border: 1px solid var(--vz-gallery-layer-border, transparent);
    background: var(--vz-gallery-layer-btn-bg, rgba(148, 163, 184, 0.12));
    color: var(--vz-gallery-layer-btn-fg, var(--vz-primary, #1a56a8));
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.vz-module-overlay__close { padding: 8px 10px; margin-left: auto; }
.vz-module-overlay__back:hover, .vz-module-overlay__close:hover {
    background: var(--vz-gallery-layer-btn-hover-bg, rgba(148, 163, 184, 0.2));
    color: var(--vz-gallery-layer-btn-hover-fg, var(--vz-accent, #e85d3a));
    border-color: color-mix(in srgb, var(--vz-gallery-layer-focus, #38bdf8) 35%, transparent);
}
.vz-module-overlay__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--vz-gallery-layer-title-fg, inherit);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vz-module-overlay__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
    color: var(--vz-gallery-layer-title-fg, inherit);
}
.vz-module-board-list { list-style: none; margin: 0; padding: 0; }
.vz-module-board-list.vz-board-overlay-feed { border-radius: 12px; overflow: hidden; border: 1px solid var(--vz-gallery-layer-border, rgba(148, 163, 184, 0.15)); background: var(--vz-gallery-layer-card-bg, var(--vz-card, #fff)); }
.vz-module-board-item.vz-board-overlay-feed-item { margin: 0; }
.vz-module-board-item.vz-board-overlay-feed-item a.vz-board-feed-item { color: var(--vz-gallery-layer-title-fg, inherit); }
.vz-module-board-item.vz-board-overlay-feed-item a.vz-board-feed-item:hover { color: var(--vz-gallery-layer-title-fg, inherit); }
.vz-module-board-item.is-notice .vz-board-feed-item__tag { color: var(--vz-gallery-layer-focus, #38bdf8); }
.vz-module-board-item-title { font-weight: 400; font-size: inherit; margin: 0; display: inline; }
.vz-module-board-item-meta { display: none; }
.vz-module-board-badge { display: inline-block; font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--vz-gradient, linear-gradient(135deg, #2563eb, #1a56a8)); color: #fff; margin-right: 6px; }
/* ========== viewer-module.css — 게시판 오버레이 UI start ========== */
.vz-board-overlay-loading { display: flex; align-items: center; justify-content: center; min-height: 120px; color: var(--vz-gallery-layer-loading-fg, #38bdf8); font-size: 1.25rem; }
.vz-board-overlay-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 16px; text-align: center; }
.vz-board-overlay-empty__icon { width: 3rem; height: 3rem; border-radius: 12px; background: var(--vz-gallery-layer-empty-icon-bg, rgba(56, 189, 248, 0.12)); color: var(--vz-gallery-layer-empty-icon-fg, #38bdf8); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.vz-board-overlay-empty__title { margin: 0; font-size: 1rem; font-weight: 400; color: var(--vz-gallery-layer-title-fg, #f8fafc); }
.vz-board-overlay-empty__hint { margin: 0; font-size: 0.85rem; color: var(--vz-gallery-layer-muted-fg, #94a3b8); }
.vz-board-overlay-panel__sub { margin: 0 0 12px; font-size: 0.75rem; color: var(--vz-gallery-layer-muted-fg, #94a3b8); }
.vz-board-overlay-feed-item a.vz-board-feed-item { transition: background 0.15s ease; }
.vz-board-overlay-badge { background: var(--vz-gradient, linear-gradient(135deg, #2563eb, #1a56a8)); color: #fff; border-radius: 999px; font-weight: 600; }
.vz-board-overlay-pagination { margin-top: 18px; }
.vz-board-overlay-page-btn { width: 2.5rem; height: 2.5rem; border-radius: 10px; border: 1px solid var(--vz-gallery-layer-border, rgba(255, 255, 255, 0.12)); background: var(--vz-gallery-layer-btn-bg, rgba(255, 255, 255, 0.06)); color: var(--vz-gallery-layer-btn-fg, #e2e8f0); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.vz-board-overlay-page-btn:hover:not(:disabled) { background: var(--vz-gallery-layer-btn-hover-bg, rgba(56, 189, 248, 0.35)); color: var(--vz-gallery-layer-btn-hover-fg, #fff); }
.vz-board-overlay-pagination__stat { font-size: 0.85rem; color: var(--vz-gallery-layer-muted-fg, #94a3b8); align-self: center; min-width: 4.5em; text-align: center; }
.vz-board-overlay-article__head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--vz-gallery-layer-head-border, rgba(148, 163, 184, 0.15)); }
.vz-board-overlay-article__title { font-size: 1.125rem; font-weight: 400; color: var(--vz-gallery-layer-title-fg, #f8fafc); margin: 0 0 8px; line-height: 1.45; }
.vz-board-overlay-article__meta { margin: 0; color: var(--vz-gallery-layer-muted-fg, #94a3b8); }
.vz-board-overlay-article__body { font-size: 0.9375rem; line-height: 1.65; color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); word-break: break-word; white-space: pre-wrap; }
.vz-board-overlay-article__body p, .vz-board-overlay-article__body li, .vz-board-overlay-article__body span, .vz-board-overlay-article__body div, .vz-board-overlay-article__body td, .vz-board-overlay-article__body th { color: inherit; }
.vz-board-overlay-article__body a { color: var(--vz-gallery-layer-focus, var(--vz-primary, #1a56a8)); }
.vz-board-overlay-article__body h1, .vz-board-overlay-article__body h2, .vz-board-overlay-article__body h3 { color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); font-weight: 500; }
/* ========== viewer-module.css — 게시판 오버레이 UI end ========== */
.vz-module-article h2 { font-size: 18px; color: var(--vz-gallery-layer-title-fg, inherit); margin: 0 0 8px; font-weight: 400; }
.vz-module-article-meta { font-size: 12px; color: var(--vz-gallery-layer-muted-fg, #94a3b8); margin-bottom: 16px; }
.vz-module-article-body { font-size: 14px; line-height: 1.6; color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); word-break: break-word; }
.vz-module-article-body img { max-width: 100%; height: auto; }
.vz-module-overlay__body .vz-board-overlay-article__body.vz-module-article-body { color: var(--vz-gallery-layer-title-fg, var(--vz-ink, #1c1917)); }
.vz-module-empty { color: var(--vz-gallery-layer-muted-fg, #64748b); text-align: center; padding: 24px 16px; }
.vz-module-pagination { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.vz-module-pagination button {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--vz-gallery-layer-border, transparent);
    background: var(--vz-gallery-layer-btn-bg, rgba(148, 163, 184, 0.12));
    color: var(--vz-gallery-layer-btn-fg, inherit);
    cursor: pointer;
}
.vz-module-pagination button:hover:not(:disabled) {
    background: var(--vz-gallery-layer-btn-hover-bg, rgba(148, 163, 184, 0.2));
    color: var(--vz-gallery-layer-btn-hover-fg, inherit);
}
.vz-module-pagination button:disabled { opacity: 0.4; cursor: default; }
.vz-module-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (max-width: 480px) {
    .vz-module-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.vz-module-gallery-cell {
    aspect-ratio: 1;
    padding: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #1e293b;
}
.vz-module-gallery-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ========== viewer-module.css — 갤러리 업로드(편집자) ========== */
.vz-module-gallery-upload { margin-bottom: 14px; padding: 12px; border-radius: 10px; background: rgba(15, 23, 42, 0.6); border: 1px dashed rgba(148, 163, 184, 0.35); }
.vz-module-gallery-upload__label { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 8px; }
.vz-module-gallery-upload__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vz-module-gallery-upload .vz-gallery-upload-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vz-module-gallery-dropzone { position: relative; }
.vz-module-gallery-dropzone { border: 2px dashed rgba(148, 163, 184, 0.45); border-radius: 10px; padding: 14px 12px; text-align: center; background: rgba(15, 23, 42, 0.35); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; margin-bottom: 10px; }
.vz-module-gallery-dropzone:hover { border-color: #38bdf8; background: rgba(14, 165, 233, 0.08); }
.vz-module-gallery-dropzone.is-dragover { border-color: #0ea5e9; background: rgba(14, 165, 233, 0.15); }
.vz-module-gallery-dropzone__title { font-size: 12px; color: #e2e8f0; margin: 0 0 4px; font-weight: 600; }
.vz-module-gallery-dropzone__hint { font-size: 10px; color: #94a3b8; margin: 0 0 8px; }
.vz-module-gallery-dropzone__icon { font-size: 1.25rem; color: #64748b; display: block; margin-bottom: 6px; }
.vz-module-gallery-upload__btn { padding: 8px 14px; border: none; border-radius: 8px; background: #0ea5e9; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.vz-module-gallery-upload__btn:disabled { opacity: 0.5; cursor: default; }
.vz-module-gallery-upload__msg { font-size: 11px; color: #94a3b8; margin: 8px 0 0; min-height: 1em; }
.vz-module-gallery-upload__msg.is-error { color: #f87171; }
.vz-module-gallery-upload__msg.is-ok { color: #4ade80; }
/* ========== viewer-module.css — 갤러리 업로드 end ========== */
.vz-module-empty { text-align: center; color: #94a3b8; padding: 32px 16px; font-size: 14px; }
.vz-hidden-menu-panel {
    position: fixed;
    z-index: 11900;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 240px;
    max-width: 90vw;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.vz-hidden-menu-panel.hidden { display: none !important; }
.vz-hidden-menu-panel h3 { margin: 0 0 10px; font-size: 13px; color: #94a3b8; font-weight: 600; }
.vz-hidden-menu-list { list-style: none; margin: 0; padding: 0; }
.vz-hidden-menu-list li { margin-bottom: 6px; }
.vz-hidden-menu-list button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    font-size: 14px;
    cursor: pointer;
}
.vz-hidden-menu-list button:hover { background: rgba(56, 189, 248, 0.2); }
.vz-hidden-menu-scope { font-size: 10px; color: #64748b; margin-left: 6px; }
/* preview-modal 내부 오버레이 */
#preview-modal .vz-module-overlay { z-index: 60; }
#preview-modal .vz-hidden-menu-panel { z-index: 55; }
/* ========== viewer-module.css — 게시판 첨부 start (2026-06-01: 테마 토큰 — viewer-theme.css) ========== */
.vz-board-feed-item__attach { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 10px; color: var(--vz-board-attach-muted-fg, var(--vz-gallery-layer-muted-fg, #94a3b8)); vertical-align: middle; }
.vz-board-layer-attachments,
.vz-board-overlay-attachments { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--vz-board-attach-border, rgba(255, 255, 255, 0.08)); }
.vz-board-layer-attachments__title,
.vz-board-overlay-attachments__title { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--vz-board-attach-title-fg, var(--vz-gallery-layer-title-fg, #cbd5e1)); display: flex; align-items: center; gap: 6px; }
.vz-board-layer-attachments__files,
.vz-board-overlay-attachments__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vz-board-layer-attachments__file,
.vz-board-overlay-attachments__list li { margin: 0; padding: 0; }
.vz-board-layer-attachments__link,
.vz-board-overlay-attachments__list a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--vz-board-attach-link-border, rgba(255, 255, 255, 0.12)); background: var(--vz-board-attach-link-bg, rgba(0, 0, 0, 0.2)); color: var(--vz-board-attach-link-fg, #e2e8f0); text-decoration: none; font-size: 13px; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.vz-board-layer-attachments__link:hover,
.vz-board-overlay-attachments__list a:hover { background: var(--vz-board-attach-link-hover-bg, rgba(56, 189, 248, 0.12)); border-color: var(--vz-board-attach-link-hover-border, rgba(56, 189, 248, 0.35)); color: var(--vz-board-attach-link-hover-fg, #f8fafc); }
.vz-board-layer-attachments__link i,
.vz-board-overlay-attachments__list a i { color: var(--vz-board-attach-icon-fg, var(--vz-board-attach-muted-fg, #94a3b8)); flex-shrink: 0; }
.vz-board-layer-attachments__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-board-layer-attachments__size { font-size: 11px; color: var(--vz-board-attach-muted-fg, #94a3b8); flex-shrink: 0; }
.vz-board-layer-attachments__dl { font-size: 12px; color: var(--vz-board-attach-muted-fg, #64748b); flex-shrink: 0; }
/* ========== viewer-module.css — 게시판 첨부 end ========== */
/* ========== viewer-module.css — 게시판·갤러리 레이어 스크롤바 start (2026-06-01) ========== */
.vz-module-layer-widget--board-list .vz-board-layer-panel__body,
.vz-module-layer-widget--board-detail .vz-board-layer-panel__body--detail,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--list,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--grid,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body--grid,
.vz-module-layer-widget--gallery-list .vz-module-layer-gallery-preview.vz-module-gallery-grid,
.vz-module-layer-widget--gallery-preview .vz-module-layer-gallery-preview.vz-module-gallery-grid,
.vz-module-overlay__body { scrollbar-width: thin; scrollbar-color: var(--vz-gallery-layer-scroll-thumb, rgba(148, 163, 184, 0.42)) var(--vz-gallery-layer-scroll-track, transparent); }
.vz-module-layer-widget--board-list .vz-board-layer-panel__body::-webkit-scrollbar,
.vz-module-layer-widget--board-detail .vz-board-layer-panel__body--detail::-webkit-scrollbar,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body::-webkit-scrollbar,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--list::-webkit-scrollbar,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--grid::-webkit-scrollbar,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body::-webkit-scrollbar,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body--grid::-webkit-scrollbar,
.vz-module-layer-widget--gallery-list .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar,
.vz-module-layer-widget--gallery-preview .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar,
.vz-module-overlay__body::-webkit-scrollbar { width: var(--vz-gallery-layer-scroll-size, 6px); height: var(--vz-gallery-layer-scroll-size, 6px); }
.vz-module-layer-widget--board-list .vz-board-layer-panel__body::-webkit-scrollbar-track,
.vz-module-layer-widget--board-detail .vz-board-layer-panel__body--detail::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--list::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--grid::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body--grid::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-list .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar-track,
.vz-module-layer-widget--gallery-preview .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar-track,
.vz-module-overlay__body::-webkit-scrollbar-track { background: var(--vz-gallery-layer-scroll-track, transparent); border-radius: 999px; margin: 4px 0; }
.vz-module-layer-widget--board-list .vz-board-layer-panel__body::-webkit-scrollbar-thumb,
.vz-module-layer-widget--board-detail .vz-board-layer-panel__body--detail::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--list::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--grid::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body--grid::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-list .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar-thumb,
.vz-module-layer-widget--gallery-preview .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar-thumb,
.vz-module-overlay__body::-webkit-scrollbar-thumb { background: var(--vz-gallery-layer-scroll-thumb, rgba(148, 163, 184, 0.42)); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; min-height: 40px; transition: background 0.18s ease; }
.vz-module-layer-widget--board-list .vz-board-layer-panel__body::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--board-detail .vz-board-layer-panel__body--detail::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--list::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body--grid::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body--grid::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-list .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar-thumb:hover,
.vz-module-layer-widget--gallery-preview .vz-module-layer-gallery-preview.vz-module-gallery-grid::-webkit-scrollbar-thumb:hover,
.vz-module-overlay__body::-webkit-scrollbar-thumb:hover { background: var(--vz-gallery-layer-scroll-thumb-hover, rgba(56, 189, 248, 0.55)); }
.vz-module-layer-widget--board-list .vz-board-layer-panel__body::-webkit-scrollbar-corner,
.vz-module-layer-widget--board-detail .vz-board-layer-panel__body--detail::-webkit-scrollbar-corner,
.vz-module-layer-widget--gallery-list .vz-gallery-layer-panel__body::-webkit-scrollbar-corner,
.vz-module-layer-widget--gallery-detail .vz-gallery-layer-panel__body::-webkit-scrollbar-corner,
.vz-module-overlay__body::-webkit-scrollbar-corner { background: transparent; }
/* ========== viewer-module.css — 게시판·갤러리 레이어 스크롤바 end ========== */
/* ========== viewer-module.css end ========== */
