/* 사진 원본 보기 (shared/viewer.js) */
.sdv{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-rows:auto 1fr auto;background:rgba(14,14,14,.97);color:#eee;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;opacity:0;transition:opacity .18s}
.sdv.on{opacity:1}
.sdv-top{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.sdv-title{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#cfcfcf}
.sdv-btn{min-width:34px;height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.18);border-radius:3px;background:rgba(255,255,255,.04);color:#eee;font:inherit;cursor:pointer}
.sdv-btn:hover{background:rgba(255,255,255,.12)}
.sdv-zoom{min-width:52px;text-align:center;color:#aaa;font-variant-numeric:tabular-nums}
.sdv-stage{position:relative;overflow:hidden;cursor:grab;touch-action:none}
.sdv-stage.drag{cursor:grabbing}
.sdv-layer{position:absolute;left:50%;top:50%;transform-origin:0 0;will-change:transform}
.sdv-layer>figure{margin:0!important;max-width:none!important}
.sdv-layer img{display:block;max-width:none!important;max-height:none!important;user-select:none;-webkit-user-drag:none}
.sdv-layer figcaption{display:none!important}
.sdv-foot{padding:9px 18px 12px;color:#9a9a9a;font-size:12px;text-align:center}
.sdv[hidden]{display:none!important}

/* ── 일본어판 공통 (i18n/ja/css/_common.css) ── */
/* 짧은 글(제목·표·단추·이름표)은 문절 단위로 줄을 바꾼다: 「防災セン／ター」처럼 낱말 가운데서 끊기지 않게.
   크롬·엣지에서 듣는다. 다른 브라우저는 이 줄을 건너뛰고 글자 단위로 바꾼다 */
h1, h2, h3, h4, h5, th, td, dt, dd, button, label, figcaption, summary, caption, legend { word-break: auto-phrase; }

/* 말줄임표(…)와 긴 줄표(――)는 일본어 글꼴 것을 쓴다: 영문 글꼴이 먼저 잡히면 점이 바닥에 붙는다.
   컴퓨터에 들어 있는 글꼴을 이 글자들에만 쓴다 (글꼴 파일을 받지 않는다) */
@font-face { font-family: "SD Ja Punct"; src: local("Hiragino Sans"), local("HiraginoSans-W3"), local("Yu Gothic Medium"), local("Yu Gothic"), local("Meiryo"); unicode-range: U+2014-2015, U+2025-2026; }
