/* Ghost content compatibility, scoped additions to the unmodified approved demo CSS. */
[hidden] { display: none !important; }
.tl__item[aria-current="true"] { z-index: 1; }
.tl__hours .tl__now { white-space: nowrap; }
.news-empty { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 24px; }
.news-empty h1 { font: 600 36px/1.3 var(--serif); margin: 0 0 20px; }
.news-empty p { color: var(--fg-3); }
body { --serif: var(--gh-font-heading, "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", Georgia, serif); --sans: var(--gh-font-body, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif); }
.demo-note { color: var(--fg-3); font: 12px/1.7 var(--sans); margin-top: 12px; }
.archive { padding-top: calc(var(--nav-h) + 64px); min-height: 60vh; }
.archive .fr:first-child { margin-top: 30px; }
.gh-content img, .gh-content video { max-width: 100%; height: auto; }
.gh-content figure { margin: 28px 0; }
.gh-content figcaption { color: var(--fg-3); font-size: 13px; text-align: center; }
.gh-content iframe { max-width: 100%; }
.gh-content .kg-width-wide { width: 100%; }
.gh-content .kg-width-full { width: 100%; }
.gh-content .kg-image-card img { display: block; margin: auto; }
.gh-content .kg-gallery-container { display: flex; flex-direction: column; gap: 10px; }
.gh-content .kg-gallery-row { display: flex; gap: 10px; }
.gh-content .kg-gallery-image { flex: 1; }
/* Bookmark cards (Ghost's native link card, used for links outside the promo hosts): the promo card's dark surface
   and type over Ghost's white card_assets defaults. cards.min.css loads after this file and styles
   `a.kg-bookmark-container:hover` at (0,3,1), so the container selectors carry .gh-content .kg-bookmark-card. */
.gh-content .kg-bookmark-card { margin: 32px 0; }
.gh-content .kg-bookmark-card a.kg-bookmark-container, .gh-content .kg-bookmark-card a.kg-bookmark-container:hover { display: flex; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--s1); color: var(--fg); font-family: var(--sans); transition: background-color .2s; }
.gh-content .kg-bookmark-card a.kg-bookmark-container:hover { background: var(--s2); }
.gh-content .kg-bookmark-card a.kg-bookmark-container:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.gh-content .kg-bookmark-content { min-width: 0; padding: 18px 20px; font-family: inherit; }
.gh-content .kg-bookmark-title { font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--fg); }
.gh-content .kg-bookmark-description { max-height: none; margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); opacity: 1; }
.gh-content .kg-bookmark-metadata { gap: 8px; margin-top: 14px; font-size: 12.5px; font-weight: 400; line-height: 1.6; color: var(--fg-3); }
.gh-content .kg-bookmark-metadata > * { opacity: 1; }
.gh-content .kg-bookmark-metadata::after { content: "↗"; margin-left: auto; padding-left: 12px; color: var(--fg-3); transition: color .2s, transform .2s; }
.gh-content .kg-bookmark-container:hover .kg-bookmark-metadata::after { color: var(--fg); transform: translate(2px, -2px); }
.gh-content .kg-bookmark-icon { flex: none; width: 18px; height: 18px; margin: 0; border-radius: 4px; }
.gh-content .kg-bookmark-metadata > span:nth-of-type(2)::before { margin: 0 8px 0 0; color: var(--fg-4); }
.gh-content .kg-bookmark-thumbnail { flex: 0 0 32%; min-width: 0; max-width: 240px; margin: 10px; border-radius: var(--r); background: var(--s2); overflow: hidden; }
.gh-content .kg-bookmark-thumbnail img { border-radius: 0; }
@media (max-width: 600px) {
  .gh-content .kg-bookmark-card a.kg-bookmark-container, .gh-content .kg-bookmark-card a.kg-bookmark-container:hover { flex-direction: column-reverse; }
  .gh-content .kg-bookmark-thumbnail { flex: none; max-width: none; aspect-ratio: 16 / 9; margin: 8px 8px 0; }
  .gh-content .kg-bookmark-content { padding: 14px 16px 16px; }
}
.foot__form input:disabled { opacity: .7; cursor: not-allowed; }
.art__main > .prose:first-child { margin-top: 0; }
.pagination { display: flex; justify-content: center; gap: 24px; margin-top: 30px; color: var(--fg-3); }
/* Edition switch (中文 / EN): same pill treatment as .nav__links, kept visible on narrow screens. */
.nav__lang { margin-right: -24px; padding: 6px 12px; border-radius: var(--pill); font: 500 13px/1.4 var(--sans); letter-spacing: .02em; color: var(--fg-3); transition: color .2s, background-color .2s; }
.nav__lang:hover { color: var(--fg); background: var(--s1); }
@media (max-width: 900px) { .nav__lang { margin-right: -28px; padding: 6px 10px; } }
/* Hot card links: source names open the original report; the detail link opens our hot page. */
.hx__voices b a { color: inherit; transition: color .2s; }
.hx__voices b a:hover { color: var(--blue-2); }
.hx__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--blue-2); transition: gap .2s; }
.hx__go::after { content: "→"; }
.hx__go:hover { gap: 9px; }
.hx__facts { display: grid; gap: 8px; margin: 12px 0; padding-left: 18px; list-style: disc; font-size: 14px; line-height: 1.75; color: var(--fg-2); overflow-wrap: anywhere; }
.hx__src { flex-wrap: wrap; }
.hx__sources { display: grid; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; }
.hx__sources li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.hx__sources li > span { min-width: 0; overflow-wrap: anywhere; }
.hx__sources time { display: block; color: var(--fg-4); font-size: 11.5px; }
.hx__sources a { color: var(--blue-2); }
.hx__sources span a { color: var(--fg-3); }
.hx__sources a:hover { text-decoration: underline; }
.hot-brief__facts sup { white-space: nowrap; font-size: .7em; }
.hot-brief__sources time { color: var(--fg-3); font-size: .85em; }
.prose .hot-brief__sources p { margin: 4px 0 16px; color: var(--fg-2); }

