/* The dark winter spreads and the sunlit summer spreads share the same page furniture. */
:root {
  --stay-ground: #23231f;
  --stay-figure: #f6f3e9;
  --stay-secondary: #cecbc0;
  --stay-depth: #31312c;
  --stay-edge: #615f55;
  --stay-detail: #ffad95;
  --stay-stamp: #b63123;
  --stay-stamp-hover: #93291e;
  --stay-on-stamp: #fffaf4;
  --stay-paper: #f6f3e9;
  --stay-sheet: #fffdf6;
  --stay-ink: #23231f;
  --stay-pencil: #58564d;
  --stay-rule: #bcb8a9;
  --stay-wash: #e8e5d9;
  --stay-link: #9d3024;
  --stay-motif: repeating-linear-gradient(147deg, transparent 0 10px, #f6f3e907 10px 11px, transparent 11px 15px);
}
html[data-stay-season="summer"] {
  --stay-ground: #fff7e5;
  --stay-figure: #4d3824;
  --stay-secondary: #69523a;
  --stay-depth: #f5e8c9;
  --stay-edge: #aa8e59;
  --stay-detail: #79450b;
  --stay-stamp: #f0b33a;
  --stay-stamp-hover: #e8a92d;
  --stay-on-stamp: #422e17;
  --stay-paper: #fcf0d6;
  --stay-sheet: #fffcf4;
  --stay-ink: #4d3824;
  --stay-pencil: #695340;
  --stay-rule: #c8ae7e;
  --stay-wash: #f1e2bf;
  --stay-link: #81430e;
  --stay-motif: repeating-radial-gradient(ellipse at 105% -15%, transparent 0 26px, #b1792414 27px 28px, transparent 29px 49px);
}

/* Set the original booking and content tokens on the participating components only. */
:where(header.top, #apartmany, #na-svah, #vybaveni, #hodnoceni, #rezervace, #okoli,
       #info, #o-ubytovani, #kontakt, footer, .mbar, .od, .dt, .room-page, .guide-hero, .guide-body) {
  --paper: var(--stay-sheet);
  --snow: var(--stay-paper);
  --ink: var(--stay-ink);
  --muted: var(--stay-pencil);
  --line: var(--stay-rule);
  --piste: var(--stay-link);
  --piste-soft: var(--stay-wash);
  --night: var(--stay-ground);
  --night-hi: var(--stay-depth);
  --ice: var(--stay-detail);
  --glow: var(--stay-figure);
  --night-text: var(--stay-secondary);
  --night-line: var(--stay-edge);
  --contour: var(--stay-rule);
}
header.top, footer {
  background: var(--stay-ground);
  color: var(--stay-figure);
  border-color: var(--stay-edge);
}
.top .brand, .top nav.main a, .top .brand .mark, .top .mobile-menu summary,
.top .seg a[aria-current="true"], .top .mobile-menu nav a { color: var(--stay-figure); }
.top .brand small, .top .seg a { color: var(--stay-secondary); }
.top nav.main a:hover, .top .seg a:not([aria-current="true"]):hover { color: var(--stay-detail); }
.top .seg a[aria-current="true"] { box-shadow: inset 0 -2px var(--stay-detail); }
.top .wrap > .btn, .top .wrap > .btn:hover {
  color: var(--stay-on-stamp);
  background: var(--stay-stamp);
  border-color: var(--stay-stamp);
}
.top .mobile-menu nav { border-color: var(--stay-edge); background: var(--stay-depth); }
header.top :focus-visible, footer :focus-visible { outline-color: var(--stay-detail); }

/* The practical documents use the same paper, type and binding as the guestbook. */
.stay-policy {
  --snow: var(--stay-paper); --paper: var(--stay-sheet); --ink: var(--stay-ink);
  --muted: var(--stay-pencil); --line: var(--stay-rule); --piste: var(--stay-link);
  color-scheme: light;
}
.stay-policy header { background: var(--stay-ground); border-color: var(--stay-edge); }
.stay-policy header .brand, .stay-policy header a.back { color: var(--stay-figure); }
.stay-policy header a.back { text-decoration: underline; text-underline-offset: 4px; }
.stay-policy header .brand, .stay-policy header a.back { padding-block: 10px; }
.stay-policy .card { border-radius: 2px; box-shadow: 3px 4px 0 var(--stay-wash); }
.stay-policy a { overflow-wrap: anywhere; }

#na-svah, #apartmany, #hodnoceni, #okoli, #info {
  color: var(--stay-figure);
  background-color: var(--stay-ground);
}
#na-svah, #hodnoceni {
  background-image: var(--stay-motif);
  background-size: min(27vw, 400px) 100%;
  background-position: right top;
  background-repeat: no-repeat;
}
.day-projector {
  --film-white: var(--stay-figure);
  --film-signal: var(--stay-detail);
  --film-ink: var(--stay-ground);
}
.day-projector .day-title em, .day-projector .day-book { color: var(--stay-detail); }
.day-projector .day-contact-sheet, .day-projector .day-shot-link + .day-shot-link,
.day-projector .day-shot-link, .day-projector .day-image > img { border-color: var(--stay-edge); }
.day-projector .day-shot-link, .day-projector .day-image figcaption span,
.day-projector .day-text p { color: var(--stay-secondary); }
.day-projector .day-shot-link[aria-current=true] { color: var(--stay-figure); border-bottom-color: var(--stay-detail); }
.day-projector .day-shot-link[aria-current=true] img { outline-color: var(--stay-detail); }
.day-projector .day-image::before {
  background-image: radial-gradient(ellipse at center, var(--stay-edge) 0 2px, transparent 2.5px);
}
.suites {
  --suite-ink: var(--stay-figure);
  --suite-paper: var(--stay-ground);
  --suite-accent: var(--stay-ground);
  --suite-rule: var(--stay-edge);
  --folio-red: var(--stay-stamp);
  --piste: var(--stay-detail);
}
.suites .suite-key { color: var(--stay-on-stamp); }
.suites .suite-location, .suites .suite-spec { color: var(--stay-detail); }
.suites .suite-head .lead, .suites .unit-copy > p, .suites .apt .price small { color: var(--stay-secondary); }
.suites .rail-index a[aria-current=true] { background: var(--stay-figure); color: var(--stay-ground); }
.suites .rail-index a[aria-current=true] b { color: inherit; }
.suites .rail-arrows button { color: var(--stay-figure); }
.suites .rail-arrows button:enabled:hover { color: var(--stay-ground); background: var(--stay-figure); }
.suites .suite-rail { scrollbar-color: var(--stay-edge) var(--stay-ground); }
.suites .suite-gallery-cta { background: #25231ee8; color: #fffaf3; }
.suites .model-entry { color: var(--stay-figure); background: var(--stay-depth); border-color: var(--stay-edge); }
.suites .model-entry img { background: var(--stay-paper); }
.suites .model-entry:hover { border-color: var(--stay-detail); }
.suites .price .btn, .suites .price .btn:hover {
  background: var(--stay-stamp); border-color: var(--stay-stamp); color: var(--stay-on-stamp);
}
.suites :focus-visible, #info :focus-visible { outline-color: var(--stay-detail); }

#vybaveni, #rezervace, #o-ubytovani, #kontakt {
  color: var(--stay-ink);
  background-color: var(--stay-paper);
}
#vybaveni .amen { background: transparent; }
#hodnoceni .rv-sub strong, #hodnoceni .guest-voice p { color: var(--stay-figure); }
#hodnoceni .guest-voice p { font-family: "Postcard Serif", Georgia, serif; font-weight: 400; font-size: clamp(32px,4.5vw,70px); }
#hodnoceni, #info { border-block-start: 1px solid var(--stay-edge); }
html[data-stay-season="summer"] :is(#na-svah .day-title em,#hodnoceni .guest-voice p) { font-style: italic; }
#rezervace .bk { background-color: var(--stay-sheet); }
#rezervace .bk-side, #rezervace .book-callout { background: var(--stay-wash); border-color: var(--stay-rule); }
#rezervace .apsel button[aria-pressed=true] { box-shadow: inset 0 -2px var(--stay-link); }
#rezervace .actions .btn, .mbar .btn, .od .btn, .dt .btn, #kontakt .btn:not(.ghost) {
  color: var(--stay-on-stamp); background: var(--stay-stamp); border-color: var(--stay-stamp);
}
/* Keep unavailable, selected and in-range dates tied to the widget's status palette. */
#rezervace .day.in, #rezervace .day.pv, #rezervace .day.pe { color: #252624; }
#okoli .season button { color: var(--stay-figure); border-color: var(--stay-edge); }
#okoli .season button[aria-pressed=true] { color: var(--stay-on-stamp); background: var(--stay-stamp); border-color: var(--stay-stamp); }
#okoli .season-editorial { color: #fff9ef; background-color: var(--stay-depth); }
#okoli .season-editorial::before { background: linear-gradient(0deg,#211c18e3,transparent 76%); }
#okoli .season-editorial :is(.terrain-label,.scene-link,p:not(.terrain-label)) { color: #faf4e7; }
#okoli .local-tips, #okoli .season-links a { color: var(--stay-figure); }
#okoli .local-tips summary::after { color: var(--stay-detail); }
#info .wrap, #info .rules li, #info details { border-color: var(--stay-edge); }
#info .rules li span:last-child, #info details p, #info .lead { color: var(--stay-secondary); }
#info summary::after, #info .eyebrow, #info a { color: var(--stay-detail); }
#info .eyebrow::before { background: var(--stay-detail); }
footer a, footer .photo-credit a, footer .photo-credit summary { color: var(--stay-figure); }
footer .photo-credit { border-color: var(--stay-edge); }
footer .photo-credit p { color: var(--stay-secondary); }
footer .photo-credit summary::after { color: var(--stay-detail); }

