:root { --bg: #2b7a4b; --dp: rgba(0,0,0,0.7); --pri: #3498db; --dan: #e74c3c; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: sans-serif; }
body { background: var(--bg); color: white; height: 100vh; overflow: hidden; }
.menu-body { display: flex; justify-content: center; align-items: center; }
.menu-container, .modal-content { background: var(--dp); padding: 2rem; border-radius: 10px; width: 90%; max-width: 400px; text-align: center; display:flex; flex-direction:column; gap:10px; }
button { padding: 10px; border: none; border-radius: 5px; background: var(--pri); color: white; cursor: pointer; }
.btn-danger { background: var(--dan); }
.modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 1000; }
input { padding: 10px; border-radius: 5px; }
.hidden { display: none !important; }
.game-body { display: flex; flex-direction: column; }
.top-bar { display: flex; justify-content: space-between; padding: 10px; height: 15vh; z-index: 100; }
.dropdown { position: absolute; background: var(--dp); padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.chat-wrapper { background: var(--dp); padding: 5px; border-radius: 5px; width: 30vw; display: flex; flex-direction: column; }
.chat-messages { height: 60px; overflow-y: auto; font-size: 0.8rem; }
.chat-input-area { display: flex; gap: 5px; }
.info-panel { background: var(--dp); padding: 10px; border-radius: 5px; font-weight: bold; }
.game-area { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; }
.opponents-container { position: absolute; top: 0; display: flex; gap: 20px; }
.opponent { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,0,0.4); padding: 5px; border-radius: 10px; }
.center-table { display: flex; gap: 20px; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 100px; }
.deck { width: 50px; height: 75px; display: flex; justify-content: center; align-items: center; border-radius: 5px; cursor: pointer; border: 1px solid white;}
.closed-deck { background: repeating-linear-gradient(45deg, #2c3e50, #34495e 10px); }
.discard-pile { background: white; color: black; }
.player-hand-area { height: 30vh; background: rgba(0,0,0,0.5); padding: 10px; display: flex; flex-direction: column; }
.hand-controls { display: flex; gap: 10px; margin-bottom: 5px; }
.my-hand { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 10px; }
.card { width: 50px; height: 75px; background: white; color: black; border-radius: 5px; display: flex; justify-content: center; align-items: center; font-weight: bold; cursor: pointer; user-select: none; border: 2px solid transparent;}
.card.red { color: #e74c3c; }
.selected { transform: translateY(-10px); border-color: #f1c40f; }
.kick-popup { position: absolute; top: 50px; right: 50px; background: var(--dan); padding: 15px; border-radius: 5px; }