
/* ===== หน้าแข่งเทรด v4 (21 ต.ค. 69): แถบสกอร์บอร์ดสีเข้ม + โพเดียม 3 อันดับ · โหลดหลัง ota.css เฉพาะหน้าแข่งเทรด ===== */
#ota.cp3.c4{--k-ink:#0f1218;--k-ink2:#171b23;--k-line:rgba(255,255,255,.09);--k-tx:#f4f5f7;--k-mt:rgba(244,245,247,.62);--k-red:#e5313d;--k-red2:#c41e2a;--k-gold:#f1c45b;--k-silver:#c3cad4;--k-bronze:#d2925e;--k-up:#2fd08a;--k-dn:#ff6b72}
#ota.cp3.c4 .c4-band{position:relative;background:var(--k-ink);color:var(--k-tx);padding:18px 0 0;overflow:hidden;isolation:isolate}
#ota.cp3.c4 .c4-band::before{content:"";position:absolute;z-index:-1;inset:-40% -10% auto auto;width:720px;height:720px;border-radius:50%;background:radial-gradient(closest-side,rgba(229,49,61,.20),rgba(229,49,61,0));pointer-events:none}
#ota.cp3.c4 .c4-band nav,#ota.cp3.c4 .c4-band nav a,#ota.cp3.c4 .c4-band nav span,#ota.cp3.c4 .c4-band nav li{color:var(--k-mt)!important}
#ota.cp3.c4 .c4-band nav a:hover{color:#fff!important}
#ota.cp3.c4 .c4-band nav svg{color:var(--k-mt);opacity:.8}
#ota.cp3.c4 .c4-band nav [aria-current],#ota.cp3.c4 .c4-band nav li:last-child,#ota.cp3.c4 .c4-band nav li:last-child *{color:#fff!important}
#ota.cp3.c4 .c3-hero{grid-template-columns:minmax(0,1fr) 360px;gap:40px;margin-top:6px;padding:10px 0 0;border:0;border-radius:0;background:none;box-shadow:none}
#ota.cp3.c4 .c3-st{color:var(--k-mt);font-size:13.5px}
#ota.cp3.c4 .c3-st b{color:#fff}
#ota.cp3.c4 .c3-st span:not(.dot){border-left-color:var(--k-line)}
#ota.cp3.c4 .c3-st.t-live .dot,#ota.cp3.c4 .c3-st.t-open .dot{background:var(--k-red);box-shadow:0 0 0 4px rgba(229,49,61,.22);animation:c4pulse 2.4s ease-in-out infinite}
@keyframes c4pulse{50%{box-shadow:0 0 0 7px rgba(229,49,61,0)}}
#ota.cp3.c4 .c3-hero h1{margin:4px 0 12px;color:#fff;font-size:clamp(30px,3.6vw,46px);line-height:1.12;font-weight:700;letter-spacing:-.015em}
#ota.cp3.c4 .c3-lead{max-width:56ch;margin:0;color:var(--k-mt);font-size:16px;line-height:1.65}
#ota.cp3.c4 .c3-facts{gap:8px;margin-top:20px}
#ota.cp3.c4 .c3-facts li{padding:6px 13px;background:rgba(255,255,255,.06);border:1px solid var(--k-line);color:var(--k-mt)}
#ota.cp3.c4 .c3-facts b{color:#fff}
#ota.cp3.c4 .c3-facts b.up{color:var(--k-up)}
#ota.cp3.c4 .c3-ph{gap:4px;margin-top:28px}
#ota.cp3.c4 .c3-ph .bar{height:6px;margin-bottom:10px;border-radius:3px;background:rgba(255,255,255,.1)}
#ota.cp3.c4 .c3-ph li:first-child .bar{border-radius:6px 3px 3px 6px}
#ota.cp3.c4 .c3-ph li:last-child .bar{border-radius:3px 6px 6px 3px}
#ota.cp3.c4 .c3-ph .bar i,#ota.cp3.c4 .c3-ph .done .bar i{background:rgba(255,255,255,.42)}
#ota.cp3.c4 .c3-ph .on .bar i{background:var(--k-red)}
#ota.cp3.c4 .c3-ph b{color:var(--k-mt);font-size:13px}
#ota.cp3.c4 .c3-ph .on b{color:#fff}
#ota.cp3.c4 .c3-ph small{color:rgba(244,245,247,.45)}
#ota.cp3.c4 .c3-card{gap:18px;padding:22px;border-radius:20px;background:var(--k-ink2);border:1px solid var(--k-line)}
#ota.cp3.c4 .c3-pool small,#ota.cp3.c4 .c3-pool span{color:var(--k-mt)}
#ota.cp3.c4 .c3-pool b{margin:2px 0 4px;color:var(--k-gold);font-size:52px;font-weight:800;letter-spacing:-.03em}
#ota.cp3.c4 .c3-cd{padding-top:16px;border-top:1px solid var(--k-line)}
#ota.cp3.c4 .c3-cd small{color:var(--k-mt)}
#ota.cp3.c4 .c3-cd div{gap:0}
#ota.cp3.c4 .c3-cd span{padding:2px 0;border:0;border-radius:0;background:none}
#ota.cp3.c4 .c3-cd span+span{border-left:1px solid var(--k-line)}
#ota.cp3.c4 .c3-cd b{color:#fff;font-size:32px;font-weight:800;letter-spacing:-.02em}
#ota.cp3.c4 .c3-cd i{color:var(--k-mt);font-size:12px}
#ota.cp3.c4 .c3-cdx{margin:0;color:var(--k-mt);font-size:14px}
#ota.cp3.c4 .c3-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ota.cp3.c4 .c3-cta .c3-btn{min-height:46px;border-radius:12px;background:rgba(255,255,255,.06);border-color:var(--k-line);color:#fff;font-size:14.5px}
#ota.cp3.c4 .c3-cta .c3-btn:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.2)}
#ota.cp3.c4 .c3-cta .c3-btn.pri{grid-column:1/-1;background:var(--k-red);border-color:var(--k-red)}
#ota.cp3.c4 .c3-cta .c3-btn.pri:hover{background:var(--k-red2);border-color:var(--k-red2)}
#ota.cp3.c4 .c3-cta .c3-btn:last-child:nth-child(even):not(.pri){grid-column:1/-1}
#ota.cp3.c4 .c4-podw{margin-top:40px}
#ota.cp3.c4 .c4-podh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;max-width:880px;margin:0 auto 14px}
#ota.cp3.c4 .c4-podh h2{margin:0;color:#fff;font-size:18px;font-weight:700}
#ota.cp3.c4 .c4-podh a{color:var(--k-mt);font-size:14px;font-weight:600;text-decoration:none}
#ota.cp3.c4 .c4-podh a:hover{color:#fff}
#ota.cp3.c4 .c4-pod{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;max-width:880px;margin:0 auto;padding:0;list-style:none}
#ota.cp3.c4 .c4-pod li{--pc:var(--k-silver);display:flex;flex-direction:column;min-width:0;margin:0}
#ota.cp3.c4 .c4-pod li.p1{--pc:var(--k-gold);order:2}
#ota.cp3.c4 .c4-pod li.p2{order:1}
#ota.cp3.c4 .c4-pod li.p3{--pc:var(--k-bronze);order:3}
#ota.cp3.c4 .c4-pod button{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;padding:16px 12px 14px;border-radius:16px 16px 0 0;cursor:pointer;text-align:center;transition:background .15s}
#ota.cp3.c4 .c4-pod button:hover{background:rgba(255,255,255,.05)}
#ota.cp3.c4 .c4-pod button:focus-visible{outline:2px solid var(--pc);outline-offset:-2px}
#ota.cp3.c4 .c4-pod .ota-av{width:56px;height:56px;flex:none;box-shadow:0 0 0 3px var(--k-ink),0 0 0 5px var(--pc)}
#ota.cp3.c4 .c4-pod li.p1 .ota-av{width:72px;height:72px}
#ota.cp3.c4 .c4-pod .nm{max-width:100%;margin-top:6px;overflow:hidden;color:#fff;font-size:15px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
#ota.cp3.c4 .c4-pod .g{color:var(--k-up);font:800 22px/1.1 Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
#ota.cp3.c4 .c4-pod .g.dn{color:var(--k-dn)}
#ota.cp3.c4 .c4-pod li.p1 .g{font-size:28px}
#ota.cp3.c4 .c4-pod .pf{color:var(--k-mt);font:500 12.5px/1.3 Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums}
#ota.cp3.c4 .c4-pod .st{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding-top:12px;border-radius:12px 12px 0 0;background:linear-gradient(180deg,color-mix(in srgb,var(--pc) 34%,transparent),color-mix(in srgb,var(--pc) 8%,transparent));border-top:3px solid var(--pc)}
#ota.cp3.c4 .c4-pod li.p1 .st{height:106px}
#ota.cp3.c4 .c4-pod li.p2 .st{height:82px}
#ota.cp3.c4 .c4-pod li.p3 .st{height:64px}
#ota.cp3.c4 .c4-pod .st b{color:var(--pc);font:800 26px/1 Inter,sans-serif}
#ota.cp3.c4 .c4-pod li.p1 .st b{font-size:34px}
#ota.cp3.c4 .c4-pod .st em{color:#fff;font:600 13px/1.2 Inter,Anuphan,sans-serif;font-style:normal;opacity:.85}
#ota.cp3.c4 .c3-nav{margin-top:0;background:rgba(255,255,255,.94);border-bottom:1px solid #eceef2}
#ota.cp3.c4 .c3-nav a.on{background:var(--k-ink)}
#ota.cp3.c4 .c3-body{margin-top:28px}
#ota.cp3.c4 .c3-ls .ota-r.t1 .rk i,#ota.cp3.c4 .c3-pz li.t1 i{background:var(--k-gold);color:#3b2a00}
#ota.cp3.c4 .c3-ls .ota-r.t2 .rk i,#ota.cp3.c4 .c3-pz li.t2 i{background:var(--k-silver);color:#20262f}
#ota.cp3.c4 .c3-ls .ota-r.t3 .rk i,#ota.cp3.c4 .c3-pz li.t3 i{background:var(--k-bronze);color:#3a1d07}
#ota.cp3.c4 .c3-box h3 span{color:var(--k-red2)}
@media (max-width:1024px){
#ota.cp3.c4 .c3-hero{grid-template-columns:minmax(0,1fr) 320px;gap:28px}
}
@media (max-width:820px){
#ota.cp3.c4 .c3-hero{grid-template-columns:1fr;gap:24px}
#ota.cp3.c4 .c4-podw{margin-top:32px}
}
@media (max-width:560px){
#ota.cp3.c4 .c4-band{padding-top:12px}
#ota.cp3.c4 .c3-hero h1{font-size:30px}
#ota.cp3.c4 .c3-lead{font-size:15px}
#ota.cp3.c4 .c3-card{padding:18px}
#ota.cp3.c4 .c3-pool b{font-size:44px}
#ota.cp3.c4 .c3-cd b{font-size:26px}
#ota.cp3.c4 .c4-pod{gap:6px}
#ota.cp3.c4 .c4-pod button{padding:12px 4px 10px;gap:4px}
#ota.cp3.c4 .c4-pod .ota-av{width:44px;height:44px}
#ota.cp3.c4 .c4-pod li.p1 .ota-av{width:54px;height:54px}
#ota.cp3.c4 .c4-pod .nm{font-size:13px}
#ota.cp3.c4 .c4-pod .g{font-size:16px}
#ota.cp3.c4 .c4-pod li.p1 .g{font-size:19px}
#ota.cp3.c4 .c4-pod .pf{display:none}
#ota.cp3.c4 .c4-pod li.p1 .st{height:86px}
#ota.cp3.c4 .c4-pod li.p2 .st{height:66px}
#ota.cp3.c4 .c4-pod li.p3 .st{height:54px}
#ota.cp3.c4 .c4-pod .st b{font-size:20px}
#ota.cp3.c4 .c4-pod li.p1 .st b{font-size:26px}
#ota.cp3.c4 .c4-pod .st em{font-size:12px}
}
@media (prefers-reduced-motion:reduce){#ota.cp3.c4 .c3-st .dot{animation:none!important}}

/* ===== รอบ 2 (21 ต.ค. 69 02:50) ===== */
/* ช่องค้นหา/เรียงตาม: ตัวอักษร 16px กัน iPhone ซูมหน้าเมื่อแตะ (หน้าล้นจอ) */
#ota.cp3 .c3-q input,#ota.cp3 .c3-so select{font-size:16px!important}
#ota.cp3 .c3-tools,#ota.cp3 .c3-q,#ota.cp3 .c3-so{min-width:0}
#ota.cp3 .c3-board,#ota.cp3 .c3-tb{max-width:100%}
/* ประวัติเทรด: 1 ออเดอร์ = 1 แถว · ตัวบาง สีดำ */
#ota-sheet .sh-bd ol,#ota-sheet .sh-bd ul{padding:0}
#ota-sheet .hi.r1{display:grid!important;grid-template-columns:40px minmax(0,1fr) 90px 136px 98px;align-items:center;gap:8px;padding:11px 16px!important;min-height:0!important;border-bottom:1px solid #ebebeb;color:#111;font-weight:400;font-size:14.5px;line-height:1.35}
#ota-sheet .hi.r1>*{min-width:0;margin:0}
#ota-sheet .hi.r1 .sd{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 6px;border-radius:5px;font-size:12px;font-weight:500;line-height:1}
#ota-sheet .hi.r1 .sd.c{background:#eef0f3;color:#333}
#ota-sheet .hi.r1 .sy{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#111;font-weight:400}
#ota-sheet .hi.r1 .sy em{margin-left:4px;color:#111;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums}
#ota-sheet .hi.r1 .sy em::after{content:" lot";color:#555}
#ota-sheet .hi.r1 .tm{color:#111;font-weight:400;font-size:13.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
#ota-sheet .hi.r1 .px{color:#333;font-weight:400;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
#ota-sheet .hi.r1 .v{min-width:84px;text-align:right;color:#111;font:400 15px/1.3 Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
#ota-sheet .hi.r1 .v.up{color:#0b7a4b}
#ota-sheet .hi.r1 .v.dn{color:#c4212c}
@media (max-width:640px){
#ota-sheet .hi.r1{grid-template-columns:32px minmax(0,1fr) 76px 86px;gap:5px;padding:10px 10px!important;font-size:14px}
#ota-sheet .hi.r1 .px{display:none}
#ota-sheet .hi.r1 .tm{font-size:12px}
#ota-sheet .hi.r1 .v{font-size:13.5px!important}
#ota-sheet .hi.r1 .sy em{margin-left:3px}
#ota-sheet .hi.r1 .sy em::after{font-size:12px}
#ota-sheet .hi.r1 .sd{padding:0 3px;font-size:11px}
#ota-sheet .hi.r1 .sy{font-size:13.5px;text-overflow:clip}
#ota-sheet .hi.r1 .v{min-width:0;font-size:14px}
}

/* ===== รอบ 3 (21 ต.ค. 69 03:05): ขอบ hero บนมือถือให้ตรงกับโลโก้ · จุดสถานะไม่ล้นขอบ ===== */
#ota.cp3.c4 .c3-st .dot{margin-left:4px;flex:none}
#ota.cp3.c4 .c3-hero h1,#ota.cp3.c4 .c3-lead{overflow-wrap:anywhere}
#ota.cp3.c4 .c3-facts li{white-space:nowrap}
@media (max-width:560px){
#ota.cp3.c4 .c4-band>.c3-wrap{padding-left:18px;padding-right:18px}
#ota.cp3.c4 .c3-facts{gap:6px}
#ota.cp3.c4 .c3-facts li{padding:5px 11px;font-size:12.5px}
}

/* ===== รอบ 4 (21 ต.ค. 69 03:10): จอคอม/โน้ตบุ๊กเล็ก (561–1240px) ขอบซ้ายขวากว้างขึ้นทั้งหน้า ไม่ให้ชิดขอบจอ ===== */
@media (min-width:561px) and (max-width:1240px){
#ota.cp3.c4 .c3-wrap{padding-left:32px;padding-right:32px}
}
@media (min-width:821px) and (max-width:1100px){
#ota.cp3.c4 .c3-hero{grid-template-columns:minmax(0,1fr) 316px;gap:28px}
#ota.cp3.c4 .c3-cta .c3-btn{padding:0 10px;font-size:14px}
#ota.cp3.c4 .c3-pool b{font-size:44px}
#ota.cp3.c4 .c3-cd b{font-size:26px}
}
#ota.cp3.c4 .c3-cta .c3-btn{white-space:nowrap}

/* ===== รอบ 5 (21 ต.ค. 69 03:30): ส่วนล่างของหน้าให้เข้าชุดกับแถบเข้มด้านบน ===== */
#ota.cp3.c4 .c3-sec{margin-top:56px}
#ota.cp3.c4 .c3-sh h2{font-size:24px;letter-spacing:-.01em}
#ota.cp3.c4 .c3-steps{gap:0;border:1px solid #e7e9ee;border-radius:18px;background:#fff;overflow:hidden}
#ota.cp3.c4 .c3-steps li{position:relative;padding:22px 22px 20px;border:0;border-radius:0;background:none}
#ota.cp3.c4 .c3-steps li+li{border-left:1px solid #eef0f3}
#ota.cp3.c4 .c3-steps i{width:30px;height:30px;margin-bottom:10px;border-radius:50%;background:var(--k-ink);color:#fff}
#ota.cp3.c4 .c3-steps li:last-child i{background:var(--k-red)}
#ota.cp3.c4 .c3-steps li::after{content:"";position:absolute;top:36px;left:60px;right:0;height:1px;background:#e3e6ec}
#ota.cp3.c4 .c3-steps li:last-child::after{display:none}
#ota.cp3.c4 .c3-steps b{font-size:16px}
#ota.cp3.c4 .c3-steps a{color:var(--k-red2)}
#ota.cp3.c4 .c3-rules{border-radius:18px;border-color:#e7e9ee}
#ota.cp3.c4 .c3-gd details,#ota.cp3.c4 .c3-faq details{border-color:#e7e9ee}
#ota.cp3.c4 .c3-gd details[open],#ota.cp3.c4 .c3-faq details[open]{border-color:#d5d9e1}
#ota.cp3.c4 .c3-faq summary:hover,#ota.cp3.c4 .c3-gd summary:hover{color:var(--k-red2)}
#ota.cp3.c4 .c3-line{position:relative;overflow:hidden;padding:28px 32px;border:0;border-radius:20px;background:var(--k-ink);isolation:isolate}
#ota.cp3.c4 .c3-line::before{content:"";position:absolute;z-index:-1;right:-120px;top:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(closest-side,rgba(6,199,85,.22),rgba(6,199,85,0))}
#ota.cp3.c4 .c3-line b{color:#fff;font-size:20px}
#ota.cp3.c4 .c3-line p{color:var(--k-mt);font-size:14.5px}
#ota.cp3.c4 .c3-line .c3-btn.line{min-height:48px;border-radius:12px}
@media (max-width:1024px){
#ota.cp3.c4 .c3-steps li:nth-child(odd){border-left:0}
#ota.cp3.c4 .c3-steps li:nth-child(n+3){border-top:1px solid #eef0f3}
#ota.cp3.c4 .c3-steps li:nth-child(2)::after{display:none}
}
@media (max-width:560px){
#ota.cp3.c4 .c3-sec{margin-top:44px}
#ota.cp3.c4 .c3-sh h2{font-size:21px}
#ota.cp3.c4 .c3-steps li{padding:18px 18px 16px 62px;border-left:0!important}
#ota.cp3.c4 .c3-steps li+li{border-top:1px solid #eef0f3}
#ota.cp3.c4 .c3-steps i{position:absolute;left:18px;top:18px;margin:0}
#ota.cp3.c4 .c3-steps li::after{top:52px;bottom:-18px;left:32px;right:auto;width:1px;height:auto;display:block}
#ota.cp3.c4 .c3-steps li:last-child::after{display:none}
#ota.cp3.c4 .c3-line{padding:22px 20px}
#ota.cp3.c4 .c3-line .c3-btn.line{width:100%}
}

/* ===== รอบ 6: กติกาบนมือถือไม่เยื้องลึก · "กิจกรรมอื่น" ตรงแนวเดียวกับส่วนอื่น ===== */
@media (min-width:561px) and (max-width:1240px){
#ota.cp3.c4 .ota-more.ota-wrap{padding-left:32px;padding-right:32px}
}
@media (max-width:560px){
#ota.cp3.c4 .c3-rules{padding:16px 18px}
#ota.cp3.c4 .c3-rules .ota-tx ul,#ota.cp3.c4 .c3-rules .ota-tx ol{padding-left:0}
#ota.cp3.c4 .ota-more.ota-wrap{padding-left:18px;padding-right:18px}
#ota.cp3.c4 .c3-wrap{padding-left:18px;padding-right:18px}
}

/* ===== รอบ 9 (21 ต.ค. 69 03:50): ส่วนบนเป็นดำถ่านนุ่ม สบายตา (ไม่ดำสนิท) · เปลี่ยนสีทั้งชุดได้ที่ตัวแปร --k-* บรรทัดนี้ ===== */
#ota.cp3.c4{--k-ink:#1d1e22;--k-ink2:#26282d;--k-line:rgba(255,255,255,.1);--k-tx:#f1efea;--k-mt:rgba(236,233,226,.66)}
#ota.cp3.c4 .c4-band::before{background:radial-gradient(closest-side,rgba(229,49,61,.12),rgba(229,49,61,0))}
#ota.cp3.c4 .c4-band::after{content:"";position:absolute;z-index:-1;left:-12%;bottom:-55%;width:620px;height:620px;border-radius:50%;background:radial-gradient(closest-side,rgba(241,196,91,.07),rgba(241,196,91,0));pointer-events:none}
#ota.cp3.c4 .c3-hero h1,#ota.cp3.c4 .c3-st b,#ota.cp3.c4 .c3-facts b,#ota.cp3.c4 .c3-ph .on b,#ota.cp3.c4 .c3-cd b,#ota.cp3.c4 .c4-podh h2,#ota.cp3.c4 .c4-pod .nm{color:var(--k-tx)}
#ota.cp3.c4 .c3-card{box-shadow:0 18px 40px -26px rgba(0,0,0,.55)}
#ota.cp3.c4 .c3-ph small{color:rgba(236,233,226,.5)}

/* ===== v2 (21 ต.ค. 69): ระหว่างแข่งไม่ผูกเงินรางวัลกับชื่อ · บอกให้ชัดว่ากดดูประวัติเทรดได้ · เส้นรับรางวัลในตาราง ===== */
#ota .ota-r .who small.hx{display:block;margin-top:1px;font-size:11.5px;font-weight:500;line-height:1.3;color:#8a8f9a}
#ota .ota-rb:hover .who small.hx,#ota .ota-rb:focus-visible .who small.hx{color:#e0262f}
#ota .c4-pod .hx{display:block;margin-top:4px;font-size:12px;font-weight:600;color:#ff9aa0}
#ota .ota-r.cut{position:relative;margin-bottom:30px}
#ota .ota-r.cut::after{content:"เส้นรับรางวัล · ต้องอยู่ในอันดับ " attr(data-rank) " เมื่อจบการแข่งขัน";position:absolute;left:0;right:0;bottom:-24px;padding-top:6px;text-align:center;font-size:12px;font-weight:600;color:#9a6a00;background:linear-gradient(90deg,#f1c45b 50%,transparent 0) top left/10px 1.5px repeat-x;pointer-events:none}
#ota [data-ota-board]:has(select[data-sort] option[value="rank"]:not(:checked)) .ota-r.cut,#ota [data-ota-board]:has(input[data-q]:not(:placeholder-shown)) .ota-r.cut{margin-bottom:0}
#ota [data-ota-board]:has(select[data-sort] option[value="rank"]:not(:checked)) .ota-r.cut::after,#ota [data-ota-board]:has(input[data-q]:not(:placeholder-shown)) .ota-r.cut::after{display:none}
#ota .c4-pzg{list-style:none;margin:10px 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#ota .c4-pzg li{display:flex;flex-direction:column;align-items:center;gap:1px;padding:9px 4px;border-radius:10px;background:#f4f4f6}
#ota .c4-pzg li.t1,#ota .c4-pzg li.t2,#ota .c4-pzg li.t3{background:#fdf5df}
#ota .c4-pzg small{font-size:12px;color:#8a8f9a}
#ota .c4-pzg b{font-family:Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums;font-size:16px;font-weight:700;color:#9a6a00}

/* ระดับสมาชิกใต้ชื่อ + เลขบัญชี/Server ในหน้าประวัติ (21 ต.ค. 69) */
#ota .tier{--tc:#6b7280;display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:99px;font-size:11px;font-weight:700;line-height:1;letter-spacing:.01em;white-space:nowrap;color:var(--tc);background:color-mix(in srgb,var(--tc) 13%,transparent)}
#ota .tier.ti1{--tc:#a8622f}#ota .tier.ti2{--tc:#64748b}#ota .tier.ti3{--tc:#a16207}#ota .tier.ti4{--tc:#4f46e5}#ota .tier.ti5{--tc:#1d4ed8}
#ota .tier.ti6{--tc:#be123c}#ota .tier.ti7{--tc:#047857}#ota .tier.ti8{--tc:#0e7490}#ota .tier.ti9{--tc:#18181b}
#ota .ota-r .who .sub{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;margin-top:2px}
#ota .ota-r .who .sub small.hx{display:inline;margin:0}
#ota .c4-pod .tier{color:#fff;background:var(--tc);margin-top:2px}
#ota .sh-who .sh-acc{display:block;margin-top:6px;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.6)}
#ota .sh-who .sh-acc b{display:inline;font-size:13px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums;user-select:all}

/* 21 ต.ค. 69 (2): ปุ่มลอยหลบตารางอันดับ · ช่วงกิจกรรมเรียงแถวเดียวบนมือถือ */
.fb-wrap{transition:opacity .2s,transform .2s}
html.ota-fb-off .fb-wrap{opacity:0 !important;transform:translateY(16px) !important;pointer-events:none !important}
@media (max-width:640px){
  #ota .c3-ph{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:6px !important}
  #ota .c3-ph li{min-width:0}
  #ota .c3-ph li b{font-size:13px !important;line-height:1.3 !important;margin-top:8px}
  #ota .c3-ph li small{display:block;font-size:10.5px !important;line-height:1.35 !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important}
  #ota .c3-ph li:not(.on):not(.done) b{opacity:.6}
}

/* hero v5 (21 ต.ค. 69) */
#ota .c5-hero{gap:18px !important}
#ota .c5-hero .c3-lead{max-width:46ch}
#ota .c5-card{display:flex !important;flex-direction:column;gap:0}
#ota .c5-pool{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;color:inherit;text-decoration:none}
#ota .c5-pool small{display:block;font-size:13px;color:rgba(255,255,255,.6)}
#ota .c5-pool b{display:block;font:800 40px/1.05 Inter,Anuphan,sans-serif;color:#f1c45b;letter-spacing:-.02em;margin-top:2px}
#ota .c5-pool em{font-style:normal;font-size:13px;color:rgba(255,255,255,.7);text-align:right;padding-bottom:4px}
#ota .c5-pool:hover em{color:#fff}
#ota .c5-prog{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}
#ota .c5-pt{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
#ota .c5-pt small{font-size:13px;color:rgba(255,255,255,.6)}
#ota .c5-cd{font:700 22px/1 Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums;color:#fff;white-space:nowrap}
#ota .c5-cd i{font-style:normal;font-weight:500;font-size:13px;color:rgba(255,255,255,.55);margin:0 6px 0 3px}
#ota .c5-cd i:nth-of-type(n+2){margin:0 1px;font-size:20px;color:rgba(255,255,255,.35)}
#ota .c5-prog .bar{display:block;height:6px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}
#ota .c5-prog .bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e5313d,#ff6b5e)}
#ota .c5-pd{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:rgba(255,255,255,.5)}
#ota .c5-card .c3-cta{margin-top:16px !important}
#ota .c5-card .c3-cdx{margin-top:14px}
#ota .c3-btn.c5-line{background:#06c755 !important;border-color:#06c755 !important;color:#fff !important}
#ota .c3-btn.c5-line:hover{background:#05b34c !important}
@media (max-width:640px){
  #ota .c5-hero h1{font-size:30px !important;line-height:1.2 !important}
  #ota .c5-hero .c3-lead{font-size:15px !important;line-height:1.55 !important;margin-top:8px !important}
  #ota .c5-hero .c3-facts{margin-top:12px !important}
  #ota .c5-card{padding:16px !important}
  #ota .c5-pool b{font-size:36px}
  #ota .c5-card .c3-cta{grid-template-columns:1fr 1fr !important}
}
#ota .c5-card .c3-cta{grid-template-columns:1fr 1fr !important}
#ota .c5-card .c3-cta .c3-btn{grid-column:auto !important;padding-left:8px !important;padding-right:8px !important}
#ota .c5-card .c3-cta .c3-btn:only-child{grid-column:1 / -1 !important}

/* hero v5: สถิติย่อ เติมพื้นที่ฝั่งซ้ายบนจอใหญ่ */
#ota .c5-kpi{display:none}
@media (min-width:900px){
  #ota .c5-kpi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px;max-width:640px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.03);color:inherit;text-decoration:none;overflow:hidden;transition:border-color .2s}
  #ota .c5-kpi:hover{border-color:rgba(255,255,255,.22)}
  #ota .c5-kpi > span{display:flex;flex-direction:column;gap:2px;padding:14px 18px;min-width:0}
  #ota .c5-kpi > span + span{border-left:1px solid rgba(255,255,255,.08)}
  #ota .c5-kpi small{font-size:12.5px;color:rgba(255,255,255,.55)}
  #ota .c5-kpi b{font:700 24px/1.2 Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums;color:#fff}
  #ota .c5-kpi b.up{color:#4cc38a}
  #ota .c5-kpi b.dn{color:#ff6b6b}
  #ota .c5-kpi em{font-style:normal;font-size:12px;color:rgba(255,255,255,.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #ota .c5-kpi > span:last-child em{color:rgba(255,255,255,.7)}
}

/* ===== หน้าลุ้น Forex v5 (21 ต.ค. 69) · #ota.f5 ===== */
#ota.f5{--gold:#f1c45b;--green:#4cc38a;--bd:rgba(255,255,255,.1);--mu:rgba(255,255,255,.6);--ink:#111a2e;--rule:#e3e7ee;--tx2:#5b6375;--bg5:#f3f4f7}
#ota.f5 .num{font-family:Inter,Anuphan,sans-serif;font-variant-numeric:tabular-nums}
#ota.f5 .f5-hero{align-items:stretch}
#ota.f5 .f5-hero > .c3-htx{display:flex;flex-direction:column}
#ota.f5 .c5-card{display:flex;flex-direction:column}
#ota.f5 .c5-card .c3-cta{margin-top:auto !important;padding-top:14px}
#ota.f5 .c5-card .mini{margin:12px 0 0;font-size:12.5px;color:var(--mu);text-align:center}
#ota.f5 .sp{display:inline-flex;align-items:center;gap:7px}
#ota.f5 .blg{width:20px;height:20px;border-radius:6px;display:block}
/* ธง */
#ota.f5 .fp{display:inline-flex;align-items:center;flex:0 0 auto}
#ota.f5 .fp svg,#ota.f5 .fp i{width:18px;height:18px;border-radius:50%;box-shadow:0 0 0 1.5px rgba(255,255,255,.9),0 1px 3px rgba(0,0,0,.35)}
#ota.f5 .fp i{display:grid;place-items:center;background:#3b4256;color:#fff;font:700 9px Inter,sans-serif;font-style:normal}
#ota.f5 .fp > *+*{margin-left:-6px}
#ota.f5 .fp.lg svg,#ota.f5 .fp.lg i{width:34px;height:34px;box-shadow:0 0 0 2px #26282d,0 2px 6px rgba(0,0,0,.4)}
#ota.f5 .fp.lg > *+*{margin-left:-10px}
#ota.f5 .fp.sm svg,#ota.f5 .fp.sm i{width:16px;height:16px;box-shadow:0 0 0 1.5px #2f3137}
#ota.f5 .fp.sm > *+*{margin-left:-5px}
/* กล่องราคา */
#ota.f5 .quote{margin-top:18px;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--bd);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));padding:16px 18px;color:#fff}
#ota.f5 .qh{display:flex;align-items:center;gap:12px}
#ota.f5 .qh b{display:block;font:700 17px/1.2 Inter,sans-serif;color:#fff}
#ota.f5 .qh small{font-size:12.5px;color:var(--mu)}
#ota.f5 .px{display:flex;align-items:baseline;gap:1px;margin-top:10px;font:800 46px/1 Inter,sans-serif;letter-spacing:-.02em;color:#fff;min-height:1.1em}
#ota.f5 .px .dim{color:rgba(255,255,255,.35)}
#ota.f5 .px .slot,#ota.f5 .px .pend,#ota.f5 .px .hit{display:inline-grid;place-items:center;width:.72em;height:1.08em;margin-left:3px;border-radius:10px;font-size:.9em}
#ota.f5 .px .slot{background:rgba(241,196,91,.14);border:1.5px dashed rgba(241,196,91,.6);color:var(--gold)}
#ota.f5 .px .pend{border:1.5px dashed rgba(241,196,91,.7);color:var(--gold);opacity:.85}
#ota.f5 .px .hit{background:var(--gold);color:#17181c}
#ota.f5 .live{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:10px;font-size:14px;color:rgba(255,255,255,.75)}
#ota.f5 .live[hidden]{display:none}
#ota.f5 .live b{color:#fff;font-size:16px}
#ota.f5 .lt{padding:3px 10px;border-radius:99px;background:rgba(241,196,91,.12);color:var(--gold)}
#ota.f5 .lt b{color:var(--gold)}
#ota.f5 .lt.ok{background:rgba(76,195,138,.15);color:var(--green)}
#ota.f5 .lch{font-size:13px;color:var(--green)}
#ota.f5 .lch.dn{color:#ff6b6b}
#ota.f5 .ldot{width:8px;height:8px;border-radius:50%;background:var(--green);animation:f5pl 1.8s infinite}
#ota.f5 .ldot.off{background:var(--gold);animation:none}
#ota.f5 .ldot.cl{background:rgba(255,255,255,.4);animation:none}
@keyframes f5pl{0%{box-shadow:0 0 0 0 rgba(76,195,138,.55)}70%{box-shadow:0 0 0 8px rgba(76,195,138,0)}100%{box-shadow:0 0 0 0 rgba(76,195,138,0)}}
#ota.f5 .flash{animation:f5fl .6s}
@keyframes f5fl{0%{color:var(--gold)}100%{color:#fff}}
#ota.f5 .qmap{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;font-size:13.5px;color:rgba(255,255,255,.75)}
#ota.f5 .qmap b{color:#fff}
#ota.f5 .qmap svg{flex:0 0 auto;color:var(--gold)}
#ota.f5 .acc{font:600 15px Inter,sans-serif;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid var(--bd);white-space:nowrap;color:#fff}
#ota.f5 .acc em{font-style:normal;color:var(--gold)}
#ota.f5 .shb{margin-left:auto;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:99px;border:1px solid var(--bd);background:rgba(255,255,255,.06);color:#fff;font:600 13px Anuphan,sans-serif;cursor:pointer;white-space:nowrap}
#ota.f5 .shb:hover{background:rgba(255,255,255,.12)}
#ota.f5 .mine{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--bd);font-size:14px;color:rgba(255,255,255,.75)}
#ota.f5 .mine b{color:#fff}
#ota.f5 .mine .tg{margin-left:auto;padding:4px 12px;border-radius:99px;background:rgba(241,196,91,.14);color:var(--gold);font-weight:600;font-size:13px}
#ota.f5 .mine .tg.win4{background:var(--gold);color:#17181c}
/* การ์ดขวา */
#ota.f5 .hst{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 0}
#ota.f5 .hst div{background:rgba(255,255,255,.05);border:1px solid var(--bd);border-radius:12px;padding:10px 12px;min-width:0}
#ota.f5 .hst dt{font-size:12px;color:var(--mu)}
#ota.f5 .hst dd{margin:2px 0 0;font:700 18px/1.2 Inter,Anuphan,sans-serif;color:#fff;white-space:nowrap}
#ota.f5 .hst dd small{font-size:12px;color:var(--mu);font-weight:500}
#ota.f5 .hst dd.ddf{display:flex;align-items:center;gap:7px;font-size:15px}
#ota.f5 .wbox{margin-top:16px;padding:14px;border-radius:14px;background:rgba(241,196,91,.08);border:1px solid rgba(241,196,91,.25)}
#ota.f5 .wbox b{color:var(--gold);font-size:15px}
#ota.f5 .wbox p{margin:4px 0 12px;font-size:13.5px;color:rgba(255,255,255,.75)}
#ota.f5 .wst{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13.5px}
#ota.f5 .wst li{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.5)}
#ota.f5 .wst li::before{content:"";width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.25);flex:0 0 auto;box-sizing:border-box}
#ota.f5 .wst li.ok{color:#fff}
#ota.f5 .wst li.ok::before{background:var(--green);border-color:var(--green)}
#ota.f5 .wst li.on{color:#fff;font-weight:600}
#ota.f5 .wst li.on::before{border-color:var(--gold);border-top-color:transparent;animation:f5sp 1s linear infinite}
@keyframes f5sp{to{transform:rotate(360deg)}}
#ota.f5 .win{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--bd);display:grid;gap:8px}
#ota.f5 .win li{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);color:#fff}
#ota.f5 .win li.t1{background:rgba(241,196,91,.12)}
#ota.f5 .win i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font:700 13px Inter,sans-serif;font-style:normal;background:rgba(255,255,255,.1)}
#ota.f5 .win li.t1 i{background:var(--gold);color:#17181c}
#ota.f5 .win b{display:block;font-size:14.5px}
#ota.f5 .win small{font-size:12px;color:var(--mu)}
#ota.f5 .win em{font:800 17px Inter,sans-serif;font-style:normal;color:var(--gold)}
#ota.f5 .c3-btn.ghost{background:#fff !important;color:#111a2e !important;border:1px solid var(--rule) !important}
#ota.f5 .c3-btn.fb{background:#1877f2 !important;color:#fff !important;border-color:#1877f2 !important}
#ota.f5 .c3-btn.full{width:100%}
/* แถบหัวข้อ + เนื้อหา */
#ota.f5 .f5-nav{position:sticky;top:var(--ota-top,0px);z-index:5;background:#fff;border-bottom:1px solid var(--rule)}
#ota.f5 .f5-nav .c3-wrap{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-top:10px;padding-bottom:10px}
#ota.f5 .f5-nav .c3-wrap::-webkit-scrollbar{display:none}
#ota.f5 .f5-nav a{flex:0 0 auto;padding:8px 14px;border-radius:99px;font-size:14px;font-weight:600;text-decoration:none;color:var(--tx2)}
#ota.f5 .f5-nav a:hover{background:var(--bg5);color:var(--ink)}
#ota.f5 .f5-main{background:var(--bg5);color:var(--ink)}
#ota.f5 .f5-main .c3-wrap{display:grid;gap:14px;padding-top:16px;padding-bottom:40px}
#ota.f5 .box{background:#fff;border:1px solid var(--rule);border-radius:18px;padding:18px;scroll-margin-top:calc(var(--ota-top,0px) + 70px)}
#ota.f5 .box h2{font-size:20px;line-height:1.3;margin:0 0 4px;color:var(--ink)}
#ota.f5 .box .sub{margin:0 0 14px;color:var(--tx2);font-size:14px}
#ota.f5 .split{display:grid;gap:22px}
#ota.f5 .col{display:flex;flex-direction:column}
#ota.f5 .legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--tx2);margin-bottom:10px}
#ota.f5 .legend span{display:inline-flex;align-items:center;gap:6px}
#ota.f5 .legend i{width:12px;height:12px;border-radius:4px;display:inline-block}
#ota.f5 .legend .l0{border:1px solid var(--rule)}#ota.f5 .legend .l1{background:#eef1f7}#ota.f5 .legend .l2{background:#dde3ef}#ota.f5 .legend .l3{background:var(--ink)}
#ota.f5 .board{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}
#ota.f5 .board button{appearance:none;border:1px solid var(--rule);background:#fff;border-radius:8px;aspect-ratio:1;font:600 13px Inter,sans-serif;color:var(--tx2);cursor:pointer;padding:0;position:relative;min-width:0}
#ota.f5 .board button.t1{background:#eef1f7;color:var(--ink)}
#ota.f5 .board button.t2{background:#dde3ef;color:var(--ink)}
#ota.f5 .board button.t3{background:var(--ink);color:#fff;border-color:var(--ink)}
#ota.f5 .board button.near{box-shadow:inset 0 0 0 2px var(--gold)}
#ota.f5 .board button.won{background:var(--gold) !important;color:#17181c !important;border-color:var(--gold) !important;font-weight:800}
#ota.f5 .board button:focus-visible{outline:2px solid #2b6fd6;outline-offset:1px}
#ota.f5 .pick{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--bg5);font-size:14px;color:var(--tx2)}
#ota.f5 .pick b{color:var(--ink)}
#ota.f5 .sim{display:grid;gap:12px}
#ota.f5 .sim label{display:grid;gap:6px;font-size:13.5px;font-weight:600;color:var(--ink)}
#ota.f5 .sim input,#ota.f5 .shin input{height:48px;border-radius:12px;border:1px solid var(--rule);padding:0 14px;font:700 20px Inter,sans-serif;width:100%;background:#fff;color:var(--ink);box-sizing:border-box}
#ota.f5 .simrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#ota.f5 .res{border-radius:14px;background:var(--ink);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
#ota.f5 .res small{display:block;color:rgba(255,255,255,.6);font-size:12.5px}
#ota.f5 .res b{font:800 28px/1.1 Inter,sans-serif;color:#fff}
#ota.f5 .res .tag{font-size:13px;padding:6px 10px;border-radius:99px;background:rgba(255,255,255,.1);white-space:nowrap}
#ota.f5 .ex{font-size:13.5px;color:var(--tx2);margin:0}
#ota.f5 .bst{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 0}
#ota.f5 .bst div{border:1px solid var(--rule);border-radius:12px;padding:10px 12px;min-width:0}
#ota.f5 .bst dt{font-size:12px;color:var(--tx2)}
#ota.f5 .bst dd{margin:2px 0 0;font:800 20px/1.2 Inter,Anuphan,sans-serif;white-space:nowrap;color:var(--ink)}
#ota.f5 .bst small{display:block;font-size:12px;color:var(--tx2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ota.f5 .hist{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;align-items:end;height:170px;padding-top:22px}
#ota.f5 .hist div{position:relative;border-radius:8px 8px 3px 3px;background:#dde3ef;min-height:6px}
#ota.f5 .hist div.mx{background:var(--ink)}
#ota.f5 .hist div span{position:absolute;left:0;right:0;top:-20px;text-align:center;font:600 12px Inter,sans-serif;color:var(--tx2)}
#ota.f5 .hx{display:flex;justify-content:space-between;margin-top:6px;font:600 12px Inter,sans-serif;color:var(--tx2)}
#ota.f5 .l10{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#ota.f5 .l10 span{display:grid;place-items:center;height:46px;border-radius:12px;background:var(--bg5);font:800 18px Inter,sans-serif;color:var(--ink)}
#ota.f5 .l10 span:first-child{background:var(--ink);color:#fff}
#ota.f5 .s3{margin-top:auto;padding-top:14px}
#ota.f5 .prz{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#ota.f5 .prz li{border:1px solid var(--rule);border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;min-height:64px}
#ota.f5 .prz li small{color:var(--tx2);font-size:13px}
#ota.f5 .prz li b{font:800 22px Inter,sans-serif;color:var(--ink)}
#ota.f5 .prz li.t1{background:#fff8e6;border-color:#f3dfa6}
#ota.f5 .prz li.t1 b{color:#a8780a}
#ota.f5 .tl{list-style:none;margin:0;padding:0}
#ota.f5 .tl li{display:grid;grid-template-columns:16px 1fr;gap:12px;padding-bottom:14px;position:relative}
#ota.f5 .tl li::before{content:"";width:12px;height:12px;border-radius:50%;background:#c9d0dc;margin-top:6px}
#ota.f5 .tl li.past::before{background:var(--green)}
#ota.f5 .tl li:not(:last-child)::after{content:"";position:absolute;left:5px;top:20px;bottom:0;width:2px;background:var(--rule)}
#ota.f5 .tl small{display:block;color:var(--tx2);font-size:13px}
#ota.f5 .tl b{font-size:15px;color:var(--ink)}
#ota.f5 .steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:s}
#ota.f5 .steps li{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start}
#ota.f5 .steps li::before{counter-increment:s;content:counter(s);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font:700 15px Inter,sans-serif}
#ota.f5 .steps b{display:block;color:var(--ink)}
#ota.f5 .steps p{margin:2px 0 0;font-size:14px;color:var(--tx2)}
#ota.f5 .joinfoot{display:grid;gap:12px;margin-top:14px}
#ota.f5 .elig{display:grid;gap:6px;padding:12px 14px;border-radius:12px;background:#eef8f2;color:#0f5c33;font-size:14px}
#ota.f5 .elig div{display:flex;gap:8px}
#ota.f5 .elig div::before{content:"✓";font-weight:700}
#ota.f5 .jc{margin-top:0 !important;display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ota.f5 .f5-rules{margin-top:14px;padding-top:14px;border-top:1px solid var(--rule);font-size:14px;color:var(--tx2)}
#ota.f5 details{border-top:1px solid var(--rule)}
#ota.f5 .faqg > div > details:last-child{border-bottom:1px solid var(--rule)}
#ota.f5 summary{list-style:none;cursor:pointer;padding:14px 0;font-weight:600;display:flex;justify-content:space-between;gap:12px;color:var(--ink)}
#ota.f5 summary::-webkit-details-marker{display:none}
#ota.f5 summary::after{content:"+";font:600 20px Inter,sans-serif;color:var(--tx2)}
#ota.f5 details[open] summary::after{content:"–"}
#ota.f5 details p{margin:0 0 14px;color:var(--tx2);font-size:14.5px}
/* แชร์ */
#ota.f5 .sheet{position:fixed;inset:0;z-index:100000;display:grid;place-items:end center}
#ota.f5 .sheet[hidden]{display:none}
#ota.f5 .sbg{position:absolute;inset:0;background:rgba(10,12,18,.6)}
#ota.f5 .sbox{position:relative;width:min(440px,100%);background:#fff;color:var(--ink);border-radius:20px 20px 0 0;padding:16px 16px calc(18px + env(safe-area-inset-bottom,0px));display:grid;gap:12px;max-height:92vh;overflow:auto;box-sizing:border-box}
#ota.f5 .shh{display:flex;justify-content:space-between;align-items:center}
#ota.f5 .shh b{font-size:17px}
#ota.f5 .x{appearance:none;border:0;background:var(--bg5);width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:14px;color:var(--ink)}
#ota.f5 .shin{display:grid;gap:6px;font-size:13.5px;font-weight:600}
#ota.f5 .scard{border-radius:18px;padding:18px;color:#fff;background:radial-gradient(80% 100% at 100% 0%,rgba(229,49,61,.35),transparent 70%),#17181c;display:grid;gap:4px}
#ota.f5 .sc-top{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14.5px;margin-bottom:8px}
#ota.f5 .sc-top .fp.lg svg{width:28px;height:28px;box-shadow:0 0 0 2px #17181c}
#ota.f5 .scard small{color:rgba(255,255,255,.6);font-size:13px}
#ota.f5 .sc-n{font:800 84px/1 Inter,sans-serif;color:var(--gold);letter-spacing:-.03em}
#ota.f5 .scard p{margin:6px 0 0;font-size:14px;color:rgba(255,255,255,.8)}
#ota.f5 .scard p span{color:var(--gold);font-weight:700}
#ota.f5 .sc-ft{display:flex;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:12.5px;color:rgba(255,255,255,.6)}
#ota.f5 .sc-ft span:first-child{font-weight:800;color:#fff;letter-spacing:.04em}
#ota.f5 .sbox .c3-cta{margin-top:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ota.f5 .sm{margin:0;font-size:12.5px;color:var(--tx2);text-align:center}
@media (min-width:900px){
  #ota.f5 .split{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0}
  #ota.f5 .split > :first-child{padding-right:24px;display:flex;flex-direction:column}
  #ota.f5 .split > .col{padding-left:24px;border-left:1px solid var(--rule)}
  #ota.f5 .split.even{grid-template-columns:1fr 1fr}
  #ota.f5 .split.even > :first-child .prz{flex:1 1 auto;grid-auto-rows:1fr}
  #ota.f5 .board button{aspect-ratio:auto;height:42px;font-size:14px}
  #ota.f5 .board{gap:5px}
  #ota.f5 .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  #ota.f5 .joinfoot{grid-template-columns:1fr auto;align-items:stretch}
  #ota.f5 .elig{align-content:center}
  #ota.f5 .jc{grid-template-columns:auto auto;align-content:center}
  #ota.f5 .jc .c3-btn{padding:0 22px}
  #ota.f5 .faqg{display:grid;grid-template-columns:1fr 1fr;gap:0 32px}
  #ota.f5 .px{font-size:60px}
  #ota.f5 .sheet{place-items:center}
  #ota.f5 .sbox{border-radius:20px}
}
@media (max-width:640px){
  #ota.f5 .px{font-size:42px}
  #ota.f5 .hst dd{font-size:16px}
}
@media (prefers-reduced-motion:reduce){#ota.f5 *{animation:none !important}}

/* Forex v5.1 (21 ต.ค. 69): ราคาสดเต็มตัว · รายชื่อผู้ร่วม · ระยะขอบล่าง hero */
#ota.cp3.c4.f5 .c4-band{padding-bottom:28px}
#ota.f5 .px .hot{display:inline-grid;place-items:center;width:.72em;height:1.08em;margin-left:3px;border-radius:10px;font-size:.9em;background:var(--gold);color:#17181c}
#ota.f5 .px.flash .hot{animation:f5hot .5s}
@keyframes f5hot{0%{transform:scale(1.1)}100%{transform:none}}
#ota.f5 .srv{color:rgba(255,255,255,.55)}
#ota.f5 .phd{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#ota.f5 .pnow{flex:0 0 auto;text-align:center;padding:8px 14px;border-radius:12px;background:var(--ink);color:#fff}
#ota.f5 .pnow small{display:block;font-size:11.5px;color:rgba(255,255,255,.65);white-space:nowrap}
#ota.f5 .pnow b{font:800 26px/1.1 Inter,sans-serif;color:var(--gold)}
#ota.f5 .ptw{overflow-x:auto;-webkit-overflow-scrolling:touch}
#ota.f5 .ptb{width:100%;border-collapse:collapse;font-size:14px;min-width:440px}
#ota.f5 .ptb th{font-size:12.5px;font-weight:600;color:var(--tx2);text-align:left;padding:8px 10px;border-bottom:1px solid var(--rule);white-space:nowrap;background:none}
#ota.f5 .ptb td{padding:9px 10px;border-bottom:1px solid var(--rule);color:var(--ink);white-space:nowrap;background:none}
#ota.f5 .ptb th:nth-child(n+4),#ota.f5 .ptb td:nth-child(n+4){text-align:center}
#ota.f5 .ptb td:first-child{color:var(--tx2);font-weight:600}
#ota.f5 .ptb td em{font-style:normal;font-weight:800;color:#a8780a}
#ota.f5 .ptb td b{font-size:16px}
#ota.f5 .ptb tr.pz td{background:#fff8e6}
#ota.f5 .ptb tr.pz td:first-child{color:#a8780a;font-weight:800}
#ota.f5 .pu{display:inline-flex;align-items:center;gap:8px;font-weight:600}
#ota.f5 .pu img,#ota.f5 .pu i{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 auto}
#ota.f5 .pu i{display:grid;place-items:center;background:var(--bg5);font-style:normal;font-size:13px;color:var(--tx2)}
#ota.f5 .ptb td.pe{text-align:center;color:var(--tx2);padding:22px 10px}
@media (min-width:900px){#ota.cp3.c4.f5 .c4-band{padding-bottom:44px}}
#ota.f5 .lup{font-size:12.5px;color:rgba(255,255,255,.55)}
#ota.f5 .fqn{margin:8px 0 0;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.55)}
/* กันตารางรายชื่อดันหน้าเว็บล้นจอบนมือถือ (grid item ต้อง min-width:0) */
#ota.f5 .f5-main .c3-wrap>.box{min-width:0;max-width:100%}
#ota.f5 .ptw{max-width:100%}
/* รายชื่อผู้ร่วมแบบการ์ด (แทนตาราง · ไม่ต้องเลื่อนซ้ายขวาบนมือถือ) */
#ota.f5 .phd{margin-bottom:12px}
#ota.f5 .phd .sub{margin:0}
#ota.f5 .plist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#ota.f5 .plist li{display:grid;grid-template-columns:24px 36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 14px 10px 10px;border:1px solid var(--rule);border-radius:14px;background:#fff}
#ota.f5 .plist li.pz{background:#fff8e6;border-color:#f3dfa6}
#ota.f5 .plist .pr{font:800 15px Inter,sans-serif;color:var(--tx2);text-align:center}
#ota.f5 .plist li.pz .pr{color:#a8780a}
#ota.f5 .plist .pav img,#ota.f5 .plist .pav i{width:36px;height:36px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--bg5);font-style:normal;font-weight:700;color:var(--tx2)}
#ota.f5 .plist .pnm{min-width:0}
#ota.f5 .plist .pnm b{display:block;font-size:15px;line-height:1.3;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ota.f5 .plist .pnm small{font-size:12.5px;color:var(--tx2);letter-spacing:.02em}
#ota.f5 .plist .pnm em{font-style:normal;font-weight:800;color:#a8780a}
#ota.f5 .plist .pg{text-align:right}
#ota.f5 .plist .pg b{display:block;font:800 22px/1.1 Inter,sans-serif;color:var(--ink)}
#ota.f5 .plist .pg small{font-size:12px;color:var(--tx2);white-space:nowrap}
#ota.f5 .plist .pg i{font-style:normal;font-weight:800;color:var(--ink)}
#ota.f5 .plist li.pe{display:block;text-align:center;color:var(--tx2);padding:22px}
@media (min-width:900px){#ota.f5 .plist{grid-template-columns:1fr 1fr}}
@media (max-width:560px){#ota.f5 .phd{flex-direction:column;align-items:stretch;gap:10px}#ota.f5 .pnow{display:flex;justify-content:space-between;align-items:center;padding:8px 14px}#ota.f5 .pnow small{font-size:13px}#ota.f5 .pnow b{font-size:22px}}
/* Forex v6 (21 ต.ค. 69): จัดหน้าใหม่ · กระดานเลขคู่รายชื่อผู้ร่วม · ตัดส่วนซ้ำ */
#ota.f5 .hst{grid-template-columns:repeat(2,minmax(0,1fr))}
#ota.f5 .fqn{margin:10px 0 0}
#ota.f5 .shl{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;height:40px;border-radius:12px;border:1px solid var(--bd);background:rgba(255,255,255,.05);color:#fff;font:600 14px Anuphan,sans-serif;cursor:pointer}
#ota.f5 .shl:hover{background:rgba(255,255,255,.1)}
#ota.f5 .how{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--bg5);font-size:14px;line-height:1.6;color:var(--tx2)}
#ota.f5 .how b{color:var(--ink)}
#ota.f5 .pcol .plist{grid-template-columns:1fr !important;max-height:520px;overflow:auto;overscroll-behavior:contain}
#ota.f5 .pcol .phd .sub{font-size:13.5px}
@media (max-width:899px){#ota.f5 .pcol{padding-top:18px;border-top:1px solid var(--rule)}}
#ota.f5 .pjoin{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:14px;background:var(--ink);color:#fff;text-decoration:none;font-size:14px}
#ota.f5 .plist+.pjoin{margin-top:12px}
#ota.f5 .pcol .plist{margin-bottom:12px}
#ota.f5 .pjoin b{color:var(--gold)}
#ota.f5 .pjoin em{font-style:normal;font-weight:700;color:var(--gold);white-space:nowrap}
#ota.f5 .pjoin:hover{background:#1c2742}
#ota.f5 #time .how{margin-top:auto}
@media (min-width:900px){#ota.f5 .pcol .pjoin{margin-top:auto}#ota.f5 .f5-hero .px{font-size:76px}#ota.f5 .quote{padding:20px 22px}}
/* เงินรางวัล v2: อันดับ 1 เด่น + อันดับถัดไปเป็นแถวพร้อมแถบสัดส่วน */
#ota.f5 .pz1{position:relative;overflow:hidden;border-radius:16px;padding:16px 18px;background:linear-gradient(135deg,#1d2640,#111a2e);color:#fff}
#ota.f5 .pz1::after{content:"";position:absolute;right:-40px;top:-50px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,rgba(241,196,91,.32),transparent 70%);pointer-events:none}
#ota.f5 .pzt{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--gold)}
#ota.f5 .pz1 b{display:block;margin-top:6px;font:800 46px/1 Inter,sans-serif;color:var(--gold);letter-spacing:-.02em}
#ota.f5 .pz1 small{display:block;margin-top:6px;font-size:12.5px;color:rgba(255,255,255,.6)}
#ota.f5 .pzl{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
#ota.f5 .pzl li{display:grid;grid-template-columns:28px auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px 10px 10px;border:1px solid var(--rule);border-radius:12px;background:#fff}
#ota.f5 .pzl i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--bg5);font:700 13px Inter,sans-serif;font-style:normal;color:var(--ink)}
#ota.f5 .pzl span{font-size:14px;color:var(--tx2);white-space:nowrap}
#ota.f5 .pzl .pzb{height:6px;border-radius:99px;background:var(--bg5);overflow:hidden}
#ota.f5 .pzl .pzb em{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f1c45b,#e0a92c)}
#ota.f5 .pzl b{font:800 18px Inter,sans-serif;color:var(--ink);min-width:48px;text-align:right}
/* กระดานเลข: เลขที่ตรงกับ 2 ตัวท้ายราคาล่าสุด (สีแดงเด่น + วงกระพริบ) */
#ota.f5 .board button.now{background:#e5313d !important;color:#fff !important;border-color:#e5313d !important;font-weight:800;z-index:1;box-shadow:0 4px 14px rgba(229,49,61,.45);animation:f5now 1.6s ease-out infinite}
@keyframes f5now{0%{box-shadow:0 0 0 0 rgba(229,49,61,.55),0 4px 14px rgba(229,49,61,.45)}70%{box-shadow:0 0 0 9px rgba(229,49,61,0),0 4px 14px rgba(229,49,61,.45)}100%{box-shadow:0 0 0 0 rgba(229,49,61,0),0 4px 14px rgba(229,49,61,.45)}}
#ota.f5 .legend .l4{background:#e5313d}
#ota.f5 .legend .lnow{color:#c4202c;font-weight:700}
