.mobile-game-comment {
    padding: 0 10px 16px;
    background: #fff;
}

.mobile-game-comment .comment-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    margin-bottom: 10px;
}

.mobile-game-comment .comment-title .comment-count {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.mobile-game-comment .comment-rate-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.mobile-game-comment .rate-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    background: #EA8101;
    border-radius: 4px;
    flex-shrink: 0;
}

.mobile-game-comment .rate-left .no-rating {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.mobile-game-comment .rate-left .num-value {
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    color: #fff;
}

.mobile-game-comment .rate-left .num-total {
    font-size: 10px;
    color: #fff;
    line-height: 14px;
}

.mobile-game-comment .rate-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-game-comment .rate-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-game-comment .rate-stars {
    display: flex;
    gap: 1px;
    width: 61px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.mobile-game-comment .rate-progress {
    flex: 1;
    height: 3px;
    background: #E4E8EC;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-game-comment .rate-progress-bar {
    height: 100%;
    background: #EA8101;
    border-radius: 8px;
    transition: width 0.3s ease;
}

.mobile-game-comment .write-comment-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #FAFBFB;
    border-radius: 4px;
    margin-bottom: 0;
    cursor: pointer;
}

.mobile-game-comment .write-comment-trigger span {
    font-size: 13px;
    color: #141A1E;
}

.mobile-game-comment .rating-stars {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 200px;
}

.mobile-game-comment .rating-star {
    cursor: pointer;
    transition: color 0.2s ease;
    color: #E4E8EC;
}

.mobile-game-comment .rating-star:hover,
.mobile-game-comment .rating-star.active {
    color: #EA8101 !important;
}

.mobile-game-comment .comment-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding-bottom: 10px;
}

.mobile-game-comment .comment-line {
    color: #E5E5E5;
    font-size: 14px;
    line-height: 22px;
}

.mobile-game-comment .comment-tabs-item {
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    line-height: 22px;
}

.mobile-game-comment .comment-tabs-item.comment-tabs-select {
    color: #333;
}

.mobile-game-comment .comment-tabs-item.comment-tabs-select::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #EA8101;
    border-radius: 2px;
}

.mobile-game-comment .comments-list {
    min-height: 100px;
}

.review-item {
    display: flex;
    gap: 8px;
    padding: 10px 0;
}

.review-item:first-child {
    padding-top: 0;
}

.review-item .review-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

.review-item .review-avatar img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.review-item .review-content {
    flex: 1;
    min-width: 0;
}

.review-item .review-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    min-height: 32px;
}

.review-item .user-nickname {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.review-item .review-text {
    font-size: 13px;
    color: #222;
    line-height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    word-break: break-word;
    text-align: justify;
    margin-left: -40px;
}

.review-item .review-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #999;
    margin-left: -40px;
}

.review-item .review-time {
    color: #999;
    font-size: 12px;
}

.review-item .text-button {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #999;
    font-size: 14px;
}

.review-item .text-button:active {
    opacity: 0.7;
}

.review-item .like-icon,
.review-item .vote-like-icon {
    color: #999;
}
.vote-like-icon {
    transform: rotate(180deg);
}

.review-item .like-fill,
.review-item .vote-like-fill {
    color: #EA8101 !important;
}

.review-item .dislike-btn {
    transform: rotate(180deg);
}

.review-item .dislike-btn .like-count {
    transform: rotate(-180deg);
}

.review-item .like-text,
.review-item .dislike-text {
    font-size: 14px;
    color: #999;
}

.review-item .like-icon-wrapper,
.review-item .dislike-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-item .dislike-icon-wrapper {
    /* transform: rotate(180deg); */
}

.review-item .dislike-icon-wrapper .like-count {
    /* transform: rotate(-180deg); */
}

.review-item .vote-reply {
    font-size: 12px;
}

.review-item .reply-section {
    margin-top: 10px;
    padding: 10px;
    background: #F7F7F7;
    border-radius: 8px;
    margin-left: -40px;
}

.review-item .reply-content-wrapper {
    display: flex;
    flex-direction: column;
}

.review-item .reply-pagination {
    margin-top: 8px;
}

.review-item .collapse-replies-inline {
    color: #EA8101;
    font-size: 12px;
    cursor: pointer;
}

.review-item .reply-input-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #EAEAEA;
}

.review-item .reply-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-item .reply-textarea {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-size: 14px;
    resize: none;
    outline: none;
}
/* 
.review-item .reply-textarea:focus {
    border-color: #EA8101;
} */

.review-item .reply-submit-btn {
    padding: 8px 16px;
    background: #EA8101;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.review-item .reply-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.review-item .reply-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reply-item {
    display: flex;
    gap: 10px;
}

