/**
 * DX_ALBUM 게시판 스킨 — album.css v1.0.0
 * Copyright © DesignOneX — designonex.com · All Rights Reserved.
 * License: DesignOneX License 1.0 (https://designonex.com/notice/view/1787577858493247)
 * style.css 뒤에 불러와 목록을 앨범 더미 + 월별 구분으로, 보기 화면을 사진 뷰어로 바꿉니다.
 * 그림자 없음, 둥근 모서리 없음.
 */

/* ── 직각 : 이 스킨 안의 모든 요소 ── */
.nb *, .nb *::before, .nb *::after { border-radius: 0 !important; }
.nb .nb-btn, .nb .nb-icon-btn, .nb .nb-pager a { border-color: var(--nb-ink); }
.nb .nb-sort button, .nb .dx-sort-btn { border-radius: 0 !important; }

/* ── 목록 격자 ── */
.nb .gl55-grid.dxal { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 30px; padding: 6px 0 10px; }
.dxal .dxal-month { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--nb-ink); margin-top: 6px; }
.dxal .dxal-month:first-child { margin-top: 0; }
.dxal .dxal-month-n { font-size: 72px; font-weight: 900; letter-spacing: -.07em; line-height: .8; color: var(--nb-ink); }
.dxal .dxal-month-t { display: flex; flex-direction: column; gap: 4px; padding-bottom: 2px; }
.dxal .dxal-month-t b { font-size: 12px; font-weight: 900; letter-spacing: .16em; color: var(--nb-ink); }
.dxal .dxal-month-t span { font-size: 12px; font-weight: 700; color: var(--nb-mute); }
.dxal .dxal-month-r { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--nb-mute); }

.nb .dxal .dxal-card { padding: 0 !important; margin: 0 !important; position: relative; min-width: 0; background: none; border: 0; transition: none; }
.nb .dxal a.dxal-in { display: flex; flex-direction: column; gap: 14px; min-width: 0; color: var(--nb-ink); }

