/* shop-links 按钮并排显示，移动端一行，字体略小 */
.shop-action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #404040;
}
.shop-action-buttons .btn {
    font-size: 0.88rem;
    padding: 6px 8px;
    flex: 1;
    min-width: 100px;
    margin: 0;
    text-align: center;
}

.shop-action-buttons > .btn,
.shop-action-buttons > .ranking-jump-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    line-height: 1.2;
    gap: 6px;
}

.shop-action-buttons .btn-official-site {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: #fff;
    border: none;
}

.shop-action-buttons .btn-official-site:hover {
    background: var(--primary-green-dark);
}

.shop-action-buttons .ranking-jump-link {
    flex: 1;
    min-width: 100px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.shop-action-buttons .ranking-jump-link.is-sidebar-style {
    font-size: 0.9rem;
    padding: 6px 6px;
}

/* 気に入る（收藏）按钮样式 */
#favoriteBtn {
    background-color: #404040;
    color: #d5e0e6;
    border: 1px solid #606060;
    transition: all 0.3s ease;
}

#favoriteBtn:hover {
    background-color: #505050;
    border-color: #ffd700;
}

#favoriteBtn.favorited {
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    color: #fff;
    border-color: #ff8a00;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 138, 0, 0.3);
}

#favoriteBtn.favorited:hover {
    background: linear-gradient(135deg, #ffb000, #ff8a00);
    border-color: #ffb000;
}

@media (max-width: 600px) {
    .shop-action-buttons {
        flex-direction: column;
    }
    .shop-action-buttons .btn {
        font-size: 0.95rem;
        padding: 10px 12px;
        width: 100%;
    }

    .shop-action-buttons .ranking-jump-link {
        width: 100%;
    }
}

.mobile-sticky-actions {
    display: none;
}

@media (min-width: 701px) {
    .mobile-sticky-actions {
        display: none !important;
    }
}

