@font-face{font-family:Stadium;src:url('/assets/thai.ttf') format('truetype');font-display:swap;font-weight:400 700}
:root{--ink:#173c30;--muted:#64796c;--paper:#f5f5ec;--accent:#cb502d;--line:#d5ddcf;--card:#fff;--primary:#164d39;--radius:6px}
*{box-sizing:border-box}body.public{background:var(--paper);color:var(--ink);font-family:Stadium,Arial,sans-serif}body.public button,body.public input,body.public select{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d6663c;outline-offset:4px}
.site-header{background:#133c2d;color:#f8f8ed;border:0;box-shadow:none;min-height:94px;padding:20px max(28px,calc((100vw - 1360px)/2));gap:34px}.site-header .brand{font-size:22px;letter-spacing:-.8px;white-space:nowrap;color:inherit}.site-header nav{gap:22px}.site-header nav a{color:#bacebe;font-size:14px;padding:14px 0;border-radius:0}.site-header nav a[aria-current],.site-header nav a:hover{color:white;background:none;box-shadow:0 2px #df7b4b}.header-date{font-size:11px;color:#bacebe}.demo-banner{background:#e9ebd9;color:#596446;border:0;font-size:12px;padding:9px;text-align:center}.container{max-width:1360px;padding:0 30px;margin:0 auto}.hero{background:transparent!important;color:var(--ink);padding:46px 0 32px;border-radius:0;border-bottom:2px solid var(--ink);margin:0 0 24px;min-height:0;box-shadow:none}.hero:before,.hero:after{display:none}.hero h1{font-size:clamp(32px,4vw,54px);letter-spacing:-1.8px;line-height:1.2;font-weight:600;margin:0 0 12px}.hero p{color:var(--muted);font-size:14px;max-width:650px}.hero-mark{background:none;border:0;color:var(--accent);font-size:12px}.hero-mark svg{width:54px;height:54px}.toolbar{background:white;border:1px solid var(--line);border-radius:5px;box-shadow:none;gap:8px;padding:12px}.toolbar input,.toolbar select{min-height:42px;border-color:var(--line);border-radius:3px;background:#fafbf6;color:var(--ink)}.filter-row{padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:22px}.filter-row button{border:1px solid transparent;border-radius:3px;font-size:13px}.filter-row button.active,.filter-row button[aria-pressed=true]{background:var(--primary);color:white}.league-group{margin:0 0 32px}.league-group h2{font-size:16px;font-weight:600;letter-spacing:0;border:0;padding:8px 0 12px;gap:8px}.league-group h2 span{font-size:11px;letter-spacing:1px;color:var(--muted)}.match-grid{display:flex;flex-direction:column;gap:0;background:white;border:1px solid var(--line);border-radius:5px;overflow:hidden}.match-card{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;background:white;display:grid;grid-template-columns:190px minmax(0,1fr) 155px;align-items:center;padding:15px 22px;gap:18px;min-width:0}.match-card:last-child{border-bottom:0!important}.match-card:hover{background:#f4f7ee;transform:none}.match-meta{display:flex;gap:14px;padding:0;border:0;font-size:11px}.match-meta time{font-size:11px;color:var(--muted)}.match-meta .favorite{order:-1;width:25px;min-width:25px}.match-main{display:grid;grid-template-columns:1fr 85px 1fr;align-items:center;padding:0;gap:20px}.team{display:flex;flex-direction:row;gap:12px;text-align:left;justify-content:flex-end;min-width:0}.team.away{flex-direction:row-reverse;justify-content:flex-end;text-align:left}.team strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.crest{width:32px;height:32px;border-radius:50%;flex-shrink:0}.crest.letter{background:#edf1e7;color:#52715e;font-size:10px;border:1px solid #d9e2d3;display:grid;place-items:center}.score{font-family:Stadium,Arial,sans-serif;font-size:24px;letter-spacing:1px;font-weight:600;text-align:center;background:none;border:0;padding:0;min-width:65px}.score b{font-size:13px;color:#a3b0a0}.status{border-radius:2px;font-size:9px;letter-spacing:1px;padding:5px 6px;background:#eef2e8;color:#58715b}.status.live{background:#f9e7df;color:#b54c2c}.match-bottom{border:0;padding:0;gap:8px;display:flex;flex-direction:column;font-size:10px;align-items:flex-end;background:none}.match-bottom a{font-size:11px;color:var(--primary)}.match-bottom svg{width:14px;height:14px}.icon-btn{color:#6d806e}.primary,button.primary{background:var(--primary);border-radius:4px;color:white}.faqs{padding:38px 0;border-top:1px solid var(--line);margin:32px 0}.faqs h2{font-size:23px}.faqs details{background:transparent;border-bottom:1px solid var(--line);border-radius:0}.site-footer{background:#153d2e;color:#e6ecde;border:0;padding:45px max(30px,calc((100vw - 1300px)/2)) 80px}.site-footer a{color:inherit}.site-footer p{color:#a9bfac}.preference-bar{background:#f7f8f1;border:1px solid #d0dcca;border-radius:5px;box-shadow:0 4px 24px #12362212}.breadcrumb{padding:26px 0;font-size:12px}.live-layout{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.live-heading{margin:12px 0 22px}.live-heading h1{font-size:30px;letter-spacing:-.5px}.player{border:1px solid #294c39;border-radius:5px;background:#091c15;overflow:hidden}.detail-section{background:white;border:1px solid var(--line);border-radius:5px;margin-top:24px;box-shadow:none}.tabs{border-bottom:1px solid var(--line);overflow:auto}.tabs button{border-radius:0;font-size:12px;padding:18px 13px}.related{border-left:1px solid var(--line);padding-left:24px}.related h2{font-size:17px;margin-top:22px}.related .match-card{display:block;padding:16px 0;background:transparent}.related .match-meta{margin-bottom:14px}.related .match-main{gap:8px;grid-template-columns:1fr 52px 1fr}.related .team{flex-direction:column;text-align:center;justify-content:center;gap:8px}.related .team.away{flex-direction:column}.related .team strong{font-size:11px}.related .score{font-size:20px;min-width:0}.related .match-bottom{margin-top:12px}.chat-room{background:#fff;border:1px solid var(--line);margin:26px 0;border-radius:5px;padding:26px}.chat-room header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:18px}.eyebrow{font:600 10px Arial,sans-serif;letter-spacing:2px;color:#73846c;margin:0 0 8px}.chat-room h2{font-size:23px;margin:0}.room-dot{font-size:10px;color:#c85431}.chat-room ol{height:290px;overflow:auto;list-style:none;padding:0}.chat-room li{padding:12px 0;border-bottom:1px solid #edf0e7}.chat-room li strong{font-size:12px;color:#456642}.chat-room li time{float:right;font-size:10px;color:#7d8c78}.chat-room li p{font-size:14px;line-height:1.7;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-room form{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:12px;align-items:end}.chat-room label{font-size:11px}.chat-room input,.chat-room textarea{display:block;width:100%;border:1px solid #cbd6c4;border-radius:3px;padding:10px;font:inherit;background:#fafbf6;min-height:44px}.chat-room button{min-height:44px}.chat-room [role=status]{font-size:11px;color:#73846c}.pool{background:#f5f5ec;color:#173c30;font-family:Stadium,Arial,sans-serif;margin:0}.pool main{max-width:1000px;margin:50px auto;padding:25px}.pool h1{font-size:38px;letter-spacing:-1px}.pool nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.pool a{color:#1c5b40;padding:14px 0;border-bottom:1px solid #d6dece;text-decoration:none}.pool textarea{display:block;width:100%;font:13px/1.7 monospace;padding:16px;border:1px solid #b5c7ad;background:#fff}.pool button{padding:12px 20px;background:#174a34;color:white;border:0;border-radius:3px;margin:10px 0}.pool pre{font:12px/1.6 monospace;background:#fff;padding:20px;overflow:auto;max-height:400px;border:1px solid #d6dece}.pool li{display:flex;gap:16px;justify-content:space-between;align-items:center;border-bottom:1px solid #d6dece}.pool li span{overflow-wrap:anywhere}.admin .admin-shell aside{background:#153d2e}.admin a[href='/admin/network']{display:block;color:#c4ddc0;margin:25px 0}
@media(max-width:1050px){.site-header{flex-wrap:wrap;gap:8px;padding:18px 24px}.site-header nav{order:3;flex:1 0 100%;overflow:auto;white-space:nowrap}.header-date{margin-left:auto}.match-card{grid-template-columns:140px minmax(0,1fr) 100px;padding:16px 14px;gap:12px}.live-layout{grid-template-columns:minmax(0,1fr)}.related{display:none}.team strong{font-size:12px}}
@media(max-width:640px){.container{padding:0 16px}.site-header{padding:18px 16px 10px;gap:12px}.site-header .brand{font-size:20px}.site-header nav{gap:21px}.site-header nav a{font-size:12px}.header-date{font-size:9px}.demo-banner{font-size:10px;padding:8px 16px}.hero{padding:30px 0 24px;gap:10px}.hero h1{font-size:34px;letter-spacing:-1px}.hero p{font-size:12px;line-height:1.8}.hero-mark{min-width:62px}.hero-mark svg{width:32px;height:32px}.toolbar{display:grid;grid-template-columns:1fr 1fr;padding:10px}.toolbar .search{grid-column:1/-1;min-width:0}.toolbar label,.toolbar input,.toolbar select{min-width:0;width:100%;font-size:11px}.toolbar #sport-filter{display:none}.filter-row{gap:4px;overflow:auto;white-space:nowrap;padding:10px 0 16px}.filter-row button{font-size:11px;padding:9px 10px}.league-group h2{font-size:14px}.match-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px}.match-meta{justify-content:space-between;font-size:10px}.match-meta .favorite{order:3}.match-main{grid-template-columns:1fr 66px 1fr;gap:8px}.team,.team.away{flex-direction:column;justify-content:center;text-align:center;gap:6px}.team strong{font-size:12px}.crest{width:28px;height:28px}.score{font-size:23px;min-width:0}.match-bottom{flex-direction:row;justify-content:space-between;align-items:center;font-size:9px}.match-bottom a{font-size:10px}.live-heading h1{font-size:23px}.chat-room{padding:16px}.chat-room h2{font-size:20px}.chat-room form{grid-template-columns:1fr}.chat-room textarea{min-height:70px}.chat-room ol{height:250px}.tabs button{font-size:11px;padding:15px 12px}.site-footer{padding:30px 20px 100px}.pool main{padding:18px;margin:15px auto}.pool nav{grid-template-columns:1fr}.pool h1{font-size:29px}.faqs h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