/* Phones: a wide Ghost table scrolls inside the article instead of stretching the one-column grid (and the whole page). */
@media (max-width: 1000px) {
  .art__grid { grid-template-columns: minmax(0, 1fr); }
  .gh-content table { display: block; max-width: 100%; overflow-x: auto; }
}
/* iOS Safari zooms the page into any focused input under 16px. */
@media (max-width: 760px) { .feed__q input, .foot__form input { font-size: 16px; } }

/* Hero first paint: until the news index arrives, placeholder bars stand where the dot headline and summary will be,
   so the first screen is never empty black. app.js adds .is-ready when the headline starts to draw. */
.hero:not(.is-ready) .hero__dots { display: flex; flex-direction: column; justify-content: center; gap: 7%; }
.hero:not(.is-ready) .hero__dots::before, .hero:not(.is-ready) .hero__dots::after { content: ""; width: 78%; height: 30%; border-radius: 6px;
  background: radial-gradient(circle, rgba(196, 204, 244, .24) 0 1.2px, transparent 1.7px) 0 0 / 6px 6px; animation: heroWait 1.4s ease-in-out infinite alternate; }
.hero:not(.is-ready) .hero__dots::after { width: 52%; animation-delay: .35s; }
.hero:not(.is-ready) .hero__sum:empty { height: 5.55em; border-radius: 4px; animation: heroWait 1.4s .2s ease-in-out infinite alternate;
  background: linear-gradient(var(--s2) 0 0) 0 .5em / 94% .85em no-repeat, linear-gradient(var(--s2) 0 0) 0 2.35em / 86% .85em no-repeat, linear-gradient(var(--s2) 0 0) 0 4.2em / 58% .85em no-repeat; }
.hero:not(.is-ready) .hero__act, .hero:not(.is-ready) .tl { visibility: hidden; }
@keyframes heroWait { from { opacity: .4; } }
/* The index could not load: there is no headline to wait for, so skip the hero and start at the article list. */
html[data-news-unavailable] .hero { display: none; }

/* Promo cards: in-article strips linking to an Orbis model or platform page. The link's ::after covers the
   whole card; the copy button sits above it. The dot icon is a shared cover drawn at 80px and scaled to fit. */
.orbis-promo { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 32px 0; padding: 18px 18px 18px 20px; border-radius: var(--r-lg); background: var(--s1); font-size: 15px; line-height: 1.6; transition: background-color .2s; }
.orbis-promo:hover { background: var(--s2); }
.orbis-promo:has(.orbis-promo__link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.orbis-promo__icon { position: relative; align-self: start; width: 48px; height: 48px; border-radius: var(--r); background: var(--s2); overflow: hidden; transition: background-color .2s; }
.orbis-promo:hover .orbis-promo__icon { background: var(--s3); }
.orbis-promo__icon .cv { position: absolute; left: 0; top: 0; width: 80px; height: 80px; margin: 0; background: transparent; transform: scale(.6); transform-origin: 0 0; }
.orbis-promo:hover .orbis-promo__icon .cv { --lr: 140px; }
.prose .orbis-promo p { margin: 0; }
.orbis-promo__kicker { font-size: 12.5px; color: var(--blue-2); }
.orbis-promo__link { display: block; width: fit-content; margin-top: 2px; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--fg); }
.orbis-promo__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.orbis-promo__link:focus-visible { outline: none; }
.orbis-promo__model { font-family: var(--mono); font-size: 12.5px; color: var(--fg-3); }
.orbis-promo .copy { position: relative; z-index: 1; height: 24px; margin-left: 2px; padding: 0 6px; vertical-align: middle; }
.prose .orbis-promo .orbis-promo__desc { margin-top: 4px; color: var(--fg-2); }
.prose .orbis-promo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.prose .orbis-promo__tags li { padding: 0 8px; border-radius: var(--pill); background: var(--s3); font-size: 12px; line-height: 22px; color: var(--fg-3); }
.prose .orbis-promo__tags li::before { content: none; }
.orbis-promo__cta { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: var(--pill); background: var(--fg); color: #0A0A0C; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.orbis-promo__cta::after { content: "→"; }
.orbis-promo:hover .orbis-promo__cta { background: #fff; }
@media (max-width: 600px) {
  .orbis-promo { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
  .orbis-promo__icon { width: 40px; height: 40px; }
  .orbis-promo__icon .cv { transform: scale(.5); }
  .orbis-promo__cta { grid-column: 2; justify-self: start; }
}
