.footer{margin-top:2rem;padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}.footer-content{text-align:center}.footer-link{color:#ffffffb3;text-decoration:none;font-size:.9rem;transition:color .2s ease}.footer-link:hover{color:#ffffffe6;text-decoration:underline}.app{max-width:900px;margin:0 auto}.header{text-align:center;margin-bottom:2rem}.header-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.title-link{text-decoration:none;color:inherit}.title-link:hover{opacity:.9}.header h1{font-size:2.5rem;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.header-right{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.guide-link{color:#fff;text-decoration:none;font-weight:600;font-size:1rem;padding:.5rem 1rem;border-radius:8px;background:#ffffff1a;transition:all .2s ease;border:1px solid rgba(255,255,255,.3)}.guide-link:hover{background:#fff3;transform:translateY(-1px)}.score{font-size:.85rem;color:#1e3c72;padding:.25rem .75rem;border-radius:12px;background:#ffffffb3;text-align:center;font-weight:600;letter-spacing:.3px;border:1px solid rgba(30,60,114,.15);margin:0 auto 1rem;width:fit-content}.btn-settings{font-size:1.5rem;width:48px;height:48px;border:none;border-radius:50%;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.btn-settings:hover{background:#fff3;transform:rotate(90deg)}.seed-controls{background:#fffffff2;color:#333;padding:1.5rem;border-radius:12px;margin-bottom:2rem;box-shadow:0 4px 6px #0000001a;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.seed-display{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.seed-display span{font-size:1rem}.seed-display strong{font-family:Courier New,monospace;background:#f0f0f0;padding:.25rem .5rem;border-radius:4px;font-size:1.1rem}.seed-input-group{display:flex;gap:.5rem;flex-wrap:wrap}.seed-input{flex:1;min-width:200px;padding:.75rem;border:2px solid #ddd;border-radius:6px;font-size:1rem;font-family:Courier New,monospace}.seed-input:focus{outline:none;border-color:#2a5298}.btn-copy,.btn-new-seed{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;cursor:pointer;font-weight:600;transition:all .2s}.btn-copy{background:#4caf50;color:#fff}.btn-copy:hover{background:#45a049;transform:translateY(-2px)}.btn-new-seed{background:#2a5298;color:#fff}.btn-new-seed:hover{background:#1e3c72;transform:translateY(-2px)}.mode-selector{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:2px solid #e0e0e0}.mode-selector label{display:block;font-weight:600;margin-bottom:.75rem;color:#1e3c72}.mode-buttons{display:flex;gap:.5rem}.mode-btn{flex:1;padding:.75rem 1.5rem;border:2px solid #ddd;border-radius:6px;background:#fff;color:#333;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.mode-btn:hover{border-color:#2a5298;transform:translateY(-2px)}.mode-btn.active{background:#2a5298;color:#fff;border-color:#2a5298}.question-card{background:#fffffff2;color:#333;padding:2rem;border-radius:12px;box-shadow:0 8px 16px #0003}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.question-header h2{margin:0;color:#1e3c72}.badges{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.mode-badge{background:#9c27b0;color:#fff;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.9rem}.mode-toggle{display:inline-flex;background:#0003;border-radius:10px;padding:4px;gap:2px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}.mode-option{padding:.5rem 1rem;border:none;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;display:flex;align-items:center;gap:.4rem}.mode-option.active{background:#fff;color:#1e3c72;box-shadow:0 2px 8px #0000004d;transform:translateY(-1px)}.mode-option.inactive{background:transparent;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5)}.mode-option.inactive:hover{color:#fff;background:#ffffff26}.step-indicator{font-size:.75rem;opacity:.8;margin-left:.2rem}.street-badge{background:#ff9800;color:#fff;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.9rem}.scenario-info{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid #2a5298}.scenario-title{font-size:1.3rem;font-weight:700;color:#1e3c72;margin-bottom:.5rem}.scenario-description{color:#666;margin-bottom:.5rem}.hand-cards-container{display:flex;align-items:center;gap:1.5rem}.outs-display{font-weight:600;color:#2a5298;white-space:nowrap;font-size:1rem}.cards-display{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.hand-section h3,.board-section h3{margin:0 0 1rem;color:#1e3c72;font-size:1.1rem}.cards{display:flex;gap:.5rem;flex-wrap:wrap}.card{width:60px;height:84px;background:#fff;border:2px solid #333;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;box-shadow:2px 2px 4px #0003}.card.red{color:#d32f2f}.card.black{color:#000}.card.small{width:45px;height:63px;font-size:1.1rem}.out-cards{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0;padding:1rem}.pot-info{display:flex;gap:2rem;justify-content:center;margin:1.5rem 0;padding:1rem;background:#e8f5e9;border-radius:8px;flex-wrap:wrap}.pot-item{display:flex;flex-direction:column;align-items:center}.pot-item .label{font-size:.9rem;color:#666;margin-bottom:.25rem}.pot-item .value{font-size:1.5rem;font-weight:700;color:#2e7d32}.question{margin:2rem 0}.question h3{text-align:center;color:#1e3c72;margin-bottom:1rem}.answer-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.answer-btn{flex:1;min-width:150px;padding:1.5rem 3rem;font-size:1.3rem;font-weight:700;border:3px solid #ddd;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s}.answer-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #0003;border-color:#2a5298}.answer-btn.selected{border-color:#2a5298;background:#e3f2fd}.answer-btn.correct{border-color:#4caf50;background:#c8e6c9;color:#2e7d32}.answer-btn.incorrect{border-color:#f44336;background:#ffcdd2;color:#c62828}.answer-btn:disabled{cursor:not-allowed}.mc-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;justify-items:center}.mc-btn{width:100%;padding:1rem 1.5rem;font-size:1.1rem;font-weight:600;border:3px solid #ddd;border-radius:8px;background:#fff;color:#333;cursor:pointer;transition:all .2s}.mc-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #0003;border-color:#2a5298}.mc-btn.selected{border-color:#2a5298;background:#e3f2fd}.mc-btn.correct{border-color:#4caf50;background:#c8e6c9;color:#2e7d32}.mc-btn.incorrect{border-color:#f44336;background:#ffcdd2;color:#c62828}.mc-btn:disabled{cursor:not-allowed}.btn-submit,.btn-next{display:block;margin:2rem auto 0;padding:1rem 2.5rem;font-size:1.1rem;font-weight:700;border:none;border-radius:8px;background:#2a5298;color:#fff;cursor:pointer;transition:all .2s}.btn-submit:hover,.btn-next:hover{background:#1e3c72;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.explanation{margin-top:2rem;padding:1.5rem;border-radius:8px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.explanation.correct-answer{background:#c8e6c9;border:2px solid #4caf50}.explanation.incorrect-answer{background:#ffcdd2;border:2px solid #f44336}.explanation h3{margin:0 0 1rem;font-size:1.3rem}.answer-time{font-size:1.1rem;font-weight:600;color:#1e3c72;background:#ffffffe6;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;text-align:center;border:2px solid #2a5298}.explanation-content{background:#ffffffb3;padding:1rem;border-radius:6px;margin-bottom:1rem}.calc-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:1.1rem;font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.calc-row:last-of-type{border-bottom:none}.explanation-text{margin-top:1rem;line-height:1.6;color:#333}.final-summary{margin-top:2rem;padding:1.5rem;background:#fffffff2;border-radius:8px;border:2px solid #2a5298}.final-summary h3{margin:0 0 1rem;color:#1e3c72;text-align:center;font-size:1.3rem}.summary-content{background:#f8f9fa;padding:1rem;border-radius:6px;margin-bottom:1rem}.summary-row{display:flex;justify-content:space-between;padding:.75rem 0;font-size:1rem;border-bottom:1px solid rgba(0,0,0,.1)}.summary-row:last-of-type{border-bottom:2px solid rgba(0,0,0,.2)}.summary-conclusion{margin-top:1rem;padding:1rem;background:#e3f2fd;border-radius:6px;line-height:1.6;font-size:1rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#667eea;padding:3rem;border-radius:16px;max-width:500px;text-align:center;box-shadow:0 20px 60px #00000080;animation:slideUp .3s ease-out;color:#fff}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-content h2{margin:0 0 1.5rem;font-size:2.5rem;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.streak-message{font-size:1.5rem;margin:1rem 0;line-height:1.6}.streak-message strong{font-size:2rem;color:gold;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.encouragement{font-size:1.2rem;margin:1.5rem 0 2rem;opacity:.95}.btn-new-run{padding:1rem 2.5rem;font-size:1.2rem;font-weight:700;border:none;border-radius:8px;background:#fff;color:#667eea;cursor:pointer;transition:all .2s;box-shadow:0 4px 6px #0003}.btn-new-run:hover{transform:translateY(-2px);box-shadow:0 6px 12px #0000004d;background:#f0f0f0}@media (max-width: 768px){.header{flex-direction:column;text-align:center;margin-bottom:.75rem}.header h1{font-size:1.5rem}.header-right{justify-content:center}.guide-link{font-size:.85rem;padding:.4rem .8rem}.score{font-size:.75rem;padding:.2rem .5rem;margin-bottom:.5rem}.question-card{padding:.75rem}.question-header{margin-bottom:.75rem;gap:.5rem}.question-header h2{font-size:1.1rem}.scenario-info{padding:.75rem;margin-bottom:.75rem}.scenario-title{font-size:1rem;margin-bottom:.25rem}.scenario-description{font-size:.85rem;margin-bottom:.25rem}.cards-display{grid-template-columns:1fr;gap:.75rem;margin-bottom:.75rem}.hand-section h3,.board-section h3{margin:0 0 .5rem;font-size:.9rem}.hand-cards-container{gap:.75rem}.outs-display{font-size:.8rem}.cards{gap:.4rem}.card{width:45px;height:63px;font-size:1.1rem}.card.small{width:35px;height:49px;font-size:.9rem}.out-cards{gap:.3rem;padding:.5rem;margin:.5rem 0}.pot-info{gap:1.5rem;margin:.75rem 0;padding:.75rem}.pot-item .label{font-size:.8rem}.pot-item .value{font-size:1.2rem}.question{margin:1rem 0}.question h3{font-size:1rem;margin-bottom:.75rem}.answer-buttons{gap:.75rem}.answer-btn{min-width:100px;padding:.75rem 1.5rem;font-size:1rem}.mc-options{grid-template-columns:repeat(2,1fr);gap:.5rem}.mc-btn{padding:.75rem 1rem;font-size:.95rem}.badges{justify-content:center}.mode-badge,.mode-option,.street-badge{font-size:.75rem;padding:.4rem .7rem}.step-indicator{font-size:.7rem}.btn-submit,.btn-next{margin:1rem auto 0;padding:.75rem 2rem;font-size:1rem}.modal-content{padding:2rem;margin:1rem;max-width:calc(100% - 2rem)}.modal-content h2{font-size:2rem}.streak-message{font-size:1.2rem}.streak-message strong{font-size:1.5rem}.encouragement{font-size:1rem}}.about-section{position:relative}.about-toggle{background:none;border:none;color:#ffffffb3;font-size:1.2rem;cursor:pointer;transition:all .2s;text-decoration:underline;padding:0}.about-toggle:hover{color:#fff}.about-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:1rem}.about-modal{background:#fff;border-radius:12px;padding:2rem;max-width:500px;width:100%;position:relative;box-shadow:0 4px 20px #00000026;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.about-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;color:#999;cursor:pointer;line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:color .2s}.about-close:hover{color:#333}.about-modal h2{margin:0 0 1rem;color:#333;font-size:1.5rem}.about-modal p{margin:.75rem 0;color:#666;line-height:1.6;font-size:1rem}.about-modal .contact{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #eee;font-size:.95rem}.about-modal a{color:#9c27b0;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s}.about-modal a:hover{border-bottom-color:#9c27b0}.outs-reminder{text-align:center;margin:.5rem 0 1rem;color:#666;font-size:.95rem}.help-section{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #eee}.btn-help,.btn-help-secondary{background:#f8f9fa;border:1px solid #dee2e6;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;color:#495057;transition:all .2s;display:inline-flex;align-items:center;gap:.5rem}.btn-help:hover,.btn-help-secondary:hover{background:#e9ecef;border-color:#adb5bd}.btn-help-secondary{margin-top:1rem;background:#e7f3ff;border-color:#b3d9ff;color:#004085}.btn-help-secondary:hover{background:#cce5ff;border-color:#9cf}.help-content{margin-top:1rem;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6;font-size:.9rem;line-height:1.6}.help-content p{margin:.5rem 0}.help-content ol,.help-content ul{margin:.5rem 0;padding-left:1.5rem}.help-content li{margin:.3rem 0}.exact-calculation{margin-top:1rem;padding:1rem;background:#fff;border-radius:6px;border:2px solid #b3d9ff}.exact-calculation h4{margin:0 0 1rem;color:#004085;font-size:1rem}.calculation-steps p{margin:.8rem 0;padding-left:.5rem}.calculation-steps strong{color:#0056b3}.hint-note{margin-top:1rem;padding:.75rem;background:#fff3cd;border-left:3px solid #ffc107;border-radius:4px;color:#856404;font-style:italic}.guide-content{max-width:900px;margin:0 auto;background:#fff;border-radius:16px;padding:3rem;box-shadow:0 20px 60px #0000004d}.red-suit{color:#dc143c}.guide-content h1{color:#1e3c72;font-size:2.5rem;margin-bottom:2rem;text-align:center;border-bottom:3px solid #667eea;padding-bottom:1rem}.guide-section{margin-bottom:3rem}.guide-section h2{color:#2a4365;font-size:2rem;margin-bottom:1rem;margin-top:2rem}.guide-section p{line-height:1.8;color:#1a202c;margin-bottom:1rem;font-size:1.1rem}.example-box{background:#f7fafc;border-left:4px solid #667eea;padding:1.5rem;margin:1.5rem 0;border-radius:8px}.example-box h4{color:#1e3c72;margin-bottom:.5rem}.example-box p{margin-bottom:0;color:#1a202c}.steps-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin:2rem 0}.step-card{background:#667eea;color:#fff;padding:1.5rem;border-radius:12px;text-align:center}.step-card h3{margin-bottom:.5rem;font-size:1.3rem}.step-card p{margin:0;color:#ffffffe6;font-size:1rem}.decision-rule{background:#fff5f5;border:2px solid #fc8181;padding:1.5rem;border-radius:8px;text-align:center;font-size:1.2rem;margin:2rem 0;color:#c53030}.scenario{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:2rem;margin:2rem 0;box-shadow:0 2px 8px #00000014}.scenario-setup{padding-bottom:1.5rem;margin-bottom:2rem;border-bottom:2px solid #e2e8f0}.scenario-setup h4{color:#1e3c72;margin-bottom:1rem;font-size:1.3rem}.scenario-setup p{margin-bottom:.5rem;line-height:1.8;color:#1a202c}.calculation{padding-bottom:1.5rem;margin-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.calculation:last-of-type{border-bottom:none}.calculation h4{color:#667eea;margin-bottom:1rem;font-size:1.2rem}.calculation ol{margin-left:1.5rem;margin-bottom:1rem}.calculation li{margin-bottom:.5rem;line-height:1.6;color:#1a202c}.calculation ul{margin-left:1.5rem;margin-bottom:1rem}.calculation ul li{margin-bottom:.5rem;line-height:1.6;color:#1a202c}.calculation p{color:#1a202c}.result{background:#edf2f7;padding:1rem;border-radius:6px;margin-top:1rem;font-size:1.1rem;color:#1a202c}.hint{background:#fffaf0;border-left:3px solid #ed8936;padding:1rem;margin-top:1rem;font-style:italic;color:#744210}.decision{padding-top:1.5rem;margin-top:1.5rem;border-top:2px solid #667eea}.decision h4{color:#1e3c72;margin-bottom:1rem;font-size:1.3rem}.decision p{color:#1a202c}.verdict{font-size:1.3rem;padding:1rem;border-radius:8px;margin:1rem 0;text-align:center}.verdict.correct{background:#c6f6d5;color:#22543d;border:2px solid #48bb78}.verdict.incorrect{background:#fed7d7;color:#742a2a;border:2px solid #fc8181}.explanation{background:#edf2f7;padding:1rem;border-radius:6px;margin-top:1rem;line-height:1.7;color:#1a202c}.takeaways{list-style:none;padding:0}.takeaways li{background:#fff;padding:1rem 1.5rem;margin-bottom:.75rem;border-left:4px solid #667eea;border-radius:6px;box-shadow:0 2px 4px #0000001a;line-height:1.6;color:#1a202c}.practice-section{text-align:center;background:#667eea;color:#fff;padding:3rem 2rem;border-radius:12px;margin-top:3rem}.practice-section h2{color:#fff;margin-bottom:1rem}.practice-section p{color:#fffffff2;font-size:1.2rem;margin-bottom:2rem}.btn-practice{display:inline-block;background:#fff;color:#667eea;padding:1rem 2.5rem;border-radius:30px;text-decoration:none;font-weight:600;font-size:1.2rem;transition:all .3s ease;box-shadow:0 4px 15px #0003}.btn-practice:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000004d;background:#f7fafc}@media (max-width: 768px){.guide-content{padding:2rem 1rem;margin:0}.guide-content h1{font-size:1.8rem}.guide-section h2{font-size:1.4rem}.guide-section p{font-size:1rem}.steps-overview{grid-template-columns:1fr}.scenario{padding:1.5rem 1rem}.calculation ol,.calculation ul{margin-left:1rem}}.privacy-content{max-width:800px;margin:0 auto;background:#fff;border-radius:16px;padding:3rem;box-shadow:0 20px 60px #0000004d}.privacy-content h1{color:#1e3c72;font-size:2.5rem;margin-bottom:2rem;text-align:center;border-bottom:3px solid #667eea;padding-bottom:1rem}.privacy-section{margin-bottom:2.5rem}.privacy-section h2{color:#2a4365;font-size:1.5rem;margin-bottom:1rem;margin-top:0}.privacy-section p{line-height:1.8;color:#1a202c;margin-bottom:1rem;font-size:1.1rem}.privacy-section ul{line-height:1.8;color:#1a202c;margin-left:2rem;margin-bottom:1rem}.privacy-section li{margin-bottom:.5rem;font-size:1.1rem}.back-link{margin-top:3rem;padding-top:2rem;border-top:1px solid #e2e8f0;text-align:center}.back-link a{color:#667eea;text-decoration:none;font-size:1.1rem;font-weight:500;transition:all .2s ease}.back-link a:hover{color:#1e3c72;text-decoration:underline}@media (max-width: 768px){.privacy-content{padding:2rem 1rem;margin:0}.privacy-content h1{font-size:1.8rem}.privacy-section h2{font-size:1.3rem}.privacy-section p,.privacy-section li{font-size:1rem}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#1e3c72,#2a5298);min-height:100vh;color:#fff}#root{max-width:1200px;margin:0 auto;padding:1rem}
