/* ANTISCAM 홈페이지 공통 스타일 */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F6F8FB; }
a { color: #1D4ED8; }
a:hover { color: #1E3A8A; }
a:focus-visible, button:focus-visible, textarea:focus-visible {
  outline: 3px solid #F59E0B; outline-offset: 3px; border-radius: 8px;
}
#check:focus-within { box-shadow: 0 0 0 4px rgba(147, 180, 245, 0.6); }

/* 화면에는 숨기고 화면 낭독기에는 읽히게 */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* 키보드 사용자를 위한 '바로 가기' */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10; background: #FFFFFF; color: #0F1B2D;
  padding: 12px 16px; border-radius: 10px; font: 600 17px 'IBM Plex Sans KR', sans-serif; text-decoration: none;
}
.skip:focus { top: 12px; }

/* 휴대폰 화면에서 큰 제목 크기 줄이기 */
@media (max-width: 640px) {
  h1 { font-size: 40px !important; }
  h2 { font-size: 30px !important; }
}

/* ---------- 검사 결과 ---------- */
.result { margin-top: 18px; color: #0F1B2D; font-size: 17px; line-height: 1.55; scroll-margin-top: 16px; }
.result[hidden] { display: none; }
.r-verdict { display: flex; gap: 14px; align-items: center; border-radius: 18px; padding: 18px; }
.r-light { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 34px; font-weight: 700; color: #FFFFFF; }
.r-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.r-msg { margin: 4px 0 0; font-size: 17px; }
.r-verdict.danger { background: #FFF1EB; } .r-verdict.danger .r-light { background: #C2410C; } .r-verdict.danger .r-title { color: #9A3412; }
.r-verdict.warn, .r-verdict.none { background: #FFF7D6; } .r-verdict.warn .r-light, .r-verdict.none .r-light { background: #B7791F; } .r-verdict.warn .r-title, .r-verdict.none .r-title { color: #7A4F0A; }
.r-verdict.ok { background: #E6F4EC; } .r-verdict.ok .r-light { background: #1F7A4D; } .r-verdict.ok .r-title { color: #1A6A43; }
.r-speak { margin-top: 10px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 2px solid #CBD5E1;
  background: #FFFFFF; color: #0F1B2D; font: 600 17px 'IBM Plex Sans KR', sans-serif; cursor: pointer; }
.r-card { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 16px 18px; margin-top: 12px; }
.r-h { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: #4A5568; }
.r-addr { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 17px; word-break: break-all;
  background: #F1F4F8; border-radius: 10px; padding: 10px 12px; }
.r-dim { color: #64748B; }
.r-own { background: #FFEDD5; color: #9A3412; font-weight: 600; border-radius: 5px; padding: 0 4px; }
.r-own.good { background: #DCEFE4; color: #1A6A43; }
.r-reason { display: flex; gap: 10px; margin-top: 10px; }
.r-reason b { display: block; }
.r-t { color: #4A5568; font-size: 16px; }
.r-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; color: #FFFFFF; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.r-reason.d .r-ic { background: #C2410C; } .r-reason.w .r-ic { background: #B7791F; } .r-reason.g .r-ic { background: #1F7A4D; }
.glyph { background: #FFEDD5; color: #9A3412; font-weight: 700; border-radius: 4px; padding: 0 3px; }
.r-todo ul { margin: 0; padding-left: 20px; }
.r-todo li { margin: 4px 0; }
