.machine-prediction{display:flex;flex-direction:column;align-items:center;width:100px;height:100px;overflow:hidden}.prediction-container{position:relative;width:100px;height:100px;overflow:hidden;cursor:default;border-radius:50%}.prediction-container .prediction-display{position:absolute;top:0;left:0}.prediction-shutter{position:absolute;top:0;left:0;width:100px;height:100px;font-size:2.5rem;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;transition:transform .3s ease;z-index:1;-webkit-user-select:none;user-select:none}.prediction-container:hover .prediction-shutter{transform:translateY(-100%)}.prediction-display{width:100px;height:100px;font-size:2.5rem;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .3s ease;-webkit-user-select:none;user-select:none}.prediction-hidden{background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;border-color:#9ca3af}.prediction-0{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.prediction-1{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.prediction-2{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.prediction-3{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.prediction-4{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.prediction-5{background:linear-gradient(135deg,#ec4899,#db2777);color:#fff}.prediction-shutter.processing{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.spinner{width:32px;height:32px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.algorithm-selector{padding:.4rem .6rem .4rem .4rem;font-size:1rem;border-radius:6px;border:1px solid #444;background-color:#1a1a1a;color:inherit;cursor:pointer;position:relative;overflow:hidden}[data-theme=light] .algorithm-selector{background-color:#f9f9f9;border-color:#ddd}.algorithm-selector-wrapper{position:relative;overflow:hidden;border-radius:6px}.algorithm-selector-wrapper:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);pointer-events:none;z-index:1}.algorithm-selector-wrapper.highlight:before{animation:shine .6s ease-in-out}[data-theme=light] .algorithm-selector-wrapper:before{background:linear-gradient(90deg,transparent,rgba(59,130,246,.5),transparent)}@keyframes shine{0%{left:-100%}to{left:100%}}.choice-buttons{display:flex;gap:1.5rem;justify-content:center}.choice-button{width:100px;height:100px;font-size:2.5rem;font-weight:700;border-radius:50%;border:3px solid transparent;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.choice-button:hover{transform:scale(1.1)}.choice-button:active{transform:scale(.95)}.choice-button:focus{outline:none}.choice-0{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.choice-0:hover{border-color:#93c5fd;box-shadow:0 0 20px #3b82f680}.choice-1{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.choice-1:hover{border-color:#fcd34d;box-shadow:0 0 20px #f59e0b80}.choice-2{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.choice-2:hover{border-color:#6ee7b7;box-shadow:0 0 20px #10b98180}.choice-3{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.choice-3:hover{border-color:#fca5a5;box-shadow:0 0 20px #ef444480}.choice-4{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.choice-4:hover{border-color:#c4b5fd;box-shadow:0 0 20px #8b5cf680}.choice-5{background:linear-gradient(135deg,#ec4899,#db2777);color:#fff}.choice-5:hover{border-color:#f9a8d4;box-shadow:0 0 20px #ec489980}.score-display{display:flex;justify-content:center;align-items:center;gap:2rem;padding:1.5rem;border-radius:12px;margin-bottom:2rem;transition:background .3s ease}.score-side{display:flex;flex-direction:column;align-items:center;min-width:100px}.score-label{font-size:.9rem;text-transform:uppercase;letter-spacing:1px;opacity:.8;margin-bottom:.25rem}.score-value{font-size:3rem;font-weight:700;line-height:1}.score-percent{font-size:.85rem;opacity:.6;margin-top:.25rem}.score-side.human .score-value{color:#4ade80}.score-side.machine .score-value{color:#f87171}.score-divider{font-size:1.5rem;opacity:.5}[data-theme=light] .score-side.human .score-value{color:#16a34a}[data-theme=light] .score-side.machine .score-value{color:#dc2626}.theme-toggle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background-color:unset;border:none;border-radius:6px;cursor:pointer;color:#fff;transition:background-color .2s ease}.theme-toggle:hover{background-color:#555}.theme-toggle:focus{outline:none}.theme-icon{width:20px;height:20px}[data-theme=light] .theme-toggle{background-color:unset;color:#3e3e3e}[data-theme=light] .theme-toggle:hover{background-color:#ccc}.history{margin-top:2rem;text-align:center}.history h3{margin-bottom:1rem}.history-empty{color:#888;font-style:italic}.history-scroll{display:flex;gap:.75rem;overflow-x:auto;padding:.5rem .25rem;scroll-behavior:smooth}.history-scroll::-webkit-scrollbar{height:6px}.history-scroll::-webkit-scrollbar-track{background:#0000001a;border-radius:3px}.history-scroll::-webkit-scrollbar-thumb{background:#0000004d;border-radius:3px}.history-card{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem .75rem;border-radius:8px;background:#8080801a;min-width:60px;border-top:3px solid transparent}.history-card.human-won{border-top-color:#4ade80}.history-card.machine-won{border-top-color:#f87171}.round-number{font-size:.7rem;color:#888}.card-content{display:flex;align-items:center;gap:.25rem;font-size:1rem}.user-choice{font-weight:700}.vs{font-size:.65rem;color:#888}.prediction{opacity:.6}.result{font-size:.7rem;font-weight:500}.human-won .result{color:#4ade80}.machine-won .result{color:#f87171}[data-theme=light] .history-scroll::-webkit-scrollbar-track{background:#0000000d}[data-theme=light] .history-scroll::-webkit-scrollbar-thumb{background:#0003}[data-theme=light] .history-card{background:#0000000d}[data-theme=light] .history-card.human-won{border-top-color:#16a34a}[data-theme=light] .history-card.machine-won{border-top-color:#dc2626}[data-theme=light] .human-won .result{color:#16a34a}[data-theme=light] .machine-won .result{color:#dc2626}.game{text-align:center}.toolbar{position:fixed;top:1rem;left:1rem;display:flex;align-items:center;gap:1rem;z-index:100}.toolbar-right{position:fixed;top:1rem;right:1rem;z-index:100;display:flex;align-items:center;gap:.2rem}.github-link{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:6px;color:#fff;transition:background-color .2s ease}.github-link svg{width:20px;height:20px}[data-theme=light] .github-link{color:#000}[data-theme=light] .github-link:hover,[data-theme=dark] .github-link:hover{color:#7b7b7b}.game-header{margin-bottom:.6rem}.game-header h1{margin-bottom:.5rem;font-size:2.5rem}.game-subtitle{color:#888;font-size:1.1rem;margin:0}.choices-container{display:flex;justify-content:center;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.choice-section{margin-bottom:0;position:relative}.plus-one{position:absolute;top:60%;font-size:1.5rem;font-weight:700;pointer-events:none;-webkit-user-select:none;user-select:none;animation:floatUp 1s ease-out forwards}.plus-one.human{left:-4rem;color:#4ade80}.plus-one.machine{right:-1rem;color:#f87171}@keyframes floatUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}.choice-header{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.choice-section h2{margin-bottom:1rem;font-size:1.2rem;-webkit-user-select:none;user-select:none}.option-count-btn{width:22px;height:22px;border-radius:50%;border:1.5px solid #555;background:transparent;color:#888;font-size:.8rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0 0 2px;-webkit-user-select:none;user-select:none}.option-count-btn:nth-child(2){margin-left:.5rem}.option-count-btn:nth-child(3){margin-left:.4rem}.option-count-btn:focus{outline:none}.option-count-btn:hover:not(:disabled){border-color:#888;color:#fff;background:#444}.option-count-btn:disabled{opacity:.3;cursor:not-allowed}[data-theme=light] .option-count-btn{border-color:#d4d4d4;color:#9d9d9d}[data-theme=light] .option-count-btn:hover:not(:disabled){border-color:#999;color:#333;background:#e8e8e8}.prediction-wrapper{width:100px;height:100px;overflow:hidden;margin:0 auto}.reset-button{--reset-active-bg: #464646;padding:.5rem .8rem;background-color:#181818;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;border:1px solid #444}.reset-button:hover{background-color:#313131;border:1px solid #444}.reset-button:focus{outline:none}[data-theme=light] .reset-button{--reset-active-bg: #bbb;background-color:#ececec;color:#3e3e3e;border:0px solid black}[data-theme=light] .reset-button:hover{background-color:#ccc}.score-area{min-height:80px}.score-area .fade-in{width:100%}.reveal-message{font-size:1.8rem;font-weight:700;text-align:center;padding-top:3.5rem;animation:revealPulse 2.5s ease-out forwards;-webkit-user-select:none;user-select:none}.reveal-message.human-win{color:#22c55e}.reveal-message.machine-win{color:#ef4444}@keyframes revealPulse{0%{opacity:0;transform:scale(.8)}15%{opacity:1;transform:scale(1.1)}25%{transform:scale(1)}75%{opacity:1}to{opacity:0}}.fade-in{animation:fadeIn .5s ease-out forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}#root{max-width:900px;margin:0 auto;padding:2rem}*:focus{outline:0}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}[data-theme=light]{color:#213547;background-color:#fff}[data-theme=light] a:hover{color:#747bff}[data-theme=light] button{background-color:#f9f9f9}
