    html,
    body {
        opacity: 1;
        transition: opacity 240ms ease;
    }
    html.lang-switching,
    body.lang-switching {
        opacity: 0.92;
    }
    .lang-switcher-wrap {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }
    .lang-switcher-wrap button {
        width: 34px;
        height: 26px;
        padding: 3px !important;
        border-radius: 6px;
        box-sizing: border-box;
    }
    .lang-switcher-wrap button span {
        width: 24px;
        height: 16px;
    }
    .master-balance-float {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 9999;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--theme-panel, rgba(255, 255, 255, 0.9));
        color: var(--theme-text, #111);
        border: 1px solid var(--theme-line, rgba(0, 0, 0, 0.12));
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
        font-weight: 700;
        font-size: 13px;
        pointer-events: none;
    }
    .master-balance-coin {
        width: 20px;
        height: 20px;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
        background: transparent;
        position: relative;
        top: 0px;
    }
    @media (max-width: 520px) {
        .master-balance-float {
            top: 8px;
            right: 8px;
            padding: 3px 6px;
            font-size: 9px;
            gap: 4px;
            max-width: min(40vw, 130px);
            box-sizing: border-box;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .master-balance-value {
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .master-balance-coin {
            width: 14px;
            height: 14px;
        }
    }
    .admin-master-message-icons {
        display: none;
        align-items: center;
        gap: 6px;
        order: 1;
    }
    .review-notification-icons {
        display: none;
        align-items: center;
        gap: 6px;
        order: 2;
    }
    .admin-master-message-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        line-height: 1;
        position: relative;
        top: -7px;
    }
    .admin-master-message-icon {
        width: 32px;
        height: 32px;
        display: block;
        background: transparent;
    }
    .review-notification-icon-img {
        width: 32px;
        height: 32px;
        display: block;
        border-radius: 0;
        object-fit: contain;
    }
    .admin-master-message-modal {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
        z-index: 10050;
    }
    .admin-master-message-modal.is-open { display: flex; }
    .admin-master-message-panel {
        width: min(640px, 94vw);
        background: var(--theme-panel, #fff);
        color: var(--theme-text, #111);
        border: 1px solid var(--theme-line, #e2e2e2);
        border-radius: 14px;
        padding: 16px 18px 18px;
        position: relative;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
        max-height: min(82vh, 720px);
        overflow: auto;
    }
    .admin-master-message-close {
        position: absolute;
        top: 10px;
        right: 12px;
        border: 0;
        background: transparent;
        font-size: 22px;
        cursor: pointer;
        color: var(--theme-muted, #666);
        line-height: 1;
    }
    .admin-master-message-title {
        margin: 0 0 10px;
        font-size: 20px;
    }
    .admin-master-message-body {
        white-space: pre-wrap;
        line-height: 1.5;
        font-size: 15px;
    }
    .admin-master-message-media {
        margin-bottom: 12px;
        display: none;
        flex-direction: column;
        gap: 10px;
    }
    .admin-master-message-media img,
    .admin-master-message-media video {
        width: 100%;
        border-radius: 12px;
        border: 1px solid var(--theme-line, #e2e2e2);
        background: transparent;
        display: block;
        max-height: 420px;
        object-fit: contain;
    }
    .review-notification-meta,
    .review-notification-rating,
    .review-notification-comment,
    .review-notification-service,
    .review-notification-status {
        margin-top: 6px;
        font-size: 14px;
        color: var(--theme-text, #111);
    }
    .review-notification-stars {
        position: relative;
        display: inline-block;
        font-size: 14px;
        letter-spacing: 2px;
        line-height: 1;
        margin-left: 8px;
    }
    .review-notification-stars .stars-back {
        color: color-mix(in srgb, var(--theme-text, #111) 24%, transparent 76%);
    }
    .review-notification-stars .stars-front {
        position: absolute;
        inset: 0;
        color: #f5c542;
        width: var(--fill, 0%);
        overflow: hidden;
        white-space: nowrap;
    }
    .review-notification-comment {
        white-space: pre-wrap;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 8px;
        padding: 8px 10px;
        border: 1px solid var(--theme-line, #e2e2e2);
    }
    .review-notification-messages {
        margin-top: 8px;
        display: grid;
        gap: 6px;
        font-size: 13px;
    }
    .review-notification-message {
        padding: 6px 8px;
        border-radius: 8px;
        border: 1px solid var(--theme-line, #e2e2e2);
        background: rgba(0, 0, 0, 0.02);
    }
    .review-notification-message.is-admin {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.25);
    }
    .review-notification-actions {
        margin-top: 10px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .review-report-btn {
        border: 1px solid #f1c1c1;
        background: #ffeaea;
        color: #b91c1c;
        padding: 6px 12px;
        border-radius: 999px;
        font-weight: 600;
        cursor: pointer;
        width: auto !important;
        max-width: 100%;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .review-report-form {
        display: grid;
        gap: 10px;
        margin-top: 8px;
        width: 100%;
        justify-items: stretch;
    }
    .review-report-field {
        display: grid;
        gap: 4px;
        width: 100%;
        justify-self: stretch;
    }
    .review-report-field textarea,
    .review-report-field select:not(.theme-select-native) {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .review-report-field textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .review-report-field select:not(.theme-select-native) {
        display: block;
        min-width: 320px;
        width: 100% !important;
        max-width: 520px;
        justify-self: start;
        padding: 8px 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Note: this select is enhanced by the global theme-select styles/scripts. */
    #reviewReportReason:not(.theme-select-native) {
        white-space: nowrap !important;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 40px;
        line-height: 24px;
        min-width: 320px;
        width: 100% !important;
        max-width: 520px;
    }
    /* If the enhanced select is active, ensure options stretch full width */
    #reviewReportReasonWrap .theme-select-menu { align-items: stretch !important; }
    #reviewReportReasonWrap .theme-select-option { width: 100% !important; box-sizing: border-box; }
    #reviewReportReason option {
        white-space: nowrap;
    }
    .review-report-actions {
        display: flex;
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }
    .review-report-actions button[type="submit"] {
        width: auto !important;
        min-width: 160px;
        padding: 8px 14px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
