:root{font-family: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;display:flex;place-items:center;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}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.drawing-canvas-container{width:100%}.drawing-instructions{text-align:center;margin-bottom:20px}.drawing-instructions h3{font-size:1.5rem;color:#333;margin-bottom:8px}.body-part-label{color:#667eea;font-weight:700;text-transform:uppercase}.drawing-instructions p{color:#666;font-size:.95rem;font-style:italic}.canvas-wrapper{margin-bottom:20px;touch-action:none}.drawing-controls{display:flex;flex-direction:column;gap:20px}.color-picker{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.color-btn{width:40px;height:40px;border-radius:50%;border:3px solid transparent;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0003}.color-btn:hover{transform:scale(1.1)}.color-btn.active{border-color:#667eea;transform:scale(1.15);box-shadow:0 4px 8px #667eea66}.stroke-width-control{text-align:center}.stroke-width-control label{display:flex;align-items:center;justify-content:center;gap:15px;font-size:1rem;color:#333;font-weight:500}.stroke-width-control input[type=range]{width:200px;height:8px;border-radius:4px;background:#e0e0e0;outline:none;-webkit-appearance:none}.stroke-width-control input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer;box-shadow:0 2px 4px #0003}.stroke-width-control input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer;box-shadow:0 2px 4px #0003;border:none}.stroke-value{min-width:45px;font-weight:600;color:#667eea}.action-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.btn-secondary{padding:10px 20px;font-size:1rem;font-weight:600;border:2px solid #667eea;border-radius:8px;cursor:pointer;background:#fff;color:#667eea;transition:all .3s ease}.btn-secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 4px 8px #667eea4d}@media(max-width:600px){.color-btn{width:35px;height:35px}.stroke-width-control input[type=range]{width:150px}.action-buttons{flex-direction:column}.action-buttons button{width:100%}}.composite-drawing{width:100%;display:flex;justify-content:center;margin:20px 0}.drawing-vote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin:20px 0}.drawing-vote-card{background:#fff;border:3px solid #e0e0e0;border-radius:12px;padding:15px;cursor:pointer;transition:all .3s ease;display:flex;flex-direction:column;gap:10px}.drawing-vote-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #00000026;border-color:#667eea}.drawing-vote-card.selected{border-color:#667eea;border-width:4px;background:linear-gradient(135deg,#667eea1a,#764ba21a);box-shadow:0 8px 16px #667eea4d}.vote-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.body-part-label{font-weight:700;color:#667eea;text-transform:uppercase;font-size:.9rem}.player-name{font-size:.85rem;color:#666;font-style:italic}.vote-card-image{width:100%;aspect-ratio:1;background:#f5f5f5;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.vote-card-image img{max-width:100%;max-height:100%;object-fit:contain}.vote-card-votes{display:flex;justify-content:center;align-items:baseline;gap:8px;padding-top:10px;border-top:2px solid #e0e0e0}.vote-count{font-size:1.5rem;font-weight:700;color:#667eea}.vote-label{font-size:.9rem;color:#666}@media(max-width:600px){.drawing-vote-grid{grid-template-columns:1fr;gap:15px}.composite-drawing canvas{border-radius:8px}}*{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,#667eea,#764ba2);min-height:100vh}input[type=text]{color:#333;background:#fff}input[type=text]::placeholder{color:#999}.container{max-width:800px;margin:0 auto;padding:20px;min-height:100vh}.join-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80vh;text-align:center}.join-screen h1{font-size:4rem;color:#fff;margin-bottom:10px;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.join-screen p{font-size:1.2rem;color:#ffffffe6;margin-bottom:40px}.form{display:flex;flex-direction:column;gap:15px;width:100%;max-width:400px}.form input{padding:15px 20px;font-size:1.1rem;border:none;border-radius:10px;background:#fff;box-shadow:0 4px 6px #0000001a}.form button{padding:15px 20px;font-size:1.1rem;font-weight:600;border:none;border-radius:10px;cursor:pointer;background:#4caf50;color:#fff;transition:all .3s ease;box-shadow:0 4px 6px #0000001a}.form button:hover:not(:disabled){background:#45a049;transform:translateY(-2px);box-shadow:0 6px 8px #00000026}.form button:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.status-bar{display:flex;justify-content:space-between;align-items:center;background:#fffffff2;padding:15px 20px;border-radius:10px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.status-item{display:flex;align-items:center;gap:8px}.status-label{font-size:.9rem;color:#666;font-weight:500}.status-value{font-size:1.1rem;font-weight:700;color:#333}.status-value.timer{color:#667eea;min-width:40px}.status-indicator{font-size:1.2rem}.status-item.online .status-indicator{color:#4caf50}.status-item.offline .status-indicator{color:#f44336}.lobby{background:#fffffff2;padding:40px;border-radius:15px;box-shadow:0 8px 16px #0003;text-align:center}.lobby h1{font-size:3rem;color:#333;margin-bottom:10px}.subtitle{font-size:1.2rem;color:#666;margin-bottom:30px}.players-list{margin:30px 0;text-align:left}.players-list h3{font-size:1.3rem;color:#333;margin-bottom:15px}.player-item{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;background:#f5f5f5;border-radius:8px;margin-bottom:8px}.player-item.me{background:#e3f2fd;border:2px solid #667eea}.player-name{font-size:1.1rem;color:#333;font-weight:500}.badge{background:#667eea;color:#fff;padding:4px 12px;border-radius:12px;font-size:.85rem;font-weight:600}.lobby-actions{margin-top:30px}.warning{color:#f57c00;font-size:.95rem;margin-bottom:15px;font-weight:500}.btn-primary{padding:12px 30px;font-size:1rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;background:#667eea;color:#fff;transition:all .3s ease;box-shadow:0 4px 6px #0000001a}.btn-primary:hover:not(:disabled){background:#5568d3;transform:translateY(-2px);box-shadow:0 6px 8px #00000026}.btn-primary:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.btn-large{padding:15px 40px;font-size:1.2rem}.game-content{background:#fffffff2;padding:30px;border-radius:15px;box-shadow:0 8px 16px #0003}.phase-header{text-align:center;margin-bottom:25px}.phase-header h2{font-size:2rem;color:#333}.phase-header h1{font-size:3rem;color:#333}.spectator-badge{font-size:1rem;color:#ff9800;font-weight:600;margin-top:10px;background:#ff98001a;padding:8px 16px;border-radius:8px;display:inline-block}.phrase-display{background:linear-gradient(135deg,#667eea,#764ba2);padding:30px;border-radius:12px;margin-bottom:30px;box-shadow:0 4px 8px #0000001a}.phrase{font-size:1.8rem;color:#fff;text-align:center;font-weight:600;line-height:1.4}.winning-phrase{font-size:2.2rem;font-weight:700;animation:celebration .6s ease-in-out}.phrase-subtext{font-size:1.2rem;color:#ffffffe6;text-align:center;margin-top:15px;font-weight:500;font-style:italic}@keyframes celebration{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.05)}to{transform:scale(1);opacity:1}}.submission-form{display:flex;flex-direction:column;gap:15px;margin-bottom:30px}.answer-input{padding:15px 20px;font-size:1.1rem;border:2px solid #ddd;border-radius:10px;transition:border-color .3s ease;background:#fff;color:#333}.answer-input:focus{outline:none;border-color:#667eea}.answer-input::placeholder{color:#999}.submitted-confirmation{text-align:center;padding:30px}.checkmark{font-size:4rem;color:#4caf50;margin-bottom:15px}.submitted-confirmation p{font-size:1.2rem;color:#333;margin-bottom:10px}.submitted-answer{font-size:1.4rem;font-weight:600;color:#667eea;font-style:italic;margin:20px 0}.waiting-text{color:#666;font-size:1rem;margin-top:20px;text-align:center}.progress-bar{width:100%;height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden;margin-top:20px}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .5s ease}.submissions-list{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.submission-card{padding:20px;background:#f5f5f5;border:2px solid transparent;border-radius:12px;cursor:pointer;transition:all .3s ease;position:relative}.submission-card:hover:not(.my-submission){background:#e3f2fd;border-color:#667eea;transform:translate(5px)}.submission-card.my-submission{background:#fff3e0;border-color:#ff9800;cursor:not-allowed}.submission-card.voted{background:#e8f5e9;border-color:#4caf50}.submission-text{font-size:1.3rem;color:#333;font-weight:500;margin-bottom:10px}.vote-badge{background:#4caf50;color:#fff;padding:4px 12px;border-radius:12px;font-size:.85rem;font-weight:600;margin-top:10px;display:inline-block}.results-list{margin-bottom:30px}.result-card{display:flex;align-items:center;gap:15px;padding:20px;background:#f5f5f5;border-radius:12px;margin-bottom:12px;border:2px solid transparent}.result-card.winner{background:linear-gradient(135deg,#fff9c4,#fff59d);border-color:gold}.result-rank{font-size:1.5rem;font-weight:700;color:#666;min-width:40px;text-align:center}.result-card.winner .result-rank{color:#f57f17}.result-content{flex:1}.result-submission{font-size:1.2rem;color:#333;font-weight:600;margin-bottom:5px}.result-author{font-size:.95rem;color:#666}.result-votes{text-align:right;display:flex;flex-direction:column;align-items:center}.vote-count{font-size:1.8rem;font-weight:700;color:#667eea}.vote-label{font-size:.85rem;color:#666}.scoreboard{margin-top:30px;padding-top:20px;border-top:2px solid #e0e0e0}.scoreboard h3{font-size:1.3rem;color:#333;margin-bottom:15px;text-align:center}.scores-list{display:flex;flex-direction:column;gap:8px}.score-item{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;background:#f5f5f5;border-radius:8px}.score-name{font-size:1rem;color:#333;font-weight:500}.score-value{font-size:1.2rem;font-weight:700;color:#667eea}.score-rank{font-weight:700;color:#999;margin-right:10px}.game-over{text-align:center;padding:40px}.winners-display{margin:40px 0}.trophy{font-size:5rem;margin-bottom:20px}.winner-name{font-size:2.5rem;color:#333;font-weight:700;margin-bottom:10px}.winner-score{font-size:1.5rem;color:#667eea;font-weight:600}.winner-item{margin:20px 0}.final-scoreboard{margin:40px 0}.final-scoreboard h3{font-size:1.5rem;color:#333;margin-bottom:20px}@media(max-width:600px){.container{padding:10px}.join-screen h1{font-size:2.5rem}.lobby h1{font-size:2rem}.phrase{font-size:1.3rem}.game-content{padding:20px}.status-bar{flex-wrap:wrap;gap:10px}.submission-text{font-size:1.1rem}.result-submission{font-size:1rem}}
