
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 20px;
    color: #333;
}

h2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.label {
    font-weight: bold;
    color: #555;
    margin-right: 5px;
}

.info-row {
    margin-bottom: 8px;
}

.result {
    background: #f9fafc;
    border-left: 4px solid #3498db;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.result h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #3498db;
}

.highlight {
    font-weight: bold;
    color: #27ae60;
}

.loss {
    font-weight: bold;
    color: #e74c3c;
}

.info-flex {
    display: flex;
    gap: 40px;          /* 左右間距 */
    justify-content: space-between;
}

.info-left, .info-right {
    flex: 1;            /* 平均分配空間 */
}

.info-detail {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-detail h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.card-container {
    display: flex;
    gap: 10px;
}

.poker-card {
    width: 60px;
    height: 90px;
    border: 1px solid #333;
    border-radius: 6px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.poker-card:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.poker-card.red {
    color: red;
}

.poker-card .center {
    font-size: 24px;
    line-height: 1;
}

.dice-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.dice {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 2px solid #ccc;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3), inset -2px -2px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    position: relative;
    transition: transform 0.2s;
}

.dice:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 4px 6px 12px rgba(0,0,0,0.4), inset -2px -2px 6px rgba(0,0,0,0.1);
}

.face {
    font-size: 60px;
    display: block;
    color: #193838;
}

.roulette-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.roulette-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.roulette-ball.red {
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #b30000);
}

.roulette-ball.black {
    background: radial-gradient(circle at 30% 30%, #666, #000);
}

.roulette-ball.green {
    background: radial-gradient(circle at 30% 30%, #66ff66, #006600);
}

.fsc-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.fsc-ball {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    position: relative;
    transition: transform 0.2s;
}

.fsc-ball:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 4px 6px 12px rgba(0,0,0,0.4), inset -2px -2px 6px rgba(0,0,0,0.1);
}

.fsc-red {
    color: #a62222;
    text-shadow: 1px 1px 2px #fff, -1px -1px 2px #600;
}

.fsc-green {
    color: #1f6b1f;
    text-shadow: 1px 1px 2px #fff, -1px -1px 2px #063;
}

.fsc-blue {
    color: #223ca6;
    text-shadow: 1px 1px 2px #fff, -1px -1px 2px #113;
}

.whitered-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.whitered-disc {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: transform 0.2s;
}

.whitered-disc:hover {
    transform: scale(1.1);
}

.whitered-disc.red {
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #b30000);
    border: 2px solid #800000;
    color: #333;
}

.whitered-disc.white {
    background: radial-gradient(circle at 30% 30%, #ffffff, #dddddd);
    border: 2px solid #aaa;
    color: #333;
}
