
:root {
    --paper-texture: #fcfaf2;    /* 熟宣色 */
    --ink-black: #1a1a1a;        /* 浓墨 */
    --cinnabar: #b2282e;         /* 朱砂红 */
    --gold-silk: #b8976d;        /* 丝绸金 */
    --border-line: #e5dfd3;      /* 宣纸褶痕色 */
    --indigo: #2a5caa;          /* 靛蓝 */
}

/* 核心卡片：锦轴感 */
.traditional-card-final {
    border: 1px solid var(--border-line);
    position: relative;
    padding: 0;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 15px;
}

/* 1. 印章美学回归 (Seal Aesthetic) */
.seal-score-final {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    border: 2px solid var(--cinnabar);
    color: var(--cinnabar);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif SC", serif;
    font-weight: 900;
    line-height: 1.1;
    transform: rotate(6deg); /* 模拟手工盖章的自然感 */
    background: rgba(178, 40, 46, 0.02);
    box-shadow: inset 0 0 8px rgba(178, 40, 46, 0.1);
    z-index: 10;
}

.seal-score-final .grade { font-size: 16px; letter-spacing: 2px; }
.seal-score-final .points { font-size: 14px; margin-top: 2px; }

/* 姓名区 */
.name-header-final {
    padding: 50px 30px 20px;
    text-align: center;
}

.name-header-final ruby {
    font-family: "Noto Serif SC", serif;
    font-size: 21pt;
    font-weight: 700;
    color: var(--ink-black);
    letter-spacing: 6px;
}

.name-header-final rt {
    font-family: "Georgia", serif;
    font-size: 9pt;
    color: var(--gold-silk);
    margin-bottom: 6px;
    letter-spacing: 2px;
}

/* 2. 子项大字号优化 (Data Grid) */
.data-grid-final {
    margin: 0 40px;
    padding: 25px 0;
    border-top: 1.5px solid var(--gold-silk);
    border-bottom: 1px solid var(--border-line);
    display: flex;
    justify-content: space-around;
    /*background: linear-gradient(to bottom, rgba(184, 151, 109, 0.03), transparent);*/
}

.data-column {
    text-align: center;
}

.data-label {
    display: block;
    font-size: 14px; /* 增大字号 */
    color: #888;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: 500;
}

/* 五行大图标 */
.wuxing-wrap-final {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.wuxing-icon {
    width: 24px; /* 增大尺寸 */
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    line-height: 24px;
    font-weight: bold;
    color: var(--gold-silk);
}

/* 音律与字型：星级放大 */
.rating-stars-final {
    color: var(--gold-silk);
    font-size: 16px; /* 增大字号 */
    letter-spacing: 3px;
}

/* 字义解读 */
.meaning-section-final {
    padding: 25px 40px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.meaning-all{
	max-width: 500px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0px 0px 3px 0px;
}

.name-source{
	max-width: 500px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 10px 0px 3px 0px;
	color:gray;
}

.meaning-char-tag {
    color: var(--indigo);
    font-weight: 700;
    margin-right: 8px;
}

/* 底部操作 */
.footer-actions-final {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-replace {
    font-size: 9pt;
    color: var(--gold-silk);
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid var(--gold-silk);
    border-radius: 3px;
    transition: all 0.3s;
}

.btn-replace:hover {
    background: var(--gold-silk);
    color: white;
}