/* qc52.me article template: one stylesheet for every page under /articles/ and the article index (2026-11-30).
   Loaded after article-enhance.css, which still adds the reading tools (contents, rail, progress, share, gallery viewer);
   this file wins where the two disagree and re-skins those tools in the same warm palette.
   Look: cream paper, wine and plum surfaces, gold hairlines, serif headings, square corners. */
:root {
  --paper: #fffdf9;
  --cream: #f9f2eb;
  --cream-2: #f3e7df;
  --blush: #f1dcd6;
  --rose: #b97c82;
  --wine: #7a2a3c;
  --wine-ink: #4f1d2a;
  --plum: #2a161d;
  --night: #1b1115;
  --ink: #2b2226;
  --ink-2: #4b3f43;
  --muted: #74656a;
  --line: #eadbd2;
  --line-2: #dfcabd;
  --gold: #8f6624;
  --gold-2: #e0bb72;
  --gold-3: #c9a45c;
  --serif: "Playfair Display", "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", Georgia, serif;
  --sans: Lato, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='9' viewBox='0 0 96 9'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%23c9a45c'/%3E%3Cstop offset='1' stop-color='%23c9a45c' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4.5 1 8 4.5 4.5 8 1 4.5z' fill='%23c9a45c'/%3E%3Crect x='13' y='4' width='83' height='1' fill='url(%23g)'/%3E%3C/svg%3E");
  --orn-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='9' viewBox='0 0 120 9'%3E%3Cpath d='M0 4.5h50M70 4.5h50' stroke='%23c9a45c' stroke-opacity='.8'/%3E%3Cpath d='M60 1l3.5 3.5L60 8l-3.5-3.5z' fill='%23c9a45c'/%3E%3Cpath d='M53 4.5l1.5-1.5 1.5 1.5-1.5 1.5zM64 4.5l1.5-1.5 1.5 1.5-1.5 1.5z' fill='%23c9a45c' fill-opacity='.7'/%3E%3C/svg%3E");
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.art { font-family: var(--sans); font-variant-numeric: lining-nums; color: var(--ink); background: var(--paper); line-height: 1.8; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.art img { max-width: 100%; height: auto; display: block; }
body.art a { color: inherit; }
body.art ::selection { background: var(--blush); color: var(--wine-ink); }
[hidden] { display: none !important; }
nav.art-crumbs, nav.art-top-nav, nav.idx-chips { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.art .article-hero { padding: 0; border-bottom: 0; }
body.art .article-body { max-width: none; padding: 0; margin: 0; }
body.art :focus-visible { outline: 2px solid var(--gold-3); outline-offset: 3px; }

/* ---------- top bar ---------- */
.art-top { position: sticky; top: 0; z-index: 99; display: flex; align-items: center; gap: 28px; min-height: 60px; padding: 10px 28px; background: rgba(27, 17, 21, .97); color: #fff; border-bottom: 1px solid rgba(224, 187, 114, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(224, 187, 114, .45); }
.nav-logo span { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .01em; }
.art-top-nav { display: flex; gap: 26px; margin-right: auto; font-size: 14px; letter-spacing: .04em; }
body.art .art-top-nav a { position: relative; padding: 9px 0; line-height: 1.5; text-decoration: none; color: rgba(255, 246, 238, .74); white-space: nowrap; transition: color .25s; }
.art-top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
body.art .art-top-nav a:hover { color: #fff; }
.art-top-nav a:hover::after { transform: scaleX(1); }
.nav-btns { flex: none; }
body.art .lang-switch { display: flex; padding: 0; border: 1px solid rgba(224, 187, 114, .42); border-radius: 0; background: transparent; box-shadow: none; }
body.art .lang-btn { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 0; color: rgba(255, 246, 238, .72); text-decoration: none; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; transition: background-color .25s, color .25s; }
body.art .lang-btn.active { background: var(--gold-2); color: var(--night); }
body.art .lang-btn:not(.active):hover { color: #fff; background: rgba(224, 187, 114, .14); }
.lang-code { display: none; }

/* ---------- breadcrumb ---------- */
.art-crumbs { max-width: 1120px; margin: 0 auto; padding: 11px 28px; background: var(--cream) !important; box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.art-crumbs a { margin: -8px 0; padding: 8px 0; text-decoration: none; transition: color .2s; }
.art-crumbs a:hover { color: var(--wine); }
.art-crumbs span[aria-hidden] { color: var(--gold-3); opacity: .8; }
.art-crumbs-here { color: var(--ink-2); max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- hero ---------- */
.article-hero { position: relative; min-height: 480px; display: flex; align-items: center; color: #fff; background: var(--plum) center / cover no-repeat; overflow: hidden; isolation: isolate; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 80% at 50% 55%, rgba(30, 12, 19, .42) 0%, rgba(30, 12, 19, .72) 72%, rgba(22, 9, 14, .86) 100%), linear-gradient(180deg, rgba(58, 20, 32, .38) 0%, rgba(24, 10, 16, .55) 100%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.article-hero::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(224, 187, 114, .3); pointer-events: none; }
.art-hero-in { position: relative; width: 100%; max-width: 920px; margin: 0 auto; padding: 72px 40px 64px; text-align: center; }
.art-kicker { margin-bottom: 18px; }
body.art .art-kicker a { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); text-decoration: none; transition: color .25s; }
.art-kicker a::before, .art-kicker a::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
body.art .art-kicker a:hover { color: #fff; }
.article-hero h1 { margin: 0 auto; font-family: var(--serif); font-size: clamp(32px, 3.5vw, 50px); line-height: 1.2; font-weight: 600; letter-spacing: 0; color: #fff; max-width: 20em; text-wrap: balance; overflow-wrap: anywhere; text-shadow: 0 2px 30px rgba(20, 6, 12, .45); }
.art-zh .article-hero h1 { line-height: 1.32; letter-spacing: .01em; }
body.art .article-hero .meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; margin-top: 20px; font-size: 13.5px; letter-spacing: .04em; text-transform: none; color: rgba(255, 244, 236, .8); }
.article-hero .meta span { display: inline-block; white-space: nowrap; }
.article-hero .meta span:first-child { color: var(--gold-2); font-weight: 700; letter-spacing: .06em; }
.article-hero .meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 13px; vertical-align: .22em; background: var(--gold-2); transform: rotate(45deg); opacity: .85; }
.article-hero .meta time { font-variant-numeric: lining-nums; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- buttons (square, two weights per surface) ---------- */
body.art .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid transparent; border-radius: 0; font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-shadow: none; line-height: 1.2; box-shadow: none; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
body.art.art-en .btn { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
body.art .btn:hover { transform: translateY(-2px); }
body.art .btn:active { transform: translateY(0); }
/* on dark: champagne primary, hairline secondary */
body.art .hero-cta .btn-enter, body.art .mid-cta .btn-enter { background: linear-gradient(180deg, #ecd099 0%, #dcb56a 100%); color: var(--night); border-color: #e6c582; }
body.art .hero-cta .btn-enter:hover, body.art .mid-cta .btn-enter:hover { background: #fff6e6; border-color: #fff6e6; color: var(--wine-ink); box-shadow: 0 10px 26px -12px rgba(224, 187, 114, .7); }
body.art .hero-cta .btn-kkbabysg { background: rgba(255, 246, 236, .1); color: #fff; border-color: rgba(224, 187, 114, .75); }
body.art .hero-cta .btn-kkbabysg:hover { background: rgba(224, 187, 114, .2); border-color: var(--gold-2); color: #fff; box-shadow: none; }
body.art .hero-cta .btn-tg, body.art .mid-cta .btn-tg { background: transparent; color: #fff; border-color: rgba(255, 246, 236, .55); }
body.art .hero-cta .btn-tg:hover, body.art .mid-cta .btn-tg:hover { background: rgba(255, 246, 236, .1); border-color: var(--gold-2); color: var(--gold-2); }
/* on light: wine primary, hairline secondary */
body.art .article-cta .btn-enter { background: var(--wine-ink); color: #fff8f0; border-color: var(--wine-ink); }
body.art .article-cta .btn-enter:hover { background: var(--wine); border-color: var(--wine); color: #fff; box-shadow: 0 12px 26px -14px rgba(79, 29, 42, .8); }
body.art .article-cta .btn-tg { background: transparent; color: var(--wine-ink); border-color: rgba(79, 29, 42, .45); }
body.art .article-cta .btn-tg:hover { background: var(--wine-ink); border-color: var(--wine-ink); color: #fff8f0; }

/* ---------- article column ---------- */
.art-main { max-width: 760px; margin: 0 auto; padding: 52px 30px 10px; }
body.art .article-body { font-size: 17.5px; line-height: 1.8; color: var(--ink); overflow-wrap: break-word; }
body.art.art-zh .article-body { font-size: 17px; line-height: 1.92; letter-spacing: .01em; }
body.art .article-body p, body.art .article-body li { color: var(--ink); }
body.art .article-body p { margin: 0 0 1.2em; line-height: inherit; text-wrap: pretty; }
body.art .article-body > a:first-child { display: block; margin-bottom: 34px; }
body.art .article-body > a:first-child + p { font-size: 1.08em; color: var(--ink-2); }
body.art .article-body h2 { position: relative; margin: 2.3em 0 .9em; padding: 0 0 18px; border: 0; font-family: var(--serif); font-size: 30px; line-height: 1.3; font-weight: 600; letter-spacing: 0; color: var(--wine-ink); scroll-margin-top: 84px; text-wrap: balance; background: var(--orn) left bottom / 96px 9px no-repeat; }
body.art.art-zh .article-body h2 { font-size: 27px; line-height: 1.42; letter-spacing: .02em; }
body.art .article-body h2 a:not(.btn) { color: inherit; font-weight: inherit; text-decoration-color: rgba(201, 164, 92, .7); }
body.art .article-body h3 { margin: 1.8em 0 .55em; font-family: var(--serif); font-size: 21px; line-height: 1.4; font-weight: 600; color: var(--ink); scroll-margin-top: 84px; text-wrap: balance; }
body.art.art-zh .article-body h3 { font-size: 19.5px; }
body.art .article-body strong { font-weight: 700; color: var(--ink); }
body.art .article-body li strong { color: var(--wine-ink); }
body.art .article-body em { font-style: italic; color: var(--ink-2); }
body.art.art-zh .article-body em { font-style: normal; color: var(--muted); }

/* lists: gold diamonds and serif numerals */
body.art .article-body ul, body.art .article-body ol { margin: 0 0 1.5em; padding: 0; list-style: none; }
body.art .article-body li { position: relative; margin: .55em 0; padding-left: 1.6em; text-wrap: pretty; }
body.art .article-body ul > li::before { content: ""; position: absolute; left: .3em; top: .78em; width: 6px; height: 6px; background: var(--gold-3); transform: rotate(45deg); }
.art-zh .article-body ul > li::before { top: .82em; }
body.art .article-body ol { counter-reset: art-ol; }
body.art .article-body ol > li { counter-increment: art-ol; padding-left: 2.1em; }
body.art .article-body ol > li::before { content: counter(art-ol, decimal-leading-zero); position: absolute; left: 0; top: .05em; font-family: var(--serif); font-style: italic; font-size: .95em; color: var(--gold); }
/* short-item lists (areas, names) become a tidy grid; class added by article.js */
body.art .article-body ul.art-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.art .article-body ul.art-tags > li { display: flex; align-items: center; margin: 0; padding: 9px 12px 9px 28px; background: #fff; border: 1px solid var(--line); font-size: .9em; line-height: 1.5; }
body.art .article-body ul.art-tags > li::before { left: 12px; top: 50%; margin-top: -3px; width: 5px; height: 5px; }

/* links */
body.art .article-body a.body-link, body.art .article-body p a:not(.btn), body.art .article-body li a:not(.btn), body.art .art-about a, body.art .article-body .art-faq a { color: var(--wine); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(122, 42, 60, .35); text-underline-offset: 4px; border-bottom: 0; transition: color .2s, text-decoration-color .2s, background-color .2s; }
body.art .article-body a.body-link:hover, body.art .article-body p a:not(.btn):hover, body.art .article-body li a:not(.btn):hover, body.art .art-about a:hover, body.art .article-body .art-faq a:hover { color: var(--wine-ink); text-decoration-color: var(--gold-3); text-decoration-thickness: 1px; background: rgba(241, 220, 214, .6); }
body.art .article-body a[style*="color"]:not(.btn) { color: var(--wine) !important; }

/* images */
body.art .article-img { width: 100%; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; background: var(--cream-2); outline: 1px solid rgba(255, 240, 215, .55); outline-offset: -12px; box-shadow: 0 26px 50px -34px rgba(60, 18, 30, .55); transition: filter .5s var(--ease); }
body.art .article-body > a:first-child:hover .article-img { filter: brightness(1.04) saturate(1.05); }
body.art .article-body > img:not(.article-img) { float: left; width: auto; margin: 6px 20px 10px 0; padding: 4px; background: #fff; border: 1px solid var(--line-2); }
body.art .article-body h2, body.art .article-body ul, body.art .article-body ol, body.art .article-body .mid-cta, body.art .article-body .article-gallery, body.art .article-body .art-faq { clear: both; }

/* reading tools from article-enhance.js, re-skinned */
.ae-meta { display: none !important; }
body.art .ae-progress { height: 2px; }
body.art .ae-progress span { background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
body.art .ae-toc { margin: 10px 0 40px; padding: 22px 28px 14px; background: var(--cream); border: 0; border-top: 1px solid var(--gold-3); }
body.art .article-body .ae-toc-title { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
body.art .article-body .ae-toc li { padding: 0; margin: 0; }
body.art .article-body .ae-toc li::before { content: none; }
body.art .article-body .ae-toc li + li { border-top: 1px solid var(--line); }
body.art .article-body .ae-toc.ae-toc a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; color: var(--ink); font-weight: 400; font-size: 16px; line-height: 1.5; text-decoration: none; background: none; text-wrap: pretty; }
body.art .article-body .ae-toc.ae-toc a:hover, body.art .article-body .ae-toc.ae-toc a.is-active { color: var(--wine); padding-left: 6px; text-decoration: none; background: none; }
body.art .ae-toc a .ae-num { min-width: 1.8em; font-variant-numeric: lining-nums tabular-nums; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; color: var(--gold); }
body.art .ae-rail-title { color: var(--gold); letter-spacing: .2em; }
body.art .ae-rail ol { border-left: 1px solid var(--line-2); }
body.art .ae-rail a { color: var(--muted); text-wrap: pretty; }
body.art .ae-rail a::before { background: var(--wine); }
body.art .ae-rail a:hover, body.art .ae-rail a.is-active { color: var(--wine-ink); }
body.art .ae-anchor { color: var(--gold); }
body.art .ae-anchor:hover, body.art .ae-anchor:focus-visible { background: var(--wine-ink); color: #fff; }
body.art .ae-fab { background: var(--plum); border-color: rgba(224, 187, 114, .5); color: var(--gold-2); box-shadow: 0 8px 22px -10px rgba(27, 17, 21, .6); }
body.art .ae-fab:hover, body.art .ae-fab:focus-visible { background: var(--gold-2); color: var(--night); border-color: var(--gold-2); }
/* article-enhance.css gives every svg in a button 18px, which shrank the back-to-top progress ring into a loop at the corner */
body.art .ae-fab > svg.ae-ring { width: calc(100% - 4px); height: calc(100% - 4px); }
body.art .ae-toast { background: var(--plum); color: #fff4ea; border: 1px solid rgba(224, 187, 114, .4); }
body.art .ae-lightbox { background: rgba(24, 10, 16, .95); }
body.art .ae-lb-btn { background: var(--plum); border-color: rgba(224, 187, 114, .55); color: var(--gold-2); }
body.art .ae-lb-btn:hover, body.art .ae-lb-btn:focus-visible { background: var(--gold-2); color: var(--night); }
body.art .article-gallery .gallery-card img[data-ae-index]:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -4px; }

/* ---------- call-to-action boxes ---------- */
body.art .mid-cta, body.art .article-cta { position: relative; margin: 48px 0; padding: 40px 36px 38px; text-align: center; border: 0; border-radius: 0; box-shadow: none; transform: none; }
body.art .mid-cta { background: linear-gradient(135deg, #3a1520 0%, #5b2131 52%, #351420 100%); color: #fff; }
body.art .article-cta { background: linear-gradient(180deg, #fbf3ee 0%, #f4e4de 100%); color: var(--ink); }
body.art .mid-cta::after, body.art .article-cta::after { content: ""; display: block; position: absolute; inset: 9px; border: 1px solid rgba(201, 164, 92, .5); pointer-events: none; }
body.art .article-cta::before { content: ""; display: block; width: 120px; height: 9px; margin: 0 auto 18px; background: var(--orn-c) center / contain no-repeat; }
body.art .mid-cta p, body.art .article-cta p { position: relative; z-index: 1; max-width: 34em; margin: 0 auto 24px; text-wrap: balance; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.6; letter-spacing: .01em; }
body.art.art-en .mid-cta p, body.art.art-en .article-cta p { font-style: italic; font-weight: 400; font-size: 21px; }
body.art .mid-cta p { color: #fff6ee; }
body.art .article-cta p { color: var(--wine-ink); }
body.art .article-cta p a.body-link { color: var(--wine); }
.cta-frame { display: none !important; }
.cta-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mid-cta .btn, .article-cta .btn { position: relative; z-index: 1; min-width: 180px; }
body.art .button-container { margin: 0 0 1.4em; }
body.art .article-body .button-container a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border: 1px solid var(--wine-ink); color: var(--wine-ink); font-weight: 700; letter-spacing: .04em; text-decoration: none; background: transparent; transition: background-color .25s, color .25s; }
body.art .article-body .button-container a:hover { background: var(--wine-ink); color: #fff8f0; }

/* ---------- gallery ---------- */
.article-gallery { margin: 48px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery-card { position: relative; margin: 0; background: var(--cream-2); overflow: hidden; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(79, 29, 42, 0) 55%, rgba(79, 29, 42, .32) 100%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.gallery-card:hover::after { opacity: 1; }
body.art .gallery-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
body.art .gallery-card:hover img, body.art .article-gallery .gallery-card:hover img[data-ae-index] { transform: scale(1.045); filter: saturate(1.06); }

/* ---------- FAQ ---------- */
body.art .art-faq { margin: 56px 0 44px; padding: 34px 36px 22px; background: var(--cream); border-top: 1px solid var(--gold-3); }
body.art .article-body .art-faq h2 { margin-top: 0; }
body.art .article-body .art-faq h3 { position: relative; margin: 0; padding: 18px 0 6px 34px; font-size: 19px; color: var(--wine-ink); border-top: 1px solid var(--line-2); }
body.art.art-zh .article-body .art-faq h3 { font-size: 18px; }
body.art .article-body .art-faq h2 + h3 { border-top: 0; padding-top: 4px; }
body.art .article-body .art-faq h3::before { content: "Q"; position: absolute; left: 0; top: 22px; width: 22px; height: 22px; border: 1px solid var(--gold-3); font-family: var(--serif); font-weight: 600; font-size: 13px; line-height: 20px; text-align: center; color: var(--gold); }
body.art .article-body .art-faq h2 + h3::before { top: 8px; }
body.art .article-body .art-faq p { margin: 0 0 1em; padding-left: 34px; color: var(--ink-2); }

/* ---------- about note ---------- */
body.art .art-about { position: relative; display: flex; gap: 20px; align-items: flex-start; margin: 56px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); }
body.art .art-about::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; background: var(--gold-3); transform: rotate(45deg); box-shadow: 0 0 0 7px var(--paper); }
.art-about > div { flex: 1 1 auto; min-width: 0; }
/* the outer ring (5px box-shadow) sits on the column edge, not past it */
.art-about-logo { flex: none; width: 54px; height: 54px; margin: 5px 0 0 5px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--paper), 0 0 0 5px rgba(201, 164, 92, .45); }
body.art .art-about p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }
body.art .art-about p.art-about-h { margin-bottom: 2px; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--wine-ink); letter-spacing: .02em; }
body.art .art-about a { white-space: nowrap; }

/* ---------- related + cards ---------- */
body.art .related-articles { margin: 72px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
body.art .related-articles h2 { margin-bottom: 26px; padding-bottom: 16px; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--wine-ink); background: var(--orn) left bottom / 96px 9px no-repeat; }
body.art .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.art-card { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.art-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--cream-2); transform-origin: 50% 100%; transition: transform .9s var(--ease), filter .5s; }
.art-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 22px 40px -26px rgba(79, 29, 42, .45); }
.art-card:hover img { transform: scale(1.05); filter: saturate(1.06) brightness(1.03); }
.art-card-cat { position: relative; z-index: 1; display: block; margin: 0; padding: 14px 18px 0; background: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.art-card-title { display: block; padding: 6px 18px 20px; font-family: var(--serif); font-weight: 600; font-size: 17.5px; line-height: 1.45; color: var(--ink); text-wrap: pretty; transition: color .3s; }
/* Chinese card titles use the sans: keeps the Noto Serif SC download to heading glyphs only */
.art-zh .art-card-title { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.6; letter-spacing: .01em; }
.art-card:hover .art-card-title { color: var(--wine); }
.art-more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14px; letter-spacing: .04em; }
body.art .art-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(201, 164, 92, .6); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.art-more a::after { content: "\2192"; transition: transform .3s var(--ease); }
body.art .art-more a:hover { color: var(--wine-ink); border-color: var(--wine); }
.art-more a:hover::after { transform: translateX(4px); }

/* ---------- footer ---------- */
body.art footer { margin-top: 88px; padding: 50px 24px 34px; background: var(--night); color: rgba(255, 244, 236, .7); text-align: center; font-size: 14px; border-top: 1px solid rgba(224, 187, 114, .25); box-shadow: inset 0 3px 0 -2px rgba(224, 187, 114, .12); }
body.art footer .footer-inner { display: block; max-width: 960px; margin: 0 auto; padding: 0; border: 0; }
body.art footer::before { content: ""; display: block; width: 120px; height: 9px; margin: 0 auto 26px; background: var(--orn-c) center / contain no-repeat; opacity: .8; }
body.art .footer-links, body.art footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; margin: 0 0 6px; padding: 0; border: 0; }
body.art footer .footer-links a { min-height: 36px; padding: 2px 0; color: rgba(255, 244, 236, .78); text-decoration: none; letter-spacing: .03em; }
body.art footer .footer-links a::after { background: var(--gold-2); inset: auto 0 6px; }
body.art footer .footer-links a:hover { color: var(--gold-2); }
/* the site's own links sit apart from the platform links above them */
body.art footer .footer-inner > .footer-links:last-child:not(:first-child) { max-width: 520px; margin: 14px auto 0; padding-top: 12px; border-top: 1px solid rgba(224, 187, 114, .2); }
/* Chinese display lines (headings, CTA lines, card titles): article.js puts each phrase up to a punctuation mark
   in .kp and each multi-character word in .kw, so lines break between phrases first and never inside a word */
.kp { display: inline-block; max-width: 100%; }
.kw { white-space: nowrap; }
body.art .footer-copy { max-width: 960px; margin: 22px auto 0; padding: 0; text-align: center; font-size: 12px; letter-spacing: .06em; color: rgba(255, 244, 236, .58); text-wrap: balance; }

/* ---------- article index ---------- */
/* index hero (2026-12-01): one girl photo full bleed, its own 3:4 crop on phones; text on a wine gradient, left on desktop,
   at the bottom on phones, never over the face; a slow push-in that stops when motion is reduced */
.idx-hero { position: relative; display: flex; align-items: center; min-height: clamp(470px, 44vw, 640px); overflow: hidden; background: var(--plum); color: #fff8f0; isolation: isolate; }
.idx-hero-bg, body.art .idx-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.idx-hero-bg img { object-fit: cover; object-position: 72% 30%; animation: idx-drift 18s var(--ease) both; }
.idx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 12, 22, .92) 0%, rgba(36, 12, 22, .78) 30%, rgba(36, 12, 22, .32) 52%, rgba(36, 12, 22, 0) 68%), linear-gradient(0deg, rgba(36, 12, 22, .45) 0%, rgba(36, 12, 22, 0) 32%); }
.idx-hero-in { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 72px 28px; }
.idx-hero-in > * { max-width: 31rem; }
.idx-hero .art-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.idx-hero .art-kicker::after { content: ""; width: 46px; height: 1px; background: currentColor; opacity: .7; }
.idx-hero h1 { font-family: var(--serif); font-size: clamp(42px, 4.8vw, 64px); line-height: 1.12; font-weight: 600; letter-spacing: .02em; color: #fff8f0; text-shadow: 0 2px 26px rgba(20, 6, 12, .45); }
.idx-hero h1 > span { display: block; margin-top: 8px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; font-size: .44em; letter-spacing: .02em; color: var(--gold-2); }
.idx-hero-in > p:last-child { margin-top: 20px; font-size: 16px; line-height: 1.9; color: rgba(255, 248, 240, .9); text-shadow: 0 1px 12px rgba(20, 6, 12, .5); }
.idx-hero-in > p:last-child::before { content: ""; display: block; width: 96px; height: 9px; margin-bottom: 18px; background: var(--orn) left center / contain no-repeat; }
@keyframes idx-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.idx-head { position: relative; max-width: 1120px; margin: 0 auto; padding: 30px 28px 30px; text-align: center; background: var(--cream); box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax); }
.idx-head .art-kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.idx-head .art-kicker::before, .idx-head .art-kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.idx-head h1 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.15; font-weight: 600; color: var(--wine-ink); letter-spacing: .02em; }
.idx-head h1 > span:not(.kw) { display: block; margin-top: 6px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; font-size: .46em; letter-spacing: .02em; color: var(--gold); }
.idx-head > p { max-width: 40em; margin: 18px auto 0; color: var(--ink-2); font-size: 16px; line-height: 1.9; text-wrap: balance; }
.idx-head > p::before { content: ""; display: block; width: 120px; height: 9px; margin: 0 auto 18px; background: var(--orn-c) center / contain no-repeat; }
.idx-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin: 28px 0 20px; }
.idx-lang { display: flex; border: 1px solid var(--line-2); background: #fff; }
.idx-lang button { font: 700 13.5px/1 var(--sans); letter-spacing: .06em; padding: 13px 18px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; }
.idx-lang button + button { border-left: 1px solid var(--line); }
.idx-lang button:hover { color: var(--wine); background: var(--cream); }
.idx-lang button[aria-pressed="true"] { background: var(--wine-ink); color: #fff8f0; }
.idx-search { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .04em; color: var(--muted); }
.idx-search input { font: inherit; font-size: 15px; letter-spacing: 0; color: var(--ink); width: 300px; max-width: 64vw; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 0; background: #fff; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.idx-search input:focus { outline: none; border-color: var(--gold-3); box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); }
.idx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-bottom: 4px; }
body.art .idx-chips a { font-size: 13.5px; padding: 6px 13px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: background-color .25s, color .25s, border-color .25s; }
body.art .idx-chips a:hover { background: var(--wine-ink); border-color: var(--wine-ink); color: #fff8f0; }
.idx-main { max-width: 1120px; margin: 0 auto; padding: 0 28px 20px; }
.idx-group > h2 { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin: 64px 0 6px; font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--wine-ink); text-align: center; }
.idx-group > h2::before, .idx-group > h2::after { content: ""; flex: 1 1 60px; max-width: 220px; height: 1px; background: linear-gradient(90deg, rgba(201, 164, 92, 0), var(--gold-3)); }
.idx-group > h2::after { background: linear-gradient(90deg, var(--gold-3), rgba(201, 164, 92, 0)); order: 3; }
.idx-group > h2 > span:not(.kw) { order: 2; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; font-size: .6em; color: var(--gold); }
.idx-cat { scroll-margin-top: 76px; }
.idx-cat h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
.idx-cat h3 > span:not(.kw) { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.idx-cat h3 em { align-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; margin-left: auto; padding: 0 7px; border: 1px solid var(--gold-3); font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 13px; color: var(--gold); }
.idx-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 20px; }
.idx-grid li { min-width: 0; }
.idx-grid .art-card-title { font-size: 16px; }
.idx-empty { padding: 48px 0; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--muted); }
body.idx footer { margin-top: 64px; }

/* ---------- scroll reveal for cards (classes added by article.js only) ---------- */
.qa-motion .qa-r { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--qa-d, 0ms); }
.qa-motion .qa-r.qa-in { opacity: 1; transform: none; }

/* ---------- tablets ---------- */
@media (min-width: 761px) and (max-width: 1024px) {
  .idx-hero-in > * { max-width: 24rem; }
  .idx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- phones and portrait tablets: own layout ---------- */
@media (max-width: 760px) {
  .art-top { gap: 12px; min-height: 52px; padding: 7px 14px; }
  .nav-logo { gap: 8px; }
  .nav-logo img { width: 30px; height: 30px; }
  .nav-logo span { font-size: 17px; }
  .art-top-nav { gap: 16px; font-size: 13px; }
  .art-top-nav a + a { display: none; }
  body.art .lang-btn { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .art-crumbs { flex-wrap: nowrap; gap: 0 8px; padding: 9px 16px; font-size: 12px; white-space: nowrap; overflow: hidden; }
  .art-crumbs > * { flex: none; }
  .art-crumbs-here { flex: 1 1 auto; min-width: 0; max-width: none; }

  .article-hero { min-height: 0; }
  .article-hero::after { inset: 9px; }
  .art-hero-in { padding: 46px 22px 36px; }
  .art-kicker { margin-bottom: 14px; }
  .art-kicker a { gap: 10px; font-size: 11px; letter-spacing: .2em; }
  .art-kicker a::before, .art-kicker a::after { width: 22px; }
  .article-hero h1 { font-size: clamp(25px, 7vw, 30px); line-height: 1.24; }
  .art-zh .article-hero h1 { font-size: clamp(24px, 6.7vw, 28px); line-height: 1.38; }
  body.art .article-hero .meta { margin-top: 14px; font-size: 12.5px; letter-spacing: .02em; row-gap: 2px; }
  body.art .article-hero .meta::before { content: ""; order: 3; flex-basis: 100%; height: 0; }
  .article-hero .meta span { order: 4; }
  .article-hero .meta span:first-child { order: 1; }
  .article-hero .meta span:last-child { order: 2; }
  .article-hero .meta span:nth-child(2):not(:last-child)::before { display: none; }
  .article-hero .meta span + span::before { margin: 0 9px; }
  .hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 24px; }
  .hero-cta .btn:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .hero-cta .btn:only-child { grid-column: 1 / -1; }
  body.art .hero-cta .btn { min-height: 50px; padding: 0 12px; font-size: 14.5px; }
  body.art.art-en .hero-cta .btn { font-size: 12.5px; letter-spacing: .12em; }

  .art-main { padding: 30px 18px 6px; }
  body.art .article-body { font-size: 16.5px; line-height: 1.78; }
  body.art.art-zh .article-body { font-size: 16.5px; line-height: 1.9; letter-spacing: 0; }
  body.art .article-body > a:first-child { margin: 0 -18px 26px; }
  body.art .article-img { outline-offset: -8px; box-shadow: none; }
  body.art .article-body > a:first-child + p { font-size: 1.04em; }
  body.art .article-body h2 { margin: 2em 0 .8em; padding-bottom: 15px; font-size: 24px; background-size: 84px 8px; }
  body.art.art-zh .article-body h2 { font-size: 22px; }
  body.art .article-body h3 { font-size: 19px; }
  body.art.art-zh .article-body h3 { font-size: 18px; }
  body.art .article-body li { padding-left: 1.4em; }
  body.art .article-body ol > li { padding-left: 2em; }
  body.art .article-body ul.art-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  body.art .article-body ul.art-tags > li { padding: 8px 8px 8px 24px; font-size: .88em; }
  body.art .article-body ul.art-tags > li::before { left: 10px; }
  body.art .article-body > img:not(.article-img) { margin-right: 14px; }

  body.art .ae-toc { margin: 6px -18px 32px; padding: 18px 18px 8px; }
  body.art .article-body .ae-toc.ae-toc a { font-size: 15px; gap: 12px; padding: 9px 0; }

  body.art .mid-cta, body.art .article-cta { margin: 36px -18px; padding: 34px 24px 30px; }
  body.art .mid-cta::after, body.art .article-cta::after { inset: 7px; }
  body.art .mid-cta p, body.art .article-cta p { font-size: 18px; margin-bottom: 20px; }
  body.art.art-en .mid-cta p, body.art.art-en .article-cta p { font-size: 19px; }
  .cta-row { flex-direction: column; gap: 10px; }
  .mid-cta .btn, .article-cta .btn { width: 100%; min-width: 0; min-height: 52px; }
  body.art .article-body .button-container a { display: flex; justify-content: center; width: 100%; min-height: 50px; }

  .article-gallery { margin: 36px -18px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }

  body.art .art-faq { margin: 44px -18px 36px; padding: 28px 18px 14px; }
  body.art .article-body .art-faq h3 { padding-left: 28px; font-size: 17.5px; }
  body.art .article-body .art-faq p { padding-left: 28px; }
  body.art .article-body .art-faq h3::before { top: 21px; }
  body.art .article-body .art-faq h2 + h3::before { top: 7px; }
  body.art .article-body .ae-anchor { display: none; }

  body.art .art-about { gap: 14px; margin-top: 40px; }
  .art-about-logo { width: 44px; height: 44px; }
  body.art .art-about p { font-size: 14.5px; }

  body.art .related-articles { margin-top: 56px; }
  body.art .related-articles h2 { font-size: 23px; margin-bottom: 20px; }
  body.art .related-grid, .idx-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .art-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; height: auto; }
  .art-card img { grid-row: 1 / span 2; align-self: stretch; width: 100%; height: auto; min-height: 96px; aspect-ratio: auto; }
  .art-card-cat { padding: 12px 14px 0; font-size: 10px; letter-spacing: .16em; }
  .art-card-title, .idx-grid .art-card-title { padding: 4px 14px 14px; font-size: 15.5px; line-height: 1.45; }
  .art-zh .art-card-title, .art-zh .idx-grid .art-card-title { font-size: 15px; line-height: 1.5; }
  .art-card:hover { transform: none; }
  .art-more { gap: 10px 22px; }

  body.art footer { margin-top: 64px; padding: 40px 18px 28px; }
  body.art footer .footer-links { gap: 0 20px; }
  body.art footer .footer-links a { min-height: 40px; }
  body.art .footer-copy { padding: 0 52px; }

  .idx-hero { align-items: flex-end; min-height: min(84svh, 660px); }
  .idx-hero-bg img { object-position: 62% 22%; }
  .idx-hero::after { background: linear-gradient(180deg, rgba(36, 12, 22, .2) 0%, rgba(36, 12, 22, 0) 26%, rgba(36, 12, 22, .5) 56%, rgba(36, 12, 22, .93) 100%); }
  .idx-hero-in { padding: 0 18px 30px; }
  .idx-hero h1 { font-size: 38px; }
  .idx-hero-in > p:last-child { margin-top: 14px; font-size: 15px; line-height: 1.85; }
  .idx-hero-in > p:last-child::before { margin-bottom: 14px; }
  .idx-head { padding: 22px 18px 22px; }
  .idx-main { padding: 0 16px 16px; }
  .idx-tools { gap: 10px; margin: 22px 0 16px; }
  .idx-lang { width: 100%; }
  .idx-lang button { flex: 1 1 0; padding: 13px 8px; }
  .idx-search { flex: 1 1 100%; }
  .idx-search span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .idx-search input { width: 100%; max-width: none; min-height: 46px; font-size: 16px; }
  /* all topics visible, wrapping onto a few rows (a side-scrolling strip looked like it ran off the screen) */
  .idx-chips { flex-wrap: wrap; justify-content: center; gap: 7px; }
  body.art .idx-chips a { font-size: 13px; padding: 6px 11px; }
  .idx-group > h2 { margin-top: 46px; font-size: 25px; gap: 2px 12px; }
  .idx-group > h2::before, .idx-group > h2::after { flex-basis: 30px; }
  .idx-cat h3 { margin: 28px 0 12px; font-size: 19px; }
}
@media (max-width: 380px) {
  .art-top-nav { display: none; }
  .nav-btns { margin-left: auto; }
  body.art .lang-btn .lang-label { display: none; }
  body.art .lang-btn .lang-code { display: inline; }
  body.art .lang-btn { min-width: 44px; justify-content: center; }
  .art-card { grid-template-columns: 108px minmax(0, 1fr); }
  body.art .hero-cta .btn { padding: 0 6px; }
  body.art.art-en .hero-cta .btn { letter-spacing: .06em; }
}
/* very narrow phones: the two dates no longer fit on one line, and a wrapped row would start with a diamond */
@media (max-width: 340px) {
  .article-hero .meta span:nth-child(n+2):not(:last-child) { flex-basis: 100%; }
  .article-hero .meta span:nth-child(n+2):not(:last-child)::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .idx-hero-bg img { animation: none; }
  body.art .btn, .gallery-card img, .gallery-card::after, .art-card, .art-card img, .art-more a::after, .art-top-nav a::after, .qa-motion .qa-r { transition: none; }
  body.art .btn:hover, .art-card:hover, .art-card:hover img, body.art .gallery-card:hover img { transform: none; }
  .qa-motion .qa-r { opacity: 1; transform: none; }
}
@media print {
  .art-top, .hero-cta, .art-crumbs { display: none !important; }
  .article-hero { min-height: 0; color: var(--ink); background: none !important; }
  .article-hero::before, .article-hero::after { display: none; }
  .article-hero h1 { color: var(--ink); text-shadow: none; }
  .qa-motion .qa-r { opacity: 1; transform: none; }
}
