
#tmsRg{--cr:#f6ecd2;--mu:#c9b98f;--gd:#e3b54a;--pn:rgba(28,22,44,.86);background:radial-gradient(120% 60% at 50% 0%,#3a2a55 0%,#1a1328 55%,#0f0b18 100%);color:var(--cr);max-width:1040px;margin:0 auto;padding:14px max(14px,env(safe-area-inset-right,0px)) 30px max(14px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:12px;font:15px/1.7 "Sarabun","Prompt",system-ui,sans-serif;box-sizing:border-box;border-radius:0 0 18px 18px}
#tmsRg *{box-sizing:border-box}#tmsRg a{color:#ffd77a;text-decoration:none}
#tmsRg .rg-cr{font-size:12.5px;color:var(--mu);line-height:1.5}
#tmsRg h1{margin:0;font-size:1.35rem;line-height:1.35;color:#fff3cf;text-wrap:balance}
#tmsRg h2{margin:6px 0 0;font-size:1.06rem;line-height:1.4;color:var(--gd);scroll-margin-top:70px}
#tmsRg p{margin:0}
#tmsRg .rg-lead{background:var(--pn);border:1px solid rgba(227,181,74,.55);border-left:4px solid var(--gd);border-radius:12px;padding:10px 12px}
#tmsRg .rg-cols{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"a" "b" "r";gap:12px}#tmsRg .rg-a,#tmsRg .rg-b,#tmsRg .rg-r{display:flex;flex-direction:column;gap:12px;min-width:0}#tmsRg .rg-a{grid-area:a}#tmsRg .rg-b{grid-area:b}#tmsRg .rg-r{grid-area:r}
#tmsRg .rg-hero{margin:0;display:flex;flex-direction:column;gap:4px}
#tmsRg .rg-hero img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:16px;border:2px solid var(--gd);box-shadow:0 8px 22px rgba(0,0,0,.55);background:#1b1428;display:block}
#tmsRg figcaption{font-size:12px;color:var(--mu)}
#tmsRg .rg-bt{display:grid;grid-template-columns:2fr 1fr;gap:8px;align-items:stretch}#tmsRg .rg-bt1{grid-template-columns:1fr}
#tmsRg .rg-play{display:flex;align-items:center;justify-content:center;border-radius:12px;padding:11px 10px;font-weight:800;font-size:15px;min-height:46px;text-align:center;background:linear-gradient(#f7d77a,#d9a537);color:#1c1830!important}
#tmsRg .rg-sh{display:flex;align-items:stretch;min-height:46px}#tmsRg .rg-sh>*{flex:1}
#tmsRg .rg-sh button,#tmsRg .rg-shb{width:100%;border-radius:12px;background:var(--pn);border:1px solid var(--gd);color:#ffe9a8;font:inherit;font-weight:800;cursor:pointer;min-height:46px}
#tmsRg .rg-ft{width:100%;border-collapse:collapse;background:var(--pn);border:1px solid rgba(227,181,74,.45);border-radius:12px;overflow:hidden;font-size:14px}
#tmsRg .rg-ft th,#tmsRg .rg-ft td{padding:7px 10px;border-bottom:1px solid rgba(227,181,74,.18);text-align:left;vertical-align:top}#tmsRg .rg-ft th{color:var(--mu);font-weight:600;width:34%}#tmsRg .rg-ft tr:last-child th,#tmsRg .rg-ft tr:last-child td{border-bottom:0}
#tmsRg .rg-st{list-style:none;margin:0;padding:0;counter-reset:s;display:flex;flex-direction:column;gap:7px}
#tmsRg .rg-st li{counter-increment:s;display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;background:var(--pn);border:1px solid rgba(227,181,74,.3);border-radius:12px;padding:8px 10px;font-size:14.5px;line-height:1.6}
#tmsRg .rg-st li::before{content:counter(s);width:28px;height:28px;border-radius:50%;background:linear-gradient(#f7d77a,#d9a537);color:#1c1830;font-weight:800;display:grid;place-items:center;font-size:13px}
#tmsRg .rg-md{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#tmsRg .rg-md div{background:var(--pn);border:1px solid rgba(227,181,74,.45);border-radius:12px;padding:9px 11px;font-size:14px;line-height:1.6}#tmsRg .rg-md b{color:#fff3cf;display:block;font-size:15px}
#tmsRg .rg-tip{margin:0;padding:9px 11px 9px 28px;background:rgba(51,154,240,.12);border:1px solid rgba(116,192,252,.5);border-radius:12px;font-size:14.5px}
#tmsRg .rg-faq{display:flex;flex-direction:column;gap:6px}
#tmsRg details{background:var(--pn);border:1px solid rgba(227,181,74,.35);border-radius:10px;padding:8px 11px;font-size:14.5px}#tmsRg summary{font-weight:700;color:#fff3cf;cursor:pointer}#tmsRg details p{margin-top:5px}
#tmsRg .rg-fx{background:linear-gradient(160deg,#1c1830,#2b2147);border:1px solid var(--gd);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px}#tmsRg .rg-fx>b{font-size:14px;color:#ffe9a8}
#tmsRg .rg-gr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#tmsRg .rg-g1{grid-template-columns:minmax(0,1fr)}
#tmsRg .rg-gr:not(.rg-pgg)>.rg-c:last-child:nth-child(odd){grid-column:1/-1}#tmsRg .rg-pgg>.rg-c.m2{grid-column:1/-1}
#tmsRg .rg-c{display:flex;align-items:center;gap:9px;background:#120f1d;border:1px solid #6b5a2a;border-radius:10px;padding:7px 9px;color:#ffe9a8!important;min-height:52px;min-width:0;line-height:1.3}
#tmsRg .rg-c[hidden]{display:none}
#tmsRg .rg-c img{width:40px;height:40px;border-radius:10px;object-fit:cover;flex:none}#tmsRg .rg-c i{font-style:normal;font-size:24px;width:40px;text-align:center;flex:none}
#tmsRg .rg-c span{display:flex;flex-direction:column;min-width:0}#tmsRg .rg-c b{font-size:14px}#tmsRg .rg-c small{font-size:12px;color:var(--mu);font-weight:500}
#tmsRg .rg-nv{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;font-weight:700}#tmsRg .rg-nv[hidden]{display:none}#tmsRg .rg-nv a.off{opacity:.35;pointer-events:none}
#tmsRg .rg-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#tmsRg .rg-jump a{background:var(--pn);border:1px solid rgba(227,181,74,.55);border-radius:12px;padding:8px 6px;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13.5px;font-weight:700}
#tmsRg .rg-sec{display:flex;flex-direction:column;gap:8px;scroll-margin-top:70px}
#tmsRg .rg-by{font-size:12px;color:var(--mu);text-align:center;line-height:1.6}
@media(min-width:760px){#tmsRg{padding:18px 26px 30px}#tmsRg .rg-cols{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:"a b" "r b";align-items:start}#tmsRg .rg-b{position:sticky;top:70px}#tmsRg .rg-md{grid-template-columns:repeat(2,minmax(0,1fr))}#tmsRg .rg-md div:last-child:nth-child(odd){grid-column:1/-1}
#tmsRg .rg-gr{grid-template-columns:repeat(6,minmax(0,1fr))}#tmsRg .rg-gr>.rg-c{grid-column:span 2}
#tmsRg .rg-gr:not(.rg-pgg)>.rg-c:last-child:nth-child(odd){grid-column:span 2}#tmsRg .rg-gr:not(.rg-pgg)>.rg-c:last-child:nth-child(3n+1){grid-column:span 6}#tmsRg .rg-gr:not(.rg-pgg)>.rg-c:last-child:nth-child(3n+2),#tmsRg .rg-gr:not(.rg-pgg)>.rg-c:nth-last-child(2):nth-child(3n+1){grid-column:span 3}
#tmsRg .rg-pgg>.rg-c.m2{grid-column:span 2}#tmsRg .rg-pgg>.rg-c.d6{grid-column:span 6}#tmsRg .rg-pgg>.rg-c.d3{grid-column:span 3}#tmsRg .rg-jump{grid-template-columns:repeat(4,minmax(0,1fr))}}
