﻿.rules-holder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rules-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 400px;
}

.rules-item {
    cursor: pointer;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 45px;
    border-style: solid;
    border-left: none;
    border-right: none;
    border-top: none;
    border-color: #b1acac;
    text-align: left;
    border-width: 0.1px;
}

.rules-header {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 8px;
}

.rules-title {
    flex: 1;
    text-align: left;
}

.rules-arrow {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
    font-family: monospace;
    font-size: 20px;
}

.rules-item.active .rules-arrow {
    transform: rotate(270deg);
}

.rules-content {
    padding: 10px;
}

mjx-container[jax="CHTML"][display="true"] {
    display: inline;
}
