* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #064e3b; color: #f8fafc; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 1rem; }
header h1 { font-size: 2rem; color: #fbbf24; margin-bottom: 1rem; }
.score-board { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }
.score-board span { font-size: 1.1rem; }
.score-board b { color: #fbbf24; }
.score-board input { width: 120px; }
.table { background: #065f46; border-radius: 12px; padding: 1.5rem; width: min(90vw, 600px); margin-bottom: 1rem; }
.hand { margin-bottom: 1rem; }
.hand h3 { color: #fbbf24; margin-bottom: 0.5rem; }
.cards { display: flex; gap: 0.5rem; flex-wrap: wrap; min-height: 80px; }
.card { width: 60px; height: 84px; background: #fff; color: #1e293b; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.card.red { color: #dc2626; }
.card .suit { font-size: 1.4rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }
.actions button { padding: 0.6rem 1.2rem; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 1rem; }
.actions button:disabled { opacity: 0.4; cursor: not-allowed; }
#deal { background: #fbbf24; color: #064e3b; }
#hit { background: #22c55e; color: #fff; }
#stand { background: #ef4444; color: #fff; }
#double { background: #3b82f6; color: #fff; }
.message { font-size: 1.3rem; font-weight: bold; color: #fbbf24; text-align: center; min-height: 2rem; }
footer { margin-top: 1rem; }
footer a { color: #fbbf24; text-decoration: none; }