
html.tms-chp-lock,html.tms-chp-lock body{overflow:hidden!important}
.ahp-p.tms-chp{position:fixed!important;inset:0!important;z-index:99990!important;margin:0!important;background:rgba(15,10,30,.62)!important;display:flex!important;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(14px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))!important;box-sizing:border-box;animation:tmsChpIn .16s ease-out}
body.admin-bar .ahp-p.tms-chp{top:32px!important}
@media (max-width:782px){body.admin-bar .ahp-p.tms-chp{top:46px!important}}
.ahp-p.tms-chp>.tms-chs{position:relative;width:min(560px,100%)!important;max-height:100%!important;overflow-y:auto!important;margin:0!important;box-shadow:0 18px 48px rgba(0,0,0,.55)!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#1b1433!important}
.ahp-p.tms-chp>.tms-chs>.tms-chs-h{position:sticky;top:0;z-index:3;pointer-events:none;background:#241a40!important;padding-right:60px!important}
.ahp-p.tms-chp>.tms-chs>.tms-chs-h>.cr{visibility:hidden}
.tms-chp-x{display:none}
.ahp-p.tms-chp .tms-chp-x{display:grid;position:sticky;float:right;top:0;margin:12px 12px -48px 0;z-index:4;width:36px;height:36px;min-width:0;min-height:0;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:17px;line-height:1;place-items:center;padding:0;cursor:pointer;box-shadow:none}
.ahp-p.tms-chp .tms-chp-x:hover,.ahp-p.tms-chp .tms-chp-x:focus{background:rgba(255,255,255,.24);color:#fff}
.ahp-p.tms-chp .tms-chp-x:focus-visible{outline:2px solid #ffe08a;outline-offset:2px}
@keyframes tmsChpIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.ahp-p.tms-chp{animation:none}}
/* 16 พ.ย. 2569 เจ้าของ "ปรับให้มันขึ้นกลางจอ แบบเต็มจอเหมือนกันนะ แล้วไล่เปิดเช็คทั้งเว็บ": ร้านตัวละครเต็มจอแบบหน้าต่างกลางจอทั้งเว็บ (คอม กว้างสุด 1200 · มือถือ เต็มขอบ) + ปุ่ม ‹ ย้อนกลับ ซ้ายบน */
.ahp-p.tms-chp{padding:12px!important}
.ahp-p.tms-chp>.tms-chs{width:min(1200px,100%)!important;height:100%!important;max-height:100%!important}
.ahp-p.tms-chp>.tms-chs>.tms-chs-h{padding-left:118px!important}
.tms-chp-bk{display:none}
.ahp-p.tms-chp .tms-chp-bk{display:inline-flex;align-items:center;position:sticky;float:left;top:0;margin:13px 0 -47px 12px;z-index:4;height:34px;min-height:0;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;font:inherit;font-size:13px;font-weight:700;line-height:1;cursor:pointer;box-shadow:none;white-space:nowrap;width:auto}
.ahp-p.tms-chp .tms-chp-bk:hover,.ahp-p.tms-chp .tms-chp-bk:focus{background:rgba(255,255,255,.22);color:#fff}
@media (max-width:640px){.ahp-p.tms-chp{padding:0!important}.ahp-p.tms-chp>.tms-chs{border-radius:0!important}}
/* สีตัวหนังสือกลืน (ใช้ทั้งตอนเด้งและตอนอยู่ในหน้า) */
.tms-chs .tms-chs-st{background:radial-gradient(at 50% 62%,rgba(245,196,81,.32),rgba(0,0,0,0) 40%),linear-gradient(170deg,#3b1f6b,#1b1433)!important}
.tms-chs .tms-chs-st h3{color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.75)!important}
.tms-chs .tms-chs-st .ps{display:inline-block!important;color:#fff!important;background:rgba(15,10,30,.6)!important;padding:1px 10px!important;border-radius:10px!important}
.tms-chs .tms-chs-st .tg>span{background:#241a3c!important;color:#ffe08a!important;border:1px solid #c9a24a!important}
.tms-chs .tms-chs-st .gm span{background:rgba(15,10,30,.72)!important;color:#fff!important;border-color:rgba(255,224,138,.45)!important}
.tms-chs .lk.sel{background:#3a2c5c!important;color:#fff!important;border-color:#ffd25a!important;box-shadow:0 0 0 2px #ffd25a,0 0 16px rgba(255,210,90,.45)!important}
.tms-chs .lk.sel .p{color:#ffe08a!important}
