/* 현행 스타일시트 뒤에 싣는 최소 보정 — 현행과 다른 곳(docs/iss/ia.md 1.1)과 접근성 보정만 둔다 */

/* X-01: 조회수 칸을 뺐으므로, 날짜가 마지막 칸이면 뒤 구분선도 뺀다(갤러리는 날짜 뒤에 장소가 있어 그대로) */
.board_view .textWrap .title .topBox .date:last-child:after { display: none; }

/* 글자 쪼개기(현행 layout.js animateText)의 원문 — 화면에는 숨기고 화면 읽기 프로그램만 읽는다 */
.iss-sr {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; animation: none !important;
}

/* 약관 본문(관리자 "글" 구역 — 새 페이지, 현행에 없던 화면). 옛 CSS 초기화 위에 읽기 좋은 최소 간격만 */
.iss-legal { margin-top: 30px; font-size: 16px; line-height: 1.8; color: #333; word-break: keep-all; }
.iss-legal h2, .iss-legal h3, .iss-legal h4 { margin: 1.6em 0 .6em; font-weight: 700; color: #111; }
.iss-legal p { margin: .6em 0; }
.iss-legal ul, .iss-legal ol { margin: .6em 0; padding-left: 1.4em; }
.iss-legal ul { list-style: disc; }
.iss-legal ol { list-style: decimal; }
.iss-legal table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.iss-legal th, .iss-legal td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; vertical-align: top; }
.iss-legal a { color: #0070f8; text-decoration: underline; }
/* 이전 처리방침(D36 — 판마다 접어 둠) */
.iss-legal-prev { margin-top: 48px; padding-top: 20px; border-top: 1px solid #ddd; font-size: 15px; color: #333; }
.iss-legal-prev h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: #111; }
.iss-legal-prev details { border-bottom: 1px solid #eee; padding: 10px 0; }
.iss-legal-prev summary { cursor: pointer; font-weight: 600; }
.iss-legal-prev details .iss-legal { margin-top: 12px; font-size: 15px; }
/* 표가 폰 폭보다 넓으면 그 표만 옆으로 밀림(페이지 가로 넘침 없게) */
@media (max-width: 767px) { .iss-legal table { display: block; overflow-x: auto; } }
/* 긴 주소(URL)가 줄·2칸 표(국외 이전)를 넘지 않게 — 그 자리에서만 끊음. 3·4칸 표의 낱말은 끊지 않고 표 안에서 옆으로 밀림(운영 360·390 확인 11-25) */
.iss-legal td:nth-child(2):last-child, .iss-legal li, .iss-legal p { overflow-wrap: anywhere; }
footer .legalLinks { margin: 8px 0 4px; display: flex; gap: 16px; flex-wrap: wrap; }
footer .legalLinks a { color: inherit; opacity: .85; }
footer .legalLinks a:hover { opacity: 1; text-decoration: underline; }

/* 신청 화면의 링크 단추(<a class="clickBtn">)도 옆 <button> 과 같은 모양 — 현행 CSS 는 .buttonBox button 에만 크기·모양을 준다(박경태 11-12 P-06). 긴 글은 넓어지게 최소 폭만 같게 */
.subWrap .buttonBox a.clickBtn { color: #fff; min-width: 7.7rem; font-size: .9em; height: 3.3rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: .5rem 1rem; box-sizing: border-box; font-weight: 600; transition: .5s ease; text-align: center; }

/* 스폰서 3단계 추가 참가 인원 — 폰(768px 이하)은 표 머리가 숨어 칸 안 흐린 글로 칸 이름을 보인다. 넓은 화면은 표 머리가 있으니 흐린 글을 숨겨 현행 모양 그대로(박경태 11-12 P-05) */
@media screen and (min-width: 769px) { .subBody.step3 .inputTableBox thead + tbody input::placeholder { color: transparent; } }

/* 마이페이지 참가자 공지 본문(새 화면 — 현행에 없음). 게시판 표 칸 안에서 읽기 좋은 최소 간격만(박경태 11-12 P-09) */
.iss-notice-body { padding: 1em .6em; text-align: left; font-size: 15px; line-height: 1.8; color: #333; word-break: keep-all; }
.iss-notice-body p { margin: .5em 0; }
.iss-notice-body ul { list-style: disc; padding-left: 1.4em; }
.iss-notice-body ol { list-style: decimal; padding-left: 1.4em; }
.iss-notice-body a { color: #0070f8; text-decoration: underline; }

/* 키보드 초점 표시(WCAG 2.4.7 · KWCAG 초점 이동과 표시) — 옛 CSS 가 칸·단추의 테두리(outline)를 없애 Tab 으로 어디에 있는지 보이지 않았다.
   키보드로 옮겨 갈 때(:focus-visible)만 보이고 마우스·터치로 누를 때 모양은 현행 그대로(11-13 3차 점검 접근성) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible { outline: 2px solid #0070f8 !important; outline-offset: 2px !important; }

/* ── 11-13 박경태 결정(3차 점검) — 색 대비: 같은 색 계열에서 진하게(글자 4.5:1, 큰 글자 3:1). 걸린 곳만 덮어쓴다(전역 --pointColor·.blue 는 그대로) ──
   하늘 #00aeff(흰 바탕 2.47) → #0077b3(4.9) · 회색 단추 #8b8b8b(3.41) → #737373(4.74) · 이전·다음글 투명도 .5(3.23) → .62(4.7).
   참가 화면(신청·마이 ISS·B2B)은 구조 개선 1단계(D31)에서 같이 — 맨 아래 묶음 */
.src-filter-wrap .pagenumBox .num { background: #0077b3; }                   /* 게시판·참가사 전체 개수 배지 */
.board_view .arrowWrap li:not(.list) a { opacity: .62; }                     /* 이전글·다음글(#1e1e1e) */
.overview .box01 .left .bot .title { color: #0077b3; }                       /* 개요 하늘 제목 */
.welcome .box .title { color: #0077b3; }                                     /* 환영사 하늘 제목 */
.sponsor_list .inner .box .title.type1 h4 { color: #0077b3; }                /* 스폰서 묶음 제목 */
.speaker .tabBox .box .boxHead.color1 { background: #0077b3; }               /* 연사 일정표 머리(흰 글자) */
.speaker .tabBox .box .boxBody > li .td2.type2 .title1 { color: #0077b3; }   /* 연사 일정 세션 제목 */
.speaker .tabBox .box .boxBody > li .speakerBox .textBox .tt1 { color: #0077b3; } /* 연사 소속 */
.opportunity .linkBox .downBtn, .opportunity .linkBox .downBtn:after { background: #0077b3; } /* 스폰서십 안내 내려받기 */
.opportunity .box04 .list li .tt1 { color: #0077b3; }                        /* 스폰서십 안내 STEP */
.opportunity table th .blue { color: #0077b3; }                              /* 스폰서십 안내 표 하늘 글자 */
.exhibition .tabBox01 .box02 .buttonBox .downBtn { background: #0077b3; }    /* 전시 안내 내려받기 */
.accommodations .box02 .topText .linkBtn { background: #0077b3; }           /* 숙소 신청 단추 */
.venue .box04 .tabBox01 .listBox > li.list03 .right .text1 .linkBtn { color: #0077b3; } /* 오시는 길 하늘 링크 글자(밑줄은 그대로) */

/* ── 11-13 결정 — 누름 대상 24px(WCAG 2.2 2.5.8) ── */
/* 슬라이드 점(3px 막대): 보이는 막대는 그대로, 누르는 영역만 위아래 10.5px 씩(24px). 바깥 크기는 음수 여백으로 그대로 */
.slideControl .swiper-pagination-bullet { box-sizing: content-box !important; padding: 10.5px 0 !important; margin: -10.5px 0 !important; background-clip: content-box !important; } /* 구역별 색 규칙(background 줄임 속성)이 clip 을 되돌리지 않게 !important */
.slideControl .swiper-pagination-bullet:after { top: 10.5px; height: 3px; }
/* 여러 줄로 감기는 보도 슬라이드 점(폰): 줄 사이를 넓혀 위 영역끼리 겹치지 않게(줄 간격 24px) */
.sec03 .press .slideControl .swiper-pagination-bullets { row-gap: 21px; }

/* ── 참가 화면(D31 구조 개선 1단계 — 11-13 결정을 이 단계에서 손대는 화면에) ── */
.subWrap .buttonBox .clickBtn { background: #0077b3; }                       /* 하늘 단추(다음·저장·등록하기·신청 취소) #00aeff 2.47 → 4.9 */
.subWrap .buttonBox .cancelBtn { background: #737373; }                      /* 회색 단추(취소·이전·로그아웃) — 위 줄 뒤에 둬야 회색이 이김 */
.b2b_registration_list .clickBtn { background: #006ff5; }                    /* 내 B2B 단추 #0070f8 4.49 → 4.57 */
.login .box .right .loginWrap .loginBtn { background: #0077b3; }            /* 통합 로그인 단추(확인 코드 받기·로그인) #00aeff 2.47 → 4.9 */
.subWrap .inputBox.type2 .tt1 { color: #757575; }                            /* 로그인 칸 이름(이메일·확인 코드) #bbb 1.9 → 4.6 */
/* 위아래로 붙어 쌓인 체크 목록(B2B 분류·관심분야·날짜·시간, 스폰서 3단계 DAY1~3): 줄 사이 4px(20px 칸 → 24px 간격, WCAG 2.2 2.5.8) */
.checkBox.iss-stack > label + label, .iss-stack > .checkBox + .checkBox { margin-top: 4px; }
.subWrap .checkBox:has(#confirm_members) { margin-top: 4px; }               /* 스폰서 3단계 대표자 확인 — 바로 위 "인원 추가" 단추와 1px(같은 +4px 기준) */

/* ── 머리 줄 계정 자리(D31 1단계) — 현행 CSS 에 있던 .rightBox .mypageBtn·.logoutBtn 모양(PC 테두리 단추·흰 단추, 폰 아이콘 + 말풍선 이름)을 그대로 쓴다.
   계정 자리는 언어 단추 왼쪽에 붙어 언어 단추 자리는 바뀌지 않는다. HTML 에는 비어 있고 브라우저가 로그인 상태를 확인해 그린다(AccountSlot).
   위 메뉴가 가운데 56% 를 차지해 오른쪽 자리가 좁다 — 이름은 단추 위 작은 줄(폭을 늘리지 않음), 1025~1519 는 단추를 아이콘으로(폭마다 위 메뉴와의 틈 실측) ── */
header .hInner .rightBox button.logoutBtn { border: 0; font: inherit; cursor: pointer; }
header .hInner .rightBox .iss-acct { display: flex; flex-direction: column; align-items: center; gap: 3px; }
header .hInner .rightBox .iss-acct-btns { display: flex; gap: .5em; }
header .hInner .rightBox .iss-hello { width: 0; min-width: 100%; color: #fff; font-size: 11px; line-height: 1.25; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media screen and (min-width: 481px) {
  header .hInner .rightBox { width: auto; max-width: none; gap: .7em; }      /* 12% 칸에는 단추 둘이 들어가지 않음 — 오른쪽 끝(언어 단추)은 그대로 */
  header .hInner .rightBox .mypageBtn, header .hInner .rightBox .logoutBtn { width: auto; max-width: none; padding: 0 .9em; white-space: nowrap; box-sizing: border-box; }
}
@media screen and (min-width: 1025px) {
  header .hInner .rightBox .iss-acct .mypageBtn, header .hInner .rightBox .iss-acct .logoutBtn { height: 2.5em; }
}
@media screen and (min-width: 1025px) and (max-width: 1519px) {
  header .hInner .rightBox .iss-acct .mypageBtn, header .hInner .rightBox .iss-acct .logoutBtn { width: 2.5em; padding: 0; }
  header .hInner .rightBox .iss-acct .mypageBtn i, header .hInner .rightBox .iss-acct .logoutBtn i { display: block; }
  header .hInner .rightBox .iss-acct .mypageBtn span, header .hInner .rightBox .iss-acct .logoutBtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* 가장 좁은 PC(1025~1199): 아이콘·틈을 더 작게, 1129 까지는 로그인했을 때만 위 메뉴를 2% 왼쪽으로(계정 단추 자리) */
@media screen and (min-width: 1025px) and (max-width: 1199px) {
  header .hInner .rightBox { gap: .45em; }
  header .hInner .rightBox .iss-acct-btns { gap: .25em; }
  header .hInner .rightBox .iss-acct .mypageBtn, header .hInner .rightBox .iss-acct .logoutBtn { width: 2.2em; height: 2.2em; }
}
@media screen and (min-width: 1025px) and (max-width: 1129px) { header:has(.iss-acct) .hInner nav { left: 48%; } }
/* 폰(480 이하) 현행 말풍선 이름 — 줄바꿈 없이("마이 ISS"가 두 줄로 갈라짐). 사람 이름은 전체 메뉴 맨 위 줄로 */
@media screen and (max-width: 480px) {
  header .hInner .rightBox .mypageBtn span, header .hInner .rightBox .logoutBtn span { white-space: nowrap; background: #0077b3; }   /* 말풍선 흰 글자 #00aeff 2.47 → 4.9 */
  header .hInner .rightBox .mypageBtn span:after, header .hInner .rightBox .logoutBtn span:after { border-bottom-color: #0077b3; }
  header .hInner .rightBox button.logoutBtn { padding: 0; }
  header .hInner .rightBox .iss-hello { display: none; }
}
/* 두 말풍선(마이 ISS·로그아웃)이 단추보다 넓어 겹쳐 "마이 IS"로 보였다(D31 "함께" 발견 — 390 실측 12px 겹침) → 말풍선이 보이는 폭(381~480, 현행 380 이하는 숨김)에서만 단추 사이를 벌림 */
@media screen and (min-width: 381px) and (max-width: 480px) { header .hInner .rightBox .iss-acct-btns { gap: 1.9em; } }
/* 전체 메뉴 맨 위 계정 줄 — 폰에서만(머리에 이름이 없는 폭) */
header .sitemap .iss-account-menu { display: none; }
@media screen and (max-width: 480px) {
  header .sitemap .iss-account-menu { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1.2em; position: relative; z-index: 2; padding: 1.2em 4%; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  header .sitemap .iss-account-menu a, header .sitemap .iss-account-menu button { color: #fff; font: inherit; background: none; border: 0; padding: .3em 0; min-height: 24px; text-decoration: underline; cursor: pointer; }
}

/* ── D31 구조 개선 2단계 — 참가 영역 조각(이 영역은 ISS 색·글꼴을 따른다: 하늘 진하게 #0077b3, 글 #1e1e1e·#595959, 선 #ddd — 대비 4.5:1, 누름 대상 24px 이상) ── */
.iss-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1.2em; border: 0; border-radius: 8px; background: #0077b3; color: #fff; font: inherit; font-size: .95em; cursor: pointer; text-decoration: none; }
.iss-btn.ghost { background: #fff; color: #1e1e1e; border: 1px solid #bbb; }
.iss-btn:disabled { opacity: .6; cursor: default; }
.iss-link { background: none; border: 0; padding: .3em 0; min-height: 24px; color: #0077b3; text-decoration: underline; font: inherit; font-size: .9em; cursor: pointer; }
.iss-note { font-size: .85em; color: #595959; margin-top: .4em; }
/* 통합 로그인: 지문·얼굴 단추 · "또는 이메일로" · 30일 유지 */
.login .box .right .iss-passkey { margin: 1em 0 .4em; text-align: center; }
.login .box .right .iss-passkey .iss-pk-login { min-height: 2.77em; gap: .5em; font-size: 1em; border-radius: 10px; }   /* 현행 로그인 단추와 같은 높이·모서리(그 단추 규칙은 로그인 폼 안에만 걸림) */
.login .box .right .iss-or { display: flex; align-items: center; gap: .8em; color: #595959; font-size: .85em; margin: 1.2em 0 .2em; }
.login .box .right .iss-or:before, .login .box .right .iss-or:after { content: ""; flex: 1; border-top: 1px solid #ddd; }
.subWrap .checkBox.iss-keep { margin-top: 1em; }
.subWrap .checkBox.iss-keep label { justify-content: flex-start; font-size: .9em; }
/* 다시 확인 창(<dialog>) */
.iss-reauth { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: 14px; padding: 1.6em 1.6em 1.2em; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); color: #1e1e1e; font-size: 15px; }
.iss-reauth::backdrop { background: rgba(0, 16, 40, .55); }
.iss-reauth h2 { font-size: 1.25em; font-weight: 700; margin-bottom: .6em; }
.iss-reauth p { line-height: 1.6; color: #1e1e1e; margin-bottom: .8em; }
.iss-reauth .iss-field { display: grid; gap: .4em; margin: .4em 0 .8em; font-size: .9em; color: #595959; }
.iss-reauth .iss-field input { height: 44px; border: 1px solid #bbb; border-radius: 8px; padding: 0 .8em; font: inherit; font-size: 1.1em; letter-spacing: .2em; color: #1e1e1e; }
.iss-reauth .iss-row { display: flex; gap: .6em; justify-content: flex-end; margin-top: .4em; }
.iss-reauth > .iss-btn { width: 100%; margin-bottom: .6em; }
.iss-reauth .iss-msg { font-size: .9em; color: #1e1e1e; }
/* 마이 ISS */
.iss-my .iss-my-head { margin-bottom: 2em; }
.iss-my .iss-my-head .hello { font-size: 1.4em; font-weight: 700; color: #1e1e1e; }
.iss-my .iss-my-head .mail { color: #595959; margin-top: .3em; font-size: .95em; }
.iss-my .box { margin-bottom: 3em; }
.iss-my .iss-todo { display: grid; gap: .5em; }
.iss-my .iss-todo a { display: flex; justify-content: space-between; align-items: center; gap: 1em; min-height: 48px; padding: .6em 1.1em; border: 1px solid #ddd; border-radius: 10px; color: #1e1e1e; background: #f7fafc; }
.iss-my .iss-todo a i { color: #0077b3; }
.iss-my .iss-app { border: 1px solid #ddd; border-radius: 10px; padding: 1em 1.2em; margin-bottom: .8em; }
.iss-my .iss-app .tt { display: flex; flex-wrap: wrap; align-items: center; gap: .6em; font-weight: 600; }
.iss-my .iss-app .tt a { color: #1e1e1e; text-decoration: underline; text-underline-offset: 3px; padding: .2em 0; }
.iss-my .iss-app .badge { font-size: .8em; font-weight: 500; color: #fff; background: #0077b3; border-radius: 999px; padding: .2em .8em; }
.iss-my .iss-steps { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .8em; counter-reset: s; }
.iss-my .iss-steps li { counter-increment: s; font-size: .85em; color: #595959; padding: .3em .8em; border-radius: 999px; background: #f2f2f2; }
.iss-my .iss-steps li:before { content: counter(s) ". "; }
.iss-my .iss-steps li.done { color: #1e1e1e; background: #e3f1f8; }
.iss-my .iss-steps li.now { color: #fff; background: #0077b3; font-weight: 600; }
.iss-my .iss-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8em; }
.iss-my .iss-cards li { border: 1px solid #ddd; border-radius: 12px; padding: 1.1em; display: grid; gap: .5em; align-content: start; }
.iss-my .iss-cards li strong { font-size: 1.05em; }
.iss-my .iss-cards li p { color: #595959; font-size: .9em; }
.iss-my .iss-cards li .iss-btn { justify-self: start; }
.iss-my .iss-pk { display: grid; gap: .5em; margin: .8em 0; }
.iss-my .iss-pk li { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1em; border: 1px solid #ddd; border-radius: 10px; padding: .7em 1em; }
.iss-my .iss-pk li span { color: #595959; font-size: .85em; }
.iss-my .iss-pk li .iss-link { margin-left: auto; }
.iss-my .iss-pk-add { display: flex; flex-wrap: wrap; align-items: center; gap: .6em; margin-top: .8em; }
.iss-my .iss-pk-add label { font-size: .9em; color: #595959; }
.iss-my .iss-pk-add input { height: 40px; border: 1px solid #bbb; border-radius: 8px; padding: 0 .8em; font: inherit; min-width: 220px; }

/* ── 관람객 사전등록·연사 신청서 판 2(D31 "함께") — 현행 신청서 틀(.box·.iconTitle·.inputTableBox·.privacyWrap)에 진행 단계 줄(마이 ISS 와 같은 모양),
   선택지 묶음(체크·라디오 여러 개를 감싸 줄바꿈), 안내 글. 결제 안내·촬영 안내는 줄바꿈 그대로 */
.iss-vs .iss-steps { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 1.6em; padding: 0; list-style: none; counter-reset: s; }
.iss-vs .iss-steps li { counter-increment: s; font-size: .95em; color: #595959; padding: .4em 1em; border-radius: 999px; background: #f2f2f2; }
.iss-vs .iss-steps li:before { content: counter(s) ". "; }
.iss-vs .iss-steps li.done { color: #1e1e1e; background: #e3f1f8; }
.iss-vs .iss-steps li.now { color: #fff; background: #0077b3; font-weight: 600; }
.iss-choices { display: flex; flex-wrap: wrap; gap: .4em 1.4em; align-items: center; }
.iss-choices .checkBox { margin: 0; }
.iss-choices.sub { margin-top: .5em; padding-left: 1.6em; }
.iss-choices fieldset.iss-group { border: 0; margin: 0 0 .6em; padding: 0; flex-basis: 100%; }
.iss-choices fieldset.iss-group legend { font-weight: 600; margin-bottom: .3em; padding: 0; }
.iss-vs .iss-hint { color: #595959; font-size: .95em; margin-top: .6em; }
.iss-pre, .iss-pre p { white-space: pre-wrap; }
.iss-vs details.iss-survey summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: #0077b3; }
.iss-vs textarea { width: 100%; min-height: 8em; resize: vertical; box-sizing: border-box; }
.iss-my .iss-pay { margin-top: .8em; padding: .8em 1em; background: #f7f9fb; border-radius: 8px; }
.iss-my .iss-done { margin-bottom: 1em; padding: .8em 1em; border-radius: 8px; background: #e3f1f8; color: #1e1e1e; }

/* 메인 팝업(POPUP ZONE) — 폰·태블릿·가로 모드·낮은 화면에서 화면 안에(11-25 전환 직후 박경태 폰에서 잘림). 데스크톱(가로 1280 이상·높이 801 이상)은 그대로.
   까닭 둘: ① 옛 CSS(reset.css)가 1279px 이하에서 팝업 전체를 top:60px(머리 줄 아래)로 내리는데 높이는 100% 라 아래 60px 가 화면 밖(닫기 단추가 잘림)
   ② 폰에서 그림 칸 높이를 화면 폭 비율(46vw·90vw)로 고정하고, 편집기 그림은 width:450px·height:532px 인라인이라 칸보다 넓어 잘렸다(세로 그림).
   머리 줄 아래 자리는 그대로 두고 높이를 그만큼 줄인다. 상자는 팝업 높이에 맞추고(위 제목·아래 단추 줄은 늘 보임) 그림 칸이 남은 높이를 받는다.
   그림은 칸 안에서 비율 유지 축소, 글 내용은 칸 안에서 스크롤(옛 figure overflow-y:auto) */
@media screen and (max-width: 1279px) {
  #popup.pu_pop { height: calc(100% - 60px) !important; }
}
@media screen and (max-width: 1024px), screen and (max-height: 800px) {
  #popup .popup_con { height: calc(100% - 32px) !important; max-width: calc(100vw - 32px); overflow: hidden !important; }
  #popup .popup_conbox { height: 100% !important; min-height: 0; }
  #popup .popup_conbox > .top, #popup .popup_conbox > .btm { flex: none; }
  #popup .popup_conbox > .contents { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  #popup .popup_list { flex: 1 1 auto; min-height: 0; container-type: size; }
  #popup .popup_list .swiper-wrapper { height: 100%; }
  #popup .popup_list .swiper-slide { height: 100% !important; display: flex; align-items: center; justify-content: center; }
  #popup .popup_list .swiper-slide figure { height: auto !important; width: auto !important; max-width: 100%; max-height: 100%; }
  #popup .popup_list .swiper-slide figure p:has(img) { width: auto; height: auto; margin: 0; line-height: 0; }
  #popup .popup_list .swiper-slide figure img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100cqh; object-fit: contain; display: block; }
}
/* 가로 모드처럼 아주 낮은 화면 — 제목 글자를 줄여 그림 칸을 넓힌다 */
@media screen and (max-height: 500px) {
  #popup .popup_con .top strong { font-size: 26px !important; }
  #popup .popup_conbox .top, #popup .popup_conbox .popup_list { padding-bottom: 8px !important; margin-bottom: 8px !important; }
}

/* GA 동의 띠(11-25 박경태 — 국외 이전 별도 동의, src/components/Consent.tsx). 화면 아래 작은 띠, 현행 바닥글 톤(짙은 남색·흰 글자).
   [허용][거부] 같은 크기·같은 무게. 팝업(z 300)·모달(150) 아래(z 140) — 팝업 닫기 단추를 가리지 않는다. 펼친 "자세히"는 띠 안에서 스크롤 */
footer .legalLinks:empty { display: none; }
.iss-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; background: rgba(6, 18, 44, .96); color: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); font-size: 14px; line-height: 1.6; }
.iss-consent-in { position: relative; max-width: 1200px; margin: 0 auto; padding: 14px 56px 14px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; max-height: 70vh; overflow-y: auto; }
.iss-consent-text { flex: 1 1 420px; margin: 0; }
.iss-consent-more { flex-basis: 100%; margin: 0; display: grid; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.iss-consent-more dt { font-weight: 600; color: #fff; }
.iss-consent-more dd { margin: 0; word-break: break-all; }
.iss-consent-btns { display: flex; align-items: center; gap: 10px; flex: none; }
.iss-consent-btn { min-width: 96px; height: 40px; padding: 0 18px; border: 1px solid #fff; border-radius: 5px; background: transparent; color: #fff; font-size: 15px; font-weight: 500; font-family: inherit; cursor: pointer; transition: background .2s, color .2s; }
.iss-consent-btn:focus-visible { background: #fff; color: #06122c; }
@media (hover: hover) { .iss-consent-btn:hover { background: #fff; color: #06122c; } } /* 폰은 누른 뒤 hover 가 남아 한쪽만 강조돼 보이지 않게 */
.iss-consent-link { background: none; border: 0; color: #fff; text-decoration: underline; font-size: 14px; font-family: inherit; cursor: pointer; padding: 0 4px; min-height: 40px; }
.iss-consent-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.iss-consent :focus-visible { outline: 2px solid #8fc1ff; outline-offset: 2px; }
@media screen and (max-width: 640px) {
  .iss-consent { font-size: 13px; }
  .iss-consent-in { padding: 12px 48px 12px 16px; }
  .iss-consent-text { flex-basis: 100%; }
  .iss-consent-btns { width: 100%; justify-content: flex-end; }
  .iss-consent-btn { flex: 1 1 0; min-width: 0; }
}
