:root {
    --bg: #f5f6fa;
    --ink: #222236;
    --muted: #656570;
    --faint: #97979e;
    --line: #ececec;
    --purple: #5342f6;
    --purple-dark: #4334d8;
    --card: #fff;
    --width: 1140px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: var(--width); margin: 0 auto; }
.site-header {
    background: #fff;
    border-bottom: 1px solid #ececec;
    position: sticky;
    top: 0;
    z-index: 30;
}
.header-bar {
    width: min(1180px, calc(100% - 24px));
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto 270px;
    grid-template-areas: "logo nav lang search";
    align-items: center;
    gap: 4px 10px;
}
.logo-lockup { grid-area: logo; }
.header-bar .nav { grid-area: nav; }
.header-bar .lang-item { grid-area: lang; }
.header-bar .header-search { grid-area: search; width: 100%; }
.logo-lockup { margin: 0; font-size: inherit; font-weight: inherit; }
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1b1b28;
}
.logo-mark { width: 42px; height: 42px; display: block; flex: none; }
.logo-mark svg { width: 42px; height: 42px; display: block; }
.logo-word {
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #222236;
}
.logo-custom { width: 190px; height: 44px; object-fit: contain; object-position: left center; }
.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 0; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 78px;
    padding: 0 4px;
    text-decoration: none;
    color: #222236;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-link.active, .nav-link:hover, .nav-item:hover > .nav-link { color: #5342f6; }
