:root {
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: #172321;
  background: #f8f7f2;
  --ink: #172321;
  --muted: #53615a;
  --line: #d7dbd0;
  --paper: #fffef9;
  --accent: #245444;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
button, select, input, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled { opacity: .45; cursor: default; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
.wrap { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { color: var(--ink); text-decoration: none; font-size: 22px; font-weight: 700; }
.bar-inner .brand { margin-right: auto; }
.outline, .primary, .close {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  line-height: 1.4;
}
.outline:hover, .close:hover { background: #e8eee5; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.primary:hover { background: #173e32; }
.bar-link { white-space: nowrap; text-decoration: none; }
.masthead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 16px 0 12px; }
.masthead p { color: var(--muted); font-size: 13px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.16; font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 700; }
label { display: grid; gap: 4px; font-size: 14px; }
input, select, textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  padding: 8px 12px;
}
.section-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.sponsors, .feed { margin-top: 16px; }
.sponsors { padding: 16px; border: 1px solid var(--line); background: #f0f2ea; }
.sponsors h2 { font-size: 16px; }
.ad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ad-grid.daily { grid-template-columns: 1fr; }
.ad-grid.daily:not(:empty) { margin-top: 8px; }
.ad-card { padding: 8px 12px; text-align: left; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.ad-card:hover { border-color: var(--accent); }
.ad-tag { display: inline-block; margin-right: 8px; color: var(--muted); font-size: 12px; }
.ad-card small, #adContext, #feedCount { color: var(--muted); }
.ad-card small { display: block; margin-top: 4px; }
.feed-label { display: flex; align-items: baseline; gap: 8px; }
.sort { grid-template-columns: auto auto; align-items: center; color: var(--muted); font-size: 13px; }
.sort select { padding: 4px 8px; }
.feed { width: min(100%, 656px); margin-inline: auto; }
#reports { border-top: 1px solid var(--ink); }
.report-post { padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.post-title { padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 19px; font-weight: 700; text-align: left; overflow-wrap: anywhere; }
.post-title:hover { text-decoration: underline; }
.post-meta, .post-result small { display: block; color: var(--muted); font-size: 13px; }
.post-result { text-align: right; flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.post-result small { font-weight: 400; }
.post-description { margin: 12px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.gallery { margin-block: 12px; min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.gallery-slide img {
  display: block;
  width: 100%;
  height: min(37svh, 320px);
  object-fit: contain;
  background: #eff1e8;
}
.photo-credit { padding-top: 4px; font-size: 12px; color: var(--muted); }
.photo-credit a { color: inherit; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; font-size: 13px; font-variant-numeric: tabular-nums; }
.gallery-controls button, .calendar-heading button { padding: 0 8px; min-width: 32px; min-height: 32px; font-size: 20px; line-height: 1; }
.empty { padding: 24px 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; gap: 12px; padding: 24px 0 32px; color: var(--muted); font-size: 13px; }
.review-entry, .review-heading a { color: var(--accent); font-size: 13px; }
.review-panel { border-bottom: 1px solid var(--line); padding: 20px 0 14px; }
.review-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-heading a { font-size: 13px; white-space: nowrap; }
.review-panel p { color: var(--muted); font-size: 13px; margin: 5px 0 11px; }
.review-indicator { font-size: 12px; margin-bottom: 10px; }
#reviewNavigation { display: flex; flex-wrap: wrap; gap: 6px; }
#reviewNavigation a { padding: 5px 9px; border-radius: 4px; text-decoration: none; border: 1px solid var(--line); font-size: 13px; color: var(--ink); background: var(--paper); }
#reviewNavigation a[aria-current="page"] { color: white; background: var(--accent); border-color: var(--accent); }
.profile-page { width: min(100%, 720px); margin: 32px auto 0; }
.profile-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 22px; }
.profile-heading > a { text-decoration: none; white-space: nowrap; }
.profile-heading p, .profile-sections p { color: var(--muted); margin-top: 6px; }
.profile-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); }
.profile-sections section { padding-top: 16px; }
.profile-sections a, .profile-actions a { display: inline-block; text-decoration: none; }
.profile-sections a { margin-top: 12px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.profile-actions:empty { display: none; }
.profile-posts-heading { margin-top: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
dialog { width: min(536px, calc(100% - 24px)); max-height: 90dvh; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
dialog::backdrop { background: #17232180; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dialog-head h2 { overflow-wrap: anywhere; }
.close { padding: 4px 8px; font-size: 20px; line-height: 1.2; }
dialog p { color: var(--muted); overflow-wrap: anywhere; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.settings-note { font-size: 13px; color: var(--muted); }
.application-state { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 6px; font-size: 14px; }
.application-reason { font-weight: 600; overflow-wrap: anywhere; }
.external-schedule { padding-top: 12px; border-top: 2px solid var(--accent); display: grid; gap: 10px; }
#externalSchedule { margin: 20px 24px 0; }
#externalSchedule h4 { margin: 0; font-size: 18px; letter-spacing: -.045em; color: var(--ink); }
@media (max-width: 720px) { #externalSchedule { margin: 16px 16px 0; } }
.external-note { font-size: 13px; color: var(--muted); }
.external-trips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.external-trips li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.external-trips strong { margin-left: auto; }
.external-trips .trip-book { padding: 4px 10px; font-size: 13px; }
.external-schedule .booking-link { justify-self: start; }
.ext-cal { display: grid; gap: 8px; }
.ext-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ext-cal-head button { min-width: 44px; min-height: 40px; padding: 4px 10px; font-size: 18px; }
.ext-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ext-cal-dow { text-align: center; font-size: 12px; color: var(--muted); padding: 2px 0; }
.ext-cal-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; min-height: 52px; padding: 6px 2px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--ink); font: inherit; }
span.ext-cal-day { border-color: transparent; opacity: .45; }
.ext-cal-day b { font-size: 14px; font-weight: 600; }
.ext-cal-day small { font-size: 11px; line-height: 1.15; text-align: center; max-width: 100%; word-break: break-all; }
.ext-cal-day .ext-open { color: var(--accent); font-weight: 700; }
.ext-cal-day .ext-full { color: var(--muted); }
.ext-cal-day .ext-other { color: #d9822b; font-weight: 600; }
.ext-cal-day.sun b, .ext-cal-dow.sun { color: #e0605a; }
.ext-cal-day.sat b, .ext-cal-dow.sat { color: #4a8fe0; }
.ext-cal-day.past { opacity: .4; }
.ext-cal-day.selected { border: 2px solid var(--accent); }
button.ext-cal-day { cursor: pointer; }
.ext-cal-date { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.reservation-notice { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
#captainBoatHint { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
#captainSettingsForm input[readonly] { opacity: .75; cursor: default; }
#captainSettingsForm > label { align-self: start; align-content: start; }
#reapplyForm { margin-top: 0; }
#reapplyForm p { font-size: 13px; color: var(--muted); }
.consent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.consent label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.consent input { width: 18px; height: 18px; margin: 0; flex: none; }
.consent .text-button { min-height: 40px; font-size: 14px; }
.privacy-body dl { margin: 12px 0 0; display: grid; gap: 4px; }
.privacy-body dt { font-weight: 700; margin-top: 10px; }
.privacy-body dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.privacy-version { font-size: 13px; margin-top: 16px; }
.text-button { justify-self: start; border: 0; padding-inline: 0; background: transparent; color: var(--accent); text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.owner-actions, #accountStatus, #feedStatus { margin-top: 12px; }
.wide, .status { grid-column: 1 / -1; }
.status:empty { display: none; }
.detail-description { margin: 12px 0; white-space: pre-wrap; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.booking-link { display: inline-block; text-decoration: none; }
.captain-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.captain-actions:empty { display: none; }
.fleet-report { display: block; width: 100%; margin-top: 4px; text-align: left; }
.social-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 1px solid var(--line); margin: 0; padding: 8px 12px 12px; }
.social-options legend { padding: 0 4px; font-size: 14px; }
.social-options p { grid-column: 1 / -1; font-size: 13px; }
.social-options label { display: flex; gap: 6px; align-items: center; }
.social-options input { accent-color: var(--accent); }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0; }
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.weekday { text-align: center; font-size: 12px; color: var(--muted); }
.calendar-day { min-height: 44px; padding: 4px 0; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.calendar-day small { display: block; color: var(--muted); font-size: 10px; }
.calendar-day[aria-pressed="true"] { border-color: var(--accent); background: #e8eee5; font-weight: 700; }
#bookingSelection, #bookingAction { margin-top: 12px; }
#bookingSelection:empty, #bookingAction:empty { display: none; }
#reservationsSelection:not(:empty) { margin-top: 12px; }
#reservationsSelection ul { margin-block: 4px 0; padding-left: 20px; }
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .bar-inner { min-height: 56px; gap: 8px; }
  .brand { font-size: 20px; }
  .bar-inner button { padding-inline: 8px; white-space: nowrap; font-size: 13px; }
  .bar-link { padding-inline: 8px; font-size: 13px; }
  .profile-sections { grid-template-columns: 1fr; gap: 0; }
  .profile-sections section { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .masthead { padding-top: 12px; }
  .ad-grid { grid-template-columns: 1fr; }
  .post-title { font-size: 17px; }
  .gallery-slide img { height: min(36svh, 272px); }
}
@media (max-width: 370px) {
  .bar-inner { flex-wrap: wrap; padding-block: 6px; }
}

/* Public catch log */
:root { --accent: #145a69; --ink: #142e37; --paper: #fff; --muted: #526770; --line: #d3dfe2; color: var(--ink); background: #f8faf9; }
.wrap { width: min(1160px, calc(100% - 64px)); }
.bar { background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 9px; letter-spacing: -.05em; }
.brand::before { content: ""; width: 28px; height: 23px; background: var(--accent); clip-path: polygon(0 50%,30% 50%,43% 10%,64% 10%,57% 50%,100% 50%,76% 88%,26% 88%); }
.bar-inner .outline { background: transparent; border-color: transparent; }
.masthead { padding: 40px 0 16px; }
.masthead h1 { font: 700 clamp(38px,5vw,64px)/1.08 Batang, "바탕", Georgia, serif; letter-spacing: -.06em; }
.feed { width: 100%; margin-top: 0; }
#speciesNav { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
#speciesNav button { border: 0; border-bottom: 3px solid transparent; padding: 12px 2px; background: transparent; color: var(--muted); font-weight: 600; }
#speciesNav button[aria-pressed=true] { color: var(--accent); border-color: currentColor; }
.feed .section-top { margin-bottom: 16px; }
#reports { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; border: 0; }
#reports .report-post { display: flex; flex-direction: column; min-width: 0; padding: 0 0 16px; }
#reports .gallery { order: -1; margin: 0 0 16px; }
#reports .gallery-slide img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; border-radius: 6px; background: #e7edef; }
#reports .post-title { font-size: clamp(20px,2.2vw,30px); letter-spacing: -.045em; }
#reports .post-actions { justify-content: flex-start; }
#reports .post-actions button, #reports .post-actions a { padding: 5px 10px; font-size: 14px; }
#reports .empty { grid-column: 1/-1; padding-block: 48px; }
#captainDialog { width: min(760px,calc(100% - 24px)); padding: clamp(20px,4vw,40px); }
#captainTitle { font-size: clamp(26px,4vw,40px); }
.vessel-log { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 8px; }
.vessel-log section { border-top: 2px solid var(--accent); }
.vessel-log h3 { margin: 12px 0; }
.schedule-nav, .schedule-days > div, #departureInputs > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.schedule-nav button { padding: 4px 6px; font-size: 13px; }
.schedule-nav strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.schedule-days { margin: 12px 0; font-variant-numeric: tabular-nums; }
.schedule-days > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.schedule-days dd { margin: 0; color: var(--muted); font-size: 14px; }
.schedule-days time { display: block; color: var(--accent); font-weight: 600; }
#departureInputs input { flex: 1; }
#departureInputs > div + div { margin-top: 8px; }
#departures a { display: inline-block; margin-top: 12px; }
.departure-fields { display: grid; gap: 8px; border: 1px solid var(--line); min-width: 0; }
@media(max-width:680px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { padding: 24px 0 12px; }
  #speciesNav { flex-wrap: nowrap; overflow-x: auto; gap: 0 10px; margin-bottom: 16px; }
  #speciesNav button { flex: none; }
  #speciesNav button { font-size: 14px; }
  #reports, .vessel-log { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
#tripManager { margin-top: 28px; border-top: 1px solid var(--line); }
#operatorCalendar { margin-top: 16px; }
.schedule-nav input { width: auto; min-width: 0; max-width: 52%; }
.schedule-days dt { flex-shrink: 0; font-size: 14px; }
.schedule-days dd { min-width: 0; }
.trip-line { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; padding: 4px 0; overflow-wrap: anywhere; }
button.trip-line { margin-left: auto; background: transparent; border: 0; color: inherit; text-decoration: underline; }
.trip-line strong { color: var(--ink); font-weight: 600; }

.phone-nav { display: none; }
@media (max-width: 680px) {
  body:has(.phone-nav) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bar-inner #openWatch, .bar-inner #myPageLink, .bar-inner #openAccount { display: none; }
  .bar-inner { min-height: 48px; }
  .masthead { padding-block: 20px 8px; }
  .masthead h1 { font-size: 34px; }
  #speciesNav { position: sticky; top: 0; z-index: 2; background: #f8faf9; margin: 0 -16px 12px; padding-inline: 16px; scrollbar-width: none; }
  #speciesNav button { min-height: 44px; padding-inline: 6px; }
  .feed .section-top { margin-bottom: 12px; }
  #reports .gallery { margin: 0 -16px 12px; }
  #reports .gallery-slide img { aspect-ratio: 4 / 3; border-radius: 0; }
  #reports .photo-credit { padding-inline: 16px; }
  #reports .post-actions { align-items: center; }
  #reports .post-actions button, #reports .post-actions a { min-height: 44px; display: inline-flex; align-items: center; }
  #reports .post-actions .primary { margin-left: auto; padding-inline: 18px; }
  .phone-nav { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 3; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .phone-nav { transition: transform .25s ease; }
  body.nav-hidden .phone-nav { transform: translateY(100%); }
  .phone-nav :is(a,button) { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 50px; background: transparent; border: 0; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; }
  .phone-nav i { position: relative; display: block; width: 19px; height: 17px; color: var(--accent); }
  .nav-log { border: 2px solid; border-radius: 3px; }
  .nav-log::after { content: ""; position: absolute; inset: 6px 2px auto; border-top: 2px solid; }
  .nav-tune::before, .nav-tune::after { content: ""; position: absolute; inset: 3px 0 auto; height: 3px; border-left: 5px solid; border-bottom: 1px solid; }
  .nav-tune::after { inset: auto 0 2px; border-left: 0; border-right: 5px solid; }
  .nav-person::before, .nav-person::after { content: ""; position: absolute; border: 1.6px solid; }
  .nav-person::before { width: 6px; height: 6px; top: 0; left: 5px; border-radius: 50%; }
  .nav-person::after { inset: 10px 1px 0; border-radius: 9px 9px 2px 2px; }
}

/* A catch journal with one lead photograph and a compact departure desk. */
:root { --ink:#142d43; --accent:#205ab0; --muted:#526778; --line:#cfdae1; --paper:#fff; background:#f2f6f8; }
.bar { background:#142d43; color:white; }
.bar .brand, .bar-inner .outline { color:white; }
.bar .brand::before { background:#82c3de; }
.bar-inner .outline:hover { background:#254459; }
.masthead h1 { font-family:"Malgun Gothic",sans-serif; font-weight:800; letter-spacing:-.065em; }
#speciesNav button[aria-pressed=true] { color:var(--accent); }
#reports .post-description { line-height:1.7; }
@media(min-width:800px) {
  #reports { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #reports .report-post:first-child:has(.gallery) { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr); grid-template-rows:1fr auto auto 1fr; column-gap:clamp(28px,4vw,64px); padding:24px; background:var(--paper); border:0; }
  #reports .report-post:first-child .gallery { grid-column:1; grid-row:1/5; margin:0; }
  #reports .report-post:first-child .post-head { grid-column:2; grid-row:1; align-self:end; }
  #reports .report-post:first-child .post-description { grid-column:2; grid-row:2; margin:22px 0; }
  #reports .report-post:first-child .post-actions { grid-column:2; grid-row:3; }
}
#captainDialog { padding:0; border:0; width:min(850px,calc(100% - 24px)); }
#captainDialog > .dialog-head { padding:24px 24px 4px; background:#142d43; color:white; margin:0; }
#captainDialog > #captainPort { padding:0 24px 20px; background:#142d43; color:#d3e3ee; }
#captainActions, #captainDialog .vessel-log { margin-inline:24px; }
#captainDialog .vessel-log { grid-template-columns:minmax(145px,.65fr) minmax(0,1.5fr); padding-bottom:20px; }
.booking-opt { display:flex; align-items:center; gap:8px; }
.seat-form { margin:10px 0; padding:16px; border-left:4px solid var(--accent); background:#eaf2fa; text-align:left; }
.seat-form h4 { margin:0 0 8px; font-size:17px; }
.seat-form label { margin-block:8px; }
.seat-form input { max-width:100%; }
.seat-form output { display:block; margin-top:8px; }
.trip-line.reserve { padding:8px; border:1px solid #acc4dc; background:white; border-radius:4px; text-decoration:none; }
.trip-line.reserve strong { color:var(--accent); }
@media(max-width:680px) {
  #speciesNav { background:#f2f6f8; }
  #captainDialog .vessel-log { grid-template-columns:minmax(0,1fr); gap:12px; margin-inline:16px; }
  #reports .report-post { padding:0 14px 16px; border:0; background:white; }
  #reports .gallery { margin:0 -14px 14px; }
  #reports .post-title { font-size:24px; }
}

#captainDialog .review-indicator { margin:0; padding:2px 24px; color:#c8dbe8; background:#142d43; }
#departures .schedule-days > div { align-items:flex-start; }
#departures .schedule-days dt { min-width:64px; padding-top:10px; font-weight:600; }
#departures .schedule-days dd { flex:1; }
#departures .trip-line.reserve { width:100%; min-height:44px; justify-content:flex-start; gap:10px; }
#departures .trip-line.reserve strong { margin-left:auto; }
#departures .seat-form label { display:flex; align-items:center; justify-content:space-between; }
#departures .seat-form input { width:72px; }
#departures .seat-form .primary { width:100%; min-height:42px; }
@media(min-width:800px) {
  #reports .report-post:first-child:has(.gallery) .post-title { font-size:clamp(30px,3.2vw,46px); line-height:1.12; }
  #reports .report-post:first-child:has(.gallery) .post-meta { margin-top:8px; }
}

/* SNS 체크박스 아이콘·간편 공유 (2026-11-29) */
.social-options label { display: inline-flex; align-items: center; gap: 6px; }
.sns-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.sns-icon svg { width: 20px; height: 20px; }
.share-buttons { display: grid; gap: 8px; margin: 12px 0; }
.share-buttons button { min-height: 46px; font-weight: 700; }
.share-caption { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.share-caption textarea { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; resize: vertical; }
.share-fallback { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.share-fallback a { text-decoration: none; padding: 8px 12px; }

/* 조황 등록 1단계: 사진 고르기 (인스타그램처럼 사진 먼저) */
.photo-step { display: grid; gap: 12px; margin-top: 12px; }
.photo-step[hidden], #reportForm[hidden] { display: none; }
.step-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin: 0; }
.step-label span { color: var(--muted); font-size: 13px; font-weight: 400; }
.photo-step small { color: var(--muted); font-size: 12px; }
.photo-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.photo-picks:empty { display: none; }
.photo-picks li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #0003; }
.photo-picks li.cover { outline: 2px solid var(--accent); outline-offset: -2px; }
.photo-picks img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-order { position: absolute; left: 6px; top: 6px; padding: 1px 7px; border-radius: 10px; background: #000a; color: #fff; font-size: 12px; font-weight: 700; }
.pick-remove { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #000a; color: #fff; font-size: 18px; line-height: 30px; cursor: pointer; }
.pick-cover { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border: 0; border-radius: 10px; background: #000a; color: #fff; font-size: 12px; cursor: pointer; }
.photo-pick { position: relative; display: grid; place-items: center; min-height: 120px; border: 2px dashed var(--line); border-radius: 8px; color: var(--ink); font-weight: 700; cursor: pointer; }
.photo-picks:not(:empty) + .photo-pick { min-height: 52px; }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-pick.full { opacity: .45; cursor: not-allowed; }
.photo-pick:focus-within { outline: 2px solid var(--accent); }
#photoNext { min-height: 46px; font-weight: 700; }
#photoNext:disabled { opacity: .45; cursor: not-allowed; }
.photo-chosen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; }
.photo-chosen .step-label { grid-column: 1 / -1; }
.photo-strip { display: flex; gap: 6px; overflow-x: auto; }
/* 조황 등록 버튼이 여는 앨범 입력칸: 화면에서 숨기되 display:none은 쓰지 않는다(일부 휴대폰에서 앨범이 안 열림). */
.album-input { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-prep { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
/* 고른 사진·동영상: 고른 순서 번호와 동영상 표시 */
.photo-picks video, .photo-strip video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.pick-kind { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 8px; background: #000a; color: #fff; font-size: 11px; }
.photo-picks li:not(:first-child) .pick-kind { bottom: 32px; }
.strip-item { position: relative; flex: none; width: 52px; height: 52px; border-radius: 4px; overflow: hidden; }
.strip-item:first-child { outline: 2px solid var(--accent); outline-offset: -2px; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-order { position: absolute; left: 3px; top: 3px; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #000a; color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
@media (prefers-reduced-motion: reduce) { .phone-nav { transition: none; } }