.reply-item .reply-avatar {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

.reply-item .reply-avatar img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.reply-item .reply-content {
    flex: 1;
    min-width: 0;
}

.reply-item .reply-header {
    line-height: 21px;
    margin-bottom: 0;
}

.reply-item .reply-header > * {
    display: inline;
}

.reply-item .reply-ava {
    display: inline;
}

.reply-item .reply-ava .reply-nickname {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.reply-item .reply-ava .official-badge {
    display: inline;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 2px;
}

.reply-item .reply-text-desc {
    display: inline;
    font-size: 13px;
    color: #222;
    margin-left: 4px;
}

.reply-item .reply-other-users {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}

.reply-item .reply-text {
    display: inline;
    font-size: 13px;
    color: #222;
    line-height: 21px;
    word-break: break-word;
}

.reply-item .reply-user-info {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
}

.reply-item .reply-nickname {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.reply-item .official-badge {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.reply-item.official .reply-nickname {
    color: #EA8101;
}

.reply-item.official .reply-text {
    color: #EA8101;
}

.reply-item .reply-at-text {
    font-size: 13px;
    color: #222;
    margin-left: 4px;
}

.reply-item .reply-at-user {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}

.reply-item .reply-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.reply-item .reply-time {
    color: #999;
    font-size: 12px;
}

.reply-item .reply-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reply-item .text-button {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #999;
    font-size: 14px;
}

.reply-item .reply-button {
    color: #999;
    font-size: 12px;
}

.reply-item .like-text {
    font-size: 12px;
    color: #999;
}

.reply-item .like-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-item .show-more-replies {
    margin-top: 10px;
    font-size: 13px;
    color: #222;
    cursor: pointer;
    text-align: center;
}

.review-item .click-to-view {
    color: #EA8101;
    font-weight: 400;
}

.mobile-game-comment .comments-no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 0;
    margin-top: -34px;
    color: #999;
}

.mobile-game-comment .comments-no-data img {
    width: 120px;
    height: auto;
    margin-bottom: 8px;
    opacity: 0.6;
}

.mobile-game-comment .comments-no-data div {
    font-size: 14px;
}

.mobile-game-comment .hide,
.review-item .hide,
.reply-item.hide {
    display: none !important;
}

.mobile-comment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
}

.mobile-comment-modal.active {
    display: block;
}

.mobile-comment-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-comment-modal .modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

#write-comment-modal .modal-content,
#reply-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    right: auto;
    width: calc(100% - 40px);
    max-width: 355px;
    background: #fff;
    border-radius: 12px;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    animation: fadeInCenter 0.3s ease;
}

#write-comment-modal .modal-content {
    top: 40%;
}

@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-comment-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 12px 0 16px;
    border-bottom: 1px solid #F5F5F5;
    position: relative;
    border-bottom: 1px solid #F5F5F5;
    position: relative;
}

.mobile-comment-modal .modal-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.mobile-comment-modal .modal-close {
    position: static;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.mobile-comment-modal .modal-body {
    padding: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.mobile-comment-modal .modal-game-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.mobile-comment-modal .game-cover {
    width: 59px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.mobile-comment-modal .game-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mobile-comment-modal .rating-section {
    padding: 10px;
}

.mobile-comment-modal .rating-hint {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
}

.mobile-comment-modal .modal-rating-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mobile-comment-modal .modal-rating-star {
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    color: #E4E8EC;
}

.mobile-comment-modal .modal-rating-star.active {
    color: #EA8101 !important;
}

.mobile-comment-modal .modal-rating-star:active {
    transform: scale(1.1);
}

.mobile-comment-modal .textarea-section {
    padding: 0 10px 10px;
}

.mobile-comment-modal .modal-comment-textarea {
    width: 100%;
    height: 120px;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #B9BEC4;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    resize: none;
    box-sizing: border-box;
}

.mobile-comment-modal .modal-comment-textarea:focus {
    outline: none;
    border-color: #EA8101;
}

.mobile-comment-modal .modal-comment-textarea::placeholder {
    color: #999;
}

.mobile-comment-modal .submit-section {
    padding: 0 10px 10px;
}

.mobile-comment-modal .submit-btn-wrapper {
    padding: 0 24px;
}

.mobile-comment-modal .modal-submit-btn {
    width: 100%;
    height: 44px;
    background: #E5E5E5;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: not-allowed;
    transition: all 0.2s ease;
}

.mobile-comment-modal .modal-submit-btn:not(:disabled) {
    background: #EA8101;
    color: #fff;
    cursor: pointer;
}

.mobile-comment-modal .modal-submit-btn:not(:disabled):active {
    opacity: 0.9;
}

.mobile-comment-modal .modal-submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

#reply-modal .modal-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#reply-modal .reply-textarea {
    width: 100%;
    height: 120px;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #B9BEC4;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    resize: none;
    box-sizing: border-box;
    font-family: 'PingFang SC', sans-serif;
    line-height: 1.5;
}

#reply-modal .reply-textarea:focus {
    outline: none;
    border-color: #EA8101;
}

#reply-modal .reply-textarea::placeholder {
    color: #B9BEC4;
}

