/* nowgofly 시안 v3 (2026-10-18 웹 개발자, 2판 style.css에서 카드·달력 칸을 빼고 표로 바꿈 — 10-18 대표 화면 개편). 색·글꼴은 쇼츠 목록판.py와 같게: 남색 (22,37,77) 빨강 (200,30,40) 출국 (214,40,40) 귀국 (30,90,200) 크림 바탕
   크기는 rem(휴대폰 글꼴 크게 설정·확대를 따라감). 가장 작은 글씨 0.75rem=12px, 범위 줄 0.8125rem=13px */
@font-face { font-family: 'P'; src: url('font/Pretendard-SemiBold.otf') format('opentype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'P'; src: url('font/Pretendard-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'P'; src: url('font/Pretendard-ExtraBold.otf') format('opentype'); font-weight: 800 900; font-display: swap; }
:root { --navy: #16254d; --red: #c81e28; --dep: #d62828; --ret: #1e5ac8; --cream: #fffcf6; --line: #e2ded6; --ink: #1e222d; --gray: #5f6573; --sub: #464e62; --port: #555c6e; --offb: #b9bec8; }   /* 11-05 선택색: 안 고른 단추 회색 테두리 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: 'P', -apple-system, 'Apple SD Gothic Neo', sans-serif; font-weight: 600; color: var(--ink); background: #f3efe6; line-height: 1.3; max-width: 32rem; margin: 0 auto; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
p { margin: 0; }
.testmark { background: #222; color: #ffe066; font-size: .75rem; padding: .25rem .5rem; text-align: center; }

/* 맨 위 한 줄: 이름(첫 화면으로) + 다른 화면에선 '‹ 오늘의 특가' */
.top { display: flex; justify-content: space-between; align-items: center; padding: .5rem .875rem .25rem; }
.brand { font-size: .8125rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.brand span { color: var(--gray); font-weight: 600; }
.home { font-size: .8125rem; font-weight: 700; color: var(--navy); text-decoration: none; }

/* 나라 탭·도시 줄: 위에 붙음, 옆으로 밀림, 오른쪽 흐림(더 있음 표시) */
.sticky { position: sticky; top: 0; z-index: 5; background: #f3efe6; }
/* 수정4(10-18 대표): 1단(지역)·2단(나라·도시)·3단(동남아 도시)을 한눈에 구분. 2단·3단은 옆으로 밀지 않고 줄바꿈해 한 화면에 다 보임(390px 가로 넘침 0)
   1단 = 진한 남색 채운 단추(고른 지역은 빨강 + 아래 ▼), 2단 = 흰 칸 안 작은 칩(고른 칸은 남색 테두리), 3단 = 점선 아래 밑줄 글자
   11-05 선택색(대표 "어떤 게 선택된 건지 헷갈려"): 모든 고르기 줄 같은 규칙 — 고른 것 = 남색 채움+흰 글자(지역 탭은 아래 ▼ 남색), 안 고른 것 = 흰 바탕+회색 테두리(--offb)+남색 글자, 빨강은 안 씀. 3단 도시는 밑줄 3px 굵게. 고치기 전 = style_pre선택색.css(v3 폴더, 공개 폴더 밖) */
.tabs { position: relative; }
.row { display: flex; gap: .375rem; overflow-x: auto; padding: .3125rem .875rem; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row a { flex: none; text-decoration: none; font-size: .9375rem; font-weight: 700; padding: .375rem .8125rem; border-radius: 99rem; background: #fff; border: 1px solid var(--offb); color: var(--navy); }
.row a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs .row { overflow: visible; flex-wrap: wrap; gap: .25rem; padding: .3125rem .625rem; }
.tabs .row a { flex: 1 1 auto; text-align: center; white-space: nowrap; font-size: .875rem; font-weight: 800; padding: .4375rem .4375rem; letter-spacing: -.01em;
  border-radius: .625rem; background: #fff; border-color: var(--offb); color: var(--navy); }
.tabs .row a.on { position: relative; background: var(--navy); border-color: var(--navy); color: #fff; }
.sticky:has(.lv2) .tabs .row a.on::after { content: ''; position: absolute; left: 50%; bottom: -.4375rem; margin-left: -.4375rem; border: .4375rem solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.lv2 { margin: .1875rem .625rem .25rem; padding: .25rem 0; background: #fff; border: 1px solid var(--line); border-radius: .75rem; }
.lv2 .row { flex-wrap: wrap; overflow: visible; gap: .3125rem; padding: .1875rem .5rem; }
.lv2 .row a { flex: none; white-space: nowrap; font-size: .875rem; font-weight: 700; padding: .25rem .625rem; border-radius: 99rem; background: #fff; border: 1px solid var(--offb); color: var(--navy); }
.lv2 .row a.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 800; }
.lv2 .natn + .cities { margin: .1875rem .5rem 0; padding-top: .1875rem; border-top: 1px dashed var(--line); }
.lv2 .natn + .cities .row { gap: .125rem .875rem; padding: .125rem .125rem; }
.lv2 .natn + .cities .row a { font-size: .8125rem; padding: .25rem .0625rem .0625rem; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; }
.lv2 .natn + .cities .row a.on { border-bottom-color: var(--navy); color: var(--navy); background: none; font-weight: 800; }
.cities .row a.dim { opacity: .45; }
.cities .row a.on.dim { opacity: 1; }

main { padding: .25rem .625rem .5rem; }
.ttl { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: .5rem 0 .125rem; }
.flag svg { display: block; width: 1.875rem; height: 1.25rem; border-radius: .1875rem; box-shadow: 0 0 0 1px #d2d2d2; }
.sub { font-size: .8125rem; color: var(--sub); text-align: center; }
.sub.seen { font-size: .9375rem; font-weight: 700; color: var(--red); }   /* 수정4: '약 ○시간 전 확인' 빨강, 13→15px */
.base { font-size: .8125rem; font-weight: 700; color: var(--sub); margin: 0 .25rem .3125rem; }   /* 수정4: 표 바로 위 한 줄 '인천 출발 직항 왕복 · 어른 1명' */
.fail { font-size: .8125rem; font-weight: 700; color: #8a4b00; background: #fff1c2; border-radius: .375rem; padding: .25rem .5rem; margin-top: .375rem; text-align: center; }

/* 기간 고르기(2주·1달·3달·6개월) */
.per { display: flex; align-items: center; justify-content: center; gap: .3125rem; margin: .5rem 0 .4375rem; }
.per-l { font-size: .8125rem; font-weight: 700; color: var(--sub); margin-right: .125rem; }
.per a { text-decoration: none; font-size: .9375rem; font-weight: 700; padding: .375rem .75rem; border-radius: .5rem; background: #fff; border: 1px solid var(--offb); color: var(--navy); }
.per a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 정렬 고르기(3판 수정1: 금액순·최신순[·일정순]) — 기간 단추보다 작게, 표 바로 위 오른쪽 */
/* 수정2: 단추 4개(상세 표). 390·360px에선 한 줄, 글씨를 크게 한 휴대폰에선 옆으로 밀지 않고 다음 줄로 내려 오른쪽 맞춤 */
.sort { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; margin: 0 0 .375rem; }
.sort a { white-space: nowrap; text-decoration: none; font-size: .8125rem; font-weight: 700; padding: .25rem .625rem; border-radius: 99rem; color: var(--navy); background: #fff; border: 1px solid var(--offb); }
.sort a.on { color: #fff; border-color: var(--navy); background: var(--navy); }
.sort a.on::before { content: "✓ "; }
.home .sort { margin-top: .5rem; }
.c2 .rago { display: block; font-size: .75rem; font-weight: 600; color: var(--gray); white-space: nowrap; }

/* 표(쇼츠 목록판과 같은 색: 남색 머리, 크림 바탕, 출국 빨강·귀국 파랑, 가격 빨강) */
.tbl { background: var(--cream); border: 1px solid var(--line); border-radius: .875rem; overflow: hidden; }
.th, .tr { display: grid; grid-template-columns: 3.875rem minmax(0, 1fr) minmax(0, 1.05fr) 6.5rem; align-items: center; column-gap: .375rem; }
.htbl .th, .htbl .tr { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 6.75rem; }
.th { background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 700; padding: .4375rem .375rem .4375rem .625rem; text-align: center; }
.th span:last-child { padding-right: .75rem; }
.tr { text-decoration: none; color: var(--ink); padding: .5625rem .375rem .5625rem .625rem; border-top: 1px solid var(--line); min-height: 3.5rem; }
.th + .tr { border-top: 0; }
.tr:active { background: #f1ece0; }
.tr.best { background: #fff4cc; }   /* 이 표에서 가장 싼 줄(3초 안에 찾게) */
.c1, .c2, .c3 { text-align: center; min-width: 0; }
.c1 b { display: block; font-size: .9375rem; font-weight: 800; color: var(--navy); line-height: 1.2; white-space: nowrap; }
.c1 small { display: block; font-size: .75rem; font-weight: 700; color: var(--port); line-height: 1.25; }
/* 지역 전체 표(수정3): 일정 아래 국기 + 도시 이름. 이름 칸을 조금 넓힘 */
.rtbl .th, .rtbl .tr { grid-template-columns: 4.25rem minmax(0, 1fr) minmax(0, 1.05fr) 6.5rem; }
.rtbl .tr.empty { grid-template-columns: 4.25rem 1fr; }
.rtbl .c1 small { white-space: nowrap; letter-spacing: -.02em; }
.c1 small .flag { display: inline-block; vertical-align: -.0625rem; margin-right: .125rem; }
.c1 small .flag svg { display: inline-block; width: .875rem; height: .625rem; border-radius: .0625rem; }
.c2 { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.c2 > span { display: block; white-space: nowrap; }   /* 수정2: 모든 줄 두 줄(출발 / ~귀국) 고정 — 폭에 따라 한 줄·두 줄이 섞이지 않게 */
.c2 .fb { display: block; font-size: .75rem; color: #8a4b00; }
.c3 b { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.c3 small { display: block; font-size: .75rem; line-height: 1.3; white-space: nowrap; }
.c3 i { font-style: normal; font-weight: 800; }
.c3 .go { color: var(--dep); }
.c3 .bk { color: var(--ret); }
.c3 .nt { color: var(--gray); font-weight: 600; white-space: normal; }
.c4 { display: flex; align-items: center; justify-content: flex-end; gap: .125rem; }
.c4 b { font-size: 1.0625rem; font-weight: 800; color: var(--red); white-space: nowrap; }
.arw { font-style: normal; font-size: 1.375rem; line-height: 1; color: #a3a7b0; margin-left: .125rem; }
.tr.empty { grid-template-columns: 3.875rem 1fr; color: var(--gray); }
.ce { font-size: .8125rem; text-align: center; }
.tnote { font-size: .75rem; color: var(--gray); text-align: center; margin: .4375rem .25rem 0; line-height: 1.45; }
.tnote .rs { white-space: nowrap; }   /* 10-20 대표(선택 A): 첫 화면 지역별 확인 시각 — '대만·홍콩·중국 오늘 오전 7시 16분 ·' 한 덩이는 안 갈라지고 덩이 사이에서만 줄바꿈 */

/* 첫 화면 줄: 국기 + 도시(크게) / 일정(작게), 날짜, 가격. 표시(임박특가·어제보다 내림) */
.htbl .c1 { text-align: left; }
.cty { display: flex; align-items: center; gap: .375rem; }
.cty .flag svg { width: 1.5rem; height: 1rem; }
.htbl .c1 b { font-size: 1.0625rem; }
.htbl .c1 small { padding-left: 1.875rem; }
.bd { display: inline-block; font-style: normal; font-size: .75rem; font-weight: 800; border-radius: 99rem; padding: .0625rem .5rem; margin-bottom: .1875rem; white-space: nowrap; }
.b-soon { background: var(--red); color: #fff; }
.b-down { background: #fff0b3; color: #5c4300; }
.k-soon, .k-down { background: #fff8ec; }

/* 어제와 비교(476행 ③). 강조 2종 a·b */
.cmp { font-size: .8125rem; margin: 0 0 .375rem; text-align: center; line-height: 1.2; }
.cmp.down { font-weight: 800; border-radius: .375rem; padding: .1875rem .375rem; }
.down-a { background: #fff0b3; color: #5c4300; }
.down-b { background: #e8ecf6; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.cmp.up { font-size: .75rem; color: #80838c; font-weight: 600; }

/* 달력 하루 규칙: 그저께보다 오래된 값은 가격 숨김(휴대폰 시계, 한국 시각) */
.stale-msg { display: none; }
.stale .pricey { display: none; }
.stale .stale-msg, .stale.stale-msg { display: inline; color: var(--gray); }
main > .stale-msg { padding: .5rem; text-align: center; font-size: .875rem; }
.stale > .stale-msg { display: block; }
.msg p { padding: 1.25rem .75rem; text-align: center; font-size: .9375rem; color: var(--sub); background: var(--cream); border: 1px solid var(--line); border-radius: .75rem; margin-top: .5rem; }

/* 아래: 오픈채팅 단추(수정4: 댓글 안내·인스타 단추 뺌) + 안내 칸 */
.ask { text-align: center; padding: .5rem .875rem 1rem; }
.kakao { display: flex; align-items: center; justify-content: center; gap: .375rem; width: max-content; max-width: 100%; margin: .5rem auto 0; text-decoration: none; border: 1.5px solid #3c1e1e; color: #3c1e1e; font-weight: 700; font-size: .9375rem; line-height: 1.25; padding: .5625rem 1rem; border-radius: .625rem; background: #fee500; text-align: left; }
.kakao .bubble { flex: none; width: 1.25rem; height: 1.25rem; }   /* 수정5: 직접 그린 일반 말풍선(선만, 카카오 공식 심볼 아님) */
.note { font-size: .75rem; color: var(--gray); padding: .75rem .875rem 1.5rem; border-top: 1px solid var(--line); line-height: 1.5; }
.note .links { margin-top: .375rem; }
.todo { color: #a33; }
.doc { padding: .75rem .875rem; font-size: .875rem; line-height: 1.6; }
.doc h2 { font-size: 1rem; color: var(--navy); margin-top: .75rem; }

/* 수정5(10-18 대표, 결정사항 520·521행): 일정 10개 목록 화면. 시안 시험/시안_10개목록/mock2_top.png 모양(카드·빨간 D-day·작은 표시·펼친 달력) */
.list .back { display: inline-block; margin: .375rem .125rem 0; font-size: .875rem; font-weight: 700; color: var(--sub); text-decoration: none; }
.ttl.lttl { justify-content: flex-start; font-size: 1.375rem; margin: .25rem .125rem .375rem; text-align: left; }
.list .sort { margin-top: .25rem; }
.list .base { margin-bottom: .5rem; }
.cards { display: flex; flex-direction: column; gap: .5rem; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: .875rem; }
.card[open] { border: 2px solid var(--navy); box-shadow: 0 .25rem .875rem rgba(22, 37, 77, .15); }
.card summary { list-style: none; display: flex; align-items: center; gap: .5rem; padding: .75rem .875rem; cursor: pointer; }
.card summary::-webkit-details-marker { display: none; }
.card summary:active { background: #f1ece0; border-radius: .875rem; }
.cl { flex: 1; min-width: 0; }
.cd { display: block; font-size: 1.0625rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.ca { display: flex; align-items: center; flex-wrap: wrap; gap: .375rem; margin-top: .25rem; font-size: .875rem; font-weight: 700; color: var(--gray); }
.ca .dd { font-style: normal; background: var(--red); color: #fff; font-weight: 800; font-size: .8125rem; padding: .0625rem .4375rem; border-radius: .375rem; white-space: nowrap; }
.tg { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3125rem; }
.tg em { font-style: normal; font-size: .75rem; font-weight: 700; padding: .125rem .375rem; border-radius: .375rem; white-space: nowrap; }
.tg .t0 { background: var(--red); color: #fff; }
.tg .tw { background: #eef1f8; color: var(--navy); }
.tg .td { background: #e8f5ec; color: #1b7a3a; }
.tg .tu { background: #fbe9e9; color: #b3262e; }
.cr { flex: none; text-align: right; }
.cr b { display: block; font-size: 1.1875rem; font-weight: 800; color: var(--red); white-space: nowrap; }
.cr .df { display: block; font-size: .75rem; font-weight: 700; color: var(--gray); white-space: nowrap; }
.chev { flex: none; width: .5rem; height: .5rem; border-right: 2px solid #8a8f9a; border-bottom: 2px solid #8a8f9a; transform: rotate(45deg); margin: 0 .125rem .25rem .125rem; }
.card[open] .chev { transform: rotate(-135deg); margin-bottom: -.25rem; }
.ex { margin: 0 .875rem .875rem; padding-top: .625rem; border-top: 1px dashed var(--line); }
.ctm p { font-size: .9375rem; font-weight: 700; line-height: 1.45; }
.ctm .dep { color: var(--dep); }
.ctm .ret { color: var(--ret); }
.ctm small { font-size: .75rem; }
.ctm .g { color: var(--gray); font-size: .8125rem; }
.ctm .nv { display: inline-block; margin-top: .125rem; font-size: .875rem; font-weight: 700; color: var(--ret); }
.cal { margin: .75rem 0 .5rem; }
.ct { font-weight: 800; color: var(--navy); text-align: center; margin-bottom: .375rem; font-size: .9375rem; }
.cg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .1875rem; text-align: center; font-size: .875rem; font-weight: 700; }
.cg b { font-size: .75rem; color: var(--gray); }
.cg b.we, .cg span.we { color: var(--red); }
.cg span { padding: .3125rem 0 .1875rem; border-radius: .4375rem; line-height: 1.1; }
.cg span.on { background: var(--navy); color: #fff; }
.cg small { display: block; font-size: .75rem; font-weight: 700; }
.book { display: block; text-align: center; background: var(--navy); color: #fff; text-decoration: none; border-radius: .625rem; padding: .6875rem; margin-top: .5rem; font-size: .9375rem; font-weight: 800; }
.lnote { font-size: .75rem; color: var(--gray); margin: .625rem .25rem 0; line-height: 1.5; }
.list .tnote { margin-top: .25rem; text-align: left; }
.cg span.on.we { background: var(--red); color: #fff; }

/* 주말 특가(2026-10-19 대표 결정): 일본 탭 맨 위 칸. 탭 2개는 라디오 단추 + CSS(스크립트 없이 한 번에 바뀜). 카드 = 10개 목록 카드(수정5) 모양을 줄여 한 줄씩 */
.wk { margin: .5rem 0 .25rem; background: #fff; border: 2px solid var(--red); border-radius: .875rem; padding: .5rem .5rem .4375rem; }
.wkh { font-size: 1.125rem; font-weight: 800; color: var(--red); text-align: center; line-height: 1.25; }
.wks { font-size: .8125rem; font-weight: 700; color: var(--sub); text-align: center; margin-bottom: .375rem; }
.wkt { display: flex; flex-wrap: wrap; gap: .3125rem; }
.wkr { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wkt label { flex: 1 1 0; text-align: center; cursor: pointer; font-size: .9375rem; font-weight: 800; padding: .5rem .25rem; border-radius: .5rem; background: #f3efe6; color: var(--sub); border: 1px solid var(--line); }
.wkr:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
.wkr:focus-visible + label { outline: 2px solid var(--ret); outline-offset: 2px; }
.wkp { display: none; flex: 0 0 100%; min-width: 0; flex-direction: column; gap: .375rem; margin-top: .125rem; }
#wk1:checked ~ #wkp1, #wk2:checked ~ #wkp2 { display: flex; }
.wkc { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .375rem; text-decoration: none; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: .75rem; padding: .5rem .5rem .5rem .625rem; min-height: 3.25rem; }
.wkc:active { background: #f1ece0; }
.wkc.sp { border-color: #e9b8bb; background: #fff8f6; }
.w1 { flex: none; width: 4.25rem; }
.w1 b { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); line-height: 1.2; white-space: nowrap; }
.w1 small { display: block; font-size: .75rem; font-weight: 700; color: var(--port); white-space: nowrap; }
.w2 { flex: 1 1 auto; }   /* 좁은 화면·큰 글씨: 날짜가 안 들어가면 가격이 다음 줄 오른쪽으로(겹치지 않게) */
.wd { display: block; font-size: .9375rem; font-weight: 800; color: var(--ink); }   /* 좁은 화면·큰 글씨면 '~' 뒤에서만 줄바꿈 */
.wd i { font-style: normal; white-space: nowrap; }
.wg { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .1875rem; }
.wg em { font-style: normal; font-size: .75rem; font-weight: 700; padding: .0625rem .375rem; border-radius: .375rem; white-space: nowrap; }
.wg .wl { background: #eef1f8; color: var(--navy); }
.wg .wsp { background: var(--red); color: #fff; font-weight: 800; }
.w3 { flex: none; margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.w3 b { font-size: 1.0625rem; font-weight: 800; color: var(--red); white-space: nowrap; }
.w3 .arw { font-style: normal; color: #8a8f9a; font-size: 1.125rem; }
.wkn { padding: 1rem .5rem; text-align: center; font-size: .9375rem; font-weight: 700; color: var(--sub); background: var(--cream); border: 1px solid var(--line); border-radius: .75rem; }
.wkf { font-size: .75rem; color: var(--gray); margin: .375rem .125rem 0; line-height: 1.4; }
/* 연차 특가(2026-10-20 시안, 642행) — 주말 특가 칸(.wk·.wkc) 모양을 그대로 쓰고 탭 열쇠·날짜 두 줄·표시만 더함 */
#yc1:checked ~ #ycp1, #yc2:checked ~ #ycp2, .ycp.one { display: flex; }
.yd { display: block; font-size: .875rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.yd i { display: block; font-style: normal; white-space: nowrap; }
.wg .yaw { background: #fff1d6; color: #8a5a00; }
.wg .yeb { background: #e3f4ea; color: #1d6b3d; }
.wg .ywk { background: #f3efe6; color: var(--sub); }
/* 10-21 v3_연차(사용자 점검관 지적): 전날 값 꼬리표 = 가격 아래 '어제 값' */
.c4 .pw { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.c4 .fbp { font-size: .75rem; font-weight: 700; color: #8a4b00; white-space: nowrap; }
/* 10-21 공유 단추(대표 17:45): 줄 오른쪽 따로 칸(손가락 44px), 줄 누름(›)과 안 겹치게 세로 줄로 나눔 */
.trw { display: grid; grid-template-columns: minmax(0, 1fr) 3rem; column-gap: .25rem; align-items: center; padding-right: .125rem; border-top: 1px solid var(--line); }   /* 10-21 19:25 대표: 공유 단추를 줄(›)과 떨어뜨림 */
.trw .tr, .trw .th { border-top: 0; padding-right: .25rem; padding-left: .375rem; grid-template-columns: 3.125rem minmax(0, 1fr) minmax(0, 1.2fr) 5.875rem; column-gap: .25rem; }   /* 10-21 밤: 공유 칸 3rem(48px)·'여행 공유' 한 줄에 맞춰 칸 너비 다시 나눔(항공사·시각이 가격과 안 겹치게) */
.thw { border-top: 0; background: var(--navy); }
.trw .c4 b { font-size: 1rem; }
.trw .c3 b { word-break: keep-all; overflow-wrap: anywhere; }   /* 10-21 밤: 항공사 두 곳(이스타항공·에어서울)이 칸보다 길면 칸 안에서 줄바꿈(가격과 안 겹치게) · 10-22 다음판: 두 곳 사이는 '·' 뒤 <wbr>에서 줄바꿈, 360px은 글자 12px로 이름 하나가 한 줄에 들어가게. 'anywhere'는 이름 하나도 칸에 안 들어갈 때(글씨 크게 보기)만 겹침 대신 끊음 */
.trw .tr.best + .shr { background: #fff4cc; border-color: #e7cf7a; }
/* 10-21 19:25 대표: [공유]·[이 화면 공유]를 단추처럼 — 둥근 모서리·테두리·옅은 배경·공유 아이콘(인라인 SVG, 외부 없음)·누르면 눌린 느낌 */
.shr { min-width: 2.75rem; min-height: 2.75rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .0625rem; border: 1px solid #c3cadb; border-radius: .625rem; background: #eef2fa; box-shadow: 0 1px 0 rgba(22, 37, 77, .12); color: var(--navy); font: inherit; font-size: .75rem; font-weight: 800; line-height: 1; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shr span { white-space: nowrap; letter-spacing: -.02em; }   /* 10-21 밤 대표: '여행 공유' 한 줄(아이콘 위 + 글자 = 두 줄), 칸 2.75→3rem */
@media (max-width: 374px) { .trw .tr, .trw .th { grid-template-columns: 3.125rem minmax(0, 1.05fr) minmax(0, 1fr) 5.375rem; } .trw .c4 b { font-size: .9375rem; } .trw .c2 { letter-spacing: -.02em; } .trw .c3 small { white-space: normal; } .trw .c3 b { font-size: .75rem; letter-spacing: -.04em; } }   /* 10-21 밤: 좁은 휴대폰(360px)은 항공사·시각을 칸 안에서 줄바꿈(전에는 가격과 겹침) */
.shi { width: 1rem; height: 1rem; flex: none; }
.shr:active, .shp:active { background: #dfe5f2; box-shadow: inset 0 2px 3px rgba(22, 37, 77, .22); transform: translateY(1px); }
.shp-w { text-align: center; margin: .375rem 0 .25rem; }
.shp { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .375rem; padding: 0 1.125rem; border: 1px solid #c3cadb; border-radius: 1.375rem; background: #eef2fa; box-shadow: 0 1px 0 rgba(22, 37, 77, .12); color: var(--navy); font: inherit; font-size: .875rem; font-weight: 800; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wkc.shs { border: 2px solid var(--navy); box-shadow: 0 0 0 3px rgba(22, 37, 77, .12); }   /* 10-21 19:20 카톡 특집 링크로 연 일정 */
.shtoast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); margin: 0; padding: .625rem 1rem; border-radius: 1.25rem; background: rgba(20, 22, 30, .88); color: #fff; font-size: .875rem; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.shtoast.on { opacity: 1; }
.shn { margin: .5rem 0; padding: .625rem .75rem; border-radius: .75rem; background: #fff4cc; color: #6b4a00; font-size: .875rem; font-weight: 700; text-align: center; }   /* 10-21 공유받은 일정 안내 */
/* 10-21 밤(대표 23:35): 연차 카드 = 누르면 그 자리에서 펼침(10개 목록 카드와 같은 펼친 칸 .ex·.ctm·.cal·.book). 카드 겉모양은 예전 .wkc 그대로, 줄 배치는 summary가 맡음 */
.ycd { display: block; padding: 0; }
.ycd > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .375rem; padding: .5rem .5rem .5rem .625rem; min-height: 3.25rem; cursor: pointer; border-radius: .75rem; -webkit-tap-highlight-color: transparent; }
.ycd > summary::-webkit-details-marker { display: none; }
.ycd > summary:active { background: #f1ece0; }
.ycd:active { background: var(--cream); }
.ycd.sp:active { background: #fff8f6; }
.ycd[open] { border: 2px solid var(--navy); box-shadow: 0 .25rem .875rem rgba(22, 37, 77, .15); }
.ycd[open] .chev { transform: rotate(-135deg); margin-bottom: -.25rem; }
.ycd .ex { margin: 0 .625rem .75rem; }
.ycal .cg span.on { background: #dfe5f2; color: var(--navy); }
.ycal .cg span.on.yl { background: var(--navy); color: #fff; }
.ycal .cg span.on.ya { background: #ffe2a8; color: #6b4500; }
.ycal .cg span.on.ye { background: #c8ecd6; color: #1d5c37; }
.ycal .cg span.on.yw, .ycal .cg span.on.yh, .ycal .cg span.on.we { background: #fbe1e3; color: var(--red); }
.ykey { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .375rem; font-size: .75rem; font-weight: 700; color: var(--sub); margin: -.125rem 0 .375rem; }
.ykey i { display: inline-block; width: .75rem; height: .75rem; border-radius: .1875rem; margin-left: .25rem; vertical-align: -.0625rem; }
.ykey i:first-child { margin-left: 0; }
.ykey .yl { background: var(--navy); } .ykey .ya { background: #ffe2a8; } .ykey .ye { background: #c8ecd6; } .ykey .yw { background: #fbe1e3; }
.yln { font-size: .875rem; font-weight: 700; color: var(--ink); line-height: 1.45; }
.yln b { color: var(--navy); font-weight: 800; }
.yln.ya { color: #8a5a00; } .yln.ye { color: #1d6b3d; }
.ycd .shp-w { margin: .5rem 0 0; }
.card .ex .shp-w { margin: .5rem 0 0; }   /* 10-23 상세 공유(대표 휴대폰 캡처): 10개 목록 펼친 카드도 예약 단추 아래 [여행 공유] — 연차 카드와 같은 간격 */
.ycd .book { min-height: 2.75rem; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }   /* 손가락 44px */
/* 10-22 다음판(사용자 점검관 사이트 전체 점검 2026-10-22_06, 비서 결정·대표 위임) */
/*  문제 1: 자정~새벽(00~05시) 출발 = 전날 밤 꼬리표(표·10개 목록·연차 카드), 연차 달력 전날 칸 '공항' */
.c3 small.nite { color: #9a3b00; font-weight: 800; white-space: normal; line-height: 1.25; margin-top: .125rem; }
.nite { color: #9a3b00; font-weight: 800; }
.ctm small.nite { font-size: .8125rem; }
.tg .tn, .wg .ynt { background: #fde6d4; color: #8a3300; }
.yd i.nite { font-size: .8125rem; color: #9a3b00; white-space: normal; }
.ycal .cg span.yn { box-shadow: inset 0 0 0 2px #d9822b; }
.ycal .cg span.yn small { color: #9a3b00; font-weight: 800; }
.ycal .cg span.on.yl.yn small { color: #ffd9b8; }
.ykey .yn { background: #fff; box-shadow: inset 0 0 0 2px #d9822b; }
.ykey .ykn { white-space: nowrap; }   /* 네모와 글자가 줄 끝에서 갈라지지 않게 */
/*  문제 3: 첫 화면 금액순 묶음 제목 · 같은 값으로 묶인 일정 */
.hgrp { font-size: .75rem; font-weight: 800; color: var(--sub); background: #f6f1e6; padding: .3125rem .75rem; border-top: 1px solid var(--line); }
.th + .hgrp { border-top: 0; }
.hgrp + .tr { border-top: 0; }
.htbl .c1 small.mk { color: var(--gray); font-weight: 700; }
/*  문제 5: 표 위 시각 설명 한 줄 */
.tkey { font-size: .75rem; font-weight: 700; color: var(--sub); margin: -.125rem .25rem .3125rem; line-height: 1.4; }
.tkey i { font-style: normal; font-weight: 800; }
.tkey .go { color: var(--dep); } .tkey .bk { color: var(--ret); }
/*  문제 7: 연차 특가가 비었을 때 다음 할 일 단추 */
.wkx { display: flex; flex-direction: column; gap: .375rem; margin-top: .625rem; }
.wkb { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; border-radius: .625rem; background: var(--navy); color: #fff; text-decoration: none; font-size: .9375rem; font-weight: 800; padding: .375rem .75rem; }
.wkb.wkk { background: #fee500; color: #3c1e1e; border: 1.5px solid #3c1e1e; font-weight: 700; }
/* 10-22 표넘침(대표 12:40 캡처: 다낭 '비엣젯항공·에어서울'·'07:00 / 00:40'이 날짜 칸 위로 겹침, '트리니티항/공' 끊김)
   표가 칸 4개(일정·날짜·항공사·가격)에 안 들어가면(좁은 휴대폰·글꼴 크게·안드로이드 글자 크기) 한 줄을 세로로 쌓음:
     1줄 = 일정 ……… 가격 ›  /  2줄 = 날짜(출발 ~ 귀국, 한 줄)  /  3줄 = 항공사(두 곳이면 '·' 뒤에서만 줄바꿈)  /  4줄 = 시각(한 줄)·밤 출발 꼬리표
   켜는 곳 = ① 글꼴 기준 폭 26em(보통 글씨 416px — 휴대폰 360·390·412px 모두) 이하(스크립트 없어도. 칸 4개로는 390px 보통 글씨에서도 항공사 두 줄·밤 출발 꼬리표 세 줄로 지저분) ② 화면 스크립트가 실제로 글자가 칸 밖으로 나간 줄을 찾으면 그 표에 .stk */
.trw .c3 b { overflow-wrap: normal; }   /* 칸 4개일 때 이름 가운데서 끊지 않음(안 들어가면 넘침 → 스크립트가 쌓는 모양으로 바꿈) */
.tbl.stk:not(.htbl) .tr, .tbl.stk:not(.htbl) .th { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a d" "b b" "c c"; row-gap: .125rem; align-items: start; }
.tbl.stk:not(.htbl) .tr.empty { grid-template-areas: none; grid-template-columns: auto 1fr; }
.tbl.stk:not(.htbl) .tr .c1 { grid-area: a; text-align: left; } .tbl.stk:not(.htbl) .tr .c2 { grid-area: b; text-align: left; } .tbl.stk:not(.htbl) .tr .c3 { grid-area: c; text-align: left; } .tbl.stk:not(.htbl) .tr .c4 { grid-area: d; align-self: center; }
.tbl.stk:not(.htbl) .c1 b, .tbl.stk:not(.htbl) .c1 small { display: inline; }
.tbl.stk:not(.htbl) .c1 small { margin-left: .375rem; }
.tbl.stk:not(.htbl) .c2 > span { display: inline-block; margin-right: .25rem; }
.tbl.stk:not(.htbl) .c3 b { font-size: .8125rem; letter-spacing: 0; overflow-wrap: anywhere; }
.tbl.stk:not(.htbl) .c3 small { white-space: nowrap; }
.tbl.stk:not(.htbl) .c3 small.nite, .tbl.stk:not(.htbl) .c3 .nt { white-space: normal; }
.tbl.stk:not(.htbl) .th { display: flex; gap: 0; text-align: left; }
.tbl.stk:not(.htbl) .th span:nth-child(2)::before, .tbl.stk:not(.htbl) .th span:nth-child(3)::before { content: "·"; padding: 0 .25rem; }
.tbl.stk:not(.htbl) .th span:last-child { margin-left: auto; }
@media (max-width: 26em) {
  .tbl:not(.htbl) .tr, .tbl:not(.htbl) .th { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a d" "b b" "c c"; row-gap: .125rem; align-items: start; }
  .tbl:not(.htbl) .tr.empty { grid-template-areas: none; grid-template-columns: auto 1fr; }
  .tbl:not(.htbl) .tr .c1 { grid-area: a; text-align: left; } .tbl:not(.htbl) .tr .c2 { grid-area: b; text-align: left; } .tbl:not(.htbl) .tr .c3 { grid-area: c; text-align: left; } .tbl:not(.htbl) .tr .c4 { grid-area: d; align-self: center; }
  .tbl:not(.htbl) .c1 b, .tbl:not(.htbl) .c1 small { display: inline; }
  .tbl:not(.htbl) .c1 small { margin-left: .375rem; }
  .tbl:not(.htbl) .c2 > span { display: inline-block; margin-right: .25rem; }
  .tbl:not(.htbl) .c3 b { font-size: .8125rem; letter-spacing: 0; overflow-wrap: anywhere; }
  .tbl:not(.htbl) .c3 small { white-space: nowrap; }
  .tbl:not(.htbl) .c3 small.nite, .tbl:not(.htbl) .c3 .nt { white-space: normal; }
  .tbl:not(.htbl) .th { display: flex; gap: 0; text-align: left; }
  .tbl:not(.htbl) .th span:nth-child(2)::before, .tbl:not(.htbl) .th span:nth-child(3)::before { content: "·"; padding: 0 .25rem; }
  .tbl:not(.htbl) .th span:last-child { margin-left: auto; }
}
/* 10-22 공유 링크(대표 12:40): 공유·특집 링크로 연 카드(#s) 맨 위가 위쪽 고정 메뉴 바로 아래에 오게. 화면 스크립트가 메뉴 높이를 재서 맞추고, 스크립트 없을 때는 이 여백 */
#s { scroll-margin-top: 10.5rem; }
/* 10-23 공유 전체(대표 밤 휴대폰 캡처 2장: "다른 나라도 다 있어야 하고, 색상도 원래처럼 꽉 차고 버튼만 다른 색으로 깔끔하게")
   전에는 줄 오른쪽에 공유 칸(3rem)을 따로 둬서 최저가 노란 배경이 그 칸에서 끊김 → 줄(.tr)이 칸 전체 폭, [여행 공유]는 줄 안 오른쪽 아래(가격 아래)에 얹음.
   단추 = 흰 바탕 + 남색 테두리·글씨(줄 배경과 다른 색), 손가락 44px. 단추 자리만큼 항공사·시각 칸 오른쪽을 비워 글자와 안 겹침(날짜 줄은 단추보다 위) */
.trw { grid-template-columns: minmax(0, 1fr); column-gap: 0; padding-right: 0; position: relative; }
.thw .shh { display: none; }
.trw .tr { padding-right: .5rem; padding-bottom: 3.375rem; }
.trw .shr, .trw .tr.best + .shr { position: absolute; right: .5rem; bottom: .5625rem; flex-direction: row; gap: .25rem; min-width: 0; padding: 0 .75rem; border: 1.5px solid var(--navy); border-radius: 1.375rem; background: #fff; box-shadow: 0 1px 0 rgba(22, 37, 77, .1); font-size: .8125rem; }
.trw .shr .shi { width: .9375rem; height: .9375rem; }
.shp { border: 1.5px solid var(--navy); background: #fff; }
@media (max-width: 26em) { .tbl:not(.htbl) .trw .tr { padding-bottom: .5625rem; } .tbl:not(.htbl) .trw .tr .c3 { min-height: 2.75rem; padding-right: 7rem; } }
.tbl.stk:not(.htbl) .trw .tr { padding-bottom: .5625rem; } .tbl.stk:not(.htbl) .trw .tr .c3 { min-height: 2.75rem; padding-right: 7rem; }
.trw .shr:active { background: #eef2fa; }
