/* =========================================================
   EAC창원병원 - 공통 스타일
   ========================================================= */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --black: #0b0b0c;
  --white: #ffffff;
  --gray-50: #f6f6f4;
  --gray-100: #ececea;
  --gray-300: #c9c9c6;
  --gray-500: #8a8a87;
  --gray-700: #4a4a48;
  --point: #1167c9;        /* 브랜드 포인트 컬러 (확정 시 교체) */
  --point-light: #6aa9f0;
  --navy: #0b2a5e;         /* 찐파랑: 버튼·띠·강조 덩어리 */
  --sky: #edf2fa;          /* 연파랑: 섹션 배경 */
  --sky-line: #d6e1f2;

  --bg: var(--black);
  --fg: var(--white);
  --fg-sub: rgba(255,255,255,.6);
  --line: rgba(255,255,255,.16);

  --header-h: 88px;
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 60px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --radius: 20px;          /* 카드·이미지 공통 라운드 */
}

/* 테마: body 에 theme-light 가 붙으면 배경이 검정에서 흰색으로 부드럽게 전환 */
body.theme-light {
  --bg: var(--white);
  --fg: var(--black);
  --fg-sub: rgba(11,11,12,.55);
  --line: rgba(11,11,12,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; touch-action: pan-x pan-y; }
html.no-scroll { overflow: hidden; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: -0.02em;
  word-break: keep-all;
  transition: background-color .9s var(--ease), color .9s var(--ease);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-sub);
}
body.theme-light .eyebrow { color: var(--point); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.display { font-size: clamp(34px, 4.8vw, 76px); font-weight: 800; line-height: 1.08; letter-spacing: -0.045em; }
.h-section { font-size: clamp(28px, 3.2vw, 50px); font-weight: 700; line-height: 1.15; letter-spacing: -0.04em; }
.lead { font-size: clamp(15px, 1.2vw, 18px); color: var(--fg-sub); line-height: 1.7; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid currentColor; font-size: 15px; font-weight: 600;
  transition: background .3s, color .3s;
}
.btn-pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-pill--solid { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-pill--solid:hover { background: var(--point); border-color: var(--point); }
/* 라인 버튼 (더보기 / 지도 버튼 공통) */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 999px;
  border: 1px solid var(--gray-300); background: var(--white); color: var(--black); font-size: 16px; font-weight: 600;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-line::after { content: "→"; transition: transform .35s var(--ease); }
.btn-line:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-line:hover::after { transform: translateX(4px); }
.btn-arrow { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; }
.btn-arrow::after {
  content: "\2192"; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s, color .3s;
}
.btn-arrow:hover::after { transform: translateX(6px); background: var(--point); border-color: var(--point); color: var(--white); }

/* 이미지 자리 (실사진 교체 전 플레이스홀더) */
.ph {
  position: relative; overflow: hidden; background: #1d1f1e;
  background-image: radial-gradient(120% 90% at 20% 10%, #1d3350 0%, #121417 60%);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 14px;
  font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.35);
}
.ph--light { background: var(--gray-100); background-image: linear-gradient(135deg, #eef2f7, #dde4ee); }
.ph--light::after { color: rgba(0,0,0,.35); }

/* 스크롤 등장 애니메이션 */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
/* 이미지 마스크 등장: 아래에서 위로 열리면서 안쪽 이미지는 살짝 줌아웃 */
.reveal-img { overflow: hidden; border-radius: var(--radius); clip-path: inset(24% 0 0 0 round var(--radius)); opacity: .001; transition: clip-path 1.3s var(--ease), opacity .6s var(--ease); }
.reveal-img > img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; }
.reveal-img.is-in > img { transform: scale(1); }
/* 패럴랙스: 부모는 overflow hidden, 이미지는 위아래 여유를 두고 스크롤에 따라 이동 */
.parallax { position: relative; overflow: hidden; }
.parallax > [data-parallax] { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
/* 스무스 스크롤 (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1; transform: none; transition: none; clip-path: none; }
  .reveal-img > img, [data-parallax] { transform: none !important; }
  body { transition: none; }
}

/* ========== Header ========== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--fg); transition: color .5s; }
.header::before {
  content: ""; position: absolute; inset: 0; background: var(--bg);
  opacity: 0; transition: opacity .4s, background .9s var(--ease);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { --header-h: 72px; }
.header.is-scrolled::before, .header.is-mega::before { opacity: 1; }
/* 메인 첫 화면 이미지 위: 흰 글자 + 투명 배경 */
.header.is-over-visual:not(.is-mega):not(.is-mnav) { color: var(--white); }
.header.is-over-visual:not(.is-mega):not(.is-mnav)::before { opacity: 0; }
.header.is-over-visual:not(.is-mega) .logo img { filter: brightness(0) invert(1); }
.header__inner {
  position: relative; height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); transition: height .4s;
}
.logo a { display: block; }
.logo img { height: 44px; width: auto; transition: filter .9s var(--ease), height .4s; }
.header.is-scrolled .logo img { height: 38px; }
/* 검정 배경 위에서는 로고를 흰색으로 */
body:not(.theme-light) .logo img, .header.is-mnav .logo img { filter: brightness(0) invert(1); }

.gnb__list { display: flex; gap: clamp(28px, 2.8vw, 52px); }
.gnb__link { position: relative; display: block; padding: 8px 0; font-size: 17px; font-weight: 600; }
.gnb__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.gnb__item:hover .gnb__link::after, .gnb__item.is-current .gnb__link::after { transform: scaleX(1); }

.header__util { display: flex; align-items: center; gap: 18px; }
.header__tel { font-weight: 700; font-size: 16px; }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor; transition: transform .35s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 23px; }
.header.is-mnav .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.header.is-mnav .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* 메가메뉴: .mega 는 배경 패널, 각 GNB 아래로 하위메뉴가 정렬되어 펼쳐짐 */
.gnb__item { position: relative; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; height: 0;
  background: var(--bg); border-bottom: 0; visibility: hidden;
  transition: height .45s var(--ease), background .9s var(--ease), visibility 0s .45s;
}
.header.is-mega .mega { height: 230px; border-bottom: 1px solid var(--line); visibility: visible; transition: height .45s var(--ease), background .9s var(--ease), visibility 0s; }
.gnb__sub {
  position: absolute; left: 0; top: calc(100% + (var(--header-h) - 40px) / 2 + 26px);
  z-index: 2; white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.header.is-mega .gnb__sub { opacity: 1; visibility: visible; transform: none; transition-delay: .12s; }
.gnb__sub li + li { margin-top: 10px; }
.gnb__sub a { font-size: 15px; color: var(--fg-sub); transition: color .2s; }
.gnb__sub a:hover { color: var(--fg); }

/* 모바일 메뉴 */
.mnav {
  position: fixed; inset: 0; top: var(--header-h); background: var(--black); color: var(--white);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.header.is-mnav .mnav { opacity: 1; visibility: visible; }
.header.is-mnav { color: var(--white); }
.header.is-mnav::before { opacity: 1; background: var(--black); }
.mnav__group { border-bottom: 1px solid rgba(255,255,255,.14); }
.mnav__title { width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 20px 0; font-size: 26px; font-weight: 700; text-align: left; }
.mnav__num { font-size: 13px; opacity: .45; }
.mnav__sub { display: none; padding: 0 0 20px 34px; }
.mnav__group.is-open .mnav__sub { display: block; }
.mnav__sub li + li { margin-top: 10px; }
.mnav__sub a { color: rgba(255,255,255,.7); font-size: 17px; }
.mnav__foot { margin-top: 32px; font-weight: 700; font-size: 18px; }

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .logo img, .header.is-scrolled .logo img { height: 34px; }
  .header.is-scrolled { --header-h: 64px; }
  .gnb, .mega, .header__tel { display: none; }
  .menu-btn { display: block; }
  .header__util .btn-pill { height: 36px; padding: 0 16px; font-size: 13px; }
}
@media (min-width: 1101px) { .mnav { display: none; } }
/* 메뉴 7개 : 좁은 PC 화면에서 글자·간격을 줄여 한 줄 유지 */
@media (min-width: 1101px) and (max-width: 1440px) {
  .gnb__list { gap: clamp(16px, 1.8vw, 28px); }
  .gnb__link { font-size: 16px; }
  .header__util { gap: 14px; }
  .header__tel { display: none; }
}
@media (max-width: 480px) { .header__util .btn-pill { display: none; } }

/* ========== Footer ========== */
.footer { background: var(--black); color: rgba(255,255,255,.55); padding: 72px 0 64px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__h { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer__txt { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; }
.footer__link { display: inline-block; margin-top: 16px; color: var(--white); font-size: 16px; font-weight: 700; border-bottom: 1px solid currentColor; }
.footer__tel { display: block; color: var(--white); font-size: clamp(30px, 2.8vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.footer__desc { margin-top: 14px; font-size: 15px; line-height: 1.7; }
.footer__desc--s { font-size: 13px; }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; color: rgba(255,255,255,.85); font-size: 16px; }
.footer__hours dt { color: var(--white); }
.footer__bottom { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: start; padding-top: 48px; }
.footer__logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 18px; }
.footer__links a { color: rgba(255,255,255,.9); font-size: 16px; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__links .is-strong { color: var(--white); font-weight: 700; }
.footer address { line-height: 1.9; }
.footer address span { display: inline-block; margin-right: 18px; }
.footer address b { color: rgba(255,255,255,.75); font-weight: 600; margin-right: 4px; }
.footer__copy { align-self: end; font-size: 14px; color: rgba(255,255,255,.5); white-space: nowrap; }
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .footer { padding: 56px 0 40px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer__links { gap: 8px 18px; }
  .footer__links a { font-size: 14px; }
  .footer__copy { white-space: normal; }
}

/* ========== 소식 카드 (메인 병원소식 · EAC 소식 게시판 공통) ========== */
.news-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.news-card:hover { transform: translateY(-26px); box-shadow: 0 18px 40px rgba(20,30,50,.08); }
.news-card__thumb { position: relative; display: block; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: #e8ebef; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card__thumb.ph { position: relative; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
/* 첨부 이미지가 없을 때 기본 썸네일 */
.news-card__thumb--empty { display: grid; place-items: center; background: #eef2f8; }
.news-card__thumb--empty img { width: 42%; height: auto; object-fit: contain; opacity: .35; filter: grayscale(1); transform: none !important; }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.news-card__title {
  font-size: 18px; font-weight: 700; line-height: 1.6; letter-spacing: -0.03em; min-height: 3.2em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s;
}
.news-card:hover .news-card__title { color: var(--point); }
.news-card__date { margin-top: 36px; font-size: 15px; color: var(--gray-500); }

/* ========== Quick 메뉴 ========== */
.quick { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.quick__title { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--navy); }
body:not(.theme-light) .quick__title { color: var(--white); }
.quick__list { display: flex; flex-direction: column; gap: 8px; }
.quick__item {
  width: 76px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 16px; background: var(--white); color: var(--black); font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center;
  box-shadow: 0 6px 20px rgba(15,30,60,.12); transition: background .25s, color .25s, transform .25s;
}
.quick__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quick__net .quick__item { height: 84px; }
.quick__item:hover { transform: translateY(-2px); color: var(--point); }
.quick__item.is-point { background: var(--navy); color: var(--white); }
.quick__item.is-point:hover { background: var(--point); color: var(--white); }
.quick.is-net .quick__net > .quick__item { background: var(--point); color: var(--white); }
.quick__net { position: relative; }
.quick__family {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(10px, -50%); width: 220px;
  padding: 20px; border-radius: 16px; background: var(--white); color: var(--black); box-shadow: 0 12px 32px rgba(15,30,60,.16);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.quick.is-net .quick__family { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.quick__family p { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.quick__family li + li { border-top: 1px solid var(--gray-100); }
.quick__family a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; font-weight: 600; }
.quick__family a:hover { color: var(--point); }
.quick__family i { font-style: normal; color: var(--gray-500); }
.quick__top {
  width: 76px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 999px;
  background: var(--black); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.quick__top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 1100px) {
  .quick { right: 0; left: 0; top: auto; bottom: 0; transform: none; flex-direction: row; gap: 0; background: var(--white); box-shadow: 0 -4px 20px rgba(15,30,60,.1); padding-bottom: env(safe-area-inset-bottom); }
  .quick__title, .quick__top { display: none; }
  .quick__list { flex-direction: row; width: 100%; gap: 0; }
  .quick__list > li { flex: 1; }
  .quick__item, .quick__net .quick__item { width: 100%; height: 60px; border-radius: 0; box-shadow: none; font-size: 11px; }
  .quick__item br { display: none; }
  .quick__family { right: 8px; top: auto; bottom: calc(100% + 10px); transform: translateY(10px); }
  .quick.is-net .quick__family { transform: none; }
  body { padding-bottom: 60px; }
}

/* ========== 팝업 (assets/js/popup.js · 관리자 팝업관리 연동) - 메인은 자동으로 열림, 서브는 퀵메뉴 팝업존으로 열기 ========== */
html.is-scroll-lock { overflow: hidden; }
.pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.pop.is-open { opacity: 1; pointer-events: auto; }
.pop__dim { position: absolute; inset: 0; background: rgba(8,14,28,.55); }
.pop__box {
  position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); display: flex; flex-direction: column;
  border-radius: 28px; overflow: hidden; background: #2c2e33; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(24px) scale(.97); transition: transform .45s var(--ease);
}
.pop.is-open .pop__box { transform: none; }

/* 닫기 (X는 가상요소로 그림) */
.pop__close {
  position: absolute; right: 16px; top: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11,42,94,.7); color: var(--white); transition: background .2s, transform .3s var(--ease);
}
.pop__close::before, .pop__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.pop__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pop__close:hover { background: var(--point); transform: rotate(90deg); }

/* 슬라이드 : 이미지 없으면 파란 배경 위 글, 있으면 이미지 위에 글 */
.pop__view { position: relative; aspect-ratio: 1 / 1; min-height: 0; flex: 1 1 auto; background: var(--navy); }
.pop__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.pop__slide.is-on { opacity: 1; visibility: visible; }
.pop__slide > a { display: block; height: 100%; }
.pop__ph {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: clamp(28px, 7%, 40px);
  background: linear-gradient(160deg, #0f4f9c 0%, #0b2a5e 55%, #082149 100%); color: var(--white);
}
.pop__ph.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5,15,35,.75), rgba(5,15,35,0) 55%); }
.pop__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop__ph > :not(img) { position: relative; z-index: 2; }
.pop__ph > span { font-size: 13px; font-weight: 600; letter-spacing: .3em; color: var(--point-light); }
.pop__ph > strong { margin-top: 14px; font-size: clamp(26px, 6vw, 36px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; }
.pop__ph > p { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.75); }
.pop__slide.is-on .pop__ph > :not(img) { animation: popIn .6s var(--ease) both; }
.pop__slide.is-on .pop__ph > strong { animation-delay: .06s; }
.pop__slide.is-on .pop__ph > p { animation-delay: .12s; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px); } }

/* 제목 탭 (많으면 가로 스크롤) */
.pop__tabs { display: flex; flex: none; overflow-x: auto; scrollbar-width: none; background: var(--white); }
.pop__tabs::-webkit-scrollbar { display: none; }
.pop__tabs button {
  flex: 1 0 25%; min-width: 0; height: 48px; padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: -0.03em; color: var(--gray-700); transition: background .25s, color .25s;
}
.pop__tabs button + button { border-left: 1px solid var(--gray-100); }
.pop__tabs button:hover { color: var(--navy); }
.pop__tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); font-weight: 700; }

/* 하단 조작 바 */
.pop__bar { display: flex; align-items: center; justify-content: space-between; flex: none; height: 56px; padding: 0 20px; color: var(--white); }
.pop__ctrl { display: flex; align-items: center; gap: 4px; }
.pop__count { min-width: 52px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pop__count b { font-weight: 800; }
.pop__prev, .pop__next, .pop__toggle { position: relative; width: 36px; height: 36px; border-radius: 50%; color: var(--white); transition: background .2s; }
.pop__prev:hover, .pop__next:hover, .pop__toggle:hover { background: rgba(255,255,255,.12); }
.pop__prev::before, .pop__next::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; }
.pop__prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.pop__next::before { transform: translate(-70%, -50%) rotate(45deg); }
/* 정지(II) ↔ 재생(▶) */
.pop__toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 11px; border: solid currentColor; border-width: 0 2px; transform: translate(-50%, -50%); }
.pop__toggle.is-paused::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; transform: translate(-35%, -50%); }
.pop__today { font-size: 14px; color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 4px; }
.pop__today:hover { color: var(--white); }
@media (max-width: 480px) {
  .pop__box { border-radius: 20px; }
  .pop__tabs button { height: 44px; font-size: 12px; }
  .pop__bar { height: 52px; padding: 0 12px; }
  .pop__today { font-size: 13px; }
}

/* 퀵메뉴 팝업존 (PC 전용) */
.quick__zone .quick__item { position: relative; }
.quick__badge {
  position: absolute; right: 8px; top: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--point); color: var(--white); font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px;
}
@media (max-width: 1100px) { .quick__zone { display: none; } }
