/* ===== 作业批改 homework.css · 雷哥雅思 ===== */
:root {
    --hw-ink: #14172E;
    --hw-blue: #2A3590;
    --hw-violet: #795FC2;
    --hw-violet-d: #5E46A8;
    --hw-cyan: #2E9BC6;
    --hw-amber: #F0A431;
    --hw-green: #2FA36B;
    --hw-red: #D64550;
    --hw-paper: #F4F5FB;
    --hw-surface: #FFFFFF;
    --hw-line: #E3E6F2;
    --hw-muted: #6B6F85;
    --hw-essay: #FFFDF6;
}

[v-cloak] { display: none; }

/* 滚动条：取自本页靛紫体系 */
html { scrollbar-color: var(--hw-violet) var(--hw-paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--hw-paper); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--hw-violet), var(--hw-blue)); border-radius: 8px; border: 2px solid var(--hw-paper); }
::-webkit-scrollbar-thumb:hover { background: var(--hw-violet-d); }

@keyframes hwRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hwSpin { to { transform: rotate(360deg); } }
@keyframes hwStrike { from { width: 0; } to { width: 100%; } }
@keyframes hwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hwToast { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes hwPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 155, 198, .35); } 50% { box-shadow: 0 0 0 7px rgba(46, 155, 198, 0); } }

.hw-rise { animation: hwRise .7s cubic-bezier(.2, .7, .3, 1) both; }

