/* TN Report 页面样式 */
@font-face {
    font-family: 'HarmonyOS_Sans_SC_Regular';
    src: url('../fonts/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC_Bold';
    src: url('../fonts/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC_Light';
    src: url('../fonts/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC_Black';
    src: url('../fonts/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Black.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Morganite-Black-2';
    src: url('../fonts/Morganite-Black-2.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Morganite-Book-4';
    src: url('../fonts/Morganite-Book-4.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

/* 报告页面容器 */
.tn-report-container {
    background-color: #000000;
    width: 1080px;
    height: 1920px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: auto;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.tn-report-container.active {
    display: flex;
}

/* 头部区域 */
.tn-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.tn-report-back-button {
    background: #151515;
    border: 1px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

/* TN Report Help Modal Styles */
.test-report-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.test-report-help-overlay.active {
    display: flex;
}

.test-report-help-modal {
    width: calc(100% - 12rem);
    min-height: 90rem;
    background: #151515;
    border-radius: 1.2rem;
    padding: 2.4rem 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
}

.test-report-help-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.test-report-help-modal-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.test-report-help-modal-close {
    width: 4rem;
    height: 4rem;
    border: none;
    background-color: transparent;
    background-image: url('../icon/close.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.test-report-help-modal-close:hover {
    opacity: 0.7;
}

.test-report-help-modal-close:active {
    opacity: 0.5;
}

.test-report-help-modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
    padding-right: 1.5rem;
}

.test-report-help-question {
    margin: 2rem 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.test-report-help-modal-body p {
    margin: 0;
    padding-left: 3rem;
    text-align: left;
}

.test-report-help-modal-body .test-report-help-question + p {
    margin-top: 0;
    margin-bottom: 1.6rem;
    padding-left: 6rem;
}

.test-report-help-modal-body .test-report-help-question:first-child {
    margin-top: 0;
}

.tn-report-header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tn-report-help-button {
    background: #151515;
    border: 1px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    min-height: 5rem;
    min-width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    padding: 2rem 3rem;
}

.tn-report-menu-button {
    background: #151515;
    border: 1px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

/* 主要内容区域 */
.tn-report-content {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 0;
    position: relative;
    background-color: #151515;
    margin: 2rem 1.5rem;
}

/* 第二页内容区域特殊处理 */
.tn-report-page-2 .tn-report-content {
    justify-content: flex-start;
}

/* 顶部内容区域 */
.tn-report-content-top {
    display: flex;
    gap: 1.5rem;
}

/* 左侧健身分数框 */
.tn-report-fitness-score-box {
    flex: 1;
    background: transparent;
    border: 1px solid #272727;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 19rem;
    margin-left: 3rem;
}

.tn-report-score-number {
    color: #ffffff;
    font-size: 8rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tn-report-score-total {
    color: #888888;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    margin-bottom: 2rem;
}

.tn-report-score-status {
    background: #000000;
    color: #FF6600;
    padding: 0rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

/* 右侧用户信息框 */
.tn-report-user-info-box {
    flex: 2;
    background: #000000;
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 19rem;
    margin-right: 3rem;
}

.tn-report-user-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    flex: 1;
}

.tn-report-user-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tn-report-user-info-label {
    color: #FF6600;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.tn-report-user-info-value {
    color: #ffffff;
    font-size: 1.8rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    border-bottom: 1px solid #262626;
    padding-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tn-report-user-info-unit {
    color: #262626;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-user-info-date {
    color: #888888;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    text-align: right;
    margin-top: auto;
    padding-top: 1rem;
}

/* 标题栏 */
.tn-report-title-bar {
    background: #151515;
    border-top: 4px solid #ff6600;
    border-radius: 0.5rem;
    padding: 1.5rem 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 1.5rem;
}

.tn-report-title-left {
    color: #ff6600;
    font-size: 2.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-title-right {
    color: #fffefe;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

/* Footer 样式 */
.tn-report-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
    flex-shrink: 0;
    margin-top: auto;
}

.tn-report-footer-left {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.tn-report-footer-right {
    display: flex;
    gap: 1rem;
}

.tn-report-footer-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 2rem;
    border-radius: 1rem;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 6rem;
}

.tn-report-print-button {
    background: #151515;
    border: 1px solid #5d2500;
    color: #FF6600;
    min-width: 15rem;
}

.tn-report-send-button {
    background: #151515;
    border: 1px solid #5d2500;
    color: #FF6600;
    min-width: 15rem;
}

.tn-report-next-button {
    background: #FF6600;
    border: none;
    color: #000000;
    min-width: 24rem;
    min-height: 6rem;
}

.tn-report-previous-button {
    background: #FF6600;
    border: none;
    color: #000000;
    min-width: 24rem;
    min-height: 6rem;
}

.tn-report-button-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tn-report-print-icon {
    background: url('../icon/print.png') no-repeat center;
    background-size: contain;
}

.tn-report-send-icon {
    background: url('../icon/scan.png') no-repeat center;
    background-size: contain;
}

.tn-report-next-icon {
    background: url('../icon/arrow3.png') no-repeat center;
    background-size: contain;
}

.tn-report-previous-icon {
    background: url('../icon/arrow3.png') no-repeat center;
    background-size: contain;
    transform: rotate(180deg);
}

.tn-report-send-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

/* 测试项目框样式 */
.tn-report-test-items-container {
    background: #151515;
    border: 1px solid #272727;
    border-radius: 2rem;
    padding: 2rem 0;
    display: flex;
    gap: 0;
    margin-left: 3rem;
    margin-right: 3rem;
}

.tn-report-test-item {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    padding: 0 2rem;
    height: 17rem;
}

.tn-report-test-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #272727;
}

.tn-report-test-item-name {
    color: #FF6600;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0;
    line-height: 1.3;
    height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.tn-report-test-item-subtitle {
    color: #703a17;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0;
    height: 4rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.tn-report-test-item-level {
    background: #000000;
    color: #FF6600;
    border-radius: 0.5rem;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 3rem;
    width: 8rem;
    align-self: flex-start;
    margin-top: -2rem;
    padding-left: 0.8rem;
}

.tn-report-test-item-score {
    color: #ffffff;
    font-size: 5rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    margin-bottom: 0;
    line-height: 1;
    margin-top: 4rem;
}

.tn-report-test-item-result.inline .tn-report-test-item-score {
    margin-top: 0.4rem;
}

.tn-report-test-item-unit {
    color: #888888;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-test-item-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    height: 4rem;
    justify-content: center;
}

.tn-report-test-item-result.inline {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
}

.tn-report-test-item-result.inline .tn-report-test-item-unit {
    font-size: 5rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    color: #ffffff;
}

/* 等级可视化区域 */
.tn-report-level-visualization-box {
    margin: -2rem 1rem;
    background: #151515;
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.tn-report-level-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 30%;
}

.tn-report-level-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #151515;
    border: 1px solid #272727;
    border-radius: 1rem;
    padding: 0.5rem 1.2rem;
    color: #FF6600;
}

.tn-report-level-item-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    position: relative;
}

.tn-report-level-item-right::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 90%;
    background-color: #272727;
}

.tn-report-level-item-name {
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-level-badge {
    color: #FF6600;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-level-badge-value {
    color: #fffefe;
    font-size: 1.6rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tn-report-level-center {
    position: relative;
    width: 34%;
    aspect-ratio: 1 / 1;
    min-width: 280px;
    max-width: 420px;
}

.tn-report-img1 {
    width: 140px;
    height: 140px;
    background-image: url('../image/img24_LV1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: absolute;
    margin-left: 140px;
}

.tn-report-img2 {
    width: 140px;
    height: 140px;
    background-image: url('../image/img24_LV1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: absolute;
    transform-origin: left bottom;
    transform: rotate(60deg);
    margin-left: 152px;
}

.tn-report-img3 {
    width: 140px;
    height: 140px;
    background-image: url('../image/img24_LV1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: absolute;
    transform-origin: left bottom;
    transform: rotate(120deg);
    margin-left: 158px;
    margin-top: 10px;
}

.tn-report-img4 {
    width: 140px;
    height: 140px;
    background-image: url('../image/img27_LV4.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: absolute;
    transform-origin: left bottom;
    transform: rotate(180deg);
    margin-left: 153px;
    margin-top: 20px;
}

.tn-report-img5 {
    width: 140px;
    height: 140px;
    background-image: url('../image/img26_LV3.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: absolute;
    transform-origin: left bottom;
    transform: rotate(240deg);
    margin-left: 140px;
    margin-top: 20px;
}

.tn-report-img6 {
    width: 140px;
    height: 140px;
    background-image: url('../image/img25_LV2.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: absolute;
    transform-origin: left bottom;
    transform: rotate(300deg);
    margin-left: 134px;
    margin-top: 10px;
}

/* 六要素建议框样式 */
.tn-report-six-elements-suggestions {
    margin: 0rem 3rem;
    background: #151515;
    border-radius: 2rem;
    padding: 2rem;
}

.tn-report-suggestions-title {
    color: #FF6600;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin-bottom: 1.5rem;
}

.tn-report-suggestions-content {
    color: #ffffff;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
}

/* 页面切换样式 */
.tn-report-page {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    /* 优化渲染性能，减少闪烁 */
    will-change: display;
    contain: layout style paint;
}

.tn-report-page.active {
    display: flex;
}

.tn-report-page2-content {
    padding: 0rem 3rem 2rem;
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tn-report-page3-content {
    padding: 0rem 3rem;
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 分析卡片样式 - 由于样式太多，这里只列出关键部分，其余样式请参考原文件 */
.tn-report-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
    flex: 1;
}

.tn-report-analysis-card {
    background: #151515;
    border: 1px solid #272727;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 27rem;
    max-height: 27rem;
    justify-content: space-between;
    overflow: hidden;
}

.tn-report-analysis-card-title {
    color: #FF6600;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.tn-report-analysis-card-subtitle {
    color: #686868;
    font-size: 1.1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

.tn-report-analysis-card-title-subtitle {
    color: #ff6600;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

.tn-report-analysis-card-content {
    background: #272727;
    flex: 0 0 auto;
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    min-height: 7rem;
    height: 7rem;
    max-height: 7rem;
    /* 优化渲染性能 */
    contain: layout style paint;
}

.tn-report-analysis-card-chart-row {
    display: flex;
    align-items: stretch;
    gap: 0.8rem;
    height: 7rem;
    max-height: 7rem;
}

.tn-report-analysis-card-chart-row .tn-report-analysis-card-content {
    flex: 1;
    height: 100%;
    min-height: 100%;
}

.tn-report-chart-canvas {
    width: 100%;
    height: 100%;
    display: block;
    /* 优化canvas渲染性能 */
    will-change: contents;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.tn-report-analysis-card-time {
    color: #606060;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 2.5rem;
}

.tn-report-analysis-card-bottom-section {
    display: flex;
    gap: 1rem;
    min-height: 8rem;
}

.tn-report-analysis-card-bottom-left,
.tn-report-analysis-card-bottom-right {
    position: relative;
    display: flex;
    flex-direction: column;
}

.tn-report-analysis-card-bottom-left {
    flex: 1.4;
    gap: 0.3rem;
}

.tn-report-analysis-card-bottom-right {
    flex: 0.6;
    align-items: flex-start;
    justify-content: flex-start;
}

.tn-report-analysis-card-footer-ph,
.tn-report-analysis-card-footer-rr,
.tn-report-analysis-card-footer-sd,
.tn-report-analysis-card-footer-nl,
.tn-report-analysis-card-footer-xt,
.tn-report-analysis-card-footer-mj {
    color: #fffefe;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.5;
    min-height: 3.8rem;
    max-height: 3.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    border-top: 3px solid #272727;
    padding-top: 0.8rem;
}

/* 其他样式 - 由于内容太多，这里只列出关键部分 */
.tn-report-balance-time-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    align-items: flex-start;
}

.tn-report-balance-time-title {
    color: #FF6600;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0;
    padding: 0;
}

.tn-report-balance-time-value-wrapper {
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    width: 100%;
    gap: 0.4rem;
    margin-top: 1.3rem;
}

.tn-report-balance-time-value {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    line-height: 1;
}

.tn-report-balance-time-unit {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-com-trajectory-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.tn-report-com-trajectory-title {
    color: #FF6600;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0;
    padding: 0;
}

.tn-report-com-trajectory-canvas-container {
    flex: 1;
    position: relative;
    width: 100%;
    padding: 0;
    margin-top: 0.4rem;
    max-height: 6rem;
    margin-left: -0.7rem;
}

.tn-report-com-trajectory-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.tn-report-analysis-card-speed-value {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
}

.tn-report-analysis-card-speed-number {
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-analysis-card-speed-unit {
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-zcLR-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100%;
    background: #272727;
    height: 6rem;
    border-radius: 0.5rem;
    position: relative;
    padding: 0 1rem;
}

.tn-report-zcLR-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 80%;
    background-color: #686868;
}

.tn-report-zcLR-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: space-between;
    padding-right: 0.5rem;
}

.tn-report-zcLR-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: space-between;
    padding-left: 0.5rem;
}

.tn-report-zcLR-percentage {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.tn-report-zcLR-label {
    color: #FF6600;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

.tn-report-zcLR-number {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    line-height: 1;
}

.tn-report-zcLR-percent {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    line-height: 1;
}

.tn-report-zcLR-icon {
    width: auto;
    height: 3rem;
}

.tn-report-crunches-angle-metrics {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.tn-report-crunches-angle-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tn-report-crunches-angle-label {
    color: #FF6600;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-crunches-angle-value {
    color: #ffffff;
    font-size: 3rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.tn-report-crunches-angle-number {
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-crunches-angle-unit {
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-coordination-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.tn-report-coordination-metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tn-report-coordination-metric-label {
    color: #FF6600;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

.tn-report-coordination-metric-value {
    color: #ffffff;
    font-size: 3rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.tn-report-coordination-metric-number {
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-coordination-metric-unit {
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
}

.tn-report-slider-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tn-report-slider-section:last-child {
    margin-bottom: 0;
}

.tn-report-slider-label {
    color: #FF6600;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tn-report-slider-bar-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.tn-report-slider-bar-container {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tn-report-slider-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.tn-report-slider-value-wrapper {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
}

.tn-report-slider-bar {
    width: 53%;
    height: 8px;
    background-color: #272727;
    border-radius: 4px;
    position: relative;
}

.tn-report-slider-bar::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #FF6600;
    transform: translateX(-50%);
}

.tn-report-slider-labels-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 53%;
    margin-top: -1rem;
}

.tn-report-slider-label-side {
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.tn-report-slider-marker {
    position: absolute;
    width: 13px;
    height: 13px;
    background-color: #ffffff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 2;
}

.tn-report-slider-marker.left {
    transform: translateY(-50%) translateX(-50%);
}

.tn-report-slider-marker.right {
    transform: translateY(-50%) translateX(-50%);
}

.tn-report-slider-marker.center {
    transform: translateY(-50%) translateX(-50%);
}

.tn-report-slider-value {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    text-align: left;
    line-height: 1;
}

.tn-report-degree-symbol {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Morganite-Book-4', Arial, sans-serif;
    line-height: 1;
    display: inline-block;
    vertical-align: baseline;
    margin-left: 0.1rem;
    margin-top: 0.2rem;
}

/* 第三页健身建议样式 */
.tn-report-fitness-section {
    background: #151515;
    border: 1px solid #272727;
    border-radius: 2rem;
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.8rem;
}

.tn-report-fitness-section .tn-report-section-title {
    color: #FF6600;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0.3rem;
    display: block;
}

.tn-report-general-instruction {
    color: #898989;
    font-size: 1.2rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.tn-report-sub-section {
    margin-bottom: 0.5rem;
}

.tn-report-sub-section .tn-report-subsection-title {
    color: #FF6600;
    font-size: 1.2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0.3rem;
    display: block;
}

.tn-report-exercise-item {
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.tn-report-exercise-item strong {
    color: #fffefe;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

/* 第三页新样式 - How It Was Created Section (固定内容) */
.tn-report-how-it-was-created-section {
    background: #272727;
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 1rem;
}

.tn-report-how-it-was-created-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 1rem;
}

.tn-report-how-it-was-created-content {
    color: #FFFEFE;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.4;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tn-report-how-it-was-created-disclaimer {
    color: #FF6600;
    font-size: 1.2rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.5;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Exercise Card Styles (动态内容) */
.tn-report-exercise-card {
    background: #151515;
    border: 1px solid #272727;
    border-radius: 2rem;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    min-height: 20rem;
}

.tn-report-exercise-card:last-child {
    margin-bottom: 0;
}

.tn-report-exercise-card-title {
    color: #FF6600;
    font-size: 1.4rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 1rem;
}

.tn-report-exercise-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tn-report-exercise-tags .tn-report-tag-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.tn-report-exercise-tag {
    background: #272727;
    font-size: 1rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    padding: 0.4rem 0.8rem;
    border-radius: 0.2rem;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
}

.tn-report-exercise-tag .tn-report-tag-hash {
    color: #FF6600;
}

.tn-report-exercise-tag .tn-report-tag-text {
    color: #ffffff;
}

.tn-report-exercise-detail-section {
    margin-bottom: 1rem;
}

.tn-report-exercise-detail-section:last-child {
    margin-bottom: 0;
}

.tn-report-exercise-detail-label {
    color: #FF6600;
    font-size: 1.2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0.5rem;
}

.tn-report-exercise-detail-content {
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    line-height: 1.5;
}
