/* #property copyright "IRT GOLD" · หน้าแรก ตัวเลือก 3 "มิติใหม่ของการเทรด ตามรายใหญ่" (16 พ.ย. 69 ผู้ใช้เลือก) แทนแอนิเมชันโค้ชที่โต๊ะ
   v2 (16 พ.ย. 69 ผู้ใช้สั่ง): ตัดพื้นหลังการ์ดออก · มือถือแบบเครื่องจริง · ตัดป้ายโลโก้ */
/* v3: เงามือถือโดนตัดขอบล่างเป็นเส้นตรง (ผู้ใช้วงแดง) → ตัดแค่แนวนอน ให้เงาจางลงเอง */
.hx { --hx-gold: var(--gold-t); position: relative; z-index: 1; padding: 128px 24px 40px; margin-top: -78px; overflow-x: clip; overflow-y: visible;
  background: radial-gradient(60% 70% at 22% 55%, var(--glow), transparent 70%), var(--bg); }
.hx-card { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; }

/* ── มือถือแบบเครื่องจริง (กรอบไทเทเนียม · Dynamic Island · ปุ่มข้าง · แสงสะท้อนกระจก) ── */
.hx-ph-wrap { position: relative; display: grid; place-items: center; min-height: 560px; }
.hx-ph { position: relative; width: 272px; aspect-ratio: 9 / 19.3; transform: none; border-radius: 48px; padding: 4px;
  background: linear-gradient(135deg, #8b9099 0%, #3d4249 18%, #1b1e22 50%, #4a4f57 82%, #9aa0a8 100%);
  box-shadow: 0 60px 90px -40px rgba(11,22,48,.75), 0 30px 40px -30px rgba(0,0,0,.5); }
[data-theme="dark"] .hx-ph { box-shadow: 0 60px 100px -40px #000; }
.hx-bz { position: relative; height: 100%; border-radius: 44px; padding: 9px; background: #050608; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hx-ph::after { content: ""; position: absolute; top: 24px; left: 50%; z-index: 3; width: 86px; height: 25px; transform: translateX(-50%); border-radius: 14px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.hx-ph i { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5c626b, #a3a9b1); }
.hx-ph i:nth-child(1) { left: -3px; top: 104px; height: 26px; }
.hx-ph i:nth-child(2) { left: -3px; top: 150px; height: 46px; }
.hx-ph i:nth-child(3) { left: -3px; top: 206px; height: 46px; }
.hx-ph i:nth-child(4) { right: -3px; left: auto; top: 168px; height: 72px; background: linear-gradient(270deg, #5c626b, #a3a9b1); }
.hx-scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #0a1328; }
.hx-scr svg { display: block; width: 100%; height: 100%; }
.hx-scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.04) 28%, transparent 42%); }

/* ── v3 16 พ.ย. 69 ภาพเคลื่อนไหว Harmonic บนจอมือถือ · รอบละ 10 วิ ── */
.hm * { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: ease-out; }
.hm-l { fill: none; stroke: #e9c46c; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(233,196,108,.6)); }
.hm-f { fill: rgba(233,196,108,.16); stroke: none; opacity: 0; }
.hm-d { fill: none; stroke: rgba(233,196,108,.55); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.hm-r { fill: #f2d482; font: 600 9px 'Prompt', sans-serif; opacity: 0; }
.hm-p circle { fill: #0a1328; stroke: #f2d482; stroke-width: 1.6; opacity: 0; }
.hm-t text { fill: #f2d482; font: 700 11px 'Prompt', sans-serif; opacity: 0; }
.hm-prz { fill: rgba(52,211,153,.25); stroke: #34d399; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hm-c g { opacity: 0; transform-box: fill-box; transform-origin: bottom; }
.l1 { animation-name: hm-l1; } .l2 { animation-name: hm-l2; } .l3 { animation-name: hm-l3; } .l4 { animation-name: hm-l4; }
@keyframes hm-l1 { 0% { stroke-dashoffset: 1; opacity: 1; } 8%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hm-l2 { 0%, 8% { stroke-dashoffset: 1; opacity: 1; } 16%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hm-l3 { 0%, 16% { stroke-dashoffset: 1; opacity: 1; } 24%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hm-l4 { 0%, 24% { stroke-dashoffset: 1; opacity: 1; } 32%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.p1 { animation-name: hm-a0; } .p2 { animation-name: hm-a8; } .p3, .f1, .d1 { animation-name: hm-a16; } .p4 { animation-name: hm-a24; } .p5 { animation-name: hm-a32; } .f2, .d2 { animation-name: hm-a36; }
@keyframes hm-a0 { 0% { opacity: 0; } 3%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hm-a8 { 0%, 7% { opacity: 0; } 10%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hm-a16 { 0%, 16% { opacity: 0; } 22%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hm-a24 { 0%, 23% { opacity: 0; } 26%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hm-a32 { 0%, 31% { opacity: 0; } 34%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes hm-a36 { 0%, 34% { opacity: 0; } 41%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.hm-prz { animation-name: hm-prz; }
@keyframes hm-prz { 0%, 38% { opacity: 0; transform: scale(.4); } 44% { opacity: 1; transform: scale(1.5); } 50% { opacity: .9; transform: scale(1); } 90% { opacity: .9; transform: scale(1); } 97%, 100% { opacity: 0; } }
.c1 { animation-name: hm-c50; } .c2 { animation-name: hm-c56; } .c3 { animation-name: hm-c62; } .c4 { animation-name: hm-c68; }
@keyframes hm-c50 { 0%, 49% { opacity: 0; transform: scaleY(.2); } 54%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
@keyframes hm-c56 { 0%, 55% { opacity: 0; transform: scaleY(.2); } 60%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
@keyframes hm-c62 { 0%, 61% { opacity: 0; transform: scaleY(.2); } 66%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
@keyframes hm-c68 { 0%, 67% { opacity: 0; transform: scaleY(.2); } 72%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hm * { animation: none !important; }
  .hm-l { stroke-dashoffset: 0; } .hm-f, .hm-d, .hm-r, .hm-p circle, .hm-t text, .hm-prz, .hm-c g { opacity: 1; }
}

.hx-txt { position: relative; }
.hx-eye { font: 600 13px 'IBM Plex Sans Thai', sans-serif; letter-spacing: .08em; color: var(--hx-gold); text-transform: uppercase; margin-bottom: 14px; }
.hx-h { font: 700 clamp(40px, 5.2vw, 66px)/1.14 'Prompt', sans-serif; margin: 0; letter-spacing: -.01em; color: var(--ink); }
.hx-h em { font-style: normal; background: var(--grad-t); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-sub { margin: 22px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); font: 500 clamp(16px, 1.6vw, 18.5px)/1.65 'IBM Plex Sans Thai', sans-serif; color: var(--ink2); max-width: 560px; }
.hx-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hx-pills li { padding: 9px 18px; border-radius: 999px; font: 600 15px 'IBM Plex Sans Thai', sans-serif; }
.hx-pills li:nth-child(1) { background: var(--navy); color: #f2d482; }
.hx-pills li:nth-child(2) { background: linear-gradient(100deg, #f2d482, #d6aa44); color: #2a1d05; }
.hx-pills li:nth-child(3) { background: var(--bg3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .hx-pills li:nth-child(1) { background: #f6efe2; color: #0b1630; }

/* แท็บเล็ต */
@media (max-width: 1000px) {
  .hx-card { grid-template-columns: 1fr; gap: 8px; }
  .hx-ph-wrap { min-height: 0; padding: 10px 0 36px; }
  .hx-ph { width: 230px; transform: rotate(-6deg); }
}
/* มือถือ */
@media (max-width: 600px) {
  .hx { padding: 100px 16px 24px; }
  .hx-ph { width: 168px; border-radius: 34px; padding: 3px; }
  .hx-bz { border-radius: 31px; padding: 6px; }
  .hx-scr { border-radius: 26px; }
  .hx-ph::after { top: 16px; width: 56px; height: 17px; }
  .hx-ph i:nth-child(1) { top: 66px; height: 18px; } .hx-ph i:nth-child(2) { top: 96px; height: 30px; } .hx-ph i:nth-child(3) { top: 132px; height: 30px; } .hx-ph i:nth-child(4) { top: 108px; height: 48px; }
  .hx-ph-wrap { padding-bottom: 26px; }
  .hx-pills li { padding: 8px 14px; font-size: 14px; }
  .hx-h { font-size: 36px; }
}
/* ตัดบรรทัด "มิติใหม่ | ของการเทรด" บนมือถือ · ภาษาอื่นต้องมีช่องว่างคั่นคำ */
.m-br { display: none; }
html:not([lang="th"]) .m-br { display: inline; }
html:not([lang="th"]) .m-br::before { content: " "; }
@media (max-width: 600px) { .m-br, html:not([lang="th"]) .m-br { display: block; } }

/* v4 16 พ.ย. 69 ผู้ใช้เลือก: พื้นหลังเคลื่อนไหว "เครือข่ายจุดทอง" ทั้งหน้าแรก (bg-net.js) · พื้นเว็บย้ายไปที่ html ให้ผืนผ้าใบอยู่หลังเนื้อหา */
html { background: var(--bg); }
html body { background: transparent; }
#bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#bgfx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx { background: radial-gradient(60% 70% at 22% 55%, var(--glow), transparent 70%); }


/* ── v5 17 พ.ย. 69 อุปกรณ์เครื่องจริง: โน้ตบุ๊ก (จอ Animation แนวโน้ม) + มือถือตั้งตรงวางหน้า · ตัดเงา/แสงสีเหลืองออก ── */
.hx { background: none; }
.hx-ph-wrap { min-height: 0; display: block; }
.hx-dev { position: relative; width: min(540px, 100%); aspect-ratio: 540 / 470; margin: 0 auto; }
.hx-dev::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -2px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.34), transparent); filter: blur(6px); z-index: 0; }
[data-theme="dark"] .hx-dev::after { background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); }
/* โน้ตบุ๊ก */
.hx-nb { position: absolute; left: 0; top: 7%; width: 80%; z-index: 1; }
.hx-nb-lid { border-radius: 16px 16px 4px 4px; padding: 3px; background: linear-gradient(160deg, #c9ced6 0%, #8b9099 30%, #50555d 70%, #9aa0a8 100%); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 30px 50px -30px rgba(0,0,0,.6); }
.hx-nb-bz { position: relative; border-radius: 13px 13px 2px 2px; padding: 14px 12px 12px; background: #050608; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.hx-nb-cam { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a7a, #0a0f1d 70%); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.hx-nb-scr { position: relative; aspect-ratio: 400 / 250; border-radius: 3px; overflow: hidden; background: #0a1328; }
.hx-nb-scr svg { display: block; width: 100%; height: 100%; }
.hx-nb-scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.03) 26%, transparent 40%); }
.hx-nb-base { position: relative; width: 108%; margin: 0 0 0 -4%; height: 13px; border-radius: 0 0 16px 16px / 0 0 12px 12px; background: linear-gradient(180deg, #d5d9df 0%, #a3a8b0 45%, #7b8089 100%); box-shadow: 0 14px 22px -12px rgba(0,0,0,.55); }
.hx-nb-base i { position: absolute; left: 50%; top: 0; width: 17%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #7b8089, #b4b9c1); }
/* มือถือ: ตั้งตรง วางหน้าโน้ตบุ๊กด้านขวา · เงากลาง ๆ ไม่มีแสงเหลือง */
.hx-dev .hx-ph { position: absolute; right: 1%; bottom: 3%; z-index: 2; width: 33%; transform: none; border-radius: 12% / 5.6%;
  background: linear-gradient(135deg, #c3c8cf 0%, #6c7179 22%, #2a2d32 50%, #6a6f77 80%, #bfc4cb 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 40px 50px -28px rgba(0,0,0,.65); }
[data-theme="dark"] .hx-dev .hx-ph { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 40px 60px -28px #000; }
.hx-dev .hx-bz { border-radius: 10.6% / 5.1%; padding: 3.4%; }
.hx-dev .hx-scr { border-radius: 8.6% / 4.1%; }
.hx-dev .hx-ph::after { top: 3.1%; width: 33%; height: 3.1%; border-radius: 99px; }
.hx-dev .hx-ph i { width: 1.6%; }
.hx-dev .hx-ph i:nth-child(1) { left: -1.1%; top: 15%; height: 4.6%; }
.hx-dev .hx-ph i:nth-child(2) { left: -1.1%; top: 22%; height: 8%; }
.hx-dev .hx-ph i:nth-child(3) { left: -1.1%; top: 32%; height: 8%; }
.hx-dev .hx-ph i:nth-child(4) { right: -1.1%; left: auto; top: 26%; height: 12.5%; }
/* Animation แนวโน้มบนจอโน้ตบุ๊ก · รอบละ 10 วิ */
.tc, .tn-ln, .tn-l, .tn-t text, .tn-badge, .tn-ar { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: ease-out; }
.tc { opacity: 0; transform-box: fill-box; transform-origin: bottom; }
.tn-ln { fill: none; stroke: #f2d482; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(242,212,130,.7)); animation-name: tn-ln; }
@keyframes tn-ln { 0%, 2% { stroke-dashoffset: 1; opacity: 1; } 44%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.tn-l { fill: none; stroke: rgba(233,196,108,.75); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tn-l.l1 { animation-name: tn-l1; } .tn-l.l2 { animation-name: tn-l2; }
@keyframes tn-l1 { 0%, 46% { stroke-dashoffset: 1; opacity: 1; } 56%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tn-l2 { 0%, 50% { stroke-dashoffset: 1; opacity: 1; } 60%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.tn-t text { fill: #f2d482; font: 700 10px 'Prompt', sans-serif; opacity: 0; }
.tn-t .a { animation-name: tn-a1; } .tn-t .b { animation-name: tn-a2; } .tn-t .c { animation-name: tn-a3; } .tn-t .d { animation-name: tn-a4; } .tn-t .e { animation-name: tn-a5; }
@keyframes tn-a1 { 0%, 62% { opacity: 0; } 65%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes tn-a2 { 0%, 65% { opacity: 0; } 68%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes tn-a3 { 0%, 68% { opacity: 0; } 71%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes tn-a4 { 0%, 71% { opacity: 0; } 74%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes tn-a5 { 0%, 74% { opacity: 0; } 77%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.tn-badge { opacity: 0; animation-name: tn-badge; transform-box: fill-box; transform-origin: center; }
@keyframes tn-badge { 0%, 78% { opacity: 0; transform: scale(.6); } 83% { opacity: 1; transform: scale(1.1); } 86%, 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; } }
.tn-ar path { fill: none; stroke: #4ade80; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tn-ar { opacity: 0; animation-name: tn-ar; }
@keyframes tn-ar { 0%, 80% { opacity: 0; } 84%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.tc.c0 { animation-name: tn-c0; }
@keyframes tn-c0 { 0%, 2.0% { opacity: 0; transform: scaleY(.2); } 4.5%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c1 { animation-name: tn-c1; }
@keyframes tn-c1 { 0%, 4.6% { opacity: 0; transform: scaleY(.2); } 7.1%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c2 { animation-name: tn-c2; }
@keyframes tn-c2 { 0%, 7.2% { opacity: 0; transform: scaleY(.2); } 9.7%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c3 { animation-name: tn-c3; }
@keyframes tn-c3 { 0%, 9.8% { opacity: 0; transform: scaleY(.2); } 12.3%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c4 { animation-name: tn-c4; }
@keyframes tn-c4 { 0%, 12.4% { opacity: 0; transform: scaleY(.2); } 14.9%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c5 { animation-name: tn-c5; }
@keyframes tn-c5 { 0%, 15.0% { opacity: 0; transform: scaleY(.2); } 17.5%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c6 { animation-name: tn-c6; }
@keyframes tn-c6 { 0%, 17.6% { opacity: 0; transform: scaleY(.2); } 20.1%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c7 { animation-name: tn-c7; }
@keyframes tn-c7 { 0%, 20.2% { opacity: 0; transform: scaleY(.2); } 22.7%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c8 { animation-name: tn-c8; }
@keyframes tn-c8 { 0%, 22.8% { opacity: 0; transform: scaleY(.2); } 25.3%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c9 { animation-name: tn-c9; }
@keyframes tn-c9 { 0%, 25.4% { opacity: 0; transform: scaleY(.2); } 27.9%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c10 { animation-name: tn-c10; }
@keyframes tn-c10 { 0%, 28.0% { opacity: 0; transform: scaleY(.2); } 30.5%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c11 { animation-name: tn-c11; }
@keyframes tn-c11 { 0%, 30.6% { opacity: 0; transform: scaleY(.2); } 33.1%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c12 { animation-name: tn-c12; }
@keyframes tn-c12 { 0%, 33.2% { opacity: 0; transform: scaleY(.2); } 35.7%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c13 { animation-name: tn-c13; }
@keyframes tn-c13 { 0%, 35.8% { opacity: 0; transform: scaleY(.2); } 38.3%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c14 { animation-name: tn-c14; }
@keyframes tn-c14 { 0%, 38.4% { opacity: 0; transform: scaleY(.2); } 40.9%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
.tc.c15 { animation-name: tn-c15; }
@keyframes tn-c15 { 0%, 41.0% { opacity: 0; transform: scaleY(.2); } 43.5%, 90% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tc, .tn-ln, .tn-l, .tn-t text, .tn-badge, .tn-ar { animation: none !important; }
  .tn-ln, .tn-l { stroke-dashoffset: 0; } .tc, .tn-t text, .tn-badge, .tn-ar { opacity: 1; }
}
/* แท็บเล็ต / มือถือ */
@media (max-width: 1000px) { .hx-ph-wrap { padding: 8px 0 28px; } .hx-dev { width: min(500px, 100%); } .hx-dev .hx-ph { width: 33%; transform: none; } }
@media (max-width: 600px) { .hx-dev { width: 100%; } .hx-dev .hx-ph { width: 34%; } .hx-dev .hx-ph::after { top: 3.1%; width: 33%; height: 3.1%; } .hx-nb-bz { padding: 10px 8px 8px; } }


/* ── v6 17 พ.ย. 69 ภาพมอคอัปจริง (Freepik) แทนเครื่องที่วาดด้วยโค้ด · มือถือยืนหน้าซ้าย โน้ตบุ๊กอยู่ขวา (จอไม่ถูกบัง) ── */
.hx-dev { width: min(560px, 100%); aspect-ratio: 560 / 360; }
.hx-dev::after { left: 6%; right: 2%; bottom: 3px; height: 22px; }
.hx-nb { position: absolute; left: 8%; top: 0; width: 92%; aspect-ratio: 1500 / 907; z-index: 1; --s: .33; filter: drop-shadow(0 26px 22px rgba(0,0,0,.4)); }
.hx-nbs { position: absolute; left: 0; top: 0; width: 1500px; height: 907px; transform: scale(var(--s)); transform-origin: 0 0; }
.hx-nbimg { position: absolute; left: 0; top: 0; width: 1500px; height: 907px; z-index: 2; }
.hx-lscr { position: absolute; left: 0; top: 0; width: 400px; height: 250px; transform-origin: 0 0; z-index: 1; overflow: hidden; background: #0a1328; }
.hx-lscr svg { display: block; width: 100%; height: 100%; }
.hx-ph2 { position: absolute; left: 1%; bottom: 0; width: 29%; aspect-ratio: 820 / 1654; z-index: 3; filter: drop-shadow(0 24px 20px rgba(0,0,0,.45)); }
.hx-ph2 > img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hx-pscr { position: absolute; z-index: 1; overflow: hidden; background: #0a1328; }
.hx-pscr svg { display: block; width: 100%; height: 100%; }
@media (max-width: 1000px) { .hx-dev { width: min(520px, 100%); } }
@media (max-width: 600px) { .hx-dev { width: 100%; } .hx-ph2 { width: 32%; } }


/* ── v7 17 พ.ย. 69 มอคอัป Canva: ทั้งคู่ถ่ายตรง (iPhone 15 Pro + MacBook Pro) · จอเป็นสี่เหลี่ยม วางเป็น % ได้เลย ── */
.hx-dev { width: min(580px, 100%); aspect-ratio: 580 / 330; }
.hx-nb { left: 15%; top: 4%; width: 85%; aspect-ratio: 1500 / 932; --s: 1; }
.hx-nbs { display: none; }
.hx-nbimg { width: 100%; height: 100%; }
.hx-lscr { width: auto; height: auto; transform: none !important; }
.hx-ph2 { left: 0; bottom: 0; width: 26%; aspect-ratio: 820 / 1678; }
@media (max-width: 1000px) { .hx-dev { width: min(540px, 100%); } }
@media (max-width: 600px) { .hx-dev { width: 100%; } .hx-ph2 { width: 27%; } }


/* ── v8.2 17 พ.ย. 69 จอโน้ตบุ๊ก = จำลองกราฟ IRT GOLD V.8.0 · รอบละ 10 วิ · ของเก่า (แท่ง 0-11 + กล่องแรก + แผง) ค้างไว้ จอไม่ว่าง ── */
.vc, .vz, .vt, .vb, .vl, .vpx { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.vc { opacity: 0; transform-box: fill-box; transform-origin: bottom; }      /* แท่งเขียว: โตขึ้นจากราคาเปิด */
.vc.dn { transform-origin: top; }                                           /* แท่งแดง: โตลงจากราคาเปิด */
.vz { opacity: 0; transform-box: fill-box; transform-origin: bottom; }
.vt { opacity: 0; }
.vb { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.vl { stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 2px rgba(31,174,110,.7)); animation-name: v-line; }
@keyframes v-line { 0%, 2% { stroke-dashoffset: 1; opacity: 1; } 54%, 92% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
/* แท่งปัจจุบันกระพือ (ราคากำลังวิ่ง) + เส้นราคาปัจจุบัน */
.vlive { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: v-live-in 10s infinite, v-wig .85s ease-in-out infinite alternate; }
@keyframes v-live-in { 0%, 53% { opacity: 0; } 56%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes v-wig { 0% { transform: scaleY(.55); } 45% { transform: scaleY(1.12); } 100% { transform: scaleY(.8); } }
.vpx { opacity: 0; animation-name: v-px; }
@keyframes v-px { 0%, 53% { opacity: 0; } 56%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.vc.c14 { animation-name: v-c14; }
@keyframes v-c14 { 0%, 2.0% { opacity: 0; transform: scaleY(.15); } 3.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c15 { animation-name: v-c15; }
@keyframes v-c15 { 0%, 4.0% { opacity: 0; transform: scaleY(.15); } 5.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c16 { animation-name: v-c16; }
@keyframes v-c16 { 0%, 6.0% { opacity: 0; transform: scaleY(.15); } 7.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c17 { animation-name: v-c17; }
@keyframes v-c17 { 0%, 8.0% { opacity: 0; transform: scaleY(.15); } 9.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c18 { animation-name: v-c18; }
@keyframes v-c18 { 0%, 10.0% { opacity: 0; transform: scaleY(.15); } 11.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c19 { animation-name: v-c19; }
@keyframes v-c19 { 0%, 12.0% { opacity: 0; transform: scaleY(.15); } 13.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c20 { animation-name: v-c20; }
@keyframes v-c20 { 0%, 14.0% { opacity: 0; transform: scaleY(.15); } 15.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c21 { animation-name: v-c21; }
@keyframes v-c21 { 0%, 16.0% { opacity: 0; transform: scaleY(.15); } 17.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c22 { animation-name: v-c22; }
@keyframes v-c22 { 0%, 18.0% { opacity: 0; transform: scaleY(.15); } 19.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c23 { animation-name: v-c23; }
@keyframes v-c23 { 0%, 20.0% { opacity: 0; transform: scaleY(.15); } 21.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c24 { animation-name: v-c24; }
@keyframes v-c24 { 0%, 22.0% { opacity: 0; transform: scaleY(.15); } 23.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c25 { animation-name: v-c25; }
@keyframes v-c25 { 0%, 24.0% { opacity: 0; transform: scaleY(.15); } 25.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c26 { animation-name: v-c26; }
@keyframes v-c26 { 0%, 26.0% { opacity: 0; transform: scaleY(.15); } 27.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c27 { animation-name: v-c27; }
@keyframes v-c27 { 0%, 28.0% { opacity: 0; transform: scaleY(.15); } 29.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c28 { animation-name: v-c28; }
@keyframes v-c28 { 0%, 30.0% { opacity: 0; transform: scaleY(.15); } 31.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c29 { animation-name: v-c29; }
@keyframes v-c29 { 0%, 32.0% { opacity: 0; transform: scaleY(.15); } 33.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c30 { animation-name: v-c30; }
@keyframes v-c30 { 0%, 34.0% { opacity: 0; transform: scaleY(.15); } 35.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c31 { animation-name: v-c31; }
@keyframes v-c31 { 0%, 36.0% { opacity: 0; transform: scaleY(.15); } 37.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c32 { animation-name: v-c32; }
@keyframes v-c32 { 0%, 38.0% { opacity: 0; transform: scaleY(.15); } 39.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c33 { animation-name: v-c33; }
@keyframes v-c33 { 0%, 40.0% { opacity: 0; transform: scaleY(.15); } 41.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c34 { animation-name: v-c34; }
@keyframes v-c34 { 0%, 42.0% { opacity: 0; transform: scaleY(.15); } 43.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c35 { animation-name: v-c35; }
@keyframes v-c35 { 0%, 44.0% { opacity: 0; transform: scaleY(.15); } 45.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c36 { animation-name: v-c36; }
@keyframes v-c36 { 0%, 46.0% { opacity: 0; transform: scaleY(.15); } 47.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vc.c37 { animation-name: v-c37; }
@keyframes v-c37 { 0%, 48.0% { opacity: 0; transform: scaleY(.15); } 49.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vz.zb20 { animation-name: v-zb20; transform-origin: left center; }
@keyframes v-zb20 { 0%, 6.0% { opacity: 0; transform: scaleX(.05); } 8.0%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl20 { animation-name: v-zl20; }
@keyframes v-zl20 { 0%, 7.3% { opacity: 0;  } 9.1%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb21 { animation-name: v-zb21; transform-origin: bottom; }
@keyframes v-zb21 { 0%, 8.8% { opacity: 0; transform: scaleY(.1); } 10.8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl21 { animation-name: v-zl21; }
@keyframes v-zl21 { 0%, 10.1% { opacity: 0;  } 11.9%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb22 { animation-name: v-zb22; transform-origin: bottom; }
@keyframes v-zb22 { 0%, 11.6% { opacity: 0; transform: scaleY(.1); } 13.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl22 { animation-name: v-zl22; }
@keyframes v-zl22 { 0%, 12.9% { opacity: 0;  } 14.7%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb23 { animation-name: v-zb23; transform-origin: bottom; }
@keyframes v-zb23 { 0%, 14.4% { opacity: 0; transform: scaleY(.1); } 16.4%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl23 { animation-name: v-zl23; }
@keyframes v-zl23 { 0%, 15.7% { opacity: 0;  } 17.5%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb30 { animation-name: v-zb30; transform-origin: left center; }
@keyframes v-zb30 { 0%, 20.0% { opacity: 0; transform: scaleX(.05); } 22.0%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl30 { animation-name: v-zl30; }
@keyframes v-zl30 { 0%, 21.3% { opacity: 0;  } 23.1%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb31 { animation-name: v-zb31; transform-origin: bottom; }
@keyframes v-zb31 { 0%, 22.8% { opacity: 0; transform: scaleY(.1); } 24.8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl31 { animation-name: v-zl31; }
@keyframes v-zl31 { 0%, 24.1% { opacity: 0;  } 25.9%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb32 { animation-name: v-zb32; transform-origin: bottom; }
@keyframes v-zb32 { 0%, 25.6% { opacity: 0; transform: scaleY(.1); } 27.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl32 { animation-name: v-zl32; }
@keyframes v-zl32 { 0%, 26.9% { opacity: 0;  } 28.7%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vz.zb33 { animation-name: v-zb33; transform-origin: bottom; }
@keyframes v-zb33 { 0%, 28.4% { opacity: 0; transform: scaleY(.1); } 30.4%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.vt.zl33 { animation-name: v-zl33; }
@keyframes v-zl33 { 0%, 29.7% { opacity: 0;  } 31.5%, 92% { opacity: 1;  } 97%, 100% { opacity: 0; } }
.vb.b3 { animation-name: v-b3; }
@keyframes v-b3 { 0%, 40% { opacity: 0; transform: translateY(8px) scale(.6); } 43% { opacity: 1; transform: translateY(-2px) scale(1.12); } 45%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-4px) scale(.9); } }
.vd-bar, .vd-ft { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: ease-out; }
.vd-bar { transform-box: fill-box; transform-origin: left; animation-name: v-bar; }
@keyframes v-bar { 0%, 2% { transform: scaleX(.3); } 48%, 100% { transform: scaleX(1); } }
.vd-ft { animation-name: v-ft; }
@keyframes v-ft { 0%, 48% { fill: #1a2547; } 52%, 55% { fill: #16c47f; } 60%, 100% { fill: #0f7f6a; } }
/* มือถือ: กล่อง TP/ENTRY/SL รอจนเส้น Harmonic ถึงจุด D (34%) + วงจุด D ขึ้น (44%) ก่อน แล้วค่อยกางออกจากฝั่ง D ไปทางขวา */
.hm-z, .hm-zl { opacity: 0; animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.hm-z { transform-box: fill-box; transform-origin: left center; animation-name: hm-zone; }
@keyframes hm-zone { 0%, 42% { opacity: 0; transform: scaleX(0); } 47%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.hm-zl { animation-name: hm-zone-l; }
@keyframes hm-zone-l { 0%, 46% { opacity: 0; } 49%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
/* มือถือ: แท่งเทียนหลังจุด D ต่อเนื่องจากชุดเดิม โผล่ทีละแท่งหลังกล่อง Entry ขึ้น */
.hm-pc { opacity: 0; transform-box: fill-box; transform-origin: bottom; animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.hm-pc.pc0 { animation-name: hm-pc0; }
@keyframes hm-pc0 { 0%, 50.0% { opacity: 0; transform: scaleY(.15); } 51.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc1 { animation-name: hm-pc1; }
@keyframes hm-pc1 { 0%, 51.7% { opacity: 0; transform: scaleY(.15); } 53.3%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc2 { animation-name: hm-pc2; }
@keyframes hm-pc2 { 0%, 53.4% { opacity: 0; transform: scaleY(.15); } 55.0%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc3 { animation-name: hm-pc3; }
@keyframes hm-pc3 { 0%, 55.1% { opacity: 0; transform: scaleY(.15); } 56.7%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc4 { animation-name: hm-pc4; }
@keyframes hm-pc4 { 0%, 56.8% { opacity: 0; transform: scaleY(.15); } 58.4%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc5 { animation-name: hm-pc5; }
@keyframes hm-pc5 { 0%, 58.5% { opacity: 0; transform: scaleY(.15); } 60.1%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc6 { animation-name: hm-pc6; }
@keyframes hm-pc6 { 0%, 60.2% { opacity: 0; transform: scaleY(.15); } 61.8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc7 { animation-name: hm-pc7; }
@keyframes hm-pc7 { 0%, 61.9% { opacity: 0; transform: scaleY(.15); } 63.5%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc8 { animation-name: hm-pc8; }
@keyframes hm-pc8 { 0%, 63.6% { opacity: 0; transform: scaleY(.15); } 65.2%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc9 { animation-name: hm-pc9; }
@keyframes hm-pc9 { 0%, 65.3% { opacity: 0; transform: scaleY(.15); } 66.9%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc10 { animation-name: hm-pc10; }
@keyframes hm-pc10 { 0%, 67.0% { opacity: 0; transform: scaleY(.15); } 68.6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc11 { animation-name: hm-pc11; }
@keyframes hm-pc11 { 0%, 68.7% { opacity: 0; transform: scaleY(.15); } 70.3%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc12 { animation-name: hm-pc12; }
@keyframes hm-pc12 { 0%, 70.4% { opacity: 0; transform: scaleY(.15); } 72.0%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc13 { animation-name: hm-pc13; }
@keyframes hm-pc13 { 0%, 72.1% { opacity: 0; transform: scaleY(.15); } 73.7%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.hm-pc.pc14 { animation-name: hm-pc14; }
@keyframes hm-pc14 { 0%, 73.8% { opacity: 0; transform: scaleY(.15); } 75.4%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
/* มือถือ: มุมจอโค้งตามเครื่อง (เดิมเป็นสี่เหลี่ยม โผล่เหลี่ยมดำที่มุม) */
.hx-pscr { border-radius: 13.5% / 6.4%; }
@media (prefers-reduced-motion: reduce) {
  .vd-bar, .vd-ft, .vlive, .vpx, .hm-z, .hm-zl, .hm-pc { animation: none !important; opacity: 1; transform: none; }
  .vc, .vz, .vt, .vb, .vl { animation: none !important; opacity: 1; transform: none; }
  .vl { stroke-dashoffset: 0; } .vb.b1, .vb.b2 { opacity: 0; }
}
