
        .tms-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 6px;padding:2px}.tms-apps.c3{grid-template-columns:repeat(3,1fr)}.tms-app{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none!important;color:#2B2540!important;position:relative;-webkit-tap-highlight-color:transparent;min-width:0}.tms-app-i{width:58px;height:58px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1;position:relative;overflow:hidden;box-shadow:0 4px 10px rgba(30,20,60,.18),inset 0 -3px 0 rgba(0,0,0,.08);transition:transform .15s}.tms-app-i::before{content:"";position:absolute;left:0;right:0;top:0;height:50%;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0));border-radius:15px 15px 40% 40%;pointer-events:none}.tms-app-i>span{position:relative;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))}.tms-app-i.tms-gi{background:none!important;box-shadow:none!important;overflow:visible}.tms-app-i.tms-gi::before{display:none}.tms-app-i.tms-gi>span{display:none}.tms-app-i.tms-gi>img{width:108%;height:108%;max-width:none;margin:-4%;display:block;filter:drop-shadow(0 3px 4px rgba(30,20,60,.18))}.tms-app:active .tms-app-i{transform:scale(.92)}.tms-app-t{font-size:11.5px;line-height:1.25;text-align:center;font-weight:500;max-width:80px;word-break:break-word}.tms-app-b{position:absolute;top:-5px;left:50%;margin-left:14px;background:#ff3b30;color:#fff;font-size:9px;font-weight:700;border-radius:999px;padding:1px 6px;border:2px solid #fff;line-height:1.3;z-index:1}.tms-app.is-dev .tms-app-i{filter:saturate(.8)}.tms-app.is-dev .tms-app-i::after{content:"🚧";position:absolute;right:3px;bottom:2px;font-size:12px}@media (max-width:360px){.tms-app-i{width:52px;height:52px;font-size:27px;border-radius:13px}}        /* 🆕 12 ต.ค. 2569 จัดลำดับ · บอร์ดแรงค์ · ป้ายเกมแรงค์ · เมนูเกม */
        .tms-ah .tms-ah-ord,.tms-ah .tms-ah-ord:hover,.tms-ah .tms-ah-ord:focus{position:relative;margin-left:auto;font:inherit;font-size:11.5px;font-weight:700;color:#5c3d00!important;background:linear-gradient(145deg,#fffbe6,#f7d774)!important;border:1px solid rgba(160,110,0,.4);border-radius:999px;padding:3px 10px;cursor:pointer;box-shadow:0 2px 4px rgba(120,80,0,.2);outline:none}
        .tms-ah-cr{position:relative;display:flex;align-items:center;gap:6px;width:100%}
        .tms-ah-cr .tms-ah-chips{width:auto;flex:1}
        .tms-ah-op{margin-top:12px;background:#fff;border:1.5px solid #ffe066;border-radius:16px;padding:12px;box-shadow:0 4px 14px rgba(43,37,64,.07)}
        .tms-ah-op[hidden]{display:none}
        .tms-ah-op b{display:block;font-size:14px}.tms-ah-op small{display:block;font-size:11.5px;color:#8a97a3;margin-bottom:8px}
        .tms-ah-oi{display:flex;align-items:center;gap:6px;padding:7px 4px;border-bottom:1px dashed #eceef4;font-size:13.5px}
        .tms-ah-oi span{flex:1}
        .tms-ah .tms-ah-oi button,.tms-ah .tms-ah-oi button:hover,.tms-ah .tms-ah-oi button:focus{width:32px;height:30px;border:1px solid #e5dcff;background:#faf8ff!important;color:#5f3dc4!important;border-radius:8px;font-size:12px;cursor:pointer;padding:0;box-shadow:none;outline:none}
        .tms-ah-of{display:flex;gap:8px;margin-top:10px}
        .tms-ah .tms-ah-of button,.tms-ah .tms-ah-of button:hover,.tms-ah .tms-ah-of button:focus{flex:1;font:inherit;font-size:13px;font-weight:700;border-radius:12px;padding:9px;cursor:pointer;box-shadow:none;outline:none}
        .tms-ah .tms-ah-ox,.tms-ah .tms-ah-ox:hover,.tms-ah .tms-ah-ox:focus{flex:0 0 auto!important;border:1.5px solid #dee2e6;background:#fff!important;color:#495057!important}
        .tms-ah .tms-ah-os,.tms-ah .tms-ah-os:hover,.tms-ah .tms-ah-os:focus{border:0;background:linear-gradient(135deg,#69db7c,#2b8a3e)!important;color:#fff!important}
        .tms-ah-rk{margin-top:14px;border-radius:20px;overflow:hidden;background:#1b1630;color:#fff;box-shadow:0 8px 20px rgba(40,20,90,.28)}
        .tms-ah-rkh{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 13px;background:linear-gradient(135deg,#3b2f6b,#6741d9)}
        .tms-ah-rkh b{font-size:15px}.tms-ah-rkh span{font-size:11px;background:rgba(255,255,255,.15);border-radius:999px;padding:2px 10px;white-space:nowrap}
        .tms-ah-rkme{display:flex;gap:10px;align-items:center;padding:11px 13px 6px}
        .tms-ah-rkb{flex:none;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#adb5bd,#495057);display:flex;align-items:center;justify-content:center;font-size:24px}
        .tms-ah-rkt{flex:1;min-width:0;font-size:12px;line-height:1.5;color:#e5dbff}.tms-ah-rkt b{color:#fff;font-size:13.5px}
        .tms-ah-rkbar{height:6px;background:rgba(255,255,255,.15);border-radius:9px;overflow:hidden;margin:3px 0}.tms-ah-rkbar i{display:block;height:100%;background:linear-gradient(90deg,#ffd43b,#ff922b)}
        .tms-ah .tms-ah-rkgo,.tms-ah .tms-ah-rkgo:hover,.tms-ah .tms-ah-rkgo:focus{display:block;margin:6px 13px 10px;text-align:center;background:linear-gradient(135deg,#ff4f9e,#c44bd6);border-radius:12px;padding:10px;font-weight:700;font-size:14px;color:#fff!important;text-decoration:none!important;border-bottom:0}
        .tms-ah-rkg{display:flex;gap:5px;padding:0 13px 8px;overflow-x:auto;scrollbar-width:none}
        .tms-ah .tms-ah-rkg button,.tms-ah .tms-ah-rkg button:hover,.tms-ah .tms-ah-rkg button:focus{flex:none;font:inherit;font-size:11.5px;font-weight:600;background:rgba(255,255,255,.1)!important;color:#e5dbff!important;border:0;border-radius:999px;padding:4px 10px;cursor:pointer;box-shadow:none;outline:none}
        .tms-ah .tms-ah-rkg button.on{background:#fff!important;color:#2B2540!important}
        .tms-ah-rkl{padding:0 13px 6px}.tms-ah-rkl[hidden]{display:none}
        .tms-ah-rkr{display:flex;align-items:center;gap:8px;font-size:12.5px;padding:6px 0;border-top:1px solid rgba(255,255,255,.08)}
        .tms-ah-rkr i{font-style:normal;width:22px;text-align:center;font-weight:700;color:#c9bfff}
        .tms-ah-rkr span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        .tms-ah-rkr em{font-style:normal;color:#ffd43b;font-weight:700}
        .tms-ah-rkr.me{background:rgba(255,212,59,.12);border-radius:8px;padding:6px 4px}
        .tms-ah-rke{font-size:12px;color:#c9bfff;padding:6px 0 4px;border-top:1px solid rgba(255,255,255,.08)}
        .tms-ah-rkf{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 13px 11px;font-size:11.5px;border-top:1px solid rgba(255,255,255,.08)}
        .tms-ah .tms-ah-rkf a,.tms-ah .tms-ah-rkf a:hover{color:#c9bfff!important;text-decoration:none!important;border-bottom:0}
        .tms-ah .tms-ah-rkf a.go{color:#fff!important;font-weight:700}
        /* 🆕 13 ต.ค. แถบ 4 แท็บล่างการ์ดบอร์ดแรงค์ */
        .tms-ah-rktb{display:grid;grid-template-columns:repeat(4,1fr);background:#120f24;border-top:1px solid rgba(255,255,255,.08)}
        .tms-ah .tms-ah-rktb a,.tms-ah .tms-ah-rktb a:hover,.tms-ah .tms-ah-rktb a:focus{display:block;text-align:center;padding:11px 2px 10px;font-size:12px;font-weight:600;color:#e5dbff!important;text-decoration:none!important;border-bottom:0;white-space:nowrap}
        .tms-ah .tms-ah-rktb a:hover{background:rgba(255,255,255,.06)}
        .tms-ah .tms-ah-rktb a+a{border-left:1px solid rgba(255,255,255,.07)}
        @media (max-width:360px){.tms-ah .tms-ah-rktb a{font-size:11px}}
        /* 🆕 12 ต.ค. บอร์ดก่อนเริ่มซีซัน (เห็นทุกคน) */
        .tms-ah-cd{display:flex;justify-content:center;gap:6px;padding:12px 13px 4px}
        .tms-ah-cd div{background:rgba(255,255,255,.1);border-radius:10px;padding:5px 10px;text-align:center;min-width:56px}
        .tms-ah-cd b{display:block;font-size:19px;color:#ffd43b;font-variant-numeric:tabular-nums}.tms-ah-cd small{font-size:10.5px;color:#c9bfff}
        .tms-ah-cd div.sec{background:rgba(255,107,107,.22);box-shadow:0 0 0 1.5px rgba(255,107,107,.6)}.tms-ah-cd div.sec b{color:#ff8787}
        @media (max-width:360px){.tms-ah-cd div{min-width:48px;padding:5px 6px}.tms-ah-cd b{font-size:17px}}
        .tms-ah-tiers{text-align:center;font-size:18px;letter-spacing:2px;padding:4px 0 6px}
        .tms-ah-feat{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px 13px 8px}
        .tms-ah-feat div{background:rgba(255,255,255,.07);border-radius:12px;padding:7px 9px;font-size:11.5px;line-height:1.45;color:#e5dbff}
        .tms-ah-feat b{display:block;color:#fff;font-size:12.5px}
        .tms-ah-prac{display:flex;gap:6px;flex-wrap:wrap;padding:4px 13px 0}
        .tms-ah .tms-ah-prac button,.tms-ah .tms-ah-prac button:hover,.tms-ah .tms-ah-prac button:focus{flex:1 1 140px;border:0;border-radius:12px;padding:10px 8px;font:inherit;font-size:13.5px;font-weight:700;color:#fff!important;background:linear-gradient(135deg,#69db7c,#2b8a3e)!important;cursor:pointer;box-shadow:none;outline:none}
        .tms-ah-rksoon{margin:8px 13px 10px;text-align:center;border-radius:12px;padding:9px;font-size:13px;font-weight:600;color:#e5dbff;background:rgba(255,255,255,.1)}
        .tms-ah .tms-app-b.b-rk{background:#7048e8}
        .tms-ah .tms-app-b.b-soon{background:#adb5bd;font-size:8.5px}
        .tms-ah .tms-app-b.b-new{background:linear-gradient(90deg,#ff6b6b,#f59f00)} /* 🆕 14 ต.ค. */
        .tms-ah .tms-ah-prac button.fun,.tms-ah .tms-ah-prac button.fun:hover,.tms-ah .tms-ah-prac button.fun:focus{flex:1 1 100%;background:linear-gradient(90deg,#7048e8,#d6336c 70%,#f76707)!important}
        .tms-ah .tms-ah-so.nw,.tms-ah .tms-ah-so.nw:hover{border:2px solid #ffa94d;background:linear-gradient(135deg,#fff9db,#fff)!important}
        .tms-ah-so.nw>i img{width:32px;height:32px;object-fit:contain;display:block}
        .tms-ah-so.nw em{background:linear-gradient(90deg,#ff6b6b,#f59f00);color:#fff;font-weight:800}
        .tms-ah button.tms-app-rk{border:0;background:none;padding:0;font-family:inherit;cursor:pointer}
        .tms-ah-sheet{position:fixed;inset:0;z-index:2147483001;background:rgba(43,37,64,.5);display:flex;align-items:flex-end;justify-content:center}
        .tms-ah-sheet[hidden]{display:none}
        .tms-ah-sb{width:100%;max-width:480px;background:#fff;border-radius:20px 20px 0 0;padding:14px 14px 18px;box-shadow:0 -6px 20px rgba(0,0,0,.2);max-height:88vh;overflow:auto}
        .tms-ah-sg{display:flex;align-items:center;gap:10px;margin-bottom:12px}
        .tms-ah-sg i{font-style:normal;flex:none;width:50px;height:50px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:27px}
        .tms-ah-sg b{display:block;font-size:17px}.tms-ah-sg small{display:block;font-size:11.5px;color:#8a97a3}
        .tms-ah .tms-ah-sx,.tms-ah .tms-ah-sx:hover,.tms-ah .tms-ah-sx:focus{margin-left:auto;align-self:flex-start;width:32px;height:32px;border-radius:50%;border:0;background:#f1f3f5!important;color:#495057!important;font-size:14px;cursor:pointer;padding:0;box-shadow:none;outline:none}
        .tms-ah .tms-ah-so,.tms-ah .tms-ah-so:hover,.tms-ah .tms-ah-so:focus{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:1.5px solid #ece6ff;border-radius:14px;padding:10px 12px;margin-bottom:8px;background:#fff!important;color:#2B2540!important;font:inherit;text-decoration:none!important;cursor:pointer;box-shadow:none;outline:none}
        .tms-ah-so>i{font-style:normal;font-size:23px;flex:none}
        .tms-ah-so>span{flex:1;min-width:0}.tms-ah-so b{display:block;font-size:14px}.tms-ah-so small{display:block;font-size:11.5px;color:#8a97a3}
        .tms-ah .tms-ah-so.hot,.tms-ah .tms-ah-so.hot:hover{border-color:#c44bd6;background:linear-gradient(135deg,#fff0f7,#f3ecff)!important}
        .tms-ah .tms-ah-so.off{opacity:.55}
        .tms-ah-so em{font-style:normal;flex:none;font-size:10.5px;font-weight:700;background:#f1f3f5;color:#868e96;border-radius:999px;padding:2px 8px}
        html.tms-ah-open #tms-chatfab,html.tms-ah-open #tummarsorn_app_nav{display:none!important} /* ซ่อนปุ่มแชท + แถบเมนูล่าง (z สูงสุด) ตอนเปิดเมนูเกม */
        .tms-ah-sb{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
        h1.entry-title{display:none}
        .tms-ah-nf{margin-top:14px}.tms-ah-nf.tms-ah-nf1{margin:0 0 14px}#tms-noads .tms-nf-kick{display:none} /* 🆕 15 ต.ค. กรอบปลอดโฆษณาบนสุด */
        .tms-ah{max-width:720px;margin:0 auto;padding:4px 2px 30px;font-family:inherit;color:#2B2540}
        .tms-ah-hero{position:relative;overflow:hidden;border-radius:24px;padding:18px 16px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:#4a2f00;background:linear-gradient(125deg,#8a5a00 0%,#d4a017 18%,#fff1a8 34%,#e6b422 48%,#a8730a 62%,#f7d774 80%,#b8860b 100%);background-size:220% 220%;border:1.5px solid #f7d774;box-shadow:0 10px 26px rgba(184,134,11,.4),inset 0 1px 0 rgba(255,255,255,.7),inset 0 -2px 0 rgba(120,80,0,.25);animation:tms-ah-gold 8s ease-in-out infinite}
        .tms-ah-hi{position:relative;flex:none;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,#fff8d6,#e6b422);box-shadow:0 3px 8px rgba(120,80,0,.3);display:flex;align-items:center;justify-content:center;font-size:30px}
        .tms-ah-ht{position:relative;flex:1;min-width:0}
        .tms-ah-hero b{display:block;font-size:22px;line-height:1.3;color:#4a2f00;text-shadow:0 1px 0 rgba(255,255,255,.75),0 0 12px rgba(255,248,214,.9)}
        .tms-ah-hero small{display:block;font-size:12px;color:#5c3d00;margin-top:2px}
        .tms-ah-chips{position:relative;width:100%;display:flex;gap:6px;flex-wrap:wrap}
        .tms-ah-chips em{font-style:normal;font-size:11.5px;font-weight:700;color:#5c3d00;background:rgba(255,250,225,.75);border:1px solid rgba(160,110,0,.35);border-radius:999px;padding:3px 10px}
        .tms-ah-shine{position:absolute;top:0;bottom:0;left:-45%;width:35%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:tms-ah-sweep 4s ease-in-out infinite;pointer-events:none}
        .tms-ah-sp{position:absolute;color:#fffbe6;text-shadow:0 0 8px #fff,0 0 14px #ffd43b;font-size:15px;opacity:.85;animation:tms-ah-tw 2.4s ease-in-out infinite;pointer-events:none}
        .tms-ah-sp.s1{top:10px;right:22px;font-size:18px}.tms-ah-sp.s2{top:40px;right:60px;font-size:13px;animation-delay:-.8s}.tms-ah-sp.s3{bottom:12px;right:30px;animation-delay:-1.6s}.tms-ah-sp.s4{top:12px;left:46%;font-size:16px;animation-delay:-1.2s}
        @keyframes tms-ah-tw{0%,100%{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
        @keyframes tms-ah-gold{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
        @keyframes tms-ah-sweep{0%,55%{left:-45%}100%{left:130%}}
        .tms-ah-sub{margin-top:12px}
        .tms-ah-sh{display:flex;align-items:center;gap:8px;color:#fff;border-radius:12px;padding:7px 11px;margin-bottom:12px;box-shadow:0 3px 8px rgba(43,37,64,.12)}
        .tms-ah-sh b{font-size:13.5px;text-shadow:0 1px 2px rgba(0,0,0,.15)}
        .tms-ah-sh small{flex:1;font-size:11px;opacity:.92}
        .tms-ah-bdg{font-size:10.5px;font-weight:700;background:rgba(255,255,255,.95);color:#c92a2a;border-radius:999px;padding:2px 8px;white-space:nowrap}
        .tms-ah-soon{font-size:12px;background:#fff9db;border:1px dashed #ffd43b;border-radius:12px;padding:12px;text-align:center;color:#8a6d00;line-height:1.5}
        .tms-ah-empty{margin-top:14px;background:#fff;border-radius:16px;padding:16px;text-align:center;font-size:14px}
        /* 🆕 13 ต.ค. ไอคอน Gemini: รูปเต็มช่อง ซ่อนอีโมจิกับพื้นไล่สี (รูปโหลดไม่ขึ้น = คลาส tms-gi ถูกถอด กลับเป็นแบบเดิม) */
        .tms-app-i.tms-gi,.tms-ah-mi.tms-gi{background:none!important;box-shadow:none!important;position:relative}
        .tms-app-i.tms-gi>span,.tms-ah-mi.tms-gi>span{display:none}
        .tms-app-i.tms-gi>img{width:108%;height:108%;max-width:none;margin:-4%;display:block;filter:drop-shadow(0 3px 4px rgba(30,20,60,.18))}
        .tms-ah-mi.tms-gi>img{width:120%;height:120%;max-width:none;margin:-10%;display:block}
        .tms-ah-mode{margin-top:14px;background:#fff;border-radius:20px;box-shadow:0 4px 14px rgba(43,37,64,.07);overflow:hidden}
        .tms-ah-mh{width:100%;display:flex;align-items:center;gap:10px;padding:12px 12px;border:0;background:none;cursor:pointer;font-family:inherit;text-align:left;color:#2B2540;-webkit-tap-highlight-color:transparent}
        .tms-ah-mi{flex:none;width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:21px;box-shadow:0 3px 8px rgba(30,20,60,.18)}
        .tms-ah-mt{flex:1;min-width:0}
        .tms-ah-mt b{display:block;font-size:15px;line-height:1.3}
        .tms-ah-mt small{display:block;font-size:11px;color:rgba(255,255,255,.92);line-height:1.35}
        .tms-ah-ch{flex:none;width:28px;height:28px;border-radius:50%;background:#faf8ff;border:1px solid #e5dcff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;transition:transform .25s}
        .tms-ah-mode.is-closed .tms-ah-ch{transform:rotate(-90deg)}
        .tms-ah-mode.is-closed .tms-ah-mb{display:none}
        .tms-ah-mb{padding:0 12px 16px}
        .tms-ah-strip{display:block;border-radius:14px;overflow:hidden;margin:0 0 14px;background:#f1f3f5}
        .tms-ah-strip img{width:100%;height:auto;display:block}
        .tms-ah .tms-ah-mh,.tms-ah .tms-ah-mh:hover,.tms-ah .tms-ah-mh:focus,.tms-ah .tms-ah-mh:active{background:var(--mg,none)!important;color:#fff!important;box-shadow:none}
        .tms-ah .tms-ah-mi{background:rgba(255,255,255,.25)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
        .tms-ah .tms-ah-mt b{text-shadow:0 1px 2px rgba(0,0,0,.15)}
        .tms-ah .tms-ah-ch{background:rgba(255,255,255,.28);border-color:transparent;color:#fff}
        .tms-ah button.tms-app,.tms-ah button.tms-app:hover,.tms-ah button.tms-app:focus,.tms-ah button.tms-app:active{background:none!important;color:#2B2540!important}
        .tms-ah-dev{margin:-4px 0 12px;font-size:11px;background:#fff9db;border:1px solid #ffe066;border-radius:10px;padding:6px 9px;color:#8a6d00}
        .tms-ah button.tms-app{border:0;background:none;padding:0;font-family:inherit;cursor:pointer}
        .tms-ah-msg{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);max-width:88vw;background:#2B2540;color:#fff;font-size:13px;line-height:1.4;padding:10px 14px;border-radius:14px;box-shadow:0 8px 20px rgba(0,0,0,.25);z-index:99999;text-align:center}
        .tms-ah-mh:focus-visible{outline:3px solid #ffd43b;outline-offset:-3px;border-radius:20px}
        @media (min-width:600px){.tms-ah .tms-apps{grid-template-columns:repeat(6,1fr)}}
        @media (prefers-reduced-motion:reduce){.tms-ah-sp,.tms-ah-hero,.tms-ah-shine{animation:none}.tms-ah-shine{display:none}.tms-ah-ch{transition:none}}
        /* 🆕 14 ต.ค. 🏆 ศูนย์เกม 6 แท็บ (tms_apps_hub_card) */
        .tms-ah .tms-rr.ahp{max-width:none;margin:14px 0 0}
        .ahp-tabs.t4{grid-template-columns:repeat(4,1fr)}.ahp-tabs.t3{grid-template-columns:repeat(3,1fr)}.ahp-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:12px 0 0;background:rgba(255,255,255,.08);border:1px solid rgba(245,196,81,.35);border-radius:16px;padding:4px;position:relative;z-index:1}
        @media (max-width:599px){.ahp-tabs button span{white-space:normal!important;font-size:11px;line-height:1.2;text-align:center}} /* 🔄 15 ต.ค. 5 แถบแถวเดียว ชื่อยาวขึ้น 2 บรรทัด */
        .ahp-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 4px}.ahp-seg[hidden]{display:none}
        .tms-ah .ahp-seg button,.tms-ah .ahp-seg button:hover,.tms-ah .ahp-seg button:focus{position:relative;display:flex;flex-direction:column;align-items:center;gap:0;border:2px solid #ebe6f7;background:#fff!important;color:#2b2540!important;border-radius:14px;padding:7px 4px 6px;font:inherit;cursor:pointer;box-shadow:none}
        .tms-ah .ahp-seg button.on,.tms-ah .ahp-seg button.on:hover,.tms-ah .ahp-seg button.on:focus{background:linear-gradient(135deg,#5f3dc4,#9c36b5)!important;border-color:transparent;color:#fff!important;box-shadow:0 4px 12px rgba(95,61,196,.3)}
        .ahp-seg .ic{font-size:21px;line-height:1.1}.ahp-seg b{font-size:13.5px;line-height:1.3}.ahp-seg small{font-size:10.5px;opacity:.75;line-height:1.2}
        .ahp-seg button.on::after{content:"";position:absolute;left:50%;bottom:-8px;margin-left:-7px;border:7px solid transparent;border-top-color:#9c36b5;border-bottom:0}
        .ahp-seg button:focus-visible{outline:2px solid #f5c451;outline-offset:2px}
        .ahp-soh{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:4px 4px 10px}.ahp-soh b{font-size:15px}.ahp-soh small{font-size:12px;color:#7a7590}
        .tms-ah .tms-app-b.b-star{background:#fff;color:#5c3d00;border:1.5px solid #ffd43b}
        .tms-ah .tms-app-b.b-star,.tms-ah .tms-app-b.b-new{display:none!important} /* 🆕 21 ต.ค. 09:38 เจ้าของ "เอา แถบ ดาว กับส้มๆใหม่ ออกด้วย" · ป้ายแรงค์/เร็วๆ นี้ยังอยู่ */
        .ahp-sb{margin-top:16px} /* 🔄 15 ต.ค. 11:57 แบบ B ตารางเดียว */
        .ahp-hs{margin-top:14px}.ahp-hs .hd{display:flex;align-items:center;gap:6px;font-size:15px;margin:0 4px 8px}.ahp-hs .hd small{margin-left:auto;font-weight:400;font-size:11.5px;color:#868e96} /* 🆕 15 ต.ค. 📜 ประวัติซีซัน */
        .ahp-hse{text-align:center;padding:20px 12px;border:1.5px dashed #d0bfff;border-radius:16px;background:#faf8ff}.ahp-hse b{display:block;font-size:14px;margin:4px 0}.ahp-hse small{font-size:12px;color:#7a7590}
        .ahp-hsc{border:1.5px solid #ece7f7;border-radius:16px;margin-bottom:8px;overflow:hidden;background:#fff}
        .ahp-hsc summary{display:flex;align-items:center;gap:9px;padding:9px 12px;background:linear-gradient(90deg,#f3f0ff,#fff);cursor:pointer;list-style:none}.ahp-hsc summary::-webkit-details-marker{display:none}
        .ahp-hsc summary .t{flex:1;min-width:0}.ahp-hsc summary b{display:block;font-size:14px}.ahp-hsc summary small{font-size:11.5px;color:#7a7590}.ahp-hsc summary .fr{font-size:22px}
        .ahp-hsc:not([open]) summary::after{content:"▾";color:#9a96ad}
        .ahp-hsc .sb{padding:4px 12px;font-size:11.5px;font-weight:700;color:#8a5a00;background:#fff9e6;border-top:1px solid #f6edc8}
        .ahp-hsc .r{display:flex;align-items:center;gap:8px;padding:7px 12px;font-size:13px;border-top:1px solid #f3f1f8}
        .ahp-hsc .r .g{width:24px;text-align:center;font-size:16px}.ahp-hsc .r .nm{flex:1;min-width:0}.ahp-hsc .r .rk{min-width:66px;text-align:right;font-weight:800;color:#5f3dc4;font-variant-numeric:tabular-nums;line-height:1.2}.ahp-hsc .r .rk small{display:block;font-weight:400;font-size:10.5px;color:#9a96ad}
        .ahp-hsc .rw{padding:7px 12px;font-size:12px;color:#2b8a3e;border-top:1px dashed #d3f9d8;background:#f4fbf6}
        .ahp-hsb{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 10px}
        .tms-ah .ahp-hsb button,.tms-ah .ahp-hsb button:hover,.tms-ah .ahp-hsb button:focus{font:inherit;font-size:12.5px;font-weight:600;background:#fff!important;color:#495057!important;border:1.5px solid #e6e0f5;border-radius:999px;padding:4px 12px;cursor:pointer;box-shadow:none}
        .tms-ah .ahp-hsb button.on,.tms-ah .ahp-hsb button.on:hover,.tms-ah .ahp-hsb button.on:focus{background:#2b2540!important;color:#fff!important;border-color:#2b2540;font-weight:700}
        .ahp [data-hsp][hidden]{display:none}
        .ahp-hfh{display:flex;align-items:baseline;gap:6px;font-weight:800;font-size:15px;margin:0 4px 8px}.ahp-hfh small{margin-left:auto;font-weight:400;font-size:11.5px;color:#7a7590}
        .ahp-hf{border-radius:16px;padding:10px 12px;margin-bottom:8px;background:linear-gradient(180deg,#fffaf0,#fff);border:1.5px solid #f6e3b4}
        .ahp-hf .tt{font-size:13.5px;font-weight:800;margin-bottom:6px}
        .ahp-hf .pod{display:flex;justify-content:space-around;align-items:flex-end;text-align:center;font-size:11px;gap:4px}.ahp-hf .pod>div{flex:1;min-width:0}
        .ahp-hf .pod .a{width:38px;height:38px;border-radius:50%;margin:0 auto 3px;background:#f1eefa;display:flex;align-items:center;justify-content:center;font-size:20px;overflow:hidden}.ahp-hf .pod .a img{width:100%;height:100%;object-fit:cover}
        .ahp-hf .pod .p1 .a{width:48px;height:48px;border:2px solid #fcc419}
        .ahp-hf .pod b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ahp-hf .pod em{font-style:normal;color:#7a7590;font-size:10.5px}
        .ahp-hf .my{font-size:12px;text-align:center;margin-top:7px;background:#fff4e6;border-radius:9px;padding:4px;color:#a34a00;font-weight:600}
        .ahp-sb .tt{display:flex;align-items:center;gap:6px;font-weight:800;font-size:15px;color:#8a5a00;margin:0 4px 8px}.ahp-sb .tt small{margin-left:auto;font-weight:400;font-size:12px;color:#9a7a3a}
        .ahp-sbc{display:flex;flex-wrap:wrap;gap:2px;/* 🔄 21 ต.ค. ปุ่มเกมล้นขอบ → ขึ้นบรรทัดใหม่ */background:#f1eefa;border-radius:12px;padding:3px;margin-bottom:8px}
        .tms-ah .ahp-sbc button,.tms-ah .ahp-sbc button:hover,.tms-ah .ahp-sbc button:focus{flex:1 1 30%;min-width:0;overflow:hidden;text-overflow:ellipsis;font:inherit;font-size:13px;font-weight:600;background:transparent!important;color:#5f3dc4!important;border:0;border-radius:10px;padding:7px 2px;cursor:pointer;box-shadow:none;white-space:nowrap}
        .tms-ah .ahp-sbc button.on,.tms-ah .ahp-sbc button.on:hover,.tms-ah .ahp-sbc button.on:focus{background:#fff!important;color:#2b2540!important;font-weight:800;box-shadow:0 1px 4px rgba(0,0,0,.1)}
        .ahp-sbc button:focus-visible{outline:2px solid #7048e8;outline-offset:1px}
        .ahp-sb [data-hgp][hidden]{display:none}
        .ahp-sb .lst{background:#fff;border-radius:14px;border:1.5px solid #eee;overflow:hidden}
        .ahp-sb .r{display:flex;align-items:center;gap:9px;padding:8px 12px;font-size:13.5px;border-bottom:1px solid #f3f1f8;color:#2b2540;text-decoration:none}.ahp-sb .r:last-child{border-bottom:0}
        .ahp-sb .r .n{width:24px;text-align:center;font-weight:800;color:#868e96;flex:none}.ahp-sb .r img{width:26px;height:26px;border-radius:50%;background:#f1eefa;flex:none;object-fit:cover}
        .ahp-sb .r .nm{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ahp-sb .r .s{font-weight:800;color:#5f3dc4;font-variant-numeric:tabular-nums}
        .ahp-sb .r.me{background:#fff4e6}.ahp-sb .r.me .s{color:#e8590c}
        .ahp-sb .r.e{justify-content:center;color:#868e96;font-size:13px;padding:14px 10px}.ahp-sb .r.np{justify-content:center;color:#e8590c;font-weight:700}
        .tms-ah .ahp-sb .lk,.tms-ah .ahp-sb .lk:hover,.tms-ah .ahp-sb .lk:focus{display:block;width:100%;text-align:center;font:inherit;font-size:13px;font-weight:700;color:#7048e8!important;background:none!important;border:0;padding:8px 0 2px;cursor:pointer;box-shadow:none}
        .tms-ah .ahp-tabs button,.tms-ah .ahp-tabs button:hover,.tms-ah .ahp-tabs button:focus{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;border:0;background:none!important;color:#e5dbff!important;border-radius:12px;padding:6px 2px;font:inherit;font-size:12px;font-weight:600;line-height:1.25;cursor:pointer;box-shadow:none;outline:none}
        .tms-ah .ahp-tabs button.on,.tms-ah .ahp-tabs button.on:hover,.tms-ah .ahp-tabs button.on:focus{background:linear-gradient(135deg,#f5c451,#e8a317)!important;color:#2b1a00!important;box-shadow:0 3px 10px rgba(245,196,81,.45)}
        .ahp-tabs button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        .ahp-tabs img{width:26px;height:26px;object-fit:contain}.ahp-tabs .e{font-size:20px;line-height:26px}
        .ahp-tabs .m4{display:grid;grid-template-columns:1fr 1fr;gap:1px;width:26px;height:26px;overflow:visible}.ahp-tabs .m4 img{width:12.5px;height:12.5px;border-radius:3px}
        .ahp-p[hidden],.ahp [data-hgp][hidden]{display:none}
        .tms-ah .ahp-gs button,.tms-ah .ahp-gs button:hover,.tms-ah .ahp-gs button:focus{display:block;border:2px solid transparent;border-radius:16px;background:#fff!important;padding:8px 4px 6px;text-align:center;font:inherit;font-size:12px;font-weight:700;color:#2B2540!important;box-shadow:0 2px 8px rgba(43,37,64,.07);cursor:pointer;outline:none;min-width:0}
        .tms-ah .ahp-gs button.on{border-color:#e8a317;background:linear-gradient(#fffaf0,#fff)!important;box-shadow:0 4px 14px rgba(232,163,23,.25)}
        .ahp-gs button img{width:46px;height:46px;display:block;margin:0 auto 2px;object-fit:contain}.ahp-gs button .e{display:block;font-size:30px;line-height:46px}
        .ahp-gu{text-align:center}.ahp-gu b{display:block;margin:2px 0}
        .tms-ah .ahp-btn,.tms-ah .ahp-btn:hover{display:inline-block;margin-top:10px;border-radius:12px;padding:9px 18px;font-weight:700;color:#fff!important;background:linear-gradient(135deg,#7048e8,#5f3dc4);text-decoration:none!important}
        .ahp-pf{display:flex;gap:12px;align-items:center}
        .ahp-pf .av{width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#fff,#efe7ff);display:grid;place-items:center;border:3px solid #f5c451;flex:none;overflow:hidden;font-size:36px}
        .ahp-pf .av img{width:70px;height:70px;object-fit:contain}
        .ahp-pf .tx{flex:1;min-width:0}.ahp-pf .n{display:block;font-size:17px;font-weight:800;line-height:1.3}
        .ahp-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 10px}
        .ahp-chips span{background:#fff;border-radius:14px;padding:8px 4px;text-align:center;font-weight:800;font-size:15px;box-shadow:0 2px 8px rgba(43,37,64,.06)}
        .ahp-chips small{display:block;font-size:11px;font-weight:600;color:#868e96}
        .ahp-chips .g{color:#946c00}.ahp-chips .b{color:#1864ab}.ahp-chips .p{color:#5f3dc4}
        .ahp-r3 .hd{display:block;font-size:13.5px;margin-bottom:2px}
        .ahp-r3 .r{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px dashed #eceef4}.ahp-r3 .r:last-child{border-bottom:0}
        .ahp-r3 .r img{width:34px;height:34px;object-fit:contain;flex:none}.ahp-r3 .r .e{font-size:24px;width:34px;text-align:center}
        .ahp-r3 .nm{flex:1;min-width:0}.ahp-r3 .nm b{display:block;font-size:13px}.ahp-r3 .pt{font-weight:800;color:#5f3dc4}
        .ahp-lk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px} /* 🔄 21 ต.ค. 23:17 4 ปุ่มชื่อขาด → 2×2 (ม็อคอัพ mockup-เลือกเกมโปรด-21ต.ค. "โอเค") */
        .ahp-tabs .av{display:block;width:26px;height:26px;border-radius:50%;overflow:hidden;line-height:0;box-shadow:0 0 0 2px rgba(245,196,81,.7)}.ahp-tabs .av img{width:26px;height:26px;border-radius:50%;object-fit:cover}
        .tms-ah .ahp-lk a,.tms-ah .ahp-lk a:hover{background:#fff;border-radius:12px;padding:9px 2px;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:#5f3dc4!important;text-decoration:none!important;text-align:center;box-shadow:0 2px 6px rgba(43,37,64,.06)}
        .tms-rr .ahp-fun{position:relative;border:2px solid #ffa94d;background:linear-gradient(135deg,#fff9db,#fff)}
        .ahp-fun .nw{position:absolute;top:-9px;left:12px;background:linear-gradient(90deg,#ff6b6b,#f59f00);color:#fff;font-size:10.5px;font-weight:800;border-radius:999px;padding:1px 9px}
        .tms-ah .ahp-go,.tms-ah .ahp-go:hover,.tms-ah .ahp-go:focus{flex:none;border:0;border-radius:12px;padding:9px 14px;font:inherit;font-size:13px;font-weight:700;color:#fff!important;background:linear-gradient(90deg,#7048e8,#d6336c 70%,#f76707)!important;box-shadow:0 3px 0 #862e9c;cursor:pointer;text-decoration:none!important;outline:none}
        .tms-ah .ahp-cta,.tms-ah .ahp-cta:hover{display:block;text-align:center;border-radius:16px;padding:13px;font-weight:800;font-size:15px;color:#2b1a00!important;background:linear-gradient(135deg,#ffe28a,#f5c451 40%,#e8a317);box-shadow:0 4px 0 #b9790b;text-decoration:none!important;margin:0 0 6px}
        .tms-ah .ahp-cta.off{background:#ece8f6;color:#5f3dc4!important;box-shadow:none;font-size:14px}
        .ahp-fee{text-align:center;margin:2px 0 10px}
        .tms-ah .ahp-more,.tms-ah .ahp-more:hover{display:block;text-align:center;margin:10px 0 2px;font-size:13px;font-weight:700;color:#5f3dc4!important;text-decoration:none!important}
        .ahp-ex{position:relative;overflow:hidden;border-radius:20px;padding:12px;color:#5c3c00;background:linear-gradient(135deg,#fff3bf,#ffe066 45%,#fab005);box-shadow:0 4px 0 #e8a317,0 8px 20px rgba(232,163,23,.3);margin-bottom:14px}
        .ahp-ex .h{display:flex;align-items:center;gap:10px}.ahp-ex .h img{width:46px;height:46px;object-fit:contain;flex:none}
        .ahp-ex .t{display:block;font-size:15px;font-weight:800}.ahp-ex .h span{font-size:12px}
        .ahp-ex .bal{display:flex;gap:6px;margin:8px 0 0}.ahp-ex .bal span{background:rgba(255,255,255,.7);border-radius:999px;padding:3px 11px;font-size:12.5px;font-weight:700}
        .ahp-ex .pk{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
        @media (min-width:600px){.ahp-ex .pk{grid-template-columns:repeat(6,1fr)}}
        .tms-ah .ahp-ex .pk button,.tms-ah .ahp-ex .pk button:hover,.tms-ah .ahp-ex .pk button:focus{border:0;border-radius:12px;background:#fff!important;color:#c2255c!important;padding:7px 2px;font:inherit;font-weight:800;font-size:13.5px;line-height:1.3;box-shadow:0 2px 0 rgba(0,0,0,.08);cursor:pointer;outline:none}
        .ahp-ex .pk small{display:block;font-size:11px;font-weight:700;color:#e67700}
        .tms-ah .ahp-ex .pk button.sure{background:#2b2540!important;color:#fff!important}.ahp-ex .pk button.sure small{color:#ffd43b}
        /* 🆕 14 ต.ค. 12:20 แถบหาคู่แข่ง (แท็บแข่งขัน) · ปุ่มที่เลือกมีแสงวิ่งรอบขอบ */
        @property --ahpa{syntax:'<angle>';inherits:false;initial-value:0deg}
        .ahp-mm{border-radius:20px;padding:12px;background:#fff;box-shadow:0 4px 16px rgba(95,61,196,.12);border:1.5px solid #f3e3b5;margin:0 0 12px}
        .ahp-mm .hd{display:flex;justify-content:space-between;align-items:center;margin:0 2px 8px}.ahp-mm .hd b{font-size:15px}.ahp-mm .hd span{font-size:12px;font-weight:700;color:#946c00}
        .ahp-mm .gs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px}
        .ahp-mm .gs2{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}.ahp-mm .gs2[hidden]{display:none}
        .tms-ah .ahp-mm .gs button,.tms-ah .ahp-mm .gs button:hover,.tms-ah .ahp-mm .gs button:focus,.tms-ah .ahp-mm .gs2 button,.tms-ah .ahp-mm .gs2 button:hover,.tms-ah .ahp-mm .gs2 button:focus{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;border:2px solid #eee8f8;border-radius:14px;background:#fff!important;color:#2B2540!important;padding:6px 3px 4px;font:inherit;font-size:12px;font-weight:700;line-height:1.3;cursor:pointer;box-shadow:none;outline:none}
        .ahp-mm .gs button img{width:34px;height:34px;object-fit:contain;flex:none}.ahp-mm .gs button .e{font-size:24px;line-height:34px}.ahp-mm .gs button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        .tms-ah .ahp-mm .gs2 button,.tms-ah .ahp-mm .gs2 button:hover,.tms-ah .ahp-mm .gs2 button:focus{flex-direction:row;border-radius:999px;padding:6px 4px;font-size:12.5px}
        .tms-ah .ahp-mm .gs button.on,.tms-ah .ahp-mm .gs button.on:hover,.tms-ah .ahp-mm .gs button.on:focus,.tms-ah .ahp-mm .gs2 button.on,.tms-ah .ahp-mm .gs2 button.on:hover,.tms-ah .ahp-mm .gs2 button.on:focus{border-color:transparent;background:linear-gradient(#fffaf0,#fffaf0) padding-box,conic-gradient(from var(--ahpa),#f7e2a6 0 62%,#f5c451 72%,#ff6b6b 82%,#da77f2 90%,#f7e2a6 100%) border-box!important;animation:ahpRun 2.2s linear infinite;box-shadow:0 3px 12px rgba(232,163,23,.3)}
        .tms-ah .ahp-mm .gs2 button.fx.on{color:#c2410c!important}
        @keyframes ahpRun{to{--ahpa:360deg}}
        .ahp-mm.lock .gs,.ahp-mm.lock .gs2{opacity:.45;pointer-events:none}
        .ahp-mmq{border-radius:20px;padding:14px 12px;margin:0 0 12px;background:linear-gradient(135deg,#fffaf0,#fff 60%);border:2px solid #f5c451;box-shadow:0 4px 16px rgba(232,163,23,.18)}
        .ahp-mmq .ahp-cta{margin:0}.ahp-mmq .ahp-soon[hidden],.ahp-mmq .ahp-q[hidden]{display:none}
        .ahp-mmq .tms-rq{max-width:none;margin:0}.ahp-mmq .tms-rq .rq-card{box-shadow:none;padding:0;margin:0;background:none}.ahp-mmq .tms-rq .rq-card+.rq-card{margin-top:10px}
        .tms-ah .ahp-mmq .tms-rq .rq-hub .rq-btn{max-width:300px;margin:0 auto;font-size:16px;padding:13px}
        .ahp .rr-pc.ahp-wl{background:#f1f3f5;color:#495057}
        .ahp-sf{text-align:center;margin:-2px 0 6px}.ahp-sf summary::-webkit-details-marker{display:none}
        @media (prefers-reduced-motion:reduce){.tms-ah .ahp-mm .gs button.on,.tms-ah .ahp-mm .gs2 button.on{animation:none}}
        .ahp-ex .ms{font-size:11.5px;margin-top:8px;text-align:center}.ahp-ex .ms.ok{color:#2b8a3e;font-weight:700}.ahp-ex .ms.bad{color:#c92a2a;font-weight:700}
        .ahp-grp{background:#fff;border-radius:18px;margin-bottom:10px;box-shadow:0 2px 10px rgba(43,37,64,.07);overflow:hidden}
        .ahp-grp summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 12px;color:#fff;cursor:pointer}
        .ahp-grp summary::-webkit-details-marker{display:none}
        .ahp-grp summary b{font-size:14px;text-shadow:0 1px 2px rgba(0,0,0,.15)}.ahp-grp summary small{font-size:11.5px;opacity:.92}
        .ahp-grp summary .n{margin-left:auto;background:rgba(255,255,255,.25);border-radius:999px;padding:1px 9px;font-size:11.5px;font-weight:700}
        .ahp-grp summary:after{content:"▾";transition:transform .2s}.ahp-grp[open] summary:after{transform:rotate(180deg)}
        .ahp-gb{padding:12px 8px 8px}.ahp-sh{font-size:12.5px;font-weight:800;color:#5f3dc4;margin:2px 4px 10px}
        .ahp-gb .tms-apps+.ahp-sh{margin-top:14px}
        