@font-face{font-family:Sarabun;src:url('/assets/fonts/sarabun/Sarabun-Regular.ttf')}*{box-sizing:border-box}html{overflow-x:hidden}body{margin:0;background:#101b19;color:#eef1df;font:15px Sarabun,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #9cb783;border-radius:7px;background:#bed69b;color:#14211a;padding:10px 16px;min-height:40px}button:disabled{opacity:.48;cursor:not-allowed}.quiet{background:transparent;color:#d3e4bf}.danger{background:#64443a;border-color:#b17b67;color:#ffe4d8}.shell{width:min(100% - 32px,980px);margin:0 auto 64px;min-width:0}.mast{height:76px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #344b3f}.brand{text-decoration:none;color:#f5f4e8;font-weight:bold;font-size:21px;letter-spacing:1px}.brand span{color:#bed69b}.tag{color:#99ad99;font-size:11px;letter-spacing:2px}.game-link{margin-left:auto;color:#c9dcad;text-decoration:none}.title-row{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:28px 0 16px}.eyebrow{color:#b6d18e;font-size:11px;letter-spacing:2px;margin:0 0 5px}h1{font-size:30px;margin:0}h2{font-size:18px;margin:0 0 8px}.session{display:flex;gap:12px;align-items:center;color:#b6c8b4}.session button{padding:6px 12px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.summary article,.card{min-width:0;background:#1a2b24;border:1px solid #40594a;border-radius:10px}.summary article{padding:14px 17px;color:#a7bba5;font-size:12px}.summary strong{display:block;color:#f0f2dc;font-size:19px;margin-top:2px;overflow-wrap:anywhere}.tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #415849;margin:22px 0 16px;padding-bottom:8px}.tabs button{flex:0 0 auto;background:transparent;color:#bfd2b8;border-color:transparent;white-space:nowrap;padding:8px 13px}.tabs button[aria-selected=true]{background:#bfd79c;color:#16251a}.panel{min-width:0}.card{padding:19px;margin-bottom:12px}.card p{color:#b5c7b3;line-height:1.55;margin:6px 0 13px}.card-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.cards,.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.tool-grid .card{margin:0}label{display:block;margin:10px 0;color:#dce8d3}label small{font-size:11px;color:#a2b5a2}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-width:0;max-width:100%;margin-top:5px;padding:9px 11px;color:#eef1df;background:#101d18;border:1px solid #68846c;border-radius:6px;min-height:40px}textarea{resize:vertical;min-height:72px}input[type=checkbox]{accent-color:#c5df9f}.check{display:flex;align-items:center;gap:8px}.check input{margin:0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.hint{font-size:12px;color:#c3d8aa!important;min-height:18px}.access-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:16px}.login{max-width:420px;margin:12vh auto 0;padding:26px}.login h1{font-size:28px}.login button{width:100%}.login .check{margin:15px 0}.login p[role=status],p[role=status]{min-height:19px;color:#e1c8a9}details>summary{cursor:pointer;font-size:16px;font-weight:bold;list-style:none}details>summary::after{content:'＋';float:right;color:#bfd79c}details[open]>summary::after{content:'−'}details>summary::-webkit-details-marker{display:none}details[open]>summary{padding-bottom:10px;border-bottom:1px solid #40594a;margin-bottom:12px}.scroll-list{max-height:min(62dvh,520px);overflow:auto;overscroll-behavior:contain;padding-right:5px}.scroll-list:empty::before{content:'ไม่มีรายการ';color:#a8bba4}.creator-entry{padding:14px 0;border-top:1px solid #3c5545}.creator-entry:first-child{border-top:0}.creator-entry h3{font-size:15px;margin:4px 0}.creator-entry small{color:#aec79f}.creator-entry a{color:#d0e8ac}.creator-entry form{padding:10px;margin-top:10px;background:#12221a;border-radius:8px}.creator-entry .actions button{font-size:13px}.creator-entry .check{font-size:13px}#audit-list{padding-left:22px;line-height:1.6;margin:0;overflow-wrap:anywhere}#audit-list li{padding:7px 0;border-bottom:1px solid #334d3e}.item-row{display:grid;grid-template-columns:minmax(0,1fr) 85px auto;gap:7px;align-items:end}.item-row label{min-width:0}.item-row button{margin-bottom:10px;padding:8px}#notice{min-height:20px;color:#d9c9a2}[hidden]{display:none!important}@media(max-width:700px){.shell{width:min(100% - 28px,520px)}.mast{height:65px}.tag{display:none}.title-row{align-items:start}.session{flex-direction:column;align-items:end;gap:5px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cards,.tool-grid,.access-grid{grid-template-columns:1fr}.card{padding:16px}.card-head{flex-direction:column}.card-head button{align-self:flex-start}.tabs{margin-top:16px}.login{margin-top:9vh}.scroll-list{max-height:52dvh}}@media(max-width:390px){.item-row{grid-template-columns:minmax(0,1fr) 65px auto}.item-row button{padding:8px 6px}}
.subtabs{display:flex;gap:8px;margin-bottom:10px}.subtabs button{background:transparent;color:#d4e5c2}.subtabs button[aria-selected=true]{background:#bed69b;color:#14211a}.player-cards{max-width:710px}

.statistics-view .shell{width:min(100% - 40px,1400px);margin-bottom:24px}.statistics-view .mast{height:54px}.statistics-view .title-row{margin:16px 0 8px;align-items:center}.statistics-view h1{font-size:23px}.statistics-view #notice{margin:4px 0;font-size:12px;min-height:0}.statistics-view .summary{display:none}.statistics-view .tabs{margin:10px 0 18px}.statistic-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.statistic-heading h2{font-size:22px;letter-spacing:-.3px;margin:0;display:flex;align-items:center;gap:12px}.statistic-heading .eyebrow{font-size:10px;color:#89ada4}.statistic-live{display:inline-flex;align-items:center;gap:6px;font-size:10px;letter-spacing:1.5px;color:#88e7bc;border:1px solid #315b49;background:#193c2d;padding:4px 9px;border-radius:30px}.statistic-live:before,.statistic-dot{content:'';display:block;width:6px;height:6px;background:#80e8b2;border-radius:50%;box-shadow:0 0 8px #80e8b244}.statistic-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0 10px}.statistic-cards>div{display:grid;gap:9px;padding:15px 18px;background:linear-gradient(140deg,#21372d,#172820);border:1px solid #354e42;border-radius:12px;position:relative;overflow:hidden}.statistic-cards>div:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:#759c83}.statistic-cards>div:first-child:before{background:#bddd8e}.statistic-cards>div:nth-child(2):before,.statistic-cards>div:nth-child(3):before{background:#7fcec4}.statistic-cards span{color:#a3b8ac;font-size:12px;white-space:nowrap}.statistic-cards strong{font-size:25px;font-weight:600;letter-spacing:-.6px;color:#eef6e7;line-height:1.15}.statistic-update{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#86a494;margin:0 0 16px}.statistic-update p{margin:0;color:#aec5b6;min-height:0}.statistic-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.65fr) minmax(0,1.1fr);gap:14px}.statistic-workspace .card{padding:16px;margin:0;border:1px solid #344c40;border-radius:12px;background:#182a22;display:flex;flex-direction:column;min-width:0;height:350px}.statistic-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;margin-bottom:12px}.statistic-section-head h2{font-size:15px;margin:0}.statistic-section-head select{width:105px;font-size:12px;min-height:32px;padding:5px 8px;margin:0;border-color:#3a5746}.statistic-readonly{font-size:10px;padding:4px 7px;border:1px solid #405749;border-radius:5px;color:#9bb5a4;white-space:nowrap}.statistic-table{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.statistic-table table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}.statistic-table th,.statistic-table td{text-align:right;padding:10px 8px;border-bottom:1px solid #2b4436}.statistic-table th:first-child,.statistic-table td:first-child{text-align:left}.statistic-table th{position:sticky;top:0;background:#20382c;color:#a9c2b0;font-weight:400;font-size:10px}.statistic-table tbody tr:hover{background:#233e30}.statistic-workspace .scroll-list{flex:1;min-height:0;max-height:none;overflow:auto;overflow-wrap:anywhere;scrollbar-width:thin;list-style:none;padding:0 4px 0 0;margin:0;font-size:12px}.statistic-workspace li{padding:11px 8px;border-bottom:1px solid #2d4438;line-height:1.55}.statistic-players-card li:before{content:'●';font-size:8px;color:#9bdc93;margin-right:8px}.statistic-chat-card li{border-left:2px solid #456753;padding-left:12px;margin-bottom:9px;border-bottom:0;background:#1e3228;border-radius:0 6px 6px 0}.statistic-chat-card #observe-status{font-size:10px;min-height:0;color:#89a391;margin:10px 0 0;line-height:1.3}.statistic-info{margin-top:12px;font-size:11px;color:#88a091}.statistic-info summary{font-size:11px;font-weight:400}.statistic-info p{line-height:1.6;max-width:900px}.statistic-info summary:after{display:none}
@media(max-width:1000px){.statistic-workspace{grid-template-columns:minmax(0,1.15fr) minmax(0,.65fr) minmax(0,1fr)}.statistic-workspace .card{padding:12px}.statistic-cards>div{padding:12px}.statistic-cards strong{font-size:21px}.statistic-section-head h2{font-size:13px}.statistic-readonly{font-size:9px}}
@media(max-width:700px){.statistics-view .shell{width:calc(100% - 24px)}.statistics-view .mast{height:48px}.statistics-view .title-row{margin:10px 0 6px}.statistics-view .title-row .eyebrow{display:none}.statistics-view h1{font-size:19px}.statistics-view .session{flex-direction:row;font-size:11px;align-items:center;gap:8px}.statistics-view .session button{font-size:11px;min-height:32px}.statistics-view .tabs{margin:6px 0 12px;padding-bottom:5px}.statistics-view .tabs button{font-size:12px;min-height:34px;padding:6px 9px}.statistic-heading h2{font-size:18px;gap:8px}.statistic-heading button{font-size:11px;padding:6px 10px;min-height:34px}.statistic-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 8px}.statistic-cards>div{padding:10px;gap:6px}.statistic-cards strong{font-size:19px}.statistic-cards span{font-size:10px}.statistic-update{display:block;font-size:10px;margin-bottom:10px}.statistic-update span{display:block;margin-top:3px}.statistic-workspace{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:9px}.statistic-history-card{grid-column:1/-1}.statistic-workspace .statistic-history-card{height:180px}.statistic-workspace .card{height:235px;padding:10px}.statistic-section-head{margin-bottom:7px;min-height:30px}.statistic-section-head h2{font-size:12px}.statistic-chat-card .statistic-section-head{flex-wrap:wrap;gap:4px}.statistic-workspace .scroll-list{font-size:11px}.statistic-workspace li{padding:7px 5px}.statistic-chat-card li{padding-left:8px}.statistic-table th,.statistic-table td{padding:7px}.statistic-info{margin-top:8px;font-size:10px}}
@media(max-height:550px) and (min-width:701px){.statistics-view .mast{height:40px}.statistics-view .title-row{margin:7px 0}.statistics-view .title-row .eyebrow{display:none}.statistics-view .tabs{margin:5px 0 10px}.statistic-cards{margin:10px 0 7px}.statistic-cards>div{padding:9px 12px;gap:4px}.statistic-update{margin-bottom:9px}.statistic-workspace .card{height:240px}}
.statistics-view #notice{display:none}.statistic-workspace .card{height:clamp(220px,38dvh,320px)}@media(max-width:700px){.statistic-workspace .card{height:205px}.statistic-workspace .statistic-history-card{height:160px}}@media(max-height:550px) and (min-width:701px){.statistic-workspace .card{height:220px}}

.monitor-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.monitor-chart{min-width:0;margin:0;padding:18px;background:linear-gradient(145deg,#20382c,#14241e);border-radius:14px}.monitor-chart h3{margin:0}.monitor-chart p,.monitor-chart small,#activity-note{font-size:12px;color:#a3b8ac}.monitor-chart svg{width:100%;display:block;overflow:visible}.activity-card{margin-bottom:14px;min-width:0}.activity-card .statistic-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.activity-card input{max-width:400px}.monitor-chat-form{display:flex;gap:8px;margin-top:8px}.monitor-chat-form input{min-width:0;flex:1;margin:0}.monitor-chat-form button{flex-shrink:0}#activity-detail{max-height:300px;overflow:auto}#activity-detail p{padding:8px;border-bottom:1px solid #344c40}.statistic-workspace .statistic-chat-card{height:380px}@media(max-width:700px){.monitor-charts{grid-template-columns:1fr}.activity-card .statistic-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.statistic-workspace{grid-template-columns:1fr}.statistic-workspace .card{height:290px}.statistic-workspace .statistic-chat-card{height:380px}}
