:root {
--lesson-red: #ff432a;
--lesson-shadow: #d9230c;
--lesson-highlight: #ff8f76;
--lesson-cream: #ffe6c1;
--lesson-pupil: #111318;
--tackle-pearl: #fff6e8;
--tackle-pearl-line: #d5c9b3;
--lab-overlay-shadow: #00162425;
--lab-tab-shadow: #00162415;
--lab-backdrop: #071d3080;
color-scheme: light;
--bg: #f6f5f2;
--surface: #ffffff;
--surface-soft: #eeefec;
--text-primary: #191f1d;
--text-secondary: #4d575b;
--text-tertiary: #687276;
--border: #d8dedb;
--border-strong: #8a9490;
--cold: #4e8fd8;
--cool: #45a7a1;
--neutral: #f2b84b;
--warm: #ff8a3d;
--hot: #ff5b4d;
--up: #f04438;
--down: #3182f6;
--focus: #0f766e;
--nav-active: #0f766e;
--selected: #e4f3f0;
--ocean: #d7ebe7;
--lure-photo-surface: #ffffff;
--accent-ink: #0f766e;
--accent-line: #0f766e;
--accent-line-soft: #687b74;
--accent-surface: #d7ebe7;
--accent-surface-soft: #e4f3f0;
--warn-surface: #f4e7bf;
--warn-surface-strong: #efdda8;
--warn-surface-soft: #f8efd3;
--warn-ink: #684d08;
--warn-ink-strong: #5b4200;
--warn-line: #b79742;
--alert-ink: #a3441b;
--alert-surface: #f8dfd2;
--amber-ink: #6b4d00;
--info-ink: #315f5a;
--info-surface: #e4f3f0;
--skeleton: #e2e6e3;
--focus-ring: rgba(15, 118, 110, .72);
--glass: rgba(255, 255, 255, .92);
--glass-strong: rgba(255, 255, 255, .98);
--scrim: rgba(17, 24, 39, .34);
--card-shadow: 0 1px 2px rgba(25, 31, 29, .06), 0 10px 30px rgba(25, 31, 29, .06);
--callout-bg: #173e3a;
--callout-ink: #f3f7f5;
--callout-accent: #5eead4;
--callout-muted: rgba(243, 247, 245, .74);
--callout-button: #ffffff;
--callout-button-ink: #173e3a;
--control-on-accent: #ffffff;
--sat-ink: #2563c9;
--sun-ink: #d23c2a;
--tide-ink: #0f766e;
--tide-band: #e4f3f0;
--tide-tick: #cad6d2;
--tide-axis: #687b74;
--tide-now: #8b6508;
--tide-now-ink: #684d08;
--tide-low: #d85a24;
--tide-halo: #ffffff;
--radius-sm: 12px;
--radius-md: 16px;
--radius-lg: 20px;
--radius-pill: 999px;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-8: 32px;
--space-12: 48px;
--space-16: 64px;
--type-caption: 12px;
--type-meta: 13px;
--type-body: 15px;
--type-action: 17px;
--type-title: 20px;
--type-section: clamp(24px, 4vw, 30px);
--type-l1: clamp(32px, 5vw, 48px);
--type-display: clamp(44px, 7vw, 64px);
--duration-fast: 120ms;
--duration-state: 180ms;
--ease-standard: cubic-bezier(.2, 0, 0, 1);
--pressed-opacity: .82;
--nav-height: 64px;
--font-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
--font-data: var(--font-sans);
font-family: var(--font-sans);
color: var(--text-primary);
background: var(--bg);
font-synthesis: none;
font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--bg: #101715;
--surface: #17201d;
--surface-soft: #202b27;
--text-primary: #f3f7f5;
--text-secondary: #aebab5;
--text-tertiary: #8d9b95;
--border: #35433e;
--border-strong: #60716a;
--cold: #6ba5e4;
--cool: #5cbdb7;
--neutral: #ffc960;
--warm: #ff9d5c;
--hot: #ff7566;
--up: #ff6f63;
--down: #63a4ff;
--focus: #5eead4;
--nav-active: #5eead4;
--selected: #193832;
--ocean: #193832;
--lure-photo-surface: #17201d;
--accent-ink: #5eead4;
--accent-line: #5eead4;
--accent-line-soft: #60716a;
--accent-surface: #20463f;
--accent-surface-soft: #193832;
--warn-surface: #2b291b;
--warn-surface-strong: #35311b;
--warn-surface-soft: #24251b;
--warn-ink: #e0c373;
--warn-ink-strong: #efd68d;
--warn-line: #8a783c;
--alert-ink: #ff9a69;
--alert-surface: #3a251d;
--amber-ink: #e8c56d;
--info-ink: #a6e5d9;
--info-surface: #193832;
--skeleton: #27342f;
--focus-ring: rgba(94, 234, 212, .5);
--glass: rgba(23, 32, 29, .92);
--glass-strong: rgba(23, 32, 29, .98);
--scrim: rgba(3, 8, 10, .58);
--card-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .24);
--sat-ink: #6aa7ff;
--sun-ink: #ff7566;
--tide-ink: #5eead4;
--tide-band: #193832;
--tide-tick: #35433e;
--tide-axis: #8d9b95;
--tide-now: #e8c56d;
--tide-now-ink: #efd68d;
--tide-low: #ff8a55;
--tide-halo: #17201d;
--control-on-accent: #10201d;
}
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
min-width: 320px;
min-height: 100vh;
margin: 0;
overflow-x: hidden;
background: var(--bg);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
font-optical-sizing: auto;
}
button, select, input { font: inherit; font-variant-numeric: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }
button:focus-visible,
a:focus-visible,
select:focus-visible {
outline: 3px solid var(--focus-ring);
outline-offset: 2px;
}
.skip-link {
position: fixed;
z-index: 100;
top: 8px;
left: 8px;
padding: 10px 14px;
transform: translateY(-160%);
border-radius: var(--radius-sm);
background: var(--callout-bg);
color: var(--callout-ink);
text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 8px); }
.topbar {
position: sticky;
z-index: 20;
top: 0;
display: flex;
min-height: 60px;
align-items: center;
justify-content: space-between;
padding: 0 clamp(16px, 3vw, 32px);
border-bottom: 1px solid var(--border);
background: var(--glass);
backdrop-filter: blur(14px);
}
.brand {
display: inline-flex;
min-width: 0;
min-height: 44px;
align-items: center;
gap: 8px;
font-size: 18px;
font-weight: 700;
letter-spacing: -.04em;
text-decoration: none;
}
.brand-name { flex: 0 0 auto; white-space: nowrap; }
.brand-mark { flex: 0 0 auto; width: 28px; height: 28px; }
.brand-tag {
min-width: 0;
overflow: hidden;
color: var(--text-secondary);
font-size: 12px;
font-weight: 600;
letter-spacing: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
.topbar-meta { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 12px; }
#todayLabel { display: inline-block; min-inline-size: 68px; text-align: right; }
.topbar-game {
display: inline-flex;
min-width: 44px;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 11px;
border-radius: 999px;
color: var(--focus);
font-size: 12px;
font-weight: 700;
text-decoration: none;
}
.topbar-game:hover { background: var(--selected); }
.topbar-game svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button,
.map-controls button {
display: inline-grid;
min-width: 44px;
min-height: 44px;
place-items: center;
border: 0;
border-radius: 50%;
background: transparent;
cursor: pointer;
}
.icon-button:hover { background: var(--surface-soft); }
.demo-badge,
.level-badge {
display: inline-flex;
min-height: 28px;
align-items: center;
padding: 0 10px;
border-radius: 999px;
background: var(--surface-soft);
color: var(--text-secondary);
font-size: 12px;
font-weight: 600;
}
.view { width: 100%; }
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.home-view { max-width: 980px; margin: 0 auto; padding: clamp(20px, 4vw, 40px) 20px 72px; }
.home-layer { width: 100%; }
.today-layer { margin-top: 18px; }
.hero-section {
display: grid;
grid-template-columns: minmax(0, 1fr);
align-content: start;
gap: 0;
padding: 0;
}
.hero-copy h1 {
max-width: 720px;
margin: 0;
font-size: clamp(24px, 5.6vw, 32px);
font-weight: 700;
line-height: 1.2;
letter-spacing: -.045em;
word-break: keep-all;
min-height: 30px;
}
.eyebrow,
.card-kicker,
.section-label {
margin: 0 0 6px;
color: var(--text-secondary);
font-size: 12px;
font-weight: 600;
letter-spacing: .05em;
}
.hero-description {
max-width: 600px;
margin: 8px 0 0;
color: var(--text-secondary);
font-size: 14px;
line-height: 1.6;
word-break: keep-all;
}
.season-status {
display: inline-flex;
min-height: 44px;
width: fit-content;
max-width: 100%;
align-items: center;
justify-content: flex-start;
gap: 12px;
margin-top: 14px;
padding: 8px 14px;
border: 1px solid var(--warn-line);
border-radius: 999px;
background: var(--warn-surface);
color: var(--warn-ink-strong);
font-size: 13px;
}
.season-status span { line-height: 1.45; }
.season-status strong {
flex: 0 0 auto;
padding-left: 12px;
border-left: 1px solid var(--warn-line);
font-size: 15px;
font-weight: 700;
}
.marine-verdict {
display: flex;
min-height: 44px;
flex-wrap: wrap;
align-items: baseline;
gap: 2px 10px;
margin: 10px 0 0;
}
.marine-verdict::before {
content: '해상 조건';
flex: 0 0 auto;
color: var(--text-secondary);
font-size: 12px;
font-weight: 600;
letter-spacing: .05em;
}
.marine-verdict strong { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.marine-verdict span { flex: 1 1 100%; color: var(--text-secondary); font-size: 13px; line-height: 1.5; word-break: keep-all; }
.marine-verdict[data-state="OK"] strong { color: var(--accent-ink); }
.marine-verdict[data-state="CAUTION"] strong { color: var(--alert-ink); }
.marine-verdict[data-state="CLOSED"] strong { color: var(--warn-ink-strong); }
.marine-verdict[data-state="HOLD"] strong,
.marine-verdict[data-state="pending"] strong { color: var(--text-secondary); }
.stale-banner {
display: flex;
min-height: 48px;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px 12px;
margin-bottom: 14px;
padding: 8px 14px;
border: 1px solid var(--warn-line);
border-radius: var(--radius-md);
background: var(--warn-surface);
color: var(--warn-ink);
font-size: 13px;
line-height: 1.5;
}
.primary-button,
.secondary-button,
.text-button {
min-height: 44px;
border-radius: var(--radius-sm);
cursor: pointer;
font-weight: 600;
}
.primary-button {
padding: 0 18px;
border: 1px solid var(--text-primary);
background: var(--text-primary);
color: var(--bg);
}
.secondary-button {
padding: 0 15px;
border: 1px solid var(--border-strong);
background: var(--surface);
}
.text-button {
padding: 0 2px;
border: 0;
background: transparent;
color: var(--focus);
}
.text-button:disabled { color: var(--text-tertiary); cursor: not-allowed; }
.link-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.meta-text,
.section-note {
margin: 0;
color: var(--text-secondary);
font-size: 13px;
line-height: 1.5;
}
.condition-card,
.state-card {
border: 0;
border-radius: var(--radius-lg);
background: var(--surface);
}
.condition-card {
display: grid;
align-content: start;
gap: 6px;
padding: clamp(18px, 3vw, 28px);
box-shadow: var(--card-shadow);
}
.condition-card-head { display: flex; min-height: 32px; align-items: flex-start; justify-content: space-between; gap: 16px; }
.condition-card h2 {
margin: 4px 0 0;
font-size: clamp(26px, 5vw, 34px);
font-weight: 700;
line-height: 1.2;
letter-spacing: -.04em;
}
#conditionTitle { min-height: 68px; }
.condition-card h2.condition-mul-hero {
font-size: clamp(46px, 11vw, 64px);
font-weight: 800;
line-height: 1.05;
letter-spacing: -.05em;
}
.condition-tide { min-height: 22px; margin: 8px 0 2px; font-size: 14px; font-weight: 600; line-height: 1.55; }
.condition-detail-button { width: fit-content; margin-top: 8px; padding: 0; }
#conditionBasis { min-height: 20px; }
.mul-flow { display: grid; max-width: 300px; gap: 4px; margin: 8px 0 0; }
.mul-flow-track { position: relative; display: block; height: 5px; border-radius: 999px; background: var(--accent-line-soft); }
.mul-flow-dot { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--accent-line); transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--surface); }
.mul-flow-scale { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 12px; font-weight: 600; }
.today-briefing-grid { display: grid; gap: 18px; margin-top: 8px; }
.tide-overview { min-width: 0; }
.tide-infographic { margin-top: 12px; }
.tide-loading-placeholder {
display: grid;
place-items: center;
margin: 0;
border-radius: var(--radius-md);
background: var(--surface-soft);
color: var(--text-secondary);
font-size: 13px;
text-align: center;
}
.tide-chart-shell { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; color: var(--tide-ink); }
.tide-chart { display: block; width: 100%; height: auto; min-height: 0; overflow: hidden; }
.tide-chart text { fill: var(--text-secondary); font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.tide-time-band { fill: var(--tide-band); }
.tide-axis-tick line { stroke: var(--tide-tick); stroke-width: 1; }
.tide-axis-line { stroke: var(--tide-axis); stroke-width: 1.2; }
.tide-guide { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 3; }
.tide-now-marker line { stroke: var(--tide-now); stroke-dasharray: 3 3; stroke-width: 1.5; }
.tide-now-marker text { fill: var(--tide-now-ink); font-size: 14px; font-weight: 700; }
.tide-event-high circle { fill: var(--accent-line); }
.tide-event-low circle { fill: var(--tide-low); }
.tide-event text { paint-order: stroke; stroke: var(--tide-halo); stroke-linejoin: round; stroke-width: 4px; }
.tide-note { margin: 0; }
.tide-note summary {
display: flex;
min-height: 44px;
width: fit-content;
align-items: center;
color: var(--text-secondary);
font-size: 13px;
font-weight: 600;
cursor: pointer;
}
.tide-guide-note { margin: 0 0 8px; color: var(--text-secondary); font-size: 13px; line-height: 1.5; word-break: keep-all; }
.tide-facts {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin: 2px 0 0;
}
.tide-facts > div { display: grid; min-width: 0; gap: 2px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-soft); }
.tide-facts dt { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.tide-facts dt::before { content: '▲'; flex: 0 0 auto; color: var(--accent-line); font-size: 11px; }
.tide-fact-low dt::before { content: '▼'; color: var(--tide-low); }
.tide-facts dd { display: flex; align-items: baseline; gap: 6px; margin: 0; flex-wrap: wrap; }
.tide-facts strong { color: var(--text-primary); font-size: clamp(22px, 6vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tide-facts span { color: var(--text-secondary); font-size: 13px; }
.tide-empty { min-height: 58px; margin: 0; padding: 12px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--surface-soft); color: var(--text-secondary); font-size: 13px; text-align: center; }
.marine-fact-cards {
display: grid;
min-width: 0;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
margin: 10px 0 0;
}
.marine-fact-card { display: grid; min-width: 0; min-height: 72px; align-content: center; gap: 3px; padding: 10px 9px; border: 0; border-radius: var(--radius-md); background: var(--surface-soft); }
.marine-fact-card dt { display: flex; align-items: center; gap: 5px; color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.marine-fact-icon { display: inline-flex; flex: 0 0 auto; }
.marine-fact-icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.marine-fact-card dd { min-width: 0; margin: 0; color: var(--text-primary); font-size: clamp(15px, 4.2vw, 18px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.marine-fact-card.is-missing { border: 1px dashed var(--border-strong); background: transparent; }
.marine-fact-card.is-missing dd { color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.temperature-forecast-card {
display: grid;
align-content: start;
gap: 5px;
padding: 16px;
border: 0;
border-radius: var(--radius-lg);
background: var(--accent-surface-soft);
}
.temperature-forecast-value { color: var(--accent-ink); font-size: clamp(30px, 7vw, 40px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; }
.temperature-forecast-title { font-size: 14px; font-weight: 700; }
.temperature-forecast-card p:not(.section-label) { margin: 2px 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.temperature-forecast-card small { color: var(--text-secondary); font-size: 11px; line-height: 1.45; }
.temperature-evidence { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; padding: 0; list-style: none; }
.temperature-evidence li { padding: 5px 8px; border-radius: 999px; background: var(--surface); color: var(--accent-ink); font-size: 11px; font-weight: 600; }
.content-section { margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--border); }
.week-summary { margin: 12px 0 0; padding: 14px 16px; border-radius: var(--radius-md); background: var(--warn-surface); color: var(--warn-ink); font-size: 14px; line-height: 1.6; }
.section-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 12px;
}
.section-heading h2,
.section-heading h3 { margin: 0; font-size: clamp(19px, 4vw, 22px); font-weight: 700; letter-spacing: -.03em; }
.section-heading.compact { align-items: center; margin-bottom: 16px; }
.section-heading.compact h3 { font-size: 20px; }
.section-heading.compact span { color: var(--text-secondary); font-size: 12px; }
.week-strip {
display: grid;
grid-auto-columns: minmax(104px, 1fr);
grid-auto-flow: column;
gap: 0;
overflow-x: auto;
margin: 0;
padding: 0;
border: 0;
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: var(--card-shadow);
scroll-snap-type: x proximity;
overscroll-behavior-x: contain;
scrollbar-width: none;
list-style: none;
}
.week-strip::-webkit-scrollbar { display: none; }
.week-day {
min-height: 112px;
padding: 14px 12px;
scroll-snap-align: start;
border: 0;
border-left: 1px solid var(--border);
background: transparent;
}
.week-day:first-child { border-left: 0; background: var(--selected); }
.week-day strong { display: block; margin-bottom: 10px; font-size: 13px; }
.week-day.is-sat strong { color: var(--sat-ink); }
.week-day.is-sun strong { color: var(--sun-ink); }
.week-day .mul { display: block; margin-top: 10px; color: var(--text-primary); font-size: 13px; font-weight: 700; }
.week-day .no-forecast { color: var(--text-secondary); font-size: 12px; }
.closed-day {
display: inline-flex;
min-height: 28px;
align-items: center;
padding: 0 9px;
border: 1px solid var(--warn-line);
border-radius: 999px;
background: var(--warn-surface);
color: var(--warn-ink-strong);
font-size: 11px;
font-weight: 600;
white-space: nowrap;
}
.forecast-fact {
display: block;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.5;
}
.forecast-caption { margin: 10px 0 0; color: var(--text-secondary); font-size: 12px; }
.index-chip,
.index-sample {
display: inline-flex;
min-height: 28px;
align-items: center;
padding: 0 9px;
border: 1px solid currentColor;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.index-1 { color: var(--down); background: var(--info-surface); }
.index-2 { color: var(--info-ink); background: var(--info-surface); }
.index-3 { color: var(--amber-ink); background: var(--warn-surface-strong); }
.index-4 { color: var(--alert-ink); background: var(--alert-surface); }
.index-5 { color: var(--alert-ink); background: var(--alert-surface); }
.index-0 { color: var(--text-secondary); background: var(--surface-soft); }
.inline-empty {
display: flex;
min-height: 100px;
flex-direction: column;
justify-content: center;
gap: 6px;
padding: 20px;
border-radius: var(--radius-md);
background: var(--surface-soft);
}
.inline-empty span { color: var(--text-secondary); font-size: 14px; }
.reason-chips,
.index-list { display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chip {
display: inline-flex;
min-height: 34px;
align-items: center;
gap: 6px;
padding: 0 11px;
border: 0;
border-radius: 999px;
background: var(--surface-soft);
font-size: 13px;
}
.disclaimer { color: var(--text-secondary); font-size: 12px; line-height: 1.65; }
.home-footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 12px 24px;
padding: 24px 0 0;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.6;
}
.home-footer p { margin: 0; }
.home-footer a { display: inline-flex; min-height: 44px; align-items: center; }
.game-callout {
position: relative;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 14px;
align-items: center;
margin-top: 24px;
padding: 14px 16px;
overflow: hidden;
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--card-shadow);
}
.game-callout-art { position: relative; width: 40px; height: 40px; flex: 0 0 auto; color: var(--accent-line); }
.game-callout-art span { position: absolute; border: 2px solid currentColor; border-radius: 50%; opacity: .64; }
.game-callout-art span:nth-child(1) { inset: 3px 7px 11px 2px; }
.game-callout-art span:nth-child(2) { inset: 11px 1px 2px 11px; opacity: .4; }
.game-callout-art span:nth-child(3) { top: 15px; left: 15px; width: 9px; height: 9px; border: 0; background: var(--tide-low); opacity: 1; }
.game-callout-copy { position: relative; z-index: 1; min-width: 0; }
.game-callout .eyebrow { margin-bottom: 2px; color: var(--accent-ink); font-size: 11px; }
.game-callout h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.game-callout-copy > p:last-child { max-width: 520px; margin: 3px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.5; word-break: keep-all; }
.game-callout-link {
position: relative;
z-index: 1;
display: inline-flex;
min-height: 48px;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 14px;
border-radius: var(--radius-sm);
background: var(--surface-soft);
color: var(--text-primary);
font-size: 13px;
font-weight: 700;
text-decoration: none;
white-space: nowrap;
}
.game-callout-link:hover { background: var(--selected); color: var(--nav-active); }
.loading-state { display: grid; gap: 16px; padding: 28px 0; }
.skeleton { border-radius: var(--radius-md); background: var(--skeleton); animation: skeleton-pulse 1.5s ease-in-out infinite; }
.skeleton-kicker { width: 120px; height: 16px; }
.skeleton-title { width: min(620px, 90%); height: 110px; }
.skeleton-card { height: 190px; }
.skeleton-card.short { height: 140px; }
@keyframes skeleton-pulse { 50% { opacity: .48; } }
.state-card { max-width: 620px; margin: 48px auto; padding: 28px; text-align: left; box-shadow: var(--card-shadow); }
.state-card h1 { margin: 0 0 12px; font-size: clamp(26px, 6vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.state-card .primary-button { margin-top: 18px; }
.muted { color: var(--text-secondary); }
.calendar-view {
max-width: 980px;
margin: 0 auto;
padding: clamp(20px, 4vw, 40px) 20px 100px;
}
.calendar-header { display: grid; gap: 14px; }
.calendar-header h1 { margin: 0 0 7px; font-size: clamp(26px, 6vw, 34px); font-weight: 700; letter-spacing: -.045em; }
.port-switcher {
display: flex;
width: 100%;
min-height: 64px;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 0 0 16px;
border: 0;
border-bottom: 1px solid var(--border);
border-radius: 0;
background: transparent;
}
.port-switcher-name { display: grid; min-width: 0; gap: 1px; }
.port-switcher-port {
margin: 0;
overflow: hidden;
color: var(--text-primary);
font-size: clamp(20px, 5.5vw, 24px);
font-weight: 800;
letter-spacing: -.03em;
text-overflow: ellipsis;
white-space: nowrap;
}
.port-switcher-caption { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.4; }
.port-switcher-go {
flex: 0 0 auto;
min-height: 48px;
padding: 0 16px;
border: 1px solid var(--focus);
border-radius: var(--radius-sm);
background: var(--focus);
color: var(--control-on-accent);
cursor: pointer;
font-size: 15px;
font-weight: 700;
}
.port-switcher-go:hover { filter: brightness(.94); }
.port-switcher-go:active,
.nav-tab:active,
.game-callout-link:active { transform: scale(.97); }
.condition-card-head.port-switcher { margin-bottom: 10px; }
.calendar-header .reference-badge { margin-top: 4px; }
.calendar-reference { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.calendar-reference-hint { color: var(--warn-ink); font-size: 13px; line-height: 1.5; }
.calendar-reference .compact-button { min-height: 44px; }
.calendar-reference .text-button { min-height: 44px; padding: 0 4px; font-size: 12px; }
.candidate-comparison {
display: grid;
gap: 12px;
margin-top: 20px;
padding: 16px;
border: 0;
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--card-shadow);
}
.candidate-comparison > summary {
display: none;
min-height: 44px;
align-items: center;
justify-content: space-between;
gap: 12px;
cursor: pointer;
font-size: 15px;
font-weight: 700;
list-style: none;
}
.candidate-comparison > summary::-webkit-details-marker { display: none; }
.candidate-comparison > summary::after { content: '펼치기'; color: var(--accent-ink); font-size: 12px; }
.candidate-comparison[open] > summary::after { content: '접기'; }
.candidate-comparison > summary strong { margin-left: auto; color: var(--text-secondary); font-size: 13px; }
.candidate-comparison-head,
.candidate-row-head,
.candidate-context > div {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.candidate-comparison-head h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.candidate-count {
flex: 0 0 auto;
min-width: 48px;
padding: 8px 10px;
border-radius: 999px;
background: var(--surface-soft);
color: var(--accent-ink);
font-size: 14px;
text-align: center;
}
.candidate-context { display: grid; gap: 5px; padding: 11px 12px; border-radius: var(--radius-md); background: var(--surface-soft); }
.candidate-context > div { justify-content: flex-start; }
.candidate-context > div > strong { min-width: 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.candidate-context p,
.candidate-empty { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.candidate-common { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-md); background: var(--surface-soft); }
.candidate-common > strong { color: var(--text-primary); font-size: 13px; }
.candidate-common dl { display: grid; gap: 7px; margin: 0; }
.candidate-common dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; }
.candidate-common dt { color: var(--text-secondary); font-size: 11px; }
.candidate-common dd { display: grid; gap: 1px; margin: 0; }
.candidate-common dd strong { font-size: 12px; }
.candidate-common dd small { color: var(--text-secondary); font-size: 11px; line-height: 1.4; }
.candidate-empty { padding: 18px 8px; text-align: center; }
.candidate-unavailable { display: grid; gap: 4px; margin: 0; padding: 14px; border-radius: var(--radius-md); background: var(--warn-surface); color: var(--warn-ink); }
.candidate-unavailable strong { font-size: 13px; }
.candidate-unavailable span { font-size: 11px; line-height: 1.5; }
.candidate-table-scroll { overflow-x: auto; max-width: 100%; margin-top: 12px; overscroll-behavior-x: contain; }
.candidate-table { width: 100%; min-width: 280px; border-collapse: collapse; table-layout: fixed; }
.candidate-table caption { text-align: left; padding: 8px 0 12px; color: var(--text-secondary); font-size: .875rem; }
.candidate-table :is(th,td) { min-width: 0; padding: 10px 8px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.candidate-table th:first-child { width: 74px; font-size: .8125rem; color: var(--text-secondary); }
.candidate-table thead th:not(:first-child) { min-width: 96px; }
.candidate-table thead :is(time,span) { display: block; font-size: .875rem; line-height: 1.5; }
.candidate-table strong { font-size: .875rem; line-height: 1.5; }
.candidate-table time.is-weekend { color: var(--alert-ink); }
.candidate-table details { margin-top: 6px; }
.candidate-table summary { min-height: 44px; display: flex; align-items: center; color: var(--accent-ink); font-size: .8125rem; cursor: pointer; }
.candidate-table details p { font-size: .8125rem; color: var(--text-secondary); line-height: 1.5; }
.candidate-table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.candidate-rows { display: grid; gap: 10px; }
.candidate-row { min-width: 0; padding: 12px; border: 0; border-radius: var(--radius-md); background: var(--bg); }
.candidate-row-head > div { display: flex; min-width: 0; align-items: center; gap: 8px; }
.candidate-row time { font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.candidate-season { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; background: var(--accent-surface); color: var(--accent-ink); font-size: 11px; font-weight: 700; }
.candidate-season.is-closed { background: var(--warn-surface-strong); color: var(--warn-ink); }
.candidate-season.is-unknown { background: var(--surface-soft); color: var(--text-secondary); }
.candidate-remove {
flex: 0 0 auto;
min-width: 44px;
min-height: 44px;
padding: 0 9px;
border: 0;
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text-secondary);
cursor: pointer;
font-size: 12px;
font-weight: 600;
}
.candidate-facts { display: grid; gap: 0; margin: 6px 0 0; }
.candidate-facts > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.candidate-facts dt { color: var(--text-secondary); font-size: 12px; line-height: 1.45; }
.candidate-facts dd { display: grid; min-width: 0; gap: 2px; margin: 0; }
.candidate-facts strong { font-size: 13px; line-height: 1.4; }
.candidate-facts small { color: var(--text-secondary); font-size: 12px; line-height: 1.45; word-break: keep-all; }
.calendar-filters,
.region-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.calendar-filters { margin: 20px 0 16px; }
.calendar-filters::-webkit-scrollbar,
.region-filters::-webkit-scrollbar { display: none; }
.calendar-filters button,
.region-filters button {
flex: 0 0 auto;
min-height: 44px;
padding: 0 14px;
border: 1px solid transparent;
border-radius: 999px;
background: var(--surface);
color: var(--text-secondary);
cursor: pointer;
font-weight: 600;
}
.calendar-filters button[aria-pressed="true"],
.region-filters button[aria-pressed="true"] { border-color: var(--accent-line); background: var(--accent-surface); color: var(--accent-ink); }
.calendar-loading { min-height: 180px; display: grid; place-items: center; color: var(--text-secondary); }
.compact-state { margin: 24px 0; padding: 20px; }
.calendar-month-controls { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: end; gap: 8px; margin: 16px 0; }
.calendar-month-controls[hidden] { display: none; }
.calendar-month-controls label { display: grid; gap: 4px; color: var(--text-secondary); font-size: .8125rem; }
.calendar-month-controls :is(button,select) { min-width: 0; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-primary); font: inherit; font-size: .875rem; padding: 8px; }
.calendar-month-controls button:disabled { opacity: .5; cursor: default; }
#calendarAllMonths { grid-column: 1 / -1; justify-self: end; border: 0; color: var(--accent-ink); }
@media (max-width:359px) {
.calendar-view .calendar-weekdays, .calendar-view .calendar-blank { display: none; }
.calendar-view .calendar-grid { grid-template-columns: minmax(0,1fr); }
.calendar-view .calendar-grid .calendar-day { grid-template-columns: 60px 60px minmax(0,1fr) auto; align-items: center; min-height: 48px; padding: 8px; }
.calendar-view .calendar-day .calendar-state { font-size: .8125rem; }
}
.calendar-months { display: grid; gap: 28px; }
.calendar-month { min-width: 0; }
.calendar-month h2 { margin: 0 0 12px; font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.calendar-weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekdays { margin-bottom: 6px; color: var(--text-secondary); font-size: 11px; text-align: center; }
.calendar-weekdays span:first-child { color: var(--sun-ink); }
.calendar-weekdays span:last-child { color: var(--sat-ink); }
.calendar-day {
display: grid;
min-width: 0;
min-height: 80px;
align-content: space-between;
gap: 3px;
padding: 8px 5px;
border: 1px solid transparent;
border-radius: var(--radius-sm);
background: var(--surface);
text-align: left;
cursor: pointer;
}
.calendar-day:hover,
.calendar-day:focus-visible { border-color: var(--accent-line); }
.calendar-day.is-weekend .calendar-date { color: var(--alert-ink); }
.calendar-day.is-sat .calendar-date { color: var(--sat-ink); }
.calendar-day.is-sun .calendar-date { color: var(--sun-ink); }
.calendar-day.is-closed { background: var(--warn-surface); }
.calendar-day.is-saved { border-color: var(--accent-line); box-shadow: inset 0 0 0 1px var(--accent-line); }
.calendar-date { color: var(--text-primary); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.calendar-date small { display: block; font-size: .6875rem; font-weight: 600; }
.calendar-mul { color: var(--text-secondary); font-size: .8125rem; font-weight: 600; letter-spacing: 0; }
.calendar-saved-label { color: var(--accent-ink); font-size: .6875rem; font-weight: 700; }
.calendar-state { color: var(--text-secondary); font-size: .6875rem; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.calendar-day[data-state-kind="pending"] .calendar-state { color: var(--text-secondary); }
.calendar-day[data-state-kind="closed"] { border-style: dashed; border-color: var(--warn-line); }
.calendar-day[data-state-kind="closed"] .calendar-date,
.calendar-day[data-state-kind="closed"] .calendar-mul { color: var(--warn-ink); }
.calendar-day[data-state-kind="closed"] .calendar-state { color: var(--warn-ink); font-weight: 600; }
.calendar-day[data-state-kind="hold"] { border-style: solid; border-color: var(--warn-line); background: var(--warn-surface-soft); }
.calendar-day[data-state-kind="hold"] .calendar-state { color: var(--warn-ink); font-weight: 700; }
.calendar-day[data-state-kind="forecast"] { background: var(--accent-surface); border-color: var(--accent-line-soft); }
.calendar-day[data-state-kind="forecast"] .calendar-mul { color: var(--accent-ink); }
.calendar-day[data-state-kind="forecast"] .calendar-state {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--accent-ink);
font-weight: 600;
}
.calendar-day[data-state-kind="forecast"] .calendar-state::before { content: none; }
.calendar-day[data-state-kind="reference"] .calendar-state {
color: var(--accent-ink);
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.index-strip {
display: inline-block;
overflow: hidden;
width: 100%;
height: 4px;
border-radius: 999px;
background: var(--accent-line-soft);
}
.index-strip > span { display: block; height: 100%; border-radius: 999px; background: var(--accent-line); }
.index-strip-lg { height: 7px; margin-top: 4px; }
.index-strip-scale { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 11px; }
.temperature-forecast-scale { color: var(--text-secondary); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.calendar-state.has-index { display: flex; align-items: center; gap: 4px; overflow: visible; }
.calendar-state.has-index .index-strip { flex: 1 1 auto; min-width: 0; }
.calendar-day[data-state-kind="forecast"] .calendar-state.has-index::before { content: none; }
.calendar-day[data-state-kind="forecast"] .calendar-state.has-index { color: var(--accent-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.candidate-dday {
flex: 0 0 auto;
padding: 4px 7px;
border-radius: 999px;
background: var(--surface-soft);
color: var(--text-secondary);
font-size: 11px;
font-weight: 700;
}
.candidate-row time.is-weekend { color: var(--alert-ink); }
.calendar-legend {
display: flex;
flex-wrap: wrap;
gap: 8px 16px;
margin: 12px 0 0;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.5;
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend span::before { content: none; }
.calendar-legend .legend-reference::before { content: none; }
.calendar-legend .legend-forecast::before { border-color: var(--accent-line-soft); background: var(--accent-surface); }
.calendar-legend .legend-closed::before { border-style: dashed; border-color: var(--warn-line); background: var(--warn-surface); }
.calendar-legend .legend-saved::before { border-color: var(--accent-line); box-shadow: inset 0 0 0 1px var(--accent-line); }
.selected-day-panel {
position: fixed;
z-index: 18;
right: auto;
bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 10px);
left: 50%;
display: grid;
width: calc(100% - 24px);
max-width: 520px;
max-height: calc(100dvh - var(--nav-height) - 88px);
gap: 14px;
margin: 0;
padding: 18px;
overflow-y: auto;
transform: translateX(-50%);
border: 1px solid var(--accent-line-soft);
border-radius: var(--radius-lg);
background: var(--glass-strong);
box-shadow: 0 14px 34px rgba(20, 35, 43, .14);
backdrop-filter: blur(18px);
}
.selected-day-panel h2 { margin: 0; font-size: 22px; }
.selected-day-copy { min-width: 0; padding-right: 42px; }
.selected-day-summary { margin: 5px 0 0; color: var(--text-secondary); font-size: 13px; }
.selected-day-temperature { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: baseline; }
.selected-day-temperature .index-strip { grid-column: 1 / -1; }
.selected-day-temperature span { color: var(--text-secondary); font-size: 12px; }
.selected-day-temperature strong { color: var(--accent-ink); font-size: 24px; }
.selected-day-temperature small { grid-column: 1 / -1; color: var(--text-secondary); font-size: 11px; line-height: 1.45; }
.selected-day-action { display: grid; gap: 5px; }
.selected-day-action small { max-width: 220px; color: var(--text-secondary); font-size: 11px; line-height: 1.4; }
.selected-day-close {
position: absolute;
top: 10px;
right: 10px;
display: grid;
min-width: 44px;
min-height: 44px;
padding: 0;
place-items: center;
border: 0;
border-radius: 50%;
background: var(--surface-soft);
color: var(--text-secondary);
cursor: pointer;
font-size: 22px;
}
.calendar-disclaimer { margin: 22px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.65; }
.ports-view {
max-width: 760px;
min-height: calc(100dvh - 60px - var(--nav-height) - env(safe-area-inset-bottom));
margin: 0 auto;
padding: clamp(20px, 4vw, 40px) 20px 40px;
}
.ports-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 16px;
}
.ports-header h1 {
margin: 0 0 7px;
font-size: clamp(26px, 6vw, 34px);
font-weight: 700;
letter-spacing: -.045em;
}
.compact-button { min-width: 78px; padding: 0 12px; }
.explore-mode-switch {
display: grid;
width: fit-content;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px;
margin-top: 20px;
padding: 4px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface);
}
.explore-mode-switch button {
min-width: 56px;
min-height: 44px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-secondary);
cursor: pointer;
font-size: 14px;
font-weight: 600;
}
.explore-mode-switch button[aria-pressed="true"] {
background: var(--selected);
color: var(--nav-active);
}
.port-search-tools { display: grid; gap: 9px; margin-top: 16px; }
.port-search-tools label { font-size: 12px; font-weight: 600; }
.port-search-tools input {
width: 100%;
min-height: 48px;
padding: 0 14px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-md);
background: var(--surface);
color: var(--text-primary);
font-size: 16px;
}
.region-filters { margin-top: 1px; }
.region-filters button { min-height: 44px; padding: 0 13px; }
.port-list-panel { margin-top: 18px; }
.port-list-panel > .section-note { margin-bottom: 8px; }
.port-list { margin: 0; padding: 0; list-style: none; }
.port-list li { border-top: 1px solid var(--border); }
.port-list li:first-child { border-top: 0; }
.port-list-row {
display: grid;
width: 100%;
min-height: 92px;
gap: 9px;
padding: 14px 12px;
border: 0;
border-radius: var(--radius-md);
background: transparent;
text-align: left;
cursor: pointer;
}
.port-list-row.is-reference { background: var(--selected); }
.port-row-head,
.port-row-summary { display: flex; min-width: 0; align-items: center; gap: 8px; }
.port-row-head strong { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.port-row-area { color: var(--text-secondary); font-size: 12px; }
.support-badge { display: inline-grid; min-width: 24px; height: 24px; padding: 0 6px; place-items: center; border-radius: 8px; font-size: 11px; font-weight: 700; }
.support-A { background: var(--accent-surface); color: var(--accent-ink); }
.support-B { background: var(--info-surface); color: var(--info-ink); }
.support-C { background: var(--warn-surface); color: var(--warn-ink); }
.reference-badge {
display: inline-flex;
min-height: 24px;
align-items: center;
margin-left: auto;
padding: 0 8px;
border-radius: 999px;
background: var(--surface);
color: var(--focus);
font-size: 11px;
font-weight: 600;
}
.port-row-summary { justify-content: space-between; align-items: flex-end; }
.port-row-summary strong { font-size: 14px; font-weight: 600; }
.port-row-summary small { color: var(--text-secondary); font-size: 12px; text-align: right; }
.port-row-summary.is-closed strong { color: var(--amber-ink); }
.port-row-summary.is-index strong { color: var(--alert-ink); }
.port-row-summary.is-forecast strong,
.port-row-summary.is-tide strong { color: var(--focus); }
.port-row-summary.is-research strong { color: var(--warn-ink); }
.port-row-summary.is-marine strong { color: var(--info-ink); }
.port-row-summary.is-departure-limit strong { color: var(--alert-ink); }
.port-row-summary.is-departure-below strong { color: var(--focus); }
.port-row-summary.is-forecast-missing strong { color: var(--text-secondary); }
.departure-forecast-status { margin: 8px 0 14px; color: var(--text-secondary); line-height: 1.55; }
.departure-forecast-days { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.departure-forecast-day { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 12px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); }
.departure-forecast-day time { grid-row: 1 / span 2; font-weight: 700; color: var(--text-secondary); }
.departure-forecast-day > span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.departure-forecast-day > span small,
.departure-forecast-day > small { color: var(--text-secondary); }
.departure-forecast-day.is-departure-limit { border-color: var(--warn-line); background: var(--warn-surface-soft); }
.departure-forecast-detail .disclaimer a { color: var(--focus); text-decoration: underline; text-underline-offset: 2px; }
.map-panel {
display: grid;
grid-template-rows: minmax(390px, 1fr) auto;
height: calc(100dvh - 60px - var(--nav-height) - 190px - env(safe-area-inset-bottom));
min-height: 460px;
margin-top: 14px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
}
.map-frame {
position: relative;
min-height: 390px;
overflow: hidden;
border: 0;
border-radius: 0;
background: var(--ocean);
}
#map { position: absolute; inset: 0; }
.maplibregl-canvas { outline: none; }
.maplibregl-ctrl-bottom-right { bottom: 44px; }
.map-loading {
position: absolute;
z-index: 6;
inset: 0;
display: grid;
place-items: center;
background: var(--ocean);
color: var(--text-secondary);
font-size: 13px;
}
.map-controls {
position: absolute;
z-index: 4;
top: 12px;
right: 12px;
display: grid;
gap: 8px;
}
.map-controls button { border: 0; border-radius: var(--radius-md); background: var(--glass-strong); box-shadow: 0 8px 22px rgba(20, 35, 43, .12); font-weight: 600; backdrop-filter: blur(14px); }
.map-controls button:last-child { padding: 0 9px; font-size: 12px; }
.map-legend {
display: grid;
grid-auto-flow: column;
gap: 10px;
color: var(--text-secondary);
font-size: 11px;
}
.map-legend > div { display: flex; align-items: center; gap: 6px; }
.index-sample { min-height: 22px; padding: 0 7px; color: var(--alert-ink); background: var(--alert-surface); font-size: 11px; }
.index-sample.support-A { color: var(--accent-ink); background: var(--accent-surface); }
.index-sample.support-B { color: var(--info-ink); background: var(--info-surface); }
.index-sample.support-C { color: var(--warn-ink); background: var(--warn-surface); }
.map-meta {
display: grid;
gap: 8px;
padding: 12px 14px;
border-top: 1px solid var(--border);
background: var(--surface);
}
.map-meta-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; }
.map-attribution {
margin: 0;
color: var(--text-secondary);
font-size: 11px;
text-align: right;
pointer-events: none;
}
.map-empty {
position: absolute;
z-index: 4;
top: 50%;
left: 50%;
width: min(280px, calc(100% - 40px));
margin: 0;
padding: 14px;
transform: translate(-50%, -50%);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--glass);
color: var(--text-secondary);
font-size: 13px;
text-align: center;
}
.port-marker {
position: relative;
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 7px;
border-radius: 999px;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 8px 20px rgba(20, 35, 43, .2);
}
.marker-index {
min-height: 44px;
padding: 0 12px;
border: 1px solid rgba(20, 35, 43, .1);
background: var(--surface);
font-size: 12px;
font-weight: 600;
}
.marker-index strong { font-size: 13px; }
.marker-cluster {
min-height: 48px;
padding: 0 15px;
border-color: transparent;
background: var(--accent-line);
color: var(--control-on-accent);
box-shadow: none;
}
.marker-cluster strong { color: inherit; font-size: 14px; }
.marker-research { border-style: dashed; background: var(--warn-surface-soft); color: var(--warn-ink); }
.bottom-nav {
position: fixed;
z-index: 30;
right: 0;
bottom: 0;
left: 0;
display: grid;
height: calc(var(--nav-height) + env(safe-area-inset-bottom));
grid-template-columns: repeat(4, minmax(0, 1fr));
padding: 4px max(12px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(12px, env(safe-area-inset-right));
border-top: 1px solid var(--border);
background: var(--glass-strong);
backdrop-filter: blur(14px);
}
.nav-tab {
display: flex;
flex-direction: column;
min-width: 0;
padding: 4px;
min-height: 56px;
align-items: center;
justify-content: center;
gap: 4px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-secondary);
cursor: pointer;
font-size: 13px;
font-weight: 600;
}
.nav-tab.is-active { background: var(--selected); color: var(--nav-active); }
.nav-tab:disabled { color: var(--text-tertiary); cursor: not-allowed; }
.nav-symbol { display: inline-flex; width: 21px; height: 21px; flex: 0 0 auto; font-size: 18px; }
.nav-symbol svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-tab.is-active .nav-symbol svg { stroke-width: 2.1; }
.sheet-backdrop,
.about-backdrop {
position: fixed;
z-index: 40;
inset: 0;
background: var(--scrim);
}
.about-backdrop { display: grid; place-items: center; padding: 20px; }
.port-sheet {
position: fixed;
z-index: 41;
right: 0;
bottom: 0;
left: 0;
max-height: min(84dvh, 820px);
overflow-y: auto;
padding: 8px 20px calc(28px + env(safe-area-inset-bottom));
border: 1px solid var(--border);
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
background: var(--surface);
box-shadow: 0 -8px 40px rgba(0, 0, 0, .14);
}
.sheet-grab { width: 44px; height: 4px; margin: 2px auto 14px; border-radius: 999px; background: var(--border-strong); }
.sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sheet-header h2 { margin: 0 0 5px; font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.sheet-reference-button { width: 100%; margin-top: 16px; }
.sheet-section { padding: 22px 0; border-top: 1px solid var(--border); }
.sheet-section:first-of-type { margin-top: 16px; }
.temperature-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.temperature-hero strong { color: var(--temperature-color, var(--text-primary)); font-size: clamp(48px, 14vw, 64px); font-weight: 600; letter-spacing: -.06em; }
.change-label { font-size: 18px; font-weight: 600; }
.change-label.up { color: var(--up); }
.change-label.down { color: var(--down); }
.temperature-label { color: var(--text-secondary); font-size: 14px; }
.reason-chips { margin-top: 12px; }
.history-chart { min-height: 108px; margin-top: 20px; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg); }
.history-chart svg { display: block; width: 100%; height: 108px; }
.history-empty { display: grid; min-height: 108px; place-items: center; color: var(--text-secondary); font-size: 12px; }
.condition-list { display: grid; gap: 0; margin: 0; }
.condition-list > div {
display: grid;
min-height: 48px;
grid-template-columns: 84px minmax(0, 1fr);
align-items: center;
border-top: 1px solid var(--border);
}
.condition-list > div:first-child { border-top: 0; }
.condition-list dt { color: var(--text-secondary); font-size: 13px; }
.condition-list dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }
.index-list { margin-top: 14px; }
.forecast-warning {
margin: 14px 0 0;
padding: 12px;
border-radius: var(--radius-sm);
background: var(--warn-surface-strong);
color: var(--warn-ink-strong);
font-size: 12px;
line-height: 1.5;
}
.closed-detail h3 { margin: 0 0 12px; font-size: 20px; }
.closed-row { padding: 10px 0; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.55; }
.closed-row:first-child { border-top: 0; }
.closed-row strong { display: block; margin-bottom: 3px; }
.sheet-footer { padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 11px; line-height: 1.6; }
.about-panel {
width: min(560px, 100%);
max-height: min(84dvh, 760px);
overflow-y: auto;
padding: 24px;
border-radius: var(--radius-lg);
background: var(--surface);
}
.about-panel > p,
.about-panel li { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.about-panel ul { padding-left: 20px; }
.about-panel .link-button { margin-top: 10px; }
.capability-list { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.capability-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--text-secondary); font-size: 13px; }
.registry-fact-list { display: grid; gap: 0; margin: 12px 0; }
.registry-fact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.registry-fact-list dt { color: var(--text-secondary); }
.registry-fact-list dd { margin: 0; color: var(--text-primary); font-weight: 700; text-align: right; }
.registry-name-detail { margin-top: 12px; }
.registry-name-detail summary { display: flex; min-height: 44px; align-items: center; color: var(--brand); font-weight: 700; cursor: pointer; }
.registry-name-detail .meta-text { margin: 8px 0 0; overflow-wrap: anywhere; }
@media (min-width: 768px) {
.app-shell { padding-bottom: 0; }
.home-view { padding-right: 32px; padding-left: 32px; }
.home-status-layer { min-height: 152px; }
.condition-card { padding: 28px; }
.tide-infographic,
.tide-loading-placeholder { min-height: 538px; }
.week-layer { min-height: 232px; }
.today-briefing-grid { grid-template-columns: minmax(0, 1.45fr) minmax(230px, .75fr); align-items: stretch; gap: 32px; }
.content-section { padding-top: 24px; }
.week-strip { grid-auto-columns: minmax(112px, 1fr); }
.calendar-view { padding-right: 32px; padding-left: 32px; }
.calendar-months { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 28px; align-items: start; }
.candidate-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.candidate-row-head > div { align-items: flex-start; flex-direction: column; gap: 5px; }
.selected-day-panel {
position: relative;
right: auto;
bottom: auto;
left: auto;
width: auto;
max-width: none;
max-height: none;
grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr) auto;
align-items: center;
margin: 0 0 22px;
padding-right: 72px;
overflow: visible;
transform: none;
}
.selected-day-copy { padding-right: 0; }
.ports-view { min-height: calc(100dvh - 60px); padding-right: 32px; padding-left: 32px; }
.map-panel { height: calc(100dvh - 60px - 210px); min-height: 520px; }
.map-controls { top: 20px; right: 20px; }
.port-sheet {
top: 76px;
right: 18px;
bottom: 18px;
left: auto;
width: min(460px, calc(100vw - 36px));
max-height: none;
border-radius: var(--radius-lg);
padding: 16px 24px 28px;
box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}
.sheet-grab { display: none; }
.bottom-nav {
top: 8px;
right: auto;
bottom: auto;
left: 50%;
width: 320px;
height: 44px;
padding: 2px;
transform: translateX(-50%);
border: 1px solid var(--border);
border-radius: 999px;
background: var(--glass);
box-shadow: 0 6px 20px rgba(20, 35, 43, .08);
}
.nav-tab { min-height: 40px; border-radius: 999px; }
.nav-symbol { display: none; }
}
@media (min-width: 1200px) {
.ports-view { max-width: 980px; }
}
@media (max-width: 430px) {
.topbar { padding: 0 16px; }
.brand-tag { display: none; }
#todayLabel { display: none; }
.demo-badge { white-space: nowrap; }
.topbar-game { padding: 0 8px; }
.topbar-game span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.home-view { padding-right: 16px; padding-left: 16px; }
.calendar-view { padding-right: 12px; padding-left: 12px; }
.calendar-months { margin-right: -6px; margin-left: -6px; }
.candidate-comparison { padding: 14px; }
.candidate-row { padding: 10px; }
.candidate-row-head > div { align-items: flex-start; flex-direction: column; gap: 4px; }
.ports-view { padding-right: 16px; padding-left: 16px; }
.condition-card { padding: 18px; }
.season-status { align-items: flex-start; }
.section-heading { align-items: flex-start; }
.section-note { max-width: 116px; text-align: right; }
.topbar-meta { gap: 6px; }
.map-panel { min-height: 430px; }
.calendar-day { min-height: 76px; padding: 7px 4px; border-radius: var(--radius-sm); }
.calendar-state { font-size: 11px; }
.game-callout { grid-template-columns: auto minmax(0, 1fr); }
.game-callout-art { width: 36px; height: 36px; }
.game-callout-link { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 767px) {
.home-status-layer { min-height: 168px; }
.tide-infographic,
.tide-loading-placeholder { min-height: 426px; }
.temperature-forecast-card { min-height: 208px; }
.marine-verdict { min-height: 62px; }
.condition-card > .meta-text { min-height: 18px; }
.week-layer { min-height: 248px; }
.candidate-comparison > summary { display: flex; }
.candidate-comparison[open] > summary { margin-bottom: 12px; }
.candidate-comparison[open] .candidate-comparison-head { display: none; }
}
@media (max-width: 370px) {
.brand-tag { display: none; }
.condition-card { padding: 16px; }
.content-section { margin-top: 12px; }
.marine-fact-cards { gap: 4px; }
.marine-fact-card { padding-right: 4px; padding-left: 4px; }
.marine-fact-card dd { font-size: 13px; letter-spacing: -.04em; overflow-wrap: normal; white-space: nowrap; }
}
#conditionBasis {
flex: 1 1 300px;
padding: 10px 0;
font-size: 15px;
line-height: 1.6;
overflow-wrap: anywhere;
}
#conditionBasis[data-state="warning"],
#conditionBasis[data-state="alert"] {
padding-left: 12px;
border-left: 4px solid var(--warn-line);
color: var(--warn-ink-strong);
font-weight: 700;
}
#conditionBasis[data-state="alert"] {
border-left-color: var(--alert-ink);
color: var(--alert-ink);
}
.condition-foot { flex-wrap: wrap; }
.marine-basis-details {
margin-top: 18px;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.marine-basis-details > summary {
display: flex;
min-height: 52px;
align-items: center;
color: var(--text-primary);
font-size: 16px;
font-weight: 700;
cursor: pointer;
}
.marine-basis-list { display: grid; gap: 22px; padding: 4px 0 20px; }
.marine-basis-item { display: grid; gap: 10px; }
.marine-basis-item h4 { margin: 0; font-size: 18px; }
.marine-basis-item dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border-strong); }
.marine-basis-item dl > div {
display: grid;
grid-template-columns: minmax(76px, .35fr) minmax(0, 1fr);
gap: 12px;
padding: 10px 0;
border-bottom: 1px solid var(--border);
}
.marine-basis-item dt { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.marine-basis-item dd { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 430px) {
#conditionBasis { flex-basis: 100%; font-size: 16px; }
.condition-detail-button { min-height: 48px; }
.marine-basis-item dl > div { grid-template-columns: minmax(68px, .32fr) minmax(0, 1fr); }
.marine-basis-item dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/*
 * Tide Ledger — 한 장의 조석 브리핑 원장.
 * 이전 규칙의 안정적인 DOM·상태 계약은 유지하고 시각 계층만 이 마지막 레이어에서 재정의한다.
 */
input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.app-shell {
width: min(1180px, 100%);
margin: 0 auto;
border-right: 1px solid var(--border);
border-left: 1px solid var(--border);
background: var(--surface);
}
.topbar {
min-height: 72px;
padding: 0 clamp(16px, 3vw, 32px);
border-bottom: 2px solid var(--text-primary);
background: var(--surface);
backdrop-filter: none;
}
.brand { gap: 10px; font-size: 19px; font-weight: 800; }
.brand-tag {
padding-left: 10px;
border-left: 1px solid var(--border-strong);
color: var(--text-secondary);
font-size: 12px;
font-weight: 600;
letter-spacing: .02em;
}
.topbar-meta { gap: 10px; font-family: var(--font-data); font-size: 12px; }
.topbar .icon-button { border-radius: var(--radius-sm); }
.icon-button svg {
display: block;
width: 22px;
height: 22px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.home-view { max-width: 1120px; padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 40px) 96px; }
.today-layer { margin-top: 0; }
.hero-section {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
gap: 10px 28px;
padding: 0 0 28px;
border-bottom: 1px solid var(--border-strong);
}
.hero-copy { grid-row: 1 / span 2; }
.hero-copy h1 {
max-width: 760px;
min-height: 44px;
font-size: clamp(30px, 5vw, 48px);
font-weight: 800;
line-height: 1.12;
letter-spacing: -.055em;
text-wrap: balance;
}
.eyebrow,
.card-kicker,
.section-label {
margin-bottom: 8px;
color: var(--text-tertiary);
font-family: var(--font-data);
font-size: 12px;
font-weight: 700;
letter-spacing: .06em;
}
.hero-description { max-width: 660px; margin-top: 12px; font-size: 16px; line-height: 1.65; }
.season-status {
grid-column: 2;
grid-row: 1;
min-height: 48px;
margin: 0;
padding: 8px 12px;
border: 1px solid var(--warn-line);
border-left: 4px solid var(--warn-ink-strong);
border-radius: var(--radius-sm);
}
.season-status strong { border-left-color: var(--warn-line); }
.briefing-datum {
grid-column: 2;
grid-row: 2;
margin: 0;
color: var(--text-tertiary);
font-family: var(--font-data);
font-size: 11px;
letter-spacing: .06em;
text-align: right;
}
.condition-card,
.state-card { border-radius: 0; }
.state-card { border: 1px solid var(--border); background: transparent; box-shadow: none; }
.condition-card {
gap: 0;
padding: 0;
border-bottom: 2px solid var(--text-primary);
background: transparent;
box-shadow: none;
}
.condition-card-head.port-switcher { margin-bottom: 0; }
.port-switcher {
min-height: 96px;
padding: 20px 0;
border-bottom: 2px solid var(--text-primary);
}
.port-switcher-port { font-size: clamp(28px, 6vw, 44px); font-weight: 800; letter-spacing: -.055em; }
.port-switcher-caption { margin-top: 3px; font-size: 16px; line-height: 1.6; }
.port-switcher-go {
display: inline-flex;
min-height: 48px;
align-items: center;
gap: 8px;
padding: 0 15px;
border: 1px solid var(--accent-line);
border-radius: var(--radius-sm);
background: transparent;
color: var(--accent-ink);
}
.port-switcher-go:hover { background: var(--accent-surface-soft); filter: none; }
.action-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.today-briefing-grid { display: grid; gap: 0; margin: 0; }
.tide-overview { min-width: 0; padding: 32px 0; }
.condition-card h2 { margin-top: 6px; font-size: clamp(34px, 6vw, 52px); font-weight: 800; }
#conditionTitle { min-height: 64px; }
.condition-card h2.condition-mul-hero { font-size: clamp(68px, 13vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.075em; }
.mul-flow { max-width: 420px; margin-top: 16px; }
.mul-flow-track { height: 4px; border-radius: 0; }
.mul-flow-dot { width: 14px; height: 14px; border-radius: 0; box-shadow: 0 0 0 3px var(--surface); transform: translate(-50%, -50%) rotate(45deg); }
.mul-flow-scale { margin-top: 3px; font-family: var(--font-data); font-size: 11px; }
.tide-infographic { margin-top: 24px; }
.tide-loading-placeholder { border-radius: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tide-chart { border-top: 1px solid var(--border); }
.tide-chart text { font-family: var(--font-data); font-size: 14px; font-weight: 600; }
.tide-time-band { rx: 0; }
.tide-guide { stroke-width: 3.2; }
.tide-note summary { font-size: 13px; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; }
.tide-facts { gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tide-facts > div { padding: 14px 12px; border-radius: 0; background: transparent; }
.tide-facts > div:nth-child(even) { border-left: 1px solid var(--border); }
.tide-facts strong { font-family: var(--font-data); font-size: clamp(24px, 6vw, 32px); }
.tide-empty { border-radius: 0; }
.marine-fact-cards { gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marine-fact-card { min-height: 82px; padding: 12px 10px; border-radius: 0; background: transparent; }
.marine-fact-card + .marine-fact-card { border-left: 1px solid var(--border); }
.marine-fact-card dd { font-family: var(--font-data); font-size: clamp(16px, 4vw, 20px); }
.marine-fact-card.is-missing { border-top: 0; border-right: 0; border-bottom: 0; border-style: dashed; }
.briefing-evidence { display: grid; min-width: 0; align-content: start; }
.marine-verdict {
display: grid;
min-height: 136px;
align-content: start;
gap: 4px;
margin: 0;
padding: 24px 0;
border-top: 2px solid var(--text-primary);
border-bottom: 1px solid var(--border);
}
.marine-verdict::before { content: none; }
.marine-verdict-context { color: var(--text-tertiary); font-family: var(--font-data); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.marine-verdict strong { margin-top: 8px; font-size: clamp(26px, 5vw, 32px); }
.marine-verdict span { font-size: 16px; line-height: 1.65; }
.temperature-forecast-card {
min-height: 0;
padding: 24px 0;
border-radius: 0;
border-bottom: 1px solid var(--border);
background: transparent;
}
.temperature-forecast-value { font-family: var(--font-data); font-size: clamp(38px, 8vw, 54px); letter-spacing: -.06em; }
.temperature-forecast-card p:not(.section-label) { font-size: 16px; line-height: 1.65; }
.temperature-evidence li { border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; }
.index-strip { border-radius: 0; }
.index-strip > span { border-radius: 0; }
.condition-foot {
display: flex;
min-height: 64px;
align-items: center;
justify-content: space-between;
gap: 16px;
border-top: 1px solid var(--border);
}
#conditionBasis { min-height: 20px; }
.condition-detail-button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; margin: 0; }
.content-section { margin-top: 0; padding: 36px 0; border-top: 0; border-bottom: 1px solid var(--border-strong); }
.section-heading { margin-bottom: 18px; }
.section-heading h2,
.section-heading h3 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
.week-summary { border-left: 4px solid var(--warn-ink-strong); border-radius: 0; }
.week-strip { border-top: 2px solid var(--text-primary); border-bottom: 1px solid var(--border-strong); border-radius: 0; box-shadow: none; }
.week-day { min-height: 124px; padding: 16px 12px; }
.week-day strong { font-family: var(--font-data); }
.closed-day,
.index-chip,
.index-sample { border-radius: var(--radius-sm); }
.forecast-caption { max-width: 760px; font-size: 16px; line-height: 1.65; }
.home-footer { align-items: center; padding-top: 28px; border-top: 1px solid var(--border); }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.home-footer a { text-underline-offset: 4px; }
.home-footer a:hover { color: var(--accent-ink); }
.primary-button,
.secondary-button,
.text-button { border-radius: var(--radius-sm); }
.primary-button { background: var(--accent-line); border-color: var(--accent-line); color: var(--control-on-accent); }
.bottom-nav { border-top: 1px solid var(--border-strong); background: var(--surface); backdrop-filter: none; }
.nav-tab { border-radius: 0; }
.nav-tab.is-active { background: var(--selected); box-shadow: inset 0 3px 0 var(--accent-line); }
@media (min-width: 768px) {
.home-status-layer { min-height: 176px; }
.today-briefing-grid { grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); gap: 0; }
.tide-overview { padding-right: 36px; border-right: 1px solid var(--border); }
.briefing-evidence { padding-left: 32px; }
.tide-infographic,
.tide-loading-placeholder { min-height: 510px; }
.week-layer { min-height: 244px; }
.bottom-nav {
top: 11px;
width: 340px;
height: 54px;
padding: 2px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-sm);
background: var(--surface);
box-shadow: none;
}
.nav-tab { min-height: 48px; border-radius: 2px; }
}
@media (max-width: 767px) {
.app-shell { border: 0; }
.topbar { min-height: 64px; }
.home-view { padding-top: 28px; padding-bottom: 80px; }
.hero-section { grid-template-columns: minmax(0, 1fr); align-items: start; padding-bottom: 24px; }
.hero-copy,
.season-status,
.briefing-datum { grid-column: 1; grid-row: auto; }
.season-status { margin-top: 8px; }
.briefing-datum { text-align: left; }
.home-status-layer { min-height: 224px; }
.tide-overview { padding: 28px 0; }
.briefing-evidence { border-top: 2px solid var(--text-primary); }
.marine-verdict { border-top: 0; }
.tide-infographic,
.tide-loading-placeholder { min-height: 446px; }
.temperature-forecast-card { min-height: 218px; }
.week-layer { min-height: 264px; }
}
@media (max-width: 430px) {
.topbar { padding: 0 16px; }
.brand-tag { display: none; }
.home-view { padding-right: 16px; padding-left: 16px; }
.condition-card { padding: 0; }
.port-switcher-port { font-size: 30px; }
.port-switcher-go { padding: 0 11px; font-size: 14px; }
.section-heading { display: grid; }
.section-note { max-width: none; text-align: left; }
}
@media (max-width: 370px) {
.condition-card { padding: 0; }
.port-switcher { gap: 8px; }
.port-switcher-caption { font-size: 16px; }
.port-switcher-go { padding: 0 9px; }
.content-section { margin-top: 0; }
.marine-fact-cards { gap: 0; }
.marine-fact-card { padding-right: 4px; padding-left: 4px; }
}
.calendar-view,
.lure-view,
.ports-view {
max-width: 1120px;
margin: 0 auto;
padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 40px) 104px;
}
.calendar-header,
.lure-header,
.ports-header {
padding-bottom: 28px;
border-bottom: 2px solid var(--text-primary);
}
.calendar-header { gap: 18px; }
.calendar-header h1,
.lure-header h1,
.ports-header h1 {
margin: 0 0 8px;
font-size: clamp(32px, 5vw, 48px);
font-weight: 800;
line-height: 1.12;
letter-spacing: -.055em;
}
.calendar-reference { justify-content: flex-start; }
.calendar-reference-hint { padding-left: 10px; border-left: 3px solid var(--warn-line); }
.lure-header { display: grid; gap: 24px; }
.lure-intro {
max-width: 680px;
margin: 0;
color: var(--text-secondary);
font-size: 18px;
line-height: 1.65;
word-break: keep-all;
}
.lure-form {
display: grid;
max-width: 760px;
gap: 16px;
padding: 28px 0;
border-bottom: 1px solid var(--border-strong);
}
.lure-date-field,
.lure-condition-grid label {
display: grid;
min-width: 0;
gap: 8px;
color: var(--text-primary);
font-size: 16px;
font-weight: 700;
}
.lure-date-field small { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.lure-date-field input,
.lure-condition-grid select {
width: 100%;
min-height: 52px;
padding: 0 14px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text-primary);
font: inherit;
font-size: 18px;
}
.lure-condition-details,
.lure-evidence {
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.lure-condition-details > summary,
.lure-evidence > summary {
display: flex;
min-height: 52px;
align-items: center;
justify-content: space-between;
gap: 12px;
color: var(--text-primary);
font-size: 16px;
font-weight: 700;
cursor: pointer;
}
.lure-condition-details > summary small { color: var(--accent-ink); font-size: 14px; }
.lure-condition-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
padding: 4px 0 20px;
}
.lure-submit {
min-height: 56px;
justify-self: start;
padding: 0 24px;
font-size: 18px;
}
.lure-submit:disabled { cursor: wait; opacity: .72; }
.lure-form-help,
.lure-caveat,
.lure-evidence p,
.lure-evidence li,
.lure-no-candidate p,
.lure-error p {
font-size: 16px;
line-height: 1.65;
}
.lure-form-help,
.lure-caveat { margin: 0; color: var(--text-secondary); }
.lure-response { min-height: 280px; padding: 28px 0; }
.lure-status { min-height: 26px; margin: 0 0 18px; color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.lure-result { display: grid; max-width: 820px; gap: 22px; }
.lure-result-heading { display: grid; gap: 6px; }
.lure-result-heading h2,
.lure-no-candidate h2,
.lure-error h2 {
margin: 0;
font-size: clamp(26px, 5vw, 36px);
line-height: 1.18;
letter-spacing: -.04em;
}
.lure-result-heading p { max-width: 720px; margin: 0; font-size: 18px; line-height: 1.65; }
.lure-candidate-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
border-top: 2px solid var(--text-primary);
border-bottom: 1px solid var(--border-strong);
}
.lure-candidate {
display: grid;
min-width: 0;
min-height: 248px;
align-content: start;
border-right: 1px solid var(--border);
}
.lure-candidate:last-child { border-right: 0; }
.lure-candidate.is-first { background: var(--selected); box-shadow: inset 4px 0 0 var(--accent-line); }
.lure-candidate-media {
display: grid;
aspect-ratio: 1200 / 281;
place-items: center;
overflow: hidden;
border-bottom: 1px solid var(--border);
background: var(--lure-photo-surface);
}
.lure-candidate-media img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.lure-candidate-media.is-small img { transform: scale(.86); }
.lure-candidate-copy { display: grid; gap: 8px; padding: 20px 22px 22px; }
.lure-candidate p { margin: 0; color: var(--text-secondary); font-size: 16px; font-weight: 700; }
.lure-candidate strong {
color: var(--text-primary);
font-size: clamp(26px, 5vw, 36px);
line-height: 1.24;
letter-spacing: -.045em;
overflow-wrap: anywhere;
}
.lure-candidate span { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.lure-field-guide {
margin: 0;
padding: 16px 18px;
border-left: 4px solid var(--accent-line);
background: var(--accent-surface-soft);
font-size: 18px;
line-height: 1.65;
}
.lure-evidence { margin-top: 2px; }
.lure-evidence > p { margin: 0; padding: 14px 0 6px; color: var(--text-secondary); }
.lure-evidence ul { display: grid; gap: 10px; margin: 0; padding: 8px 0 20px 22px; }
.lure-evidence li { padding-left: 4px; overflow-wrap: anywhere; }
.lure-no-candidate,
.lure-error {
display: grid;
max-width: 760px;
gap: 12px;
padding: 20px;
border-left: 4px solid var(--warn-line);
background: var(--warn-surface-soft);
}
.lure-no-candidate p,
.lure-error p { margin: 0; }
.lure-error { border-left-color: var(--alert-ink); background: var(--alert-surface); }
.lure-error .secondary-button { min-height: 48px; justify-self: start; }
.rig-guide {
display: grid;
max-width: 820px;
gap: 20px;
margin-top: 40px;
padding-top: 32px;
border-top: 2px solid var(--text-primary);
}
.rig-guide-header { display: grid; gap: 6px; }
.rig-guide-header h2 { margin: 0; font-size: clamp(28px, 5vw, 38px); letter-spacing: -.045em; }
.rig-guide-header > p:last-child { max-width: 720px; margin: 0; color: var(--text-secondary); font-size: 17px; line-height: 1.65; word-break: keep-all; }
.rig-form { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--border-strong); }
.rig-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.rig-form-grid label { display: grid; min-width: 0; gap: 8px; font-size: 16px; font-weight: 700; }
.rig-form-grid small { color: var(--text-secondary); font-size: 13px; }
.rig-form-grid select,
.rig-form-grid input {
width: 100%;
min-height: 52px;
padding: 0 14px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text-primary);
font: inherit;
font-size: 18px;
}
.rig-form-grid label.is-disabled { opacity: .58; }
.rig-submit { min-height: 56px; justify-self: start; padding: 0 24px; font-size: 18px; }
.rig-submit:disabled { cursor: wait; opacity: .72; }
#rigFormHelp,
#rigStatus,
.rig-evidence { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 1.65; }
.rig-response { min-height: 110px; }
#rigStatus { margin-bottom: 16px; }
.rig-result { display: grid; gap: 20px; }
.rig-sinker-result { display: grid; gap: 5px; padding: 20px; border-left: 4px solid var(--accent-line); background: var(--accent-surface-soft); }
.rig-sinker-result p { margin: 0; font-size: 16px; line-height: 1.6; }
.rig-sinker-result h3 { margin: 0; font-size: clamp(36px, 8vw, 52px); line-height: 1.1; letter-spacing: -.05em; }
.rig-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.rig-facts > div { min-width: 0; padding: 18px; border-right: 1px solid var(--border); }
.rig-facts > div:last-child { border-right: 0; }
.rig-facts dt { margin-bottom: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 700; }
.rig-facts dd { margin: 0; font-size: 16px; line-height: 1.6; word-break: keep-all; }
.candidate-comparison {
gap: 16px;
margin-top: 32px;
padding: 20px 0 28px;
border-top: 1px solid var(--border-strong);
border-bottom: 1px solid var(--border-strong);
border-radius: 0;
background: transparent;
box-shadow: none;
}
.candidate-comparison > summary { border-bottom: 1px solid var(--border); }
.candidate-count,
.candidate-season,
.candidate-dday { border-radius: var(--radius-sm); }
.candidate-count { border: 1px solid var(--border); background: transparent; font-family: var(--font-data); }
.candidate-context,
.candidate-common {
padding: 14px 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
border-radius: 0;
background: transparent;
}
.candidate-unavailable { border-left: 4px solid var(--warn-line); border-radius: 0; }
.candidate-rows { gap: 0; border-top: 2px solid var(--text-primary); }
.candidate-row { padding: 16px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.candidate-remove { border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; }
.candidate-row time,
.candidate-facts strong { font-family: var(--font-data); }
.candidate-context > div > strong,
.candidate-common dd strong,
.candidate-facts strong { font-size: 16px; }
.candidate-context p,
.candidate-empty,
.candidate-common dd small,
.candidate-unavailable span,
.candidate-facts small { font-size: 16px; line-height: 1.65; }
.calendar-filters { margin: 24px 0 20px; }
.calendar-filters button,
.region-filters button {
border-color: var(--border-strong);
border-radius: var(--radius-sm);
background: transparent;
}
.calendar-filters button[aria-pressed="true"],
.region-filters button[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--accent-line); }
.calendar-months { gap: 36px; }
.calendar-month { padding-top: 14px; border-top: 2px solid var(--text-primary); }
.calendar-month h2 { font-size: 24px; font-weight: 800; }
.calendar-weekdays,
.calendar-grid { gap: 3px; }
.calendar-weekdays { font-family: var(--font-data); font-size: 12px; }
.calendar-day {
min-height: 88px;
padding: 9px 6px;
border: 1px solid var(--border);
border-radius: 0;
background: transparent;
}
.calendar-date { font-family: var(--font-data); font-size: 1.25rem; }
.calendar-mul { font-family: var(--font-data); font-size: .8125rem; font-weight: 600; }
.calendar-day[data-state-kind="forecast"] { border-color: var(--accent-line-soft); }
.calendar-day.is-saved { box-shadow: inset 0 -4px 0 var(--accent-line); }
.calendar-legend span::before { border-radius: 0; }
.selected-day-panel {
border: 2px solid var(--text-primary);
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: none;
backdrop-filter: none;
}
.selected-day-close { border: 1px solid var(--border); border-radius: var(--radius-sm); background: transparent; font-size: 0; }
.selected-day-close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.selected-day-summary,
.selected-day-temperature small,
.selected-day-action small { max-width: none; font-size: 16px; line-height: 1.65; }
.calendar-disclaimer { max-width: 800px; font-size: 16px; line-height: 1.65; }
.ports-view { max-width: 980px; min-height: calc(100dvh - 72px); }
.ports-header { align-items: end; }
.explore-mode-switch {
margin-top: 28px;
padding: 2px;
border-color: var(--border-strong);
border-radius: var(--radius-sm);
background: transparent;
}
.explore-mode-switch button { border-radius: 2px; }
.explore-mode-switch button[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--accent-line); }
.port-search-tools { gap: 10px; margin-top: 24px; }
.port-search-tools label { color: var(--text-tertiary); font-family: var(--font-data); font-size: 12px; letter-spacing: .05em; }
.port-search-tools input { border-radius: 0; background: transparent; }
.port-list-panel { margin-top: 28px; }
.port-list { border-top: 2px solid var(--text-primary); border-bottom: 1px solid var(--border-strong); }
.port-list li:first-child { border-top: 0; }
.port-list-row { min-height: 100px; padding: 16px 8px; border-radius: 0; }
.port-list-row.is-reference { background: var(--selected); box-shadow: inset 4px 0 0 var(--accent-line); }
.port-row-head strong { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.port-row-summary strong { font-size: 16px; }
.port-row-summary small { font-size: 14px; line-height: 1.55; }
.support-badge,
.reference-badge,
.level-badge { border-radius: var(--radius-sm); }
.map-panel { border: 2px solid var(--text-primary); border-radius: 0; }
.map-controls button { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); box-shadow: none; backdrop-filter: none; }
.map-meta { border-top-color: var(--border-strong); }
.map-empty { border-radius: var(--radius-sm); background: var(--surface); }
.port-marker { border-radius: var(--radius-sm); box-shadow: none; }
.marker-index { border-color: var(--border-strong); }
.marker-cluster { background: var(--accent-line); color: var(--control-on-accent); box-shadow: none; }
.marker-cluster strong { color: inherit; }
.port-sheet {
border: 2px solid var(--text-primary);
border-bottom: 0;
border-radius: var(--radius-md) var(--radius-md) 0 0;
box-shadow: none;
}
.sheet-header { padding-bottom: 16px; border-bottom: 1px solid var(--border-strong); }
.sheet-header h2 { font-size: 28px; font-weight: 800; }
.sheet-section { padding-top: 24px; border-top: 1px solid var(--border); }
.temperature-hero strong { font-family: var(--font-data); }
.temperature-label { font-size: 16px; }
.history-empty { font-size: 16px; line-height: 1.65; }
.condition-list dt { font-size: 14px; }
.condition-list dd { font-size: 16px; }
.forecast-warning,
.closed-row { font-size: 16px; line-height: 1.65; }
.sheet-footer { font-size: 12px; }
.capability-list li { font-size: 16px; }
.history-chart { border-radius: 0; }
.forecast-warning { border-left: 4px solid var(--warn-line); border-radius: 0; }
.about-panel { border: 2px solid var(--text-primary); border-radius: var(--radius-md); box-shadow: none; }
.about-panel > p,
.about-panel li { font-size: 16px; }
@media (min-width: 768px) {
.calendar-view,
.lure-view,
.ports-view { padding-right: 40px; padding-left: 40px; }
.calendar-months { column-gap: 24px; row-gap: 40px; }
.candidate-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.candidate-row { border-right: 1px solid var(--border); }
.candidate-row:last-child { border-right: 0; }
.selected-day-panel { padding: 20px 72px 20px 20px; }
.map-panel { height: calc(100dvh - 72px - 230px); }
.port-sheet {
top: 88px;
border-bottom: 2px solid var(--text-primary);
border-radius: var(--radius-md);
box-shadow: none;
}
}
@media (max-width: 430px) {
.calendar-view,
.lure-view,
.ports-view { padding-right: 14px; padding-left: 14px; }
.lure-condition-grid,
.lure-candidate-list { grid-template-columns: minmax(0, 1fr); }
.rig-form-grid,
.rig-facts { grid-template-columns: minmax(0, 1fr); }
.lure-submit { width: 100%; justify-self: stretch; }
.lure-candidate { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--border); }
.lure-candidate:last-child { border-bottom: 0; }
.rig-submit { width: 100%; justify-self: stretch; }
.rig-facts > div { border-right: 0; border-bottom: 1px solid var(--border); }
.rig-facts > div:last-child { border-bottom: 0; }
.calendar-months { margin: 0; }
.candidate-comparison { padding-right: 0; padding-left: 0; }
.candidate-row { padding: 14px 8px; }
.calendar-day { min-height: 78px; padding: 7px 4px; }
.ports-header { align-items: flex-start; }
.port-list-row { padding-right: 4px; padding-left: 4px; }
}
@media (max-width: 370px) {
.calendar-months { margin-right: -8px; margin-left: -8px; }
.calendar-weekdays,
.calendar-grid { gap: 0; }
}
html[data-entry-mode="trip"] [data-view-panel],
html[data-entry-mode="trip"] .bottom-nav {
display: none !important;
}
html[data-entry-mode="trip"] .app-shell { padding-bottom: 0; }
html[data-entry-mode="trip"] #todayLabel { display: none !important; }
html[data-entry-mode="app"] #tripFlow { display: none !important; }
.trip-flow {
width: 100%;
min-height: calc(100svh - 72px);
background: var(--surface);
}
.trip-flow-shell {
display: grid;
width: min(720px, 100%);
margin: 0 auto;
padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px) clamp(64px, 10vw, 112px);
gap: 28px;
}
.trip-flow-intro {
display: grid;
min-width: 0;
gap: 16px;
padding-bottom: 24px;
border-bottom: 2px solid var(--text-primary);
}
.trip-flow-meta {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.trip-flow-kicker,
.trip-progress,
.trip-error-label,
.trip-result-label,
.trip-accepted-label {
margin: 0;
color: var(--text-secondary);
font-family: var(--font-data);
font-size: 12px;
font-weight: 700;
letter-spacing: .06em;
}
.trip-progress {
flex: 0 0 auto;
color: var(--accent-ink);
text-align: right;
}
.trip-flow-value {
max-width: 34em;
margin: 0;
color: var(--text-secondary);
font-size: clamp(16px, 2.4vw, 19px);
line-height: 1.7;
letter-spacing: -.018em;
overflow-wrap: anywhere;
word-break: keep-all;
}
.trip-answer-summary {
margin: 0;
padding: 12px 14px;
border-left: 3px solid var(--accent-line);
background: var(--accent-surface-soft);
color: var(--text-primary);
font-size: 15px;
font-weight: 600;
line-height: 1.6;
overflow-wrap: anywhere;
word-break: keep-all;
}
.trip-answer-summary-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.trip-answer-chip {
display: inline-flex;
max-width: 100%;
min-width: 0;
min-height: 44px;
align-items: center;
gap: 6px;
padding: 6px 10px;
border: 1px solid var(--accent-line-soft);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text-primary);
font-size: 14px;
font-weight: 600;
}
.trip-answer-chip span { min-width: 0; overflow-wrap: normal; word-break: keep-all; }
.trip-answer-chip small { flex: 0 0 auto; color: var(--text-secondary); font-size: 11px; white-space: nowrap; }
.trip-answer-chip:hover { border-color: var(--accent-line); background: var(--accent-surface-soft); }
.trip-step-host:empty { display: none; }
.trip-step { display: grid; min-width: 0; gap: 24px; }
.trip-step fieldset,
fieldset.trip-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.trip-step legend:not(.sr-only) { width: 100%; padding: 0; }
.trip-step-label,
.trip-result-kicker {
margin: 0;
color: var(--accent-ink);
font-family: var(--font-data);
font-size: 12px;
font-weight: 700;
letter-spacing: .06em;
}
.trip-question-title,
.trip-step h1,
.trip-result-title,
#tripErrorTitle {
max-width: 18em;
margin: 0;
font-size: clamp(32px, 7vw, 52px);
font-weight: 800;
line-height: 1.14;
letter-spacing: -.055em;
overflow-wrap: anywhere;
scroll-margin-top: 104px;
word-break: keep-all;
}
.trip-step [tabindex="-1"]:focus,
#tripErrorTitle:focus { outline: none; }
.trip-question-help,
.trip-step-description {
max-width: 38em;
margin: 10px 0 0;
color: var(--text-secondary);
font-size: 16px;
line-height: 1.7;
overflow-wrap: anywhere;
word-break: keep-all;
}
.trip-choice-list,
.trip-alternative-list,
.trip-result-reasons {
display: grid;
min-width: 0;
gap: 10px;
margin: 0;
padding: 0;
list-style: none;
}
.trip-choice {
position: relative;
display: grid;
width: 100%;
min-width: 0;
min-height: 64px;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 8px 16px;
padding: 14px 16px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text-primary);
cursor: pointer;
text-align: left;
text-decoration: none;
}
.trip-choice:has(input) { grid-template-columns: 24px minmax(0, 1fr); }
.trip-choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent-line); }
.trip-choice:hover { border-color: var(--accent-line); background: var(--accent-surface-soft); }
.trip-choice.is-selected,
.trip-choice[aria-pressed="true"],
.trip-choice:has(input:checked) {
border-color: var(--accent-line);
box-shadow: inset 4px 0 0 var(--accent-line);
background: var(--accent-surface);
}
.trip-choice-title {
display: block;
min-width: 0;
font-size: 17px;
font-weight: 700;
line-height: 1.45;
overflow-wrap: anywhere;
word-break: keep-all;
}
.trip-choice-detail,
.trip-choice-meta {
display: block;
grid-column: 1 / -1;
color: var(--text-secondary);
font-size: 14px;
line-height: 1.55;
overflow-wrap: anywhere;
word-break: keep-all;
}
.trip-choice:has(input) .trip-choice-detail,
.trip-choice:has(input) .trip-choice-meta { grid-column: 2; }
.trip-choice > strong,
.trip-choice > span {
min-width: 0;
overflow-wrap: anywhere;
word-break: keep-all;
}
.trip-choice > strong { font-size: 17px; line-height: 1.45; }
.trip-choice > span { color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.trip-choice-arrow {
width: 20px;
height: 20px;
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.8;
}
.trip-search { display: grid; gap: 8px; }
.trip-search label { font-size: 14px; font-weight: 700; }
.trip-search input,
.trip-date-input,
.trip-select-field select,
.trip-select-field input {
width: 100%;
min-height: 52px;
padding: 10px 12px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--text-primary);
}
.trip-select-field,
.trip-exact-date { display: grid; min-width: 0; gap: 10px; }
.trip-select-field > span { font-size: 14px; font-weight: 700; }
.trip-exact-date { padding-top: 4px; }
.trip-step-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 14px;
padding-top: 4px;
}
.trip-primary-button,
.trip-secondary-button,
.trip-back-button,
.trip-secondary-action {
display: inline-flex;
min-height: 52px;
align-items: center;
justify-content: center;
padding: 0 18px;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 16px;
font-weight: 700;
text-align: center;
}
.trip-primary-button {
border: 1px solid var(--accent-line);
background: var(--accent-line);
color: var(--control-on-accent);
}
.trip-primary-button:hover { filter: brightness(.94); }
.trip-secondary-button,
.trip-back-button,
.trip-secondary-action {
border: 1px solid var(--border-strong);
background: transparent;
color: var(--text-primary);
}
.trip-secondary-button:hover,
.trip-back-button:hover,
.trip-secondary-action:hover { border-color: var(--accent-line); background: var(--accent-surface-soft); }
.trip-primary-button:disabled,
.trip-secondary-button:disabled,
.trip-secondary-action:disabled { opacity: .55; cursor: not-allowed; }
.trip-inline-status,
.trip-inline-error {
margin: 0;
padding: 12px 14px;
border-left: 3px solid var(--warn-line);
background: var(--warn-surface-soft);
color: var(--warn-ink-strong);
font-size: 14px;
line-height: 1.6;
}
.trip-refresh-error {
display: grid;
gap: 6px;
padding: 14px 16px;
border: 0;
border-radius: var(--radius-md);
background: var(--warn-surface-soft);
color: var(--warn-ink-strong);
font-size: 14px;
line-height: 1.6;
}
.trip-refresh-error strong { color: var(--text-primary); font-size: 15px; }
.trip-refresh-error .trip-secondary-action {
width: fit-content;
min-height: 44px;
margin-top: 2px;
padding: 0 12px;
}
.trip-loading,
.trip-error {
display: grid;
min-width: 0;
gap: 12px;
padding: clamp(20px, 5vw, 32px);
border: 1px solid var(--border-strong);
background: var(--surface);
}
.trip-loading { grid-template-columns: 18px minmax(0, 1fr); align-items: start; }
.trip-loading-mark {
width: 14px;
height: 14px;
margin-top: 5px;
border: 3px solid var(--accent-line-soft);
border-top-color: var(--accent-line);
border-radius: 50%;
}
.trip-loading-copy { display: grid; min-width: 0; gap: 4px; }
.trip-loading strong { font-size: 17px; line-height: 1.45; }
.trip-loading-copy span,
.trip-error p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.65; }
.trip-error { border-color: var(--warn-line); background: var(--warn-surface-soft); }
.trip-error .trip-primary-button { width: fit-content; margin-top: 6px; }
.trip-result { display: grid; min-width: 0; gap: 22px; }
.trip-result-primary,
.trip-primary-result,
.trip-result-card {
display: grid;
min-width: 0;
gap: 16px;
padding: clamp(20px, 5vw, 32px);
border-top: 3px solid var(--accent-line);
border-bottom: 1px solid var(--border-strong);
background: var(--accent-surface-soft);
}
.trip-result-title { font-size: clamp(30px, 6.5vw, 46px); }
.trip-result-primary h2,
.trip-result-alternative h2 { margin: 0; font-size: clamp(25px, 5.5vw, 38px); line-height: 1.2; letter-spacing: -.04em; }
.trip-result-primary h2 span,
.trip-result-alternative h2 span { display: block; margin-top: 6px; color: var(--accent-ink); font-family: var(--font-data); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.trip-result-time { margin: -6px 0 0; color: var(--accent-ink); font-family: var(--font-data); font-size: 15px; font-weight: 700; }
.trip-result-reasons { gap: 0; border-top: 1px solid var(--border); }
.trip-result-reasons li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.6; }
.trip-result-reasons li::before { content: '—'; margin-right: 9px; color: var(--accent-ink); }
.trip-result-disclaimer,
.trip-result-reason,
.trip-result-limit { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; word-break: keep-all; }
.trip-result-limit { padding: 14px 0; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.trip-result-facts { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.trip-result-facts li { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.6; }
.trip-result-facts li::before { content: '—'; margin-right: 9px; color: var(--accent-ink); }
.trip-alternatives,
.trip-result-alternatives { border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.trip-alternatives summary,
.trip-result-alternatives summary {
display: flex;
min-height: 52px;
align-items: center;
justify-content: space-between;
gap: 12px;
cursor: pointer;
font-size: 16px;
font-weight: 700;
list-style: none;
}
.trip-alternatives summary::-webkit-details-marker,
.trip-result-alternatives summary::-webkit-details-marker { display: none; }
.trip-alternatives summary::after,
.trip-result-alternatives summary::after { content: '+'; color: var(--accent-ink); font-family: var(--font-data); font-size: 22px; }
.trip-alternatives[open] summary::after,
.trip-result-alternatives[open] summary::after { content: '−'; }
.trip-alternative-list { gap: 0; padding-bottom: 12px; }
.trip-alternative { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--border); }
.trip-alternative strong { font-size: 16px; }
.trip-alternative span { color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.trip-alternatives > div { display: grid; gap: 12px; padding: 0 0 16px; }
.trip-result-alternative { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.trip-result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trip-accepted-summary {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 14px;
margin: 0 0 24px;
padding: 14px 0;
border-bottom: 1px solid var(--border-strong);
}
.trip-accepted-summary > div { display: grid; min-width: 0; gap: 3px; }
.trip-accepted-text { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; word-break: keep-all; }
.trip-accepted-edit,
.trip-restart-button { flex: 0 0 auto; min-height: 44px; }
.port-switcher-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.trip-restart-button { padding: 0 12px; color: var(--text-secondary); }
@media (max-width: 540px) {
.trip-flow { min-height: calc(100svh - 64px); }
.trip-flow-shell { padding-top: 32px; gap: 24px; }
.trip-flow-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
.trip-progress { text-align: left; }
.trip-question-title,
.trip-step h1,
.trip-result-title,
#tripErrorTitle { font-size: clamp(30px, 10vw, 42px); scroll-margin-top: 84px; }
.trip-step-actions { align-items: stretch; flex-direction: column-reverse; }
.trip-primary-button,
.trip-secondary-button,
.trip-back-button,
.trip-secondary-action { width: 100%; }
.trip-result-actions { flex-direction: column; }
.trip-accepted-summary { align-items: flex-start; flex-direction: column; }
.trip-accepted-edit { align-self: stretch; }
.condition-card-head.port-switcher { align-items: stretch; flex-direction: column; }
.port-switcher-actions { justify-content: stretch; }
.port-switcher-actions > button { flex: 1 1 auto; }
}
@media (max-width: 370px) {
.trip-flow-shell { padding-right: 14px; padding-left: 14px; }
.trip-choice { padding-right: 12px; padding-left: 12px; }
.trip-result-primary,
.trip-primary-result,
.trip-result-card,
.trip-loading,
.trip-error { padding: 18px 14px; }
}
/*
 * Briefing UI — 정답을 먼저 읽는 부드러운 앱 표면.
 * 데이터·접근성 DOM은 유지하고, 괘선 중심 원장을 warm-neutral 면과 teal 행동 위계로 바꾼다.
 */
body {
background: var(--bg);
font-family: var(--font-sans);
line-height: 1.6;
}
.app-shell {
width: 100%;
max-width: none;
border: 0;
background: var(--bg);
}
.topbar {
min-height: 64px;
padding: 0 clamp(16px, 4vw, 32px);
border: 0;
border-bottom: 1px solid var(--border);
background: var(--glass-strong);
backdrop-filter: saturate(140%) blur(12px);
}
.brand { gap: 10px; font-size: 19px; font-weight: 800; }
.brand-tag {
padding-left: 0;
border-left: 0;
color: var(--text-secondary);
font-size: 13px;
font-weight: 600;
letter-spacing: 0;
}
.topbar-meta { gap: 8px; font-family: var(--font-sans); font-size: 13px; }
.topbar .icon-button { border: 0; border-radius: var(--radius-sm); background: var(--surface-soft); }
.topbar .icon-button:hover { background: var(--selected); color: var(--accent-ink); }
.home-view,
.calendar-view,
.lure-view,
.ports-view {
width: min(1120px, 100%);
margin: 0 auto;
padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 40px) 112px;
}
.hero-section {
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px 24px;
padding: 0 0 32px;
border: 0;
}
.hero-copy h1 {
max-width: 720px;
font-size: var(--type-l1);
font-weight: 800;
line-height: 1.16;
letter-spacing: -.02em;
word-break: keep-all;
text-wrap: balance;
}
.eyebrow,
.card-kicker,
.section-label,
.briefing-datum,
.marine-verdict-context {
color: var(--text-tertiary);
font-family: var(--font-sans);
font-size: var(--type-meta);
font-weight: 600;
letter-spacing: 0;
}
.hero-description { max-width: 640px; margin-top: 12px; color: var(--text-secondary); font-size: var(--type-action); }
.season-status {
min-height: 44px;
padding: 10px 14px;
border: 0;
border-radius: var(--radius-sm);
background: var(--warn-surface-soft);
}
.season-status strong { border-left: 0; }
.briefing-datum { text-align: right; }
.condition-card,
.state-card,
.content-section,
.candidate-comparison,
.selected-day-panel,
.lure-chooser,
.lure-result,
.lure-no-candidate {
border: 0;
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--card-shadow);
}
.condition-card { gap: 20px; padding: 28px; }
.state-card { padding: 24px; }
.condition-card-head.port-switcher { margin-bottom: 0; }
.port-switcher {
min-height: 0;
padding: 0 0 20px;
border: 0;
border-bottom: 1px solid var(--border);
}
.port-switcher-port { font-size: var(--type-l1); font-weight: 800; letter-spacing: -.02em; }
.port-switcher-caption { margin-top: 4px; color: var(--text-secondary); font-size: var(--type-action); line-height: 1.6; }
.port-switcher-go,
.condition-detail-button {
min-height: 48px;
padding: 0 16px;
border: 0;
border-radius: var(--radius-sm);
background: var(--accent-surface-soft);
color: var(--accent-ink);
font-weight: 700;
}
.port-switcher-go:hover,
.condition-detail-button:hover { background: var(--accent-surface); filter: none; }
.today-briefing-grid { gap: 20px; }
.tide-overview { padding: 0; }
.condition-card h2 { margin-top: 4px; font-size: clamp(32px, 6vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.condition-card h2.condition-mul-hero { font-size: clamp(64px, 13vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.mul-flow-track { height: 6px; border-radius: 999px; }
.mul-flow-dot { border-radius: 999px; transform: translate(-50%, -50%); }
.mul-flow-scale,
.tide-chart text { font-family: var(--font-sans); }
.tide-infographic { margin-top: 20px; }
.tide-loading-placeholder,
.tide-empty { border: 0; border-radius: var(--radius-md); background: var(--surface-soft); }
.tide-chart { border: 0; }
.tide-time-band { rx: 12; }
.tide-note summary { min-height: 44px; text-decoration: none; }
.tide-facts {
gap: 8px;
border: 0;
}
.tide-facts > div {
padding: 14px 16px;
border: 0;
border-radius: var(--radius-sm);
background: var(--surface-soft);
}
.tide-facts > div:nth-child(even) { border-left: 0; }
.tide-facts strong { font-family: var(--font-sans); font-size: clamp(24px, 6vw, 32px); font-weight: 800; }
.marine-fact-cards {
gap: 8px;
border: 0;
}
.marine-fact-card,
.marine-fact-card.is-missing {
min-height: 88px;
padding: 14px 12px;
border: 0;
border-radius: var(--radius-sm);
background: var(--surface-soft);
}
.marine-fact-card + .marine-fact-card { border-left: 0; }
.marine-fact-card dd { font-family: var(--font-sans); font-size: clamp(16px, 4vw, 20px); font-weight: 700; }
.marine-fact-card.is-missing { color: var(--text-secondary); }
.briefing-evidence { gap: 12px; }
.marine-verdict,
.temperature-forecast-card {
padding: 20px;
border: 0;
border-radius: var(--radius-md);
background: var(--surface-soft);
}
.marine-verdict strong { font-size: clamp(24px, 5vw, 30px); font-weight: 800; }
.marine-verdict span { font-size: 16px; line-height: 1.65; }
.temperature-forecast-value { font-family: var(--font-sans); font-size: clamp(36px, 8vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.temperature-evidence li { border: 0; border-radius: var(--radius-sm); background: var(--surface); }
.index-strip,
.index-strip > span { border-radius: 999px; }
.condition-foot { min-height: 56px; border-top: 1px solid var(--border); }
#conditionTitle { min-height: 64px; }
#conditionBasis { min-height: 20px; }
.content-section { margin-top: 24px; padding: 28px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2,
.section-heading h3 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.week-summary { border: 0; border-radius: var(--radius-sm); background: var(--warn-surface-soft); }
.week-strip { gap: 8px; border: 0; border-radius: 0; box-shadow: none; }
.week-day { min-height: 124px; padding: 16px 12px; border: 0; border-radius: var(--radius-sm); background: var(--surface-soft); }
.week-day strong { font-family: var(--font-sans); }
.closed-day,
.index-chip,
.index-sample { border-radius: 999px; }
.primary-button,
.trip-primary-button,
.sheet-primary-button {
min-height: 52px;
border: 0;
border-radius: var(--radius-sm);
background: var(--accent-line);
color: var(--control-on-accent);
font-weight: 700;
box-shadow: none;
transition: filter var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.primary-button:hover,
.trip-primary-button:hover,
.sheet-primary-button:hover { filter: brightness(.94); }
.secondary-button,
.text-button,
.trip-secondary-button,
.trip-back-button,
.trip-secondary-action,
.trip-restart-button {
min-height: 48px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--accent-ink);
font-weight: 700;
transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.secondary-button:hover,
.text-button:hover,
.trip-secondary-button:hover,
.trip-back-button:hover,
.trip-secondary-action:hover,
.trip-restart-button:hover { background: var(--accent-surface-soft); }
.bottom-nav {
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--glass-strong);
box-shadow: var(--card-shadow);
backdrop-filter: saturate(140%) blur(12px);
}
.nav-tab { border-radius: var(--radius-sm); }
.nav-tab.is-active { background: var(--selected); color: var(--nav-active); box-shadow: none; }
.calendar-header,
.lure-header,
.ports-header { padding-bottom: 28px; border: 0; }
.calendar-header h1,
.lure-header h1,
.ports-header h1 { font-size: var(--type-l1); font-weight: 800; letter-spacing: -.02em; }
.calendar-reference-hint { padding: 12px 14px; border: 0; border-radius: var(--radius-sm); background: var(--warn-surface-soft); }
.calendar-month { border: 0; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--card-shadow); }
.calendar-weekdays { font-family: var(--font-sans); }
.calendar-day {
border: 0;
border-radius: var(--radius-sm);
background: var(--surface-soft);
transition: background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.calendar-day:hover { background: var(--accent-surface-soft); }
.calendar-day.is-selected { box-shadow: inset 0 0 0 2px var(--accent-line); }
.calendar-day[data-state-kind="closed"] { border: 1px dashed var(--warn-line); background: var(--warn-surface-soft); }
.calendar-date,
.calendar-mul { font-family: var(--font-sans); }
.calendar-legend span::before { border-radius: 999px; }
.selected-day-panel { padding: 24px; }
.selected-day-close { border: 0; border-radius: var(--radius-sm); background: var(--surface-soft); }
.lure-chooser,
.lure-result,
.lure-no-candidate { padding: 24px; }
.lure-candidate-list { gap: 12px; }
.lure-candidate {
border: 0;
border-radius: var(--radius-md);
background: var(--surface-soft);
overflow: hidden;
}
.lure-candidate:last-child { border: 0; }
.lure-candidate.is-first { background: var(--accent-surface-soft); box-shadow: inset 0 0 0 2px var(--accent-line); }
.explore-mode-switch { padding: 4px; border: 0; border-radius: var(--radius-md); background: var(--surface-soft); }
.explore-mode-switch button { border: 0; border-radius: var(--radius-sm); }
.explore-mode-switch button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(25, 31, 29, .12); }
.port-search-tools input,
.lure-date-field input,
.lure-condition-grid select,
.fishing-log-row input { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); }
.port-list-row {
min-height: 100px;
padding: 16px;
border: 0;
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: var(--card-shadow);
transition: background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.port-list-row:hover { background: var(--accent-surface-soft); }
.port-list-row.is-reference { background: var(--selected); box-shadow: inset 0 0 0 2px var(--accent-line); }
.map-panel { border: 0; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.map-controls button,
.map-empty,
.port-marker { border: 0; border-radius: var(--radius-sm); box-shadow: var(--card-shadow); }
.port-sheet {
border: 0;
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
background: var(--surface);
box-shadow: 0 -12px 40px rgba(25, 31, 29, .16);
}
.sheet-header,
.sheet-section { border-color: var(--border); }
.about-panel { border: 0; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.history-chart { border-radius: var(--radius-md); }
.forecast-warning { border: 0; border-radius: var(--radius-sm); background: var(--warn-surface-soft); }
.candidate-comparison { padding: 24px; }
.candidate-comparison > summary { border: 0; }
.candidate-count,
.candidate-season,
.candidate-dday { border-radius: 999px; }
.candidate-count { border: 0; background: var(--surface-soft); font-family: var(--font-sans); }
.candidate-context,
.candidate-common,
.candidate-unavailable { border: 0; border-radius: var(--radius-sm); background: var(--surface-soft); }
.candidate-rows { gap: 10px; border: 0; }
.candidate-row {
padding: 16px;
border: 0;
border-radius: var(--radius-md);
background: var(--surface-soft);
}
.candidate-remove { border: 0; border-radius: var(--radius-sm); background: var(--surface); }
.candidate-row time,
.candidate-facts strong { font-family: var(--font-sans); }
.trip-flow { background: var(--bg); }
.trip-flow-shell { width: min(720px, 100%); gap: 28px; }
.trip-flow-kicker,
.trip-progress,
.trip-error-label,
.trip-result-label,
.trip-accepted-label,
.trip-step-label,
.trip-result-kicker { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.trip-answer-summary { border: 0; }
.trip-answer-chip { border: 0; border-radius: 999px; background: var(--surface-soft); }
.trip-question-title,
.trip-step h1,
.trip-result-title,
#tripErrorTitle { font-weight: 800; letter-spacing: -.02em; }
.trip-choice-list { gap: 12px; }
.trip-choice {
min-height: 72px;
padding: 18px;
border: 0;
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: var(--card-shadow);
transition: background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.trip-choice:hover { background: var(--accent-surface-soft); }
.trip-choice.is-selected,
.trip-choice[aria-pressed="true"],
.trip-choice:has(input:checked) { border: 0; background: var(--accent-surface-soft); box-shadow: inset 0 0 0 2px var(--accent-line); }
.trip-choice-title,
.trip-choice > strong { font-weight: 700; }
.primary-button:active,
.trip-primary-button:active,
.sheet-primary-button:active,
.secondary-button:active,
.text-button:active,
.trip-secondary-button:active,
.trip-back-button:active,
.trip-secondary-action:active,
.trip-restart-button:active,
.calendar-day:active,
.port-list-row:active,
.trip-choice:active { opacity: var(--pressed-opacity); transform: none; }
.primary-button:disabled,
.trip-primary-button:disabled,
.sheet-primary-button:disabled,
.secondary-button:disabled,
.text-button:disabled,
.trip-secondary-button:disabled,
.trip-back-button:disabled,
.trip-secondary-action:disabled,
.trip-restart-button:disabled,
.calendar-day:disabled,
.port-list-row:disabled,
.trip-choice:disabled { opacity: .55; cursor: not-allowed; }
.trip-flow-intro { padding-bottom: 0; border-bottom: 0; }
.trip-search input,
.trip-date-input,
.trip-select-field select,
.trip-select-field input { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); }
.trip-loading,
.trip-error,
.trip-result-primary,
.trip-primary-result,
.trip-result-card,
.trip-accepted-summary {
border: 0;
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--card-shadow);
}
.trip-error { background: var(--warn-surface-soft); }
.trip-result-primary,
.trip-primary-result,
.trip-result-card,
.trip-loading,
.trip-error { padding: 24px; }
.trip-result-primary h2,
.trip-result-alternative h2 { letter-spacing: -.02em; }
.trip-result-primary h2 span,
.trip-result-alternative h2 span,
.trip-result-time { font-family: var(--font-sans); }
.trip-result-reasons,
.trip-result-facts { gap: 8px; border: 0; }
.trip-result-reasons li,
.trip-result-facts li { padding: 12px 14px; border: 0; border-radius: var(--radius-sm); background: var(--surface-soft); }
.trip-result-reasons li::before,
.trip-result-facts li::before { content: none; }
.trip-result-limit { padding: 12px 14px; border: 0; border-radius: var(--radius-sm); background: var(--surface-soft); }
.trip-alternatives,
.trip-result-alternatives { border: 0; border-radius: var(--radius-md); background: var(--surface-soft); }
.trip-alternatives summary,
.trip-result-alternatives summary { padding: 0 16px; }
.trip-alternatives > div { padding: 0 16px 16px; }
.trip-alternative,
.trip-result-alternative { border-color: var(--border); }
.trip-accepted-summary { padding: 18px; }
.trip-decision-card {
display: grid;
gap: 20px;
padding: clamp(22px, 5vw, 32px);
border: 0;
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--card-shadow);
}
.trip-decision-card .trip-result-kicker { margin: 0; color: var(--accent-ink); font-size: var(--type-meta); font-weight: 700; }
.trip-decision-card .trip-result-title { margin: -6px 0 0; font-size: var(--type-l1); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; word-break: keep-all; }
.trip-decision-title { max-width: 17em; margin: -6px 0 0; color: var(--text-primary); font-size: clamp(30px, 7vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: normal; word-break: keep-all; }
.trip-score-card { display: grid; min-width: 0; gap: 12px; padding: 18px; border-radius: var(--radius-md); background: var(--accent-surface-soft); }
.trip-score-head { display: flex; min-width: 0; align-items: end; justify-content: space-between; gap: 12px; }
.trip-score-meaning { display: grid; min-width: 0; gap: 3px; margin: 0; }
.trip-score-meaning span { color: var(--text-secondary); font-size: var(--type-meta); font-weight: 600; }
.trip-score-meaning strong { color: var(--accent-ink); font-size: clamp(20px, 5vw, 26px); font-weight: 800; line-height: 1.25; word-break: keep-all; }
.trip-score-value { flex: 0 0 auto; margin: 0; color: var(--text-primary); font-size: clamp(30px, 8vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.trip-score-value small { margin-left: 4px; color: var(--text-secondary); font-size: .43em; font-weight: 700; letter-spacing: 0; }
.trip-score-meter { height: 10px; overflow: hidden; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent-line-soft); }
.trip-score-meter span { display: block; width: var(--trip-score-value, 0%); height: 100%; border-radius: inherit; background: var(--accent-line); }
.trip-score-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--text-secondary); font-size: var(--type-meta); }
.trip-score-evidence strong { color: var(--text-primary); font-weight: 700; }
.trip-score-note { margin: 0; color: var(--text-secondary); font-size: var(--type-meta); line-height: 1.6; word-break: keep-all; }
.trip-key-facts { display: grid; min-width: 0; gap: 12px; }
.trip-key-facts h2 { margin: 0; color: var(--text-primary); font-size: 17px; font-weight: 800; }
.trip-key-fact-grid { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.trip-key-fact { display: grid; min-width: 0; gap: 4px; margin: 0; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.trip-key-fact dt { color: var(--text-secondary); font-size: var(--type-meta); font-weight: 600; }
.trip-key-fact dd { min-width: 0; margin: 0; color: var(--text-primary); font-size: clamp(15px, 4vw, 18px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.35; overflow-wrap: normal; word-break: keep-all; }
.trip-confidence {
display: grid;
gap: 4px;
margin: 0;
padding: 16px;
border-radius: var(--radius-md);
background: var(--surface-soft);
}
.trip-confidence strong { color: var(--text-primary); font-size: 16px; font-weight: 700; }
.trip-confidence span { color: var(--text-secondary); font-size: var(--type-body); line-height: 1.6; }
.trip-confidence.is-complete { background: var(--accent-surface-soft); }
.trip-confidence.is-partial { background: var(--warn-surface-soft); }
.trip-evidence-accordion { border-top: 1px solid var(--border); }
.trip-evidence-item { border-bottom: 1px solid var(--border); }
.trip-evidence-item summary {
display: flex;
min-height: 56px;
align-items: center;
justify-content: space-between;
gap: 16px;
cursor: pointer;
color: var(--text-primary);
font-size: 16px;
font-weight: 700;
list-style: none;
}
.trip-evidence-item summary::-webkit-details-marker { display: none; }
.trip-evidence-item summary::after { content: '+'; flex: 0 0 auto; color: var(--accent-ink); font-size: 22px; font-weight: 600; }
.trip-evidence-item[open] summary::after { content: '−'; }
.trip-evidence-item p { margin: -2px 0 16px; color: var(--text-secondary); font-size: var(--type-body); line-height: 1.7; }
.trip-decision-card > .trip-primary-button { width: 100%; min-height: 56px; }
.trip-detail-actions { display: grid; gap: 10px; }
.trip-detail-actions .trip-primary-button,
.trip-detail-actions .trip-secondary-button { width: 100%; min-height: 56px; }
.trip-about-action,
.trip-alternative-action {
min-height: 48px;
padding: 0 14px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--accent-ink);
font: inherit;
font-weight: 700;
cursor: pointer;
}
.trip-about-action:hover,
.trip-alternative-action:hover { background: var(--accent-surface-soft); }
.trip-decision-card > .trip-result-limit { margin: -4px 0 0; color: var(--text-tertiary); font-size: var(--type-meta); line-height: 1.6; }
.trip-result-alternative { margin: 12px; padding: 18px; border: 0; border-radius: var(--radius-md); background: var(--surface); }
.trip-alternative-score { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; color: var(--accent-ink); font-size: var(--type-meta); font-weight: 600; }
.trip-alternative-score strong { font-size: 18px; font-weight: 800; }
.trip-result-alternative .trip-result-reason { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.trip-alternative-action { justify-self: start; }
.app-record-promo-copy { max-width: 42rem; margin: 0; color: var(--text-secondary); font-size: var(--type-body); line-height: 1.7; word-break: keep-all; }
.legacy-log-archive { margin-top: 18px; padding: 18px; border: 0; border-radius: var(--radius-md); background: var(--surface-soft); }
.legacy-log-archive .fishing-log-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) {
.home-status-layer { min-height: 176px; }
.today-briefing-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, .82fr); gap: 20px; }
.tide-overview { padding-right: 0; border-right: 0; }
.briefing-evidence { padding-left: 0; }
.bottom-nav { top: 12px; width: 360px; height: 58px; padding: 4px; }
.nav-tab { min-height: 48px; }
.tide-infographic,
.tide-loading-placeholder { min-height: 510px; }
.week-layer { min-height: 244px; }
.trip-key-fact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.port-sheet { border-radius: var(--radius-lg); }
.candidate-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.candidate-row { border-right: 0; }
}
@media (max-width: 767px) {
.topbar { padding: 0 16px; }
.home-view,
.calendar-view,
.lure-view,
.ports-view { padding-top: 32px; padding-right: 16px; padding-left: 16px; }
.hero-section { grid-template-columns: minmax(0, 1fr); align-items: start; padding-bottom: 24px; }
.briefing-datum { text-align: left; }
.condition-card { padding: 20px; }
.briefing-evidence { border-top: 0; }
.content-section { padding: 20px; }
.home-status-layer { min-height: 224px; }
.tide-infographic,
.tide-loading-placeholder { min-height: 446px; }
.temperature-forecast-card { min-height: 218px; }
.week-layer { min-height: 264px; }
.port-sheet { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.trip-decision-card { padding: 22px 20px; }
.trip-score-head { align-items: start; flex-direction: column; gap: 8px; }
}
@media (max-width: 430px) {
.brand-tag { display: none; }
.condition-card { padding: 20px; }
.port-switcher-go { padding: 0 12px; }
.marine-fact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.marine-fact-card { padding-right: 8px; padding-left: 8px; }
.calendar-month { padding: 12px; }
.candidate-comparison { padding: 18px; }
}
@media (max-width: 370px) {
.condition-card { padding: 16px; }
.content-section { margin-top: 20px; padding: 16px; }
.marine-fact-cards { gap: 6px; }
.calendar-months { margin-right: -8px; margin-left: -8px; }
.calendar-grid { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
scroll-behavior: auto !important;
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
}
}
:root .ceph-lab-heading { margin: 0 0 18px; }
:root .ceph-lab-heading h1 { margin: 8px 0 10px; font-size: clamp(26px, 4vw, 42px); line-height: 1.2; letter-spacing: -.04em; word-break: keep-all; }
:root .ceph-lab-heading > p:last-child { margin: 0; color: var(--fable-muted); font-size: 15px; line-height: 1.6; word-break: keep-all; }
.ceph-lab, .ceph-calculator, .ceph-research, .ceph-existing-guidance { color: var(--fable-ink); }
.ceph-lab { padding: 22px; border: 1px solid var(--fable-line); border-radius: 20px; background: var(--fable-surface); }
.ceph-scene-controls, .ceph-research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ceph-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.ceph-choice legend { margin-bottom: 8px; padding: 0; font-size: 13px; color: var(--fable-muted); font-weight: 700; }
.ceph-choice > div { display: flex; gap: 6px; }
.ceph-choice label { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.ceph-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ceph-choice label > span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 10px; border: 1px solid var(--fable-line); border-radius: 12px; background: var(--fable-surface-soft); color: var(--fable-ink); font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; word-break: keep-all; }
.ceph-choice input:checked + span { color: var(--fable-on-water); background: var(--fable-water-strong); border-color: var(--fable-water-strong); box-shadow: inset 0 0 0 1px currentColor; }
.ceph-choice input:focus-visible + span { outline: 3px solid var(--fable-focus); outline-offset: 3px; }
.ceph-choice label:hover > span { border-color: var(--fable-water-strong); }
.ceph-scene-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 30px; margin-top: 20px; }
.ceph-scene { margin: 0; min-width: 0; }
.ceph-scene figcaption { margin-top: 8px; font-size: 12px; color: var(--fable-muted); line-height: 1.55; word-break: keep-all; }
.ceph-seabed-svg, .ceph-angle-svg, .ceph-research-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.ceph-water { fill: var(--fable-water-soft); }
.ceph-floor { fill: var(--fable-amber); fill-opacity: .35; }
.ceph-line { fill: none; stroke: var(--fable-ink); stroke-width: 2.5; stroke-linecap: round; }
.ceph-sinker { fill: var(--fable-muted); stroke: var(--fable-ink); stroke-width: 1.5; }
.ceph-lure { fill: var(--fable-amber); stroke: var(--fable-ink); stroke-width: 1.8; }
.ceph-hook { fill: none; stroke: var(--fable-ink); stroke-width: 2; stroke-linecap: round; }
.ceph-animal { fill: var(--fable-water); stroke: var(--fable-water-strong); stroke-width: 2; }
.ceph-fin { fill-opacity: .5; }
.ceph-animal .ceph-limb { fill: none; stroke: var(--fable-water); stroke-width: 8; stroke-linecap: round; }
.ceph-animal .ceph-cuttle-arms { fill: none; stroke: var(--fable-water); stroke-width: 4; stroke-linecap: round; }
.ceph-eye { fill: var(--fable-surface-strong); stroke: none; }
.ceph-svg-label { fill: var(--fable-ink); font-size: 17px; font-weight: 600; }
.ceph-measure { fill: none; stroke: var(--fable-muted); stroke-width: 1.8; }
.ceph-reference { fill: none; stroke: var(--fable-muted); stroke-width: 1.8; stroke-dasharray: 4 6; }
.ceph-target { fill: none; stroke: var(--fable-water-strong); stroke-width: 4; }
.ceph-observed { fill: none; stroke: var(--fable-current-marker); stroke-width: 3; stroke-dasharray: 8 5; }
.ceph-observed-end { fill: var(--fable-surface); stroke: var(--fable-current-marker); stroke-width: 2.5; }
.ceph-muted-group { opacity: .45; }
.ceph-food-node { fill: var(--fable-surface); stroke: var(--fable-line); }
.ceph-offset { display: block; }
.ceph-offset > span:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 700; }
.ceph-offset output { color: var(--fable-water-strong); font-variant-numeric: tabular-nums; }
.ceph-offset input { display: block; width: 100%; height: 44px; margin: 8px 0 0; accent-color: var(--fable-water-strong); cursor: pointer; }
.ceph-range-ends { display: flex; justify-content: space-between; color: var(--fable-muted); font-size: 12px; }
.ceph-note { margin: 10px 0 0; color: var(--fable-muted); font-size: 13px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.ceph-shape-note { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--fable-line); }
.ceph-shape-note strong { font-size: 18px; }
.ceph-shape-note p { margin: 8px 0 0; color: var(--fable-muted); font-size: 14px; line-height: 1.65; word-break: keep-all; }
.ceph-details { margin-top: 16px; color: var(--fable-muted); }
.ceph-details summary { min-height: 44px; padding: 12px 0; font-size: 13px; font-weight: 700; cursor: pointer; }
.ceph-details p { margin: 8px 0 14px; font-size: 13px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
.ceph-details a { color: var(--fable-water-strong); text-decoration: underline; text-underline-offset: 3px; }
.ceph-calculator, .ceph-research { margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--fable-line); }
.ceph-section-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.ceph-section-heading h2 { margin: 8px 0 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.035em; line-height: 1.3; word-break: keep-all; }
.ceph-status-label { display: inline-block; padding: 7px 10px; border-radius: 7px; color: var(--fable-muted); background: var(--fable-surface-soft); font-size: 12px; line-height: 1.5; }
.ceph-calc-mode { max-width: 580px; margin-bottom: 20px; }
.ceph-calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 24px; border: 1px solid var(--fable-line); border-radius: 20px; background: var(--fable-surface); }
.ceph-input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.ceph-calc-form label { display: block; color: var(--fable-ink); font-size: 14px; font-weight: 700; }
.ceph-calc-form label > span { display: block; margin: 4px 0 7px; color: var(--fable-muted); font-size: 12px; font-weight: 600; }
.ceph-calc-form input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--fable-line); border-radius: 10px; background: var(--fable-surface-strong); color: var(--fable-ink); font: inherit; font-size: 19px; font-variant-numeric: tabular-nums; }
.ceph-calc-form input[aria-invalid="true"] { border: 2px solid var(--fable-current-marker); }
.ceph-target-input { margin-top: 18px; max-width: 220px; }
.ceph-calc-visual { min-width: 0; }
.ceph-angle-svg { max-width: 320px; margin: 0 auto; }
.ceph-calc-result { margin-top: 16px; }
.ceph-calc-result > p:first-child { margin: 0 0 6px; color: var(--fable-muted); font-size: 13px; }
.ceph-calc-result output { display: block; color: var(--fable-water-strong); font-size: clamp(25px, 4vw, 38px); line-height: 1.25; letter-spacing: -.025em; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; word-break: keep-all; }
#cephResultDetail { margin: 8px 0 0; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.ceph-formula { padding: 14px; border-radius: 10px; background: var(--fable-surface-soft); font-variant-numeric: tabular-nums; }
.ceph-research-card { min-width: 0; padding: 20px; border: 1px solid var(--fable-line); border-radius: 18px; background: var(--fable-surface); }
.ceph-research-tags { margin: 0 0 10px; font-size: 12px; color: var(--fable-muted); }
.ceph-research-card h3 { margin: 0 0 18px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; word-break: keep-all; }
.ceph-research-svg { margin-top: 16px; }
.ceph-existing-guidance { margin-top: 40px; border-top: 1px solid var(--fable-line); border-bottom: 1px solid var(--fable-line); }
.ceph-existing-guidance > summary { min-height: 58px; padding: 18px 0; font-size: 17px; font-weight: 700; cursor: pointer; word-break: keep-all; }
.ceph-existing-guidance > .lure-header { margin-top: 28px; }
.ceph-existing-guidance > .lure-header h2 { font-size: 25px; }
.ceph-lab input:focus-visible, .ceph-calculator input:focus-visible, .ceph-details summary:focus-visible, .ceph-existing-guidance summary:focus-visible { outline: 3px solid var(--fable-focus); outline-offset: 3px; }
.ceph-learning { color: var(--fable-ink); }
.ceph-learning-choices { max-width: 640px; display: grid; gap: 12px; }
.ceph-lesson-choice label > span { gap: 7px; background: transparent; border-color: transparent; border-bottom: 2px solid var(--fable-line); border-radius: 8px 8px 0 0; }
.ceph-lesson-choice input:checked + span { background: var(--fable-water-soft); color: var(--fable-water-strong); border-color: transparent; border-bottom-color: var(--fable-water-strong); box-shadow: none; }
.ceph-lesson-choice svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 20px; }
.ceph-learning-stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; margin-top: 18px; }
.ceph-learning-figure { min-width: 0; margin: 0; }
.ceph-learning-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 2px 8px; color: var(--fable-muted); font-size: 12px; line-height: 1.4; }
.ceph-lesson-svg { display: block; width: 100%; height: auto; overflow: hidden; }
.ceph-lesson-svg :is(path, ellipse, circle) { vector-effect: non-scaling-stroke; }
.lesson-water { fill: var(--fable-water-soft); }
.lesson-distant-floor { fill: var(--fable-muted); opacity: .09; }
.lesson-ground, .lesson-burial { fill: color-mix(in srgb, var(--fable-amber) 30%, var(--fable-surface-strong)); }
.lesson-grains { fill: none; stroke: var(--fable-amber); stroke-width: 2; stroke-linecap: round; opacity: .6; }
.lesson-mantle, .lesson-body { fill: var(--fable-water); stroke: var(--fable-water-strong); stroke-width: 1.7; }
.lesson-body { fill: var(--fable-water-strong); }
.lesson-arm, .lesson-cuttle-arm { fill: none; stroke: var(--fable-water); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.lesson-arm-back { fill: none; stroke: var(--fable-water-strong); stroke-width: 5; stroke-linecap: round; opacity: .75; }
.lesson-cuttle-arm { stroke-width: 4; }
.lesson-fin { fill: var(--fable-water); fill-opacity: .28; stroke: var(--fable-water-strong); stroke-width: 1.3; }
.lesson-eye { fill: var(--fable-surface-strong); stroke: var(--fable-water-strong); stroke-width: 1; }
.lesson-pupil { fill: none; stroke: var(--fable-ink); stroke-width: 2.5; stroke-linecap: round; }
.lesson-suckers { fill: none; stroke: var(--fable-surface-strong); stroke-width: 2; stroke-linecap: round; }
.lesson-marking { fill: none; stroke: var(--fable-surface-strong); stroke-width: 1.3; opacity: .4; }
.lesson-tentacle { fill: none; stroke: var(--fable-water-strong); stroke-width: 2; }
.lesson-tentacle-tip { fill: var(--fable-water); }
.lesson-prey { fill: var(--fable-amber); stroke: var(--fable-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lesson-shell, .lesson-shell-front { fill: var(--fable-amber); stroke: var(--fable-ink); stroke-width: 1.5; }
.lesson-shell-opening { fill: var(--fable-ink); stroke: none; opacity: .7; }
.lesson-shell-ridge { fill: none; stroke: var(--fable-surface-strong); stroke-width: 1.5; opacity: .5; }
.lesson-direction { fill: none; stroke: var(--fable-water-strong); stroke-width: 1.8; stroke-linecap: round; opacity: .65; }
.lesson-water-label { fill: var(--fable-water-strong); font-size: 15px; font-weight: 600; }
.lesson-floor-label { fill: var(--fable-ink); font-size: 13px; }
.ceph-learning-explanation { min-width: 0; }
.ceph-copy, .ceph-phase-copy, .ceph-copy-reserve { display: grid; min-width: 0; }
.ceph-copy > *, .ceph-phase-copy > *, .ceph-copy-reserve > * { grid-area: 1 / 1; min-width: 0; }
.ceph-copy-reserve { visibility: hidden; pointer-events: none; }
.ceph-phase-copy .ceph-copy-reserve { font-size: 13px; font-weight: 700; }
.ceph-learning-explanation h2 { margin: 0; font-size: clamp(21px, 2.5vw, 28px); line-height: 1.4; letter-spacing: -.025em; word-break: keep-all; }
:is(.ceph-learning-explanation > p, .ceph-copy p) { margin: 8px 0 18px; color: var(--fable-muted); font-size: 15px; line-height: 1.6; word-break: keep-all; }
.ceph-learning-playback { display: flex; gap: 8px; }
.ceph-learning-playback button { min-height: 48px; padding: 10px 16px; border: 1px solid var(--fable-line); border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ceph-learning-playback .ceph-play { flex: 1; color: var(--fable-on-water); background: var(--fable-water-strong); border-color: var(--fable-water-strong); }
.ceph-learning-playback .ceph-restart { color: var(--fable-water-strong); background: var(--fable-surface); }
.ceph-learning-progress { margin-top: 18px; }
.ceph-learning-progress label { display: block; color: var(--fable-water-strong); font-size: 13px; font-weight: 700; }
.ceph-learning-progress input { display: block; width: 100%; min-width: 0; height: 44px; margin: 0; accent-color: var(--fable-water-strong); cursor: pointer; }
.ceph-learning-progress-ends { display: flex; justify-content: space-between; margin-top: -6px; color: var(--fable-muted); font-size: 12px; }
.ceph-learning-explanation .ceph-motion-note { margin: 12px 0 0; font-size: 12px; }
.ceph-learning-sources { margin-top: 18px; border-top: 1px solid var(--fable-line); }
.ceph-learning-sources summary { width: fit-content; }
.ceph-advanced { border-top: 1px solid var(--fable-line); color: var(--fable-ink); margin-top: 6px; }
.ceph-advanced > summary { min-height: 68px; padding: 16px 0; cursor: pointer; font-size: 17px; font-weight: 700; }
.ceph-advanced > summary > span { display: inline-flex; flex-direction: column; vertical-align: middle; gap: 4px; }
.ceph-advanced > summary small { color: var(--fable-muted); font-size: 12px; font-weight: 600; }
.ceph-advanced > .ceph-research { margin-top: 0; padding-top: 12px; border-top: 0; }
.ceph-advanced > .ceph-calculator { margin-bottom: 28px; }
.ceph-learning button:focus-visible, .ceph-learning input:focus-visible, .ceph-advanced summary:focus-visible { outline: 3px solid var(--fable-focus); outline-offset: 3px; }
@media (min-width: 681px) and (max-height: 760px) {
:root .lure-view { padding-top: 16px; }
:root .ceph-lab-heading { margin-bottom: 12px; }
:root .ceph-lab-heading .eyebrow { margin: 0; }
:root .ceph-lab-heading h1 { margin: 4px 0 0; font-size: 28px; }
.ceph-learning-choices { grid-template-columns: minmax(220px, .85fr) minmax(340px, 1.15fr); max-width: none; gap: 20px; }
.ceph-learning-stage { gap: 24px; margin-top: 12px; }
.ceph-learning-figure { width: 100%; max-width: 440px; justify-self: center; }
.ceph-learning-explanation h2 { font-size: 24px; }
:is(.ceph-learning-explanation > p, .ceph-copy p) { margin: 6px 0 14px; }
.ceph-learning-progress { margin-top: 14px; }
}
@media (max-width: 680px) {
:root .lure-view { padding-top: 18px; }
.ceph-lab { padding: 16px; }
.ceph-scene-controls { gap: 12px; }
.ceph-choice label > span { padding: 8px 6px; font-size: 13px; }
.ceph-scene-layout, .ceph-calc-layout, .ceph-research-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ceph-scene-layout { margin-top: 14px; }
.ceph-scene { max-width: 430px; width: 100%; margin: 0 auto; }
.ceph-calc-layout { padding: 18px; }
.ceph-calculator, .ceph-research { margin-top: 30px; padding-top: 26px; }
.ceph-research-card { padding: 18px; }
.ceph-section-heading { margin-bottom: 16px; }
:root .ceph-lab-heading h1 { font-size: 27px; margin: 6px 0 0; }
.ceph-learning-stage { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }
.ceph-learning-figure { max-width: 450px; width: 100%; margin-inline: auto; }
.ceph-learning-explanation h2 { font-size: 21px; }
:is(.ceph-learning-explanation > p, .ceph-copy p) { margin: 5px 0 14px; font-size: 14px; line-height: 1.55; }
.ceph-learning-progress { margin-top: 12px; }
.ceph-learning-playback button { min-height: 46px; }
}
@media (max-width: 360px) {
:root .ceph-lab-heading h1 { font-size: 23px; }
.ceph-lesson-choice label > span { gap: 4px; padding-inline: 3px; font-size: 12px; }
.ceph-lesson-choice svg { width: 17px; height: 17px; flex-basis: 17px; }
.ceph-learning-explanation h2 { font-size: 20px; }
}
.lesson-mantle, .lesson-body { fill: var(--lesson-red); stroke: var(--lesson-shadow); stroke-width: 1.5; }
.lesson-body { fill: var(--lesson-shadow); }
.lesson-highlight { fill: var(--lesson-highlight); stroke: none; }
.lesson-spot { fill: var(--lesson-shadow); }
.lesson-eye { fill: white; stroke: var(--lesson-shadow); }
.lesson-black-pupil { fill: var(--lesson-pupil); }
.lesson-eye-glint { fill: white; }
.lesson-mascot-mantle { stroke-width: 1; }
.lesson-mascot-shade { fill: var(--lesson-shadow); }
.lesson-octopus .lesson-eye { stroke: none; }
.lesson-arm-silhouette { fill: var(--lesson-red); stroke: var(--lesson-shadow); stroke-width: 1; stroke-linejoin: round; }
.lesson-arm-underside { fill: color-mix(in srgb, var(--lesson-cream) 42%, var(--lesson-highlight)); stroke: none; }
[data-character-layer="rear-arms"] .lesson-arm-silhouette { fill: color-mix(in srgb, var(--lesson-red) 78%, var(--lesson-shadow)); }
[data-character-layer="rear-arms"] .lesson-arm-underside { fill: var(--lesson-highlight); }
.lesson-mascot-mouth { fill: var(--lesson-pupil); }
.lesson-mascot-smile { fill: var(--lesson-shadow); }
.lesson-sucker { fill: var(--lesson-cream); stroke: none; }
.lesson-fin { fill: var(--lesson-highlight); fill-opacity: .82; stroke: var(--lesson-shadow); stroke-width: 1.5; }
.lesson-cuttle-arm { stroke: var(--lesson-red); stroke-width: 3.2; }
.lesson-cuttle-arm-rear { stroke: var(--lesson-shadow); stroke-width: 2.4; }
.lesson-tentacle { stroke: var(--lesson-shadow); stroke-width: 3; }
.lesson-tentacle-tip { fill: var(--lesson-red); stroke: var(--lesson-cream); stroke-width: 1.2; }
.lesson-grip-web { fill: var(--lesson-highlight); stroke: var(--lesson-red); stroke-width: 2; }
.lesson-floor-label { font-size: 16px; }
.lab-heading { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
:root .lab-heading h1 { margin: 0; font-size: 28px; }
.lab-info { position: static; flex: 0 0 auto; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.lab-info > summary { display: grid; place-items: center; list-style: none; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 10px; color: var(--fable-muted); cursor: pointer; }
.lab-info > summary svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lab-info > summary .lab-info-dot { fill: currentColor; stroke: none; }
.lab-info > summary:hover, .lab-info[open] > summary { background: var(--fable-surface-soft); color: var(--fable-water-strong); }
.lab-info > summary:focus-visible { outline: 3px solid var(--fable-focus); outline-offset: 2px; }
.lab-info > summary::-webkit-details-marker { display: none; }
.lab-info > div { position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; width: min(480px, 100%); max-height: 65vh; overflow-y: auto; padding: 18px; border: 1px solid var(--fable-line); border-radius: 14px; background: var(--fable-surface-strong); box-shadow: 0 10px 32px var(--lab-overlay-shadow); }
.lab-info p { margin: 0 0 12px; color: var(--fable-muted); font-size: 13px; line-height: 1.6; word-break: keep-all; }
.lab-info a { color: var(--fable-water-strong); }
.lab-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0 0 18px; padding: 4px; border-radius: 14px; background: var(--fable-surface-soft); }
.lab-tabs button, .tackle-kind-switch button, .tackle-style-switch button { min-height: 46px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--fable-muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; word-break: keep-all; }
.lab-tabs button[aria-selected="true"] { background: var(--fable-surface-strong); color: var(--fable-water-strong); box-shadow: 0 1px 5px var(--lab-tab-shadow); }
[data-lab-panel][hidden] { display: none; }
.lab-concept-label { margin-top: 5px; color: var(--fable-muted); font-size: 12px; text-align: right; }
:is(.ceph-learning-explanation > p, .ceph-copy p) { color: var(--fable-ink); font-size: 18px; line-height: 1.6; margin-top: 0; }
.tackle-glyph { display: block; width: 100%; height: auto; color: var(--fable-ink); }
.tackle-glyph text { fill: var(--fable-ink); font-family: inherit; font-size: 14px; font-weight: 600; }
.tackle-metal { fill: none; stroke: var(--fable-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tackle-pearl { fill: var(--tackle-pearl); stroke: var(--tackle-pearl-line); stroke-width: 1.5; }
.tackle-line { fill: none; stroke: var(--fable-water-strong); stroke-width: 2; }
.tackle-kind-switch, .tackle-style-switch { display: flex; gap: 8px; justify-content: center; }
.tackle-kind-switch button { min-width: 112px; background: var(--fable-surface-soft); }
.tackle-kind-switch button[aria-pressed="true"], .tackle-style-switch button[aria-pressed="true"] { background: var(--fable-water-strong); color: var(--fable-on-water); }
.tackle-style-switch { margin-top: 8px; }
.tackle-style-switch button { min-height: 44px; font-size: 13px; }
.tackle-style-switch[hidden] { display: none; }
.tackle-specimen { max-width: 560px; margin: 12px auto 0; text-align: center; }
.tackle-specimen > p { margin: 8px 0 14px; color: var(--fable-ink); font-size: 15px; line-height: 1.6; word-break: keep-all; }
.tackle-note { margin: 14px 0; border-bottom: 1px solid var(--fable-line); color: var(--fable-muted); }
.tackle-note > summary { min-height: 44px; padding: 12px 0; font-size: 13px; cursor: pointer; }
.tackle-note p { font-size: 13px; line-height: 1.6; }
.tackle-colors, .tackle-color-guide { margin-top: 30px; }
.tackle-colors h2, .tackle-color-guide h2 { font-size: 23px; line-height: 1.4; margin: 0 0 16px; }
.tackle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tackle-card { min-width: 0; padding: 14px; background: var(--fable-surface); border: 1px solid var(--fable-line); border-radius: 16px; }
.tackle-card-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tackle-card strong { font-size: 16px; overflow-wrap: anywhere; }
.tackle-card p { color: var(--fable-muted); font-size: 12px; margin: 8px 0; }
.tackle-swatches { display: flex; flex: 0 0 auto; }
.tackle-swatches i { display: block; width: 18px; height: 18px; border: 1px solid var(--fable-line); border-radius: 50%; }
.tackle-swatches i + i { margin-left: -4px; }
.tackle-effect-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tackle-effect-key dt { color: var(--fable-ink); font-weight: 700; font-size: 14px; }
.tackle-effect-key dd { margin: 4px 0 0; font-size: 13px; }
.tackle-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tackle-condition { min-width: 0; padding: 14px; border: 1px solid var(--fable-line); border-radius: 16px; background: var(--fable-surface); }
.tackle-condition > header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; font-size: 14px; font-weight: 700; }
.tackle-condition > header span:last-child { color: var(--fable-muted); font-size: 12px; }
.tackle-condition > div { display: grid; grid-template-columns: 1fr 1fr; }
.tackle-condition figure { min-width: 0; margin: 0; }
.tackle-condition figcaption { font-size: 12px; color: var(--fable-muted); text-align: center; }
.tackle-condition > p { font-size: 13px; margin: 14px 0 0; line-height: 1.5; }
.tackle-condition.clear { border-top: 4px solid var(--fable-water); }
.tackle-condition.murky { border-top: 4px solid var(--fable-amber); }
.tackle-condition.dim { background: var(--fable-surface-soft); }
.tackle-reference { margin: 14px 0 0; font-size: 13px; color: var(--fable-muted); }
.lab-tabs button:focus-visible, .lab-info summary:focus-visible, [data-lab-panel] button:focus-visible { outline: 3px solid var(--fable-focus); outline-offset: 3px; }
@media (max-width: 680px) {
.lab-tabs { margin-bottom: 14px; }
.lab-tabs button { padding-inline: 4px; font-size: 13px; }
:is(.ceph-learning-explanation > p, .ceph-copy p) { font-size: 16px; margin: 0 0 14px; }
.ceph-learning-stage { gap: 10px; }
.tackle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tackle-card { padding: 10px; }
.tackle-card-caption { flex-wrap: wrap; }
.tackle-condition { padding: 10px; }
.tackle-condition > div { grid-template-columns: 1fr; }
.tackle-condition figure + figure { margin-top: 4px; }
.tackle-colors h2, .tackle-color-guide h2 { font-size: 21px; }
}
@media (min-width: 681px) and (max-height: 760px) {
:root .lab-heading { margin-bottom: 10px; }
.lab-tabs { margin-bottom: 12px; }
.ceph-learning-figure { max-width: 410px; }
.ceph-learning-stage { margin-top: 10px; }
}
.tackle-contact { fill: var(--fable-water-strong); }
.tackle-bottom-rig { max-width: 460px; margin: auto; }
[data-tackle-only][hidden] { display: none !important; }
.tackle-terms, .tackle-eja-examples { margin-top: 26px; }
.tackle-terms h2, .tackle-eja-examples h2 { margin: 0 0 14px; font-size: 22px; }
.tackle-term-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.tackle-term-grid article { min-width: 0; padding: 12px; border: 1px solid var(--fable-line); border-radius: 14px; background: var(--fable-surface); }
.tackle-term-grid h3 { margin: 0 0 6px; font-size: 16px; }
.tackle-term-grid p, .tackle-eja-examples > p { margin: 0; color: var(--fable-muted); font-size: 13px; line-height: 1.55; word-break: keep-all; }
.tackle-tinsel { fill: none; stroke: var(--fable-amber); stroke-width: 2; }
.term-shrimp, .term-sutte { fill: var(--fable-current-marker); stroke: var(--fable-ink); stroke-width: 2; }
.term-segments { fill: none; stroke: var(--fable-ink); stroke-width: 2; }
.term-eye { fill: var(--fable-surface-strong); stroke: var(--fable-ink); stroke-width: 3; }
.tackle-case-visual { display: flex; align-items: center; justify-content: center; gap: 20px; height: 150px; background: var(--fable-surface-soft); border-radius: 18px; margin-bottom: 12px; }
.tackle-case-visual > svg { width: 95px; height: 85px; }
.tackle-case-visual [data-tackle-eja-example] { width: 200px; max-width: 50%; }
.term-squid-strip { fill: var(--fable-surface-strong); stroke: var(--fable-muted); stroke-width: 2; }
.tackle-eja-examples > a { display: inline-flex; min-height: 44px; align-items: center; color: var(--fable-water-strong); font-size: 14px; }
@media(max-width: 680px) { .tackle-term-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .tackle-term-grid article { padding: 10px; } }
#homeView .hero-section { min-height: 0; padding: 0; margin: 0; gap: 8px; }
#homeView .hero-copy h1 { font-size: 20px; line-height: 1.35; }
#homeView .home-content, #homeContent { gap: 16px; }
#homeView .home-layer { margin-top: 0; }
#homeView .condition-card { padding: 18px; gap: 12px; }
#homeView .condition-card-head.port-switcher { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 12px; }
#homeView .port-switcher-name { min-width: 0; }
#homeView .port-switcher-port { font-size: clamp(21px, 4vw, 28px); line-height: 1.3; }
#homeView .port-switcher-caption { font-size: 12px; margin-top: 4px; }
#homeView .port-switcher-actions { flex: 0 0 auto; }
#homeView .port-switcher-go { min-height: 44px; padding: 8px 10px; font-size: 13px; }
#homeView .port-switcher-go svg { display: none; }
#homeView .today-briefing-grid { display: block; }
#homeView .condition-card h2.condition-mul-hero { font-size: 28px; line-height: 1.2; }
#homeView .tide-infographic { margin-top: 8px; }
.overview-sea { min-width: 0; }
#homeView .overview-sea .hp-day-title { margin: 0 0 8px; }
#homeView .overview-sea .hp-day-title h2 { font-size: 16px; margin: 0; }
#homeView .overview-sea .hp-day-title strong { font-size: 18px; }
.overview-sea .hp-golden-answer { margin: 8px 0 12px; padding: 14px; }
.overview-sea .hp-golden-answer strong { font-size: clamp(24px, 6vw, 32px); }
.overview-feedback { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 13px; }
.overview-reference { border-top: 1px solid var(--border); }
.overview-reference > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--text-secondary); font-size: 13px; }
.overview-reference .briefing-evidence { margin-top: 12px; }
#homeView .condition-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#homeView .condition-foot .meta-text { width: 100%; order: -1; font-size: 12px; }
#homeView .condition-foot button { min-height: 44px; font-size: 13px; }
#homeView .trip-accepted-summary { margin-top: 8px; }
@media (max-width: 767px) {
#homeView { padding-top: 16px; }
#homeView .condition-card { padding: 14px; }
#homeView .home-status-layer { margin-bottom: 12px; }
#homeView .condition-card-head.port-switcher { flex-direction: row; }
#homeView .condition-card h2.condition-mul-hero { font-size: 28px; }
}
#calendarView .calendar-header { gap: 8px; padding-bottom: 8px; }
#calendarView .calendar-header .port-switcher { padding-bottom: 8px; align-items: center; gap: 12px; }
#calendarView .port-switcher-port { font-size: 21px; }
#calendarView .port-switcher-caption { display: none; }
#calendarView .calendar-header h1 { font-size: 22px; }
#calendarView .calendar-header .meta-text { font-size: .8125rem; margin-block: 6px 0; }
#calendarView .calendar-reference:has([hidden]):not(:has(:not([hidden]))) { display: none; }
#calendarView .candidate-comparison { padding: 4px 0; margin: 8px 0 0; border-block: 1px solid var(--border); border-radius: 0; box-shadow: none; }
#calendarView .candidate-comparison > summary { display: flex; margin: 0; }
#calendarView .candidate-comparison-head { display: none; }
#calendarView .candidate-comparison[open] > summary { margin-bottom: 12px; }
#calendarView .candidate-start-hint { margin: 6px 2px 10px; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
#calendarView .candidate-comparison[data-empty="false"] + .candidate-start-hint { visibility: hidden; }
#calendarView .calendar-filters { margin-top: 0; }
#calendarView .trip-accepted-summary { flex-direction: row; align-items: center; gap: 8px; padding: 12px; margin-bottom: 12px; }
#calendarView .trip-accepted-text { font-size: 13px; }
@media (max-width: 767px) {
#calendarView { padding-top: 16px; }
#calendarView .calendar-header .port-switcher { flex-direction: row; }
#calendarView .calendar-header .port-switcher-go { min-height: 44px; padding: 8px 10px; font-size: 13px; }
}
.calendar-state .sea-icon { display: block; width: 20px; height: 20px; margin: 0; color: var(--text-secondary); }
.calendar-saved-label .sea-icon { width: 16px; height: 16px; }
.calendar-legend .sea-icon { width: 18px; height: 18px; color: var(--text-secondary); }
.candidate-evidence, .candidate-coverage { border-bottom: 1px solid var(--border); }
.candidate-evidence > summary, .candidate-coverage > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: .875rem; color: var(--accent-ink); }
.candidate-evidence h3 { margin-top: 20px; font-size: 1rem; }
.candidate-evidence dl { display: grid; gap: 10px; }
.candidate-evidence dt { font-weight: 700; font-size: .875rem; }
.candidate-evidence dd { margin: 4px 0 0; color: var(--text-secondary); font-size: .875rem; line-height: 1.55; }
.candidate-table .sea-icon { width: 20px; height: 20px; }
.candidate-coverage p { font-size: .875rem; line-height: 1.5; }
@media(max-width:360px) {
.calendar-state .sea-icon { margin-inline-end: 6px; }
.calendar-day .calendar-state { justify-content: start; }
}
.selected-tide-answer { padding:12px 0; border-block:1px solid var(--border); }
.selected-tide-answer dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; }
.selected-tide-answer dt { color:var(--text-secondary); font-size:.875rem; }
.selected-tide-answer dd { display:grid; gap:6px; margin:6px 0 0; }
.selected-tide-answer dd>span { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; }
.selected-tide-answer time { font-size:1.375rem; font-weight:700; }
.selected-tide-answer small { font-size:.875rem; color:var(--text-secondary); }
.selected-tide-answer p { margin:10px 0 0; font-size:.875rem; color:var(--text-secondary); }
.selected-tide-link { display:flex; align-items:center; min-height:44px; gap:8px; color:var(--accent-ink); font-size:1rem; }
.selected-day-reference { border:0; border-bottom:1px solid var(--border); }
.selected-day-reference>summary { display:flex; align-items:center; min-height:44px; color:var(--text-secondary); font-size:.875rem; cursor:pointer; }
.selected-day-reference .selected-day-temperature { padding-block:8px; }
:root .fable-page .calendar-view .selected-day-panel { position:fixed; inset:0; margin:auto; width:calc(100% - 32px); max-width:560px; max-height:calc(100dvh - 32px); overflow:auto; overscroll-behavior:contain; transform:none; grid-template-columns:minmax(0,1fr); border:1px solid var(--border-strong); border-radius:12px; padding:20px; gap:12px; color:var(--text-primary); background:var(--surface); backdrop-filter:none; }
:root .fable-page .calendar-view .selected-day-panel:not([open]) { display:none; }
#selectedDayPanel::backdrop { background:rgba(10,30,42,.48); }
body:has(#selectedDayPanel[open]) { overflow:hidden; }
:root .fable-page .calendar-view .selected-day-grade { margin:4px 0 0; font-size:.875rem; }
:root .fable-page .calendar-view .calendar-header { display:flex; flex-direction:column; align-items:stretch; gap:8px; margin-bottom:4px; }
:root .fable-page .calendar-view .port-switcher { padding:4px 0; margin:0; border-bottom:1px solid var(--border); }
:root .fable-page .calendar-view .port-switcher-port { font-size:1rem; }
:root .fable-page .calendar-view .calendar-header h1 { font-size:1.5rem; margin:4px 0; }
:root .fable-page .calendar-view .meta-text { margin:0; font-size:.875rem; }
:root .fable-page .calendar-view .calendar-reference:has([hidden]):not(:has(:not([hidden]))) { display:none; }
:root .fable-page .calendar-view .candidate-start-hint { font-size:.875rem; margin:8px 0; }
:root .fable-page .calendar-view .calendar-filters { display:flex; gap:8px; margin:12px 0; }
:root .fable-page .calendar-view .calendar-filters button { font-size:.9375rem; min-height:44px; padding:8px 12px; border-radius:8px; }
:root .fable-page .calendar-view .calendar-month-controls { display:grid; grid-template-columns:52px minmax(0,1fr) 52px auto; align-items:center; gap:6px; margin:8px 0; }
:root .fable-page .calendar-view .calendar-month-controls[hidden] { display:none; }
:root .fable-page .calendar-view #calendarAllMonths { grid-column:auto; font-size:.8125rem; padding:6px; max-width:6rem; }
:root .fable-page .calendar-view .calendar-legend { font-size:.8125rem; margin:8px 0; }
:root .fable-page .calendar-view .candidate-comparison { margin-top:8px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
:root .fable-page .ports-view .ports-header { margin-bottom:12px; }
:root .fable-page .ports-view h1 { font-size:1.5rem; line-height:1.35; }
:root .fable-page .ports-view .explore-mode-switch { margin-top:12px; }
:root .fable-page .ports-view .port-search-tools { margin-top:16px; }
:root .fable-page .ports-view .port-search-tools label { font-size:.9375rem; letter-spacing:0; }
:root .fable-page .ports-view .port-search-tools input { min-height:48px; background:var(--surface); border:1px solid var(--border-strong); border-radius:8px; font-size:1rem; }
:root .fable-page .ports-view .port-list-panel { margin-top:16px; }
:root .fable-page .ports-view .port-list { border-top:1px solid var(--border); }
.port-group-heading { padding:14px 0 8px; font-size:1rem; font-weight:700; color:var(--text-primary); }
.port-other-group { border-top:1px solid var(--border); margin-top:12px; }
.port-other-group>details>summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; min-height:56px; font-size:1rem; color:var(--text-primary); cursor:pointer; }
.port-other-group>details>summary span { font-size:.875rem; color:var(--text-secondary); }
.port-other-group>details>p { font-size:.875rem; color:var(--text-secondary); margin:8px 0 16px; }
.port-other-group ul { padding:0; list-style:none; }
:root .fable-page .ports-view .port-list-row { padding:14px 4px; background:transparent; }
:root .fable-page .ports-view .port-row-head strong { font-size:1.0625rem; }
:root .fable-page .ports-view .port-row-summary { display:block; margin-top:6px; }
:root .fable-page .ports-view .port-row-summary>strong { font-size:.875rem; font-weight:600; }
:root .fable-page .ports-view .port-row-summary>small { display:block; font-size:.875rem; line-height:1.6; color:var(--text-secondary); }
:root .fable-page .ports-view .port-list-row.is-reference { background:var(--selected); }
.trip-reading-exit { display:flex; flex-wrap:wrap; gap:8px 20px; padding:8px 0; border-bottom:1px solid var(--border); margin:0 auto 16px; max-width:760px; }
.trip-reading-exit a { display:inline-flex; align-items:center; min-height:44px; color:var(--accent-ink); font-size:.9375rem; font-weight:600; }
@media(min-width:960px) {
:root .fable-page .ports-view .port-row-head strong { font-size:1.125rem; }
}
@media(max-width:360px) {
:root .fable-page .calendar-view .calendar-month-controls { grid-template-columns:44px minmax(0,1fr) 44px; }
:root .fable-page .calendar-view #calendarAllMonths { grid-column:1/-1; justify-self:end; max-width:none; }
}
:root .fable-page .calendar-view { padding-inline:0; }
:root .fable-page .calendar-view .calendar-months { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:24px; margin-inline:0; }
:root .fable-page .calendar-view .calendar-month { padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
:root .fable-page .calendar-view :is(.calendar-grid,.calendar-weekdays) { gap:3px; }
:root .fable-page .calendar-view .calendar-day { position:relative; min-height:92px; padding:8px 4px; align-content:start; gap:4px; border:1px solid transparent; border-radius:8px; font-variant-numeric:tabular-nums; }
:root .fable-page .calendar-view .calendar-day.is-selected { border-color:var(--accent-line); box-shadow:inset 0 0 0 1px var(--accent-line); }
.calendar-selected-label { color:var(--accent-ink); font-size:.75rem; line-height:1.35; font-weight:700; }
:root .fable-page .calendar-view .calendar-saved-label { position:absolute; right:3px; top:6px; }
:root .fable-page .calendar-view .calendar-saved-label .sea-icon { width:13px; height:13px; }
:root .fable-page .calendar-view .calendar-day:focus-visible { outline:3px solid var(--focus); outline-offset:2px; z-index:1; }
:root .fable-page .calendar-view .candidate-comparison { padding:12px; }
:root .fable-page .calendar-view .candidate-context { padding:0; background:transparent; border-radius:0; }
:root .fable-page .calendar-view .candidate-common { display:block; padding:0; margin-top:8px; background:transparent; border-radius:0; border-bottom:1px solid var(--border); }
.candidate-common > summary { display:flex; align-items:center; min-height:44px; font-size:.875rem; color:var(--accent-ink); cursor:pointer; }
:root .fable-page .calendar-view .candidate-common :is(dt,dd strong,dd small) { font-size:.875rem; line-height:1.55; }
.candidate-value-line { display:block; font-variant-numeric:tabular-nums; word-break:keep-all; overflow-wrap:anywhere; }
.candidate-value-line + .candidate-value-line { margin-top:8px; }
.candidate-table-scroll[data-columns="3"] .candidate-table { min-width:500px; }
.candidate-scroll-hint,.candidate-evidence > p { color:var(--text-secondary); font-size:.875rem; line-height:1.55; }
.calendar-sea-state { margin:12px 0; color:var(--text-secondary); font-size:.875rem; line-height:1.6; }
.calendar-sea-state p { margin:0; }
.calendar-sea-state button { min-height:44px; margin-top:4px; font:inherit; color:var(--accent-ink); background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:8px 12px; }
:root .fable-page .calendar-view .selected-day-copy { padding-right:44px; }
:root .fable-page .calendar-view .selected-day-close { width:44px; height:44px; min-height:44px; }
@media (max-width:359px) {
:root .fable-page .calendar-view .calendar-grid { grid-template-columns:minmax(0,1fr); }
:root .fable-page .calendar-view .calendar-day { grid-template-columns:48px 52px minmax(0,1fr) 32px; min-height:52px; align-items:center; }
:root .fable-page .calendar-view .calendar-saved-label { position:static; }
:root .fable-page .calendar-view .calendar-selected-label { grid-column:3; }
}
/* U4a overlay pass: a run shares one 3px stroke; week edges remain rounded. */
:root .fable-page .calendar-view .calendar-grid { gap: 0; }
:root .fable-page .calendar-view .calendar-day { min-height: 104px; padding: 8px 4px 16px; border-radius: 16px; }
:root .fable-page .calendar-view .calendar-date { font-size: 14px; }
:root .fable-page .calendar-view .calendar-mul { font-size: 16px; font-weight: 800; }
:root .fable-page .calendar-view .calendar-state { font-size: 14px; font-weight: 600; }
:root .fable-page .calendar-view .calendar-day.is-aim::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; background: var(--zz-gold-mark); border-radius: 999px; }
:root .fable-page .calendar-view .calendar-day.aim-continues-before::after { left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
:root .fable-page .calendar-view .calendar-day.aim-continues-after::after { right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
:root .fable-page .calendar-view .calendar-day[aria-current="date"] { box-shadow: inset 0 0 0 2px var(--zz-eye); }

/* U4a transition pass: async status and optional comparison never move the grid. */
:root .fable-page .calendar-view .calendar-header { gap: 16px; }
:root .fable-page .calendar-view .calendar-header h1#calendarTitle { font-size: 28px; font-weight: 800; }
:root .fable-page .calendar-view .si-view-lead { font-size: 16px; }
:root .fable-page .calendar-view .calendar-filters button,
:root .fable-page .calendar-view .calendar-month-controls :is(button,select) { min-height: 48px; border-radius: 16px; font-size: 16px; font-weight: 600; }
:root .fable-page .calendar-view .calendar-month-controls { margin-block: 0; }
:root .fable-page .calendar-view .calendar-legend { margin-block: 0; font-size: 14px; }
.calendar-run-key { width: 22px; height: 3px; border-radius: 999px; background: var(--zz-gold-mark); }
:root .fable-page .calendar-view .calendar-sea-state { min-height: 48px; font-size: 14px; }
:root .fable-page .calendar-view .calendar-months { margin-top: 0; }
:root .fable-page .calendar-view .calendar-state { word-break: keep-all; }

/* U4a uses the existing U2c context and v3 tokens above the legacy app cascade. */
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView[data-view-panel="calendar"] { font-size:16px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView[data-view-panel="calendar"] .calendar-header { display:grid; grid-template-columns:1fr; gap:16px; margin:0 0 16px; padding:0; border:0; border-radius:0; background:transparent; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-head { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-width:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-control { position:relative; min-width:0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-control > summary { display:flex; align-items:center; min-height:52px; list-style:none; cursor:pointer; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-control > summary::-webkit-details-marker { display:none; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-name { display:flex; align-items:center; flex-wrap:nowrap; gap:4px; margin:0; font-size:40px; line-height:1.1; font-weight:800; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-name:has([data-long-name]) { font-size:28px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-chevron { flex:none; color:var(--zz-ink-2); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-fallback { position:absolute; z-index:20; top:100%; left:0; width:min(326px,calc(100vw - 32px)); max-height:60dvh; overflow:auto; padding:16px; border:1px solid var(--os-line); border-radius:16px; background:var(--os-panel); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-fallback ul { list-style:none; padding:0; margin:0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-port-fallback a { display:flex; align-items:center; min-height:48px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-date-control { flex:none; margin:0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-date-apply { display:none; min-width:48px; min-height:48px; margin:4px 0 0 auto; background:var(--os-panel); color:var(--os-ink); border:1px solid var(--os-line); border-radius:16px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-date-control:focus-within .rh-date-apply { display:block; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView :is(.calendar-header #calendarTitle) { font-size:28px; font-weight:800; margin:0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .si-view-lead { font-size:16px; margin:8px 0 0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView :is(.calendar-filters,.calendar-month-controls) { gap:8px; margin:0 0 16px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView :is(.calendar-filters button,.calendar-month-controls button,.calendar-month-controls select,.calendar-sea-state button) { min-height:48px; border-radius:16px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-filters button[aria-pressed="true"] { font-weight:800; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-month h2.sr-only { position:absolute !important; width:1px !important; height:1px !important; margin:0 !important; padding:0 !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; font-size:22px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-legend { display:flex; align-items:center; gap:8px; min-height:22px; margin:0 0 16px; font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView :is(.calendar-weekdays,.calendar-grid) { grid-template-columns:repeat(7,minmax(0,1fr)); gap:0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-weekdays { margin:0 0 8px; font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-weekdays span { color:var(--os-muted); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-day { min-height:64px; height:64px; padding:4px 2px 12px; border-radius:16px; font-size:14px; font-weight:600; box-shadow:none; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-day .calendar-date { color:var(--os-ink); font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-date small { color:inherit; font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-mul { font-size:16px; font-weight:800; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-state { font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-day[aria-current="date"] { border-color:var(--zz-eye); box-shadow:inset 0 0 0 1px var(--zz-eye); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-day.is-selected { border-color:var(--zz-eye); box-shadow:inset 0 0 0 1px var(--zz-eye); background:var(--os-panel); color:var(--os-ink); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-day.is-selected .calendar-mul { color:var(--os-ink); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView :is(.calendar-saved-label,.calendar-selected-label) { font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-sea-state { margin:12px 0 0; font-size:14px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .candidate-comparison { border-radius:24px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .candidate-comparison summary { min-height:48px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .candidate-comparison summary::after { font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView #candidateSummaryCount { font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] :is(.site-footer,.reading-next span) { font-size:14px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .reading-next { margin-top:24px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .reading-next h2 { font-size:22px; font-weight:800; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .reading-next a { min-height:64px; border-radius:16px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .reading-next strong { font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .journey-tabs a { border-radius:16px; font-size:14px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .journey-tabs a[aria-current="page"] { font-weight:800; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .skip-link { min-height:48px; border-radius:16px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-date-pill { min-height:48px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-date-pill :is(span,input) { font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .rh-date-pill input { min-height:48px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView #calendarMonthControls > label > span.sr-only { font-size:14px; font-weight:600; }
@media(min-width:960px) { :root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] .journey-tabs { display:none; } }

/* U4a compact month, shared selection facts remain below the grid. */
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView[data-view-panel="calendar"] .calendar-header { gap:0; margin-bottom:8px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-filters { display:grid; grid-template-columns:1fr 1fr; margin-bottom:8px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-month-controls { margin-bottom:8px; grid-template-columns:48px minmax(0,1fr) 48px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-month-controls select { width:100%; text-align:center; border:0; background:transparent; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-legend { margin-bottom:4px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-sea-state { min-height:0; margin:0; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-sea-state p:empty { display:none; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-selected-card { margin-top:12px; padding:16px; border:1px solid var(--os-line); border-radius:24px; background:var(--os-panel); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-selected-facts { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; font-size:16px; font-weight:600; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-selected-facts strong { font-size:18px; font-weight:800; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-selected-grade { display:flex; align-items:center; gap:4px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-selected-grade i { width:8px; height:8px; border-radius:50%; background:var(--zz-gold-mark); }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-primary { display:flex; align-items:center; justify-content:center; min-height:56px; margin-top:12px; border-radius:16px; background:var(--zz-coral); color:var(--zz-on-coral); font-size:18px; font-weight:800; text-decoration:none; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-more { margin-top:16px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-more summary,
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-more button,
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-compare-filters button { min-height:48px; font-size:16px; font-weight:600; border-radius:16px; }
:root body.fable-page[data-site-identity][data-ocean-site][data-calendar-ssr] #calendarView .calendar-more summary { display:flex; align-items:center; }
