.player-area{background-color:#2b612b;padding:20px;border-radius:10px;width:90%;max-width:500px;box-shadow:0 4px 8px #0003;transition:all .3s ease}.player-area.current-player{border:3px solid #ffdd77;box-shadow:0 4px 12px #ffdd7780}.player-area h2{margin-bottom:10px;font-size:1.5em}.dice-container{margin-top:10px}.dice-count{font-size:1.1em;margin-bottom:10px;font-weight:700}.dice-visible,.dice-hidden{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;min-height:50px}.die{width:40px;height:40px;background-color:#fff;color:#000;border-radius:5px;font-size:24px;font-weight:700;display:flex;justify-content:center;align-items:center;border:2px solid #333;box-shadow:0 2px 4px #0003}.die-hidden{background-color:#444;color:#fff;border-color:#666}.controls{margin-top:20px;display:flex;flex-direction:column;gap:15px;align-items:center}.bid-controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}.controls label{font-weight:700;margin-right:5px}.controls input[type=number]{width:60px;padding:8px;text-align:center;border-radius:5px;border:1px solid #ccc;font-size:1em}.controls input[type=number]:disabled{background-color:#ccc;cursor:not-allowed}.bid-button,.challenge-button{padding:10px 20px;cursor:pointer;border:none;border-radius:5px;margin:5px;background-color:#f0c14b;color:#111;font-weight:700;font-size:1em;transition:background-color .3s;box-shadow:0 2px 4px #0003}.bid-button:hover:not(:disabled),.challenge-button:hover:not(:disabled){background-color:#e0b03a}.bid-button:disabled,.challenge-button:disabled{cursor:not-allowed;background-color:#ccc;color:#666;box-shadow:none}.challenge-button{background-color:#ff6b6b;color:#fff;min-width:150px}.challenge-button:hover:not(:disabled){background-color:#ee5a5a}.message-display{font-size:1.2em;font-weight:700;margin:15px;min-height:25px;color:#fd7;text-shadow:1px 1px 2px rgba(0,0,0,.5)}.game-history{background-color:#2b612b;border-radius:10px;padding:15px;max-height:400px;display:flex;flex-direction:column;box-shadow:0 4px 8px #0003}.game-history h3{margin:0 0 10px;font-size:1.2em;color:#fd7;text-align:center}.history-list{flex:1;overflow-y:auto;padding-right:5px;max-height:350px}.history-list::-webkit-scrollbar{width:6px}.history-list::-webkit-scrollbar-track{background:#1a4a1a;border-radius:3px}.history-list::-webkit-scrollbar-thumb{background:#4a8a4a;border-radius:3px}.history-list::-webkit-scrollbar-thumb:hover{background:#5a9a5a}.history-entry{padding:8px;margin-bottom:8px;border-radius:5px;font-size:.9em;display:flex;flex-direction:column;gap:4px;border-left:3px solid transparent;transition:background-color .2s}.history-entry:hover{background-color:#ffffff0d}.history-entry.round-start{background-color:#ffdd771a;border-left-color:#fd7}.history-entry.bid{background-color:#f0c14b1a;border-left-color:#f0c14b}.history-entry.challenge{background-color:#ff6b6b1a;border-left-color:#ff6b6b}.history-time{font-size:.75em;color:#aaa;opacity:.7}.history-text{color:#fff;line-height:1.4}.history-text strong{color:#fd7}.history-empty{text-align:center;color:#aaa;padding:20px;font-style:italic}.round-results{background-color:#2b612b;border-radius:10px;padding:15px;box-shadow:0 4px 8px #0003}.round-results h3{margin:0 0 15px;font-size:1.2em;color:#fd7;text-align:center}.rounds-table-container{overflow-x:auto;max-height:300px;overflow-y:auto}.rounds-table-container::-webkit-scrollbar{width:6px;height:6px}.rounds-table-container::-webkit-scrollbar-track{background:#1a4a1a;border-radius:3px}.rounds-table-container::-webkit-scrollbar-thumb{background:#4a8a4a;border-radius:3px}.rounds-table{width:100%;border-collapse:collapse;font-size:.85em}.rounds-table thead{position:sticky;top:0;background-color:#1a4a1a;z-index:1}.rounds-table th{padding:10px 8px;text-align:left;color:#fd7;font-weight:700;border-bottom:2px solid #4a8a4a;white-space:nowrap}.rounds-table td{padding:10px 8px;border-bottom:1px solid rgba(255,255,255,.1);color:#fff}.rounds-table tbody tr:hover{background-color:#ffffff0d}.rounds-table tbody tr.current-round{background-color:#ffdd771a;border-left:3px solid #ffdd77}.round-number{font-weight:700;color:#fd7;text-align:center}.round-bids{min-width:150px}.bids-list{display:flex;flex-direction:column;gap:4px}.bid-entry{display:flex;gap:5px;align-items:center}.bid-player{color:#aaa;font-size:.9em}.bid-value{font-weight:700;color:#f0c14b}.no-bids{color:#666;font-style:italic}.round-challenge{min-width:120px}.challenge-info{display:flex;flex-direction:column;gap:4px}.challenge-detail{font-size:.9em;color:#aaa}.challenge-result{font-weight:700;color:#ff6b6b}.no-challenge{color:#666;font-style:italic}.round-loser{text-align:center}.loser-name{color:#ff6b6b;font-weight:700}.no-loser{color:#666;font-style:italic}.round-dice-counts{min-width:120px}.dice-counts{display:flex;flex-direction:column;gap:4px}.dice-count{font-size:.9em}.dice-count strong{color:#fd7;font-size:1.1em}.rounds-empty{text-align:center;color:#aaa;padding:20px;font-style:italic}.game-board{display:flex;flex-direction:column;align-items:center;padding:20px}.connection-status{margin-top:10px;padding:10px 16px;background-color:#fd73;border:1px solid #ffdd77;border-radius:8px;color:#fd7;font-weight:500;text-align:center}.start-screen{margin-top:50px}.start-button{padding:15px 30px;font-size:1.2em;cursor:pointer;border:none;border-radius:8px;background-color:#f0c14b;color:#111;font-weight:700;transition:background-color .3s;box-shadow:0 4px 8px #0000004d}.start-button:hover{background-color:#e0b03a;transform:scale(1.05)}.game-layout{display:flex;gap:20px;width:100%;max-width:1400px;margin-top:20px}.game-main{flex:1;display:flex;flex-direction:column;gap:20px}.game-area{display:flex;flex-direction:column;justify-content:space-around;align-items:center;gap:20px;width:100%}.game-sidebar{width:350px;min-width:300px;display:flex;flex-direction:column;gap:20px}@media (max-width: 1024px){.game-layout{flex-direction:column}.game-sidebar{width:100%;min-width:unset}}.table-area{background-color:#2b612b;padding:20px;border-radius:10px;width:90%;max-width:500px;box-shadow:0 4px 8px #0003;min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center}.table-area h2{margin-bottom:15px}.current-bid{font-size:1.1em;margin:10px 0;min-height:60px;display:flex;flex-direction:column;justify-content:center;align-items:center}.bid-info{font-size:1.3em;font-weight:700;color:#fd7;margin-top:10px}.round-info{margin-top:15px;font-size:.9em;opacity:.8}.player-section{width:100%;display:flex;flex-direction:column;align-items:center}.game-over{margin-top:30px}.game-loading,.game-error{text-align:center;padding:40px;font-size:1.2em;margin-top:50px}.game-loading{color:#fd7}.game-error{color:#ff6b6b;background-color:#ff6b6b1a;border:2px solid #ff6b6b;border-radius:10px;margin:20px auto;max-width:500px}.mode-selector{display:flex;flex-direction:column;align-items:center;padding:40px 20px;min-height:400px;justify-content:center}.mode-selector h2{margin-bottom:30px;font-size:2em;color:#fd7;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.mode-options{display:flex;gap:30px;flex-wrap:wrap;justify-content:center;max-width:800px}.mode-card{background-color:#2b612b;border-radius:15px;padding:30px;width:300px;text-align:center;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 8px #0003;border:3px solid transparent}.mode-card:hover:not(.disabled){transform:translateY(-5px);box-shadow:0 8px 16px #0000004d;border-color:#fd7}.mode-card.disabled{opacity:.6;cursor:not-allowed}.mode-icon{font-size:4em;margin-bottom:15px}.mode-card h3{font-size:1.5em;margin-bottom:10px;color:#fd7}.mode-card p{color:#ccc;margin-bottom:20px;font-size:.95em;line-height:1.5}.mode-button{padding:12px 30px;font-size:1.1em;background-color:#f0c14b;color:#111;border:none;border-radius:8px;cursor:pointer;font-weight:700;transition:background-color .3s}.mode-button:hover{background-color:#e0b03a}.mode-warning{padding:10px;background-color:#ff6b6b33;color:#ff6b6b;border-radius:5px;font-size:.9em;margin-top:10px}@media (max-width: 768px){.mode-options{flex-direction:column;align-items:center}.mode-card{width:100%;max-width:350px}}.lobby{max-width:800px;margin:0 auto;padding:20px;color:#fff}.back-button{background:transparent;border:2px solid #ffdd77;color:#fd7;padding:8px 16px;border-radius:5px;cursor:pointer;font-size:1em;margin-bottom:20px;transition:all .3s}.back-button:hover{background-color:#fd7;color:#111}.lobby h2{text-align:center;color:#fd7;margin-bottom:20px;font-size:2em}.user-info{background-color:#2b612b;padding:15px;border-radius:10px;margin-bottom:20px;text-align:center}.user-info p{margin:5px 0}.user-id{font-size:.85em;color:#aaa;font-family:monospace}.lobby-error{background-color:#ff6b6b33;color:#ff6b6b;padding:12px;border-radius:8px;margin-bottom:20px;text-align:center;border:1px solid #ff6b6b}.lobby-loading{text-align:center;padding:40px;font-size:1.2em;color:#fd7}.lobby-actions{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px}.lobby-section{background-color:#2b612b;padding:20px;border-radius:10px}.lobby-section h3{color:#fd7;margin-bottom:15px;text-align:center}.lobby-button{width:100%;padding:12px;font-size:1.1em;background-color:#f0c14b;color:#111;border:none;border-radius:8px;cursor:pointer;font-weight:700;transition:background-color .3s;margin-bottom:10px}.lobby-button:hover:not(:disabled){background-color:#e0b03a}.lobby-button:disabled{opacity:.5;cursor:not-allowed}.create-button{background-color:#4a8a4a;color:#fff}.create-button:hover{background-color:#5a9a5a}.close-button{background-color:#cc5a5a;color:#fff}.close-button:hover{background-color:#d46a6a}.join-button{background-color:#f0c14b}.room-code{margin-top:15px;padding:15px;background-color:#0000004d;border-radius:8px;text-align:center}.room-code-display{font-size:1.5em;font-weight:700;color:#fd7;font-family:monospace;padding:10px;background-color:#00000080;border-radius:5px;margin:10px 0;word-break:break-all}.room-code-hint{font-size:.9em;color:#aaa;margin-top:10px}.join-room{display:flex;flex-direction:column;gap:10px}.room-code-input{padding:12px;font-size:1em;border-radius:8px;border:2px solid #4a8a4a;background-color:#0000004d;color:#fff;text-align:center;font-family:monospace}.room-code-input:focus{outline:none;border-color:#fd7}.available-rooms{background-color:#2b612b;padding:20px;border-radius:10px}.available-rooms h3{color:#fd7;margin-bottom:15px;text-align:center}.no-rooms{text-align:center;color:#aaa;padding:20px;font-style:italic}.rooms-list{display:flex;flex-direction:column;gap:10px}.room-item{display:flex;justify-content:space-between;align-items:center;padding:15px;background-color:#0000004d;border-radius:8px}.room-info{display:flex;flex-direction:column;gap:5px}.room-info strong{color:#fd7}.room-players{font-size:.9em;color:#aaa}.small-button{padding:8px 20px;font-size:.9em;width:auto;min-width:100px}@media (max-width: 768px){.lobby-actions{grid-template-columns:1fr}}.App{text-align:center;padding:20px;min-height:100vh}.App h1{margin-bottom:20px;font-size:2.5rem;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.back-to-menu-button{position:absolute;top:20px;left:20px;background:transparent;border:2px solid #ffdd77;color:#fd7;padding:8px 16px;border-radius:5px;cursor:pointer;font-size:1em;transition:all .3s;z-index:100}.back-to-menu-button:hover{background-color:#fd7;color:#111}*{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-color:#3d8a3d;color:#fff;min-height:100vh}#root{width:100%;min-height:100vh}
