/* ============================================================
   SOMPHONG — หน้าแรก ทิศทาง 03 "ถูกโฉลกกับคุณ" · v18.4-test (12 พ.ย. 2569) — ย้ายจากต้นแบบที่ผ่านการตรวจภาพอิสระ 2 รอบ (.oil-ui/explore-2569-11-12/page03)
   ใช้คู่กับ style.css ของแอป v18.3 โดยไม่แก้ไฟล์นั้น (ตัวแปรสี ฟอนต์ ปุ่ม ชิปหมอก แถบบน ท้ายหน้า มาจาก style.css)
   เครื่องยนต์ของทิศทาง: "หน้าปัดเครื่องมือวัด" — ดวงอาทิตย์ของแบรนด์อยู่กลาง (ดวงคุณ) 30 ขีดรอบวง (30 เหรียญ) เลขกลาง = คะแนนของคู่
   ทั้งหน้าจึงใช้ภาษาเดียวกัน: ขีด · สเกล · ค่าที่อ่านได้ · "คุณ × เหรียญ"
   กติกาเดิมของแบรนด์ยังอยู่ครบ: ไม่เว้นระยะตัวอักษรไทย · ตัวอักษรเล็ก ≥ 4.5:1 · พื้นที่กดหลัก ≥ 44px · คะแนนไม่ใช้สีแดง · การ์ดขาว 1 ใบต่อหน้า
   ============================================================ */
body.landing3 { --page: var(--page-max); --l3-vh: min(100vh, 980px); --l3-sh: calc(var(--l3-vh) - var(--nav-h)); --l3-travel: calc(var(--l3-vh) * 2.7); }
@supports (height: 100svh) { body.landing3 { --l3-vh: min(100svh, 980px); } }
.landing3 main.wrap { padding-bottom: 0; }

/* ---------- เวที (จอแรก + วิธีทำงาน 3 ขั้น) ----------
   โหมดนิ่ง (ค่าเริ่มต้น · ไม่มี JS · ตั้งค่า "ลดการเคลื่อนไหว" · จอเตี้ยมาก): จอแรกตามปกติ แล้วต่อด้วยรายการ 3 ขั้น
   โหมดเวที (.on · JS เปิดให้เมื่อจอสูงพอ): หน้าปัดอยู่กับที่ ข้อความรอบหน้าปัดเปลี่ยนตามการเลื่อน ปุ่มหลักอยู่ในจอตลอด */
