/* 공통 바탕 — 방향별 색·배치는 a.css / b.css / c.css */
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:'Pretendard',sans-serif; font-size:16px; line-height:1.75; word-break:keep-all; -webkit-text-size-adjust:100%; }
img { display:block; max-width:100%; }
a { color:inherit; }
button,input,select { font:inherit; color:inherit; }
h1,h2,h3,h4 { font-family:'Noto Serif KR',serif; font-weight:500; letter-spacing:-0.01em; line-height:1.3; margin:0; }
.lat { font-family:'Cormorant Garamond','Noto Serif KR',serif; font-variant-numeric:lining-nums; }
.wrap { max-width:1200px; margin:0 auto; padding:0 16px; }
.wide { max-width:1440px; margin:0 auto; padding:0 16px; }
.num { font-variant-numeric:tabular-nums; }
.cap { font-size:12px; letter-spacing:.32em; font-weight:600; color:var(--accent2); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 24px; border:1px solid currentColor; background:transparent; text-decoration:none; font-size:14px; letter-spacing:.1em; cursor:pointer; white-space:nowrap; border-radius:var(--r,0); }
.btn-main { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.check { background:#fff3cd; color:#5a4500; padding:0 3px; font-size:.82em; font-family:'Pretendard',sans-serif; letter-spacing:0; border-radius:2px; white-space:nowrap; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.emb { width:30px; height:38px; color:var(--accent); flex:0 0 auto; }
.tiles { height:14px; background:radial-gradient(circle at 10px -2px, transparent 9px, var(--tile) 9.6px, var(--tile) 10.6px, transparent 11.2px) repeat-x; background-size:20px 14px; opacity:.85; }

/* 예약칸 */
.field { display:flex; flex-direction:column; gap:2px; min-width:0; }
.field label { font-size:11px; letter-spacing:.22em; color:var(--sub); }
.field input,.field select { min-height:46px; padding:0 2px; border:0; border-bottom:1px solid var(--line2); background:transparent; width:100%; font-family:'Noto Serif KR',serif; font-size:17px; }
.dark input, .dark select { color-scheme:dark; }

/* 객실 */
.chips { display:flex; gap:8px; flex-wrap:wrap; }
.chips button { min-height:40px; padding:0 16px; border:1px solid var(--line2); background:transparent; cursor:pointer; font-size:14px; border-radius:var(--r,0); }
.chips button[aria-pressed=true] { background:var(--ink); color:var(--bg); border-color:var(--ink); }
.spec { display:flex; flex-wrap:wrap; gap:4px 14px; font-size:14px; color:var(--sub); margin:6px 0 0; padding:0; list-style:none; }
.spec li b { font-weight:600; color:var(--ink); margin-left:4px; }
.tmp { position:absolute; right:8px; top:8px; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:2px 6px; z-index:2; }
.rm[hidden] { display:none !important; }

/* 객실 상세 창 */
dialog.rd { border:0; padding:0; width:min(1080px,calc(100% - 24px)); max-height:calc(100% - 24px); background:var(--bg); color:var(--ink); }
dialog.rd::backdrop { background:rgba(10,8,6,.66); }
.rd .in { display:grid; grid-template-columns:3fr 2fr; }
.rd .gal { position:relative; background:#111; aspect-ratio:4/3; }
.rd .gal img { width:100%; height:100%; object-fit:cover; }
.rd .gal button { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border:0; background:rgba(255,255,255,.88); cursor:pointer; font-size:20px; }
.rd .gal .pv { left:10px; } .rd .gal .nx { right:10px; }
.rd .gal .ct { position:absolute; right:10px; bottom:10px; background:rgba(0,0,0,.6); color:#fff; font-size:12px; padding:2px 8px; }
.rd .tx { padding:32px 28px; display:flex; flex-direction:column; gap:12px; }
.rd .tx h3 { font-size:28px; }
.rd table { width:100%; border-collapse:collapse; font-size:15px; }
.rd th, .rd td { text-align:left; padding:9px 0; border-bottom:1px solid var(--line); font-weight:400; }
.rd th { color:var(--sub); width:40%; }
.rd .x { position:absolute; right:10px; top:10px; width:44px; height:44px; border:0; background:var(--bg); cursor:pointer; font-size:22px; z-index:3; }
.rd .thumbs { display:flex; gap:6px; overflow-x:auto; padding:8px; background:#111; }
.rd .thumbs img { width:72px; height:48px; object-fit:cover; opacity:.55; cursor:pointer; flex:0 0 auto; }
.rd .thumbs img.on { opacity:1; outline:1px solid #fff; }

/* 자주 묻는 질문 */
.faq details { border-bottom:1px solid var(--line); }
.faq summary { list-style:none; cursor:pointer; padding:18px 36px 18px 0; position:relative; font-family:'Noto Serif KR',serif; font-size:17px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:''; position:absolute; right:6px; top:26px; width:10px; height:10px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(45deg); transition:transform .2s; }
.faq details[open] summary::after { transform:rotate(-135deg); top:30px; }
.faq details p { margin:0 0 18px; color:var(--sub); }

/* 휴대폰 고정 예약 막대 */
.mbar { display:none; }
#rt-toast { position:fixed; left:50%; bottom:84px; transform:translateX(-50%); background:#1c1c1c; color:#fff; padding:12px 18px; font-size:14px; opacity:0; pointer-events:none; transition:opacity .2s; max-width:calc(100% - 32px); z-index:200; }
#rt-toast.show { opacity:1; }
.dtag { position:fixed; left:8px; bottom:8px; z-index:150; background:#fff8d6; color:#3a3000; border:1px solid #e4d27a; font:12px/1.45 'Pretendard',sans-serif; padding:4px 8px; border-radius:3px; }
.dtag a { margin-left:6px; }

@media (max-width:900px) {
  .rd .in { grid-template-columns:1fr; }
  .rd .tx { padding:20px 18px 24px; }
  .mbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:120; background:var(--bg); border-top:1px solid var(--line); padding:10px 12px; gap:10px; align-items:center; transform:translateY(100%); transition:transform .25s; }
  .mbar.on { transform:none; }
  .mbar span { flex:1; font-size:13px; color:var(--sub); line-height:1.4; }
  .mbar span b { display:block; color:var(--ink); font-size:15px; font-family:'Noto Serif KR',serif; font-weight:500; }
  .mbar .btn { min-height:46px; }
  body { padding-bottom:70px; }
  .dtag { bottom:76px; }
}

/* drafts_clean 공통 덧붙임 */
.ph { position:relative; display:block; overflow:hidden; background:#d9d4ca; }
.ph img { width:100%; height:100%; object-fit:cover; }
.menu { position:relative; }
.menu summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; min-height:44px; }
.menu summary::-webkit-details-marker { display:none; }
.bars3 { width:20px; height:9px; border-top:1px solid currentColor; border-bottom:1px solid currentColor; display:inline-block; }
.menu nav { position:absolute; left:0; top:100%; background:var(--bg); color:var(--ink); padding:16px 22px; display:flex; flex-direction:column; gap:2px; min-width:210px; box-shadow:0 12px 30px rgba(0,0,0,.14); z-index:60; text-shadow:none; }
.menu nav a { text-decoration:none; padding:8px 0; font-family:'Noto Serif KR',serif; letter-spacing:.06em; }
.tbl { width:100%; border-collapse:collapse; }
.tbl th, .tbl td { text-align:left; padding:12px 0; border-bottom:1px solid var(--line); font-weight:400; vertical-align:top; }
.tbl th { color:var(--sub); width:28%; font-size:14px; }
.bt { display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.acts { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; flex-wrap:wrap; }
.acts a:not(.btn):not(.pill) { font-size:14px; text-underline-offset:4px; }
.acts .btn { min-height:40px; padding:0 18px; }
.sec { padding-top:120px; }
.narrow { max-width:820px; }
.ft .in { display:flex; flex-direction:column; gap:12px; }
.ft .brand { display:flex; align-items:center; gap:10px; font-family:'Noto Serif KR',serif; letter-spacing:.2em; }
.ft p { margin:2px 0; font-size:13px; }
.ft a { text-decoration:none; }
.rm[hidden], li.rm[hidden] { display:none !important; }
.ib { display:flex; flex-wrap:wrap; gap:2px 18px; background:var(--accent); color:var(--on-accent); padding:9px 14px; font-size:14px; line-height:1.5; margin-top:12px; }
.ib i { font-style:normal; opacity:.72; margin-right:6px; font-size:12px; letter-spacing:.08em; }
.rl .p { background:var(--accent); color:var(--on-accent) !important; padding:4px 10px; justify-self:start; white-space:nowrap; }
.sns { display:flex; align-items:center; gap:2px; }
.sns a { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; color:inherit; text-decoration:none; }
.sns svg { width:19px; height:19px; }
.ft .sns { margin:4px 0 6px -10px; }
.ntc { background:#3f0f18; color:#f6ecec; font-size:13px; height:40px; display:flex; align-items:center; position:relative; z-index:55; }
.ntc .wrap { display:flex; gap:12px; align-items:center; width:100%; }
.ntc b { font-weight:600; letter-spacing:.12em; flex:0 0 auto; }
.ntc span { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:.9; }
.ntc a { flex:0 0 auto; text-underline-offset:3px; }
.usage { margin-top:40px; } .usage h3 { font-size:20px; margin-bottom:6px; }
@media (max-width:900px) { .sec { padding-top:80px; } .hd .sns, .ln .sns { display:none; } }
