* { box-sizing: border-box; }
body {
    font-family: system-ui, "Segoe UI", Arial, sans-serif;
    background: #f4f2ec;
    color: #2b2b2b;
    margin: 0;
    padding: 24px;
}
.container {
    max-width: 760px;
    margin: 0 auto;
}
h1, h2, h3 { color: #1f2937; }
a { color: #2563eb; }
.card {
    background: #fff;
    border: 1px solid #e2e0d8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
label { display: block; margin-top: 10px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=number], textarea, select {
    width: 100%;
    padding: 8px 10px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}
textarea { min-height: 100px; font-family: monospace; }
button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
}
button:hover { background: #1d4ed8; }
button.secondary { background: #6b7280; }
button.secondary:hover { background: #4b5563; }
button.danger { background: #dc2626; }
button.danger:hover { background: #b91c1c; }
button:disabled { background: #9ca3af; cursor: not-allowed; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.error { color: #b91c1c; margin-top: 8px; font-size: 14px; }
.success { color: #15803d; margin-top: 8px; font-size: 14px; }
.muted { color: #6b7280; font-size: 13px; }
.tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fef3c7;
    border: 1px solid #d97706;
    border-radius: 6px;
    font-weight: 700;
    margin: 2px;
    font-size: 15px;
}
.tile.clickable { cursor: pointer; }
.tile.clickable:hover { background: #fde68a; }
.player-list { list-style: none; padding: 0; }
.player-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
.player-list li:last-child { border-bottom: none; }
.auction-card { border: 1px solid #e2e0d8; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.badge.wait { background: #fef9c3; color: #854d0e; }
.badge.turn { background: #dcfce7; color: #166534; }
.badge.done { background: #e5e7eb; color: #374151; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #eee; font-size: 14px; }
.category-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