#reply-modal .reply-btn-wrapper {
    padding: 0 24px;
}

#reply-modal .reply-submit-btn {
    width: 100%;
    height: 44px;
    background: #E5E5E5;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: not-allowed;
    transition: all 0.2s ease;
    font-family: 'PingFang SC', sans-serif;
}

#reply-modal .reply-submit-btn:not(:disabled) {
    background: #EA8101;
    color: #fff;
    cursor: pointer;
}

#reply-modal .reply-submit-btn:not(:disabled):active {
    opacity: 0.9;
}

#more-replies-modal .modal-content {
    border-radius: 12px 12px 0 0;
    max-height: 85vh;
    animation: slideUp 0.3s ease;
}

#more-replies-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 12px 0 16px;
    border-bottom: 1px solid #F5F5F5;
    background: #fff;
    border-radius: 12px 12px 0 0;
}

#more-replies-modal .modal-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-align: left;
}

#more-replies-modal .modal-close {
    position: static;
    transform: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#more-replies-modal .modal-close svg {
    width: 12px;
    height: 12px;
}

.mobile-comment-modal .more-replies-content {
    max-height: calc(85vh - 48px);
    overflow-y: auto;
}

.mobile-comment-modal .more-replies-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
}

.mobile-comment-modal .more-replies-list .reply-item {
    display: flex;
    gap: 10px;
    padding: 0;
    border-bottom: none;
    align-items: flex-start;
}

.mobile-comment-modal .more-replies-list .reply-item + .reply-item {
    margin-top: 10px;
}

.mobile-comment-modal .more-replies-list .reply-item:last-child {
    border-bottom: none;
}

.mobile-comment-modal .more-replies-list .reply-item.hide {
    display: flex !important;
}

.mobile-comment-modal .more-replies-list .reply-avatar {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mobile-comment-modal .more-replies-list .reply-avatar img {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    object-fit: cover;
}

.mobile-comment-modal .more-replies-list .reply-content {
    flex: 1;
    min-width: 0;
}

.mobile-comment-modal .more-replies-list .reply-header {
    line-height: 21px;
    margin-bottom: 0;
    display: block;
}

.mobile-comment-modal .more-replies-list .reply-header > * {
    display: inline;
}

.mobile-comment-modal .more-replies-list .reply-ava {
    display: inline;
}

.mobile-comment-modal .more-replies-list .reply-ava .reply-nickname {
    display: inline;
}

.mobile-comment-modal .more-replies-list .reply-ava .official-badge {
    display: inline;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 2px;
}

.mobile-comment-modal .more-replies-list .reply-text-desc {
    display: inline;
    font-size: 13px;
    color: #222;
    margin-left: 4px;
}

.mobile-comment-modal .more-replies-list .reply-other-users {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}

.mobile-comment-modal .more-replies-list .reply-text {
    display: inline;
    margin-left: 4px;
}

.mobile-comment-modal .more-replies-list .reply-nickname {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.mobile-comment-modal .more-replies-list .reply-item.official .reply-nickname {
    color: #EA8101;
}

.mobile-comment-modal .more-replies-list .reply-item.official .reply-text {
    color: #EA8101;
}

.mobile-comment-modal .more-replies-list .reply-at-text {
    font-size: 13px;
    color: #222;
    margin-left: 4px;
}

.mobile-comment-modal .more-replies-list .reply-at-user {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}

.mobile-comment-modal .more-replies-list .reply-text {
    font-size: 13px;
    color: #222;
    line-height: 21px;
    word-break: break-word;
    display: inline;
}

.mobile-comment-modal .more-replies-list .reply-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.mobile-comment-modal .more-replies-list .reply-time {
    font-size: 12px;
    color: #999;
}

.mobile-comment-modal .more-replies-list .reply-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-comment-modal .more-replies-list .text-button {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.mobile-comment-modal .more-replies-list .text-button svg {
    width: 16px;
    height: 16px;
}

.mobile-comment-modal .more-replies-list .like-count {
    font-size: 14px;
    color: #999;
}

.mobile-comment-modal .more-replies-list .like-text {
    font-size: 12px;
    color: #999;
}

.mobile-comment-modal .more-replies-list .like-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-comment-modal .loading-text,
.mobile-comment-modal .empty-text,
.mobile-comment-modal .error-text {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

body.modal-open {
    overflow: hidden;
}

.mobile-game-comment .mobile-pagination-container {
    padding-top: 20px;
}
