/* 📮 우체통 (도련 10-31 · js/postroom.js) : 💻 📲 만 · 별밤 거리 + 우체통 그림 1672 × 941 · 우체통 안 창 = 한 가지씩 (원래 창의 부분을 옮겨 와요) */
.pr-room { --gy: 85%; position: fixed; inset: 0; z-index: 1500; display: none; overflow: hidden; color: #5b3240;
    background: linear-gradient(#7a6690 0 0) 0 calc(var(--gy) - 8px) / 100% 8px no-repeat,
                linear-gradient(#5a4a6e 0 0) 0 var(--gy) / 100% 100% no-repeat,
                linear-gradient(#3b3566, #6b5a9a 55%, #b48fc0 80%, #e7b6c8); }
.pr-room.show { display: block; animation: crIn .25s ease both; }
.pr-room button { font-family: inherit; cursor: pointer; }
.pr-room [hidden] { display: none !important; }
.pr-stars { position: absolute; inset: 0; pointer-events: none; }
.pr-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .8); animation: prTw 3s ease-in-out var(--d) infinite alternate; }
@keyframes prTw { to { transform: scale(.5); filter: brightness(.7); } }
.pr-stage { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; }
.pr-moon { position: absolute; left: 1370px; top: 70px; width: 90px; height: 90px; border-radius: 50%; box-shadow: -22px 10px 0 0 #fff2c4; filter: drop-shadow(0 0 18px rgba(255, 242, 196, .55)); }
.pr-lamp { position: absolute; top: 300px; width: 14px; height: 510px; border-radius: 6px; background: #4a3b5c; }
.pr-lamph { position: absolute; top: 255px; width: 60px; height: 46px; border-radius: 14px 14px 8px 8px; background: #ffe9a8; box-shadow: 0 0 60px 30px rgba(255, 226, 140, .45); }
.pr-bg { position: absolute; inset: 0; width: 1672px; height: 941px; pointer-events: none; user-select: none; filter: drop-shadow(0 18px 16px rgba(30, 20, 50, .45)); }
.pr-slot { position: absolute; left: 836px; top: 228px; translate: -50% 0; font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 1px 0 #9e1f1f; white-space: nowrap; pointer-events: none; }
.pr-go { position: absolute; right: 22px; top: 18px; transform: scale(1.25); transform-origin: 100% 0; }
body.post-on .desk-top-r { display: none; }

/* 우체통 안 창 */
.pr-win { position: absolute; left: 584px; top: 262px; width: 504px; height: 488px; box-sizing: border-box; border-radius: 22px; background: #fffaf3; border: 4px solid #8a1f1f; box-shadow: inset 0 0 0 4px #ffd9cf, 0 6px 0 rgba(120, 20, 20, .35); overflow: hidden; }
.pr-view { position: absolute; inset: 0; display: flex; flex-direction: column; }
.pr-ask { text-align: center; padding: 24px 0 6px; font-size: 20px; font-weight: 900; color: #8a1f1f; }
.pr-cats { display: grid; gap: 16px; padding: 14px 22px 22px; }
.pr-cat { display: flex; align-items: center; gap: 16px; padding: 22px 20px; border-radius: 20px; background: #fff0eb; border: 3px solid #f2b8aa; text-align: left; color: inherit; transition: transform .15s, box-shadow .15s; }
.pr-cat:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #f2b8aa; }
.pr-cat i { font-style: normal; font-size: 46px; width: 70px; height: 70px; flex: none; display: grid; place-items: center; border-radius: 18px; background: #fff; }
.pr-cat b { display: block; font-size: 22px; color: #8a1f1f; } .pr-cat small { font-size: 14px; color: #a07070; font-weight: 700; }
.pr-cat em { margin-left: auto; font-style: normal; font-size: 30px; color: #e8484f; font-weight: 900; }
.pr-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 3px solid #8a1f1f; background: #ffe8e1; }
.pr-top b { font-size: 19px; color: #8a1f1f; flex: 1; }
.pr-bk { padding: 6px 12px; border-radius: 999px; background: #fff; border: 2px solid #e8a49a; color: #c2323e; font-weight: 900; font-size: 14px; }
.pr-back:empty { display: none; }
.pr-in { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }
.pr-zoom { zoom: 1.15; }                                                    /* 원래 창 글씨가 그림과 함께 줄어드니 조금 크게 */
.pr-hd { font-size: 13px; color: #a07070; font-weight: 700; margin: 0 0 10px; word-break: keep-all; }

/* 💬 건의함 (원래 창의 부분) */
.pr-room .feedback-input { width: 100%; height: 200px; box-sizing: border-box; border-radius: 14px; border: 2px dashed #f2c3b8; background: #fff; padding: 12px 14px; font-size: 15px; line-height: 1.7; resize: none; }
.pr-room .feedback-count { margin-top: 6px; }
.pr-room #feedbackSendBtn { display: flex; width: 100%; justify-content: center; margin-top: 12px; padding: 12px; font-size: 17px; }   /* 색 = 앱 주인공 버튼 그대로 */

/* 💌 익명 편지함 (원래 창의 부분) */
.pr-room #lbBack { width: 34px; height: 34px; }
@media (prefers-reduced-motion: reduce) { .pr-star { animation: none; } }

/* 🌙 강변 우체통 전환 (도련 11-01 · js/postroom.js prApproach · 타로카페 · 오락실 · 캡슐기계와 같은 전환) : 처음부터 불투명 · 그림만 스르르 → 우체통 쪽으로 커지며 노란 · 보랏빛 */
.pr-walk { display: none; position: fixed; inset: 0; z-index: 1700; overflow: hidden; background: #3b3566; }
.pr-walk.on { display: block; }
.pr-walk.on .pr-walk-in img { animation: troDoorIn .35s ease; }
.pr-walk.leave { animation: troDoorOut .4s ease forwards; }
.pr-walk-in { position: absolute; inset: 0; }
.pr-walk-in img { position: absolute; user-select: none; -webkit-user-drag: none; }
.pr-walk-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), #fff6d8 0, #ffe29a 14%, #c9a3e6 40%, #6b5a9a 70%, #3b3566 92%); }
.pr-walk.go .pr-walk-in { transition: transform 1.4s cubic-bezier(.4, 0, .8, .5) .15s, opacity .5s ease 1.15s; transform: scale(2.6); opacity: 0; }
.pr-walk.go .pr-walk-in::after { transition: opacity .8s ease .45s; opacity: 1; }

/* 📱 폰 우체통 (도련 11-09 · js/postroom.js PR_PH) : 세로 그림 941 × 1672 · 안 창 · 글씨 · 이동은 화면 크기 (그림과 함께 줄지 않아요) */
.pr-room.ph .pr-stage { width: 941px; height: 1672px; }
.pr-room.ph .pr-bg { width: 941px; height: 1672px; }
.pr-room.ph .pr-moon { left: 70px; top: 10px; }
.pr-room.ph .pr-slot { position: absolute; font-size: 13px; translate: -50% -50%; text-shadow: 0 1px 0 #6e1010; }   /* 투입구 안 */
.pr-room.ph .pr-win { position: absolute; border-width: 3px; border-radius: 18px; box-shadow: inset 0 0 0 3px #ffd9cf, 0 4px 0 rgba(120, 20, 20, .35); }
.pr-room.ph .pr-ask { padding: 14px 0 4px; font-size: 16px; }
.pr-room.ph .pr-cats { gap: 10px; padding: 10px 12px 12px; }
.pr-room.ph .pr-cat { gap: 10px; padding: 12px 12px; border-radius: 16px; border-width: 2.5px; }
.pr-room.ph .pr-cat i { font-size: 30px; width: 46px; height: 46px; border-radius: 14px; }
.pr-room.ph .pr-cat b { font-size: 16px; } .pr-room.ph .pr-cat small { font-size: 11px; }
.pr-room.ph .pr-cat em { font-size: 22px; }
.pr-room.ph .pr-top { padding: 8px 10px; gap: 6px; } .pr-room.ph .pr-top b { font-size: 15px; }
.pr-room.ph .pr-bk { font-size: 12px; padding: 4px 9px; }
.pr-room.ph .pr-in { padding: 10px 10px 12px; }
.pr-room.ph .pr-zoom { zoom: 1; }
.pr-room.ph .feedback-input { height: var(--fbh, 96px); min-height: 0; font-size: 14px; }
.pr-room.ph .pr-hd { font-size: 11.5px; margin-bottom: 8px; }
.pr-room.ph #feedbackSendBtn { margin-top: 8px; padding: 10px; font-size: 15px; }
.pr-room.ph .pr-go { position: absolute; right: 12px; top: 12px; transform: none; z-index: 2; }