.photofilm { background-color: var(--stay-ground); }
.photofilm .film-line { font: 400 clamp(42px,8.5vw,144px)/.98 "Postcard Serif", Georgia, serif; color: #fffaf3; }
.photofilm .film-line em { color: #fff0ce; }
.photofilm .film-shot::after { background: linear-gradient(180deg,#1c191766,transparent 20% 39%,#201c185c 64%,#201c18e0 94%); }
.photofilm .film-place, .photofilm .film-chapter, .photofilm .film-chapter[aria-current=step] { color: #fffaf3; }
.photofilm .film-place::before, .photofilm .film-chapter::after { background: var(--stay-stamp); }
.photofilm .film-close, .photofilm .film-play { background: #24221edb; border-color: #e6dfccc2; }
.photofilm .film-rooms { background: var(--stay-stamp); color: var(--stay-on-stamp); }

/* Prices and dates stay together from a room's first impression to its check-out summary. */
.suites .apt .price {
  border-block-start: 1px solid var(--stay-edge);
  margin-top: 10px;
  gap: 9px 16px;
  padding-block: 15px 3px;
}
.suites .apt .price strong {
  color: var(--stay-figure);
  font: 650 clamp(24px,2.8vw,43px)/1.03 var(--display);
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.suites .apt .price .btn { min-height: 48px; padding-inline: clamp(13px,1.3vw,24px); }
#rezervace .book-head { align-items: end; }
#rezervace, .od, .dt, .mbar { --ok: var(--stay-ink); --ok-soft: var(--stay-wash); }
#rezervace .book-head h2 { max-width: 14ch; font-size: clamp(46px,6.7vw,108px); }
#rezervace .bk { border-block-start: 3px solid var(--stay-ink); }
#rezervace .cal-m h3 { color: var(--stay-ink); font: 400 clamp(24px,2.4vw,36px)/1.15 "Postcard Serif", Georgia, serif; }
#rezervace .apsel button[aria-pressed=true] { color: var(--stay-ink); border-color: var(--stay-link); }
#rezervace .day { font-variant-numeric: tabular-nums; }
#rezervace .cal-months .day small { font-size: clamp(11px,.95vw,13px); font-weight: 530; letter-spacing: -.015em; }
#rezervace .day:is(.s,.e), #rezervace .day:is(.s,.e) small { color: #fffdf5; }
#rezervace .legend { font-size: 14px; color: var(--stay-ink); }
#rezervace .sum { border-block-start: 1px solid var(--stay-ink); padding-block-start: 15px; }
#rezervace .sum .total strong { font-size: clamp(34px,3.2vw,50px); letter-spacing: -.055em; }
#rezervace .actions .btn { min-height: 50px; }
#rezervace .book-callout a { color: var(--stay-link); }
@media (hover: hover) {
  :is(.suites .price, .room-page, .guide-hero, #rezervace .actions, .mbar, .od, .dt, #kontakt) .btn:not(.ghost):hover,
  .top .wrap > .btn:hover {
    border-color: var(--stay-stamp-hover); background: var(--stay-stamp-hover); color: var(--stay-on-stamp);
  }
}

/* Carry the same paper, ink and reservation treatment onto apartment and trail pages. */
.room-page {
  --suite-ink: var(--stay-ink);
  --suite-paper: var(--stay-paper);
  --suite-rule: var(--stay-rule);
  --suite-accent: var(--stay-detail);
  background: var(--stay-paper);
  color: var(--stay-ink);
}
.room-page .room-intro, .guide-hero {
  color: var(--stay-figure);
  background: var(--stay-ground) var(--stay-motif) top right / min(24vw, 340px) 100% no-repeat;
}
.room-page .room-intro h1, .guide-hero h1 {
  font: 400 clamp(55px,7.4vw,126px)/.94 "Postcard Serif", Georgia, serif;
  letter-spacing: -.045em;
}
.room-page .room-back, .room-page .room-intro .lead, .room-page .room-portrait figcaption,
.guide-hero .lead { color: var(--stay-secondary); }
.room-page .room-meta { color: var(--stay-detail); }
.room-page .suite-key { background: var(--stay-stamp); color: var(--stay-on-stamp); }
.room-page .room-intro .btn, .room-page .room-foot .btn, .guide-hero .btn {
  background: var(--stay-stamp); border-color: var(--stay-stamp); color: var(--stay-on-stamp); min-height: 48px;
}
.room-page .room-content, .guide-body { background: var(--stay-paper); color: var(--stay-ink); }
.room-page .room-copy h2, .guide-body article h2, .guide-body aside h2 {
  font-family: "Postcard Serif", Georgia, serif; font-weight: 400; letter-spacing: -.035em;
}
.room-page .room-copy p, .room-page .room-pair figcaption { color: var(--stay-pencil); }
.room-page .model-entry, .room-page .model-entry img, .guide-body aside { background: var(--stay-wash); }
.room-page .model-entry { color: var(--stay-ink); border-color: var(--stay-rule); }
.guide-body aside { border-block-start: 2px solid var(--stay-link); }
.guide-body aside a { color: var(--stay-link); }
.guide-body aside a:first-of-type { background: var(--stay-stamp); color: var(--stay-on-stamp); margin-top: 13px; padding: 11px 15px; width: fit-content; min-height: 44px; font-weight: 650; }

@media (max-width: 659px) {
  .top .wrap > .btn.sm.guide-reserve {
    display: inline-flex; min-height: 42px; padding: 8px; font-size: 12px; white-space: nowrap;
  }
}
@media (max-width: 700px) {
  #na-svah, #hodnoceni { background-size: 21vw 100%; }
}

.model-tour, .model-reference, .model-reference figcaption {
  background: var(--stay-ground); color: var(--stay-figure);
}
.model-copy h2, .atlas-head h2 {
  font-family: "Postcard Serif", Georgia, serif; font-weight: 400; letter-spacing: -.045em;
}
.model-copy h2, .model-copy h2 small, .model-features button, .model-features button:disabled { color: var(--stay-figure); }
.model-copy .model-meta, .model-copy .model-note, .atlas-credit, .atlas-directions > span { color: var(--stay-secondary); }
.model-features, .model-features li { border-color: var(--stay-edge); }
.model-features svg, .model-features button[aria-pressed=true] svg { color: var(--stay-detail); }
.model-tour::backdrop, .mon-atlas::backdrop { background: #191813e8; }
.model-close, .match-button { background: var(--stay-ground); border-color: var(--stay-edge); color: var(--stay-figure); }
.model-close:hover, .match-button:hover, .atlas-close:hover, .atlas-controls button:hover { background: var(--stay-depth); }
.model-controlbar, .model-switch, .model-modes { background: var(--stay-sheet); border-color: var(--stay-rule); }
.model-tour :is(.model-controlbar,.model-switch,.model-modes) button { color: var(--stay-ink); border-color: var(--stay-rule); }
.model-tour :is(.model-controlbar,.model-switch,.model-modes) button:hover:not([aria-pressed=true]) { background: var(--stay-wash); }
.model-tour :is(.model-switch,.model-modes) button[aria-pressed=true], .model-book, .model-book:hover {
  background: var(--stay-stamp); color: var(--stay-on-stamp); border-color: var(--stay-stamp);
}
.model-book:hover { background: var(--stay-stamp-hover); }
.model-state { color: #504d43; }
.match-label, .match-divider span, .atlas-north { background: #28261fe8; color: #fffcf2; }
.model-tour :focus-visible, .match-frame:has(.match-slider:focus-visible) { outline-color: var(--stay-detail); }
.mon-atlas {
  --atlas-ink: var(--stay-ground); --atlas-paper: var(--stay-figure);
  --atlas-ice: var(--stay-detail); --atlas-rule: var(--stay-edge);
}
.atlas-frame { background: var(--stay-depth); outline-color: var(--stay-edge); }
.atlas-pin > b, .atlas-controls button[aria-pressed=true] { background: var(--stay-stamp); color: var(--stay-on-stamp); }
.atlas-pin > span, .atlas-pin > b::after { background: var(--stay-stamp); }

/* A print from the lift album opens onto a photograph and its room notes. */
.model-tour.room-visit {
  width: min(1600px,calc(100vw - 5vw)); max-height: calc(100dvh - 28px);
  background: var(--stay-ground); color:var(--stay-figure);
}
.room-visit::backdrop { background:#191812e0; }
.room-visit .model-body { grid-template-columns: minmax(0,1.9fr) minmax(276px, .85fr); }
.room-visit .model-stage { min-height: clamp(460px,78dvh,840px); }
.room-visit .model-copy {
  align-self:stretch; justify-content:center; padding:clamp(52px,5vw,85px) clamp(23px,3vw,56px) 27px;
  background:var(--stay-ground) var(--stay-motif) top right / 45% 100% no-repeat;
}
.room-visit .model-meta { font-size:12px; letter-spacing:.06em; }
.room-visit .model-copy h2 { margin:15px 0 25px; line-height:1; }
.room-visit .model-id, .room-visit .model-id small {
  display:inline; margin:0; color:var(--stay-secondary); font:580 14px/1.1 var(--body,sans-serif); letter-spacing:.01em;
}
.room-visit .model-id { display:block; }
.room-visit .visit-title {
  display:block; color:var(--stay-figure); font:italic 400 clamp(48px,4.7vw,84px)/.94 "Postcard Serif",Georgia,serif;
  letter-spacing:-.044em; margin:9px 0 0; max-width:11ch; text-wrap:balance;
}
.room-visit .model-features { margin-bottom:clamp(18px,2.3vw,36px); }
.room-visit .model-features button { min-height:43px; }
.room-visit .model-features button[aria-pressed=true] svg { color:var(--stay-detail); }
.room-visit .model-book { margin:0; min-height:48px; padding-inline:18px; font-weight:680; }
.room-visit .model-provenance { margin-top:12px; }
.room-visit .model-modes { left:16px; top:15px; }
.room-visit .model-switch { right:16px; top:15px; }
.room-visit .model-modes,.room-visit .model-switch {
  background:var(--stay-sheet); border:0; border-radius:3px; padding:3px;
  box-shadow:0 1px 7px #1e150f3d;
}
.room-visit .model-modes button,.room-visit .model-switch button { min-height:35px; border:0; border-radius:2px; }
.room-visit .model-reference { inset:0; display:block; background:var(--stay-depth); }
.room-visit .match-frame { position:absolute; inset:0; }
.room-visit .match-photo { object-fit:cover; }
.room-visit [data-unit=a2] [data-point=tour_bunk] .match-photo { object-position:92% 45%; transform:scale(1.20); transform-origin:95% 32%; }
.room-visit [data-unit=a2] [data-point=tour_window] .match-photo { object-position:50% 32%; transform:scale(1.14); transform-origin:50% 28%; }
.room-visit .match-frame { overflow:hidden; }
.room-visit [data-unit] .match-frame:has(.match-render:not([hidden])) .match-photo { object-position:center; transform:none; transition:none; }
.room-visit .match-frame:has(.match-render:not([hidden])) :is(.match-render,.match-photo) { object-fit:contain; }
.room-visit .match-frame:has(.match-render:not([hidden])) { inset:56px 0 58px; }
.room-visit .model-reference figcaption {
  position:absolute; inset:auto auto 15px 16px; margin:0; max-width:calc(100% - 32px);
  text-align:start; justify-content:flex-start; border-radius:3px; background:var(--stay-sheet); color:var(--stay-ink);
  gap:5px 13px; padding:5px 7px 5px 12px; font-size:13px;
}
.room-visit .model-reference figcaption span:only-child,
.room-visit .model-reference figcaption:has(.match-button[hidden]) { padding:9px 12px; }
.room-visit .match-button { font-weight:600; min-height:32px; }
.room-visit .model-close { background:var(--stay-ground); color:var(--stay-figure); z-index:6; }
.visit-print-flight { position:fixed; z-index:5; max-width:none; display:block; margin:0; object-fit:cover; pointer-events:none; transform-origin:center; }
.model-tour.room-visit.visit-in-flight { background:transparent; box-shadow:none; }
.visit-in-flight .model-close { opacity:0; }
@media(prefers-reduced-motion:no-preference) {
  .room-visit .match-photo { transition:transform .42s ease-out,object-position .42s ease-out; }
  .room-visit.visit-in-flight::backdrop { animation:visit-shade .64s ease-out both; }
  .room-visit.visit-returning::backdrop { animation:visit-shade .38s ease-in reverse both; }
  @keyframes visit-shade { from { background-color:transparent; } to { background-color:#191812e0; } }
}
@media(max-width:740px) {
  .model-tour.room-visit { width:100%; height:100dvh; max-height:100dvh; }
  .room-visit .model-body { display:flex; flex-direction:column; min-height:100%; }
  .room-visit .model-stage { flex:none; min-height:0; height:clamp(264px,46dvh,540px); }
  .room-visit .model-copy { flex:1; justify-content:flex-start; padding:19px 22px max(20px,env(safe-area-inset-bottom)); }
  .room-visit .model-copy h2 { margin:7px 0 14px; display:flex; flex-direction:column; }
  .room-visit .visit-title { font-size:clamp(39px,10vw,60px); max-width:none; margin:5px 0 0; }
  .room-visit .model-features { margin-bottom:13px; }
  .room-visit .model-features button { min-height:38px; padding-block:7px; }
  .room-visit .model-modes { left:8px; top:9px; }
  .room-visit .model-switch { top:9px; right:59px; }
  .room-visit .model-reference figcaption { bottom:10px; left:9px; max-width:calc(100% - 18px); }
  .room-visit .model-provenance { margin-top:5px; }
}
@media(max-width:370px) {
  .room-visit .model-modes button { min-width:39px; padding-inline:6px; }
  .room-visit .model-modes .mode-word { display:none; }
  .room-visit .model-modes .mode-abbrev { display:inline; }
  .room-visit .model-modes svg { display:none; }
  .room-visit .model-switch button { width:27px; }
  .room-visit .model-switch { right:55px; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    #h-rez, #h-kon, .suite-head h2, .guide-body article h2 {
      animation: chapter-typeset linear both; animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    @keyframes chapter-typeset { from { transform: translateY(12px); } to { transform: translateY(0); } }
  }
}
