:root {
    color-scheme: light;
    --st-navy: #153a63;
    --st-blue: #225c8d;
    --st-ink: #172534;
    --st-muted: #52677b;
    --st-edge: #d9e2eb;
    --st-bg: #eff4f8;
    --st-paper: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-wrap: anywhere; }
html.st-detail-root { scrollbar-width: none; }
html.st-detail-root::-webkit-scrollbar { display: none; }
body.sticker-page {
    margin: 0;
    background: var(--st-bg);
    color: var(--st-ink);
    font: 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.sticker-page a { color: var(--st-blue); text-underline-offset: .2em; }
.sticker-page :focus-visible { outline: 3px solid #ac6020; outline-offset: 3px; }
.sticker-page button, .sticker-page input { font: inherit; }
.sticker-page button {
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--st-edge);
    border-radius: 8px;
    background: var(--st-paper);
    color: var(--st-navy);
    cursor: pointer;
}
.sticker-page button:hover { background: #eaf1f8; }
.sticker-page button:disabled { opacity: .56; cursor: default; }
.sticker-page .st-accent { color: #fff; background: var(--st-navy); border-color: var(--st-navy); }
.sticker-page .st-accent:hover { background: var(--st-blue); }
.st-shell { width: min(1220px, 100% - 56px); margin-inline: auto; }
.st-header { background: #fff; border-bottom: 1px solid var(--st-edge); }
.st-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px 32px; min-height: 72px; padding-block: 10px; }
.st-header-inner a { color: #0052a6; text-decoration: none; }
.st-header-inner a:hover { text-decoration: underline; }
.st-brand { display: flex; align-items: center; min-width: 0; gap: 12px; }
.st-header-logo { display: block; flex: 0 0 auto; width: 44px; height: 44px; object-fit: contain; }
.st-header-logo-fallback { display: grid; place-items: center; background: #eaf2fa; border-radius: 8px; font-size: 13px; font-weight: 700; }
.st-brand-copy { display: grid; justify-items: start; gap: 3px; font-size: 21px; line-height: 1.2; }
.st-brand-tagline { padding: 2px 7px; background: #b71223; color: #fff; font-size: 11px; text-align: start; }
.st-header-link { font-weight: 600; font-size: 15px; white-space: nowrap; }
.st-library { padding-block: 25px 54px; }
.st-library .site-ad-position-sticker_list_top { width: 100%; margin: 0 0 24px; }
.st-library .site-ad-position-sticker_list_top .site-ad-dots button { min-height: 0; }
.st-library .site-ad-position-sticker_list_top .site-ad-media { background: #edf2f7; }
.st-library .st-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.st-library .st-card { margin: 0; }
.st-library .st-card img { height: auto; max-height: none; aspect-ratio: 3 / 4; object-fit: contain; background: #f1f1f1; }
body.st-detail-page {
    color: #191919;
    background: #fff;
    font-family: -apple-system-font, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.st-detail { width: min(100%, 984px); margin: 12px auto 0; }
.st-feature {
    display: grid;
    grid-template: "gallery copy" 1fr "gallery bottom" auto / minmax(0, 1fr) min(40%, 384px);
    min-height: calc(100svh - 24px);
    background: #fff;
}
.st-gallery, .st-copy { min-width: 0; }
.st-gallery { grid-area: gallery; align-self: start; }
.st-sidebar, .st-after { display: contents; }
.st-stage { position: relative; overflow: hidden; background: #fff; }
.st-track {
    display: flex;
    width: 100%;
    height: min(800px, max(230px, calc(100svh - 160px)));
    max-height: 134vw;
    overflow: auto hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.st-track::-webkit-scrollbar { display: none; }
.st-slide { display: grid; place-items: center; flex: 0 0 100%; width: 100%; min-width: 0; height: 100%; margin: 0; overflow: hidden; scroll-snap-align: start; }
.st-slide img { display: block; width: 100%; height: 100%; object-fit: contain; color: #7d7d7d; }
.st-detail-portrait .st-slide { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.st-detail-portrait .st-slide img { min-height: 0; min-width: 0; max-height: 100%; }
@media (min-width: 852px) {
    .st-detail-portrait {
        --st-portrait-limit: 936px;
        width: min(100%, 1086px);
        margin-top: max(0px, calc((100svh - var(--st-portrait-limit)) / 2));
    }
    .st-detail-portrait .st-feature { grid-template-columns: minmax(0, 1fr) 384px; }
    .st-detail-portrait .st-track { height: min(100svh, var(--st-portrait-limit)); max-height: none; }
}
@media (min-width: 1800px) {
    .st-detail-portrait { --st-portrait-limit: 1200px; width: min(100%, 1284px); }
}
@media (max-width: 851px) {
    .st-detail-portrait { width: 100%; margin-top: 0; }
    .st-detail-portrait .st-feature { display: block; min-height: 0; }
    .st-detail-portrait .st-track { height: auto; aspect-ratio: 3 / 4; max-height: none; }
    .st-detail-portrait .st-copy { max-width: 677px; margin-inline: auto; }
    .st-detail-portrait .st-thumbs { display: none; }
}
@media (min-width: 521px) and (max-width: 851px) {
    .st-detail-portrait .st-track { aspect-ratio: 7 / 6; }
}
.st-track.st-track-effects { display: block; position: relative; overflow: hidden; isolation: isolate; touch-action: pan-y pinch-zoom; }
.st-track-effects .st-slide { position: relative; z-index: 1; }
.st-track-effects .st-slide.st-departing { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.st-track-effects .st-slide.st-departing-front { z-index: 2; }
.st-position {
    display: none;
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 12px;
    margin: 0;
    padding: 5px 6px;
    color: #fff;
    background: rgb(95 95 95 / 40%);
    border-radius: 9999px;
    font: 400 14px/14px -apple-system, BlinkMacSystemFont, sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: none;
}
.st-control-pair { position: absolute; z-index: 4; top: 50%; inset-inline: 8px; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.st-detail .st-control-pair button {
    display: grid; place-items: center; width: 36px; min-height: 36px; padding: 0;
    color: #fff; border: 0; border-radius: 50%; background: rgb(0 0 0 / 30%);
    opacity: 0; pointer-events: none; transition: opacity .15s;
}
.st-stage:hover .st-control-pair button:not(:disabled), .st-stage:focus-within .st-control-pair button:not(:disabled) { opacity: 1; pointer-events: auto; }
.st-detail .st-control-pair button:hover { background: rgb(0 0 0 / 50%); }
.st-control-pair svg { width: 23px; height: 23px; }
.st-detail .st-original {
    position: absolute; z-index: 4; right: 16px; bottom: 16px; opacity: 0;
    padding: 4px 8px; border-radius: 999px; color: #fff; background: rgb(0 0 0 / 40%);
    font-size: 12px; text-decoration: none; pointer-events: none;
}
.st-stage:hover .st-original, .st-original:focus-visible { opacity: 1; pointer-events: auto; }
.st-dots { display: none; }
.st-thumbs {
    display: flex; gap: 8px; align-items: center; justify-content: safe center;
    height: 136px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none;
}
.st-thumbs::-webkit-scrollbar { display: none; }
.st-detail .st-thumbs button { flex: 0 0 65px; height: 65px; min-height: 0; padding: 0; background: #f4f4f4; border: 1px solid transparent; border-radius: 4px; opacity: .56; }
.st-detail .st-thumbs button[aria-current="true"] { border-color: #07c160; opacity: 1; }
.st-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.st-copy { grid-area: copy; padding: 16px 20px 14px; }
.st-copy h1 { margin: 0 0 8px; font-size: 17px; line-height: 1.6; font-weight: 700; color: #191919; }
.st-library h1 { margin: 8px 0 13px; font-size: clamp(25px, 3vw, 38px); line-height: 1.28; letter-spacing: -.02em; }
.st-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; color: #969696; font-size: 15px; line-height: 20px; margin-top: 20px; min-height: 24px; }
.st-view-count { margin-inline-start: auto; font-size: 14px; }
.st-body { white-space: pre-wrap; font-size: 17px; line-height: 1.6; color: #191919; }
.st-body-rich { white-space: normal; overflow-wrap: anywhere; }
.st-body-rich.detail-content { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.st-body-rich.detail-content > :first-child { margin-top: 0; }
.st-body-rich.detail-content > :last-child { margin-bottom: 0; }
.st-body-rich img, .st-body-rich video, .st-body-rich audio, .st-body-rich iframe { max-width: 100%; }
.st-detail .st-article-company { overflow-wrap: anywhere; }
.st-detail .st-topic-links { margin: 12px 0 0; color: #666; font-size: 14px; }
.st-detail .st-topic-links a { display: inline-block; margin-inline-start: 6px; color: #315c88; }
.st-detail .mm-article-neighbors { width: min(calc(100% - 32px), 680px); }
.st-detail .st-return-home { margin: 0 16px 24px; text-align: center; }
.st-detail .st-return-home a { color: #315c88; }
.st-detail .st-article-qr {
    width: min(360px, 100%); margin: 34px auto 0; padding-top: 24px;
    border-top: 1px solid #e5e7eb; color: #666; text-align: center;
}
.st-detail .st-article-qr img {
    display: block; width: 184px; height: 184px; max-width: 100%; margin: 0 auto; padding: 10px;
    border: 1px solid #e5e7eb; border-radius: 8px; background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}
.st-detail .st-article-qr p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }
@media (max-width: 800px) {
    .st-detail .st-article-qr {
        width: 100%; margin: 14px 0 0; padding: 18px 14px 16px;
        border: 1px solid #eee; border-radius: 12px; background: #fff;
    }
    .st-detail .st-article-qr img {
        width: 164px; height: 164px; padding: 8px; border-color: #e5edf7; box-shadow: none;
    }
    .st-detail .st-article-qr p { font-size: 13px; line-height: 1.5; }
}
.st-bottom {
    grid-area: bottom; position: sticky; z-index: 5; bottom: 0; min-height: 59px;
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 7px 20px calc(7px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid #e6e6e6;
}
.st-detail .st-publisher { display: flex; align-items: center; gap: 8px; min-width: 0; color: #191919; font-size: 14px; line-height: 1.3; text-decoration: none; }
.st-publisher > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; object-fit: cover; border-radius: 50%; }
.st-avatar-initial { background: #e4f6ee; color: #149359; font-weight: 600; }
.st-actions { display: flex; flex: 0 0 auto; align-items: center; }
.st-detail .st-actions button {
    display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 2px;
    min-width: 43px; min-height: 43px; padding: 0 4px; color: #191919; background: transparent;
    border: 0; border-radius: 0; font-size: 12px; line-height: 18px;
}
.st-detail .st-actions button:hover { background: transparent; color: #444; }
.st-detail .st-actions button[aria-pressed="true"] { color: #07a855; }
.st-actions svg { width: 22px; height: 22px; }
.st-feedback { position: absolute; right: 20px; bottom: 100%; margin: 5px; padding: 2px 6px; background: #fff; color: #666; font-size: 13px; }
.st-feedback:empty, [data-share-feedback]:empty { display: none; }
.st-preview { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 14px; background: #fff7e8; color: #674410; margin: 0 0 10px; font-size: 13px; }
.st-related { margin-block-start: 16px; padding: 14px 12px 32px; background: #f6f6f6; }
.st-related .st-section-heading { margin: 0 8px 12px; }
.st-related .st-section-heading h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.st-related .st-section-heading a { color: #666; font-size: 12px; text-decoration: none; }
.st-related .st-cards { columns: 2; column-gap: 8px; }
.st-related .st-card { border: 0; border-radius: 8px; margin-bottom: 8px; }
.st-related .st-card img { max-height: none; }
.st-related .st-card-copy { padding: 8px; }
.st-related .st-card-copy h3 { font-size: 14px; color: #191919; }
.st-related .st-card-meta { font-size: 11px; color: #8a8a8a; }
.st-section-heading, .st-library-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.st-section-heading h2 { font-size: 23px; margin: 0; }
.st-cards { columns: 3 230px; column-gap: 14px; }
.st-card { display: inline-block; width: 100%; break-inside: avoid; background: #fff; border: 1px solid var(--st-edge); border-radius: 14px; overflow: hidden; margin-bottom: 14px; text-decoration: none; }
.st-card:hover h3 { text-decoration: underline; }
.st-card img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.st-card-copy { padding: 12px; }
.st-card-copy h3 { margin: 0 0 6px; color: var(--st-ink); font-size: 16px; line-height: 1.45; }
.st-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; color: var(--st-muted); font-size: 13px; }
.st-empty { padding: 22px; background: #fff; border-radius: 12px; border: 1px solid var(--st-edge); }
.st-search, .st-pagination, .st-share-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-search input, .st-share-dialog input { min-width: 0; padding: 8px 12px; border: 1px solid var(--st-edge); border-radius: 8px; background: #fff; color: var(--st-ink); }
.st-pagination { justify-content: center; margin-top: 14px; }
.st-share-dialog { color: var(--st-ink); width: min(460px, 100% - 28px); padding: 20px; border: 1px solid var(--st-edge); border-radius: 16px; }
.st-share-dialog::backdrop { background: #142638a1; }
.st-share-dialog input { width: 100%; margin-block: 5px 12px; }
.st-share-card { display: flex; align-items: center; gap: 14px; padding: 10px; background: var(--st-bg); border-radius: 10px; margin-bottom: 12px; }
.st-share-card img { width: 65px; height: 78px; border-radius: 7px; object-fit: cover; }
.st-share-card span { display: block; color: var(--st-muted); font-size: 13px; }
.st-share-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 3px 0; color: #6b6b6b; font-size: 13px; }
.st-detail .st-share-dialog { color: #191919; border: 1px solid #e7e7e7; border-radius: 12px; }
.st-detail .st-share-dialog::backdrop { background: rgb(0 0 0 / 48%); }
.st-detail .st-share-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; background: #f5f5f5; border-radius: 6px; }
.st-detail .st-share-card > div { grid-column: 1; grid-row: 1; }
.st-detail .st-share-card img { grid-column: 2; grid-row: 1; width: 64px; height: 64px; border-radius: 3px; }
.st-share-fallback { margin-top: 14px; font-size: 13px; color: #666; }
.st-share-fallback summary { cursor: pointer; }
.st-sr { position: absolute; height: 1px; width: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
    .st-shell { width: calc(100% - 28px); }
    .st-header-inner { min-height: 56px; gap: 12px; }
    .st-brand { gap: 7px; }
    .st-header-logo { width: 32px; height: 32px; }
    .st-brand-copy { font-size: clamp(12px, 3.4vw, 15px); }
    .st-brand-tagline { font-size: 10px; }
    .st-header-link { font-size: 13px; }
    .st-library { padding-top: 15px; }
    .st-library .site-ad-position-sticker_list_top { margin-bottom: 16px; }
    .st-library .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .st-detail { margin-top: 0; }
    .st-feature { display: block; min-height: 0; }
    .st-track { height: auto; aspect-ratio: 3 / 4; max-height: none; }
    .st-position { display: block; }
    .st-thumbs { display: none; }
    .st-dots { display: flex; justify-content: center; align-items: center; height: 25px; }
    .st-detail .st-dots button {
        display: inline-grid; place-items: center; min-width: 10px; height: 25px; min-height: 0;
        padding: 0 1px; border: 0; background: transparent;
    }
    .st-dots button span { width: 5px; height: 5px; background: #e4e4e4; border-radius: 999px; }
    .st-dots button[aria-current="true"] span { width: 12px; background: #191919; }
    .st-detail .st-original { bottom: 43px; }
    .st-copy { padding: 0 20px 40px; }
    .st-copy h1 { font-weight: 500; }
    .st-meta { margin-top: 20px; }
    .st-related { margin-top: 0; }
    .st-cards { columns: 2; column-gap: 8px; }
    .st-card { border-radius: 10px; margin-bottom: 8px; }
    .st-card-copy { padding: 8px; }
    .st-card-copy h3 { font-size: 14px; }
    .st-search, .st-search input { flex: 1 1 auto; }
    .st-search input { width: 9em; }
}
@media (min-width: 852px) {
    .st-detail { width: min(calc(100% - 48px), 984px); }
    .st-detail-portrait { width: min(calc(100% - 48px), 1086px); }
    .st-detail .st-feature { grid-template: "gallery sidebar" auto / minmax(0, 1fr) clamp(300px, 35vw, 384px); min-height: 0; }
    .st-sidebar { display: flex; flex-direction: column; grid-area: sidebar; align-self: start; min-width: 0; }
    .st-sidebar .st-bottom { position: relative; margin: 0 20px; padding-inline: 0; }
    .st-after {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 22px;
        margin-block: 16px;
        padding-inline: 18px;
        border: 1px solid #ececec;
        border-radius: 8px;
        background: #f7f7f7;
    }
    .st-detail .st-after .mm-article-neighbors { width: 100%; margin: 0; padding: 13px 0 15px; background: transparent; }
    .st-after .mm-article-neighbors__entries { margin-top: 10px; }
    .st-after .mm-article-neighbors__entry:only-child { grid-column: 1 / -1; padding-inline: 0; text-align: start; }
    .st-detail .st-after .st-return-home { grid-column: 2; margin: 10px 0; align-self: stretch; display: flex; align-items: center; }
    .st-after .st-return-home a {
        display: inline-block;
        padding: 7px 12px;
        border: 1px solid #e3e8ef;
        border-radius: 6px;
        background: #fff;
        font-size: 13px;
        white-space: nowrap;
    }
    .st-related { margin-block-start: 16px; padding: 16px 18px 22px; border-radius: 8px; }
    .st-related .st-section-heading { margin-inline: 0; }
    .st-related .st-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .st-related .st-card { margin: 0; }
    .st-related .st-card img { height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #f1f1f1; }
}
@media (min-width: 1086px) and (min-height: 850px) {
    .st-sidebar { position: sticky; top: 12px; }
}
@media (min-width: 1800px) {
    .st-detail-portrait { width: min(calc(100% - 48px), 1284px); }
}
@media (hover: none) {
    .st-stage:not(.st-controls-open) .st-control-pair button:not(:focus-visible),
    .st-stage:not(.st-controls-open) .st-original:not(:focus-visible) { opacity: 0; pointer-events: none; }
    .st-stage.st-controls-open .st-control-pair button:not(:disabled),
    .st-stage.st-controls-open .st-original { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
