/* Cursed Land · แนว A "คัมภีร์กิลด์" (Grant เลือก 5 พ.ย.) — ชุดสี/ตัวอักษร/รูปทรงกลาง โหลดท้ายสุด ทับสไตล์เดิม */
:root{--night:#15120f;--oak:#1b1713;--oak2:#221d17;--line:#3a3127;--line2:#2a231b;--gold:#c9a35b;--gold2:#d9b878;--parch:#ece3d3;--tx:#ece3d3;--mute:#9b8f7c;--ember:#b0573a;
 --clA-serif:"Noto Serif Thai",Taviraj,serif;--clA-sans:"Noto Sans Thai","IBM Plex Sans Thai Looped",system-ui,sans-serif}
html body{background:var(--night);color:var(--tx);font-family:var(--clA-sans);letter-spacing:0}
body::before{display:none!important}
h1,h2,h3,.mark,.a2h,.a2c b.t,#a2back b{font-family:var(--clA-serif)!important;font-weight:600!important;letter-spacing:.005em}
a{color:var(--gold2)}
:focus-visible{outline:1px solid var(--gold2)!important;outline-offset:3px}
/* ปุ่ม */
.btn,.a2btn{border-radius:4px!important;font-weight:600!important;letter-spacing:.01em;box-shadow:none!important}
.btn,.a2btn:not(.a2sec){background:var(--gold)!important;color:#15120f!important}
.btn:hover,.a2btn:not(.a2sec):hover{background:var(--gold2)!important}
.a2btn{min-height:52px!important;font-size:16px!important}
.ghost,.a2btn.a2sec{background:transparent!important;color:var(--tx)!important;border:1px solid #4a3d2e!important}
/* หัวเว็บ */
.top{background:rgba(21,18,15,.96)!important;border-bottom:1px solid var(--line2)!important}
/* การ์ด */
body .a2c{position:relative;border-radius:6px!important;background:linear-gradient(180deg,#1c1813,#17130f)!important;border:1px solid var(--line)!important;box-shadow:none!important;padding:18px!important}
body .a2c::before{content:"";position:absolute;inset:4px;border:1px solid var(--line2);border-radius:3px;pointer-events:none}
body .a2c>*{position:relative}
body .a2c.a2gold{border-color:#6d5a35!important}
.a2c b.t{font-size:19px!important;line-height:1.35!important;color:var(--tx)!important}
.a2c p{color:var(--mute)!important;font-size:14px!important;line-height:1.6!important}
.a2h{font-size:24px!important;line-height:1.3!important}
.a2h small{font-family:var(--clA-sans);font-weight:400;color:var(--mute)!important}
.a2lab{font-size:12.5px!important;color:var(--mute)!important;letter-spacing:.02em;margin:22px 2px 8px!important}
/* รายการ */
body .a2list{border-radius:6px!important;background:transparent!important;border:1px solid var(--line)!important}
.a2list button{min-height:54px!important;font-size:15.5px!important;border-top-color:var(--line2)!important}
.a2list button i{color:var(--gold)}
.a2list button em{color:#6d6253!important}
#a2back button{border-radius:4px!important;border-color:var(--line)!important}
.bchips,body.a2on .bchips{border-radius:6px!important}
/* แถบเมนูล่าง */
body #a2bar{background:#110e0b!important;border-top:1px solid var(--line2)!important;box-shadow:none!important;padding-top:4px!important}
#a2bar button{font-size:11px!important;white-space:nowrap;color:#8a7f6e!important;gap:4px!important}
#a2bar button.on{color:var(--gold)!important}
#a2bar button i{display:flex;align-items:center;justify-content:center;height:26px;font-size:0!important}
#a2bar button i svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#a2bar button.mid i{width:56px!important;height:56px!important;margin-top:-24px!important;background:var(--night)!important;border:1px solid var(--gold);color:var(--gold)!important;box-shadow:0 0 0 5px #110e0b!important}
#a2bar button.mid i svg{width:24px;height:24px}
#a2bar button.mid{color:var(--gold)!important}
.clA-ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:-4px;flex:none}
/* แผ่นเลื่อนขึ้น (sheet) + ฟอร์ม */
input,select,textarea{border-radius:4px!important}
html body .top .btn.lineq{background:transparent!important;color:var(--tx)!important;border:1px solid var(--line)!important;font-weight:500!important;box-shadow:none!important}
html body .top .btn.lineq svg{color:#06c755}
html body .clnb{background:transparent!important;border:1px solid var(--line)!important;color:var(--gold)!important;font-size:0!important}
html body .clnb svg{width:19px;height:19px}
html body .clnb i{font-size:10px!important;background:var(--ember)!important}
html body .card,html body .mecard,html body .land,html body .room,html body .calc,html body table.rate,html body details,html body .clbd,html body .gwhat,html body .promo,html body .mlinks a,html body .mkline,html body .gmc,html body .note{border-radius:6px!important;box-shadow:none!important}
html body .card,html body .mecard,html body .calc,html body .clbd,html body .gwhat,html body .mlinks a{background:linear-gradient(180deg,#1c1813,#17130f)!important;border:1px solid var(--line)!important}
html body .card.hot,html body .card.upgc{border-color:#6d5a35!important}
html body .gwbtn{border-radius:6px!important;background:transparent!important;border:1px solid #6d5a35!important;box-shadow:none!important}
html body .card h3,html body .mecard h3{font-size:19px!important}
html body .card h3 .clA-ic,html body .mecard h3 .clA-ic,html body .a2c b.t .clA-ic{color:var(--gold);margin-right:8px;width:20px;height:20px}
html body .ftag,html body .tags span,html body .svc span{border-radius:4px!important}
html body .gpbar button,html body .bchips button{border-radius:4px!important}
html body .gpbar button.on{background:transparent!important;color:var(--gold)!important;border-color:var(--gold)!important}
/* หน้าตี้ & เควส (/party/) และหน้าย่อยที่ใช้ชื่อตัวแปรต่างกัน */
:root{--bg:#15120f;--card:#1b1713;--text:#ece3d3;--ok:#6fae7f;--warn:#d4ac5c;--bad:#d0705f}
html body .chip{border-radius:4px!important}
html body .chip.on{background:transparent!important;color:var(--gold)!important;border-color:var(--gold)!important}
html body .tabs{border-radius:6px!important;background:#110e0b!important}
html body .tabs button{border-radius:4px!important}
html body .brand{font-family:var(--clA-serif)!important;letter-spacing:.02em!important}
/* อ่านง่าย (Grant 5 พ.ย. 15:07): เครื่องคิดค่าเล่น .calc เดิมใช้สีตัวหนังสือสำหรับพื้นสว่าง */
html body .calc h3{color:#c9a35b!important}
html body .calc,html body .calc b,html body .calc .c_h,html body .calc .c_p{color:#ece3d3!important}
html body .calc label,html body .calc small,html body .calc .muted{color:#a89b86!important}
html body .calc .seg button:not(.on){color:#ece3d3!important}
html body .calc select,html body .calc input{background:#120f0c!important;color:#ece3d3!important;border-color:#3a3127!important}
html body .calc .c_out{color:#c9a35b!important}
/* เมนูรายการที่ไม่มีไอคอน: ไม่เว้นช่องว่างด้านซ้าย */
html body .a2list button>i:empty,html body .mlinks a>i:empty{display:none!important}
/* จองโต๊ะ ขั้นเลือกวันเวลา: ปุ่ม "ถัดไป" ติดขอบล่างเสมอ ไม่ต้องเลื่อนหาหลังแตะเวลา (12 พ.ย. 2026) */
#sheet #panel>.btn[onclick="toDetails()"]{position:sticky;bottom:-18px;z-index:3;box-shadow:0 16px 0 16px #15120f,0 -18px 18px 6px #15120f}
