html,body,#root{height:100%;font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Roboto,Helvetica,Arial}.container{display:flex;flex-direction:column;height:100vh}.header{background:#333;color:#fff;text-align:center;padding:15px;font-size:20px;font-weight:600;letter-spacing:.5px}.main{display:flex;flex:1}.sidebar{width:240px;background:#444;color:#fff;padding:20px}.sidebar ul{list-style:none;padding:0}.sidebar li{padding:10px 12px;cursor:pointer;border-radius:6px}.sidebar li:hover{background:#555}.content{flex:1;padding:20px;background:#f4f4f4;overflow-y:auto}.upload-box{border:2px dashed #888;padding:40px;text-align:center;background:#fff;cursor:pointer;border-radius:8px}.upload-box:hover{border-color:#555}.upload-box input{margin-top:10px}.games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-top:20px}.game-card{background:#fff;border:1px solid #ddd;border-radius:10px;box-shadow:0 2px 5px #0000001a;display:flex;flex-direction:column;padding:16px;transition:transform .2s ease,box-shadow .2s ease}.game-card:hover{transform:translateY(-3px);box-shadow:0 6px 12px #00000026}.game-image{width:100%;height:120px;border-radius:8px;background:linear-gradient(135deg,#999,#777);display:flex;align-items:center;justify-content:center;color:#fff}.game-name{font-size:16px;font-weight:600;margin:10px 0 4px}.game-price{font-size:14px;color:#555;margin-bottom:8px}.info-btn{align-self:flex-start;background:transparent;border:1px solid #bbb;color:#555;font-size:12px;padding:4px 8px;border-radius:6px;margin-bottom:8px;cursor:pointer}.info-btn:hover{background:#eee}.btn-row{display:flex;gap:10px;margin-top:auto}.btn{flex:1;background:#2563eb;color:#fff;border:none;border-radius:8px;padding:8px;font-weight:600;cursor:pointer;text-align:center}.btn:hover{background:#1d4ed8}.btn.secondary{background:#e5e7eb;color:#111}.btn.secondary:hover{background:#d1d5db}.admin-layout{display:grid;grid-template-columns:240px 1fr;height:100vh}.admin-content{background:#f4f4f4;color:#222;padding:20px;overflow-y:auto}.sidebar{background:#333;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:20px}.sidebar .brand{display:flex;align-items:center;gap:10px;font-weight:700;margin-bottom:20px}.sidebar .nav{display:flex;flex-direction:column;gap:6px}.sidebar .nav button{all:unset;cursor:pointer;padding:8px 12px;border-radius:6px;color:#ccc}.sidebar .nav button.active,.sidebar .nav button:hover{background:#555;color:#fff}.sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:10px}.sidebar-footer .btn.ghost{background:transparent;border:1px solid #999;color:#fff;padding:6px 12px;border-radius:6px;cursor:pointer}.sidebar{grid-area:sidebar;border-right:1px solid var(--border);background:#2f3640;color:#f4f4f4;display:flex;flex-direction:column;padding:20px 14px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;margin-bottom:20px}.brand-badge{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--brand),var(--brand-2));display:grid;place-items:center;color:#061029;font-weight:900}.nav{display:flex;flex-direction:column;gap:6px}.nav button{all:unset;display:flex;align-items:center;padding:12px 14px;border-radius:8px;cursor:pointer;color:#dcdde1;font-weight:500;transition:background .2s,color .2s,border-left .2s;border-left:3px solid transparent}.nav button:hover{background:#ffffff14;color:#fff}.nav button.active{background:#ffffff1f;color:#fff;border-left:3px solid var(--brand)}.nav .sep{margin:12px 0;border-top:1px solid rgba(255,255,255,.15)}.admin-shell{display:grid;grid-template-columns:260px minmax(0,1fr);grid-auto-rows:1fr;height:100vh;overflow:hidden;background:#f4f4f4}.admin-sidebar{grid-column:1;display:flex;flex-direction:column;height:100vh;overflow-y:auto;background:#2f3640;color:#f4f4f4;padding:16px;border-right:1px solid rgba(0,0,0,.08);z-index:2}.admin-main{grid-column:2;min-width:0;overflow-y:auto;background:#f4f4f4;padding:20px}.admin-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;margin-bottom:14px}.brand-badge{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#2563eb,#3b82f6);display:grid;place-items:center;color:#fff;font-weight:900}.admin-nav{display:flex;flex-direction:column;gap:6px}.admin-nav .sep{margin:10px 0;border-top:1px solid rgba(255,255,255,.15)}.admin-nav button{background:none;border:none;text-align:left;width:100%;padding:10px 12px;border-radius:8px;cursor:pointer;color:#dcdde1;font-weight:600;transition:background .15s ease,color .15s ease,border-left .15s ease;border-left:3px solid transparent}.admin-nav button:hover{background:#ffffff14;color:#fff}.admin-nav button.active{background:#ffffff24;color:#fff;border-left:3px solid #3b82f6}.admin-nav .logout{color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:8px}.admin-shell .sidebar,.admin-shell .content{all:unset}.adm-wrap{display:grid;gap:16px}.adm-header{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap}.adm-title{margin:0;font-size:1.6rem;font-weight:700}.adm-subtitle{margin:4px 0 0;color:#6b7280;font-size:.95rem}.adm-actions{display:flex;gap:8px}.adm-button{padding:10px 16px;border-radius:10px;border:1px solid #e5e7eb;background:#374151;color:#fff;font-weight:600}.adm-button:hover{background:#111827}.adm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.adm-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}.adm-stat-label{color:#6b7280;font-size:.85rem;margin-bottom:6px}.adm-stat-value{font-size:1.25rem;font-weight:700}.adm-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.adm-table-scroll{width:100%;overflow:auto}.adm-table{width:100%;border-collapse:separate;border-spacing:0;min-width:600px}.adm-table thead th{background:#f9fafb;padding:12px;text-align:left;border-bottom:1px solid #e5e7eb}.adm-table tbody td{padding:12px;border-bottom:1px solid #f3f4f6}.adm-loading{display:flex;gap:10px;align-items:center;justify-content:center;padding:16px}.adm-alert{padding:12px;border:1px solid #fecaca;background:#fef2f2;color:#7f1d1d;border-radius:10px}.adm-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #0000000a}.adm-form-horizontal label{display:flex;flex-direction:column;flex:1;margin-right:16px}.adm-row{display:flex;gap:16px;margin-bottom:12px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f4f6f8;color:#111827}.adm-wrap{display:grid;gap:20px;padding:24px}.adm-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.adm-title{font-size:1.6rem;font-weight:700}.adm-subtitle{color:#6b7280;font-size:.95rem;margin-top:4px}.adm-actions{display:flex;gap:10px}.adm-button{padding:10px 16px;border-radius:8px;border:1px solid #d1d5db;background:#111827;color:#fff;font-weight:600;cursor:pointer;transition:.2s ease}.adm-button:hover:not(:disabled){background:#374151}.adm-button.danger{background:#dc2626;border:none}.adm-button.danger:hover{background:#b91c1c}.adm-alert{padding:12px 14px;border:1px solid #fecaca;background:#fef2f2;color:#7f1d1d;border-radius:10px}.adm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.adm-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:14px;box-shadow:0 1px 4px #0000000d}.adm-stat-label{color:#6b7280;font-size:.85rem;margin-bottom:4px}.adm-stat-value{font-size:1.2rem;font-weight:700}.adm-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000a;overflow:hidden}.adm-table-scroll{overflow-x:auto}.adm-table{border-collapse:separate;border-spacing:0;width:100%;min-width:720px}.adm-table thead th{background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:.9rem;font-weight:600;padding:12px 14px;text-align:left}.adm-table tbody td{border-bottom:1px solid #f3f4f6;padding:12px 14px}.adm-table tbody tr:hover{background:#fafafa}.adm-table .num{text-align:right}.empty{text-align:center;color:#6b7280}.adm-loading{padding:14px;display:flex;align-items:center;justify-content:center;gap:10px}.spinner{width:18px;height:18px;border:3px solid #e5e7eb;border-top-color:#111827;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.adm-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 6px #0000000d;padding:18px 20px;margin-top:20px}.adm-form-card h4{font-size:1.2rem;margin-bottom:14px}.adm-form{display:flex;flex-wrap:wrap;gap:14px}.adm-form label{display:flex;flex-direction:column;font-size:.9rem;font-weight:600;color:#374151;flex:1 1 200px}.adm-form input,.adm-form select,.adm-form textarea{margin-top:6px;padding:8px 10px;border-radius:8px;border:1px solid #d1d5db;font-size:.9rem}.adm-tiers{margin-top:14px}.adm-tiers table{width:100%;border-collapse:collapse}.adm-tiers th,.adm-tiers td{border:1px solid #e5e7eb;padding:8px;font-size:.9rem}.adm-tiers th{background:#f9fafb;font-weight:600}.adm-tiers td input{width:100%}.adm-tiers td button{padding:6px 10px;border-radius:6px;border:none;background:#dc2626;color:#fff;font-size:.85rem;cursor:pointer}.adm-flex-row{display:flex;gap:12px;align-items:center;justify-content:space-between}.adm-flex-row label{flex:1}.adm-form-card-modern{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;padding:0;margin-top:24px;overflow:hidden}.form-header{background:linear-gradient(to right,#f9fafb,#fff);border-bottom:1px solid #e5e7eb;padding:20px 24px}.form-title{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 4px}.form-subtitle{font-size:.875rem;color:#6b7280;margin:0}.adm-form-modern{padding:24px;display:flex;flex-direction:column;gap:28px}.form-section{display:flex;flex-direction:column;gap:16px}.section-title{font-size:1rem;font-weight:600;color:#374151;margin:0 0 8px;padding-bottom:8px;border-bottom:2px solid #e5e7eb}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.form-label{display:flex;flex-direction:column;gap:6px}.label-text{font-size:.875rem;font-weight:600;color:#374151}.required{color:#ef4444;font-weight:700}.form-input,.form-select,.form-textarea{padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:.9375rem;color:#111827;background-color:#fff;transition:all .15s ease}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input::placeholder,.form-textarea::placeholder{color:#9ca3af}.form-textarea{resize:vertical;min-height:80px;font-family:inherit}.form-label-checkbox{display:flex;align-items:center;gap:10px;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;cursor:pointer;transition:all .15s ease}.form-label-checkbox:hover{background:#f3f4f6;border-color:#d1d5db}.form-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#3b82f6}.checkbox-label{font-size:.875rem;font-weight:600;color:#374151;cursor:pointer}@media (max-width: 768px){.form-grid{grid-template-columns:1fr}.adm-form-modern,.form-header{padding:16px}}.studio-section{margin-top:32px}.studio-section .section-title{font-size:1.25rem;font-weight:700;color:#111827;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e5e7eb}.game-type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-top:16px}.game-type-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:24px;color:#fff;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 6px #0000001a}.game-type-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #00000026}.game-type-card.selected{box-shadow:0 0 0 4px #3b82f6;transform:translateY(-4px)}.game-type-card h4{font-size:1.25rem;font-weight:700;margin-bottom:8px}.game-type-code{display:inline-block;background:#fff3;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:12px}.game-type-desc{font-size:.875rem;line-height:1.5;opacity:.95}.template-list,.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-top:16px}.template-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;cursor:pointer;transition:all .2s ease}.template-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.template-card.selected{border-color:#3b82f6;background:#eff6ff;box-shadow:0 0 0 3px #3b82f61a}.template-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.template-card h5{font-size:1.125rem;font-weight:700;color:#111827;margin-bottom:6px}.template-type{display:inline-block;background:#f3f4f6;color:#6b7280;padding:4px 10px;border-radius:6px;font-size:.75rem;font-weight:600;margin-bottom:10px}.template-desc{font-size:.875rem;color:#6b7280;line-height:1.5;margin-bottom:12px}.template-meta{display:flex;gap:8px;align-items:center;margin-top:12px}.badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge.public{background:#dbeafe;color:#1e40af}.badge.private{background:#fee2e2;color:#991b1b}.delete-btn{background:#fee2e2;color:#dc2626;border:none;width:28px;height:28px;border-radius:50%;font-size:1.25rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;line-height:1}.delete-btn:hover{background:#dc2626;color:#fff}.wizard-nav{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.form-preview{margin-top:20px;padding:16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.form-preview h5{font-size:.875rem;font-weight:700;color:#374151;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.form-preview pre{background:#1f2937;color:#f3f4f6;padding:16px;border-radius:6px;overflow-x:auto;font-size:.8125rem;line-height:1.6;max-height:300px;overflow-y:auto}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;text-align:center}.stat-label{font-size:.875rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.stat-value{font-size:2rem;font-weight:700;color:#111827}.section-card{margin-top:32px}.section-title{font-size:1.25rem;font-weight:700;color:#111827;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e5e7eb}.jackpot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-top:16px}.jackpot-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s ease}.jackpot-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.jackpot-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.jackpot-header h4{font-size:1.125rem;font-weight:700;color:#111827;margin:0}.jackpot-type{display:inline-block;background:#f3f4f6;color:#6b7280;padding:4px 10px;border-radius:6px;font-size:.75rem;font-weight:600;margin-bottom:12px;text-transform:capitalize}.jackpot-amount{font-size:2rem;font-weight:700;color:#10b981;margin:12px 0;text-align:center}.jackpot-meta{display:flex;flex-direction:column;gap:8px;margin:16px 0;padding:12px;background:#f9fafb;border-radius:8px}.meta-item{display:flex;justify-content:space-between;font-size:.875rem}.meta-label{color:#6b7280;font-weight:600}.meta-value{color:#111827;font-weight:600}.jackpot-actions{display:flex;gap:8px;margin-top:16px}.tournaments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:20px;margin-top:16px}.tournament-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s ease}.tournament-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.tournament-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.tournament-header h4{font-size:1.125rem;font-weight:700;color:#111827;margin:0;flex:1}.tournament-type{font-size:.875rem;color:#6b7280;margin-bottom:16px;font-weight:600;text-transform:capitalize}.tournament-meta{display:flex;flex-direction:column;gap:8px;margin:16px 0}.meta-row{display:flex;justify-content:space-between;font-size:.875rem;padding:6px 0;border-bottom:1px solid #f3f4f6}.meta-row:last-child{border-bottom:none}.meta-row .meta-value.highlight{color:#10b981;font-weight:700}.tournament-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}.btn-small{padding:6px 12px;font-size:.875rem;border-radius:6px;border:1px solid #e5e7eb;background:#fff;color:#374151;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-small:hover{background:#f9fafb;border-color:#d1d5db}.btn-small.secondary{background:#f3f4f6;color:#6b7280}.btn-small.success{background:#10b981;color:#fff;border-color:#10b981}.btn-small.success:hover{background:#059669}.btn-small.error{background:#ef4444;color:#fff;border-color:#ef4444}.btn-small.error:hover{background:#dc2626}.table-container{overflow-x:auto;margin-top:16px}.data-table{width:100%;border-collapse:collapse;font-size:.875rem}.data-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.data-table th{padding:12px;text-align:left;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.5px;font-size:.75rem}.data-table td{padding:12px;border-bottom:1px solid #f3f4f6;color:#111827}.data-table tr:hover{background:#f9fafb}.data-table .highlight{color:#10b981;font-weight:700}.data-table .rank{font-weight:700;color:#3b82f6}.data-table .prize{font-weight:700;color:#f59e0b}.data-table .top-rank{background:#fffbeb}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:16px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a}.modal-content.large{max-width:900px}.modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:flex-start}.modal-header h3{margin:0;font-size:1.5rem;font-weight:700;color:#111827}.modal-subtitle{margin-top:4px;font-size:.875rem;color:#6b7280}.modal-close{background:#f3f4f6;border:none;width:32px;height:32px;border-radius:50%;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#6b7280;transition:all .2s ease}.modal-close:hover{background:#e5e7eb;color:#111827}.modal-body{padding:24px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.detail-label{font-size:.75rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:1.125rem;color:#111827;font-weight:700}.tiers-section,.games-section{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.tiers-section h4,.games-section h4,.leaderboard-title{font-size:1rem;font-weight:700;color:#111827;margin-bottom:16px}.tiers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.tier-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:16px;border-radius:10px;text-align:center}.tier-name{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.tier-amount{font-size:1.5rem;font-weight:700;margin-bottom:4px}.tier-wins{font-size:.75rem;opacity:.9}.games-list{list-style:none;padding:0;margin:0}.games-list li{padding:12px;background:#f9fafb;border-radius:6px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.games-list .multiplier{background:#3b82f6;color:#fff;padding:4px 8px;border-radius:4px;font-size:.75rem;font-weight:700}.filter-select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;font-size:.875rem;font-weight:600;color:#374151;cursor:pointer}.filter-select:focus{outline:none;border-color:#3b82f6}.empty-state{text-align:center;padding:40px;color:#6b7280;font-style:italic}.badge.neutral{background:#f3f4f6;color:#6b7280}.badge.highlight{background:#dbeafe;color:#1e40af}.badge.success{background:#d1fae5;color:#065f46}.realtime-banner{display:flex;gap:20px;padding:20px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;margin-bottom:24px;box-shadow:0 4px 6px #0000001a}.realtime-item{display:flex;align-items:center;gap:12px;padding:16px 24px;background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:8px;flex:1}.realtime-icon{font-size:2rem}.realtime-value{font-size:2rem;font-weight:700;color:#fff;line-height:1}.realtime-label{font-size:.875rem;color:#ffffffe6;text-transform:uppercase;letter-spacing:.5px;margin-top:4px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-top:20px}.kpi-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s ease}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.kpi-card.public{border-color:#10b981;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.kpi-card.highlight{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.kpi-card.error{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.kpi-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.kpi-name{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.kpi-value{font-size:2.25rem;font-weight:700;color:#111827;margin-bottom:8px;line-height:1}.kpi-meta{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb}.kpi-target{font-size:.75rem;color:#6b7280}.kpi-category{font-size:.75rem;color:#9ca3af;text-transform:capitalize;margin-top:8px}.change-indicator{font-size:.875rem;font-weight:600;padding:4px 8px;border-radius:6px}.change-indicator.positive{background:#d1fae5;color:#065f46}.change-indicator.negative{background:#fee2e2;color:#991b1b}.auto-refresh-toggle{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;font-size:.875rem;transition:all .2s ease}.auto-refresh-toggle:hover{background:#f9fafb}.auto-refresh-toggle input[type=checkbox]{cursor:pointer}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.filter-select.small{max-width:200px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:20px}.stat-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000014}.stat-card.highlight{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.stat-label{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.stat-value{font-size:2rem;font-weight:700;color:#111827;line-height:1}.stat-detail{font-size:.75rem;color:#6b7280;margin-top:8px}.data-table .top-rank{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-left:3px solid #f59e0b}.data-table .rank{font-weight:700;font-size:1.125rem}.realtime-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:20px}.realtime-game-card{background:#fff;border:2px solid #e5e7eb;border-radius:8px;padding:16px;display:flex;justify-content:space-between;align-items:center;transition:all .2s ease}.realtime-game-card:hover{border-color:#10b981;box-shadow:0 2px 8px #10b9811a}.game-info .game-name{font-weight:600;color:#111827;margin-bottom:4px}.game-info .game-code{font-size:.75rem;color:#6b7280;font-family:monospace}.player-count{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f3f4f6;border-radius:20px}.player-count .player-icon{font-size:1.125rem}.player-count .count{font-weight:700;color:#111827;font-size:1rem}.empty-state{text-align:center;padding:60px 20px;color:#6b7280}.empty-state p{font-size:1.125rem;margin:0}@media (max-width: 768px){.realtime-banner{flex-direction:column}.kpi-grid,.stats-grid,.realtime-games{grid-template-columns:1fr}}.search-section{display:flex;gap:12px;align-items:center;margin-bottom:20px}.search-input{flex:1;padding:12px 16px;border:2px solid #d1d5db;border-radius:8px;font-size:1rem;transition:border-color .2s ease}.search-input:focus{outline:none;border-color:#3b82f6}.player-info-banner{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;padding:16px 24px;border-radius:8px;margin-bottom:20px;font-size:1.125rem}.tabs-container{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e5e7eb}.tab{padding:12px 24px;background:transparent;border:none;border-bottom:3px solid transparent;cursor:pointer;font-weight:600;color:#6b7280;transition:all .2s ease}.tab:hover{color:#111827}.tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.consumption-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:20px}.consumption-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s ease}.consumption-card.success{border-color:#10b981;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.consumption-card.highlight{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.consumption-card.error{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.consumption-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.consumption-type{font-weight:600;color:#111827}.consumption-bar{width:100%;height:24px;background:#e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:12px}.consumption-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);transition:width .3s ease}.consumption-card.highlight .consumption-fill{background:linear-gradient(90deg,#f59e0b,#d97706)}.consumption-card.error .consumption-fill{background:linear-gradient(90deg,#ef4444,#dc2626)}.consumption-details{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#6b7280}.usage-percent{font-weight:700;font-size:1.125rem;color:#111827}.consumption-period{font-size:.75rem;color:#9ca3af;margin-top:8px}.lock-blocks{display:flex;flex-wrap:wrap;gap:8px}.lock-icon{font-size:.75rem;padding:4px 8px;background:#fee2e2;color:#991b1b;border-radius:4px}.highlighted-row{background:#fef3c7!important;border-left:4px solid #f59e0b}.action-btn{padding:6px 12px;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:600;transition:all .2s ease}.action-btn.error{background:#fee2e2;color:#991b1b}.action-btn.error:hover{background:#fecaca}.action-btn.success{background:#d1fae5;color:#065f46}.action-btn.success:hover{background:#a7f3d0}.action-btn.highlight{background:#fef3c7;color:#92400e}.action-btn.highlight:hover{background:#fde68a}.subsection-title{font-size:1.125rem;font-weight:600;color:#111827;margin-top:32px;margin-bottom:16px}.audit-table{font-size:.875rem}.audit-table .timestamp{font-size:.75rem;color:#6b7280}.audit-table .user-cell{display:flex;flex-direction:column;gap:4px}.audit-table .user-id{font-weight:600}.audit-table .category-badge{display:inline-block;padding:4px 8px;background:#f3f4f6;border-radius:4px;font-size:.75rem;text-transform:uppercase}.audit-table .description{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audit-table .ip-address{font-family:monospace;font-size:.75rem;color:#6b7280}.flagged-row{background:#fef2f2!important;border-left:4px solid #ef4444!important}.risk-score{display:inline-block;padding:4px 8px;border-radius:4px;font-weight:700;font-size:.875rem}.risk-score.low{background:#d1fae5;color:#065f46}.risk-score.medium{background:#fef3c7;color:#92400e}.risk-score.high{background:#fee2e2;color:#991b1b}.filters-row{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap;align-items:center}.filters-row select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:#fff;cursor:pointer}.filter-checkbox{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer}.filter-checkbox input{cursor:pointer}.fraud-alerts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-top:20px}.fraud-alert-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;cursor:pointer;transition:all .2s ease}.fraud-alert-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.fraud-alert-card.severity-critical,.fraud-alert-card.severity-high{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.fraud-alert-card.severity-medium{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.alert-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.severity-badge,.status-badge{padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase}.alert-type{font-size:1.125rem;font-weight:700;color:#111827;margin-bottom:8px;text-transform:capitalize}.alert-description{color:#6b7280;margin-bottom:16px;line-height:1.5}.alert-meta{display:flex;flex-direction:column;gap:6px;font-size:.875rem;color:#6b7280;padding-top:12px;border-top:1px solid #e5e7eb}.jurisdictions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-top:20px}.jurisdiction-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:24px;transition:all .2s ease}.jurisdiction-card:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f61a}.jurisdiction-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.jurisdiction-name{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.jurisdiction-code{font-size:.875rem;color:#6b7280;margin-bottom:8px}.jurisdiction-regulator{font-size:.875rem;color:#3b82f6;font-weight:600;margin-bottom:16px}.jurisdiction-requirements{margin:16px 0}.jurisdiction-requirements h5{font-size:.875rem;font-weight:600;color:#6b7280;margin-bottom:8px}.jurisdiction-requirements ul{list-style:none;padding:0;margin:0}.jurisdiction-requirements li{padding:4px 0;font-size:.875rem;color:#4b5563}.jurisdiction-requirements li:before{content:"✓ ";color:#10b981;font-weight:700;margin-right:6px}.jurisdiction-tax,.jurisdiction-reporting{font-size:.875rem;color:#6b7280;margin-top:8px}.modal-content.large{max-width:800px;width:90%}.alert-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-item label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase}.detail-item span{font-size:1rem;color:#111827}.detail-section{margin-bottom:20px}.detail-section label{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;display:block;margin-bottom:8px}.evidence-code{background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;padding:16px;font-family:monospace;font-size:.875rem;overflow-x:auto;max-height:300px}.adm-alert.error{background:#fee2e2;color:#991b1b;border-left:4px solid #ef4444;padding:16px;border-radius:8px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.adm-alert.success{background:#d1fae5;color:#065f46;border-left:4px solid #10b981;padding:16px;border-radius:8px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.adm-alert button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:inherit;line-height:1}.loading-state{text-align:center;padding:60px 20px;color:#6b7280;font-size:1.125rem}@media (max-width: 768px){.consumption-grid,.fraud-alerts-grid,.jurisdictions-grid,.alert-detail-grid{grid-template-columns:1fr}.tabs-container{overflow-x:auto}.filters-row{flex-direction:column;align-items:stretch}.filters-row select,.filter-checkbox{width:100%}}.variants-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem;margin-top:1rem}.variant-card{border:2px solid #e5e7eb;border-radius:8px;padding:1.5rem;background:#fff;transition:all .2s}.variant-card:hover{border-color:#3b82f6;box-shadow:0 4px 6px #0000000d}.variant-card.control{border-color:#10b981;background:#f0fdf4}.variant-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.variant-header h4{margin:0;font-size:1.125rem;font-weight:600;flex:1}.traffic-badge{background:#dbeafe;color:#1e40af;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.variant-config{margin:1rem 0;padding:.75rem;background:#f9fafb;border-radius:6px}.variant-config strong{display:block;margin-bottom:.5rem;font-size:.875rem;color:#6b7280}.variant-config pre{margin:0;padding:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:4px;font-size:.8125rem;overflow-x:auto}.variant-results{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.result-stat{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;font-size:.875rem}.result-stat label{color:#6b7280;font-weight:500}.result-stat span{font-weight:600;color:#111827}.result-stat.highlight span{color:#3b82f6;font-size:1rem}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin:1rem 0}.detail-item{padding:.75rem 0}.detail-item label{display:block;font-weight:600;color:#6b7280;font-size:.875rem;margin-bottom:.25rem}.detail-item span,.detail-item p{display:block;color:#111827;font-size:.9375rem}.detail-item p{margin:.5rem 0 0;line-height:1.5}.btn-small{padding:.375rem .75rem;font-size:.875rem;border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:4px;cursor:pointer;transition:all .15s;margin-right:.5rem}.btn-small:hover{background:#f9fafb;border-color:#9ca3af}.btn-small.public{background:#10b981;color:#fff;border-color:#10b981}.btn-small.public:hover{background:#059669;border-color:#059669}.btn-small.highlight{background:#f59e0b;color:#fff;border-color:#f59e0b}.btn-small.highlight:hover{background:#d97706;border-color:#d97706}.btn-small.success{background:#3b82f6;color:#fff;border-color:#3b82f6}.btn-small.success:hover{background:#2563eb;border-color:#2563eb}.metrics-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.metric-card{padding:1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.metric-card h4{margin:0 0 .5rem;font-size:.875rem;color:#6b7280;font-weight:500}.metric-card .value{font-size:1.875rem;font-weight:700;color:#111827;line-height:1}.metric-card .change{margin-top:.5rem;font-size:.875rem}.metric-card .change.positive{color:#10b981}.metric-card .change.negative{color:#ef4444}.adm-alert.success{background:#d1fae5;color:#065f46;border-left:4px solid #10b981}.data-table tbody tr td.error{color:#dc2626;font-weight:600}.data-table tbody tr td.highlight{color:#2563eb;font-weight:600}@media (max-width: 768px){.variants-grid,.detail-grid,.metrics-summary{grid-template-columns:1fr}}.picture-section{margin-bottom:24px}.picture-section .section-title{font-size:1rem;font-weight:600;color:#374151;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e5e7eb}.picture-current{display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:start}@media (max-width: 768px){.picture-current{grid-template-columns:1fr}}.picture-preview-container{background:#f3f4f6;border:2px solid #e5e7eb;border-radius:12px;overflow:hidden;aspect-ratio:1;display:flex;align-items:center;justify-content:center}.picture-preview-img{width:100%;height:100%;object-fit:cover}.picture-info{padding:8px 0}.picture-info p{margin:8px 0;font-size:.875rem;color:#4b5563}.picture-info strong{color:#111827}.picture-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin-top:16px}.picture-history-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.picture-history-img{width:100%;aspect-ratio:1;object-fit:cover}.picture-history-actions{padding:8px;display:flex;justify-content:center}.adm-button .spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;vertical-align:middle}.sim-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.sim-config-full{grid-column:1 / -1}.sim-config-field label{display:block;font-weight:600;margin-bottom:6px;color:#334155;font-size:.9rem}.sim-config-field input[type=number]{width:100%;padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:.95rem}.sim-config-field input[type=number]:disabled{background:#f1f5f9;color:#94a3b8}.sim-config-field small{display:block;color:#94a3b8;margin-top:4px;font-size:.8rem}.sim-radio-group{display:flex;flex-direction:column;gap:8px}.sim-radio{display:flex;align-items:center;gap:8px;font-weight:400!important;cursor:pointer}.sim-radio input[type=radio]{margin:0}.sim-disabled{opacity:.5;cursor:not-allowed}.sim-game-selector{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.sim-game-chip{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#fff;border:1px solid #cbd5e1;border-radius:20px;font-size:.85rem;font-weight:400!important;cursor:pointer;transition:all .15s}.sim-game-chip:has(input:checked){background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.sim-game-chip input{margin:0}.sim-actions{display:flex;gap:12px;padding-top:16px;border-top:1px solid #e2e8f0}.btn-primary{padding:10px 28px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-danger{padding:10px 28px;background:#ef4444;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-danger:hover{background:#dc2626}.sim-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:20px 0}.sim-stat-card{text-align:center;padding:16px;background:#f8fafc;border-radius:10px;border:1px solid #e2e8f0}.sim-stat-value{font-size:1.6rem;font-weight:700;color:#1e293b}.sim-stat-value.sim-rtp{color:#059669}.sim-stat-label{font-size:.8rem;color:#64748b;margin-top:4px;text-transform:uppercase;letter-spacing:.5px}.sim-progress-wrap{margin:16px 0}.sim-progress-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:6px}.sim-progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#06b6d4);border-radius:4px;transition:width .5s ease}.sim-errors{max-height:300px;overflow-y:auto;font-size:.85rem}.sim-error-entry{padding:6px 0;border-bottom:1px solid #f1f5f9;color:#dc2626}.sim-error-entry small{color:#94a3b8;margin-right:8px}.badge.success{background:#dcfce7;color:#166534}.badge.error{background:#fee2e2;color:#991b1b}
