/* WHITE / collection reader — light belongs to the interface, not the work. */
body.premium-refined {
  --premium-header-height: 72px;
  --premium-serif: Georgia, "Noto Serif SC", "Songti SC", "SimSun", serif;
  --premium-sans: "Microsoft YaHei UI", "PingFang SC", "Noto Sans", sans-serif;
  font-family: var(--premium-sans);
}
body.premium-refined [hidden] { display: none !important; }
body.premium-refined .premium-legacy-price,
body.premium-refined .studio-local-toolbar,
body.premium-refined .studio-directory > .studio-view-toolbar,
body.premium-refined .studio-chapter-nav,
body.premium-refined .studio-action-dock,
body.premium-refined .premium-hero__index,
body.premium-refined .neural-trails,
body.premium-refined .vol2-atmosphere,
body.premium-refined .premium-hero__scroll,
body.premium-refined .vol2-hero__scroll { display: none !important; }
body.premium-refined .studio-browse-grid > a::before,
body.premium-refined .studio-browse-grid > a::after { content: none !important; animation: none !important; }
body.premium-refined .studio-browse-grid > a img { opacity: 1 !important; filter: none !important; object-fit: contain !important; }
body.premium-refined .premium-motion-hero {
  padding-top: calc(var(--premium-header-height) + 48px);
  padding-bottom: 74px;
  min-height: 0;
  gap: 32px;
}
body.premium-refined .premium-motion-hero :is(.eyebrow,.vol2-eyebrow,.vol4-hero__eyebrow,.studio-kicker) { display: none; }
body.premium-refined .premium-motion-hero .premium-edition-label {
  display: block; margin: 0 0 20px; color: var(--motion-accent);
  font: 11px/1.6 Consolas, monospace; letter-spacing: .16em;
}
body.premium-refined .premium-motion-hero :is(.vol5-intro,.vol6-intro,.vol7-intro) > h1 {
  margin: 0 0 12px; font: 400 17px/1.5 var(--premium-serif); color: var(--motion-muted);
}
body.premium-refined .premium-motion-hero :is(.premium-hero__copy,.vol2-hero__copy,.vol4-hero__copy) h1,
body.premium-refined .premium-motion-hero :is(.vol5-lead,.vol6-lead,.vol7-lead) {
  font-family: var(--premium-serif); font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1.18; font-weight: 400; letter-spacing: -.045em; margin: 0 0 22px;
}
body.premium-refined :is(.premium-hero__lead,.vol4-hero__lead) { font-size: 14px; line-height: 1.9; margin: 0 0 22px; }
body.premium-refined .vol2-hero__copy > p:not(.premium-edition-label) { font: 14px/1.9 var(--premium-sans); margin: 0 0 22px; }
body.premium-refined :is(.premium-hero__facts,.vol4-hero__stats) { margin: 18px 0 24px; }
body.premium-refined .premium-hero__facts li { padding: 12px; }
body.premium-refined .premium-hero__facts strong { font-size: 23px; }
body.premium-refined .vol2-hero__copy { grid-row: auto; }
body.premium-refined .vol2-hero__status { align-self: center; padding: 20px; background: rgba(10,11,11,.78); border-color: var(--motion-line); }
body.premium-refined .vol7-intro { display: block; }
body.premium-refined .vol7-visual { align-self: center; }
body.premium-refined .vol7-art-stage { height: 330px; }
body.premium-refined :is(.vol5-summary,.vol6-summary,.vol7-summary) { padding-top: 16px; }
body.premium-refined .vol5-lora-note { margin: 16px 0 20px; padding: 14px 16px; }
body.premium-refined .studio-hero-quick { margin: 16px 0 0; }
body.premium-refined .studio-hero-quick a:first-child {
  background: transparent; color: var(--motion-accent); border: 0; border-bottom: 1px solid var(--motion-line);
  padding: 8px 0; font: 12px/1.5 var(--premium-sans); min-height: 40px;
}

