/* Nhà hàng Sen 360° — "Lá sen × Đèn lồng mây × Thực đơn × Hoàng hôn trên vịnh"
   Taviraj (tiêu đề) + Work Sans (chữ) + Ephesis (chữ viết tay) */
:root {
  --teak: #2f2219; --teak2: #4a3426; --sand: #bca987; --cream: #f8f1e4; --paper: #fbf7ef;
  --amber: #e29a3b; --gold: #d09130; --lotus: #eaa3ab; --lotusD: #c45f6d; --leaf: #5b7a3c; --leafD: #3c5528; --sea: #1d5560;
  --ink: #2c211a; --mute: rgba(44, 33, 26, .62); --zc: #c45f6d;
  --serif: 'Taviraj', Georgia, serif; --sans: 'Work Sans', system-ui, sans-serif; --hand: 'Ephesis', cursive;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--teak); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
.i { width: 20px; height: 20px; flex: none; }
#pano, #vid { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#vid { pointer-events: none; opacity: 0; transition: opacity .8s; }
#vid.on { opacity: 1; }

/* ---------- giờ dùng bữa: lớp màu phủ ---------- */
#grade { display: contents; }
#grade i { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
#grade .g1 { mix-blend-mode: soft-light; }
#grade .g2 { mix-blend-mode: multiply; }
body.m-sunset #grade .g1 { opacity: 1; background: linear-gradient(180deg, #ff9a52 0%, #ffb36b 40%, #f37b4f 70%, #7a3c52 100%); }
body.m-sunset #grade .g2 { opacity: .42; background: radial-gradient(120% 80% at 50% 38%, #ffd7a3 0%, #f2a061 45%, #8a4b5b 100%); }
body.m-night #grade .g2 { opacity: .78; background: radial-gradient(130% 90% at 50% 70%, #8a6a8c 0%, #34386a 50%, #151a3a 100%); }
body.m-night #grade .g1 { opacity: .9; background: radial-gradient(70% 45% at 50% 82%, #ffcf7a 0%, rgba(255, 180, 90, .45) 40%, transparent 72%), linear-gradient(180deg, #1d2450, #3a2c4c); }
#grade .stars { mix-blend-mode: screen; background-image: radial-gradient(1.2px 1.2px at 12% 14%, #fff 50%, transparent), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent), radial-gradient(1.4px 1.4px at 44% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 63% 6%, #fff 50%, transparent), radial-gradient(1.3px 1.3px at 78% 16%, #fff 50%, transparent), radial-gradient(1px 1px at 90% 9%, #fff 50%, transparent), radial-gradient(1px 1px at 6% 26%, #fff 50%, transparent), radial-gradient(1.2px 1.2px at 54% 27%, #fff 50%, transparent); }
body.m-night #grade .stars { opacity: .7; animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .35; } }