.l3-stagewrap { position: relative; }
.l3-skip { position: absolute; left: 12px; top: 8px; z-index: 6; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; transform: translateY(-300%); }
.l3-skip:focus { transform: none; box-shadow: var(--shadow); }
.l3-stage { --l3-dial: 220px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; text-align: center; padding: 4px 24px 26px; }
.l3-kick { grid-column: 1; grid-row: 1; margin: 0; font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.45; color: var(--ink); }
.l3-beat { display: contents; }
.l3-stage .t { grid-column: 1; grid-row: 2; align-self: start; margin: 2px 0 0; }
.l3-stage h1.t .no { display: block; font-weight: 500; font-size: 21px; line-height: 1.4; color: var(--ink-2); }
.l3-stage h1.t .yes { display: block; font-weight: 700; font-size: 36px; line-height: 1.14; }
.l3-dialbox { grid-column: 1; grid-row: 3; margin-top: 6px; }
.l3-smp { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.l3-smp .s-i, .l3-dialbox.inp .l3-smp .s-r { display: none; }
.l3-dialbox.inp .l3-smp .s-i { display: inline; }

/* หน้าปัด: SVG (ดวงอาทิตย์ + วงแหวน + 30 ขีด + เลขอันดับ) และค่าที่อ่านได้กลางวงเป็น HTML ทับอยู่ */
.l3-dial { position: relative; width: var(--l3-dial); height: var(--l3-dial); margin: 2px auto 0; }
.l3-dialsvg { display: block; width: 100%; height: 100%; overflow: visible; }
.l3-dialsvg line { stroke-linecap: round; }
.l3-dialsvg .ts { stroke: #7F95AB; stroke-width: 2; }
.l3-dialsvg .tl { stroke: var(--ink); stroke-width: 3.5; }
.l3-dialsvg .t1 { stroke: var(--sun); stroke-width: 6; }
.l3-dialsvg text { font-family: var(--head); text-anchor: middle; fill: var(--ink); }
.l3-dialsvg .nl { font-weight: 600; font-size: 19px; }
.l3-dialsvg .n1 { font-weight: 700; font-size: 23px; }
/* เข็มไล่เทียบ = ส่วนโค้งบนวงแหวน (แนวสัมผัส) ต่างจากขีดของเหรียญซึ่งเป็นแนวรัศมี · วงเส้นประรอบเลข = ชื่อยังผนึก — สคริปต์เป็นผู้แสดงทั้งสอง */
.l3-dialsvg .l3-ptr { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; opacity: 0; }
.l3-dialsvg .l3-sl { fill: none; stroke: #8FA3B8; stroke-width: 1.4; stroke-dasharray: 3.2 3; opacity: 0; }
.l3-readout, .l3-birth { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; font-family: var(--head); color: var(--ink); }
.l3-readout .who { font-family: var(--font); font-weight: 500; font-size: 12px; line-height: 1.3; color: var(--ink-2); white-space: nowrap; }
.l3-readout .who .wl, .l3-readout .who .wd { display: none; }
.l3-readout .who.dyn .ws, .l3-readout .who.dyn .wl { display: none; }
.l3-readout .who.dyn .wd { display: inline; }
.l3-readout .score { font-weight: 600; font-size: calc(var(--l3-dial) * .256); line-height: 1.02; }
.l3-readout .of { font-family: var(--font); font-weight: 400; font-size: 12.5px; line-height: 1.2; color: var(--ink-2); }
.l3-birth { opacity: 0; visibility: hidden; }
/* ก่อนสคริปต์หลักเริ่ม (ดูสคริปต์สั้นใน <head>): ซ่อนขีด เลขอันดับ และคะแนนไว้ รอแอนิเมชันครั้งแรก */
.l3-pre .l3-stage .l3-dialsvg line, .l3-pre .l3-stage .l3-dialsvg text { opacity: 0; }
.l3-readout .score { display: block; }
.l3-pre .l3-stage .l3-readout .score { visibility: hidden; }
.l3-birth .bl, .l3-birth .bd { font-family: var(--font); font-size: 12px; line-height: 1.3; color: var(--ink-2); text-align: center; }
.l3-birth .bl { font-weight: 500; }
.l3-birth .bt { font-weight: 600; font-size: calc(var(--l3-dial) * .2); line-height: 1.12; }

.l3-stage .x { grid-column: 1; grid-row: 4; align-self: start; margin-top: 8px; }
.l3-cap { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.l3-cap b { font-family: var(--head); font-weight: 600; color: var(--ink); }
.l3-cap .l1 { display: none; }
.l3-chiprow { margin-top: 6px; display: flex; justify-content: center; }
.l3-stage .d { grid-column: 1; grid-row: 5; align-self: start; }
.l3-lead { margin: 6px auto 0; max-width: 330px; font-size: 14.5px; line-height: 1.55; color: var(--ink); text-wrap: balance; }
.l3-cta { grid-column: 1; grid-row: 6; margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.l3-cta .btn { min-width: 220px; min-height: 54px; font-size: 17px; }
.l3-cond { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* 3 ขั้น — โหมดนิ่ง: รายการปกติใต้จอแรก */
.l3-stepshead { grid-column: 1; grid-row: 7; justify-self: start; margin: 46px 0 0; font-size: 24px; text-align: left; }
.l3-steps { grid-column: 1; grid-row: 8; justify-self: stretch; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 24px; text-align: left; }
.l3-steps > li.l3-beat { display: block; }
.l3-stepno { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.l3-t3 { display: inline-flex; align-items: flex-end; gap: 4px; height: 14px; }
.l3-t3 i { width: 2.5px; height: 8px; border-radius: 2px; background: #7F95AB; }
.l3-t3 i.on { height: 14px; background: var(--ink); }
.l3-steps h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.3; }
.l3-steps h3 br { display: none; }
.l3-steps .d { margin: 6px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* โหมดเวที */
.l3-stagewrap.on { height: calc(var(--l3-sh) + var(--l3-travel)); }
.l3-stagewrap.on .l3-stage { position: sticky; top: var(--nav-h); height: var(--l3-sh); padding-bottom: 0; overflow: hidden; container: l3stage / size; }
.l3-stagewrap.on .l3-stepshead, .l3-sr { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.l3-stagewrap.on .l3-steps, .l3-stagewrap.on .l3-steps > li.l3-beat { display: contents; }
.l3-stagewrap.on .l3-steps .t { margin-top: 8px; text-align: center; opacity: 0; visibility: hidden; }
.l3-stagewrap.on .l3-stepno { justify-content: center; }
.l3-stagewrap.on .l3-steps h3 { margin-top: 6px; font-size: 28px; line-height: 1.25; }
.l3-stagewrap.on .l3-steps h3 br { display: inline; }
.l3-stagewrap.on .l3-steps .d { grid-row: 4 / span 2; max-width: 330px; margin: 16px auto 0; font-size: 15px; line-height: 1.6; color: var(--ink); text-align: center; text-wrap: balance; opacity: 0; visibility: hidden; }
.l3-stagewrap.on .l3-beat .t, .l3-stagewrap.on .l3-beat .x, .l3-stagewrap.on .l3-beat .d { will-change: opacity, transform; }

/* จอสูง (พื้นที่มองเห็น ≥ 790px): หน้าปัด 300px พาดหัว 41px มีบรรทัดอธิบายขีด — โหมดเวทีวัดจากความสูงของเวทีเอง (ไม่เปลี่ยนเมื่อแถบเบราว์เซอร์หด/ขยาย) */
@media (max-width: 899px) {
  @container l3stage (min-height: 734px) {
    .l3-stage h1.t .yes { font-size: 41px; }
    .l3-dialbox { --l3-dial: 300px; margin-top: 10px; }
    .l3-dialsvg .nl { font-size: 15px; }
    .l3-dialsvg .n1 { font-size: 19px; }
    .l3-readout .who { font-size: 12.5px; }
    .l3-readout .who .wl { display: inline; }
    .l3-readout .who .ws { display: none; }
    .l3-readout .who.dyn .wl { display: none; }
    .l3-readout .of { font-size: 13.5px; }
    .l3-birth .bl, .l3-birth .bd { font-size: 13px; }
    .l3-cap .l1 { display: inline; }
    .l3-lead { margin-top: 10px; }
    .l3-cta { margin-top: 14px; gap: 8px; }
    .l3-stagewrap.on .l3-steps h3 { font-size: 32px; }
    .l3-stagewrap.on .l3-steps .d { font-size: 16px; margin-top: 20px; }
  }
}
@media (max-width: 899px) and (min-height: 790px) {
  .l3-stagewrap:not(.on) .l3-stage h1.t .yes { font-size: 41px; }
  .l3-stagewrap:not(.on) .l3-dialbox { --l3-dial: 300px; margin-top: 10px; }
  .l3-stagewrap:not(.on) .l3-dialsvg .nl { font-size: 15px; }
  .l3-stagewrap:not(.on) .l3-dialsvg .n1 { font-size: 19px; }
  .l3-stagewrap:not(.on) .l3-readout .who { font-size: 12.5px; }
  .l3-stagewrap:not(.on) .l3-readout .who .wl { display: inline; }
  .l3-stagewrap:not(.on) .l3-readout .who .ws { display: none; }
  .l3-stagewrap:not(.on) .l3-readout .of { font-size: 13.5px; }
  .l3-stagewrap:not(.on) .l3-cap .l1 { display: inline; }
  .l3-stagewrap:not(.on) .l3-lead { margin-top: 10px; }
  .l3-stagewrap:not(.on) .l3-cta { margin-top: 14px; gap: 8px; }
}

/* ---------- ตัวอย่างคำอ่าน: การ์ดขาวใบเดียวของหน้า ---------- */
.l3-read { position: relative; z-index: 1; padding: 34px var(--gr) 0 var(--gl); scroll-margin-top: var(--anchor-top); }
.l3-readcard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px 0; }
.l3-eyebrow { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
/* หน้าปัดเดียวกัน "คลี่ออก" เป็นแถบ 30 ขีด: ขีดยาวอยู่ตำแหน่งเดียวกับบนหน้าปัด · ขีดที่ 1 (ส้ม) ลากลงมาถึงคะแนนของการ์ด = การ์ดนี้คือคำอ่านของขีดที่ 1 */
.l3-tape { position: relative; display: flex; justify-content: space-between; align-items: flex-start; height: 46px; margin: 12px 0 0; }
.l3-tape i { position: relative; flex: 0 0 auto; width: 2px; height: 9px; border-radius: 2px; background: #7F95AB; transform-origin: 50% 0; }
.l3-tape i.p { width: 3.5px; height: 21px; margin: 0 -.75px; background: var(--ink); }
.l3-tape i.p1 { width: 5px; height: 46px; margin: 0 -1.5px; background: var(--sun); }
.l3-tape b { font-style: normal; position: absolute; top: 25px; left: 50%; transform: translateX(-50%); font-family: var(--head); font-weight: 600; font-size: 13px; line-height: 1.3; color: var(--ink); }
.rc-score { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 0; }
.rc-score .num { font-family: var(--head); font-weight: 600; font-size: 72px; line-height: 1.05; color: var(--ink); white-space: nowrap; }
.rc-score .num small { font-family: var(--font); font-weight: 400; font-size: 15px; color: var(--muted); margin-left: 4px; }
.rc-rank { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.l3-readcard h2 { margin: 12px 0 0; font-size: 23px; line-height: 1.3; }
.l3-reasons { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.l3-reasons li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.l3-reasons li::before { content: ''; position: absolute; left: 0; top: .74em; width: 13px; height: 2.5px; border-radius: 2px; background: #7F95AB; }
.l3-caution { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.l3-caution b { color: var(--ink); }
.l3-rest { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.l3-rest b { font-family: var(--head); font-weight: 600; color: var(--ink); }
.l3-nameline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px -20px 0; padding: 14px 20px 16px; background: var(--chip); border-radius: 0 0 var(--radius) var(--radius); }
.l3-nameline .lab { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.4; }
.l3-nameline .seal { background: var(--white); }
.l3-nameline .after { flex: 1 1 100%; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ---------- ทำไมต้องรู้เวลาเกิด: คำตอบตัวใหญ่ + ค่าที่อ่านได้สองฝั่ง "คุณ × เหรียญ" ---------- */
.l3-why, .l3-data { padding: 60px var(--gr) 0 var(--gl); }
.l3-why h2, .l3-data h2 { margin: 0; font-size: 26px; line-height: 1.25; }
.l3-state { margin: 10px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.l3-pair { margin: 24px 0 0; display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: start; column-gap: 12px; }
.l3-pair .m { display: grid; justify-items: start; gap: 8px; }
.l3-pair .val { display: inline-flex; align-items: center; gap: 3px; height: 44px; font-family: var(--head); font-weight: 600; font-size: 38px; line-height: 1; color: var(--ink); }
.l3-pair .val b { font-weight: 600; }
.l3-pair .val i { font-style: normal; font-weight: 500; color: var(--ink-2); transform: translateY(-3px); }
.l3-pair .val s { display: inline-block; width: 40px; height: 40px; border-radius: 9px; border: 1.5px dashed var(--disabled); background: var(--chip); text-decoration: none; }
.l3-pair .times { display: inline-flex; align-items: center; height: 44px; font-family: var(--font); font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink-2); }
.l3-pair .lab { font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.l3-pair .lab small { display: block; font-size: 12.5px; color: var(--muted); }
/* จอแคบมาก (≤359px — จอ 320px หรือตั้ง "ขยายการแสดงผล"): ย่อแถวตัวเลขลงเล็กน้อย · ระหว่างตัวเลขวิ่ง (หลักที่กว้างสุด) แถวยังไม่เลยขอบจอ (v18.4) */
@media (max-width: 359px) {
  .l3-pair { column-gap: 10px; }
  .l3-pair .val { font-size: 34px; }
  .l3-pair .val s { width: 36px; height: 36px; }
}
.l3-whytext { margin-top: 22px; }
.l3-whytext p { margin: 0; max-width: 34em; font-size: 16px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.l3-whytext p.tiny { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- ข้อมูลของคุณ: รายการบนสเกล (ไม่มีกรอบ ไม่มีพื้นแถว) ---------- */
.l3-scale { --l3-draw: 1; position: relative; list-style: none; margin: 20px 0 0; padding: 2px 0 6px; display: grid; gap: 22px; }
.l3-scale::before { content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 1.5px; background: var(--ink-2); opacity: .55; transform: scaleY(var(--l3-draw)); transform-origin: 50% 0; }
.l3-scale li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 28px; align-items: baseline; font-size: 16px; line-height: 1.65; color: var(--ink); }
.l3-scale li b { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); }
.l3-scale li::after { content: ''; position: absolute; left: 30px; top: .8em; width: 16px; height: 2.5px; border-radius: 0 2px 2px 0; background: var(--ink); }
.l3-scale li > span { text-wrap: pretty; }
.l3-databody .tiny { margin: 12px 0 0 58px; }

/* ---------- ปิดท้าย: หน้าปัดของคุณยังว่าง ---------- */
.l3-close { --l3-dial: 220px; display: grid; justify-items: center; text-align: center; padding: 72px var(--gr) 26px var(--gl); }
.l3-close .l3-dialsvg .ts { opacity: .55; }
.l3-close .l3-readout .who { font-size: 12.5px; }
.l3-close .qm { font-family: var(--head); font-weight: 700; font-size: calc(var(--l3-dial) * .34); line-height: 1.02; color: var(--ink); }
.l3-close h2 { margin: 22px 0 0; font-size: 28px; line-height: 1.25; }
.l3-closelead { margin: 8px 0 0; max-width: 21em; font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: balance; }
.l3-closecta { justify-self: stretch; display: grid; justify-items: center; margin-top: 20px; }
.l3-close .btn { min-width: 220px; min-height: 54px; font-size: 17px; }
.l3-close .l3-cond { margin-top: 10px; }

/* ---------- แถบปุ่มหลักลอยล่าง (ใช้ .stickybar ของแอป): แสดงเมื่อไม่มีปุ่มหลักอยู่ในจอ และซ่อนเมื่อเห็นบรรทัดสุดท้ายของท้ายหน้า (ไม่บังท้ายหน้า ไม่ต้องเผื่อที่ว่าง) — สคริปต์เติมคลาส .show ---------- */
.l3-bar { visibility: hidden; transform: translateY(calc(100% + 12px)); transition: transform .24s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .24s; }
.l3-bar.show { visibility: visible; transform: none; transition: transform .34s var(--ease-out), visibility 0s; }
.l3-bar .in { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .l3-bar, .l3-bar.show { transition: none; } }

/* ---------- ≥600: คอลัมน์เดียวกว้างขึ้น ---------- */
@media (min-width: 600px) {
  .l3-readcard { padding: 26px 26px 0; }
  .l3-nameline { margin-left: -26px; margin-right: -26px; padding-left: 26px; padding-right: 26px; }
  .l3-lead, .l3-stagewrap.on .l3-steps .d { max-width: 400px; }
}
/* แท็บเล็ตแนวตั้ง (600–899 และเวทีสูง ≥ 860px): ขยายหน้าปัดและตัวอักษรให้สมกับพื้นที่ */
@media (min-width: 600px) and (max-width: 899px) {
  @container l3stage (min-height: 860px) {
    .l3-stage { padding-top: 28px; }
    .l3-kick { font-size: 19px; }
    .l3-stage h1.t .no { font-size: 25px; }
    .l3-stage h1.t .yes { font-size: 50px; }
    .l3-dialbox { --l3-dial: 360px; margin-top: 18px; }
    .l3-smp { font-size: 14px; }
    .l3-readout .who { font-size: 14px; }
    .l3-readout .of { font-size: 15px; }
    .l3-birth .bl, .l3-birth .bd { font-size: 14px; }
    .l3-stage .x { margin-top: 14px; }
    .l3-cap { font-size: 15px; }
    .l3-lead { max-width: 460px; margin-top: 14px; font-size: 17px; }
    .l3-cta { margin-top: 22px; gap: 10px; }
    .l3-cta .btn { min-width: 260px; min-height: 58px; font-size: 18px; }
    .l3-cond { font-size: 15px; }
    .l3-stagewrap.on .l3-steps h3 { font-size: 42px; }
    .l3-stagewrap.on .l3-stepno { font-size: 15px; }
    .l3-stagewrap.on .l3-steps .d { max-width: 460px; margin-top: 26px; font-size: 18px; }
  }
}

/* ---------- ≥900: คอม — หน้าปัดเป็นศูนย์กลางของเวที (กว้างราว 40% ของจอ สูงราว 2/3 ของเวที) ข้อความอยู่ซ้าย
   ส่วนถัดไปใช้เส้นยึดซ้าย 3 เส้น: ขอบหน้า · ขอบในของการ์ด · 5/12 ของหน้า (คอลัมน์ขวาของการ์ดและของรายการตรงกัน สัญลักษณ์นำข้อห้อยออกทางซ้าย) ---------- */
@media (min-width: 900px) {
  body.landing3 { --l3-travel: calc(var(--l3-vh) * 3); }
  /* ท้ายหน้าสองคอลัมน์เหมือนหน้าแรกเดิม — style.css จำกัดไว้ด้วยรายชื่อคลาสของ body จึงต้องเจาะจงเท่ากัน (เมื่อย้ายเข้าแอปจริง ให้เพิ่มคลาสนี้ในรายชื่อนั้นแทน) */
  body.landing3:not(.landing):not(.formpage):not(.respage):not(.doc):not(.sharepage) footer.foot { display: grid; }

  .l3-stage { --l3-dial: clamp(320px, min(40vw, calc(var(--l3-sh) * .66)), 600px); --l3-colr: var(--l3-dial); justify-items: start; align-content: center; text-align: left; padding: 0 calc(var(--l3-dial) + var(--gr) + 44px) 0 var(--gl); }
  .l3-kick { font-size: 19px; }
  .l3-stage .t { margin-top: 6px; }
  .l3-stage h1.t .no { font-size: clamp(24px, 2.2vw, 30px); }
  .l3-stage h1.t .yes { font-size: clamp(38px, 4.1vw, 60px); line-height: 1.14; }
  .l3-stage .d { grid-row: 3; }
  .l3-lead { margin: 18px 0 0; max-width: 27em; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
  .l3-cta { grid-row: 4; align-self: start; margin-top: 28px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
  .l3-cta .btn { min-width: 0; min-height: 58px; padding: 0 34px; font-size: 18px; }
  .l3-cond { font-size: 15px; }
  /* องค์ประกอบที่วางแบบ absolute ต้องยกเลิกตำแหน่งกริด ไม่เช่นนั้นกรอบอ้างอิงจะเป็นช่องกริด ไม่ใช่ทั้งเวที */
  .l3-dialbox { grid-area: auto; position: absolute; right: var(--gr); width: var(--l3-colr); top: 50%; transform: translateY(calc(-50% - 34px)); margin: 0; text-align: center; }
  .l3-smp { font-size: 14px; }
  .l3-dial { margin-top: 12px; }
  .l3-dialsvg .nl { font-size: 13px; }
  .l3-dialsvg .n1 { font-size: 16.5px; }
  .l3-readout .who { font-size: 15px; }
  .l3-readout .who .wl { display: inline; }
  .l3-readout .who .ws { display: none; }
  .l3-readout .who.dyn .wl { display: none; }
  .l3-readout .of { font-size: 16px; }
  .l3-birth .bl, .l3-birth .bd { font-size: 15px; }
  .l3-stage .x { grid-area: auto; position: absolute; right: var(--gr); width: var(--l3-colr); top: calc(50% + var(--l3-dial) / 2 - 6px); margin: 0; text-align: center; }
  .l3-cap { font-size: 15px; }
  .l3-cap .l1 { display: inline; }
  .l3-chiprow { margin-top: 10px; }
  .l3-stage .seal { min-height: 34px; font-size: 15px; }

  .l3-stagewrap.on .l3-stepno { justify-content: flex-start; font-size: 15px; }
  .l3-stagewrap.on .l3-steps .t { margin-top: 14px; text-align: left; }
  .l3-stagewrap.on .l3-steps h3 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.18; margin-top: 10px; }
  .l3-stagewrap.on .l3-steps .d { grid-row: 3; max-width: 26em; margin: 20px 0 0; font-size: 19px; line-height: 1.65; text-align: left; text-wrap: pretty; }

  /* โหมดนิ่งบนจอกว้าง: จอแรกชิดบน หน้าปัดอยู่ขวา แล้วต่อด้วย 3 ขั้นเรียงแนวนอน */
  .l3-stagewrap:not(.on) .l3-stage { --l3-dial: clamp(300px, 32vw, 440px); align-content: start; padding-top: 64px; padding-bottom: 40px; }
  .l3-stagewrap:not(.on) .l3-dialbox { top: 30px; transform: none; }
  .l3-stagewrap:not(.on) .l3-stage .x { top: calc(30px + 34px + var(--l3-dial) + 14px); }
  .l3-stagewrap:not(.on) .l3-stepshead { margin-top: 190px; font-size: 32px; }
  .l3-stagewrap:not(.on) .l3-steps { width: calc(min(100vw, var(--page)) - var(--gl) - var(--gr)); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 22px; }
  .l3-stagewrap:not(.on) .l3-steps h3 { font-size: 24px; }
  .l3-stagewrap:not(.on) .l3-steps .d { font-size: 16.5px; }

  .l3-read { padding-top: 48px; }
  .l3-readcard { display: grid; grid-template-columns: calc((100% + 48px) * 5 / 12 - 48px) minmax(0, 1fr); column-gap: 48px; padding: 40px 48px 0; }
  .l3-eyebrow, .l3-tape { grid-column: 1 / -1; }
  .l3-tape { height: 64px; margin-top: 16px; }
  .l3-tape i { width: 2.5px; height: 12px; }
  .l3-tape i.p { width: 4px; height: 28px; margin: 0 -.75px; }
  .l3-tape i.p1 { width: 6px; height: 64px; margin: 0 -1.75px; }
  .l3-tape b { top: 34px; font-size: 16px; }
  .l3-eyebrow { font-size: 14.5px; }
  .rc-score .num { font-size: 116px; }
  .rc-score .num small { font-size: 18px; }
  .rc-rank { font-size: 16px; }
  .l3-readcard h2 { margin-top: 20px; font-size: 34px; line-height: 1.25; }
  .l3-reasons { margin-top: 26px; gap: 14px; }
  .l3-reasons li { padding-left: 0; font-size: 18px; }
  .l3-reasons li::before { left: -30px; width: 16px; }
  .l3-caution { margin-top: 20px; font-size: 16.5px; }
  .l3-rest { margin-top: 20px; padding-top: 18px; font-size: 16.5px; }
  .l3-nameline { grid-column: 1 / -1; margin: 36px -48px 0; padding: 18px 48px 20px; }
  .l3-nameline .lab { font-size: 19px; }
  .l3-nameline .seal { min-height: 34px; font-size: 15px; }
  .l3-nameline .after { flex: 0 1 auto; font-size: 16px; }

  .l3-why, .l3-data { padding-top: 112px; }
  .l3-why h2, .l3-data h2 { font-size: 40px; line-height: 1.2; }
  .l3-state { margin-top: 14px; font-size: 22px; line-height: 1.6; }
  .l3-state br { display: none; }
  .l3-pair { margin-top: 40px; column-gap: 30px; }
  .l3-pair .m { gap: 14px; }
  .l3-pair .val { height: 100px; font-size: 92px; gap: 6px; }
  .l3-pair .val i { transform: translateY(-8px); }
  .l3-pair .val s { width: 96px; height: 96px; border-radius: 20px; border-width: 2px; }
  .l3-pair .times { height: 100px; font-size: 60px; }
  .l3-pair .lab { font-size: 17px; }
  .l3-pair .lab small { font-size: 15px; }
  .l3-whytext { margin: 36px 0 0; }
  .l3-whytext p { font-size: 18px; line-height: 1.75; }
  .l3-whytext p.tiny { font-size: 15px; margin-top: 12px; }

  .l3-data { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; }
  .l3-scale { margin: 8px 0 0 -62px; gap: 30px; }
  .l3-scale li { font-size: 18px; line-height: 1.7; column-gap: 32px; }
  .l3-scale li b { font-size: 24px; }
  .l3-databody .tiny { margin-left: 0; font-size: 15px; }

  /* แถบปุ่มลอยบนคอม: แถบเต็มความกว้าง วัสดุเดียวกับแถบบน (ฟ้าโปร่ง + เบลอ) เนื้อในเรียงตามขอบหน้าเดียวกับแถบบน — ไม่บังข้อความแค่กลางบรรทัดเหมือนแถบแคปซูล */
  .l3-bar { padding: 0 0 env(safe-area-inset-bottom, 0px); pointer-events: auto; background: rgba(233, 241, 250, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); transform: translateY(100%); }
  .l3-bar .in { max-width: none; min-height: 72px; padding: 8px max(var(--pr), calc((100% - var(--page)) / 2 + var(--pr))) 8px max(var(--pl), calc((100% - var(--page)) / 2 + var(--pl))); background: none; border-radius: 0; box-shadow: none; }
  .l3-bar .t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; font-size: 18px; }
  .l3-bar .t small { font-size: 15px; }
  .l3-bar .btn { min-height: 52px; padding: 0 30px; font-size: 17px; }

  .l3-close { --l3-dial: 300px; padding-top: 128px; padding-bottom: 56px; }
  .l3-close .l3-readout .who { font-size: 15px; }
  .l3-close h2 { margin-top: 30px; font-size: 44px; }
  .l3-closelead { font-size: 18px; }
  .l3-closecta { margin-top: 28px; }
  .l3-close .btn { min-width: 0; min-height: 58px; padding: 0 34px; font-size: 18px; }
  .l3-close .l3-cond { font-size: 15px; }
}
