/* 보기 설정 — 글씨 진하게·큰 마우스 포인터·클릭 효과·설정 창 (2026-10-19, 대표님: 이용자 나잇대가 높아 글을 또렷하게·포인터는 크고 잘 보이게)
   글자 크기는 js/st_read.js 가 정한다. 여기는 '모양'만 — 설정은 브라우저(localStorage)에만 저장하고 서버로 보내지 않는다. */

/* ① 글씨 진하게 — 글자 두께를 살짝 더해 또렷하게(글자 폭·줄바꿈은 그대로, 색도 그대로) */
html.stBold #container, html.stBold #container *{-webkit-text-stroke:.35px currentColor}   /* 본문 칸(#container) 안만 — 메뉴·푸터는 그대로 */

/* ② 큰 마우스 포인터 — 마우스를 쓰는 PC 에서만(폰·태블릿 터치에는 포인터가 없다).
   글 입력칸은 기본 세로 막대 포인터를 지켜 입력 위치가 정확하게 보이게 한다. */
@media (pointer:fine){
  html.stCur, html.stCur *{cursor:url(/images/cursor/st_arrow.svg) 6 3, auto !important}
  html.stCur a, html.stCur a *, html.stCur button, html.stCur [role=button], html.stCur label, html.stCur summary,
  html.stCur select, html.stCur input[type=button], html.stCur input[type=submit], html.stCur input[type=checkbox], html.stCur input[type=radio]{cursor:url(/images/cursor/st_hand.svg) 14 3, pointer !important}
  html.stCur input[type=text], html.stCur input[type=search], html.stCur input[type=email], html.stCur input[type=tel],
  html.stCur input[type=password], html.stCur input[type=number], html.stCur textarea, html.stCur [contenteditable=true]{cursor:text !important}
}