/* One consistent, explicit price architecture; checkout is still the authority. */
.premium-offer { margin-top: 25px; max-width: 540px; padding: 20px 0 0; border-top: 1px solid var(--motion-line); text-align: left; }
.premium-offer-label { margin: 0 0 16px; font: 11px/1.5 var(--premium-sans); color: var(--motion-muted); letter-spacing: .06em; }
.premium-offer-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 0 0 18px; }
.premium-offer-prices > div { min-width: 0; }
.premium-offer-prices > div + div { padding-left: 22px; border-left: 1px solid var(--motion-line); }
.premium-offer dt { font: 12px/1.6 var(--premium-sans); color: var(--motion-muted); }
.premium-offer dd { margin: 7px 0 0; color: var(--motion-accent); font: 400 clamp(32px,3.6vw,50px)/1.15 var(--premium-serif); letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.premium-offer-prices > div + div dd { color: #c3bcaf; }
.premium-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 14px 18px; background: var(--motion-accent); color: #121310 !important; border: 1px solid var(--motion-accent); text-decoration: none; font: 600 13px/1.6 var(--premium-sans); }
.premium-offer-rule { color: var(--motion-muted); font: 12px/1.8 var(--premium-sans); margin: 10px 0 0; max-width: 44em; }
.premium-offer .vol4-pricing__note { margin: 8px 0; text-align: left; font-size: 12px; }
body.premium-refined .studio-directory { padding-top: 28px; padding-bottom: 8px; }
body.premium-refined .studio-directory h2 { font: 400 24px/1.5 var(--premium-serif); margin-bottom: 18px; }
body.premium-refined .studio-directory-cards img { height: 110px; }
body.premium-refined .studio-directory-cards > a { border-bottom-color: transparent; box-shadow: none; }
body.premium-refined .studio-directory-cards > a > span:last-child { font-size: 14px; }
body.premium-refined :is(.chapter-header,.chapter-intro,.vol5-chapter-heading,.vol6-chapter-heading,.vol7-chapter-heading) { margin-bottom: 26px; }
body.premium-refined :is(.premium-chapter,.photo-chapter,.vol4-chapter,.face-section,.vol5-chapter,.vol6-chapter,.vol7-chapter) { padding-top: 48px; padding-bottom: 48px; scroll-margin-top: calc(var(--premium-header-height) + 86px); }
body.premium-refined .premium-motion-chapter::after { bottom: -6px; }
body.premium-refined .premium-motion-chapter.premium-motion-arrived::after { animation-duration: .7s; }

/* A single contextual reading rail; mobile moves it into the thumb zone. */
.premium-reader { position: sticky; z-index: 1040; top: var(--premium-header-height); display: flex; align-items: center; gap: 20px; min-height: 60px; padding: 6px clamp(20px,5vw,80px); border-block: 1px solid var(--motion-line); background: rgba(11,13,12,.96); backdrop-filter: blur(12px); }
.premium-reader::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--motion-accent); transform: scaleX(var(--chapter-progress,0)); transform-origin: left; pointer-events: none; }
.premium-reader button { cursor: pointer; font: 12px/1.5 var(--premium-sans); touch-action: manipulation; }
.premium-reader-current { display: flex; align-items: center; gap: 20px; min-height: 44px; min-width: 0; flex: 1; border: 0; color: var(--motion-paper); background: none; text-align: left; }
.premium-reader-current small { flex-shrink: 0; color: var(--motion-accent); font: 11px/1.5 Consolas,monospace; }
.premium-reader-current > span:not(.premium-reader-arrow) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.premium-reader-arrow { color: var(--motion-accent); }
.premium-reader-views { display: flex; gap: 3px; border: 1px solid var(--motion-line); padding: 2px; }
.premium-reader-views button { background: transparent; color: var(--motion-muted); border: 0; padding: 9px 14px; min-height: 40px; }
.premium-reader-views button[aria-pressed="true"] { background: var(--motion-accent); color: #141512; }
.premium-reader-buy { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; color: var(--motion-accent) !important; border: 1px solid var(--motion-line); font: 12px/1.5 var(--premium-sans); text-decoration: none; }
.premium-reader-mobile-view { display: none; }
.premium-reader :is(button,a):focus-visible,.premium-buy:focus-visible { outline: 2px solid var(--motion-accent); outline-offset: 3px; }
.premium-reader :is(button,a):hover { border-color: var(--motion-accent); }
body.premium-refined .studio-switch small,body.premium-refined .studio-explore small { white-space: nowrap; min-width: 4em; }

/* Unified full-frame viewer: transitions never crop or filter the photograph. */
.premium-viewer { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(7,9,8,.97); color: #eeeae1; overflow: hidden; overscroll-behavior: contain; font-family: var(--premium-sans); }
.premium-viewer::backdrop,.premium-chapters-dialog::backdrop { background: #000a; backdrop-filter: blur(9px); }
.premium-viewer-header { position: absolute; top: env(safe-area-inset-top,0px); left: 0; right: 0; display: flex; align-items: center; gap: 20px; padding: 10px 24px; height: 70px; z-index: 3; }
.premium-viewer-caption { margin: 0; flex: 1; min-width: 0; font: 12px/1.6 var(--premium-sans); color: #c6bcab; }
.premium-viewer button,.premium-dialog-close { background: #141713; border: 1px solid #cdb59050; color: #e9ddc8; min-width: 44px; height: 44px; cursor: pointer; font-size: 24px; touch-action: manipulation; }
.premium-viewer button:focus-visible,.premium-chapters-dialog :is(button,a):focus-visible { outline: 2px solid var(--motion-accent); outline-offset: 3px; }
.premium-viewer-surface { position: absolute; inset: calc(76px + env(safe-area-inset-top,0px)) 80px calc(66px + env(safe-area-inset-bottom,0px)); display: grid; place-items: center; touch-action: pan-y pinch-zoom; }
.premium-viewer-image { grid-area: 1/1; display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain; opacity: 0; pointer-events: none; transform-origin: center; }
.premium-viewer-image.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.premium-viewer-prev,.premium-viewer-next { position: absolute; top: calc(50% - 22px); z-index: 3; }
.premium-viewer-prev { left: 18px; }.premium-viewer-next { right: 18px; }
.premium-viewer-status { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom,0px)); left: 80px; right: 80px; text-align: center; margin: 0; font-size: 12px; color: #b9ad98; }
.premium-viewer .premium-viewer-retry { position: absolute; z-index: 4; bottom: calc(48px + env(safe-area-inset-bottom,0px)); left: calc(50% - 45px); font: 12px/1.5 var(--premium-sans); width: 90px; }
.premium-viewer[data-loading="true"] .premium-viewer-status::before { content: ""; display: inline-block; width: 9px; height: 9px; border: 1px solid #b9ad9850; border-top-color: #d8c294; border-radius: 50%; margin-right: 9px; animation: premium-loading .8s linear infinite; }
@keyframes premium-loading { to { transform: rotate(360deg); } }
.premium-chapters-dialog { max-width: 740px; width: calc(100% - 40px); max-height: min(85dvh,900px); padding: 0; border: 1px solid var(--motion-line); background: #10130f; color: #eee8dc; overscroll-behavior: contain; font-family: var(--premium-sans); }
.premium-chapters-panel { padding: clamp(24px,5vw,44px); position: relative; }
.premium-dialog-close { position: absolute; right: 16px; top: 16px; }
.premium-chapters-panel > .premium-edition-label { color: var(--motion-accent); margin: 8px 50px 22px 0; font: 11px/1.5 Consolas,monospace; letter-spacing: .16em; }
.premium-chapters-panel h2 { font: 400 32px/1.4 var(--premium-serif); margin: 0 0 24px; }
.premium-chapters-panel h3 { font: 12px/1.5 var(--premium-sans); color: var(--motion-muted); margin: 30px 0 14px; }
.premium-chapters-list a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; border-top: 1px solid var(--motion-line); padding: 16px 0; color: inherit; text-decoration: none; }
.premium-chapters-list a small { font: 11px/1.5 Consolas,monospace; color: var(--motion-muted); }
.premium-chapters-list a[aria-current],.premium-chapters-list a:hover { color: var(--motion-accent); }
.premium-chapters-list a > span { font: 400 19px/1.5 var(--premium-serif); }
.premium-chapters-series { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.premium-chapters-series a { display: block; padding: 12px; border: 1px solid var(--motion-line); color: var(--motion-muted); text-decoration: none; font: 12px/1.7 var(--premium-sans); }
.premium-chapters-series a small { display: block; color: var(--motion-accent); font: 10px/1.5 Consolas,monospace; }
.premium-chapters-series a[aria-current] { color: var(--motion-paper); background: rgba(var(--motion-rgb),.1); }
body.premium-refined.premium-overlay-open .premium-motion-stage * { animation-play-state: paused !important; }

@media (max-width: 900px) {
  body.premium-refined .premium-motion-hero { padding-top: calc(var(--premium-header-height) + 38px); gap: 26px; }
  body.premium-refined .vol7-hero { grid-template-columns: 1fr; }
  body.premium-refined .vol7-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  body.premium-refined .vol7-art-stage { height: 260px; }
}
@media (max-width: 760px) {
  body.premium-refined { padding-bottom: calc(74px + env(safe-area-inset-bottom,0px)); }
  body.premium-refined .premium-motion-hero { padding: calc(var(--premium-header-height) + 26px) 20px 70px; display: block; }
  body.premium-refined .premium-motion-hero .premium-edition-label { margin-bottom: 14px; font-size: 10px; }
  body.premium-refined .premium-motion-hero :is(.premium-hero__copy,.vol2-hero__copy,.vol4-hero__copy) h1,
  body.premium-refined .premium-motion-hero :is(.vol5-lead,.vol6-lead,.vol7-lead) { font-size: clamp(32px,8.6vw,46px); line-height: 1.22; margin-bottom: 16px; max-width: 100%; }
  body.premium-refined .premium-motion-hero :is(.vol5-intro,.vol6-intro,.vol7-intro) > h1 { font-size: 14px; margin-bottom: 12px; }
  body.premium-refined :is(.vol5-description,.vol6-description,.vol7-description,.premium-hero__lead,.vol4-hero__lead) { font: 13px/1.85 var(--premium-sans); margin-bottom: 18px; }
  body.premium-refined .premium-hero__facts { margin: 15px 0 20px; }
  body.premium-refined .premium-hero__facts li { padding: 9px 6px; }
  body.premium-refined .premium-hero__facts strong { font-size: 19px; }
  body.premium-refined .vol4-hero__stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 18px 0; }
  body.premium-refined .vol4-hero__stats > * { min-width: 0; padding: 10px 5px; border: 0; }
  body.premium-refined .vol4-hero__stats strong { font-size: 24px; }
  body.premium-refined .vol4-hero__stats span { font-size: 10px; }
  body.premium-refined :is(.vol5-triptych,.vol6-manifest,.vol7-manifest,.vol5-summary,.vol6-summary,.vol7-summary,.vol4-highlights) { display: none; }
  body.premium-refined .vol7-visual { display: block; margin-top: 24px; padding: 0; }
  body.premium-refined .vol7-art-stage { height: 130px; }
  body.premium-refined .vol7-art-mark { font-size: 130px; }
  body.premium-refined .vol7-art-label { top: 12px; left: 14px; }
  body.premium-refined .vol7-art-caption { left: 14px; bottom: 20px; }
  body.premium-refined .vol7-motion-toggle { bottom: 10px; }
  body.premium-refined .vol7-hero { padding-bottom: 24px; }
  .premium-offer { margin-top: 20px; padding-top: 16px; max-width: none; }
  .premium-offer-label { font-size: 10px; margin-bottom: 12px; }
  .premium-offer-prices { gap: 12px; margin-bottom: 15px; }
  .premium-offer-prices > div + div { padding-left: 12px; }
  .premium-offer dt { font-size: 11px; }
  .premium-offer dd { font-size: clamp(28px,8.4vw,39px); }
  .premium-offer-rule { font-size: 11px; }
  body.premium-refined .studio-hero-quick { margin-top: 10px; }
  body.premium-refined .studio-directory { padding: 20px 20px 0; }
  body.premium-refined .studio-directory h2 { font-size: 20px; margin-bottom: 13px; }
  body.premium-refined .studio-directory-cards { display: flex; gap: 9px; overflow-x: auto; overscroll-behavior-x: contain; padding: 0 0 8px; scroll-snap-type: x proximity; }
  body.premium-refined .studio-directory-cards > a { flex: 0 0 145px; display: grid; grid-template-columns: 20px 1fr; gap: 8px; padding: 13px 11px; min-height: 70px; scroll-snap-align: start; }
  body.premium-refined .studio-directory-cards :is(img,.studio-directory-symbol) { display: none; }
  body.premium-refined .studio-directory-cards > a > span:last-child { font-size: 13px; line-height: 1.6; align-self: center; }
  body.premium-refined :is(.premium-chapter,.photo-chapter,.vol4-chapter,.face-section,.vol5-chapter,.vol6-chapter,.vol7-chapter) { padding: 30px 16px; scroll-margin-top: calc(var(--premium-header-height) + 18px); }
  body.premium-refined :is(.chapter-header,.chapter-intro,.vol5-chapter-heading,.vol6-chapter-heading,.vol7-chapter-heading) { gap: 12px; margin-bottom: 20px; padding-top: 12px; }
  body.premium-refined :is(.chapter-header,.chapter-intro,.vol5-chapter-heading,.vol6-chapter-heading,.vol7-chapter-heading) h2 { font: 400 clamp(30px,9vw,40px)/1.25 var(--premium-serif); margin: 6px 0; }
  body.premium-refined :is(.chapter-header,.chapter-intro,.vol5-chapter-heading,.vol6-chapter-heading,.vol7-chapter-heading) p { font-size: 12px; line-height: 1.8; }
  .premium-reader { position: fixed; top: auto; bottom: 0; left: 0; right: 0; min-height: 64px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom,0px)); gap: 8px; }
  .premium-reader::after { bottom: auto; top: -1px; }
  .premium-reader-current { display: grid; grid-template-columns: minmax(0,1fr) 12px; gap: 2px 8px; }
  .premium-reader-current small { grid-column: 1; font-size: 9px; }
  .premium-reader-current > span:not(.premium-reader-arrow) { grid-column: 1; font-size: 12px; }
  .premium-reader-arrow { grid-column: 2; grid-row: 1/3; }
  .premium-reader-views { display: none; }
  .premium-reader-mobile-view { display: block; flex: 0 0 auto; min-height: 44px; padding: 8px; color: var(--motion-accent); background: transparent; border: 1px solid var(--motion-line); }
  .premium-reader-buy { flex: 0 0 auto; max-width: 33%; padding: 8px 10px; font-size: 11px; background: var(--motion-accent); color: #151613 !important; }
  .premium-viewer-header { padding: 8px 14px; height: 66px; }
  .premium-viewer-caption { font-size: 11px; }
  .premium-viewer-surface { inset: calc(72px + env(safe-area-inset-top,0px)) 8px calc(104px + env(safe-area-inset-bottom,0px)); }
  .premium-viewer-prev,.premium-viewer-next { top: auto; bottom: calc(42px + env(safe-area-inset-bottom,0px)); width: 52px; }
  .premium-viewer-prev { left: calc(50% - 64px); }.premium-viewer-next { right: calc(50% - 64px); }
  .premium-viewer-status { left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom,0px)); font-size: 10px; }
  .premium-viewer .premium-viewer-retry { bottom: calc(104px + env(safe-area-inset-bottom,0px)); }
  .premium-chapters-dialog { margin: auto 0 0; width: 100%; max-width: none; max-height: 85dvh; border-bottom: 0; }
  .premium-chapters-panel { padding: 24px 20px calc(24px + env(safe-area-inset-bottom,0px)); }
  .premium-chapters-panel h2 { font-size: 27px; }
  .premium-chapters-list a { gap: 10px; }
  .premium-chapters-list a > span { font-size: 17px; }
  .premium-chapters-list a > small:last-child { font-size: 9px; }
}
/* Exact state selectors override old per-edition mobile layouts, including Vol.7. */
body.premium-refined.studio-experience[data-gallery-view="columns"] .studio-browse-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
body.premium-refined.studio-experience[data-gallery-view="large"] .studio-browse-grid { grid-template-columns: minmax(0,1fr) !important; max-width: 960px; }
body.premium-refined.studio-experience .studio-browse-grid > a { grid-row: auto; }
body.premium-refined.studio-experience[data-gallery-view="large"] .studio-browse-grid > a { grid-column: 1 !important; }
@media (max-width: 760px) {
  body.premium-refined.studio-experience[data-gallery-view="columns"] .studio-browse-grid { gap: 10px; }
  body.premium-refined.studio-experience[data-gallery-view="columns"] .studio-browse-grid > a { grid-column: auto !important; }
  body.premium-refined.studio-experience[data-gallery-view="columns"] .studio-browse-grid > a[data-orientation="landscape"] { grid-column: 1/-1 !important; }
  body.premium-refined .studio-browse-grid > a > span { padding: 9px; font-size: 10px; }
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: premium-page-out .14s ease-in both; }
::view-transition-new(root) { animation: premium-page-in .22s ease-out both; }
@keyframes premium-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes premium-page-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .premium-viewer *, .premium-reader *, .premium-chapters-dialog * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  ::view-transition-old(root),::view-transition-new(root) { animation: none; }
}
