/* 상패 위 미리 보기(plate.js). 손님 화면과 관리자가 함께 쓴다. 이름은 모두 plq-.
   글자 크기는 판 폭에 맞춘 cqw 이고, --k(1 → 0.3)를 곱해 글이 길면 작아진다(plate.js fit). 제목은 금색 큰 글, 나머지는 가운데 정렬. */
.plq { margin: 0; display: flex; flex-direction: column; align-items: center; }
.plq-in { position: relative; width: 100%; container-type: inline-size; transform: rotate(var(--tilt, 0deg)); }
.plq-square .plq-in { width: 82%; margin: 4% 0; }
.plq-name .plq-in { width: 100%; }
.plq-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 18px rgba(15, 22, 36, .28)); }
.plq-t { position: absolute; display: flex; flex-direction: column; overflow: hidden; --k: 1; text-align: center; color: #fff; word-break: keep-all; overflow-wrap: anywhere; }
.plq-tx { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: calc(2.6cqw * var(--k)); width: 100%; }
.plq-t p { margin: 0; max-width: 100%; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: -.01em; }
.plq-title { font-size: calc(9.6cqw * var(--k)); line-height: 1.15; font-weight: 800; color: #E2C47C; letter-spacing: .01em; white-space: pre-line; }
.plq-to { font-size: calc(5.4cqw * var(--k)); line-height: 1.3; font-weight: 700; white-space: pre-line; }
.plq-body { font-size: calc(3.9cqw * var(--k)); line-height: 1.6; font-weight: 500; white-space: pre-line; opacity: .96; }
.plq-date { font-size: calc(3.5cqw * var(--k)); line-height: 1.3; font-weight: 500; opacity: .86; }
.plq-from { font-size: calc(4.4cqw * var(--k)); line-height: 1.35; font-weight: 700; white-space: pre-line; }
/* 꼴마다 */
.plq-peak .plq-title { font-size: calc(12cqw * var(--k)); }
.plq-peak .plq-to { font-size: calc(6.6cqw * var(--k)); }
.plq-peak .plq-body { font-size: calc(4.8cqw * var(--k)); }
.plq-peak .plq-date { font-size: calc(4.4cqw * var(--k)); }
.plq-peak .plq-from { font-size: calc(5.4cqw * var(--k)); }
.plq-rect .plq-title { font-size: calc(11cqw * var(--k)); }
.plq-rect .plq-body { font-size: calc(4.4cqw * var(--k)); }
.plq-base .plq-title { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }
.plq-name .plq-tx { gap: calc(1cqw * var(--k)); }
.plq-name .plq-title { font-size: calc(4.6cqw * var(--k)); }
.plq-name .plq-to { font-size: calc(6.4cqw * var(--k)); letter-spacing: .2em; color: #E2C47C; }
.plq-name .plq-body { font-size: calc(2.2cqw * var(--k)); }
.plq-name .plq-date, .plq-name .plq-from { font-size: calc(2.4cqw * var(--k)); }
.plq.is-light .plq-t { color: #3A2A12; }
.plq.is-light .plq-title { color: #6B4A12; }
/* 비어 있을 때의 자리 글 */
.plq.is-ph .plq-t { opacity: .55; }
.plq-cap { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink2, #5A6272); text-align: center; }
