/* 게임 가이드 — 얼굴 · 머리 변경 방법(#tabBeauty). (2026-10-27)
   다른 가이드 항목에 영향이 없도록 모두 #tabBeauty 안에서만. 단계 칸은 자동사냥 시간 충전과 같은 모양. */
#tabBeauty { --bt-gold: #e7c983; --bt-line: #4a4134; --bt-ds: #ff9a6a; }

/* 한눈에 3단계 */
#tabBeauty .bt-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; padding: 0; list-style: none; }
#tabBeauty .bt-flow li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--bt-line); position: relative; }
#tabBeauty .bt-flow li + li::before { content: "▶"; position: absolute; left: -9px; top: 50%; transform: translateY(-50%); color: #c8a24a; font-size: 12px; }
#tabBeauty .bt-flow b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #b23a2a; border: 2px solid #f0d296; color: #fff5e1; font-size: 17px; }
#tabBeauty .bt-flow span { line-height: 1.45; color: var(--paper-dim); }
#tabBeauty .bt-flow strong { color: #f3e8cc; font-size: 16px; }

/* 단계 칸 */
#tabBeauty .ac-step { margin: 18px 0 6px; padding: 16px 18px 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--bt-line); border-left: 3px solid #c8a24a; }
#tabBeauty .ac-head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
#tabBeauty .ac-head b { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 26px; padding: 0 10px; border-radius: 13px; background: #6b4f1d; color: #ffe9b0; font-size: 13px; }
#tabBeauty .ac-head h3 { margin: 0; font: 21px var(--brush); color: #f3e8cc; }
#tabBeauty .ac-body { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 20px; align-items: start; }
#tabBeauty .ac-body.narrow { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
#tabBeauty figure { margin: 0; padding: 6px; background: #14110e; border: 1px solid var(--bt-line); box-sizing: border-box; }
#tabBeauty figure a { display: block; }
#tabBeauty figure img { display: block; width: 100%; max-width: 100%; height: auto; }
#tabBeauty figcaption { margin-top: 5px; font-size: 13px; color: var(--paper-dim); text-align: center; }

/* 번호 설명 — 그림 속 빨간 번호와 같은 모양, 조금 크게 */
#tabBeauty .bt-legend { margin: 0; }
#tabBeauty .bt-legend li { margin: 0; padding: 8px 0 8px 36px; font-size: 15px; line-height: 1.65; }
#tabBeauty .bt-legend li::before { top: 8px; width: 24px; height: 24px; line-height: 24px; font-size: 14px; }
#tabBeauty .bt-legend li small { display: block; color: var(--paper-dim); font-size: 13px; }
#tabBeauty .bt-pair + .bt-legend { margin-top: 14px; }
#tabBeauty .bt-where { margin: 12px 0 0; padding: 10px 12px; background: rgba(200, 162, 74, .1); border: 1px dashed #6b5a3a; line-height: 1.7; }
#tabBeauty .bt-where > b:first-child { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 10px; background: #6b4f1d; color: #ffe9b0; font-size: 12px; }

#tabBeauty .bt-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; }

#tabBeauty .bt-o { color: var(--bt-ds); font-weight: bold; }
#tabBeauty .bt-r { color: #ff6050; font-weight: bold; }

/* 번호 규칙 */
#tabBeauty .bt-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 4px; }
#tabBeauty .bt-rule { padding: 12px 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--bt-line); }
#tabBeauty .bt-rule h4 { margin: 0 0 8px; font: 19px var(--brush); color: var(--bt-gold); }
#tabBeauty .bt-rule h4 small { font: 13px sans-serif; color: var(--paper-dim); margin-left: 6px; }
#tabBeauty .bt-rule p { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }

/* 꼬리표: 등선(주황) · 기본(금색) */
#tabBeauty .bt-tag { display: inline-block; padding: 2px 10px; border-radius: 11px; font-size: 12px; line-height: 18px; white-space: nowrap; border: 1px solid; }
#tabBeauty .bt-tag.ds { color: #ffd2bd; background: rgba(255, 120, 60, .18); border-color: #b25a33; }
#tabBeauty .bt-tag.base { color: #f6e7c1; background: rgba(200, 162, 74, .16); border-color: #8a7140; }

/* 미리보기 모음: 등선 두 묶음은 한 줄씩, 기본 네 묶음은 둘씩 */
#tabBeauty .bt-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 8px 0 6px; }
#tabBeauty .bt-group { padding: 12px 14px 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--bt-line); }
#tabBeauty .bt-group.wide { grid-column: 1 / -1; }
#tabBeauty .bt-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(201, 164, 92, .18); }
#tabBeauty .bt-group-head h4 { margin: 0; font: 19px var(--brush); color: var(--bt-gold); }
#tabBeauty .bt-group-head h4 small { font: 13px sans-serif; color: var(--paper-dim); }
#tabBeauty .bt-group.wide .bt-group-head h4 { color: var(--bt-ds); }
#tabBeauty .bt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 200px)); gap: 10px; }
#tabBeauty .bt-group:not(.wide) .bt-cards { grid-template-columns: minmax(150px, 190px); }
#tabBeauty .bt-card figcaption { font-size: 14px; color: #f3e8cc; }

@media (max-width: 900px) {
  #tabBeauty .ac-body, #tabBeauty .ac-body.narrow, #tabBeauty .bt-pair, #tabBeauty .bt-rules, #tabBeauty .bt-groups, #tabBeauty .bt-flow { grid-template-columns: minmax(0, 1fr); }
  #tabBeauty .ac-body figure { max-width: 460px; }
  #tabBeauty .ac-body.narrow figure { max-width: 300px; }
  #tabBeauty .bt-flow li + li::before { content: none; }
}

/* 2단계 소제목 · 넓은 그림(위치) */
#tabBeauty .bt-sub { margin: 4px 0 10px; font: 17px var(--brush); color: var(--bt-gold); padding-left: 10px; border-left: 3px solid #b23a2a; }
#tabBeauty .bt-sub ~ .bt-sub { margin-top: 22px; }
#tabBeauty .bt-wide { max-width: 100%; margin: 0 0 12px; }
#tabBeauty .bt-wide + .bt-legend { margin-bottom: 4px; }
