:root {
    --red: #c9302c;
    --text: #333;
    --muted: #999;
    --line: #eee;
    --bg: #f5f5f5;
}

* { box-sizing: border-box; }

body.m {
    margin: 0; background: var(--bg); color: var(--text);
    font: 15px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    padding-bottom: 20px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.m-header {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    background: var(--red); color: #fff; position: sticky; top: 0; z-index: 10;
}
.m-logo { font-size: 19px; font-weight: 700; color: #fff; }
.m-search { flex: 1; display: flex; margin-left: 6px; }
.m-search input {
    flex: 1; min-width: 0; height: 32px; border: 0; border-radius: 3px 0 0 3px;
    padding: 0 10px; font-size: 13px; outline: none;
}
.m-search button {
    width: 52px; height: 32px; border: 0; border-radius: 0 3px 3px 0;
    background: #8f1f1c; color: #fff; font-size: 13px;
}
.m-host { font-size: 12px; white-space: nowrap; }
.m-host a { color: #ffdede; }
.m-host .dev-switch { margin-left: 6px; color: #ffe9a8; }

.m-nav {
    display: flex; background: #fff; border-bottom: 1px solid var(--line);
    overflow-x: auto; white-space: nowrap;
}
.m-nav a { flex: 1; text-align: center; padding: 11px 8px; font-size: 14px; color: #444; }
.m-nav a:hover { color: var(--red); }

.m-main { padding: 10px 0 0; }
.m-section { background: #fff; margin: 10px 0; padding: 14px 12px; }
.m-section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 10px;
}
.m-section-head h1, .m-section-head h2 { font-size: 17px; }
.m-section-head span, .m-section-head a { color: var(--muted); font-size: 12px; }

.m-hero {
    background: linear-gradient(120deg, #9e1f1c, #c9302c 60%, #e05a3f);
    color: #fff; padding: 26px 16px 28px;
}
.m-hero h1 { font-size: 23px; letter-spacing: 1px; }
.m-hero p { font-size: 13px; opacity: .9; margin-top: 6px; }

.m-news-list li { border-bottom: 1px dashed var(--line); }
.m-news-list li:last-child { border-bottom: 0; }
.m-news-list a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; }
.m-news-title { flex: 1; font-size: 15px; line-height: 1.55; color: #222; }
.m-news-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }

.m-award-year { margin: 16px 0 6px; }
.m-award-year h2 {
    font-size: 15px; color: #222; border-left: 3px solid var(--red);
    padding-left: 8px; margin-bottom: 4px;
}
.m-award-year h2 span { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.m-award-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.m-award-list li:last-child { border-bottom: 0; }
.m-award-list img { width: 46px; height: 30px; object-fit: contain; }
.m-award-rank {
    width: 20px; height: 20px; line-height: 20px; text-align: center; flex: none;
    background: var(--red); color: #fff; font-size: 11px; border-radius: 2px;
}
.m-award-list a { color: #222; }

.m-brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-brand {
    border: 1px solid var(--line); padding: 10px 4px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 72px;
}
.m-brand img { height: 34px; object-fit: contain; }
.m-brand span { font-size: 12px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.m-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-gallery-grid a { display: block; }
.m-gallery-grid img { width: 100%; height: 92px; object-fit: cover; display: block; }
.m-gallery-grid span {
    display: block; font-size: 12px; padding: 4px 2px 8px; color: #555;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.m-crumb { padding: 10px 12px 2px; color: var(--muted); font-size: 12px; }
.m-crumb a { color: var(--muted); }

.m-pager, .pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 0; font-size: 13px; }
.pager a, .pager span, .m-pager a, .m-pager span {
    display: inline-block; padding: 5px 11px; border: 1px solid var(--line); background: #fff;
}
.pager a, .m-pager a { color: #555; }
.pager-current { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.pager-total { border: 0 !important; background: transparent !important; color: var(--muted); }

.m-cta, .m-btn {
    display: block; margin: 14px 12px; padding: 12px 0; text-align: center;
    background: var(--red); color: #fff; font-size: 16px; border: 0; border-radius: 3px; width: calc(100% - 24px);
}
.m-section .m-cta, .m-section .m-btn { margin-left: 0; margin-right: 0; width: 100%; }
.m-btn { cursor: pointer; }

.m-article { background: #fff; margin: 10px 0; padding: 14px 12px 20px; }
.m-article h1 { font-size: 21px; line-height: 1.5; color: #1f1f1f; }
.m-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 8px; }
.m-article-body { padding: 14px 0; font-size: 16px; line-height: 1.9; }
.m-article-body img { max-width: 100%; height: auto; }
.m-article-body p { margin: 0 0 14px; }
.m-article-images img { width: 100%; height: auto; margin-bottom: 8px; }
.m-company { margin-top: 12px; padding: 10px 12px; background: #fafafa; border: 1px solid var(--line); font-size: 13px; }
.m-company p { color: #666; margin-top: 4px; }

.m-title { font-size: 21px; }
.m-sub { color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.m-form { display: flex; flex-direction: column; gap: 12px; }
.m-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #444; }
.m-form input, .m-form select {
    height: 40px; border: 1px solid #ddd; padding: 0 10px; font-size: 14px; outline: none;
    border-radius: 3px; background: #fff;
}
.m-form input:focus, .m-form select:focus { border-color: var(--red); }
.m-honeypot { position: absolute; left: -9999px; }
.m-form-message { font-size: 13px; color: var(--muted); min-height: 20px; }
.m-form-message.success { color: #1a8f3a; }
.m-form-message.error { color: var(--red); }
.m-empty { padding: 24px 0; color: var(--muted); text-align: center; }
.m-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.m-tag-cloud a { padding: 7px 14px; background: #f7f7f7; border: 1px solid var(--line); font-size: 13px; color: #555; }
.m-search-summary { color: var(--muted); font-size: 13px; margin: 10px 0; }
.m-search-page { margin: 0 0 8px; }

.m-footer { margin-top: 16px; padding: 18px 12px 26px; text-align: center; color: #999; font-size: 12px; }
.m-footer a { color: #777; margin: 0 8px; }
.m-notfound { padding: 60px 20px; text-align: center; }
.m-notfound h1 { font-size: 24px; }
.m-notfound p { color: var(--muted); margin: 12px 0; }
