.rating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: transparent;
}

.rating-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.rating-buttons {
    display: flex;
    justify-content: center;
}

.rating-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    position: relative;
    transition: all 0.2s ease;
}

.bgame-svg {
    display: block;
    width: 24px !important;
    height: 24px !important;
    fill: none;
}

.rating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
    background: #175e9b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    z-index: 10;
}

.rating-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -10px);
}

.rating-btn .rating-count {
    font-size: 16px !important;
    font-weight: 700;
    color: #ffffff !important;
}

.rating-btn[data-type="like"]:hover:not(:disabled) {
    background: transparent;
    color: #86efac !important;
}

.rating-btn[data-type="dislike"]:hover:not(:disabled) {
    background: transparent;
    color: #fca5a5 !important;
}

.rating-wrapper.voted-like .rating-btn[data-type="like"] {
    color: #86efac !important;
}

.rating-wrapper.voted-like .rating-btn[data-type="dislike"] {
    opacity: 0.6;
}

.rating-wrapper.voted-dislike .rating-btn[data-type="dislike"] {
    color: #fca5a5 !important;
}

.rating-wrapper.voted-dislike .rating-btn[data-type="like"] {
    opacity: 0.6;
}

.rating-btn:disabled {
    cursor: default;
}

.howto-title {
    margin-top: 0;
    margin-bottom: 16px;
}

.howto-content {
    font-size: 16px;
    line-height: 1.6;
}

.howto-step {
    margin: 0 0 8px 0;
}

/* Footer & Controls Label */
.howto-footer {
    /* display: flex; */
    width: 100%;
    align-items: center;
}

/* The Grey Control Badge */
.howto-badge {
    display: flex;
    align-items: center;
    /* font-size: 15px; */
    font-weight: 600;
    gap: 12px;
}

/* SVG Size Enforcement */
.control-icon {
    display: block;
    width: 36px;
    height: 48px;
    flex-shrink: 0;
}

h2.howto-controls-label {
    margin: 0;
}

/* Main Container */
.bgame-faq-container {
    max-width: 800px;
    margin: 2rem 0;
    font-family: inherit;
}

/* Individual FAQ Item */
.bgame-faq-container .faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease-in-out;
    overflow: hidden;
}

.bgame-faq-container .faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* The Question (Summary) */
.bgame-faq-container .faq-question {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    background-color: #f8fafc;
    list-style: none; /* Hides the default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    outline: none;
}

/* Hide the default webkit arrow (Safari/Chrome) */
.bgame-faq-container .faq-question::-webkit-details-marker {
    display: none;
}

/* Custom Plus Icon */
.bgame-faq-container .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #3b82f6;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* When the details is open, change background and animate the icon */
.bgame-faq-container .faq-item[open] .faq-question {
    border-bottom: 1px solid #e2e8f0;
    background-color: #f1f5f9;
}

.bgame-faq-container .faq-item[open] .faq-question::after {
    content: '−'; /* Minus symbol */
    transform: rotate(180deg);
}

/* The Answer Text */
.bgame-faq-container .faq-answer {
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    background-color: #ffffff;
    border-left: 3px solid #3b82f6;
}