/* display-settings.css — ELSOL · 2026-11-22 (a11y1)
   「보기 설정 / Display settings」 패널 + 확대·고대비 공통 규칙.
   글자 확대·줄바꿈·1열 전환 규칙은 display-settings.js가 기존 CSS에서 생성한다(이 파일은 패널과 몇 가지 공통 규칙만).
   100%·기본 대비(html에 dz-z·dz-hc 클래스 없음)에서는 아래 패널 외 규칙이 적용되지 않는다. */

:root { --dz-s: 1; --dz-sb: 1; }

/* ---------- 진입 버튼(헤더 · 로그인 버튼 왼쪽) — 기존 로그인 버튼과 같은 금빛 테두리 ---------- */
.dzds-entry {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 1px solid rgba(214, 183, 111, 0.42); border-radius: 999px;
  background: transparent; color: #d6b76f; cursor: pointer;
  font: inherit; font-size: calc(16px * var(--dz-s)); font-weight: 700; line-height: 1;
  letter-spacing: .02em; -webkit-tap-highlight-color: rgba(184, 150, 62, .2);
  vertical-align: middle;
}
.ap-discover-header-top .dzds-entry { margin-left: auto; margin-right: 8px; }
.dzds-entry:hover { border-color: rgba(214, 183, 111, .7); }
/* 헤더에 자리가 없을 때(예: 320px·KR+EN) 버튼은 「50점 PDF」 줄로 옮겨진다(display-settings.js가 실제 측정으로 결정) */
.ap-brand-links-row .dzds-entry { margin-left: 0; }

