*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}input,textarea{-webkit-user-select:text;-moz-user-select:text;user-select:text}html,body,#root{height:100%}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fdf6f0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.pixel-title{font-family:"Press Start 2P",monospace;font-size:24px;text-shadow:4px 4px 0 rgba(0,0,0,.3);color:#ffd43b;margin-bottom:20px}.pixel-subtitle{font-family:"Press Start 2P",monospace;font-size:16px;color:#51cf66}.pixel-screen{background:#16213e!important}.app{height:100%;display:flex;flex-direction:column}.screen{width:100%;height:100%;background:#fdf6f0;display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch}.header{text-align:center;margin-bottom:40px}.header h1{font-size:48px;font-weight:800;color:#1a202c;margin-bottom:8px}.subtitle{font-size:18px;color:#718096;margin-top:8px}.phase-label{font-size:16px;color:#667eea;font-weight:600;text-transform:uppercase;letter-spacing:1px}.content{flex:1;display:flex;flex-direction:column;gap:30px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:16px 32px;font-size:18px;font-weight:600;border-radius:12px;cursor:pointer;transition:transform .2s,box-shadow .2s}.btn-primary:active:not(:disabled){transform:scale(.98);opacity:.9}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-large{padding:20px 40px;font-size:20px}.btn-secondary{background:#fff;color:#667eea;border:2px solid #667eea;padding:12px 24px;font-size:16px;font-weight:600;border-radius:10px;cursor:pointer;transition:all .2s}.btn-secondary:active{background:#667eea;color:#fff}.players-section{flex:1}.players-section h2{font-size:24px;color:#1a202c;margin-bottom:16px}.players-list{display:flex;flex-direction:column;gap:12px}.player-card{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f7fafc;border-radius:10px;border:2px solid #e2e8f0}.player-name{font-size:18px;font-weight:600;color:#2d3748}.player-score{font-size:18px;font-weight:700;color:#667eea}.host-controls{display:flex;flex-direction:column;gap:20px}.add-player-form{display:flex;gap:12px}.add-player-form input{flex:1;padding:12px 16px;font-size:16px;border:2px solid #e2e8f0;border-radius:10px;outline:none;transition:border-color .2s}.add-player-form input:focus{border-color:#667eea}.hint{text-align:center;color:#718096;font-size:14px;margin-top:-10px}.waiting-message{text-align:center;padding:40px 20px}.waiting-message p{font-size:18px;color:#718096}.input-section{display:flex;flex-direction:column;gap:20px;align-items:center}.input-large{width:100%;padding:20px;font-size:24px;text-align:center;border:3px solid #e2e8f0;border-radius:12px;outline:none;transition:border-color .2s}.input-large:focus{border-color:#667eea}.input-large:disabled{background:#f7fafc;color:#a0aec0}.submitted-message{display:flex;flex-direction:column;align-items:center;gap:12px}.submitted-message p{font-size:20px;color:#48bb78;font-weight:600}.progress-section{text-align:center}.progress-text{font-size:16px;color:#718096;margin-bottom:12px}.progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease}.prompt-display{background:#f7fafc;padding:40px;border-radius:16px;text-align:center}.prompt-section{margin-bottom:24px}.prompt-if{font-size:28px;font-weight:700;color:#1a202c;line-height:1.4}.prompt-but{font-size:28px;font-weight:700;color:#764ba2;line-height:1.4}.prompt-instruction{margin-top:32px;padding-top:24px;border-top:2px solid #e2e8f0}.prompt-instruction p{font-size:20px;font-weight:600;color:#667eea;font-style:italic}.prompt-display-small{background:#f7fafc;padding:20px;border-radius:12px;margin-bottom:20px}.prompt-text{font-size:16px;color:#4a5568;line-height:1.6;white-space:pre-line}.performer-section{flex:1;display:flex;align-items:center;justify-content:center;text-align:center}.your-turn h1,.watching h1{font-size:48px;font-weight:800;color:#1a202c;margin-bottom:16px}.instruction{font-size:20px;color:#718096}.voting-section{flex:1}.voting-section .instruction{text-align:center;font-size:22px;color:#2d3748;font-weight:600;margin-bottom:24px}.players-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:30px}.player-vote-card{padding:24px;background:#f7fafc;border:3px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .2s;text-align:center;position:relative}.player-vote-card:active:not(.disabled){border-color:#667eea;transform:scale(.98)}.player-vote-card.selected{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea}.player-vote-card.selected .player-name{color:#fff}.player-vote-card.disabled{opacity:.4;cursor:not-allowed}.player-vote-card .player-name{font-size:20px;font-weight:700;color:#2d3748}.you-label{display:block;font-size:14px;color:#718096;margin-top:4px}.player-vote-card.selected .you-label{color:#fffc}.check-mark{position:absolute;top:8px;right:12px;font-size:24px}.winner-section{text-align:center;padding:40px 20px}.winner-card{background:linear-gradient(135deg,#667eea,#764ba2);padding:40px;border-radius:16px;color:#fff}.winner-card h2{font-size:48px;font-weight:800;margin-bottom:12px}.vote-count{font-size:24px;opacity:.9}.scoreboard-section{margin-top:40px}.scoreboard-section h3{font-size:20px;color:#2d3748;margin-bottom:16px;text-align:center}.scoreboard{background:#f7fafc;border-radius:12px;padding:20px}.score-row{display:flex;align-items:center;padding:12px;border-bottom:1px solid #e2e8f0}.score-row:last-child{border-bottom:none}.rank{font-size:18px;font-weight:700;color:#a0aec0;width:40px}.score-row .player-name{flex:1;font-size:18px;color:#2d3748}.score{font-size:20px;font-weight:700;color:#667eea}.loading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:24px;color:#fff}.error-toast{position:fixed;top:20px;right:20px;background:#f56565;color:#fff;padding:16px 24px;border-radius:12px;box-shadow:0 10px 30px #0000004d;font-size:16px;font-weight:600;z-index:1000;animation:slideIn .3s ease}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}.join-screen .join-options,.join-screen .join-form{display:flex;flex-direction:column;gap:20px;align-items:center;width:100%}.prompt-display-compact{background:#f7fafc;padding:20px;border-radius:12px;margin-top:16px;font-size:18px;color:#2d3748;text-align:center}.section-title{font-size:24px;color:#2d3748;margin-bottom:8px;text-align:center}.but-selection-screen .but-options{display:flex;flex-direction:column;gap:16px;width:100%;margin-top:24px}.but-option-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:20px 24px;border-radius:16px;font-size:18px;cursor:pointer;transition:transform .2s,box-shadow .2s;text-align:left;display:flex;gap:12px;align-items:baseline}.but-option-card:active{transform:scale(.98);opacity:.9}.but-option-card .but-prefix{font-weight:700;font-size:20px;opacity:.9;flex-shrink:0}.but-option-card .but-text{font-style:italic;font-weight:500;line-height:1.4}.hint-text{text-align:center;color:#718096;font-size:16px;margin-top:20px}.waiting-message{text-align:center;padding:40px}.waiting-message p{font-size:18px;color:#4a5568;margin-bottom:16px}.loading-dots{display:inline-flex;gap:8px;font-size:32px;color:#667eea}.loading-dots span{animation:bounce 1.4s infinite ease-in-out both}.loading-dots span:nth-child(1){animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.my-but-card{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;padding:32px;border-radius:20px;text-align:center;margin-bottom:32px}.but-label{font-size:16px;opacity:.9;margin-bottom:12px}.but-modifier-text{font-size:28px;font-weight:600;font-style:italic}.but-modifier-text .but-word{font-weight:800;font-style:normal;margin-right:8px}.all-assignments{margin-bottom:32px}.all-assignments h3{font-size:20px;color:#2d3748;margin-bottom:16px}.assignments-list{display:flex;flex-direction:column;gap:12px}.assignment-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f7fafc;border-radius:12px;gap:16px}.assignment-item.is-me{background:linear-gradient(135deg,#667eea15,#764ba215);border:2px solid #667eea}.assignment-item .player-name{font-weight:600;color:#2d3748;min-width:120px}.assignment-item .assignment-but{font-style:italic;color:#4a5568;text-align:right;flex:1}.waiting-text{text-align:center;color:#718096;font-size:16px}.transition-message{text-align:center;padding:40px;color:#4a5568;font-size:18px}.your-but-reveal{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;padding:24px;border-radius:16px;margin:20px 0;text-align:center;animation:revealPulse .5s ease-out}.watching-but-reveal{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:24px;border-radius:16px;margin:20px 0;text-align:center;animation:revealPulse .5s ease-out}@keyframes revealPulse{0%{transform:scale(.95);opacity:0}50%{transform:scale(1.02)}to{transform:scale(1);opacity:1}}.but-reveal-label{font-size:14px;text-transform:uppercase;letter-spacing:1px;opacity:.9;margin-bottom:12px;font-weight:600}.but-reveal-text{font-size:24px;font-weight:600;font-style:italic;line-height:1.4}.but-reveal-text .but-word{font-weight:800;font-style:normal;margin-right:8px}.performer-but-modifier{display:flex;flex-direction:column;gap:8px;padding:20px;background:linear-gradient(135deg,#ffeaa715,#764ba215);border-radius:12px;margin:16px 0}.performer-but-modifier .but-label{font-size:14px;color:#718096;text-transform:uppercase;letter-spacing:1px}.performer-but-modifier .but-text{font-size:20px;font-weight:600;font-style:italic;color:#2d3748}.game-code-display{text-align:center;padding:20px;background:#f7fafc;border-radius:12px;margin-bottom:20px}.game-code-display .label{font-size:14px;color:#718096;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}.game-code-display .game-code{font-size:48px;font-weight:800;color:#667eea;letter-spacing:4px;font-family:Courier New,monospace}@media (max-width: 640px){.screen{padding:24px}.header h1{font-size:36px}.prompt-if,.prompt-but{font-size:22px}.your-turn h1,.watching h1{font-size:36px}.players-grid{grid-template-columns:1fr}.game-code-display .game-code{font-size:36px}.error-toast{top:10px;right:10px;left:10px}}@keyframes rotate-rays{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse-rays{0%,to{opacity:.7}50%{opacity:1}}.light-rays-container{position:relative;display:flex;align-items:center;justify-content:center}.light-rays{position:absolute;width:320px;height:320px;pointer-events:none;animation:rotate-rays 120s linear infinite}.light-ray{position:absolute;top:50%;left:50%;width:100%;height:4px;background:linear-gradient(90deg,rgba(255,255,255,.9) 0%,rgba(255,252,248,.5) 40%,transparent 70%);transform-origin:0% 50%;filter:blur(4px);box-shadow:0 0 8px #ffffff80;animation:pulse-rays 8s ease-in-out infinite}.light-ray:nth-child(1){transform:rotate(0);animation-delay:0s}.light-ray:nth-child(2){transform:rotate(30deg);animation-delay:.4s}.light-ray:nth-child(3){transform:rotate(60deg);animation-delay:.8s}.light-ray:nth-child(4){transform:rotate(90deg);animation-delay:1.2s}.light-ray:nth-child(5){transform:rotate(120deg);animation-delay:1.6s}.light-ray:nth-child(6){transform:rotate(150deg);animation-delay:2s}.light-ray:nth-child(7){transform:rotate(180deg);animation-delay:2.4s}.light-ray:nth-child(8){transform:rotate(210deg);animation-delay:2.8s}.light-ray:nth-child(9){transform:rotate(240deg);animation-delay:3.2s}.light-ray:nth-child(10){transform:rotate(270deg);animation-delay:3.6s}.light-ray:nth-child(11){transform:rotate(300deg);animation-delay:4s}.light-ray:nth-child(12){transform:rotate(330deg);animation-delay:4.4s}.logo-foreground{position:relative;z-index:1}
