* { box-sizing: border-box; }
:root { color-scheme: light; font: 17px/1.55 system-ui, sans-serif; color: #173229; background: #f5f3eb; }
body { margin: 0; }
[hidden] { display: none !important; }
.bar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .8rem max(1rem, calc((100% - 68rem)/2)); background: #173c32; color: #fff; font-weight: 700; }
.bar small { font-size: inherit; font-weight: 400; }
.bar button { background: #f5f3eb; color: #173c32; }
.wrap { width: min(68rem, calc(100% - 2rem)); margin: 2rem auto 4rem; }
.narrow { max-width: 32rem; }
.hero { text-align: center; display: grid; justify-items: center; align-content: center; min-height: 72vh; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.hero p { margin: .6rem 0 1.3rem; }
.hero .eyebrow { font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1, h2 { line-height: 1.12; margin: 0 0 .7em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.035em; }
h2 { font-size: 1.35rem; }
.actions { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; align-items: center; }
button { font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: .55rem; padding: .65rem 1rem; background: #175844; color: white; min-height: 44px; }
.hero button { min-width: 8rem; padding: .9rem 1.3rem; }
#start .actions { justify-content: center; }
#start button[data-lang] {
  display: grid;
  justify-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  color: #fff;
  background: #132d2559;
  text-shadow: 0 1px 3px #071915;
}
.guest-languages { display: flex; flex-wrap: wrap; gap: .35rem; }
.guest-languages .guest-language-button { display: inline-flex; gap: .4rem; align-items: center; }
#start .guest-language-button { display: grid; }
.guest-flag { position: relative; display: block; width: 1.4rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: none; }
#start .guest-flag { width: 69px; }
.flag-de { background: linear-gradient(#111 33.33%,#da182b 0 66.66%,#ffce00 0); }
.flag-en::before { content: ""; position: absolute; inset: 0; background: url("/static/language-flags.png") no-repeat 64.5669% 32.0755% / 836.232% 253.623%; }
.flag-es { background: linear-gradient(#aa151b 25%,#f1bf00 0 75%,#aa151b 0); }
.flag-cs { background: linear-gradient(white 50%,#d7141a 0); }
.flag-cs::before { content: ""; position: absolute; inset: 0; background: #11457e; clip-path: polygon(0 0,65% 50%,0 100%); }
.flag-nl { background: linear-gradient(#ae1c28 33.33%,white 0 66.66%,#21468b 0); }
.flag-ro { background: linear-gradient(90deg,#002b7f 33.33%,#fcd116 0 66.66%,#ce1126 0); }
.flag-fr { background: linear-gradient(90deg,#0055a4 33.33%,white 0 66.66%,#ef4135 0); }
#mobile-language button { padding: .3rem .5rem; }
#mobile-language button[aria-pressed="true"] { background: #d2e6db; box-shadow: inset 0 0 0 2px #659680; }
@media (max-width: 620px) {
  #mobile-language .guest-language-button > span:last-child { display: none; }
}

.secondary { background: #dae8df; color: #173c32; }
button:hover { filter: brightness(1.15); }
:focus-visible { outline: 3px solid #bb6417; outline-offset: 4px; }
a { color: #14533f; font-weight: 650; }
.qr { margin: 2.5rem 0 0; }
.qr img { display: block; margin: 0 auto .4rem; background: white; }
.intro button { margin-bottom: 1.5rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; margin-bottom: 1.3rem; }
.guest-tile { min-height: 6rem; padding: .85rem; text-align: left; font-size: 1.14rem; background: #e0ebe4; color: #173c32; border: 1px solid #b9cebf; }
.guest-tile[data-section="weather"], .guest-tile[data-section="transit"], .guest-tile[data-section="bathing"] { background: #dceaf0; border-color: #b2cbd6; }
.guest-tile[data-section="fire"] { background: #f6e5d5; border-color: #e2c8ad; }
#tiles > .guest-tile { text-shadow: 0 1px 3px #071915cc; box-shadow: 0 2px 4px #10292316, 0 6px 14px #10292312; }
.guest-tile:hover { filter: brightness(.96); }
#information[data-overview="true"] .intro, .hero {
  background: linear-gradient(90deg, #142d25d9, #142d2570), var(--guest-background, var(--default-guest-background, url("/static/tiles/hero.jpg"))) center 52% / cover;
  color: white;
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 4vw, 3rem);
}
#information[data-overview="true"] .intro h1 { margin-bottom: 0; text-align: center; }
.hero .qr { background: #f5f3eb; color: #173c32; padding: .6rem; border-radius: .6rem; }
.guest-tile[data-section] {
  min-height: clamp(7rem, 12vw, 10rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, #102923ed 0%, #102923b8 24%, #10292340 48%, #10292300 72%), var(--tile-photo, url("/static/tiles/coast.jpg")) center / cover;
  color: #fff;
  border: 0;
}
.guest-tile[data-section="weather"] { --tile-photo: url("/static/tiles/weather-federwolken.jpg"); }
.guest-tile[data-section="fire"] { --tile-photo: url("/static/tiles/forest.jpg"); }
.guest-tile[data-section="camp"], .guest-tile[data-section="transit"] { --tile-photo: url("/static/tiles/camp.jpg"); }
.guest-tile[data-section="rentals"] {
  --tile-photo: url("/static/tiles/rentals-finnhuette.jpg");
  background-position: center, 56% 54%;
}
.guest-tile[data-section="food"] { --tile-photo: url("/static/tiles/food.png"); }
.guest-tile[data-section="reception"], .guest-tile[data-section="shop"] { --tile-photo: url("/static/tiles/shop.jpg"); }
.guest-tile[data-section="bike"] { --tile-photo: url("/static/tiles/forest.jpg"); }
.guest-tile[data-section="bathing"] { --tile-photo: url("/static/tiles/bathing.png"); }
.tile-value { font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.2; }
.tile-detail { font-size: .8rem; font-weight: 600; }
.tile-weather-symbol { font-size: 1.6rem; line-height: 1.2; }
.weather-days { list-style: none; padding: 0; }
.weather-days li { padding: .4rem 0; }
.weather-days span { display: block; }
.weather-report { width: min(100%, 52rem); justify-self: center; }
.forecast-tabs { display: grid; grid-template-columns: repeat(5, minmax(7rem, 1fr)); gap: .4rem; overflow-x: auto; padding: .2rem; margin-bottom: 1rem; }
.forecast-tab { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .35rem; align-items: center; color: #173c32; background: #eaf2f1; padding: .55rem; text-align: left; }
.forecast-tab > strong, .forecast-tab > small { grid-column: 1 / -1; }
.forecast-tab[aria-pressed="true"] { background: #175844; color: white; }
.forecast-periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.forecast-period { background: #f4f7f5; border-radius: .65rem; padding: .65rem; min-width: 0; }
.forecast-period h3 { margin: 0; }
.forecast-period > [role="img"], .forecast-period-temperature { display: block; margin-top: .4rem; }
.forecast-period-temperature { font-size: 1.3rem; }
.forecast-period-values { display: grid; gap: .15rem; margin-top: .35rem; font-size: .83rem; }
.forecast-hour-table { padding: 0; list-style: none; }
.forecast-hour { display: grid; grid-template-columns: minmax(6rem, 1.3fr) 3rem repeat(3, minmax(3rem,.7fr)) minmax(7rem, 1.4fr); gap: .4rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid #d7ded6; font-size: .9rem; }
.forecast-sun-marker { background: #fff3d3; padding: .35rem .6rem; color: #563d15; font-size: .9rem; }
@media (max-width: 650px) {
  .forecast-periods { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .forecast-hour { grid-template-columns: 1fr 1fr 1fr; }
}
.weather-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.weather-summary > div { background: #eaf2f1; border-radius: .7rem; padding: 1rem; }
.weather-reading { display: flex; gap: .7rem; align-items: center; font-size: clamp(1.9rem, 4.8vw, 3rem); line-height: 1.15; }
.weather-daylight > strong { display: block; margin-bottom: .4rem; font-size: 1.35rem; }
.weather-days li { display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1.25fr); align-items: center; gap: .5rem; border-bottom: 1px solid #d7ded6; }
.weather-days .weather-report-icon { grid-column: 2; }
.weather-day-detail { grid-column: 3; text-align: right; }
.weather-day-detail small { display: block; color: #405c50; }
.forecast-next { margin-top: 1.2rem; }
.fire-levels { list-style: none; padding: 0; }
.fire-levels li { padding: .55rem; border-bottom: 1px solid #d7ded6; }
.fire-levels .current-level { background: #f6e5d5; border-radius: .35rem; }
.departures.weather-hours li { grid-template-columns: 4.8rem 4rem 4rem minmax(0, 1fr); align-items: center; }
.hourly-gust { display: inline; color: #405c50; }
.hourly-gust::before { content: " · "; }
@media (max-width: 520px) {
  .departures.weather-hours li { grid-template-columns: 1fr 1.2fr 1fr; }
  .weather-hours li > :last-child { grid-column: 1 / -1; }
}
.swimming-flags dt { display: flex; gap: .55rem; align-items: center; font-weight: 700; }
.swimming-flags dd { margin: .15rem 0 .75rem 2.55rem; }
.flag-swatch { display: inline-block; width: 2rem; height: 1.2rem; flex: 0 0 auto; border: 1px solid #4c6258; border-radius: .1rem; }
.flag-red-yellow { background: linear-gradient(#cb2529 50%, #ffda42 50%); }
.flag-yellow { background: #ffda42; }
.flag-red { background: #cb2529; }
.flag-quarters { background: conic-gradient(#fff 25%, #202523 25% 50%, #fff 50% 75%, #202523 75%); }
.flag-orange { background: #e2782e; }
.cards, .admin-grid { display: grid; gap: 1rem; align-items: start; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); }
.admin-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); margin-top: 1.2rem; }
.panel { background: #fff; border: 1px solid #d7ded6; border-radius: .8rem; padding: clamp(1rem, 3vw, 1.8rem); min-width: 0; }
.panel p { margin: 0; }
.cards p { white-space: pre-wrap; overflow-wrap: anywhere; }
.live-data { margin-top: 1rem; }
.live-data:empty { display: none; }
.feed-settings-heading { margin-top: 1.5rem; }
.timetable-button { margin-top: .8rem; }
.timetable { width: min(68rem, 96vw); max-height: 95dvh; padding: 1rem; border: 1px solid #789087; border-radius: .8rem; color: inherit; }
.timetable[open] { display: flex; flex-direction: column; height: 95dvh; }
.timetable[open] > :not(.timetable-image) { flex: none; }
.timetable::backdrop { background: #102c24ba; }
.timetable-toolbar, .timetable-options, .timetable-zoom { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .65rem; }
.timetable-toolbar { justify-content: space-between; }
.timetable-toolbar h2 { margin: 0; }
.timetable-options [aria-pressed="true"] { background: #175844; color: white; }
.timetable p { margin: .3rem 0; }
.timetable .timetable-hint { margin-bottom: .55rem; font-size: .82rem; }
.timetable-image {
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 3rem; overflow: auto;
  scrollbar-gutter: stable; overscroll-behavior: contain;
}
.timetable-image img { display: block; width: 100%; max-width: none; margin: 0 auto; touch-action: none; user-select: none; cursor: grab; }
.timetable-image.is-panning, .timetable-image.is-panning img { cursor: grabbing; }
.data-source { display: block; margin-top: .8rem; color: #405c50; }
.departures { padding: 0; margin: 0; list-style: none; }
.departures li { display: grid; grid-template-columns: 6rem 4rem 1fr; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid #d7ded6; }
.departure-status, .predicted-time { display: block; font-size: .82rem; color: #405c50; }
.predicted-time { font-weight: 700; }
.cancelled .departure-status { color: #8f2625; font-weight: 700; }
form label { display: block; margin-bottom: .85rem; font-weight: 600; }
input:not([type="checkbox"]), textarea, select { display: block; width: 100%; margin-top: .3rem; padding: .55rem; font: inherit; border: 1px solid #789087; border-radius: .35rem; }
textarea { resize: vertical; }
.editor small { display: block; margin: -.3rem 0 .85rem; }
fieldset { border: 1px solid #789087; border-radius: .35rem; margin: 0 0 .9rem; }
fieldset label { display: inline-block; margin: 0 1rem .2rem 0; }
.post-list { padding-left: 1.1rem; margin-bottom: 2rem; }
.post-list li { margin-bottom: .55rem; }
.post-list small { display: block; }
.success, .error { padding: .65rem 1rem; border-radius: .35rem; }
.success { background: #dae8df; }
.error { background: #ffe8df; }
@media (max-width: 690px) { .admin-grid { grid-template-columns: 1fr; } .bar small { display: none; } }

.provider-weather-icon { width: 2.4rem; height: 2.4rem; object-fit: contain; vertical-align: middle; }

.guest-tile:has(.guest-tile-image) { position: relative; overflow: hidden; isolation: isolate; }
.guest-tile-image, .guest-tile:has(.guest-tile-image)::before { position: absolute; inset: 0; }
.guest-tile-image { width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.guest-tile:has(.guest-tile-image)::before {
  content: ""; background: linear-gradient(0deg, #102923ed 0%, #102923b8 24%, #10292340 48%, #10292300 72%); z-index: -1;
}
#kachelbilder { margin-top: 1.5rem; }
.tile-image-settings { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.tile-image-settings input[type="file"] { max-width: 100%; }
.tile-image-preview[data-section] { padding: 0; min-height: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: .5rem; }
.tile-image-preview img { width: 100%; height: 100%; object-fit: cover; }

#kachelreihenfolge { margin-top: 1.5rem; }
.tile-order { max-width: 34rem; margin: 0; padding-left: 1.7rem; }
.tile-order li { padding: .35rem 0; scroll-margin-top: 1rem; }
.tile-order .tile-order-label { display: inline-block; min-width: min(11rem, 50%); }
.tile-order .actions { display: inline-flex; margin: 0; }
.tile-order button { min-width: 2.75rem; padding: .4rem .65rem; }
.tile-order button:disabled { opacity: .4; cursor: default; }

.tile-drag-handle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  min-height: 2.75rem;
  touch-action: none;
  user-select: none;
  cursor: grab;
  color: #426558;
  font-size: 1.3rem;
}
.tile-order .tile-dragging { background: #e0ebe4; outline: 2px solid #759789; border-radius: .35rem; }
.tile-dragging .tile-drag-handle { cursor: grabbing; }

#tiles > .guest-tile[data-section="weather"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: end;
  align-items: end;
  gap: .5rem;
}
.tile-weather-reading, .tile-weather-daylight { display: flex; flex-direction: column; }
.tile-weather-daylight { gap: .4rem; text-align: right; }
.tile-weather-daylight:empty { display: none; }
.tile-weather-daylight > span {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: .25rem;
  font-size: .72rem;
  line-height: 1.2;
}
.tile-weather-daylight strong { grid-column: 2; font-size: .9rem; font-variant-numeric: tabular-nums; }

.tile-daylight-label { grid-column: 1 / -1; }
.tile-sun-icon {
  position: relative;
  align-self: center;
  justify-self: end;
  width: .95rem;
  height: .72rem;
  color: #ffe29a;
}
.tile-sun-icon::before, .tile-sun-icon::after { content: ""; position: absolute; }
.tile-sun-icon::before {
  inset: .04rem .2rem .21rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
}
.tile-sun-icon::after {
  inset: auto 0 .12rem;
  border-top: 1.5px solid currentColor;
}
.tile-sun-icon[data-sun="set"] { color: #ffc59b; }
.tile-sun-icon[data-sun="set"]::before { top: .26rem; background: currentColor; }

.weather-sun-time { display: inline-flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.weather-sun-time .tile-sun-icon { color: #865307; }
.weather-sun-time .tile-sun-icon[data-sun="set"] { color: #9b441a; }
#heading:focus { outline: none; }

#guest:has(#start:not([hidden])) > .bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  background: #132d2570;
}
#guest:has(#start:not([hidden])) > .wrap { width: 100%; margin: 0; }
#start {
  background-image: linear-gradient(90deg, #142d259e, #142d2545), var(--guest-background, var(--default-guest-background, url("/static/tiles/hero.jpg")));
  text-shadow: 0 1px 4px #0b211a;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: max(4.5rem, 8vh);
  margin: 0;
  border-radius: 0;
}

#guest[data-channel="terminal"]:has(#information[data-overview="true"]:not([hidden])) {
  min-height: 100vh;
  min-height: 100svh;
  display: flow-root;
  background:
    linear-gradient(to bottom, #f5f3eb00 42%, #f5f3eb 75%) fixed,
    linear-gradient(90deg, #142d259e, #142d2545) fixed,
    var(--guest-background, var(--default-guest-background, url("/static/tiles/hero.jpg"))) center 52% / cover fixed;
}
#guest[data-channel="terminal"] #information[data-overview="true"] .intro {
  background: none;
  padding-inline: 0;
  text-shadow: 0 1px 4px #0b211a;
}
#guest[data-channel="terminal"] #information[data-overview="true"] #status { color: white; }

#start .qr { text-shadow: none; }

.timetable[open].timetable-fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: .5rem max(.5rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left));
  padding-top: max(.5rem, env(safe-area-inset-top));
  border: 0;
  border-radius: 0;
}
.timetable-fullscreen .timetable-toolbar,
.timetable-fullscreen .timetable-options,
.timetable-fullscreen .timetable-zoom { margin-bottom: .35rem; }

.guest-logo {
  display: block;
  width: min(100%, 23rem);
  height: auto;
  filter: drop-shadow(0 2px 5px #0b211a80);
}
#start .guest-logo { width: min(100%, 31rem); margin-bottom: .5rem; }
#information .guest-logo { display: none; }
#information[data-overview="true"] .guest-logo { display: block; margin: 0 auto .5rem; }

.rental-price-panel { grid-column: 1 / -1; min-width: 0; }
.rental-price-scroll { overflow-x: auto; }
.rental-price-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.rental-price-table caption { margin-bottom: .6rem; text-align: left; font-size: 1.35rem; font-weight: 700; }
.rental-price-table th, .rental-price-table td { padding: .55rem .65rem; border-bottom: 1px solid #d7ded6; }
.rental-price-table thead th { background: #dcebe1; vertical-align: bottom; }
.rental-price-table th:first-child {
  position: sticky; left: 0; text-align: left; background: #f1f5f1;
}
.rental-price-table thead th:first-child { background: #dcebe1; }
.rental-price-table th:not(:first-child), .rental-price-table td { text-align: right; }
.rental-price-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .rental-price-table { min-width: 24rem; font-size: .76rem; }
  .rental-price-table th, .rental-price-table td { padding: .45rem .35rem; }
}

.post-disclosure { grid-column: 1 / -1; min-width: 0; }
.post-disclosure summary {
  width: fit-content;
  padding: .65rem 1rem;
  border-radius: .55rem;
  background: #175844;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.post-disclosure[open] > .panel { margin-top: .75rem; }
.rental-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .5rem; display: block; margin-bottom: .9rem; }

.reception-booking {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem 1rem;
  border-radius: .55rem;
  background: #175844;
  color: white;
  text-decoration: none;
}
.reception-booking:hover { background: #1d6550; }

.bike-guide { margin-top: 1.2rem; }
.bike-guide ol { padding-inline-start: 1.5rem; }
.bike-guide li + li { margin-top: .45rem; }
.bike-guide .post-disclosure { margin-block: .85rem; }
.bike-station-map { display: block; width: 100%; height: clamp(18rem, 54dvh, 38rem); margin-top: .75rem; border: 1px solid #b9cebf; border-radius: .5rem; }

.bike-map-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #17634f;
  border: 2px solid white;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 1px 4px #0007;
}

.bike-map-popup strong { display: block; margin-bottom: .45rem; }
.bike-map-popup .reception-booking { color: white; }

.bike-map-pin-provider::before { background: #a13e26; }
.bike-map-legend { display: flex; gap: .45rem 1rem; flex-wrap: wrap; margin-top: .65rem; font-size: .85rem; }
.bike-map-legend > span::before {
  content: ""; display: inline-block; width: .65rem; height: .65rem; margin-right: .35rem;
  border-radius: 50%; background: #17634f;
}
.bike-map-legend > [data-pin-color="provider"]::before { background: #a13e26; }
.bike-map-address { display: block; margin-bottom: .45rem; }

.bike-map-pin-campsite::before, .bike-map-legend > [data-pin-color="campsite"]::before {
  background: #245db3;
}

.excursion-directory { grid-column: 1 / -1; min-width: 0; }
.excursion-directory label { max-width: 28rem; }
.excursion-window { box-sizing: border-box; width: min(76rem, 96vw); max-height: 94dvh; padding: 0; border: 1px solid #789087; border-radius: .8rem; color: inherit; }
.excursion-window::backdrop { background: #102c24ba; }
.excursion-directory { padding: 0 1rem 1rem; }
.excursion-toolbar { position: sticky; top: 0; z-index: 1; display: flex; gap: .7rem; justify-content: space-between; align-items: center; padding-block: .75rem; background: white; }
.excursion-toolbar h2 { margin: 0; }
.excursion-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .8rem; list-style: none; padding: 0; margin: .5rem 0 0; align-items: start; }
.excursion-list > li { min-width: 0; padding: .7rem; border: 1px solid #d7ded6; border-radius: .55rem; overflow-wrap: anywhere; }
.excursion-place { display: block; }
.excursion-list > li > a { display: block; width: fit-content; padding-block: .25rem; }
.excursion-qr summary { width: fit-content; cursor: pointer; }
.excursion-qr img { display: block; width: 9rem; height: 9rem; margin-top: .4rem; background: white; }

.excursion-photo { margin: 0 0 .5rem; }
.excursion-photo img { display: block; width: min(100%, 23rem); aspect-ratio: 16 / 9; object-fit: cover; border-radius: .45rem; }
.excursion-photo figcaption { font-size: .75rem; color: #496058; }
.excursion-facts { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; margin-block: .35rem; }
.excursion-hours { padding-inline-start: 1.2rem; margin: 0; }

.excursion-website { padding: 0 .85rem .85rem; }
.excursion-website iframe { display: block; width: 100%; height: min(70dvh, 56rem); border: 1px solid #d7ded6; background: white; }
.excursion-website-fallback { display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: baseline; padding-bottom: .6rem; }

.image-drop { border: 1px dashed #789087; border-radius: .55rem; padding: .7rem; }
.image-drop.is-dragging { background: #e2efe7; outline: 2px solid #155642; }
.image-drop p { margin: .25rem 0 0; }
.image-drop [role="status"]:empty { margin: 0; }

@font-face {
  font-family: "Caveat";
  src: url("/static/fonts/caveat.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

#start .welcome-heading,
#information[data-overview="true"] #heading {
  max-width: 24ch;
  margin-inline: auto;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-wrap: balance;
}

#guest[data-channel="terminal"] #start .welcome-heading,
#guest[data-channel="terminal"] #information[data-overview="true"] #heading {
  max-width: none;
  font-size: min(4.8vw, 5rem);
  white-space: nowrap;
}

.excursion-keyboard { display: grid; gap: .3rem; max-width: 42rem; margin: .65rem 0; }
.excursion-keyboard[hidden] { display: none; }
.excursion-keyboard-row { display: flex; gap: .25rem; }
.excursion-keyboard-row button { flex: 1 1 0; min-width: 0; min-height: 2.75rem; padding: .35rem .1rem; }

.guest-tile[data-section="events"] { --tile-photo: url("/static/tiles/events.jpg"); }

.featured-events:not([hidden]) {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .25rem;
  margin: 0 0 .85rem;
}
.featured-events button {
  flex: 0 0 auto;
  white-space: nowrap;
}

#guest[data-channel="terminal"] { user-select: none; }
#guest[data-channel="terminal"] :is(input, textarea, [contenteditable]) { user-select: text; }
#guest[data-channel="terminal"] img { -webkit-user-drag: none; }

.excursion-order-row { display: flex; align-items: flex-start; gap: .35rem; }
.excursion-order-row .tile-drag-handle { flex: none; }
.excursion-order-row .tile-order-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }

#posts[data-layout="normal"], .excursion-posts[data-layout="normal"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#posts[data-layout="normal"] > [data-post-width="full"],
.excursion-posts[data-layout="normal"] > [data-post-width="full"] { grid-column: 1 / -1; }
#posts[data-layout="normal"] > [data-post-width="half"],
.excursion-posts[data-layout="normal"] > [data-post-width="half"],
#posts[data-layout="grid"] > [data-post-width],
.excursion-posts[data-layout="grid"] > [data-post-width] { grid-column: auto; min-width: 0; }
#posts[data-layout="grid"], .excursion-posts[data-layout="grid"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.excursion-list[data-layout="normal"] { grid-template-columns: minmax(0, 1fr); }
.excursion-posts { padding-inline: 1rem; }
@media (max-width: 700px) {
  #posts[data-layout="normal"], .excursion-posts[data-layout="normal"] { grid-template-columns: minmax(0, 1fr); }
}

.editor:has(select[name="category"] option[value="bathing"]:checked) .post-width-setting { display: none; }

.webcam-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); }
.webcam-card { min-width: 0; }
.webcam-card :is(img, iframe) { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border: 0; background: transparent; }

.guest-tile[data-section="webcams"] { --tile-photo: url("/static/tiles/webcams.jpg"); }

.webcam-enlarge, .webcam-enlarge:hover { display: block; width: 100%; padding: 0; background: transparent; cursor: zoom-in; }
.webcam-viewer { width: min(94vw, 85rem); max-height: 94dvh; padding: 1rem; border: 0; border-radius: .75rem; color: inherit; }
.webcam-viewer::backdrop { background: #102c24ba; }
.webcam-viewer img { display: block; width: 100%; max-height: 76dvh; object-fit: contain; }

#guest[data-profile="generic"] { --default-guest-background: linear-gradient(#175844, #175844); }
#guest[data-profile="generic"] .guest-tile[data-section] { --tile-photo: linear-gradient(#54776a, #54776a); }
.branding-preview { display: block; width: min(100%, 23rem); margin: .75rem 0; border-radius: .5rem; }

.reception-brand { margin-bottom: 1rem; }
.reception-brand img { display: block; width: min(100%, 18rem); height: auto; }
.reception-brand p { margin: 0; font-size: .85rem; }

.terminal-staypages-logo {
  display: block;
  width: clamp(5rem, 10vw, 7rem);
  height: auto;
  flex: none;
  padding: .1rem .25rem;
  border-radius: .35rem;
  background: #f5f3eb;
}
