/* 제주피싱 공통 스타일 */
:root{--soft:#D3E0E8;--soft2:#B9CCD8;--cta-ink:#10212B;--line-dark:#5E8197;--hero-bg:var(--navy);--hero-ink:#fff;--radius:20px;--shadow:none;--navy:#0E2F44;--navy2:#1B4560;--ink:#10212B;--sub:#5B6770;--line:#E3E1DA;--bg:#F6F5F1;--orange:#E8762B;--orange2:#F6A04D;--brown:#B5541A;--green:#1F7A5A;--green-bg:#E2F2EB;--red:#B3261E}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Noto Sans KR',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;word-break:keep-all}
a{color:var(--brown)}
img{max-width:100%}
.wrap{max-width:1440px;margin:0 auto;padding:0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:12px;font:inherit;font-weight:700;font-size:17px;border:0;cursor:pointer;text-decoration:none}
.btn-main{background:var(--orange);color:var(--cta-ink)}
.btn-main:hover{filter:brightness(1.06)}
.btn-main[disabled]{background:#D9D6CE;color:#6B757B;cursor:default}
.btn-line{border:1px solid var(--line-dark);color:var(--hero-ink);background:transparent}
.btn-dark{background:var(--navy);color:#fff}
.btn-sm{min-height:44px;padding:0 16px;font-size:14px;border-radius:10px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}

/* 헤더 */
.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.logo-mark{width:40px;height:40px;border-radius:10px;background:var(--navy);display:flex;align-items:center;justify-content:center}
.logo b{display:block;font-size:20px;font-weight:700;letter-spacing:-.5px;line-height:1.1}
.logo small{display:block;font-size:12px;color:var(--sub)}
.nav{display:flex;flex-wrap:wrap;gap:2px}
.nav a{color:var(--ink);text-decoration:none;padding:12px;font-weight:500;font-size:15px}

/* 첫 화면 */
.hero{background:var(--hero-bg);color:var(--hero-ink)}
.hero .wrap{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding-top:60px;padding-bottom:60px}
.hero-text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:18px}
.badge{align-self:flex-start;background:var(--orange2);color:var(--cta-ink);font-weight:700;font-size:14px;padding:6px 14px;border-radius:999px}
.hero h1{margin:0;font-size:52px;line-height:1.15;font-weight:700;letter-spacing:-1.5px}
.hero p{margin:0;font-size:18px;color:var(--soft)}
.hero-btns{display:flex;flex-wrap:wrap;gap:12px}
.hero-photo{flex:1 1 420px;min-width:0;height:360px;border-radius:20px;background:var(--navy2) var(--hero-img,url(/images/hero.jpg)) center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:var(--soft2)}
.facts{background:#fff;border-bottom:1px solid var(--line)}
.facts .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:22px;padding-bottom:22px}
.fact span{display:block;font-size:13px;color:var(--sub)}
.fact b{font-size:19px}

/* 섹션 */
.sec{padding:56px 0 8px}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px}
.sec-head h2{margin:0;font-size:32px;font-weight:700;letter-spacing:-.5px}
.sec-head p{margin:6px 0 0;color:var(--sub);font-size:15px}

/* 달력 + 예약 */
.book{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.cal{flex:999 1 560px;min-width:0}
.cal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cal-top b{font-size:20px}
.cal-nav{display:flex;gap:6px}
.cal-nav button{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:20px}
.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--sub);margin-bottom:12px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px}
.dow,.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.dow{font-size:13px;color:var(--sub);text-align:center;margin-bottom:6px}
.day{min-height:68px;border-radius:10px;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer;padding:4px 2px}
.day small{font-size:11px;font-weight:500;color:var(--green)}
.day.few small{color:var(--brown)}
.day[disabled]{background:#F1F0EB;color:#6B757B;cursor:default}
.day[disabled] small{color:#6B757B}
.day.sel{background:var(--navy);border-color:var(--navy);color:#fff}
.day.sel small{color:var(--orange2)}
.cal-msg{color:var(--sub);font-size:14px;margin:12px 0 0}
.cal-note{color:var(--sub);font-size:13px;margin:6px 0 0}
.day b{font-size:15px;line-height:1.1}
.day .tide{font-style:normal;font-size:11px;font-weight:700;color:var(--sub);line-height:1.1}
.day .tide.sari{color:#B5541A}
.day .tide.jogeum{color:#2F69AD}
.day.sel .tide{color:var(--soft)}
.day.sel .tide.sari{color:var(--orange2)}
.day.sel .tide.jogeum{color:#9CC3EC}
.sel-tide{font-size:13px;color:var(--soft2);margin-top:4px;min-height:18px}
.side .hint{margin:0 0 10px;font-size:13px;color:var(--soft)}
.side{flex:1 1 340px;min-width:0;background:var(--navy);color:#fff;border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:14px}
.side .lbl{font-size:14px;color:var(--soft2)}
.side .date{font-size:26px;font-weight:700}
.stats{display:flex;gap:10px}
.stats div{flex:1;background:var(--navy2);border-radius:12px;padding:12px 14px}
.stats span{display:block;font-size:13px;color:var(--soft2)}
.stats b{font-size:22px}
.side form{display:flex;flex-direction:column;gap:12px}
.side label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--soft)}
.side input[type=text],.side input[type=tel],.side textarea{font:inherit;font-size:16px;padding:12px;border-radius:10px;border:0;color:var(--ink);background:#fff}
.stepper{display:flex;align-items:center;justify-content:space-between;background:var(--navy2);border-radius:12px;padding:6px 6px 6px 14px}
.stepper button{width:44px;height:44px;border-radius:10px;border:0;background:#fff;color:var(--navy);font-size:24px;font-weight:700;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.stepper button:active{background:#E8792B;color:#fff}
.stepper button:disabled{opacity:.35;cursor:default}
.stepper b{min-width:44px;text-align:center;font-size:18px}
.agree{flex-direction:row !important;align-items:flex-start;gap:10px !important;font-size:13px !important}
.agree input{width:20px;height:20px;margin-top:2px;flex:none}
.total{display:flex;justify-content:space-between;align-items:baseline;font-size:15px}
.total b{font-size:22px}
.err{background:#FBE7DA;color:#7A3410;border-radius:10px;padding:10px 12px;font-size:14px}
.side p{margin:0;font-size:13px;color:var(--soft2)}
.hp{position:absolute;left:-9999px}
.member{background:var(--navy2);border-radius:12px;padding:14px;margin-bottom:12px;font-size:14px}
.member .m-title{display:block;color:#fff;font-weight:700;margin-bottom:10px}
.member .m-sub{display:block;color:var(--soft2);font-size:12px;margin-top:10px}
.m-btns{display:flex;flex-direction:column;gap:8px}
.m-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:10px;font-weight:700;font-size:15px;text-decoration:none}
.m-kakao{background:#FEE500;color:#191600}
.m-naver{background:#03C75A;color:#fff}
.m-google{background:#fff;color:#1F1F1F;border:1px solid #DADCE0}
#member-in{display:flex;justify-content:space-between;align-items:center;color:#fff}
#member-in small{color:var(--soft2)}
.m-link{background:none;border:0;color:var(--orange2);font:inherit;font-size:14px;cursor:pointer;min-height:44px;padding:0 4px}
.mine-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #ECEAE3;font-size:15px}
.mine-row:last-child{border-bottom:0}
.pill{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.p-pending{background:#FBE7DA;color:#7A3410}
.p-confirmed{background:var(--green-bg);color:#14553E}
.p-cancelled{background:#ECEAE3;color:#5B6770}

/* 완료 화면 */
.done{display:flex;flex-direction:column;gap:14px}
.done h3{margin:0;font-size:24px}
.box{background:var(--navy2);border-radius:12px;padding:14px 16px;font-size:15px;line-height:1.7}
.steps{margin:0;padding-left:20px;font-size:14px;line-height:1.8;color:var(--soft)}
.apps{display:flex;flex-wrap:wrap;gap:8px}
.apps a{background:#fff;color:var(--ink);text-decoration:none;font-weight:700;font-size:14px;padding:10px 14px;border-radius:10px;min-height:44px;display:inline-flex;align-items:center}

/* FAQ */
.chat{display:flex;flex-wrap:wrap;gap:28px}
.chat-intro{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:10px}
.chat-intro h2{margin:0;font-size:28px;font-weight:700}
.chat-intro p{margin:0;color:var(--sub);font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.chip{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #CFCCC2;background:#fff;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.chat-box{flex:1 1 420px;min-width:0;background:var(--bg);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:12px}
.q{align-self:flex-end;max-width:80%;background:var(--navy);color:#fff;padding:12px 16px;border-radius:16px 16px 4px 16px}
.a{align-self:flex-start;max-width:88%;background:#fff;border:1px solid var(--line);padding:14px 16px;border-radius:16px 16px 16px 4px;white-space:pre-line}

/* 안내 */
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.grid2 h3{margin:0 0 12px;font-size:20px;font-weight:700}
.row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ECEAE3}
.row:last-of-type{border-bottom:0}
.note{margin:10px 0 0;font-size:13px;color:var(--sub)}
.list{margin:0;padding-left:20px;line-height:1.9}
.foot{background:var(--ink);color:#B9C3C9;margin-top:56px}
.foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding-top:30px;padding-bottom:30px;font-size:14px;line-height:1.8}
.foot a{color:var(--orange2)}
.call{position:fixed;right:16px;bottom:16px;z-index:30;display:none;background:var(--orange);color:var(--ink);font-weight:700;text-decoration:none;padding:14px 18px;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.18)}

@media (max-width:768px){
  .wrap{padding:0 16px}
  .nav{display:none}
  .hero .wrap{padding-top:26px;padding-bottom:26px;gap:18px}
  .hero h1{font-size:30px;letter-spacing:-1px}
  .hero p{font-size:14px}
  .hero-photo{height:230px;border-radius:14px}
  .hero-btns .btn{width:100%}
  .facts .wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:14px;padding-bottom:14px}
  .fact b{font-size:16px}
  .sec{padding:30px 0 4px}
  .sec-head h2{font-size:22px}
  .card{padding:16px;border-radius:16px}
  .day{min-height:56px;font-size:14px}
  .day .tide{font-size:10px}
  .legend{gap:10px;font-size:12px}
  .day small{font-size:10px}
  .side{padding:18px}
  .side .date{font-size:22px}
  .grid2{grid-template-columns:minmax(0,1fr)}
  .chat-intro h2{font-size:22px}
  .call{display:inline-flex}
  .foot{margin-bottom:70px}
}

/* 날짜별 확정·입금대기 인원 */
.day .cnt{font-style:normal;font-size:10px;font-weight:600;line-height:1.1;white-space:nowrap}
.day .cnt .c{color:#2E7D4F}
.day .cnt .p{color:#B5541A}
.day.sel .cnt .c,.day.sel .cnt .p{color:#fff}
.day[disabled] .cnt .c,.day[disabled] .cnt .p{color:#6B757B}
.cnt-legend{font-size:12px;color:var(--sub);margin:6px 0 0}
.cnt-legend .c{color:#2E7D4F;font-weight:700}
.cnt-legend .p{color:#B5541A;font-weight:700}
.sel-count{list-style:none;margin:0 0 10px;padding:0;font-size:13px}
.sel-count li{display:flex;gap:8px;align-items:center;padding:6px 0;border-bottom:1px dashed var(--line)}
.sel-count li span{min-width:40px;font-weight:700}
.sel-count li b{font-weight:600}
.sel-count li b.c{color:#2E7D4F}
.sel-count li b.p{color:#B5541A}
.sel-count li b:last-child{margin-left:auto;color:var(--sub)}
@media (max-width:600px){.day .cnt{font-size:9px}}

/* 고른 날짜 요약 + 예약 입력으로 이동 */
.pick-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 12px;border-radius:12px;background:var(--navy);color:#fff;font-size:14px;font-weight:600}
.pick-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pick-bar button{flex:none;border:0;border-radius:10px;padding:8px 12px;background:var(--orange2);color:var(--navy);font:inherit;font-weight:700;cursor:pointer}
@media (min-width:900px){.pick-bar button{display:none}}

/* 예약 취소 */
.cx-find{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}
.cx label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--sub)}
.cx label{min-width:0}
.cx input[type=text],.cx input[type=tel]{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:16px;padding:12px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.cx-list{margin-top:16px;display:flex;flex-direction:column}
.cx label.cx-row{flex-direction:row;color:var(--ink);text-align:left}
.cx-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ECEAE3;font-size:15px;cursor:pointer}
.cx-row input{width:22px;height:22px;flex:none}
.cx-row .d{flex:1;display:flex;flex-direction:column;gap:2px}
.cx-row .d small{color:var(--sub);font-size:13px}
.cx-row .r{font-weight:700;white-space:nowrap}
.cx-row .r.zero{color:var(--sub);font-weight:500}
.cx-refund{margin-top:14px;padding:14px;border-radius:12px;background:#F6F4EE;display:flex;flex-direction:column;gap:10px}
.cx-acc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr);gap:10px}
.cx-refund small{color:var(--sub);font-size:13px}
.cx-sum{margin:14px 0;font-size:15px}
.cx-sum b{font-size:20px}
.cx-done{margin-top:12px;padding:14px;border-radius:12px;background:#E8F3EC;color:#1F5133;font-size:15px;line-height:1.6}
.cx-find button{min-height:50px;white-space:nowrap}
@media (max-width:700px){
  .cx-acc{grid-template-columns:1fr}
  .cx-find{grid-template-columns:minmax(0,1fr) auto}
  .cx-find label:first-child{grid-column:1 / -1}
  .cx-find button{padding:0 14px}
}

/* 조황 포인트 */
.ptbox{border:1px dashed rgba(255,255,255,.35);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.pt-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px}
.pt-top small{opacity:.75;font-size:12px}
.pt-row{display:flex;gap:8px}
.pt-row input{flex:1;min-width:0;font:inherit;font-size:16px;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.3);background:#fff;color:var(--ink)}
.pt-row button{flex:none;border:0;border-radius:10px;padding:0 14px;font:inherit;font-weight:700;background:var(--orange2);color:var(--navy);cursor:pointer}
.pts{margin-top:16px;padding:12px 14px;border-radius:12px;background:#F6F4EE;font-size:14px}
.pts b{font-size:18px}
.pts details{margin-top:6px}
.pts summary{cursor:pointer;color:var(--sub);font-size:13px}
.pts li{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid #ECEAE3;font-size:13px}
.pts ul{list-style:none;margin:6px 0 0;padding:0}
.rp{margin-top:16px;padding:16px;border-radius:14px;border:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.rp h3{margin:0;font-size:18px}
.rp-rule{margin:0;font-size:13px;color:var(--sub);line-height:1.6}
.rp-trips{display:flex;flex-wrap:wrap;gap:8px}
.rp-trips label{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;cursor:pointer}
.rp-l{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--sub)}
.rp textarea{font:inherit;font-size:16px;padding:10px 12px;border-radius:10px;border:1px solid var(--line);resize:vertical;color:var(--ink)}
.rp-count{font-size:12px;color:var(--sub);margin-top:-6px;text-align:right}
.rp-thumbs{display:flex;gap:6px;flex-wrap:wrap}
.rp-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.my-reports{margin-top:12px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.my-reports div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #ECEAE3}
.catch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.ct{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.ct img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#ECEAE3}
.ct .ct-b{padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.ct .ct-h{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--sub)}
.ct .ct-t{font-size:14px;line-height:1.6;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ct .best{background:var(--orange2);color:var(--navy);font-weight:700;font-size:12px;padding:2px 8px;border-radius:999px}
.ct .more{font-size:12px;color:var(--sub)}
/* 메인 큰 사진: 밴드 사진 슬라이드 */
.hero-photo.slides{position:relative;overflow:hidden}
.hero-photo .sl{position:absolute;inset:0;background:center/cover no-repeat;opacity:0;transition:opacity 1s ease}
.hero-photo .sl.on{opacity:1}
.hero-photo .dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}
.hero-photo .dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5)}
.hero-photo .dots i.on{background:#fff}
.hero-photo .src{position:absolute;right:10px;top:10px;z-index:2;font-size:12px;color:#fff;background:rgba(0,0,0,.45);padding:3px 8px;border-radius:10px}
/* 배·선장 소개 */
.intro-sec .card h3{margin:0 0 10px}
.intro-tx{margin:0;white-space:pre-line;line-height:1.7;color:var(--ink)}
.seasons{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.seasons div{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;background:#F4F2EC;border-radius:10px;font-size:14px}
.seasons b{white-space:nowrap}
.sel-trip{font-size:13px;color:var(--soft);margin-top:4px;white-space:pre-line}
.seasons div small{display:block;color:var(--sub);font-size:12px;margin-top:2px}

/* ---------- 디자인 테마 (관리 화면 → 사이트 관리 → 디자인) ---------- */
/* 겨울 바다 = 기본(위 값) */
/* 밝은 앱형: 흰 바탕 · 파란 강조 · 그림자 카드 */
html[data-theme=app]{--navy:#3C66B8;--navy2:#2C5093;--ink:#14171F;--sub:#646B78;--line:#E6E9EF;--bg:#F3F5F8;--orange:#3C66B8;--orange2:#E9EEF7;--cta-ink:#fff;--brown:#3C66B8;--soft:#E7EDF7;--soft2:#C3D1EA;--line-dark:#3C66B8;--hero-bg:#fff;--hero-ink:#14171F;--radius:16px;--shadow:0 2px 10px rgba(20,40,90,.07)}
html[data-theme=app] .hero p{color:var(--sub)}
html[data-theme=app] .badge{color:#3C66B8}
html[data-theme=app] .hero-photo{box-shadow:0 8px 24px rgba(20,40,90,.15)}
html[data-theme=app] .facts .wrap{gap:10px}
html[data-theme=app] .fact{background:#F3F5F9;border-radius:12px;padding:12px 14px}
html[data-theme=app] .top{box-shadow:0 1px 0 var(--line)}
html[data-theme=app] .day.sel{background:#3C66B8;border-color:#3C66B8}
/* 여름밤 한치: 검푸른 밤바다 · 집어등 노랑 */
html[data-theme=night]{--navy:#06192A;--navy2:#0F2C45;--ink:#0D1B26;--orange:#FFC533;--orange2:#FFD966;--cta-ink:#1A1400;--brown:#B07A00;--bg:#EEF2F5;--line-dark:#3E6A8A;--soft:#CFE0EC;--soft2:#93B3C9}
html[data-theme=night] .hero{background:linear-gradient(160deg,#03111D 0%,#0B2A44 100%)}
/* 제주 봄: 하늘색 · 유채꽃 노랑 */
html[data-theme=spring]{--navy:#154F7C;--navy2:#2E6E9E;--ink:#10273A;--orange:#EDBE12;--orange2:#F7D44C;--cta-ink:#2A2000;--brown:#155A8C;--bg:#F3F7FA;--line:#DCE5EC;--line-dark:#6E9CC0;--soft:#DCEAF5;--soft2:#A9C8E0;--hero-img:url(/images/hero-bright.jpg)}
html[data-theme=spring] .hero{background:linear-gradient(160deg,#134A75 0%,#2A71A6 100%)}
/* 가을 갈치: 은빛 회색 · 주황 */
html[data-theme=autumn]{--navy:#39434E;--navy2:#5A6672;--ink:#1E2329;--orange:#E9672A;--orange2:#F4A261;--cta-ink:#fff;--brown:#B8501C;--bg:#F4F3F1;--line-dark:#8C99A6;--soft:#E2E6EA;--soft2:#B7C0C9}
html[data-theme=autumn] .hero{background:linear-gradient(160deg,#2E363F 0%,#56616D 100%)}
/* 사진형: 첫 화면을 큰 사진으로 */
html[data-theme=photo] .hero{position:relative;background:#0B1F2E center/cover no-repeat;background-image:var(--hero-img,url(/images/hero.jpg))}
html[data-theme=photo] .hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,20,32,.35) 0%,rgba(5,20,32,.75) 100%)}
html[data-theme=photo] .hero .wrap{position:relative;min-height:440px;align-items:flex-end}
html[data-theme=photo] .hero-photo{display:none}

/* 꽉 찬 레이아웃: 좌우 여백 최소화 */
@media (max-width:768px){
  .wrap{padding:0 10px}
  .card{padding:14px 12px;border-radius:14px}
  .side{padding:16px 12px;border-radius:16px}
  .hero .wrap{padding-left:0;padding-right:0}
  .hero-text{padding:0 14px}
  .hero-photo{border-radius:0;height:250px}
  .facts .wrap{padding-left:10px;padding-right:10px}
  .day{min-height:54px}
  .dow,.grid{gap:4px}
}
@media (max-width:400px){
  .wrap{padding:0 8px}
  .card{padding:12px 10px}
}

/* ---------- 글자 잘 보이게 (명도 대비) ---------- */
:root{color-scheme:light}
input,select,textarea{color:var(--ink);background-color:#fff;-webkit-text-fill-color:var(--ink);opacity:1}
input::placeholder,textarea::placeholder{color:#7C868D;-webkit-text-fill-color:#7C868D;opacity:1}
input:disabled,select:disabled,textarea:disabled{color:#4A545B;-webkit-text-fill-color:#4A545B;background:#EEEDE8}
button{color:inherit}
.btn-main[disabled]{background:#CFCCC4;color:#3F474D}
/* 어두운 예약 칸 안의 작은 글씨 */
.side .sel-count li{border-bottom-color:rgba(255,255,255,.2)}
.side .sel-count li b.c{color:#8FE0B5}
.side .sel-count li b.p{color:#FFC08A}
.side .sel-count li b:last-child{color:var(--soft)}
.side .stepper button{background:#fff;color:var(--navy)}
.side .stepper output,.side .stepper span{color:#fff}
.side small,.side .note{color:var(--soft)}

/* ---------- 달력 칸 정렬: 모든 날짜 숫자가 같은 자리에 ---------- */
.day{display:grid !important;grid-template-rows:20px 14px 15px 13px;align-content:start;justify-items:center;row-gap:1px;padding:7px 2px 5px;min-height:72px}
.day b{font-size:16px;line-height:20px}
.day .tide{line-height:14px;min-height:14px}
.day small{line-height:15px;white-space:nowrap}
.day .cnt{line-height:13px;min-height:13px}
@media (max-width:768px){
  .day{grid-template-rows:18px 13px 14px 12px;min-height:64px;padding:6px 1px 4px}
  .day b{font-size:15px;line-height:18px}
  .day .tide,.day small{font-size:10px}
  .day .cnt{font-size:9px}
}

/* ---------- 글자 크기 단계 정리 ---------- */
.sec-head h2{font-size:28px;line-height:1.25}
.sec-head p{font-size:15px;line-height:1.6}
@media (max-width:768px){
  body{font-size:15px}
  .sec{padding:28px 0 4px}
  .sec-head{margin-bottom:14px}
  .sec-head h2{font-size:21px}
  .sec-head p{font-size:13.5px}
  .card h3{font-size:17px}
}

/* ---------- 맨 아래: 연락처는 보통 글씨, 사업자 정보는 작게 ---------- */
.foot{margin-top:40px}
.foot .wrap{display:block;padding-top:22px;padding-bottom:26px;font-size:13px;line-height:1.7}
.foot-main{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;color:#D7DEE3;font-size:14px}
.foot-main a{color:var(--orange2);font-weight:700;text-decoration:none}
.foot-biz{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:11.5px;line-height:1.7;color:#8D99A2}
.foot-biz span+span::before{content:' · '}

/* ---------- 데스크톱: 달력 높이를 예약창과 맞추고 글씨 키우기 ---------- */
@media (min-width:1024px){
  .book{align-items:stretch}
  .cal{display:flex;flex-direction:column}
  .cal .grid{flex:1 1 auto;grid-auto-rows:minmax(96px,1fr);gap:8px}
  .cal-top b{font-size:24px}
  .legend{font-size:14px;margin-bottom:14px}
  .dow{font-size:15px;font-weight:700;margin-bottom:8px}
  .day{grid-template-rows:auto auto auto auto;align-content:center;row-gap:4px;min-height:96px;padding:8px 4px;border-radius:12px}
  .day b{font-size:22px;line-height:26px}
  .day .tide{font-size:14px;line-height:18px;min-height:18px}
  .day small{font-size:14px;line-height:18px}
  .day .cnt{font-size:13px;line-height:17px;min-height:17px}
  .cnt-legend,.cal-note{font-size:14px}
  .cal-msg{font-size:15px}
}

/* ---------- 서체 정리: 굵기 단계 줄이기 (제목 700 · 강조 600 · 보조 500 · 본문 400) ---------- */
body{font-weight:400;-webkit-font-smoothing:antialiased}
b,strong{font-weight:600}
h1,h2{font-weight:700}
h3,h4{font-weight:600}
.hero h1{font-weight:700;letter-spacing:-1px}
.sec-head h2,.chat-intro h2{font-weight:700;letter-spacing:-.3px}
.grid2 h3{font-weight:600}
.logo b{font-weight:700}
.side .date{font-weight:700}
.btn,.m-btn,.pick-bar button,.pt-row button,.apps a,.call{font-weight:600}
.badge,.pill,.ct .best{font-weight:600}
.member .m-title{font-weight:600}
.foot-main a,.cx-row .r,.sel-count li span{font-weight:600}
.sel-count li b{font-weight:500}
.cnt-legend .c,.cnt-legend .p{font-weight:600}
/* 달력: 날짜만 600, 나머지는 가볍게 */
.dow{font-weight:500}
.day{font-weight:400}
.day b{font-weight:600}
.day .tide{font-weight:500}
.day small{font-weight:400}
.day .cnt{font-weight:500}
.cal-top b{font-weight:600}

/* ---------- 물 세기 막대 (1~5단계) ---------- */
.day .tide{display:inline-flex;align-items:flex-end;justify-content:center;gap:4px;white-space:nowrap}
.tbar{display:inline-flex;align-items:flex-end;gap:1.5px;height:11px}
.tbar u{display:block;width:3px;border-radius:1px;background:#D9D6CC;text-decoration:none}
.tbar u:nth-child(1){height:3px}.tbar u:nth-child(2){height:5px}.tbar u:nth-child(3){height:7px}.tbar u:nth-child(4){height:9px}.tbar u:nth-child(5){height:11px}
.tbar.lv1 u.on,.tbar.lv2 u.on{background:#5B8FC9}
.tbar.lv3 u.on{background:#6F7D86}
.tbar.lv4 u.on,.tbar.lv5 u.on{background:#D9762E}
.day.sel .tbar u{background:rgba(255,255,255,.3)}
.day.sel .tbar u.on{background:#fff}
.day[disabled] .tbar u.on{opacity:.75}
.tbar-key{display:inline-flex;align-items:center;gap:5px}
.tbar-key .tbar{margin:0 1px}
@media (min-width:1024px){
  .tbar{height:15px;gap:2px}
  .tbar u{width:4px}
  .tbar u:nth-child(1){height:4px}.tbar u:nth-child(2){height:7px}.tbar u:nth-child(3){height:10px}.tbar u:nth-child(4){height:13px}.tbar u:nth-child(5){height:15px}
}
@media (max-width:420px){.day .tide{gap:3px}}


/* ---------- 물 세기 표시 방식 시험: data-tide = bar(가로 막대) | fill(칸 색) | sig(신호 모양) ---------- */
.tline{display:none}
html:not([data-tide=sig]) .day .tide .tbar{display:none}
/* 가로 막대: 칸 아래쪽에 5칸 막대 */
html[data-tide=bar] .day{position:relative;padding-bottom:14px !important}
html[data-tide=bar] .tline{display:flex;gap:2px;position:absolute;left:7px;right:7px;bottom:6px;height:6px}
html[data-tide=bar] .tline u{flex:1;border-radius:2px;background:#E4E1D8;text-decoration:none}
html[data-tide=bar] .tline.lv1 u.on,html[data-tide=bar] .tline.lv2 u.on{background:#4E86C6}
html[data-tide=bar] .tline.lv3 u.on{background:#7D8A93}
html[data-tide=bar] .tline.lv4 u.on,html[data-tide=bar] .tline.lv5 u.on{background:#D9762E}
html[data-tide=bar] .day.sel .tline u{background:rgba(255,255,255,.28)}
html[data-tide=bar] .day.sel .tline u.on{background:#fff}
@media (min-width:1024px){html[data-tide=bar] .tline{left:12px;right:12px;bottom:10px;height:8px;gap:3px}html[data-tide=bar] .day{padding-bottom:20px !important}}
/* 칸 색: 물이 셀수록 주황, 약할수록 파랑 */
html[data-tide=fill] .day.lv1{background:#DCEAF8;border-color:#BCD5EF}
html[data-tide=fill] .day.lv2{background:#EBF3FB;border-color:#D3E3F3}
html[data-tide=fill] .day.lv3{background:#FFFFFF}
html[data-tide=fill] .day.lv4{background:#FCEBDD;border-color:#F3D2B6}
html[data-tide=fill] .day.lv5{background:#F8D9BF;border-color:#EDBB92}
html[data-tide=fill] .day[disabled]{opacity:.55}
html[data-tide=fill] .day.sel{background:var(--navy);border-color:var(--navy)}
.k-sig,.k-bar,.k-fill{display:none !important}
html[data-tide=sig] .k-sig,html[data-tide=bar] .k-bar,html[data-tide=fill] .k-fill{display:inline-flex !important}
.kbar{display:inline-flex;gap:2px;width:44px;height:6px}
.kbar u{flex:1;border-radius:2px;background:#E4E1D8;text-decoration:none}
.kbar.lv1 u.on{background:#4E86C6}.kbar.lv5 u.on{background:#D9762E}

/* 수위 곡선: 칸 아래쪽을 바닷물로 채우고 수면을 옆 날짜와 곡선으로 이음 */
.wave,.k-wave{display:none}
html[data-tide=wave] .k-wave{display:inline-flex !important}
html[data-tide=wave] .day{position:relative;overflow:hidden;isolation:isolate}
html[data-tide=wave] .day>*:not(.wave){position:relative;z-index:1}
html[data-tide=wave] .wave{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
html[data-tide=wave] .w-fill{fill:#D3E7F8}
html[data-tide=wave] .w-line{fill:none;stroke:#6FA8DA;stroke-width:.6}
html[data-tide=wave] .day[disabled] .w-fill{fill:#DDE5EC}
html[data-tide=wave] .day[disabled] .w-line{stroke:#AFC3D3}
html[data-tide=wave] .day.sel .w-fill{fill:rgba(255,255,255,.16)}
html[data-tide=wave] .day.sel .w-line{stroke:rgba(255,255,255,.55)}
html[data-tide=wave] .day .tide{color:#245C8F}
html[data-tide=wave] .day .tide.sari{color:#B5541A}
html[data-tide=wave] .day.sel .tide{color:#fff}

/* ---------- 모바일 첫 화면: 짧은 소개 + 바로 달력 ---------- */
@media (max-width:768px){
  main{display:flex;flex-direction:column}
  main>*{order:3}
  main>.hero{order:0}
  main>#booking{order:1}
  main>.facts{order:2}
  .hero{position:relative;overflow:hidden}
  .hero .wrap{position:relative;z-index:1;padding-top:18px;padding-bottom:18px;gap:0}
  .hero-text{gap:8px}
  .hero .badge{font-size:12px;padding:4px 10px}
  .hero h1{font-size:22px;line-height:1.3;letter-spacing:-.5px}
  .hero h1 br{display:none}
  .hero p{font-size:13px;line-height:1.5}
  .hero-btns{display:none}
  /* 사진은 글 뒤 배경으로 */
  .hero-photo{position:absolute;inset:0;z-index:0;height:auto;border-radius:0;margin:0;flex:none}
  .hero-photo .dots,.hero-photo .src{display:none}
  .hero::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(8,26,38,.88) 0%,rgba(8,26,38,.72) 60%,rgba(8,26,38,.5) 100%);pointer-events:none}
  .hero .wrap{position:static}
  .hero-text{position:relative;z-index:2}
  .hero::after{z-index:1}
  #booking.sec{padding-top:16px}
  #booking .sec-head{margin-bottom:12px}
  #booking .sec-head h2{font-size:20px}
  #booking .sec-head p{font-size:13px;line-height:1.5}
  /* 테마와 상관없이 배경 사진 위 글자는 흰색 */
  .hero,html[data-theme] .hero{color:#fff}
  .hero p,html[data-theme] .hero p{color:rgba(255,255,255,.86)}
  html[data-theme=photo] .hero .wrap{min-height:0}
  html[data-theme=photo] .hero::before{display:none}
}
@media (max-width:768px){
  #booking .sec-head p{display:none}
  #booking .sec-head h2{font-size:19px}
}
.k-wave i{width:14px !important;height:14px !important;margin:0 2px 0 4px !important;border-radius:3px}

/* ---------- 모바일: 머리글(로고·예약하기)과 소개를 한 장의 사진 배경으로 ---------- */
@media (max-width:768px){
  :root{--hh:68px;--sea-shade:linear-gradient(90deg,rgba(8,26,38,.86) 0%,rgba(8,26,38,.70) 60%,rgba(8,26,38,.5) 100%)}
  .top,html[data-theme] .top{background:var(--sea-shade),var(--hero-img,url(/images/hero.jpg)) center 0/100% auto no-repeat,#0B1F2E;border-bottom:0;box-shadow:none}
  .hero,html[data-theme] .hero{background:var(--sea-shade),var(--hero-img,url(/images/hero.jpg)) center calc(-1 * var(--hh))/100% auto no-repeat,#0B1F2E}
  .hero::after,.hero-photo{display:none}
  .top .logo,.top .logo b{color:#fff}
  .top .logo small{color:rgba(255,255,255,.75)}
  .top .logo-mark{background:rgba(255,255,255,.12)}
}

/* ---------- 바람 (오전·오후 화살표 + 풍속) ---------- */
.day .wind{font-style:normal;display:flex;justify-content:center;gap:5px;font-size:11px;font-weight:600;line-height:14px;color:#3E4A52;white-space:nowrap;position:relative;z-index:1}
.wa{display:inline-flex;align-items:center;gap:1px}
.wa i{font-style:normal;display:inline-block;font-weight:700;line-height:1}
.wa.w-mid{color:#B5541A}
.wa.w-hi{color:#C0262D}
.day.sel .wind,.day.sel .wa{color:#fff}
.wind-key{font-size:12.5px;color:var(--sub);margin:8px 0 0;line-height:1.7}
.wind-key .wa{font-weight:600;color:#3E4A52}
.wind-key .wa.w-mid{color:#B5541A}.wind-key .wa.w-hi{color:#C0262D}
@media (min-width:1024px){.day .wind{font-size:13px;line-height:17px;gap:8px}.wind-key{font-size:14px}}

/* ---------- 날짜 칸: 바람(맨 위) · 날짜 · 물때 · 상태 · 인원, 세로 가운데 정렬 ---------- */
.day{grid-template-rows:15px 20px 14px 15px 13px !important;align-content:center !important;min-height:90px}
.day .wind{gap:4px;line-height:15px;align-self:end}
@media (max-width:768px){
  .day{grid-template-rows:13px 18px 13px 14px 12px !important;min-height:82px;padding:5px 0 4px !important}
  .day .wind{font-size:10px;gap:2px;letter-spacing:-.4px;line-height:13px}
  .day .wind .wa{gap:0}
}
@media (min-width:1024px){
  .day{grid-template-rows:18px auto auto auto auto !important;row-gap:4px}
  .day .wind{line-height:18px}
}
.btn-out{border:1px solid #CFCCC2;color:var(--ink);background:#fff}

/* ---------- 마감 임박(남은 자리 3석 이하): 붉은 굵은 글씨로 점멸 ---------- */
@keyframes jf-blink{0%,100%{opacity:1}50%{opacity:.25}}
.day.few small{color:#D21F2B !important;font-weight:700 !important;animation:jf-blink 1.1s ease-in-out infinite}
.day.few:not(.sel){border-color:#E89A9F}
.day.sel.few small{color:#FFD2D5 !important}
.legend .few-key i{background:#D21F2B !important;animation:jf-blink 1.1s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.day.few small,.legend .few-key i{animation:none}}

/* 출조 당일 승선 손님: 맨 위 버튼이 '조과 올리기' */
.top .btn-catch{background:#1E7A4F !important;color:#fff !important}

/* ---------- 제주 기상특보 띠 ---------- */
.alert-bar{border-radius:12px;padding:10px 14px;margin:0 0 14px;font-size:14px;line-height:1.6;display:block}
.alert-bar b{margin-right:6px}
.alert-bar small{color:var(--sub);font-size:12px;margin-left:4px}
.alert-bar a{color:inherit}
.alert-bar.none{background:#EAF4EE;border:1px solid #BFDCCB;color:#14553E}
.alert-bar.none span:first-of-type{font-weight:700}
.alert-bar.on{background:#FDECEC;border:2px solid #D21F2B;color:#8E1B22}
.alert-bar.on ul{margin:4px 0 2px;padding-left:18px}
.alert-bar.on small{display:block;margin:4px 0 0;color:#8E1B22}
.alert-bar.unknown{background:#F4F2EC;border:1px solid var(--line);color:var(--sub)}
.alert-bar .pre{color:#B5541A}
a.alert-bar{text-decoration:none}
a.alert-bar[hidden]{display:none}
.alert-bar small{display:inline}
.alert-bar.on .blink{animation:jf-blink 1s ease-in-out infinite;color:#C0141F}
.alert-bar.on small{display:block}
@media (prefers-reduced-motion:reduce){.alert-bar.on .blink{animation:none}}

/* 공지 한 줄 */
.notice-bar{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0 0 14px;text-decoration:none;color:var(--ink);font-size:14px}
.notice-bar[hidden]{display:none}
.notice-bar b{flex:none;background:var(--orange,#E8762B);color:#fff;border-radius:999px;padding:1px 9px;font-size:12px}
.notice-bar span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notice-bar i{font-style:normal;color:var(--sub)}

/* ---------- 기상특보 한 줄 → 눌러서 상세 ---------- */
details.alert-bar{padding:0;overflow:hidden}
details.alert-bar[hidden]{display:none}
.alert-bar summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 14px;font-weight:700;font-size:15px}
.alert-bar summary::-webkit-details-marker{display:none}
.alert-bar summary i{font-style:normal;transition:transform .2s;opacity:.7}
.alert-bar[open] summary i{transform:rotate(90deg)}
.alert-bar .ab-body{padding:0 14px 12px;font-size:14px;line-height:1.65;font-weight:400}
.alert-bar .ab-body p{margin:4px 0}
.alert-bar .ab-body ul{margin:2px 0 6px;padding-left:18px}
.alert-bar .ab-body li{margin:4px 0}
.alert-bar .ab-body .t{color:var(--sub);font-size:12.5px}
.alert-bar.on .ab-body .t{color:#8E1B22}
.alert-bar .kma{display:inline-block;margin-top:6px;font-weight:600;color:inherit;text-decoration:underline}
.alert-bar.on summary .blink{animation:jf-blink 1s ease-in-out infinite;color:#C0141F}
@media (prefers-reduced-motion:reduce){.alert-bar.on summary .blink{animation:none}}

/* 승선중 버튼: 모바일에서 줄바꿈 없이 로고 오른쪽에 */
.top .btn-catch{white-space:nowrap;margin-left:auto;flex-shrink:0}
@media (max-width:768px){
  .top .wrap{flex-wrap:nowrap}
  .top .logo{min-width:0}
  .top .logo small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .top .btn-catch{font-size:12.5px;padding:0 10px;min-height:38px;letter-spacing:-.3px}
}
@media (max-width:360px){
  .top .btn-catch{font-size:11.5px;padding:0 8px}
}

/* 승선중 버튼 폭 축소: 두 줄(승선중 / 조과등록) */
.top .btn-catch{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;line-height:1.15}
.top .btn-catch small{font-size:.78em;font-weight:500;opacity:.9}
@media (max-width:768px){
  .top .btn-catch{font-size:13px;padding:0 9px;min-height:40px}
}
/* 달력 아래 안내 3줄: 같은 크기로 간결하게 */
.wind-key,.cnt-legend,.cal-note{font-size:13px !important;line-height:1.6;margin:4px 0 0}

/* 모바일: 안내 3줄을 한 줄씩 */
@media (max-width:768px){
  .wind-key,.cnt-legend,.cal-note{font-size:12px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.3px}
  .wind-key .wa+.wa{margin-left:2px}
}
@media (max-width:370px){ .wind-key,.cnt-legend,.cal-note{font-size:11px !important} }

/* 모바일 접기: 제목만 보이고 누르면 펼침 */
@media (max-width:768px){
  .fold:not(.open) :not(.fold-path):not(.fold-h):not(.fold-h *){display:none !important}
  .fold .fold-h{cursor:pointer;display:flex !important;justify-content:space-between;align-items:center;gap:8px;margin:0;font-size:19px !important}
  .fold .fold-h::after{content:'';width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 4px 0 0;opacity:.6;transition:transform .2s;flex-shrink:0}
  .fold.open .fold-h::after{transform:rotate(-135deg);margin-top:4px}
  .fold:not(.open){padding-top:16px !important;padding-bottom:16px !important}
  .fold:not(.open) .fold-path{margin:0 !important;padding:0 !important}
  .fold.open .fold-h{margin-bottom:8px}
}
@media (max-width:768px){ .sec:has(.fold:not(.open)){padding-top:8px;padding-bottom:8px} }

/* 바람 아이콘: 색 면 화살표 + 가는 숫자 */
.wa .wi{width:10px;height:10px;flex-shrink:0;fill:#3C7DB0;transition:none}
.wa.w-mid .wi{fill:#E07B1F}
.wa.w-hi .wi{fill:#D32F2F}
.wa b{font-weight:500;color:#33414A}
.wa.w-mid b{color:#B5541A;font-weight:600}
.wa.w-hi b{color:#C0262D;font-weight:600}
.wa{gap:2px !important}
.day.sel .wa .wi{fill:#fff}.day.sel .wa b{color:#fff}
@media (min-width:1024px){.wa .wi{width:12px;height:12px}}
.day .wind .wa b,.wind-key .wa b{font-size:inherit !important;line-height:inherit;display:inline;letter-spacing:-.3px}
.day .wind .wa .wi{width:11px;height:11px}
@media (max-width:768px){ .fold .fold-path{flex:1 1 auto;width:100%;min-width:0} .fold .fold-h{width:100%} }

/* 바람: 오전은 왼쪽 위, 오후는 오른쪽 위 모서리 — 풍속 숫자 위, 풍향 아이콘 아래 */
.day{grid-template-rows:26px 20px 14px 15px 13px !important;min-height:98px}
.day .wind{justify-self:stretch;justify-content:space-between !important;align-self:start !important;padding:0 5px;gap:0 !important;line-height:1 !important}
.day .wind .wa{flex-direction:column;align-items:center;gap:1px !important;line-height:1}
.day .wind .wa.pm{margin-left:auto}
.day .wind .wa b{line-height:11px}
@media (max-width:768px){
  .day{grid-template-rows:24px 18px 13px 14px 12px !important;min-height:90px;padding-top:4px !important}
  .day .wind{padding:0 3px}
  .day .wind .wa .wi{width:10px;height:10px}
}
@media (min-width:1024px){
  .day{grid-template-rows:30px auto auto auto auto !important}
  .day .wind{padding:0 8px}
  .day .wind .wa b{line-height:15px}
  .day .wind .wa .wi{width:13px;height:13px}
}
.day{grid-template-columns:minmax(0,1fr)}
.day .wind{width:100%;box-sizing:border-box}

/* 예약 현황: 확정 예약자 이름(가운데 가림) */
.sel-count li.names{display:block;color:inherit;opacity:.85;font-size:12.5px;line-height:1.6;padding:2px 0 8px 48px;border-bottom:1px dashed var(--line)}

.full-info{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:#F4F2EC;font-size:13px;line-height:1.6;color:var(--ink)}

/* 모바일: 한 달이 한 화면에 들어오도록 날짜 칸 높이를 낮춤, 범례는 달력 아래로 */
.cal .legend{margin:10px 0 0}
@media (max-width:768px){
  .day{grid-template-rows:20px 16px 12px 13px 11px !important;min-height:74px;padding-top:3px !important}
  .day .wind .wa b{line-height:10px}
  .day .wind .wa .wi{width:9px;height:9px}
}
/* 모바일 날짜 칸 한 번 더 낮춤 */
@media (max-width:768px){
  .day{grid-template-rows:19px 15px 11px 12px 10px !important;min-height:66px;padding-top:2px !important;padding-bottom:2px !important}
  .day .wind .wa b{font-size:10px !important;line-height:9px}
  .day .wind .wa .wi{width:8px;height:8px}
}

/* 5일 이후 장기 예상(Open-Meteo): 흐리게 */
.day .wind.est{opacity:.5}
.day.sel .wind.est{opacity:.75}

/* 윈디 지도 */
.windy{margin:10px 0 0;border:1px solid var(--line,#E3E7EA);border-radius:12px;overflow:hidden}
.windy summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.windy summary::-webkit-details-marker{display:none}
.windy summary::before{content:'▸';margin-right:6px;color:#3C7DB0}
.windy[open] summary::before{content:'▾'}
.windy summary{justify-content:flex-start}
.windy-link{margin-left:auto;font-size:13px;font-weight:600;color:#fff;background:#3C7DB0;border-radius:8px;padding:5px 10px;text-decoration:none;white-space:nowrap}
.windy-box{position:relative;height:420px}
.windy-box iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:768px){.windy-box{height:360px}}

/* 윈디: 버튼 모양 */
.windy{border:0;border-radius:0;overflow:visible}
.windy summary{padding:0;margin:4px 0 0}
.windy summary::before{content:none}
.windy-btn{display:inline-flex;align-items:center;gap:6px;background:#0F2F45;color:#fff;font-size:14px;font-weight:700;border-radius:10px;padding:9px 14px}
.windy-btn::before{content:'▸';font-size:12px}
.windy[open] .windy-btn::before{content:'▾'}
.windy-link{background:#fff;color:#3C7DB0;border:1px solid #3C7DB0;padding:8px 12px;border-radius:10px}
.windy-box{margin-top:8px;border-radius:12px;overflow:hidden}

/* 예보 계산 방식 */
.fc-how{margin:8px 0 0;font-size:13px;color:var(--sub)}
.fc-how summary{cursor:pointer;color:#3C7DB0;font-weight:600;list-style:none}
.fc-how summary::-webkit-details-marker{display:none}
.fc-how summary::before{content:'ⓘ ';}
.fc-how ul{margin:6px 0 0;padding-left:18px;line-height:1.6}
.fc-how li{margin:3px 0}
.fc-how b{color:var(--ink,#1C2A33)}

/* 바다상황 예측 */
.outlook{margin:12px 0 4px;padding:12px;border:1px solid #DCE6EC;border-radius:14px;background:#F7FAFC}
.ol-h{margin:0 0 8px;font-size:14px}.ol-h small{color:var(--sub);font-size:12px;margin-left:4px}
.outlook ul{list-style:none;margin:0;padding:0 0 4px;display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x proximity}
.outlook li{flex:0 0 64px;scroll-snap-align:start;border-radius:10px;padding:6px 4px;text-align:center;background:#fff;border:1px solid #E3E9EE;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px}
.outlook li .d{font-size:12px;font-weight:700;color:#2A3A44}.outlook li .d small{display:block;font-weight:500;color:var(--sub);font-size:11px}
.outlook li .ix{font-size:20px;line-height:1.1}
.outlook li .gr{font-size:11px;font-weight:700}
.outlook li .pn{display:block;width:44px;height:4px;border-radius:2px;background:#E7ECEF;overflow:hidden}.outlook li .pn i{display:block;height:100%;background:#C0262D}
.outlook li .pv{font-size:10px;color:var(--sub)}
.outlook li.g4 .ix,.outlook li.g4 .gr{color:#1B7A4B}.outlook li.g4{background:#EEF8F2;border-color:#BFE3CD}
.outlook li.g3 .ix,.outlook li.g3 .gr{color:#2F8A5B}
.outlook li.g2 .ix,.outlook li.g2 .gr{color:#B5841A}
.outlook li.g1 .ix,.outlook li.g1 .gr{color:#C0562D}
.outlook li.g0{background:#FCEDED;border-color:#F0C4C4}.outlook li.g0 .ix,.outlook li.g0 .gr{color:#C0262D}
.outlook li.est{opacity:.72}
.ol-why{margin:6px 0 0;font-size:12px;color:var(--sub);line-height:1.5}
.outlook li{flex-basis:70px}.outlook li .gr{font-size:10.5px;white-space:nowrap;letter-spacing:-.4px}

/* 예측 해석 */
.outlook li.on{outline:2px solid #0F2F45;outline-offset:-2px}
.ol-why .olw-t{display:block;font-size:15px;color:#1C2A33}
.ol-why .olw-h{margin:2px 0 6px;font-size:13px;color:#2A3A44}
.ol-why .olw{list-style:none;margin:0;padding:0;display:block}
.ol-why .olw li{display:flex;gap:8px;padding:6px 0;border-top:1px solid #E6ECF0;background:none;border-radius:0;flex-direction:row;align-items:flex-start;text-align:left;cursor:default}
.ol-why .olw .k{flex:0 0 64px;font-weight:700;color:#3C7DB0;font-size:13px}
.ol-why .olw .v{font-size:13px;color:#1C2A33}
.ol-why .olw .v i{font-style:normal;font-weight:700;color:#B5541A;margin-left:4px}
.ol-why .olw .v small{display:block;color:var(--sub);font-size:12px;margin-top:1px}
.ol-why .olw-n{margin:6px 0 0;font-size:11.5px;color:var(--sub)}
.outlook .ol-why .olw{overflow:visible;gap:0;padding:0}
.outlook .ol-why .olw li{flex:none;border:0;border-top:1px solid #E6ECF0;padding:6px 0;opacity:1}

/* 예측: 달력 아래 한 줄 아이콘 */
.outlook{padding:10px 12px}
.outlook .ol-h{display:flex;align-items:center;justify-content:space-between;margin:0 0 6px;font-size:14px}
#ol-more{border:0;background:none;color:#3C7DB0;font:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:2px 0}
.outlook .ol-key{margin:4px 0 0;font-size:11px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 상세 페이지 */
body.fc-open{overflow:hidden}
.fc-page{position:fixed;inset:0;z-index:200;background:#F5F3EE;overflow-y:auto;-webkit-overflow-scrolling:touch}
.fcp-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#0F2F45;color:#fff}
.fcp-top b{font-size:16px}
#fc-close{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer}
.fcp-days{display:flex;gap:6px;overflow-x:auto;padding:10px 12px;background:#fff;border-bottom:1px solid #E3E1DA;position:sticky;top:50px;z-index:1}
.fcp-days button{flex:0 0 52px;border:1px solid #E3E9EE;background:#fff;border-radius:10px;padding:5px 0;display:flex;flex-direction:column;align-items:center;gap:1px;font:inherit;cursor:pointer}
.fcp-days button span{font-size:12px;font-weight:700;color:#2A3A44;line-height:1.2}.fcp-days button small{display:block;font-weight:500;color:var(--sub);font-size:10px}
.fcp-days button b{font-size:18px;line-height:1.1}.fcp-days button em{font-style:normal;font-size:11px;color:var(--sub)}
.fcp-days button.on{border-color:#0F2F45;box-shadow:inset 0 0 0 1px #0F2F45}
.fcp-days button.est{opacity:.7}
.fcp-days .g4 b,.fcp-sum.g4 .ic{color:#1B7A4B}.fcp-days .g3 b,.fcp-sum.g3 .ic{color:#2F8A5B}.fcp-days .g2 b,.fcp-sum.g2 .ic{color:#B5841A}.fcp-days .g1 b,.fcp-sum.g1 .ic{color:#C0562D}.fcp-days .g0 b,.fcp-sum.g0 .ic{color:#C0262D}
.fcp-body{max-width:640px;margin:0 auto;padding:14px 14px 40px}
.fcp-sum{display:flex;gap:12px;align-items:center;background:#fff;border-radius:14px;padding:14px;border:1px solid #E3E1DA}
.fcp-sum .ic{font-size:40px;line-height:1}.fcp-sum b{font-size:17px}.fcp-sum p{margin:2px 0 0;font-size:14px;color:#2A3A44}
.fcp-num{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:10px 0}
.fcp-num>div{background:#fff;border:1px solid #E3E1DA;border-radius:12px;padding:10px;text-align:center}
.fcp-num small{display:block;font-size:11.5px;color:var(--sub)}.fcp-num b{font-size:24px}.fcp-num b.sm{font-size:17px;line-height:2}.fcp-num span{font-size:12px;color:var(--sub)}
.fcp-num .pn{display:block;height:4px;margin-top:4px;border-radius:2px;background:#E7ECEF;overflow:hidden}.fcp-num .pn i{display:block;height:100%;background:#C0262D}
.fcp-alert{background:#FCEDED;border:1px solid #F0C4C4;color:#9B1C22;border-radius:10px;padding:10px 12px;font-size:14px;margin:0 0 10px}
.fcp-body h3{font-size:15px;margin:14px 0 4px}
.fcp-body .olw{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #E3E1DA;border-radius:12px}
.fcp-body .olw li{display:flex;gap:10px;padding:10px 12px;border-top:1px solid #EEF0F2}.fcp-body .olw li:first-child{border-top:0}
.fcp-body .olw .k{flex:0 0 74px;font-weight:700;color:#3C7DB0;font-size:14px}
.fcp-body .olw .v{font-size:14px;color:#1C2A33;line-height:1.5}
.fcp-body .olw .v i{font-style:normal;font-weight:700;color:#B5541A;margin-left:4px}
.fcp-body .olw .v small{display:block;color:var(--sub);font-size:13px;margin-top:2px}
.fcp-why{font-size:13px;color:#2A3A44;line-height:1.6;margin:10px 0 0}.fcp-why b{color:#3C7DB0;margin-right:4px}
.fcp-body .olw-n{font-size:12px;color:var(--sub);margin-top:12px}

.outlook li .gr{font-size:11px}

.fcp-body h3 small{font-weight:500;color:var(--sub);font-size:12px}
.fcp-tb{width:100%;border-collapse:collapse;background:#fff;border:1px solid #E3E1DA;border-radius:12px;overflow:hidden;font-size:14px}
.fcp-tb th,.fcp-tb td{padding:8px 10px;border-top:1px solid #EEF0F2;text-align:left;vertical-align:top}
.fcp-tb tr:first-child th{border-top:0;background:#F5F7F9;font-size:13px;color:var(--sub)}
.fcp-tb th{width:96px;color:#3C7DB0;font-size:13px;font-weight:700}
.fcp-tb small{display:block;color:var(--sub);font-size:11.5px}
.fcp-tb .ar,.fcp-cur .ar{display:inline-block;color:#0F2F45;font-weight:800}
.fcp-note{font-size:12.5px;color:var(--sub);line-height:1.55;margin:6px 0 0}
.fcp-cur{display:flex;align-items:flex-end;gap:6px;overflow-x:auto;background:#fff;border:1px solid #E3E1DA;border-radius:12px;padding:10px}
.fcp-cur>div{flex:0 0 34px;display:flex;flex-direction:column;align-items:center;gap:2px}
.fcp-cur i{display:block;width:14px;background:#3C7DB0;border-radius:3px 3px 0 0}
.fcp-cur b{font-size:11px}.fcp-cur small{font-size:10.5px;color:var(--sub)}
.fcp-tips{margin:0;padding:10px 12px 10px 28px;background:#fff;border:1px solid #E3E1DA;border-radius:12px;font-size:14px;line-height:1.6}

/* 풍랑특보 출항불가 */
.day.wx{background:#FCEDED !important;border-color:#F0C4C4 !important}
.day.wx small{color:#C0262D !important;font-weight:800}
.outlook #ol-list li.on{outline:2px solid #0F2F45;outline-offset:-2px}

.fcp-tb .ref{color:var(--sub);font-weight:500}

/* 표류 항로 */
.dr-map{height:300px;border-radius:12px;overflow:hidden;border:1px solid #E3E1DA;background:#E8EEF2}
.leaflet-tooltip.dr-tip{background:none;border:0;box-shadow:none;padding:0;font-size:13px;font-weight:800;color:#C0262D;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 2px #fff}
.leaflet-tooltip.dr-tip::before{display:none}
.dr-land{font-size:11px;font-weight:700;color:#2A3A44;white-space:nowrap;background:none;border:0}
.dr-tb td{padding:7px 6px;font-size:13px}.dr-tb th{width:auto}
.dr-tb tr.lv3 td{background:#FFF6EC}.dr-tb tr.lv4 td{background:#FCEDED}
.dr-tb tr.lv3 b,.dr-tb tr.lv4 b{color:#C0262D}
/* 예측 카드: 바람·만조·간조 */
.outlook li{flex-basis:84px}
.outlook li .wd{font-size:10.5px;color:#2A3A44;white-space:nowrap;margin-top:2px}.outlook li .wd b{font-size:12px;margin-left:2px}
.outlook li .wd .ar{display:inline-block;color:#0F2F45;font-weight:800;margin-right:1px}
.outlook li .td{font-size:10px;color:#2A3A44;white-space:nowrap;letter-spacing:-.3px}
.outlook li .td em{font-style:normal;font-weight:700;margin-right:2px}.outlook li .td em.h{color:#3C7DB0}.outlook li .td em.l{color:#B5541A}
/* 상세: 물때·바람 시간표 */
.fcp-tide{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}
.fcp-tide>div{flex:1 0 72px;background:#fff;border:1px solid #E3E1DA;border-radius:12px;padding:8px 6px;text-align:center;opacity:.6}
.fcp-tide>div.day{opacity:1;border-width:2px}
.fcp-tide>div.h{border-color:#9CC0DC}.fcp-tide>div.h small{color:#3C7DB0}
.fcp-tide>div.l{border-color:#E8C3A8}.fcp-tide>div.l small{color:#B5541A}
.fcp-tide small{display:block;font-size:11.5px;font-weight:700}.fcp-tide b{display:block;font-size:18px;margin:2px 0}.fcp-tide span{font-size:11px;color:var(--sub)}
.fcp-wind{display:flex;align-items:flex-end;gap:4px;overflow-x:auto;background:#fff;border:1px solid #E3E1DA;border-radius:12px;padding:10px;margin-top:8px}
.fcp-wind>div{flex:0 0 36px;display:flex;flex-direction:column;align-items:center;gap:1px}
.fcp-wind .ar{display:inline-block;color:#0F2F45;font-weight:800;font-size:15px}
.fcp-wind i{display:block;width:14px;background:#3C7DB0;border-radius:3px 3px 0 0;margin-top:2px}
.fcp-wind .md i{background:#E0912B}.fcp-wind .st i{background:#C0262D}.fcp-wind .st b{color:#C0262D}
.fcp-wind b{font-size:12px}.fcp-wind small{font-size:10px;color:var(--sub)}.fcp-wind small.dn{font-size:9.5px;white-space:nowrap;letter-spacing:-.4px}.fcp-wind small.hh{color:#2A3A44;font-weight:700}
.fcp-scroll{overflow-x:auto}
.fcp-days-tb{min-width:520px;font-size:13px}
.fcp-days-tb th,.fcp-days-tb td{padding:7px 8px;white-space:nowrap}
.fcp-days-tb tr[data-ds]{cursor:pointer}.fcp-days-tb tr.on{background:#EEF4F9}
.fcp-days-tb tr.g0 th{color:#C0262D}
.fcp-days-tb td b{color:#0F2F45}.fcp-days-tb .ar{margin-right:2px}
.fcp-days-tb tr>th:first-child{position:sticky;left:0;background:#fff;z-index:1;box-shadow:1px 0 0 #EEF0F2}
.fcp-days-tb tr:first-child>th:first-child{background:#F5F7F9}.fcp-days-tb tr.on>th:first-child{background:#EEF4F9}
/* 메인 상단: 비양도 앞바다 수온 (한 줄, 누르면 자세히) */
.sst{align-self:flex-start;max-width:520px}
.sst-m{display:inline-flex;align-items:baseline;gap:10px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);color:inherit;font:inherit;cursor:pointer;min-height:44px}
.sst-m .k{font-size:14px;font-weight:700;opacity:.9}
.sst-m b{font-size:22px;line-height:1;font-weight:800;letter-spacing:-.5px}.sst-m b small{font-size:13px;margin-left:1px}
.sst-m .cv{font-style:normal;font-size:16px;opacity:.7;transition:transform .2s}.sst.open .sst-m .cv{transform:rotate(90deg)}
.sst-d{margin-top:8px;padding:10px 14px;border-radius:14px;background:rgba(15,47,69,.55);border:1px solid rgba(255,255,255,.15)}
.hero .sst-d p{margin:0;font-size:13px;line-height:1.5}
.hero .sst-d .dt{font-weight:700}.hero .sst-d .dt.up{color:#FFB37A}.hero .sst-d .dt.down{color:#8FD0FF}
.hero .sst-d .sst-s{margin-top:4px;opacity:.95}
.hero .sst-d .sst-w{margin-top:4px;color:#FFD08A;font-weight:700}
.hero .sst-d .sst-n{margin-top:4px;font-size:11.5px;opacity:.7}
.outlook .ol-h b small{font-size:12px;font-weight:500;color:var(--sub);margin-left:4px}
.outlook li .td.es{font-size:9.5px;color:var(--sub)}
.real{display:inline-block;align-self:flex-start;width:auto;margin:0 0 2px 0;padding:1px 7px;border-radius:999px;background:#E8792B;color:#fff;font-size:11.5px;font-weight:800;vertical-align:1px}
.side .real-note,.real-note{margin:-4px 0 6px;font-size:12.5px;line-height:1.5;color:#FFD08A}.real-note b{color:#fff}
/* 파란 테마: 예약 칸(파란 배경) 안의 버튼이 배경과 같은 색이 되지 않게 */
html[data-theme=app] .side .btn-main{background:#fff;color:#2C5093;box-shadow:0 2px 8px rgba(0,0,0,.18)}
html[data-theme=app] .side .btn-main[disabled]{background:rgba(255,255,255,.35);color:rgba(255,255,255,.9);box-shadow:none}
html[data-theme=app] .side .btn-line{border-color:rgba(255,255,255,.75);color:#fff}
html[data-theme=app] .side .real{background:#fff;color:#2C5093}
html[data-theme=app] .side .real-note{color:#fff}
/* 예약: 장비 대여(개수)·옆자리 동행 */
.opt-f{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--soft)}
.opt-t small,.opt-s{font-size:12px;opacity:.85;font-weight:400}
.gear-rows{display:flex;flex-direction:column;gap:6px}
.g-row{display:flex;align-items:center;gap:10px;background:var(--navy2);border-radius:12px;padding:5px 6px 5px 14px}
.g-row span{flex:1;color:#fff;font-size:14.5px}.g-row span small{opacity:.75;font-size:12px}
.g-row b{min-width:26px;text-align:center;font-size:17px;color:#fff}
.g-row button{width:40px;height:40px;border-radius:10px;border:0;background:#fff;color:var(--navy);font-size:21px;font-weight:700;cursor:pointer}
.g-row button:disabled{opacity:.35;cursor:default}
.g-row.on{box-shadow:inset 0 0 0 2px #fff}
.side .g-sum{font-size:13px;color:#fff;font-weight:700}
.side .mate-note{margin:-4px 0 4px;font-size:12.5px;line-height:1.5;color:var(--soft)}.side .mate-note b{color:#fff}
.g-agree{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.g-rule-box{background:var(--navy2);border-radius:12px;padding:10px 14px;color:#fff;font-size:13px}
.g-rule-box summary{cursor:pointer;font-weight:700;min-height:28px;display:flex;align-items:center}
.g-rules{margin:8px 0 2px;padding-left:18px;line-height:1.55}.g-rules li{margin:2px 0}.g-rules b{color:#FFD08A}
html[data-theme=app] .g-rules b{color:#fff;text-decoration:underline}
.day.charter{background:#F1ECFA !important;border-color:#D6C8F0 !important}.day.charter small{color:#5B3B9A !important;font-weight:800}

/* 스마트폰: 최근 조황은 버튼 하나로 접어 둠 */
.catch-open{display:none;width:100%;justify-content:center;font-weight:700}
@media (max-width:720px){

}

/* 바다상황 예측: 예약창 아래로 옮김 */
.book + .outlook{margin-top:16px;background:#fff;border-color:var(--line)}
/* 상단 메뉴 버튼 (항상 보임) — 메뉴는 아래로 펼쳐짐 */
.top .wrap{position:relative}
.top .nav{display:none}
.menu-btn{order:3;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer;flex-shrink:0;padding:0}
.menu-btn span{display:block;width:20px;height:2px;border-radius:2px;background:var(--ink);transition:transform .2s,opacity .2s}
.menu-btn[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded=true] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.top .btn-main.btn-sm,.top .btn-catch{order:2;margin-left:auto}
.top .nav.open{display:grid;grid-template-columns:1fr 1fr;gap:0;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 10px 24px rgba(0,0,0,.12);padding:6px 12px 12px;z-index:40;max-height:75vh;overflow:auto}
.top .nav.open a{padding:13px 10px;border-bottom:1px solid #EFEDE6;font-size:15px;color:var(--ink)}
@media (min-width:769px){.top .nav.open{left:auto;width:420px;border-left:1px solid var(--line);border-radius:0 0 0 14px}}
html[data-theme=app] .menu-btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3)}
html[data-theme=app] .menu-btn span{background:#fff}

/* 달력 아래 설명 줄 숨김 (선장 요청): 물 높이·바람·물결 세기·먼 날 예보 안내 */
html[data-tide] .cal .legend .k-wave,html .cal .legend .k-wave,html .cal .wind-key{display:none!important}

/* 윈디 보기: 바다상황 예측 아래 */
.book ~ .windy{margin-top:12px;background:#fff}

/* ===== PC: 달력은 조금 작게, 예약창은 두 칸으로 넓혀 한 화면에서 예약 ===== */
.f-cols,.f-col{display:contents}
@media (min-width:1100px){
  #booking .sec-head{margin-bottom:14px}
  #booking .sec-head h2{font-size:26px}
  .book{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:20px;align-items:start}
  .cal{padding:18px}
  .cal-top{margin-bottom:8px}
  .cal-top b{font-size:18px}
  .cal-nav button{width:36px;height:36px;font-size:18px}
  .dow{font-size:12px}
  .dow,.grid{gap:4px}
  .day{min-height:58px !important;grid-template-rows:17px 13px 14px 12px !important;padding:5px 1px 4px !important}
  .day b{font-size:14px !important;line-height:17px !important}
  .day .tide,.day small{font-size:10px !important}
  .legend{gap:10px;font-size:12px;margin:8px 0 6px}
  .side{padding:20px 22px;gap:10px;position:sticky;top:84px}
  .side .date{font-size:22px}
  .stats{margin:6px 0 !important}
  .stats div{padding:8px 12px}
  .stats b{font-size:18px}
  .member{padding:10px 12px;margin-bottom:6px}
  .member .m-title{font-size:13px}
  .m-btns{flex-direction:row !important;gap:6px}
  .m-btns > *{flex:1;min-width:0;font-size:13px !important;padding:8px 6px !important}
  .side form{display:grid !important;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:10px}
  .side .f-cols{display:contents}
  .side .f-col{display:flex;flex-direction:column;gap:9px;min-width:0}
  .side form > :not(.f-cols){grid-column:1 / -1}
  .side input[type=text],.side input[type=tel]{padding:9px 11px;font-size:15px}
  .stepper{padding:4px 4px 4px 12px}
  .stepper button{width:36px;height:36px;font-size:20px}
  .g-row{padding-top:4px !important;padding-bottom:4px !important}
  .g-row button{width:32px !important;height:32px !important}
  .real-note,.mate-note{font-size:12px !important;line-height:1.45}
  .side form .agree{font-size:12px !important}
  .side form label.agree{grid-column:auto}
  .side form > label.agree{grid-column:auto !important}
  .total b{font-size:20px}
  #submit{padding:12px}
  #booking.sec{padding-top:22px}
  #booking .sec-head p{display:none}
  .cal .grid{grid-auto-rows:72px !important;gap:5px !important}
  .day{min-height:72px !important;row-gap:0 !important;padding:4px 2px !important;align-content:center !important;border-radius:9px !important}
  .day b{font-size:16px !important;line-height:19px !important}
  .day .tide,.day small{font-size:11px !important;line-height:14px !important;min-height:0 !important}
  .day .wind{font-size:10px !important;line-height:12px !important}
  .cal-top b{font-size:18px !important}
  .dow{font-size:12px !important;margin-bottom:4px !important}
  .legend{font-size:12px !important;margin-bottom:6px !important}
  .side .lbl{display:none}
  .side .sel-tide,.side .sel-trip{font-size:13px}
  .stats span{font-size:12px}
  .sel-count li{font-size:13px;padding:3px 0 !important}
  .side .hint{margin:0 !important;font-size:12px}
  .member .m-title,.member .m-sub{font-size:12px !important}
  .m-btns{margin:6px 0 !important}
  .m-btns > *{height:36px;display:flex;align-items:center;justify-content:center}
  .side{gap:8px}
  .side .date{font-size:20px;line-height:1.2}
  .side .sel-tide,.side .sel-trip{margin:0;line-height:1.4}
  .stats{gap:6px}
  .stats div{padding:6px 10px;display:flex;align-items:baseline;justify-content:space-between;gap:6px}
  .stats span{display:inline !important}
  .stats b{font-size:16px}
  .side #range-hint{display:none}
  .member{display:grid;grid-template-columns:1fr;row-gap:4px}
  .member .m-sub{display:none}
  .member .m-title{line-height:1.3}
  .m-btns{margin:2px 0 0 !important}
  .m-btns > *{height:32px}
  .side label{gap:4px;font-size:13px}
  .g-row{min-height:0 !important}
  .g-row span{font-size:13px}
  .opt-t{font-size:13px}
  .gear-rows{gap:4px !important}
  .side .f-col{gap:7px}
  #booking .sec-head{margin-bottom:10px}
  #booking .sec-head h2{font-size:22px}
  .side{padding:16px 20px}
  .g-row{padding:3px 4px 3px 12px !important;border-radius:9px !important}
  .g-row button{width:30px !important;height:30px !important;font-size:18px !important;border-radius:8px !important}
  .g-row b{font-size:15px}
  .mate-note{font-size:11.5px !important}
  .side form .total{grid-column:1 / 2 !important;align-self:center;margin:0}
  .side form #submit{grid-column:2 / 3 !important;margin:0}
  .side form .err{grid-column:1 / -1 !important}
  .member .m-title{display:none}
  .member{padding:8px 10px}
  .side .sel-tide,.side .sel-trip{display:inline}
  .side .sel-tide:not(:empty)::after{content:' · '}
  .side form{row-gap:8px}
}

/* 심볼 로고 */
.logo-img{width:52px;height:52px;flex:none;display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}
@media (max-width:768px){.logo-img{width:46px;height:46px}}

/* PC 예약창(40%) 글자·행 압축 */
@media (min-width:1100px){
  .opt-t small,.side .opt-s{display:none}
  .g-row span{font-size:12.5px !important}
  .g-row span small{font-size:11px !important}
  .g-row button{width:28px !important;height:28px !important}
  .real-note,.mate-note{font-size:11.5px !important;line-height:1.4 !important}
  .side form .agree{font-size:11.5px !important;line-height:1.4}
  .side .sel-trip,.side .sel-tide{font-size:12.5px}
}

/* ===== 첫 화면(히어로) 높이 최소화 ===== */
.hero .wrap{padding-top:24px;padding-bottom:24px;gap:24px}
.hero-text{gap:10px}
.hero h1{font-size:34px;line-height:1.2;letter-spacing:-1px}
.hero h1 br,.hero p br{display:none}
.hero h1 br + *{margin-left:.25em}
.hero p{font-size:15px;line-height:1.5}
.hero .badge{font-size:13px;padding:4px 12px}
.hero-btns{gap:8px}
.hero-btns .btn{padding:10px 16px;font-size:15px}
.hero-photo{height:200px;flex-basis:360px}
html[data-theme=photo] .hero .wrap{min-height:0;padding-top:28px;padding-bottom:24px}
@media (max-width:768px){
  .hero .wrap{padding-top:14px;padding-bottom:14px;gap:10px}
  .hero-text{gap:7px}
  .hero h1{font-size:22px;letter-spacing:-.5px}
  .hero p{font-size:13px}
  .hero .badge{font-size:12px;padding:3px 10px}
  .hero-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .hero-btns .btn{width:100%;padding:9px 6px;font-size:13px;white-space:nowrap}
  .hero-photo{display:none}
}

/* 휴대폰: 제목 오른쪽에 비양도 수온 칩 */
@media (max-width:768px){
  .hero-text{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:7px;align-items:center}
  .hero-text > .badge{grid-column:1 / -1;grid-row:1;justify-self:start}
  .hero-text > h1{grid-column:1;grid-row:2}
  .hero-text > .sst{grid-column:2;grid-row:2;align-self:center;justify-self:end;max-width:none}
  .hero-text > .sst.open{grid-column:1 / -1;grid-row:3;justify-self:stretch}
  .hero-text > p{grid-column:1 / -1;grid-row:4}
  .hero-text > .hero-btns{grid-column:1 / -1;grid-row:5}
  .hero .sst-m{flex-direction:column;align-items:center;gap:2px;padding:6px 10px;border-radius:12px;min-height:0}
  .hero .sst-m .k{font-size:10.5px;white-space:nowrap}
  .hero .sst-m b{font-size:18px}
  .hero .sst-m .cv{display:none}
  .hero .sst.open .sst-m{flex-direction:row;align-items:baseline;gap:8px}
  .hero .sst.open .sst-m .cv{display:inline}
}

/* PC: 달력 높이를 예약창에 맞추고 날짜 글씨 크게 */
@media (min-width:1100px){
  .book{align-items:stretch !important}
  .side{position:static !important;align-self:stretch}
  .cal{display:flex !important;flex-direction:column}
  .cal .grid{flex:1 1 auto;grid-auto-rows:minmax(76px,1fr) !important}
  .day{min-height:76px !important;row-gap:3px !important;grid-template-rows:auto auto auto auto !important;align-content:center !important}
  .day b{font-size:22px !important;line-height:26px !important}
  .day .tide,.day small{font-size:13px !important;line-height:17px !important}
  .day .wind{font-size:11.5px !important;line-height:14px !important}
  .dow{font-size:14px !important}
  .cal-top b{font-size:22px !important}
}

/* 달력에서 빈자리만 강조 */
.cal-top{gap:8px}
.av-tg{margin-left:auto;border:1.5px solid #1E9E5A;color:#1E7A46;background:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.av-tg[aria-pressed=true]{background:#1E9E5A;color:#fff}
.av-tg[aria-pressed=true]::before{content:'✓ '}
.cal.av-on .day:not(.avail):not(.sel){opacity:.35;filter:grayscale(1)}
.cal.av-on .day.avail:not(.sel){border:1px solid #6CC59A;box-shadow:none;background:#fff}
.cal.av-on .day.avail small{background:#1E9E5A;color:#fff !important;border-radius:6px;padding:1px 6px;font-weight:800}
.cal.av-on .day.avail.few small{background:#D9342B}
.cal.av-on .day.avail b{color:#0F3D25}
.cal{scroll-margin-top:80px}

/* 선장 전화 버튼: 어떤 배경에서도 잘 보이게 진한 바탕 + 흰 글씨 */
.hero #s-call{background:#1D3557;color:#fff !important;border:1px solid #1D3557;font-weight:700}
.hero #s-call::before{content:'📞 '}
html[data-theme=app] .hero #s-call{background:#22406F;border-color:#22406F}

/* 조황 크게 보기 */
.cvw{position:fixed;inset:0;z-index:300;background:#16191D;color:#B9BEC5;display:flex;flex-direction:column}
.cvw-top{display:flex;align-items:center;gap:12px;padding:10px 12px;padding-top:calc(10px + env(safe-area-inset-top));border-bottom:1px solid rgba(255,255,255,.07)}
.cvw-x{border:0;background:#20242A;color:#E4E6EA;font:inherit;font-weight:700;font-size:15px;border-radius:10px;padding:9px 12px;cursor:pointer;flex:none}
.cvw-top b{font-size:15px;color:#E4E6EA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cvw-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;max-width:820px;width:100%;margin:0 auto}
.cvw-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;background:#000}
.cvw-strip img{flex:0 0 100%;width:100%;max-height:72vh;object-fit:contain;scroll-snap-align:center;display:block}
.cvw-n{text-align:center;font-size:13px;color:#9EA4AE;padding:6px 0}
.cvw-tx{padding:14px 16px calc(30px + env(safe-area-inset-bottom))}
.cvw-tx p{margin:0;white-space:pre-wrap;font-size:15.5px;line-height:1.7;color:#B9BEC5}
.cvw-area{font-size:13px;color:#9EA4AE;margin-bottom:8px}

/* 조황: 화면 크기와 상관없이 접고 펼치기 */
#catch.folded .catch-open{display:flex}
#catch.folded .catch-tabs,#catch.folded .catch-grid,#catch.folded .sec-head,#catch.folded .catch-close{display:none!important}
#catch.folded{padding-top:20px;padding-bottom:20px}
.catch-close{display:flex;width:100%;justify-content:center;font-weight:700;margin-top:12px}

/* 최근 조황: 다른 칸(예약 취소·자주 묻는 질문)과 같은 접기 모양 */
.catch-open.card{display:none;width:100%;min-height:0;justify-content:space-between;align-items:center;text-align:left;padding:16px 20px;border:1px solid var(--line) !important;background:#fff;font:inherit;font-size:19px;font-weight:700;color:var(--ink);cursor:pointer;border-radius:var(--radius)}
#catch.folded .catch-open.card{display:flex}
.catch-open.card::after,.catch-h::after{content:'';width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 4px 0 0;opacity:.6;flex-shrink:0}
.catch-h{display:flex;justify-content:flex-start;align-items:center;gap:6px;cursor:pointer;font-size:19px !important}
.catch-h::after{margin-left:auto !important}
.catch-h::after{transform:rotate(-135deg);margin-top:4px}
#catch .sec-head{display:block}
#catch .sec-head>div{width:100%}
#catch:not(.folded)>.wrap>*{position:relative}
#catch:not(.folded)>.wrap{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;margin-left:16px;margin-right:16px;max-width:calc(1440px - 32px)}
@media (min-width:900px){#catch:not(.folded)>.wrap{margin:0 auto;max-width:828px}}

/* 최근 조황: 옆으로 밀어 넘기는 카드 (휴대폰·PC 공통) */
#catch .catch-grid{display:flex !important;align-items:flex-start;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding:2px 2px 10px;margin:0 -2px;scrollbar-width:thin}
#catch .catch-grid>.ct{flex:0 0 80%;max-width:320px;scroll-snap-align:start;cursor:pointer}
#catch .catch-grid .ct img{aspect-ratio:1/1}
#catch .catch-grid .ct .ct-t{-webkit-line-clamp:3}
#catch .catch-grid>p{flex:1 0 100%}
.catch-hint{font-size:12.5px;color:var(--sub);margin:0 0 8px}
@media (min-width:769px){#catch .catch-grid>.ct{flex-basis:300px}}
#catch .sec-head p{font-size:13px;margin:4px 0 0}
#catch .sec-head .btn-sm{min-height:34px;font-size:13px;padding:0 12px;margin-top:8px}
#catch .catch-tabs{margin:12px 0 8px !important}
/* 바람 아이콘: 예측 화면과 같은 ↑ 화살표 */
.wa .ar.wi{display:inline-block;width:auto;height:auto;font-style:normal;font-weight:800;font-size:13px;line-height:1;color:#0F2F45;fill:none}
.wa.w-mid .ar.wi{color:#E07B1F}.wa.w-hi .ar.wi{color:#D32F2F}
.day.sel .wa .ar.wi{color:#fff}
/* 달력 바람: 화살표를 정사각 칸 가운데에서 돌려 숫자와 겹치지 않게 */
.day .wind .wa .ar.wi,.wind-key .wa .ar.wi{display:block;width:14px !important;height:14px !important;line-height:14px !important;font-size:12px;text-align:center;transform-origin:50% 50%;margin:0}
.day .wind .wa{gap:3px !important}
@media (max-width:400px){.day .wind .wa .ar.wi{width:12px !important;height:12px !important;line-height:12px !important;font-size:11px}.day .wind .wa{gap:2px !important}}
.wa svg.ar.wi{fill:none !important;overflow:visible}
/* 달력 바람: 숫자 10% 크게, 화살표 50% 작게 · 휴대폰 날짜 칸 10% 높게 */
.day .wind .wa b{font-size:1.1em !important}
.day .wind .wa .ar.wi{width:7px !important;height:7px !important}
@media (max-width:400px){.day .wind .wa .ar.wi{width:6px !important;height:6px !important}}
.day .wind .wa svg.ar.wi path{stroke-width:2.4}
@media (max-width:768px){.day{min-height:98px !important;align-content:space-evenly !important}}
/* 화살표 10% 크게, 오전·오후 간격 15% 좁게 */
.day .wind .wa .ar.wi{width:7.7px !important;height:7.7px !important}
@media (max-width:400px){.day .wind .wa .ar.wi{width:6.6px !important;height:6.6px !important}}
@media (max-width:768px){.day .wind{padding:0 11% !important}}
/* 화살표 15% 더 크게, 간격 20% 더 좁게 */
.day .wind .wa .ar.wi{width:8.9px !important;height:8.9px !important}
@media (max-width:400px){.day .wind .wa .ar.wi{width:7.6px !important;height:7.6px !important}}
@media (max-width:768px){.day .wind{padding:0 17% !important}}
/* 바람 화살표: 예측 화면과 같은 ↑ 글자(굵게), 숫자는 가늘게 */
.day .wind .wa span.ar.wi{display:block;width:12px !important;height:12px !important;line-height:12px !important;font-size:12px !important;font-weight:800;font-style:normal;text-align:center;transform-origin:50% 50%;overflow:visible}
@media (max-width:400px){.day .wind .wa span.ar.wi{width:11px !important;height:11px !important;line-height:11px !important;font-size:11px !important}}
.day .wind .wa b{font-weight:400 !important}
.day .wind .wa{gap:1px !important}
/* 확·대 글자 15% 크게 */
.day .cnt{font-size:11.5px !important;line-height:15px !important;min-height:15px !important}
@media (max-width:600px){.day .cnt{font-size:10.4px !important;line-height:14px !important;min-height:14px !important}}
@media (min-width:1024px){.day .cnt{font-size:15px !important;line-height:19px !important;min-height:19px !important}}
@media (max-width:600px){.day .cnt{font-size:11px !important;line-height:14px !important;min-height:14px !important}}
.day .cnt .p{margin-left:.15em}
/* 머리글: '제주피싱' 글자 대신 로고 그림 */
.logo .logo-tx{display:flex;align-items:center;gap:8px}
.logo .logo-jf{display:block;height:46px;width:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
@media (max-width:420px){.logo .logo-jf{height:42px}.logo .logo-tx small{font-size:11px;line-height:1.3;max-width:96px}}
@media (max-width:420px){.logo .logo-tx small{white-space:normal !important;overflow:visible !important;text-overflow:clip !important;max-width:118px;font-size:11.5px}}
.logo .logo-tx small{display:none !important}
/* 머리글 제주피싱 글자 로고 */
.logo .logo-jf{height:32px !important}
@media (max-width:420px){.logo .logo-jf{height:28px !important}}
.logo .logo-jf{opacity:.85}
/* 선장 물풍 모드 */
.dr-cap{margin:12px 0 4px;padding:14px;border-radius:14px;border:1px solid rgba(142,68,173,.45);background:rgba(142,68,173,.08)}
.dr-cap .dc-t{display:block;font-size:16px;margin-bottom:6px}
.dr-cap .dc-n{margin:8px 0 0;font-size:13.5px;line-height:1.6;opacity:.9}
.dr-cap .dc-err{margin:8px 0 0;font-size:13.5px;color:#E0675F}
.dr-cap .dc-b{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.dr-cap .dc-btn{font:inherit;font-size:15px;font-weight:700;border:0;border-radius:12px;padding:11px 16px;background:#8E44AD;color:#fff;cursor:pointer}
.dr-cap .dc-btn.ghost{background:transparent;border:1px solid rgba(142,68,173,.6);color:inherit}
.dr-cap .dc-btn.red{background:#C0392B}
.dr-cap .dc-btn:disabled{opacity:.6}
.dr-cap .dc-g{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.dr-cap .dc-g div{padding:8px 10px;border-radius:10px;background:rgba(127,127,127,.12);display:flex;flex-direction:column}
.dr-cap .dc-g span{font-size:12px;opacity:.75}.dr-cap .dc-g b{font-size:15px}.dr-cap .dc-g small{font-size:12.5px;opacity:.85}
.dr-cap .fcp-tb{margin-top:8px}
.dr-cap .dc-tm{display:flex;align-items:center;gap:6px;font-size:14px}
.dr-cap .dc-tm input{font:inherit;font-size:15px;padding:8px 10px;border-radius:10px;border:1px solid rgba(127,127,127,.4);background:transparent;color:inherit}
.dr-cap .dc-btn.on{background:#8E44AD;color:#fff}
.dr-cap .dc-btn.sm{font-size:13px;padding:7px 12px;margin-top:8px}
.dr-cap .dc-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.dr-cap .dc-it{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:12px;background:rgba(127,127,127,.1)}
.dr-cap .dc-it>i{flex:0 0 auto;width:12px;height:12px;border-radius:50%;margin-top:5px}
.dr-cap .dc-it>div{flex:1 1 auto;display:flex;flex-direction:column;gap:3px;min-width:0}
.dr-cap .dc-it small{font-size:12.5px;line-height:1.5;opacity:.85}
.dr-cap .dc-it .dc-btn{align-self:flex-start;margin-top:6px;font-size:14px;padding:9px 14px}
.dr-cap .dc-x{flex:0 0 auto;border:0;background:none;color:inherit;font-size:16px;opacity:.6;cursor:pointer;padding:2px 4px}
/* 지도 배 아이콘 */
.bt-ic{background:none !important;border:0 !important}
.bt-w{position:relative;width:34px;height:34px}
.bt-hull{position:absolute;left:9px;top:0;width:16px;height:28px;transform-origin:50% 50%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.bt-hull{top:3px !important}
.bt-dir{position:absolute;left:-9px;top:-9px;width:52px;height:52px;display:flex;align-items:flex-start;justify-content:center;font-weight:900;font-size:14px;line-height:1;text-shadow:0 0 3px #fff,0 0 3px #fff;transform-origin:50% 50%}

/* 지금 출조 중 (첫 화면) */
.live-box{margin-top:12px;padding:12px 14px;border-radius:14px;background:rgba(30,158,90,.12);border:1px solid rgba(30,158,90,.35);max-width:520px}
.live-box[hidden]{display:none}
.v2hero .wrap > .live-box{position:relative;z-index:3;max-width:none;margin:12px 16px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 14px}
.v2hero .wrap > .live-box .lv-h{grid-column:1/-1}
.v2hero .wrap > .live-box .lv-n{margin:0}
@media (max-width:560px){.v2hero .wrap > .live-box{grid-template-columns:1fr}}
.lv-h{display:flex;align-items:center;gap:8px;font-size:15px}.lv-h small{opacity:.75;font-size:12.5px}
.lv-dot{width:9px;height:9px;border-radius:50%;background:#2ECC71;box-shadow:0 0 0 0 rgba(46,204,113,.6);animation:lvp 1.6s infinite}
@keyframes lvp{70%{box-shadow:0 0 0 8px rgba(46,204,113,0)}100%{box-shadow:0 0 0 0 rgba(46,204,113,0)}}
@media (prefers-reduced-motion:reduce){.lv-dot{animation:none}}
.lv-n{margin:6px 0 8px;font-size:14px}.lv-n b{font-size:26px;margin-right:2px}.lv-n small{display:block;opacity:.75;font-size:12.5px;margin-top:2px}
.lv-b{display:flex;gap:8px;flex-wrap:wrap}
.lv-btn{display:inline-flex;align-items:center;padding:8px 12px;border-radius:10px;font-size:13.5px;font-weight:600;text-decoration:none;border:1px solid rgba(255,255,255,.18);color:inherit}
.lv-btn.on{background:#C0262D;border-color:#C0262D;color:#fff}
