
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap');
#otp{--brand:#e11d2e;--ink:#0b1220;--txt:#334155;--mut:#64748b;--line:#e8ecf2;--bg:#f6f8fb;--ff:"IBM Plex Sans Thai",system-ui,-apple-system,sans-serif;width:100%;max-width:820px;margin:0 auto;color:var(--txt);font-family:var(--ff);font-size:17px;line-height:1.85;-webkit-font-smoothing:antialiased}
#otp *{box-sizing:border-box}
#otp h1,#otp h2,#otp h3{font-family:var(--ff);color:var(--ink);letter-spacing:-.01em;text-transform:none;margin:0}
#otp h2:before,#otp h2:after,#otp h3:before,#otp h3:after{display:none}
#otp .p-hero{border-radius:22px;padding:28px 26px;margin:0 0 26px;color:#cbd5e1;background:radial-gradient(90% 120% at 100% 0%,rgba(255,90,54,.28),transparent 55%),#0b1220}
#otp .p-hero small{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.04em;color:#fda4af}
#otp .p-hero h1{color:#fff;font-size:30px;line-height:1.3;margin:6px 0 8px}
#otp .p-hero p{margin:0;font-size:15.5px;line-height:1.75}
#otp .p-upd{font-size:13px;color:#94a3b8;margin-top:12px!important}
#otp section{margin:0 0 28px;scroll-margin-top:90px}
#otp section h2{font-size:22px;line-height:1.4;margin:0 0 10px;padding-left:12px;border-left:4px solid var(--brand)}
#otp p{margin:0 0 12px}
#otp ul{margin:0 0 12px;padding:0}#otp li{list-style:none;position:relative;padding-left:20px;margin:0 0 6px}
#otp li:before{content:"";position:absolute;left:4px;top:.75em;width:6px;height:6px;border-radius:50%;background:var(--brand)}
#otp a{color:var(--brand)}
#otp .p-foot{font-size:13.5px;color:var(--mut);border-top:1px solid var(--line);padding-top:14px}
#otp .t-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:16px;margin:0 0 12px;background:#fff}
#otp table.t{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.5;margin:0;border:0;min-width:560px}
#otp table.t th{background:var(--bg);color:var(--ink);font-weight:700;text-align:left;padding:10px 12px;border:0;border-bottom:1px solid var(--line);white-space:nowrap;font-size:13.5px}
#otp table.t td{padding:10px 12px;border:0;border-bottom:1px solid var(--line);vertical-align:top;background:none}
#otp table.t tr:last-child td{border-bottom:0}
#otp table.t td b{color:var(--ink);white-space:nowrap}
#otp table.t td small{display:block;color:var(--mut);font-size:12.5px;font-family:var(--ff);font-weight:400}
#otp .num{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;color:var(--ink);white-space:nowrap}
#otp .sess{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 14px}
#otp .ss{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}
#otp .ss b{display:block;color:var(--ink);font-size:16px}
#otp .ss .num{display:block;font-size:15px}
#otp .ss .st{display:inline-block;margin-top:6px;font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;background:#f1f5f9;color:#475569}
#otp .ss.on{border-color:#6ee7b7;background:linear-gradient(180deg,#ecfdf5,#fff)}
#otp .ss.on .st{background:#059669;color:#fff}
#otp .now{font-size:14px;color:var(--mut);margin:0 0 10px}
#otp ul>br,#otp .t-wrap>br,#otp .sess>br,#otp .ss>br{display:none}
@media(max-width:700px){#otp .sess{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#otp{font-size:16px}#otp .p-hero{padding:22px 18px}#otp .p-hero h1{font-size:24px}#otp section h2{font-size:19px}}


/* layout + hero + bands */
html body #otp{max-width:1110px!important;margin-left:auto!important;margin-right:auto!important}
@media (max-width:1141px){html body #otp{width:auto!important;margin-left:16px!important;margin-right:16px!important}}
html body #otp .ss.on .st{background:#15803d!important;color:#fff!important}
html body #otp #tips a{color:#9f1239}
html body #otp #analysis .rd-tl span{color:#5f5f68!important}
@media (max-width:767px){html body #otp .fm-axr>span:first-child{display:none}}
html body #otp .p-hero{width:auto!important;max-width:none!important;margin:0!important;padding:64px 0!important;background:#0a0a0a!important;box-shadow:0 0 0 100vmax #0a0a0a!important;clip-path:inset(0 -100vmax)!important}
html body #otp .p-hero>small{letter-spacing:.08em}
html body #otp .p-hero h1{margin:12px 0 14px!important;font-size:44px!important;line-height:1.25!important;color:#fff!important}
html body #otp .p-hero>p:not(.p-upd){max-width:680px;font-size:17px!important;line-height:1.75!important;color:#d4d4d8!important}
html body #otp .p-hero .p-upd{margin-top:20px!important;color:#a1a1aa!important}
html body #otp .cb-fl{display:inline-block;width:22px;height:16px;margin:0 8px 0 0;border-radius:3px;object-fit:cover;vertical-align:-2px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
html body #otp #live,html body #otp #table,html body #otp #fm-faq{margin:0!important;padding:48px 0!important}
html body #otp #fm-tl,html body #otp #tips,html body #otp #analysis{margin:0!important;padding:48px 0!important;background:#f6f6f8!important;box-shadow:0 0 0 100vmax #f6f6f8!important;clip-path:inset(0 -100vmax)!important}
html body #otp #live h2,html body #otp #fm-tl h2,html body #otp #table h2,html body #otp #tips h2,html body #otp #fm-faq h2,html body #otp #analysis h2{display:flex!important;align-items:center;gap:10px;margin:0 0 16px!important;padding:0!important;border:0!important;font-size:24px!important;line-height:1.35!important;font-weight:700!important;color:#0a0a0a!important}
html body #otp #live h2::before,html body #otp #fm-tl h2::before,html body #otp #table h2::before,html body #otp #tips h2::before{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 8px;border-radius:10px;background:#b3141f;color:#fff;font-size:14px;font-weight:700}
html body #otp #live h2::before{content:"01"}
html body #otp #fm-tl h2::before{content:"02"}
html body #otp #table h2::before{content:"03"}
html body #otp #tips h2::before{content:"04"}
html body #otp .ss.on{background:#f0fdf4!important;border-color:#86efac!important}
html body #otp .ss .num,html body #otp table.t td.num{font-family:inherit!important;font-variant-numeric:tabular-nums;font-weight:600!important}
html body #otp .ss .num{font-size:17px!important}
html body #otp .p-foot{padding-top:20px;border-top:1px solid #e4e4e7}
/* ไทม์ไลน์ 24 ชม. */
html body #otp #fm-tl .fm-sub{margin:0 0 16px;font-size:15px;line-height:1.7;color:#52525b}
html body #otp #fm-tl .fm-sub b{color:#b3141f}
html body #otp .fm-g{padding:12px 22px 18px;background:#fff;border:1px solid #dcdce1;border-radius:18px}
html body #otp .fm-r{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:18px;padding:12px 0;border-top:1px solid #f0f0f3}
html body #otp .fm-r.fm-axr{padding:4px 0 2px;border-top:0}
html body #otp .fm-n{display:flex;flex-direction:column;margin:0;font-size:15.5px;line-height:1.35;font-weight:600;color:#0a0a0a}
html body #otp .fm-t{margin-top:2px;font-size:13.5px;font-weight:500;color:#52525b;font-variant-numeric:tabular-nums}
html body #otp .fm-k{position:relative;height:30px;background:#f4f4f6;border-radius:8px;overflow:hidden}
html body #otp .fm-b{position:absolute;top:5px;bottom:5px;border-radius:6px;background:#cbd5e1}
html body #otp .fm-r.on .fm-b{background:#16a34a}
html body #otp .fm-b.hot{background:#b3141f}
html body #otp .fm-nl{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#0a0a0a;z-index:2}
html body #otp .fm-ax{position:relative;height:18px}
html body #otp .fm-ax span{position:absolute;top:0;transform:translateX(-50%);font-size:12px;line-height:18px;font-weight:500;color:#71717a;font-variant-numeric:tabular-nums}
html body #otp .fm-ax span:first-child{transform:none}
html body #otp .fm-ax span:last-child{transform:translateX(-100%)}
html body #otp .fm-lg{display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;font-size:13.5px;color:#52525b}
html body #otp .fm-lg i{display:inline-block;width:14px;height:10px;margin-right:6px;border-radius:3px;vertical-align:0}
@media (max-width:1099px){html body #otp .p-hero h1{font-size:38px!important}}
@media (max-width:767px){
html body #otp .p-hero{padding:40px 0 44px!important}
html body #otp .p-hero h1{font-size:30px!important;line-height:1.3!important}
html body #otp .p-hero>p:not(.p-upd){font-size:16px!important}
html body #otp #live,html body #otp #table,html body #otp #fm-faq,html body #otp #fm-tl,html body #otp #tips,html body #otp #analysis{padding:36px 0!important}
html body #otp #live h2,html body #otp #fm-tl h2,html body #otp #table h2,html body #otp #tips h2,html body #otp #fm-faq h2,html body #otp #analysis h2{font-size:21px!important}
html body #otp .fm-g{padding:8px 14px 14px}
html body #otp .fm-r{grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 0}
html body #otp .fm-n{flex-direction:row;align-items:baseline;justify-content:space-between;gap:8px;font-size:15px}
html body #otp .fm-k{height:26px}
html body #otp .fm-ax span{font-size:11px}
html body #otp #fm-faq summary{padding:14px 44px 14px 16px;font-size:15px}
html body #otp #fm-faq summary::after{right:16px;top:12px}
html body #otp #fm-faq details p{padding:0 16px 16px;font-size:14.5px}
html body #otp #analysis .ec-rdg{grid-template-columns:minmax(0,1fr)}
}
@media (min-width:768px) and (max-width:1099px){html body #otp #analysis .ec-rdg{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* FAQ + อ่านต่อ (แบบเดียวกับหน้าดอกเบี้ย) */
html body #otp #fm-faq{margin:0;padding:48px 0}
html body #otp #fm-faq h2,html body #otp #analysis h2{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:24px;line-height:1.35;font-weight:700;color:#0a0a0a}
html body #otp #fm-faq .cb-no{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 8px;border-radius:10px;background:#b3141f;color:#fff;font-size:14px;font-weight:700}
html body #otp #fm-faq details{margin:0 0 10px;background:#fff;border:1px solid #dcdce1;border-radius:16px}
html body #otp #fm-faq summary{position:relative;display:block;padding:16px 52px 16px 20px;font-size:16px;line-height:1.55;font-weight:600;color:#0a0a0a;cursor:pointer;list-style:none}
html body #otp #fm-faq summary::-webkit-details-marker{display:none}
html body #otp #fm-faq summary::after{content:"+";position:absolute;right:20px;top:14px;font-size:20px;font-weight:600;color:#71717a}
html body #otp #fm-faq details[open] summary::after{content:"−"}
html body #otp #fm-faq details p{margin:0;padding:0 20px 18px;font-size:15px;line-height:1.8;color:#2f2f35}
html body #otp #analysis{margin:0;padding:48px 0 40px}
html body #otp #analysis .ec-sh{margin:0 0 16px}
html body #otp #analysis .ec-k{display:none}
html body #otp #analysis h2::before{content:"06";display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 8px;border-radius:10px;background:#b3141f;color:#fff;font-size:14px;font-weight:700}
html body #otp #analysis .ec-sh p{margin:0;font-size:15px;line-height:1.7;color:#52525b}
html body #otp #analysis .ec-sh a{color:#b3141f}
html body #otp #analysis .ec-rdg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body #otp #analysis a.rd{display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:#fff;border:1px solid #dcdce1;border-radius:16px;color:#0a0a0a;text-decoration:none;transition:border-color .15s}
html body #otp #analysis a.rd:hover,html body #otp #analysis a.rd:focus-visible{border-color:#a1a1aa}
html body #otp #analysis .rd-k{font-size:12.5px;line-height:1.4;font-weight:600;color:#71717a}
html body #otp #analysis a.rd b{font-size:15.5px;line-height:1.55;font-weight:600;color:#0a0a0a}
html body #otp #analysis .rd-tl{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 0}
html body #otp #analysis .rd-tl span{margin-right:4px;font-size:13px;color:#71717a}
html body #otp #analysis .rd-tl a{padding:7px 13px;background:#fff;border:1px solid #dcdce1;border-radius:999px;font-size:13.5px;line-height:1.4;color:#0a0a0a;text-decoration:none}
html body #otp #analysis .rd-tl a:hover{border-color:#a1a1aa}
/* rebate v2 2026-10-07: ตารางเทียบ 3 โบรก แบบเดียวกับหน้าดอกเบี้ย · มือถือเป็นการ์ด */
html body #otp #fm-rb{display:block;margin:0!important;padding:0 0 48px}
html body #otp #fm-rb br{display:none}
html body #otp #fm-rb .rb-hd{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;margin:0 0 14px}
html body #otp #fm-rb .rb-hd small{display:block;margin:0 0 4px;font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#b3141f}
html body #otp #fm-rb .rb-hd b{display:block;font-size:22px;line-height:1.35;font-weight:700;color:#0a0a0a}
html body #otp #fm-rb .rb-hd a{font-size:15px;font-weight:600;color:#b3141f;text-decoration:none;white-space:nowrap}
html body #otp #fm-rb .rb-hd a:hover{text-decoration:underline}
html body #otp #fm-rb .rb-w{background:#fff;border:1px solid #dcdce1;border-radius:18px;overflow:hidden}
html body #otp #fm-rb table{width:100%;margin:0;border:0;border-collapse:collapse;table-layout:auto}
html body #otp #fm-rb th{padding:12px 16px;background:#f6f6f8;border:0;font-size:13px;line-height:1.4;font-weight:700;text-align:left;color:#5f5f68}
html body #otp #fm-rb td{padding:16px;border:0;border-top:1px solid #ececf0;background:#fff;font-size:15px;line-height:1.5;color:#2f2f35;vertical-align:middle}
html body #otp #fm-rb th:last-child,html body #otp #fm-rb td:last-child{text-align:right}
html body #otp #fm-rb .rb-b{display:flex;align-items:center;gap:12px}
html body #otp #fm-rb .rb-b img{flex:0 0 40px;width:40px;height:40px;max-width:none;margin:0;border-radius:10px;object-fit:cover}
html body #otp #fm-rb .rb-b b{display:block;font-size:16.5px;line-height:1.3;font-weight:700;color:#0a0a0a}
html body #otp #fm-rb .rb-b a{font-size:13px;font-weight:500;color:#52525b;text-decoration:none}
html body #otp #fm-rb .rb-b a:hover{color:#b3141f;text-decoration:underline}
html body #otp #fm-rb td em{display:inline-block;padding:3px 10px;border-radius:999px;background:#fff1f2;color:#b3141f;font-size:13.5px;line-height:1.5;font-weight:600;font-style:normal}
html body #otp #fm-rb td.g b{font-size:20px;font-weight:600;color:#0a0a0a}
html body #otp #fm-rb td.g small{margin-left:2px;font-size:13px;color:#71717a}
html body #otp #fm-rb a.rb-o{display:inline-flex;align-items:center;gap:5px;padding:10px 16px;border-radius:12px;background:#0a0a0a;color:#fff;font-size:14.5px;font-weight:600;line-height:1.3;text-decoration:none;white-space:nowrap;transition:background .15s}
html body #otp #fm-rb a.rb-o::after{content:"→"}
html body #otp #fm-rb a.rb-o:hover,html body #otp #fm-rb a.rb-o:focus-visible{background:#b3141f;color:#fff}
html body #otp #fm-rb .rb-ft{margin:12px 0 0;font-size:13px;line-height:1.7;color:#71717a}
@media (max-width:767px){
html body #otp #fm-rb{padding:0 0 36px}
html body #otp #fm-rb .rb-hd b{font-size:19px}
html body #otp #fm-rb thead{display:none}
html body #otp #fm-rb table,html body #otp #fm-rb tbody{display:block}
html body #otp #fm-rb tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;padding:14px;border-top:1px solid #ececf0}
html body #otp #fm-rb tr:first-child{border-top:0}
html body #otp #fm-rb td{display:block;padding:0;border:0;font-size:14px}
html body #otp #fm-rb td.b{grid-column:1/3;grid-row:1}
html body #otp #fm-rb td.o{grid-column:3;grid-row:1;align-self:center}
html body #otp #fm-rb td[data-l]::before{content:attr(data-l);display:block;margin:0 0 3px;font-size:12px;line-height:1.3;font-weight:600;color:#5f5f68}
html body #otp #fm-rb td.g b{font-size:18px}
html body #otp #fm-rb td em{font-size:13px;padding:2px 9px}
html body #otp #fm-rb a.rb-o{padding:9px 12px;font-size:13.5px}
html body #otp #fm-rb .rb-ft{font-size:12.5px}
}


/* Hero 2 คอลัมน์ + การ์ดนาฬิกา */
html body #otp .p-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:1fr auto auto auto auto 1fr;column-gap:56px;align-items:start}
html body #otp .p-hero>*{grid-column:1}
html body #otp .p-hero>small{grid-row:2}
html body #otp .p-hero>h1{grid-row:3}
html body #otp .p-hero>p:not(.p-upd){grid-row:4}
html body #otp .p-hero>.p-upd{grid-row:5}
html body #otp .p-hero>.fx-hc{grid-column:2;grid-row:1/7;align-self:center}
html body #otp .p-hero h1{font-size:42px!important}
@media (max-width:1199px){html body #otp .p-hero h1{font-size:36px!important}}
html body #otp .fx-cities li::before,html body #otp .fx-nc li::before{content:none!important;display:none!important}
html body #otp .fx-hc{margin:0;padding:20px 22px;background:#161618;border:1px solid #2a2a2e;border-radius:20px;color:#e4e4e7}
html body #otp .fx-k{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:600;letter-spacing:.04em;color:#a1a1aa}
html body #otp .fx-clock{margin:6px 0 0;font-size:46px;line-height:1.1;font-weight:600;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
html body #otp .fx-clock small{margin-left:2px;font-size:22px;font-weight:500;color:#a1a1aa}
html body #otp .fx-day{margin:4px 0 14px;font-size:14px;color:#a1a1aa}
html body #otp .fx-cities{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;list-style:none}
html body #otp .fx-cities li{display:flex;flex-direction:column;gap:2px;margin:0;padding:10px 12px;background:#1f1f23;border:1px solid #2a2a2e;border-radius:12px;font-size:13.5px;color:#d4d4d8;transition:border-color .3s,background .3s}
html body #otp .fx-cities li .cb-fl{width:20px;height:14px;margin-right:6px}
html body #otp .fx-cities li b{font-size:19px;line-height:1.3;font-weight:600;color:#fff;font-variant-numeric:tabular-nums}
html body #otp .fx-cities li .fx-s{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#a1a1aa}
html body #otp .fx-cities li.on{background:#0f2a1a;border-color:#166534}
html body #otp .fx-cities li.on .fx-s{color:#86efac}
html body #otp .fx-next{min-height:44px;margin:14px 0 0;font-size:14px;line-height:1.6;color:#d4d4d8}
html body #otp .fx-next b{color:#fff;font-weight:600}
html body #otp .fx-wk{margin:12px 0 0}
html body #otp .fx-wkb{height:8px;background:#2a2a2e;border-radius:99px;overflow:hidden}
html body #otp .fx-wkb i{display:block;height:100%;width:100%;background:#ef4444;border-radius:99px;transform-origin:left;transform:scaleX(0);transition:transform 1s ease-out}
html body #otp .fx-wk p{margin:6px 0 0;font-size:12.5px;color:#a1a1aa}
html body #otp .fx-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#71717a}
html body #otp .on .fx-dot,html body #otp .fx-k .fx-dot{background:#22c55e}
/* แถบเลื่อนดูเวลา */
html body #otp .fx-scrub{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 16px;margin:14px 0 0;padding:14px 18px;background:#fff;border:1px solid #dcdce1;border-radius:16px}
html body #otp .fx-scrub label{font-size:14px;font-weight:600;color:#0a0a0a}
html body #otp .fx-scrub input{width:100%;margin:0;accent-color:#b3141f;cursor:pointer}
html body #otp .fx-scrub output{grid-column:1/-1;display:block;min-height:24px;font-size:14.5px;line-height:1.6;color:#2f2f35}
html body #otp .fx-scrub output b{color:#b3141f;font-weight:600;font-variant-numeric:tabular-nums}
html body #otp .fx-probe{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#b3141f;opacity:0;z-index:3;transition:opacity .2s}
html body #otp .fm-g.probing .fx-probe{opacity:1}
html body #otp .fm-g.probing .fm-r[data-tz]:not(.pon) .fm-b{opacity:.35}
html body #otp .fm-g.probing .fm-r.pon .fm-n>span:first-child{color:#b3141f}
html body #otp .fm-k{cursor:crosshair;touch-action:pan-y}
html body #otp .fm-r.on .fm-n>span:first-child::after{content:"";display:inline-block;width:8px;height:8px;margin-left:8px;border-radius:50%;background:#22c55e;vertical-align:2px}
/* ข่าวสำคัญออกกี่โมง */
html body #otp #fx-news{margin:0!important;padding:48px 0!important}
html body #otp #fx-news h2{display:flex!important;align-items:center;gap:10px;margin:0 0 12px!important;padding:0!important;border:0!important;font-size:24px!important;line-height:1.35!important;font-weight:700!important;color:#0a0a0a!important}
html body #otp #fx-news h2::before{content:"05";display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 8px;border-radius:10px;background:#b3141f;color:#fff;font-size:14px;font-weight:700}
html body #otp .fx-sub{margin:0 0 18px;font-size:15px;line-height:1.7;color:#52525b}
html body #otp .fx-sub a{color:#9f1239}
html body #otp .fx-ng{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html body #otp .fx-nc{margin:0;padding:6px 0 4px;background:#fff;border:1px solid #dcdce1;border-radius:18px;overflow:hidden}
html body #otp .fx-nh{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0;padding:12px 18px 10px;border-bottom:1px solid #ececf0}
html body #otp .fx-nh b{font-size:17px;font-weight:700;color:#0a0a0a}
html body #otp .fx-nh span{font-size:13px;color:#5f5f68}
html body #otp .fx-nc ul{margin:0;padding:4px 0;list-style:none}
html body #otp .fx-nc li{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;margin:0;padding:9px 18px;font-size:14.5px;line-height:1.5;color:#2f2f35;transition:background .15s}
html body #otp .fx-nc li:hover{background:#f6f6f8}
html body #otp .fx-nc li time{display:inline-block;padding:3px 0;border-radius:8px;background:#f4f4f6;font-size:14.5px;font-weight:600;text-align:center;color:#0a0a0a;font-variant-numeric:tabular-nums}
html body #otp .fx-nc li.hi time{background:#fff1f2;color:#b3141f}
html body #otp .fx-nc li .cb-fl{width:18px;height:13px;margin-right:6px}
html body #otp .fx-nc li small{display:block;font-size:12.5px;color:#5f5f68}
html body #otp .fx-note{margin:14px 0 0;font-size:13.5px;line-height:1.7;color:#5f5f68}
/* แถบสีสลับใหม่หลังเพิ่มส่วนข่าว: FAQ เทา · อ่านต่อ ขาว · เลขหัวข้อเลื่อน */
html body #otp #fm-faq{background:#f6f6f8!important;box-shadow:0 0 0 100vmax #f6f6f8!important;clip-path:inset(0 -100vmax)!important}
html body #otp #analysis{background:transparent!important;box-shadow:none!important;clip-path:none!important}
html body #otp #fm-faq .cb-no{display:none!important}
html body #otp #fm-faq h2::before{content:"06";display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 8px;border-radius:10px;background:#b3141f;color:#fff;font-size:14px;font-weight:700}
html body #otp #analysis h2::before{content:"07"!important}
html body #otp #analysis .rd-tl span{color:#71717a!important}
/* เอฟเฟกต์ */
html body #otp .ss{transition:transform .2s,box-shadow .2s}
html body #otp .ss:hover{transform:translateY(-3px);box-shadow:0 10px 24px -16px rgba(10,10,10,.35)}
html body #otp .fm-nl{box-shadow:0 0 0 3px rgba(10,10,10,.08)}
@media (prefers-reduced-motion:no-preference){
html.fx-on body #otp .fx-rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
html.fx-on body #otp .fx-rv.in{opacity:1;transform:none}
html.fx-grow body #otp .fm-b{animation:fxg .9s cubic-bezier(.2,.7,.2,1) both;transform-origin:left center}
@keyframes fxg{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html body #otp .fx-k .fx-dot,html body #otp .fx-cities li.on .fx-dot,html body #otp .fm-r.on .fm-n>span:first-child::after{animation:fxp 1.8s ease-out infinite}
@keyframes fxp{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
html body #otp .fm-nl{animation:fxl 2.4s ease-in-out infinite}
@keyframes fxl{0%,100%{opacity:1}50%{opacity:.45}}
}
@media (max-width:1099px){
html body #otp .p-hero{grid-template-columns:minmax(0,1fr) 340px;column-gap:32px}
html body #otp .fx-ng{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html body #otp .fx-nc:last-child{grid-column:1/-1}
}
@media (max-width:767px){
html body #otp .p-hero{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
html body #otp .p-hero>*{grid-row:auto!important}
html body #otp .p-hero>.fx-hc{grid-column:1;margin-top:26px}
html body #otp .p-hero h1{font-size:30px!important}
html body #otp .fx-clock{font-size:40px}
html body #otp #fx-news{padding:36px 0!important}
html body #otp #fx-news h2{font-size:21px!important}
html body #otp .fx-ng{grid-template-columns:minmax(0,1fr)}
html body #otp .fx-nc:last-child{grid-column:auto}
html body #otp .fx-nc li{padding:9px 14px}
html body #otp .fx-scrub{grid-template-columns:minmax(0,1fr);padding:12px 14px}
}


/* ไทม์ไลน์แบบมือโปร: แผงสีเข้ม เส้นตารางรายชั่วโมง สีประจำตลาด ป้ายเวลาในแถบ ช่วงซ้อนทุกคู่ แถบความคึกคัก และเส้น "ตอนนี้" เส้นเดียวพาดทุกแถว */
html body #otp .fm-g{position:relative;padding:18px 24px 20px!important;background:#0b0b0d!important;border:1px solid #232327!important;border-radius:20px!important;color:#e4e4e7}
html body #otp .fm-r{grid-template-columns:210px minmax(0,1fr)!important;gap:20px!important;padding:9px 0!important;border-top:1px solid #1b1b1f!important}
html body #otp .fm-r.fm-axr{padding:0 0 6px!important;border-top:0!important}
html body #otp .fm-ax{height:26px!important;border-bottom:1px solid #26262b}
html body #otp .fm-ax span{top:2px!important;color:#8b8b94!important;font-size:12px!important;font-weight:500}
html body #otp .fm-ax::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:repeating-linear-gradient(to right,#3a3a40 0,#3a3a40 1px,transparent 1px,transparent calc(100% / 24))}
html body #otp .fm-n{color:#f4f4f5!important;font-size:15px!important}
html body #otp .fm-n>span:first-child{display:flex;align-items:center;gap:0}
html body #otp .fm-t{color:#9b9ba4!important;font-size:13px!important}
html body #otp .fm-r.on .fm-n>span:first-child::after{content:"เปิดอยู่"!important;display:inline-flex!important;align-items:center;width:auto!important;height:20px!important;margin-left:8px!important;padding:0 8px;border-radius:99px!important;background:#14532d!important;color:#bbf7d0;font-size:11.5px;font-weight:600;vertical-align:0!important}
html body #otp .fm-k{height:34px!important;border-radius:10px!important;background-color:#141417!important;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),#202025 calc(100% / 24 - 1px),#202025 calc(100% / 24))!important;overflow:hidden}
html body #otp .fm-b{top:4px!important;bottom:4px!important;display:flex;align-items:center;padding:0 10px;overflow:hidden;border-radius:7px!important;font-style:normal;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;color:#e4e4e7;font-variant-numeric:tabular-nums;transition:opacity .2s}
html body #otp .fm-r[data-k="syd"] .fm-b{background:#1e3a5f!important}
html body #otp .fm-r[data-k="tyo"] .fm-b{background:#5b2140!important}
html body #otp .fm-r[data-k="ldn"] .fm-b{background:#1d4d2f!important}
html body #otp .fm-r[data-k="ny"] .fm-b{background:#5c4210!important}
html body #otp .fm-r.on[data-k="syd"] .fm-b{background:#3b82f6!important;color:#0a0a0a}
html body #otp .fm-r.on[data-k="tyo"] .fm-b{background:#ec4899!important;color:#0a0a0a}
html body #otp .fm-r.on[data-k="ldn"] .fm-b{background:#22c55e!important;color:#0a0a0a}
html body #otp .fm-r.on[data-k="ny"] .fm-b{background:#f59e0b!important;color:#0a0a0a}
html body #otp .fm-r.on .fm-b{box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 18px -4px currentColor}
html body #otp .fm-ov .fm-b{background:#b91c1c!important;color:#fff!important}
html body #otp .fm-ov .fm-b.ov-a{background:#4f46e5!important}
html body #otp .fm-ov .fm-b.ov-b{background:#0f766e!important}
html body #otp .fm-ov .fm-t{display:none}
html body #otp .fm-nl{display:none!important}
html body #otp .fx-probe{background:#fafafa!important;width:1px!important}
html body #otp .fm-g.probing .fm-r.pon .fm-n>span:first-child{color:#fca5a5!important}
/* แถบความคึกคัก */
html body #otp .fm-r.fx-heat .fm-k{background:#141417!important;background-image:none!important;display:flex}
html body #otp .fx-heat .fm-k i{flex:1 1 0;height:100%;font-style:normal}
html body #otp .fx-heat .fm-n small{display:block;margin-top:2px;font-size:12px;font-weight:500;color:#9b9ba4}
/* เส้นตอนนี้ */
html body #otp .fx-now{position:absolute;z-index:5;width:2px;margin-left:-1px;background:#fafafa;pointer-events:none;box-shadow:0 0 0 3px rgba(250,250,250,.08)}
html body #otp .fx-now b{position:absolute;top:-2px;left:50%;transform:translateX(-50%);padding:3px 8px;border-radius:99px;background:#fafafa;color:#0a0a0a;font-size:11.5px;font-weight:700;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
/* คำอธิบายสี */
html body #otp .fm-lg{gap:8px 16px!important;margin:16px 0 0!important}
html body #otp .fm-lg span{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#3f3f46}
html body #otp .fm-lg i{width:12px!important;height:12px!important;margin:0!important;border-radius:4px!important}
@media (prefers-reduced-motion:no-preference){
html body #otp .fx-now{transition:left .6s ease}
}
@media (max-width:767px){
html body #otp .fm-g{padding:14px 14px 16px!important}
html body #otp .fm-r{grid-template-columns:minmax(0,1fr)!important;gap:6px!important;padding:8px 0!important}
html body #otp .fm-k{height:30px!important}
html body #otp .fm-b{padding:0!important;font-size:0!important}
html body #otp .fx-heat .fm-n{flex-direction:column!important;align-items:flex-start!important}
html body #otp .fx-now b{font-size:10.5px;padding:2px 6px}
}


/* Hero ใหม่: ซ้าย = หัวข้อ + ป้ายสรุปสด 3 ช่อง + แถบช่วงตลาดวันนี้ · ขวา = การ์ดนาฬิกาแบบกะทัดรัด */
html body #otp .p-hero{grid-template-rows:1fr auto auto auto auto auto auto 1fr!important;column-gap:56px!important;padding:56px 0!important}
html body #otp .p-hero>small{grid-row:2}
html body #otp .p-hero>h1{grid-row:3;margin:10px 0 12px!important}
html body #otp .p-hero>p:not(.p-upd){grid-row:4;margin:0!important}
html body #otp .p-hero>.p-upd{grid-row:5;display:inline-flex!important;align-items:center;gap:8px;justify-self:start;margin:16px 0 0!important;padding:5px 12px;background:#18181b;border:1px solid #27272a;border-radius:99px;font-size:13px!important;color:#a1a1aa!important}
html body #otp .p-hero>.p-upd::before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e}
html body #otp .p-hero>.fh-pills{grid-row:6}
html body #otp .p-hero>.fh-rib{grid-row:7}
html body #otp .p-hero>.fx-hc{grid-row:1/9!important}
html body #otp .fh-pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0 0}
html body #otp .fh-p{display:flex;flex-direction:column;gap:3px;min-width:0;margin:0;padding:12px 14px;background:#141416;border:1px solid #26262b;border-radius:14px}
html body #otp .fh-p small{font-size:12px;font-weight:600;letter-spacing:.02em;color:#9b9ba4}
html body #otp .fh-p b{overflow:hidden;font-size:16px;line-height:1.35;font-weight:600;color:#fafafa;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html body #otp .fh-p.live b{color:#86efac}
html body #otp .fh-rib{margin:14px 0 0;padding:12px 14px 10px;background:#141416;border:1px solid #26262b;border-radius:14px}
html body #otp .fh-rh{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 8px;font-size:12px;font-weight:600;color:#9b9ba4}
html body #otp .fh-rh span:last-child{color:#d4d4d8;font-variant-numeric:tabular-nums}
html body #otp .fh-lanes{position:relative;display:grid;gap:4px}
html body #otp .fh-ln{position:relative;height:7px;background:#1f1f23;border-radius:99px;overflow:hidden}
html body #otp .fh-ln i{position:absolute;top:0;bottom:0;border-radius:99px;opacity:.35;transition:opacity .3s}
html body #otp .fh-ln.on i{opacity:1}
html body #otp .fh-nw{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#fafafa;border-radius:2px;box-shadow:0 0 0 3px rgba(250,250,250,.1)}
html body #otp .fh-ax{display:flex;justify-content:space-between;margin:7px 0 0;font-size:11px;color:#8b8b94;font-variant-numeric:tabular-nums}
/* การ์ดนาฬิกาให้กะทัดรัดขึ้น */
html body #otp .fx-hc{padding:18px 20px!important}
html body #otp .fx-clock{font-size:42px!important}
html body #otp .fx-day{margin:2px 0 12px!important}
html body #otp .fx-cities li{padding:8px 11px!important}
html body #otp .fx-cities li b{font-size:17px!important}
html body #otp .fx-next{min-height:44px!important;margin:12px 0 0!important;font-size:13.5px!important;line-height:1.6!important}
html body #otp .fx-wk p{min-height:38px;line-height:1.5!important}
html body #otp .fx-day{min-height:21px}
html body #otp .fx-wk{margin:10px 0 0!important}
@media (max-width:1099px){
html body #otp .p-hero{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important}
html body #otp .p-hero>*{grid-row:auto!important;grid-column:1!important}
html body #otp .p-hero>.fx-hc{grid-row:auto!important;order:9;margin-top:22px}
}
@media (min-width:768px) and (max-width:1099px){
html body #otp .fx-cities{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:767px){
html body #otp .fh-rib{display:none}
html body #otp .fh-p:last-child{grid-column:1/-1}
}
@media (max-width:767px){
html body #otp .p-hero{padding:36px 0 40px!important}
html body #otp .fh-pills{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:18px}
html body #otp .fh-p{padding:10px 12px}
html body #otp .fh-p b{font-size:15px}
}


/* ===== ดีไซน์ v3 ทั้งหน้า (สว่าง เข้าชุดหน้าอื่น) · สีประจำตลาดใช้ทั้งหน้า: ซิดนีย์ #2563eb · โตเกียว #db2777 · ลอนดอน #16a34a · นิวยอร์ก #d97706 ===== */
html body #otp{--syd:#2563eb;--tyo:#db2777;--ldn:#16a34a;--ny:#d97706;--ink:#0a0a0a;--tx:#2f2f35;--mu:#52525b;--ln:#e4e4e7;--bd:#f6f6f8}
html body #otp #live,html body #otp #table,html body #otp #fx-news,html body #otp #fm-tl,html body #otp #tips,html body #otp #fm-faq,html body #otp #analysis{padding:56px 0!important}
html body #otp #fm-rb{padding:0 0 56px!important}
html body #otp .now{font-size:14px!important;color:var(--mu)!important}
/* 01 การ์ดตลาด */
html body #otp #otp-sess{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:14px 0 12px!important}
html body #otp #otp-sess .ss{position:relative;display:flex!important;flex-direction:column;gap:8px;min-height:0!important;margin:0!important;padding:18px 18px 22px!important;background:#fff!important;border:1px solid var(--ln)!important;border-top:4px solid var(--c)!important;border-radius:16px!important;box-shadow:none!important;overflow:hidden}
html body #otp #otp-sess .ss[data-tz="Australia/Sydney"]{--c:var(--syd)}
html body #otp #otp-sess .ss[data-tz="Asia/Tokyo"]{--c:var(--tyo)}
html body #otp #otp-sess .ss[data-tz="Europe/London"]{--c:var(--ldn)}
html body #otp #otp-sess .ss[data-tz="America/New_York"]{--c:var(--ny)}
html body #otp #otp-sess .ss b{display:flex!important;align-items:center;font-size:16px!important;font-weight:700!important;color:var(--ink)!important}
html body #otp #otp-sess .ss .num{font-size:22px!important;line-height:1.3!important;font-weight:600!important;color:var(--ink)!important;letter-spacing:-.01em}
html body #otp #otp-sess .ss .st{align-self:flex-start;display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:4px 10px!important;border-radius:99px!important;background:#f4f4f5!important;color:#52525b!important;font-size:12.5px!important;font-weight:600!important}
html body #otp #otp-sess .ss .st::before{content:"";width:7px;height:7px;border-radius:50%;background:#a1a1aa}
html body #otp #otp-sess .ss.on{background:#fff!important;border-color:var(--ln)!important;border-top-color:var(--c)!important;box-shadow:0 12px 28px -20px var(--c)!important}
html body #otp #otp-sess .ss.on .st{background:#dcfce7!important;color:#166534!important}
html body #otp #otp-sess .ss.on .st::before{background:#16a34a}
html body #otp .ss-pg{position:absolute;left:0;right:0;bottom:0;height:5px;background:#f4f4f5}
html body #otp .ss-pg i{display:block;height:100%;width:100%;background:var(--c);transform-origin:left;transform:scaleX(0);transition:transform .8s ease}
html body #otp .ss-left{font-size:12.5px;color:var(--mu)}
/* 02 ไทม์ไลน์ สว่าง */
html body #otp .fm-g{background:#fff!important;border:1px solid var(--ln)!important;color:var(--tx)}
html body #otp .fm-r{border-top:1px solid #f0f0f3!important}
html body #otp .fm-ax{border-bottom:1px solid var(--ln)!important}
html body #otp .fm-ax span{color:#71717a!important}
html body #otp .fm-ax::after{background:repeating-linear-gradient(to right,#d4d4d8 0,#d4d4d8 1px,transparent 1px,transparent calc(100% / 24))!important}
html body #otp .fm-n{color:var(--ink)!important}
html body #otp .fm-t{color:var(--mu)!important}
html body #otp .fm-k{background-color:#f7f7f8!important;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),#ececf0 calc(100% / 24 - 1px),#ececf0 calc(100% / 24))!important}
html body #otp .fm-r[data-k="syd"] .fm-b{background:#dbeafe!important;color:#1e3a8a!important}
html body #otp .fm-r[data-k="tyo"] .fm-b{background:#fce7f3!important;color:#831843!important}
html body #otp .fm-r[data-k="ldn"] .fm-b{background:#dcfce7!important;color:#14532d!important}
html body #otp .fm-r[data-k="ny"] .fm-b{background:#fef3c7!important;color:#78350f!important}
html body #otp .fm-r.on[data-k="syd"] .fm-b{background:var(--syd)!important;color:#fff!important}
html body #otp .fm-r.on[data-k="tyo"] .fm-b{background:var(--tyo)!important;color:#fff!important}
html body #otp .fm-r.on[data-k="ldn"] .fm-b{background:#15803d!important;color:#fff!important}
html body #otp .fm-r.on[data-k="ny"] .fm-b{background:#b45309!important;color:#fff!important}
html body #otp .fm-r.on .fm-b{box-shadow:0 6px 16px -10px rgba(10,10,10,.5)!important}
html body #otp .fm-ov .fm-b{background:#b3141f!important;color:#fff!important}
html body #otp .fm-ov .fm-b.ov-a{background:#e0e7ff!important;color:#312e81!important}
html body #otp .fm-ov .fm-b.ov-b{background:#ccfbf1!important;color:#134e4a!important}
html body #otp .fm-r.on .fm-n>span:first-child::after{background:#dcfce7!important;color:#166534!important}
html body #otp .fm-r.fx-heat .fm-k{background:#f7f7f8!important}
html body #otp .fx-heat .fm-n small{color:var(--mu)!important}
html body #otp .fx-heat .fm-k i[title$="0/5"]{background:#f4f4f5!important}
html body #otp .fx-heat .fm-k i[title$="1/5"]{background:#fee2e2!important}
html body #otp .fx-heat .fm-k i[title$="2/5"]{background:#fecaca!important}
html body #otp .fx-heat .fm-k i[title$="3/5"]{background:#f87171!important}
html body #otp .fx-heat .fm-k i[title$="4/5"]{background:#dc2626!important}
html body #otp .fx-heat .fm-k i[title$="5/5"]{background:#991b1b!important}
html body #otp .fx-now{background:var(--ink)!important;box-shadow:0 0 0 3px rgba(10,10,10,.08)!important}
html body #otp .fx-now b{background:var(--ink)!important;color:#fff!important}
html body #otp .fx-probe{background:#b3141f!important;width:2px!important}
html body #otp .fm-g.probing .fm-r.pon .fm-n>span:first-child{color:#b3141f!important}
html body #otp .fm-lg span{color:var(--mu)!important}
html body #otp .fm-lg span:nth-child(1) i{background:var(--syd)!important}
html body #otp .fm-lg span:nth-child(2) i{background:var(--tyo)!important}
html body #otp .fm-lg span:nth-child(3) i{background:#15803d!important}
html body #otp .fm-lg span:nth-child(4) i{background:#b45309!important}
html body #otp .fm-lg span:nth-child(5) i{background:#c7d2fe!important}
html body #otp .fm-lg span:nth-child(6) i{background:#99f6e4!important}
html body #otp .fm-lg span:nth-child(7) i{background:#b3141f!important}
html body #otp .fx-scrub{border-color:var(--ln)!important}
html body #otp .fx-scrub input{height:28px!important}
/* 03 ตาราง */
html body #otp #table .t-wrap{border:1px solid var(--ln)!important;border-radius:18px!important;overflow:hidden;box-shadow:none!important}
html body #otp #table .t th{padding:13px 18px!important;background:var(--bd)!important;font-size:13px!important;font-weight:700!important;color:#5f5f68!important;text-align:left}
html body #otp #table .t td{padding:16px 18px!important;border-top:1px solid #ececf0!important;font-size:15px;color:var(--tx);vertical-align:middle}
html body #otp #table .t tbody tr:hover td{background:#fafafa}
html body #otp #table .t td:first-child{border-left:4px solid transparent}
html body #otp #table .t tbody tr:nth-child(1) td:first-child{border-left-color:var(--syd)}
html body #otp #table .t tbody tr:nth-child(2) td:first-child{border-left-color:var(--tyo)}
html body #otp #table .t tbody tr:nth-child(3) td:first-child{border-left-color:var(--ldn)}
html body #otp #table .t tbody tr:nth-child(4) td:first-child{border-left-color:var(--ny)}
html body #otp #table .t td b{display:flex;align-items:center;font-size:16px;font-weight:700;color:var(--ink)}
html body #otp #table .t td.num{font-size:18px!important;color:var(--ink)!important}
html body #otp #table .t td.num small{display:block;margin-top:3px;font-size:12.5px;font-weight:500;color:var(--mu)}
/* 04 ช่วงเวลาที่ควรรู้ เป็นการ์ดมีเลข */
html body #otp #tips ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0!important;padding:0!important;list-style:none;counter-reset:tp}
html body #otp #tips li{position:relative;margin:0!important;padding:18px 20px 18px 62px!important;background:#fff!important;border:1px solid var(--ln)!important;border-radius:16px!important;font-size:15.5px!important;line-height:1.75!important;color:var(--tx)!important;counter-increment:tp}
html body #otp #tips li::before{content:counter(tp,decimal-leading-zero)!important;position:absolute!important;left:18px!important;top:18px!important;display:flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;border-radius:10px!important;background:#fff1f2!important;color:#b3141f!important;font-size:13px;font-weight:700}
html body #otp #tips li b{display:block;margin:0 0 2px;font-size:16px;color:var(--ink)}
html body #otp #tips li:last-child{grid-column:1/-1}
/* 05 ข่าว */
html body #otp .fx-nc{border-color:var(--ln)!important;border-top-width:4px!important}
html body #otp .fx-ng .fx-nc:nth-child(1){border-top-color:var(--syd)!important}
html body #otp .fx-ng .fx-nc:nth-child(2){border-top-color:var(--ldn)!important}
html body #otp .fx-ng .fx-nc:nth-child(3){border-top-color:var(--ny)!important}
/* รีเบต / FAQ / อ่านต่อ ใช้เส้นขอบเดียวกัน */
html body #otp #fm-rb .rb-w,html body #otp #fm-faq details,html body #otp #analysis a.rd,html body #otp #analysis .rd-tl a{border-color:var(--ln)!important}
@media (max-width:1099px){
html body #otp #otp-sess{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:767px){
html body #otp #live,html body #otp #table,html body #otp #fx-news,html body #otp #fm-tl,html body #otp #tips,html body #otp #fm-faq,html body #otp #analysis{padding:40px 0!important}
html body #otp #fm-rb{padding:0 0 40px!important}
html body #otp #otp-sess{gap:10px!important}
html body #otp #otp-sess .ss{padding:14px 14px 18px!important}
html body #otp #otp-sess .ss .num{font-size:17px!important}
html body #otp #tips ul{grid-template-columns:minmax(0,1fr)}
html body #otp #tips li{padding:16px 16px 16px 56px!important;font-size:15px!important}
html body #otp #tips li::before{left:14px!important;top:16px!important}
html body #otp #table .t td,html body #otp #table .t th{padding:12px 12px!important}
}


html body #otp #fm-faq{counter-reset:fm-fq}
html body #otp #fm-faq details{counter-increment:fm-fq}
html body #otp #fm-faq summary{padding-left:58px}
html body #otp #fm-faq summary:before{content:counter(fm-fq,decimal-leading-zero);position:absolute;left:20px;top:16px;display:block;font-size:15px;font-weight:800;line-height:1.65;color:#c81e2b;font-variant-numeric:tabular-nums}
html body #otp #fm-faq details > p{padding-left:58px}
@media (min-width:1000px){html body #otp #fm-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-items:start}html body #otp #fm-faq > h2{grid-column:1/-1;margin-bottom:6px !important}html body #otp #fm-faq > details{margin:0}}
@media (max-width:767px){html body #otp #fm-faq summary{padding-left:48px}html body #otp #fm-faq summary:before{left:16px}html body #otp #fm-faq details > p{padding-left:20px}}



html body #fm-art{color:#334155;padding:48px 0 52px;border-top:1px solid #e4e4e7}
html body #fm-art .fa-in{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:56px;align-items:start}
html body #fm-art .fa-body{max-width:740px;min-width:0}
html body #fm-art .fa-lbl{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;letter-spacing:.04em;color:#c81e2b;margin:0}
html body #fm-art .fa-lbl:before{content:"";width:22px;height:2px;background:currentcolor}
html body #fm-art h2{display:block !important;font-size:clamp(25px,3vw,32px) !important;line-height:1.32 !important;font-weight:700;color:#0a0a0a;margin:10px 0 12px !important;padding:0 !important;border:0 !important;text-wrap:balance}
html body #fm-art h3{font-size:22px;line-height:1.4;font-weight:700;color:#0a0a0a;margin:44px 0 12px;padding:30px 0 0;border:0;border-top:1px solid #e4e4e7;text-wrap:balance}
html body #fm-art h3 .fa-k{display:block;font-size:13px;font-weight:700;letter-spacing:.04em;color:#c81e2b;margin-bottom:8px}
html body #fm-art p{font-size:17px;line-height:1.85;color:#334155;margin:0 0 18px;text-wrap:pretty}
html body #fm-art .fa-by{font-size:14px;line-height:1.6;color:#52525b;margin:0 0 20px}
html body #fm-art .fa-by a{white-space:nowrap}
html body #fm-art .fa-by a,html body #fm-art .fa-src a,html body #fm-art .fa-body p a{color:#0a0a0a;text-decoration:underline;text-underline-offset:2px}
html body #fm-art .fa-by+p{font-size:18px;color:#1e293b}
html body #fm-art p b,html body #fm-art li b{font-weight:700;color:#0a0a0a}
html body #fm-art .fa-nw{white-space:nowrap}
html body #fm-art ul{list-style:none;margin:0 0 20px;padding:0}
html body #fm-art li{position:relative;font-size:16.5px;line-height:1.75;color:#334155;margin:0}
html body #fm-art li:before{content:"";position:absolute}
html body #fm-art .fa-sum{margin:26px 0 8px;padding:20px 22px;background:#f6f6f8;border:1px solid #e4e4e7;border-radius:16px}
html body #fm-art .fa-sum .fa-sum-h{font-size:15px;font-weight:700;color:#0a0a0a;margin:0 0 8px}
html body #fm-art .fa-sum ul{margin:0}
html body #fm-art .fa-sum li{padding:6px 0 6px 20px}
html body #fm-art .fa-sum li:before{left:2px;top:17px;width:7px;height:7px;border-radius:50%;background:#c81e2b}
html body #fm-art .fa-nt{margin:6px 0 0;padding:14px 18px;background:#fff7f7;border:1px solid #fde2e4;border-radius:12px;font-size:15.5px;line-height:1.75;color:#334155}
html body #fm-art .fa-nt b{display:block;font-size:13px;color:#c81e2b;margin-bottom:2px}
html body #fm-art .fa-cap{margin:44px 0 0;padding-top:30px;border-top:1px solid #e4e4e7;font-size:15px;color:#52525b}
html body #fm-art .fa-cap b{display:block;font-size:22px;line-height:1.4;color:#0a0a0a;margin-bottom:4px}
html body #fm-art .fa-tb{margin:14px 0 10px;overflow-x:auto;border:1px solid #e4e4e7;border-radius:16px;background:#fff}
html body #fm-art .fa-tb table{width:100%;border-collapse:collapse;font-size:15px;margin:0;border:0}
html body #fm-art .fa-tb th,html body #fm-art .fa-tb td{padding:12px 14px;border:0;border-bottom:1px solid #f0f0f2;text-align:left;vertical-align:middle;background:none}
html body #fm-art .fa-tb thead th{background:#f6f6f8;font-size:13px;font-weight:700;color:#52525b;white-space:nowrap}
html body #fm-art .fa-tb td{color:#334155;line-height:1.55;font-variant-numeric:tabular-nums}
html body #fm-art .fa-tb td:first-child{font-weight:700;color:#0a0a0a;white-space:nowrap}
html body #fm-art .fa-tb td.fa-sp{font-weight:700;color:#0a0a0a;white-space:nowrap}
html body #fm-art .fa-tb tbody tr:last-child td{border-bottom:0}
html body #fm-art .fa-fc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 20px}
html body #fm-art .fa-fc div{padding:16px 18px;background:#fff;border:1px solid #e4e4e7;border-radius:14px}
html body #fm-art .fa-fc i{display:inline-block;font-size:12px;font-weight:800;font-style:normal;line-height:1;color:#c81e2b;background:#fff1f2;border-radius:6px;padding:5px 7px;margin-bottom:8px}
html body #fm-art .fa-fc b{display:block;font-size:16.5px;line-height:1.4;color:#0a0a0a;margin-bottom:4px}
html body #fm-art .fa-fc p{font-size:15px;line-height:1.7;margin:0;color:#52525b}
html body #fm-art .fa-ck{margin:14px 0 20px;padding:6px 18px;background:#fff;border:1px solid #e4e4e7;border-radius:14px}
html body #fm-art .fa-ck li{padding:12px 0 12px 32px;border-bottom:1px solid #f0f0f2;font-size:16px;line-height:1.7}
html body #fm-art .fa-ck li:last-child{border-bottom:0}
html body #fm-art .fa-ck li:before{left:0;top:15px;width:20px;height:20px;border-radius:6px;background:#c81e2b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
html body #fm-art .fa-src{margin:32px 0 0;padding-top:18px;border-top:1px solid #e4e4e7;font-size:13.5px;line-height:1.7;color:#52525b}
html body #fm-art .fa-tl{position:sticky;top:110px;padding:20px 20px 18px;background:#fff;border:1px solid #e4e4e7;border-radius:18px}
html body #fm-art .fa-tl-h{font-size:16px;line-height:1.4;font-weight:700;color:#0a0a0a;margin:0}
html body #fm-art .fa-tl-s{font-size:13px;line-height:1.5;color:#52525b;margin:2px 0 14px}
html body #fm-art ol.fa-tm{list-style:none;margin:0;padding:0}
html body #fm-art .fa-tm > li{position:relative;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:0 10px;align-items:center;margin:0;padding:7px 0 7px 22px;font-size:14px;line-height:1.45}
html body #fm-art .fa-tm > li:before{content:"";position:absolute;left:5px;top:0;bottom:0;width:2px;background:#e4e4e7}
html body #fm-art .fa-tm > li:first-child:before{top:50%}
html body #fm-art .fa-tm > li:last-child:before{bottom:50%}
html body #fm-art .fa-tm > li:after{content:"";position:absolute;left:0;top:50%;margin-top:-6px;width:12px;height:12px;box-sizing:border-box;border-radius:50%;background:#fff;border:2px solid #a1a1aa}
html body #fm-art .fa-tm > li.past{opacity:1}
html body #fm-art .fa-tm > li.past time,html body #fm-art .fa-tm > li.past b,html body #fm-art .fa-tm > li.past span{color:#71717a}
html body #fm-art .fa-tm > li.past:after{border-color:#d4d4d8;background:#d4d4d8}
html body #fm-art .fa-tm > li.nx:after{border-color:#c81e2b;background:#c81e2b;box-shadow:0 0 0 4px #fde2e4}
html body #fm-art .fa-tm > li.nx b:after{content:"ถัดไป";display:inline-block;margin-left:6px;font-size:10.5px;font-weight:800;line-height:1;color:#fff;background:#c81e2b;border-radius:999px;padding:3px 7px;vertical-align:1px}
html body #fm-art .fa-tm time{font-size:13px;font-weight:700;color:#52525b;white-space:nowrap}
html body #fm-art .fa-tm b{font-size:14.5px;font-weight:700;color:#0a0a0a;min-width:0}
html body #fm-art .fa-tm span{font-size:13px;font-weight:700;white-space:nowrap;color:#52525b}
html body #fm-art .fa-nx{margin:14px 0 0;padding:14px 16px;background:#0a0a0a;border-radius:14px;color:#d4d4d8;font-size:13.5px;line-height:1.6}
html body #fm-art .fa-nx b{display:block;color:#fff;font-size:14.5px;margin-bottom:4px}
html body #fm-art .fa-nx a{color:#fca5a5;text-decoration:underline;text-underline-offset:2px}
html body #otp #fm-art + #fm-faq{margin-top:0}
@media (max-height:920px){html body #fm-art .fa-tl{position:static}}
@media (max-width:1024px){html body #fm-art .fa-in{grid-template-columns:minmax(0,1fr);gap:36px}html body #fm-art .fa-body{max-width:none}html body #fm-art .fa-tl{position:static}}
@media (max-width:767px){html body #fm-art{padding:40px 0 44px}html body #fm-art h2{font-size:24px !important}html body #fm-art h3,html body #fm-art .fa-cap b{font-size:20px}html body #fm-art h3,html body #fm-art .fa-cap{margin-top:36px;padding-top:26px}html body #fm-art p,html body #fm-art .fa-body li{font-size:16px;line-height:1.8}html body #fm-art .fa-by{font-size:13.5px}html body #fm-art .fa-by+p{font-size:17px}html body #fm-art .fa-sum{padding:16px}html body #fm-art .fa-fc{grid-template-columns:minmax(0,1fr)}html body #fm-art .fa-tl{padding:18px 16px 16px}html body #fm-art .fa-tb th,html body #fm-art .fa-tb td{padding:10px 8px;font-size:14px}html body #fm-art .fa-tb th:first-child,html body #fm-art .fa-tb td:first-child{padding-left:12px}html body #fm-art .fa-tb th:last-child,html body #fm-art .fa-tb td:last-child{padding-right:12px}html body #fm-art .fa-tb th:nth-child(2),html body #fm-art .fa-tb td:nth-child(2){display:none}html body #fm-art .fa-tb thead th{font-size:12px}}
html body #fm-art .fa-tb td{white-space:normal}
@media (max-width:767px){html body #fm-art .fa-tb th,html body #fm-art .fa-tb td{padding:10px 6px;font-size:13px}html body #fm-art .fa-tb td:first-child{white-space:normal}}


@media (max-width:360px){html body #fm-art .fa-tb th,html body #fm-art .fa-tb td{padding:9px 4px;font-size:12px}html body #fm-art .fa-tb th:first-child,html body #fm-art .fa-tb td:first-child{padding-left:8px}html body #fm-art .fa-tb th:last-child,html body #fm-art .fa-tb td:last-child{padding-right:8px}html body #fm-art .fa-tb thead th{font-size:11px;white-space:normal}}


html body #otp,html body #otp *,html body .otcc,html body .otcc *{font-family:Anuphan,"Noto Sans Thai",system-ui,-apple-system,sans-serif !important}


@media (min-width:1025px) and (min-height:640px){html body #otp #fm-art .fa-tl{position:sticky;top:110px}}


@media (min-width:1340px){html body.page-id-2271 .ot-stabs{display:none!important}}
#ot-ltoc{position:fixed;z-index:30;top:calc(var(--ot-hb,104px) + 24px);left:var(--ltl,16px);width:var(--ltw,180px);max-height:calc(100vh - var(--ot-hb,104px) - 48px);overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #E4E4E7;border-radius:14px;padding:10px 8px;box-shadow:0 12px 32px -20px rgba(10,10,10,.4);opacity:0;visibility:hidden;transform:translateX(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s;font-family:Anuphan,"Noto Sans Thai",system-ui,sans-serif}
#ot-ltoc.ok.show{opacity:1;visibility:visible;transform:none}
#ot-ltoc .lt-h{margin:2px 10px 6px;font:700 12px/1.4 Anuphan,"Noto Sans Thai",system-ui,sans-serif;color:#B3141F}
#ot-ltoc a{display:block;padding:7px 10px;margin:1px 0;border-radius:9px;color:#3F3F46;font:600 13px/1.35 Anuphan,"Noto Sans Thai",system-ui,sans-serif;text-decoration:none;transition:background-color .15s,color .15s}
#ot-ltoc a:hover{background:#F4F4F5;color:#0A0A0A}
#ot-ltoc a.on{background:#C81E2B;color:#fff}
#ot-ltoc a:focus-visible{outline:2px solid #C81E2B;outline-offset:2px}
@media (max-width:1339px){#ot-ltoc{display:none!important}}

