*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;color:#333}.app{max-width:1200px;margin:0 auto;padding:2rem}header{text-align:center;color:#fff;margin-bottom:3rem}header h1{font-size:3rem;margin-bottom:.5rem;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.subtitle{font-size:1.2rem;opacity:.9;margin-bottom:.5rem}.player-id{font-size:.9rem;opacity:.8}main{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 10px 40px #0003}.menu{display:grid;gap:2rem}.divider{text-align:center;font-weight:700;color:#999;position:relative;margin:1rem 0}.divider:before,.divider:after{content:"";position:absolute;top:50%;width:40%;height:1px;background:#ddd}.divider:before{left:0}.divider:after{right:0}.create-game{padding:1.5rem;border:2px solid #667eea;border-radius:8px}.create-game h2{margin-bottom:1rem;color:#667eea}.create-game form{display:flex;flex-direction:column;gap:1rem}.create-game label{font-weight:600;margin-bottom:.5rem;display:block}.create-game input{width:100%;padding:.75rem;font-size:1.2rem;border:2px solid #ddd;border-radius:4px;text-transform:uppercase;letter-spacing:.5rem;text-align:center}.create-game input:focus{outline:none;border-color:#667eea}.join-game{padding:1.5rem;border:2px solid #28a745;border-radius:8px}.join-game h2{margin-bottom:1rem;color:#28a745}.join-game form{display:flex;flex-direction:column;gap:1rem}.join-game label{font-weight:600;margin-bottom:.5rem;display:block}.join-game input{width:100%;padding:.75rem;font-size:1rem;border:2px solid #ddd;border-radius:4px;font-family:Courier New,monospace}.join-game input:focus{outline:none;border-color:#28a745}.game-list{padding:1.5rem;border:2px solid #764ba2;border-radius:8px}.game-list h2{margin-bottom:1rem;color:#764ba2}.game-list ul{list-style:none}.game-list li{display:flex;justify-content:space-between;align-items:center;padding:1rem;margin-bottom:.5rem;background:#f8f9fa;border-radius:4px}.game-list li span{flex:1}.game-board{padding:1rem}.game-id-section{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin:1rem 0;text-align:center}.game-id-label{font-size:.9rem;color:#666;margin-bottom:.5rem}.game-id{display:block;font-family:Courier New,monospace;font-size:1.1rem;padding:1rem;background:#fff;border:2px solid #ddd;border-radius:4px;margin:.5rem 0 1rem;word-break:break-all}.copy-button{background:#28a745;margin-top:.5rem}.copy-button:hover:not(:disabled){background:#218838}.instruction{font-size:1.1rem;color:#666;margin:1rem 0;font-weight:500}.game-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #eee}.game-info{flex:1;text-align:center}.game-info p{margin:.25rem 0}.winner{color:#28a745;font-weight:700;font-size:1.2rem}.game-content{display:grid;gap:2rem}.guesses-section{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.my-guesses h3{color:#667eea;margin-bottom:1rem}.opponent-guesses h3{color:#764ba2;margin-bottom:1rem}.guesses-section ul{list-style:none}.guesses-section li{display:flex;justify-content:space-between;align-items:center;padding:.75rem;margin-bottom:.5rem;background:#f8f9fa;border-radius:4px;border-left:4px solid #ddd}.guesses-section li.winning{background:#d4edda;border-left-color:#28a745}.word{font-family:Courier New,monospace;font-size:1.2rem;font-weight:700;letter-spacing:.3rem}.matches{color:#666;font-weight:600}.badge{background:#28a745;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:700}.alphabet{display:flex;flex-direction:column;gap:.75rem;padding:1.5rem;background:#fff;border-radius:8px;margin-bottom:1.5rem;border:2px solid #667eea}.alphabet-row{display:flex;justify-content:center;gap:.5rem}.letter{font-size:1.5rem;font-weight:600;font-family:Courier New,monospace;width:3rem;height:3rem;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:4px;transition:all .2s;cursor:default;position:relative}.letter-char{display:block;margin-bottom:.15rem}.letter-dots{display:flex;gap:.15rem;position:absolute;bottom:.25rem;height:.3rem}.dot{width:.3rem;height:.3rem;border-radius:50%;background:currentColor;opacity:.6}.letter-unused{color:#000;background:#f8f9fa;border:1px solid #ddd}.letter-used{color:#999;background:#f0f0f0;border:1px solid #ccc;opacity:.7}.letter-excluded{color:#dc3545;background:#f8d7da;border:1px solid #f5c6cb;text-decoration:line-through;opacity:.6}.letter-confirmed{color:#28a745;background:#d4edda;border:2px solid #28a745;font-weight:900;font-size:1.6rem;transform:scale(1.1)}.input-section{text-align:center;padding:2rem;background:#f8f9fa;border-radius:8px}.turn-indicator{font-size:1.2rem;font-weight:600;margin-bottom:1rem;color:#667eea}.guess-input{display:flex;gap:1rem;justify-content:center;align-items:flex-start}.guess-input input{padding:.75rem;font-size:1.2rem;border:2px solid #ddd;border-radius:4px;text-transform:uppercase;letter-spacing:.5rem;text-align:center;width:250px}.guess-input input:focus{outline:none;border-color:#667eea}button{padding:.75rem 1.5rem;font-size:1rem;font-weight:600;border:none;border-radius:4px;background:#667eea;color:#fff;cursor:pointer;transition:background .2s}button:hover:not(:disabled){background:#5568d3}button:disabled{background:#ccc;cursor:not-allowed}.error{color:#dc3545;padding:.5rem;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;margin:.5rem 0}footer{text-align:center;color:#fff;margin-top:2rem;opacity:.9}@media (max-width: 768px){.app{padding:1rem}header h1{font-size:2rem}.guesses-section{grid-template-columns:1fr}.game-header{flex-direction:column;gap:1rem}.guess-input{flex-direction:column;align-items:stretch}.guess-input input{width:100%}}
