* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #f5f5f5; font-family: "Microsoft YaHei", sans-serif; }
.verify-container { width: 320px; margin: 100px auto; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.verify-title { text-align: center; margin-bottom: 20px; color: #333; font-size: 18px; }
.puzzle-box { width: 100%; height: 160px; background: #f0f0f0; border-radius: 5px; position: relative; overflow: hidden; margin-bottom: 20px; }
.puzzle-bg { width: 100%; height: 100%; background-image: url('https://picsum.photos/320/160'); background-size: cover; }
.puzzle-missing { width: 50px; height: 50px; position: absolute; left: 80px; top: 50px; border: 2px dashed #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,0.3); }
.puzzle-piece { width: 50px; height: 50px; background-image: url('https://picsum.photos/320/160'); background-size: 320px 160px; background-position: -80px -50px; position: absolute; left: 0; top: 50px; border: 1px solid #ddd; border-radius: 3px; cursor: grab; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 2; }
.puzzle-piece:active { cursor: grabbing; }
.slider-container { width: 100%; height: 40px; background: #f0f0f0; border-radius: 20px; position: relative; overflow: hidden; }
.slider-track { width: 0; height: 100%; background: #e8f5e9; transition: width 0.1s; }
.slider-btn { width: 40px; height: 40px; background: white; border: 1px solid #ddd; border-radius: 50%; position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; cursor: grab; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 2; }
.slider-btn:active { cursor: grabbing; }
.slider-text { position: absolute; width: 100%; height: 100%; line-height: 40px; text-align: center; font-size: 14px; color: #666; z-index: 1; }
.verify-message { text-align: center; margin-top: 15px; font-size: 14px; height: 20px; }
.success { color: #2d7d42; }
.error { color: #e53e3e; }
.content-wrapper { display: none; }
.admin-login { text-align: center; margin: 20px 0; }
.admin-on input { padding: 8px 15px; margin-right: 10px; border: 1px solid #ddd; border-radius: 4px; }
.admin-login button { padding: 8px 20px; background: #2d7d42; color: white; border: none; border-radius: 4px; cursor: pointer; }
.admin-login .error { color: #e53e3e; margin-top: 10px; font-size: 14px; }
.admin-panel { width: 1000px; margin: 20px auto; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: none; }
.admin-panel.show { display: block; }
.panel-title { font-size: 18px; color: #333; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.form-group { margin-bottom: 15px; }
.form-group label { display: inline-block; width: 100px; text-align: right; margin-right: 10px; color: #666; }
.form-group input, .form-group textarea { padding: 8px 10px; width: calc(100% - 120px); border: 1px solid #ddd; border-radius: 4px; }
.form-group textarea { height: 80px; resize: vertical; }
.form-actions { margin-left: 110px; margin-top: 20px; }
.form-actions button { padding: 8px 25px; margin-right: 15px; border: none; border-radius: 4px; cursor: pointer; }
.btn-save { background: #2d7d42; color: white !important; }
.btn-cancel { background: #95a5a6; color: white !important; }
.manage-msg { text-align: center; color: #2d7d42; margin: 10px 0; font-size: 14px; }
.tag-msg { text-align: center; color: #e53e3e; margin: 10px 0; font-size: 14px; }
.tag-msg.success { color: #2d7d42; }
.logout-btn { float: right; color: #e53e3e; text-decoration: none; font-size: 14px; margin-top: -30px; }
.card-manage-btn { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; }
.card-manage-btn a { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 4px; background: rgba(0,0,0,0.1); color: #333; text-decoration: none; font-size: 12px; }
.card-manage-btn .edit { background: rgba(45,125,66,0.1); color: #2d7d42; }
.card-manage-btn .delete { background: rgba(229,62,62,0.1); color: #e53e3e; }
.tag-manage-btn { display: inline-block; margin-left: 10px; }
.tag-manage-btn a { color: #e53e3e; text-decoration: none; font-size: 12px; padding: 2px 5px; border-radius: 2px; background: rgba(229,62,62,0.1); }
.tag-desc { font-size: 12px; color: #999; margin: 10px auto; text-align: center; width: 1000px; padding: 0 15px; }
.tag-tip { font-size: 11px; color: #666; margin-left: 5px; font-style: italic; }
.form-tip { font-size: 12px; color: #999; margin-left: 110px; margin-top: 5px; display: block; }
.container { width: 1000px; margin: 0 auto; padding: 0 15px; position: relative; }
header { background: white; padding: 15px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: #2d7d42; }
.jt { font-size: 24px; font-weight: bold; color: #ffca1d; animation: pulse 1.5s infinite; }
.nav { display: flex; gap: 20px; }
.nav a { text-decoration: none; color: #333; padding: 5px 10px; border-radius: 4px; transition: background 0.3s; }
.nav a:hover { background: #f0f0f0; }
.search-section { background: #2d7d42; padding: 40px 0; text-align: center; margin-bottom: 30px; }
.search-section h1 { color: white; margin-bottom: 20px; font-size: 28px; }
.search-box { width: 600px; margin: 0 auto; position: relative; }
.search-box input { width: 100%; padding: 12px 20px; border: none; border-radius: 30px; font-size: 16px; }
.search-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); padding: 8px 15px; background: #1a5e2c; color: white; border: none; border-radius: 20px; cursor: pointer; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 auto 25px; width: 1000px; padding: 0 15px; }
.filter-tag { padding: 8px 16px; background: white; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 5px; }
.filter-tag.active { background: #2d7d42; color: white; border-color: #2d7d42; }
.filter-tag:hover { background: #f0f0f0; }
.filter-tag.active:hover { background: #1a5e2c; }
.features { margin-bottom: 40px; }
.section-title { text-align: center; margin-bottom: 25px; font-size: 22px; color: #333; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: white; padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: none; position: relative; }
.feature-card.show { display: block; }
.feature-icon { width: 60px; height: 60px; background: #e8f5e9; border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #2d7d42; }
.feature-icon img { width: 40px; height: 40px; object-fit: contain; border-radius: 20%; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #666; margin-bottom: 15px; }
.feature-btn { padding: 8px 20px; background: #2d7d42; color: white !important; border: none; border-radius: 20px; text-decoration: none; font-size: 14px; transition: background 0.3s; }
.feature-btn:hover { background: #1a5e2c; }
footer { background: #333; color: white; padding: 30px 0 15px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: #ccc; text-decoration: none; font-size: 14px; }
.copyright { font-size: 14px; color: #aaa; margin-top: 15px; }
@media (max-width: 1024px) { .container, .filter-tags, .admin-panel, .tag-desc { width: 90%; } .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .search-box { width: 90%; } .feature-grid { grid-template-columns: 1fr; } }
#warnLayer {
  position:fixed; inset:0; background:rgba(10,25,50,0.5);
  z-index:999999; display:flex; align-items:center; justify-content:center;
}
#warnBox {
  background:#fff; width:90%; max-width:750px; border-radius:2px;
  padding:45px 35px; text-align:center; border:2px solid #007bff;
  box-shadow:0 15px 40px rgba(0,80,180,0.15);
}
.warnTitle {
  font-size:30px; font-weight:bold; color:#0056b3; margin-bottom:18px;
}
.warnText {
  font-size:17px; color:#223355; line-height:1.7; margin-bottom:25px;
}
.warnText strong {
  color:#007bff; font-size:19px;
}
.msCount {
  background:#0056b3; color:#fff; padding:22px; border-radius:4px;
  font-size:36px; font-weight:bold; font-family:Consolas; margin:25px 0;
}
#knowBtn {
  background:#2672ff; color:#fff !important; border:none; font-size:19px;
  padding:15px 50px; border-radius:4px; cursor:pointer;
}
.manage-msg,.tag-msg{color:#28a745;margin:10px 0;font-weight:bold}
.error{color:#dc3545;margin-top:8px}
.admin-panel{background:#f8f9fa;padding:15px;border-radius:8px;margin-bottom:20px}
.panel-title{font-weight:bold;margin-bottom:10px}
.form-group{margin-bottom:10px}
.form-group label{display:inline-block;width:100px}
.form-group input,.form-group textarea{width:300px;padding:5px}
.form-tip{font-size:12px;color:#666;margin-left:100px}
.btn-save{background:#28a745;color:white !important;border:none;padding:6px 12px;border-radius:4px;cursor:pointer}
.btn-cancel{background:#6c757d;color:white !important;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;margin-left:8px}
.card-manage-btn{position:absolute;top:5px;right:5px}
.card-manage-btn a{margin-left:5px;text-decoration:none}
.tag-manage-btn{display:inline-block;margin-left:8px}
.logout-btn{background:#dc3545;color:white !important;padding:5px 10px;border-radius:4px;text-decoration:none}
.warnimg{
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
  position: relative;
  top: 5px;
}
.warnimgx{
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  position: relative;
  top: 10px;
}
/* 干掉所有a标签冲突，只限定普通链接 */
a { color: #666; text-decoration: none; }
a:visited { color: #666; text-decoration: none; }
a:hover { color: #3269ff; }
a:active { color: #3f73f5; }
/* 域名状态标签样式 */
.tag-ready {
    background: rgba(0, 196, 141, 0.397);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
}
.tag-ing {
    background: rgba(255, 161, 9, 0.349);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
}
.tag-wait {
    background: rgba(255, 7, 11, 0.534);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
}