@import "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap";
:root{--red:#ec1c24;--red-dark:#be1018;--red-soft:#fff1f1;--ink:#201e21;--muted:#736f72;--line:#e5e1e2;--paper:#fff;--canvas:#f6f5f5;--green:#159447;--green-soft:#eaf8ef;--gold:#c7951e;--shadow:0 12px 32px #25181c14}*{box-sizing:border-box;margin:0;padding:0}html{background:var(--canvas);min-height:100%}body{background:var(--canvas);min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;font-family:Noto Sans Thai,Tahoma,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.site-header{z-index:30;color:#fff;background:var(--red);align-items:center;gap:24px;min-height:76px;padding:0 36px;display:flex;position:sticky;top:0;box-shadow:0 2px 12px #690a1124}.brand{align-items:center;gap:12px;min-width:240px;display:flex}.brand-mark{color:#fff;border:2px solid #ffffffd9;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.brand-logo{object-fit:cover;border-radius:6px;width:220px;height:40px;display:block}.brand-lockup{justify-items:start;gap:5px;display:grid}.brand-subtitle{color:var(--muted);font-size:11px}.brand-text strong{font-size:19px;line-height:1.1;display:block}.brand-text span{color:#ffffffb8;margin-top:2px;font-size:11px;display:block}.header-nav{flex:1;align-items:center;gap:5px;height:100%;display:flex}.nav-link{color:#ffffffdb;white-space:nowrap;border-radius:10px;align-items:center;gap:8px;height:42px;padding:0 14px;font-size:14px;font-weight:600;transition:background .2s,color .2s;display:inline-flex}.nav-link:hover,.nav-link.active{color:#fff;background:#ffffff26}.header-actions{align-items:center;gap:10px;display:flex}.icon-button{color:#fff;background:0 0;border:0;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.icon-button:hover{background:#ffffff24}.account-menu{border-left:1px solid #ffffff4d;align-items:center;gap:9px;padding-left:12px;display:flex}.avatar{width:38px;height:38px;color:var(--red);background:#fff;border:2px solid #fff;border-radius:50%;place-items:center;font-weight:800;display:grid}.account-copy strong{font-size:13px;line-height:1.2;display:block}.account-copy span{color:#ffffffb3;font-size:11px;display:block}.page-shell{width:min(1180px,100% - 48px);margin:0 auto;padding:34px 0 72px}@media (min-width:1280px){.page-shell:not(.entry-page-shell){width:min(1680px,100% - 64px)}}@media (min-width:1600px){.page-shell:not(.entry-page-shell){padding-top:42px}.page-shell:not(.entry-page-shell) .page-heading h1{font-size:38px}.page-shell:not(.entry-page-shell) .page-heading p{font-size:15px}.page-shell:not(.entry-page-shell) .card-header{padding:22px 26px}.page-shell:not(.entry-page-shell) .card-body{padding:26px}.page-shell:not(.entry-page-shell) .stat-value{font-size:29px}}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.eyebrow{color:var(--red);align-items:center;gap:8px;font-size:13px;font-weight:800;display:flex}.page-heading h1{letter-spacing:-.6px;margin-top:5px;font-size:clamp(25px,3vw,34px)}.page-heading p{color:var(--muted);margin-top:5px;font-size:14px}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 18px;font-size:14px;font-weight:700;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button.primary{color:#fff;background:var(--red);box-shadow:0 6px 14px #ec1c242e}.button.primary:hover{background:var(--red-dark)}.button.secondary{color:var(--ink);border-color:var(--line);background:#fff}.button.green{color:#fff;background:var(--green)}.button:disabled{cursor:not-allowed;opacity:.5;transform:none}.card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:16px}.card-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.card-header h2{font-size:17px}.card-header p{color:var(--muted);margin-top:3px;font-size:12px}.card-body{padding:22px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px;display:grid}.credit-summary-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px;display:grid}.credit-stat{isolation:isolate;min-width:0;padding:18px;position:relative;overflow:hidden}.credit-stat:after{background:var(--red-soft);content:"";border-radius:50%;width:100px;height:100px;position:absolute;bottom:-30px;right:-22px}.credit-admin-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);align-items:start;gap:22px;display:grid}.credit-admin-card .card-header,.credit-history-card .card-header{align-items:flex-start}.credit-form{gap:16px;display:grid}.credit-selected{color:#8f6569;background:#fff8f8;border:1px solid #f0c5c8;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;font-size:12px;display:flex}.credit-selected strong{color:#8f171f;font-size:20px}.segment.danger.active{border-color:var(--red);color:#fff;background:var(--red)}.button.danger{color:#fff;background:var(--red-dark);box-shadow:0 6px 14px #be101829}.button.danger:hover{background:#980d14}.form-help{color:var(--muted);font-size:11px;line-height:1.5}.credit-balance-cell{color:#8f171f;font-size:16px;font-weight:800}.selected-row{background:#fff6f6}.credit-history-card{margin-top:22px}.credit-topup-amount{color:var(--green);font-weight:800}.credit-debit{color:#b21d25;font-weight:800}.stat-card{isolation:isolate;min-width:0;padding:18px;position:relative;overflow:hidden}.stat-card:after{background:var(--red-soft);content:"";border-radius:50%;width:90px;height:90px;position:absolute;bottom:-28px;right:-20px}.stat-icon{width:36px;height:36px;color:var(--red);background:var(--red-soft);border-radius:10px;place-items:center;display:grid}.stat-label{color:var(--muted);margin-top:15px;font-size:12px}.stat-value{overflow-wrap:anywhere;margin-top:2px;font-size:26px;font-weight:800}.stat-note{color:var(--green);margin-top:3px;font-size:11px;font-weight:600}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:22px;display:grid}.dashboard-filter{margin-bottom:22px}.dashboard-filter-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.dashboard-filter-heading h2{font-size:17px}.dashboard-filter-heading p{color:var(--muted);margin-top:3px;font-size:12px}.dashboard-filter-controls{flex-wrap:wrap;align-items:flex-end;gap:12px;padding:18px 22px 0;display:flex}.dashboard-mode-tabs{background:#fff;border:1px solid #e8a3a7;border-radius:10px;min-height:44px;display:flex;overflow:hidden}.dashboard-mode-tabs button{color:#9d3a41;background:#fff;border:0;border-right:1px solid #f0c4c7;min-width:104px;padding:0 14px;font-size:12px;font-weight:800}.dashboard-mode-tabs button:last-child{border-right:0}.dashboard-mode-tabs button.active{color:#fff;background:var(--red)}.dashboard-date-field{min-width:170px;color:var(--muted);gap:5px;font-size:11px;font-weight:700;display:grid}.dashboard-date-field .input{height:44px}.dashboard-filter-help{margin-top:12px;padding:0 22px 18px}.dashboard-summary-grid{grid-template-columns:1fr;gap:22px;margin-top:22px;display:grid}.dashboard-summary-grid.admin{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid>.card,.dashboard-summary-grid>.card,.dashboard-summary-card{min-width:0}.dashboard-summary-card .card-body{padding-top:14px}.dashboard-card-action{min-height:34px;color:var(--red);border-radius:8px;flex:none;align-items:center;gap:4px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.dashboard-card-action:hover{background:var(--red-soft)}.dashboard-card-action:focus-visible,.dashboard-mode-tabs button:focus-visible{outline-offset:2px;outline:3px solid #ec1c2459}.icon-button:focus-visible{outline-offset:2px;outline:3px solid #ffffffb3}.exposure-card{min-width:0;max-width:100%;margin-top:22px}.exposure-card .card-body{min-width:0}.exposure-card-header{align-items:flex-start}.exposure-card-header h2{margin-top:5px;font-size:20px}.exposure-filters{grid-template-columns:auto minmax(250px,1.25fr) auto minmax(150px,.7fr) auto;align-items:end;gap:10px;display:grid}.exposure-lottery-tabs,.exposure-category-tabs{background:#fff;border:1px solid #e8a3a7;border-radius:10px;min-height:44px;display:flex;overflow:hidden}.exposure-lottery-tabs button,.exposure-category-tabs button{color:#9d3a41;background:#fff;border:0;border-right:1px solid #f0c4c7;min-width:82px;padding:0 12px;font-size:11px;font-weight:800}.exposure-lottery-tabs button:last-child,.exposure-category-tabs button:last-child{border-right:0}.exposure-lottery-tabs button.active,.exposure-category-tabs button.active{color:#fff;background:var(--red)}.exposure-search{color:#9b7d80;background:#fff;border:1px solid #ddd6d8;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:0 12px;display:flex}.exposure-search:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #ec1c2414}.exposure-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:12px}.exposure-refresh{border-radius:10px;min-height:44px}.exposure-summary-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px;display:grid}.exposure-stat{background:snow;border:1px solid #ece6e7;border-radius:12px;align-items:center;gap:12px;min-height:92px;padding:14px;display:flex}.exposure-stat.danger{background:#fff3f3;border-color:#f0b3b6}.exposure-stat-icon{width:36px;height:36px;color:var(--red);background:var(--red-soft);border-radius:10px;flex:none;place-items:center;display:grid}.exposure-stat>div{gap:2px;min-width:0;display:grid}.exposure-stat span,.exposure-stat small{color:var(--muted);font-size:10px}.exposure-stat strong{color:#72191f;font-size:20px}.exposure-message{margin-top:14px}.exposure-message.success{color:#126f38;background:#eaf8ef;border-color:#b8e4c8}.exposure-note{color:#7e631f;background:#fff9e7;border-radius:10px;align-items:flex-start;gap:8px;margin-top:14px;padding:11px 13px;font-size:10px;line-height:1.55;display:flex}.exposure-note svg{flex:none;margin-top:1px}.exposure-table-wrap{scrollbar-gutter:stable;border:1px solid #eee7e8;border-radius:12px;width:100%;max-width:100%;max-height:560px;margin-top:14px;overflow:auto}.exposure-table{min-width:1120px}.exposure-table thead{z-index:2;position:sticky;top:0}.exposure-table th{white-space:nowrap}.exposure-table td{vertical-align:middle}.exposure-table th:first-child,.exposure-table td:first-child{z-index:1;background:var(--paper);position:sticky;left:0;box-shadow:1px 0 #eee7e8}.exposure-table th:first-child{z-index:3;background:#fbfafa}.exposure-table tr:hover td:first-child{background:snow}.exposure-table tr.highest-risk-row td:first-child{background:#fff3f3}.exposure-table td small{color:var(--muted);margin-top:2px;font-size:9px;display:block}.exposure-table tr.highest-risk-row{background:#fff3f3}.exposure-number{color:#8c1b23;letter-spacing:2px;font-size:17px;display:block}.exposure-liability{color:#b20f18;white-space:nowrap}.exposure-actions{gap:5px;display:flex}.exposure-actions button{color:#6c6265;white-space:nowrap;background:#fff;border:1px solid #e4dadd;border-radius:8px;justify-content:center;align-items:center;gap:3px;min-height:30px;padding:0 8px;font-size:9px;font-weight:800;display:inline-flex}.exposure-actions button.half{color:#8a6718;background:#fffaf0;border-color:#e8d18e}.exposure-actions button.block{color:#b01c24;background:#fff5f5;border-color:#eaa4a8}.exposure-actions button:disabled{cursor:not-allowed;opacity:.4}.exposure-empty{color:#91888a;border:1px dashed #e3d9db;border-radius:12px;place-items:center;min-height:150px;margin-top:14px;font-size:12px;display:grid}.summary-amount{color:var(--green);font-weight:800}.draw-banner{color:#fff;background:linear-gradient(112deg,#bb1018,#ed1d25);border-radius:13px;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex}.draw-banner small{color:#ffffffb8}.draw-banner strong{margin-top:3px;font-size:20px;display:block}.draw-date{color:#8a2020;background:#ffe3b1;border-radius:10px;place-items:center;min-width:100px;padding:9px 13px;font-size:13px;font-weight:800;display:grid}.recent-list{gap:0;display:grid}.recent-row{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:14px 0;display:flex}.recent-row:last-child{border-bottom:0}.row-icon{width:36px;height:36px;color:var(--red);background:var(--red-soft);border-radius:10px;flex:none;place-items:center;display:grid}.row-copy{flex:1;min-width:0}.row-copy strong{font-size:14px;display:block}.row-copy span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;display:block;overflow:hidden}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:5px;min-height:24px;padding:0 9px;font-size:11px;font-weight:700;display:inline-flex}.badge.red{color:var(--red);background:var(--red-soft)}.badge.green{color:#126f38;background:var(--green-soft)}.badge.gold{color:#836011;background:#fff6d8}.badge.gray{color:#6a6668;background:#f0eeee}.notice{color:#8f3538;background:var(--red-soft);border:1px solid #f1c1c3;border-radius:11px;align-items:flex-start;gap:10px;padding:13px 15px;font-size:12px;line-height:1.55;display:flex}.workspace-grid{grid-template-columns:1fr 330px;align-items:start;gap:22px;display:grid}.entry-page-shell{width:min(1220px,100% - 42px);padding-top:20px}.entry-station{color:#67171d}.entry-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.entry-back{color:#8d2027;align-items:center;gap:8px;font-size:14px;font-weight:800;display:inline-flex}.entry-toolbar-tabs{background:#fff;border:1px solid #f1a2a6;border-radius:999px;gap:2px;padding:1px;display:flex}.entry-toolbar-tab{color:#a33b42;background:0 0;border:0;border-radius:999px;align-items:center;gap:7px;min-height:40px;padding:0 22px;font-size:13px;font-weight:800;display:inline-flex}.entry-toolbar-tab.active{color:#fff;background:var(--red);box-shadow:0 4px 12px #ec1c2433}.entry-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;display:grid}.entry-console,.bet-slip{background:#fff;border:1px solid #e7c6c9;border-radius:14px;box-shadow:0 8px 22px #74161e0f}.entry-mode-tabs{border-bottom:1px solid #f1b1b4;border-radius:13px 13px 0 0;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.entry-mode-tab{color:#7c2028;background:#fff;border:0;min-height:70px;font-size:18px;font-weight:800}.entry-mode-tab+.entry-mode-tab{border-left:1px solid #f1b1b4}.entry-mode-tab.active{color:#fff;background:var(--red)}.entry-context{justify-content:space-between;align-items:end;gap:16px;padding:18px 24px 0;display:flex}.entry-context .field{flex:1;max-width:420px}.entry-context-note{color:#8d7073;border:1px solid #f0d6d8;border-radius:10px;align-items:center;gap:10px;min-height:44px;padding:0 14px;font-size:12px;display:flex}.entry-context-note strong{color:#b21d25}.entry-customer-fields{flex:1;gap:10px;min-width:0;display:grid}.customer-entry-row{grid-template-columns:minmax(0,1.1fr) minmax(170px,.75fr);gap:10px;display:grid}.customer-lookup-wrap{color:#9b7c7f;background:#fff;border:1px solid #e3a3a7;border-radius:10px;align-items:center;min-height:44px;display:flex;position:relative}.customer-lookup-wrap>svg{flex:none;margin-left:13px}.customer-lookup-wrap .input{height:42px;box-shadow:none;border:0;padding:0 38px 0 9px}.customer-lookup-wrap .input:focus{box-shadow:none}.customer-clear-button{color:#a32f37;background:0 0;border:0;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:absolute;right:6px}.customer-clear-button:hover{background:#fff0f1}.customer-suggestion-list{z-index:15;background:#fff;border:1px solid #efc1c4;border-radius:11px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden;box-shadow:0 12px 28px #3d121729}.customer-suggestion-list button{color:#8f252c;text-align:left;background:#fff;border:0;border-bottom:1px solid #f3e3e4;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 13px;display:flex}.customer-suggestion-list button:last-child{border-bottom:0}.customer-suggestion-list button:hover{background:#fff5f5}.customer-suggestion-list button>span:first-child{gap:2px;min-width:0;display:grid}.customer-suggestion-list strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-suggestion-list small,.customer-suggestion-list button>span:last-child{color:var(--muted);font-size:10px}.customer-suggestion-list button>span:last-child{color:var(--red);flex:none;font-weight:800}.customer-suggestion-empty{color:var(--muted);padding:12px 13px;font-size:11px;line-height:1.5}.selected-customer-note{color:#126f38;background:var(--green-soft);border-radius:9px;align-items:flex-start;gap:7px;padding:9px 11px;font-size:11px;line-height:1.45;display:flex}.selected-customer-note svg{flex:none;margin-top:1px}.panel-picker,.keypad-picker{padding:22px 24px 26px}.entry-section-title{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.entry-section-title h2{color:#6f171e;font-size:20px}.entry-section-title p{color:#7b8b95;font-size:12px}.choice-row{border-bottom:1px solid #dce5ea;grid-template-columns:repeat(4,1fr);gap:10px;padding-bottom:18px;display:grid}.choice-button{color:#a33b42;background:#fff;border:1px solid #ef9fa4;border-radius:999px;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:0 14px;font-size:13px;font-weight:800;display:flex}.choice-button small{color:#bd6c71;font-size:11px}.choice-button.active{color:#7b151b;background:#ffd5d8;border-color:#ffd5d8}.choice-button.active small{color:#9d3036}.choice-button.unavailable,.keypad-type.unavailable{cursor:not-allowed;color:#9b9b9b;opacity:.78;background:#f6f6f6;border-color:#dedede}.choice-button.unavailable small,.keypad-type.unavailable small{color:#a6a6a6}.range-heading{justify-content:space-between;align-items:center;margin-top:18px;display:flex}.range-heading h3{color:#74191f;font-size:16px}.range-heading span{color:#7c8f9d;font-size:12px}.range-row{grid-template-columns:repeat(10,1fr);gap:8px;margin:10px 0 15px;display:grid}.range-chip{color:#a9afb3;background:#f4f4f4;border:1px solid #d3d7da;border-radius:999px;min-height:38px;font-size:13px;font-weight:800}.range-chip.active,.range-chip:hover{color:#aa2028;background:#fff0f1;border-color:#ef9da2}.search-row{gap:10px;margin-bottom:18px;display:flex}.search-box{color:#9b7c7f;border:1px solid #e3a3a7;border-radius:999px;flex:1;align-items:center;gap:9px;min-height:44px;padding:0 13px;display:flex}.search-box input{color:#713036;background:0 0;border:0;outline:0;width:100%;font-size:13px;font-weight:700}.outline-button{color:#a32f37;background:#fff;border:1px solid #e59da2;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 15px;font-size:12px;font-weight:800;display:inline-flex}.outline-button:hover{background:#fff3f3}.outline-button.active{color:#7b151b;background:#ffd5d8;border-color:#ffd5d8;box-shadow:0 0 0 2px #ec1c2414}.outline-button.compact{min-height:36px;padding:0 12px}.number-grid{grid-template-columns:repeat(10,1fr);gap:9px;max-height:500px;padding:2px 2px 3px;display:grid;overflow-y:auto}.number-tile{color:#a8adb1;background:#f6f6f6;border:1px solid #d2d5d7;border-radius:999px;min-height:46px;font-size:13px;font-weight:800;transition:all .15s}.number-tile:hover,.number-tile:focus-visible{color:#a51e26;background:#fff0f1;border-color:#ee9da2;transform:translateY(-1px)}.number-tile:disabled,.keypad-key:disabled{cursor:not-allowed;opacity:.42;transform:none}.keypad-layout{grid-template-columns:minmax(260px,.9fr) minmax(300px,1fr);align-items:start;gap:32px;display:grid}.keypad-layout.unavailable{grid-template-columns:1fr}.keypad-types{grid-template-columns:1fr 1fr;gap:10px;display:grid}.keypad-unavailable-note{color:#7a5e20;background:#fff8e4;border:1px solid #e9d49b;border-radius:12px;margin:0 0 14px;padding:11px 13px;font-size:12px;line-height:1.5}.keypad-type{color:#a33b42;background:#fff;border:1px solid #ef9fa4;border-radius:999px;min-height:58px;padding:8px 12px;font-size:13px;font-weight:800}.keypad-type span,.keypad-type small{display:block}.keypad-type small{color:#bd777b;margin-top:2px;font-size:11px;font-weight:600}.keypad-type.active{color:#7b151b;background:#ffd5d8;border-color:#ffd5d8}.keypad-type.active small{color:#9d3036}.keypad-helper{color:#a33b42;text-align:left;background:#fff;border:1px solid #ef9fa4;border-radius:999px;grid-column:1/-1;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:52px;padding:8px 15px;font-size:13px;font-weight:800;display:grid}.keypad-helper small{color:#bd777b;font-size:10px;font-weight:600}.keypad-helper.active{color:#7b151b;background:#ffd5d8;border-color:#ffd5d8}.keypad-helper.active small{color:#9d3036}.keypad-area{justify-items:center;display:grid}.digit-display{gap:10px;min-height:60px;margin-bottom:18px;display:flex}.digit-display span{color:#ae252d;background:#fff3f3;border:2px solid #efa0a4;border-radius:9px;place-items:center;width:56px;height:60px;font-size:26px;font-weight:800;display:grid}.digit-display span:not(.filled){background:#fff}.keypad-grid{grid-template-columns:repeat(3,74px);gap:11px;display:grid}.keypad-key{color:#ad3d45;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #ed9ba0;border-radius:50%;place-items:center;width:74px;height:74px;font-size:22px;font-weight:800;transition:transform .12s,background .15s,border-color .15s,color .15s;display:grid}.keypad-key:active:not(:disabled){color:#fff;background:var(--red);border-color:var(--red);transform:scale(.95)}@media (hover:hover) and (pointer:fine){.keypad-key:hover{color:#fff;background:var(--red);border-color:var(--red)}}.keypad-key.utility{font-size:15px}.keypad-add{width:100%;margin-top:17px}.entry-customer-toggle,.mobile-stake-panel,.mobile-entry-dock{display:none}.entry-message{color:#8f3538;background:var(--red-soft);border:1px solid #f1c1c3;border-radius:10px;margin:0 24px 22px;padding:12px 14px;font-size:12px}.entry-message.success{color:#126f38;background:#eaf8ef;border-color:#b8e4c8}.entry-rules-panel{color:#6f171e;background:linear-gradient(snow 0%,#fff 100%);padding:24px}.entry-rules-heading{border-bottom:1px solid #f1d9da;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;display:flex}.entry-rules-heading h2{margin-top:5px;font-size:22px}.entry-rules-heading p{color:#8a7779;margin-top:5px;font-size:12px}.entry-rule-summary{color:#6e4a4e;background:#fff;border:1px solid #f0d7d8;border-radius:12px;margin-top:18px;padding:15px 16px;font-size:13px;line-height:1.65}.entry-rule-summary strong,.entry-rule-rates>strong,.entry-rule-notes strong{color:#8f171f;font-size:13px;display:block}.entry-rule-summary p{margin-top:5px}.entry-rule-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px;display:grid}.entry-rule-item{background:#fff;border:1px solid #f1dddd;border-radius:11px;gap:5px;padding:13px;display:grid}.entry-rule-item span{color:#9e7e80;font-size:11px}.entry-rule-item strong{color:#72191f;font-size:15px}.entry-rule-rates,.entry-rule-notes{border-top:1px solid #f1d9da;margin-top:18px;padding-top:15px}.entry-rule-rates>div{flex-wrap:wrap;gap:8px;margin-top:9px;display:flex}.entry-rule-rates span{color:#8a3b42;background:#fff0f1;border-radius:999px;padding:7px 10px;font-size:11px}.entry-rule-rates b{color:#b31d26;margin-left:4px}.entry-rule-notes p{color:#8a7779;margin-top:5px;font-size:12px}.entry-rule-lock-note,.lock-banner{color:#7e631f;background:#fff9e7;border:1px solid #edd9a5;border-radius:10px;align-items:flex-start;gap:8px;margin-top:18px;padding:11px 13px;font-size:11px;line-height:1.5;display:flex}.bet-slip{overflow:hidden}.bet-slip-header{border-bottom:1px solid #dbe3e8;justify-content:space-between;align-items:center;gap:10px;padding:20px 22px;display:flex}.bet-slip-header h2{color:#6f171e;font-size:20px}.bet-slip-header>div{align-items:center;gap:8px;display:flex}.ocr-cart-source{color:#176e3e;background:#effaf3;border:1px solid #b9dfc9;border-radius:12px;align-items:flex-start;gap:10px;margin:14px 18px 0;padding:12px 14px;display:flex}.ocr-cart-source svg{flex:none;margin-top:1px}.ocr-cart-source div{gap:2px;display:grid}.ocr-cart-source strong{font-size:13px}.ocr-cart-source span{color:#587568;font-size:11px;line-height:1.45}.circle-button{color:#fff;background:var(--red);border:0;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.empty-slip{color:#92a0a8;text-align:center;justify-items:center;gap:6px;padding:55px 20px;display:grid}.empty-slip svg{color:#efb0b4}.empty-slip p{color:#7b3439;font-size:14px;font-weight:800}.empty-slip span{font-size:11px}.bet-list{max-height:330px;padding:8px 22px;overflow-y:auto}.bet-row{border-bottom:1px solid #e2e8eb;grid-template-columns:minmax(76px,1fr) 82px 78px 25px;align-items:center;gap:6px;padding:12px 0;display:grid}.bet-main{gap:3px;min-width:0;display:grid}.bet-main>div{align-items:center;gap:7px;min-width:0;display:flex}.bet-row strong{color:#6f171e;letter-spacing:1px;min-width:35px;font-size:15px}.bet-row span{color:#728391;font-size:11px}.bet-main small{color:#8a6d70;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:700;overflow:hidden}.bet-main small.half{color:#a87510}.bet-main small.split-detail{color:#9a4f55;text-overflow:clip;white-space:normal;line-height:1.35;overflow:visible}.bet-row.split-stake{padding-top:14px;padding-bottom:14px}.bet-amount-editor{background:#fff;border:1px solid #e59da2;border-radius:999px;align-items:center;min-height:32px;display:flex;overflow:hidden}.bet-amount-editor span{color:#a32f37;border-right:1px solid #efc0c3;align-self:stretch;place-items:center;width:23px;font-size:10px;font-weight:800;display:grid}.bet-amount-editor input{color:#159447;text-align:center;background:0 0;border:0;outline:0;width:57px;min-width:0;padding:0 4px;font-size:11px;font-weight:800}.bet-amount-editor:focus-within{border-color:var(--red);box-shadow:0 0 0 2px #ec1c2414}.bet-payout-preview{justify-items:end;gap:1px;min-width:0;display:grid}.bet-payout-preview span{color:#81909a;font-size:9px}.bet-payout-preview strong{min-width:0;max-width:100%;color:var(--green);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.bet-payout-preview.half strong{color:#a87510}.bet-row button{color:#fff;background:#ff6b6f;border:0;border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.stake-panel{border-top:1px solid #e1e7ea;border-bottom:1px solid #e1e7ea;margin:10px 22px 0;padding:16px 0}.stake-panel label{color:#738591;margin-bottom:7px;font-size:12px;font-weight:700;display:block}.stake-input{color:#a32f37;border:1px solid #e59da2;border-radius:999px;align-items:center;min-height:44px;display:flex;overflow:hidden}.stake-input span{border-right:1px solid #e59da2;place-items:center;width:45px;height:44px;font-weight:800;display:grid}.stake-input input{color:#7b252c;background:#fff;border:0;outline:0;width:100%;padding:0 12px;font-size:14px;font-weight:800}.stake-chips{gap:8px;margin-top:10px;display:flex}.stake-chips button{color:#a43a42;background:#fff;border:1px solid #e8a3a7;border-radius:999px;flex:1;min-height:34px;font-size:11px}.stake-chips button.active,.stake-chips button:hover{color:#fff;background:var(--red)}.slip-total{gap:10px;padding:18px 22px 4px;display:grid}.slip-total-line{justify-content:space-between;align-items:center;gap:10px;display:flex}.slip-total span{color:#778995;font-size:12px}.slip-total strong{color:#731c22;font-size:18px}.credit-summary{background:#fff8f8;border:1px solid #f0c3c6;border-radius:12px;padding:12px 14px}.credit-summary.empty{background:#fff0f1;border-color:#ef9ba0}.credit-summary-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.credit-summary-heading>div{gap:3px;display:grid}.credit-summary-heading span{color:#946b6f;font-size:12px}.credit-summary-heading strong{color:#8f171f;font-size:20px}.credit-summary-heading svg{color:var(--red)}.credit-summary-meta{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.credit-summary-meta small{color:#a4777b;font-size:10px;line-height:1.4}.credit-topup{color:#a0252d;white-space:nowrap;background:#fff;border:1px solid #efa2a6;border-radius:999px;align-items:center;gap:4px;min-height:28px;padding:0 9px;font-size:10px;font-weight:800;display:inline-flex}.credit-topup:hover{color:#fff;background:var(--red)}.credit-warning{color:#ae2028;align-items:center;gap:5px;margin-top:9px;font-size:11px;font-weight:800;display:flex}.slip-actions{grid-template-columns:1fr 1fr;gap:10px;padding:18px 22px 22px;display:grid}.slip-actions .button{min-height:48px;padding:0 10px}.form-grid{grid-template-columns:repeat(2,1fr);gap:15px;display:grid}.field{gap:7px;min-width:0;display:grid}.field.full{grid-column:1/-1}.field label{color:#4c4749;font-size:12px;font-weight:700}.field-optional{color:var(--muted);font-size:10px;font-weight:500}.input,.select{width:100%;min-width:0;max-width:100%;height:44px;color:var(--ink);background:#fff;border:1px solid #d9d4d5;border-radius:10px;outline:none;padding:0 13px;font-size:14px}input:is([type=date],[type=time],[type=datetime-local]){text-align:center;appearance:none;min-inline-size:0;max-inline-size:100%;display:block;position:relative}input::-webkit-date-and-time-value{text-align:center;justify-content:center;align-items:center;min-width:0;height:100%;display:flex}input:is([type=date],[type=time],[type=datetime-local])::-webkit-datetime-edit{text-align:center;width:100%;padding:0}input:is([type=date],[type=time],[type=datetime-local])::-webkit-calendar-picker-indicator{margin:0;position:absolute;inset-inline-end:13px}.input:focus,.select:focus{border-color:var(--red);box-shadow:0 0 0 3px #ec1c241a}.input.number{text-align:center;letter-spacing:2px;font-size:21px;font-weight:800}.segmented{flex-wrap:wrap;gap:7px;display:flex}.segment{color:#656063;background:#fff;border:1px solid #ded9da;border-radius:9px;min-height:37px;padding:0 13px;font-size:12px;font-weight:700}.segment.active{border-color:var(--red);color:#fff;background:var(--red)}.amount-row{flex-wrap:wrap;gap:7px;display:flex}.amount-chip{color:#655d60;background:#fff;border:1px solid #dfd8d9;border-radius:8px;min-height:32px;padding:0 10px;font-size:12px;font-weight:700}.amount-chip.selected,.amount-chip:hover{border-color:var(--red);color:var(--red);background:var(--red-soft)}.section-divider{border:0;border-top:1px solid var(--line);margin:22px 0}.action-row{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.side-stack{gap:16px;display:grid}.summary-total{color:#fff;background:#252126;border-radius:13px;justify-content:space-between;align-items:flex-end;padding:18px;display:flex}.summary-total span{color:#ffffffa6;font-size:12px}.summary-total strong{margin-top:2px;font-size:27px;display:block}.summary-list{gap:0;margin-top:10px;display:grid}.summary-line{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:11px 0;font-size:12px;display:flex}.summary-line:last-child{border-bottom:0}.summary-line span{color:var(--muted)}.table-wrap{width:100%;max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:680px}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:14px 12px;font-size:12px}th{color:#898183;letter-spacing:.3px;background:#fbfafa;font-size:11px;font-weight:800}tbody tr:hover{background:snow}.dashboard-table-wrap{overflow:visible}.dashboard-table{table-layout:fixed;min-width:0}.dashboard-table th,.dashboard-table td{padding:12px 10px}.dashboard-table th:nth-child(2),.dashboard-table td:nth-child(2){text-align:center}.dashboard-table th:last-child,.dashboard-table td:last-child{text-align:right}.dashboard-table-subtext{color:var(--muted);margin-top:3px;font-size:10px;font-weight:500;display:block}.dashboard-type-table th:first-child,.dashboard-type-table td:first-child{width:52%}.dashboard-type-table th:nth-child(2),.dashboard-type-table td:nth-child(2){width:20%}.dashboard-type-table th:last-child,.dashboard-type-table td:last-child{width:28%}.dashboard-user-table th:first-child,.dashboard-user-table td:first-child{width:50%}.dashboard-user-table th:nth-child(2),.dashboard-user-table td:nth-child(2){width:20%}.dashboard-user-table th:last-child,.dashboard-user-table td:last-child{width:30%}.number-cell{color:var(--red);letter-spacing:1px;font-size:16px;font-weight:800}.user-summary-grid{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px;display:grid}.user-filter-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.user-filter-bar>.select{width:auto;min-width:150px}.user-search-field{flex:280px;align-items:center;gap:8px;min-width:220px;display:flex}.user-search-field>svg{color:var(--muted);flex:none}.user-search-field .input{flex:1}.compact-button{min-height:34px;padding:0 11px;font-size:11px}.user-email,.user-id{color:var(--muted);margin-top:3px;font-size:10px;display:block}.user-id{text-overflow:ellipsis;white-space:nowrap;max-width:230px;overflow:hidden}.success-notice{color:#126f38;background:var(--green-soft);border:1px solid #b8e4c8;border-radius:11px;align-items:flex-start;gap:9px;padding:13px 15px;font-size:12px;line-height:1.55;display:flex}.user-edit-card,.user-audit-card{margin-top:18px}.audit-list{gap:0;display:grid}.audit-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,1.2fr) minmax(150px,.8fr) minmax(180px,1fr);align-items:center;gap:14px;padding:13px 0;display:grid}.audit-row:last-child{border-bottom:0}.audit-row strong,.audit-row small{display:block}.audit-row small,.audit-meta{color:var(--muted);font-size:10px;line-height:1.5}.audit-row .badge+.badge{margin-left:5px}.audit-log-card{margin-top:22px}.audit-log-filter{justify-content:space-between;align-items:center;margin-bottom:16px}.audit-log-filter .select{min-width:220px}.audit-log-filter .badge{align-items:center;gap:5px;display:inline-flex}.audit-log-table-wrap{border:1px solid #eee5e6;border-radius:12px;max-height:620px}.audit-log-table{width:100%}.audit-log-table th,.audit-log-table td{vertical-align:top}.audit-log-table td small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.audit-log-entity{color:var(--muted);font-size:10px}.audit-log-empty{min-height:180px;color:var(--muted);text-align:center;place-items:center;gap:5px;display:grid}.audit-log-empty strong{color:var(--ink)}.accounting-report-card{margin-top:22px}.accounting-report-filters{grid-template-columns:minmax(230px,1.3fr) repeat(2,minmax(180px,1fr)) auto;align-items:end;gap:12px;display:grid}.accounting-report-filter-action{display:flex}.accounting-report-filter-action .button{white-space:nowrap}.accounting-report-note{color:#80651f;background:#fffaf0;border:1px solid #eee0b9;border-radius:10px;margin-top:16px;padding:11px 13px;font-size:11px;line-height:1.55}.accounting-kpi-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px;display:grid}.accounting-kpi{background:snow;border:1px solid #eee4e5;border-radius:13px;padding:15px}.accounting-kpi.negative{background:#fff7f7}.accounting-kpi.unassigned{background:#fffaf0;border-color:#ead79b}.accounting-kpi.positive{background:#f6fcf8;border-color:#cce8d5}.accounting-kpi-heading{color:#8a7b7e;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.accounting-kpi-heading svg{color:var(--red)}.accounting-kpi strong{color:#8f171f;margin-top:7px;font-size:22px;line-height:1.2;display:block}.accounting-kpi.positive strong{color:#147c3d}.accounting-kpi.unassigned strong{color:#8a6816}.accounting-kpi small{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.4;display:block}.accounting-report-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-top:28px;margin-bottom:12px;display:flex}.accounting-report-section-heading h3{font-size:16px}.accounting-report-section-heading p{color:var(--muted);margin-top:3px;font-size:11px}.accounting-table-wrap{border:1px solid #eee5e6;border-radius:12px}.accounting-table{min-width:980px}.accounting-table th,.accounting-table td{vertical-align:top}.accounting-table td small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.accounting-profit-positive{color:#147c3d;font-weight:800}.accounting-profit-negative{color:#b21d25;font-weight:800}.accounting-unassigned-notice{color:#80651f;background:#fffaf0;border-color:#ead79b;margin-top:16px}@media (max-width:1100px){.accounting-report-card{min-width:0;overflow:hidden}.accounting-report-card .card-header,.accounting-report-card .card-body{min-width:0}.accounting-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-scope-field,.accounting-report-filter-action{grid-column:1/-1}.accounting-report-filter-action .button{width:100%}.accounting-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-kpi{min-width:0}.accounting-kpi-heading span,.accounting-kpi small{overflow-wrap:anywhere}}@media (max-width:650px){.accounting-report-card{border-radius:16px;margin-top:16px}.accounting-report-card .card-header{flex-direction:column;align-items:stretch;padding:18px}.accounting-report-card .card-header h2{font-size:20px}.accounting-report-card .card-header p{margin-top:5px;font-size:13px}.accounting-report-card .card-header .button{width:100%}.accounting-report-card .card-body{padding:16px}.accounting-report-filters{grid-template-columns:1fr;gap:14px}.accounting-report-filter-action{grid-column:auto}.accounting-report-filters .field label{margin-bottom:7px;font-size:14px}.accounting-report-filters .input{min-height:54px;font-size:17px}.accounting-report-filter-action .button{min-height:52px;font-size:16px}.accounting-report-note{margin-top:18px;padding:14px;font-size:13px;line-height:1.65}.accounting-kpi-grid{grid-template-columns:1fr;gap:12px;margin-top:18px}.accounting-kpi-heading{align-items:flex-start;font-size:15px;line-height:1.45}.accounting-kpi-heading svg{flex:none;width:21px;height:21px}.accounting-kpi strong{margin-top:10px;font-size:30px;line-height:1.15}.accounting-kpi small{margin-top:9px;font-size:13px;line-height:1.55}.accounting-unassigned-notice{align-items:flex-start;padding:14px;font-size:13px;line-height:1.6}.accounting-report-section-heading{align-items:flex-start;margin-top:24px}.accounting-report-section-heading h3{font-size:18px}.accounting-report-section-heading p{font-size:13px;line-height:1.5}.accounting-table-wrap{border:0;border-radius:0;overflow:visible}.accounting-table{width:100%;min-width:0}.accounting-table.responsive-table tbody{gap:12px}.accounting-table.responsive-table tr{padding:14px 16px}.accounting-table.responsive-table td{padding:11px 0;font-size:14px;line-height:1.5}.accounting-table.responsive-table td:before{font-size:13px}.accounting-table td small{font-size:12px;line-height:1.45}.accounting-profit-positive,.accounting-profit-negative{font-size:15px}.credit-form .input,.credit-form .select,.user-filter-bar .input,.user-filter-bar .select,.payout-filter-bar .select,.payout-form-grid .input,.payout-form-grid .select,.round-create-form .input,.round-create-form .select,.number-control-form .input,.number-control-form .select{min-height:48px;font-size:16px}.credit-form .segmented,.payout-filter-status .segmented{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.credit-form .segment,.payout-filter-status .segment{justify-content:center;align-items:center;min-height:48px;padding:0 8px;display:flex}.payout-filter-status .segment:last-child{grid-column:1/-1}.credit-admin-layout>.card .card-body{padding:16px}.credit-history-card .card-header .badge{align-self:flex-start}.credit-accounts-table tr{cursor:pointer}.credit-accounts-table tr.selected-row{outline:2px solid var(--ui-green);outline-offset:1px}.credit-transactions-table td[data-label=หมายเหตุ]{text-align:left}.user-filter-bar{gap:9px}.user-filter-bar>.button{min-height:48px}.users-table .compact-button{width:100%;min-height:48px}.user-edit-card .form-grid{gap:14px}.user-edit-card .action-row{grid-template-columns:1fr;display:grid}.user-edit-card .action-row .button{width:100%;min-height:50px}.payout-queue-card .card-body,.payout-record-card .card-body{padding:16px}.payout-filter-bar .field label,.payout-form-grid .field label{font-size:14px}.payout-table.responsive-table tr{padding:14px}.payout-table.responsive-table td{padding:10px 0;font-size:13px}.payout-table.responsive-table td[data-label=เลือก] input{width:24px;height:24px}.payout-selection-banner{gap:12px}.payout-selection-banner .draw-date{text-align:center;width:100%}.accounting-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.accounting-kpi{min-height:118px;padding:14px}.accounting-kpi-heading{font-size:12px}.accounting-kpi-heading svg{width:18px;height:18px}.accounting-kpi strong{overflow-wrap:anywhere;font-size:24px}.accounting-kpi small{font-size:11px}}@media (max-width:390px){.user-filter-bar{grid-template-columns:1fr}.user-search-field{grid-column:auto}.accounting-kpi-grid{grid-template-columns:1fr}}.notification-button{text-decoration:none;position:relative}.notification-count{border:2px solid var(--red-dark);color:#fff;background:var(--red);border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:800;line-height:1;display:grid;position:absolute;top:1px;right:1px}.notification-header-actions{gap:8px;display:flex}.notification-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.notification-list{gap:10px;margin-top:18px;display:grid}.notification-item{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;display:grid}.notification-item.unread{background:snow;border-color:#efb1b5;box-shadow:0 4px 13px #84171f0d}.notification-item.read{opacity:.82}.notification-item-icon{width:38px;height:38px;color:var(--red);background:var(--red-soft);border-radius:12px;place-items:center;display:grid}.notification-item.read .notification-item-icon{color:var(--muted);background:#f1eeee}.notification-item-content{min-width:0}.notification-item-heading{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.notification-item-heading strong{color:var(--ink);font-size:14px}.notification-item-content p{color:#655e60;margin-top:5px;font-size:12px;line-height:1.55}.notification-item-content small{color:var(--muted);margin-top:7px;font-size:10px;display:block}.notification-item-action{justify-content:flex-end;min-width:82px;display:flex}.notification-empty{color:var(--muted);text-align:center;justify-items:center;gap:7px;padding:48px 20px 34px;display:grid}.notification-empty svg{color:#c79b9f}.notification-empty strong{color:var(--ink);font-size:14px}.notification-empty span{font-size:12px}.filter-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.filter-bar .input,.filter-bar .select{width:auto;min-width:150px}.tabs{background:#f4f1f1;border-radius:11px;gap:5px;padding:5px;display:flex}.tab{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:0 14px;font-size:12px;font-weight:700}.tab.active{color:var(--red);background:#fff;box-shadow:0 2px 6px #32141912}.slip-overview-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.slip-overview-grid .stat-card{isolation:isolate}.slip-overview-grid .stat-card:after{z-index:-1;pointer-events:none}.payout-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}.payout-queue-card{overflow:hidden}.payout-notice{margin-bottom:20px}.payout-filter-bar{grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:20px;margin-bottom:20px;display:grid}.payout-filter-bar .field{min-width:0}.payout-filter-status .segmented{margin-top:7px}.payout-table-wrap{border:1px solid #eee5e6;border-radius:12px;overflow-x:auto}.payout-table{min-width:900px}.payout-table th,.payout-table td{vertical-align:top;padding-left:14px;padding-right:14px}.payout-table td small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.4;display:block}.payout-table .number-cell{white-space:nowrap}.payout-record-card{margin-top:22px}.payout-selection-banner{margin-top:0}.payout-form-grid{margin-top:18px}.payout-actions{justify-content:space-between;align-items:center;margin-top:16px}.payout-form-help{margin-top:12px}.slip-history-card{margin-top:18px}.pending-orders-card{margin-top:22px}.slip-user-filter{width:210px}.slip-filter-tabs{gap:7px;padding-bottom:3px;display:flex;overflow-x:auto}.slip-filter-tabs button{color:#746d70;white-space:nowrap;background:#fff;border:1px solid #e4dddd;border-radius:999px;justify-content:center;align-items:center;gap:5px;min-height:36px;padding:0 13px;font-size:11px;font-weight:800;display:inline-flex}.slip-filter-tabs button.active{color:#fff;border-color:var(--red);background:var(--red);box-shadow:0 5px 12px #cc131c24}.slip-history-list{gap:10px;margin-top:16px;display:grid}.slip-history-item{background:#fff;border:1px solid #eadfe0;border-radius:13px;overflow:hidden}.slip-history-heading{width:100%;color:var(--ink);text-align:left;background:#fff;border:0;grid-template-columns:minmax(230px,1.4fr) minmax(110px,.7fr) minmax(105px,.5fr) auto 20px;align-items:center;gap:13px;padding:14px 16px;display:grid}.slip-history-heading:hover{background:snow}.slip-history-code{align-items:center;gap:10px;min-width:0;display:flex}.slip-history-code>svg{color:var(--red);flex:none}.slip-history-code>span,.slip-history-metric{gap:3px;min-width:0;display:grid}.slip-history-code strong{color:#72181e;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.slip-history-code small,.slip-history-metric small,.slip-history-user{color:var(--muted);font-size:10px}.slip-history-user{font-weight:700}.slip-history-metric{text-align:right}.slip-history-metric strong{color:#188b48;font-size:15px}.slip-history-detail{border-top:1px solid var(--line);background:#fcfbfb}.slip-history-detail .table-wrap{padding:0 14px 12px}.slip-cancelled-note{color:#9f252d;background:#fff5f5;padding:11px 16px;font-size:11px;font-weight:700}.slip-history-footer{color:#aaa2a4;text-align:right;margin-top:13px;font-size:10px}.result-grid{grid-template-columns:1.15fr .85fr;gap:18px;display:grid}.result-lottery-tabs{background:#fff;border:1px solid #eadfe0;border-radius:12px;gap:8px;margin-bottom:16px;padding:4px;display:flex}.result-lottery-tabs button{color:#81787b;background:0 0;border:0;border-radius:9px;min-height:40px;padding:0 18px;font-size:12px;font-weight:800}.result-lottery-tabs button.active{color:#fff;background:var(--red);box-shadow:0 5px 12px #cc131c24}.result-hero{color:#fff;background:linear-gradient(125deg,#9d1118,#ed1c24);border-radius:15px;padding:25px}.result-hero small{color:#ffffffb8}.result-hero h3{margin-top:4px;font-size:20px}.jackpot{text-align:center;background:#00000024;border:1px solid #ffffff40;border-radius:12px;margin:22px 0 18px;padding:14px}.jackpot span{font-size:12px;display:block}.jackpot strong{color:#ffe3a7;letter-spacing:5px;margin-top:2px;font-size:42px;display:block}.mini-result-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.mini-result{text-align:center;color:var(--ink);background:#fff;border-radius:10px;padding:12px}.mini-result span{color:var(--muted);font-size:11px;display:block}.mini-result strong{letter-spacing:2px;margin-top:4px;font-size:24px;display:block}.confirmed-copy{color:var(--green);letter-spacing:0!important;font-size:16px!important}.result-source-note{color:#ffffffc7;align-items:center;gap:7px;margin-top:13px;font-size:11px;display:flex}.result-mapping-card .card-body{padding-top:10px}.result-mapping-list{gap:0;display:grid}.result-mapping-list>div{border-bottom:1px solid var(--line);grid-template-columns:105px 1fr;gap:12px;padding:11px 0;display:grid}.result-mapping-list>div:last-child{border-bottom:0}.result-mapping-list span{color:#9a333a;font-size:12px;font-weight:800}.result-mapping-list strong{color:#625c5e;font-size:12px;line-height:1.45}.result-mapping-list .disabled-map span,.result-mapping-list .disabled-map strong{color:#aaa2a4}.result-verification-card{margin:22px 0 18px}.result-admin-toolbar{grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:12px;display:grid}.result-admin-toolbar .button{white-space:nowrap;min-height:44px}.result-candidate-banner{color:#765c17;background:#fff9e7;border:1px solid #ecd99e;border-radius:12px;align-items:flex-start;gap:11px;margin-top:16px;padding:14px 15px;display:flex}.result-candidate-banner.green{color:#126d37;background:#edf9f1;border-color:#b9dfc6}.result-candidate-banner.red{color:#9e242b;background:#fff0f1;border-color:#efb4b8}.result-candidate-banner>div{gap:3px;display:grid}.result-candidate-banner strong{font-size:13px}.result-candidate-banner span{font-size:11px;line-height:1.5}.result-source-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.result-source-card{background:#fff;border:1px solid #eadfe0;border-radius:13px;padding:15px}.result-source-heading,.result-source-heading>div,.source-meta,.source-number-row{align-items:center;display:flex}.result-source-heading{justify-content:space-between;gap:10px}.result-source-heading>div{color:#752128;gap:7px}.result-source-heading strong{font-size:13px}.source-number-row{gap:8px;margin-top:14px}.source-number-row span{color:#978e91;text-align:center;background:#fbf7f7;border-radius:9px;flex:1;padding:9px;font-size:10px}.source-number-row b{color:#7c1e25;letter-spacing:1px;margin-top:2px;font-size:18px;display:block}.thai-source-number-row{grid-template-columns:repeat(2,1fr);display:grid}.source-six-digit{color:#8e8588;margin-top:9px;font-size:11px}.source-six-digit strong{color:#5c5557;letter-spacing:1px}.source-error{color:#ac262e;margin-top:9px;font-size:11px;line-height:1.45}.source-evidence-note{color:#765c17;margin-top:9px;font-size:11px;line-height:1.45}.source-meta{color:#aaa2a4;justify-content:space-between;gap:10px;margin-top:11px;font-size:9px}.source-meta a{color:#9c2830;white-space:nowrap;align-items:center;gap:4px;font-weight:800;display:inline-flex}.source-empty{color:#a69da0;margin-top:16px;font-size:11px}.result-confirm-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;margin-top:16px;padding-top:16px;display:flex}.result-confirm-row>div{gap:3px;display:grid}.result-confirm-row strong{color:#5f292d;font-size:13px}.result-confirm-row span{color:#8e8588;font-size:11px;line-height:1.5}.result-confirm-row .button{white-space:nowrap}.result-message{margin-top:14px}.thai-manual-result-form{background:snow;border:1px dashed #e3c7c9;border-radius:13px;gap:14px;margin-top:16px;padding:16px;display:grid}.manual-result-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.manual-result-heading>div{gap:4px;display:grid}.manual-result-heading h3{color:#752128;align-items:center;gap:7px;font-size:14px;display:flex}.manual-result-heading h3 svg{color:var(--red)}.manual-result-heading p{color:var(--muted);font-size:11px;line-height:1.5}.manual-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.manual-number-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}@media (max-width:650px){.result-lottery-tabs button{flex:1;padding:0 10px}.thai-source-number-row{grid-template-columns:1fr 1fr}.manual-result-grid{grid-template-columns:1fr}.thai-manual-result-form .button{width:100%}}.result-history-card{margin-top:22px}.result-history-card .card-header .button{white-space:nowrap}.result-history-filters{grid-template-columns:150px 170px minmax(190px,1fr) auto;align-items:end;gap:12px;display:grid}.history-date-input{color:#9b3037;background:#fff;border:1px solid #d9d4d5;border-radius:10px;align-items:center;gap:8px;height:44px;padding:0 12px;display:flex}.history-date-input:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #ec1c241a}.history-date-input input{width:100%;min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;font-size:13px}.history-count{color:#7b2027;white-space:nowrap;background:#fff3f3;border-radius:10px;align-items:center;gap:7px;min-height:44px;padding:0 13px;font-size:11px;display:flex}.history-count strong{font-size:16px}.result-history-table{border:1px solid #eee5e6;border-radius:12px;max-height:560px;margin-top:16px}.result-history-table thead{z-index:1;position:sticky;top:0}.result-history-table tbody tr.selected-result-row{background:#fff1f2}.history-number{color:#8c1b23;letter-spacing:2px;font-size:16px;font-weight:800}.history-number.four{color:var(--red);font-size:18px}.history-view-button{color:#a2222a;white-space:nowrap;background:#fff;border:1px solid #e9a8ac;border-radius:8px;min-height:30px;padding:0 10px;font-size:10px;font-weight:800}.history-view-button:hover{color:#fff;background:var(--red)}.history-safety-note{color:#7b641f;background:#fff9e9;border-radius:10px;align-items:flex-start;gap:7px;margin-top:13px;padding:11px 13px;font-size:10px;line-height:1.5;display:flex}.history-safety-note svg{flex:none;margin-top:1px}.history-empty{color:#aaa1a4;text-align:center;place-items:center;gap:5px;min-height:180px;margin-top:14px;display:grid}.history-empty svg{color:#d9b4b7}.history-empty strong{color:#7d7477;font-size:14px}.history-empty span{font-size:11px}.monitoring-page{gap:22px;display:grid}.monitoring-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.monitoring-stat-date{line-height:1.35;font-size:18px!important}.monitoring-status-value{font-size:20px!important}.monitoring-stat-danger .stat-value{color:#b21d25}.monitoring-notice{align-items:center;gap:8px;display:flex}.monitoring-job-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.monitoring-job-card{background:#fff;border:1px solid #eadfe0;border-radius:13px;gap:10px;padding:16px;display:grid}.monitoring-job-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.monitoring-job-heading>div{color:#752128;align-items:center;gap:7px;display:flex}.monitoring-job-heading strong{font-size:13px}.monitoring-job-meta{color:#978e91;border-top:1px solid #f0e8e9;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;font-size:10px;display:flex}.monitoring-job-meta strong{color:#5f585a;text-align:right;font-size:11px}.monitoring-job-summary,.monitoring-job-error{color:#776e70;margin:0;font-size:10px;line-height:1.5}.monitoring-job-error{color:#a5232b}.monitoring-warning{color:#7b641f;background:#fff9e9;border-radius:9px;align-items:flex-start;gap:6px;padding:9px 10px;font-size:10px;line-height:1.45;display:flex}.monitoring-lower-grid{grid-template-columns:1.15fr .85fr;gap:22px;display:grid}.monitoring-watchdog-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.monitoring-finding-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.monitoring-finding-list .monitoring-warning{font-size:12px}.monitoring-finding-critical{color:#8a2626;background:#fdeeee}.monitoring-table-wrap{max-height:520px}.monitoring-table th,.monitoring-table td{white-space:nowrap}.monitoring-table td small{color:#aaa2a4;margin-top:3px;font-size:9px;display:block}.monitoring-empty{color:#aaa1a4;text-align:center;place-items:center;gap:6px;min-height:210px;display:grid}.monitoring-empty strong{color:#7d7477;font-size:14px}.monitoring-empty span{font-size:11px}.backup-evidence-grid{gap:18px;min-width:0;display:grid}.backup-evidence-item{border-bottom:1px solid var(--line);min-width:0;padding-bottom:14px}.backup-evidence-item h3{margin:0 0 8px;font-size:14px}.backup-evidence-item dl{gap:8px;margin:12px 0 0;display:grid}.backup-evidence-item dl>div{grid-template-columns:125px minmax(0,1fr);gap:12px;font-size:12px;display:grid}.backup-evidence-item dt{color:#776e70}.backup-evidence-item dd{overflow-wrap:anywhere;margin:0}.backup-evidence-item code{font-size:11px}@media (max-width:650px){.backup-evidence-item dl>div{grid-template-columns:1fr;gap:3px}}.backup-status-list{gap:0;display:grid}.backup-status-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.backup-status-list>div:last-child{border-bottom:0}.backup-status-list span{color:#978e91;font-size:11px}.backup-status-list strong{color:#5f585a;text-align:right;font-size:12px}.restore-checklist{color:#5f585a;background:#fbf7f7;border-radius:11px;gap:9px;margin-top:16px;padding:14px;display:grid}.restore-checklist strong{color:#752128;font-size:12px}.restore-checklist span{align-items:flex-start;gap:7px;font-size:10px;line-height:1.45;display:flex}.restore-checklist svg{color:var(--green);flex:none;margin-top:1px}.safe-total{color:#fff;background:#188a47;border-radius:14px;justify-content:space-between;align-items:center;padding:20px;display:flex}.safe-total span{color:#ffffffbf;font-size:12px;display:block}.safe-total strong{margin-top:3px;font-size:30px;display:block}.safe-total svg{opacity:.55}.rule-row{border-bottom:1px solid var(--line);grid-template-columns:1fr 150px 100px 50px;align-items:center;gap:12px;padding:15px 0;display:grid}.rule-row:last-child{border-bottom:0}.rule-code{color:var(--muted);font-size:11px}.rule-name{margin-top:2px;font-size:14px;font-weight:700}.multiplier-input{align-items:center;gap:7px;display:flex}.multiplier-input .input{text-align:right}.multiplier-input span{color:var(--muted);font-size:12px}.toggle{width:40px;height:23px;display:inline-block;position:relative}.toggle input{opacity:0;position:absolute}.toggle span{background:#d8d3d4;border-radius:20px;transition:all .2s;position:absolute;inset:0}.toggle span:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:all .2s;position:absolute;top:3px;left:3px}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:after{transform:translate(17px)}.round-manager{background:snow;border:1px solid #f0d7d8;border-radius:13px;grid-template-columns:minmax(260px,1fr) minmax(220px,.8fr);gap:14px;padding:16px;display:grid}.round-selected{background:#fff;border:1px solid #f0c5c8;border-radius:10px;align-content:center;gap:3px;min-height:44px;padding:10px 14px;display:grid}.round-selected span,.round-selected small{color:var(--muted);font-size:11px}.round-selected strong{color:#8f171f;font-size:16px}.round-status-select{height:36px;margin-top:4px;font-size:12px}.round-create-form{border-top:1px solid #f1dddd;grid-template-columns:1.1fr 1fr .8fr 1fr 1.2fr auto;align-items:end;gap:10px;margin-top:15px;padding-top:15px;display:grid}.round-create-form .button{white-space:nowrap;min-height:44px}.round-manager-card,.draw-rules-card{margin-bottom:22px}.draw-rule-form{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.textarea{resize:vertical;width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #d9d4d5;border-radius:10px;outline:none;padding:12px 13px;font-size:13px;line-height:1.6}.textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #ec1c241a}.textarea:disabled,.input:disabled,.select:disabled{cursor:not-allowed;opacity:.65;background:#f8f7f7}.number-controls-card{margin-top:22px}.number-control-form{background:snow;border:1px solid #f0d7d8;border-radius:13px;grid-template-columns:1fr 1fr 1.35fr 1.3fr auto;align-items:end;gap:10px;padding:16px;display:grid}.number-control-form .button{white-space:nowrap;min-height:44px}.number-control-input{text-align:center;letter-spacing:2px;font-weight:800}.number-control-list{border-top:1px solid var(--line);gap:0;margin-top:18px;display:grid}.number-control-row{border-bottom:1px solid var(--line);grid-template-columns:1fr 1.3fr 38px;align-items:center;gap:12px;padding:13px 0;display:grid}.number-control-row>div{gap:3px;display:grid}.number-control-row strong{color:#7b151b;letter-spacing:2px;font-size:19px}.number-control-row span,.number-control-row small{color:var(--muted);font-size:11px}.number-control-row small{display:block}.control-remove{color:#c12831;background:#fff;border:1px solid #efb0b4;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.control-remove:hover{color:#fff;background:var(--red)}.number-tile.half-control{color:#9c252d;background:#fff5d8;border-color:#e7a2a6}.number-tile:disabled{cursor:not-allowed}.login-page{background:linear-gradient(135deg,#0c3325 0%,#218052 48%,#dcebe1 48%,#f4f7f4 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #dce6df;border-radius:20px;width:min(430px,100%);padding:34px;box-shadow:0 22px 60px #08332233}.login-card .brand{min-width:0;color:var(--ink)}.login-card .brand-logo{width:240px;height:43px}.login-card h1{margin-top:28px;font-size:25px}.mfa-enroll-visual{justify-items:center;gap:10px;margin:18px 0 6px;display:grid}.mfa-enroll-visual img{background:#fff;border:1px solid #dce6df;border-radius:12px;padding:6px}.mfa-secret{color:#4b5d55;text-align:center;word-break:break-all;margin:0;font-size:12px}.mfa-secret code{letter-spacing:.08em;font-size:13px}.login-form .button.secondary{margin-top:4px}.login-card>p{color:var(--muted);margin-top:6px;font-size:13px}.login-form{gap:15px;margin-top:24px;display:grid}.login-form .button{width:100%;min-height:48px;margin-top:5px}.login-card .input:focus{border-color:#207e4a;box-shadow:0 0 0 3px #207e4a21}.login-card .button.primary{color:#fff;background:#207e4a;box-shadow:0 6px 14px #207e4a2e}.login-card .button.primary:hover{background:#17683c}.not-found-page{color:#1a332a;background:radial-gradient(circle at 20% 15%,#d8eee0 0,#0000 34%),linear-gradient(145deg,#eff5f0,#f8faf8);place-items:center;min-height:100vh;padding:24px;display:grid}.not-found-card{text-align:center;background:#fff;border:1px solid #dce6df;border-radius:22px;width:min(520px,100%);padding:38px;box-shadow:0 22px 60px #0833221f}.not-found-brand{justify-content:center;align-items:center;margin-bottom:30px;display:flex}.not-found-brand .brand-logo{width:210px;height:38px}.not-found-icon{color:#177c49;background:#e8f4ec;border-radius:18px;place-items:center;width:64px;height:64px;margin:0 auto 15px;display:grid}.not-found-code{color:#177c49;letter-spacing:2px;font-size:13px;font-weight:800}.not-found-card h1{letter-spacing:-.4px;margin-top:7px;font-size:27px}.not-found-card p{color:#5c7367;max-width:390px;margin:9px auto 25px;font-size:13px;line-height:1.65}.not-found-action{color:#fff;background:#207e4a;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 19px;font-size:13px;font-weight:700;display:inline-flex}.not-found-action:hover{background:#17683c}.demo-note{color:#7d5c16;background:#fff8df;border-radius:10px;margin-top:18px;padding:12px;font-size:11px;line-height:1.55}.page-footer{color:#969092;text-align:center;margin-top:34px;font-size:11px}.mobile-only{display:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:980px){.site-header{gap:12px;padding:0 18px}.brand{min-width:auto}.brand-text span,.header-nav .nav-link span{display:none}.header-nav{justify-content:flex-end}.nav-link{justify-content:center;width:40px;padding:0}.account-copy{display:none}.account-menu{padding-left:6px}.workspace-grid,.dashboard-grid,.dashboard-summary-grid.admin,.result-grid{grid-template-columns:1fr}.slip-overview-grid{grid-template-columns:repeat(2,1fr)}.payout-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payout-filter-bar{grid-template-columns:1fr;gap:14px}.payout-filter-status .segmented{margin-top:0}.slip-history-heading{grid-template-columns:minmax(220px,1fr) minmax(100px,.55fr) auto 20px}.slip-history-user{display:none}.result-history-filters{grid-template-columns:1fr 1fr}.side-stack{grid-template-columns:repeat(2,1fr)}.entry-layout{grid-template-columns:1fr}.bet-slip{order:-1}.bet-list{max-height:220px}.number-control-form{grid-template-columns:1fr 1fr}.number-control-form .field:nth-child(3),.number-control-form .field:nth-child(4){grid-column:span 1}.number-control-form .button{width:100%}.exposure-filters,.exposure-summary-grid{grid-template-columns:1fr 1fr}.exposure-refresh{width:100%}.entry-console,.bet-slip{min-width:0}}@media (min-width:651px) and (max-width:900px){.keypad-layout{grid-template-columns:1fr;gap:20px}}@media (max-width:980px){.mobile-only{margin-left:auto;display:grid}.header-nav{z-index:40;background:var(--red-dark);border:1px solid #fff3;border-radius:14px;flex-direction:column;align-items:stretch;gap:4px;height:auto;padding:8px;display:none;position:absolute;top:calc(100% + 8px);left:12px;right:12px;box-shadow:0 14px 28px #480a0f38}.header-nav.open{display:flex}.header-nav .nav-link{justify-content:flex-start;width:auto;padding:0 14px}}@media (max-width:1400px) and (min-width:651px){.site-header{gap:12px;padding:0 18px}.brand{min-width:auto}.brand-text span,.header-nav .nav-link span{display:none}.header-nav{justify-content:flex-end}.nav-link{justify-content:center;width:40px;padding:0}.account-copy{display:none}.account-menu{padding-left:6px}.mobile-only{margin-left:auto;display:grid}.header-nav{z-index:40;background:var(--red-dark);border:1px solid #fff3;border-radius:14px;flex-direction:column;align-items:stretch;gap:4px;height:auto;padding:8px;display:none;position:absolute;top:calc(100% + 8px);left:12px;right:12px;box-shadow:0 14px 28px #480a0f38}.header-nav.open{display:flex}.header-nav.open .nav-link span{display:block}.header-nav .nav-link{justify-content:flex-start;width:auto;padding:0 14px}}@media (max-width:650px){.site-header{min-height:65px;padding:0 12px}.brand-mark{border-radius:11px;width:36px;height:36px;font-size:17px}.brand-text strong{font-size:15px}.header-actions .icon-button{display:none}.page-shell{width:min(100% - 24px,540px);padding-top:24px}.entry-page-shell{width:calc(100% - 20px);padding-top:12px}.page-heading{display:block}.page-heading .button{width:100%;margin-top:15px}.stats-grid{grid-template-columns:repeat(2,1fr)}.card-header,.card-body{padding:16px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.side-stack{grid-template-columns:1fr}.action-row{grid-template-columns:1fr 1fr;display:grid}.action-row .button{padding:0 10px}.filter-bar{align-items:stretch}.filter-bar .input,.filter-bar .select{width:100%}.rule-row{grid-template-columns:1fr 100px 40px}.rule-row .rule-status{display:none}.draw-banner{align-items:flex-start}.draw-date{min-width:82px;font-size:11px}.payout-overview-grid{grid-template-columns:1fr;gap:10px}.payout-queue-card .card-header,.payout-record-card .card-header{flex-direction:column;align-items:stretch}.payout-queue-card .card-header .button{width:100%}.payout-filter-bar{gap:14px;margin-bottom:18px}.payout-filter-bar .select{min-width:0}.payout-filter-status .segmented{grid-template-columns:repeat(3,1fr);width:100%;display:grid}.payout-filter-status .segment{min-width:0;padding:0 8px}.payout-actions{grid-template-columns:1fr;align-items:stretch}.payout-actions .button{width:100%}.payout-table-wrap{border:0;border-radius:0}.payout-table{min-width:0}.payout-selection-banner strong{font-size:18px}.login-card{padding:25px 20px}.entry-toolbar{flex-wrap:wrap}.entry-toolbar-tabs{order:3;width:100%}.entry-toolbar-tab{flex:1;justify-content:center;padding:0 8px}.entry-toolbar>.badge{margin-left:auto}.entry-context{padding:14px 14px 0;display:block}.entry-context .field{max-width:none}.entry-context-note{margin-top:10px}.panel-picker,.keypad-picker{padding:18px 14px}.entry-section-title{display:block}.entry-section-title p{margin-top:4px}.choice-row{grid-template-columns:1fr 1fr}.choice-button{min-height:44px;padding:0 10px;font-size:11px}.choice-button small{display:none}.range-row{gap:5px}.range-chip{min-height:34px;font-size:11px}.search-row{display:block}.outline-button{width:100%;margin-top:9px}.number-grid{grid-template-columns:repeat(5,1fr);gap:7px;max-height:380px}.number-tile{min-height:42px;font-size:12px}.keypad-layout{grid-template-columns:1fr;gap:18px}.keypad-types{grid-template-columns:repeat(2,1fr)}.keypad-key{width:66px;height:66px}.keypad-grid{grid-template-columns:repeat(3,66px);gap:9px}.digit-display span{width:48px;height:52px}.slip-actions{padding-left:14px;padding-right:14px}.entry-rules-panel{padding:18px 14px}.entry-rules-heading{display:block}.entry-rules-heading>.badge{margin-top:12px;display:inline-flex}.entry-rule-grid,.draw-rule-form{grid-template-columns:1fr 1fr}.dashboard-filter-heading{flex-direction:column;align-items:flex-start;padding:16px}.dashboard-filter-controls{grid-template-columns:1fr;padding:14px 16px 0;display:grid}.dashboard-mode-tabs{width:100%}.dashboard-mode-tabs button{flex:1;min-width:0;padding:0 8px}.dashboard-date-field{width:100%}.dashboard-filter-help{padding:0 16px 16px}.dashboard-card-action{margin-right:-6px;padding:0 6px;font-size:10px}.dashboard-table th,.dashboard-table td{padding:11px 7px;font-size:11px}.dashboard-table-subtext{font-size:9px}.stat-card{padding:14px}.stat-label{min-height:34px;margin-top:12px;line-height:1.45}.stat-value{overflow-wrap:anywhere;font-size:22px}.stat-note{min-height:30px;line-height:1.45}.recent-row{align-items:flex-start;gap:9px;padding:12px 0}.recent-row .badge{flex:none;padding:0 7px;font-size:10px}.row-copy strong{font-size:13px}.row-copy span{white-space:normal;line-height:1.45}}@media (max-width:980px){.credit-admin-layout{grid-template-columns:1fr}.round-create-form{grid-template-columns:1fr 1fr}.round-create-form .button{width:100%}.monitoring-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.monitoring-job-grid{grid-template-columns:1fr 1fr}.monitoring-lower-grid{grid-template-columns:1fr}}@media (max-width:650px){.credit-summary-grid{grid-template-columns:1fr}.credit-summary-meta{flex-direction:column;align-items:flex-start}.credit-topup{width:100%}.slip-overview-grid{grid-template-columns:1fr 1fr;gap:9px}.slip-user-filter{width:100%}.slip-history-heading{grid-template-columns:minmax(0,1fr) auto 18px;gap:8px;padding:12px}.slip-history-metric{display:none}.slip-history-code strong{font-size:11px}.result-history-card .card-header{flex-direction:column;align-items:stretch}.result-history-card .card-header .button{width:100%}.result-history-filters{grid-template-columns:1fr}.history-count{justify-content:center}.round-manager{grid-template-columns:1fr;padding:12px}.round-create-form{grid-template-columns:1fr}.number-control-form{grid-template-columns:1fr;padding:12px}.number-control-form .field:nth-child(3),.number-control-form .field:nth-child(4){grid-column:auto}.number-control-row{grid-template-columns:1fr 1.1fr 32px;gap:7px}.result-source-grid,.result-admin-toolbar{grid-template-columns:1fr}.result-admin-toolbar .button{width:100%}.result-confirm-row{flex-direction:column;align-items:stretch}.result-confirm-row .button{width:100%}.exposure-card-header{flex-direction:column;align-items:stretch}.exposure-filters{grid-template-columns:1fr}.exposure-lottery-tabs button,.exposure-category-tabs button{flex:1}.exposure-summary-grid,.monitoring-job-grid,.monitoring-watchdog-grid{grid-template-columns:1fr}.monitoring-job-card{padding:14px}.monitoring-table-wrap{max-height:none}.monitoring-table th,.monitoring-table td{white-space:normal}.monitoring-stat-date,.monitoring-status-value{font-size:16px!important}.user-summary-grid{grid-template-columns:1fr 1fr;gap:9px}.user-filter-bar{grid-template-columns:1fr 1fr;display:grid}.user-search-field{grid-column:1/-1;min-width:0}.user-filter-bar>.select,.user-filter-bar>.button{width:100%;min-width:0}.user-filter-bar>.button{padding:0 8px}.audit-row{grid-template-columns:1fr;gap:8px}.audit-meta{text-align:left}.header-actions .notification-button{display:grid}.notification-header-actions{width:100%}.notification-header-actions .button{flex:1;padding:0 8px}.notification-toolbar{flex-direction:column;align-items:stretch}.notification-toolbar .tabs{width:100%;overflow-x:auto}.notification-toolbar .tab{white-space:nowrap;flex:1;padding:0 8px}.notification-item{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px}.notification-item-action{grid-column:2;justify-content:flex-start;min-width:0}}.customer-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:22px;display:grid}.customer-directory-card,.customer-form-card,.customer-history-card,.customer-legacy-card{min-width:0}.customer-search-row{align-items:center;gap:9px;display:flex}.customer-search-box{color:#9b7c7f;background:#fff;border:1px solid #ddd6d8;border-radius:10px;flex:1;align-items:center;gap:9px;min-height:44px;padding:0 13px;display:flex}.customer-search-box:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #ec1c2414}.customer-search-box input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.customer-refresh{border:1px solid var(--line);width:44px;height:44px;color:var(--red);background:#fff}.customer-refresh:hover{background:var(--red-soft)}.customer-list{gap:8px;margin-top:16px;display:grid}.customer-list-item{width:100%;min-height:62px;color:var(--ink);text-align:left;background:#fff;border:1px solid #eee5e6;border-radius:12px;align-items:center;gap:11px;padding:9px 11px;display:flex}.customer-list-item:hover,.customer-list-item.active{background:#fff5f5;border-color:#efa2a6}.customer-avatar{width:38px;height:38px;color:var(--red);background:var(--red-soft);border-radius:50%;flex:none;place-items:center;display:grid}.customer-list-copy{flex:1;gap:2px;min-width:0;display:grid}.customer-list-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.customer-list-copy small{color:var(--muted);font-size:11px}.customer-list-arrow{color:#b09a9d;font-size:22px;line-height:1}.customer-empty{color:#988d8f;text-align:center;justify-items:center;gap:6px;min-height:150px;padding:30px 15px;display:grid}.customer-empty svg{color:#e8a3a7}.customer-empty strong{color:#6f5558;font-size:13px}.customer-empty span{font-size:11px}.customer-empty.compact{min-height:92px}.customer-form{gap:15px;display:grid}.customer-form-icon{width:48px;height:48px;color:var(--red);background:var(--red-soft);border-radius:14px;place-items:center;display:grid}.customer-form-meta{color:var(--muted);border:1px solid #eee5e6;border-radius:11px;grid-template-columns:auto 1fr;gap:5px 12px;padding:13px 14px;font-size:11px;display:grid}.customer-form-meta strong{color:var(--ink);text-align:right}.customer-history-card,.customer-legacy-card{margin-top:22px}.customer-history-table,.customer-legacy-table{width:100%}.customer-history-table td small,.customer-legacy-table td small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.customer-history-table .number-cell,.customer-legacy-table .number-cell{color:#8f171f;letter-spacing:1px;font-size:17px;font-weight:800}.customer-legacy-toolbar{color:var(--muted);justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;font-size:12px;display:flex}.customer-legacy-more{justify-content:center;margin-top:16px;display:flex}.customer-privacy-note{color:#7e631f;background:#fff9e7;border-radius:10px;align-items:flex-start;gap:8px;margin-top:16px;padding:11px 13px;font-size:11px;line-height:1.5;display:flex}.customer-privacy-note svg{flex:none;margin-top:1px}.customer-message{margin-top:16px}.customer-message.success-notice{color:#126f38;background:var(--green-soft)}@media (max-width:980px){.customer-layout{grid-template-columns:1fr}}@media (max-width:650px){.customer-directory-card .card-header,.customer-form-card .card-header,.customer-history-card .card-header,.customer-legacy-card .card-header{flex-direction:column;align-items:stretch}.customer-directory-card .card-header .button{width:100%}.customer-legacy-toolbar{flex-direction:column;align-items:stretch}.customer-legacy-toolbar .button{width:100%}.customer-entry-row{grid-template-columns:1fr}}.page-shell>*,.card-header>div:first-child{min-width:0}.card-header h2{line-height:1.35}.button{min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #ec1c243d}.site-header button:focus-visible{outline-color:#ffffffe6}.mobile-table-wrap{max-width:100%}.responsive-table{min-width:0}@media (min-width:1280px){.entry-page-shell{width:min(1500px,100% - 64px)}}@media (min-width:1600px){.entry-page-shell{padding-top:34px}.entry-layout{grid-template-columns:minmax(0,1fr) 390px;gap:22px}}@media (min-width:651px) and (max-width:1279px){.mobile-table-wrap{overflow-x:auto}.mobile-table-wrap .responsive-table{min-width:680px}}@media (max-width:650px){.card-header{align-items:flex-start;gap:10px}.card-header h2{font-size:16px}.card-header p{line-height:1.5}.button{width:auto;min-height:44px}.slip-history-card .card-header,.pending-orders-card .card-header,.users-card .card-header,.credit-admin-card .card-header,.credit-history-card .card-header,.payout-rules-card .card-header,.draw-rules-card .card-header,.round-manager-card .card-header{flex-direction:column;align-items:stretch}.slip-user-filter{width:100%}.pending-orders-card .filter-bar{grid-template-columns:1fr;gap:8px;width:100%;display:grid}.pending-orders-card .filter-bar .button{width:100%}.safe-total{padding:18px}.safe-total strong{font-size:26px}.safe-total svg{width:44px;height:44px}.safe-rewards-card .card-body,.users-card .card-body{padding:12px}.credit-admin-card .card-header .button{width:100%}.credit-history-card .card-header{gap:12px}.payout-rules-card .action-row,.draw-rules-card .action-row{grid-template-columns:1fr;display:grid}.payout-rules-card .action-row .button,.draw-rules-card .action-row .button{width:100%}.mobile-table-wrap{overflow:visible}.responsive-table{border-collapse:separate;display:block}.responsive-table thead{display:none}.responsive-table tbody{gap:10px;display:grid}.responsive-table tr{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1fr;gap:0;padding:10px 12px;display:grid;box-shadow:0 3px 10px #25181c0a}.responsive-table td{text-align:right;overflow-wrap:anywhere;border-bottom:1px solid #f0ebec;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:8px 0;font-size:12px;line-height:1.45;display:flex}.responsive-table td:last-child{border-bottom:0}.responsive-table td:before{content:attr(data-label);color:var(--muted);text-align:left;flex:none;font-size:10px;font-weight:700}.responsive-table td>*{max-width:70%}.responsive-table td[data-label=เลือก]{justify-content:flex-start}.responsive-table td[data-label=เลือก]:before{margin-right:auto}.responsive-table td[data-label=เลือก] input{width:20px;max-width:none;height:20px}.responsive-table .number-cell{font-size:17px}.responsive-table .summary-amount,.responsive-table .credit-balance-cell,.responsive-table .credit-topup-amount,.responsive-table .credit-debit{font-size:15px}.slip-history-detail .mobile-table-wrap{padding:12px}.result-history-table{border:0;border-radius:0;max-height:none;margin-top:14px}.result-history-data-table tr{background:snow}.entry-mode-tab{min-height:60px;padding:0 5px;font-size:15px}.entry-section-title h2{font-size:18px}.choice-button,.keypad-type,.keypad-helper{border-radius:12px}.range-row{grid-template-columns:repeat(5,1fr);gap:7px}.range-chip{min-height:36px;font-size:11px}.entry-console,.bet-slip{box-shadow:0 6px 18px #74161e14}.bet-slip-header{padding:16px}.bet-row{grid-template-columns:minmax(0,1fr) 76px 64px 24px;gap:5px}.result-hero{padding:18px}.jackpot strong{letter-spacing:3px;font-size:34px}.result-mapping-list>div{grid-template-columns:88px 1fr;gap:8px}.draw-rule-form{grid-template-columns:1fr}.rule-row{grid-template-columns:minmax(0,1fr) 94px 32px;gap:8px}.multiplier-input{gap:4px}.multiplier-input .input{padding:0 8px}.entry-page-shell{padding-bottom:220px!important}.entry-toolbar{gap:10px;margin-bottom:12px}.entry-back,.entry-toolbar-tab{min-height:44px}.entry-layout{gap:12px}.entry-console{flex-direction:column;order:1;display:flex}.entry-console>.entry-mode-tabs{order:0}.entry-console>.entry-customer-section{order:1}.entry-console>.mobile-stake-panel{order:2}.entry-console>:is(.panel-picker,.keypad-picker),.entry-console>[class*=scanner]{order:3}.entry-console>.entry-message{order:5}.bet-slip{display:none}.entry-context .input,.stake-input input,.bet-amount-editor input{font-size:16px}.panel-picker,.keypad-picker{padding:14px 8px 16px}.keypad-layout{gap:14px}.keypad-types{gap:8px}.keypad-type{touch-action:manipulation;min-height:64px;padding:9px 8px;font-size:13px}.keypad-helper{touch-action:manipulation;min-height:56px}.keypad-area{width:100%}.digit-display{justify-content:center;gap:10px;width:100%;min-height:76px;margin-bottom:12px}.digit-display span{width:min(18vw,66px);height:72px;box-shadow:inset 0 -3px 0 color-mix(in srgb,currentColor 12%,transparent);border-radius:16px;font-size:36px}.keypad-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(100%,288px)}.keypad-key{aspect-ratio:1;border-width:2px;border-radius:24px;width:100%;max-width:88px;height:auto;font-size:clamp(32px,9vw,36px)}.keypad-key.utility{font-size:18px}.keypad-key.backspace{color:var(--ui-amber);border-color:color-mix(in srgb,var(--ui-amber) 62%,var(--ui-border));background:var(--ui-amber-soft)}.keypad-key.clear{color:var(--workflow-danger);border-color:var(--workflow-danger-border);background:var(--workflow-danger-soft)}.keypad-add{width:min(100%,288px);min-height:54px;margin-top:12px;font-size:15px}.entry-message{margin:0 12px 18px}.mobile-stake-panel{border:1px solid var(--ui-border);background:var(--ui-raised);border-radius:14px;margin:12px;padding:16px;display:block}.mobile-stake-panel label{color:var(--ui-text);margin-bottom:10px;font-size:15px}.mobile-stake-panel .stake-input{background:var(--ui-bg);border-radius:12px;min-height:52px}.mobile-stake-panel .stake-input span{height:52px;color:var(--ui-green);border-color:var(--ui-border)}.mobile-stake-panel .stake-chips{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.mobile-stake-panel .stake-chips button{border-radius:11px;min-width:0;min-height:48px;padding:0 3px;font-size:12px}.entry-customer-section{border:1px solid var(--ui-border);background:var(--ui-raised);border-radius:14px;margin:0 12px 14px;overflow:visible}.entry-customer-toggle{width:100%;min-height:68px;color:var(--ui-text);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.entry-customer-toggle>span{align-items:center;gap:11px;min-width:0;display:flex}.entry-customer-toggle>span>span{gap:2px;min-width:0;display:grid}.entry-customer-toggle strong{font-size:15px}.entry-customer-toggle small{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.entry-customer-toggle>svg{color:var(--ui-green);flex:none}.entry-customer-section .entry-context{border-top:1px solid var(--ui-border);padding:14px;display:none}.entry-customer-section.open .entry-context{display:block}.entry-customer-section.open .entry-customer-toggle{color:var(--ui-green)}.mobile-entry-dock{right:10px;bottom:calc(75px + env(safe-area-inset-bottom));z-index:39;border:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-surface) 94%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:17px;gap:8px;max-width:480px;margin:0 auto;padding:9px;display:grid;position:fixed;left:10px;box-shadow:0 -12px 36px #0007}.mobile-entry-summary{min-height:52px;color:var(--ui-text);text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:6px 8px;display:flex}.mobile-entry-summary>svg:first-child{color:var(--ui-green);flex:none}.mobile-entry-summary>svg:last-child{color:var(--ui-muted);flex:none;margin-left:auto}.mobile-entry-summary span{gap:1px;min-width:0;display:grid}.mobile-entry-summary strong{font-size:16px}.mobile-entry-summary small{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mobile-entry-confirm{border:1px solid var(--ui-primary);width:100%;min-height:52px;color:var(--ui-primary-text);background:var(--ui-primary);border-radius:12px;justify-content:center;align-items:center;gap:8px;font-size:15px;font-weight:800;display:flex}.mobile-entry-confirm:disabled{color:var(--ui-muted);border-color:var(--ui-border);background:var(--ui-raised);opacity:.78}.mobile-bet-sheet{border:1px solid var(--ui-border);width:100%;max-width:none;max-height:86dvh;color:var(--ui-text);background:var(--ui-surface);border-radius:22px 22px 0 0;margin:auto 0 0;padding:0;overflow:hidden;box-shadow:0 -24px 70px #0009}.mobile-bet-sheet::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#04100dcc}.mobile-bet-sheet-panel{max-height:86dvh;padding:8px 0 calc(16px + env(safe-area-inset-bottom));display:grid}.mobile-bet-sheet-handle{background:var(--ui-border);border-radius:999px;width:44px;height:5px;margin:2px auto 8px}.mobile-bet-sheet header{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:14px;padding:8px 18px 14px;display:flex}.mobile-bet-sheet header small{color:var(--ui-muted);font-size:11px}.mobile-bet-sheet header h2{margin-top:2px;font-size:20px}.mobile-bet-sheet header button{border:1px solid var(--ui-border);width:48px;height:48px;color:var(--ui-text);background:var(--ui-raised);border-radius:12px;place-items:center;display:grid}.mobile-bet-sheet .ocr-cart-source{margin:12px 16px 0}.mobile-bet-list{overscroll-behavior:contain;max-height:min(43dvh,390px);padding:6px 18px}.mobile-bet-list .bet-row{grid-template-columns:minmax(0,1fr) 82px 70px 32px;gap:7px}.mobile-bet-list .bet-row>button{width:32px;height:32px}.mobile-bet-sheet-total{border-top:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 6px;display:flex}.mobile-bet-sheet-total span{color:var(--ui-muted);font-size:13px}.mobile-bet-sheet-total strong{color:var(--ui-green);font-size:22px}.mobile-bet-sheet-actions{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:9px;padding:12px 18px 0;display:grid}.mobile-bet-sheet-actions .button{width:100%;min-height:52px;padding:0 8px}}@media (max-width:360px){.keypad-picker{padding-inline:9px}.keypad-grid{gap:12px}.keypad-key{border-radius:21px}.mobile-bet-list .bet-row{grid-template-columns:minmax(0,1fr) 76px 32px}.mobile-bet-list .bet-payout-preview{display:none}}@media (prefers-reduced-motion:reduce){.keypad-key{transition:none}}@media (max-width:1400px){.header-nav.open .nav-link span{display:block}}@media (max-width:650px){.payout-overview-grid{grid-template-columns:1fr;gap:10px}}.receipt-viewer{max-width:920px;margin:0 auto}.receipt-viewer-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.receipt-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.receipt-issue-card{text-align:center;max-width:520px;margin:46px auto;padding:34px}.receipt-issue-icon{width:64px;height:64px;color:var(--red);background:var(--red-soft);border-radius:18px;place-items:center;margin:0 auto 16px;display:grid}.receipt-issue-card h2{margin:0 0 8px}.receipt-issue-card p{color:var(--muted);margin:0 auto 20px;line-height:1.6}.receipt-loading{min-height:260px;color:var(--muted);justify-content:center;align-items:center;gap:9px;display:flex}.spin{animation:.9s linear infinite receipt-spin}@keyframes receipt-spin{to{transform:rotate(360deg)}}.receipt-document{max-width:820px;color:var(--ink);background:#fff;border:1px solid #e7dfe1;border-radius:16px;margin:0 auto;padding:34px;box-shadow:0 12px 34px #32181d14}.receipt-document-header{border-bottom:2px solid var(--red);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:22px;display:flex}.receipt-document-brand{flex-direction:column;gap:5px;display:flex}.receipt-brand-logo{object-fit:cover;border-radius:5px;width:190px;height:34px;display:block}.receipt-document-brand span,.receipt-document-number span,.receipt-document-meta span{color:var(--muted);font-size:11px}.receipt-document-number{text-align:right;flex-direction:column;align-items:flex-end;gap:5px;display:flex}.receipt-document-number strong{letter-spacing:.4px;font-size:16px}.receipt-document-meta{grid-template-columns:repeat(4,1fr);gap:14px;padding:20px 0;display:grid}.receipt-document-meta div{flex-direction:column;gap:4px;min-width:0;display:flex}.receipt-document-meta strong{overflow-wrap:anywhere;font-size:13px}.receipt-document-status{color:#16743d;background:#edf9f1;border-radius:9px;align-items:center;gap:7px;margin-bottom:16px;padding:10px 12px;font-size:12px;display:flex}.receipt-table{border-collapse:collapse;width:100%}.receipt-table th{color:var(--muted);text-align:left;white-space:nowrap;border-bottom:1px solid #ded5d7;padding:10px 8px;font-size:10px;font-weight:700}.receipt-table td{vertical-align:top;border-bottom:1px solid #eee8e9;padding:11px 8px;font-size:12px}.receipt-table .number-cell{color:#941923;letter-spacing:1px;font-size:17px;font-weight:800}.receipt-table .summary-amount{color:#16743d;font-weight:700}.receipt-document-total{border-bottom:1px solid #ded5d7;justify-content:flex-end;align-items:center;gap:28px;padding:18px 8px;display:flex}.receipt-document-total span{color:var(--muted);font-size:12px}.receipt-document-total strong{color:var(--red);font-size:22px}.receipt-document-footer{grid-template-columns:220px minmax(0,1fr);align-items:center;gap:24px;padding-top:22px;display:grid}.receipt-qr-block{text-align:center;flex-direction:column;align-items:center;gap:7px;display:flex}.receipt-qr-block img{image-rendering:auto;width:180px;height:180px;display:block}.receipt-qr-block small,.receipt-document-note{color:var(--muted);font-size:10px;line-height:1.6}.receipt-qr-placeholder{width:180px;height:180px;color:var(--muted);border:1px dashed #d8cccf;place-items:center;font-size:11px;display:grid}.receipt-document-note{background:#faf7f7;border-radius:10px;align-self:stretch;padding:12px}.receipt-document-note strong{color:var(--ink);margin-bottom:6px;font-size:11px;display:block}.receipt-document-note p{margin:0 0 6px}.receipt-document-note p:last-child{margin-bottom:0}.receipt-verify-url{overflow-wrap:anywhere;color:#8d7478;font-size:9px}.receipt-message{align-items:center;gap:7px;max-width:820px;margin:14px auto 0;display:flex}.slip-receipt-actions{justify-content:flex-end;margin-bottom:12px;display:flex}.entry-receipt-link{color:#fff;align-items:center;gap:6px;margin-left:12px;font-size:12px;font-weight:700;text-decoration:underline;display:inline-flex}.public-receipt-page{background:#f3f6f3;justify-content:center;align-items:flex-start;min-height:100vh;padding:32px 16px;display:flex}.public-receipt-card{background:#fff;border:1px solid #dce6df;border-radius:16px;width:min(760px,100%);padding:28px;box-shadow:0 12px 34px #08332214}.public-receipt-brand{border-bottom:1px solid #dce6df;align-items:center;gap:12px;padding-bottom:20px;display:flex}.public-receipt-logo{object-fit:cover;border-radius:5px;width:190px;height:34px;display:block}.public-receipt-brand span{color:var(--muted);font-size:10px}.public-receipt-confirmed{color:#16743d;align-items:center;gap:7px;margin:20px 0 16px;font-size:13px;font-weight:700;display:flex}.public-receipt-heading{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:22px;display:flex}.public-receipt-heading span:first-child{color:var(--muted);font-size:11px}.public-receipt-heading h1{letter-spacing:.3px;margin:5px 0 0;font-size:24px}.public-receipt-meta{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}.public-receipt-meta div{flex-direction:column;gap:4px;min-width:0;display:flex}.public-receipt-meta span{color:var(--muted);font-size:10px}.public-receipt-meta strong{overflow-wrap:anywhere;font-size:12px}.public-receipt-note{color:var(--muted);background:#f3f6f3;border-radius:9px;align-items:flex-start;gap:7px;margin-top:18px;padding:11px 12px;font-size:11px;line-height:1.5;display:flex}.public-receipt-empty{text-align:center;color:var(--muted);padding:42px 10px 30px}.public-receipt-empty svg{color:#177c49}.public-receipt-empty h1{color:var(--ink);margin:12px 0 6px;font-size:22px}.public-receipt-empty p{margin:0;font-size:12px}.public-receipt-footer{color:#ad9ca0;text-align:right;margin-top:22px;font-size:10px;display:block}.public-receipt-card .receipt-table .number-cell{color:#177c49}.public-receipt-card .badge.red,.public-receipt-card .badge.green{color:#177c49;background:#e8f4ec}.public-receipt-card .badge.gold{color:#995c10;background:#fcf1dd}.public-receipt-card .badge.gray{color:#5c7367;background:#eaf1ec}@media (max-width:700px){.receipt-viewer-toolbar{flex-direction:column;align-items:stretch}.receipt-toolbar-actions{justify-content:stretch}.receipt-toolbar-actions .button{flex:1 1 0}.receipt-document{border-radius:12px;padding:20px 14px}.receipt-document-header{gap:12px}.receipt-brand-logo,.public-receipt-logo{width:160px;height:29px}.receipt-document-number strong{font-size:12px}.receipt-document-meta,.public-receipt-meta{grid-template-columns:repeat(2,1fr)}.receipt-document-footer{grid-template-columns:1fr}.receipt-qr-block{order:2}.receipt-document-note{order:1}.receipt-table th,.receipt-table td{padding-left:5px;padding-right:5px}.receipt-table th:first-child,.receipt-table td:first-child{min-width:72px}.receipt-table th:nth-child(2),.receipt-table td:nth-child(2){min-width:52px}.receipt-table th:nth-child(3),.receipt-table td:nth-child(3){min-width:78px}.receipt-table th:nth-child(4),.receipt-table td:nth-child(4){min-width:66px}.receipt-document .table-wrap,.public-receipt-card .table-wrap{overflow-x:auto}.receipt-document .receipt-table,.public-receipt-card .receipt-table{min-width:520px}.public-receipt-page{padding:16px 10px}.public-receipt-card{padding:20px 14px}.public-receipt-heading{flex-direction:column;align-items:flex-start}.public-receipt-heading h1{font-size:19px}.slip-receipt-actions{justify-content:stretch}.slip-receipt-actions .button{width:100%}}@media (max-width:650px){.dashboard-table-wrap{overflow:visible}.dashboard-table{table-layout:auto;width:100%;display:block}.dashboard-table thead{display:none}.dashboard-table tbody{gap:10px;display:grid}.dashboard-table tr{border:1px solid var(--ui-border);background:var(--ui-raised);border-radius:12px;gap:0;padding:10px 12px;display:grid}.dashboard-table td{border-bottom:1px solid var(--ui-border);text-align:right;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 0;font-size:13px;display:flex}.dashboard-table td:last-child{border-bottom:0}.dashboard-table td:before{color:var(--ui-muted);text-align:left;flex:none;font-size:11px;font-weight:700}.dashboard-type-table td:first-child:before{content:"ประเภทเลข"}.dashboard-type-table td:nth-child(2):before{content:"รายการ"}.dashboard-type-table td:nth-child(3):before{content:"ยอดรวม"}.dashboard-user-table td:first-child:before{content:"ผู้คีย์เลข"}.dashboard-user-table td:nth-child(2):before{content:"รายการ"}.dashboard-user-table td:nth-child(3):before{content:"ยอดรวม"}.dashboard-table .summary-amount{color:var(--ui-green);font-size:16px}.receipt-document .table-wrap{overflow:visible}.receipt-document .receipt-table{width:100%;min-width:0;display:block}.receipt-document .receipt-table thead{display:none}.receipt-document .receipt-table tbody{gap:10px;display:grid}.receipt-document .receipt-table tr{background:#fff;border:1px solid #dce6df;border-radius:12px;gap:0;padding:10px 12px;display:grid}.receipt-document .receipt-table td{text-align:right;overflow-wrap:anywhere;border-bottom:1px solid #e7eeea;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:8px 0;font-size:12px;display:flex}.receipt-document .receipt-table td:last-child{border-bottom:0}.receipt-document .receipt-table td:before{color:#5c7367;text-align:left;flex:none;font-size:10px;font-weight:700}.receipt-document .receipt-table td:first-child:before{content:"ผู้ฝาก"}.receipt-document .receipt-table td:nth-child(2):before{content:"เลข"}.receipt-document .receipt-table td:nth-child(3):before{content:"ประเภท"}.receipt-document .receipt-table td:nth-child(4):before{content:"ยอดเงิน"}.receipt-document .receipt-table td:nth-child(5):before{content:"สถานะ"}.receipt-document .receipt-table td:nth-child(6):before{content:"เงินรางวัล"}.receipt-document .receipt-table .number-cell{font-size:18px}}@media print{@page{size:A4;margin:12mm}body{background:#fff}.site-header,.page-heading,.page-footer,.receipt-viewer-toolbar,.receipt-message,.no-print{display:none!important}.page-shell.receipt-page-shell{width:100%;max-width:none;padding:0}.receipt-viewer{max-width:none;margin:0}.receipt-document{max-width:none;box-shadow:none;border:0;border-radius:0;padding:0}.receipt-document-footer{break-inside:avoid}}@media (max-width:300px){.dashboard-date-field,.dashboard-mode-tabs{width:100%;min-width:0}.dashboard-mode-tabs button{overflow-wrap:anywhere}.button{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;padding:10px}.badge{white-space:normal;overflow-wrap:anywhere;max-width:100%}.page-heading>*{min-width:0;max-width:100%}.action-row,.result-admin-toolbar,.result-source-grid,.monitoring-job-grid,.manual-lao-derived,.mini-result-grid,.thai-source-number-row{grid-template-columns:minmax(0,1fr)}:is(.result-admin-toolbar,.result-confirm-row) .button{white-space:normal}.result-source-card,.monitoring-job-card{min-width:0}.result-source-heading,.source-number-row,.source-meta,.monitoring-job-heading,.monitoring-job-meta,.draw-banner{flex-wrap:wrap}.source-number-row>span{flex:60px}.source-meta>*,.monitoring-job-heading>div,.monitoring-job-meta>*,.draw-banner>div{overflow-wrap:anywhere;min-width:0}.draw-date{min-width:0;max-width:100%}.number-control-row{grid-template-columns:minmax(0,1fr) 44px}.number-control-row>div{overflow-wrap:anywhere;grid-column:1;min-width:0}.number-control-row .control-remove{grid-area:1/2/span 2}.audit-log-filter .select{min-width:0}}.pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:16px 0;display:flex}.pagination span{color:var(--muted);font-size:12px}.credit-stat>*,.stat-card>*{z-index:1;position:relative}.card,.card-header>div,.card-body,.form-grid>*,.manual-result-grid>*{min-width:0}.card-header{flex-wrap:wrap}.card-header :is(h2,p),.notice,.form-help{overflow-wrap:anywhere}@media (max-width:650px){.credit-summary-grid{grid-template-columns:minmax(0,1fr)}.credit-summary-grid .credit-stat{padding:18px}.credit-summary-grid .stat-value{font-size:26px}}@media (max-width:360px){.payout-overview-grid{grid-template-columns:minmax(0,1fr)}}.manual-result-fields{border:0;gap:14px;min-width:0;display:grid}.manual-lao-derived{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.manual-lao-derived span{border:1px solid var(--line);min-width:0;color:var(--muted);border-radius:10px;gap:4px;padding:10px;font-size:12px;display:grid}.manual-lao-derived strong{color:var(--ink);font-size:20px}@media (max-width:650px){.login-card .input{font-size:16px}}.entry-prerequisite,.draft-recovery{border:1px solid var(--ui-border,var(--line));color:var(--ink);background:var(--ui-raised,var(--paper));border-radius:12px;margin:16px;padding:14px}.entry-prerequisite p,.draft-recovery p{margin:6px 0 12px}.mobile-entry-credit{margin:0 8px;font-size:12px}.mobile-entry-dock .credit-warning{align-items:flex-start;margin:0 8px;font-size:12px;line-height:1.5}@media (max-width:980px){.entry-page-shell{padding-bottom:300px!important}}@media (max-width:980px) and (max-height:600px){.mobile-entry-dock{width:calc(100% - 20px);box-shadow:none;margin:14px auto;position:static}.entry-page-shell{padding-bottom:100px!important}}.mobile-bet-sheet-credit{justify-content:space-between;align-items:baseline;gap:12px;padding:5px 18px;font-size:13px;display:flex}.mobile-bet-sheet-credit span{color:var(--ui-muted)}.mobile-bet-sheet-warning{align-items:flex-start;margin:8px 18px;font-size:12px;line-height:1.5}.credit-warning svg{flex-shrink:0}.history-search{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px;display:flex}.history-search .field{flex:170px;min-width:0}.history-search .field:first-child{flex-basis:260px}.history-search input,.history-search select{width:100%;min-width:0}.history-scope{color:var(--muted);margin:14px 0}
