
.tfx{background:linear-gradient(160deg,#1c1830,#2b2147);border:1.5px solid #e3b54a;border-radius:16px;padding:4px 14px 14px;margin:0 0 12px;color:#f3e9cf;font-family:Prompt,Sarabun,sans-serif;box-shadow:0 6px 22px rgba(23,19,31,.35);box-sizing:border-box}
.tfx *{box-sizing:border-box}
.tfx-lb{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#e3b54a;margin:10px 0 6px;line-height:1.2}
.tfx img.tfx-i{width:22px;height:22px;object-fit:contain;flex:none;border-radius:22%}
.tfx-lb img.tfx-i{width:20px;height:20px}
.tfx-seg{display:flex;gap:8px;flex-wrap:wrap}
.tfx .tfx-seg button,.tfx .tfx-seg button:hover,.tfx .tfx-seg button:focus{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(227,181,74,.45)!important;border-radius:99px!important;background:transparent!important;color:#f3e9cf!important;font:700 12.5px/1.2 Prompt,Sarabun,sans-serif;padding:6px 8px!important;margin:0;min-height:36px;box-shadow:none!important;cursor:pointer;text-align:center;text-transform:none;letter-spacing:0;white-space:normal}
.tfx .tfx-seg button.on,.tfx .tfx-seg button.on:hover{background:linear-gradient(#f7d77a,#d9a537)!important;border-color:#f7d77a!important;color:#1c1830!important}
.tfx .tfx-seg.many button{flex:0 1 auto}
.tfx .tfx-seg.tfx2g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.tfx .tfx-csel,.tfx .tfx-csel:hover,.tfx .tfx-csel:focus{display:flex;align-items:center;gap:10px;width:100%;min-height:0;border:1px solid #e3b54a!important;background:rgba(255,233,168,.06)!important;border-radius:12px!important;padding:9px 12px!important;margin:0;font:700 14px/1.3 Prompt,Sarabun,sans-serif;color:#fff!important;cursor:pointer;box-shadow:none!important;text-align:left;text-transform:none}
.tfx .tfx-csel span{flex:1;min-width:0;display:flex;align-items:center;gap:8px}
.tfx .tfx-csel em{margin-left:auto;font-style:normal;font-size:12.5px;color:#1c1830;background:linear-gradient(#f7d77a,#d9a537);border-radius:99px;padding:2px 12px;font-weight:800;white-space:nowrap}
.tfx-srch{margin-top:10px}
.tfx-srch form{display:flex!important;gap:6px;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;width:100%}
.tfx-srch input[type=search],.tfx-srch input[type=text]{flex:1;min-width:0;border:1px solid #e3b54a!important;background:rgba(255,233,168,.06)!important;border-radius:12px!important;padding:9px 12px!important;color:#fff!important;font:600 13.5px Prompt,Sarabun,sans-serif!important;box-shadow:none!important;height:auto!important;margin:0!important}
.tfx-srch input::placeholder{color:#cbbf9e!important}
.tfx-srch button,.tfx-srch button:hover,.tfx-srch button:focus{flex:none;border:0!important;border-radius:12px!important;padding:0 12px!important;min-height:40px;background:linear-gradient(#f7d77a,#d9a537)!important;color:#1c1830!important;font:800 13px Prompt,Sarabun,sans-serif!important;box-shadow:none!important;display:flex;align-items:center;gap:4px;margin:0!important;position:static!important;width:auto!important;height:auto!important}
.tfx-srch span{display:none}
.tfx-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12.5px;color:#d8cfb5}
.tfx-meta b{color:#ffe9a8}
.tfx .tfx-more,.tfx .tfx-more:hover,.tfx .tfx-more:focus{display:inline-flex;align-items:center;gap:5px;border:1px solid #e3b54a!important;background:transparent!important;color:#ffe9a8!important;border-radius:99px!important;padding:4px 10px!important;font:700 12px Prompt,Sarabun,sans-serif;min-height:0;margin:0;box-shadow:none!important;cursor:pointer}
.tfx .tfx-more img.tfx-i{width:18px;height:18px}
.tfx-vw{margin-left:auto;display:flex}
.tfx-vw .tms-ls-viewbar{display:flex;border:1px solid rgba(227,181,74,.45);border-radius:9px;overflow:hidden;margin:0;background:none}
.tfx-vw .tms-ls-viewbar button,.tfx-vw .tms-ls-viewbar button:hover{border:0!important;border-radius:0!important;background:transparent!important;color:#f3e9cf!important;font:700 12px Prompt,Sarabun,sans-serif!important;padding:4px 10px!important;min-height:0;box-shadow:none!important;margin:0}
.tfx-vw .tms-ls-viewbar button.on,.tfx-vw .tms-ls-viewbar button.is-on,.tfx-vw .tms-ls-viewbar button.active,.tfx-vw .tms-ls-viewbar button[aria-pressed=true]{background:linear-gradient(#f7d77a,#d9a537)!important;color:#1c1830!important}
html body .tfx-hide.tfx-hide.tfx-hide.tfx-hide{display:none!important}
html body .tms-fb2.tfx-shell.tfx-shell{padding:0!important;border:0!important;box-shadow:none!important;background:none!important;margin:0!important;min-height:0!important}
/* แบบบาง 16 พ.ย. 13:18 เจ้าของ OK ม็อคอัพ ANVnZj3rLstSCQ7819R5aU: ชื่อหัวข้อซ้าย ปุ่มขวา */
html body .tfx{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:8px;align-items:center;padding:10px 12px;border-radius:14px;border-width:1px}
html body .tfx>.tfx-srch,html body .tfx>.tfx-meta{grid-column:1/-1}
html body .tfx .tfx-srch{margin:0}
html body .tfx .tfx-lb{margin:0;font-size:12px;white-space:nowrap;gap:5px;align-self:center}
html body .tfx .tfx-lb img.tfx-i{width:18px;height:18px}
html body .tfx .tfx-seg,html body .tfx .tfx-seg.tfx2g,html body .tfx .tfx-seg.many{display:flex;flex-wrap:wrap;gap:6px}
html body .tfx .tfx-seg button,html body .tfx .tfx-seg button:hover,html body .tfx .tfx-seg button:focus{flex:0 0 auto;min-height:30px;padding:3px 11px 3px 8px!important;font-size:12px;gap:4px;white-space:nowrap}
html body .tfx .tfx-seg button img.tfx-i{width:17px;height:17px}
html body .tfx .tfx-csel,html body .tfx .tfx-csel:hover,html body .tfx .tfx-csel:focus{padding:5px 5px 5px 10px!important;font-size:13px;border-radius:10px!important;min-height:32px}
html body .tfx .tfx-csel img.tfx-i{width:20px;height:20px}
html body .tfx .tfx-csel em{padding:3px 10px;font-size:11.5px}
html body .tfx .tfx-srch input[type=search],html body .tfx .tfx-srch input[type=text]{padding:6px 12px!important;font-size:13px!important;border-radius:10px!important;min-height:34px}
html body .tfx .tfx-srch button,html body .tfx .tfx-srch button:hover{min-height:34px;width:38px;justify-content:center;border-radius:10px!important;padding:0!important}
html body .tfx .tfx-srch button img.tfx-i{width:26px;height:26px;border-radius:0}
html body .tfx .tfx-meta{margin:0;font-size:12px;gap:6px;padding-top:2px}
html body .tfx .tfx-more,html body .tfx .tfx-more:hover{padding:3px 10px 3px 6px!important;font-size:11.5px}
html body .tfx .tfx-more img.tfx-i{width:16px;height:16px}
html body .tfx .tfx-vw .tms-ls-viewbar button,html body .tfx .tfx-vw .tms-ls-viewbar button:hover{padding:3px 9px!important;font-size:11.5px!important}
html body .tfx .tfx-vw .tms-ls-viewbar img.tfx-i{width:14px;height:14px}
html body .tfx .tfx-meta{flex-wrap:wrap;row-gap:6px}
html body .tfx .tfx-meta>span{white-space:nowrap}
html body .tfx .tfx-vw .tms-ls-viewbar button,html body .tfx .tfx-vw .tms-ls-viewbar button:hover{padding:3px 6px!important;gap:3px}
html body .tfx .tfx-meta{column-gap:5px}
html body .tfx .tfx-more,html body .tfx .tfx-more:hover{padding:3px 8px 3px 5px!important;gap:3px}
html body .tfx .tfx-vw .tms-ls-viewbar button,html body .tfx .tfx-vw .tms-ls-viewbar button:hover{padding:3px 5px!important}
html body .tfx .tfx-seg.tfx2g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
html body .tfx .tfx-seg.tfx2g button,html body .tfx .tfx-seg.tfx2g button:hover{width:100%;justify-content:center}
html body .tfx .tfx-seg.tfx2g{grid-auto-flow:row dense}
html body .tfx .tfx-seg.tfx2g button.wide{grid-column:1/-1}
@media (min-width:700px){html body .tfx .tfx-seg.tfx4{display:flex}html body .tfx .tfx-seg.tfx4 button,html body .tfx .tfx-seg.tfx4 button:hover{width:auto;flex:0 0 auto}}
html body .tfx .tfx-srch button,html body .tfx .tfx-srch button:hover{flex:0 0 auto;width:auto;min-width:40px;padding:0 10px!important;gap:4px}
/* กล่องเลือกหมวดกลางจอ */
.tfx-dim{position:fixed;inset:0;z-index:2147483000;background:rgba(10,8,16,.62);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.tfx-dim[hidden]{display:none!important}
.tfx-kp{width:min(1200px,100%);height:100%;overflow:auto;border-radius:18px;border:1.5px solid #e3b54a;background:linear-gradient(160deg,#1c1830,#2b2147);box-shadow:0 18px 50px rgba(0,0,0,.5);padding:0 14px 18px;color:#f3e9cf;font-family:Prompt,Sarabun,sans-serif;box-sizing:border-box}
.tfx-kh{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;padding:12px 0 10px;background:linear-gradient(160deg,#1c1830,#231b3a);border-bottom:1px solid rgba(227,181,74,.25);margin-bottom:12px}
.tfx-kh b{flex:1;min-width:0;font-size:16px;color:#ffe9a8;display:flex;align-items:center;gap:8px}
.tfx-kh img.tfx-i{width:28px;height:28px;object-fit:contain;flex:none;border-radius:22%}
.tfx-kh .tfx-bk,.tfx-kh .tfx-bk:hover,.tfx-kh .tfx-bk:focus{flex:none;border:1px solid rgba(227,181,74,.6)!important;background:transparent!important;color:#ffe9a8!important;border-radius:99px!important;padding:5px 12px!important;font:700 13px Prompt,Sarabun,sans-serif;min-height:0;margin:0;box-shadow:none!important;cursor:pointer;white-space:nowrap}
.tfx-kh .tfx-kx,.tfx-kh .tfx-kx:hover,.tfx-kh .tfx-kx:focus{flex:none;width:34px;height:34px;min-height:0;padding:0!important;border-radius:50%!important;border:1px solid #e3b54a!important;background:transparent!important;color:#ffe9a8!important;font-size:14px;line-height:1;cursor:pointer;box-shadow:none!important;margin:0}
.tfx-gr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:900px;margin:0 auto}
.tfx-gr button,.tfx-gr button:hover,.tfx-gr button:focus{display:flex;align-items:center;gap:8px;min-height:0;padding:10px!important;border:1px solid rgba(227,181,74,.3)!important;border-radius:12px!important;background:rgba(255,233,168,.05)!important;color:#f3e9cf!important;font:700 13px/1.3 Prompt,Sarabun,sans-serif;text-align:left;cursor:pointer;box-shadow:none!important;margin:0;text-transform:none}
.tfx-gr button:hover{background:rgba(255,233,168,.12)!important}
.tfx-gr button img{width:34px;height:34px;object-fit:contain;flex:none;border-radius:22%}
.tfx-gr button span{flex:1;min-width:0}
.tfx-gr button.on,.tfx-gr button.on:hover{background:linear-gradient(#f7d77a,#d9a537)!important;color:#1c1830!important;border-color:#f7d77a!important}
.tfx-gr button.all{grid-column:1/-1;justify-content:center}
@media (max-width:640px){.tfx-dim{padding:0}.tfx-kp{border-radius:0;border:0}.tfx-gr{grid-template-columns:repeat(2,minmax(0,1fr))}.tfx{border-radius:14px}}
html.tfx-lock,html.tfx-lock body{overflow:hidden!important}
/* 16 พ.ย. 14:46 เจ้าของ "ตัวกรองเพี้ยน": ไอคอนหัวข้อในแผ่นตัวกรองเพิ่ม (.tms-fb2-sh) ใหญ่เต็มจอ = กำหนดขนาด */
.tms-fb2-sh .tms-fb2-lb{display:flex!important;align-items:center;gap:6px}
.tms-fb2-sh .tms-fb2-in{align-content:start!important;row-gap:14px}
.tms-fb2-sh img.tfx-i{width:22px!important;height:22px!important;max-width:22px!important;object-fit:contain;flex:none;border-radius:22%;margin:0!important;display:inline-block}
/* บอร์ด: ไอคอนแทนอีโมจิในแถบเดิม */
.tbf-flt img.tfx-i{width:20px;height:20px;object-fit:contain;vertical-align:-5px;margin-right:4px;border-radius:22%}
.tbf-grid button img.tfx-i{width:24px;height:24px;margin:0}
