body{font-family:monospace;max-width:1200px;margin:20px auto;padding:20px;background:#fff}.markets-frozen-banner{background:#fff9c4;border:1px solid #fdd835;padding:15px;text-align:center;margin:20px 0;font-weight:700;color:#333}@media (max-width: 600px){body{padding:10px;margin:0}}a{text-decoration:underline dotted;color:#000}a:hover{text-decoration:underline}hr{margin:2rem 0;border:none;border-top:1px solid black}.modal-header h3{margin-top:0}.user-header{border:1px solid black;padding:15px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px}.user-info{padding-bottom:0;margin-bottom:0;flex:1;min-width:0;font-size:14px;line-height:1.5;display:flex;flex-direction:column;gap:4px}.user-info>div{white-space:nowrap}.header-nav{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.header-row-top,.header-row-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:14px;line-height:1.5;justify-content:flex-end}.header-row-top a,.header-row-bottom a{white-space:nowrap}@media (max-width: 600px){.user-header{flex-direction:column;align-items:stretch}.user-info{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #ddd}.header-nav{align-items:stretch;width:100%}.header-row-top,.header-row-bottom{justify-content:flex-start;gap:2px;width:100%}.header-row-top a,.header-row-bottom a{padding:2px 4px}}.leaderboard-container{display:flex;flex-direction:column;gap:10px}.leaderboard-item{border:1px solid black;padding:15px;display:flex;align-items:center;gap:15px;background:#fff}.leaderboard-item.gold{background:#ffe699}.leaderboard-item.gold.current-user{border-width:3px}.leaderboard-item.silver{background:#e0e0e0}.leaderboard-item.silver.current-user{border-width:3px}.leaderboard-item.bronze{background:#e6b887}.leaderboard-item.bronze.current-user{border-width:3px}.leaderboard-item.current-user:not(.gold):not(.silver):not(.bronze){border-width:3px}.leaderboard-rank{font-size:20px;font-weight:700;min-width:40px;text-align:center}.leaderboard-info{flex:1;min-width:0}.leaderboard-username{font-size:16px}.leaderboard-balance{font-size:18px;font-weight:700;white-space:nowrap}.you-badge{color:#666;font-size:14px;font-weight:400}.note{font-size:12px;color:#666}.current-bets h2{margin:0 0 10px;font-size:16px}.bet-item{border:1px solid black;padding:10px;margin-bottom:10px}.bet-teams{font-weight:700;margin-bottom:5px}.bet-details,.bet-amount,.potential-win{font-size:14px;margin:2px 0}.match{display:flex;flex-direction:column;justify-content:flex-start;border:1px solid black;margin-bottom:20px;padding:15px}.match-header{display:flex;justify-content:space-between;border-bottom:1px solid black;padding-bottom:10px;margin-bottom:10px}.teams{font-weight:700;font-size:18px}.btn-yes .odds-display{color:#0a7f2e}.btn-no .odds-display{color:#ab444e}.btn-yes:hover .odds-display,.btn-no:hover .odds-display{color:#fff}.betting-section{flex-grow:1;display:flex;flex-direction:column;justify-content:flex-end;gap:20px}.betting-section h3{margin:15px 0 5px;font-size:14px}.odds-bar{width:100%}.bet-options{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.bet-button{border:1px solid black;padding:8px;cursor:pointer;text-align:center;background:#fff}.bet-button:hover{color:#fff!important;background:#000!important;border-color:#000!important}.btn-yes{background:#5afd94;border-color:#000}.btn-no{background:#ff9292;border-color:#000}.odds-bar-track{display:flex;width:100%;height:10px;border:1px solid black;background:#fff}.odds-bar-fill{height:100%}.odds-bar-fill.yes{background:#0a7f2e40;border-right:1px solid #000}.odds-bar-fill.no{background:#b0102040}.odds-bar-labels{display:flex;justify-content:space-between;font-size:12px;color:#333;margin-top:4px;margin-bottom:4px}.events-grid{display:grid;grid-template-columns:1fr;gap:20px}@media (min-width: 600px){.events-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1200px){.events-grid{grid-template-columns:repeat(3,1fr)}}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#000c}.modal.show{display:block}.modal-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:20px;border:2px solid black;max-width:400px;width:90%}.modal-header{border-bottom:1px solid black;padding-bottom:10px;margin-bottom:15px}.modal-close{position:absolute;right:10px;top:10px;cursor:pointer;font-size:20px;line-height:20px}.bet-form{display:flex;flex-direction:column;gap:10px}.error-message,.success-message{padding:10px;margin-bottom:20px;border:1px solid black;text-align:center}.error-message{background:red;border-color:#000;color:#fff}.success-message{background:#000;color:#fff}.no-games-message{border:1px solid black;padding:40px;text-align:center;margin:20px 0}.no-games-message h2{margin:0 0 10px;font-size:24px}.no-games-message p{margin:0;font-size:14px}.admin-container{max-width:1200px;margin:0 auto;padding:20px}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;border-bottom:1px solid black;padding-bottom:15px}.admin-header h1{margin:0}.admin-section{border:1px solid black;padding:0 20px;margin-bottom:20px}.admin-badge{color:#fff;background:red;font-weight:700;padding:0 4px;line-height:1;vertical-align:middle}.admin-user-info{margin-bottom:10px}.match-item,.user-item{border:1px solid black;padding:15px;margin-bottom:10px}.match-info{margin-bottom:10px}.match-result{margin-top:10px;font-weight:700}.match-result.resolved{color:#666}.delete-btn{background:#000!important;color:#fff}.admin-actions{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.admin-actions .bet-form{flex:1;min-width:200px}.choice-row{border:1px solid #ddd;padding:15px;margin-bottom:10px;background:#f9f9f9;display:flex;flex-direction:row;gap:30px;justify-content:space-between}.users-list{margin-top:20px}.user-actions{display:flex;gap:10px;flex-direction:column}.user-actions-inline{display:flex;flex-direction:row;align-items:baseline;gap:10px}.user-actions-inline input{width:150px}.user-actions-inline button{white-space:nowrap}.user-actions-block{display:block;flex-shrink:0}.user-actions-inline-full{display:flex;flex-direction:row;align-items:baseline;gap:10px;width:100%}select{padding:8px;border:1px solid black;font-family:monospace;width:100%;margin-bottom:10px}input{padding:8px;border:1px solid black;border-radius:0;font-family:monospace}.user-actions-inline-full input{width:100%}input:focus{outline:none;background:#eee;color:#000;border-color:#000}input:focus::placeholder{color:#000}.bet-form button{padding:8px;background:#000;color:#fff;border:none;cursor:pointer;font-family:monospace}.bet-form button:hover{opacity:.9}.bet-form button:disabled{opacity:.5;cursor:not-allowed}.bets-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width: 600px){.bets-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1200px){.bets-grid{grid-template-columns:repeat(3,1fr)}}.bet-card{border:1px solid black;padding:12px;background:#fff}.bet-card-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid black;padding-bottom:8px;margin-bottom:10px}.bet-card-title{font-weight:700;font-size:16px}.bet-badge{display:inline-block;padding:2px 6px;border:1px solid black;font-weight:700;background:#fff}.bet-badge.yes{background:#5afd94}.bet-badge.no{background:#ff9292}.bet-card-body{display:flex;flex-direction:column;gap:6px}.bet-row{display:flex;justify-content:space-between;align-items:baseline}.bet-row .label{color:#333;font-size:12px}.bet-row .value{font-weight:700}.market-frozen .bet-button,.bet-button.disabled{pointer-events:none;filter:grayscale(100%);opacity:.6}.login-container{max-width:400px;margin:100px auto;text-align:center}.profile-forms{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}@media (max-width: 600px){.profile-forms{grid-template-columns:1fr}}.profile-form{display:flex;flex-direction:column}.profile-form .bet-form{display:flex;flex-direction:column;flex:1}.profile-form button{margin-top:auto}.admin-section-header{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:8px;padding:5px 0 20px}.admin-section-header:hover{text-decoration:underline}.admin-section-content{display:block;margin-bottom:20px}.admin-section-header.collapsed{margin-bottom:0}.admin-section-content.collapsed{display:none}.admin-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0;border:1px solid black;padding:15px;border-radius:0}.freeze-status{display:flex;align-items:center;gap:10px}.freeze-badge{font-weight:700;padding:4px 8px;border:1px solid black;background:#fff;color:#000}.freeze-button{padding:8px 16px;background:#000;color:#fff;border:1px solid black;cursor:pointer;font-family:monospace;white-space:nowrap}.freeze-button:hover{background:#333}.admin-tabs{display:flex;gap:10px;margin-bottom:20px}.admin-tab{padding:12px 24px;background:#fff;border:none;cursor:pointer;font-family:monospace;font-size:14px;font-weight:700;color:#666}.admin-tab:hover{background:#000;color:#fff}.admin-tab.active{color:#000;background:#f5f5f5}.admin-tab.active:hover{background:#000;color:#fff}.admin-tab-content{margin-top:20px}.admin-card{border:1px solid black;padding:20px;background:#fff}.admin-card h2{margin-top:0;margin-bottom:20px;font-size:20px}.admin-stats{display:flex;gap:20px}.stat-item{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:12px;color:#666}.stat-value{font-size:24px;font-weight:700}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:6px;font-weight:700;font-size:14px}.form-group input{width:100%;padding:10px;border:1px solid black;font-family:monospace}.odds-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.odds-input-group{display:flex;flex-direction:column;gap:6px}.odds-label{padding:6px 10px;font-weight:700;text-align:center;border:1px solid black;font-size:12px}.form-divider{text-align:center;margin:20px 0;position:relative}.form-divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#ccc}.form-divider span{background:#fff;padding:0 10px;position:relative;color:#666}.submit-button{width:100%;padding:12px;background:#000;color:#fff;border:1px solid black;cursor:pointer;font-family:monospace;font-weight:700;font-size:16px;margin-top:10px}.submit-button:hover{background:#333}.events-grid-admin{display:grid;grid-template-columns:1fr;gap:20px}@media (min-width: 800px){.events-grid-admin{grid-template-columns:repeat(2,1fr)}}.event-card-admin{border:1px solid black;padding:20px;background:#fff}.event-card-admin.resolved{opacity:.7;background:#f9f9f9}.event-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.event-title-section h3{margin:0 0 8px;font-size:18px}.event-description{margin:0;color:#666;font-size:14px}.event-odds-badge{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.odds-badge{padding:4px 8px;border:1px solid black;font-weight:700;font-size:12px;text-align:center}.odds-badge.yes{background:#5afd94}.odds-badge.no{background:#ff9292}.event-stats{display:flex;gap:20px;margin-bottom:15px;padding:10px;background:#f9f9f9;border:1px solid #ddd}.event-stat{display:flex;flex-direction:column;gap:4px}.event-stat .stat-label{font-size:11px;color:#666}.event-stat .stat-value{font-size:16px;font-weight:700}.yes-text{color:#0a7f2e}.no-text{color:#ab444e}.event-actions{display:flex;gap:10px;flex-wrap:wrap}.view-bets-button,.delete-button{padding:8px 16px;background:#fff;border:1px solid black;cursor:pointer;font-family:monospace;font-size:13px}.view-bets-button:hover{background:#f5f5f5}.delete-button{background:#000;color:#fff}.delete-button:hover{background:#333}.resolve-select{flex:1;min-width:150px;padding:8px;border:1px solid black;font-family:monospace;background:#fff;cursor:pointer}.bets-list{padding-top:20px}.loading-bets,.no-bets{text-align:center;padding:20px;color:#666}.bets-summary{margin-bottom:15px;padding:15px;background:#f9f9f9;border:1px solid #ddd}.summary-row{display:flex;justify-content:space-between;margin-bottom:8px}.summary-row:last-child{margin-bottom:0}.bets-table{border:1px solid black;overflow-x:auto}.bets-table-header{display:grid;grid-template-columns:1.8fr 1fr 1.2fr 1.4fr .6fr;gap:10px;padding:12px;background:#f5f5f5;border-bottom:2px solid black;font-weight:700;font-size:12px}.bets-table-row{display:grid;grid-template-columns:1.8fr 1fr 1.2fr 1.4fr .6fr;gap:10px;padding:12px;border-bottom:1px solid #ddd;align-items:center}.bets-table-row:last-child{border-bottom:none}.bets-table-row:hover{background:#f9f9f9}.bet-user{font-weight:700}.bet-date{font-size:11px;color:#666}.delete-bet-button{background:red;color:#fff;border:1px solid black;padding:1px 16px;border-radius:0;cursor:pointer;font-size:14px;font-weight:700;font-family:monospace;display:flex;align-items:center;justify-content:center}.delete-bet-button:hover{background:#c00;border-color:#900}.users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.user-search-input{flex:1;max-width:300px;padding:8px 12px}.users-list-admin{display:grid;grid-template-columns:1fr;gap:15px}.user-card-admin{border:1px solid black;padding:15px;background:#fff}.user-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #ddd}.user-info-main{display:flex;align-items:center;gap:10px}.user-name{font-size:18px}.user-balance{font-size:20px;font-weight:700}.user-details{margin-bottom:15px}.user-detail-item{display:flex;gap:10px;font-size:13px;color:#666}.detail-label{font-weight:700}.user-actions-admin{display:flex;gap:10px;flex-wrap:wrap}.balance-form{display:flex;gap:10px;flex:1;min-width:250px}.balance-form input{flex:1;padding:8px}.balance-form button{padding:8px 16px;background:#000;color:#fff;border:1px solid black;cursor:pointer;white-space:nowrap;font-family:monospace}.delete-user-button{padding:8px 16px;background:red;color:#fff;border:1px solid #ff0000;cursor:pointer;font-family:monospace}.delete-user-button:hover{background:#c00}.reset-balances-section{margin-top:30px;padding-top:20px;border-top:2px solid black}.reset-balances-section h3{margin-top:0;margin-bottom:15px}.reset-form{display:flex;gap:10px}.reset-form input{flex:1;max-width:200px;padding:8px}.reset-button{padding:8px 16px;background:#ff6b00;color:#fff;border:1px solid #ff6b00;cursor:pointer;font-family:monospace;font-weight:700}.reset-button:hover{background:#e55a00}.resolved-badge{padding:6px 12px;background:#666;color:#fff;border:1px solid black;font-size:12px;text-align:center}.resolved-info{color:#666;font-size:13px;font-style:italic}.events-section{margin-bottom:30px}.events-section h2{margin-bottom:15px;font-size:20px}@media (max-width: 600px){.admin-tabs{flex-direction:column}.admin-tab{width:100%;text-align:left}.odds-inputs{grid-template-columns:1fr}.bets-table-header,.bets-table-row{grid-template-columns:1fr;gap:5px}.bets-table-header>div:not(:first-child),.bets-table-row>div:not(:first-child){padding-left:10px;font-size:11px}.event-card-header{flex-direction:column}.users-header{flex-direction:column;align-items:stretch}.user-search-input{max-width:100%}}