.dzds-entry:focus-visible { outline: 2px solid #f0d79c; outline-offset: 2px; }
.dzds-entry[data-dz-active="true"] { background: rgba(212, 180, 109, .14); border-color: #d6b76f; }

/* ---------- 패널 ---------- */
html.dzds-open, html.dzds-open body { overflow: hidden !important; }
.dzds-backdrop {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  background: rgba(3, 6, 10, .78);
}
.dzds-backdrop[hidden] { display: none !important; }
.dzds-panel {
  display: flex; flex-direction: column;
  width: min(100%, calc(560px * min(var(--dz-s), 2)));
  max-height: 100%; overflow: hidden;
  background: #0b0f14; color: #f4efe6;
  border: 1px solid rgba(212, 180, 109, .45); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: calc(16px * var(--dz-s)); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere;
}
.dzds-head { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 14px 10px 18px; border-bottom: 1px solid rgba(212, 180, 109, .22); }
.dzds-title { margin: 6px 0 0; min-width: 0; font-size: calc(19px * var(--dz-s)); line-height: 1.3; color: #d4b46d; font-weight: 700; outline: none; }
.dzds-x, .dzds-close, .dzds-chip, .dzds-reset {
  appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer;
  min-width: 44px; min-height: 44px; max-width: 100%;
  border-radius: 12px; border: 1px solid rgba(212, 180, 109, .42);
  background: transparent; color: #f4efe6; line-height: 1.3; text-align: center;
}
.dzds-x { flex: 0 0 auto; font-size: calc(22px * var(--dz-s)); padding: 0 12px; color: #d6b76f; border-radius: 999px; }
.dzds-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 12px 18px 6px; }
.dzds-group { margin: 0 0 14px; }
.dzds-label { margin: 0 0 8px; font-weight: 700; color: #f4efe6; font-size: calc(15px * var(--dz-s)); }
.dzds-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dzds-chip { padding: 6px 14px; font-size: calc(15px * var(--dz-s)); }
.dzds-chip[aria-pressed="true"] { background: #d4b46d; border-color: #d4b46d; color: #10151c; font-weight: 800; }
.dzds-chip[aria-pressed="true"]::before { content: "\2713\00a0"; content: "\2713\00a0" / ""; }
.dzds-reset { width: 100%; padding: 8px 14px; margin: 2px 0 10px; color: #d6b76f; font-size: calc(15px * var(--dz-s)); }
.dzds-note { margin: 0 0 8px; color: #D5D8DF; font-size: calc(14px * var(--dz-s)); }
.dzds-foot { flex: 0 0 auto; padding: 10px 18px 14px; border-top: 1px solid rgba(212, 180, 109, .22); }
.dzds-close { width: 100%; padding: 8px 14px; background: #d4b46d; border-color: #d4b46d; color: #10151c; font-weight: 800; font-size: calc(16px * var(--dz-s)); }
.dzds-x:focus-visible, .dzds-close:focus-visible, .dzds-chip:focus-visible, .dzds-reset:focus-visible { outline: 3px solid #f0d79c; outline-offset: 2px; }
.dzds-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.dzds-settings-row { width: 100%; text-align: left; font: inherit; }
/* 「한국어」 패널에서 영어를 함께 쓰면 줄을 나눠 읽기 쉽게 */
.dzds-panel [lang="en"] { hyphens: auto; -webkit-hyphens: auto; }

/* ---------- 선택 상태: 색 외의 표시(밑줄·✓) ---------- */
.lang-tab[aria-pressed="true"][data-lang] { text-decoration: underline 2px !important; text-underline-offset: 4px; }
.ap-discover-lang-btn.is-active { text-decoration: underline 2px; text-underline-offset: 4px; }

/* ---------- 확대(150~400%) 공통 ---------- */
html.dz-z body { overflow-wrap: anywhere; }
/* Portfolio PDF 페이지: 확대·고대비와 무관하게 100%와 같은 상속값(글자 크기·줄바꿈)을 받는다 → PDF 결과물 보존 */
html:is(.dz-z, .dz-hc) .ap-pf-page { font-size: 16px; overflow-wrap: normal; }
html.dz-z [data-dz-track] { flex-wrap: nowrap !important; }
.dzds-ph { display: none; }
html.dz-z .dzds-ph { display: block; flex: none; width: 100%; max-width: 100%; margin: 0 0 4px; font-size: calc(14px * var(--dz-s)); line-height: 1.35; font-weight: 600; color: #D5D8DF; overflow-wrap: anywhere; }
html.dz-hc .dzds-ph { color: #fff; }
/* :is(… , #a#b) — ID 2개 수준 우선순위로 기존 고정 높이(!important 포함)를 확대 중에만 푼다 */
html.dz-z :is([data-dz-grow], #dzNever#dzNever) { height: auto !important; max-height: none !important; overflow: visible !important; flex-shrink: 0 !important; }
/* 우선순위 0 — 기존에 max-width가 있는 버튼(로그인 등)은 그 값을 그대로 쓴다 */
:where(html.dz-z) :where(button, [role="button"], input, select, textarea, label):where(:not(.ap-pf-page *)) { max-width: 100%; }
html.dz-z :is(input[type="checkbox"], input[type="radio"]) { width: calc(18px * min(var(--dz-s), 2)); height: calc(18px * min(var(--dz-s), 2)); }
html.dz-z :is([lang="en"], .ap-cms-bi-label-en, .ap-cms-bi-rdesc-en):not(.ap-pf-page *) { hyphens: auto; -webkit-hyphens: auto; }
/* 작품 카드: 좁은 실효 폭은 1열, 중간은 2열(이미지 비율·작품 정보는 그대로) */
html.dz-z.dz-ew1 .grid { grid-template-columns: minmax(0, 1fr) !important; }
html.dz-z.dz-ew2 .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
/* 헤더: 확대 시 줄바꿈 허용(로그인·보기 설정 버튼이 화면 밖으로 나가지 않게) */
html.dz-z .header-inner { grid-template-columns: minmax(0, 1fr) !important; }
html.dz-z .site-header .header-actions { justify-content: flex-start; row-gap: 8px; }
html.dz-z .site-header { position: relative !important; } /* 400%에서 고정 헤더가 화면 대부분을 가리지 않게 */
html.dz-z .brand-row h1 { white-space: normal; }

/* ---------- 고대비 ---------- */
html.dz-hc {
  --bg: #000000; --panel: #000000; --line: #FFD75E; --line-strong: #FFD75E;
  --text: #FFFFFF; --muted: #FFFFFF; --soft: #FFFFFF; --gold: #FFD75E;
  --ap-gold-x: #FFD75E; --ap-gold-x-hover: #FFE7A3;
}
html.dz-hc, html.dz-hc body { background: #000 !important; }
html.dz-hc .site-bg { background: #000 !important; }
html.dz-hc a:focus-visible, html.dz-hc button:focus-visible, html.dz-hc input:focus-visible, html.dz-hc select:focus-visible, html.dz-hc textarea:focus-visible, html.dz-hc [tabindex]:focus-visible { outline: 3px solid #FFFFFF !important; outline-offset: 2px !important; }
html.dz-hc input, html.dz-hc select, html.dz-hc textarea { background-color: #000 !important; color: #fff !important; border-color: #FFD75E !important; }
html.dz-hc input::placeholder, html.dz-hc textarea::placeholder { color: #E6E6E6 !important; opacity: 1 !important; }
html.dz-hc .card { border-color: rgba(255, 215, 94, .7) !important; background: #000 !important; }
html.dz-hc .dzds-panel { background: #000; border: 2px solid #FFD75E; }
html.dz-hc .dzds-title, html.dz-hc .dzds-x, html.dz-hc .dzds-reset { color: #FFD75E; }
html.dz-hc .dzds-label, html.dz-hc .dzds-note, html.dz-hc .dzds-chip { color: #fff; }
html.dz-hc .dzds-chip, html.dz-hc .dzds-x, html.dz-hc .dzds-reset { border: 2px solid #FFD75E; }
html.dz-hc .dzds-chip[aria-pressed="true"], html.dz-hc .dzds-close { background: #FFD75E; border-color: #FFD75E; color: #000; }
html.dz-hc .dzds-entry { color: #FFD75E; border: 2px solid #FFD75E; }
@media (forced-colors: active) { .dzds-chip[aria-pressed="true"] { outline: 2px solid CanvasText; } }
@media (prefers-reduced-motion: reduce) { .dzds-backdrop, .dzds-panel { transition: none !important; animation: none !important; } }

/* ---------- 기존 결함 보정(모든 모드) — 2026-11-22 감사에서 100%에서도 확인된 잘림·작은 터치 영역만, 해당 요소에 한정 ---------- */
/* 로그인: KR+EN일 때 Google 버튼 두 번째 줄이 잘리던 문제(고정 높이) → 글자 높이만큼 늘어남. 한 줄일 때는 그대로 */
.ap-auth-panel .ap-auth-btn.ap-auth-google { height: auto !important; min-height: 56px; flex-shrink: 0; }
/* 로그인: 「아이디 찾기 · 비밀번호 재설정」이 두 줄일 때 버튼 밖으로 넘치던 문제 */
.ap-auth-panel .ap-auth-link-btn.ap-auth-reset { height: auto !important; min-height: 44px; flex-shrink: 0; }

/* ---------------- Artist Bio (a11y1-bio): 금빛 글자·긴 글 읽기(모든 크기) — 바탕 #050914 기준 대비
   본문 #E9D59B 13.6:1 · 작가명 #F2DFA7 15:1 · 고대비(#000) 본문 #FFF1C9 18.7:1 · 제목 #FFD75E 15:1 */
.artist-bio-viewer .artist-bio-text { color: #E9D59B; }
.artist-bio-viewer .artist-bio-name { color: #F2DFA7; font-weight: 700; }
.artist-bio-viewer .artist-bio-content { max-width: 46em; }
.artist-bio-viewer .artist-bio-header { grid-template-columns: minmax(0, 1fr) auto auto; }
.artist-bio-viewer .artist-bio-lang-btn { min-height: 44px; }
.artist-bio-viewer .artist-bio-lang-btn { touch-action: manipulation; }
@media (max-width: 600px) {
  .artist-bio-viewer .artist-bio-header {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    row-gap: 8px;
  }
  .artist-bio-viewer .artist-bio-close { grid-column: 2; grid-row: 1; }
  .artist-bio-viewer .artist-bio-language {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .artist-bio-viewer .artist-bio-language button { width: 100%; min-width: 0; min-height: 48px; }
}
.artist-bio-viewer .artist-bio-lang-btn[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.artist-bio-viewer .artist-bio-content [lang="en"] { overflow-wrap: break-word; }
html.dz-z .artist-bio-viewer .artist-bio-header { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
html.dz-z .artist-bio-viewer .artist-bio-language { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
html.dz-z .artist-bio-viewer .artist-bio-content [lang="en"] { -webkit-hyphens: auto; hyphens: auto; }
html.dz-hc .artist-bio-viewer { background: #000 !important; }
html.dz-hc .artist-bio-viewer .artist-bio-header { background: #000 !important; border-bottom-color: #FFD75E !important; }
html.dz-hc .artist-bio-viewer .artist-bio-header h2 { color: #FFD75E !important; }
html.dz-hc .artist-bio-viewer .artist-bio-text { color: #FFF1C9 !important; }
html.dz-hc .artist-bio-viewer .artist-bio-name { color: #FFD75E !important; }
html.dz-hc .artist-bio-viewer .artist-bio-lang-btn, html.dz-hc .artist-bio-viewer .artist-bio-close { color: #fff !important; border-color: #fff !important; background: #000 !important; }
html.dz-hc .artist-bio-viewer .artist-bio-lang-btn[aria-pressed="true"] { color: #000 !important; background: #FFD75E !important; border-color: #FFD75E !important; }
/* Bio 머리(늘 위에 고정)는 덜 키워 본문 자리 확보, 짧은 이름은 단어 중간에서 끊기지 않게 상한 */
html.dz-z .artist-bio-viewer .artist-bio-header h2 { font-size: min(calc(15px * var(--dz-s)), 6.4vw) !important; word-break: keep-all; letter-spacing: .04em; }
html.dz-z .artist-bio-viewer .artist-bio-lang-btn { font-size: min(calc(15px * var(--dz-s)), 5.6vw) !important; min-height: 44px; padding: 4px 12px; }
html.dz-z .artist-bio-viewer .artist-bio-close { font-size: min(calc(22px * var(--dz-s)), 8vw) !important; width: auto; height: auto; }
html.dz-z .artist-bio-viewer .artist-bio-name { font-size: min(calc(15px * var(--dz-s)), 8.4vw) !important; word-break: keep-all; }
/* Dialog actions stay in a separate, non-scrolling header. */
.dzds-panel-actions {
  display: grid;
  grid-template-columns: minmax(48px, auto) 48px;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  margin-inline-start: auto;
}
.dzds-entry.dzds-entry-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  min-width: 48px;
  min-height: 48px;
  height: auto !important;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 22px;
  touch-action: manipulation;
}
.dzds-entry-panel .dzds-entry-mark { font-size: min(calc(16px * var(--dz-s, 1)), 24px); }
.dzds-entry-panel .dzds-entry-text {
  min-width: 0;
  font-size: min(calc(13px * var(--dz-s, 1)), 5.5vw, 22px) !important;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: start;
}
.dzds-panel-actions > button:last-child {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  touch-action: manipulation;
}
.ap-cms-header, .ap-pf-header { flex-wrap: wrap; gap: 8px; }
.ap-cms-header .ap-cms-title, .ap-pf-header h2 { min-width: 0; overflow-wrap: anywhere; }
.ap-cms-body, .ap-pf-body { min-height: 0; }

html.dz-z .ap-cms-header .ap-cms-title {
  font-size: min(calc(24px * var(--dz-s)), 9vw, 8vh, 36px) !important;
  line-height: 1.25 !important;
}
html.dz-z .ap-cms-header .ap-preview-badge { font-size: min(calc(12px * var(--dz-s)), 5.5vw, 20px) !important; }

#apAuthWrap .dzds-auth-frame {
  position: fixed;
  z-index: 60;
  inset: calc(env(safe-area-inset-top) + 10px) 12px calc(env(safe-area-inset-bottom) + 10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel, #0b0f14);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
#apAuthWrap .dzds-auth-frame[hidden] { display: none; }
@media (min-width: 768px) {
  #apAuthWrap .dzds-auth-frame {
    inset: 0 0 0 auto;
    width: var(--manage-panel-width-tablet-portrait, 58%);
    min-width: var(--manage-panel-min-width, 420px);
    max-width: var(--manage-panel-max-width, 720px);
    border-radius: 0;
    box-shadow: -24px 0 60px rgba(0,0,0,.4);
  }
}
@media (min-width: 768px) and (orientation: landscape) {
  #apAuthWrap .dzds-auth-frame { width: var(--manage-panel-width-tablet-landscape, 52%); }
}
@media (min-width: 1024px) {
  #apAuthWrap .dzds-auth-frame { width: var(--manage-panel-width-desktop-wide, 64%); max-width: var(--manage-panel-max-width-wide, 920px); }
}
.dzds-auth-header {
  flex: none;
  display: flex;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line, rgba(212,180,109,.18));
}
#apAuthWrap .dzds-auth-frame > #apAuthPanel {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: auto;
  max-height: none;
  min-width: 0;
  max-width: none !important;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  box-sizing: border-box;
}
#apAuthWrap .dzds-auth-frame > #apAuthPanel::before { content: none; }
/* The phone frame is already inset by the safe area; the full-height panel (>=768px) applies it inside. */
@media (min-width: 768px) {
  .dzds-auth-header { padding: max(8px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); }
  #apAuthWrap .dzds-auth-frame > #apAuthPanel { padding: 16px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
}

.artist-bio-viewer:not([hidden]) { display: flex; flex-direction: column; overflow: hidden; }
.artist-bio-viewer .artist-bio-header {
  position: relative;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}
.artist-bio-viewer .artist-bio-content { min-height: 0; box-sizing: border-box; overflow-y: auto; }
.ap-portfolio-viewer.dzds-portfolio-frame:not([hidden]) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dzds-portfolio-frame .ap-pf-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }

.ap-discover-zoom-backdrop.dzds-viewer-frame:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.dzds-viewer-header {
  flex: none;
  z-index: 2;
  display: flex;
  padding: max(6px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
  background: #060a0e;
}
.dzds-viewer-frame .ap-discover-zoom-stage { flex: 1 1 0; min-height: 0; }
.dzds-viewer-frame .ap-discover-zoom-info { max-height: calc(100% - max(60px, calc(env(safe-area-inset-top) + 54px))); overflow-y: auto; }
#dzCaptionReader .dzcr-bar { flex-wrap: wrap; }
#dzCaptionReader .dzcr-bar .dzds-panel-actions { margin-inline-start: 0; order: 1; }
#dzCaptionReader .dzcr-bar .dzcr-nav { margin-inline-start: 0; min-width: 0; }
#dzCaptionReader .dzcr-bar .dzcr-pos { white-space: normal; overflow-wrap: anywhere; }
#dzCaptionReader .dzcr-bar .dzds-panel-actions .dzcr-close { border-radius: 50%; padding: 0; }
@media (max-width: 420px) {
  #dzCaptionReader .dzcr-bar .dzcr-nav { flex: 1 0 100%; order: 2; }
  #dzCaptionReader .dzcr-bar .dzds-panel-actions { margin-inline-start: auto; }
}
.dzcr-bar .dzds-panel-actions, .dzsel-head .dzds-panel-actions { column-gap: 6px; }
.dzcr-bar .dzds-entry-panel .dzds-entry-text, .dzsel-head .dzds-entry-panel .dzds-entry-text { display: none; }
.dzds-backdrop { z-index: 2147483001; }

@media (max-width: 480px), (max-height: 440px) {
  .dzds-entry-panel .dzds-entry-text { display: none; }
  .artist-bio-viewer .artist-bio-header { padding-block-end: 8px; }
  .artist-bio-viewer .artist-bio-language { order: 1; flex-basis: 100%; }
}
html.dz-hc .dzds-panel-actions > button:last-child,
html.dz-hc #viewerCloseBtn .viewer-close-glyph {
  color: #FFD75E !important;
  border-color: #FFD75E;
  background-color: #000;
}
/* App-owned action sheets use the same toolbar and an independent scroll area. */
.dzds-sheet-frame {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden !important;
}
.dzds-sheet-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-block-end: 8px;
}
.dzds-sheet-scroll {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.dzds-sheet-close {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212,180,109,.42);
  border-radius: 50%;
  color: #d4b46d;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.dzds-sheet-close:disabled { opacity: .45; cursor: default; }
.dzds-sheet-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ap-imgsheet-panel.dzds-sheet-frame {
  box-sizing: border-box;
  max-height: calc(100vh - env(safe-area-inset-top, 0px) - 8px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 8px);
}
.ap-onboarding-panel.dzds-sheet-frame { box-sizing: border-box; }
.ap-onboarding-panel .dzds-sheet-scroll .ap-onboarding-skip {
  position: static;
  display: block;
  min-height: 44px;
  margin-inline-start: auto;
}
.ap-inq-menu.dzds-sheet-frame .ap-inq-menu__title { margin-inline-end: 2px; }
.ap-inq-menu--light .dzds-entry-panel { color: #7a5e22; border-color: #9e7b39; }
html.dz-hc .ap-inq-menu--light .dzds-entry-panel { color: #ffd75e; border-color: #ffd75e; background: #000; }
@media (max-height: 440px) {
  .ap-onboarding-panel.dzds-sheet-frame { padding-block: 12px; }
}

/* 관리 미리보기 「아래로 스크롤」 안내: 확대해도 본문을 가리지 않게 */
html.dz-z .ap-preview-scroll-hint.ap-space-reserved { height: auto !important; min-height: calc(44px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
html.dz-z .ap-preview-scroll-hint-text { font-size: min(calc(16px * var(--dz-s)), 6vw) !important; line-height: 1.3 !important; }
html.dz-z .ap-preview-scroll-hint-arrow { font-size: min(calc(12px * var(--dz-s)), 6vw) !important; }

/* 인라인 style 로 준 글자 크기도 확대(js inlineFs가 원래 값을 --dz-ifs 로 옮겨 표시) */
html.dz-z [data-dz-ifs="s"] { font-size: calc(var(--dz-ifs) * var(--dz-s)) !important; }
html.dz-z [data-dz-ifs="b"] { font-size: calc(var(--dz-ifs) * var(--dz-sb)) !important; }

/* 확대 시 글자가 버튼 밖으로 삐져나와 옆 요소(예: Aa 버튼)와 겹치지 않게 — 로그인 후 헤더 작가 이름 버튼 */
html.dz-z .site-header #apAuthWrap.ap-auth-wrap { width: auto !important; max-width: 100% !important; min-width: 0 !important; flex-shrink: 1 !important; }
html.dz-z .site-header #apAuthWrap #authTrigger.auth-trigger-btn { width: auto !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; }
html.dz-z .site-header #authTrigger #authTriggerLabel { flex: 0 1 auto !important; min-width: 0 !important; max-width: 100% !important; white-space: pre-line !important; overflow-wrap: break-word !important; word-break: keep-all !important; text-align: center !important; }
/* 같은 문제를 다른 버튼에서도 실제 측정(js growFix)으로 찾아 푼다 */
html.dz-z :is([data-dz-wfix], #dzNever#dzNever#dzNever) { width: auto !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; }
html.dz-z :is([data-dz-wfix-t], #dzNever#dzNever#dzNever) { flex-shrink: 1 !important; min-width: 0 !important; max-width: 100% !important; overflow-wrap: break-word !important; }
html.dz-z :is([data-dz-wfix-t="n"], #dzNever#dzNever#dzNever) { white-space: normal !important; }

/* 2026-11-22 zoomfix (P0) ------------------------------------------------------
   ① FILTER를 닫으면 확대 중에도 실제로 접힌다. 확대 보정(data-dz-grow: 높이 제한 해제)이 닫힌 상태까지 펼쳐 두어
      보이지도 눌리지도 않는 빈 영역(870~1175px)이 생기던 문제. 앱(ap-mfilter-collapsed)·LAB(ap-filter-collapsed) 모두. */
html.dz-z:is(.ap-filter-collapsed, .ap-mfilter-collapsed) body.archive-entered :is(#searchArea, #dzNever#dzNever#dzNever) {
  max-height: 0 !important; height: 0 !important; min-height: 0 !important; overflow: hidden !important;
  padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important;
  border-top-width: 0 !important; border-bottom-width: 0 !important;
  opacity: 0 !important; pointer-events: none !important; visibility: hidden !important;
}
/* ② 보기 설정 창: 설정 초기화를 닫기와 같은 고정 아래 줄에(두 버튼 모두 항상 화면 안). 좁으면 두 줄로 */
.dzds-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.dzds-foot .dzds-reset { flex: 1 1 auto; width: auto; margin: 0; }
.dzds-foot .dzds-close { flex: 1 1 auto; width: auto; }
html.dz-z .dzds-foot .dzds-reset, html.dz-z .dzds-foot .dzds-close { min-height: 44px; height: auto; line-height: 1.25; white-space: normal; overflow-wrap: break-word; }
/* ③ 확대 중 선택칸에서 잘린 항목 이름을 칸 위에 그대로 보여 준다 */
.dzds-sel { display: none; }
html.dz-z .dzds-sel { display: block; flex: none; width: 100%; max-width: 100%; margin: 0 0 4px; font-size: calc(15px * var(--dz-s)); line-height: 1.35; font-weight: 600; color: #f4efe6; overflow-wrap: anywhere; }
html.dz-hc .dzds-sel { color: #fff; }

/* ④ 보기 설정 창 머리(제목·×)와 고정 아래 줄(설정 초기화·닫기)은 화면 높이에 맞춘 상한 — 짧은 화면(iPhone SE·320×640·가로 화면)
      400%에서도 두 버튼이 항상 화면 안. 글자 크기 선택 등 내용은 그대로 확대되고 가운데 영역에서 세로 스크롤 */
html.dz-z .dzds-title { font-size: min(calc(19px * var(--dz-s)), 6vh, 9vw) !important; }
html.dz-z .dzds-x { font-size: min(calc(22px * var(--dz-s)), 6.5vh, 10vw) !important; }
html.dz-z .dzds-foot .dzds-reset { font-size: min(calc(15px * var(--dz-s)), 5vh, 8vw) !important; }
html.dz-z .dzds-foot .dzds-close { font-size: min(calc(16px * var(--dz-s)), 5.3vh, 8.5vw) !important; }
html.dz-z .dzds-head { padding-top: min(14px, 1.5vh); padding-bottom: min(10px, 1.2vh); }
html.dz-z .dzds-foot { padding-top: min(10px, 1.2vh); padding-bottom: min(14px, 1.5vh); gap: min(8px, 1vh); }
/* iOS Safari 주소창을 뺀 실제 보이는 높이(dvh, iOS 15.4+) — 미지원 브라우저는 위 vh 규칙 그대로 */
html.dz-z .dzds-title { font-size: min(calc(19px * var(--dz-s)), 6dvh, 9vw) !important; }
html.dz-z .dzds-x { font-size: min(calc(22px * var(--dz-s)), 6.5dvh, 10vw) !important; }
html.dz-z .dzds-foot .dzds-reset { font-size: min(calc(15px * var(--dz-s)), 5dvh, 8vw) !important; }
html.dz-z .dzds-foot .dzds-close { font-size: min(calc(16px * var(--dz-s)), 5.3dvh, 8.5vw) !important; }
html.dz-z .dzds-head { padding-top: min(14px, 1.5dvh); padding-bottom: min(10px, 1.2dvh); }
html.dz-z .dzds-foot { padding-top: min(10px, 1.2dvh); padding-bottom: min(14px, 1.5dvh); gap: min(8px, 1dvh); }
/* ⑤ 확대 중 검색칸 초점 표시를 뚜렷하게(원래는 1px 테두리 투명도만 .34→.55) — 저시력 사용자가 입력 위치를 놓치지 않게 */
html.dz-z #searchArea .archive-search:focus-within { box-shadow: 0 0 0 3px #f0d79c !important; border-color: #f0d79c !important; }
html.dz-hc #searchArea .archive-search:focus-within { box-shadow: 0 0 0 3px #FFD75E !important; border-color: #FFD75E !important; }
/* ⑦ 2026-11-22 (a11y4): 휴대폰 확대(200~400%)에서 로그인 작가명 버튼이 화면 오른쪽 밖으로 최대 350px 나가던 문제.
      원인: 헤더 버튼 줄(.header-actions)과 작가명 버튼이 원래 줄어들지 않게(flex-shrink:0) 되어 있어 화면 폭을 넘었다.
      확대 중에만 화면 폭 안으로 줄이고, 작가명은 단어 단위로 줄바꿈(글자 크기는 그대로). */
html.dz-z .site-header .header-actions { flex-shrink: 1 !important; min-width: 0 !important; max-width: 100% !important; }
html.dz-z .site-header #apAuthWrap #authTrigger.auth-trigger-btn { flex-shrink: 1 !important; }

/* ⑧ pf1(2026-11-23) 포트폴리오 PDF 만들기 화면 — 확대(150~400%)해도 작품 목록·설정·미리보기 영역이 화면의 절반 이상을 갖도록.
   (원인: 400% 휴대폰에서 고정 머리(제목·×)와 고정 버튼 줄(안내문·다음)이 화면 전체를 차지해 목록이 52px만 남음 → 선택·다음 불가)
   - 머리: 제목과 ×를 한 줄에, 제목은 줄바꿈하며 화면 높이·폭에 맞춘 상한(× 는 항상 44px 이상)
   - 버튼 줄(이전·다음·PDF 생성·안내문): 화면 높이에 맞춘 상한 + 최대 높이 넘으면 그 안에서 스크롤
   - 목록·양식·미리보기 본문 글자는 그대로 확대. 100%(dz-z 아님)는 바뀌지 않음. PDF 결과물(.ap-pf-page)은 건드리지 않음 */
html.dz-z #apPortfolioViewer .ap-pf-header { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: min(12px, 2vw) !important; padding-top: min(14px, 1.6dvh) !important; padding-bottom: min(14px, 1.6dvh) !important; }
html.dz-z #apPortfolioViewer .ap-pf-header h2 { flex: 1 1 0 !important; min-width: 0 !important; margin: 0 !important; font-size: min(calc(20px * var(--dz-s)), 5.5vh, 8vw) !important; font-size: min(calc(20px * var(--dz-s)), 5.5dvh, 8vw) !important; line-height: 1.2 !important; overflow-wrap: anywhere !important; white-space: normal !important; }
html.dz-z #apPortfolioViewer .ap-pf-close { flex: 0 0 auto !important; min-width: 44px !important; min-height: 44px !important; width: auto !important; height: auto !important; padding: 0 min(10px, 2vw) !important; font-size: min(calc(26px * var(--dz-s)), 6vh, 10vw) !important; font-size: min(calc(26px * var(--dz-s)), 6dvh, 10vw) !important; line-height: 1.1 !important; }
html.dz-z #apPortfolioViewer .ap-pf-actionbar { max-height: 32vh; max-height: 32dvh; overflow-y: auto; overscroll-behavior: contain; padding-top: min(10px, 1.2dvh) !important; padding-bottom: min(10px, 1.2dvh) !important; }
html.dz-z #apPortfolioViewer .ap-pf-actionbar .ap-pf-nav { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: min(8px, 1dvh) min(10px, 2vw) !important; }
html.dz-z #apPortfolioViewer .ap-pf-actionbar .ap-pf-btn { min-width: 0 !important; min-height: 44px !important; height: auto !important; white-space: normal !important; line-height: 1.2 !important; padding-top: min(8px, 1dvh) !important; padding-bottom: min(8px, 1dvh) !important; font-size: min(calc(16px * var(--dz-s)), 4.8vh, 7vw) !important; font-size: min(calc(16px * var(--dz-s)), 4.8dvh, 7vw) !important; }
html.dz-z #apPortfolioViewer .ap-pf-actionbar .ap-pf-select-hint { flex: 1 1 100% !important; order: 2; font-size: min(calc(15px * var(--dz-s)), 4.2vh, 6vw) !important; font-size: min(calc(15px * var(--dz-s)), 4.2dvh, 6vw) !important; line-height: 1.3 !important; }
html.dz-z #apPortfolioViewer .ap-pf-actionbar .ap-pf-btn-primary { margin-left: auto; }
/* ⑧-2 pf1: 선택 화면의 고정(sticky) 검색·섹션·선택 수 줄은 확대 시 매우 커져 아래 작품 칸을 덮는다(태블릿 400%에서 칸을 누를 수 없음) → 확대 중에는 목록과 함께 스크롤 */
html.dz-z #apPortfolioViewer .ap-pf-select-topbar { position: static !important; top: auto !important; }

/* ⑨ aa1(2026-11-23) Artist Edition 「Aa 보기 설정」 캡슐 버튼 — 원조 Archive Pro 와 같은 디자인 언어(블랙·골드, 금빛 2px 테두리, 56px)
   - PC·태블릿(600px 이상): 헤더 오른쪽 버튼 줄 맨 앞, 옆 버튼(로그인·작가명·내 아카이브)과 20px 간격
   - 휴대폰(600px 미만): 헤더 바로 아래 별도 한 줄, 전체 폭(display-settings.js placeEntry)
   - 헤더 제목이 잘리는 폭에서는 기존처럼 아래 「50점 PDF」 줄로 이동(같은 캡슐 모양)
   - 글자 확대 시 Aa·보기 설정 글자는 배율대로 커지고 줄바꿈. PDF 결과(.ap-pf-page)와 무관 */
.dzds-entry.dzds-entry-cap { gap: 10px; min-height: 56px; height: auto; padding: 6px 20px; border: 2px solid rgba(214, 183, 111, .85); background: linear-gradient(180deg, rgba(212, 180, 109, .16), rgba(212, 180, 109, .06)); color: #f0d79c; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35) inset, 0 4px 14px rgba(0, 0, 0, .35); line-height: 1.2; white-space: nowrap; flex-shrink: 0; }
.dzds-entry-cap .dzds-entry-mark { flex: 0 0 auto; font-size: calc(22px * var(--dz-s)); font-weight: 800; line-height: 1; color: #f4dc9c; }
.dzds-entry-cap .dzds-entry-text { font-size: calc(15px * var(--dz-s)); font-weight: 700; letter-spacing: .02em; color: #f4efe6; }
.dzds-entry-cap:hover { border-color: #f0d79c; background: rgba(212, 180, 109, .2); }
.dzds-entry-cap:focus-visible { outline: 3px solid #f0d79c; outline-offset: 3px; }
.site-header .header-actions > .dzds-entry-cap { margin-right: 12px; }
.ap-brand-links-row > .dzds-entry-cap { margin-right: 12px; }
.dzds-entry-line { position: relative; z-index: 2; display: flex; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px)); }
.dzds-entry-line[hidden] { display: none; }
.dzds-entry-line > .dzds-entry-cap { flex: 1 1 100%; width: 100%; justify-content: center; margin: 0; }
html.dz-z .dzds-entry.dzds-entry-cap { white-space: normal; text-align: left; flex-shrink: 1; max-width: 100%; }
html.dz-z .dzds-entry-cap .dzds-entry-text { overflow-wrap: anywhere; }
html.dz-hc .dzds-entry.dzds-entry-cap { background: #000; border: 3px solid #FFD75E; color: #FFD75E; box-shadow: none; }
html.dz-hc .dzds-entry-cap .dzds-entry-mark { color: #FFD75E; }
html.dz-hc .dzds-entry-cap .dzds-entry-text { color: #fff; }

/* ⑩ cos1(2026-11-23) COSMOS 헤더 Aa 버튼 — 약 23% 확대(44 → 54px), 금빛 2px 원형 테두리·Aa 굵게. 밝은 COSMOS 바탕에서 잘 보이도록 진한 금빛 글자(#8a6a24, 흰 바탕 대비 약 5:1). 설명 문구 없음.
   100%에서는 위아래 -5px 여백으로 헤더 줄 높이(44px)를 그대로 둬 아래 화면이 움직이지 않는다(Golden Baseline). */
.ap-discover-header-top .dzds-entry { min-width: 54px; min-height: 54px; padding: 0 12px; border: 2px solid #b8963e; color: #8a6a24; font-size: calc(19px * var(--dz-s)); font-weight: 800; background: rgba(212, 180, 109, .12); box-shadow: 0 2px 8px rgba(138, 106, 36, .18); margin-right: 12px; }
html:not(.dz-z) .ap-discover-header-top .dzds-entry { width: 54px; height: 54px; padding: 0; margin-top: -5.5px; margin-bottom: -4.5px; }
.ap-discover-header-top .dzds-entry:hover { border-color: #8a6a24; background: rgba(212, 180, 109, .22); }
.ap-discover-header-top .dzds-entry:focus-visible { outline: 3px solid #8a6a24; outline-offset: 3px; }
html.dz-hc .ap-discover-header-top .dzds-entry { background: #000; border: 3px solid #FFD75E; color: #FFD75E; box-shadow: none; }

/* Keep COSMOS intact. On narrow screens the controls can move as a group. */
.ap-discover-header-top { flex-wrap: wrap; align-items: center; }
.ap-discover-header-top .ap-discover-title {
  flex-shrink: 0;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
html.dz-z .ap-discover-header-top .ap-discover-title {
  font-size: min(calc(22px * var(--dz-s)), 12vw, 48px) !important;
}
.ap-discover-header-top .ap-discover-title-link { white-space: inherit !important; }
.ap-discover-header-top .dzds-entry { flex: 0 0 auto; white-space: nowrap !important; }

/* Use separate columns for the PDF title and its fixed touch targets. */
#apPortfolioViewer .ap-pf-header:has(> .dzds-panel-actions) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center !important;
  column-gap: clamp(6px, 2vw, 16px) !important;
}
#apPortfolioViewer .ap-pf-header .dzds-panel-actions { gap: clamp(6px, 2vw, 12px); }
html #apPortfolioViewer .ap-pf-header .ap-pf-close { min-height: 48px !important; }
#apPortfolioViewer .ap-pf-header .dzds-entry-panel > .dzds-entry-text {
  overflow-wrap: normal;
  white-space: nowrap;
}
html.dz-z #apPortfolioViewer .ap-pf-header .dzds-entry-text { display: none; }
@media (max-width: 600px) {
  #apPortfolioViewer .ap-pf-header .dzds-entry-text { display: none; }
}

/* Compact the Archive header without changing text sizes or gallery geometry. */
html.ap-archive-page body > .site-header {
  min-height: 0 !important;
  padding-block-start: var(--ap-archive-header-inset, env(safe-area-inset-top, 0px)) !important;
  padding-block-end: 0 !important;
}
/* Safe area comes only from env(): the native iOS WebView uses contentInset 'never',
   so the value is exact after launch, rotation, Split View and Stage Manager, and is 0
   wherever no system UI overlaps. No platform override, so the inset is never doubled. */
html.ap-archive-page body > .site-header .header-inner {
  min-height: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 4px !important;
  row-gap: 8px !important;
}
html.ap-archive-page .site-header .brand-home-link .brand-title-group { min-height: 0; }
html.ap-archive-page .site-header .brand-home-link { min-height: 44px; }
html.ap-archive-page .site-header #authTrigger.auth-trigger-btn { padding-block: 3px !important; }

html.ap-archive-page {
  --ap-archive-safe-inline: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}
html.ap-archive-page :is(.header-inner, .site-shell) {
  max-inline-size: calc(100% - 2 * var(--ap-archive-safe-inline, 0px)) !important;
}

html.ap-archive-page body > #dzEntryLine { padding-top: 4px; padding-bottom: 3px; }
html.ap-archive-page #dzDisplayBtn.dzds-entry-cap {
  position: relative;
  isolation: isolate;
  min-width: 48px;
  min-height: 48px;
  padding-block: 4px;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* The gold capsule is 44px tall at normal scale inside a 48px hit area. */
html.ap-archive-page #dzDisplayBtn.dzds-entry-cap::before {
  content: '';
  position: absolute;
  inset: 0 -2px;
  z-index: -1;
  pointer-events: none;
  border: 2px solid rgba(214, 183, 111, .85);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(212, 180, 109, .16), rgba(212, 180, 109, .06));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35) inset, 0 4px 14px rgba(0, 0, 0, .35);
}
html.ap-archive-page #dzDisplayBtn.dzds-entry-cap:hover::before {
  border-color: #f0d79c;
  background: rgba(212, 180, 109, .2);
}
html.ap-archive-page.dz-hc #dzDisplayBtn.dzds-entry-cap::before {
  inset: -1px -3px;
  border: 3px solid #FFD75E;
  background: #000;
  box-shadow: none;
}

html.ap-archive-page body.archive-entered .site-shell { padding-top: 4px !important; }
html.ap-archive-page .site-shell > #apArchiveArtistRow { padding-block: 2.4px 13.2px; }
html.ap-archive-page.ap-tablet-ui .site-shell > #apArchiveArtistRow { padding-bottom: 10.8px; }
html.ap-archive-page .site-shell > #apArchiveArtistRow > .ap-archive-artist-name[role="button"]::after {
  top: -2.4px;
  bottom: -13.2px;
}
@media (max-width: 767px) {
  html.ap-archive-page .site-shell > #apArchiveArtistRow { padding-bottom: 9.6px; }
  html.ap-archive-page .site-shell > #apArchiveArtistRow > .ap-archive-artist-name[role="button"]::after { bottom: -9.6px; }
}

html.ap-archive-page body.archive-entered .site-shell > .hero.hero-compressed {
  padding-top: 2.5px !important;
  padding-bottom: 1.6px !important;
  margin-bottom: 1.6px !important;
  row-gap: 3.25px !important;
}
html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline { row-gap: 6.5px !important; }
html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .ap-brand-links-row { gap: 5.75px !important; }
html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs {
  --ap-header-group-gap: 5.75px;
  column-gap: 0 !important;
}
html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs > .lang-tab[data-lang] {
  margin-left: 0 !important;
}
/* Keep the language segments adjacent. Space only the separate actions. */
html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs > :is(.lang-tab[data-lang="both"], #artistBioTrigger) {
  margin-right: var(--ap-header-group-gap) !important;
}
html.ap-archive-page body.archive-entered .hero-compressed > .stats-inline { margin-top: 2.5px !important; }
@media (max-width: 400px) {
  html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs { --ap-header-group-gap: 2.5px; }
}
@media (max-width: 340px) {
  html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs {
    --ap-header-group-gap: 1.6px;
    flex-wrap: wrap !important;
  }
}

/* Preserve the filter controls and only tighten the collapsed grid boundary. */
html.ap-archive-page body.archive-entered .site-shell > #apFilterToggleWrap.ap-filter-toggle-wrap { margin-block: 3.25px 1.6px !important; }
html.ap-archive-page.ap-mfilter-collapsed body.archive-entered #searchArea.controls {
  /* The shared panel rules otherwise leave 36px of padding in a 0px-high panel. */
  padding-block: 0 !important;
  margin-block: 0 !important;
  border-block-width: 0 !important;
  visibility: hidden;
}
html.ap-archive-page.ap-mfilter-collapsed body.archive-entered #archiveMain > #resultsMeta {
  margin-block: 0 2px !important;
}
html.ap-archive-page.ap-mfilter-collapsed body.archive-entered #archiveMain > #grid { margin-top: 2px !important; }

html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs > #manageTabBtn {
  min-width: 44px !important;
}
@media (any-pointer: coarse) {
  html.ap-archive-page .site-shell > #apArchiveArtistRow { min-height: 48px; }
  html.ap-archive-page .site-shell > #apArchiveArtistRow > .ap-archive-artist-name[role="button"]::after {
    left: 50%;
    right: auto;
    min-width: 48px;
    width: calc(100% + 16px);
    transform: translateX(-50%);
  }
  html.ap-archive-page .site-header .brand-home-link,
  html.ap-archive-page .site-header #authTrigger.auth-trigger-btn,
  html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs > .lang-tab[data-lang],
  html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs > #manageTabBtn,
  html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .lang-tabs > #artistBioTrigger,
  html.ap-archive-page body.archive-entered .hero-compressed > article.lang-inline > .ap-brand-links-row > :is(#portfolioPdfTrigger, #artistPrimaryLink, #artistExternalLink),
  html.ap-archive-page body.archive-entered .site-shell > #apFilterToggleWrap > #apFilterToggleBtn {
    min-height: 48px !important;
    min-width: 48px !important;
  }
}
@media (any-pointer: coarse) and (max-width: 767px) {
  html.ap-archive-page .site-shell > #apArchiveArtistRow > .ap-archive-artist-name[role="button"]::after { bottom: -12px; }
}
/* 2026-12-04 CLS: 보기 설정 버튼(48px)이 늦게 붙으며 헤더가 44→48px로 커져 화면 전체가 밀리던 현상 — 높이를 미리 확보 */
.site-header .header-actions { min-height: 48px; }
