/* 게임 가이드 — 자동사냥 시간 충전(#tabAutoCharge) 단계 배치. (2026-10-23)
   사이트 CSP 가 style-src 'self' 라 페이지 안 <style> 은 막힌다 → 이 파일로 따로 불러온다(world.html <head>).
   다른 가이드 항목에 영향이 없도록 모두 #tabAutoCharge 안에서만. */
#tabAutoCharge .ac-step { margin: 18px 0 6px; padding: 14px 16px 12px; background: rgba(0, 0, 0, .22); border: 1px solid #4a4134; border-left: 3px solid #c8a24a; }
#tabAutoCharge .ac-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
#tabAutoCharge .ac-head b { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 26px; padding: 0 10px; border-radius: 13px; background: #c8a24a; color: #1d1710; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
#tabAutoCharge .ac-head h3 { margin: 0; font: 20px var(--brush); color: #f3e8cc; }

/* 사진(왼쪽, 폭 상한) + 같은 번호 설명(오른쪽) */
#tabAutoCharge .ac-body { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 18px; align-items: start; }
#tabAutoCharge .ac-body.narrow { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
#tabAutoCharge .ac-body.hud { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
#tabAutoCharge .ac-body figure { margin: 0; padding: 6px; background: #14110e; border: 1px solid #4a4134; width: 100%; box-sizing: border-box; }
#tabAutoCharge .ac-body figure a { display: block; }
#tabAutoCharge .ac-body figure img { display: block; width: 100%; max-width: 100%; height: auto; }
#tabAutoCharge .ac-body figcaption { margin-top: 4px; font-size: 12px; color: var(--paper-dim); text-align: center; }

#tabAutoCharge .ac-legend { margin: 0; }
#tabAutoCharge .ac-legend li { margin-bottom: 10px; line-height: 1.65; }
#tabAutoCharge .ac-legend li small { display: block; color: var(--paper-dim); font-size: 13px; }
#tabAutoCharge .ac-text { margin: 0; line-height: 1.75; }
#tabAutoCharge .ac-step .ac-text + .ac-text, #tabAutoCharge .ac-body + .ac-text { margin-top: 10px; }
#tabAutoCharge .ac-y { color: #ffde32; font-weight: bold; }
#tabAutoCharge .ac-w { color: #ffffff; font-weight: bold; }

/* 시간이 쓰이는 순서 — 3칸 */
#tabAutoCharge .ac-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 4px; }
#tabAutoCharge .ac-flow div { padding: 12px; background: rgba(0, 0, 0, .25); border: 1px solid #4a4134; line-height: 1.6; }
#tabAutoCharge .ac-flow strong { display: block; margin-bottom: 4px; font: 17px var(--brush); color: #e7c983; }

/* 좁은 화면: 사진 위 · 설명 아래, 사진은 화면 폭에 맞춤 */
@media (max-width: 900px) {
  #tabAutoCharge .ac-body, #tabAutoCharge .ac-body.narrow, #tabAutoCharge .ac-body.hud { grid-template-columns: minmax(0, 1fr); }
  #tabAutoCharge .ac-body figure { max-width: 520px; }
  #tabAutoCharge .ac-body.narrow figure { max-width: 260px; }
  #tabAutoCharge .ac-body.hud figure { max-width: 420px; }
  #tabAutoCharge .ac-flow { grid-template-columns: minmax(0, 1fr); }
}