.nav-ico { width: 36px; height: 36px; display: grid; place-items: center; color: #5342f6; }
.nav-link:hover .nav-ico, .nav-link.active .nav-ico, .nav-item:hover > .nav-link .nav-ico { color: #5342f6; }
.nav-ico svg { width: 36px; height: 36px; display: block; }
.detail-top h1, .prose h1 {
    font-family: Georgia, "Liberation Serif", "Times New Roman", Times, serif;
    font-weight: 700;
}
.nav-label {
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    color: #222236;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.nav-link.active .nav-label, .nav-link:hover .nav-label { color: #5342f6; }
.caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    display: inline-block;
    transition: transform .15s ease;
}
.nav-item:hover .caret, .lang-item:hover .caret { transform: rotate(180deg); }
.lang-item { position: relative; }
.lang-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: #222236;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}
.lang-code { display: flex; align-items: center; gap: 4px; line-height: 1; }
.flag {
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    flex: 0 0 22px;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.flag svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    max-height: 22px;
    display: block;
}
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 270px;
    height: 42px;
    padding: 3px 3px 3px 16px;
    border: 1px solid #5342f6;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}
.header-search:focus-within { border-color: #5342f6; }
.header-search input {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #222236;
    font-size: 14px;
    font-weight: 400;
}
.header-search input::placeholder { color: #b0b0b8; }
.header-search button {
    position: static;
    top: auto;
    right: auto;
    width: 34px;
    height: 34px;
    min-width: 34px;
    max-width: 34px;
    flex: 0 0 34px;
    border: 0;
    border-radius: 50%;
    background: #5342f6;
    display: grid;
    place-items: center;
    cursor: pointer;
}
html[dir="rtl"] .header-search { padding: 3px 16px 3px 3px; }
html[dir="rtl"] .header-search button { left: auto; border-radius: 50%; }
.header-search button:hover { background: var(--purple-dark); }
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    background: #fff;
    box-shadow: 0 1px 8px rgba(24, 24, 24, .12);
    border-radius: 6px;
    padding: 12px 8px;
    z-index: 40;
    min-width: 180px;
    max-height: 455px;
    overflow: auto;
}
.dropdown.cols-2 { width: 560px; grid-template-columns: 1fr 1fr; gap: 0 6px; }
.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    min-width: 0;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #222236;
    white-space: nowrap;
    overflow: hidden;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
}
.dropdown a img,
.cat-grid img,
.drop-link img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    max-height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}
.dropdown a:hover { color: var(--purple); background: #f5f6fa; }
.lang-item .dropdown { left: auto; right: 0; top: calc(100% + 6px); }
.dropdown.lang-drop {
    width: 680px;
    max-width: calc(100vw - 24px);
    max-height: 520px;
    padding: 12px;
    gap: 8px 10px;
    grid-template-columns: 1fr 1fr;
}
.lang-drop a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    height: 44px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #e6e6ee;
    border-radius: 999px;
    padding: 0 12px 0 8px;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #222236;
}
.lang-drop .flag,
.lang-drop .flag svg {
    width: 26px;
    height: 26px;
    min-width: 26px;
    max-width: 26px;
    flex: 0 0 26px;
}
.lang-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}
.lang-drop a.on { border-color: #d9d4ff; background: #f7f5ff; }
.lang-check { margin-inline-start: auto; color: #5b46f6; font-weight: 700; flex: none; }
.lang-item.open > .lang-drop { display: grid; }
@media (min-width: 1181px) {
    .nav-item:hover > .dropdown,
    .nav-item:focus-within > .dropdown { display: grid; }
    .dropdown:not(.cols-2) { display: none; }
    .nav-item:hover > .dropdown:not(.cols-2),
    .nav-item:focus-within > .dropdown:not(.cols-2) { display: block; }
}
.home-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 18px;
    margin-bottom: 28px;
}
.main-col { width: 804px; background: #fff; min-height: 200px; }
.side-col { width: 326px; }
.banner { position: relative; height: 360px; background: #1b1730; overflow: hidden; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    text-decoration: none;
}
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-name {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 64px;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px 12px;
    gap: 8px;
}
.slide-name span { font-weight: 500; font-size: 16px; opacity: .95; }
.banner-arrow {
    position: absolute;
    top: 42%;
    z-index: 3;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    opacity: .55;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.banner-arrow:hover { opacity: 1; }
.banner-arrow.prev { left: 14px; }
.banner-arrow.next { right: 14px; }
.banner-dots {
    position: absolute;
    z-index: 3;
    left: 0; right: 0;
    bottom: 74px;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.banner-dots button {
    width: 22px; height: 3px; border: 0; padding: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
}
.banner-dots button.on { background: #fff; }
.notice {
    margin: 16px 12px 0;
    background: #fff5f2;
    border: 1px solid #fdc7c5;
    border-radius: 12px;
    color: #eb2938;
    padding: 14px 16px;
    font-size: 15px;
}
.sec-head {
    height: 56px;
    background: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f2f2f4;
}
.sec-head h2, .sec-head h1 {
    margin: 0;
    padding: 0 17px;
    font-size: 18px;
    font-weight: 700;
    line-height: 56px;
    color: var(--ink);
}
.sec-head .more, .count-note { color: var(--faint); text-decoration: none; padding-right: 18px; font-size: 14px; }
.sec-head .more:hover { color: var(--purple); }
.sec-head.flat { background: transparent; border: 0; }
.glist { display: flex; flex-wrap: wrap; padding: 8px 4px 16px; }
.gcard { width: 33.333%; text-decoration: none; color: inherit; }
.gcard-in {
    position: relative;
    display: block;
    min-height: 110px;
    margin: 4px;
    padding: 15px 12px 16px 104px;
    border: 1px solid transparent;
    border-radius: 12px;
}
.gcard-in img {
    position: absolute;
    left: 12px;
    top: 15px;
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    background: #eee;
}
.gcard-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    height: 40px;
    color: #333;
}
.gscore { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-style: italic; color: var(--ink); }
.gscore.lg { font-style: normal; font-size: 15px; }
.star { width: 14px; height: 14px; }
.gdl {
    display: none;
    position: absolute;
    right: 12px;
    bottom: 14px;
    background: var(--purple);
    color: #fff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
}
.gcard-in:hover {
    background: #fff;
    border-color: #ededed;
    box-shadow: 2px 1px 10px rgba(0, 0, 0, .07);
    z-index: 2;
}
.gcard-in:hover .gdl { display: inline-block; }
.side-card { background: #fff; margin-bottom: 12px; }
.search-card { padding: 16px; }
.side-search { display: flex; border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; background: #fff; }
.side-search input, .page-search input {
    flex: 1;
    border: 0;
    padding: 10px 12px;
    outline: none;
    min-width: 0;
}
.side-search button {
    width: 42px;
    border: 0;
    background: var(--purple);
    color: #fff;
    cursor: pointer;
}
.side-tab {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--purple);
    font-weight: 600;
    border-bottom: 2px solid var(--purple);
}
.trend { display: flex; flex-direction: column; padding: 6px 0 10px; }
.trend a { text-decoration: none; color: var(--ink); padding: 7px 16px; }
.trend a:hover { color: var(--purple); }
.mini-list { padding: 6px 0 10px; }
.mini {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    padding: 8px 14px;
}
.mini img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: #eee; }
.mini strong, .mini em { display: block; }
.mini strong { font-size: 14px; font-weight: 600; }
.mini em { font-style: normal; color: var(--faint); font-size: 12px; margin-top: 2px; }
.mini:hover strong { color: var(--purple); }
.topic-row, .topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 16px; }
.topic-grid { grid-template-columns: repeat(3, 1fr); padding: 0; }
.topic-card { text-decoration: none; color: inherit; }
.topic-card img { width: 100%; height: 132px; object-fit: cover; border-radius: 12px; background: #eee; display: block; }
.topic-card strong { display: block; margin-top: 10px; font-size: 14px; }
.topic-card em { display: block; margin-top: 6px; color: var(--muted); font-style: normal; font-size: 13px; line-height: 1.45; }
.topic-card.big img { height: 180px; }
.article-list { padding: 8px 16px 16px; }
.article-list.roomy { padding-top: 16px; }
.article-row {
    display: flex;
    gap: 14px;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f4;
}
.article-row img { width: 168px; height: 96px; object-fit: cover; border-radius: 10px; background: #eee; flex: none; }
.article-row strong { display: block; font-size: 16px; line-height: 1.35; }
.article-row em { display: block; margin-top: 6px; color: var(--muted); font-style: normal; line-height: 1.45; }
.article-row small { display: block; margin-top: 8px; color: var(--faint); }
.article-row:hover strong { color: var(--purple); }
.site-footer { background: #fff; padding: 30px 0 20px; margin-top: 10px; }
.footer-friendly { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; margin-bottom: 18px; }
.footer-friendly-title { font-weight: 700; }
.footer-friendly a, .footer-friendly span { color: var(--muted); text-decoration: none; }
.footer-friendly a:hover { color: var(--purple); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.footer-grid h3 { margin: 0 0 16px; font-size: 14px; }
.foot-link { display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.foot-link i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex: none; }
.foot-link:hover { color: var(--purple); }
.footer-blurb { color: var(--muted); margin: 16px 0 0; line-height: 1.55; }
.footer-copy { text-align: center; color: var(--muted); border-top: 1px solid #e9ebf0; margin-top: 12px; padding-top: 18px; }
.footer-copy a { color: var(--purple); text-decoration: none; }
.page-pad { padding-bottom: 20px; }
.narrow { max-width: 820px; }
.narrow-top { padding-top: 8px; padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 17px 0; color: var(--faint); font-size: 13px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--purple); }
.lead { color: var(--muted); padding: 0 17px; line-height: 1.6; }
.sort-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 17px 0; }
.sort-tabs a {
    text-decoration: none;
    color: #999;
    padding: 8px 4px 10px;
    position: relative;
}
.sort-tabs a.on { color: var(--purple); }
.sort-tabs a.on::after {
    content: "";
    position: absolute;
    left: 15%; right: 15%; bottom: 4px;
    height: 2px;
    background: var(--purple);
}
.empty-inline { padding: 20px 17px; color: var(--muted); }
.empty-box { background: #fff; margin: 24px auto; padding: 40px 24px; text-align: center; border-radius: 12px; max-width: 640px; }
.empty-box img { width: 88px; height: 88px; border-radius: 20px; }
.empty-box h1 { font-size: 22px; }
.pager { display: flex; gap: 8px; justify-content: center; padding: 10px 0 24px; }
.pager a, .pager span {
    min-width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: 6px; text-decoration: none; background: #f5f6fa; color: var(--ink);
}
.pager .on { background: var(--purple); color: #fff; }
.detail-top { display: flex; gap: 16px; padding: 8px 17px 0; align-items: center; }
.detail-top img { width: 112px; height: 112px; border-radius: 24px; object-fit: cover; background: #eee; }
.detail-top h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.25; font-weight: 700; }
.detail-top h1 span { color: var(--purple); font-size: 22px; font-weight: 700; font-family: Georgia, "Liberation Serif", Times, serif; }
.detail-dev { margin: 0; color: var(--muted); }
.detail-dev a { color: var(--purple); text-decoration: none; }
.btn-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px 17px 0;
    height: 46px;
    background: var(--purple);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}
.btn-dl:hover { background: var(--purple-dark); }
.btn-dl.inline { display: inline-flex; margin: 12px 0 0; padding: 0 18px; width: auto; }
.versions { font-weight: 400; font-size: 12px; opacity: .95; }
.fine { color: var(--faint); padding: 8px 17px 0; margin: 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 17px 0; }
.share-label { color: var(--muted); font-weight: 700; margin-right: 4px; }
.share-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; border: 0; cursor: pointer; text-decoration: none;
}
.share-btn.is-copied { outline: 2px solid var(--purple); }
.faq-block { margin: 18px 0 8px; }
.faq-block h2 { margin-left: 17px; margin-right: 17px; }
.faq-item { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; margin: 12px 16px; overflow: hidden; }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border: 0;
    background: #fff;
    color: #222236;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.45;
    text-align: start;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.faq-q:hover { background: #fafafa; }
.faq-mark { width: 14px; flex: none; color: #222236; font-size: 12px; line-height: 1; }
.faq-mark::before { content: "▶"; }
.faq-item.open .faq-mark::before { content: "▼"; }
.faq-panel { display: none !important; }
.faq-item.open .faq-panel { display: block !important; }
.faq-panel-inner { min-height: 0; }
.faq-body { padding: 0 16px 14px 36px; color: #3a3a48; line-height: 1.7; }
.faq-body p { margin: 0 0 10px; }
.faq-body ul, .faq-body ol { margin: 0 0 10px; padding-inline-start: 18px; }
.faq-body a { color: var(--purple); }
.cat-board { margin-bottom: 16px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 4px 12px 14px; gap: 2px 18px; }
.cat-grid a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 10px;
    color: #222236;
    font-size: 15px;
    font-weight: 500;
}
.cat-grid a:hover { background: #f7f5ff; color: var(--purple); }
.social-rail { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 10px 16px; }
.rail-ico {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; text-decoration: none;
    box-shadow: 0 1px 2px rgba(24, 24, 24, .08);
}
.rail-ico:hover { transform: scale(1.08); }
.rail-facebook { background: #1877f2; }
.rail-twitter { background: #1da1f2; }
.rail-reddit { background: #ff4500; }
.rail-gmail { background: #fff; border: 1px solid #eee; }
.rail-tumblr { background: #001935; }
.qr-card { text-align: center; padding: 8px 12px 16px; }
.qr-frame { position: relative; display: inline-block; line-height: 0; }
.qr-card img { width: 156px; height: 156px; }
.qr-badge {
    position: absolute; left: 50%; top: 50%;
    width: 34px; height: 34px; transform: translate(-50%, -50%);
    background: #fff; border-radius: 8px;
    display: grid; place-items: center;
    box-shadow: 0 0 0 3px #fff;
}
.qr-badge svg { width: 26px; height: 26px; display: block; }
.qr-card a { display: block; margin-top: 8px; color: #222236; text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.25; }
.share-rail { display: none; }
@media (min-width: 1360px) {
    .share-rail {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 150px;
        right: 0;
        z-index: 25;
        width: 96px;
        padding: 10px 0 14px;
        background: #fff;
        box-shadow: 0 1px 6px rgba(24, 24, 24, .1);
    }
    .share-rail .rail-ico { width: 40px; height: 40px; margin: 11px 0; box-shadow: none; }
    .share-rail .qr-card { padding: 6px 6px 0; }
    .share-rail .qr-card img { width: 78px; height: 78px; }
    .share-rail .qr-badge { width: 22px; height: 22px; border-radius: 5px; }
    .share-rail .qr-badge svg { width: 16px; height: 16px; }
    .share-rail .qr-card a { font-size: 12px; font-weight: 500; }
    .side-col .social-rail, .side-col .social-rail + .side-card { display: none; }
}
html[dir="rtl"] .share-rail { right: auto; left: 0; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .nav-link, html[dir="rtl"] .foot-link, html[dir="rtl"] .gcard-copy, html[dir="rtl"] .mini { text-align: right; }
html[dir="rtl"] .faq-q { text-align: right; }
html[dir="rtl"] .lang-drop { left: 0; right: auto; }
.main-col h2 { font-size: 18px; margin: 22px 17px 8px; }
.feature-list { margin: 0 17px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-list li { background: #f3f1ff; color: var(--purple); border-radius: 20px; padding: 6px 12px; font-weight: 600; }
.rich { padding: 0 17px; color: #3a3a48; line-height: 1.7; }
.rich h2 { padding: 0; margin: 18px 0 8px; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding: 0 17px 8px; }
.shots img { height: 180px; width: auto; border-radius: 12px; background: #eee; }
.info-card { padding: 6px 16px 12px; }
.info-card h2 { margin: 12px 0; font-size: 18px; }
.info-card dl { margin: 0; }
.info-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f2f2f4; }
.info-card dt { color: var(--faint); }
.info-card dd { margin: 0; text-align: right; word-break: break-all; }
.comment-list, .stack-form { padding: 0 17px 16px; }
.comment { padding: 12px 0; border-bottom: 1px solid #f2f2f4; }
.comment strong { margin-right: 8px; }
.comment span { color: var(--faint); font-size: 12px; }
.stack-form label, .page-search { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-weight: 600; }
.stack-form input, .stack-form textarea, .page-search input {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 10px 12px;
    font-weight: 400;
}
.page-search { flex-direction: row; align-items: center; padding: 0 17px; }
.page-search input { flex: 1; }
.page-search .btn-dl { margin: 0; }
.form-note { margin: 8px 17px; background: #f3f1ff; color: var(--purple); padding: 10px 12px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; }
.card-block { background: #fff; padding: 8px 8px 28px; border-radius: 0 0 8px 8px; }
.prose h1 { font-size: 28px; margin: 8px 17px 12px; }
.article-cover { width: calc(100% - 34px); margin: 0 17px 8px; border-radius: 12px; max-height: 320px; object-fit: cover; }
.rank-list { list-style: none; margin: 0; padding: 8px 8px 20px; }
.rank-list li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f3f3f6; }
.rank-num { width: 36px; text-align: center; font-weight: 700; color: var(--purple); font-size: 18px; }
.rank-list a { flex: 1; display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 12px 8px; }
.rank-list img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.rank-copy { flex: 1; min-width: 0; }
.rank-copy strong, .rank-copy em { display: block; }
.rank-copy em { font-style: normal; color: var(--faint); }
.rank-meta { color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.kicker { color: var(--faint); padding: 12px 17px 0; margin: 0; }
.app-download h1 { margin: 0 0 6px; font-size: 32px; line-height: 1.2; }
.app-hero { display: flex; align-items: center; gap: 16px; padding: 8px 17px 0; }
.app-hero img { width: 88px; height: 88px; border-radius: 22px; background: #f3f1ff; object-fit: contain; flex: none; }
.app-ver { margin: 0; color: var(--muted); font-size: 15px; }
.app-ver span { margin: 0 6px; color: #c5c5ce; }
.app-lead { margin-top: 14px; }
.app-dl { margin-top: 16px; }
.app-tools { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 4px 17px 8px; }
.app-tool { border: 1px solid #ececec; border-radius: 12px; padding: 14px 14px 6px; background: #fff; }
.app-tool strong { display: block; font-size: 16px; margin-bottom: 6px; }
.app-tool p { margin: 0 0 10px; color: #3a3a48; line-height: 1.6; }
.app-quotes { display: grid; gap: 10px; padding: 0 17px 8px; }
.app-quote { margin: 0; border: 1px solid #ececec; border-radius: 12px; padding: 14px 16px; background: #fbfbfb; }
.app-quote p { margin: 0 0 8px; line-height: 1.6; }
.app-quote cite { color: var(--muted); font-style: normal; font-weight: 700; font-size: 13px; }
@media (max-width: 1180px) {
    body { overflow-x: hidden; }
    .container { width: auto; padding: 0 12px; }
    .burger { display: flex; }
    .header-bar {
        width: auto;
        grid-template-columns: 1fr auto auto;
        grid-template-areas:
            "logo lang burger"
            "search search search"
            "nav nav nav";
        padding: 10px 12px 12px;
        gap: 10px 8px;
    }
    .logo-lockup { grid-area: logo; }
    .lang-item { grid-area: lang; justify-self: end; }
    .burger { grid-area: burger; }
    .header-search { grid-area: search; width: 100%; }
    .nav {
        grid-area: nav;
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding-bottom: 6px;
    }
    .nav.open { display: flex; }
    .nav-link { flex-direction: row; width: 100%; justify-content: flex-start; gap: 10px; padding: 8px 4px; min-width: 0; }
    .dropdown, .dropdown.cols-2 { position: static; width: auto; box-shadow: none; max-height: 240px; }
    .lang-item .dropdown { position: absolute; width: min(440px, calc(100vw - 24px)); right: 0; left: auto; }
    .nav-item.open > .dropdown { display: block; }
    .lang-item.open > .lang-drop { display: grid; grid-template-columns: 1fr 1fr; }
    .home-grid { flex-direction: column; margin-top: 12px; }
    .main-col, .side-col { width: 100%; }
    .side-col { display: block; }
    .side-col .social-rail,
    .side-col .social-rail + .side-card { display: none; }
    .header-search button {
        position: static;
        width: 34px;
        height: 34px;
        min-width: 34px;
        max-width: 34px;
        flex: 0 0 34px;
        border-radius: 50%;
    }
    .lang-item.open > .lang-drop {
        position: fixed;
        top: 108px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        max-height: min(70vh, 520px);
        z-index: 60;
    }
    .faq-item { margin-left: 12px; margin-right: 12px; }
    .app-tools { grid-template-columns: 1fr; }
    .gcard { width: 50%; }
    .topic-row, .topic-grid { grid-template-columns: 1fr; }
    .footer-grid { flex-wrap: wrap; }
    .footer-grid > div { width: 45%; }
    .banner { height: 220px; }
    .slide-name { font-size: 16px; height: 52px; }
}
@media (max-width: 700px) {
    .gcard { width: 100%; }
    .gdl { display: inline-block; }
    .article-row { flex-direction: column; }
    .article-row img { width: 100%; height: 160px; }
    .detail-top { flex-direction: row; align-items: center; }
    .detail-top img { width: 84px; height: 84px; border-radius: 18px; }
    .detail-top h1 { font-size: 22px; }
    .btn-dl { height: 48px; }
    .app-hero { align-items: flex-start; }
    .app-hero img { width: 72px; height: 72px; }
    .rank-meta { display: none; }
    .footer-grid > div { width: 100%; }
    .logo-word { font-size: 22px; }
    .logo-mark, .logo-mark svg { width: 38px; height: 38px; }
}
@media (hover: none) {
    .gdl { display: inline-block; }
}
