:root{color-scheme:dark;--bg:#03130e;--panel:#08231b;--line:#20483a;--muted:#a9bdb4;--accent:#00df80;font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif;color:#f5faf7;background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{background:transparent;border:1px solid var(--line)}button:hover,a:hover{color:var(--accent)}:focus-visible{outline:3px solid #91ffd1;outline-offset:4px}img{display:block;max-width:100%;height:auto}button,a{touch-action:manipulation}.shell{max-width:1440px;margin:auto;padding:24px 28px}.header{border:1px solid var(--line);border-radius:12px 12px 0 0;min-height:86px;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;gap:24px;background:#061c14}.brand{width:220px}.header nav{display:flex;align-items:center;gap:32px;font-size:14px}.contact-link{padding:12px 22px;border:1px solid var(--accent);border-radius:7px}.menu-toggle{display:none}.notice{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;background:#08261c;min-height:42px;padding:0 14px;font-size:13px}.notice-icon{color:var(--accent);font-weight:700}.notice-window{overflow:hidden;flex:1;min-width:0}.notice-track{display:flex;width:max-content;animation:marquee 32s linear infinite}.notice-track span{flex-shrink:0;padding-right:70px;white-space:nowrap}.notice button{border:0;width:36px;height:36px;color:var(--accent)}@keyframes marquee{to{transform:translateX(-50%)}}.carousel{margin-top:18px}.slides{border:1px solid var(--line);border-radius:12px;overflow:hidden;touch-action:pan-y}.slide img{width:100%;aspect-ratio:2008/784;object-fit:contain;background:#00110b}.slide[hidden]{display:none}.mobile-caption{display:none}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:18px;height:42px}.carousel-controls>button{border:0;font-size:26px;width:32px;height:32px;color:var(--muted)}.dots{display:flex;gap:1px}.dots button{width:27px;height:30px;border:0;position:relative}.dots button:after{content:"";display:block;width:7px;height:7px;border-radius:10px;background:#426457;margin:auto}.dots button[aria-current=true]:after{width:18px;background:var(--accent)}.categories,.providers{display:flex;overflow-x:auto;gap:12px;scrollbar-width:thin;scrollbar-color:#2a5c47 transparent;padding:6px 3px 12px}.categories{margin:4px 0 12px}.category{flex:1 0 100px;display:flex;align-items:center;flex-direction:column;gap:9px;padding:12px 8px;background:var(--panel);border-radius:10px;min-height:106px}.category img{width:52px;height:52px}.category span{font-size:14px;font-weight:700}.category[aria-pressed=true],.provider[aria-pressed=true]{border-color:var(--accent);background:#0b3625;box-shadow:inset 0 0 0 1px var(--accent)}.providers{gap:10px;margin-bottom:19px}.provider{flex:0 0 104px;height:62px;border-radius:8px;padding:10px;background:#071d16}.provider img{width:100%;height:100%;object-fit:contain}.provider.all-provider{flex-basis:54px;color:var(--accent);font-size:28px}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 17px}.catalog-heading h2{font-size:17px;font-weight:500;margin:0}.catalog-heading span{color:var(--muted);font-size:12px}.catalog-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}.catalog-card{min-width:0;background:#091f18;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:0}.catalog-card img{width:100%;aspect-ratio:1;object-fit:contain;padding:13px;background:#102c22}.catalog-card h3{font-size:13px;line-height:1.5;min-height:56px;padding:9px 8px;margin:0;font-weight:500;overflow-wrap:anywhere}.empty{grid-column:1/-1;padding:24px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}footer{margin-top:44px;padding:30px 0 12px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:13px;color:var(--muted);line-height:1.7}.footer-brand{width:150px}footer p{margin:8px 0}footer nav{display:flex;justify-content:flex-end;align-items:flex-start;gap:20px;flex-wrap:wrap}.copyright{grid-column:1/-1;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link{position:fixed;left:12px;top:-70px;background:var(--accent);color:#001c10;padding:12px;z-index:10}.skip-link:focus{top:12px}.paused .notice-track{animation-play-state:paused}@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.header nav{gap:18px}.shell{padding:18px}}@media(max-width:700px){.shell{padding:12px}.header{padding:10px 12px;min-height:65px;flex-wrap:wrap;gap:0}.brand{width:160px}.menu-toggle{display:flex;width:42px;height:40px;border:0;flex-direction:column;justify-content:center;gap:5px;align-items:center}.menu-toggle span{height:2px;width:23px;background:#e9fff5}.header nav{display:none;width:100%;padding:12px 0 4px;flex-direction:column;align-items:stretch;gap:2px}.header nav.open{display:flex}.header nav a{padding:12px}.notice{font-size:12px;gap:8px;padding:0 8px}.carousel{margin-top:12px}.slides{border-radius:8px}.mobile-caption{display:block;font-size:12px;text-align:center;margin:0;padding:9px 6px;background:#0a241b;line-height:1.5}.carousel-controls{height:34px}.categories{gap:8px;margin:4px 0 9px}.category{flex:0 0 72px;min-height:86px;padding:7px 4px;gap:4px}.category img{width:45px;height:45px}.category span{font-size:12px}.providers{gap:7px;margin-bottom:14px}.provider{flex-basis:79px;height:53px;padding:8px}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.catalog-card{border-radius:6px}.catalog-card img{padding:7px}.catalog-card h3{font-size:11px;padding:7px 5px;min-height:55px}.catalog-heading h2{font-size:14px}.catalog-heading{margin-bottom:12px}.catalog-heading span{font-size:11px}footer{margin-top:28px;padding-top:22px;grid-template-columns:1fr;gap:10px}footer nav{justify-content:flex-start;gap:12px}.copyright{grid-column:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.notice-track{animation:none}.notice-track span{white-space:normal;padding-right:0;max-width:100%}.notice-track{width:auto}.notice-track span+span{display:none}}
:root{--header-text:#f3f8f5}
.header{gap:24px;padding:14px 20px;min-height:84px}
.header>a{flex:0 0 auto}
.header .brand{width:185px}
.header nav{flex:0 1 auto;gap:8px;min-width:0}
.header nav a{display:flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.4;font-size:14px;font-weight:600;padding:12px 15px;border-radius:7px;color:var(--header-text)}
.header nav a:hover{background:#103829;color:#8effc5}
.header nav .contact-link{margin-left:8px;padding:13px 24px;background:var(--accent);color:#042416;border:1px solid var(--accent)}
.header nav .contact-link:hover{background:#66efb3;color:#042416}
@media(max-width:1000px){.header{flex-wrap:wrap;gap:0;padding:10px 14px;min-height:70px}.header .brand{width:160px}.menu-toggle{display:flex;width:44px;height:44px;border:0;flex-direction:column;justify-content:center;gap:5px;align-items:center}.menu-toggle span{height:2px;width:23px;background:#e9fff5}.header nav{display:none;width:100%;flex:0 0 100%;padding:12px 0 4px;flex-direction:column;align-items:stretch;gap:4px}.header nav.open{display:flex}.header nav a{justify-content:flex-start;padding:13px 14px}.header nav .contact-link{margin:6px 0 0;justify-content:center}}

/* Final text-only navigation and readable announcement */
.header nav a{font-size:18px;font-weight:700;padding:14px 18px}.header nav .contact-link{font-size:18px;padding:14px 26px}.notice{font-size:16px;line-height:1.7;min-height:48px}.notice-track{animation-duration:40s}@media(max-width:1000px){.header nav a,.header nav .contact-link{font-size:17px}}@media(max-width:700px){.notice{font-size:14px;min-height:46px}}

/* Larger continuous right-to-left announcement, without playback controls */
.notice{font-size:20px;font-weight:500;min-height:54px}.notice-track{animation-duration:32s;animation-timing-function:linear}.notice-track span{padding-right:90px}@media(max-width:700px){.notice{font-size:17px;min-height:50px}}

/* Left category rail keeps the catalogue controls together. */
.catalog-layout{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:20px;margin-top:18px}
.catalog-content{min-width:0}.catalog-content .carousel{margin-top:0}
.catalog-layout>.categories{display:flex;flex-direction:column;gap:10px;margin:0;padding:4px;position:sticky;top:16px;overflow-x:hidden;overflow-y:auto;max-height:calc(100dvh - 32px);border:1px solid var(--line);border-radius:12px;background:#061e16;scrollbar-width:thin}
.catalog-layout .category{flex:0 0 auto;width:100%;min-height:92px;padding:10px 4px;gap:6px;border-color:transparent;background:transparent}
.catalog-layout .category[aria-pressed=true]{background:#0b3625;border-color:var(--accent)}
.catalog-content .providers{margin-top:0}
@media(max-width:1100px){.catalog-layout{grid-template-columns:88px minmax(0,1fr);gap:14px}.catalog-layout .category{min-height:82px}.catalog-layout .category img{width:44px;height:44px}}
@media(max-width:700px){.shell{padding:8px}.catalog-layout{grid-template-columns:58px minmax(0,1fr);gap:8px;margin-top:12px}.catalog-layout>.categories{gap:5px;padding:3px;top:8px;max-height:calc(100dvh - 16px);border-radius:9px}.catalog-layout .category{min-height:68px;padding:6px 1px;gap:3px;border-radius:7px}.catalog-layout .category img{width:34px;height:34px}.catalog-layout .category span{font-size:11px;line-height:1.4}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.catalog-card img{padding:4px}.catalog-card h3{font-size:10px;line-height:1.6;padding:6px 4px;min-height:76px}.catalog-heading{align-items:flex-start;flex-wrap:wrap;gap:3px}.catalog-heading h2{font-size:13px}.catalog-heading span{font-size:10px}.catalog-content .provider{flex-basis:65px;height:48px}}
@media(prefers-reduced-motion:reduce){.notice-track{width:max-content}.notice-track span{white-space:nowrap;max-width:none;padding-right:0}}
/* Explicit announcement autoplay requested by the site owner. */
.notice .notice-track{display:flex;width:max-content;animation:marquee 40s linear infinite;animation-play-state:running;will-change:transform}
.notice .notice-track span{display:block;flex:0 0 auto;white-space:nowrap;max-width:none;padding-right:90px}

/* Text category tabs, matching the requested category list. */
.catalog-layout .category-text-tabs .category{min-height:62px;justify-content:center;padding:12px 5px}.category-text-tabs .category span{font-size:14px;line-height:1.55;overflow-wrap:anywhere}@media(max-width:700px){.catalog-layout .category-text-tabs .category{min-height:58px;padding:10px 2px}.category-text-tabs .category span{font-size:11px}}

/* Approved illustrated categories and text-only link affordances. */
.catalog-layout .category-icon-tabs .category img{width:52px;height:52px;object-fit:contain;border:0;background:transparent;padding:0;border-radius:0}
.read-link,.view-more,.article-body>a{text-decoration:underline;text-underline-offset:4px}
.read-link:hover,.view-more:hover,.article-body>a:hover{color:#fff}
.read-link:focus-visible,.view-more:focus-visible,.article-body>a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.carousel-controls #previous,.carousel-controls #next{width:auto;min-width:60px;padding:4px 10px;font-size:12px}
@media(max-width:700px){.catalog-layout .category-icon-tabs .category img{width:34px;height:34px}}

/* Approved sports illustrations; informational cards. */
.catalog-grid.sports-grid .catalog-card{background:transparent;border:0;overflow:visible}
.catalog-grid.sports-grid .catalog-card img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;padding:0;background:transparent}
.catalog-grid.sports-grid .catalog-card h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Larger provider strip with readable all-provider label. */
.catalog-content .providers{align-items:center;gap:10px}
.catalog-content .provider{flex:0 0 136px;height:70px;padding:10px 12px}
.catalog-content .provider img{width:100%;height:100%;object-fit:contain;max-width:none;max-height:none}
.catalog-content .provider.all-provider{flex-basis:78px;font-size:14px;font-weight:600}
@media(max-width:700px){.catalog-content .provider{flex-basis:112px;height:62px;padding:8px}.catalog-content .provider.all-provider{flex-basis:68px;font-size:13px}}

/* Neutral charcoal surfaces and restrained category selection. */
:root{--bg:#101113;--panel:#191b1e;--line:#303338;--muted:#b0b3b8;--accent:#27cf92;color:#f4f4f5;background:var(--bg)}
body{background:var(--bg)}
.header{background:transparent;border:0;border-radius:0;padding-left:0;padding-right:0}
.header nav a:hover{background:#24272b;color:#fff}
.notice{background:#1a1c1f;border:0;border-bottom:1px solid var(--line);border-radius:0}
.catalog-layout>.categories{background:transparent;border:0;border-radius:0;scrollbar-color:#454950 transparent;padding:4px}
.catalog-layout .category{position:relative;border:0;border-radius:6px;box-shadow:none}
.catalog-layout .category:hover{background:#1c1e22;color:#fff}
.catalog-layout .category[aria-pressed=true]{background:#25282d;border:0;box-shadow:none;color:#fff}
.catalog-layout .category[aria-pressed=true]::before{content:'';position:absolute;left:0;top:18%;bottom:18%;width:3px;background:var(--accent);border-radius:2px}
.provider{background:#191b1e;border-color:transparent;border-radius:6px}
.provider[aria-pressed=true]{background:#25282d;border-color:#27cf92;box-shadow:none}
.categories,.providers{scrollbar-color:#454950 transparent}
.catalog-card{background:#1b1d20;border-color:#303338;border-radius:6px}
.catalog-card img{background:#202327}
.empty{background:#191b1e;border-color:var(--line);border-radius:6px}
.mobile-caption{background:#191b1e}
.dots button:after{background:#5d6269}
:focus-visible{outline:2px solid #9ae8c9;outline-offset:4px}
/* Simplify outer framing; retain only quiet card separation. */
.slides{border:0;border-radius:6px}
.article-card,.reading-card{border-color:#303338;border-radius:8px;box-shadow:none}
.article-toc{border-color:#303338;background:#191b1e;border-radius:8px}
/* Sticky navigation with measured clearance for the category rail. */
:root{--sticky-header-height:84px}
html{scroll-padding-top:calc(var(--sticky-header-height) + 16px)}
.header{position:sticky;top:0;z-index:100;background:rgba(16,17,19,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #ffffff12}
.catalog-layout>.categories{top:calc(var(--sticky-header-height) + 12px);max-height:calc(100dvh - var(--sticky-header-height) - 24px)}
@media(max-width:1000px){.header{max-height:85dvh;overflow-y:auto}}
/* Light logo surfaces for dark wordmarks; selection remains distinct. */
.catalog-content .provider[data-provider="pgsoft"],
.catalog-content .provider[data-provider="fa-chai"],
.catalog-content .provider[data-provider="joker"]{background:#f1f2f0;border-color:#c7cbc8;color:#17221c}
.catalog-content .provider[data-provider="pgsoft"][aria-pressed="true"],
.catalog-content .provider[data-provider="fa-chai"][aria-pressed="true"],
.catalog-content .provider[data-provider="joker"][aria-pressed="true"]{background:#f1f2f0;border-color:#27cf92;box-shadow:inset 0 0 0 2px #159b69}
.catalog-content .provider[data-provider="joker"] img{background:#fff;border-radius:3px}
.catalog-content .provider img{object-fit:contain;object-position:center}
/* Match opaque logo canvases to the complete provider tile. */
.catalog-content .provider[data-provider="jili"],
.catalog-content .provider[data-provider="km-gaming"]{background:#000}
.catalog-content .provider[data-provider="joker"]{background:#fff}
.catalog-content .provider[data-provider="joker"] img{border-radius:0;background:transparent}
.catalog-content .provider[data-provider="jili"][aria-pressed="true"],
.catalog-content .provider[data-provider="km-gaming"][aria-pressed="true"]{background:#000;border-color:#27cf92;box-shadow:inset 0 0 0 2px #159b69}
.catalog-content .provider[data-provider="joker"][aria-pressed="true"]{background:#fff;border-color:#27cf92;box-shadow:inset 0 0 0 2px #159b69}
/* Neutral placeholder action beside the existing header button. */
.header nav .header-placeholder{display:flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.4;font-size:18px;font-weight:700;padding:14px 26px;border:1px solid #eeeae1;border-radius:7px;background:#eeeae1;color:#202226;opacity:1;cursor:default}
@media(max-width:1000px){.header nav .header-placeholder{font-size:17px;width:100%;margin-top:6px;padding:13px 14px}}

/* Center every catalog row, including incomplete final rows. */
.catalog-content .catalog-grid{--card-gap:14px;--card-columns:8;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--card-gap)}
.catalog-content .catalog-grid .catalog-card{flex:0 0 calc((100% - (var(--card-columns) - 1)*var(--card-gap))/var(--card-columns));position:relative}
.catalog-content .catalog-grid .catalog-card h3{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.catalog-content .catalog-grid .artwork-card img{padding:0;aspect-ratio:1;object-fit:contain;background:transparent}
.catalog-content .catalog-grid .empty{width:100%;text-align:center}
@media(max-width:1100px){.catalog-content .catalog-grid{--card-columns:6}}
@media(max-width:700px){.catalog-content .catalog-grid{--card-columns:4;--card-gap:5px}}
/* Centered bold catalog headings; omit result counts in every category. */
.catalog-content .catalog-heading{justify-content:center;text-align:center;margin:24px 0}
.catalog-content .catalog-heading h2{width:100%;font-size:28px;font-weight:700;line-height:1.5}
.catalog-content #result-count{display:none}
@media(min-width:701px){
.catalog-content .catalog-grid.sports-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:18px}
.catalog-content .catalog-grid.sports-grid .catalog-card{grid-column:span 2;min-width:0}
.catalog-content .catalog-grid.sports-grid .catalog-card:nth-child(-n+4){grid-row:1}
.catalog-content .catalog-grid.sports-grid .catalog-card:nth-child(n+5){grid-row:2}
.catalog-content .catalog-grid.sports-grid .catalog-card:first-child{grid-column:2 / span 2}
.catalog-content .catalog-grid.sports-grid .catalog-card:nth-child(5){grid-column:1 / span 2}
}
@media(max-width:700px){.catalog-content .catalog-heading{margin:18px 0}.catalog-content .catalog-heading h2{font-size:22px;font-weight:700}}
/* Preserve original eight-column card size while arranging four then five. */
@media(min-width:1101px){.catalog-content .catalog-grid.sports-grid{grid-template-columns:repeat(10,minmax(0,calc((100% - 210px)/16)));gap:14px;justify-content:center}}
@media(min-width:701px) and (max-width:1100px){.catalog-content .catalog-grid.sports-grid{grid-template-columns:repeat(10,minmax(0,calc((100% - 154px)/12)));gap:14px;justify-content:center}}
/* Bring provider controls and the catalog into a single quiet surface. */
.catalog-group{background:#17191c;border-radius:8px;padding:18px 0 22px;margin-top:2px}
.catalog-content .catalog-group .providers{margin:0 0 10px;padding:0 12px 8px;gap:10px}
.catalog-content .catalog-group .providers::before,.catalog-content .catalog-group .providers::after{content:'';margin:auto;flex:0 0 0}
.catalog-content .catalog-group .catalog-heading{margin:10px 0 18px}
.catalog-content .catalog-group .catalog-heading h2{font-size:26px;line-height:1.4}
@media(max-width:700px){.catalog-group{padding:12px 0 16px;border-radius:6px}.catalog-content .catalog-group .providers{padding:0 8px 8px;gap:7px}.catalog-content .catalog-group .catalog-heading{margin:8px 0 14px}.catalog-content .catalog-group .catalog-heading h2{font-size:22px}}
