
.tms-chs{margin:0 0 12px;border-radius:20px;background:#fff;box-shadow:0 4px 16px rgba(95,61,196,.1);border:1.5px solid #eadcff;overflow:hidden;font-size:14px;color:#2B2540}
.tms-chs .tms-chs-h,.tms-chs .tms-chs-h:hover,.tms-chs .tms-chs-h:focus{display:flex;align-items:center;gap:10px;width:100%;border:0;background:linear-gradient(135deg,#fff9db,#f3f0ff);padding:10px 12px;cursor:pointer;font-family:inherit;color:#2B2540;text-align:left;box-shadow:none}
.tms-chs-h .av{flex:none;width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 0 0 2px #f5c451}
.tms-chs-h .av img{width:40px;height:40px;object-fit:contain}
.tms-chs-h .tx{flex:1;min-width:0}.tms-chs-h .tx b{display:block;font-size:15px}.tms-chs-h .tx small{font-size:12px;color:#868e96}
.tms-chs-h .cr{font-size:18px;color:#5f3dc4;transition:transform .2s}
.tms-chs.open .tms-chs-h .cr{transform:rotate(180deg)}
.tms-chs-b{display:none;padding:10px}
.tms-chs.open .tms-chs-b{display:block}
.tms-chs-st{position:relative;border-radius:20px;padding:12px 10px 12px;text-align:center;color:#fff;background:radial-gradient(ellipse at 50% 80%,rgba(245,196,81,.55),transparent 45%),linear-gradient(170deg,#3b1f6b,#1b1433);overflow:hidden}
.tms-chs-st .spot{position:absolute;left:50%;top:-30px;width:220px;height:250px;transform:translateX(-50%);background:linear-gradient(180deg,rgba(255,241,184,.35),transparent 80%);clip-path:polygon(38% 0,62% 0,100% 100%,0 100%);pointer-events:none}
.tms-chs-st i{position:absolute;font-style:normal;color:#ffe066;font-size:14px;animation:tmsChsTw 1.8s ease-in-out infinite}
@keyframes tmsChsTw{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1.2) rotate(45deg)}}
.tms-chs-st .big{position:relative;width:160px;height:160px;margin:0 auto}
.tms-chs-st .big img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.35));animation:tmsChsBob 1.6s ease-in-out infinite}
@keyframes tmsChsBob{50%{transform:translateY(-6px)}}
.tms-chs-st .ped{width:140px;height:24px;margin:-14px auto 6px;border-radius:50%;background:radial-gradient(ellipse at 50% 35%,#ffe28a,#e8a317 60%,#9c6a06);box-shadow:0 4px 0 #7a5205}
.tms-chs-st h3{margin:2px 0 0;font-size:19px;font-weight:800;color:#fff}
.tms-chs-st .ps{font-size:12px;opacity:.85;min-height:18px}
.tms-chs-st .tg span{display:inline-flex;border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:700;margin-top:4px}
.tms-chs-st .tg .pr{background:#fff3bf;color:#7a5205}.tms-chs-st .tg .ow{background:#d3f9d8;color:#2b8a3e}.tms-chs-st .tg .fr{background:#e7f5ff;color:#1864ab}
.tms-chs-st .gm{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.tms-chs-st .gm span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:2px 9px;font-size:11px}
.tms-chs-act .cn{display:flex;justify-content:space-between;align-items:center;background:#f8f9fa;border-radius:14px;padding:8px 12px;margin-top:10px;font-size:13px}.tms-chs-act .cn b{color:#946c00}
.tms-chs .tms-chs-act .by,.tms-chs .tms-chs-act .by:hover,.tms-chs .tms-chs-act .by:focus{display:block;width:100%;border:0;border-radius:16px;padding:13px;margin-top:10px;font-family:inherit;font-size:15px;font-weight:800;color:#2b1a00;background:linear-gradient(135deg,#ffe28a,#f5c451 40%,#e8a317);box-shadow:0 4px 0 #b9790b,0 8px 20px rgba(232,163,23,.3);cursor:pointer}
.tms-chs .tms-chs-act .by.sure{background:linear-gradient(135deg,#ff922b,#e8590c);color:#fff;box-shadow:0 4px 0 #b34700}
.tms-chs .tms-chs-act .by.use{background:linear-gradient(135deg,#69db7c,#2b8a3e);color:#fff;box-shadow:0 4px 0 #237032}
.tms-chs .tms-chs-act .by.in,.tms-chs .tms-chs-act .by[disabled]{background:#e9ecef;color:#868e96;box-shadow:none;cursor:default}
.tms-chs-act .ms{font-size:12.5px;text-align:center;margin-top:6px;color:#c92a2a;min-height:0}
.tms-chs-act .ms.ok{color:#2b8a3e}
.tms-chs-act .gu{background:linear-gradient(135deg,#fff0f6,#f3f0ff);border:1.5px solid #e5dbff;border-radius:14px;padding:10px 12px;margin-top:10px;font-size:12.5px;line-height:1.6;text-align:center}
.tms-chs-act .gu a{display:inline-block;margin-top:6px;background:#7048e8;color:#fff;border-radius:12px;padding:7px 16px;font-weight:700;text-decoration:none}
.tms-chs-tiers h4{margin:12px 0 6px;font-size:13.5px}.tms-chs-tiers h4 span{font-size:11px;font-weight:600;color:#868e96}
.tms-chs-g{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.tms-chs .tms-chs-g button,.tms-chs .tms-chs-g button:hover,.tms-chs .tms-chs-g button:focus{position:relative;background:#fff;border-radius:16px;padding:6px 3px 5px;text-align:center;font-family:inherit;font-size:11px;font-weight:600;color:#2B2540;cursor:pointer;border:2px solid #f1ecfb;box-shadow:0 2px 8px rgba(43,37,64,.07);line-height:1.3}
.tms-chs-g button img{width:100%;aspect-ratio:1;object-fit:contain;display:block}
.tms-chs-g button .p{display:block;font-size:10.5px;color:#946c00;font-weight:700}
.tms-chs-g button.lk:after{content:"🔒";position:absolute;top:4px;right:5px;font-size:11px}
.tms-chs-g button.own .p{color:#2b8a3e}
.tms-chs .tms-chs-g button.sel{border-color:#e8a317;background:linear-gradient(#fffaf0,#fff);box-shadow:0 4px 14px rgba(232,163,23,.3)}
.tms-chs-g button .u{position:absolute;top:-7px;left:50%;transform:translateX(-50%);background:#2b8a3e;color:#fff;font-size:9px;border-radius:999px;padding:0 6px;white-space:nowrap}
.tms-chs-st .big{cursor:pointer} /* 🆕 15 ต.ค. แตะตัวใหญ่ = เสียง */
@media (prefers-reduced-motion:reduce){.tms-chs-st i,.tms-chs-st .big img{animation:none}}
