/**
 * 收藏和评分功能样式
 * 基于网站黑色主题和毛玻璃效果
 */

/* ==========================================================================
   收藏功能样式
   ========================================================================== */

.favorite-btn {
    @apply inline-flex items-center gap-2 px-3 py-2 rounded-full text-sm transition-all duration-300;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.favorite-btn.favorited {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.favorite-btn.favorited:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
}

.favorite-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.favorite-icon {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.favorite-btn:hover .favorite-icon {
    transform: scale(1.1);
}

.favorite-count {
    font-size: 0.9em;
    opacity: 0.8;
    margin-left: 4px;
}

/* 收藏按钮心跳动画 */
.favorite-icon.animate-heartbeat {
    animation: heartbeat 0.6s ease-in-out;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.3); }
    40% { transform: scale(1.1); }
    60% { transform: scale(1.25); }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 收藏粒子效果 */
.favorite-particle {
    position: fixed;
    pointer-events: none;
    user-select: none;
    animation: particleFade 0.8s ease-out forwards;
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg);
    }
}

/* 收藏列表样式 */
.favorites-list {
    min-height: 200px;
}

.favorite-item {
    transition: all 0.3s ease;
    position: relative;
}

.favorite-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.favorite-item img {
    transition: transform 0.3s ease;
}

.favorite-item:hover img {
    transform: scale(1.05);
}

.remove-favorite {
    transition: all 0.3s ease;
}

.remove-favorite:hover {
    color: #ff6b6b !important;
    transform: scale(1.05);
}

/* ==========================================================================
   评分功能样式
   ========================================================================== */

.rating-component {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.rating-form h4 {
    margin-bottom: 16px;
    font-size: 1.1em;
    font-weight: 500;
    opacity: 0.9;
}

/* 星级评分样式 */
.star-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    cursor: pointer;
}

.star-rating .star {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #fbbf24;
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.star-rating .star.filled {
    color: #f59e0b;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.star-rating .star.animate-bounce {
    animation: starBounce 0.6s ease-in-out;
}

@keyframes starBounce {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.3) rotate(15deg); }
}

/* 星级闪烁效果 */
.star-sparkle {
    animation: sparkle 0.6s ease-out forwards;
}

@keyframes sparkle {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.5);
    }
}

/* 评分数字显示 */
.rating-number-display {
    margin-bottom: 16px;
    font-size: 1.2em;
    font-weight: 600;
}

.current-rating {
    transition: color 0.3s ease;
}

/* 评价文本框 */
.rating-review {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: white;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.rating-review:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.rating-review::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* 评分操作按钮 */
.rating-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.submit-rating-btn,
.update-rating-btn {
    @apply px-6 py-2 rounded-full text-sm font-medium transition-all duration-300;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    position: relative;
    overflow: hidden;
}

.submit-rating-btn:hover,
.update-rating-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.submit-rating-btn:active,
.update-rating-btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.03);
}

.submit-rating-btn.loading,
.update-rating-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.03);
}

/* 成功状态的按钮样式 */
.submit-rating-btn.success,
.update-rating-btn.success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.submit-rating-btn.success:hover,
.update-rating-btn.success:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

/* 评分显示样式 */
.rating-display {
    margin-bottom: 24px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 2em;
    font-weight: 700;
    color: #f59e0b;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.rating-stars .star.filled {
    color: #f59e0b;
}

.rating-count {
    font-size: 0.9em;
    opacity: 0.6;
}

