.text-indent {
    text-indent: 2rem;
}
.container.rounded-5{
    border-radius: 2.0rem!important;
}
.counter-box {
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    padding: 15px;
    width: 200px;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.counter-item {
    margin: 10px 0;
    font-size: 1rem;
}
.number {
    font-weight: bold;
    color: #ff5722;
}
.bg-purple{
    background-color: #6f42c1!important;
}
.bg-pink{
    background-color: rgb(255, 2, 175)!important;
}
.bg-red{
    background-color: rgb(255, 26, 10)!important;
}
.bg-yellow{
    background-color: rgb(241, 233, 5)!important;
}
.bg-green{
    background-color: rgb(3, 228, 56)!important;
}
.bg-blue{
    background-color: rgb(7, 103, 237)!important;
}
.fate{
    max-width: 300px;
}
.BirthInfo{
    max-width: 300px;
}
.fate .table>:not(caption)>*>* {
    background-color: transparent!important;
}
.btn{
    font-size: 1rem!important;
}
.rolldate-container .rolldate-mask{
    z-index: 1800!important;
}
.rolldate-container .rolldate-panel {
    z-index: 1805!important;
}
.navbar input.form-control{
    max-width: 115px!important;
}
#MatchPieChart{
    width:240px;
    height:240px;
    max-width:240px!important;
    max-height:240px!important;
}
/* 💡 自訂共用圖例的 CSS 樣式 */
.custom-legend-container {
    background: #fff;
    padding: 15px;
    display: flex;
    justify-content: start;
    gap: 6px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    user-select: none;
    transition: opacity 0.2s;
    font-weight: 600;
}
.legend-color-box {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 3px;
}
/* 被隱藏時的淡出樣式 */
.legend-item.hidden {
    text-decoration: line-through;
    opacity: 0.4;
}
.text-bg-purple {
    color: #fff!important;
    background-color: #6f42c1!important;
}
@media (min-width: 1024px) {
    /*
    .compass{
        max-width: 50%;
        height: auto;
    }
    */
    .compass img {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .compass{
        max-width: 100%;
    }
    .compass img {
        max-width: 100%;
    }
    /*
    canvas#InnateVirtue {
        min-height: 400px!important;
        max-height: 500px;
    }
    */
}