body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
}

.container {
    width: 100%;
    background: #3282c5;
}
.auto-container {
    max-width: 320px;
    margin: 0 auto;
}
.character-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.stats-header {
    position: relative;
    width: 100%;
    height: 100px;
    background: #ffffff;
    border-radius: 100%;
}
.stats-content {
    position: absolute;
    top: 370px;
    width: 100%;
    height: 520px;
    background: #ffffff;
}
.stats-title {
    margin-bottom: 30px;
    color: #3282c5;
}
.stats-title .text {
    font-size: 20px;
    font-weight: bold;
}
.stats-title .subtext {
    display: flex;
    justify-content: right;
    align-items: center;
    font-size: 12px;
}
.stats-title .value {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    font-weight: bold;
}
.stats-btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}
.btn {
    background-color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 15px;
    width: 30%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #3282c5;
    font-weight: bold;
}
.btn.active {
    background-color: #3282c5;
    color: #ffffff;
}
#chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
}

/* 泡 */
.bubble {
    position: absolute;
    bottom: -50px;
    background-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
    animation: bubble 8s linear infinite;
}
.bubble::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(0.25) translate(-70%, -70%);
    background: radial-gradient(rgba(255,255,255, 0.5), transparent);
    border-radius: 50%;
}
@keyframes bubble {
    0% {
        transform: translatY(0);
        opacity: 1;
    }
    99% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}
