.tkg19-app,.tkg19-login{font-family:Arial,"Noto Sans Thai",sans-serif;max-width:720px;margin:16px auto;background:#fff;color:#153b2c;border:1px solid #dce8e0;border-radius:18px;overflow:hidden}.tkg19-top{display:flex;align-items:center;gap:16px;background:linear-gradient(125deg,#003c29,#005e32);padding:20px;color:white}.tkg19-top h2{margin:0;color:white;font-size:24px}.tkg19-top small{color:#d9eee3}.tkg19-brand{font-size:26px;font-weight:900;letter-spacing:-2px;color:#fff}.tkg19-tabs{display:flex;gap:8px;padding:12px}.tkg19-tabs a{flex:1;text-align:center;text-decoration:none;padding:12px;border-radius:10px;background:#eaf2ed;color:#005e32;font-weight:700}.tkg19-tabs a.active{background:#005e32;color:#fff}.tkg19-legend{display:flex;flex-wrap:wrap;gap:9px;padding:3px 16px 13px;font-size:11px}.tkg19-legend span:before{content:"";display:inline-block;width:10px;height:10px;margin-right:4px;border-radius:2px;background:#e8edf0}.tkg19-legend .waiting:before{background:#ffe7a1}.tkg19-legend .matched:before{background:#b5e6c8}.tkg19-legend .mismatch:before{background:#ffb5aa}.tkg19-legend .official:before{background:#86c7f2}.tkg19-card{padding:16px;border-top:1px solid #dfeae3}.tkg19-person{display:flex;gap:12px;align-items:center}.tkg19-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#d5e9dc;color:#005e32;font-size:22px;font-weight:800}.tkg19-person>div{flex:1;min-width:0}.tkg19-person small{display:block;color:#61746a}.tkg19-person strong{display:block;font-size:18px}.tkg19-pill{font-size:11px;font-weight:800;padding:5px 9px;border-radius:7px}.tkg19-pill.player{background:#d8eaff;color:#1750a2}.tkg19-pill.marker{background:#ffe6a5;color:#765000}.tkg19-meta{margin:12px 0;font-size:12px;line-height:1.6;color:#556b5d}.tkg19-scroll{overflow-x:auto;margin:12px 0;-webkit-overflow-scrolling:touch}.tkg19-grid{border-collapse:separate;border-spacing:2px;width:100%;table-layout:fixed;font-size:12px}.tkg19-grid th,.tkg19-grid td{text-align:center;padding:0;height:42px;border:0;background:#f3f6f4;min-width:28px}.tkg19-grid th:first-child{width:62px;font-size:11px;background:#e0ede5;color:#005e32}.tkg19-grid thead th{background:#e0ede5;color:#005e32}.tkg19-grid td.tkg19-waiting{background:#ffe7a1}.tkg19-grid td.tkg19-matched{background:#b5e6c8}.tkg19-grid td.tkg19-mismatch{background:#ffb5aa}.tkg19-grid td.tkg19-official{background:#86c7f2}.tkg19-score{width:100%;height:42px;border:0;background:transparent;color:#173d2a;font-weight:800;font-size:16px;cursor:pointer}.tkg19-static{font-weight:600}.tkg19-help,.tkg19-footer{font-size:12px;color:#687a70;padding:0 16px}.tkg19-footer{padding-bottom:16px}.tkg19-notice,.tkg19-alert{padding:14px;background:#fff6e3;border-radius:9px;margin:15px}.tkg19-dialog{border:0;border-radius:16px;padding:22px;max-width:360px;width:calc(100% - 28px);box-shadow:0 20px 70px #0005}.tkg19-dialog::backdrop{background:#0009}.tkg19-dialog h3{margin:0 0 8px;color:#005e32}.tkg19-dialog input[type=number]{width:100%;box-sizing:border-box;padding:12px;margin:8px 0;font-size:22px;border:1px solid #aac5b3;border-radius:8px}.tkg19-keypad{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.tkg19-keypad button{padding:13px 0;border:1px solid #c9ddd0;background:#f0f6f2;color:#005e32;border-radius:8px;font-weight:700}.tkg19-actions{display:flex;gap:8px}.tkg19-actions button{flex:1;border:0;padding:13px;border-radius:9px;background:#005e32;color:white;font-weight:700}.tkg19-actions .tkg19-cancel{background:#e8efeb;color:#23513a}.tkg19-login-hero{min-height:180px;background:linear-gradient(#004c34aa,#004c34aa),linear-gradient(120deg,#9fbd9c,#005e32);display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;text-align:center}.tkg19-login-hero h2{color:white;font-size:19px;letter-spacing:3px}.tkg19-logo{font-size:58px;font-weight:900}.tkg19-login-form{padding:25px}.tkg19-login-form input[type=text],.tkg19-login-form input[type=password]{width:100%;box-sizing:border-box}.tkg19-login-form input[type=submit]{background:#005e32;color:white;border:0;padding:12px 30px;border-radius:7px}@media(max-width:500px){.tkg19-app{margin:0;border-radius:0;border:0}.tkg19-card{padding:10px}.tkg19-grid{font-size:11px}.tkg19-grid th:first-child{width:52px}.tkg19-grid th,.tkg19-grid td{height:38px}.tkg19-score{height:38px;font-size:15px}}
