/* f2 테마 기본 — 초기화 · 글꼴 · 링크 · 접근성 포커스. 값은 tokens.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--f2-white);
  color: var(--f2-black);
  font-family: var(--f2-font);
  font-size: var(--f2-fs-14);
  line-height: var(--f2-lh);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }

a { color: inherit; text-decoration: none; }
/* 마우스 올림 · 누름 표시는 interact.css(묶음 마지막) */

/* 모바일 입력 글자 16px — 아이폰이 16px 미만 입력칸을 누를 때 화면을 자동 확대하는 것 방지(확정 10/28, 시안 값보다 우선). 코어 · 스킨 폼에도 적용 */
@media (max-width: 767px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px; }
}

/* 키보드 포커스만 표시(마우스 클릭 때는 숨김) — 확정 10/28: 검정 2px 바깥선 */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--f2-black); outline-offset: 2px; }
.f2-dark :focus-visible { outline-color: var(--f2-lime); }

/* 화면에 안 보이고 읽기 프로그램만 읽는 글자. 코어 head.sub · 스킨 마크업(sound_only · 로그인 중 문구 · 본문 바로가기)도 같이 —
   f2는 코어 default_shop · mobile_shop.css를 붙이지 않으므로(10/28) 그 파일이 하던 숨김을 여기서 */
#hd_login_msg, .sound_only, .msg_sound_only, #skip_to_container a:not(:focus),
.f2-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
#skip_to_container a:focus { position: fixed; top: 0; left: 0; z-index: 1000; padding: 12px 16px; background: var(--f2-black); color: var(--f2-white); }

/* 본문 폭(PC 1280 기준) */
.f2-wrap { width: 100%; max-width: var(--f2-w-pc); margin: 0 auto; padding: 0 var(--f2-sp-24); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
