/* 에듀허브 UI 개선 목업 — 공용 스타일
   브랜드: 로고 레드(#d7141a) + 기존 GNB 그린(#4caf1a) 유지 */
:root {
  --red: #d7141a; --red-d: #b30f14; --red-l: #fdeced;
  --green: #45a817; --green-d: #2f8a0c; --green-l: #eef8e6;
  --ink: #1e2329; --sub: #5b6470; --mute: #8a929c;
  --line: #e4e7eb; --bg: #f5f7f9; --white: #fff;
  --r: 8px; --sh: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.6;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-d); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- mock-bar ---------- */
.mock-bar { background: #222; color: #ddd; font-size: 12px; padding: 6px 0; }
.mock-bar .wrap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mock-bar b { color: #ffd54a; }
.mock-bar a { color: #ddd; }
.mock-bar a.on { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- 유틸 바 ---------- */
.util { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.util .wrap { display: flex; justify-content: flex-end; }
.util-links { display: flex; gap: 2px; align-items: center; }
.util-links a { padding: 7px 9px; white-space: nowrap; }
.util-links a.b { color: var(--red); font-weight: 700; }
.util-links .fav { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; margin-left: 6px; font-size: 12px; cursor: pointer; background: #fff; }

/* ---------- 헤더 ---------- */
.hd { background: #fff; position: relative; z-index: 30; }
.hd-in { display: flex; align-items: center; gap: 32px; height: 88px; }
.logo img { width: 180px; height: auto; }
.sch { flex: 1; max-width: 560px; display: flex; border: 2px solid var(--green); border-radius: 8px; overflow: hidden; background: #fff; }
.sch select { border: 0; background: var(--green-l); padding: 0 12px 0 16px; font-size: 14px; color: var(--green-d); font-weight: 600; outline: none; }
.sch input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; outline: none; }
.sch button { border: 0; background: var(--green); color: #fff; font-weight: 700; padding: 0 22px; cursor: pointer; }
.hd-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.hd-act a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.hd-act .cart { border: 1px solid var(--line); }
.hd-act .cart i { font-style: normal; background: var(--red); color: #fff; border-radius: 6px; font-size: 11px; padding: 0 6px; line-height: 18px; }
.hd-act .login { background: var(--ink); color: #fff; }
.hd-act .login:hover { color: #fff; background: #000; }

/* GNB — 기존 그린 바 유지 */
.gnb { background: var(--green); }
.gnb ul.top { display: flex; justify-content: center; gap: 4px; }
.gnb li.m { position: relative; }
.gnb li.m > a { display: block; color: #fff; font-weight: 700; font-size: 16px; padding: 13px 26px; white-space: nowrap; }
.gnb li.m > a:hover, .gnb li.m.on > a { background: var(--green-d); color: #fff; }
.gnb li.m > a small { font-weight: 500; font-size: 12px; opacity: .85; }
.gnb .sub { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, .08); padding: 10px; z-index: 40; }
.gnb .sub.wide { min-width: 360px; display: none; grid-template-columns: 1fr 1fr; }
.gnb li.m:hover .sub { display: block; }
.gnb li.m:hover .sub.wide { display: grid; }
.gnb .sub a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.gnb .sub a:hover { background: var(--green-l); }

/* ---------- 공통 컴포넌트 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #fff;
  border-radius: 6px; padding: 10px 18px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--green); color: var(--green-d); }
.btn.pri { background: var(--green); border-color: var(--green); color: #fff; }
.btn.pri:hover { background: var(--green-d); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-d); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.lg { padding: 14px 26px; font-size: 16px; border-radius: 8px; }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns.c { justify-content: center; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.inp, .sel, .ta { width: 100%; border: 1px solid #d5dae0; border-radius: 6px; padding: 10px 12px; background: #fff; outline: none; }
.inp:focus, .sel:focus, .ta:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(69, 168, 23, .15); }
.ta { min-height: 160px; resize: vertical; }
.chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--green); }

.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 4px; background: #eef1f4; color: #4a525c; white-space: nowrap; }
.tag.s-math { background: #e7f0ff; color: #1f5fd1; }
.tag.s-sci { background: #e3f6f1; color: #0d8a6a; }
.tag.s-soc { background: #fff1e0; color: #c7620a; }
.tag.s-kor { background: #f1eafe; color: #6b3fc9; }
.tag.s-eng { background: #fde9f3; color: #c2337a; }
.tag.s-all { background: var(--red-l); color: var(--red); }
.tag.s-sch { background: #263241; color: #fff; }
.tag.s-sum { background: #fff7d6; color: #8a6400; }
.badge { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.badge.new { background: var(--red); color: #fff; }
.badge.free { background: var(--green-l); color: var(--green-d); }
.badge.gray { background: #eef1f4; color: var(--sub); }
.badge.ok { background: #e7f0ff; color: #1f5fd1; }

/* 섹션 헤더 */
.sec { margin: 44px 0; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-hd h2 { font-size: 24px; letter-spacing: -.5px; }
.sec-hd h2 em { font-style: normal; color: var(--green-d); }
.sec-hd p { color: var(--sub); font-size: 14px; }
.more { font-size: 14px; color: var(--sub); white-space: nowrap; }
.more::after, .arw::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: translateY(-1px) rotate(45deg); vertical-align: middle; }

/* 상품 카드 */
.pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pgrid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; transition: .15s; min-width: 0; }
.pcard:hover { border-color: var(--green); color: inherit; }
.pc-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pc-cat { font-size: 12px; color: var(--mute); }
.pc-tit { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.pc-sch { font-size: 13px; color: var(--green-d); font-weight: 600; background: var(--green-l); border-radius: 8px; padding: 4px 8px; align-self: flex-start; }
.pc-sch:empty { display: none; }
.pc-meta { font-size: 12px; color: var(--mute); display: flex; gap: 8px; flex-wrap: wrap; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 10px; gap: 8px; }
.price { font-size: 17px; font-weight: 800; color: var(--red); white-space: nowrap; }
.price.free { color: var(--green-d); }
.price del { font-size: 12px; color: var(--mute); font-weight: 400; margin-right: 4px; }

/* ---------- 메인 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 22px; }
.slider { position: relative; border-radius: 8px; overflow: hidden; background: #fbe6ee; min-height: 260px; }
.slide { display: none; height: 100%; }
.slide.on { display: block; }
.slide:not(.txt) > a { display: block; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.txt { padding: 40px 44px; color: #fff; }
.slide.txt h2 { font-size: 34px; line-height: 1.3; letter-spacing: -1px; margin: 10px 0 12px; }
.slide.txt p { opacity: .9; }
.slide.s2 { background: var(--green-d); }
.slide.s3 { background: #263241; }
.slide .kick { display: inline-block; background: #fff; color: var(--ink); border-radius: 4px; padding: 2px 8px; font-size: 13px; font-weight: 700; }
.slide .btn { margin-top: 20px; }
/* 인디케이터: 보이는 점은 ::before(10px), 버튼 자체는 32x32 터치 영역 */
.dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 0; pointer-events: none; }
.dots button { pointer-events: auto; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.dots button::before { content: ""; width: 10px; height: 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); transition: width .2s; }
.dots button.on { width: 40px; }
.dots button.on::before { width: 26px; background: var(--red); }
.dots button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 8px; }

.loginbox { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.loginbox h3 { font-size: 17px; }
.loginbox h3 small { display: block; font-size: 13px; color: var(--sub); font-weight: 400; }
.loginbox .links { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); }
.loginbox .sns { display: grid; grid-template-columns: 1fr; gap: 6px; }

.catnav { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 14px; margin-top: 18px; }
.catnav .cn { padding: 20px; }
.cn h3 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cn h3 a { font-size: 13px; color: var(--sub); font-weight: 400; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.steps a { border: 1px solid var(--line); border-radius: 6px; padding: 10px 8px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.35; }
.steps a b { display: block; font-size: 18px; color: var(--green); }
.steps a:hover { border-color: var(--green); background: var(--green-l); }
.grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grades a { border: 1px solid var(--line); border-radius: 6px; padding: 14px 6px; text-align: center; font-weight: 700; font-size: 14px; }
.grades a:hover { border-color: var(--green); background: var(--green-l); }
.cn.ready { background: #fafbfc; }
.cn.ready p { font-size: 13px; color: var(--sub); }

.promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.promos a { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }

/* 빠른 메뉴: 카드 4개를 한 줄 바로(구분선) / 단색 그린 배경 + 흰 선 아이콘 */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.quick a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-width: 0; }
.quick a + a { border-left: 1px solid var(--line); }
.quick a:hover { background: #fafcf8; }
.quick .qi { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; flex: none; background: var(--green-d); color: #fff; }
.quick .qi .ic { width: 24px; height: 24px; }
.quick b { display: block; font-size: 16px; }
.quick span { font-size: 13px; color: var(--sub); }

.boardrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 14px; }
.boardrow.b2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nlist { padding: 20px 22px; }
.nlist h3 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.nlist h3 a { font-size: 13px; color: var(--sub); font-weight: 400; }
.nlist li a { display: flex; gap: 10px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f2f4; font-size: 14px; }
.nlist li:last-child a { border-bottom: 0; }
.nlist li .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nlist li .d { color: var(--mute); font-size: 12px; flex: none; }
.side-cards { display: flex; flex-direction: column; gap: 14px; }
.scard { padding: 18px 20px; display: block; border-radius: var(--r); }
.scard b { display: block; font-size: 16px; }
.scard span { font-size: 13px; }
.scard.kakao { background: #fee500; color: #3a1d1d; }
.scard.zoom { background: #1f5fd1; color: #fff; }
.scard.zoom:hover { color: #fff; }
.scard.up { background: #fff; border: 1px solid var(--line); }
.bookcard { display: flex; gap: 14px; align-items: center; padding: 14px; }
.bookcard img { width: 70px; border-radius: 8px; flex: none; }

/* ---------- 서브 레이아웃 ---------- */
.page-hd { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 22px; }
.crumb { font-size: 13px; color: var(--mute); display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--green-d); }
.crumb span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 0 2px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-2px) rotate(45deg); }
.page-hd h1 { font-size: 28px; letter-spacing: -.6px; margin-top: 6px; }
.page-hd p { color: var(--sub); margin-top: 4px; }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; margin: 28px auto 60px; align-items: start; }
.layout.full { grid-template-columns: minmax(0, 1fr); }
.lnb { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; position: sticky; top: 12px; }
.lnb h3 { font-size: 15px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.lnb a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.lnb a small { color: var(--mute); font-size: 12px; }
.lnb a.on { background: var(--green-l); color: var(--green-d); font-weight: 700; }
.lnb .grp { font-size: 12px; color: var(--mute); padding: 10px 10px 2px; }
.viewer-dl { margin-top: 12px; padding: 12px; background: var(--bg); border-radius: 6px; font-size: 13px; }
.viewer-dl b { display: block; margin-bottom: 6px; }
.viewer-dl a { display: inline-block; padding: 2px 0; margin-right: 10px; color: var(--sub); text-decoration: underline; }

/* 목록 툴바 */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .cnt { color: var(--sub); }
.toolbar .cnt b { color: var(--red); }
.seg { display: inline-flex; background: #eef1f4; border-radius: 6px; padding: 3px; }
.seg a, .seg button { border: 0; background: none; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--sub); cursor: pointer; white-space: nowrap; }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 5px 13px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 리스트형 상품 행 */
.plist { display: flex; flex-direction: column; gap: 10px; }
.prow { display: grid; grid-template-columns: 120px minmax(0, 1fr) 70px 110px 110px; gap: 14px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.prow:hover { border-color: var(--green); color: inherit; }
.prow .t b { display: block; font-size: 15px; }
.prow .t span { font-size: 12px; color: var(--mute); }
.prow .fmt { font-size: 13px; color: var(--sub); text-align: center; }
.prow .u { font-size: 13px; color: var(--sub); text-align: right; overflow: hidden; text-overflow: ellipsis; }
.prow .price { text-align: right; }
.empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed #cfd5dc; border-radius: 8px; color: var(--sub); }
.empty b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 26px; flex-wrap: wrap; }
.pager a { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-size: 14px; padding: 0 6px; }
.pager a.on { background: var(--green); color: #fff; font-weight: 700; }
.pager a:hover:not(.on) { background: #eef1f4; }

/* 상세 */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.d-head { padding: 26px; }
.d-head h1 { font-size: 24px; line-height: 1.4; margin: 10px 0 14px; letter-spacing: -.5px; }
.file { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 6px; padding: 12px 14px; font-size: 14px; flex-wrap: wrap; }
.file .ext { background: var(--red); color: #fff; font-weight: 800; font-size: 11px; border-radius: 6px; padding: 4px 6px; }
.file .nm { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 16px; }
.specs div { background: #fff; padding: 12px 14px; }
.specs dt { font-size: 12px; color: var(--mute); }
.specs dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.kw { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.kw span { background: #eef1f4; border-radius: 6px; padding: 2px 8px; color: var(--sub); }
.d-body { padding: 26px; margin-top: 16px; }
.d-body h2 { font-size: 18px; margin-bottom: 12px; }
.d-body .intro { white-space: pre-line; font-size: 15px; }
.zoom-box { margin-top: 18px; background: #eef4ff; border-radius: 6px; padding: 14px 16px; font-size: 14px; }
.zoom-box a { color: #1f5fd1; font-weight: 700; overflow-wrap: anywhere; }
.notice-legal { margin-top: 18px; font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 14px; }
.buybox { padding: 22px; position: sticky; top: 12px; }
.buybox .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.buybox .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; align-items: center; }
.buybox .row.total .price { font-size: 26px; }
.buybox .btns { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; }
.buybox .btns .btn.full { grid-column: 1 / -1; }
.buybox .help { font-size: 12px; color: var(--mute); margin-top: 12px; }

/* 표 */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.tbl th { background: #f7f9fa; color: var(--sub); font-weight: 600; padding: 11px 10px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.tbl td.l { text-align: left; }
.tbl tr.pin td { background: #fffaf0; }
.tbl .num { width: 70px; color: var(--mute); }

/* 게시판 목록(모바일 카드 전환 가능) */
.blist { background: #fff; border-top: 2px solid var(--ink); }
.blist .bh, .blist a.br { display: grid; grid-template-columns: 70px minmax(0, 1fr) 120px 80px 110px; gap: 10px; padding: 12px 10px; border-bottom: 1px solid var(--line); align-items: center; font-size: 14px; }
.blist .bh { background: #f7f9fa; color: var(--sub); font-weight: 600; text-align: center; }
.blist a.br > span { text-align: center; color: var(--sub); }
.blist a.br > .t { text-align: left; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blist a.br.pin { background: #fffaf0; }
.blist a.br:hover .t { color: var(--green-d); }
.bsearch { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.bsearch .sel { width: 130px; }
.bsearch .inp { width: 260px; }
.bview .vh { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 6px; }
.bview .vh h2 { font-size: 21px; line-height: 1.45; }
.bview .vh .m { font-size: 13px; color: var(--mute); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.bview .vb { padding: 26px 6px; white-space: pre-line; font-size: 15px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.bview .nav a { display: flex; gap: 14px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.bview .nav a b { color: var(--mute); flex: none; width: 50px; }
.cmt { margin-top: 18px; font-size: 14px; }
.cmt .w { display: flex; gap: 8px; margin-top: 8px; }
.cmt .w .inp { flex: 1; }

/* 폼 */
.form { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.frow { display: grid; grid-template-columns: 160px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.frow > label, .frow > .lb { background: #f7f9fa; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--sub); }
.frow > label i, .frow > .lb i { color: var(--red); font-style: normal; }
.frow > .fv { padding: 10px 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.frow .fv .inp, .frow .fv .sel { max-width: 420px; }
.frow .fv .tel { display: flex; gap: 6px; align-items: center; }
.frow .fv .tel .inp { width: 90px; }
.frow .fv small { color: var(--mute); font-size: 12px; width: 100%; }
.agree { border: 1px solid var(--line); border-radius: 6px; background: #fafbfc; padding: 16px; height: 180px; overflow-y: auto; font-size: 13px; color: var(--sub); white-space: pre-line; margin-bottom: 10px; }
.agree-blk { margin-bottom: 22px; }
.agree-blk h3 { font-size: 16px; margin-bottom: 8px; }
.captcha { display: inline-flex; background: repeating-linear-gradient(45deg, #eef1f4 0 6px, #e1e5ea 6px 12px); font: italic 700 20px/1 Georgia, serif; letter-spacing: 4px; padding: 8px 14px; border-radius: 8px; color: #445; }

/* 인증 화면 */
.auth { max-width: 460px; margin: 50px auto 70px; padding: 36px; }
.auth h1 { font-size: 26px; text-align: center; }
.auth .lead { text-align: center; color: var(--sub); margin: 6px 0 24px; font-size: 14px; }
.auth form { display: grid; gap: 10px; }
.auth .links { display: flex; justify-content: center; gap: 16px; font-size: 14px; color: var(--sub); margin-top: 18px; flex-wrap: wrap; }
.stepper { display: flex; gap: 8px; justify-content: center; margin: 0 0 26px; flex-wrap: wrap; }
.stepper span { padding: 6px 14px; border-radius: 4px; background: #eef1f4; font-size: 13px; color: var(--sub); font-weight: 600; }
.stepper span.on { background: var(--green); color: #fff; }

/* 마이페이지 */
.mysum { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.mysum > div { padding: 18px 20px; }
.mysum .who b { font-size: 19px; display: block; }
.mysum .who span { font-size: 13px; color: var(--sub); }
.mysum .st span { font-size: 13px; color: var(--sub); display: block; }
.mysum .st b { font-size: 22px; }
.mysum .st a { font-size: 12px; color: var(--green-d); }
.pane { display: none; }
.pane.on { display: block; }
.pane > h2 { font-size: 20px; margin-bottom: 14px; }
.ord { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 10px; }
.ord .t b { display: block; }
.ord .t span { font-size: 13px; color: var(--mute); }

/* 충전 */
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amt { position: relative; border: 2px solid var(--line); border-radius: 8px; padding: 16px; cursor: pointer; background: #fff; display: block; }
.amt input { position: absolute; opacity: 0; }
.amt b { display: block; font-size: 19px; }
.amt span { font-size: 13px; color: var(--green-d); font-weight: 700; }
.amt em { position: absolute; right: 10px; top: 10px; font-style: normal; font-size: 11px; background: var(--red); color: #fff; border-radius: 6px; padding: 1px 6px; }
.amt:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.pays { display: flex; gap: 10px; flex-wrap: wrap; }
.pay { border: 2px solid var(--line); border-radius: 6px; padding: 10px 16px; cursor: pointer; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.pay:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.sumbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 18px 22px; background: #263241; color: #fff; border-radius: 8px; }
.sumbar b { font-size: 22px; color: #ffd54a; }

/* 장바구니 */
.cart-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 120px 70px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
.cart-row .t b { display: block; }
.cart-row .t span { font-size: 13px; color: var(--mute); }
.cart-row .price { text-align: right; }
.cart-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; flex-wrap: wrap; }

/* 뷰어 */
.vw-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #263241; color: #fff; padding: 10px 16px; border-radius: 8px 8px 0 0; }
.vw-bar .t { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.vw-bar .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.vw-stage { background: #59626d; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; border-radius: 0 0 8px 8px; }
.sheet { background: #fff; width: 100%; max-width: 640px; aspect-ratio: 210 / 297; padding: 8%; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); font-size: 13px; position: relative; }
.sheet h3 { font-size: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.sheet .q { margin-bottom: 14px; }
.sheet .ln { height: 9px; background: #eceff2; border-radius: 4px; margin: 7px 0; }
.sheet .wm { position: absolute; right: 8%; bottom: 4%; font-size: 11px; color: #aab; }

/* 정보 페이지 */
.doc { padding: 32px; }
.doc h2 { font-size: 20px; margin: 26px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #39414a; font-size: 15px; }
.doc .pre { white-space: pre-line; font-size: 14px; color: #39414a; }
.doc .hero-quote { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -.5px; padding: 18px 0 26px; line-height: 1.45; }
.doc .hero-quote em { font-style: normal; color: var(--red); }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.feat > div { background: var(--bg); border-radius: 8px; padding: 20px; }
.feat b { display: block; font-size: 16px; margin: 6px 0; }
.feat .n { font-size: 26px; font-weight: 800; color: var(--green); }
.cs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.cs-cards > div { padding: 16px 18px; }
.cs-cards span { font-size: 13px; color: var(--sub); display: block; }
.cs-cards b { font-size: 17px; overflow-wrap: anywhere; }

/* ---------- 푸터 ---------- */
.ft { background: #fff; border-top: 1px solid var(--line); margin-top: 60px; }
.ft-links { border-bottom: 1px solid var(--line); }
.ft-links .wrap { display: flex; gap: 4px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: 14px; }
.ft-links a.b { font-weight: 700; }
.ft-in { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 28px; padding: 28px 20px 40px; font-size: 13px; color: var(--sub); }
.ft-in .logo img { width: 160px; filter: grayscale(.2); }
.ft-in address { font-style: normal; line-height: 1.85; }
.ft-in address b { color: var(--ink); }
.ft-in address a { overflow-wrap: anywhere; }
.ft-cs b { display: block; font-size: 22px; color: var(--ink); }
.ft-cs .kakao { display: inline-block; margin-top: 8px; background: #fee500; color: #3a1d1d; border-radius: 8px; padding: 6px 12px; font-weight: 700; }

/* ---------- 팝업 / 토스트 ---------- */
.dim { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 100; padding: 12px; align-items: center; justify-content: center; }
.dim.on { display: flex; }
.modal { background: #fff; border-radius: 6px; width: 480px; max-width: 100%; max-height: calc(100vh - 24px); overflow-y: auto; }
.modal .mh { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal .mh h3 { font-size: 17px; }
.modal .mh button { border: 0; background: none; font-size: 22px; cursor: pointer; line-height: 1; color: var(--sub); }
.modal .mb { padding: 20px; }
.modal .mf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.modal.pop { width: 400px; }
.modal.pop .mb { padding: 0; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: #222; color: #fff; padding: 12px 20px; border-radius: 6px;
  font-size: 14px; opacity: 0; transition: .25s; z-index: 200; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .boardrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .boardrow .side-cards { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .boardrow .side-cards > * { flex: 1 1 220px; }
}
@media (max-width: 900px) {
  .mock-bar .wrap { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
  .util .wrap { padding: 0; }
  .util-links { overflow-x: auto; white-space: nowrap; width: 100%; padding: 0 10px; }
  .hd-in { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px 12px; }
  .logo img { width: 140px; }
  .sch { order: 3; flex: 1 1 100%; max-width: none; }
  .gnb ul.top { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 0; }
  .gnb li.m > a { padding: 11px 15px; font-size: 15px; }
  .gnb li.m:hover .sub, .gnb li.m:hover .sub.wide { display: none; }
  .gnb { overflow: hidden; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .catnav { grid-template-columns: minmax(0, 1fr); }
  .pgrid, .pgrid.g4, .pgrid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick a + a { border-left: 0; }
  .quick a:nth-child(even) { border-left: 1px solid var(--line); }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promos { grid-template-columns: minmax(0, 1fr); }
  .boardrow { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
  .lnb { position: static; padding: 8px; display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; }
  .lnb h3, .lnb .grp, .lnb .viewer-dl { display: none; }
  .lnb a { flex: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; }
  .lnb a small { display: none; }
  .detail, .cart-wrap { grid-template-columns: minmax(0, 1fr); }
  .buybox { position: static; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .prow .fmt, .prow .u { display: none; }
  .prow .tg { grid-column: 1 / -1; }
  .mysum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mysum .who { grid-column: 1 / -1; }
  .cs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .ft-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tw .tbl { min-width: 600px; }
  .tbl td, .tbl th { white-space: nowrap; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .hd-act a { padding: 7px 9px; font-size: 13px; }
  .hd-act .cart span.lb { display: none; }
  .sch select { padding: 0 6px 0 10px; font-size: 13px; max-width: 98px; }
  .sch button { padding: 0 14px; }
  .slider { min-height: 0; }
  .slide.txt { padding: 26px 22px 40px; }
  .slide.txt h2 { font-size: 24px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid, .pgrid.g4 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pc-tit { min-height: 0; }
  .quick a { padding: 14px 12px; gap: 10px; }
  .quick .qi { width: 38px; height: 38px; }
  .quick .qi .ic { width: 22px; height: 22px; }
  .quick b { font-size: 15px; }
  .sec { margin: 32px 0; }
  .sec-hd h2 { font-size: 20px; }
  .page-hd { padding: 18px 0 16px; }
  .page-hd h1 { font-size: 22px; }
  .box, .d-head, .d-body, .doc, .auth { padding: 20px; }
  .auth { margin: 24px 16px 40px; }
  .doc .hero-quote { font-size: 20px; }
  .specs dd { font-size: 13px; }
  .blist .bh { display: none; }
  .blist a.br { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 4px; }
  .blist a.br > .no { display: none; }
  .blist a.br > .t { grid-column: 1 / -1; white-space: normal; }
  .blist a.br > span { text-align: left; font-size: 12px; }
  .blist a.br > .v { display: none; }
  .bsearch .sel, .bsearch .inp { width: 100%; }
  .frow { grid-template-columns: minmax(0, 1fr); }
  .frow > label, .frow > .lb { padding: 10px 12px 4px; background: none; }
  .frow > .fv { padding: 4px 12px 12px; }
  .frow .fv .tel .inp { width: 30%; min-width: 0; flex: 1; }
  .frow .fv .tel { width: 100%; }
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-row { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .cart-row .del { grid-column: 2 / -1; justify-self: end; }
  .ord { grid-template-columns: minmax(0, 1fr); }
  .vw-stage { padding: 12px; }
  .cs-cards { grid-template-columns: minmax(0, 1fr); }
  .mysum .st b { font-size: 18px; }
}

/* 메인 슬라이드 1 / 와이드 배너 */
.slide.s1 { background: var(--red); }
.wide-banner { display: block; border-radius: 8px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); }
.wide-banner img { width: 100%; height: auto; }
.slide.txt .btn { color: var(--ink); align-self: flex-start; }
.slide.txt .btn:hover { color: var(--green-d); }
[hidden] { display: none !important; }
@media (max-width: 560px) {
  .mysum { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mysum > div.st { padding: 12px; }
  .mysum .st b { font-size: 16px; }
}
@media (max-width: 560px) {
  .vw-bar .t { flex: 1 1 100%; order: -1; white-space: normal; }
}
/* Round 2: 찜목록 390 2열, 충전 배지 금액 아래로, 공지안내 홈 1열 */
@media (max-width: 560px) {
  .pgrid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amt em { position: static; display: table; margin-top: 6px; }
  .boardrow.b2 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   renew 보완 (2026-10-25): 자체 SVG 아이콘 · 팝업 카드 · 목록형 섹션 · 좌측 정렬
   ========================================================== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-14 { width: 14px; height: 14px; }
.ic-16 { width: 16px; height: 16px; }
.util-links .fav .ic { color: #d99a00; }
/* 본문 소제목 표시(검은 사각 기호 대체) — CSS 사각 도형 */
.mk { display: inline-block; width: 7px; height: 7px; background: var(--green-d); margin: 0 7px 2px 1px; vertical-align: middle; }

/* 메인 비주얼: 단색 면 + 구체 정보 줄 */
.slide.txt h2 { margin: 12px 0 14px; }
.sl-facts { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .35); }
.sl-facts li { padding: 10px 18px 0 0; margin-right: 18px; font-size: 15px; line-height: 1.4; border-right: 1px solid rgba(255, 255, 255, .35); }
.sl-facts li:last-child { border-right: 0; margin-right: 0; }
.sl-facts b { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.sl-facts strong { font-size: 18px; font-weight: 800; }

/* 신규 중등 내신: 카드 반복을 2열 목록형으로 */
.plines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; }
.pline { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #eef0f2; min-width: 0; }
.pline:nth-last-child(-n+2) { border-bottom: 0; }
.pline:hover { color: inherit; }
.pline:hover .pl-t b { color: var(--green-d); text-decoration: underline; }
.pline .tag { justify-self: start; }
.pl-t { min-width: 0; }
.pl-t b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-t span { display: block; font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-t span em { font-style: normal; color: var(--green-d); font-weight: 600; }
.pline .price { font-size: 16px; }
.pc-sch { border-radius: 4px; }

/* 안내 페이지: 중앙 정렬 슬로건은 좌측 정렬, 특징 카드는 번호 목록으로 */
.doc .hero-quote { text-align: left; font-size: 22px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.feat { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.feat > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; background: none; border-radius: 0; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.feat .n { grid-row: 1 / span 2; font-size: 22px; line-height: 1.3; }
.feat b { margin: 0 0 4px; }

/* ---------- 메인 팝업 카드 ---------- */
.modal.pop { width: 400px; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; border-top: 4px solid var(--green); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.dim.on .modal.pop { animation: popIn .24s ease-out both; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dim.on .modal.pop { animation: none; } }
.pop-hd { position: relative; padding: 14px 56px 12px 18px; border-bottom: 1px solid var(--line); flex: none; }
.pop-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 4px; background: var(--green-d); color: #fff; }
.pop-hd h3 { margin-top: 6px; font-size: 18px; line-height: 1.35; letter-spacing: -.3px; }
.pop-x { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink); cursor: pointer; }
.pop-x:hover { background: #f1f3f5; }
.pop-x .ic { width: 22px; height: 22px; }
.pop-img { display: block; background: #f3f4f6; flex: 0 1 auto; min-height: 0; }
.pop-img img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 290px); margin: 0 auto; object-fit: contain; }
.pop-act { padding: 14px 18px 10px; flex: none; }
.pop-cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 6px; background: var(--green); color: #fff; font-size: 16px; font-weight: 800; }
.pop-cta:hover { background: var(--green-d); color: #fff; }
.pop-sub { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.pop-sub a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; font-size: 14px; color: #444; white-space: nowrap; }
.pop-sub a + a { border-left: 1px solid #d5dae0; }
.pop-sub a:hover { color: var(--green-d); }
.pop-sub .ic { color: var(--green-d); }
.pop-ft { display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--line); flex: none; }
.pop-ft button { min-height: 46px; padding: 0 16px; background: none; border: 0; font-size: 14px; color: #444; cursor: pointer; }
.pop-ft button:hover { color: var(--green-d); }
.pop-ft .sep { width: 1px; height: 14px; background: #d5dae0; }

@media (max-width: 900px) {
  .plines { grid-template-columns: minmax(0, 1fr); }
  .pline:nth-last-child(2) { border-bottom: 1px solid #eef0f2; }
}
@media (max-width: 560px) {
  .sl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .sl-facts li { padding: 8px 0 0; margin: 0; border-right: 0; font-size: 14px; min-width: 0; }
  .sl-facts strong { font-size: 16px; }
  .plines { padding: 2px 14px; }
  .pline { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 0; }
  .pline .tag { grid-column: 1 / -1; }
  .doc .hero-quote { font-size: 19px; }
  .feat > div { grid-template-columns: 34px minmax(0, 1fr); }
  .pop-hd { padding: 12px 52px 10px 16px; }
  .pop-hd h3 { font-size: 16px; }
  .pop-act { padding: 12px 16px 8px; }
}
/* 단색 배너 위 인디케이터: 흰색 계열 */
.slider .dots button::before { background: rgba(255, 255, 255, .45); }
.slider .dots button.on::before { background: #fff; }
/* 뷰어 툴바: 쪽 번호를 버튼과 세로 중앙 정렬 */
.vw-bar .btns { align-items: center; }
.vw-bar .pg { display: inline-block; padding: 0 4px; font-size: 13px; line-height: 30px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 아주 좁은 폭: 팝업 연락처 두 줄을 세로로 쌓고 구분선 제거 */
@media (max-width: 379px) {
  .pop-sub { flex-direction: column; align-items: center; }
  .pop-sub a { min-height: 32px; }
  .pop-sub a + a { border-left: 0; }
}
