:root {
    --primary: #5265f6;
    --primary-dark: #4053ec;
    --ink: #171a25;
    --muted: #737887;
    --line: #e8eaf2;
    --surface: #ffffff;
    --soft: #f7f8fd;
    --sidebar: 194px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; line-height: 1.5; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.zm-app { min-height: 100vh; }
.zm-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar); padding: 27px 16px 24px; display: flex; flex-direction: column; border-right: 1px solid #eceef5; background: rgba(255,255,255,.98); }
.zm-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.zm-brand picture, .zm-brand > img { width: 40px; flex: 0 0 40px; }
.zm-brand picture img { width: 40px; height: 47px; object-fit: contain; }
.zm-brand span { display: grid; min-width: 0; }
.zm-brand strong { font-size: 19px; letter-spacing: -.04em; white-space: nowrap; }
.zm-brand small { margin-top: 2px; color: #858997; font-size: 9px; white-space: nowrap; }
.zm-side-nav { margin-top: 36px; display: grid; gap: 5px; }
.zm-side-nav button { width: 100%; height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 22px; color: #555c6a; background: transparent; text-align: left; font-size: 13px; transition: .18s ease; }
.zm-side-nav button i { width: 16px; color: #6f7685; font-size: 14px; text-align: center; }
.zm-side-nav button:hover, .zm-side-nav button.is-active { color: var(--primary); background: linear-gradient(90deg, #eef0ff, #f0efff); }
.zm-side-nav button.is-active i { color: var(--primary); }

.zm-history-card { margin-top: 28px; min-height: 210px; padding: 14px 12px 15px; overflow: hidden; border-radius: 14px; background: linear-gradient(155deg, #f1f6ff 0%, #f3f0ff 100%); text-align: center; }
.zm-history-art { height: 92px; display: grid; place-items: center; }
.zm-history-art img { width: 125px; max-height: 92px; object-fit: contain; }
.zm-history-card h2 { margin: 4px 0 3px; font-size: 13px; }
.zm-history-card p { margin: 0 0 9px; color: #7a8090; font-size: 10px; }
.zm-history-card > a { min-width: 90px; height: 28px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; color: #fff; background: linear-gradient(100deg, #546cf8, #674cf3); font-size: 11px; font-weight: 700; }
.zm-history-list { display: grid; gap: 5px; text-align: left; }
.zm-history-list:empty { display: none; }
.zm-history-list a { height: 31px; padding: 0 8px; display: flex; align-items: center; gap: 7px; border-radius: 9px; background: rgba(255,255,255,.75); font-size: 10px; font-weight: 600; }
.zm-history-list img { width: 23px; height: 23px; object-fit: contain; }
.zm-history-card.has-history { min-height: 210px; }
.zm-history-card.has-history .zm-history-art { display: none; }
.zm-history-card.has-history h2 { margin-top: 0; margin-bottom: 8px; }
.zm-history-card.has-history p, .zm-history-card.has-history > a { display: none; }

.zm-main { margin-left: var(--sidebar); min-width: 0; }
.zm-content { width: min(100% - 38px, 1100px); margin: 0 auto; padding: 24px 0 28px; }
.zm-topbar { display: flex; align-items: center; gap: 28px; }
.zm-search { height: 42px; flex: 1; padding: 0 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #e3e6ef; border-radius: 24px; background: #fbfbfd; }
.zm-search i { color: var(--primary); font-size: 17px; }
.zm-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #343845; background: transparent; font-size: 12px; }
.zm-search input::placeholder { color: #9296a4; }
.zm-search button { border: 0; background: transparent; color: var(--primary); font-size: 11px; font-weight: 700; }
.zm-browse-button { height: 40px; padding: 0 22px; display: inline-flex; align-items: center; gap: 9px; border-radius: 22px; color: #fff; background: linear-gradient(100deg, #5669f7, #5448eb); box-shadow: 0 8px 18px rgba(81, 87, 238, .18); font-size: 12px; font-weight: 700; white-space: nowrap; }

.zm-hero { position: relative; min-height: 250px; margin-top: 23px; padding: 40px 36px 30px; overflow: hidden; display: flex; align-items: center; border: 1px solid #edf0ff; border-radius: 14px; background: radial-gradient(circle at 80% 18%, rgba(244,222,255,.9), transparent 30%), radial-gradient(circle at 63% 80%, rgba(210,235,255,.82), transparent 34%), linear-gradient(115deg, #f8fbff 0%, #f4f5ff 51%, #f4efff 100%); }
.zm-hero::after { content: ""; position: absolute; right: -40px; bottom: -110px; width: 430px; height: 220px; transform: rotate(-8deg); background: linear-gradient(130deg, rgba(255,255,255,0), rgba(205,211,255,.45)); }
.zm-hero-copy { position: relative; z-index: 2; max-width: 63%; }
.zm-hero-copy > p { margin: 0 0 13px; color: #555b69; font-size: 12px; }
.zm-hero h1 { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.25; letter-spacing: -.055em; }
.zm-hero h1 span { color: var(--primary); }
.zm-hero-summary { margin-top: 13px; color: #6c7281; font-size: 12px; }
.zm-hero-features { margin-top: 28px; display: flex; gap: 27px; }
.zm-hero-features > div { display: flex; align-items: center; gap: 9px; }
.zm-hero-features i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #5367f4; background: #e9efff; font-size: 13px; }
.zm-hero-features > div:nth-child(2) i { color: #16af9a; background: #e4faf6; }
.zm-hero-features > div:nth-child(3) i { color: #4a68f2; background: #e9eeff; }
.zm-hero-features span { display: grid; }
.zm-hero-features strong { font-size: 10px; }
.zm-hero-features small { color: #858a97; font-size: 8px; white-space: nowrap; }
.zm-hero-art { position: absolute; z-index: 1; right: 8px; bottom: 0; width: 38%; }
.zm-hero-art img { width: 100%; max-height: 238px; object-fit: contain; object-position: right bottom; }

.zm-rankings { margin-top: 19px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.zm-ranking-panel { padding: 17px 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.zm-ranking-panel h2 { margin: 0 0 14px; font-size: 15px; }
.zm-ranking-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.zm-ranking-card { min-height: 155px; padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; border: 1px solid #eceef3; border-radius: 10px; background: #fff; text-align: center; transition: .18s ease; }
.zm-ranking-card:hover { transform: translateY(-2px); border-color: #d6dafe; box-shadow: 0 9px 22px rgba(49,59,120,.08); }
.zm-ranking-card img { width: 64px; height: 64px; object-fit: contain; }
.zm-ranking-card strong { width: 100%; margin-top: 5px; overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.zm-ranking-card small { width: 100%; margin-top: 5px; display: -webkit-box; overflow: hidden; color: #858a96; font-size: 9px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.zm-all-tools { margin-top: 25px; scroll-margin-top: 18px; }
.zm-all-tools > h2 { margin: 0; font-size: 17px; }
.zm-tabs { margin-top: 9px; display: flex; align-items: center; gap: 5px 18px; overflow-x: auto; border-bottom: 1px solid #eef0f5; scrollbar-width: none; }
.zm-tabs::-webkit-scrollbar { display: none; }
.zm-tabs button { position: relative; height: 38px; padding: 0; border: 0; color: #6f7482; background: transparent; font-size: 10px; white-space: nowrap; }
.zm-tabs button::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; }
.zm-tabs button:hover, .zm-tabs button.is-active { color: var(--primary); }
.zm-tabs button.is-active::after { background: var(--primary); }
.zm-search-state { margin: 13px 0 0; padding: 9px 12px; border-radius: 8px; color: #5864af; background: #f1f3ff; font-size: 11px; }
.zm-tools-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px 12px; }
.zm-tool-card { min-height: 74px; padding: 11px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #ebedf2; border-radius: 10px; background: #fff; transition: .18s ease; }
.zm-tool-card:hover { transform: translateY(-2px); border-color: #d3d8fd; box-shadow: 0 8px 20px rgba(44,54,102,.07); }
.zm-tool-card[hidden] { display: none !important; }
.zm-tool-card img { width: 43px; height: 43px; flex: 0 0 43px; object-fit: contain; }
.zm-tool-card span { min-width: 0; display: grid; gap: 3px; }
.zm-tool-card strong { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.zm-tool-card small { overflow: hidden; color: #858a96; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }

.zm-video-promo { min-height: 108px; margin-top: 13px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; border: 1px solid #edf0fa; border-radius: 12px; background: linear-gradient(108deg, #fafbff 0%, #f3f1ff 100%); }
.zm-video-promo strong { font-size: 12px; }
.zm-video-promo strong span { margin-left: 6px; padding: 3px 7px; border-radius: 5px; color: #6558e9; background: #e9e6ff; font-size: 9px; }
.zm-video-promo p { margin: 7px 0 0; color: #858a98; font-size: 9px; }
.zm-video-promo img { width: 94px; height: 94px; object-fit: contain; }
.zm-benefits { margin-top: 18px; padding: 13px 22px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #e6e9f1; border-radius: 12px; background: #fbfcff; }
.zm-benefits > div { min-height: 52px; padding: 0 23px; display: flex; align-items: center; gap: 12px; border-right: 1px solid #e7eaf2; }
.zm-benefits > div:first-child { padding-left: 0; }
.zm-benefits > div:last-child { padding-right: 0; border-right: 0; }
.zm-benefits img { width: 42px; height: 42px; object-fit: contain; }
.zm-benefits span { display: grid; gap: 3px; }
.zm-benefits strong { font-size: 12px; }
.zm-benefits small { color: #848a98; font-size: 9px; }

.zm-footer { position: relative; z-index: 31; width: calc(100% + var(--sidebar)); min-height: 106px; margin-left: calc(-1 * var(--sidebar)); padding: 24px 31px 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 24px; border-top: 1px solid #eef0f4; background: #fbfcfe; color: #7c8290; }
.zm-footer-brand { display: flex; align-items: center; gap: 9px; }
.zm-footer-brand img { object-fit: contain; }
.zm-footer-brand span { display: grid; }
.zm-footer-brand strong { color: #252936; font-size: 15px; }
.zm-footer-brand small { font-size: 8px; }
.zm-footer nav { justify-self: end; display: flex; gap: 34px; color: #4f5563; font-size: 10px; }
.zm-footer a:hover { color: var(--primary); }
.zm-footer > p { grid-column: 1 / -1; margin: 0; font-size: 8px; }
.zm-mobile-header, .zm-mobile-categories { display: none; }

@media (min-width: 1360px) {
    :root { --sidebar: 232px; }
    .zm-sidebar { padding-right: 24px; padding-left: 24px; }
    .zm-content { width: min(100% - 56px, 1180px); }
}

@media (max-width: 900px) {
    :root { --sidebar: 174px; }
    .zm-sidebar { padding-right: 12px; padding-left: 12px; }
    .zm-brand small { display: none; }
    .zm-hero-copy { max-width: 72%; }
    .zm-hero-art { width: 42%; opacity: .62; }
    .zm-hero-features { gap: 14px; }
    .zm-hero-features small { display: none; }
    .zm-rankings { grid-template-columns: 1fr; }
    .zm-tools-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .zm-sidebar { display: none; }
    .zm-main { margin-left: 0; }
    .zm-mobile-header { position: sticky; top: 0; z-index: 40; height: 62px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eceef4; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
    .zm-mobile-header .zm-brand strong { font-size: 16px; }
    .zm-mobile-header button { width: 38px; height: 38px; border: 0; border-radius: 12px; color: var(--primary); background: #f0f2ff; }
    .zm-mobile-categories { position: sticky; top: 62px; z-index: 35; padding: 8px 14px; overflow-x: auto; gap: 7px; border-bottom: 1px solid #eceef4; background: #fff; scrollbar-width: none; }
    .zm-mobile-categories.is-open { display: flex; }
    .zm-mobile-categories button { height: 30px; padding: 0 12px; flex: 0 0 auto; border: 0; border-radius: 16px; color: #666d7c; background: #f5f6fa; font-size: 11px; }
    .zm-mobile-categories button.is-active { color: #fff; background: var(--primary); }
    .zm-content { width: calc(100% - 28px); padding-top: 16px; }
    .zm-topbar { gap: 9px; }
    .zm-search { height: 40px; padding: 0 13px; }
    .zm-search button { display: none; }
    .zm-browse-button { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .zm-browse-button span, .zm-browse-button { font-size: 0; }
    .zm-browse-button i { font-size: 14px; }
    .zm-hero { min-height: 328px; padding: 28px 22px 150px; align-items: flex-start; }
    .zm-hero-copy { max-width: 100%; }
    .zm-hero h1 { font-size: 27px; }
    .zm-hero-summary { line-height: 1.7; }
    .zm-hero-features { margin-top: 21px; gap: 16px; }
    .zm-hero-features strong { font-size: 9px; }
    .zm-hero-art { right: 50%; bottom: -12px; width: 220px; transform: translateX(50%); opacity: 1; }
    .zm-rankings { gap: 11px; }
    .zm-ranking-panel { padding: 15px 11px; }
    .zm-ranking-card { min-height: 138px; }
    .zm-ranking-card img { width: 54px; height: 54px; }
    .zm-tabs { gap: 15px; }
    .zm-tools-grid { grid-template-columns: 1fr; }
    .zm-tool-card { min-height: 70px; }
    .zm-benefits { grid-template-columns: 1fr; padding: 8px 16px; }
    .zm-benefits > div, .zm-benefits > div:first-child, .zm-benefits > div:last-child { min-height: 64px; padding: 0; border-right: 0; border-bottom: 1px solid #e7eaf2; }
    .zm-benefits > div:last-child { border-bottom: 0; }
    .zm-footer { width: 100%; margin-left: 0; padding: 22px 18px; grid-template-columns: 1fr; }
    .zm-footer nav { justify-self: start; gap: 22px; }
    .zm-footer > p { grid-column: auto; }
}

@media (max-width: 390px) {
    .zm-ranking-card { padding-right: 5px; padding-left: 5px; }
    .zm-ranking-card strong { font-size: 11px; }
    .zm-ranking-card small { font-size: 8px; }
    .zm-hero-features { gap: 9px; }
}

/* 2026-08-15 字体系统优化：统一字族、字号层级与正文可读性 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; }
.zm-brand strong { font-size: 20px; line-height: 1.3; font-weight: 750; }
.zm-brand small { font-size: 11px; line-height: 1.45; }
.zm-side-nav button { height: 42px; font-size: 14px; font-weight: 550; }
.zm-history-card h2 { font-size: 15px; line-height: 1.4; }
.zm-history-card p { font-size: 12px; line-height: 1.55; }
.zm-history-card > a { height: 31px; font-size: 12px; }
.zm-history-list a { height: 34px; font-size: 12px; }
.zm-search input { font-size: 14px; }
.zm-search button, .zm-browse-button { font-size: 13px; }
.zm-hero-copy > p, .zm-hero-summary { font-size: 14px; line-height: 1.7; }
.zm-hero-features strong { font-size: 12px; line-height: 1.35; }
.zm-hero-features small { font-size: 10.5px; line-height: 1.45; }
.zm-ranking-panel h2 { font-size: 18px; line-height: 1.35; }
.zm-ranking-card strong { font-size: 14px; line-height: 1.4; }
.zm-ranking-card small { font-size: 11.5px; line-height: 1.55; }
.zm-all-tools > h2 { font-size: 21px; line-height: 1.35; }
.zm-tabs button { font-size: 12.5px; }
.zm-search-state { font-size: 13px; }
.zm-tool-card { min-height: 80px; }
.zm-tool-card strong { font-size: 14px; line-height: 1.4; }
.zm-tool-card small { font-size: 11.5px; line-height: 1.5; }
.zm-video-promo strong { font-size: 14px; }
.zm-video-promo strong span { font-size: 11px; }
.zm-video-promo p { font-size: 12px; line-height: 1.55; }
.zm-benefits strong { font-size: 14px; }
.zm-benefits small { font-size: 11px; line-height: 1.5; }
.zm-footer-brand strong { font-size: 17px; }
.zm-footer-brand small { font-size: 10.5px; }
.zm-footer nav { font-size: 12px; }
.zm-footer > p { font-size: 10.5px; }

@media (max-width: 700px) {
    .zm-mobile-header .zm-brand strong { font-size: 18px; }
    .zm-mobile-categories button { font-size: 12px; }
    .zm-hero h1 { font-size: 29px; }
    .zm-hero-features strong { font-size: 11px; }
    .zm-ranking-card strong { font-size: 13px; }
    .zm-ranking-card small { font-size: 10.5px; }
}

@media (max-width: 390px) {
    .zm-ranking-card strong { font-size: 12px; }
    .zm-ranking-card small { font-size: 10px; }
}
