* { box-sizing: border-box; font-family: system-ui, -apple-system, sans-serif; }
body { margin: 0; background: #0f172a; color: #f8fafc; padding: 12px; }
.hidden { display: none !important; }
.wallet-bar { display: flex; justify-content: space-between; align-items: center; background: #1e293b; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 13px; }
.card { background: #1e293b; padding: 16px; border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
input, select { padding: 10px; border-radius: 8px; border: 1px solid #334155; background: #0f172a; color: #fff; font-size: 15px; }
button { cursor: pointer; border: none; border-radius: 8px; font-weight: 600; }
.btn-primary { background: #10b981; color: #052e16; padding: 12px; font-size: 15px; }
.btn-secondary { background: #3b82f6; color: #fff; padding: 10px 14px; }
.btn-small { background: #f59e0b; color: #000; padding: 6px 10px; font-size: 12px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
.room-header { display: flex; justify-content: space-between; align-items: center; background: #1e293b; padding: 8px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 10px; }
.seats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.seat-btn { background: #334155; color: #fff; padding: 10px; border-radius: 8px; text-align: left; font-size: 13px; border: 2px solid transparent; }
.seat-btn.team-a { border-color: #3b82f6; }
.seat-btn.team-b { border-color: #ef4444; }
.board { min-height: 160px; background: #064e3b; border: 3px solid #047857; border-radius: 12px; padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-bottom: 12px; }
.tile { background: #f8fafc; color: #0f172a; padding: 8px 10px; border-radius: 6px; font-weight: 800; font-size: 15px; border: 2px solid #94a3b8; }
.controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.hand { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.hand .tile { min-width: 48px; text-align: center; cursor: pointer; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.75); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-content { background: #1e293b; padding: 18px; border-radius: 12px; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.hint { font-size: 12px; color: #cbd5e1; margin: 0; }