@font-face {
    font-family: "inspect-font";
    src: url("../../ttf/HYWenHei-85W-1.ttf") format("truetype");
    font-display: swap;
}

:root {
    --bg-main: #faf4e8;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-row: rgba(255, 255, 255, 0.5);
    --text-main: #342719;
    --text-sub: #7a6550;
    --accent: #c97926;
    --line: rgba(165, 128, 80, 0.22);
}

html,
body {
    margin: 0;
    padding: 30px;
    background: #f4ecdf;
    display: inline-block;
    font-family: "inspect-font", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.inspect-page {
    width: 1120px;
    padding: 34px 38px 30px;
    background: url("../../img/ercode-bg.D1ccSQKH.png") no-repeat center center;
    background-size: cover;
    border-radius: 26px;
    color: var(--text-main);
    box-sizing: border-box;
}

.inspect-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px dashed rgba(165, 128, 80, 0.28);
}

.inspect-title {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    color: #402d1b;
}

.inspect-subtitle {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--text-sub);
}

.inspect-table,
.notes-card,
.payload-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 18px;
}

.inspect-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 18px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(165, 128, 80, 0.16);
    background: var(--bg-row);
}

.inspect-row:last-child {
    border-bottom: none;
}

.inspect-row.level-1 {
    padding-left: 42px;
}

.inspect-row.level-2 {
    padding-left: 64px;
}

.inspect-label {
    font-size: 22px;
    line-height: 1.35;
    color: #6c553f;
    font-weight: 600;
}

.inspect-value {
    font-size: 22px;
    line-height: 1.45;
    color: var(--text-main);
    word-break: break-word;
}

.card-title {
    padding: 16px 20px 14px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--accent);
    border-bottom: 1px solid rgba(165, 128, 80, 0.16);
}

.note-item {
    padding: 12px 20px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-sub);
    border-bottom: 1px solid rgba(165, 128, 80, 0.1);
}

.note-item:last-child {
    border-bottom: none;
}

.payload-text {
    margin: 0;
    padding: 18px 20px 22px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Consolas, "Courier New", monospace;
}

.command-hint {
    margin-top: 8px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(165, 128, 80, 0.16);
    font-size: 20px;
    line-height: 1.4;
    color: var(--text-sub);
}

.footer {
    margin-top: 18px;
    text-align: center;
    font-size: 16px;
    color: rgba(122, 101, 80, 0.86);
}
