*{box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#1a1a2e;color:#eee;margin:0;padding:12px;min-height:100vh}@media (min-width: 1024px){body{padding:20px}}.app{max-width:100%;margin:0 auto;padding:12px}@media (min-width: 640px){.app{max-width:95vw;padding:16px}}@media (min-width: 1024px){.app{max-width:800px;padding:20px}}h1{margin:0;color:#00d9ff}.subtitle{color:#888;margin-top:4px;margin-bottom:24px}.buy-in-amt-section{background:#16213e;padding:12px;border-radius:8px;margin-bottom:16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}@media (min-width: 640px){.buy-in-amt-section{padding:16px;margin-bottom:20px;flex-direction:row;align-items:center;gap:12px}}.buy-in-amt-section label{color:#888;font-weight:500;font-size:15px}@media (min-width: 640px){.buy-in-amt-section label{font-size:16px}}.buy-in-amt-section input{padding:12px;border:1px solid #333;border-radius:4px;background:#1a1a2e;color:#eee;font-size:16px;width:100%;max-width:200px;min-height:44px}@media (min-width: 640px){.buy-in-amt-section input{padding:8px 12px;width:100px;min-height:auto}}.player-form{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}@media (min-width: 380px) and (max-width: 639px){.player-form{flex-direction:row;gap:8px}.player-form input[type=text]{flex:1 1 0;min-width:0}.player-form button{flex:0 0 auto}}@media (min-width: 640px){.player-form{flex-direction:row;gap:8px;flex-wrap:wrap}}.player-form input{padding:12px;border:1px solid #333;border-radius:4px;background:#16213e;color:#eee;font-size:16px;min-height:44px}.player-form input[type=text]{flex:1;min-width:0}@media (min-width: 640px){.player-form input[type=text]{flex:2;min-width:120px;font-size:14px}}.player-form input[type=number]{flex:1;min-width:0}@media (min-width: 640px){.player-form input[type=number]{min-width:80px;font-size:14px}}@media (max-width: 379px){.player-form input{padding:10px;min-height:42px}.player-form button{padding:11px 18px;min-height:44px;font-size:15px}}@media (min-width: 380px) and (max-width: 639px){.player-form input{padding:10px;min-height:42px}.player-form button{padding:10px 16px;min-height:42px;font-size:15px}}.player-form button{padding:14px 20px;background:#00d9ff;color:#1a1a2e;border:none;border-radius:4px;font-weight:600;font-size:16px;cursor:pointer;min-height:48px}@media (min-width: 640px){.player-form button{padding:10px 16px;font-size:14px;min-height:auto}}.player-form button:hover{background:#00b8d9}.player-form-controls{display:flex;align-items:center;gap:8px;flex:1;min-width:0}@media (max-width: 639px){.player-form-controls{gap:6px}}@media (min-width: 640px){.player-form-controls{gap:4px;min-width:120px}}.empty-message{color:#666;text-align:center;padding:20px}.player-list{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:20px}.player-list table{width:100%;border-collapse:collapse;font-size:13px;min-width:430px}@media (min-width: 640px){.player-list table{font-size:14px;min-width:auto}}.player-list th,.player-list td{padding:6px 2px;text-align:left;border-bottom:1px solid #333;font-size:12px;white-space:nowrap}@media (min-width: 640px){.player-list th,.player-list td{padding:10px;font-size:14px;min-width:auto}}.player-list th{color:#888;font-weight:500;font-size:11px}@media (min-width: 640px){.player-list th{font-size:14px}}.player-list th:nth-child(1),.player-list td:nth-child(1){min-width:60px}.player-list th:nth-child(2),.player-list td:nth-child(2){min-width:90px}.player-list th:nth-child(3),.player-list td:nth-child(3){min-width:70px}.player-list th:nth-child(4),.player-list td:nth-child(4){min-width:85px;text-align:center;padding-right:12px}@media (min-width: 640px){.player-list th:nth-child(4),.player-list td:nth-child(4){padding-right:10px}}.player-list th:nth-child(5),.player-list td:nth-child(5){min-width:55px;padding-left:12px;padding-right:12px}@media (min-width: 640px){.player-list th:nth-child(5),.player-list td:nth-child(5){padding-left:10px;padding-right:10px}}.player-list th:nth-child(6),.player-list td:nth-child(6){min-width:45px}@media (max-width: 639px){.player-list th:nth-child(1),.player-list td:nth-child(1){position:sticky;left:0;z-index:2;background:#1a1a2e}.player-list th:nth-child(1){z-index:3}.player-list th:nth-child(1):after,.player-list td:nth-child(1):after{content:"";position:absolute;top:0;right:0;bottom:0;width:8px;background:linear-gradient(to right,transparent,rgba(0,0,0,.15));pointer-events:none}.player-list tfoot td:nth-child(1){position:sticky;left:0;z-index:2;background:#1a1a2e}}.player-list .positive{color:#4ade80}.player-list .negative{color:#f87171}.remove-btn{background:transparent;border:1px solid #555;color:#888;padding:10px 12px;border-radius:4px;cursor:pointer;min-width:44px;min-height:44px;font-size:16px}@media (min-width: 640px){.remove-btn{padding:4px 8px;min-width:auto;min-height:auto;font-size:14px}}.remove-btn:hover{background:#f87171;border-color:#f87171;color:#fff}.error{background:#7f1d1d;color:#fca5a5;padding:12px;border-radius:4px;margin-bottom:16px}.mismatch-warning{background:#854d0e;border:1px solid #ca8a04;color:#fde047;padding:12px;border-radius:4px;margin-bottom:16px}.mismatch-text{margin:0 0 8px;font-size:15px}@media (min-width: 640px){.mismatch-text{font-size:16px}}.mismatch-text strong{color:#fef08a;font-weight:600}.mismatch-details{margin:0;font-size:13px;opacity:.9}@media (min-width: 640px){.mismatch-details{font-size:14px}}.actions{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}@media (min-width: 640px){.actions{flex-direction:row;gap:12px;margin-bottom:24px}}.settle-btn{flex:1;padding:16px 24px;background:#22c55e;color:#fff;border:none;border-radius:4px;font-size:17px;font-weight:600;cursor:pointer;min-height:52px}@media (min-width: 640px){.settle-btn{padding:14px 24px;font-size:16px;min-height:auto}}.settle-btn:hover:not(:disabled){background:#16a34a}.settle-btn:disabled{background:#333;color:#666;cursor:not-allowed}.clear-btn{padding:16px 24px;background:transparent;color:#888;border:1px solid #444;border-radius:4px;font-size:17px;cursor:pointer;min-height:52px}@media (min-width: 640px){.clear-btn{padding:14px 24px;font-size:16px;min-height:auto}}.clear-btn:hover:not(:disabled){border-color:#666;color:#aaa}.clear-btn:disabled{opacity:.5;cursor:not-allowed}.settlement-results{background:#16213e;border-radius:8px;padding:16px 12px}@media (min-width: 640px){.settlement-results{padding:20px}}.settlement-results h3{margin:0 0 12px;color:#00d9ff;font-size:18px}@media (min-width: 640px){.settlement-results h3{margin:0 0 16px;font-size:20px}}.export-csv-btn{background:transparent;border:1px solid #00d9ff;color:#00d9ff;padding:12px 24px;border-radius:4px;cursor:pointer;font-size:15px;font-weight:500;transition:all .2s ease;width:100%;margin-top:16px}@media (min-width: 640px){.export-csv-btn{font-size:16px;padding:14px 24px;margin-top:20px}}.export-csv-btn:hover{background:#00d9ff;color:#1a1a2e}.export-csv-btn:active{transform:scale(.98)}.settlement-results ul{list-style:none;padding:0;margin:0}.settlement-results li{padding:12px 8px;border-bottom:1px solid #333;font-size:15px;word-wrap:break-word;overflow-wrap:break-word}@media (min-width: 640px){.settlement-results li{padding:12px 0;font-size:16px}}.settlement-results li:last-child{border-bottom:none}.transaction .from{color:#f87171;font-weight:600}.transaction .to{color:#4ade80;font-weight:600}.transaction .amount{color:#fbbf24;font-weight:600}.buy-in-controls{display:flex;align-items:center;gap:4px}.buy-in-controls-stacked{display:flex;align-items:center;gap:4px;cursor:pointer;padding:4px;border-radius:4px;transition:background .15s ease;width:75px}.buy-in-controls-stacked:hover{background:#00d9ff0d}.buy-in-value{font-size:16px;width:36px;text-align:center}@media (min-width: 640px){.buy-in-value{font-size:14px}}.stacked-buttons{display:flex;flex-direction:column;gap:2px}.inc-dec-btn.stacked{padding:2px 8px;font-size:14px;min-width:28px;min-height:22px;line-height:1}@media (min-width: 640px){.inc-dec-btn.stacked{padding:1px 6px;font-size:12px;min-width:24px;min-height:18px}}.inc-dec-btn.disabled-visual{opacity:.4;background:#1a1a2e;border-color:#333;color:#666;cursor:pointer}.inc-dec-btn.disabled-visual:hover{background:#1a1a2e;color:#666;border-color:#333}.cashout-readonly{display:inline-block;padding:8px 12px;border:1px solid #333;border-radius:4px;background:#1a1a2e;color:#888;font-size:14px;min-width:80px;text-align:center;cursor:pointer;transition:all .15s ease;box-sizing:border-box}.cashout-readonly:hover{border-color:#00d9ff;color:#aaa}.inc-dec-btn{background:#16213e;border:1px solid #444;color:#00d9ff;padding:8px 10px;border-radius:4px;cursor:pointer;font-size:18px;font-weight:600;min-width:36px;min-height:36px}@media (min-width: 640px){.inc-dec-btn{padding:4px 10px;font-size:16px;min-width:32px;min-height:auto}}.inc-dec-btn:hover:not(:disabled){background:#00d9ff;color:#1a1a2e;border-color:#00d9ff}.inc-dec-btn:disabled{opacity:.3;cursor:not-allowed}.inline-input{padding:4px 2px;border:1px solid #444;border-radius:4px;background:#1a1a2e;color:#eee;font-size:16px;text-align:center;width:36px}@media (min-width: 640px){.inline-input{padding:4px 8px;font-size:14px;width:36px}}.inline-input:focus{outline:none;border-color:#00d9ff}.cashout-input{min-width:80px;padding:8px 12px;box-sizing:border-box}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal{background:#16213e;border-radius:8px;padding:24px;max-width:400px;width:100%;text-align:center}.modal p{margin:0 0 20px;font-size:16px;color:#eee}.modal-actions{display:flex;gap:12px;justify-content:center}.modal-actions .cancel-btn{padding:12px 24px;background:transparent;color:#888;border:1px solid #444;border-radius:4px;font-size:15px;cursor:pointer;min-height:44px}.modal-actions .cancel-btn:hover{border-color:#666;color:#aaa}.modal-actions .confirm-btn{padding:12px 24px;background:#dc2626;color:#fff;border:none;border-radius:4px;font-size:15px;font-weight:600;cursor:pointer;min-height:44px;animation:none}.modal-actions .confirm-btn:hover{background:#b91c1c;transform:none}.editable-value{cursor:pointer;padding:8px 12px;border-radius:4px;display:inline-block;min-width:50px;transition:background .15s ease}.editable-value:hover{background:#00d9ff1a}.stats-page{max-width:1200px;margin:0 auto;padding:20px}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.stats-page h1{color:#00d9ff;margin:0}.stats-generated{color:#666;font-size:14px;margin-bottom:24px}.refresh-btn{background:#16213e;border:1px solid #00d9ff;color:#00d9ff;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.refresh-btn:hover{background:#00d9ff;color:#1a1a2e}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.stat-card{background:#16213e;border-radius:8px;padding:16px}.stat-card.wide{grid-column:1 / -1}.stat-card h3{color:#00d9ff;margin:0 0 12px;font-size:16px;border-bottom:1px solid #333;padding-bottom:8px}.stat-item{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #2a2a4a}.stat-item:last-child{border-bottom:none}.stat-label{color:#aaa}.stat-value{color:#fff;font-weight:500}.status-2xx{color:#4ade80}.status-3xx{color:#60a5fa}.status-4xx{color:#fbbf24}.status-5xx{color:#f87171}.no-data{color:#666;font-style:italic;text-align:center;padding:12px}.top-ips-table{width:100%;border-collapse:collapse;font-size:14px}.top-ips-table th,.top-ips-table td{padding:8px;text-align:left;border-bottom:1px solid #333}.top-ips-table th{color:#888;font-weight:500}.top-ips-table td{color:#eee}.back-link{display:inline-block;margin-top:24px;color:#00d9ff;text-decoration:none}.back-link:hover{text-decoration:underline}