/* 评分分布图 */
.rating-distribution {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.rating-bar {
    margin-bottom: 6px;
}

.rating-bar:last-child {
    margin-bottom: 0;
}

/* 查看所有评分按钮 */
.view-all-ratings {
    @apply text-sm opacity-60 hover:opacity-100 transition-opacity duration-300;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   评分模态框样式
   ========================================================================== */

.ratings-modal {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ratings-modal.show {
    opacity: 1;
}

.ratings-modal .glass {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.ratings-sort {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.ratings-sort:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.ratings-sort option {
    background: #1a1a1a;
    color: white;
}

/* 评分列表项 */
.ratings-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ratings-list::-webkit-scrollbar {
    width: 6px;
}

.ratings-list::-webkit-scrollbar-track {
    background: transparent;
}

.ratings-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.ratings-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rating-item {
    transition: all 0.3s ease;
}

.rating-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

/* 加载更多按钮 */
.load-more-favorites,
.load-more-ratings {
    @apply px-6 py-2 rounded-full text-sm transition-all duration-300;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.load-more-favorites:hover,
.load-more-ratings:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.load-more-favorites.loading,
.load-more-ratings.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ==========================================================================
   登录提示样式
   ========================================================================== */

.rating-login-required {
    @apply text-center py-8 opacity-60;
    font-size: 0.9em;
}

/* ==========================================================================
   消息提示样式
   ========================================================================== */

.ninan-toast {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ninan-toast-success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.ninan-toast-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.ninan-toast-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.ninan-toast-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

@media (max-width: 768px) {
    .rating-component {
        padding: 16px;
        margin-top: 16px;
    }
    
    .star-rating .star {
        font-size: 20px;
    }
    
    .rating-number {
        font-size: 1.5em;
    }
    
    .rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ratings-modal .glass {
        margin: 16px;
        padding: 20px;
        max-height: calc(100vh - 32px);
    }
    
    .favorite-btn {
        padding: 8px 12px;
        font-size: 0.875rem;
    }
    
    .rating-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .submit-rating-btn,
    .update-rating-btn,
    .cancel-rating-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .star-rating {
        gap: 2px;
    }
    
    .star-rating .star {
        font-size: 18px;
    }
    
    .rating-review {
        min-height: 60px;
    }
    
    .favorite-item {
        padding: 12px;
    }
    
    .favorite-item .flex {
        gap: 12px;
    }
    
    .favorite-item img {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   特殊动画效果
   ========================================================================== */

/* 收藏成功的脉冲效果 */
.rating-component.animate-pulse {
    animation: ratingPulse 1s ease-in-out;
}

@keyframes ratingPulse {
    0%, 100% { 
        background: rgba(255, 255, 255, 0.02); 
        border-color: rgba(255, 255, 255, 0.05);
    }
    50% { 
        background: rgba(34, 197, 94, 0.1); 
        border-color: rgba(34, 197, 94, 0.3);
    }
}

/* 流光边框效果 */
.flow-border {
    position: relative;
    overflow: hidden;
}

.flow-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(0deg);
    animation: flow 3s linear infinite;
}

@keyframes flow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 毛玻璃效果工具类 */
.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-heavy {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 标签样式 */
.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   评分分布展开功能样式
   ========================================================================== */

/* 评分条基础样式优化 */
.rating-bar {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-right: 40px; /* 为展开按钮留空间 */
}

.rating-bar:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(2px);
}

/* 展开按钮 */
.rating-bar-expand-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.rating-bar:hover .rating-bar-expand-btn {
    opacity: 1;
}

.rating-bar-expand-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.rating-bar-expand-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.rating-bar.expanded .rating-bar-expand-btn svg {
    transform: rotate(180deg);
}

/* 评价列表容器 */
.rating-reviews-container {
    margin-left: 40px; /* 与评分条对齐 */
    margin-top: 8px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rating-reviews-container.show {
    max-height: 500px;
    opacity: 1;
}

/* 评价列表头部 */
.rating-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.rating-score {
    font-weight: 500;
    color: #fbbf24;
}

.reviews-count {
    font-size: 12px;
    opacity: 0.6;
}

.reviews-close-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.reviews-close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(90deg);
}

/* 评价列表 */
.rating-reviews-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
}

/* 自定义滚动条 */
.rating-reviews-list.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.rating-reviews-list.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.rating-reviews-list.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.rating-reviews-list.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.rating-reviews-list.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 评价列表项 */
.rating-review-item {
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rating-review-item.show {
    opacity: 1;
    transform: translateY(0);
}

.rating-review-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.rating-review-item:last-child {
    margin-bottom: 0;
}

/* 用户信息区域 */
.review-user-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.review-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.rating-review-item:hover .review-user-avatar {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.review-user-details {
    flex: 1;
    min-width: 0;
}

.review-user-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.review-stars {
    color: #fbbf24;
    letter-spacing: 1px;
}

.review-time {
    opacity: 0.5;
}

.updated-badge {
    color: #60a5fa;
    opacity: 0.8;
}

/* 评价内容 */
.review-content {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border-left: 2px solid rgba(251, 191, 36, 0.3);
}

/* 加载状态 */
.reviews-loading,
.reviews-empty,
.reviews-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    opacity: 0.6;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fbbf24;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.reviews-loading p {
    margin-top: 12px;
    font-size: 14px;
}

/* 加载更多指示器 */
.reviews-loading-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 12px;
    opacity: 0.6;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fbbf24;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 空状态 */
.reviews-empty p {
    font-size: 14px;
}

/* 错误状态 */
.reviews-error p {
    color: #ef4444;
    font-size: 14px;
}

/* 展开动画状态 */
.rating-bar.expanding {
    background: rgba(255, 255, 255, 0.05);
}

.rating-bar.expanded {
    background: rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(251, 191, 36, 0.5);
}

.rating-bar.collapsing {
    opacity: 0.5;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

@media (max-width: 768px) {
    .rating-reviews-container {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .rating-reviews-list {
        max-height: 300px;
        padding: 8px;
    }
    
    .rating-review-item {
        padding: 10px;
    }
    
    .review-user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .review-user-info {
        gap: 10px;
    }
    
    .review-user-name {
        font-size: 13px;
    }
    
    .review-meta {
        font-size: 11px;
    }
    
    .review-content {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .rating-bar {
        padding-right: 36px;
    }
    
    .rating-bar-expand-btn {
        width: 28px;
        height: 28px;
    }
}

/* 暗色主题优化 */
@media (prefers-color-scheme: dark) {
    .rating-reviews-container {
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .rating-reviews-header {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .rating-review-item {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .review-content {
        background: rgba(0, 0, 0, 0.2);
    }
}

/* 细节优化 - 微交互 */
.rating-bar-expand-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rating-bar-expand-btn:hover::before {
    opacity: 1;
}

/* 评价项淡入动画变体 */
.rating-review-item:nth-child(1) { transition-delay: 0.05s; }
.rating-review-item:nth-child(2) { transition-delay: 0.1s; }
.rating-review-item:nth-child(3) { transition-delay: 0.15s; }
.rating-review-item:nth-child(4) { transition-delay: 0.2s; }
.rating-review-item:nth-child(5) { transition-delay: 0.25s; }