[hidden] { display: none !important; }

:root {
    --bg: #f8f1df;
    --panel: rgba(255, 253, 247, 0.9);
    --panel-soft: rgba(247, 236, 212, 0.9);
    --border: #dcccaa;
    --text: #3b2f23;
    --muted: #7a6a52;
    --accent: #3f8a58;
    --green: #2e7d4f;
    --danger: #bf4a3f;
    --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
    --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    min-height: 100vh;
    background:
        repeating-linear-gradient(0deg, rgba(140, 105, 55, 0.055) 0 1px, transparent 1px 80px),
        repeating-linear-gradient(90deg, rgba(140, 105, 55, 0.04) 0 1px, transparent 1px 80px),
        radial-gradient(ellipse at 20% 0%, rgba(214, 158, 62, 0.18), transparent 45%),
        radial-gradient(ellipse at 85% 100%, rgba(181, 86, 36, 0.08), transparent 42%),
        linear-gradient(180deg, #f2e5c8 0%, #fbf5e6 48%, #f7eed9 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-sans);
}

.home-shell { width: min(1040px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0; }
.home-header { position: relative; margin-bottom: 1.5rem; text-align: center; }
.home-title-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; }
.home-header h1 { margin: 0.35rem 0 0; color: #45321f; font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: 0.12em; text-shadow: 0 2px 10px rgba(120, 90, 40, 0.22); }
.home-version { color: #6f5a3f; font-size: 0.88rem; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 6px rgba(120, 90, 40, 0.18); }
.changelog-wrap { position: relative; }
.changelog-toggle { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.18rem 0.55rem; border: 1px solid rgba(111, 90, 63, 0.28); border-radius: 999px; background: rgba(255, 253, 247, 0.55); line-height: 1.3; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.changelog-toggle:hover, .changelog-toggle[aria-expanded="true"] { border-color: rgba(63, 138, 88, 0.55); background: rgba(63, 138, 88, 0.08); }
.changelog-caret { display: inline-block; color: var(--accent); font-size: 0.72rem; transition: transform 0.15s; }
.changelog-toggle[aria-expanded="true"] .changelog-caret { transform: rotate(180deg); }
.changelog-popover { position: absolute; z-index: 30; top: calc(100% + 0.6rem); left: 50%; width: min(420px, 86vw); transform: translateX(-50%); padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); box-shadow: 0 16px 36px rgba(90, 66, 32, 0.18); text-align: left; }
.changelog-popover[hidden] { display: none !important; }

.archive-import-panel { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-bottom: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); box-shadow: 0 12px 32px rgba(120, 90, 40, 0.13); }
.archive-import-copy { text-align: center; }
.archive-import-copy > p { margin-top: 0.4rem; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.archive-import-copy code { color: var(--text); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.archive-import-role strong { color: var(--text); }
.archive-import-tip { margin-top: 0.55rem; color: var(--muted); font-size: 0.72rem; line-height: 1.55; }
.archive-import-actions { min-width: 10.5rem; text-align: center; }
.archive-import-button { width: 100%; font-weight: 650; }
.archive-import-button:focus-within { outline: 2px solid rgba(79, 154, 102, 0.45); outline-offset: 2px; }
.archive-import-button.is-clear { border-color: rgba(191, 74, 63, 0.45); background: rgba(191, 74, 63, 0.07); color: var(--danger); }
.archive-import-button.is-clear:focus-within { outline-color: rgba(191, 74, 63, 0.45); }
.archive-import-actions .home-message { min-height: 1.1rem; margin-top: 0.45rem; }

.home-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.home-panel { margin-bottom: 1rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); box-shadow: 0 12px 32px rgba(120, 90, 40, 0.13); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.panel-heading h2 { margin-top: 0.18rem; font-family: var(--font-serif); font-size: 1.15rem; }
.status-badge { padding: 0.35rem 0.65rem; border: 1px solid rgba(79, 154, 102, 0.4); border-radius: 999px; color: var(--accent); font-size: 0.78rem; }
.home-save-badge { padding: 0.14rem 0.45rem; font-size: 0.66rem; line-height: 1.3; }
.home-save-badge.is-pending { border-color: rgba(191, 74, 63, 0.45); background: rgba(191, 74, 63, 0.08); color: var(--danger); }
.home-save-badge.is-success { border-color: rgba(79, 154, 102, 0.4); background: rgba(79, 154, 102, 0.08); color: var(--accent); }
.import-status-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.45rem; }
.home-role-badge { padding: 0.14rem 0.45rem; border-color: rgba(79, 154, 102, 0.4); background: rgba(79, 154, 102, 0.08); color: var(--accent); font-size: 0.66rem; font-weight: 600; line-height: 1.3; }
.home-main-role { display: flex; align-items: center; justify-content: space-between; margin: 1rem 0; padding: 0.8rem; border-radius: 9px; background: var(--panel-soft); }
.home-main-role span { color: var(--muted); font-size: 0.78rem; }
.home-main-role strong { color: var(--text); font-family: var(--font-serif); }

.save-version-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.8rem; }
.save-version-label[hidden] { display: none; }
.save-version-select { flex: 1; min-width: 0; padding: 0.48rem 0.6rem; border: 1px solid var(--border); border-radius: 7px; background: var(--bg); color: var(--text); font: inherit; }
.web-license-label { display: grid; gap: 0.45rem; margin-top: 0.85rem; color: var(--muted); font-size: 0.8rem; }
.web-license-label[hidden] { display: none; }
.web-license-input { width: 100%; padding: 0.62rem 0.7rem; border: 1px solid var(--border); border-radius: 7px; background: var(--bg); color: var(--text); font: inherit; }
.web-license-input:focus { border-color: rgba(79, 154, 102, 0.7); outline: none; }
.home-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.55rem; padding: 0.65rem 1rem; border: 1px solid transparent; border-radius: 8px; cursor: pointer; color: var(--text); font: 500 0.85rem var(--font-sans); text-decoration: none; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { border-color: rgba(79, 154, 102, 0.5); background: rgba(79, 154, 102, 0.12); color: #3f8a58; }
.btn-secondary { border-color: var(--border); background: transparent; color: var(--muted); }
.home-message { min-height: 1.5rem; margin-top: 0.8rem; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.home-message.is-success { color: var(--green); }
.home-message.is-error { color: var(--danger); }

.exporter-panel { display: flex; flex-direction: column; }
.exporter-panel > p { margin: 1rem 0; color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.exporter-download { width: 100%; margin-top: auto; }
.exporter-download[hidden] { display: none; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1.15rem; margin-top: 1rem; }
.module-card { display: flex; flex-direction: column; justify-content: center; gap: 0.38rem; min-height: 4.6rem; padding: 0.85rem 1.15rem; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-soft); color: var(--text); text-decoration: none; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.module-card:hover { transform: translateY(-2px); border-color: rgba(79, 154, 102, 0.55); background: rgba(79, 154, 102, 0.08); }
.module-card strong { display: block; color: var(--accent); font-family: var(--font-serif); font-size: 0.98rem; }
.module-card span { color: var(--muted); font-size: 0.75rem; line-height: 1.55; }

.changelog-panel { max-height: 34rem; overflow-y: auto; scrollbar-color: var(--border) transparent; }
.changelog-header { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.changelog-header h2 { font-family: var(--font-serif); font-size: 1.15rem; }
.changelog-kicker { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em; }
.changelog-entry { padding: 1rem 0 0.25rem; }
.changelog-entry + .changelog-entry { margin-top: 0.75rem; border-top: 1px solid var(--border); }
.changelog-entry.is-current { margin-top: 0.85rem; padding: 0.9rem; border: 1px solid rgba(181, 134, 46, 0.32); border-radius: 10px; background: rgba(181, 134, 46, 0.07); }
.changelog-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.changelog-meta h3 { color: var(--accent); font-family: var(--font-serif); font-size: 0.92rem; }
.changelog-meta time { color: var(--muted); font-size: 0.7rem; }
.changelog-entry ul { margin: 0.6rem 0 0 1.2rem; color: var(--muted); font-size: 0.78rem; line-height: 1.65; }
.changelog-entry li + li { margin-top: 0.3rem; }
.changelog-entry li::marker { color: var(--accent); }
.app-footer { padding: 0.5rem 0 1.5rem; color: var(--muted); font-size: 0.72rem; text-align: center; }
.app-footer a { color: var(--accent); }

@media (max-width: 760px) {
    .home-shell { width: min(100% - 1rem, 1040px); padding: 1.5rem 0; }
    .home-grid { grid-template-columns: 1fr; }
    .archive-import-panel { gap: 0.85rem; }
    .archive-import-actions { width: 100%; }
}

@media (max-width: 460px) {
    .home-header h1 { letter-spacing: 0.06em; }
    .home-title-row { gap: 0.55rem; }
    .home-version { font-size: 0.9rem; }
    .home-panel { padding: 1rem; }
    .home-actions, .save-version-label { align-items: stretch; flex-direction: column; }
    .save-version-select { width: 100%; }
    .module-grid { grid-template-columns: 1fr; }
    .module-card { min-height: auto; }
}

/* ── 不完整 HAR：拒绝导入并引导拉取完整云端存档 ── */
.har-incomplete-panel { margin-bottom: 1rem; padding: 1.15rem 1.25rem; border: 1px solid rgba(200, 120, 40, 0.5); border-radius: 14px; background: rgba(200, 120, 40, 0.08); box-shadow: 0 12px 32px rgba(120, 90, 40, 0.13); }
.har-incomplete-panel[hidden] { display: none; }
.har-incomplete-panel h2 { color: #b5651d; font-family: var(--font-serif); font-size: 1.1rem; }
.har-incomplete-message { margin-top: 0.35rem; color: var(--danger); font-size: 0.95rem; font-weight: 700; }
.har-incomplete-hint { margin-top: 0.75rem; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.har-incomplete-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.8rem; }
.har-incomplete-actions #btnPullCloudSave[hidden],
.har-incomplete-actions #btnDownloadCloudJson[hidden] { display: none; }
.har-incomplete-note { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }

/* ── HAR 存档信息 ── */
.har-info-panel { margin-bottom: 1rem; padding: 1.15rem 1.25rem; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); box-shadow: 0 12px 32px rgba(120, 90, 40, 0.13); }
.har-info-panel[hidden] { display: none; }
.har-info-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.55rem; }
.har-info-toggle { padding: 0.32rem 0.72rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(181, 134, 46, 0.06); color: var(--muted); font: 550 0.74rem var(--font-sans); cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.har-info-toggle:hover { border-color: rgba(181, 134, 46, 0.55); background: rgba(181, 134, 46, 0.12); color: var(--text); }
.har-info-toggle:focus-visible { outline: 2px solid rgba(181, 134, 46, 0.5); outline-offset: 2px; }
.har-info-body[hidden] { display: none; }
@media (max-width: 460px) {
    .har-info-panel .panel-heading { flex-wrap: wrap; }
    .har-info-heading-actions { width: 100%; justify-content: flex-start; }
}
.har-info-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem 1rem; margin-top: 1rem; }
.har-info-item { min-width: 0; padding: 0.65rem 0.75rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(181, 134, 46, 0.05); }
.har-info-item span { display: block; color: var(--muted); font-size: 0.72rem; }
.har-info-item strong { display: block; margin-top: 0.22rem; color: var(--text); font-size: 0.85rem; font-weight: 650; overflow-wrap: anywhere; cursor: default; }
#infoAccount { cursor: pointer; }
.har-info-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.har-info-actions .btn { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
.har-info-actions #btnDownloadHarJson[hidden] { display: none; }
.har-details { margin-top: 1rem; border-top: 1px dashed var(--border); padding-top: 0.8rem; }
.har-details summary { cursor: pointer; color: var(--muted); font-size: 0.8rem; }
.har-steps { display: grid; gap: 0.35rem; margin-top: 0.7rem; }
.har-step { display: flex; gap: 0.6rem; font-size: 0.76rem; line-height: 1.5; }
.har-step span { flex: 0 0 6.5rem; color: var(--muted); }
.har-step strong { color: var(--text); font-weight: 550; overflow-wrap: anywhere; }
.har-warnings { display: grid; gap: 0.4rem; margin-top: 0.6rem; }
.har-warning { padding: 0.5rem 0.7rem; border-radius: 8px; border: 1px solid rgba(200, 120, 40, 0.35); background: rgba(200, 120, 40, 0.08); color: var(--text); font-size: 0.76rem; }
.status-badge.is-warn { border-color: rgba(200, 120, 40, 0.5); color: #b5651d; }
@media (max-width: 980px) {
    .har-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .har-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .har-step { flex-direction: column; gap: 0.1rem; }
    .har-step span { flex: none; }
}

/* ── 导入说明：高亮关键约束（主站 JSON 导入区） ── */
.import-guide { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem 0.55rem; margin-top: 0.55rem; }
.import-guide .archive-import-tip { flex: 1 1 16rem; min-width: 0; margin-top: 0; }
.guide-badge { display: inline-flex; align-items: center; flex: none; padding: 0.16rem 0.5rem; border: 1px solid rgba(79, 154, 102, 0.4); border-radius: 999px; background: rgba(79, 154, 102, 0.1); color: #3f8a58; font-size: 0.68rem; font-weight: 650; letter-spacing: 0.03em; white-space: nowrap; }
.guide-json { padding: 0.08rem 0.35rem; border-radius: 6px; background: rgba(79, 154, 102, 0.1); color: #3f8a58; font-weight: 650; }
.guide-limit { padding: 0.08rem 0.35rem; border-radius: 6px; background: rgba(200, 120, 40, 0.1); color: #b5651d; font-weight: 600; }
.guide-download { padding: 0.08rem 0.35rem; border-radius: 6px; background: rgba(46, 125, 79, 0.1); color: var(--green); font-weight: 600; }
.guide-next { color: #3f8a58; font-weight: 600; }
.import-guide a { color: var(--danger); font-weight: 650; text-decoration-color: rgba(191, 74, 63, 0.45); text-underline-offset: 2px; }
.archive-import-tip .guide-line { display: block; }
.archive-import-tip .guide-line-secondary { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(191, 74, 63, 0.18); }
.guide-har-hint { color: var(--danger); font-weight: 650; }

/* ── HAR 转换独立页：标题、流程、提示与结果 ── */
.harhelp-shell { width: min(940px, calc(100% - 2rem)); margin: 0 auto; padding: 2.25rem 0 3rem; }
.harhelp-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.1rem;
    padding: 1.9rem 2rem;
    border: 1px solid rgba(79, 154, 102, 0.24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.75), transparent 36%),
        linear-gradient(135deg, rgba(79, 154, 102, 0.13), rgba(181, 134, 46, 0.11) 55%, rgba(46, 125, 79, 0.1));
    box-shadow: 0 16px 40px rgba(120, 90, 40, 0.12);
}
.harhelp-hero::after { content: ''; position: absolute; top: -5.5rem; right: -4rem; width: 15rem; height: 15rem; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; pointer-events: none; }
.harhelp-hero-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.harhelp-back { flex: none; }
.harhelp-back:hover { border-color: rgba(79, 154, 102, 0.65); background: rgba(79, 154, 102, 0.1); }
.harhelp-hero-content { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; text-align: center; }
.harhelp-kicker,
.harhelp-back {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.62rem;
    border: 1px solid rgba(79, 154, 102, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #3f8a58;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.harhelp-hero h1 { margin: 0.6rem 0 0.5rem; color: #45321f; font-family: var(--font-serif); font-size: clamp(1.7rem, 5vw, 2.5rem); letter-spacing: 0.04em; line-height: 1.25; }
.harhelp-title-word { font-family: var(--font-sans); font-size: 0.86em; font-weight: 700; letter-spacing: 0.06em; vertical-align: 0.04em; }
.harhelp-title-arrow { display: inline-flex; align-items: center; justify-content: center; width: 1.15em; height: 1.15em; margin: 0 0.16em; border-radius: 50%; background: rgba(181, 134, 46, 0.14); color: #b5651d; font-family: var(--font-sans); font-size: 0.66em; font-weight: 400; line-height: 1; vertical-align: 0.06em; }
.harhelp-subtitle-list { display: grid; justify-items: center; gap: 0.28rem; margin-top: 0.1rem; }
.harhelp-subtitle-list .harhelp-subtitle { text-align: center; }
.harhelp-subtitle { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.65; }
.harhelp-highlight { padding: 0.04rem 0.3rem; border-radius: 6px; background: rgba(79, 154, 102, 0.14); color: #3f8a58; font-weight: 650; }
.harhelp-danger { color: var(--danger); font-weight: 650; }
.harhelp-convert-panel { grid-template-columns: 1fr; justify-items: center; align-items: center; gap: 1rem; padding: 1.35rem; }
.harhelp-convert-panel .archive-import-copy { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; min-width: 0; width: 100%; }
.harhelp-convert-panel .archive-import-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
}
.harhelp-convert-panel .archive-import-actions .btn { width: auto; }
.harhelp-convert-panel .archive-import-actions .home-message { flex: 1 1 100%; text-align: center; }
.harhelp-convert-panel .harhelp-action-divider { display: none; }
.harhelp-convert-panel .harhelp-tip { margin-top: 0; }
.harhelp-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 0.45rem; }
.flow-step { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.34rem 0.65rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.68); box-shadow: 0 2px 8px rgba(120, 90, 40, 0.06); color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.flow-step b { display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(79, 154, 102, 0.14); color: #3f8a58; font-size: 0.7rem; }
.flow-step.is-active { border-color: rgba(79, 154, 102, 0.5); background: rgba(79, 154, 102, 0.1); color: #3f8a58; }
.flow-arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.15rem; height: 1.15rem; margin: 0 0.02rem; border-radius: 50%; background: rgba(181, 134, 46, 0.12); color: #b5651d; font-size: 0.85rem; line-height: 1; }
.harhelp-tip { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.harhelp-tip .guide-chip { width: auto; max-width: 100%; justify-content: center; text-align: center; white-space: normal; }
.guide-chip { display: inline-flex; align-items: center; padding: 0.28rem 0.58rem; border: 1px solid rgba(79, 154, 102, 0.28); border-radius: 999px; background: rgba(79, 154, 102, 0.08); color: #3f8a58; font-size: 0.72rem; line-height: 1.45; }
.guide-chip-warn { border-color: rgba(200, 120, 40, 0.38); background: rgba(200, 120, 40, 0.1); color: #b5651d; }
.guide-chip-next { border-color: rgba(46, 125, 79, 0.3); background: rgba(46, 125, 79, 0.08); color: var(--green); }
.harhelp-result { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.25rem 1.35rem; border-color: rgba(46, 125, 79, 0.4); background: linear-gradient(135deg, rgba(46, 125, 79, 0.09), var(--panel)); }
.harhelp-result .archive-import-copy { min-width: 0; }
.harhelp-result h2 { display: flex; align-items: center; gap: 0.5rem; color: var(--green); font-family: var(--font-serif); font-size: 1.2rem; }
.harhelp-result-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(46, 125, 79, 0.14); color: var(--green); font-size: 0.95rem; }
.harhelp-filename { display: inline-block; max-width: 100%; padding: 0.22rem 0.5rem; border-radius: 8px; background: rgba(79, 154, 102, 0.1); color: #3f8a58; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 0.88rem; font-weight: 650; overflow-wrap: anywhere; }
.harhelp-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.85rem; }
.harhelp-result .harhelp-actions { margin-top: 0; }
.harhelp-actions .btn { min-height: 2.4rem; }
.harhelp-action-divider { display: block; width: 100%; height: 1px; margin: 0.35rem 0; background: linear-gradient(90deg, transparent, var(--border), transparent); }
@media (max-width: 760px) {
    .harhelp-shell { width: min(100% - 1rem, 940px); padding: 1.25rem 0 2rem; }
    .harhelp-hero { padding: 1.45rem 1.15rem; border-radius: 14px; }
    .harhelp-hero::after { width: 10rem; height: 10rem; top: -3.5rem; right: -2.5rem; }
    .harhelp-hero h1 { margin-top: 0.5rem; }
    .harhelp-subtitle-list { gap: 0.22rem; }
    .harhelp-subtitle { font-size: 0.78rem; }
    .harhelp-convert-panel { grid-template-columns: 1fr; gap: 1rem; padding: 1.15rem 1rem; }
    .harhelp-flow { gap: 0.35rem; }
    .harhelp-tip { gap: 0.3rem; }
    .guide-chip { padding: 0.35rem 0.4rem; font-size: 0.68rem; }
    .harhelp-result { flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.1rem; }
    .harhelp-actions { width: 100%; }
    .harhelp-actions .btn { width: 100%; }
}
@media (max-width: 460px) {
    .harhelp-hero h1 { letter-spacing: 0.02em; }
    .flow-step { flex: 1 1 auto; justify-content: center; padding: 0.3rem 0.42rem; font-size: 0.7rem; }
    .flow-arrow { display: none; }
    .harhelp-tip .guide-chip { padding: 0.32rem 0.4rem; font-size: 0.66rem; border-radius: 8px; }
    .harhelp-filename { font-size: 0.8rem; }
}
