.sports-red-theme{--sports-primary:#b91c1c;--sports-primary-hover:#991b1b;--sports-deep:#7f1d1d;--sports-soft:#fff1f2;--sports-border:#fecdd3;--sports-surface:snow;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.sports-red-theme :is(input,textarea,select){transition:border-color .16s,box-shadow .16s,background-color .16s}.sports-red-theme :is(input,textarea,select):focus-visible{border-color:var(--sports-primary);outline:2px solid #0000;box-shadow:0 0 0 3px #dc262624}.sports-red-theme :is(button,a):focus-visible{outline-offset:3px;outline:2px solid #b91c1c}.sports-red-theme table thead{background-color:#fff5f5}.sports-red-theme table thead th{color:#7f1d1d}.sports-red-theme table tbody tr{transition:background-color .16s}.sports-red-theme table tbody tr:hover{background-color:snow}.sports-red-theme ::selection{color:#7f1d1d;background:#fecaca}@media (prefers-reduced-motion:reduce){.sports-red-theme :is(input,textarea,select),.sports-red-theme table tbody tr{transition:none}}
.sports-stadium-theme{--sports-primary:#0457eb;--sports-primary-hover:#003cb7;--sports-deep:#08184e;--sports-soft:#eaf4ff;--sports-border:#b9d7ff;--sports-surface:#f8fbff;color:#061846;background:#eaf3ff;min-height:100vh}.sports-stadium-theme :is(input,select,textarea):focus-visible{border-color:#035af0;outline:none;box-shadow:0 0 0 3px #00b2ff39}.sports-stadium-theme :is(button,a):focus-visible{outline-color:#04bfff}.sports-stadium-theme table thead{background:#e8f1ff}.sports-stadium-theme table thead th{color:#09266b}.sports-stadium-theme table tbody tr:hover{background-color:#f3f8ff}.sports-stadium-theme ::selection{color:#09205d;background:#c2fbff}.sports-stadium-theme main.bg-\[\#faf7f7\]{background:linear-gradient(#e9f3ff,#f4f8ff 44%,#eef4ff)!important}.sports-stadium-theme :is(section,article)[class*=bg-white]{box-shadow:0 3px 15px #1260bb17}.sports-stadium-theme :is(section,article)[class*=border-slate-200]{border-color:#d4e4fa}.sports-stadium-theme header[class*=bg-gradient],.sports-stadium-theme div[class*="from-[#8b0011]"]{background-image:linear-gradient(110deg,#071449,#064be2,#01a4ea)!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม]{background:linear-gradient(130deg,#fff,#eef5ff);border:1px solid #b7d4ff;box-shadow:0 7px 20px #003dd11f}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [data-selected=true]{color:#fff!important;background:#063fb9!important;border-color:#0c62e9!important;box-shadow:0 2px 12px #0357db50!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [data-selected=true] :is(span,svg){color:#fff!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [data-selected=false]{color:#102c70!important;background:#f5faff!important;border-color:#c6daf8!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [data-selected=false] :is(span,svg){color:#103c90!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [data-selected=false]:hover{background:#e1f0ff!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [role=group]{border-color:#c4dafa!important;box-shadow:0 8px 18px #164cb51c!important}.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [role=group] button:hover,.sports-stadium-theme nav[aria-label=เมนูกีฬากลุ่ม] [role=group] a:hover{color:#003dc1!important;background:#e7f2ff!important}.sports-stadium-theme :is(input,select,textarea){border-radius:10px}.sports-stadium-theme :is(section,article)[class*=bg-white] h2{color:#061b62}.sports-stadium-theme :is(section,article)[class*=bg-white] h3{color:#133678}.sports-stadium-theme .sports-games-topbar :is(button,a),.sports-stadium-theme .sports-games-masthead :is(button,a){outline-offset:3px}.sports-games-masthead{isolation:isolate;z-index:50;color:#fff;background:#001047;position:relative}.sports-games-topbar{background:linear-gradient(100deg,#030d30,#040f46 70%,#00114c);border-bottom:1px solid #1974e867;justify-content:space-between;align-items:center;gap:26px;width:100%;height:56px;padding:0 max(16px,3.6vw);display:flex}.sports-games-logo{color:#fff;text-shadow:1px 2px 2px #050a33;background:0 0;border:0;flex-direction:column;flex:0 0 252px;justify-content:center;align-items:center;font-family:Arial,sans-serif;font-style:italic;font-weight:1000;line-height:.7;display:flex;position:relative;transform:skew(-10deg)}.sports-games-logo span{letter-spacing:-2px;font-size:28px}.sports-games-logo em{color:#e7ff00;letter-spacing:-1px;text-shadow:1px 2px 1px #083f74;padding-left:55px;font-size:27px;font-style:italic}.sports-games-logo:after{content:"";background:#e6f900;width:200px;height:3px;position:absolute;bottom:-3px;left:15px;transform:rotate(-6deg)}.sports-games-navlinks{border-left:2px solid #29c9ff;flex:1;justify-content:space-around;align-items:stretch;gap:4px;min-width:0;height:100%;padding-left:24px;display:flex}.sports-games-toplink{color:#f7fbff;white-space:nowrap;cursor:pointer;background:0 0;border:0;min-width:0;padding:0 7px;font-family:Tahoma,Arial,sans-serif;font-size:clamp(13px,1.08vw,18px);font-weight:750;position:relative}.sports-games-toplink:hover{color:#f5ff19}.sports-games-toplink.is-current{color:#eaff00}.sports-games-toplink.is-current:after{content:"";background:#e6ff00;width:72%;height:5px;position:absolute;bottom:6px;left:14%}.sports-games-more{z-index:70;flex:none;position:relative}.sports-games-more>summary{cursor:pointer;color:#e6ff00;border-left:1px solid #437ddd;align-items:center;gap:5px;padding-left:12px;font-size:18px;font-weight:850;list-style:none;display:flex}.sports-games-more>summary::-webkit-details-marker{display:none}.sports-games-more-list{color:#122362;background:#fff;border:1px solid #a9cffd;border-radius:15px;flex-direction:column;width:min(310px,85vw);max-height:76vh;padding:5px;display:flex;position:absolute;top:36px;right:0;overflow:hidden auto;box-shadow:0 12px 35px #02135465}.sports-games-more-list :is(a,button){text-align:left;background:#fff;border:0;border-radius:9px;width:100%;padding:11px 14px;font-size:13px;font-weight:800;text-decoration:none;display:block;color:#152d70!important}.sports-games-more-list :is(a,button):hover{background:#e6f1ff;color:#0039c2!important}.sports-games-banner{background:#072b8f;width:100%;line-height:0;position:relative;overflow:hidden}.sports-games-banner img{object-fit:cover;width:100%;height:auto;max-height:280px;display:block}.sports-games-banner-hit{cursor:pointer;z-index:2;background:0 0;border:0;border-radius:30px;width:21.8%;height:24%;position:absolute;top:69%;left:6.2%}.sports-games-banner-hit:focus-visible{outline-offset:2px;outline:4px solid #f7ff00}.sports-games-mobile-banner{display:none}.sports-games-inner-banner{background:linear-gradient(106deg,#07144a,#093cd0 67%,#00b6f3);border-bottom:5px solid #e7fb00;justify-content:space-between;align-items:center;gap:15px;min-height:125px;padding:20px max(16px,3vw);display:flex}.sports-games-inner-banner h1{margin:4px 0;font-size:clamp(19px,2vw,29px);font-style:italic;font-weight:1000}.sports-games-inner-banner small{letter-spacing:2px;color:#df0;font-weight:900}.sports-games-inner-banner p{opacity:.92;font-size:12px}.sports-games-inner-actions{align-items:center;gap:10px;display:flex}@media (max-width:1300px){.sports-games-topbar{gap:14px;padding:0 18px}.sports-games-logo{flex-basis:190px}.sports-games-logo span{font-size:25px}.sports-games-logo em{font-size:24px}.sports-games-logo:after{width:175px}.sports-games-navlinks{padding-left:12px}.sports-games-toplink{padding:0 3px;font-size:13px}}@media (max-width:950px){.sports-games-navlinks{scrollbar-width:none;justify-content:start;gap:12px;overflow-x:auto}.sports-games-navlinks::-webkit-scrollbar{display:none}.sports-games-toplink{flex:none}.sports-games-topbar{gap:12px}.sports-games-logo{flex-basis:144px}.sports-games-logo span{font-size:19px}.sports-games-logo em{padding-left:35px;font-size:19px}.sports-games-logo:after{width:130px}.sports-games-more>summary span{display:none}}@media (max-width:690px){.sports-games-topbar{height:60px;padding:0 10px}.sports-games-logo{flex-basis:100px}.sports-games-logo span{letter-spacing:-1px;font-size:14px}.sports-games-logo em{padding-left:20px;font-size:15px}.sports-games-logo:after{width:90px;left:5px}.sports-games-navlinks{border-left:1px solid #29c9ff;gap:9px;padding-left:9px}.sports-games-toplink{font-size:12px}.sports-games-toplink.is-current:after{height:3px;bottom:8px}.sports-games-banner>img,.sports-games-banner-hit{display:none}.sports-games-mobile-banner{background:linear-gradient(90deg,#001959eb,#054ac5d5),url(/images/group-sports/phayao-games-hero-reference.webp) 50%/cover;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:190px;padding:18px;line-height:1.2;display:flex}.sports-games-mobile-banner span{color:#fff;font-size:17px;font-weight:900}.sports-games-mobile-banner strong{color:#eaff00;font-size:36px;font-style:italic;font-weight:1000}.sports-games-mobile-banner em{color:#fff;font-size:17px;font-style:normal;font-weight:900}.sports-games-mobile-banner button{color:#041747;background:#e8ff00;border:0;border-radius:30px;margin-top:8px;padding:10px 20px;font-size:16px;font-weight:1000}.sports-games-inner-banner{flex-direction:column;align-items:flex-start}.sports-games-inner-actions{flex-wrap:wrap}}.sports-stadium-theme :is(button,a)[class~=bg-red-700]:not([data-danger]){background-color:#0755db}.sports-stadium-theme :is(button,a)[class~=bg-red-700]:not([data-danger]):hover{background-color:#03399f}.sports-stadium-theme :is(button,a)[class~=bg-rose-50]:not([data-danger]){background-color:#e6f3ff}.sports-stadium-theme :is(button,a)[class~=bg-rose-100]:not([data-danger]){background-color:#d8ecff}.sports-stadium-theme :is(button,a)[data-danger],.sports-stadium-theme :is(button,a)[data-danger]:hover{color:#fff!important;background-color:#b91c1c!important}@media (prefers-reduced-motion:reduce){.sports-games-topbar *,.sports-stadium-theme :is(button,a){transition:none!important}}.sports-games-logo{background:0 0;transform:none}.sports-games-logo img{object-fit:contain;width:100%;height:54px;max-height:100%;display:block}.sports-games-logo:after{display:none}.sports-games-topbar{position:relative}.sports-games-topbar:after{content:"";pointer-events:none;background:#edff00;width:17px;height:100%;position:absolute;top:0;right:2px;transform:skew(-25deg)}@media (max-width:690px){.sports-games-logo img{height:37px}.sports-games-topbar:after{width:5px}}.sports-games-topbar{justify-content:space-between;gap:12px;height:62px;padding:0 clamp(10px,1.4vw,24px)}.sports-games-topbar .sports-games-logo{flex:0 0 clamp(110px,14vw,210px);min-width:0}.sports-games-topbar .sports-games-logo img{height:49px;max-height:100%}.sports-stadium-theme nav.sports-games-unified-nav{isolation:isolate;z-index:80;flex:1;align-self:stretch;align-items:stretch;min-width:0;display:flex;position:relative;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}.sports-games-unified-items{scrollbar-width:none;overscroll-behavior-x:contain;flex:1;justify-content:space-around;align-items:stretch;gap:clamp(4px,.7vw,14px);min-width:0;display:flex;overflow-x:auto}.sports-games-unified-items::-webkit-scrollbar{display:none}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected=false],.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected=true]{white-space:nowrap;text-align:center;cursor:pointer;flex:1 0 auto;justify-content:center;align-items:center;min-width:0;max-width:none;min-height:0;margin:0;padding:0 clamp(5px,.65vw,11px);transition:color .2s;display:flex;position:relative;color:#f3f7ff!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item .sports-games-main-label{white-space:nowrap;font-family:Tahoma,Arial,sans-serif;font-size:clamp(12px,1.03vw,17px);font-weight:800;line-height:1.2;display:block;color:inherit!important}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item:hover,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected=false]:hover,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item.is-current,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected=true]{color:#efff18!important;background:0 0!important}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item.is-current:after,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected=true]:after{content:"";background:#edff00;border-radius:2px;height:4px;position:absolute;bottom:6px;left:13%;right:13%;box-shadow:0 0 4px #eaff0059}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item:focus-visible{outline-offset:-3px;outline:2px solid #00d9ff!important}.sports-games-unified-nav>#sports-management-submenu,.sports-games-unified-nav>#school-information-submenu{z-index:100;width:100%;position:absolute;top:100%;left:0;right:0}.sports-stadium-theme nav.sports-games-unified-nav [role=group]{scrollbar-width:thin;max-height:min(72vh,600px);overflow-y:auto;background:#fff!important;border:1px solid #b9d6ff!important;border-radius:14px!important;box-shadow:0 12px 38px #00164d40!important}.sports-stadium-theme nav.sports-games-unified-nav [role=group] :is(button,a){border-radius:8px!important;gap:0!important}.sports-stadium-theme nav.sports-games-unified-nav [role=group] :is(button,a):hover{color:#0345a6!important;background:#e9f3ff!important}.sports-games-more{z-index:90}.sports-games-more>summary{color:#eaff00;white-space:nowrap;gap:0;font-size:14px}.sports-games-more>summary span{white-space:nowrap;font-size:clamp(11px,.9vw,14px)}.sports-games-more-list{top:calc(100% + 12px)}@media (max-width:1290px){.sports-games-topbar{gap:8px;padding-left:10px;padding-right:20px}.sports-games-topbar .sports-games-logo{flex-basis:clamp(105px,12vw,160px)}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected]{padding:0 6px}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item .sports-games-main-label{font-size:12px}}@media (max-width:950px){.sports-games-topbar{height:62px}.sports-games-topbar .sports-games-logo{flex-basis:110px}.sports-games-topbar .sports-games-logo img{height:39px}.sports-games-unified-items{justify-content:start;gap:6px}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item,.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item[data-selected]{flex:none;padding:0 10px}}@media (max-width:690px){.sports-games-topbar{gap:6px;height:60px;padding:0 9px 0 4px}.sports-games-topbar .sports-games-logo{flex-basis:75px}.sports-games-topbar .sports-games-logo img{height:32px}.sports-stadium-theme nav.sports-games-unified-nav button.sports-games-main-item .sports-games-main-label{font-size:12px}.sports-games-more>summary span{font-size:11px;display:block}.sports-games-unified-nav>#sports-management-submenu,.sports-games-unified-nav>#school-information-submenu{width:calc(100vw - 14px);position:fixed;top:60px;left:7px;right:7px}.sports-games-unified-nav>#sports-management-submenu>div>div,.sports-games-unified-nav>#school-information-submenu>div>div{width:100%!important;max-width:calc(100vw - 14px)!important;margin-left:0!important}}.sports-games-topbar:after{clip-path:polygon(45% 0,100% 0,55% 100%,0 100%);width:12px;right:4px;transform:none}@media (max-width:690px){.sports-games-topbar{padding-right:20px}}@media screen{.sports-stadium-theme{--sports-page-bg:#eaf5ed;--sports-page-secondary:#dceee1;background:var(--sports-page-bg)}.sports-stadium-theme>:is(main,div).min-h-screen,.sports-stadium-theme main.bg-\[\#faf7f7\].min-h-screen{background:var(--sports-page-bg)!important}.sports-stadium-theme>main.min-h-screen>div[aria-hidden].pointer-events-none.blur-3xl{background-color:var(--sports-page-secondary)}}
@media screen{.sports-stadium-theme.sports-multicolor-theme{--sports-page-bg:#eaf5ed;--sports-page-secondary:#dceee1;background:#eaf5ed!important}.sports-stadium-theme.sports-multicolor-theme main.min-h-screen,.sports-stadium-theme.sports-multicolor-theme>div.min-h-screen,.sports-stadium-theme.sports-multicolor-theme .sports-games-shell{background:#eaf5ed!important}.sports-multicolor-theme .grid:has(>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]))>button{--category-accent:#0755ce;--category-tint:#e4efff;--category-ink:#12428d;background:var(--category-tint)!important;border-color:color-mix(in srgb, var(--category-accent) 38%, white)!important;color:var(--category-ink)!important;box-shadow:none!important}.sports-multicolor-theme .grid:has(>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]))>button:nth-of-type(4n+2){--category-accent:#6d28d9;--category-tint:#f0e7ff;--category-ink:#5424a2}.sports-multicolor-theme .grid:has(>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]))>button:nth-of-type(4n+3){--category-accent:#087f5b;--category-tint:#def5e8;--category-ink:#066349}.sports-multicolor-theme .grid:has(>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]))>button:nth-of-type(4n+4){--category-accent:#b45309;--category-tint:#ffebd8;--category-ink:#92400e}.sports-multicolor-theme .grid:has(>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]))>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]){background:var(--category-accent)!important;border-color:var(--category-accent)!important;color:#fff!important;box-shadow:0 0 0 2px white, 0 0 0 4px var(--category-accent)!important}.sports-multicolor-theme nav:not(.sports-games-unified-nav)>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-11]){color:#fff!important;box-shadow:none!important;background:#0755ce!important;border-color:#0755ce!important}.sports-multicolor-theme nav:not(.sports-games-unified-nav)>button:focus-visible{outline-offset:3px;outline:3px solid #07123d!important}.sports-multicolor-theme .grid:has(>button:is([class~="bg-[#efff00]"],[class~=bg-red-800][class~=min-h-16]))>button:focus-visible{outline-offset:3px;outline:3px solid #07123d!important}.sports-multicolor-theme [aria-label=เลือกประเภทกีฬาที่ต้องการลงทะเบียน]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;display:grid!important}.sports-multicolor-theme [aria-label=เลือกประเภทกีฬาที่ต้องการลงทะเบียน]>a{flex-direction:column!important;gap:7px!important;min-height:0!important;padding:10px!important;display:flex!important}.sports-multicolor-theme [aria-label=เลือกประเภทกีฬาที่ต้องการลงทะเบียน]>a>span:last-child{height:auto!important;min-height:34px!important}.sports-multicolor-theme [aria-label="ระบบจัดการแข่งขันทั้ง 10 ชนิดกีฬา"]{grid-template-columns:minmax(0,1fr)!important;gap:7px!important;display:grid!important}.sports-multicolor-theme [aria-label="ระบบจัดการแข่งขันทั้ง 10 ชนิดกีฬา"]>a{grid-template-columns:minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-height:0!important;margin:0!important;padding:8px 12px!important;display:grid!important}.sports-multicolor-theme [aria-label="ระบบจัดการแข่งขันทั้ง 10 ชนิดกีฬา"]>a>span:first-child{min-width:0!important}.sports-multicolor-theme [aria-label="ระบบจัดการแข่งขันทั้ง 10 ชนิดกีฬา"]>a>span:first-child>span:first-child{width:36px!important;height:36px!important}.sports-multicolor-theme [aria-label="ระบบจัดการแข่งขันทั้ง 10 ชนิดกีฬา"]>a>span:last-child{color:#fff!important;background:#0755ce!important;width:100%!important;height:34px!important;min-height:34px!important}}@media screen and (min-width:640px){.sports-multicolor-theme [aria-label="ระบบจัดการแข่งขันทั้ง 10 ชนิดกีฬา"]>a{grid-template-columns:minmax(0,1fr) 160px!important}}@media screen and (min-width:900px){.sports-multicolor-theme [aria-label=เลือกประเภทกีฬาที่ต้องการลงทะเบียน]{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media screen and (min-width:1200px){.sports-multicolor-theme [aria-label=เลือกประเภทกีฬาที่ต้องการลงทะเบียน]{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