/* 사진 더미 */
.dxal .dxal-stack { position: relative; display: block; padding: 0 14px 14px 0; }
.dxal .dxal-sheet { position: absolute; display: block; border: 1px solid var(--nb-ink); }
.dxal .dxal-sheet.s2 { left: 14px; top: 14px; right: 0; bottom: 0; background: var(--nb-line); }
.dxal .dxal-sheet.s1 { left: 9px; top: 9px; right: 5px; bottom: 5px; background: var(--nb-card); }
.dxal .dxal-mat { position: relative; display: block; padding: 8px; background: var(--nb-card); border: 1px solid var(--nb-ink); }
.dxal .dxal-pic { position: relative; display: flex; align-items: center; justify-content: center; height: 196px; overflow: hidden; background: #cfe3d4; border: 1px solid var(--nb-ink); color: rgba(32, 35, 31, .38); }
.dxal .dxal-card:nth-of-type(5n+2) .dxal-pic { background: #f0d9c8; }
.dxal .dxal-card:nth-of-type(5n+3) .dxal-pic { background: #d9dff0; }
.dxal .dxal-card:nth-of-type(5n+4) .dxal-pic { background: #e6e4da; }
.dxal .dxal-card:nth-of-type(5n+5) .dxal-pic { background: #d7f64f; }
.dxal .dxal-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dxal .dxal-no { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 9px; background: #fffefa; color: #20231f; border: 1px solid #20231f; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.dxal .dxal-cnt { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 6px 12px; background: #20231f; color: #fff; font-style: normal; font-size: 13px; font-weight: 900; }
.dxal .dxal-matfoot { display: flex; align-items: center; justify-content: space-between; padding-top: 7px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--nb-mute); }
.dxal .dxal-stamp { padding: 1px 7px; background: #20231f; color: #ff9a3c; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .06em; }
.dxal a.dxal-in:hover .dxal-mat { outline: 2px solid var(--nb-ink); outline-offset: 1px; }
.dxal .dxal-card.is-cur .dxal-mat { outline: 3px solid var(--nb-acid); outline-offset: 1px; }

/* 글자 영역 */
.dxal .dxal-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dxal .dxal-title { display: block; font-size: 17px; line-height: 1.4; font-weight: 800; letter-spacing: -.03em; color: var(--nb-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dxal .dxal-place { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--nb-mute); }
.dxal .dxal-mini { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--nb-mute); }
.dxal .dxal-mini > span:not(.r) { width: 28px; height: 28px; flex: none; border: 1px solid var(--nb-ink); background: var(--nb-line); overflow: hidden; }
.dxal .dxal-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dxal .dxal-mini em { font-style: normal; font-weight: 800; padding-left: 2px; }
.dxal .dxal-mini .r { margin-left: auto; white-space: nowrap; }
.dxal .dxal-by { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--nb-line); font-size: 12px; font-weight: 700; color: var(--nb-mute); }
.dxal .dxal-by b { color: var(--nb-ink); font-weight: 800; }
.dxal .dxal-by b.dxal-av { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; background: #d7f64f; color: #20231f; font-size: 10px; font-weight: 900; }
.dxal .gl55-new { display: inline-block; margin-right: 6px; padding: 0 6px; background: #d7f64f; color: #20231f; font-size: 11px; font-weight: 900; line-height: 18px; vertical-align: 1px; }

/* 대표 앨범 (첫 쪽 맨 위) */
.dxal .dxal-card.is-feat { grid-column: 1 / -1; padding: 8px 0 6px !important; }
.nb .dxal .is-feat a.dxal-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: stretch; }
.dxal .is-feat .dxal-stack { padding: 0 22px 22px 0; }
.dxal .is-feat .dxal-sheet.s2 { left: 22px; top: 22px; }
.dxal .is-feat .dxal-sheet.s1 { left: 14px; top: 14px; right: 8px; bottom: 8px; }
.dxal .is-feat .dxal-mat { padding: 14px; }
.dxal .is-feat .dxal-pic { height: 380px; }
.dxal .is-feat .dxal-no { background: #20231f; color: #d7f64f; letter-spacing: .12em; font-size: 11px; }
.dxal .is-feat .dxal-cnt { font-size: 15px; padding: 9px 16px; }
.dxal .is-feat .dxal-matfoot { padding-top: 10px; font-size: 11px; }
.dxal .dxal-info { display: flex; flex-direction: column; gap: 18px; justify-content: center; min-width: 0; }
.dxal .dxal-fh { display: flex; align-items: center; gap: 8px; }
.dxal .dxal-chip { padding: 3px 10px; border: 1px solid var(--nb-ink); font-style: normal; font-size: 11px; font-weight: 800; }
.dxal .dxal-fl { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--nb-mute); }
.dxal .is-feat .dxal-title { font-size: 38px; line-height: 1.25; letter-spacing: -.05em; font-weight: 900; white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.dxal .dxal-ex { font-size: 15px; line-height: 1.8; color: var(--nb-text, var(--nb-ink)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dxal .dxal-dl { display: block; border-top: 1px solid var(--nb-ink); }
.dxal .dxal-dl > span { display: flex; padding: 9px 0; border-bottom: 1px solid var(--nb-line); font-size: 13px; }
.dxal .dxal-dl > span:last-child { border-bottom-color: var(--nb-ink); }
.dxal .dxal-dl i { width: 88px; flex: none; font-style: normal; font-weight: 800; color: var(--nb-mute); }
.dxal .dxal-dl b { font-weight: 700; color: var(--nb-ink); min-width: 0; }
.dxal .dxal-film { display: flex; gap: 4px; }
.dxal .dxal-film > span { position: relative; flex: 1; min-width: 0; height: 34px; border: 1px solid var(--nb-ink); background: var(--nb-line); overflow: hidden; }
.dxal .dxal-film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dxal .dxal-film i { position: absolute; left: 0; bottom: 0; padding: 0 3px; background: #fffefa; color: #20231f; font-style: normal; font-size: 9px; font-weight: 900; }
.dxal .dxal-open { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 26px; background: var(--nb-ink); color: var(--nb-bg); font-size: 14px; font-weight: 800; }

/* 관리자 체크 */
.dxal .dxal-chk { position: absolute; right: 22px; bottom: 90px; z-index: 3; display: flex; padding: 6px; background: #fffefa; border: 1px solid #20231f; }
.dxal .dxal-chk input { width: 16px; height: 16px; accent-color: #20231f; margin: 0; }
.dxal .is-feat .dxal-chk { bottom: auto; top: 22px; right: auto; left: 22px; }

/* 실시간 새 글 */
.dxal .dxal-card.nb-live-in .dxal-mat { animation: dxalIn .7s ease-out; }
@keyframes dxalIn { from { outline: 4px solid #d7f64f; outline-offset: 1px; } to { outline: 0 solid transparent; } }
@media (prefers-reduced-motion: reduce) { .dxal .dxal-card.nb-live-in .dxal-mat { animation: none; } }

/* 고정 공지 */
.dxal-pins { margin: 6px 0 14px; border: 1px solid var(--nb-ink); background: var(--nb-card); }
.dxal-pins-h { display: flex; align-items: center; gap: 8px; padding: 12px 18px 9px; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.nb a.dxal-pin { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--nb-line); }
.nb a.dxal-pin:hover { background: var(--nb-hover); }
.dxal-pin-tag { flex: none; padding: 3px 9px; background: var(--nb-ink); color: var(--nb-bg); font-size: 11px; font-weight: 800; }
.dxal-pin-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dxal-pin-t em { font-style: normal; color: var(--nb-mute); font-weight: 700; }
.dxal-pin-d { flex: none; font-size: 12px; font-weight: 700; color: var(--nb-mute); }

/* 상세 아래 목록: 조금 작게, 월 구분은 숨김 */
.nb-view-list .gl55-grid.dxal { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 18px; }
.nb-view-list .dxal .dxal-month { display: none; }
.nb-view-list .dxal .dxal-pic { height: 130px; }
.nb-view-list .dxal .dxal-title { font-size: 14px; }
.nb-view-list .dxal .dxal-mini, .nb-view-list .dxal .dxal-place { display: none; }

/* ── 보기 : 사진 뷰어 ── */
.dxal-viewer { margin: 22px 0 18px; border: 1px solid var(--nb-ink); background: #20231f; color: #fff; }
.dxal-vbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.dxal-vcount { flex: none; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.dxal-vcount b { color: #d7f64f; font-weight: 900; }
.dxal-ticks { flex: 1; min-width: 0; display: flex; gap: 2px; align-items: center; height: 18px; }
.dxal-ticks button { flex: 1; min-width: 2px; height: 4px; padding: 0; border: 0; background: #5f635a; cursor: pointer; }
.dxal-ticks button.past { background: #fffefa; }
.dxal-ticks button.on { height: 8px; background: #d7f64f; }
.dxal-vtools { flex: none; display: flex; gap: 6px; }
.dxal-vtools button { height: 30px; padding: 0 12px; border: 1px solid #fff; background: transparent; color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dxal-vtools button svg { flex: none; }
.dxal-vtools button.on { background: #d7f64f; border-color: #d7f64f; color: #20231f; }
.dxal-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; padding: 24px 70px; background: #20231f; }
.dxal-mat-big { width: 100%; max-width: 680px; padding: 22px 22px 14px; background: #fffefa; color: #20231f; }
.dxal-frame { display: flex; align-items: center; justify-content: center; height: 440px; background: #e6e4da; border: 1px solid #20231f; overflow: hidden; }
.dxal-frame img { max-width: 100%; max-height: 100%; display: block; object-fit: contain; transition: opacity .15s; }
.dxal-mf { display: flex; justify-content: space-between; padding-top: 10px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #5f635a; }
.dxal-nav { position: absolute; top: 50%; margin-top: -32px; width: 56px; height: 64px; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dxal-nav.prev { left: 0; background: #fffefa; color: #20231f; }
.dxal-nav.next { right: 0; background: #d7f64f; color: #20231f; }
.dxal-cap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; background: var(--nb-card); color: var(--nb-ink); }
.dxal-cap-no { font-size: 11px; font-weight: 900; letter-spacing: .08em; color: var(--nb-mute); }
.dxal-cap-t { flex: 1 1 240px; min-width: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.dxal-keys { font-size: 11px; font-weight: 700; color: var(--nb-mute); }
.dxal-keys kbd { padding: 1px 6px; border: 1px solid var(--nb-ink); color: var(--nb-ink); font-family: inherit; font-weight: 800; }
.dxal-cap-b { display: inline-flex; gap: 8px; }
.dxal-cap-b a { height: 36px; padding: 0 14px; border: 1px solid var(--nb-ink); display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; color: var(--nb-ink); }
.dxal-cap-b a.is-ink { background: #20231f; color: #fff !important; border-color: #20231f; }
html body.dark .dxal-cap-b a.is-ink { background: #fffefa; color: #20231f !important; }
.dxal-viewer.is-all .dxal-stage { min-height: 0; }

/* 필름 스트립 */
.dxal-film-wrap { margin: 0 0 18px; }
.dxal-film-h { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--nb-ink); }
.dxal-film-h span { color: var(--nb-mute); }
.dxal-film-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.dxal-film-wrap:not(.is-all) .dxal-film-g { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 12); overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.dxal-film-g button { position: relative; height: 62px; padding: 0; border: 1px solid var(--nb-ink); background: var(--nb-line); cursor: pointer; overflow: hidden; opacity: .85; }
.dxal-film-g button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dxal-film-g button i { position: absolute; left: 0; bottom: 0; padding: 1px 6px; background: #fffefa; color: #20231f; font-style: normal; font-size: 10px; font-weight: 900; }
.dxal-film-g button.on { opacity: 1; outline: 3px solid var(--nb-ink); outline-offset: -3px; }
.dxal-film-g button.on i { background: #20231f; color: #fff; }

/* 정보 3단 */
.dxal-info3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 18px; border: 1px solid var(--nb-ink); background: var(--nb-card); }
.dxal-info3 > div { padding: 16px 20px; min-width: 0; }
.dxal-info3 > div + div { border-left: 1px solid var(--nb-ink); }
.dxal-ih { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--nb-ink); }
.dxal-info3 dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); margin: 0; font-size: 13px; }
.dxal-info3 dt, .dxal-info3 dd { margin: 0; padding: 6px 0; border-top: 1px solid var(--nb-line); }
.dxal-info3 dt { color: var(--nb-mute); font-weight: 700; }
.dxal-info3 dd { font-weight: 700; color: var(--nb-ink); overflow-wrap: anywhere; }
.dxal-tg { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dxal-tg a, .dxal-tg span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid var(--nb-line); font-size: 12px; font-weight: 800; color: var(--nb-ink); }
.dxal-tg span { color: var(--nb-mute); }

/* 다크 모드 */
html body.dark .dxal .dxal-pic { color: rgba(32, 35, 31, .5); }
html body.dark .dxal .dxal-film i { background: #fffefa; color: #20231f; }
html body.dark .dxal .dxal-no { background: #fffefa; color: #20231f !important; }
html body.dark .dxal .is-feat .dxal-no { background: #20231f; color: #d7f64f !important; }
html body.dark .dxal .dxal-cnt { background: #20231f; color: #fff !important; border: 1px solid #fffefa; }
html body.dark .dxal .dxal-stamp { background: #20231f; color: #ff9a3c !important; border: 1px solid #5f635a; }
html body.dark .dxal .gl55-new, html body.dark .dxal .dxal-by b.dxal-av { color: #20231f !important; }
html body.dark .dxal .dxal-open { background: #fffefa; color: #20231f; }
html body.dark .dxal .dxal-sheet, html body.dark .dxal .dxal-mat, html body.dark .dxal .dxal-pic, html body.dark .dxal .dxal-mini > span:not(.r) { border-color: #fffefa; }
html body.dark .dxal .dxal-film > span { border-color: #fffefa; }
html body.dark .dxal-pins { border-color: var(--nb-strong); }
html body.dark .dxal-pin-tag { background: #fff; color: #20231f; }
html body.dark .dxal .dxal-chk { background: #20231f; border-color: #fffefa; }
html body.dark .dxal-viewer { border-color: #fffefa; }
html body.dark .dxal-mat-big { background: #fffefa; color: #20231f; }
html body.dark .dxal-nav.prev { background: #fffefa; color: #20231f; }
html body.dark .dxal-nav.next { background: #d7f64f; color: #20231f; }
html body.dark .dxal-film-g button, html body.dark .dxal-info3 { border-color: #fffefa; }
html body.dark .dxal-info3 > div + div { border-color: #fffefa; }
html body.dark .dxal-film-g button.on { outline-color: #d7f64f; }

/* 모바일 */
@media (max-width: 860px) {
  .nb .dxal .is-feat a.dxal-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .dxal .is-feat .dxal-pic { height: 250px; }
  .dxal .is-feat .dxal-title { font-size: 26px; }
}
@media (max-width: 720px) {
  .nb .gl55-grid.dxal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .dxal .dxal-month-n { font-size: 44px; }
  .dxal .dxal-month { gap: 10px; }
  .dxal .dxal-month-t b, .dxal .dxal-month-t span { font-size: 11px; }
  .dxal .dxal-stack { padding: 0 8px 8px 0; }
  .dxal .dxal-sheet.s2 { left: 8px; top: 8px; }
  .dxal .dxal-sheet.s1 { left: 4px; top: 4px; right: 4px; bottom: 4px; }
  .dxal .dxal-mat { padding: 5px; }
  .dxal .dxal-pic { height: 108px; }
  .dxal .dxal-no { left: 5px; top: 5px; padding: 2px 6px; font-size: 9px; }
  .dxal .dxal-cnt { padding: 3px 8px; font-size: 11px; }
  .dxal .dxal-matfoot { font-size: 9px; padding-top: 5px; }
  .dxal .dxal-title { font-size: 13px; }
  .dxal .dxal-mini, .dxal .dxal-place { display: none; }
  .dxal .dxal-by { padding-top: 6px; font-size: 11px; }
  .dxal .dxal-card.is-feat { grid-column: 1 / -1; }
  .dxal .is-feat .dxal-stack { padding: 0 12px 12px 0; }
  .dxal .is-feat .dxal-sheet.s2 { left: 12px; top: 12px; }
  .dxal .is-feat .dxal-sheet.s1 { left: 7px; top: 7px; right: 5px; bottom: 5px; }
  .dxal .is-feat .dxal-mat { padding: 8px; }
  .dxal .is-feat .dxal-pic { height: 190px; }
  .dxal .is-feat .dxal-title { font-size: 22px; }
  .dxal .dxal-ex, .dxal .dxal-film { display: none; }
  .dxal .dxal-dl i { width: 70px; }
  .dxal .dxal-open { height: 42px; padding: 0 20px; font-size: 13px; }
  .dxal .dxal-chk { right: 12px; bottom: 56px; }
  .dxal-pins-h { padding: 12px 14px 8px; }
  .nb a.dxal-pin { padding: 11px 14px; }
  .dxal-pin-d { display: none; }
  .nb-view-list .gl55-grid.dxal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-view-list .dxal .dxal-pic { height: 96px; }

  .dxal-vbar { padding: 8px 10px; gap: 8px; flex-wrap: wrap; }
  .dxal-ticks { order: 3; flex-basis: 100%; }
  .dxal-vtools { margin-left: auto; }
  #dxal-play span { display: none; }
  #dxal-play, #dxal-full { width: 34px; padding: 0; justify-content: center; }
  .dxal-stage { min-height: 0; padding: 14px 0 14px; }
  .dxal-mat-big { max-width: none; width: calc(100% - 48px); padding: 10px 10px 8px; }
  .dxal-frame { height: 300px; }
  .dxal-nav { width: 34px; height: 48px; margin-top: -24px; font-size: 14px; }
  .dxal-keys { display: none; }
  .dxal-cap { padding: 12px 14px; gap: 8px 12px; }
  .dxal-cap-b { width: 100%; }
  .dxal-cap-b a { flex: 1; justify-content: center; }
  .dxal-film-g button { height: 48px; }
  .dxal-film-wrap:not(.is-all) .dxal-film-g { grid-auto-columns: 56px; }
  .dxal-film-wrap.is-all .dxal-film-g { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dxal-info3 { grid-template-columns: minmax(0, 1fr); }
  .dxal-info3 > div + div { border-left: 0; border-top: 1px solid var(--nb-ink); }
}
