/* A separate gilded dossier layout for paid and free post details. */
/* Keep the public shell in gold before the asynchronous page is mounted. */
body:has(.public-page .page-state) {
  min-height: 100vh;
  background: radial-gradient(ellipse 100% 520px at 50% 0,#ffeaa1,transparent 80%),linear-gradient(135deg,#d39a27,#f6d479 48%,#e6b746);
  color: #40280e;
  font-family: Arial,"Microsoft YaHei","PingFang SC",sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(.public-page .page-state) .site-nav-shell {
  background: linear-gradient(110deg,#714113,#93601e,#714113);
  border-bottom: 1px solid #ffe5a0; box-shadow: 0 4px 16px #7e4f1626;
}
body:has(.public-page .page-state) .nav-inner { max-width: 1032px; padding: 0 18px; }
body:has(.public-page .page-state) .nav-row-primary { height: 55px; }
body:has(.public-page .page-state) .nav-row .nav-item {
  min-height: 55px; border: 0; border-radius: 0; background: transparent;
  color: #fff0c3; font-size: 14px; font-weight: 500; letter-spacing: .05em;
}
body:has(.public-page .page-state) .nav-row .nav-item + .nav-item { border-left: 1px solid #ffebb72b; }
body:has(.public-page .page-state) .nav-row .nav-item:hover { background: #ffe4a21c; }
body:has(.public-page .page-state) .page-container.public-page {
  box-sizing: border-box; max-width: 1100px; min-height: calc(100svh - 90px);
  padding: 24px 34px 100px; background: transparent;
}
body:has(.public-page .page-state) .public-page > .ad-slot {
  max-width: 1000px; margin: 0 auto 17px; border: 1px solid #c79b43;
  border-radius: 7px; background: #f9e2a2; box-shadow: inset 0 1px #fff5d2;
}
body:has(.public-page .page-state) .ad-slot .ad-label {
  border: 1px solid #bd903a; border-radius: 3px; background: #fff2c7; color: #503519;
}
body:has(.public-page .page-state) .ad-slot :is(.ad-copy,.ad-cta) { color: #503519; }
.public-page .page-state {
  position: relative; isolation: isolate; box-sizing: border-box; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 25px; width: min(100%,1000px); min-height: 360px; margin: 0 auto;
  padding: 50px 28px 62px; border: 1px solid #ad761e; border-radius: 15px;
  background: url("./gilded-frame.svg") center / calc(100% - 12px) calc(100% - 12px) no-repeat,
    radial-gradient(ellipse at 50% 25%,#fff9cfb3,transparent 65%),
    linear-gradient(115deg,#e0a42c,#ffe49a 34%,#edc45f 68%,#d29929);
  box-shadow: inset 0 0 0 4px #ffe9a673,inset 0 0 0 5px #a76c2040,0 14px 35px #86530e26;
  color: #4b2e10; font: 600 16px/1.8 Arial,"Microsoft YaHei","PingFang SC",sans-serif;
  letter-spacing: .12em; text-align: center; overflow-wrap: anywhere;
}
.public-page .page-state:not(.error)::before {
  content: "¥"; display: grid; place-items: center; flex: 0 0 auto;
  box-sizing: border-box; width: 76px; height: 76px; border: 4px double #ac751c; border-radius: 50%;
  background: linear-gradient(120deg,#e7b43e 10%,#fff4b9 38%,#efc357 65%,#ce9224);
  color: #855114; font: 600 38px/1 Georgia,"Times New Roman",serif; text-indent: 0; letter-spacing: 0;
  text-shadow: 0 1px #fff5c5; box-shadow: inset 0 0 0 4px #fff0ad80,0 5px 12px #96601930;
  animation: zev-loading-coin 2.8s ease-in-out infinite;
}
.public-page .page-state:not(.error)::after {
  content: ""; position: absolute; bottom: 36px; left: 50%; width: min(180px,55%); height: 3px;
  transform: translateX(-50%); border-radius: 3px;
  background: linear-gradient(90deg,#ad761e26 0%,#ad761e26 28%,#fff8d2 43%,#b27518 50%,#fff8d2 57%,#ad761e26 72%);
  background-size: 250% 100%; animation: zev-loading-sheen 1.8s ease-in-out infinite;
}
.public-page .page-state.error { color: #812e19; letter-spacing: .02em; }
@keyframes zev-loading-coin {
  0%,100% { transform: translateY(0); box-shadow: inset 0 0 0 4px #fff0ad80,0 5px 12px #96601930; }
  50% { transform: translateY(-4px); box-shadow: inset 0 0 0 4px #fff6c6b3,0 9px 18px #96601940; }
}
@keyframes zev-loading-sheen { from { background-position: 100% 0; } to { background-position: -65% 0; } }
@media(max-width:820px) {
  body:has(.public-page .page-state) .page-container.public-page { padding: 14px 12px 96px; }
  .public-page .page-state { min-height: 330px; padding: 44px 22px 60px; font-size: 15px; border-radius: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .public-page .page-state:not(.error)::before,
  .public-page .page-state:not(.error)::after { animation: none; }
}

html:has(.post-detail-page.reference-style),
body:has(.post-detail-page.reference-style),
body:has(.post-detail-page.reference-style) #root { min-width: 0; }
body:has(.post-detail-page.reference-style) {
  --post-gold: #d5a140; --post-ink: #241910; --post-line: #e5c782;
  --post-font: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: radial-gradient(ellipse 100% 460px at 50% 0,#fff5c7,transparent),linear-gradient(#efc363,#fff0bb 560px,#fff2c9);
  color: var(--post-ink); -webkit-font-smoothing: antialiased;
}
body:has(.post-detail-page.reference-style) .site-nav-shell { background: linear-gradient(110deg,#714113,#86541d,#714113); border-bottom: 1px solid #ffe7a4; box-shadow: 0 3px 14px #91601420; }
body:has(.post-detail-page.reference-style) .nav-inner { max-width: 1032px; padding: 0 18px; }
body:has(.post-detail-page.reference-style) .nav-row-primary { height: 55px; }
body:has(.post-detail-page.reference-style) .nav-row .nav-item { min-height: 55px; border: 0; border-radius: 0; color: #fff0c3; background: none; font-size: 14px; font-weight: 500; letter-spacing: .05em; }
body:has(.post-detail-page.reference-style) .nav-row .nav-item + .nav-item { border-left: 1px solid #ffebb72b; }
body:has(.post-detail-page.reference-style) .nav-row .nav-item:hover { background: #ffe4a21c; color: #fff7df; }
body:has(.post-detail-page.reference-style) .page-container.public-page { max-width: 1100px; padding: 24px 34px 32px; }
body:has(.post-detail-page.reference-style) .public-page > .ad-slot { max-width: 1000px; margin: 0 auto 17px; border: 1px solid #d9b266; border-radius: 7px; background: #f9e2a2; box-shadow: inset 0 1px #fff5d2; }
body:has(.post-detail-page.reference-style) .ad-slot > a { min-height: 43px; padding: 10px 15px; gap: 12px; }
body:has(.post-detail-page.reference-style) .ad-slot .ad-label { border: 1px solid #c89b4a; border-radius: 3px; background: #fff2c7; color: #503519; font-size: 12px; }
body:has(.post-detail-page.reference-style) .ad-slot .ad-copy { color: #4d371e; font-size: 12px; font-weight: 500; }
body:has(.post-detail-page.reference-style) .ad-slot .ad-cta { color: #50351b; font-size: 12px; }

.post-detail-page.reference-style { width: min(100%,1000px); margin: 0 auto; padding-bottom: calc(92px + env(safe-area-inset-bottom)); color: var(--post-ink); font: 15px/1.65 var(--post-font); }
.post-detail-page .post-reference-banner { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 24px; align-items: center; min-height: 102px; padding: 20px 27px; overflow: hidden; border: 1px solid #c6973b; border-radius: 12px; background: linear-gradient(115deg,#edc669,#ffebad 47%,#deb04f); box-shadow: inset 0 0 0 4px #fff0b644,0 5px 16px #9d6b1920; }
.post-detail-page .post-reference-banner::after { content: none; }
.post-detail-page .post-reference-back { position: static; justify-self: start; padding: 8px 13px; border: 1px solid #af7f2e; border-radius: 4px; background: #fff1bf66; color: #402b16; font-size: 13px; font-weight: 600; white-space: nowrap; }
.post-detail-page .post-reference-back:hover { background: #fff2c9; border-color: #92651e; }
.post-detail-page .post-reference-brand { justify-content: flex-end; gap: 15px; min-width: 0; }
.post-detail-page .post-reference-brand strong { color: #2f2012; font-family: var(--post-font); font-size: 28px; letter-spacing: .065em; text-shadow: none; }
.post-detail-page .post-reference-brand small { max-width: none; margin-top: 4px; color: #58452d; font-size: 12px; letter-spacing: .04em; }
.post-detail-page .post-reference-coin { width: 52px; height: 52px; border: 4px double #ba8428; background: radial-gradient(circle at 32% 22%,#fff7ca,#f6d272 48%,#c4922d); color: #925c19; font: 700 24px Georgia,SimSun,serif; box-shadow: 0 3px 6px #99641e30,inset 0 0 0 3px #fff0a970; }

/* The title is an engraved cover; records have a quieter, readable paper surface. */
.post-detail-page .post-reference-card { margin-top: 20px; border: 1px solid #cfa347; border-radius: 14px; background: #fff5d5; box-shadow: 0 12px 32px #9c6a1e18; overflow: hidden; }
.post-detail-page .post-reference-card > header { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 134px; padding: 27px 32px 30px; border-bottom: 1px solid #d6ac54; background: radial-gradient(ellipse at 70% 0,#fff7d49c,transparent 60%),linear-gradient(112deg,#edc66a,#ffe7a3 48%,#e4b955); }
.post-detail-page .post-reference-card > header::before { content: ""; position: absolute; inset: 4px; z-index: -1; pointer-events: none; background: url("./gilded-frame.svg") center / 100% 100% no-repeat; opacity: .85; }
.post-detail-page .post-reference-card > header > span { grid-column: 1; grid-row: 1; justify-self: start; display: inline-block; padding: 4px 9px; border: 1px solid #b38b4266; border-radius: 3px; color: #5e3f12; background: #fff2c552; font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.post-detail-page .post-reference-card > header h1 { grid-column: 1 / -1; grid-row: 2; margin: 0; color: #2c1c10; font-family: var(--post-font); font-size: clamp(24px,3.4vw,33px); font-weight: 700; line-height: 1.5; letter-spacing: .035em; text-shadow: none; overflow-wrap: anywhere; }
.post-detail-page .post-reference-card > header small { position: static; grid-column: 2; grid-row: 1; transform: none; padding: 0; color: #5e4525; background: none; font-size: 12px; font-weight: 400; white-space: nowrap; }
.post-detail-page .post-reference-content { padding: 16px 28px 27px; border-radius: 0; background: linear-gradient(105deg,#f3dda3,#faeac1 50%,#f3dda3); font-size: 15px; }
.post-detail-page .post-reference-note { margin: 0 0 6px; padding: 8px 10px 15px; color: #5f5141; font-size: 12px; font-weight: 400; border-bottom: 1px solid #eedbb0; }
.post-detail-page .post-reference-record { border-top: 0; border-bottom: 1px solid #efe1bf; }
.post-detail-page .post-reference-record:nth-of-type(even) { background: #dfb75c24; }
.post-detail-page .post-reference-row { display: grid; grid-template-columns: 66px 117px minmax(0,1fr) 110px; align-items: baseline; gap: 9px; margin: 0; padding: 15px 10px; line-height: 1.9; overflow-wrap: anywhere; }
.post-detail-page .post-reference-issue { grid-column: 1; color: #54402b; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.post-detail-page .post-reference-row em { grid-column: 2; margin: 0; color: #46362b; font-size: 14px; font-style: normal; font-weight: 600; }
.post-detail-page .post-reference-row b { grid-column: 3; min-width: 0; color: #211b16; font-family: var(--post-font); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.post-detail-page .post-reference-row b > span:not(.post-reference-pending) { display: inline-block; }
.post-detail-page .post-reference-row .post-hit-value { padding: 1px 5px; border: 1px solid #e0b960; border-radius: 4px; background: linear-gradient(#ffebaa,#f4d77d); color: #892d20; font-weight: 700; }
.post-detail-page .post-reference-result { grid-column: 4; justify-self: end; margin: 0; padding: 2px 7px; border: 1px solid transparent; border-radius: 4px; color: #544838; font-size: 12px; font-weight: 500; white-space: nowrap; }
.post-detail-page .post-reference-result.hit { border-color: #dfb867; background: #f8e4a6; color: #7b3416; }
.post-detail-page .post-reference-result.miss { border-color: #d4cec1; background: #efeee7; color: #514c42; }
.post-detail-page .post-reference-result.pending { border-color: #e5c983; background: #fff3cd; color: #74500f; }
.post-detail-page .post-reference-summary { margin: 8px 0; padding: 11px 8px; border: 0; border-top: 1px solid #e6ca86; border-bottom: 1px solid #e6ca86; background: linear-gradient(90deg,#fff9e7,#f7e7b4,#fff9e7); color: #6c4712; font-size: 12px; font-weight: 600; line-height: 1.8; }
.post-detail-page .post-reference-record.current { margin: 15px 0 4px; border: 1px solid #d0a447; border-left: 4px solid #b88027; border-radius: 7px; background: #ffedb4; box-shadow: inset 0 0 0 3px #fff6d866; scroll-margin-top: 20px; }
.post-detail-page .post-reference-record.current .post-reference-row { padding: 16px 12px; }
.post-detail-page #post-current { scroll-margin-top: 20px; }
.post-detail-page #post-purchase { scroll-margin-top: 22px; }
.post-detail-page .post-reference-record.current .post-reference-issue { color: #4b2c13; font-size: 13px; }
.post-detail-page .post-reference-pending { color: #765019; font-size: 14px; font-weight: 600; }
.post-detail-page .post-reference-hidden, .post-detail-page .post-reference-reveal { color: #733e12; font-weight: 600; text-underline-offset: 3px; }
.post-detail-page .post-reference-extra { margin: 0 8px 12px 195px; padding: 10px 12px; border-left: 2px solid #d6b35e; background: #f7edcf; color: #57412c; font-size: 12px; line-height: 1.8; }

/* A distinct purchase panel, without changing price, access or button behaviour. */
.post-detail-page .post-purchase-panel { margin-top: 24px; border: 1px solid #c99839; border-radius: 11px; background: #fff4d0; color: #412e1a; box-shadow: 0 6px 20px #ac752014; overflow: hidden; scroll-margin-top: 22px; }
.post-detail-page .post-purchase-trust { margin: 0; padding: 12px 19px; border-bottom: 1px solid #e7c777; background: #fae1a2; color: #513517; font-size: 12px; font-weight: 500; line-height: 1.8; }
.post-detail-page .post-purchase-box { padding: 0 0 17px; border: 0; border-bottom: 1px solid #e6c679; background: linear-gradient(125deg,#fff4cf,#ffe4a0); font-weight: 400; }
.post-detail-page .post-purchase-heading { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; padding: 21px 22px; border-bottom: 1px solid #c69641; background: linear-gradient(110deg,#704216,#87531c); }
.post-detail-page .post-purchase-heading strong { color: #ffe9a9; font-family: var(--post-font); font-size: 23px; font-weight: 700; line-height: 1.5; text-shadow: none; }
.post-detail-page .post-purchase-heading a { padding: 7px 11px; border: 1px solid #eac98482; border-radius: 4px; background: #fff0ba17; color: #ffe9b3; font-size: 12px; font-weight: 500; box-shadow: none; text-shadow: none; white-space: nowrap; }
.post-detail-page .post-purchase-heading a:hover { background: #ffe7a333; }
.post-detail-page .post-purchase-lock { position: relative; width: 29px; height: 31px; border: 0; background: none; font-size: 0; }
.post-detail-page .post-purchase-lock::before { content: ""; position: absolute; left: 4px; bottom: 2px; width: 19px; height: 15px; border: 1.5px solid #fce1a3; border-radius: 3px; background: #efc16c20; }
.post-detail-page .post-purchase-lock::after { content: ""; position: absolute; left: 8px; top: 3px; width: 11px; height: 12px; border: 1.5px solid #fce1a3; border-bottom: 0; border-radius: 9px 9px 0 0; }
.post-detail-page .post-buyer-roster { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 20px 11px; }
.post-detail-page .post-buyer-roster p { gap: 5px; color: #5a4123; font-size: 12px; font-weight: 400; }
.post-detail-page .post-buyer-roster p strong { min-width: 0; padding: 0 2px; border: 0; border-radius: 0; background: none; color: #6e3e0e; font: 500 20px/1.3 Arial,sans-serif; }
.post-detail-page .post-buyer-roster select { width: min(100%,235px); min-height: 34px; margin-left: auto; padding: 5px 9px; border: 1px solid #d8b76c; border-radius: 4px; background: #fff9df; color: #483015; font: 14px/1.5 var(--post-font); }
.post-detail-page .post-purchase-price { width: auto; max-width: none; margin: 0 20px; padding: 13px 0; border-top: 1px solid #dcb96b70; border-radius: 0; color: #44301c; background: none; font-size: 13px; line-height: 2; }
.post-detail-page .post-purchase-price b { margin: 0 5px; padding: 0; border: 0; border-radius: 0; color: #633509; background: none; font: 600 30px/1.25 Arial,sans-serif; text-shadow: none; }
.post-detail-page .post-purchase-action { align-items: center; justify-content: space-between; gap: 15px; padding: 9px 20px 16px; }
.post-detail-page .post-purchase-action > span { color: #625032; font-size: 12px; line-height: 1.8; }
.post-detail-page .post-primary-button { width: min(100%,230px); min-height: 49px; flex-shrink: 0; padding: 11px 24px; border: 2px solid #bd8730; border-radius: 7px; color: #42270c; background: linear-gradient(115deg,#fff0b1,#efbc45 47%,#ffe798); font-size: 17px; font-weight: 700; letter-spacing: .07em; text-shadow: none; box-shadow: inset 0 0 0 2px #fff0b366,0 5px 12px #ac741f28; }
.post-detail-page .post-primary-button:hover:not(:disabled) { background: linear-gradient(115deg,#fff5cc,#f3cb65 47%,#fff0b7); border-color: #ad731e; }
.post-detail-page .post-primary-button:disabled { opacity: .62; box-shadow: none; }
.post-detail-page .post-primary-button > span[aria-hidden="true"] { display: none; }
.post-detail-page .post-purchase-inline-notice,
.post-detail-page .post-purchase-inline-error,
.post-detail-page .post-purchase-inline-success { width: auto; max-width: none; margin: 0 20px 12px; padding: 9px 11px; border-radius: 4px; font-size: 12px; font-weight: 400; line-height: 1.8; }
.post-detail-page .post-purchase-inline-notice { border-color: #dfb96a; background: #fff7dc; color: #654210; }
.post-detail-page .post-purchase-inline-notice a { color: #592e0c; font-weight: 600; }
.post-detail-page .post-purchase-inline-error { border-color: #dab0a0; background: #fff0e9; color: #8d3420; }
.post-detail-page .post-purchase-inline-success { border-color: #adbd97; background: #f3f6e9; color: #345925; }
.post-detail-page .post-purchase-warning { width: auto; margin: 0 20px; padding: 10px 0 0; border: 0; border-top: 1px solid #e7c987; border-radius: 0; background: none; color: #655239; font-size: 12px; line-height: 1.8; }
.post-detail-page .post-purchase-warning strong { color: #674618; font-weight: 600; }
.post-detail-page .post-purchase-balance { margin: 0 20px 12px; color: #5b411d; font-size: 12px; }
.post-detail-page .post-purchase-notes { padding: 13px 20px; background: #fff5d7; }
.post-detail-page .post-purchase-notes p,
.post-detail-page .post-purchase-notes p:last-child { margin: 4px 0; color: #5e4c31; font-size: 12px; line-height: 1.8; }
.post-detail-page .post-purchase-notes p:first-child strong,
.post-detail-page .post-purchase-notes p:last-child strong { color: #65451a; font-weight: 600; }

.post-detail-page .post-reference-card > header .zev-section-art,
.post-detail-page .post-purchase-heading .zev-section-art { position: absolute; right: 27px; bottom: 6px; width: 100px; height: 16px; color: #bc8935; pointer-events: none; }
.post-detail-page .post-purchase-heading .zev-section-art { right: 18px; bottom: -9px; color: #eecf86; background: #a46e25; border-radius: 3px; }
.post-detail-page .zev-section-art svg { display: block; width: 100%; height: 100%; }
.post-detail-page .estate-section-ink { stroke-dasharray: 1; animation: post-detail-engrave 6.5s ease-in-out infinite; animation-play-state: paused; }
.post-detail-page .zev-section-art.is-visible .estate-section-ink { animation-play-state: running; }
.post-detail-page .zev-section-art.is-page-hidden .estate-section-ink { animation-play-state: paused; }
@keyframes post-detail-engrave { 0% { stroke-dashoffset: 1; opacity: .85; } 46%,83% { stroke-dashoffset: 0; opacity: .85; } 97%,100% { stroke-dashoffset: 0; opacity: .12; } }

.post-detail-page .post-floating-nav { width: min(calc(100% - 32px),850px); bottom: 14px; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border: 1px solid #c6963b; border-radius: 11px; background: #fff0bcf7; box-shadow: 0 -2px 16px #9d68161c,0 6px 20px #935e1924; backdrop-filter: blur(12px); overflow: hidden; }
.post-detail-page .post-floating-nav a { border-left-color: #d9b76c; color: #553716; font-size: 12px; font-weight: 600; gap: 4px; }
.post-detail-page .post-floating-nav a:nth-child(2), .post-detail-page .post-floating-nav a:last-child { color: #553716; }
.post-detail-page .post-floating-nav a:hover { background: #ffe79d; color: #3d250c; }
.post-detail-page .post-floating-nav a.primary { background: linear-gradient(115deg,#f0ca69,#ffe9a6,#e2b34e); color: #4e2c10; }
.post-detail-page .post-floating-nav svg { width: 20px; height: 20px; }
.post-detail-page a:focus-visible, .post-detail-page button:focus-visible, .post-detail-page select:focus-visible { outline: 3px solid #a97420; outline-offset: 3px; }
body:has(.post-detail-page.reference-style) .global-recharge-float { display: none; }
body:has(.post-detail-page.reference-style) .global-floating-top { right: max(12px,calc((100vw - 1120px)/2)); bottom: calc(105px + env(safe-area-inset-bottom)); width: 42px; height: 42px; border: 1px solid #c59845; border-radius: 8px; background: #fff0bd; color: #563614; box-shadow: 0 3px 10px #97651a19; }
body:has(.post-detail-page.reference-style) .post-purchase-modal { border-color: #c7973c; background: linear-gradient(120deg,#f3d48a,#fae5b0,#f0d08a); box-shadow: 0 0 0 4px #f7d68170,0 20px 55px #7449144d; }
body:has(.post-detail-page.reference-style) .post-purchase-modal h2,
body:has(.post-detail-page.reference-style) .post-purchase-modal.is-success h2 { background: linear-gradient(110deg,#774313,#8a551b); color: #ffedb7; text-shadow: none; border-bottom-color: #e7c271; }
body:has(.post-detail-page.reference-style) .post-purchase-modal-close { color: #63400f; }
body:has(.post-detail-page.reference-style) .post-purchase-alert { border-color: #dcac8e; background: #fff3e5; box-shadow: 0 10px 25px #88512730; }
body:has(.post-detail-page.reference-style) .post-purchase-alert strong { color: #853b13; }

@media (max-width:820px) {
  body:has(.post-detail-page.reference-style) .page-container.public-page { padding: 14px 15px 22px; }
  body:has(.post-detail-page.reference-style) .nav-inner { padding: 0; }
  body:has(.post-detail-page.reference-style) .nav-row-primary { height: 48px; }
  body:has(.post-detail-page.reference-style) .nav-row .nav-item { min-height: 48px; font-size: 13px; }
  .post-detail-page.reference-style { width: 100%; margin: 0; }
  .post-detail-page .post-reference-banner { min-height: 88px; padding: 16px 18px; gap: 15px; }
  .post-detail-page .post-reference-brand { gap: 11px; }
  .post-detail-page .post-reference-brand strong { font-size: 23px; }
  .post-detail-page .post-reference-brand small { font-size: 12px; }
  .post-detail-page .post-reference-coin { width: 43px; height: 43px; font-size: 21px; }
  .post-detail-page .post-reference-card > header { min-height: 123px; padding: 24px; }
  .post-detail-page .post-reference-card > header h1 { font-size: 26px; }
  .post-detail-page .post-reference-content { padding: 12px 16px 21px; }
  .post-detail-page .post-reference-row { grid-template-columns: 57px 94px minmax(0,1fr) 100px; padding: 13px 7px; gap: 7px; }
  .post-detail-page .post-reference-row em { font-size: 13px; }
  .post-detail-page .post-reference-extra { margin-left: 160px; }
  .post-detail-page .post-purchase-heading { padding: 18px; }
  .post-detail-page .post-purchase-heading strong { font-size: 21px; }
  .post-detail-page .post-purchase-action { flex-direction: column; align-items: stretch; gap: 10px; }
  .post-detail-page .post-primary-button { width: min(100%,330px); align-self: center; }
  .post-detail-page .post-purchase-action > span { text-align: center; }
}
@media (max-width:620px) {
  .post-detail-page .post-reference-row { grid-template-columns: 55px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 12px 8px; }
  .post-detail-page .post-reference-row .post-reference-issue { grid-row: 1; grid-column: 1; }
  .post-detail-page .post-reference-row em { grid-row: 1; grid-column: 2; font-size: 13px; }
  .post-detail-page .post-reference-row b { grid-row: 2; grid-column: 1 / -1; font-size: 17px; line-height: 1.85; }
  .post-detail-page .post-reference-row .post-reference-result { grid-row: 1; grid-column: 3; font-size: 12px; padding: 2px 5px; }
  .post-detail-page .post-reference-extra { margin: 0 8px 12px; }
  .post-detail-page .post-reference-summary { font-size: 12px; }
  .post-detail-page .post-buyer-roster { flex-direction: column; align-items: stretch; gap: 9px; }
  .post-detail-page .post-buyer-roster select { width: 100%; margin-left: 0; }
  .post-detail-page .post-purchase-heading { padding: 16px 14px; gap: 8px; }
  .post-detail-page .post-purchase-heading strong { font-size: 20px; }
  .post-detail-page .post-purchase-heading a { font-size: 12px; padding: 6px 8px; }
  .post-detail-page .post-purchase-price { font-size: 12px; }
  .post-detail-page .post-purchase-price b { font-size: 28px; }
  .post-detail-page .post-floating-nav { width: 100%; bottom: 0; border-radius: 0; border-bottom: 0; }
}
@media (max-width:440px) {
  body:has(.post-detail-page.reference-style) .page-container.public-page { padding: 11px 11px 18px; }
  body:has(.post-detail-page.reference-style) .ad-slot > a { padding: 9px; gap: 7px; }
  body:has(.post-detail-page.reference-style) .ad-slot .ad-copy { font-size: 12px; }
  body:has(.post-detail-page.reference-style) .ad-slot .ad-label, body:has(.post-detail-page.reference-style) .ad-slot .ad-cta { font-size: 12px; }
  .post-detail-page .post-reference-banner { padding: 16px 12px; gap: 10px; border-radius: 8px; }
  .post-detail-page .post-reference-back { padding: 7px 8px; font-size: 12px; }
  .post-detail-page .post-reference-brand { gap: 8px; }
  .post-detail-page .post-reference-brand strong { font-size: 20px; }
  .post-detail-page .post-reference-brand small { max-width: 175px; font-size: 12px; line-height: 1.7; }
  .post-detail-page .post-reference-coin { width: 35px; height: 35px; font-size: 18px; }
  .post-detail-page .post-reference-card { margin-top: 15px; border-radius: 10px; }
  .post-detail-page .post-reference-card > header { padding: 20px 19px 24px; min-height: 120px; gap: 12px; }
  .post-detail-page .post-reference-card > header h1 { font-size: 24px; }
  .post-detail-page .post-reference-card > header > span, .post-detail-page .post-reference-card > header small { font-size: 12px; }
  .post-detail-page .post-reference-content { padding: 10px 10px 17px; }
  .post-detail-page .post-reference-note { padding: 9px 7px 13px; font-size: 12px; }
  .post-detail-page .post-reference-row { gap: 5px; padding: 12px 5px; }
  .post-detail-page .post-purchase-trust { padding: 12px; font-size: 12px; }
  .post-detail-page .post-buyer-roster { padding: 15px 12px 10px; }
  .post-detail-page .post-purchase-price { margin: 0 12px; }
  .post-detail-page .post-purchase-action { padding: 8px 12px 14px; }
  .post-detail-page .post-purchase-inline-notice, .post-detail-page .post-purchase-inline-error, .post-detail-page .post-purchase-inline-success { margin: 0 12px 11px; font-size: 12px; }
  .post-detail-page .post-purchase-warning { margin: 0 12px; font-size: 12px; }
  .post-detail-page .post-purchase-notes { padding: 12px; }
  .post-detail-page .post-purchase-notes p, .post-detail-page .post-purchase-notes p:last-child { font-size: 12px; }
}
@media (max-width:360px) {
  .post-detail-page .post-reference-brand strong { font-size: 18px; }
  .post-detail-page .post-reference-brand small { font-size: 12px; }
  .post-detail-page .post-reference-coin { display: none; }
  .post-detail-page .post-reference-row { grid-template-columns: 48px minmax(0,1fr) auto; }
  .post-detail-page .post-reference-row em { font-size: 13px; }
  .post-detail-page .post-reference-row .post-reference-result { font-size: 12px; }
  .post-detail-page .post-purchase-heading strong { font-size: 17px; }
  .post-detail-page .post-purchase-lock { width: 25px; }
  .post-detail-page .post-purchase-heading a { font-size: 12px; padding: 6px; }
}
@media (prefers-reduced-motion:reduce) {
  .post-detail-page .estate-section-ink { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
/* Original number tokens keep their text and hit state; only the wave backdrop changes. */
body:has(.post-detail-page.reference-style) [data-zev-wave="red"] { --zev-number-bg:#e31b2b; }
body:has(.post-detail-page.reference-style) [data-zev-wave="blue"] { --zev-number-bg:#0869df; }
body:has(.post-detail-page.reference-style) [data-zev-wave="green"] { --zev-number-bg:#0a842b; }
.post-detail-page .post-reference-row b > span[data-zev-wave],
body:has(.post-detail-page.reference-style) .post-purchase-modal .post-purchase-modal-values > em[data-zev-wave] {
  display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  margin:2px 1px; padding:0; border:1px solid #ffffff36; border-radius:5px;
  background:var(--zev-number-bg); color:#fff;
  font:700 18px/1 Arial,"Microsoft YaHei",sans-serif; font-variant-numeric:tabular-nums;
  letter-spacing:0; white-space:nowrap; vertical-align:middle; text-shadow:none;
  box-shadow:inset 0 1px #ffffff24;
}
.post-detail-page .post-reference-row b > .post-hit-value[data-zev-wave] { outline:2px solid #b98720; outline-offset:1px; }
.post-detail-page .post-reference-row b > span[data-zev-wave] { width:26px; height:28px; font-size:15px; }