/* ===== 顶部主视觉 ===== */
.hw-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(720px 340px at 88% -10%, rgba(121, 95, 194, .55), transparent 60%),
        radial-gradient(560px 300px at 8% 110%, rgba(46, 155, 198, .38), transparent 62%),
        linear-gradient(135deg, #232C7C 0%, var(--hw-blue) 46%, #1B2150 100%);
    padding: 52px 0 78px;
}
.hw-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 44px);
    mask-image: radial-gradient(80% 90% at 50% 40%, #000 30%, transparent 100%);
}
.hw-hero .w12 { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hw-eyebrow { font-size: 12px; letter-spacing: .34em; color: #9FB4FF; text-transform: uppercase; margin-bottom: 14px; }
.hw-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; margin: 0 0 14px; }
.hw-hero h1 .mark { background: linear-gradient(transparent 68%, rgba(240, 164, 49, .85) 68% 92%, transparent 92%); padding: 0 2px; }
.hw-hero p.sub { font-size: 15px; line-height: 1.9; color: #C9CEF2; max-width: 560px; margin: 0 0 20px; }
.hw-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hw-chips span { font-size: 12px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #E6E9FF; }
.hw-chips span i { color: var(--hw-amber); margin-right: 6px; font-style: normal; }

/* 批改样张卡片 */
.hw-specimen {
    position: relative; background: var(--hw-essay); color: var(--hw-ink); border-radius: 6px;
    padding: 26px 26px 22px; transform: rotate(-2deg); box-shadow: 0 24px 60px rgba(10, 12, 40, .45);
    transition: transform .45s cubic-bezier(.2, .7, .3, 1); font-size: 13.5px; line-height: 1.95;
}
.hw-specimen:hover { transform: rotate(0deg) translateY(-4px); }
.hw-specimen::before { content: ''; position: absolute; top: -12px; left: 50%; width: 96px; height: 24px; transform: translateX(-50%) rotate(1.5deg); background: rgba(240, 164, 49, .5); border-left: 1px dashed rgba(255, 255, 255, .6); border-right: 1px dashed rgba(255, 255, 255, .6); }
.hw-specimen .sp-tag { font-size: 11px; letter-spacing: .18em; color: var(--hw-muted); margin-bottom: 10px; }
.hw-specimen .sp-err { position: relative; color: #8A8FA8; }
.hw-specimen .sp-err::after { content: ''; position: absolute; left: 0; top: 55%; height: 2px; background: var(--hw-red); animation: hwStrike 1.1s .5s cubic-bezier(.3, .6, .3, 1) both; }
.hw-specimen .sp-fix { color: var(--hw-green); font-weight: 700; animation: hwFadeIn .8s 1.4s both; }
.hw-specimen .sp-note { color: var(--hw-violet); font-size: 12px; animation: hwFadeIn .8s 1.8s both; }
.hw-specimen .sp-score { position: absolute; right: -16px; bottom: -18px; width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(140deg, var(--hw-violet), var(--hw-blue)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(42, 53, 144, .45); }
.hw-specimen .sp-score b { font-size: 21px; line-height: 1; }
.hw-specimen .sp-score i { font-style: normal; font-size: 10px; opacity: .85; margin-top: 3px; }

/* ===== 主区 ===== */
.hw-main { position: relative; z-index: 2; margin-top: -40px; display: grid; grid-template-columns: 7fr 5fr; gap: 22px; align-items: start; }
.hw-card { background: var(--hw-surface); border: 1px solid var(--hw-line); border-radius: 14px; box-shadow: 0 10px 34px rgba(20, 23, 46, .07); }
.hw-card .hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--hw-line); }
.hw-card .hd h2 { font-size: 17px; font-weight: 800; color: var(--hw-ink); margin: 0; }
.hw-card .hd h2 i { font-style: normal; color: var(--hw-violet); margin-right: 8px; }
.hw-card .hd.hd-center { justify-content: center; position: relative; }
.hw-card .hd.hd-center .hw-balance { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); }
.hw-card .bd { padding: 22px; }
.hw-balance { font-size: 13px; color: var(--hw-muted); }
.hw-balance b { color: var(--hw-amber); font-size: 17px; margin: 0 3px; }
.hw-balance a { color: var(--hw-violet); margin-left: 8px; }

/* 上传拖拽区 */
.hw-drop { border: 2px dashed #B9AEE3; border-radius: 12px; background: #FBFAFF; padding: 30px 20px; text-align: center; cursor: pointer; transition: all .25s ease; }
.hw-drop:hover { border-color: var(--hw-violet); transform: translateY(-1px); }
.hw-drop.drag { border-color: var(--hw-violet); background: #F3EFFF; box-shadow: 0 0 0 5px rgba(121, 95, 194, .14); }
.hw-drop svg { display: block; margin: 0 auto 10px; }
.hw-drop .t1 { font-size: 15px; font-weight: 700; color: var(--hw-ink); }
.hw-drop .t1 em { font-style: normal; color: var(--hw-violet); }
.hw-drop .t2 { font-size: 12px; color: var(--hw-muted); margin-top: 6px; }
.hw-filechip { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--hw-line); border-radius: 10px; background: #FAFAFF; animation: hwRise .4s both; }
.hw-filechip .fic { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 800; flex: none; }
.hw-filechip .fic.docx { background: linear-gradient(140deg, #2E9BC6, #2A3590); }
.hw-filechip .fic.txt { background: linear-gradient(140deg, #2FA36B, #1E7A4E); }
.hw-filechip .fn { flex: 1; min-width: 0; }
.hw-filechip .fn b { display: block; font-size: 13.5px; color: var(--hw-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-filechip .fn span { font-size: 11.5px; color: var(--hw-muted); }
.hw-filechip .rm { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--hw-line); background: #fff; color: var(--hw-muted); cursor: pointer; transition: all .2s; flex: none; }
.hw-filechip .rm:hover { color: #fff; background: var(--hw-red); border-color: var(--hw-red); }
.hw-field { margin-top: 16px; }
.hw-field label { display: block; text-align: left; font-size: 12.5px; font-weight: 700; color: var(--hw-ink); margin-bottom: 7px; }
.hw-field label span { font-weight: 400; color: var(--hw-muted); }
.hw-field input { width: 100%; box-sizing: border-box; border: 1px solid var(--hw-line); border-radius: 10px; padding: 11px 14px; font-size: 13.5px; color: var(--hw-ink); outline: none; transition: all .2s; background: #fff; }
.hw-field input:focus { border-color: var(--hw-violet); box-shadow: 0 0 0 4px rgba(121, 95, 194, .12); }

/* 模型选择（下拉） */
.hw-select { width: 100%; box-sizing: border-box; border: 1px solid var(--hw-line); border-radius: 10px; padding: 11px 38px 11px 14px; font-size: 13.5px; color: var(--hw-ink); outline: none; transition: all .2s; background: #fff; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23795FC2' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.hw-select:focus { border-color: var(--hw-violet); box-shadow: 0 0 0 4px rgba(121, 95, 194, .12); }
.hw-modelinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--hw-line); border-radius: 10px; background: #FAFAFF; }
.hw-modelinfo .mtag { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.hw-modelinfo .mtag.free { color: #1E7A4E; background: #E4F6EC; }
.hw-modelinfo .mtag.pro { color: #fff; background: linear-gradient(120deg, var(--hw-violet), var(--hw-blue)); }
.hw-modelinfo .mr { font-size: 12px; color: var(--hw-ink); }
.hw-modelinfo .mr b { color: var(--hw-amber); }
.hw-modelinfo .md { flex: 1 1 100%; font-size: 11.5px; color: var(--hw-muted); line-height: 1.6; }

.hw-submitbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.hw-submitbar .hint { font-size: 12px; color: var(--hw-muted); line-height: 1.7; }
.hw-submitbar .hint b { color: var(--hw-amber); }
.hw-btn { border: none; cursor: pointer; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 1px; padding: 13px 30px; border-radius: 10px; background: linear-gradient(120deg, var(--hw-violet) 0%, var(--hw-blue) 100%); box-shadow: 0 10px 24px rgba(74, 63, 160, .35); transition: all .22s ease; flex: none; }
.hw-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 30px rgba(74, 63, 160, .42); }
.hw-btn:active { transform: scale(.97); }
.hw-btn:disabled { background: #C4C8D8; box-shadow: none; cursor: not-allowed; transform: none; filter: none; }
.hw-btn.ghost { background: #fff; color: var(--hw-violet); border: 1.5px solid var(--hw-violet); box-shadow: none; }
.hw-btn.ghost:hover { background: #F7F4FF; }

/* 侧栏流程 */
.hw-steps { padding: 6px 0; }
.hw-step { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.hw-step:last-child { padding-bottom: 4px; }
.hw-step::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: linear-gradient(180deg, var(--hw-line), transparent); }
.hw-step:last-child::before { display: none; }
.hw-step .n { width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.hw-step:nth-child(1) .n { background: linear-gradient(140deg, var(--hw-violet), var(--hw-violet-d)); }
.hw-step:nth-child(2) .n { background: linear-gradient(140deg, var(--hw-cyan), #1F7CA0); }
.hw-step:nth-child(3) .n { background: linear-gradient(140deg, var(--hw-amber), #D0821B); }
.hw-step:nth-child(4) .n { background: linear-gradient(140deg, var(--hw-green), #1E7A4E); }
.hw-steps .hw-step > div { flex: 1; min-width: 0; text-align: left; }
.hw-steps .hw-step b, .hw-steps .hw-step span { text-align: left; }
.hw-step b { display: block; font-size: 14px; color: var(--hw-ink); margin-bottom: 3px; }
.hw-step span { font-size: 12px; color: var(--hw-muted); line-height: 1.7; }

/* ===== 历史列表 ===== */
.hw-history { margin: 42px auto 64px; }
.hw-history .hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hw-history h2 { font-size: 21px; font-weight: 800; color: var(--hw-ink); margin: 0; }
.hw-history h2 span { font-size: 12px; font-weight: 400; color: var(--hw-muted); margin-left: 10px; }
.hw-filters { display: flex; gap: 8px; }
.hw-filters button { border: 1px solid var(--hw-line); background: #fff; color: var(--hw-muted); font-size: 12.5px; padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.hw-filters button:hover { border-color: var(--hw-violet); color: var(--hw-violet); }
.hw-filters button.on { background: var(--hw-ink); border-color: var(--hw-ink); color: #fff; }
.hw-table { overflow: hidden; }
.hw-thead, .hw-hrow { display: grid; grid-template-columns: 1fr 108px 96px 70px 128px 118px; gap: 10px; align-items: center; padding: 13px 20px; }
.hw-thead { font-size: 11px; letter-spacing: .12em; color: var(--hw-muted); background: #FAFAFF; border-bottom: 1px solid var(--hw-line); }
.hw-hrow { border-bottom: 1px solid var(--hw-line); transition: background .2s; animation: hwRise .45s both; }
.hw-hrow:last-child { border-bottom: none; }
.hw-hrow:hover { background: #FAFAFF; }
.hw-hrow .f { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hw-hrow .f .fic { width: 32px; height: 32px; border-radius: 8px; color: #fff; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.hw-hrow .f .fic.docx { background: linear-gradient(140deg, #2E9BC6, #2A3590); }
.hw-hrow .f .fic.txt { background: linear-gradient(140deg, #2FA36B, #1E7A4E); }
.hw-hrow .f .fic.other { background: #9AA0B5; }
.hw-hrow .f b { display: block; font-size: 13.5px; color: var(--hw-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-hrow .f span { font-size: 11px; color: var(--hw-muted); }
.hw-tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: #EEF0F8; color: var(--hw-muted); display: inline-block; }
.hw-tag.pro { background: #F0EBFB; color: var(--hw-violet-d); }
.hw-tag.free { background: #E4F6EC; color: #1E7A4E; }
.hw-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.hw-st.wait { color: #A66A0B; background: #FDF3E2; }
.hw-st.run { color: #1F7CA0; background: #E5F4FA; animation: hwPulse 1.6s infinite; }
.hw-st.ok { color: #1E7A4E; background: #E4F6EC; }
.hw-st.fail { color: #B0303C; background: #FCEBED; }
.hw-st.block { color: #6B6F85; background: #EEF0F8; }
.hw-st .sp { width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: hwSpin .8s linear infinite; }
.hw-score { font-size: 17px; font-weight: 800; color: var(--hw-violet-d); }
.hw-score.none { color: #C4C8D8; font-size: 14px; }
.hw-cost { font-size: 11.5px; color: var(--hw-muted); line-height: 1.6; }
.hw-cost b { color: var(--hw-amber); }
.hw-cost .rf { color: var(--hw-green); }
.hw-acts { display: flex; gap: 12px; justify-content: flex-end; }
.hw-acts a { font-size: 12.5px; color: var(--hw-violet); text-decoration: none; cursor: pointer; }
.hw-acts a:hover { text-decoration: underline; }
.hw-acts a.mut { color: var(--hw-muted); }
.hw-acts .errtip { color: var(--hw-red); cursor: help; }
.hw-pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.hw-pager button { width: 32px; height: 32px; border: 1px solid var(--hw-line); background: #fff; border-radius: 8px; color: var(--hw-ink); cursor: pointer; transition: all .2s; }
.hw-pager button:hover:not(:disabled) { border-color: var(--hw-violet); color: var(--hw-violet); }
.hw-pager button:disabled { opacity: .35; cursor: not-allowed; }
.hw-pager span { font-size: 12px; color: var(--hw-muted); }
.hw-empty { text-align: center; padding: 52px 20px; color: var(--hw-muted); }
.hw-empty svg { margin-bottom: 12px; }
.hw-empty b { display: block; font-size: 14px; color: var(--hw-ink); margin-bottom: 6px; }
.hw-empty span { font-size: 12px; }

/* toast */
.hw-toast { position: fixed; top: 86px; right: 24px; z-index: 999; max-width: 360px; background: #fff; border: 1px solid var(--hw-line); border-left: 4px solid var(--hw-green); border-radius: 10px; box-shadow: 0 16px 40px rgba(20, 23, 46, .18); padding: 13px 18px; font-size: 13px; color: var(--hw-ink); animation: hwToast .35s cubic-bezier(.2, .7, .3, 1) both; }
.hw-toast.err { border-left-color: var(--hw-red); }
.hw-toast.warn { border-left-color: var(--hw-amber); }
.hw-toast a { color: var(--hw-violet); font-weight: 700; margin-left: 8px; }

/* ===== 结果页 ===== */
.hr-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0 16px; flex-wrap: wrap; }
.hr-top .back { font-size: 13px; color: var(--hw-violet); text-decoration: none; }
.hr-top .back:hover { text-decoration: underline; }
.hr-top .meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hr-top .meta b { font-size: 15px; color: var(--hw-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.hr-band { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 26px; align-items: center; }
.hr-ring { position: relative; width: 168px; height: 168px; margin: 0 auto; }
.hr-ring svg { transform: rotate(-90deg); }
.hr-ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hr-ring .val b { font-size: 44px; font-weight: 800; color: var(--hw-blue); line-height: 1; }
.hr-ring .val span { font-size: 11px; letter-spacing: .2em; color: var(--hw-muted); margin-top: 6px; }
.hr-dims .dim { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; margin-bottom: 13px; }
.hr-dims .dim:last-child { margin-bottom: 0; }
.hr-dims .dim label { font-size: 12.5px; color: var(--hw-ink); font-weight: 700; }
.hr-dims .dim label i { font-style: normal; display: block; font-size: 10.5px; color: var(--hw-muted); font-weight: 400; }
.hr-dims .track { height: 8px; border-radius: 6px; background: #EDEFF7; overflow: hidden; }
.hr-dims .track i { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1.1s cubic-bezier(.2, .7, .3, 1); }
.hr-dims .dim:nth-child(1) .track i { background: linear-gradient(90deg, var(--hw-violet), #9C86DA); }
.hr-dims .dim:nth-child(2) .track i { background: linear-gradient(90deg, var(--hw-cyan), #6CC0DE); }
.hr-dims .dim:nth-child(3) .track i { background: linear-gradient(90deg, var(--hw-amber), #F7C56E); }
.hr-dims .dim:nth-child(4) .track i { background: linear-gradient(90deg, var(--hw-green), #6CC79A); }
.hr-dims .dim b { font-size: 15px; color: var(--hw-ink); text-align: right; }
.hr-comment { margin-top: 18px; padding: 18px 22px; border: 1px solid var(--hw-line); border-left: 4px solid var(--hw-violet); border-radius: 10px; background: #FAFAFF; font-size: 13.5px; line-height: 1.95; color: #3C4059; }
.hr-comment b { color: var(--hw-violet-d); }

.hr-tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--hw-line); margin: 26px 0 20px; overflow-x: auto; }
.hr-tabs button { position: relative; border: none; background: none; cursor: pointer; font-size: 14px; color: var(--hw-muted); padding: 12px 20px; white-space: nowrap; transition: color .2s; }
.hr-tabs button:hover { color: var(--hw-violet); }
.hr-tabs button.on { color: var(--hw-violet-d); font-weight: 800; }
.hr-tabs button.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hw-violet), var(--hw-cyan)); animation: hwFadeIn .3s both; }
.hr-tabs button i { font-style: normal; font-size: 11px; background: #EEF0F8; color: var(--hw-muted); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.hr-tabs button.on i { background: #F0EBFB; color: var(--hw-violet-d); }

.hr-sent { border: 1px solid var(--hw-line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; animation: hwRise .5s both; }
.hr-sent:hover { box-shadow: 0 10px 26px rgba(20, 23, 46, .09); transform: translateY(-1px); }
.hr-sent .sh { display: flex; align-items: center; gap: 10px; padding: 9px 16px; background: #FAFAFF; border-bottom: 1px solid var(--hw-line); }
.hr-sent .sh .idx { font-size: 11px; font-weight: 800; color: #9AA0B5; letter-spacing: .08em; }
.hr-sent .chip { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.hr-sent .chip.t-语法 { color: #B0303C; background: #FCEBED; }
.hr-sent .chip.t-词汇 { color: #A66A0B; background: #FDF3E2; }
.hr-sent .chip.t-搭配 { color: #1F7CA0; background: #E5F4FA; }
.hr-sent .chip.t-逻辑 { color: #5E46A8; background: #F0EBFB; }
.hr-sent .chip.t-无 { color: #1E7A4E; background: #E4F6EC; }
.hr-sent .sb { display: grid; grid-template-columns: 1fr 1fr; }
.hr-sent .orig, .hr-sent .fixed { padding: 14px 16px; font-size: 13.5px; line-height: 1.85; }
.hr-sent .orig { border-right: 1px solid var(--hw-line); color: #5A5E75; background: #FDFBFB; border-left: 3px solid #E7B9BE; }
.hr-sent .orig.good { border-left-color: #BFE3CF; background: #FBFDFC; }
.hr-sent .fixed { color: #23483A; background: #F7FBF9; border-left: 3px solid #9FD8B8; }
.hr-sent .orig em, .hr-sent .fixed em { font-style: normal; display: block; font-size: 10.5px; letter-spacing: .16em; color: #9AA0B5; margin-bottom: 6px; }
.hr-sent .ex { padding: 10px 16px; border-top: 1px dashed var(--hw-line); font-size: 12.5px; color: var(--hw-muted); line-height: 1.8; }
.hr-sent .ex b { color: var(--hw-violet-d); }

.hr-essay { background: var(--hw-essay); border: 1px solid #EFE7D2; border-radius: 12px; padding: 30px 34px; }
.hr-essay .eh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hr-essay .eh b { font-size: 15px; color: var(--hw-ink); }
.hr-essay .eh .band { font-size: 11.5px; font-weight: 800; color: #A66A0B; background: #FDF3E2; border: 1px solid #F2DDB4; padding: 4px 12px; border-radius: 999px; }
.hr-essay p { font-family: Georgia, 'Times New Roman', serif; font-size: 15.5px; line-height: 2.05; color: #2E3145; margin: 0 0 14px; }
.hr-essay .wc { font-size: 11.5px; color: #A9A18C; border-top: 1px dashed #E4DCC6; padding-top: 12px; }
.hr-cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hr-cmp .c { border: 1px solid var(--hw-line); border-radius: 12px; padding: 18px; background: #fff; transition: all .25s; animation: hwRise .5s both; }
.hr-cmp .c:hover { border-color: #C9BFE8; box-shadow: 0 10px 24px rgba(121, 95, 194, .12); transform: translateY(-2px); }
.hr-cmp .c .n { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--hw-violet), var(--hw-blue)); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.hr-cmp .c p { font-size: 12.5px; line-height: 1.85; color: #3C4059; margin: 0; }
.hr-consume { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hr-consume .tile { border: 1px solid var(--hw-line); border-radius: 12px; padding: 16px 18px; background: #FAFAFF; }
.hr-consume .tile span { font-size: 11px; color: var(--hw-muted); letter-spacing: .06em; }
.hr-consume .tile b { display: block; font-size: 21px; font-weight: 800; color: var(--hw-ink); margin-top: 6px; }
.hr-consume .tile b.gold { color: var(--hw-amber); }
.hr-consume .tile b.green { color: var(--hw-green); }
.hr-consume .tile b.violet { color: var(--hw-violet-d); }
.hr-note { margin-top: 14px; font-size: 12px; color: var(--hw-muted); line-height: 1.8; }

.hr-wait { text-align: center; padding: 74px 20px; }
.hr-wait .orb { width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%; border: 3px solid #E7E2F6; border-top-color: var(--hw-violet); animation: hwSpin 1s linear infinite; position: relative; }
.hr-wait .orb::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 3px solid #E5F4FA; border-bottom-color: var(--hw-cyan); animation: hwSpin 1.6s linear infinite reverse; }
.hr-wait b { font-size: 18px; color: var(--hw-ink); display: block; margin-bottom: 8px; }
.hr-wait span { font-size: 13px; color: var(--hw-muted); }
.hr-wait .el { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--hw-violet-d); background: #F0EBFB; padding: 5px 14px; border-radius: 999px; }
.hr-fail { text-align: center; padding: 60px 24px; }
.hr-fail .ic { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; background: #FCEBED; color: var(--hw-red); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.hr-fail b { font-size: 17px; color: var(--hw-ink); display: block; margin-bottom: 8px; }
.hr-fail p { font-size: 13px; color: var(--hw-muted); margin: 0 0 6px; line-height: 1.8; }
.hr-fail .rf { color: var(--hw-green); font-size: 13px; font-weight: 700; }
.hr-fail .hw-btn { margin-top: 20px; }
.hr-wrap { padding-bottom: 70px; }

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
    .hw-hero .w12 { grid-template-columns: 1fr; gap: 30px; }
    .hw-specimen { max-width: 460px; }
    .hw-main { grid-template-columns: 1fr; }
    .hr-band { grid-template-columns: 1fr; }
    .hr-cmp { grid-template-columns: 1fr; }
    .hr-consume { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .hw-thead { display: none; }
    .hw-hrow { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 14px 16px; }
    .hw-hrow .f { flex: 1 1 100%; }
    .hw-acts { margin-left: auto; }
}
@media (max-width: 640px) {
    .hw-hero { padding: 36px 0 64px; }
    .hw-hero h1 { font-size: 31px; }
    .hw-submitbar { flex-direction: column; align-items: stretch; text-align: center; }
    .hr-sent .sb { grid-template-columns: 1fr; }
    .hr-sent .orig { border-right: none; border-bottom: 1px solid var(--hw-line); }
    .hr-dims .dim { grid-template-columns: 108px 1fr 38px; }
    .hr-essay { padding: 22px 18px; }
    .hw-toast { left: 12px; right: 12px; max-width: none; }
    .hr-top .meta b { max-width: 200px; }
}