/* 앱(/app · /app-en) 글자 대비 보정 — 2026-10-24 접근성 점검(Hallow 비교 L)
   측정: 흰 배경 위 작은 금색 글자 #A88208 = 3.58:1, #CDA00A = 2.43:1(링크는 2.07:1), 회색 라벨 #8C8475 = 3.70:1.
   WCAG AA 는 작은 글자 4.5:1 이상. 프로젝트 규칙(app-v5.css): "금색 글자는 흰 배경에서 #7F6104 만 쓴다".
   ⚠ 금색 배경·장식·로고는 그대로 둔다. 작은 '글자'만 바꾼다. 라이트 전용(다크는 잠금).
   이 파일은 tone.css 뒤에 읽혀야 한다(같은 !important 규칙을 덮는다). */

/* 금색 작은 글자 → #7F6104 (5.8:1) */
html .repent.solo .response-block .block-label,
html .repent.solo .response-word .block-label,
html .repent.solo .response-word cite,
html .repent.solo .response-word #resp-verse-ref,
html .repent.solo .response-why summary,
html .q-label,
html #tier-banner a {
  color: #7F6104 !important;
}

/* 회색 작은 라벨 → #6B655A (5.8:1) */
html .repent.solo .response-meditation .block-label,
html .repent.solo .response-acknowledgement .block-label {
  color: #6B655A !important;
}

/* 하루 리듬 라벨 #8A8F9C(3.24:1) → #5F6470 */
html .hc-rhythm-label { color: #5F6470; }

/* 핵심만/차근차근: 금색 배경 위 흰 글자 2.43:1 → 금색 CTA 와 같은 진한 글자 */
html .depth-btn[aria-pressed="true"] { color: #1A1400; }

/* 글자 크게 (response-v2.js '글자 크게' 버튼, veil.textSize=large) — 응답 영역만 15% 키운다.
   zoom 은 레이아웃까지 같이 키워서 줄바꿈·덱 높이가 자연스럽게 따라온다(가로 넘침 없음은 390px 실측). */
html[data-text-size="large"] #response-content { zoom: 1.15; }
.text-size-btn { margin-left: auto; }
@media (max-width: 480px) { .text-size-btn { margin-left: 0; } }

/* A11Y-3 C·E (2026-10-31) — 누르는 칸 44px · 폰 입력칸 3줄. 390px 측정에서 40·36·30px 이던 것들. */
html .mood-chip,
html .chip,
html .hc-moment,
html .nav-sheet-close { min-height: 44px; }
html .nav-sheet-close { min-width: 44px; }
html .hc-moment { display: inline-flex; align-items: center; }
html .hc-guide { display: inline-flex; align-items: center; min-height: 44px; }
/* hero-canvas.css 가 36px·min-height:0 을 !important 로 박아 두어 같은 무게로 덮는다(이 파일이 뒤에 읽힌다). */
html .hc-composer #submit-confession.btn { width: 44px !important; height: 44px !important; min-width: 44px !important; max-width: 44px !important; min-height: 44px !important; max-height: 44px !important; }
html .hc-chips .chip { min-height: 44px !important; display: inline-flex !important; align-items: center; }
html .hc-chips .chip[hidden] { display: none !important; }
html .response-preferences > summary,
html .response-why summary,
html .helper-label,
html #response-content details > summary { min-height: 44px; min-width: 44px; padding-top: 10px; padding-bottom: 10px; box-sizing: border-box; }
@media (max-width: 640px) {
  html .hc-composer .confess-textarea { min-height: calc(3 * 1.7em + 16px) !important; }
}
#response-content [tabindex="-1"]:focus { outline: none; }
#response-content [tabindex="-1"]:focus-visible { outline: 3px solid #1E3AFF; outline-offset: 4px; border-radius: 6px; }

/* 2026-10-31 폰 점검 후속 */
/* 숨김 속성(hidden)이 .btn{display:inline-flex} 에 덮여 '말씀 카드'·'다른 말씀 보기'가 눌러도 안 되는 채로 보였다 */
html .btn[hidden], html button[hidden] { display: none !important; }
/* '다른 응답·저장 옵션' 안내가 flex 칸 4개로 갈라져 한두 단어씩 끊겼다 */
html .response-tier, html .response-tier.tier-free { display: block !important; line-height: 1.75; word-break: keep-all; }
html .response-tier a { display: inline; }
html .response-fit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html .response-fit-actions .btn { min-height: 44px; border: 1px solid #d9d4c7 !important; border-radius: 999px !important; background: #fff !important; padding: 8px 16px !important; }
html .fit-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: #7F6104; }
/* 응답 방식 패널: 알약 안에 기본 라디오 원이 붙어 보였다 → 원은 숨기고 알약 전체가 선택 표시 */
html .response-preferences label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; }
html .response-preferences label input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
html .response-preferences label:has(input:focus-visible) { outline: 3px solid #1E3AFF; outline-offset: 2px; }
html .response-preferences label:has(input:checked) { font-weight: 700; }
html .response-preferences label:has(input:checked)::before { content: '✓'; margin-right: 6px; color: #7F6104; }
html .hc-composer .response-preferences-body { max-width: calc(100vw - 40px); }
/* 응답 안 기본 라디오·펼침 표시를 금색 체계로 */
html #response-content input[type="radio"], html #response-content input[type="checkbox"] { accent-color: #7F6104; width: 20px; height: 20px; }
html #response-content summary::marker { color: #7F6104; }
/* 자물쇠: 버튼처럼 보이지만 누를 수 없었다 → 테두리 없는 표시로 */
html .hc-composer .hc-lock { box-shadow: none !important; background: transparent !important; width: 24px !important; }
/* 글자 크게: zoom 으로 키우면 오른쪽 여백이 사라졌다 → 너비를 줄여 확대 뒤 원래 폭에 맞춘다 */
html[data-text-size="large"] #response-content { width: calc(100% / 1.15); }
/* 푸터 기울어진 명조 */
html .footer-tag { font-style: normal; }
#resp-address, #resp-acknowledgement-block, #response-content .response-word { scroll-margin-top: 84px; }