@media (max-width: 700px) {
    body.page-shop-detail {
        padding-bottom: 88px;
    }

    .shop-action-buttons {
        display: none !important;
    }

    .mobile-sticky-actions {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(12, 12, 14, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(8px);
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .mobile-sticky-actions.is-hidden {
        transform: translateY(120%);
        opacity: 0;
        pointer-events: none;
    }

    .mobile-sticky-action-btn {
        flex: 1 1 0;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid transparent;
        text-decoration: none;
        font-size: 13px;
        cursor: pointer;
        color: #fff;
    }

    .mobile-sticky-action-btn.favorite {
        flex: 0 0 44px;
        min-width: 44px;
        padding: 0;
        gap: 0;
        background: #3f3f46;
        border-color: #5e5e66;
    }

    .mobile-sticky-action-btn.ranking span,
    .mobile-sticky-action-btn.call span {
        white-space: nowrap;
    }

    .mobile-sticky-action-btn.favorite.favorited {
        background: linear-gradient(135deg, #ff8a00, #ff6b00);
        border-color: #ff8a00;
    }

    .mobile-sticky-action-btn.rate {
        flex: 0 0 44px;
        min-width: 44px;
        padding: 0;
        gap: 0;
        background: #005ec4;
        border-color: #1f78d7;
    }

    .mobile-sticky-action-btn.ranking {
        height: 44px;
        padding: 0 8px;
        border-radius: 10px;
    }

    .mobile-sticky-action-btn.call {
        background: #1f6d35;
        border-color: #2a8242;
    }

    .mobile-sticky-action-btn.call.disabled,
    .mobile-sticky-action-btn:disabled {
        background: #4b5563;
        border-color: #4b5563;
        opacity: 0.75;
        cursor: not-allowed;
    }
}

/* 店铺详情页面样式 */
.shop-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: #cfd6db;
}

.breadcrumb li:not(:last-child)::after {
    content: " > ";
    margin: 0 8px;
    color: #9fb0be;
}

.breadcrumb a {
    color: #6fb8ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 链接样式 - 让用户知道可以点击 */
.info-list a {
    color: #6fb8ff;
  text-decoration: none;
  font-weight: 500;
}

.info-list a:hover {
  text-decoration: underline;
    color: #9ad0ff;
}

.info-list a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* 店铺标题区域 */
.shop-title-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #404040;
}

.shop-title-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.shop-title-left {
    flex: 1;
    min-width: 0;
}

.shop-title-section h1 {
    font-size: 1.4em;
    color: #fff;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.shop-name-header {
    display: block;
    margin-bottom: 4px;
}

.shop-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.shop-rating-row .social-share.share-shop-inline {
    margin: 0;
    padding-top: 0;
    border-top: none;
}

.shop-rating-row .social-share.share-shop-inline .social-share-links {
    gap: 8px;
}

.shop-rating-row .social-share.share-shop-inline .share-link {
    width: 32px;
    height: 32px;
}

.shop-rating-row .social-share.share-shop-inline .share-link i,
.shop-rating-row .social-share.share-shop-inline .share-x-text {
    font-size: 14px;
}

.shop-rating-row .shop-rating {
    margin-left: 0;
}

.shop-title-left .shop-badges {
    margin-top: 4px;
}

.shop-name-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
}

/* 星级评分样式 */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars .star {
    font-size: 1.0em;
    line-height: 1;
    color: #ddd;
    transition: color 0.2s ease;
}

.rating-stars .star.filled {
    color: #ffd700;
}

.rating-score {
    font-size: 0.9em;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
}

/* 评分区尺寸对齐 area 页面（更紧凑） */
.page-shop-detail .rating-display {
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.page-shop-detail .rating-display i.fa-star {
    font-size: 14px;
}

.page-shop-detail .shop-rating .rating-count {
    font-size: 13px;
}

.page-shop-detail .review-rating .star {
    font-size: 14px;
}

.page-shop-detail .rating-form .rating-item,
.page-shop-detail .rating-form .rating-comment {
    display: block;
    margin-bottom: 8px;
}

.page-shop-detail .rating-form
.page-shop-detail .rating-comment label {
    font-size: 13px;
    line-height: 1.1;
    margin-bottom: 4px;
    white-space: normal;
    width: 90px;
}

.page-shop-detail .rating-form .rating-stars {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    font-size: 15px;
    line-height: 1;
    margin-bottom: 4px;
}

.page-shop-detail .rating-form .rating-stars .star {
    margin-right: 0;
}

.page-shop-detail .rating-buttons {
    align-items: stretch;
}

.shop-title-image {
    flex: 0 0 180px;
    width: 180px;
}

.shop-title-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.shop-title-image img:hover {
    transform: scale(1.05);
}

/* 店铺头部 - 移除，因为已整合到基本信息中 */
/* .shop-header {
    background: #2b2b2b;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #191919;
    margin-bottom: 30px;
    color: #e6eef2;
}

.shop-header h1 {
    font-size: 2.5em;
    color: #fff;
    margin: 0 0 20px 0;
    font-weight: bold;
} */

/* 主内容区域 */
.shop-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.shop-info {
    flex: 1;
    min-width: 0;
        width: 100%;
}

.page-shop-detail .sidebar {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 基本信息 */
.info-section {
    background: #2b2b2b;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #191919;
    margin-bottom: 30px;
    color: #d5e0e6;
}

.info-section h2 {
    font-size: 1.5em;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc3545;
}

/* 店舗画像 */
.shop-image {
    text-align: center;
}

.shop-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.info-list {
    margin: 0;
}

.info-list dt {
    font-weight: bold;
    color: #cfd6db;
    margin-top: 15px;
    margin-bottom: 5px;
}

.info-list dt:first-child {
    margin-top: 0;
}

.info-list dd {
    margin: 0 0 0 20px;
    color: #d5e0e6;
}

/* 按钮样式 */
.shop-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-block;
    /* 移除默认 padding，交由 .shop-link-btn 控制 */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease; 
    min-width: 120px;
    font-size: 1rem;
    margin: 0;
}

.btn-primary {
    background: #005ec4;
    color: #fff;
}

.btn-primary:hover {
    background: #004fa5;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

/* 料金表 */
.price-table {
    background: #2b2b2b;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    line-height: 1.6;
    color: #d5e0e6;
}

/* 店铺说明 */
.shop-description {
    line-height: 1.8;
    color: #d5e0e6;
}

/* 右侧区块基础容器 */
.page-shop-detail .sidebar .tag-entry-section,
.page-shop-detail .sidebar .new-list,
.rating-section,
.reviews-section {
    background: #2b2b2b;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #191919;
    color: #d5e0e6;
}

.page-shop-detail .sidebar .tag-entry-section {
    margin: 0;
}

/* area 页面同款 sidebar 新着店舗样式 */
.page-shop-detail .sidebar .new-list {
  background: #2c3e50;
  border: 1px solid #6ef9a066;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-shop-detail .sidebar .new-list h2 {
  margin-top: 0;
    font-size: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid #6ef9a066;
  color: #fff;
}

.page-shop-detail .sidebar .new-list h2 i {
    color: #40f312;
    margin-right: 6px;
}

.page-shop-detail .sidebar .tag-entry-title i {
    color: #f6c343;
}

.page-shop-detail .sidebar .new-list .new-shop-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto 1fr;
    gap: 4px 6px;
    background: #34495e;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #2c3e50;
    box-sizing: border-box;
    min-height: 64px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}

.page-shop-detail .sidebar .new-list .new-shop-card:hover {
    background: #4a6741;
    border-color: #2c3e50;
}

.page-shop-detail .sidebar .new-list .new-shop-card img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.page-shop-detail .sidebar .new-list .new-shop-card .new-shop-info {
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.page-shop-detail .sidebar .new-list .new-shop-card .shop-name {
    margin-left: 13px;
    line-height: 1.2;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 0;
}

.page-shop-detail .sidebar .new-list .new-shop-card .rating-display,
.page-shop-detail .sidebar .new-list .new-shop-card .business-time,
.page-shop-detail .sidebar .new-list .new-shop-card .shop-date {
    color: #bdc3c7;
    font-size: 11px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 13px;
    margin-bottom: 0;
}

.page-shop-detail .sidebar .new-list .new-shop-card .rating-display i,
.page-shop-detail .sidebar .new-list .new-shop-card .business-time i {
    color: #f39c12;
    margin-right: 3px;
    width: 8px;
}

.page-shop-detail .sidebar .new-list .new-shop-card .shop-date i {
    color: #8ab4f8;
    margin-right: 3px;
    width: 8px;
}

/* 兼容旧 class（避免历史DOM残留时样式丢失） */
.station-new-shops .new-shop-card {
    text-decoration: none;
    display: block;
}

.station-new-shops .new-shop-info .shop-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 4px;
}

.station-new-shops .new-shop-info .rating-display {
    font-size: 13px;
    margin-bottom: 4px;
}

.station-new-shops .new-shop-info .business-time {
    font-size: 12px;
    color: #cfd6db;
}

.station-new-shops .new-shop-info .shop-date {
    font-size: 12px;
    color: #cfd6db;
}

.station-new-shops .new-shop-info .shop-date i {
    color: #8ab4f8;
    margin-right: 4px;
}

/* 桌面端：右侧新着店舗样式与 area 页面侧栏保持一致 */
@media (min-width: 1009px) {
    .station-new-shops {
        background: #2c3e50;
        border: 1px solid #6ef9a066;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .station-new-shops h3 {
        margin-top: 0;
        font-size: 16px;
        padding-bottom: 15px;
        border-bottom: 1px solid #6ef9a066;
        color: #fff;
    }

    .station-new-shop-list {
        gap: 10px;
    }

    .station-new-shops .new-shop-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto 1fr;
        gap: 4px 6px;
        background: #34495e;
        padding: 8px;
        border-radius: 6px;
        border: 1px solid #2c3e50;
        box-sizing: border-box;
        min-height: 64px;
        transition: background 0.3s ease;
    }

    .station-new-shops .new-shop-card:hover {
        background: #4a6741;
        border-color: #2c3e50;
        transform: none;
    }

    .station-new-shops .new-shop-thumb {
        width: 48px;
        height: 48px;
        border-radius: 4px;
        overflow: hidden;
        background: transparent;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .station-new-shops .new-shop-thumb img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 4px;
        display: block;
    }

    .station-new-shops .new-shop-card .new-shop-info {
        display: grid;
        grid-template-rows: auto auto auto auto;
        gap: 2px;
        min-width: 0;
        overflow: hidden;
        padding: 0;
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .station-new-shops .new-shop-info .shop-name {
        margin-left: 13px;
        line-height: 1.2;
        font-size: 13px;
        font-weight: 600;
        color: #fff;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 0;
    }

    .station-new-shops .new-shop-info .rating-display,
    .station-new-shops .new-shop-info .business-time,
    .station-new-shops .new-shop-info .shop-date {
        color: #bdc3c7;
        font-size: 11px;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-left: 13px;
        margin-bottom: 0;
    }

    .station-new-shops .new-shop-info .rating-display i,
    .station-new-shops .new-shop-info .business-time i {
        color: #f39c12;
        margin-right: 3px;
        width: 8px;
    }

    .station-new-shops .new-shop-info .shop-date i {
        color: #8ab4f8;
        margin-right: 3px;
        width: 8px;
    }
}

.gallery-section,
.rating-section,
.reviews-section {
    background: #2b2b2b;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #191919;
    color: #d5e0e6;
}

/* 照片画廊 */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* 用户评论 */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #2b2b2b;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    color: #d5e0e6;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-date {
    color: #666;
    font-size: 0.9em;
}

.review-comment {
    line-height: 1.6;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 1008px) {
    .shop-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-shop-detail .sidebar {
        max-width: none;
        width: 100%;
    }
    
    .shop-title-section h1 {
        font-size: 1.2em;
    }
    
    .shop-title-header {
        display: grid;
        grid-template-columns: 1fr 140px;
        gap: 12px;
        align-items: start;
    }

    .shop-title-image {
        width: 140px;
        flex: none;
    }

    .shop-title-image img {
        height: 188px;
    }
    
    .shop-name-rating {
        font-size: 12px;
    }
    
    /* 移除shop-header的响应式样式 */
    /* .shop-header {
        padding: 20px;
    }
    
    .shop-header h1 {
        font-size: 2em;
    } */
    
    .shop-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .shop-links .btn { 
        text-align: center;
    }
    
    .info-section,
    .gallery-section,
    .rating-section,
    .reviews-section,
    .page-shop-detail .sidebar .tag-entry-section,
    .page-shop-detail .sidebar .new-list,
    .station-new-shops {
        padding: 20px;
    }
    
    .shop-image img {
        max-width: 100%;
        border-radius: 6px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .rating-item {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .rating-label {
        min-width: 80px;
    }
    
    .rating-bar {
        flex: 1;
        min-height: 8px;
    }
    
    .rating-value {
        min-width: 30px;
        text-align: right;
    }
    
    .detailed-ratings {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .breadcrumb {
        font-size: 0.9em;
    }
    
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .photo-item img {
        height: 200px;
    }
    
    .photo-name {
        padding: 10px;
        font-size: 1em;
    }
    
    .modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .modal-girl-name {
        font-size: 1.3em;
    }
    
    .close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
}

/* 图片模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-content {
    position: relative;
    margin: 14px auto 12px;
    padding: 10px 8px 64px;
    width: min(96%, 620px);
    max-width: 600px;
    max-height: none;
    min-height: auto;
    left: auto;
    bottom: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.modal-mobile-actions {
    display: grid;
    grid-template-columns: 42px 1fr 1fr 42px;
    align-items: center;
    gap: 3px;
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(96%, 620px);
    z-index: 1003;
    margin-top: 0;
    padding: 3px;
    background: #000000;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.modal-action-btn {
    height: 42px;
    border-radius: 4px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 6px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}

.modal-action-btn span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-action-btn.favorite {
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    color: #333;
    padding: 0;
}

.modal-action-btn.favorite i {
    font-size: 12px;
    line-height: 1;
}

.modal-action-btn.favorite .favorite-label {
    font-size: 10px;
    line-height: 1.05;
}

.modal-action-btn.favorite.favorited {
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    border-color: #ff8a00;
    color: #fff;
}

.modal-action-btn.shop {
    background: #3f6385;
}

.modal-action-btn.call {
    background: #1f6d35;
}

.modal-action-btn.close {
    background: #596273;
    padding: 0;
}

.modal-action-btn.call.disabled,
.modal-action-btn:disabled {
    background: #9aa0ab;
    cursor: not-allowed;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 46vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-girl-name {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.close { 
    top: 15px;
    right: 25px;
    color: #fff; 
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 照片项目增强样式覆盖 */
.photo-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #2b2b2b;
    position: relative;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.photo-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 15px 10px 10px;
    font-weight: 500;
    text-align: center;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 照片信息叠加层（悬停时显示详细信息）*/
.photo-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    padding: 15px 10px 10px;
    text-align: center;
}

.photo-name {
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 4px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.photo-detail {
    font-size: 0.85em;
    color: #ddd;
    margin: 2px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* 模态框女孩信息样式 */
.modal-girl-info {
    margin-top: 10px;
    padding: 0 8px;
    flex: 0 0 auto;
    display: block;
    overflow: visible;
}

.girl-info-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #007bff;
}

.info-item.info-description {
    flex-direction: column;
    align-items: stretch;
}

.info-label {
    font-weight: 600;
    color: #007bff;
    min-width: 100px;
    flex-shrink: 0;
}

.info-value {
    color: #d5e0e6;
    line-height: 1.6;
}

.info-description .info-label {
    margin-bottom: 8px;
}

.info-description .info-value {
    padding-left: 0;
    white-space: pre-wrap;
}

@media (max-width: 700px) {
    .modal-action-btn {
        font-size: 10px;
    }
}

/* 模态框响应式样式 */

/* 新的顶部消息样式 */
.top-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 16px;
    font-weight: bold;
    animation: slideInRight 0.3s ease-out;
}

.top-message-success {
    background: #28a745;
    color: white;
}

.top-message-error {
    background: #dc3545;
    color: white;
}

.top-message i {
    margin-right: 8px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 500px) {
    .shop-title-header {
        grid-template-columns: 1fr;
    }

    .shop-title-image {
        width: 150px;
    }

    .shop-title-image img {
        height: 200px;
    }
}