/* ปุ่มสลับรูปแบบหน้าเว็บ (Standard / Modern) — มุมซ้ายล่าง */
.theme-dock { position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 130; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid #c4cad6; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: "Inter", "IBM Plex Sans Thai", system-ui, sans-serif; }
.theme-dock .td-label { padding: 0 8px 0 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .03em; color: #3f4a5c; }
.theme-dock button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #111827; font: 600 .875rem "Inter", "IBM Plex Sans Thai", system-ui, sans-serif; cursor: pointer; transition: background-color .18s, color .18s; }
.theme-dock button:hover { background: #eef1f6; }
.theme-dock button[aria-pressed="true"] { background: #0e2747; color: #fff; cursor: default; }
.theme-dock button:focus-visible { outline: 3px solid #b3202a; outline-offset: 2px; }
@media (max-width: 640px) { .theme-dock { bottom: 10px; } .theme-dock .td-label { display: none; } .theme-dock button { padding: 0 13px; } }
/* ปุ่มสลับอยู่กลางล่าง → ยก toast ขึ้นไม่ให้ซ้อนกัน */
.has-theme-dock .m-toast, .has-theme-dock .toast { bottom: 74px !important; }
body.menu-open .theme-dock { display: none; }
