/* 生肖属性页面专用样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* 覆盖 style.css 的头部样式 */
.header {
    padding: 0.75rem !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 顶部导航 */
.header {
    background: #e60012;
    color: #fff;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-back {
    width: 24px;
    height: 24px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    cursor: pointer;
}

.header-title {
    font-size: 1.125rem;
    font-weight: bold;
}

.header-home {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.header-home::before {
    content: "⌂";
    font-size: 1.5rem;
    color: #fff;
}

/* 提示文字 */
.tip-bar {
    background: #fff;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #333;
    border-bottom: none;
}

/* 表格容器 */
.content {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* 限制表格最大宽度与首页一致 */
.attr-table, .other-table {
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

/* 板块标题 */
.section-title {
    background: #e60012;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0;
}

/* 表格样式 */
.attr-table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    margin-bottom: 0;
}

.attr-table td {
    border: 1px solid #ddd;
    padding: 0.25rem;
    text-align: center;
    vertical-align: middle;
}

.attr-table .label {
    width: 60px;
    font-weight: bold;
    color: #333;
    background: #fafafa;
}

/* 号码球 - 圆形 */
.ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.875rem;
    margin: 2px;
    color: #fff;
    line-height: 1;
}

.ball.red { background: #e60012; }
.ball.blue { background: #007aff; }
.ball.green { background: #34c759; }

/* 其它属性表格 */
.other-table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    margin-bottom: 0;
}

.other-table td {
    border: 1px solid #ddd;
    padding: 0.25rem;
}

.other-table .label {
    width: 80px;
    font-weight: bold;
    color: #333;
    background: #fafafa;
    text-align: center;
}

.other-table .content {
    text-align: left;
    color: #333;
}
