        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        body {
            background-color: #f5f5f5;
            padding: 20px;
            color: #333;
            background-image: linear-gradient(to bottom right, #f9f9f9, #e6e6e6);
        }
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }
        h1, h2, h3 {
            text-align: center;
            margin-bottom: 20px;
            color: #b71c1c;
        }
        h1 {
            font-size: 32px;
            padding-bottom: 10px;
            border-bottom: 2px solid #b71c1c;
            margin-bottom: 30px;
        }
        .section {
            margin-bottom: 30px;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 10px;
            background-color: #fff;
        }
        .player-setup, .game-control, .round-info, .player-info {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-bottom: 15px;
            gap: 15px;
        }
        .player, .wind-info, .player-score {
            width: 200px;
            margin: 10px;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            text-align: center;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }
        .player:hover, .wind-info:hover, .player-score:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        .dealer {
            background-color: #fff9c4;
            border: 2px solid #ffc107;
        }
        input, select, button {
            padding: 10px;
            margin: 8px 0;
            border: 1px solid #ccc;
            border-radius: 6px;
            width: 100%;
            font-size: 16px;
        }
        input:focus, select:focus {
            outline: none;
            border-color: #b71c1c;
            box-shadow: 0 0 5px rgba(183, 28, 28, 0.3);
        }
        button {
            background-color: #b71c1c;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
            font-weight: bold;
        }
        button:hover {
            background-color: #8e0000;
            transform: translateY(-2px);
        }
        .dice-result {
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background-color: #f0f0f0;
            border-radius: 10px;
        }
        .dice {
            display: inline-block;
            width: 60px;
            height: 60px;
            background: white;
            border: 2px solid #333;
            border-radius: 10px;
            margin: 0 8px;
            line-height: 60px;
            font-size: 28px;
            text-align: center;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        .winner-options, .discarder-options {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin: 15px 0;
        }
        .winner-option, .discarder-option {
            margin: 5px;
            padding: 8px 15px;
            background-color: #f0f0f0;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .winner-option:hover, .discarder-option:hover {
            background-color: #e0e0e0;
        }
        .winner-option.selected, .discarder-option.selected {
            background-color: #b71c1c;
            color: white;
        }
        input[type="radio"] {
            display: none;
        }
        .history {
            margin-top: 20px;
            overflow-x: auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: center;
        }
        th {
            background-color: #f2f2f2;
            position: sticky;
            top: 0;
        }
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        tr:hover {
            background-color: #f0f0f0;
        }
        .hidden {
            display: none;
        }
        .active-player {
            background-color: #e8f5e9;
        }
        .positive-score {
            color: #4caf50;
            font-weight: bold;
        }
        .negative-score {
            color: #f44336;
            font-weight: bold;
        }
        .win-type {
            display: flex;
            justify-content: center;
            margin: 15px 0;
            gap: 20px;
        }
        .win-type label {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        .win-type input[type="radio"] {
            margin-right: 5px;
        }
        .section-title {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        .section-title h2 {
            margin-bottom: 0;
            margin-right: 10px;
        }
        .help-icon {
            font-size: 20px;
            color: #b71c1c;
            cursor: pointer;
        }
        .multiplier-section {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 15px 0;
        }
        .multiplier-input {
            width: 80px !important;
        }
        .score-change {
            font-weight: bold;
        }
        .score-up::before {
            content: "↑";
            color: #4caf50;
            margin-right: 3px;
        }
        .score-down::before {
            content: "↓";
            color: #f44336;
            margin-right: 3px;
        }
        .rules-info {
            background-color: #e8f5e9;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            border-left: 4px solid #4caf50;
        }
        .player-name-display {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 10px;
            color: #333;
        }
        .delete-btn {
            background-color: #f44336;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .delete-btn:hover {
            background-color: #d32f2f;
        }
        @media (max-width: 1024px) {
            .container {
                overflow-x: auto;
            }
        }
        @media (max-width: 768px) {
            .player, .wind-info, .player-score {
                width: 100%;
            }
        }
