﻿body {
    font-size: 80%;
}
/* 主容器：桌面端居中窄幅，移动端自动扩展 */
.container {
    max-width: 648px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    margin-top: 5%;
}
/* 桌面端： */
.txtright {
    text-align: right;
}
/*移动端： */
@media (max-width: 768px) {
    body {
        font-size: 90%;
    }
    .container .container-middle .container-max {
        max-width: 100%;
        padding: 0 0.75rem;
    }
    .txtright {
        text-align: left;
    }
}
.btnwidth {
    padding-left: 10%;
    padding-right: 10%;
}
input[type="text"], input[type="password"], select, textarea {
    height: 2rem; /* 或其他所需的高度 */
    line-height: 80%;
    font-size: 90%;
}
input[type="submit"], input[type="button"] {
    height: 2rem; /* 或其他所需的高度 */
    line-height: 80%;
    font-size: 90%;
}
select {
    line-height: 2rem; /* 强制行高与高度一致 */
    padding: 0 4px; /* 增加左右内边距，有时也能缓解上下裁剪 */
    vertical-align: middle;
}
table tbody tr:hover td {
    background-color: #e0e0e0 !important;
    color: #333;
    transition: background-color 0.3s ease;
}
td img {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(1.2);
}
/* 关键修复：隐藏但不破坏表格布局 */
tfoot.foot-hidden {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    margin: 0;
    display: table-footer-group !important; /* 强制保持表格结构 */
}
/* 定义CSS变量，默认水印 */
.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    color: rgba(0, 0, 0, 0.05);
    font-size: 20px;
    transform: rotate(-7deg);
    display: flex;
    flex-direction: column;
    gap: 8rem; /* 行间距 */
    align-items: center;
    padding: 40px 0;
}
/* 容器包裹小图，方便定位放大图 */
.img-wrap {
    position: relative;
    display: inline-block;
}
/* 小图标 */
.img-wrap img.small-img {
    cursor: zoom-in;
    margin-left: 70%;
    width: 2rem;
    height: 2rem;
    filter: brightness(1.2);
}
/* 放大预览图：默认隐藏 */
.img-big-preview {
    position: absolute;
    left: 50%;
    bottom: 100%; /* 放在原图 上方 */
    transform: translateX(-50%);
    width: 8rem;
    height: 8rem;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 0 6px #999;
    z-index: 9999;
    display: none;
    object-fit: contain;
    pointer-events: none;
    margin-bottom: 5px;
}
/* 悬浮显示 */
.img-wrap:hover .img-big-preview {
    display: block;
}
#Linkkey {
    height: 2rem;
    line-height: 0.5rem;
    border-radius: 1em;
}
.container-middle {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    margin-top: 4%;
}
.container-max {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}
article > div {
    margin-top: 0.5rem;
}
article span {
    font-size: 300%;
    color: rgba(30, 144, 255, 0.85);
}
.fpdiv {
    margin-top: 1rem;
    margin-bottom:1rem;
}
.colortxt {
    color: rgba(30, 144, 255, 0.85);
}
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.status-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.status-circle.green {
    background-color: #22c55e;
}
.status-circle.red {
    background-color: #ef4444;
}
.status-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.hero img {
    border-radius: 12px;
    margin-top: 1.5rem;
}
.details-pseudo-dot {
    position: relative;
    padding-left: 16px;
}
.details-pseudo-dot[isnew="yes"]::before {
    content: ''; /* 内容为空，只显示背景色 */
    position: absolute;
    left: 0;
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 修正垂直位置 */
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d32f2f;
}
#lblmsg {
    font-size: 90%;
    color: rgba(139, 0, 0, 0.85);
}
.points {
    font-size:400%;
}
[id^="LinkButton"] {
    text-decoration: none;
    border: none;
    color: rgba(0,0,0,0.6);
    display: block;
    height: 32px;
    width: 32px;
    border-radius: 4px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
}
[id^="LinkButton"]:hover {
    background-color: rgba(0,0,0,0.2);
    color: rgba(30, 144, 255, 0.4);
}
tfoot td a{
    text-decoration: none;
    border: none;
    color: rgba(0,0,0,0.6);
    display: block;
    height: 32px;
    width: 32px;
    border-radius: 4px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
}
tfoot td a:hover {
    background-color: rgba(0,0,0,0.2);
    color: rgba(30, 144, 255, 0.4);
}