/* ③ 클릭 효과 — 누른 자리에 주황 고리가 번졌다 사라진다(눌렸는지 눈으로 확인) */
.stRipple{position:fixed;width:14px;height:14px;margin:-7px 0 0 -7px;border:3px solid #f08a00;border-radius:50%;pointer-events:none;z-index:2147483000;animation:stRip .55s ease-out forwards}
@keyframes stRip{from{transform:scale(.6);opacity:.95}to{transform:scale(4.2);opacity:0}}
@media (prefers-reduced-motion:reduce){.stRipple{animation:none;opacity:0}}

/* ④ 설정 창(상단 '글씨 크게' 눌렀을 때)·설정 화면 공통 */
.stRdBack{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(10,20,30,.45);z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:14px}
.stRdBox{background:#fff;border-radius:14px;max-width:560px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 12px 40px rgba(0,0,0,.3);box-sizing:border-box}
.stRdBox *{box-sizing:border-box}
.stRdHead{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e3ebe8}
.stRdHead b{font-size:23px;color:#14332c}
.stRdX{border:0;background:#eef3f1;border-radius:8px;font-size:18px;padding:10px 16px;cursor:pointer;color:#14332c}
.stRdBody{padding:16px 20px 20px}
.stRdRow{margin:0 0 20px}
.stRdRow h3{margin:0 0 10px;font-size:20px;color:#14332c;font-weight:800}
.stRdRow p.d{margin:8px 0 0;font-size:16px;color:#4b5a54;line-height:1.6}
.stRdBtns{display:flex;gap:8px;flex-wrap:wrap}
.stRdBtns button{flex:1 1 0;min-width:96px;border:2px solid #b7cdc6;background:#fff;border-radius:10px;padding:14px 6px;color:#14332c;cursor:pointer;line-height:1.3;font-family:inherit}
.stRdBtns button.on{border-color:#0b7a68;background:#e4f5f1;font-weight:800;box-shadow:0 0 0 2px #0b7a68 inset}
.stRdBtns button .s1{font-size:18px}.stRdBtns button .s2{font-size:22px}.stRdBtns button .s3{font-size:26px}
.stRdBtns button.big{font-size:20px}
.stRdReset{border:0;background:none;color:#0b5cab;text-decoration:underline;font-size:17px;cursor:pointer;padding:6px 0}
.stRdNote{font-size:14.5px;color:#667770;line-height:1.6;border-top:1px solid #e3ebe8;padding-top:12px}
.stRdDemo{margin:10px 0 0;padding:10px 12px;background:#f5f8f7;border-radius:8px;font-size:16px;line-height:1.7;color:#1f2a24}

/* ⑤ 쉬운 보기(큰 글씨·그림 없음) — 2026-10-27 대표님: 어르신 고객이 많아 글씨만 크게, 그림은 사라지게.
   html.stEasy 일 때만 적용. 모든 화면 왼쪽 아래(폰은 하단 메뉴 위) '큰글씨 보기' 단추로 켜고 끈다(js/st_read.js).
   하는 일: ①본문·푸터의 그림(img·svg·video)과 그림 배경 숨김 ②왼쪽 메뉴·오른쪽 배너·광고·후원 칸을 감추고 본문을 한 줄로 넓게 ③글자는 '아주 크게'(18px 이상)+줄 간격 넓게.
   남기는 것: 상단 글자 메뉴·로고·상담 단추·지도·그래프(canvas, .maplibregl-map, .leaflet-container)·입력칸·단추. 지도·촘촘한 도구(DENSE)는 stEasyDense 로 그림 숨기기를 건너뛴다. */
html.stEasy:not(.stEasyDense) #container img, html.stEasy:not(.stEasyDense) #container picture, html.stEasy:not(.stEasyDense) #container video,
html.stEasy:not(.stEasyDense) #container svg, html.stEasy:not(.stEasyDense) #footer img, html.stEasy:not(.stEasyDense) #stFootBanner img{display:none !important}
html.stEasy .stEasyNoBg{background-image:none !important}
html.stEasy:not(.stEasyDense) #frame_left, html.stEasy:not(.stEasyDense) #rbanner, html.stEasy:not(.stEasyDense) #stFootBanner, html.stEasy:not(.stEasyDense) #stSponsorM,
html.stEasy:not(.stEasyDense) .stAd, html.stEasy:not(.stEasyDense) .stAdBar, html.stEasy:not(.stEasyDense) .stAdSlot, html.stEasy:not(.stEasyDense) #base_banner,
html.stEasy:not(.stEasyDense) .st-guide-btn, html.stEasy:not(.stEasyDense) #main_visual, html.stEasy:not(.stEasyDense) #stCertPop, html.stEasy:not(.stEasyDense) #stCertPill, html.stEasy:not(.stEasyDense) #stExitPop,
html.stEasy:not(.stEasyDense) #pwaBanner, html.stEasy:not(.stEasyDense) #pwaIosGuide, html.stEasy:not(.stEasyDense) #lbanner, html.stEasy:not(.stEasyDense) #lmWideBox, html.stEasy:not(.stEasyDense) #Layer_Box, html.stEasy:not(.stEasyDense) [id^=Layer_]{display:none !important}   /* 메인 큰 그림·팝업·앱 배너·지도 광고판 */
html.stEasy:not(.stEasyDense) body{overflow-x:hidden}
html.stEasy:not(.stEasyDense) #wrap, html.stEasy:not(.stEasyDense) #container{width:auto !important;max-width:980px !important;margin-left:auto !important;margin-right:auto !important;box-sizing:border-box}
html.stEasy:not(.stEasyDense) #frame_center{float:none !important;width:auto !important;max-width:none !important;margin:0 !important;padding:0 14px !important;box-sizing:border-box}
html.stEasy:not(.stEasyDense) #container{line-height:1.8 !important;word-break:keep-all;overflow-wrap:anywhere}
html.stEasy:not(.stEasyDense) #container table{max-width:100% !important}
html.stEasy .stEasyAlt{display:block;font-weight:800;font-size:20px;line-height:1.6 !important;color:#0b5cab;text-decoration:underline;padding:8px 2px}
html.stEasy .stEasyAltA{line-height:1.6 !important;height:auto !important;max-height:none !important;overflow:visible !important;border:0 !important;display:block}
/* ★ 왼쪽 아래 '떠 있는 것' 자리 기준 (2026-11-23 대표님 — 큰글씨 보기 단추가 세무 안내 카드를 가려 두 번째로 고침, docs/134)
   1층 = 큰글씨 보기 단추(이 파일, 항상 맨 아래). 2층 = 안내 카드·알약(cert_promo.php 처럼 새로 만드는 것) — 2층은 반드시 var(--st-fl-promo-bottom) 만 쓴다.
   숫자(14px·74px)를 새 파일에 직접 쓰지 않는다. 단추 크기·폰 하단 메뉴 높이가 바뀌면 아래 세 변수만 고친다. 오른쪽 아래 줄(상담·맨위로)은 st_chat.js·mobile_nav.css 가 맡는다. */
:root{--st-fl-easy-bottom:14px;--st-fl-easy-h:60px;--st-fl-gap:10px;--st-fl-promo-bottom:calc(var(--st-fl-easy-bottom) + var(--st-fl-easy-h) + var(--st-fl-gap))}
@media (max-width:768px){:root{--st-fl-easy-bottom:74px;--st-fl-easy-h:56px}}
/* 쉬운 보기 단추(모든 화면) */
#stEasyBtn{position:fixed;left:12px;bottom:var(--st-fl-easy-bottom);z-index:2147480000;background:#0b6f80;color:#fff;font-family:'맑은 고딕','Malgun Gothic',sans-serif;font-size:19px;font-weight:800;line-height:1.2;padding:13px 20px;border:3px solid #fff;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.35);cursor:pointer}
#stEasyBtn:hover{background:#095a68}
html.stEasy #stEasyBtn{background:#c0392b}
@media (max-width:768px){#stEasyBtn{font-size:18px;padding:12px 16px}}
@media print{#stEasyBtn{display:none !important}}
