/* 富景落地页共用样式。颜色、字体都在 :root，DWL 出新样式时整体换这一个文件。
   和订位页、会员页同一套：乳白顶部、近黑主体、金线、中式红点缀、黑金按钮。 */
:root {
  --ink: #0A1F1A; --ink-2: #010B09; --gold: #C4A77D; --gold-2: #a8895c; --gold-hi: #F2DDAF;
  --cream: #FAF7F2; --cream-2: #F0EBE3; --red: #9D1301; --line: #e6dccb; --line-dk: rgba(196,167,125,.32);
  --text: #1a1f1c; --text-2: #5a6a5a; --text-3: #8a9a8a; --on-ink: rgba(250,247,242,.86); --on-ink-2: rgba(250,247,242,.58);
  --serif: "Noto Serif SC", Georgia, "Songti SC", serif;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --bar-h: 132px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--ink); color: var(--on-ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--ink); padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

/* 顶部：乳白、logo、语言 */
.top { position: relative; background: var(--cream); color: var(--ink); text-align: center; padding: 18px 20px 16px; border-bottom: 2px solid var(--gold); }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ink); }
.top .logo { display: block; height: 50px; margin: 4px auto 8px; }
.top .logo-a { display: block; width: max-content; margin: 0 auto; }
.top .kicker { display: block; color: var(--red); font-size: 11px; letter-spacing: .3em; font-weight: 600; }
.top h1 { margin: 6px 0 0; font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: .08em; }
.top .orn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.top .orn::before, .top .orn::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.top .orn i { width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.globe { position: absolute; right: 12px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.globe svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; }
.globe select { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; font-size: 16px; }

/* 大图 */
.hero { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 10%, #1d3b31 0%, var(--ink) 60%, var(--ink-2) 100%); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(1,11,9,.85)); }
.hero .cap h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--cream); letter-spacing: .04em; }
.hero .cap p { margin: 6px 0 0; color: var(--gold-hi); font-size: 14px; }

/* 区块 */
.sec { padding: 22px 18px 4px; }
.sec h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--gold); letter-spacing: .1em; display: flex; align-items: center; gap: 10px; }
.sec h3::after { content: ""; flex: 1; height: 1px; background: var(--line-dk); }
.sec p { margin: 0 0 10px; line-height: 1.7; font-size: 14.5px; }
.pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pt { border: 1px solid var(--line-dk); border-radius: 14px; padding: 14px 8px; text-align: center; background: rgba(250,247,242,.03); }
.pt b { display: block; font-family: var(--serif); color: var(--gold-hi); font-size: 15px; font-weight: 600; }
.pt span { display: block; margin-top: 4px; font-size: 12px; color: var(--on-ink-2); line-height: 1.45; }
.cards { display: grid; gap: 12px; }
.card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; background: var(--cream); color: var(--text); border-radius: 14px; padding: 10px; }
.card .ph { aspect-ratio: 1; border-radius: 10px; background: var(--cream-2); overflow: hidden; display: grid; place-items: center; color: var(--text-3); font-size: 11px; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); }
.card p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.card .seat { color: var(--red); font-size: 16px; }
.card .meta { margin-top: 6px; font-size: 13px; color: var(--red); font-weight: 600; }
.info { display: grid; gap: 8px; font-size: 14px; }
.info div { display: flex; gap: 10px; }
.info dt { flex: none; width: 4.5em; color: var(--gold); }
.info dd { margin: 0; color: var(--on-ink); }

/* 待补内容：只在预览时有虚线提示 */
.preview .todo { outline: 1px dashed rgba(196,167,125,.6); outline-offset: 2px; }
.todo-note { display: block; font-size: 11px; color: var(--gold); opacity: .8; margin-top: 4px; }

