a{     
    text-decoration: none;
    color: #fe2741;
}
img{
    vertical-align: middle;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin: 0 auto;
    background-color: #f5f5f5;
    color: #333;
}

.main{
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 100px
}

/* 头部栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 4px 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 100;
}

.header.scrolled {
    padding: 12px 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1e40af;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: #1e40af;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }
}

.login_user{
    font-size:12px;
}


/* 登录按钮样式 */
.login-btn {
    background-color: white;
    border: 1px solid #1e40af;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}

@media (min-width: 640px) {
    .login-btn {
        display: inline-block;
    }
}

.login-btn-mobile {
    background: none;
    border: none;
    color: #334155;
    font-size: 20px;
    cursor: pointer;
    display: inline-block;
}

@media (min-width: 640px) {
    .login-btn-mobile {
        display: none;
    }
}

/* 页面内容 */
.content {
    padding: 96px 24px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 48px;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #1e293b;
}

.hero p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}


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

.head-title{
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 18px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.tool-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.tool-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}
.tool-icon img {
    max-width: 60px;
    max-height: 60px;
}
.tool-icon i {
    font-size: 48px;
    color: #3498db;
}
.tool-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.tool-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}
.tool-description {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}
.tool-link {
    display: inline-block;
    background-color: #eb95a2;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
    font-weight: bold;
    margin-top: auto;
}
.tool-link:hover {
    background-color: #ef6374;
}
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.category-btn {
    background-color: #e9d5d8;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}
.category-btn:hover, .category-btn.active {
    background-color: #ef6374;
    color: white;
}


.search-container {
    margin-bottom: 20px;
}
.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.no-tools {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-size: 16px;
    grid-column: 1 / -1;
}
.admin-link {
    text-align: center;
    margin-top: 10px;
}
.admin-link a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
}
.admin-link a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}
.footer {
    margin-bottom: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #7f8c8d;
    font-size: 14px;
}
.no-tools {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-size: 16px;
    grid-column: 1 / -1;
}
.admin-link {
    text-align: center;
    margin-top: 10px;
}
.admin-link a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
}
.admin-link a:hover {
    text-decoration: underline;
}

/* 美化版权信息和友情链接 */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.copyright {
    font-size: 14px;
    color: #7f8c8d;
    padding: 10px 0;
}
.friend-links {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 0;
    border-top: 1px solid #eee;
}
.friend-links h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}
.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.link-item {
    color: #3498db;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.link-item:hover {
    background-color: #f1f1f1;
    text-decoration: underline;
}

/*tools*/
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    background-color: #eb95a2;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #ef6374;
}
.result {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    display: none;
}
.success {
    color: #4CAF50;
}
.error {
    color: #f44336;
}
.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b81;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.drama-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.drama-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.drama-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.drama-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}
.drama-link {
    display: inline-block;
    background-color: #ff6b81;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.drama-link:hover {
    background-color: #ff4757;
}
.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
}
.search-history {
    margin-top: 10px;
}
.history-tag {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}
.history-tag:hover {
    background-color: #e0e0e0;
}
.clear-history {
    background: none;
    border: none;
    color: #ff6b81;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 10px;
}
.clear-history:hover {
    text-decoration: underline;
}
.copy-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background-color 0.3s;
}
.copy-btn:hover {
    background-color: #0b7dda;
}
.copy-success {
    background-color: #4CAF50;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    min-height: 150px;
    font-family: Arial, sans-serif;
    resize: vertical;
}

.info-card {
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.info-item {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.info-content {
    display: flex;
    align-items: center;
    flex: 1;
}
.info-label {
    font-weight: bold;
    margin-right: 10px;
    color: #555;
    min-width: 80px;
}
.info-value {
    flex: 1;
    word-break: break-word;
}


.highlight-changes {
    background-color: #ffecb3;
    padding: 2px;
    border-radius: 3px;
}
.char-count {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
}

.login_user {
    width: 100px;
    height: 64px;
    float: right;
    line-height: 64px;
}

.other-login {
    float: left;
    margin-bottom: 10px;
    overflow: hidden;
}

.other-login img {
    float: left;
    display: block;
    width: 30px;
    height: 30px;
    -webkit-transition: .8s;
    -moz-transition: .8s;
}

.img-circle {
    border-radius: 50%;
}

img {
    border: none;
    vertical-align: middle;
}

.other-login a {
    padding-left: 10px;
}

















