body{background:#fff;font-family:Arial,sans-serif;margin:0;padding:0;color:#303030}.calculator-container{max-width:700px;margin:20px 0;padding:20px;background:#f9f9f9;border:1px solid #ccc;border-radius:10px;box-shadow:0 0 10px rgb(0 0 0 / .1)}h2{text-align:center;margin-top:0;margin-bottom:15px;font-size:1.8em;color:#303030;border-bottom:1px solid #ccc;padding-bottom:10px;margin-bottom:20px}h3{margin-top:0;font-size:1.2em;color:#303030;text-align:center;margin-bottom:15px}.intro{font-size:.8em;color:#555;line-height:1.4;text-align:center;max-width:95%;margin:0 auto 15px auto}.main-mode-toggle{margin-bottom:25px;display:flex;justify-content:center}.main-mode-toggle .pill-switch{width:200px;background:#e9ecef;height:32px}.main-mode-toggle .pill-switch label{font-size:.7em;line-height:32px;color:#666;cursor:pointer;position:relative;float:left;width:50%;text-align:center;z-index:2;font-weight:500;padding:0;height:32px;display:flex;align-items:center;justify-content:center}.main-mode-toggle .pill-switch input[type="radio"]:checked+label{color:#fff;font-weight:700}.main-mode-toggle .pill-switch input[value="winnings"]:checked~.slider{left:50%}.stake-section{background:#fff;border:2px solid #e3f2fd;border-radius:8px;padding:12px;margin-bottom:12px;transition:border-color 0.3s ease;text-align:left}.stake-section:hover{border-color:#007bff}.stake-container{display:flex;flex-direction:column;gap:8px;justify-content:flex-start}.stake-top-row{display:flex;align-items:center;gap:10px;justify-content:flex-start}.stake-icon{font-weight:700;font-size:.85em;color:#007bff;width:22px;height:22px;background:#e3f2fd;border-radius:50%;text-align:center;line-height:22px;flex-shrink:0}.stake-input-group{display:flex!important;align-items:center;gap:10px;flex:1;justify-content:flex-start!important}.stake-input-group label{font-size:.8em;color:#495057;font-weight:500;width:120px;flex-shrink:0}.stake-input-wrapper{display:flex;align-items:center;flex:1;background:#f8f9fa;border:1px solid #ced4da;border-radius:4px;height:32px}.stake-input-wrapper:focus-within{border-color:#007bff;box-shadow:0 0 0 2px rgb(0 123 255 / .25);background:#fff}.currency-symbol{padding:0 4px 0 8px;color:#6c757d;font-weight:500;font-size:.8em;line-height:28px;height:32px;display:flex;align-items:center}.stake-input-wrapper input{border:none;background:#fff0;padding:0 20px 0 2px;font-size:.8em;font-weight:500;color:#495057;width:100px;outline:none;height:32px;line-height:28px}.stake-input-wrapper input[type="number"]::-webkit-outer-spin-button,.stake-input-wrapper input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stake-input-wrapper input[type="number"]{-moz-appearance:textfield;appearance:textfield}.stake-input-wrapper::after{content:'▲\A▼';white-space:pre;position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:6px;line-height:6px;color:#6c757d;pointer-events:none}.stake-input-wrapper input:focus{color:#007bff;font-weight:600}#unitStake::placeholder{color:#aaa!important;font-style:italic!important}.bet-settings{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:3px 12px;margin-bottom:4px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.bet-type-section,.odds-format-section{text-align:center}.bet-type-section h4,.odds-format-section h4{margin:0 0 6px 0;font-size:.7em;color:#495057;font-weight:600}.bet-type-switch,.odds-format-switch{width:200px;margin:0 auto 6px;height:32px}.bet-type-switch .slider{background:#28a745}.odds-format-switch .slider{background:#6f42c1}.bet-type-switch input[value="eachway"]:checked~.slider,.odds-format-switch input[value="decimal"]:checked~.slider,.main-mode-toggle input[value="winnings"]:checked~.slider{left:50%}.bet-type-explanation{font-size:.75em;color:#6c757d;margin:0;line-height:1.3;font-style:italic}.pill-switch{display:flex;position:relative;background:#e9ecef;border-radius:25px;overflow:hidden;margin-bottom:5px;height:32px}.pill-switch input[type="radio"]{position:absolute;opacity:0}.pill-switch label{flex:1;padding:0;text-align:center;cursor:pointer;transition:all 0.3s ease;position:relative;z-index:2;font-size:.7em;font-weight:500;color:#6c757d;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:32px}.pill-switch input[type="radio"]:checked+label{color:#fff;font-weight:700}.pill-switch .slider{position:absolute;top:0;left:0;width:50%;height:100%;background:#007bff;border-radius:20px;transition:left 0.3s ease;z-index:1}.main-mode-toggle .pill-switch{width:280px}.main-mode-toggle .pill-switch .slider{background:#007bff}.bet-type-switch .slider{background:#28a745}.odds-format-switch .slider{background:#6f42c1}.field-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap}.field-row label{min-width:100px;font-size:.75em;font-weight:700;color:#333}.selections-container h3{color:#333;margin-bottom:8px;font-size:1.4em;text-align:center}.bookmaker-terms-header h3{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;padding:4px 8px;border-radius:4px;margin-bottom:6px;font-size:.8em;text-align:center}.selections-hint{color:#999;font-size:.7rem;text-align:center;margin:0 0 8px 0;font-style:italic;opacity:.8}.field-row input,.field-row select{padding:0 8px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#495057;font-weight:500;line-height:28px;height:32px;box-sizing:border-box}.info-tooltip{font-size:.9em;color:#007bff;cursor:help;padding:2px 5px;border-radius:50%;background:#e7f3ff;width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.selections-container{margin:12px 0}.selections-container h3{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 8px;border-radius:4px;margin-bottom:6px;font-size:.8em;text-align:center}.selections-container .selection-cards{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.selection-card{background:#fff;border:2px solid #ddd;border-radius:6px;padding:8px;box-shadow:0 1px 3px rgb(0 0 0 / .1);transition:all 0.3s ease;font-size:.8em;color:#495057;cursor:pointer}.selection-card.winner{border-color:#28a745;background-color:#f8fff9}.selection-card.loser{border-color:#dc3545;background-color:#fff8f8}.selection-card.placed{border-color:#ffc107;background-color:#fffdf5;box-shadow:0 2px 8px rgb(253 126 20 / .2)}#selection2,#selection3,#selection4{display:none}.selection-card.revealing{animation:slideInFromTop 0.3s ease-out}@keyframes slideInFromTop{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.quick-odds{display:flex;gap:4px;margin-top:8px;margin-left:122px;flex-wrap:wrap}.quick-stakes{display:flex;gap:4px;padding-left:162px}.quick-stakes .stake-btn{background:#f8f9fa!important;border:1px solid #dee2e6!important;border-radius:15px!important;padding:4px 8px!important;font-size:0.7em!important;font-family:Arial,sans-serif!important;color:#495057!important;cursor:pointer!important;transition:all 0.2s ease!important;white-space:nowrap!important;line-height:normal!important;box-sizing:border-box!important;display:inline-block!important;vertical-align:baseline!important;text-decoration:none!important;margin:0!important;min-width:auto!important;max-width:none!important;width:auto!important;height:auto!important}.quick-stakes .stake-btn:hover{background:#007bff!important;color:white!important;border-color:#007bff!important;font-size:0.7em!important;padding:4px 8px!important}.quick-stakes .stake-btn.selected{background:#007bff!important;color:white!important;border-color:#007bff!important;font-size:0.7em!important;padding:4px 8px!important}.odds-btn{background:#f8f9fa;border:1px solid #dee2e6;border-radius:15px;padding:4px 8px;font-size:.85em;cursor:pointer;transition:all 0.2s ease;white-space:nowrap}.odds-btn:hover{background:#007bff;color:#fff;border-color:#007bff}.odds-btn.selected{background:#007bff;color:#fff;border-color:#007bff}.odds-settings{background:linear-gradient(135deg,#8e44ad,#e91e63);border-radius:6px;padding:8px 12px;margin-bottom:10px}.compact-settings{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;background:#e3f2fd;padding:12px 16px;border-radius:8px;border:1px solid #bbdefb}.compact-settings.winnings-mode-settings{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}.compact-settings.winnings-mode-settings #winningsBonus{flex:1 1 180px!important;min-width:160px!important}.compact-settings.winnings-mode-settings #customBonusSectionWinnings{flex:0 1 120px!important;min-width:100px!important}.compact-settings.winnings-mode-settings #winningsRule4{flex:0 1 90px!important;min-width:80px!important}.compact-settings.winnings-mode-settings .setting-item label{font-size:0.8em!important;white-space:nowrap!important}.compact-settings.winnings-mode-settings .setting-item select,.compact-settings.winnings-mode-settings .setting-item input{font-size:0.8em!important}.compact-settings>#customBonusSection{display:none!important}.full-terms-section{margin-top:12px;padding:12px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;font-size:.85em}.full-terms-content h4{margin-top:0;margin-bottom:8px;color:#495057}.full-terms-content ul{margin:0;padding-left:18px}.full-terms-content li{margin-bottom:4px;line-height:1.4}.terms-link{color:#007bff;cursor:pointer;text-decoration:underline}.terms-link:hover{color:#0056b3}.setting-item{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap;flex-shrink:0;flex-basis:auto}#customBonusSection{display:none}.setting-item label{color:#495057;font-size:.7em;font-weight:500;white-space:nowrap;line-height:1.4;line-height:28px;height:32px;display:flex;align-items:center;flex-shrink:0;min-width:fit-content}.setting-item select{font-size:.75em;padding:0 6px;border:1px solid #ced4da;background:#fff;color:#495057;border-radius:4px;font-weight:500;line-height:26px;height:26px;margin:0;width:auto;flex-shrink:0;box-sizing:border-box}.checkbox-item{gap:4px}.checkbox-item input[type="checkbox"]{width:14px;height:14px}.checkbox-item label{font-size:.75em;color:#333}.selection-header{display:flex;align-items:center;margin-bottom:10px;gap:8px}.selection-number{font-size:1em;font-weight:700;width:25px;flex-shrink:0}.selection-name{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:5px;font-size:.9em;font-weight:500}.selection-status{font-size:1.1em;width:25px;text-align:center}.selection-statush2{font-size:1.8em;margin-bottom:12px;color:#333;text-align:center}h3{font-size:1.4em;margin-bottom:12px;color:#333;text-align:center}.odds-container{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.odds-input-group{display:flex;align-items:center;gap:6px;flex:1;min-width:180px}.odds-input-group label{font-size:.7em;font-weight:700;color:#555;width:auto;white-space:nowrap}.compact-odds-row{display:flex;flex-direction:column;gap:8px}.odds-input-line{display:flex;align-items:center;gap:10px}.odds-input-line .selection-number{font-weight:700;font-size:.85em;color:#007bff;width:22px;height:22px;background:#e3f2fd;border-radius:50%;text-align:center;line-height:22px;flex-shrink:0}.odds-input-line label{font-size:.95em;color:#495057;margin:0;font-weight:500;width:80px;flex-shrink:0}.odds-input-line .fractional-odds-input,.odds-input-line .decimal-odds-input{margin:0;flex:1}.odds-input-line input{flex:1;min-width:0;width:100%;height:32px;font-size:.95em;padding:0 8px;border:1px solid #ced4da;border-radius:4px;background:#fff;transition:all 0.2s ease;font-weight:500;color:#495057}.odds-input-line input::-webkit-input-placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.odds-input-line input::-moz-placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.odds-input-line input::placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.fractional-odds-input{display:flex;align-items:center;flex:1}.fractional-odds-input input{border:1px solid #ced4da;border-radius:4px;flex:1;min-width:150px;height:32px;font-size:.95em;padding:0 8px;line-height:28px;box-sizing:border-box;background:#fff;color:#495057;font-weight:500}.fractional-odds-input input::-webkit-input-placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.fractional-odds-input input::-moz-placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.fractional-odds-input input::placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.odds-numerator,.odds-denominator{width:30px;padding:4px;border:none;text-align:center;font-size:.8em;font-weight:700;background:#fff0}.odds-numerator:focus,.odds-denominator:focus{outline:none;background:#f0f8ff}.odds-divider{font-size:.9em;font-weight:700;color:#666;padding:0 2px}.decimal-odds{flex:1;min-width:150px;height:32px;padding:0 8px;border:1px solid #ced4da;border-radius:4px;text-align:left;font-size:.95em;font-weight:500;line-height:28px;box-sizing:border-box;background:#fff;color:#495057}.decimal-odds::-webkit-input-placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.decimal-odds::-moz-placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.decimal-odds::placeholder{color:#aaa!important;font-size:0.95em!important;font-weight:300!important;font-style:italic!important;opacity:1!important;font-family:inherit!important}.place-odds-section{margin-top:8px;padding-top:8px;border-top:1px solid #eee}.place-odds-line{display:flex;align-items:center;gap:8px}.place-number{background:#6f42c1;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8em;flex-shrink:0}.place-odds-line label{font-size:.95em;color:#495057;font-weight:500;margin:0;min-width:70px}.place-terms-dropdown{display:flex;align-items:center;flex:1}.place-terms{border:1px solid #ced4da;border-radius:4px;flex:1;min-width:150px;height:32px;font-size:0.95em!important;padding:0 8px;line-height:28px;box-sizing:border-box;background:#fff;color:#495057;font-weight:500}.place-terms option{font-size:0.95em!important;color:#495057;line-height:1.4}.win-odds{padding:6px 10px;border:1px solid #ccc;border-radius:20px;font-size:.75em;font-weight:700;cursor:pointer;margin:0 4px;transition:all 0.3s ease;opacity:.6}.place-positions{font-size:.75em;color:#666;font-style:italic}.status-buttons{display:flex;gap:4px;margin-top:8px;margin-left:115px;flex-wrap:wrap}.status-btn{padding:8px 12px;border:2px solid #fff0;border-radius:20px;font-size:.75em;font-weight:700;cursor:pointer;margin:0 4px;transition:all 0.3s ease;opacity:.6}.status-btn.active{opacity:1;border-color:#fff;box-shadow:0 2px 8px rgb(0 0 0 / .2);transform:scale(1.05)}.status-btn.winner{background:#28a745;color:#fff}.status-btn.winner:hover{background:#218838;opacity:.8}.status-btn.winner.active{background:#1e7e34;border-color:#fff}.status-btn.placed{background:#ffc107;color:#212529}.status-btn.placed:hover{background:#e0a800;opacity:.8}.status-btn.placed.active{background:#d39e00;border-color:#212529}.status-btn.loser{background:#dc3545;color:#fff}.status-btn.loser:hover{background:#c82333;opacity:.8}.status-btn.loser.active{background:#bd2130;border-color:#fff}.odds-settings{background:#f0f8ff;border:1px solid #bee5eb;border-radius:8px;padding:15px;margin:20px 0}.calculation-settings{margin-bottom:20px}.odds-settings .field-row{margin-bottom:12px}.odds-settings .field-row:last-child{margin-bottom:0}.checkbox-wrapper{display:flex;align-items:center;gap:8px}.checkbox-wrapper input[type="checkbox"]{width:16px;height:16px;margin:0}.checkbox-wrapper label{margin:0;font-size:.8em;color:#495057;cursor:pointer}.bonus-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:8px 12px;margin-bottom:10px}.bonus-section h3{margin:0 0 8px 0;font-size:.8em;color:#495057;text-align:center}.bonus-section .field-row{margin-bottom:8px}.bonus-section .field-row label{width:90px;font-size:.7em}.bonus-section select,.odds-settings select{font-size:.8em;padding:0 8px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#495057;height:28px;line-height:1.4}.bonus-section select option,.odds-settings select option{font-size:.8em;color:#495057;line-height:1.4}.warning{background:#ffd3d3;color:#700;padding:10px;border-radius:5px;font-size:.9em;text-align:center;margin-bottom:10px;display:none}.button-container{display:flex;gap:10px;margin-top:20px}.reset-button{padding:12px 18px;background-color:#f0f0f0;color:#333;border:1px solid #ccc;border-radius:5px;font-size:.9em;cursor:pointer;transition:all 0.2s}.reset-button:hover{background-color:#e0e0e0}.calculate-button{display:block;flex:1;padding:12px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;border-radius:6px;font-size:1em;font-weight:700;cursor:pointer;text-align:center;transition:all 0.2s}.calculate-button:hover{background:linear-gradient(135deg,#218838,#1ea085);transform:translateY(-1px);box-shadow:0 4px 8px rgb(40 167 69 / .3)}.results-modal{display:none;position:fixed;z-index:999;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0 0 0 / .5)}.results-modal .modal-content{background:#fff;margin:60px auto;padding:25px;border-radius:15px;max-width:800px;position:relative;box-shadow:0 10px 30px rgb(0 0 0 / .3);max-height:90vh;overflow-y:auto}.results-modal .close-btn{position:absolute;top:15px;right:20px;color:#aaa;font-size:28px;font-weight:700;cursor:pointer;z-index:1001}.results-modal .close-btn:hover{color:#333}.results-modal .modal-content h2{margin-top:0;margin-bottom:20px;padding-top:0;padding-bottom:10px;font-size:1.4em;color:#303030;text-align:center}.summary-box{display:flex;justify-content:space-around;margin:20px 0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:10px;padding:20px;border:1px solid #dee2e6}.summary-item{text-align:center;flex:1}.summary-icon{font-size:1.5em;margin-bottom:5px}.summary-label{font-size:.8em;color:#666;margin-bottom:5px;font-weight:700;text-transform:uppercase}.summary-value{font-size:1.2em;color:#333;font-weight:700}.summary-value.profit{color:#28a745}.summary-value.loss{color:#dc3545}.return-breakdown-modern{background:linear-gradient(145deg,#ffffff 0%,#f8fafc 100%);border:1px solid #e2e8f0;border-radius:16px;padding:0;margin:25px 0;box-shadow:0 10px 25px rgb(0 0 0 / .08),0 4px 12px rgb(0 0 0 / .05);overflow:hidden;position:relative}.return-breakdown-modern::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#06b6d4);background-size:200% 200%;animation:gradientShift 4s ease infinite}.breakdown-header{background:linear-gradient(135deg,#e0f2fe 0%,#f0f9ff 50%,#ede9fe 100%);color:#1e293b;padding:20px 25px 18px 25px;display:flex;align-items:center;justify-content:center!important;gap:12px;text-align:center!important}.breakdown-header-icon{font-size:1.8em;filter:drop-shadow(0 1px 2px rgb(0 0 0 / .1))}.breakdown-header h3{margin:0;font-size:1.2em;font-weight:800;text-align:center!important;background:none;-webkit-text-fill-color:#1e293b;color:#1e293b;text-shadow:none}.breakdown-content{padding:25px}.breakdown-grid-modern{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px}.breakdown-box-modern{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;text-align:center;transition:all 0.3s ease;box-shadow:0 2px 8px rgb(0 0 0 / .04);display:flex;flex-direction:column;align-items:center;gap:12px;flex:1;min-width:160px}.breakdown-box-modern:hover{border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 6px 20px rgb(59 130 246 / .15)}.breakdown-box-modern .breakdown-icon{font-size:2em;margin-bottom:8px}.breakdown-details{text-align:center;width:100%}.breakdown-box-modern .breakdown-label{font-size:.9em;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.breakdown-box-modern .breakdown-value{font-size:1.3em;font-weight:800;color:#059669;margin-bottom:4px;text-shadow:0 1px 2px rgb(5 150 105 / .1)}.breakdown-box-modern .breakdown-count{font-size:.8em;color:#9ca3af;font-weight:500}.breakdown-box-modern.bonus-box{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%)}.breakdown-box-modern.bonus-box:hover{border-color:#f59e0b;box-shadow:0 6px 20px rgb(245 158 11 / .2)}.breakdown-box-modern.bonus-box .breakdown-value{color:#d97706}.breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.breakdown-box{background:#fff;border:2px solid #e9ecef;border-radius:8px;padding:15px;text-align:center;transition:all 0.3s ease}.breakdown-box:hover{border-color:#007bff;transform:translateY(-2px);box-shadow:0 4px 12px rgb(0 123 255 / .15)}.breakdown-box.winning{border-color:#28a745;background:#f8fff9}.breakdown-box.bonus-box{border-color:#ffc107;background:#fffbef}.breakdown-icon{font-size:1.3em;margin-bottom:8px}.breakdown-label{font-size:.8em;color:#666;margin-bottom:5px;font-weight:700;text-transform:uppercase}.breakdown-value{font-size:1.1em;color:#333;font-weight:700;margin-bottom:3px}.breakdown-count{font-size:.7em;color:#999;font-style:italic}.combinations-section{margin-top:20px;padding:15px;background-color:#f8f9fa;border-radius:8px;border:1px solid #ddd}.combinations-section h3{color:#2c5aa0;margin-bottom:15px;text-align:center}.combinations-list{max-height:200px;overflow-y:auto}.combination-item{background:#fff;border:1px solid #dee2e6;border-radius:5px;padding:8px 12px;margin-bottom:5px;display:flex;justify-content:space-between;align-items:center;font-size:.85em}.combination-type{font-weight:700;color:#495057}.combination-selections{color:#666;flex:1;margin:0 10px}.combination-return{font-weight:700;color:#28a745}.selections-breakdown{margin-bottom:25px}.selections-breakdown h4,.combinations-breakdown h4{color:#2c5aa0;margin-bottom:15px;border-bottom:2px solid #e9ecef;padding-bottom:8px}.selection-item{display:flex;flex-direction:column;margin-bottom:12px;padding:12px;border-radius:6px;border-left:4px solid #ddd;background:#fff}.selection-item.winner{border-left-color:#28a745;background-color:#f8fff9}.selection-item.placed{border-left-color:#ffc107;background-color:#fffdf5}.selection-item.loser{border-left-color:#dc3545;background-color:#fff5f5}.selection-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.selection-number{font-weight:700;color:#495057;min-width:20px}.selection-status{font-weight:600;flex-grow:1;margin-left:10px}.selection-return{font-weight:700;color:#28a745}.selection-odds{font-size:.9em;color:#6c757d;margin-left:25px}.combinations-breakdown{margin-top:20px}.bet-type-section{margin-bottom:20px}.bet-type-section h5{color:#495057;background:#e9ecef;padding:8px 12px;margin-bottom:10px;border-radius:4px;font-size:.95em}.combo-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;margin-bottom:5px;border-radius:4px;background:#fff;border:1px solid #e9ecef}.combo-item.winning{background-color:#f8fff9;border-color:#28a745}.combo-item.losing{background-color:#fff5f5;border-color:#dc3545;opacity:.7}.combo-selections{font-size:.9em;color:#495057}.combo-status{margin:0 10px}.combo-return{font-weight:700;color:#28a745}.cta-section{margin:25px 0;text-align:center}.value-proposition-modern{background:linear-gradient(145deg,#ffffff 0%,#f8fafc 100%);border:1px solid #e2e8f0;border-radius:16px;padding:0;margin:0 0 25px 0;box-shadow:0 10px 25px rgb(0 0 0 / .08),0 4px 12px rgb(0 0 0 / .05);overflow:hidden;position:relative}.value-proposition-modern::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#06b6d4);background-size:200% 200%;animation:gradientShift 4s ease infinite}.value-header{background:linear-gradient(135deg,#e0f2fe 0%,#f0f9ff 50%,#ede9fe 100%);color:#1e293b;padding:20px 25px 18px 25px;display:flex;align-items:center;justify-content:center!important;gap:12px;text-align:center!important}.trophy-icon{font-size:1.8em;filter:drop-shadow(0 1px 2px rgb(0 0 0 / .1))}.value-header h3{margin:0;font-size:1.2em;font-weight:800;text-align:center!important;background:none;-webkit-text-fill-color:#1e293b;color:#1e293b;text-shadow:none}.value-content{padding:25px;text-align:center}.profit-highlight{margin:0 0 15px 0;font-size:.95em;font-weight:800;color:#6b7280;text-align:center}.profit-amount{color:#059669;font-weight:800;font-size:1.2em;text-shadow:0 1px 2px rgb(5 150 105 / .2)}.value-message{margin:0;font-size:.95em;line-height:1.5;color:#6b7280}.value-message strong{color:#374151;font-weight:700}.offer-highlights{display:flex;justify-content:space-around;margin:20px 0;gap:15px;flex-wrap:wrap}.highlight-item{display:flex;align-items:center;gap:10px;background:#f8f9fa;padding:12px 16px;border-radius:8px;flex:1;min-width:200px;border:1px solid #e9ecef}.highlight-icon{font-size:1.5em}.highlight-text{text-align:left}.highlight-text strong{display:block;font-size:.9em;color:#333;margin-bottom:2px}.highlight-text span{font-size:.8em;color:#666}.mystake-offer{background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);border-radius:16px;padding:30px;margin:20px 0;border:2px solid #fff0;background-clip:padding-box;box-shadow:0 10px 30px rgb(0 0 0 / .15),0 0 0 1px rgb(102 126 234 / .1);text-align:center;position:relative;overflow:hidden}.mystake-offer::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2,#f093fb,#f5576c,#4facfe,#00f2fe);background-size:400% 400%;animation:gradientShift 3s ease infinite}@keyframes gradientShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}.offer-header{display:flex;align-items:center;justify-content:center;gap:15px;margin-bottom:20px}.mystake-logo{width:50px;height:50px;border-radius:50%;background:#fff;padding:8px;object-fit:contain;border:2px solid #e9ecef;box-shadow:0 2px 8px rgb(0 0 0 / .1)}.offer-badge{background:linear-gradient(135deg,#ff6b6b,#ee5a24);color:#fff;padding:4px 12px;border-radius:20px;font-size:.7em;font-weight:700;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 8px rgb(238 90 36 / .3)}.mystake-offer h4{margin:0 0 20px 0;font-size:1.4em;font-weight:800;color:#333;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:#fff0}.bonus-breakdown{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0;padding:15px;background:rgb(102 126 234 / .05);border-radius:12px;border:1px solid rgb(102 126 234 / .1)}.bonus-item{text-align:center}.bonus-percentage{display:block;font-size:2em;font-weight:900;color:#667eea;line-height:1}.bonus-label{display:block;font-size:.8em;color:#666;font-weight:500;margin-top:4px}.bonus-divider{font-size:1.8em;color:#667eea;font-weight:900}.offer-terms{margin:0 0 20px 0;font-size:.9em;color:#666;line-height:1.4}.terms-link{color:#007bff;cursor:pointer;position:relative;text-decoration:underline}.terms-link:hover{color:#0056b3}.terms-link .tooltip{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#1f2937;color:#fff;padding:12px;border-radius:6px;font-size:.8em;width:350px;margin-bottom:8px;opacity:0;visibility:hidden;transition:all 0.3s ease;z-index:1000;line-height:1.4;text-align:left;text-decoration:none}.terms-link .tooltip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid #fff0;border-top-color:#1f2937}.terms-link:hover .tooltip{opacity:1;visibility:visible}.mystake-offer .cta-buttons{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;margin:20px 0}.mystake-offer .cta-disclaimer{margin:15px 0 0 0;font-size:.8em;color:#999;opacity:.9}.betfred-offer-wrapper{position:relative;margin-top:10px}.betfred-offer-blur{transition:filter 0.25s ease,opacity 0.25s ease,transform 0.25s ease}.betfred-offer-wrapper.locked .betfred-offer-blur{filter:blur(6px);opacity:.9}.betfred-offer-wrapper.unlocked .betfred-offer-blur{filter:none;opacity:1}.betfred-offer-wrapper.unlocked .betfred-lock-overlay{display:none!important}.betfred-lock-overlay{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;padding-top:30px;pointer-events:none}.betfred-lock-inner{max-width:450px;width:92%;background:rgb(15 23 42 / .96);color:#f9fafb;border-radius:12px;padding:18px 20px;text-align:center;box-shadow:0 12px 30px rgb(15 23 42 / .55);border:1px solid rgb(148 163 184 / .6);pointer-events:auto}.betfred-lock-badge{display:inline-block;padding:3px 12px;border-radius:999px;font-size:.7em;letter-spacing:.03em;text-transform:uppercase;background:linear-gradient(135deg,#f97316,#ec4899);color:#fff;margin-bottom:8px}.betfred-lock-title{font-size:1.1em;font-weight:700;margin-bottom:8px}.betfred-lock-copy{font-size:.85em;color:#e5e7eb;margin:0 0 12px 0;line-height:1.4}.betfred-lock-button{width:100%;border:none;border-radius:999px;padding:10px 16px;font-size:.9em;font-weight:700;cursor:pointer;background:linear-gradient(135deg,#facc15,#f97316);color:#111827;box-shadow:0 6px 18px rgb(250 204 21 / .35);transition:transform 0.15s ease,box-shadow 0.15s ease,background 0.15s ease}.betfred-lock-button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgb(250 204 21 / .45)}.betfred-lock-footnote{font-size:.68em;color:#9ca3af;margin-top:8px}.primary-cta-btn,.secondary-cta-btn{padding:16px 32px;border:none;border-radius:12px;font-size:1em;font-weight:600;cursor:pointer;transition:all 0.3s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden}.primary-cta-btn.enhanced{background:linear-gradient(135deg,#f97316 0%,#ea580c 100%);color:#fff;font-weight:700;padding:18px 36px;box-shadow:0 6px 20px rgb(249 115 22 / .4);position:relative}.primary-cta-btn.enhanced:hover{background:linear-gradient(135deg,#ea580c 0%,#dc2626 100%);transform:translateY(-2px) scale(1.02);box-shadow:0 8px 25px rgb(249 115 22 / .6)}.btn-content{display:flex;align-items:center;gap:12px}.btn-icon{font-size:1.2em}.btn-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.btn-text small{font-size:.75em;opacity:.9;font-weight:400}.secondary-cta-btn.enhanced{background:rgb(59 130 246 / .1);color:#3b82f6;border:2px solid rgb(59 130 246 / .3);font-weight:600}.secondary-cta-btn.enhanced:hover{background:rgb(59 130 246 / .15);border-color:#3b82f6;color:#1f2937;transform:translateY(-1px);box-shadow:0 4px 15px rgb(59 130 246 / .2)}.urgency-indicator{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px 0 15px 0;padding:10px 16px;background:rgb(255 107 107 / .1);border:1px solid rgb(255 107 107 / .3);border-radius:25px;font-size:.85em;color:#c92a2a}.urgency-icon{animation:pulse 2s infinite}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}.urgency-text strong{color:#c92a2a;font-weight:700}.trust-indicators{display:flex;justify-content:center;gap:20px;margin:15px 0;flex-wrap:wrap}.trust-item{display:flex;align-items:center;gap:4px;font-size:.8em;color:#28a745;font-weight:500}.trust-icon{font-size:1em}.secondary-cta-btn:hover{background:#007bff;color:#fff}.cta-disclaimer{margin-top:20px;font-size:.85em}@media (max-width:768px){.offer-highlights{flex-direction:column;gap:10px}.highlight-item{min-width:auto;flex-direction:column;text-align:center;padding:15px}.highlight-text{text-align:center}.mystake-offer{padding:20px;margin:15px 0}.urgency-banner{font-size:.8em}.social-proof-bar{flex-direction:column;gap:8px}.countdown-timer{flex-direction:column;gap:10px}.time-separator{display:none}.primary-cta-btn.enhanced{min-width:280px;font-size:1em;padding:18px 30px}.calculation-boost{flex-direction:column;text-align:center;gap:10px}.bonus-breakdown{flex-direction:column;gap:15px;padding:20px 15px}.bonus-divider{transform:rotate(90deg);font-size:1.5em}.cta-buttons{flex-direction:column;gap:12px}.primary-cta-btn.enhanced,.secondary-cta-btn.enhanced{width:100%;justify-content:center}.btn-text{align-items:center;text-align:center}.trust-indicators{gap:15px}.urgency-indicator{font-size:.8em;padding:8px 12px;margin:15px 0 12px 0}.value-proposition-modern{margin:0 0 20px 0}.value-header{padding:18px 20px 16px 20px}.value-header h3{font-size:1.2em}.trophy-icon{font-size:1.6em}.value-content{padding:20px}.profit-highlight{font-size:.95em;margin:0 0 12px 0}.profit-amount{font-size:1.2em}.value-message{font-size:.9em}.return-breakdown-modern{margin:20px 0}.breakdown-header{padding:18px 20px 16px 20px}.breakdown-header h3{font-size:1.2em}.breakdown-header-icon{font-size:1.6em}.breakdown-content{padding:20px}.breakdown-grid-modern{flex-direction:column;gap:12px}.breakdown-box-modern{min-width:auto;flex:none}.breakdown-box-modern{padding:16px;gap:10px}.breakdown-box-modern .breakdown-icon{font-size:1.6em}.breakdown-box-modern .breakdown-value{font-size:1.2em}}.action-buttons{display:flex;gap:10px;margin:20px 0}.secondary-button{flex:1;padding:10px;background-color:#f0f0f0;color:#333;border:1px solid #ccc;border-radius:5px;font-size:.9em;cursor:pointer;transition:all 0.2s;text-align:center}.secondary-button:hover{background-color:#e0e0e0;transform:translateY(-1px)}.calc-disclaimer{font-size:.7em;color:#666;text-align:center;margin-top:10px;font-style:italic}.info-icon{cursor:pointer;margin-left:5px;font-size:.9em;opacity:.7;transition:opacity 0.2s}.info-icon:hover{opacity:1}#bonusInfoModal{position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0 0 0 / .4)}#bonusInfoModal .modal-content{background-color:#fefefe;margin:15% auto;padding:25px;border:1px solid #888;border-radius:10px;width:90%;max-width:500px;box-shadow:0 4px 6px rgb(0 0 0 / .1)}#bonusInfoModal .close{color:#aaa;float:right;font-size:28px;font-weight:700;cursor:pointer}#bonusInfoModal .close:hover,#bonusInfoModal .close:focus{color:#000;text-decoration:none}#bonusInfoModal h3{color:#007bff;margin-bottom:15px}#bonusInfoModal p{margin-bottom:12px;line-height:1.5}#bonusInfoModal p strong{color:#333}@media (max-width:768px){.stake-container{grid-template-columns:auto 1fr}.stake-input-group{grid-column:1 / -1}.quick-stakes{grid-column:1 / -1;justify-content:flex-start;overflow-x:auto}.calculator-container{margin:10px;padding:15px}.stake-input-group{flex-direction:row!important;align-items:center!important;gap:8px!important}.stake-input-group label,.odds-input-line label,.place-odds-line label,.selection-card .odds-input-line label,.selection-card .place-odds-line label,.selections-container .odds-input-line label,.selections-container .place-odds-line label{width:100px!important;font-size:13px!important}label{font-size:12px!important}.stake-input-wrapper input,.odds-input-line input{font-size:16px!important}.quick-stakes{padding-left:138px!important;justify-content:flex-start!important;overflow-x:auto!important}.stake-input-container{grid-template-columns:1fr;gap:8px}.quick-stakes{justify-content:flex-start;overflow-x:auto;white-space:nowrap;width:100%;padding-bottom:5px}.selections-container{margin:15px 0}.selection-card{padding:12px}.odds-input-line{gap:6px}.odds-input-line label{width:60px}.odds-input-line .selection-number{width:18px;height:18px;font-size:.75em;line-height:18px}.bet-settings{grid-template-columns:1fr;gap:8px;padding:8px 12px}.stake-input-wrapper{width:100%;min-width:auto}.odds-input-line input{font-size:.9em;padding:0 6px;height:32px}.odds-container{flex-direction:column;gap:8px}.odds-input-group{min-width:auto}.compact-settings{flex-wrap:wrap!important;gap:6px;padding:10px 12px}#rule4Section .compact-settings{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr 1fr!important;gap:8px!important}#rule4Section .setting-item{min-width:0!important;flex:none!important}.odds-mode-settings,.winnings-mode-settings{flex-wrap:wrap!important;gap:8px}.compact-settings.winnings-mode-settings{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:start!important}.compact-settings.winnings-mode-settings #winningsEachWay{grid-column:1!important;grid-row:1!important}.compact-settings.winnings-mode-settings #winningsBonus{grid-column:2!important;grid-row:1!important}.compact-settings.winnings-mode-settings #customBonusSectionWinnings{grid-column:1!important;grid-row:2!important}.compact-settings.winnings-mode-settings #winningsRule4{grid-column:1 / -1!important;grid-row:3!important}.winnings-mode-settings .setting-item{flex:none!important;min-width:0!important;max-width:none!important}.winnings-mode-settings .setting-item select{max-width:100%}.setting-item{flex:1 1 auto;min-width:110px;font-size:.8em}.setting-item label{font-size:.75em;white-space:nowrap}.checkbox-item{flex:0 0 auto;min-width:70px}.setting-item select{min-width:80px!important;max-width:110px!important;font-size:.8em}.selection-controls{flex-wrap:wrap;gap:4px}.winner-btn,.placed-btn,.loser-btn{flex:1;min-width:70px;font-size:.7em;padding:5px 8px}.summary-box{flex-direction:column;gap:15px}.breakdown-grid{grid-template-columns:1fr 1fr;gap:8px}.cta-buttons{flex-direction:column}.action-buttons{flex-direction:column}.results-modal .modal-content{margin:20px auto;padding:20px;max-height:95vh}}@media (max-width:480px){.field-row{flex-direction:column;align-items:stretch;gap:5px}.field-row label{width:auto}.odds-input-line{flex-wrap:nowrap;gap:6px}.odds-input-line label{width:80px;margin-bottom:0;font-size:.8em;flex-shrink:0}.odds-input-line .fractional-odds-input,.odds-input-line .decimal-odds-input{width:100%}.quick-odds{flex-wrap:nowrap!important;gap:2px!important;overflow-x:auto!important}.odds-btn{font-size:0.7em!important;padding:4px 6px!important;min-width:0!important;flex-shrink:0!important}.compact-settings{padding:8px 10px;gap:4px}.setting-item{min-width:90px;font-size:.75em;margin-right:4px}.setting-item select{min-width:70px!important;max-width:90px!important;font-size:.75em}.checkbox-item{min-width:60px;margin-right:2px}.checkbox-item label{font-size:.7em}.breakdown-grid{grid-template-columns:1fr}#customBonusSection,.custom-bonus-input{display:none!important}.selection-header{flex-wrap:wrap}.selection-name{min-width:200px}}#customBonusSection.force-hidden,#customBonusSectionWinnings.force-hidden,.custom-bonus-input.force-hidden{display:none!important;visibility:hidden!important}#rule4Section .compact-settings{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr 1fr!important;gap:8px!important}#rule4Section .setting-item{min-width:0!important;flex:none!important}.offer-header-section{background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);padding:20px 25px;border-radius:16px 16px 0 0;margin:-30px -50px 20px -50px;border-bottom:3px solid rgb(102 126 234 / .1)}.offer-badges{display:flex;justify-content:center;align-items:center;gap:15px;margin-bottom:15px}.mystake-offer .offer-header-section h4{font-size:1.5em!important;font-weight:900!important;color:#000000!important;margin:0 0 12px 0!important;text-align:center;line-height:1.2;background:none!important;display:block!important;visibility:visible!important;-webkit-text-fill-color:#000000!important;-webkit-background-clip:initial!important;background-clip:initial!important}.value-box{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:18px 25px;border-radius:16px;text-align:center;flex:0 0 180px;display:flex;flex-direction:column;justify-content:center;min-height:85px;box-shadow:0 8px 25px rgb(102 126 234 / .3);border:2px solid rgb(255 255 255 / .1)}.value-box .amount{font-size:2.2em;font-weight:900;line-height:1;display:block;text-shadow:0 2px 4px rgb(0 0 0 / .2)}.value-box .label{font-size:.8em;font-weight:700;opacity:.95;margin-top:3px;display:block;letter-spacing:.5px}.value-box .offer-subtitle{font-size:.7em;font-weight:500;opacity:.8;margin-top:4px;display:block}.cta-section{flex:1;display:flex;flex-direction:column;justify-content:center;gap:12px}.benefit-row{text-align:center;font-size:.8em;color:#666;margin:15px 0;padding:10px 16px;background:rgb(102 126 234 / .05);border-radius:8px;line-height:1.4}.primary-cta-btn.enhanced{background:linear-gradient(135deg,#10b981 0%,#059669 100%)!important;color:white!important;border:none!important;border-radius:12px!important;padding:16px 32px!important;font-size:1.1em!important;font-weight:800!important;cursor:pointer;transition:all 0.3s ease;text-transform:none!important;letter-spacing:normal!important;box-shadow:0 4px 12px rgb(16 185 129 / .3)!important;position:relative;overflow:hidden}.primary-cta-btn.enhanced .btn-content{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}.primary-cta-btn.enhanced .btn-arrow{font-size:1.4em;font-weight:900;color:#fff;transition:transform 0.3s ease}.primary-cta-btn.enhanced:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%)!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgb(16 185 129 / .4)!important}.primary-cta-btn.enhanced:hover .btn-arrow{transform:translateX(3px)}.secondary-cta-btn.enhanced{background:white!important;color:#1f2937!important;border:2px solid #3b82f6!important;border-radius:12px!important;padding:16px 32px!important;font-size:0.9em!important;font-weight:500!important;cursor:pointer;transition:all 0.3s ease;text-transform:none!important;letter-spacing:normal!important;box-shadow:0 2px 8px rgb(0 0 0 / .1)!important;min-width:auto!important;margin:15px 0!important}.secondary-cta-btn.enhanced .btn-content{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}.secondary-cta-btn.enhanced .btn-arrow{font-size:1.4em;font-weight:900;color:#1f2937;transition:transform 0.3s ease}.secondary-cta-btn.enhanced:hover{background:rgb(59 130 246 / .05)!important;border-color:#2563eb!important;transform:translateY(-1px)!important;box-shadow:0 4px 12px rgb(59 130 246 / .2)!important}.secondary-cta-btn.enhanced:hover .btn-arrow{transform:translateX(3px)}.value-sub-header{font-size:1.2em!important;font-weight:700!important;color:#1f2937!important;text-align:center;margin:0 0 15px 0!important;line-height:1.3}.offer-terms{font-size:0.6em!important;color:#888!important;margin:8px 0 0 0!important;text-align:center;line-height:1.2;font-style:italic}.terms-link{color:#007bff!important;cursor:pointer;position:relative;text-decoration:underline}.terms-link:hover{color:#0056b3!important}.offer-main{display:flex;flex-direction:row;align-items:stretch;gap:20px;margin:20px 0}@media (max-width:768px){.offer-main{flex-direction:column;gap:15px;align-items:center}.mystake-offer .offer-header-section h4{font-size:1.2em!important}.offer-header-section .profit-highlight{font-size:0.85em!important}.value-box{flex:0 0 auto;width:100%;max-width:400px;min-height:60px;padding:10px 20px}.value-box .amount{font-size:1.6em;margin-bottom:2px;line-height:1}.value-box .label{font-size:.7em;margin-top:0;margin-bottom:4px;line-height:1.1}.value-box .offer-subtitle{font-size:.65em;margin-top:2px;line-height:1.2}.benefit-row{font-size:.75em}.primary-cta-btn.enhanced{padding:16px 24px!important;font-size:0.95em!important}.secondary-cta-btn.enhanced{padding:14px 20px!important;font-size:0.9em!important}}@media (max-width:480px){.mystake-offer .offer-header-section h4{font-size:1.0em!important;line-height:1.3!important}.offer-header-section .profit-highlight{font-size:0.8em!important;line-height:1.4!important}.results-modal .modal-content h2{font-size:1.2em!important}.breakdown-header h3{font-size:1.0em!important}.mystake-offer h4{font-size:1.1em!important}.profit-highlight{font-size:0.8em!important}}