/* fortune-dream.css — 청운 도사집 [꿈해몽] 오버레이 (1.1.2) · 화면 전체를 덮는 층(z 9700 — 음악칩·은화·ⓘ 와 겹침 방지) */
.fd-veil{ position:fixed; inset:0; z-index:9700; display:flex; align-items:flex-end; justify-content:center; background:rgba(18,12,30,.72); }
.fd-sheet{ position:relative; width:100%; max-width:480px; max-height:90dvh; overflow-y:auto; box-sizing:border-box; padding:18px 16px calc(20px + env(safe-area-inset-bottom,0px));
  border-radius:24px 24px 0 0; background:#fbf2e2 url("assets/ui/paper_tile.webp"); background-size:256px; border:2px solid #e3c88f; border-bottom:0; color:#3a2f2a; font-family:inherit; }
.fd-x{ position:absolute; top:10px; right:12px; min-width:44px; min-height:44px; padding:0 14px; border:1.5px solid #e3c88f; border-radius:22px; background:rgba(255,250,240,.95); color:#5a3a2c; font:inherit; font-size:15px; cursor:pointer; }
.fd-title{ margin:0 0 4px; font-size:22px; font-weight:800; }
.fd-desc{ margin:0 0 10px; font-size:14px; line-height:1.45; color:#5e4f46; padding-right:60px; }
.fd-input{ display:block; width:100%; box-sizing:border-box; padding:10px 12px; border:1.5px solid #d7bf8a; border-radius:14px; background:#fffaf0; font:inherit; font-size:16px; line-height:1.45; color:#3a2f2a; resize:none; }
.fd-btn{ display:block; width:100%; min-height:46px; margin-top:10px; border:0; border-radius:23px; background:#4a3f7a; color:#fff; font:inherit; font-size:17px; font-weight:700; cursor:pointer; }
.fd-btn.is-quiet{ background:rgba(255,255,255,.7); color:#4a3f7a; box-shadow:inset 0 0 0 1.5px #b9a7e0; }
.fd-result{ margin-top:12px; }
.fd-lead{ margin:0 0 8px; font-size:16px; font-weight:800; color:#3a2f2a; }
.fd-item{ margin:0 0 8px; padding:10px 12px; border-radius:14px; background:rgba(255,255,255,.75); box-shadow:inset 0 0 0 1.5px #e3c88f; }
.fd-item-k{ display:block; margin-bottom:3px; font-size:16px; color:#4a3f7a; }
.fd-item-v{ display:block; font-size:15px; line-height:1.5; word-break:keep-all; }
.fd-note{ margin:8px 0 0; font-size:13px; line-height:1.5; color:#7a6a58; text-align:center; word-break:keep-all; }
body.fd-open{ overflow:hidden; }