/* ---------- màn chào ---------- */
#ld { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: auto; color: var(--cream); transition: opacity 1s, visibility 1s; }
#ld.out { opacity: 0; visibility: hidden; pointer-events: none; }
.ld-bg { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 30%, rgba(47, 34, 25, .35), rgba(47, 34, 25, .92) 70%), url(../img/loader.webp) center/cover; filter: saturate(1.1); }
.ld-bg::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(29, 85, 96, .35), rgba(47, 34, 25, .85)); }
.ld-water { position: absolute; left: 50%; top: 34%; width: 0; height: 0; }
.ld-water i { position: absolute; left: -160px; top: -40px; width: 320px; height: 80px; border-radius: 50%; border: 1.5px solid rgba(248, 241, 228, .28); animation: ripple 5.4s linear infinite; }
.ld-water i:nth-child(2) { animation-delay: -1.8s; } .ld-water i:nth-child(3) { animation-delay: -3.6s; }
@keyframes ripple { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.ld-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 16px 24px; width: min(520px, 100%); }
.ld-lotus { position: relative; width: 230px; height: 200px; }
.ld-lotus .pod { position: absolute; left: 50%; top: 47%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px rgba(248, 241, 228, .85), 0 10px 40px rgba(0, 0, 0, .5); z-index: 2; }
.ld-lotus .planet { position: absolute; inset: -4%; background: url(../img/loader.webp) center/cover; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ld-lotus .petals { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.ld-lotus .petals path { transform-origin: 0 18px; transition: transform 1.2s cubic-bezier(.3, 1.3, .5, 1); }
.ld-lotus .petals .front { z-index: 3; }
.ld-pct { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font: 500 12px var(--sans); letter-spacing: .2em; color: var(--sand); z-index: 4; }
#ld.ready .ld-pct { opacity: 0; transition: opacity .6s; }
.ld-card { position: relative; width: 100%; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 22px 24px 18px; text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.ld-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(188, 169, 135, .9); outline: 3px double rgba(188, 169, 135, .5); outline-offset: 3px; pointer-events: none; border-radius: 2px; }
.ld-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 4px; font: 600 11.5px/1.25 var(--sans); letter-spacing: .22em; color: var(--teak2); text-align: left; }
.ld-brand img { width: 46px; height: auto; }
.ld-brand small { font-weight: 400; letter-spacing: .16em; color: var(--mute); font-size: 10px; }
.ld-name { margin: 2px 0 0; line-height: .9; }
.ld-name b { display: block; font: 300 76px/0.95 var(--serif); letter-spacing: .06em; color: var(--teak2); }
.ld-name span { display: block; font: 400 40px/1 var(--hand); color: var(--lotusD); margin-top: -10px; }
.ld-motto { margin: 8px 0 12px; font: italic 300 16px var(--serif); color: var(--mute); }
.ld-stats { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0 0 14px; padding: 10px 0; border-block: 1px dotted rgba(74, 52, 38, .35); }
.ld-stats li { flex: 1; display: flex; flex-direction: column; }
.ld-stats li + li { border-left: 1px solid rgba(74, 52, 38, .15); }
.ld-stats b { font: 500 22px var(--serif); color: var(--teak2); }
.ld-stats span { font-size: 11.5px; color: var(--mute); }
.ld-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; border: 1px solid rgba(74, 52, 38, .3); border-radius: 30px; padding: 3px; }
.seg button { padding: 6px 13px; border-radius: 30px; font-size: 13px; color: var(--mute); }
.seg button.on { background: var(--teak2); color: var(--cream); }
.vsw { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 12px 4px 4px; border-radius: 30px; border: 1px solid rgba(74, 52, 38, .3); }
.vsw .knob { width: 38px; height: 22px; border-radius: 20px; background: #cfc4b0; position: relative; transition: background .3s; }
.vsw .knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.vsw[aria-checked="true"] .knob { background: var(--leaf); }
.vsw[aria-checked="true"] .knob::after { transform: translateX(16px); }
.ld-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 18px; border-radius: 40px; background: linear-gradient(135deg, var(--lotusD), #a8485a); color: #fff; font: 500 16px var(--sans); letter-spacing: .04em; box-shadow: 0 8px 22px rgba(196, 95, 109, .45); transition: transform .2s, filter .3s; }
.ld-go .i { width: 30px; height: 20px; }
.ld-go:disabled { filter: grayscale(.8) brightness(1.1); opacity: .7; cursor: wait; }
.ld-go:not(:disabled):hover { transform: translateY(-2px); }
#ld.ready .ld-go:not(:disabled) { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 8px 34px rgba(234, 163, 171, .85); } }
.ld-foot { margin: 12px 0 0; font-size: 11px; color: var(--mute); line-height: 1.4; }
@media (max-height: 640px) {
  .ld-lotus { width: 160px; height: 136px; }
  .ld-lotus .pod { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
  .ld-name b { font-size: 54px; } .ld-name span { font-size: 30px; }
  .ld-in { gap: 8px; padding-block: 10px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .ld-in { flex-direction: row; width: min(820px, 100%); align-items: center; }
  .ld-lotus { flex: none; }
  .ld-card { padding: 14px 18px 12px; }
  .ld-name b { font-size: 44px; } .ld-name span { font-size: 26px; margin-top: -6px; }
  .ld-motto { margin: 4px 0 8px; } .ld-stats { margin-bottom: 8px; padding: 6px 0; } .ld-row { margin-bottom: 8px; }
  .ld-go { padding: 10px; } .ld-brand { display: none; }
}

/* ---------- giao diện trong tour ---------- */
body:not(.started) #plate, body:not(.started) #meal, body:not(.started) .tools, body:not(.started) #pads, body:not(.started) #bloom, body:not(.started) #vbar { opacity: 0; pointer-events: none; }
#plate, #meal, .tools, #pads, #bloom, #vbar { transition: opacity .8s .4s, transform .5s; }

/* thẻ bàn */
#plate { position: fixed; left: 14px; top: calc(14px + var(--safe-t)); z-index: 10; display: flex; align-items: stretch; max-width: min(400px, calc(100vw - 90px)); background: var(--paper); border-radius: 3px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
#plate::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -7px; height: 7px; background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent); clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
.pl-em { position: relative; flex: none; width: 62px; display: grid; place-items: center; background: var(--zc); color: rgba(255, 255, 255, .9); border-radius: 3px 0 0 3px; transition: background .6s; }
.pl-em svg { width: 40px; height: 28px; opacity: .35; position: absolute; top: 12px; }
.pl-em b { position: relative; font: 500 22px var(--serif); margin-top: 18px; }
.pl-body { padding: 8px 14px 6px; min-width: 0; }
.pl-zone { margin: 0; font: 600 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--zc); transition: color .6s; }
#plTitle { margin: 0; font: 500 19px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-meta { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); }
.pl-meta button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(74, 52, 38, .2); }
.pl-meta button:hover { background: var(--cream); }
.pl-meta .i { width: 15px; height: 15px; }

/* giờ dùng bữa */
#meal { position: fixed; top: calc(14px + var(--safe-t)); left: 50%; transform: translateX(-50%); z-index: 10; display: flex; padding: 4px; border-radius: 40px; background: rgba(47, 34, 25, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cream); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
#meal button { display: flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 40px; font-size: 13px; opacity: .78; transition: background .3s, opacity .3s; }
#meal button .i { width: 17px; height: 17px; }
#meal button.on { opacity: 1; background: var(--cream); color: var(--teak2); }
#meal button[data-m="sunset"].on { background: linear-gradient(135deg, #ffcf8a, #f08a5d); color: #4a2412; }
#meal button[data-m="night"].on { background: linear-gradient(135deg, #2c356b, #6b4f86); color: #ffe7b8; }

/* thanh công cụ: chuỗi đèn lồng bên phải */
.tools { position: fixed; right: 12px; top: calc(14px + var(--safe-t)); z-index: 11; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 30px; background: rgba(47, 34, 25, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tools::before { content: ""; position: absolute; left: 50%; top: -14px; height: 14px; border-left: 1.5px solid rgba(188, 169, 135, .6); }
.tools button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--sand); transition: background .25s, color .25s; }
.tools button:hover { background: rgba(248, 241, 228, .12); color: var(--cream); }
.tools button.on { color: var(--teak); background: radial-gradient(circle at 50% 40%, #ffe2a6, var(--amber)); box-shadow: 0 0 14px rgba(226, 154, 59, .75); }
.tools .lang span { font: 600 12px var(--sans); letter-spacing: .08em; }
.tools button[data-tip]:hover::after { content: attr(data-tip); position: absolute; right: 48px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--paper); color: var(--ink); font-size: 12.5px; padding: 5px 10px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); pointer-events: none; }

/* lá sen: 6 khu */
#pads { position: fixed; left: 50%; bottom: calc(12px + var(--safe-b)); transform: translateX(-50%); z-index: 10; max-width: calc(100vw - 24px); }
.pads-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 16px 6px 2px; scroll-snap-type: x proximity; }
.pads-in::-webkit-scrollbar { display: none; }
.pad { position: relative; flex: none; width: 98px; display: flex; flex-direction: column; align-items: center; color: var(--cream); scroll-snap-align: center; transition: transform .3s; }
.pad:hover { transform: translateY(-3px); }
.pad .leaf { position: relative; width: 64px; height: 50px; }
.pad .leaf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.pad .leaf .bud { position: absolute; left: 50%; top: -12px; width: 28px; height: 22px; transform: translateX(-50%) scale(var(--s, .55)); transform-origin: 50% 100%; color: var(--lotus); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.pad.done .leaf .bud { color: #ffd0d6; }
.pad .rn { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); font: 500 14px var(--serif); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.pad > b { margin-top: 3px; font: 500 12px/1.2 var(--sans); text-shadow: 0 1px 4px rgba(0, 0, 0, .9); white-space: nowrap; }
.pad > small { font-size: 10.5px; opacity: .8; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.pad.cur .leaf svg { filter: drop-shadow(0 0 10px rgba(255, 226, 166, .9)) drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.pad.cur > b { color: #ffe2a6; }

/* sen nở (tiến độ) */
#bloom { position: fixed; left: 14px; bottom: calc(14px + var(--safe-b)); z-index: 10; display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 40px; background: rgba(47, 34, 25, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cream); }
#bloom svg { width: 46px; height: 46px; }
#bloom span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
#bloom b { font: 500 16px var(--serif); }
#bloom small { font: 400 17px var(--hand); color: var(--lotus); }

/* video 360 */
#vbar { position: fixed; left: 50%; bottom: calc(118px + var(--safe-b)); transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; align-items: center; }
#vbar[hidden] { display: none; }
.v-main { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 40px; background: var(--paper); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.v-main .ring { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.v-main .ring svg:first-child { position: absolute; inset: 0; transform: rotate(-90deg); }
.v-main .ring circle { fill: var(--lotusD); stroke: rgba(196, 95, 109, .25); stroke-width: 4; }
.v-main .ring circle + circle { fill: none; stroke: #fff; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; stroke-linecap: round; stroke-width: 2.5; }
.v-main .ring .i { position: relative; width: 18px; height: 18px; }
.v-main .vt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.v-main .vt b { font: 500 15px var(--serif); }
.v-main .vt small { font-size: 11.5px; color: var(--mute); }
.v-sm { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(47, 34, 25, .8); color: var(--cream); }
.v-sm.on { background: var(--amber); color: var(--teak); }
#vbar.idle .v-main { animation: breathe 2.6s ease-in-out infinite; }

/* ---------- điểm nóng ---------- */
#hs { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
#hs > * { position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform; }
.hs-go { width: 0; height: 0; }
.hs-go .bud { position: absolute; left: -22px; top: -26px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 70%, rgba(91, 122, 60, .95) 0 46%, transparent 47%); }
.hs-go .bud::before { content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); animation: hsRip 2.6s ease-out infinite; }
@keyframes hsRip { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.hs-go .bud svg { position: relative; width: 30px; height: 30px; color: var(--lotus); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); transition: transform .3s; transform-origin: 50% 90%; }
.hs-go:hover .bud svg { transform: scale(1.18) rotate(-6deg); }
.hs .tip, .tip { position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 6px); width: 168px; background: var(--paper); border-radius: 3px; padding: 5px 5px 7px; text-align: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.tip img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 2px; }
.tip b { display: block; margin-top: 4px; font: 500 13.5px/1.2 var(--serif); }
.tip small { font-size: 10.5px; color: var(--mute); letter-spacing: .08em; }
.hs-go:hover .tip, .hs-go:focus-visible .tip, .hs-place:hover .tip { opacity: 1; transform: translate(-50%, 0); }
body.touch .tip { display: none; }
.hs-place { transform-origin: 0 0; }
.hs-place .post { position: absolute; left: 0; top: 0; width: 2px; height: 34px; background: linear-gradient(var(--sand), rgba(188, 169, 135, 0)); transform: translateX(-1px); }
.hs-place .lb { position: absolute; left: 0; bottom: 0; transform: translate(-50%, -2px); display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; white-space: nowrap; border-radius: 3px; background: var(--teak2); color: var(--cream); font: 500 13px var(--serif); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.hs-place .lb::after { content: ""; position: absolute; left: 50%; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--teak2); transform: translateX(-50%); }
.hs-place .lb .i { width: 16px; height: 16px; color: var(--amber); }
.hs-place .tip { bottom: 44px; }
.hs-place:hover .lb { background: var(--lotusD); } .hs-place:hover .lb::after { border-top-color: var(--lotusD); }
.hs-fly .pill { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 30px; white-space: nowrap; background: rgba(248, 241, 228, .92); color: var(--teak2); font: 500 12.5px var(--sans); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.hs-fly .pill .ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffe2a6, var(--amber)); }
.hs-fly .pill .i { width: 16px; height: 16px; }
.hs-fly:hover .pill { background: #fff; }
.hs-lift .st { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--cream); font: 500 12px var(--sans); text-shadow: 0 1px 4px rgba(0, 0, 0, .9); white-space: nowrap; }
.hs-lift .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(248, 241, 228, .9); background: repeating-linear-gradient(90deg, #8a6a3e 0 6px, #a9874f 6px 12px); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ---------- tờ thực đơn ---------- */
#sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--paper); box-shadow: -20px 0 50px rgba(0, 0, 0, .4); transform: translateX(105%); transition: transform .45s cubic-bezier(.3, .8, .3, 1); }
#sheet.open { transform: none; }
#sheet::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(188, 169, 135, .7); pointer-events: none; }
.sh-head { display: flex; align-items: center; justify-content: space-between; padding: calc(22px + var(--safe-t)) 26px 8px; }
#shTitle { margin: 0; font: 500 13px var(--sans); letter-spacing: .3em; color: var(--teak2); }
#shClose { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; position: relative; z-index: 1; }
#shClose:hover { background: var(--cream); }
.sh-body { flex: 1; overflow-y: auto; padding: 4px 26px calc(28px + var(--safe-b)); position: relative; }
.sh-body h4 { margin: 18px 0 6px; font: 500 12px var(--sans); letter-spacing: .24em; color: var(--lotusD); }
.sh-body p { margin: 0 0 10px; }
.hand { font: 400 34px/1 var(--hand); color: var(--lotusD); }
.menu-top { text-align: center; padding: 4px 0 10px; border-bottom: 1px solid rgba(188, 169, 135, .6); margin-bottom: 8px; }
.menu-top .t { display: block; font: 300 36px/1 var(--serif); letter-spacing: .12em; color: var(--teak2); }
.menu-top small { font-size: 11.5px; color: var(--mute); letter-spacing: .14em; }
.course { padding: 12px 0 8px; border-bottom: 1px dotted rgba(74, 52, 38, .3); }
.course-h { display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left; }
.course-h .rn { font: 500 15px var(--serif); color: var(--cz); width: 28px; }
.course-h b { font: 500 18px var(--serif); }
.course-h .dots { flex: 1; border-bottom: 1.5px dotted rgba(74, 52, 38, .35); transform: translateY(-4px); }
.course-h em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.course p { margin: 2px 0 6px 36px; font: italic 300 14.5px/1.4 var(--serif); color: var(--mute); }
.course .say { margin-left: 36px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--lotusD); padding: 2px 0; }
.course .say .i { width: 15px; height: 15px; }
.slist { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 8px 0 4px 36px; }
.slist .sc { position: relative; text-align: left; border-radius: 3px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.slist .sc img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.slist .sc b { display: block; padding: 4px 6px 5px; font: 500 12.5px/1.25 var(--serif); }
.slist .sc.cur { outline: 2px solid var(--cz); outline-offset: 1px; }
.slist .sc .ok { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lotusD); color: #fff; }
.slist .sc .ok .i { width: 13px; height: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 30px; background: var(--teak2); color: var(--cream); font-size: 13.5px; text-decoration: none; }
.btn .i { width: 17px; height: 17px; }
.btn.lotus { background: var(--lotusD); }
.btn.ghost { background: transparent; color: var(--teak2); border: 1px solid rgba(74, 52, 38, .35); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.intro-img { width: 100%; border-radius: 3px; display: block; aspect-ratio: 16/10; object-fit: cover; }
.logos { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 16px 0 6px; }
.logos img { height: 64px; width: auto; }
.logos img + img { height: 38px; }
.contact { list-style: none; padding: 0; margin: 0; }
.contact li { padding: 7px 0; border-bottom: 1px dotted rgba(74, 52, 38, .25); font-size: 14px; }
.contact span { display: block; font-size: 10.5px; letter-spacing: .2em; color: var(--mute); }
.contact a { color: var(--sea); }
#map { height: 200px; border-radius: 3px; margin-top: 12px; z-index: 0; }
.demo-note { font-size: 12px; color: var(--mute); margin-top: 12px; }
.album { columns: 2; column-gap: 8px; }
.album button { display: block; width: 100%; margin: 0 0 8px; break-inside: avoid; border-radius: 3px; overflow: hidden; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); }
.album img { display: block; width: 100%; transition: transform .5s; }
.album button:hover img { transform: scale(1.05); }
.qr { display: flex; gap: 14px; align-items: flex-start; }
.qr img { width: 132px; height: 132px; image-rendering: pixelated; background: #fff; padding: 6px; border-radius: 3px; }

/* sen nở + đặt bàn */
.bloom-big { display: flex; align-items: center; gap: 16px; padding: 6px 0 12px; border-bottom: 1px solid rgba(188, 169, 135, .6); }
.bloom-big svg { width: 120px; height: 120px; flex: none; }
.bloom-big b { display: block; font: 300 34px/1 var(--serif); }
.bloom-big p { margin: 4px 0 0; font-size: 13.5px; color: var(--mute); }
.zrows { margin: 10px 0 4px; }
.zrow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; font-size: 13.5px; text-align: left; }
.zrow .rn { width: 26px; font: 500 14px var(--serif); color: var(--cz); }
.zrow .meter { flex: 1; height: 6px; border-radius: 4px; background: rgba(74, 52, 38, .12); overflow: hidden; }
.zrow .meter i { display: block; height: 100%; background: var(--cz); border-radius: 4px; }
.zrow em { font-style: normal; color: var(--mute); width: 34px; text-align: right; font-size: 12.5px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; }
.form label.w { grid-column: 1 / -1; }
.form input, .form select { font: 15px var(--sans); padding: 9px 10px; border: 1px solid rgba(74, 52, 38, .3); border-radius: 3px; background: #fff; color: var(--ink); text-transform: none; letter-spacing: 0; }
.seats { display: flex; flex-wrap: wrap; gap: 6px; }
.seats button { padding: 7px 12px; border-radius: 30px; border: 1px solid rgba(74, 52, 38, .3); font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.seats button.on { background: var(--lotusD); border-color: var(--lotusD); color: #fff; }
.resv { position: relative; margin: 16px 0 8px; padding: 18px 18px 16px; background: #fff; border-radius: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, .18); text-align: center; overflow: hidden; }
.resv::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--sand); pointer-events: none; }
.resv .k { font: 600 10.5px var(--sans); letter-spacing: .3em; color: var(--mute); }
.resv h5 { margin: 4px 0 0; font: 400 40px/1 var(--hand); color: var(--lotusD); }
.resv .who { font: 500 22px var(--serif); margin: 6px 0 2px; }
.resv dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dotted rgba(74, 52, 38, .3); }
.resv dt { font-size: 10px; letter-spacing: .18em; color: var(--mute); }
.resv dd { margin: 0; font: 500 15px var(--serif); }
.resv .code { margin-top: 10px; font: 500 12px var(--sans); letter-spacing: .3em; color: var(--teak2); }
.resv .stampd { position: absolute; right: 14px; top: 14px; transform: rotate(14deg); font: 600 10px/1.2 var(--sans); letter-spacing: .14em; color: rgba(196, 95, 109, .85); border: 1.5px solid rgba(196, 95, 109, .85); border-radius: 4px; padding: 3px 6px; }

/* lightbox */
#lb { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(20, 14, 10, .92); }
#lb[hidden] { display: none; }
#lb figure { margin: 0; max-width: 92vw; text-align: center; }
#lb img { max-width: 92vw; max-height: 82vh; border: 6px solid var(--paper); border-bottom-width: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
#lb figcaption { margin-top: 8px; color: var(--sand); font: italic 300 15px var(--serif); }
.lb-x { position: absolute; top: calc(14px + var(--safe-t)); right: 14px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--cream); }
.lb-n { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(248, 241, 228, .14); color: var(--cream); }
.lb-n.p { left: 12px; } .lb-n.n { right: 12px; }

#toast { position: fixed; left: 50%; top: calc(70px + var(--safe-t)); transform: translate(-50%, -12px); z-index: 40; padding: 9px 18px; border-radius: 30px; background: var(--paper); color: var(--ink); font-size: 14px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100vw - 32px); text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- điện thoại ---------- */
@media (max-width: 760px) {
  #meal { top: auto; bottom: calc(112px + var(--safe-b)); left: 12px; transform: none; }
  #meal button span { display: none; }
  #meal button { padding: 8px 10px; }
  #bloom { bottom: calc(112px + var(--safe-b)); left: auto; right: 12px; padding: 4px; }
  #bloom span { display: none; }
  #bloom svg { width: 40px; height: 40px; }
  #vbar { bottom: calc(168px + var(--safe-b)); }
  .tools { gap: 2px; padding: 4px; }
  .tools button { width: 34px; height: 34px; }
  .tools .i { width: 18px; height: 18px; }
  #plTitle { font-size: 16px; }
  .pl-em { width: 50px; }
  .pad { width: 80px; }
  .pad > small { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .tools { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; max-width: 50vw; border-radius: 22px; }
  .tools::before { display: none; }
  .pad .leaf { width: 48px; height: 38px; } .pad > small { display: none; }
  #meal, #bloom { bottom: calc(14px + var(--safe-b)); }
  #pads { left: auto; right: 64px; transform: none; max-width: 56vw; }
  #meal { left: 12px; top: auto; transform: none; }
  #bloom { left: auto; right: 12px; }
  #vbar { bottom: calc(96px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
.tools button[hidden], .v-sm[hidden] { display: none; }
