:root {
  color-scheme: dark;
  --paper: #171117;
  --surface: #271d26;
  --ink: #faf0e5;
  --muted: #ceb9bc;
  --line: #74565d;
  --accent: #f0bf80;
  --accent-ink: #2a1812;
  --focus: #ffe0a4;
  --price: #f5c98f;
  --radius: 5px;
  --content: 1324px;
  --gutter: clamp(12px, 3.8vw, 56px);
  --serif: "STZhongsong", "Songti SC", "Noto Serif CJK SC", SimSun, Georgia, serif;
}
html { scroll-padding-top: 19px; }
body { background: radial-gradient(ellipse at 70% 5%, #30212a 0%, var(--paper) 50%); }
.a3-wrap { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.a3-header { background: #171117; border-bottom: 1px solid #60454c; }
.a3-header-inner { min-height: 62px; display: flex; align-items: center; gap: clamp(16px, 3.5vw, 52px); }
.a3-brand { display: inline-flex; align-items: center; gap: 9px; flex: none; text-decoration: none; font-size: 17px; font-weight: 800; white-space: nowrap; }
.a3-brand img { width: 34px; height: 34px; border: 1px solid #876858; border-radius: 5px; }
.a3-nav { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 24px); }
.a3-nav a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; padding: 0 3px; color: #e1d1ce; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 700; }
.a3-nav a:hover { border-color: var(--accent); color: var(--accent); }
.a3-header-actions { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.a3-header-actions > span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.a3-ghost, .a3-primary, .a3-link-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 3px; font-size: 14px; font-weight: 750; white-space: nowrap; }
.a3-ghost { padding: 6px 14px; border: 1px solid var(--line); background: #281d25; color: var(--ink); }
.a3-ghost:hover { color: var(--accent); border-color: var(--accent); }
.a3-primary { padding: 7px 14px; border: 1px solid #f9d2a0; background: linear-gradient(110deg,#f6cf98,#dfa76e); color: var(--accent-ink); box-shadow: inset 0 0 0 2px #b376552d; }
.a3-primary:hover, .a3-search button:hover { background: #ffe0ae; }
.a3-link-button { border: 1px solid transparent; padding: 3px 4px; background: transparent; color: var(--accent); }
.a3-link-button:hover { text-decoration: underline; text-underline-offset: 4px; }

.a3-atrium {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(278px,332px);
  grid-template-areas: "stage finder" "reel finder"; column-gap: 14px; margin-top: 19px;
}
.a3-stage {
  grid-area: stage; position: relative; isolation: isolate; display: grid; align-items: center;
  min-width: 0; min-height: 332px; overflow: hidden; border: 1px solid #89655a;
  background: radial-gradient(ellipse at 15% 90%,#322027,#1d141c 64%);
}
.a3-stage::after { content: ""; position: absolute; z-index: 3; inset: 7px; border-left: 1px solid #e8b78166; border-top: 1px solid #e8b78166; width: 32px; height: 32px; pointer-events: none; }
.a3-visual { position: absolute; z-index: -1; inset: 0 0 0 37%; }
.a3-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,#20161cba,transparent 58%), url("/static/yunfei-a3/art/a-portal.png") 52% 46% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 33%);
  mask-image: linear-gradient(90deg,transparent,#000 33%);
}
.a3-scene-label { position: absolute; top: 13px; right: 13px; padding: 2px 7px; border: 1px solid #9e7a66; background: #231824; color: #f4d7b7; font-size: 11px; white-space: nowrap; }
.a3-still { position: absolute; right: 6.3%; bottom: 7%; width: clamp(170px, 55%, 328px); margin: 0; padding: 5px 5px 3px; transform: rotate(-2.5deg); border: 1px solid #d8a576; background: #201620; box-shadow: 0 12px 30px #130714b3; }
.a3-still img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.a3-still figcaption { padding: 2px 2px 0; color: #eed0b0; text-align: right; font-size: 11px; }
.a3-stage-copy { position: relative; width: min(53%,460px); min-width: 0; padding: 17px 12px 18px clamp(22px, 3.1vw, 43px); }
.a3-stage-label { margin: 0 0 7px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .115em; }
.a3-stage h1 { margin: 0; color: #f9e5ce; font: 750 clamp(41px, 4.5vw, 66px)/1.08 var(--serif); letter-spacing: .025em; text-shadow: 0 10px 26px #180e18; }
.a3-stage-intro { max-width: 23em; margin: 11px 0 13px; color: #e6d3d2; font-size: 15px; line-height: 1.55; }
.a3-feature { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; max-width: 345px; margin-bottom: 12px; padding: 6px 10px 7px; border: 1px solid #a27463; border-inline-start: 2px solid var(--accent); background: #2c1c27eb; }
.a3-feature-copy { min-width: 0; display: grid; }
.a3-feature-copy > span, .a3-feature-count { color: #dfc4bb; font-size: 12px; }
.a3-feature-copy strong { font-size: clamp(16px, 1.38vw, 20px); line-height: 1.35; overflow-wrap: anywhere; }
.a3-feature-count { flex: none; font-variant-numeric: tabular-nums; }

.a3-finder { grid-area: finder; min-width: 0; border: 1px solid #7d5a56; background: linear-gradient(143deg,#33232c,#231923 75%); padding: 19px; display: flex; flex-direction: column; }
.a3-finder-heading h2 { margin: 0; color: #f7e2ca; font: 700 30px/1.18 var(--serif); }
.a3-finder-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.a3-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px; margin: 13px 0 14px; }
.a3-quick-field { position: relative; min-width: 0; }
.a3-quick-field svg { position: absolute; inline-size: 16px; block-size: 16px; top: 50%; left: 9px; translate: 0 -50%; color: #e1bdae; pointer-events: none; }
.a3-quick-field input, .a3-facets input, .a3-facets select, .a3-sort select { width: 100%; background: #211820; border-color: #917077; border-radius: 3px; }
.a3-quick-field input { padding-left: 30px; padding-right: 5px; font-size: 14px; }
.a3-search button { border: 1px solid #f5c993; border-radius: 3px; padding: 0 12px; background: #efbf85; color: var(--accent-ink); min-height: 44px; font-size: 14px; font-weight: 750; }
.a3-category-doors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.a3-category-doors button { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 6px; min-width: 0; min-height: 62px; text-align: left; border: 1px solid #785961; border-radius: 3px; padding: 6px 7px; color: var(--ink); background: #2c1f2a; }
.a3-category-doors button:is(:hover,[aria-pressed="true"]) { border-color: var(--accent); background: #4c322f; }
.a3-category-doors button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--accent); }
.a3-category-doors svg { color: var(--accent); }
.a3-category-doors strong, .a3-category-doors small { display: block; }
.a3-category-doors strong { font-size: 14px; line-height: 1.28; overflow-wrap: anywhere; }
.a3-category-doors small { margin-top: 2px; color: #d8bec2; font-size: 12px; }
.a3-finder-footer { margin-top: auto; padding-top: 8px; border-top: 1px solid #63474f; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 6px; color: #d8c3be; font-size: 13px; font-variant-numeric: tabular-nums; }

.a3-reel { grid-area: reel; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; align-items: center; padding: 8px 8px 8px 13px; min-width: 0; border: 1px solid #89655a; border-top: 0; background: #261a24; }
.a3-reel-label { min-width: 67px; }
.a3-reel-label h2 { margin: 0; color: #f1dac1; font: 700 20px/1.25 var(--serif); white-space: nowrap; }
.a3-reel-label > span { font-size: 12px; color: #d0b8b8; white-space: nowrap; }
.a3-reel-track { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; min-width: 0; }
.a3-reel-track button { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-width: 0; min-height: 65px; border: 1px solid #795e64; border-radius: 2px; padding: 5px 6px; overflow: hidden; background: #2a1b24; text-align: left; color: #fff3e8; font-size: 12px; line-height: 1.25; font-weight: 750; text-shadow: 0 1px 5px #100c12; }
.a3-reel-track button img, .a3-reel-track button::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.a3-reel-track button img { z-index: -2; object-fit: cover; object-position: 50% 43%; filter: saturate(.8); }
.a3-reel-track button::before { content: ""; z-index: -1; background: linear-gradient(0deg,#180f1a 6%,#180f1aa0 44%,#271a240f 90%); }
.a3-reel-track button span { overflow-wrap: anywhere; }
.a3-reel-track button:is(:hover,[aria-pressed="true"]) { border-color: var(--accent); box-shadow: inset 0 -2px var(--accent); }
.a3-reel-track button:focus-visible { outline-offset: -4px; }

.a3-directory { margin-top: 26px; padding-bottom: clamp(35px,5.6vw,78px); }
.a3-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px 18px; padding-bottom: 12px; border-bottom: 1px solid #76585a; }
.a3-directory-label { color: var(--accent); font-size: 13px; margin: 0 0 3px; font-weight: 700; }
.a3-directory-title { display: flex; align-items: baseline; gap: 4px 11px; flex-wrap: wrap; }
.a3-directory-title h2 { margin: 0; color: #f9e8d8; font: 700 clamp(30px,3vw,43px)/1.16 var(--serif); overflow-wrap: anywhere; }
.a3-directory-title span { color: #ebc798; font-size: 14px; font-weight: 720; white-space: nowrap; }
.a3-sort { display: flex; align-items: center; gap: 6px; color: var(--muted); flex: none; }
.a3-sort select { width: 156px; color: var(--ink); font-size: 14px; }
.a3-shelves { display: grid; grid-template-columns: minmax(172px,208px) minmax(0,1fr); gap: 14px; margin-top: 12px; }
.a3-facets { align-self: start; min-width: 0; padding: 9px 13px 13px; border: 1px solid #70515c; background: #261b25; }
.a3-facets-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; border-bottom: 1px solid #614650; }
.a3-facets-head h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.a3-facet-fields { display: grid; gap: 10px; padding-top: 10px; }
.a3-facet-fields label { display: grid; gap: 3px; min-width: 0; color: #e3cbcb; font-size: 13px; }
.a3-facet-fields input, .a3-facet-fields select { padding: 6px 8px; font-size: 14px; text-overflow: ellipsis; }
.a3-shelf-results { min-width: 0; }
.a3-shelf-results .yf-grid { gap: 12px; }
.a3-shelf-results .yf-card { border-color: #785962; background: linear-gradient(133deg,#31222d,#251a24); }
.a3-shelf-results .yf-card:hover { border-color: var(--accent); }
.a3-shelf-results .yf-image { aspect-ratio: 16/9; border-bottom: 1px solid #997269; object-position: 50% 43%; }
.a3-shelf-results .yf-card-kicker { color: #e1bda6; }
.a3-shelf-results .yf-card-title { font-weight: 750; }
.a3-shelf-results .yf-chevron { color: #f0bd88; }
.yf-dialog { border-color: #a87d6d; }
.yf-detail-meta { overflow-wrap: anywhere; }
.yf-note a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.yf-page-button:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }

.a3-footer { border-top: 1px solid #74545a; background: #161016; }
.a3-footer-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto); gap: 14px 25px; align-items: start; padding-block: 21px 27px; }
.a3-footer p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.a3-footer-links > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 13px; }
.a3-footer-links a { display: inline-flex; min-height: 44px; align-items: center; gap: 5px; color: #f1d8c5; font-size: 14px; overflow-wrap: anywhere; }
.a3-footer-links a span { color: var(--muted); }
.a3-footer-links a:hover { color: var(--accent); }

@media (max-width: 1150px) {
  .a3-atrium { grid-template-columns: minmax(0,1fr) minmax(260px,29%); }
  .a3-finder { padding: 15px; }
  .a3-stage-copy { width: 56%; padding-inline-start: 25px; }
  .a3-shelf-results .yf-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 870px) {
  .a3-atrium { grid-template-columns: minmax(0,1fr); grid-template-areas: "stage" "finder" "reel"; gap: 10px; margin-top: 12px; }
  .a3-stage { min-height: 290px; }
  .a3-finder { padding: 13px; }
  .a3-finder-heading h2 { font-size: 25px; }
  .a3-finder-footer { margin-top: 5px; padding-top: 0; border-top: 0; }
  .a3-reel { border-top: 1px solid #89655a; }
  .a3-shelves { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .a3-facet-fields { grid-template-columns: minmax(0,1.3fr) repeat(2,minmax(0,1fr)); }
  .a3-facets { padding: 3px 11px 10px; }
}
@media (max-width: 580px) {
  .a3-header-inner { min-height: 54px; gap: 9px; }
  .a3-brand { font-size: 15px; gap: 6px; }
  .a3-brand img { width: 28px; height: 28px; }
  .a3-nav a { font-size: 13px; }
  .a3-nav a:not(.a3-nav-catalog), .a3-header-actions > span { display: none; }
  .a3-ghost { padding-inline: 9px; }
  .a3-stage { display: block; min-height: 0; }
  .a3-visual { position: relative; inset: auto; z-index: 0; height: clamp(126px,37vw,172px); }
  .a3-visual::before { -webkit-mask-image: none; mask-image: none; background: linear-gradient(0deg,#261924,transparent 37%), url("/static/yunfei-a3/art/a-portal.png") 46% 52% / cover no-repeat; }
  .a3-scene-label { z-index: 1; top: 11px; left: 11px; right: auto; }
  .a3-still { right: 10%; bottom: 7%; width: min(47%,220px); padding: 3px 3px 1px; }
  .a3-still figcaption { font-size: 10px; padding-top: 0; }
  .a3-stage-copy { width: 100%; padding: 4px 12px 12px; }
  .a3-stage-label { font-size: 12px; margin-bottom: 3px; }
  .a3-stage h1 { font-size: clamp(39px,10.5vw,48px); }
  .a3-stage-intro { margin: 5px 0 7px; font-size: 14px; }
  .a3-feature { margin-bottom: 7px; max-width: none; padding-block: 3px; }
  .a3-quick-field input, .a3-facet-fields input, .a3-facet-fields select, .a3-sort select { font-size: 16px; }
  .a3-search { margin: 8px 0 8px; }
  .a3-category-doors button { min-height: 50px; padding-block: 3px; gap: 6px; }
  .a3-finder { padding: 11px 11px 3px; }
  .a3-finder-footer { margin-top: 2px; }
  .a3-reel { display: block; padding: 7px; }
  .a3-reel-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 7px; }
  .a3-reel-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(102px,37%,148px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #ac7a5f #2b1d28; padding: 0 1px 4px; }
  .a3-reel-track button { scroll-snap-align: start; min-height: 58px; }
  .a3-directory { margin-top: 19px; }
  .a3-directory-heading { flex-wrap: wrap; padding-bottom: 7px; }
  .a3-directory-title h2 { font-size: clamp(28px,7.5vw,34px); }
  .a3-sort { margin-left: auto; }
  .a3-sort select { width: 144px; }
  .a3-facet-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .a3-facet-query { grid-column: 1/-1; }
  .a3-shelf-results .yf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .a3-shelf-results .yf-card-title { font-size: 15px; }
  .a3-footer-inner { grid-template-columns: minmax(0,1fr); gap: 9px; }
}
@media (max-width: 355px) {
  .a3-directory-heading > div { min-width: 100%; }
  .a3-sort { margin-left: 0; }
}
@media (forced-colors: active) {
  .a3-category-doors button[aria-pressed="true"], .a3-reel-track button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -3px; }
}

.a3-header-actions a,.yf-card-open{text-decoration:none}.a3-status{margin:12px 0 0;padding:8px 12px;border:1px solid var(--line);background:var(--surface)}
