/* Read-only season explorer and replay. Data remains in the existing hunt store. */
.season-distance-story { padding: 25px 26px 22px; border: 1px solid #344b3a; border-radius: 16px; background: radial-gradient(ellipse at 90% 0,#354d37,transparent 60%),#1a2d22; color: #faf6e9; box-shadow: 0 12px 26px #16271d12; }
.season-distance-story .season-story-heading h3 { color: #fff9ee; font-size: 1.65rem; }
.season-distance-story .kicker { color: #b9c5a6; letter-spacing: .13em; }
.season-distance-story .season-previous-toggle { color: #d1dac6; font-size: .72rem; }
.season-distance-story .season-previous-toggle input { accent-color: #e4ad7f; }
.distance-lead { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 21px; }
.distance-big-number { display: block; font-size: clamp(2.8rem,5vw,3.9rem); letter-spacing: -.06em; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.03; }
.distance-big-number small { font-size: 1.1rem; letter-spacing: -.01em; color: #bdcbb5; }
.distance-lead p { font-size: .75rem; color: #bfcdb7; margin: 9px 0 0; }
.distance-comparison { color: #e9bc94; border: 1px solid #c38c573b; background: #dca47110; font-size: .72rem; border-radius: 7px; padding: 8px 10px; }
.distance-plot { position: relative; margin: 18px -5px 4px; touch-action: pan-y; cursor: crosshair; }
.distance-plot .season-distance-chart { height: auto; margin: 0; }
.distance-plot .season-distance-chart text { fill: #bdcbb8; font-size: 10px; }
.distance-plot .chart-grid { stroke: #c0d0b221; stroke-dasharray: 3 5; }
.distance-plot .current-line { stroke: #e7a36f; stroke-width: 3; }
.distance-plot .previous-line { stroke: #b0c59a; opacity: .7; stroke-width: 1.8; }
.distance-trip-dot { fill: #e7a36f; stroke: #263c2c; stroke-width: 1.5; }
.distance-cursor { pointer-events: none; }
.distance-cursor line { stroke: #fff9e9; opacity: .35; stroke-dasharray: 3 4; }
.distance-cursor circle { fill: #f4cba4; stroke: #243c2c; stroke-width: 3; }
.distance-enter { animation: distance-reveal .9s ease-out both; }
@keyframes distance-reveal { from { clip-path: inset(0 100% 0 0); opacity: .35; } to { clip-path: inset(0); opacity: 1; } }
.season-distance-story .season-chart-key { color: #d9e0cc; font-size: .69rem; gap: 6px 15px; }
.season-distance-story .season-chart-key i { border-color: #e7a36f; }
.season-distance-story .season-chart-key .previous i { border-color: #a6ba92; }
.season-distance-story .season-chart-note { color: #b5c5ae; font-size: .65rem; margin-top: 13px; }
.distance-milestones { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 2px; }
.distance-milestones > span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #c5d1b329; border-radius: 5px; padding: 5px 7px; font-size: .68rem; }
.distance-milestones b { color: #e7ae7b; }.distance-milestones small { color: #bac9af; font-size: .6rem; }
.distance-explore { margin-top: 17px; padding-top: 13px; border-top: 1px solid #ccd9bf26; }
.distance-explore > span { color: #b9c9ac; font-size: .58rem; letter-spacing: .12em; }
.distance-explore > div { display: flex; align-items: center; gap: 10px; }
.distance-explore button { min-width: 40px; height: 40px; border: 0; border-radius: 7px; font-size: 1.5rem; color: #faefd9; background: #ffffff09; }
.distance-explore button:disabled { opacity: .25; }
.distance-day-slider { min-width: 0; flex: 1; width: 100%; accent-color: #e7a36f; cursor: pointer; min-height: 40px; }
.distance-day-detail { background: #0e1d1670; border: 1px solid #c4d1b31a; border-radius: 9px; padding: 13px 14px 11px; margin-top: 6px; }
.distance-day-heading { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; font-size: .72rem; color: #c4d0b9; }
.distance-day-heading strong { color: #f4dfc4; font-weight: 500; }.distance-day-heading small { font-size: .62rem; color: #c4d0b9; }
.distance-day-trips { margin-top: 7px; }.distance-day-trips button { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; padding: 8px 0; min-height: 40px; border: 0; background: transparent; color: #fff7e7; text-align: left; font-size: .81rem; }
.distance-day-trips button > span:first-child { min-width: 0; overflow-wrap: anywhere; }.distance-day-trips button > span:last-child { white-space: nowrap; color: #e3b187; font-size: .72rem; }
.distance-day-trips b { padding-left: 6px; font-weight: 400; }.distance-day-detail > p { color: #9daf95; font-size: .64rem; margin: 4px 0 0; }
.distance-empty { padding: 34px 0; }.distance-empty p { color: #d2ddc9; }.distance-empty > small { color: #bac9af; }
.season-distance-story button:focus-visible, .season-distance-story input:focus-visible { outline: 2px solid #f1c999; outline-offset: 3px; }
.season-story-grid { align-items: start; }.season-latest-trip { min-height: 320px; }

.journey-launch { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; margin-top: 20px; border-radius: 14px; background: #1b3023; color: #f7f3e6; }
.journey-launch > div { display: flex; flex-direction: column; gap: 6px; }.journey-launch .kicker { color: #bbccae; font-size: .59rem; margin: 0; }.journey-launch strong { font-weight: 500; font-size: 1.08rem; }.journey-launch > div > span:last-child { color: #c2cfb8; font-size: .75rem; }
.journey-launch button { border: 1px solid #e2ae7e; border-radius: 9px; padding: 13px 18px; background: #e6ac7b; color: #16291d; font-weight: 600; white-space: nowrap; min-height: 46px; font-size: .85rem; }
.journey-dialog { position: fixed; inset: 0; margin: auto; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #f6f3e9; color: #203326; overflow: hidden; }
.journey-dialog[open] { display: flex; flex-direction: column; }
.journey-dialog *, .journey-dialog *::before, .journey-dialog *::after { box-sizing: border-box; }
.journey-dialog button, .journey-dialog select, .journey-dialog summary { font: inherit; cursor: pointer; }
.journey-dialog button:focus-visible, .journey-dialog summary:focus-visible, .journey-dialog input:focus-visible, .journey-dialog select:focus-visible { outline: 3px solid #b87945; outline-offset: 3px; }
.journey-dialog button:disabled { opacity: .35; cursor: default; }
.journey-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 14px; min-height: 83px; padding: 13px 24px; background: #1b3023; color: #fbf5e8; }
.journey-header > div:first-child { min-width: 0; }.journey-header p { font-size: .55rem; letter-spacing: .16em; color: #b9cba9; margin: 0 0 3px; }.journey-header h2 { font: 500 1.35rem/1.15 Inter,system-ui,sans-serif; margin: 0; color: inherit; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }.journey-header #journeyDate { font-size: .69rem; color: #becbb6; }
.journey-header-actions { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }.journey-close { width: 44px; height: 44px; border: 1px solid #d1ddbc30; background: #ffffff09; border-radius: 50%; color: #fff4e1; font-size: 1.8rem !important; line-height: 1; }
.journey-people { position: relative; }.journey-people summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 14px; background: #ffffff0d; border: 1px solid #d1ddbc30; border-radius: 8px; font-size: .78rem; }.journey-people summary::-webkit-details-marker { display: none; }
.journey-people-panel { position: absolute; z-index: 2000; top: calc(100% + 12px); right: -30px; width: 295px; padding: 20px; border-radius: 12px; background: #f7f4e9; color: #233728; box-shadow: 0 12px 40px #1520194d; border: 1px solid #d7dbc9; }
.journey-people-panel > strong { font-size: .84rem; font-weight: 600; }.journey-people-panel label { display: flex; align-items: center; gap: 12px; min-height: 90px; border-bottom: 1px solid #d6ddcd; font-size: .88rem; cursor: pointer; }.journey-people-panel label:last-child { border: 0; }.journey-people-panel input { width: 21px; height: 21px; margin-left: auto; accent-color: #436041; }
.journey-figure-preview { width: 84px; height: 84px; display: block; background-size: 200% 200%; background-position: 0 0; background-repeat: no-repeat; }
.journey-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 290px; }
.journey-stage { position: relative; min-width: 0; min-height: 0; background: #dde3d4; }.journey-stage #journeyMap { position: absolute; inset: 0; width: 100%; height: 100%; background: #d8dfce; }
.journey-map-toolbar { position: absolute; top: 15px; left: 17px; z-index: 450; display: flex; gap: 6px; }
.journey-map-toolbar button { background: #fffdf2ed; color: #294230; border: 1px solid #b8c7ad; border-radius: 7px; box-shadow: 0 2px 6px #192b1b14; min-height: 40px; padding: 8px 12px; font-size: .75rem; }.journey-map-toolbar button[aria-pressed="true"] { background: #263e2b; color: #fff6e4; border-color: #263e2b; }
.journey-live-stats { position: absolute; top: 67px; left: 17px; z-index: 450; display: flex; flex-wrap: wrap; max-width: calc(100% - 85px); gap: 0; background: #fdfbedee; border: 1px solid #becbb3; border-radius: 7px; box-shadow: 0 3px 7px #20352514; font-size: .75rem; font-variant-numeric: tabular-nums; }
.journey-live-stats span { padding: 8px 12px; border-right: 1px solid #ced8bf; }.journey-live-stats span:last-child { border: 0; }
.journey-map-message { position: absolute; top: 45%; left: 15%; right: 15%; z-index: 450; padding: 20px; border-radius: 10px; background: #fff9ee; color: #714530; }
.journey-stage .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; }.journey-stage .leaflet-bottom .leaflet-control { margin-bottom: 10px; }.journey-stage .leaflet-control-attribution { font-size: 9px; }
.journey-event-rail { min-height: 0; display: flex; flex-direction: column; background: #f6f3e9; border-left: 1px solid #d4d9c9; }.journey-rail-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 16px; font-size: .62rem; letter-spacing: .12em; color: #65735d; }.journey-rail-heading b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e1e7d7; font-size: .72rem; }
#journeyEventList { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 20px; }.journey-event-row { width: 100%; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #283b2b; padding: 12px 9px; display: flex; align-items: center; gap: 10px; text-align: left; }.journey-event-row:hover { background: #e9ecdf; }.journey-event-row.active { background: #e9e5d5; border-color: #c0a681; }.journey-event-row > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }.journey-event-row small { color: #7a826d; font-size: .65rem; }.journey-event-row strong { font-weight: 500; font-size: .78rem; line-height: 1.45; }.journey-event-row em { font-size: .62rem; color: #7b735f; font-style: normal; }
.journey-no-events { padding: 20px; font-size: .85rem; color: #717d65; line-height: 1.7; }
.journey-event-icon { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--event-color,#748b55); border: 2px solid #fffaf0; color: white; box-shadow: 0 1px 5px #16281a26; }
.journey-event-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.journey-pin { background: none; border: 0; }.journey-pin > .journey-event-icon { width: 38px; height: 38px; }
.journey-moment { position: absolute; z-index: 500; left: 18px; bottom: 31px; max-width: min(480px,calc(100% - 80px)); max-height: min(38%,230px); overflow-y: auto; overscroll-behavior: contain; background: #fffdf4f5; border: 1px solid #dedcc6; border-radius: 13px; box-shadow: 0 8px 32px #19322321; color: #293e2b; backdrop-filter: blur(8px); }
.journey-moment:empty { display: none; }.journey-moment-item { display: flex; gap: 12px; align-items: center; padding: 15px; border-bottom: 1px solid #e4e2d5; }.journey-moment-item:last-child { border: 0; }.journey-moment-item > div { flex: 1; min-width: 0; }.journey-moment-item small { display: block; font-size: .63rem; color: #7a7e68; margin-bottom: 4px; }.journey-moment-item strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }.journey-moment-item p { font-size: .72rem; line-height: 1.5; color: #6b745e; margin: 5px 0 0; overflow-wrap: anywhere; }.journey-moment-photo { flex-shrink: 0; padding: 0; width: 64px; height: 64px; border: 0; border-radius: 8px; overflow: hidden; }.journey-moment-photo img { width: 100%; height: 100%; object-fit: cover; }
.journey-photo-links button { margin: 5px 8px 0 0; padding: 6px 0; border: 0; color: #7d512d; background: none; font-size: .7rem; }
.journey-intro { display: flex; gap: 5px; align-items: center; padding: 8px 18px 8px 4px; }.journey-intro-dog { display: block; width: 93px; height: 86px; background-size: 200% 200%; background-position: 100% 100%; flex-shrink: 0; }.journey-intro small { color: #8a805f; font-size: .56rem; letter-spacing: .1em; }.journey-intro strong { display: block; font-size: .94rem; font-weight: 600; margin-top: 5px; }.journey-intro p { font-size: .7rem; color: #748168; margin: 5px 0 0; }.journey-travel-note { padding: 12px 16px; font-size: .72rem; color: #66775d; }
.journey-actor-marker { background: none; border: 0; pointer-events: none !important; }.journey-actor { display: flex; align-items: center; flex-direction: column; width: 88px; position: relative; }.journey-avatar { display: block; width: 88px; height: 88px; background-size: 200% 200%; background-repeat: no-repeat; filter: drop-shadow(0 2px 1px #15201844); }.journey-name { display: block; font-size: 10px; font-weight: 600; color: #234126; background: #fff9eeed; padding: 1px 6px; border-radius: 4px; line-height: 16px; margin-top: -6px; box-shadow: 0 1px 4px #172c202b; }
.avatar-sondre { background-image: none; }.avatar-kristine { background-image: none; }.avatar-lefty { background-image: none; }
.journey-bird-art { display: block; width: 74px; height: 74px; flex-shrink: 0; background-size: 200% 200%; background-repeat: no-repeat; animation: journey-bird-frames 2.4s step-end infinite; }
.journey-bird-art.on-map { width: 78px; height: 78px; filter: drop-shadow(0 2px 2px #20302144); }.journey-bird-marker { background: none; border: 0; pointer-events: none !important; }
.bird-lirype { background-image: url('./assets/journey-lirype-v47.webp'); }.bird-orrfugl { background-image: url('./assets/journey-orrfugl-v47.webp'); }.bird-tiur { background-image: url('./assets/journey-tiur-v47.webp'); }.bird-rugde { background-image: url('./assets/journey-rugde-v47.webp'); }
.journey-bird-art.bird-fjellrype { background-image:url('./assets/journey-fjellrype-v82.webp'); }
.journey-bird-art.bird-orrhone { background-image:url('./assets/journey-orrhone-v82.webp'); }
@keyframes journey-bird-frames { 0%,100% { background-position: 0 0; } 20% { background-position: 100% 0; } 38%,72% { background-position: 0 100%; } 52%,64% { background-position: 100% 100%; } 85% { background-position: 100% 0; } }
.journey-event-pulse { animation: journey-pulse 1.3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }@keyframes journey-pulse { 50% { opacity: .45; } }
.journey-controls { flex-shrink: 0; background: #f8f5eb; padding: 14px 24px max(13px,env(safe-area-inset-bottom)); border-top: 1px solid #d4d7c7; z-index: 600; }
.journey-scrubber { position: relative; margin: 0 7px; }.journey-scrubber > input { display: block; width: 100%; height: 26px; margin: 0; padding: 0; appearance: none; background: transparent; accent-color: #a96636; cursor: pointer; }
.journey-scrubber > input::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(90deg,#b87744 var(--journey-progress,0%),#d8dfcc var(--journey-progress,0%)); }.journey-scrubber > input::-moz-range-track { height: 5px; border-radius: 3px; background: #d8dfcc; }.journey-scrubber > input::-moz-range-progress { background: #b87744; height: 5px; }.journey-scrubber > input::-webkit-slider-thumb { appearance: none; margin-top: -6px; width: 17px; height: 17px; border-radius: 50%; background: #293f2b; border: 3px solid #fff8e8; box-shadow: 0 0 0 1px #7b8d68; }.journey-scrubber > input::-moz-range-thumb { width: 13px; height: 13px; background: #293f2b; border-radius: 50%; border: 3px solid #fff8e8; }
.journey-event-ticks { position: absolute; inset: 0 7px; pointer-events: none; }.journey-event-ticks span { position: absolute; top: -3px; width: 4px; height: 5px; border-radius: 2px; background: #b18656; transform: translateX(-50%); }
.journey-control-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 25px; margin-top: 4px; }.journey-transport { display: flex; gap: 5px; align-items: center; }.journey-transport button { width: 42px; min-height: 44px; border: 0; border-radius: 8px; background: #e8ecde; color: #3f5538; font-size: 1.6rem; line-height: 1; }.journey-transport .journey-play { display: flex; align-items: center; justify-content: center; gap: 7px; width: 122px; background: #253e2b; color: #fff5e5; font-size: .82rem; font-weight: 500; }.journey-play svg { width: 21px; height: 21px; stroke: currentColor; fill: none; }
.journey-speed { display: flex; align-items: center; gap: 8px; color: #6d795f; font-size: .7rem; }.journey-speed select { min-height: 44px; padding: 7px 24px 7px 10px; border-radius: 7px; border: 1px solid #d1d9c3; background: #f3f4e8; font-size: .76rem; color: #314a2e; }
.journey-highlight-setting { display: flex; align-items: center; gap: 7px; min-height: 44px; color: #65775a; font-size: .73rem; }.journey-highlight-setting input { accent-color: #4c663f; width: 16px; height: 16px; }.journey-control-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; font-size: .65rem; color: #7c846b; font-variant-numeric: tabular-nums; }.journey-control-meta #journeyStatus { color: #526744; }.journey-events-toggle { display: none; }
.journey-dialog [hidden] { display: none !important; }
@media(max-width:800px) {
  .journey-header { min-height: 76px; padding: 10px 13px; }.journey-header h2 { font-size: 1.08rem; }.journey-header-actions { gap: 7px; }.journey-people summary { padding: 0 10px; font-size: .72rem; }.journey-people-panel { right: -45px; max-width: calc(100vw - 24px); }
  .journey-layout { display: block; position: relative; }.journey-stage { height: 100%; }.journey-event-rail { display: none; position: absolute; inset: 0 0 0 auto; width: min(320px,85%); z-index: 550; box-shadow: -6px 0 30px #2539212b; }.show-events .journey-event-rail { display: flex; }
  .journey-map-toolbar { top: 12px; left: 11px; }.journey-map-toolbar button { min-height: 40px; padding: 7px 10px; font-size: .69rem; }.journey-live-stats { top: 62px; left: 11px; max-width: calc(100% - 65px); font-size: .69rem; }.journey-live-stats span { padding: 7px 9px; }
  .journey-moment { left: 10px; bottom: 29px; max-width: calc(100% - 64px); max-height: 37%; border-radius: 10px; }.journey-moment-item { padding: 10px; gap: 8px; }.journey-moment-item strong { font-size: .81rem; }.journey-moment-item small { font-size: .57rem; }.journey-moment-item p { font-size: .65rem; }.journey-moment-item > .journey-event-icon { display: none; }.journey-moment-photo { width: 50px; height: 50px; }.journey-intro { padding: 8px 10px 8px 0; }.journey-intro-dog { width: 72px; height: 72px; }.journey-intro strong { font-size: .81rem; }.journey-intro p { font-size: .64rem; }
  .journey-controls { padding: 9px 12px max(10px,env(safe-area-inset-bottom)); }.journey-control-row { gap: 5px 10px; justify-content: space-between; }.journey-transport { gap: 3px; }.journey-transport button { width: 32px; }.journey-transport .journey-play { width: 102px; }.journey-speed { font-size: 0; gap: 0; }.journey-speed select { font-size: .7rem; padding-right: 16px; }.journey-events-toggle { display: block; min-height: 38px; font-size: .68rem !important; border: 1px solid #c9d4ba; border-radius: 6px; background: #f0f2e6; color: #45603b; padding: 6px 9px; }.journey-highlight-setting { min-height: 32px; font-size: .67rem; }.journey-control-meta { font-size: .59rem; margin-top: 4px; }.journey-control-meta #journeyStatus { max-width: 58%; }
}
@media(max-width:600px) {
  .season-distance-story { padding: 20px 17px; }.season-distance-story .season-story-heading { gap: 8px; }.season-distance-story .season-story-heading h3 { font-size: 1.4rem; }.season-distance-story .season-story-heading .kicker { font-size: .55rem; }.season-distance-story .season-previous-toggle { font-size: .66rem; gap: 4px; }.distance-lead { margin-top: 20px; }.distance-big-number { font-size: 3.25rem; }.distance-comparison { font-size: .67rem; padding: 7px 9px; }.distance-milestones small { display: none; }
  .journey-launch { flex-direction: column; align-items: stretch; padding: 20px; }.journey-launch button { width: 100%; }
}
@media(max-height:520px) and (orientation:landscape) { .journey-header { min-height: 54px; padding: 6px 16px; }.journey-header p,.journey-header #journeyDate { display: none; }.journey-controls { padding: 3px 15px; }.journey-control-row { margin-top: 0; }.journey-control-meta { margin-top: 0; }.journey-highlight-setting { display: none; }.journey-moment { max-height: 45%; }.journey-intro-dog { display: none; }.journey-live-stats { top: 58px; } }
@media(max-width:600px) { .journey-moment-item > .journey-bird-art { width: 54px; height: 54px; margin: -2px -4px; } }
@media(prefers-reduced-motion:reduce) { .distance-enter,.journey-event-pulse,.journey-bird-art { animation: none; } }

/* The two new bird sprites use the established four-frame replay animation. */
.journey-bird-art.bird-roy{background-image:url("/assets/journey-roy-v1.svg")}
.journey-bird-art.bird-jerpe{background-image:url("/assets/journey-jerpe-v1.svg")}
