/* =====================================================================
   SriCare — สไตล์งานหน้าบ้าน: คิว จอเรียกคิว ตู้ Kiosk นัดหมาย พอร์ทัลผู้ป่วย บัตรคิว/บัตรนัด
   ===================================================================== */

/* ---------------------------------------------------------- หน้าจัดการคิว */
.q-ticket { font-family: var(--bs-font-monospace); font-weight: 700; font-size: 1.5rem; line-height: 1.1; min-width: 6.5rem; color: var(--sc-brand-text, #1d5fa8); }
.q-now-card.q-called { border-color: #74a7e3 !important; background: var(--bs-primary-bg-subtle); }
.q-now-card.q-serving { border-color: #8fd19e !important; background: var(--bs-success-bg-subtle); }
.q-call-btn { font-size: 1.25rem; padding: .8rem 1rem; }
.q-row-long td { background: rgba(255, 193, 7, .08) !important; }
.q-sp-pills .btn { border-radius: 2rem; }
/* ตารางคิว (que/board — ระยะ 19): ช่องผู้ป่วยไม่ถูกบีบจนตัดชื่อทีละพยางค์ · ปุ่มคืนคิว/เรียกของการ์ดพักคิว (1/3 ของจอ) ขึ้นบรรทัดใหม่ได้ */
.q-pt-cell { min-width: 9.5rem; }
.q-park-actions { white-space: normal; }
.q-park-actions .btn { margin-block: 1px; white-space: nowrap; }
.min-w-0 { min-width: 0; }

/* --------------------------------------------------------- จอเรียกคิว (TV) */
.qd-screen { --qd-bg: #0b1a2e; --qd-card: #12294a; --qd-fg: #e8eef7; --qd-accent: #ffd166; --qd-muted: rgba(232, 238, 247, .65); --qd-line: rgba(255, 255, 255, .12);
  background: var(--qd-bg); color: var(--qd-fg); min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.qd-screen.theme-light { --qd-bg: #f3f6fb; --qd-card: #ffffff; --qd-fg: #10233d; --qd-accent: #c2410c; --qd-muted: #5b6b82; --qd-line: #d7e0ec; }
.qd-screen.theme-blue { --qd-bg: #0c3b6e; --qd-card: #114d8c; --qd-fg: #ffffff; --qd-accent: #9be7ff; --qd-muted: rgba(255, 255, 255, .7); --qd-line: rgba(255, 255, 255, .18); }
.layout-display .display-main { padding: 0; }
.qd-top { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.5rem; border-bottom: 1px solid var(--qd-line); }
.qd-top img { height: 3rem; }
.qd-title { font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.qd-sub { color: var(--qd-muted); font-size: 1rem; }
.qd-clock { margin-left: auto; text-align: right; line-height: 1.1; }
.qd-clock b { font-size: 2.2rem; display: block; }
.qd-clock small { color: var(--qd-muted); font-size: .95rem; }
.qd-units { --qd-cols: 3; flex: 1; display: grid; grid-template-columns: repeat(var(--qd-cols), minmax(0, 1fr)); gap: 1rem; padding: 1rem 1.5rem; align-content: start; }
.qd-col { background: var(--qd-card); border: 1px solid var(--qd-line); border-radius: 1rem; padding: 1rem 1.1rem; display: flex; flex-direction: column; min-height: 0; }
.qd-unit { display: flex; align-items: center; gap: .5rem; font-size: 1.45rem; font-weight: 700; border-bottom: 1px solid var(--qd-line); padding-bottom: .5rem; margin-bottom: .6rem; }
.qd-count { margin-left: auto; font-size: 1rem; font-weight: 600; background: rgba(255, 255, 255, .12); padding: .15rem .6rem; border-radius: 1rem; }
.theme-light .qd-count { background: #e8eef7; }
.qd-now-row { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .9rem; padding: .45rem 0; border-bottom: 1px dashed var(--qd-line); position: relative; }
.qd-now-row .qd-number { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--qd-accent); font-family: var(--bs-font-monospace); letter-spacing: .02em; }
.qd-now-first .qd-number { font-size: 3.6rem; }
.qd-counter { font-size: 1.45rem; font-weight: 600; }
.qd-name { grid-column: 1 / -1; color: var(--qd-muted); font-size: 1.15rem; }
.qd-badge { position: absolute; top: .3rem; right: 0; background: #20c997; color: #062; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border-radius: 1rem; }
.qd-now-row.flash .qd-number, .qd-waiting span.flash { animation: qdflash 1s ease-in-out 4; }
.qd-next-title { margin-top: .8rem; color: var(--qd-muted); font-size: 1rem; line-height: 1.45; }
.qd-waiting { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }
.qd-waiting span { background: rgba(255, 255, 255, .08); border-radius: .6rem; padding: .25rem .7rem; font-size: 1.35rem; font-weight: 700; font-family: var(--bs-font-monospace); display: inline-flex; flex-direction: column; line-height: 1.1; }
.theme-light .qd-waiting span { background: #eef3f9; }
.qd-waiting span small { font-family: var(--bs-body-font-family); font-weight: 400; font-size: .8rem; color: var(--qd-muted); }
.qd-waiting span.qd-prio { box-shadow: inset 0 0 0 2px #fd7e14; }
.qd-none, .qd-empty { color: var(--qd-muted); font-size: 1.1rem; text-align: center; padding: .6rem 0; }
.qd-foot { display: flex; align-items: center; gap: 1rem; padding: .5rem 1.5rem; border-top: 1px solid var(--qd-line); background: rgba(0, 0, 0, .15); }
.theme-light .qd-foot { background: #e8eef7; }
.qd-ticker-wrap { flex: 1; overflow: hidden; white-space: nowrap; font-size: 1.15rem; }
.qd-ticker { display: inline-block; padding-left: 100%; animation: qdticker 28s linear infinite; }
@keyframes qdticker { to { transform: translateX(-100%); } }
.qd-status { font-size: .85rem; color: var(--qd-muted); }
.qd-status.bad { color: #ff8787; font-weight: 600; }
.qd-flash { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(5, 12, 24, .82); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.qd-flash.show { opacity: 1; }
.qd-flash-inner { text-align: center; background: var(--qd-card); border: 3px solid var(--qd-accent); border-radius: 2rem; padding: 2.5rem 5rem; box-shadow: 0 0 60px rgba(255, 209, 102, .35); }
.qd-flash-label { font-size: 2rem; color: var(--qd-muted); }
.qd-flash-number { font-size: 9rem; font-weight: 800; line-height: 1; color: var(--qd-accent); font-family: var(--bs-font-monospace); }
.qd-flash-counter { font-size: 3rem; font-weight: 700; margin-top: .5rem; }
.qd-flash-name { font-size: 1.8rem; color: var(--qd-muted); }
@media (max-width: 900px) { .qd-units { grid-template-columns: 1fr; } .qd-flash-number { font-size: 5rem; } .qd-flash-inner { padding: 1.5rem 2rem; } }

/* ---------------------------------- จอแบบตารางเที่ยวบิน (layout flight): 1 แถว = 1 ห้องตรวจ · เปลี่ยนหน้าเองเมื่อห้องเกินจอ */
.qd-units.qf-board { display: block; overflow: hidden; padding: .75rem 1.25rem; min-height: 0; }
.qf-pages { transition: transform .8s ease-in-out; }
.qf-unit { background: var(--qd-card); border: 1px solid var(--qd-line); border-radius: .9rem; overflow: hidden; margin-bottom: .9rem; }
.qf-unit-head { display: flex; align-items: center; gap: .6rem; padding: .55rem 1rem; font-size: 1.4rem; font-weight: 700; background: rgba(255, 255, 255, .06); border-bottom: 1px solid var(--qd-line); }
.theme-light .qf-unit-head { background: #e8eef7; }
.qf-row { display: grid; grid-template-columns: minmax(8rem, 1.25fr) minmax(10rem, 1.6fr) minmax(9.5rem, auto) minmax(9rem, 1.3fr) 10rem minmax(9rem, 1.2fr); align-items: center;
  column-gap: .9rem; padding: .45rem 1rem; border-bottom: 1px solid var(--qd-line); font-size: 1.2rem; line-height: 1.25; }
.qf-row:last-child { border-bottom: 0; }
.qf-row:nth-child(even):not(.qf-head) { background: rgba(255, 255, 255, .03); }
.theme-light .qf-row:nth-child(even):not(.qf-head) { background: #f6f9fd; }
.qf-head { font-size: .85rem; font-weight: 600; color: var(--qd-muted); text-transform: none; padding-top: .35rem; padding-bottom: .35rem; letter-spacing: .02em; }
.qf-room { font-weight: 700; overflow-wrap: anywhere; }
.qf-doc small, .qf-pt small, .qf-st small, .qf-next small { display: block; font-size: .85rem; color: var(--qd-muted); font-weight: 400; }
.qf-ticket { font-family: var(--bs-font-monospace); font-size: 1.9rem; font-weight: 800; color: var(--qd-accent); letter-spacing: .02em; text-align: center; white-space: nowrap; }
.qf-pt { overflow-wrap: anywhere; }
.qf-st span { display: inline-block; padding: .15rem .65rem; border-radius: 2rem; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.qf-next { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; font-family: var(--bs-font-monospace); }
.qf-next b { font-size: 1.15rem; background: rgba(255, 255, 255, .08); border-radius: .45rem; padding: .05rem .45rem; }
.theme-light .qf-next b { background: #eef3f9; }
.qf-next small { font-family: var(--bs-body-font-family); width: 100%; }
.qf-dim { color: var(--qd-muted); opacity: .6; }
.qf-row.is-called .qf-st span { background: #ffd166; color: #3d2a00; animation: qfblink 1.2s ease-in-out infinite; }
.qf-row.is-called .qf-ticket { animation: qfblink 1.2s ease-in-out infinite; }
.qf-row.is-serving .qf-st span { background: #2fb344; color: #fff; }
.qf-row.is-open .qf-st span { background: rgba(77, 171, 247, .2); color: #8fd0ff; box-shadow: inset 0 0 0 1px rgba(77, 171, 247, .5); }
.theme-light .qf-row.is-open .qf-st span { color: #0b5394; }
.qf-row.is-closed, .qf-row.is-later, .qf-row.is-off { opacity: .55; }
.qf-row.is-later .qf-st span { background: rgba(255, 255, 255, .1); color: var(--qd-fg); }
.qf-row.is-off .qf-st span { background: rgba(250, 82, 82, .22); color: #ffa8a8; }
.theme-light .qf-row.is-off .qf-st span { color: #c92a2a; }
.qf-row.is-closed .qf-st span { background: rgba(255, 255, 255, .1); color: var(--qd-muted); }
.qf-row.flash { animation: qdflash 1s ease-in-out 4; }
@keyframes qfblink { 50% { opacity: .45; } }
.qd-pdpa { font-size: .85rem; color: var(--qd-muted); white-space: nowrap; }
@media (max-width: 1100px) {
  .qf-row { grid-template-columns: minmax(6rem, 1fr) minmax(8rem, 1.4fr) minmax(8rem, auto) minmax(7rem, 1.2fr) 8.5rem; font-size: 1.05rem; }
  .qf-row > .qf-next, .qf-head > div:last-child { display: none; }
  .qf-ticket { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .qf-pages { transition: none; } .qf-row.is-called .qf-st span, .qf-row.is-called .qf-ticket { animation: none; } }

/* ------------------------------------------------------------- ตู้ Kiosk */
.kiosk-wrap { width: 100%; max-width: 760px; }
.kiosk-card { border-radius: 1.5rem; }
.kiosk-title { font-size: 2rem; font-weight: 700; }
.kiosk-input { font-size: 2.2rem; text-align: center; letter-spacing: .12em; font-family: var(--bs-font-monospace); height: 4.2rem; }
.kiosk-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.kiosk-keys .btn { font-size: 1.9rem; padding: .7rem 0; border-radius: 1rem; }
.kiosk-big { font-size: 1.5rem; padding: 1rem 1.2rem; border-radius: 1rem; }
.kiosk-ticket { font-size: 4rem; font-weight: 800; font-family: var(--bs-font-monospace); color: var(--sc-brand-text, #1d5fa8); line-height: 1; }

/* -------------------------------------------------------------- นัดหมาย */
.apt-slot { min-width: 5.2rem; }
.apt-slot small { display: block; font-size: .75rem; opacity: .85; }
.apt-slot.active { background: #198754 !important; color: #fff !important; border-color: #198754 !important; }
.apt-session.apt-blocked { background: var(--bs-tertiary-bg); opacity: .8; }
.apt-week { display: grid; grid-template-columns: 180px repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--bs-border-color); border: 1px solid var(--bs-border-color); border-radius: .5rem; overflow: hidden; font-size: .8rem; }
.apt-week > div { background: var(--bs-body-bg); padding: .3rem .4rem; min-height: 2.6rem; }
.apt-week .aw-head { font-weight: 600; text-align: center; background: var(--bs-tertiary-bg); min-height: auto; }
.apt-week .aw-doc { font-weight: 600; }
.apt-week .aw-today { box-shadow: inset 0 0 0 2px var(--sc-brand, #1d5fa8); }
/* ภาพรวมรายสัปดาห์ (apt/schedules): เลื่อนในกรอบ หัววันค้างด้านบน */
.apt-week-scroll { max-height: 60vh; overflow: auto; border-radius: .5rem; }
.apt-week-scroll .apt-week { overflow: visible; }
.apt-week-scroll .apt-week .aw-head { position: sticky; top: 0; z-index: 2; }
.apt-week .aw-off { background: repeating-linear-gradient(45deg, var(--bs-tertiary-bg), var(--bs-tertiary-bg) 6px, var(--bs-body-bg) 6px, var(--bs-body-bg) 12px); color: var(--bs-secondary-color); }
.aw-cell { display: block; border-radius: .35rem; padding: .1rem .3rem; margin-bottom: .15rem; text-decoration: none; color: inherit; }
.aw-cell.lv-ok { background: #e7f6ec; } .aw-cell.lv-mid { background: #fff4d6; } .aw-cell.lv-full { background: #fde2e1; } .aw-cell.lv-block { background: #eceff2; color: #6c757d; text-decoration: line-through; }
[data-bs-theme="dark"] .aw-cell.lv-ok { background: #15301f; } [data-bs-theme="dark"] .aw-cell.lv-mid { background: #33290f; } [data-bs-theme="dark"] .aw-cell.lv-full { background: #3b1717; } [data-bs-theme="dark"] .aw-cell.lv-block { background: #20252b; }
.cal-day-num { font-weight: 700; }
.cal-hol { color: #c92a2a; font-size: .75rem; line-height: 1.45; }
[data-bs-theme="dark"] .cal-hol { color: #ff8787; }
.cal-bar { height: .3rem; border-radius: .2rem; background: var(--bs-border-color); overflow: hidden; margin-top: .15rem; }
.cal-bar > span { display: block; height: 100%; }
.apt-card { width: 90mm; border: 1.5px solid #333; border-radius: 4mm; padding: 4mm 5mm; margin: 0 auto 6mm; background: #fff; color: #000; }
.apt-card h2 { font-size: 15pt; margin: 0 0 2mm; }
.apt-card .apt-card-date { font-size: 14pt; font-weight: 700; }
/* แถวบาร์โค้ดเลขนัด + QR: กริด 2 คอลัมน์ (บาร์โค้ดใช้ที่ที่เหลือ · QR ขนาดคงที่ 19 มม.) — บาร์โค้ดยาวกว่าที่ว่างย่อตามสัดส่วน (svg มี viewBox)
   ไม่ล้นไปทับ QR/ขอบบัตร (เดิม d-flex: บาร์โค้ด 250px + QR 70px เกินพื้นที่ 80 มม. ของบัตร) */
.apt-card-codes { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 4mm; margin-top: 2mm; padding-top: 2mm; border-top: 1px dashed #999; }
.apt-card-codes .apt-bc { min-width: 0; }
.apt-card-codes .apt-bc svg { display: block; width: auto; max-width: 100%; height: auto; }
.apt-card-codes .apt-qr { width: 19mm; text-align: center; }
.apt-card-codes .apt-qr [data-qr] { width: 19mm; height: 19mm; margin: 0 auto; }
.apt-card-codes .apt-qr img, .apt-card-codes .apt-qr canvas { display: block; width: 19mm !important; height: 19mm !important; }
.apt-card .apt-card-codes .small { font-size: 8pt; line-height: 1.3; margin-top: .8mm; } /* เท่ากันทั้งบนจอและตอนพิมพ์ (ทับ .print-main .small ของหน้าพิมพ์) */

/* --------------------------------------------------------- บัตรคิว (พิมพ์) */
.q-slip { width: 76mm; margin: 0 auto; text-align: center; border: 1px dashed #888; padding: 4mm; background: #fff; color: #000; }
.q-slip .q-slip-no { font-size: 40pt; font-weight: 800; font-family: var(--bs-font-monospace); line-height: 1; margin: 2mm 0; }
.q-slip .q-slip-unit { font-size: 14pt; font-weight: 700; }
@media print { .q-slip { border: 0; } .layout-print .print-main { padding: 0; } }

/* ------------------------------------------------------- พอร์ทัลผู้ป่วย */
/* ใช้ตัวแปรสีของ app.css (สีหลัก/พื้นหน้า/การ์ด) · ปุ่มเมนูล่างสูง ≥ 48px · ข้อความไทยบรรทัดสูง ≥ 1.45 */
.ptl-body { background: var(--sc-page, #f3f5f9); min-height: 100vh; padding-bottom: 5.5rem; }
[data-bs-theme="dark"] .ptl-body { background: var(--sc-page, var(--bs-body-bg)); }
/* แถบบนแบบ ArchitectUI: รูปพื้นหลัง (assets/img/bg/abstract2.jpg) + สีไล่ระดับกรมท่า→ม่วงเที่ยงคืน ทับ */
.ptl-top { background: linear-gradient(120deg, rgba(3, 60, 115, .96) 0%, rgba(43, 88, 118, .93) 55%, rgba(78, 67, 118, .9) 100%), #033c73 url('../img/bg/abstract2.jpg') center / cover no-repeat;
  color: #fff; padding: .85rem 0 1.1rem; box-shadow: 0 .46875rem 2.1875rem rgba(4, 9, 20, .08), 0 .25rem .53125rem rgba(4, 9, 20, .1); }
.ptl-top a { color: #fff; }
.ptl-top .btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .55); }
.ptl-brand { font-weight: 700; font-size: 1.05rem; line-height: 1.45; }
.ptl-who { font-size: .85rem; opacity: .92; line-height: 1.45; }
.ptl-main { max-width: 760px; padding-top: 1rem; }
.ptl-main .page-back .btn { background: var(--bs-body-bg); }
.ptl-card { border: 1px solid rgba(26, 54, 126, .07); border-radius: .5rem; box-shadow: var(--sc-shadow-sm, 0 2px 10px rgba(16, 24, 40, .06)); }
[data-bs-theme="dark"] .ptl-card { border-color: var(--sc-border); }
.ptl-nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bs-body-bg); border-top: 1px solid var(--sc-border, var(--bs-border-color)); display: flex; justify-content: space-around;
  padding: .2rem 0 calc(.2rem + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); }
.ptl-nav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 3.25rem; text-align: center;
  color: var(--bs-secondary-color); text-decoration: none; font-size: .75rem; line-height: 1.45; border-radius: .6rem; }
.ptl-nav a i { display: block; font-size: 1.3rem; line-height: 1.2; }
/* จอแคบ (เมนูครบ 6 รายการ): ย่อป้ายเล็กน้อยไม่ให้ "ข้อมูลของฉัน" ถูกตัดขอบจอ */
@media (max-width: 420px) { .ptl-nav a { min-width: 0; font-size: .68rem; white-space: nowrap; } }
.ptl-nav a.active { color: var(--sc-brand-text, #1d5fa8); font-weight: 600; }
.ptl-nav a.active::before { content: ''; position: absolute; top: -.2rem; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--sc-brand, #1d5fa8); }
.ptl-nav a:focus-visible { outline: 2px solid var(--sc-focus, #1d5fa8); outline-offset: -2px; }
.ptl-q-no { font-size: 1.9rem; font-weight: 800; font-family: var(--bs-font-monospace); color: var(--sc-brand-text, #1d5fa8); min-width: 7rem; }
.ptl-q-called { border: 2px solid #198754; animation: ptlpulse 1.6s ease-in-out infinite; }
@keyframes ptlpulse { 50% { box-shadow: 0 0 0 .4rem rgba(25, 135, 84, .18); } }
.ptl-login { width: 100%; max-width: 440px; }
.ptl-otp { font-size: 2rem; letter-spacing: .5em; text-align: center; font-family: var(--bs-font-monospace); }
.ptl-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .95rem .4rem; border-radius: 1rem; background: var(--bs-body-bg);
  border: 1px solid var(--sc-border, transparent); text-decoration: none; color: inherit; box-shadow: var(--sc-shadow-sm, 0 2px 10px rgba(16, 24, 40, .06)); font-size: .875rem;
  line-height: 1.45; text-align: center; height: 100%; transition: transform .12s ease, box-shadow .12s ease; }
.ptl-tile:hover { transform: translateY(-1px); box-shadow: var(--sc-shadow-md, 0 6px 18px rgba(16, 24, 40, .1)); color: inherit; }
.ptl-tile:focus-visible { outline: 3px solid var(--sc-focus, #1d5fa8); outline-offset: 2px; }
.ptl-tile i { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .8rem; font-size: 1.45rem;
  color: var(--sc-brand-text, #1d5fa8); background: var(--sc-brand-tint, #e8f0fa); }
.ptl-qr { display: inline-block; padding: .6rem; background: #fff; border-radius: .8rem; }
@media (prefers-reduced-motion: reduce) { .ptl-q-called { animation: none; } .ptl-tile, .ptl-tile:hover { transition: none; transform: none; } }

/* ---------------------------------------------------------- ตรวจสอบสิทธิ */
.table-danger-subtle > td { background: rgba(220, 53, 69, .06) !important; }
/* จอตารางเที่ยวบินสูงเท่าจอพอดี — ห้องที่เกินจอเปลี่ยนหน้าแทนการเลื่อน */
.qd-screen.layout-flight { height: 100vh; min-height: 0; }
/* QR เช็คอินออนไลน์บนจอเรียกคิว (ค่าตั้งจอ checkin_qr) */
.qd-checkin { display: flex; align-items: center; gap: .6rem; padding: .35rem .6rem; border-radius: .8rem; background: #fff; color: #10233d; }
.qd-checkin-qr canvas, .qd-checkin-qr img { display: block; width: clamp(84px, 5.6vw, 128px); height: auto; aspect-ratio: 1; }
.qd-checkin-txt { display: flex; flex-direction: column; line-height: 1.25; font-size: .85rem; }
.qd-checkin-txt b { font-size: 1.05rem; color: #0b5394; }

/* ชำระเงินออนไลน์ (ptl/pay) — ปุ่มเลือกช่องทาง */
.pay-method { border-radius: .9rem; }
.pay-method .bi { transition: transform .15s; }
.pay-method:hover .bi { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .pay-method .bi { transition: none; } }

/* ---------------------------------- จอเรียกคิวสองภาษา (งาน i18nx · ค่าตั้ง que_display_lang / ภาษาบนจอของแต่ละจอ): บรรทัดภาษาอังกฤษใต้ข้อความไทย */
.qd-en { display: block; font-size: .62em; font-weight: 500; opacity: .85; line-height: 1.15; letter-spacing: .01em; white-space: normal; }
.qd-title .qd-en { font-size: .6em; font-weight: 600; }
.qd-flash-label .qd-en, .qd-flash-counter .qd-en { font-size: .55em; }
.qf-st span .qd-en, .qf-st small.qd-en { color: inherit; font-size: .7em; font-weight: 600; opacity: .85; }
.qd-clock small.qd-en { display: block; font-size: .85rem; }
