/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #a0efbd, #2bb363);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background: linear-gradient(to bottom, #a0d8ef, #2b7cb3);
    min-height: 100vh;
}

/* 头部样式 */
.header {
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(to right, #7fcdff, #92effd);
    border-radius: 10px;
    margin: 10px 15px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 24px;
    color: #ff3b57;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    font-size: 15px;
    color: #666;
    padding: 0 20px;
    line-height: 1.5;
}

/* 天气容器 */
.weather-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.weather-icon {
    font-size: 38px;
    margin-right: 12px;
    text-shadow: 1px 1px 5px rgba(255,255,255,0.5);
}

.weather-info {
    text-align: left;
}

.location-info {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.weather-details {
    font-size: 14px;
    color: #444;
}

.current-time {
    font-size: 13px;
    color: #555;
    margin-top: 2px;
    font-weight: 500;
}

/* 祝福容器 */
.blessing-container {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.5);
}

.daily-blessing {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    padding: 0 10px;
    transition: color 0.3s ease;
}

/* 多巴胺颜色类 */
.dopamine-pink {
    color: #ff6b9b;
}

.dopamine-purple {
    color: #9c5fff;
}

.dopamine-blue {
    color: #3d84ff;
}

.dopamine-teal {
    color: #00c4a7;
}

.dopamine-green {
    color: #2ac769;
}

.dopamine-yellow {
    color: #ffba08;
}

.dopamine-orange {
    color: #ff8540;
}

/* 商家信息卡片 */
.merchant-card {
    margin: 0 15px 15px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.merchant-info {
    display: flex;
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.merchant-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 10px;
    background-color: #f5f5f5;
}

.merchant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merchant-detail h2 {
    font-size: 16px;
    margin-bottom: 2px;
}

.location {
    font-size: 12px;
    color: #ff7b92;
    display: flex;
    align-items: center;
}

.location-icon {
    margin-right: 4px;
}

/* 星级评分区域 */
.rating-box {
    padding: 12px 15px;
    text-align: center;
    background-color: #fffbf0;
}

.stars {
    margin-bottom: 8px;
    font-size: 20px;
}

.stars span {
    margin: 0 2px;
    color: #ffc107;
}

.rating-text {
    color: #ffa117;
    font-size: 14px;
    font-weight: 500;
}

/* 信息提示区域 */
.info-box {
    display: flex;
    padding: 10px 12px;
    background-color: #e6f3fd;
    border-radius: 6px;
    margin: 0 15px 15px;
    align-items: center;
}

.info-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #2196F3;
}

.info-text {
    color: #006eff;
    font-size: 12px;
    line-height: 1.4;
}

/* 平台卡片 */
.platform-cards {
    margin-bottom: 20px;
    padding: 0 15px;
}

.platform-card {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    color: white;
}

.platform-card.douyin {
    background: linear-gradient(to right, #fe496c, #67bdfd);
}

.platform-card.meituan {
    background: linear-gradient(to right, #ff9800, #ff5722);
}

.platform-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.platform-icon img {
    max-width: 70%;
    max-height: 70%;
}

.platform-content {
    flex: 1;
}

.platform-content h3 {
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 600;
}

.platform-content p {
    font-size: 12px;
    opacity: 0.9;
}

.arrow-icon {
    font-size: 30px;
    font-weight: 300;
}

/* 评论区域 */
.comments-section {
    padding: 0 15px 30px;
}

.comments-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.title-left {
    display: flex;
    align-items: center;
}

.comment-icon {
    font-size: 20px;
    margin-right: 8px;
    color: #ff3b57;
}

.comments-section h2 {
    font-size: 16px;
    color: #333;
}

.refresh-btn-small {
    background-color: #2bb363;
    color: white;
    border: none;
    border-radius: 20px;
    height: 32px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.refresh-btn-small:active {
    transform: scale(0.95);
}

.refresh-icon {
    font-size: 18px;
    margin-right: 4px;
}

.refresh-text {
    font-size: 14px;
    font-weight: 500;
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-item {
    position: relative;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-text {
    flex: 1;
}

.copy-btn {
    background-color: #ff3b57;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
    margin-left: 10px;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #ff3b57;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 底部功能区域 */
.bottom-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-top: 20px;
}

.action-button {
    flex: 1;
    margin: 0 5px;
    padding: 12px 0;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: white;
}

.share-btn {
    background-color: #ff3b57;
}

.refresh-btn {
    background-color: #2bb363;
}

.action-button:active {
    transform: scale(0.98);
}

.button-icon {
    margin-right: 5px;
    font-size: 18px;
}

/* 版权说明 */
.copyright {
    text-align: center;
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-top: 10px;
} 

/* 手动复制弹窗样式 */
.manual-copy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    width: 85%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.copy-text {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    user-select: text;
    -webkit-user-select: text;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

#modal-close-btn {
    background-color: #ff3b57;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* 微信引导弹窗样式 */
.browser-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.browser-guide-modal .modal-content {
    text-align: center;
}

.browser-guide-modal h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

.browser-guide-modal p {
    color: #666;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.browser-guide-modal .modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.browser-guide-modal .modal-footer button {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    margin: 0 5px;
}

#copy-link-btn {
    background-color: #2bb363;
    color: white;
}

#modal-close-btn {
    background-color: #ff3b57;
    color: white;
} 