/* 시안(941px 기준) 치수에 맞춘 스타일. 콘텐츠 폭 775px */
:root {
  --cream: #fdfbf6;
  --green: #093423;
  --green-d: #082a1b;
  --sub: #2e5645;
  --gold: #e8c26e;
  --dot: #0e964e;
  --line: #e6e1d4;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  overflow-x: hidden; background: var(--cream); color: #1c1c1c;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.4; -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { width: min(775px, 100% - 32px); margin: 0 auto; }

/* ===== 상단 ===== */
.top { position: sticky; top: 0; z-index: 20; height: 68px; background: linear-gradient(180deg, #05402a, #02351f); border-bottom: 1px solid rgba(232,194,110,.4); }
.top-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.mark { width: 44px; height: 50px; display: grid; place-items: center; border: 1px solid #c9a45a; border-radius: 10px; box-shadow: inset 0 0 0 3px #05402a, inset 0 0 0 4px rgba(201,164,90,.5); }
.mark i { font: 400 25px Georgia, serif; color: var(--gold); font-style: normal; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font: 700 18px/18px Georgia, "Times New Roman", serif; color: #e9c981; }
.logo-t small { font-size: 7px; letter-spacing: 2.6px; color: #c8b98c; margin-top: 5px; }
.gnav { display: flex; gap: 25px; padding-right: 6px; align-self: flex-start; margin-top: 18px; }
.gnav a { color: #e4ece6; font-size: 11.5px; line-height: 17px; padding: 0 0 9px; border-bottom: 2px solid transparent; white-space: nowrap; }
.gnav a.on { color: var(--gold); border-color: var(--gold); font-weight: 700; }

/* ===== 대문 ===== */
.hero {
  position: relative; height: 189px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #1a4029, transparent 70%), linear-gradient(90deg, #03281a, #0a3a25 50%, #03281a);
  background-color: #062f1e;
}
.leaf { position: absolute; top: 0; height: 100%; width: auto; }
.leaf-l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.leaf-r { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); mask-image: linear-gradient(270deg, #000 55%, transparent); }
.curves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; height: 100%; }
/* 접속자 수 — 배너 바로 아래 오른쪽 */
.live-bar { display: flex; justify-content: flex-end; margin-top: 8px; margin-bottom: -2px; }
.live { display: flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--green); border: 1px solid rgba(232,194,110,.55); color: #e6ede8; font-size: 11px; white-space: nowrap; }
.live b { color: var(--gold); font-weight: 800; }
.live span { opacity: .5; margin: 0 1px; }
.live.hide { display: none; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2ee07a; animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(46,224,122,.6); } 70% { box-shadow: 0 0 0 7px rgba(46,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(46,224,122,0); } }
.disk { position: absolute; left: -9px; top: 26px; width: 125px; height: 156px; border-radius: 50%; background: radial-gradient(ellipse at center, #04301e 55%, rgba(4,48,30,.85) 70%, transparent 100%); text-align: center; color: #fff; }
.disk img { position: absolute; left: 26px; top: 5px; width: 72px; height: auto; display: block; }
.disk span { position: absolute; left: 0; right: 0; top: 92px; font: 400 27px/22px "Montserrat", "Segoe UI", "Malgun Gothic", sans-serif; letter-spacing: .2px; }
.hero-text { position: absolute; left: 0; right: 0; top: 26px; text-align: center; }
.hero-text small { display: block; font-size: 9px; letter-spacing: 5px; color: #d9b266; margin-bottom: 8px; }
.hero-text h1 {
  font: 700 40px/45px Georgia, "Times New Roman", serif; margin-top: 2px;
  background: linear-gradient(180deg, #f6dca4 10%, #d9a95c 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
/* 줄 크기는 h1 기준 비율(em) — 휴대폰에서 h1 이 작아지면 같이 작아져서 잘리지 않음 */
.hero-text .l1 { font-size: .95em; white-space: nowrap; }
.hero-text .l2 { font-size: 1.04em; white-space: nowrap; }
.hero-text em { display: inline-flex; align-items: center; gap: 10px; margin-top: 17px; font-style: normal; font-size: 9px; letter-spacing: 4px; color: #e6ede8; }
.hero-text em::before, .hero-text em::after { content: ""; width: 62px; height: 1px; background: rgba(217,178,102,.8); }

/* ===== 공통 ===== */
main { padding-bottom: 21px; }
#price { margin-top: 13px; }
.blk { margin-top: 17px; }
#attendance { margin-top: 0; padding-top: 12px; }
.blk-t { display: flex; align-items: flex-start; justify-content: space-between; height: 35px; }
.blk-t h2 { font-size: 20px; font-weight: 800; line-height: 28px; }
.blk-t small { font-size: 11px; color: #222; line-height: 28px; }

/* ===== 듀원 | 듀앤엘 ===== */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3px; background: #fbe0a6; border-radius: 3px; }
.card { background: #fff; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 1px 3px rgba(0,0,0,.1); border-radius: 3px; overflow: hidden; }
.shop-h { height: 60px; background: #093423; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.shop-h b { font-size: 21px; line-height: 24px; font-weight: 800; color: #f0c878; }
.shop-h span { font-size: 10px; letter-spacing: 3px; color: #cdbf90; line-height: 15px; }
.sub { height: 33px; line-height: 33px; background: var(--sub); color: #fff; text-align: center; font-size: 13px; font-weight: 500; }
.today { flex: 1; min-height: 111px; padding: 6px 0 6px 24px; }
.today li { display: flex; align-items: center; height: 24.5px; font-size: 12px; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); flex: none; margin-right: 11px; }
.nm { width: 36px; font-size: 12.5px; font-weight: 700; }
.role { width: 67px; color: #777; font-size: 11px; }
.bar { width: 17px; color: #bbb; font-size: 11px; }
.tm { font-size: 12.5px; color: #333; font-variant-numeric: tabular-nums; }
.sub .upd { font-size: 10px; font-weight: 400; opacity: .7; margin-left: 8px; }
.note { margin-left: 9px; font-size: 11px; font-weight: 500; color: #a0742b; overflow: hidden; text-overflow: ellipsis; }
.new { font-style: normal; font-size: 10.5px; font-weight: 700; color: #0a8a4a; background: #e3f5ea; padding: 1px 8px; border-radius: 4px; margin-left: 11px; }
.today .none { color: #888; }
.today .pend-h { font-size: 12px; font-weight: 700; color: #555; margin-top: 4px; }
.today .pend .dot { background: #c8c8c8; }
.next-t { margin-top: 22px; }

.resv { height: 74px; overflow: hidden; background: #0c3322; text-align: center; color: #fff; padding-top: 8px; }
.resv small { display: block; font-size: 9.5px; letter-spacing: .3px; color: #e6c470; line-height: 12px; }
.resv .num { display: block; font-size: 20px; font-weight: 800; line-height: 36px; }
.resv span { display: block; font-size: 10px; color: #cdd8d0; line-height: 14px; }
.btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 9px 9px; background: #fff; }
.b { height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 3px; color: #fff; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.b svg { width: 19px; height: 19px; fill: currentColor; margin-bottom: 5px; }
.b b { font-size: 11px; font-weight: 700; line-height: 14px; }
.b small { font-size: 8px; opacity: .92; line-height: 12px; margin-top: 2px; }
.b-tel { background: #2563eb; }
.b-sms { background: #0fa958; }
.b-kko { background: #fee500; color: #2a1a1a; }

/* ===== 여자 이미지 (원본 비율 유지, 잘림 없음) ===== */
.banner {
  margin-top: 17px; min-height: 237px; display: flex; justify-content: space-between; align-items: flex-end; overflow: hidden; border-radius: 3px;
  background: linear-gradient(90deg, #ecd4ba, #f1dfca 45%, #efddc5);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.banner-t { align-self: center; padding: 0 0 0 36px; flex: none; }
.banner-t small { display: block; font-size: 10px; letter-spacing: 5px; color: #b8893a; margin-bottom: 12px; }
.banner-t h2 { font: 600 29.5px/43px "Noto Serif KR", "Batang", Georgia, serif; color: #2a1d12; }
.banner-t h2 span { font-size: 35px; font-weight: 800; }
.banner-t h2 em { font-style: normal; font-size: 24px; font-weight: 600; }
.banner-t p { font-size: 13.5px; line-height: 21px; color: #3f3226; margin-top: 12px; }
.banner-img {
  display: block; flex: 0 1 438px; min-width: 0; width: 438px; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%);
}

/* ===== 표 ===== */
.tbl-wrap { background: #fff; border: 1px solid #e3ddcc; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.tbl-h { height: 41px; background: #093423; color: #fff; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #c9a24f; }
.tbl-h h2 { font-size: 17px; font-weight: 800; }
.tbl-h small { font-size: 10px; color: #eadcb6; }
.tbl-h .red { color: #ff4636; font-weight: 700; }
.relay-h, .relay { }
.tbl-h.center { justify-content: center; height: 41px; }
.tbl-h.center h2 { font-size: 14px; }
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: 13px; }
.tbl th { height: 28px; background: #082a1b; color: #e6c470; font-weight: 700; font-size: 12px; border-left: 1px solid rgba(255,255,255,.1); }
.tbl th:first-child { border-left: 0; }
.tbl td { border-top: 1px solid #e8e4d8; border-left: 1px solid #e8e4d8; }
.tbl td:first-child { border-left: 0; }
.tbl tbody tr:nth-child(even) td { background: #f8f7f2; }
.tbl td b { font-weight: 700; }
.price th:nth-child(1), .price td:nth-child(1) { width: 31%; }
.price th:nth-child(n+2), .price td:nth-child(n+2) { width: 23%; }
.price td { height: 47.5px; }
#price .tbl-h { height: 39px; }
#price th { height: 34px; }
.price td small { display: block; font-size: 8px; color: #777; line-height: 11px; }
.relay th:nth-child(1), .relay td:nth-child(1) { width: 31.6%; }
.relay th:nth-child(2), .relay td:nth-child(2) { width: 30.2%; }
.relay th { height: 30px; }
.relay td { height: 37.8px; }
.relay .tbl-h + table { }
.amt { text-align: left; padding-left: 37px; }
.amt span { display: inline-flex; align-items: baseline; }
.amt s { color: #9a9a9a; font-size: 9.5px; margin-right: 14px; }
.amt b { font-size: 13px; margin-right: 28px; }
.amt em { font-style: normal; color: #e02020; font-size: 10px; font-weight: 800; }

.rules { padding: 8px 26px 8px; }
.rules li { position: relative; height: 28px; line-height: 27px; padding-left: 24px; font-size: 12px; border-bottom: 1px solid #efece4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rules li:last-child { border: 0; }
.rules li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #d9922d; }

/* ===== 하단 ===== */
.foot { height: 50px; background: #063021; border-top: 1px solid rgba(232,194,110,.35); color: #9fb2a6; font-size: 10px; }
.foot-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; }

/* ===== 하위 페이지 (오시는길 / ATM / 할인안내) ===== */
.sub-main { padding: 18px 0 40px; min-height: 60vh; }
.sub-main .blk { margin-top: 0; }
.pad { padding: 14px 16px 18px; flex: 1; }
.pad h3 { font-size: 11px; color: #b8893a; margin: 12px 0 4px; letter-spacing: 1px; }
.pad h3:first-child { margin-top: 0; }
.pad p, .ul li { font-size: 12px; }
.ul li { position: relative; padding: 3px 0 3px 13px; }
.ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--dot); }
.mini { border: 1px solid var(--line); background: #faf8f2; border-radius: 3px; padding: 9px 12px; margin-bottom: 8px; }
.mini b { display: block; font-size: 13px; color: #093423; }
.mini span { font-size: 11px; color: #777; }
.mini p { font-size: 11px; margin-top: 3px; }
.map-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 12px 6px; background: #03c75a; color: #fff; font-weight: 800; font-size: 13px; border-radius: 3px; }
.map-btn span { background: #fff; color: #03c75a; width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center; font-weight: 900; }

/* ===== 반응형 ===== */
@media (max-width: 760px) {
  .top { height: auto; }
  .top-in { flex-wrap: wrap; padding: 8px 0 0; height: auto; }
  .gnav { width: 100%; order: 3; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-right: 0; }
  .gnav::-webkit-scrollbar { display: none; }
  .hero-text h1 { font-size: clamp(22px, 5.4vw, 40px); line-height: 1.12; }
  .hero-text { left: 100px; }
  .disk { transform: scale(.72); transform-origin: left top; left: 0; top: 22px; }
  .banner-t { padding-left: 16px; }
  .banner-t h2 { font-size: clamp(14px, 3.4vw, 27px); line-height: 1.5; }
  .banner-t h2 span { font-size: 1.18em; }
  .banner-t h2 em { font-size: .82em; }
  .banner-t p { font-size: clamp(8px, 1.6vw, 12px); line-height: 1.6; }
  .banner-img { flex-basis: 52%; width: 52%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 16px); }
  .hero { height: 150px; }
  .live { padding: 3px 9px; font-size: 10px; gap: 4px; }
  .hero-text { top: 20px; left: 78px; }
  .hero-text small { font-size: 7px; letter-spacing: 3px; }
  .hero-text h1 { font-size: 21px; }
  .hero-text em { font-size: 7px; letter-spacing: 2px; margin-top: 8px; }
  .hero-text em::before, .hero-text em::after { width: 16px; }
  .disk { transform: scale(.55); top: 20px; }
  .leaf { opacity: .8; }
  .shop-h b { font-size: 16px; }
  .shop-h span { font-size: 8px; }
  .sub { font-size: 11px; }
  .today { padding-left: 8px; min-height: 130px; }
  /* 휴대폰에서도 이름·시간을 한 줄로 (예전엔 시간이 다음 줄로 내려갔다) */
  .today li { flex-wrap: nowrap; height: auto; padding: 4px 0; font-size: 10px; overflow: hidden; }
  .dot { margin-right: 6px; }
  .nm { width: auto; font-size: 12px; margin-right: 5px; }
  .role { width: auto; font-size: 9px; }
  .bar { display: none; }
  .tm { flex: none; padding-left: 5px; font-size: 10px; }
  .note { margin-left: 5px; font-size: 9px; }
  /* 좁은 화면: 수정 시각은 띠 아래 줄로, '테라피스트' 는 빼서 비고 자리를 만든다 */
  .sub { height: auto; line-height: 1.35; padding: 5px 0; }
  .sub .upd { display: block; font-size: 8.5px; margin-left: 0; }
  .role { display: none; }
  .new { margin-left: 4px; font-size: 8px; padding: 0 5px; }
  .resv .num { font-size: 14px; }
  .resv span, .resv small { font-size: 7.5px; }
  .btns { gap: 3px; padding: 6px 4px; }
  .b { height: 56px; }
  .b b { font-size: 9px; letter-spacing: -.5px; }
  .b small { display: none; }
  .banner { flex-direction: column-reverse; align-items: stretch; }
  .banner-t { padding: 6px 14px 14px; }
  .banner-img { width: 100%; flex-basis: auto; -webkit-mask-image: none; mask-image: none; }
  .banner-t h2 { font-size: 18px; }
  .banner-t p { font-size: 10px; }
  .tbl-h { padding: 0 10px; height: 40px; flex-wrap: wrap; align-content: center; gap: 0 6px; }
  .tbl-h h2 { font-size: 14px; }
  .tbl-h small { font-size: 8px; }
  .tbl { font-size: 10.5px; }
  .tbl th { font-size: 10px; }
  .amt { padding-left: 4px; text-align: center; }
  .amt span { flex-direction: column; align-items: center; }
  .amt s, .amt b { margin: 0; }
  .amt s { font-size: 8px; } .amt b { font-size: 11px; } .amt em { font-size: 8px; }
  .relay td { height: auto; padding: 6px 2px; }
  .rules { padding: 6px 10px; }
  .rules li { font-size: 9.5px; white-space: normal; height: auto; line-height: 1.5; padding: 6px 0 6px 14px; }
  .rules li::before { top: 12px; }
  .foot { height: auto; padding: 10px 0; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .pad { padding: 10px 8px 14px; }
}

/* ===== 큰 화면에서 전체 확대 (칸, 이미지, 글자 함께) ===== */
@media (min-width: 1100px) { html { zoom: 1.22; } }
@media (min-width: 1500px) { html { zoom: 1.4; } }
@media (min-width: 820px) and (max-width: 1099px) { html { zoom: 1; } }

/* ===== 폰 화면 글자 키우기 ===== */
@media (max-width: 560px) {
  .gnav a { font-size: 13px; }
  .blk-t h2 { font-size: 20px; }
  .blk-t small { font-size: 12px; }
  .shop-h b { font-size: 19px; }
  .shop-h span { font-size: 9px; }
  .sub { font-size: 13px; }
  .today li { font-size: 12px; }
  .nm { font-size: 14px; }
  .role { font-size: 10.5px; }
  .tm { font-size: 12.5px; }
  .new { font-size: 10px; }
  .resv small { font-size: 9px; }
  .resv .num { font-size: 16px; }
  .resv span { font-size: 9px; }
  .b { height: 62px; }
  .b b { font-size: 11px; }
  .banner-t h2 { font-size: 21px; }
  .banner-t p { font-size: 12px; }
  .tbl-h h2 { font-size: 16px; }
  .tbl-h small { font-size: 9.5px; }
  .tbl { font-size: 12.5px; }
  .tbl th { font-size: 11.5px; }
  .price td small { font-size: 9px; }
  .amt s { font-size: 9.5px; } .amt b { font-size: 13px; } .amt em { font-size: 10px; }
  .rules li { font-size: 11.5px; }
  .foot { font-size: 10.5px; }
}

.tip { margin-top: 8px; padding: 9px 12px; background: #f6f1e3; border-left: 3px solid #d9b266; border-radius: 2px; }
.tip p { font-size: 12px; line-height: 1.6; color: #4a3f2a; }
.empty-p { color: #888; font-size: 12px; text-align: center; padding: 18px 0; }
.post { border: 1px solid var(--line); background: #faf8f2; border-radius: 3px; padding: 10px 12px; margin-bottom: 8px; }
.post b { font-size: 13px; color: #093423; }
.post time { float: right; font-size: 10px; color: #888; }
.post p { font-size: 12px; margin-top: 4px; line-height: 1.6; }

/* 오시는길: 두 칸의 노란 박스 아래선과 지도 버튼 높이를 맞춤 */
.pad { display: flex; flex-direction: column; }
.pad .tip { flex: 1; margin-bottom: 0; }
.pad .map-btn { flex: none; }

/* ===== 알림받기 ===== */
.push-btn { display: inline-flex; align-items: center; gap: 5px; margin-left: 14px; padding: 6px 12px; border: 1px solid var(--gold); border-radius: 99px; background: transparent; color: var(--gold); font: 700 12px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.push-btn svg { width: 13px; height: 13px; fill: currentColor; }
.qr-wrap { position: relative; margin-left: 14px; }
.qr-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid var(--gold); border-radius: 99px; background: transparent; color: var(--gold); font: 700 12px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.qr-btn svg { width: 13px; height: 13px; fill: currentColor; }
.qr-btn:hover, .qr-btn:focus-visible { background: rgba(232,194,110,.15); outline: none; }
.qr-wrap + .push-btn { margin-left: 8px; }
.qr-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 190px; padding: 14px 14px 12px; background: #fff; border: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.28); text-align: center; color: #1c1c1c; }
.qr-pop img { display: block; width: 150px; height: 150px; margin: 0 auto 8px; }
.qr-pop p { font-size: 12px; line-height: 1.5; color: #333; }
.qr-pop a { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #0a6b3c; text-decoration: underline; }
.qr-pop[hidden] { display: none; }
.push-btn:hover, .push-btn:focus-visible { background: rgba(232,194,110,.15); outline: none; }
@media (max-width: 760px) {
  .logo { order: 1; }
  .push-btn { order: 2; margin-left: auto; }
  .qr-wrap { order: 2; margin-left: auto; }
  .qr-wrap + .push-btn { margin-left: 8px; }
  .gnav { order: 3; }
}
/* 바로가기 (QR 왼쪽) — 단추가 하나 늘어서 메뉴 간격을 조금 줄이고 로고는 줄지 않게 */
.logo { flex: none; }
@media (min-width: 761px) { .gnav { gap: 18px; } .ins-wrap { margin-left: 10px; } }
@media (min-width: 761px) and (max-width: 819px) {
  .gnav { gap: 12px; }
  .qr-btn, .push-btn { padding: 6px 8px; gap: 3px; }
  .ins-wrap { margin-left: 6px; }
  .ins-wrap + .qr-wrap, .qr-wrap + .push-btn { margin-left: 5px; }
}
.ins-wrap + .qr-wrap { margin-left: 8px; }
.ins-pop { width: 230px; text-align: left; }
.ins-pop b { display: block; margin-bottom: 6px; font-size: 13px; color: #093423; }
.ins-pop p { font-size: 12px; line-height: 1.6; }
.ins-pop p b { display: inline; margin: 0; font-size: inherit; color: #0a6b3c; }
@media (max-width: 760px) {
  .ins-wrap + .qr-wrap { margin-left: 6px; }
  .qr-wrap + .push-btn { margin-left: 6px; }
}
/* 폰: 상단 단추 3개 + 로고가 한 줄에 들어가도록 조금 작게 */
@media (max-width: 560px) {
  .logo { gap: 7px; }
  .qr-btn, .push-btn { padding: 6px 8px; gap: 3px; font-size: 11.5px; }
  .qr-btn svg, .push-btn svg { width: 12px; height: 12px; }
  .ins-pop { right: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 374px) {
  .qr-btn svg, .push-btn svg { display: none; }
}

/* ===== 실시간 소식 채널 ===== */
.ch-lead { font-size: 13px; line-height: 1.7; margin: -2px 0 10px; color: #333; }
.ch-pad { gap: 8px; border: 3px solid #229ed9; border-radius: 6px; margin: 8px; box-shadow: 0 0 0 3px rgba(34,158,217,.18); }
.ch-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 13px 8px; border-radius: 3px; text-align: center; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.ch-btn b { font-size: 14px; font-weight: 800; }
.ch-btn small { font-size: 10.5px; opacity: .92; }
.ch-btn.kko { background: #fee500; color: #2a1a1a; }
.ch-btn.tg { background: #229ed9; padding: 18px 8px; box-shadow: 0 3px 8px rgba(34,158,217,.45); }
.ch-btn.tg b { font-size: 17px; }
.ch-btn.tg small { font-size: 12px; opacity: 1; }
.ch-btn.off { background: #d8d8d2; color: #fff; box-shadow: none; cursor: default; }
.ch-btn.off small { opacity: 1; }
@media (max-width: 560px) {
  .ch-lead { font-size: 12px; }
  .ch-btn { padding: 11px 4px; }
  .ch-btn b { font-size: 12px; letter-spacing: -.3px; }
  .ch-btn small { font-size: 9.5px; }
}

.hl { color: #0a8a4a; font-weight: 800; }

/* ===== 공지사항 ===== */
.notice-list { padding-top: 2px; }
.notice-list .post { background: #fff; border-color: #e3ddcc; padding: 12px 14px; }
.notice-list .post b { font-size: 14px; }
.post .tag { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 99px; background: #093423; color: #e8c26e; font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
#notices + #attendance { padding-top: 0; }
.post .tag.k-time { background: #e8c26e; color: #3a2a00; }
.post .tag.k-urgent { background: #d32f2f; color: #fff; }
.post .tag.k-event { background: #0e964e; color: #fff; }

/* 알림받기 버튼을 누르면 소식 받기 영역을 잠깐 강조 */
#channels.flash { animation: chflash 1.8s ease; }
@keyframes chflash { 0%, 60% { box-shadow: 0 0 0 3px rgba(232,194,110,.95); background: #fff8e1; } 100% { box-shadow: 0 0 0 3px rgba(232,194,110,0); background: transparent; } }

/* ===== 숨겨진 접속 통계 (맨 아래 글자를 5번 누르면 열림) ===== */
body.st-lock { overflow: hidden; }
.st { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; }
.st-back { position: absolute; inset: 0; background: rgba(2,24,14,.72); }
.st-box { position: relative; width: min(440px, 100%); max-height: 100%; overflow-y: auto; background: #fdfbf6; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.45); color: #1c1c1c; }
.st-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 20px; height: 52px; background: #093423; border-bottom: 1px solid #c9a24f; }
.st-head h2 { font-size: 17px; color: #fff; font-weight: 800; }
.st-x { width: 40px; height: 40px; border: 0; background: transparent; color: #e8c26e; font-size: 26px; cursor: pointer; }
.st-form { display: flex; align-items: flex-end; gap: 8px; padding: 16px 20px 6px; }
.st-form label { flex: 1; font-size: 12px; color: #555; display: flex; flex-direction: column; gap: 4px; }
.st-form input { padding: 10px; border: 1px solid #cfc8b4; border-radius: 3px; font-size: 16px; font-family: inherit; }
.st-form button { padding: 11px 18px; border: 0; border-radius: 3px; background: #093423; color: #e8c26e; font: 800 14px inherit; font-family: inherit; cursor: pointer; }
.st-msg { min-height: 20px; padding: 4px 20px; font-size: 12px; font-weight: 700; color: #b25e00; }
.st-out { padding: 0 20px 18px; }
.st-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.st-sum div { padding: 9px 12px; background: #f1ede0; border-radius: 4px; }
.st-sum small { display: block; font-size: 11px; color: #777; }
.st-sum b { font-size: 22px; color: #093423; }
.st-list { list-style: none; font-size: 12px; }
.st-list li { display: grid; grid-template-columns: 70px 1fr 46px; align-items: center; gap: 8px; padding: 3px 0; }
.st-list i { display: block; height: 10px; border-radius: 2px; background: #d9b266; }
.st-list b { text-align: right; font-weight: 700; }
.st-note { margin-top: 10px; font-size: 11px; color: #777; }
.st-empty { padding: 12px 0; font-size: 13px; color: #666; }

/* ===== 듀앤엘 카페 복구 안내 팝업 (js/cafe-popup.js) ===== */
body.cp-lock { overflow: hidden; }
.cp { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cp-back { position: absolute; inset: 0; background: rgba(2,24,14,.7); }
.cp-box { position: relative; display: flex; flex-direction: column; width: min(420px, 100%); max-height: 100%; background: #fdfbf6; border: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.45); overflow: hidden; color: #1c1c1c; }
.cp-head { flex: none; padding: 14px 18px; background: linear-gradient(180deg, #05402a, #02351f); border-bottom: 1px solid rgba(232,194,110,.6); text-align: center; }
.cp-head h2 { font-size: 17px; font-weight: 800; color: var(--gold); }
.cp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 18px 6px; }
.cp-body p { font-size: 13px; line-height: 1.7; color: #333; margin-bottom: 10px; word-break: keep-all; }
.cp-body b { color: #093423; }
.cp-body .cp-ask { padding: 9px 12px; background: #f6f1e3; border-left: 3px solid #d9b266; border-radius: 2px; }
.cp-go { flex: none; display: block; margin: 6px 18px 14px; padding: 13px 8px; border-radius: 4px; background: #03c75a; color: #fff; font-size: 15px; font-weight: 800; text-align: center; box-shadow: 0 3px 8px rgba(3,199,90,.35); }
.cp-go:hover, .cp-go:focus-visible { background: #02b351; outline: none; }
.cp-foot { flex: none; display: flex; border-top: 1px solid var(--line); }
.cp-foot button { flex: 1; padding: 13px 8px; border: 0; background: #f1ede0; color: #555; font: 700 13px inherit; font-family: inherit; cursor: pointer; }
.cp-foot button + button { border-left: 1px solid var(--line); background: #093423; color: var(--gold); }
@media (max-width: 560px) {
  .cp-head h2 { font-size: 16px; }
  .cp-body p { font-size: 12.5px; }
}
