/* ---------- Reisen: Weltkarte ---------- */ .city-search { position: relative; max-width: 720px; margin-bottom: 16px; } .city-search input { font: inherit; font-size: 1.05rem; color: var(--bright); background: var(--input-bg); border: 1px solid var(--accent); padding: 12px 16px 12px 38px; width: 100%; } .city-search input:focus { outline: none; box-shadow: var(--glow); } .city-search .combo-list li small { margin-left: 6px; } .city-search .combo-list li.added { opacity: 0.55; cursor: default; } .combo-info { color: var(--muted); cursor: default !important; } .combo-info::before { content: '' !important; } .travel-error { margin-bottom: 12px; } .travel-map { position: relative; padding: 0; overflow: hidden; height: clamp(340px, 68vh, 760px); border-radius: var(--radius-l); } .travel-loading { padding: 20px; } .worldmap, .worldmap svg { width: 100%; height: 100%; display: block; } .worldmap svg { cursor: grab; touch-action: none; --inv: 1; } .worldmap svg:active { cursor: grabbing; } .map-sphere { fill: var(--map-ocean); } .map-graticule { fill: none; stroke: rgb(var(--accent-rgb) / 0.09); vector-effect: non-scaling-stroke; } .map-country { fill: var(--map-land); stroke: rgb(var(--accent-rgb) / 0.45); stroke-width: 0.6; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill 0.15s; } .map-country:hover { fill: var(--map-land-hover); } .map-country.visited { fill: rgb(var(--accent-rgb) / 0.55); stroke: rgb(var(--accent-rgb) / 0.9); } .map-country.visited:hover { fill: rgb(var(--accent-rgb) / 0.7); } .map-country.selected { stroke: var(--bright); stroke-width: 1.6; fill: rgb(var(--accent-rgb) / 0.35); } .map-country.visited.selected { fill: rgb(var(--accent-rgb) / 0.8); } /* Stadt-Punkte: Größe bleibt beim Zoomen gleich (--inv = 1 / Zoomfaktor) */ .map-city { transform: scale(var(--inv)); cursor: pointer; } .map-city-hit { fill: transparent; } .map-city-dot { fill: var(--bright); stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 3px rgb(var(--accent-rgb) / 0.9)); } .map-city:hover .map-city-dot { fill: #fff; } .map-city-ring { fill: none; stroke: var(--bright); stroke-width: 1.5; animation: city-pulse 1.6s ease-out infinite; transform-origin: 0 0; } @keyframes city-pulse { from { opacity: 1; transform: scale(0.6); } to { opacity: 0; transform: scale(1.8); } } .calm .map-city-ring { animation: none; } @media (prefers-reduced-motion: reduce) { .map-city-ring { animation: none; } } .map-controls { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; border: 1px solid var(--accent); background: var(--overlay); border-color: var(--line-strong); border-radius: var(--radius-m); overflow: hidden; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); } .map-controls button { font: inherit; font-size: 1.15rem; width: 38px; height: 38px; border: 0; background: transparent; color: var(--accent); cursor: pointer; } .map-controls button + button { border-top: 1px solid var(--border); } .map-controls button:hover { background: var(--accent); color: var(--accent-ink); } /* Info-Kasten: Desktop unten links über der Karte, Handy unter der Karte */ .info-card { position: absolute; left: 14px; bottom: 14px; width: min(380px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--accent); border-color: var(--line-strong); border-radius: var(--radius-m); box-shadow: var(--shadow-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); } .info-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; } .info-head h2 { margin: 0; font-size: calc(var(--h2-size) * 1.15); } .info-sub { margin: -6px 0 0; color: var(--muted); font-size: 0.82rem; } .info-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; } .info-facts dt { color: var(--muted); text-transform: uppercase; font-size: var(--label-size); letter-spacing: var(--label-tracking); } .info-facts dd { margin: 1px 0 0; color: var(--bright); font-size: 0.88rem; overflow-wrap: anywhere; } .info-extract { margin: 0; color: var(--read); font-size: 0.85rem; line-height: 1.55; text-shadow: none; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; } .info-more { font-size: 0.8rem; align-self: flex-start; } .info-visit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 10px; border-top: 1px dashed var(--border); border-top-style: solid; } .info-cities { display: flex; flex-wrap: wrap; gap: 6px; } .info-card .chip { font-size: 0.78rem; } .info-others { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; } .info-others .hint { margin: 0; font-size: 0.78rem; } /* Städte anderer Konten */ .map-city.other .map-city-dot { fill: var(--dot); stroke: var(--bg); stroke-width: 1.5; filter: drop-shadow(0 0 3px var(--dot)); } .map-city.other:hover .map-city-dot { fill: var(--dot); stroke: var(--bright); } .map-city.other .map-city-ring { stroke: var(--dot); } .travel-others { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -4px 0 14px; } .travel-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); margin-left: 6px; } .legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 4px var(--dot); flex: none; } .legend-dot.own { background: var(--bright); box-shadow: 0 0 0 2px var(--accent); } .travel-person { display: inline-flex; align-items: center; gap: 6px; } .travel-person:not(.active) { opacity: 0.55; } .travel-person:not(.active) .legend-dot { background: transparent; box-shadow: inset 0 0 0 2px var(--dot); } .travel-person small { color: var(--muted); } .badge.travel-owner { color: var(--dot); } /* Besuchte Orte: Kontinente nebeneinander, Länder ausklappbar */ .visited-list { display: grid; gap: 28px 32px; margin-top: 28px; align-items: start; } @media (min-width: 900px) { .visited-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 1400px) { .visited-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } } .travel-empty { margin-top: 24px; } .visited-continent .section-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; white-space: normal; } .continent-toggle { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 2px 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; } .continent-toggle:hover { color: var(--accent); } .continent-arrow { display: inline-block; color: var(--accent); transform: rotate(90deg); transition: transform var(--dur) var(--ease-out); } .continent-toggle[aria-expanded='false'] .continent-arrow { transform: none; } .visited-continent.closed .section-title { margin-bottom: 0; } .visited-count { font-family: var(--font); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--muted); text-shadow: none; } .visited-countries { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); overflow: hidden; } .visited-country + .visited-country { border-top: 1px solid var(--border); } .visited-row { display: flex; align-items: center; gap: 4px; padding: 2px 12px 2px 4px; } .visited-country.active .visited-row { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); } .visited-toggle { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--accent); font: inherit; cursor: pointer; } .visited-toggle span { transition: transform var(--dur) var(--ease-out); } .visited-toggle[aria-expanded='true'] span { transform: rotate(90deg); } .visited-toggle:hover:not(:disabled) { background: var(--accent-soft); } .visited-toggle:disabled { color: var(--muted); cursor: default; } .visited-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 6px; border: 0; background: transparent; color: var(--bright); font: inherit; font-weight: 600; text-align: left; cursor: pointer; overflow-wrap: anywhere; } .visited-name:hover { color: var(--accent); } .visited-flag { font-size: 1.1em; } .visited-meta { flex: none; font-size: 0.75rem; color: var(--muted); } .visited-country .visited-cities { padding: 2px 14px 14px 46px; } .chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } .chip.active { border-style: solid; border-color: var(--accent); color: var(--bright); background: var(--accent-soft); } .travel-credits { margin-top: 28px; font-size: 0.72rem; } @media (max-width: 759px) { .travel-map { height: auto; overflow: visible; } .worldmap { height: clamp(260px, 52vh, 420px); } .info-card { position: relative; left: auto; bottom: auto; width: auto; max-height: none; border-width: 1px 0 0; box-shadow: none; } .info-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* Wunschliste: Ring statt gefülltem Punkt */ .map-city.wish .map-city-dot { fill: var(--bg); stroke: var(--warn); stroke-width: 2.5; stroke-dasharray: 3 2; } .city-search-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 14px; } .city-search-row .city-search { flex: 1 1 320px; margin: 0; } /* Besuche, Zeitleiste, Statistik */ .info-visits { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 8px; border-top: 1px dashed var(--border); } .info-visits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; } .info-visits small { color: var(--muted); } .travel-tabs { display: flex; margin-top: 24px; } .visit-photos { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .visit-photos li { position: relative; } .visit-photos img { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--border); } .visit-photos li > .link-btn { position: absolute; top: 2px; right: 2px; background: var(--overlay); padding: 0 5px; border-radius: var(--radius-s); } .visit-photos.small img { width: 56px; height: 56px; } .visit-photos button { padding: 0; border: 0; background: none; cursor: zoom-in; } .timeline-travel { margin-top: 24px; display: grid; gap: 22px; } .timeline-travel ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; } .timeline-entry { display: grid; grid-template-columns: minmax(9em, 14em) 1fr auto; gap: 4px 16px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--border); } .timeline-date { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; } .timeline-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .timeline-body .hint { margin: 0; } .timeline-city { font: inherit; font-weight: 600; color: var(--bright); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; } .timeline-city small { font-weight: 400; color: var(--muted); } .timeline-city:hover { color: var(--accent); } .timeline-notes { margin: 0; white-space: pre-line; color: var(--read); } @media (max-width: 640px) { .timeline-entry { grid-template-columns: 1fr auto; } .timeline-date { grid-column: 1 / -1; } } .travel-stats { margin-top: 24px; display: grid; gap: 24px; } .stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; } .stat-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); } .stat-tile strong { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; color: var(--bright); } .stat-tile span { color: var(--muted); font-size: 0.82rem; } .stat-continents { display: grid; gap: 10px; max-width: 640px; } .stat-points { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .stat-points small { color: var(--muted); } .travel-wishes { margin-top: 24px; } .link-picker ul.visit-photos { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; max-height: none; } .link-picker ul.visit-photos li { width: auto; padding: 0; border: 0; } .visit-hint { margin: -8px 0 0; }