/* 底部固定：主按钮 + 四个联系按钮 */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(1,11,9,.96); border-top: 1px solid var(--line-dk); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bar-in { max-width: 492px; margin: 0 auto; }
.cta { display: block; width: 100%; text-align: center; text-decoration: none; font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: .14em; text-indent: .14em; padding: 14px; border-radius: 12px; color: var(--gold-hi); border: 1px solid rgba(196,167,125,.75);
  background: linear-gradient(180deg, #2a2a26 0%, #0d0d0b 55%, #000 100%); box-shadow: inset 0 1px 0 rgba(255,236,190,.25), 0 6px 16px rgba(0,0,0,.4); }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 2px; text-decoration: none; color: var(--on-ink); font-size: 12px; border: 0; background: none; font-family: inherit; cursor: pointer; }
.act svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 页脚 */
.foot { text-align: center; color: var(--on-ink-2); font-size: 12px; line-height: 1.8; padding: 26px 18px 10px; }
.foot b { font-family: var(--serif); color: var(--gold); font-weight: 600; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot .priv { color: var(--on-ink-2); text-decoration: underline; }

/* 微信二维码弹层 */
.mask { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; padding: 24px; }
.mask.on { display: flex; }
.sheet { width: 100%; max-width: 320px; background: var(--cream); color: var(--text); border-radius: 18px; padding: 22px 20px 18px; text-align: center; }
.sheet img { width: 200px; height: 200px; object-fit: contain; display: block; margin: 6px auto 10px; }
.sheet h4 { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.sheet p { margin: 4px 0; font-size: 13px; color: var(--text-2); }
.sheet button { margin-top: 12px; font: inherit; font-size: 14px; padding: 9px 26px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }

/* 本地预览时显示来源和提示字，方便核对（?debug=1 或 localhost） */
.dbg { position: fixed; left: 8px; top: 8px; z-index: 50; max-width: 300px; font: 11px/1.5 ui-monospace, Menlo, monospace; color: #0f0; background: rgba(0,0,0,.82); padding: 6px 8px; border-radius: 6px; white-space: pre-wrap; pointer-events: none; }

/* 包房页：房型、可订日期 */
.rooms { display: grid; gap: 12px; }
.room { background: var(--cream); color: var(--text); border-radius: 14px; overflow: hidden; }
.room .ph { aspect-ratio: 16 / 9; background: var(--cream-2); display: grid; place-items: center; color: var(--text-3); font-size: 12px; }
.room .ph img { width: 100%; height: 100%; object-fit: cover; }
.room .bd { padding: 12px 14px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.room h4 { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); }
.room .cap { font-size: 13.5px; color: var(--text-2); }
.room .cap b { color: var(--red); font-size: 16px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 58px; padding: 8px 0; border-radius: 12px; border: 1px solid var(--line-dk); background: transparent; color: var(--on-ink); font-family: inherit; text-align: center; cursor: pointer; }
.day small { display: block; font-size: 11px; color: var(--on-ink-2); }
.day b { display: block; font-size: 17px; font-weight: 600; margin-top: 2px; }
.day i { display: block; width: 5px; height: 5px; border-radius: 50%; margin: 5px auto 0; background: var(--gold); font-style: normal; }
.day.full i { background: transparent; }
.day.on { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.day.on small { color: var(--text-2); }
.meals { display: flex; gap: 8px; margin: 12px 0; }
.meals button { flex: 1; font: inherit; font-size: 14.5px; padding: 10px; border-radius: 10px; border: 1px solid var(--line-dk); background: transparent; color: var(--on-ink); cursor: pointer; }
.meals button.on { background: #EAD9BA; border-color: var(--gold-2); color: var(--ink); font-weight: 600; }
.slots { display: grid; gap: 8px; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-dk); text-decoration: none; color: var(--on-ink); }
.slot b { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--cream); }
.slot span { font-size: 12.5px; color: var(--on-ink-2); }
.slot em { font-style: normal; font-size: 13px; color: var(--gold-hi); white-space: nowrap; }
.slot.full { opacity: .45; pointer-events: none; }
.slot.full em { color: var(--on-ink-2); }
.note { font-size: 12px; color: var(--on-ink-2); margin-top: 10px; line-height: 1.6; }

/* 11-15 Jerry：快速点两下不放大（按钮常被误放大）；两根手指放大照常能用 */
html { touch-action: manipulation; }
