* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 950px;
    margin: 0 auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    width: 100%;
    margin-bottom: 20px;
}

.alert {
    padding: 0;
}

.cover {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cover .first {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.cover .title {
    font-size: 42px;
    color: #ff722b;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.cover .keywords {
    font-size: 24px;
    color: #ff4444;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.cover .tags {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    background-color: #fff5e6;
    border-radius: 4px;
    margin-top: 15px;
}

#share-list {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.share-item {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

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

.share-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.share-time {
    text-align: right;
    color: #999;
    font-size: 12px;
    margin-top: 8px;
}

.share-header .month {
    background: #fff5e6;
    color: #ff722b;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    height: 24px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-header .badge-expired {
    background: #ff4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    height: 24px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-header .badge-claimed {
    background: #909090;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    height: 24px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-hint {
    text-align: center;
    color: #ff722b;
    font-size: 13px;
    margin-bottom: 14px;
    padding: 6px 0;
    border-bottom: 1px dashed #ffe0cc;
}

.share-item.expired,
.share-item.claimed {
    background: #f7f8fa;
    border-color: #d8dce0;
}

.share-item.expired .share-code,
.share-item.claimed .share-code {
    background-color: #f0f0f0;
    border-left-color: #ccc;
    color: #999;
}

.share-item.expired .share-header .month,
.share-item.claimed .share-header .month {
    background: #e8e8e8;
    color: #888;
}

.share-header button.itemCopy {
    background: #ff722b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
    height: 24px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
}

.share-header button.itemCopy:hover {
    opacity: 0.85;
}

.share-code {
    background-color: #f8f9fa;
    border-left: 3px solid #ff722b;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    word-break: break-all;
    cursor: pointer;
    transition: background-color 0.2s;
}

.share-code-active {
    cursor: pointer;
}

.share-code-active:hover {
    background-color: #fff5e6;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #eee;
}

.page-btn {
    background: #fff5e6;
    color: #ff722b;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.page-btn:hover {
    opacity: 0.85;
}

.page-info {
    color: #999;
    font-size: 13px;
}

.description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    padding: 10px;
}

.description .m_title {
    color: #333;
    font-weight: 700;
    font-size: 18px;
    margin: 20px 0 10px 0;
}

.description p {
    margin: 8px 0;
}

#Au a {
    color: #ff722b;
    text-decoration: none;
}

#Au a:hover {
    color: #ff4444;
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .cover .first {
        font-size: 22px;
    }
    
    .cover .title {
        font-size: 32px;
    }
    
    .cover .keywords {
        font-size: 20px;
    }
    
    .cover .tags {
        font-size: 16px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .description .m_title {
        font-size: 16px;
    }
    
    .share-header {
        flex-wrap: wrap;
    }
    
    .share-code {
        font-size: 12px;
        padding: 10px 12px;
    }
}
