*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none;margin:0;padding:0}body{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);width:100%;height:100%;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;position:fixed;overflow-x:hidden}#app{width:100%;height:100%;overflow:hidden}.screen{width:100%;height:100%;padding:1rem;display:none;overflow-y:auto}.screen.active{display:block}.container{max-width:600px;margin:0 auto;padding:2rem 1rem}.title{text-align:center;text-shadow:2px 2px 4px #0000004d;margin-bottom:.5rem;font-size:2.5rem}.subtitle{text-align:center;opacity:.9;margin-bottom:2rem;font-size:1.2rem}.calibration-box{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:20px;margin-bottom:1rem;padding:2rem}.touch-display{text-align:center;margin:2rem 0}.touch-count{text-shadow:2px 2px 8px #0000004d;margin-bottom:.5rem;font-size:5rem;font-weight:700}.touch-label{opacity:.9;font-size:1.2rem}.max-touches{text-align:center;background:#ffffff1a;border-radius:10px;padding:1rem;font-size:1.2rem}.player-setup{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:20px;padding:2rem}.player-inputs{flex-direction:column;gap:.75rem;display:flex}.input-field{color:#fff;background:#ffffff1a;border:2px solid #ffffff4d;border-radius:10px;outline:none;width:100%;padding:1rem;font-size:1.1rem;transition:all .3s}.input-field::placeholder{color:#ffffff80}.input-field:focus{background:#ffffff26;border-color:#fff9}.btn{cursor:pointer;text-transform:uppercase;letter-spacing:1px;border:none;border-radius:12px;width:100%;padding:1rem 2rem;font-size:1.1rem;font-weight:700;transition:all .3s}.btn-primary{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 15px #10b98166}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #10b98180}.btn-primary:active{transform:translateY(0)}.btn-secondary{color:#fff;background:#fff3;border:2px solid #ffffff4d}.btn-secondary:hover{background:#ffffff4d;border-color:#ffffff80}.button-group{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.game-container{width:100%;height:100%;transition:background-color .3s;position:relative}.game-container.waiting{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.game-container.ready{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%)}.game-container.go{background:linear-gradient(135deg,#10b981 0%,#059669 100%)}#player-circles{width:100%;height:100%;position:relative}.player-circle{text-shadow:2px 2px 4px #0000004d;cursor:pointer;background:#fff3;border:4px solid #ffffff80;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:120px;height:120px;font-size:2rem;font-weight:700;transition:all .3s;display:flex;position:absolute}.player-circle.active{background:#10b98166;border-color:#10b981;box-shadow:0 0 20px #10b98199}.player-circle.released{background:#ef444466;border-color:#ef4444}.player-circle .initials{margin-bottom:.25rem;font-size:2rem}.player-circle .player-name{opacity:.8;white-space:nowrap;font-size:.7rem;position:absolute;bottom:-1.5rem}.game-status{text-align:center;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b3;border-radius:10px;padding:1rem 2rem;position:fixed;top:2rem;left:50%;transform:translate(-50%)}#status-text{font-size:1.2rem;font-weight:700}.results-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:20px;margin-bottom:1rem;padding:1.25rem}.result-item{background:#ffffff1a;border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;padding:.65rem .9rem;font-size:1rem;display:flex}.result-item .rank{opacity:.8;min-width:25px;font-weight:700}.result-item .player-name{flex:1;font-weight:700}.result-item .reaction-time{opacity:.9;font-family:Courier New,monospace;font-size:.9rem}.result-item.winner{background:#10b98166;border:2px solid #10b981;box-shadow:0 0 10px #10b9814d}.result-item.ok{background:#3b82f64d;border:2px solid #3b82f6}.result-item.loser{background:#fb923c4d;border:2px solid #f97316}.result-item.too-early{background:#ef444466;border:2px solid #dc2626}.reward{text-align:center;background:#10b9814d;border:2px solid #10b981;border-radius:10px;margin-top:1rem;padding:1rem;font-size:1.1rem;font-weight:700}.penalty{text-align:center;background:#fb923c4d;border:2px solid #f97316;border-radius:10px;margin-top:1rem;padding:1rem;font-size:1.1rem;font-weight:700}.penalty.severe{background:#ef444466;border:2px solid #dc2626}button,a{touch-action:manipulation}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 4px 15px #10b98166}50%{transform:scale(1.05);box-shadow:0 6px 25px #10b98199}}.btn.pulse{animation:1.5s ease-in-out infinite pulse}
