/* ===== Noční režim =====
   Platí jen když má <html> třídu "night" (zapíná ji tlačítko v patičce, volba se pamatuje v prohlížeči).
   Bez kulisy: žádné obrázky, jen vlnky nahoře, ploché panely a decentní rámeček u fotografií. */
html.night { color-scheme: dark }
html.night body { background: #121b1a; color: #e6dfc8 }

/* ---------- hlavička: tmavé moře a vlnky ---------- */
html.night #back {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80' preserveAspectRatio='none'%3E%3Cpath d='M0 36 C27 6 53 6 80 36 S133 66 160 36 V80 H0Z' fill='%23306f74' fill-opacity='.5'/%3E%3Cpath d='M0 48 C27 18 53 18 80 48 S133 78 160 48 V80 H0Z' fill='%23121b1a'/%3E%3C/svg%3E") repeat-x 0 calc(44.79vw - 38px),
		linear-gradient(#0b2427 0, #11373b 70%, #0e2a2d 100%) no-repeat 0 0 / 100% calc(44.79vw + 4px);
	background-size: 100px 50px, 100% calc(44.79vw + 4px)
}
@media screen and (min-width: 960px) {
	html.night #back {
		background-position: 0 360px, 0 0;
		background-size: 100px 50px, 100% 410px
	}
}
html.night #head { background: none }

html.night #menu li a:link, html.night #menu li a:visited, html.night #menu li strong {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 50' preserveAspectRatio='none'%3E%3Crect x='3' y='11' width='124' height='28' rx='14' fill='%231c4a4f' stroke='%232f7f86' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	color: #fff
}
html.night #menu li strong, html.night #menu li a:hover, html.night #menu li a:active, html.night #menu li a:focus,
html.night #menu li.active a:hover, html.night #menu li.active a:active, html.night #menu li.active a:focus {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 50' preserveAspectRatio='none'%3E%3Crect x='3' y='11' width='124' height='28' rx='14' fill='%23f8d4a9' stroke='%23f8d4a9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	color: #3c2a12
}
html.night #menu li.active a:link, html.night #menu li.active a:visited {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 50' preserveAspectRatio='none'%3E%3Crect x='3' y='11' width='124' height='28' rx='14' fill='%231c4a4f' stroke='%23f8d4a9' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	color: #f8d4a9
}
html.night #header h1, html.night #header h1 span { color: #cfe9ea }
html.night #header h1 span { color: #ffb89a }
html.night #head p.slogan, html.night #head p.tagline { color: #8fd0d4; text-shadow: none }
html.night #head p.slogan strong, html.night #head p.tagline strong { color: #fff }

html.night #reserve p a:link, html.night #reserve p a:visited {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 366 48' preserveAspectRatio='none'%3E%3Crect x='1' y='1' width='364' height='46' rx='10' fill='%23d9b36f'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	color: #3c2a12
}
html.night #reserve p a:hover, html.night #reserve p a:active, html.night #reserve p a:focus {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 366 48' preserveAspectRatio='none'%3E%3Crect x='1' y='1' width='364' height='46' rx='10' fill='%23f0cf92'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	color: #2b1d0a
}

/* fotografie v hlavičce: místo bambusového rámu obyčejný rámeček */
html.night #s3slider div { background: none }
html.night #s3slider ul { box-shadow: 0 0 0 1px #5ba3a9, 0 0 0 7px #0b1514, 0 0 0 8px #2f7f86 }
html.night .s3sliderImage span { background: #0b1514; opacity: .92; color: #e6dfc8 }
html.night .s3sliderImage strong { background: none; color: #e6dfc8 }

/* ---------- obsah ---------- */
html.night a:link, html.night a:visited { color: #84cfd3 }
html.night a:hover, html.night a:active, html.night a:focus { color: #ffb89a }
html.night #content a:link, html.night #content a:visited { color: #84cfd3 }
html.night #content a:hover, html.night #content a:active, html.night #content a:focus { color: #ffb89a }
html.night #content h2, html.night #navigation h2 { color: #6cc4c9 }
html.night #content h2 span { color: #c9b88a }
html.night #content h3, html.night #navigation h3, html.night #content p.anotace strong,
html.night #content h3 a:link, html.night #content h3 a:visited { color: #a3d6a0 }
html.night #content h3 a:hover, html.night #content h3 a:active, html.night #content h3 a:focus { color: #ffb89a }
html.night #content #newslist h3 span { color: #e6dfc8 }
html.night p strong, html.night #content li strong, html.night th, html.night .req, html.night .error, html.night .oki { color: #ffb89a }
html.night #crumb p, html.night #crumb p strong, html.night #content p.author, html.night #content p.author a:link, html.night #content p.author a:visited,
html.night #commentslist .box-re, html.night #commentslist .box-re h3, html.night tbody td { color: #e6dfc8 }
html.night #catalog .box, html.night #newslist .box, html.night #home .box, html.night #commentslist .box, html.night #short .box, html.night #text .box, html.night #s,
html.night #sitemap .box, html.night #error .box, html.night #commentslist .box-re { border-top-color: #34463f }
html.night #commentslist .box-re { border-left-color: #2f7f86; background: rgba(47, 127, 134, .14) }
html.night #content ul li { background: radial-gradient(circle, #8ab8b0 0, #8ab8b0 3px, transparent 3.5px) no-repeat 0 .45em / 10px 10px }
html.night .photo { background: none; border: 1px solid #46594f; border-radius: 4px; background-color: #1a2625; width: 138px; height: 108px }
html.night .photo:hover, html.night .photo:focus-within { border-color: #84cfd3 }
html.night #content p.page strong { background: #f8d4a9; border-color: #46594f; color: #3c2a12 }
html.night #content p.page a:link, html.night #content p.page a:visited { background: #22332f; border-color: #46594f; color: #e6dfc8 }
html.night #content p.page a:hover, html.night #content p.page a:active, html.night #content p.page a:focus { background: #f8d4a9; color: #3c2a12 }
html.night .ask, html.night table.overview .min, html.night table.overview td::before { color: #b9b098 }
html.night p.rate { color: #e6dfc8 }

/* ---------- boční panel ---------- */
html.night #nav, html.night #nphoto, html.night #address, html.night .other,
html.night #nphoto:hover, html.night #nphoto:focus-within {
	background: #1a2625; border: 1px solid #34463f; border-radius: 14px 3px 14px 3px
}
html.night #nphoto:hover, html.night #nphoto:focus-within { background: #1f2e2c; border-color: #46594f }
html.night #nav .in, html.night #nphoto .in, html.night #address .in, html.night .other .in,
html.night #nphoto:hover .in, html.night #nphoto:focus-within .in,
html.night #nav ul, html.night #nphoto p, html.night #address address, html.night .other .in p,
html.night #nphoto:hover p, html.night #nphoto:focus-within p { background: none; color: #e6dfc8 }
html.night #nphoto img, html.night #nphoto:hover img, html.night #nphoto:focus-within img { border-color: #46594f }
html.night #nphoto span.highslide-caption { color: #e6dfc8 }
html.night #nav li { background: #2f7f86; border-color: #1f5459 }
html.night #nav li strong, html.night .nav-panel #nav li strong { background: #f8d4a9; color: #3c2a12 }
html.night #address address a:link, html.night #address address a:visited, html.night #nphoto a:link, html.night #nphoto a:visited { color: #84cfd3 }
html.night #nav li a:link, html.night #nav li a:visited { color: #fff }
html.night #nav li:hover a, html.night #nav li a:hover, html.night #nav li a:focus { color: #fff }

/* ---------- tabulky, formuláře ---------- */
html.night .table, html.night .form { background: #1a2625; border: 1px solid #34463f }
html.night .tablein, html.night .formin, html.night .table table, html.night .form form { background: none }
html.night th, html.night td { border-top-color: #34463f }
html.night .table.apt, html.night .table.ovw, html.night .table.dist { background: #17211f; border-color: #34463f }
html.night .table.apt thead th, html.night table.overview thead th, html.night .distcols thead th { background: #22332f }
html.night .table.apt th, html.night .table.apt td, html.night table.overview th, html.night table.overview td { border-left-color: #34463f }
html.night .table.apt thead th, html.night table.overview thead th.name, html.night table.overview thead th.date, html.night .distcols thead th { border-bottom-color: #4d6358 }
html.night table.overview thead th.name { border-right-color: #34463f }
html.night table.overview thead th.term, html.night table.overview thead th.date { border-top-color: #34463f }
html.night .table.apt tbody td, html.night table.overview tbody td, html.night table.overview tbody th, html.night .distcols th, html.night .distcols td { border-top-color: #34463f }
html.night .distcols tbody th { color: #e6dfc8 }
html.night table.overview tbody th { color: #e6dfc8 }
html.night .distcols thead th { color: #ffb89a }
html.night .distcols { background-image: linear-gradient(#4d6358, #4d6358) }
html.night .table.apt tbody tr:hover td, html.night table.overview tbody tr:hover th, html.night table.overview tbody tr:hover td,
html.night .distcols tbody tr:hover th, html.night .distcols tbody tr:hover td { background: rgba(132, 207, 211, .10) }
html.night table.overview tbody tr { border-top-color: #4d6358 }
html.night table.overview td, html.night table.overview td:first-child { border-top-color: #34463f }

html.night fieldset { background: #1a2625; border-color: #34463f }
html.night .form fieldset input[type="text"], html.night .form fieldset input[type="email"], html.night .form fieldset input[type="tel"],
html.night .form fieldset input[type="date"], html.night .form fieldset input[type="number"], html.night .form fieldset textarea, html.night .form fieldset select {
	color: #f0ead6; background-color: #0f1817; border-color: #7d9a8d; box-shadow: none
}
html.night .form fieldset input:hover, html.night .form fieldset textarea:hover, html.night .form fieldset select:hover { border-color: #a9c2b6 }
html.night .form fieldset input:focus, html.night .form fieldset textarea:focus, html.night .form fieldset select:focus {
	border-color: #84cfd3; background-color: #0b1312; box-shadow: 0 0 0 3px rgba(132, 207, 211, .30)
}
html.night .form fieldset ::placeholder { color: #9d9577 }
html.night input[type="checkbox"], html.night input[type="radio"] { background-color: #0f1817; border-color: #9fb3a9 }
html.night input[type="checkbox"]:checked { background-color: #2f7f86; border-color: #84cfd3 }
html.night input[type="radio"]:checked { border-color: #84cfd3; background-image: radial-gradient(circle, #84cfd3 0, #84cfd3 42%, #0f1817 46%) }
html.night .form fieldset input[type="checkbox"] + label:hover { color: #ffb89a }
html.night input.button, html.night p#reservation a:link, html.night p#reservation a:visited {
	background: #d9b36f; color: #3c2a12; border-radius: 8px
}
html.night input.button:hover, html.night input.button:focus, html.night p#reservation a:hover, html.night p#reservation a:focus { background: #f0cf92; color: #2b1d0a }

/* kalendář pro výběr data */
html.night .cal { background: #17211f; border-color: #4d6358; box-shadow: 0 8px 22px rgba(0, 0, 0, .6); color: #e6dfc8 }
html.night .cal-head, html.night .cal-foot { border-color: #34463f }
html.night .cal-title { color: #a3d6a0 }
html.night .cal-prev, html.night .cal-next { color: #84cfd3; background: #22332f; border-color: #46594f }
html.night .cal-prev:hover, html.night .cal-next:hover { background: #2b413c }
html.night .cal-grid th { color: #b9b098 }
html.night .cal-grid td button { color: #e6dfc8 }
html.night .cal-grid td button.out { color: #98a091 }
html.night .cal-grid td button:hover { background: rgba(132, 207, 211, .18) }
html.night .cal-grid td button.today { border-color: #84cfd3 }
html.night .cal-grid td button.sel { background: #2f7f86; color: #fff }
html.night .cal-foot button { color: #84cfd3 }
html.night .cal-btn { color: #84cfd3 }
html.night .cal-btn:hover, html.night .cal-btn[aria-expanded="true"] { background: rgba(132, 207, 211, .18) }
html.night .form fieldset input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) }

/* ---------- ovládací prvky, přiblížení fotografie ---------- */
html.night .btn-print, html.night .nav-toggle { color: #e6dfc8; background: #22332f; border-color: #46594f; box-shadow: none }
html.night .btn-print:hover, html.night .nav-toggle:hover, html.night .nav-toggle[aria-expanded="true"] { background: #f8d4a9; color: #3c2a12 }
html.night .share-panel { background: #1a2625; border-color: #46594f; box-shadow: 0 6px 20px rgba(0, 0, 0, .6) }
html.night #foot a.share-item:link, html.night #foot a.share-item:visited, html.night .share-item { color: #e6dfc8 }
html.night #foot a.share-item:hover, html.night #foot a.share-item:focus, html.night .share-item:hover, html.night .share-item:focus { background: #2b413c; color: #fff }
html.night .ivona-lb-box { background: #1a2625; border-color: #46594f }
html.night .ivona-lb-img { outline-color: #46594f }
html.night .ivona-lb-cap, html.night .ivona-lb-num { color: #e6dfc8 }
html.night .rate-btn { background: #2f7f86; border-color: #84cfd3 }
html.night :focus-visible,
html.night a:focus-visible, html.night button:focus-visible, html.night input:focus-visible, html.night select:focus-visible, html.night textarea:focus-visible,
html.night #nav li a:focus-visible, html.night .cal button:focus-visible, html.night .cal-btn:focus-visible, html.night a.highslide:focus-visible,
html.night .nav-toggle:focus-visible, html.night .btn-print:focus-visible, html.night #foot a.to-top:focus-visible { outline: 3px solid #ffd54a !important }

/* ---------- patička: vlnky nahoře a tmavé moře, stejně jako hlavička ---------- */
html.night #foot {
	height: 190px; border-top: 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80' preserveAspectRatio='none'%3E%3Cpath d='M0 44 C27 74 53 74 80 44 S133 14 160 44 V0 H0Z' fill='%23306f74' fill-opacity='.5'/%3E%3Cpath d='M0 32 C27 62 53 62 80 32 S133 2 160 32 V0 H0Z' fill='%23121b1a'/%3E%3C/svg%3E") repeat-x 0 0 / 100px 50px,
		linear-gradient(#11373b 0, #0b2427 100%) no-repeat 0 0 / 100% 100%
}
html.night #foot .in { background: none; height: 190px }
html.night #foot a:link, html.night #foot a:visited { color: #d8cb9c }
html.night #foot a:hover, html.night #foot a:active, html.night #foot a:focus { color: #fff }
html.night #foot a.to-top:link, html.night #foot a.to-top:visited { color: #fff; background: #2f7f86; box-shadow: none }
html.night #foot a.to-top:hover, html.night #foot a.to-top:focus { background: #3b97a0; color: #fff }
html.night #content .in { padding-bottom: 220px }
html.night #navigation { padding-bottom: 220px }
html.night #foot #fav p { top: 66px }
html.night #foot p { bottom: 18px }
html.night #foot p, html.night #foot { color: #d8cb9c }

/* ---------- hlavička: nápis nahoře vpravo ve výšce tlačítek, větší fotografie vpravo ---------- */
@media screen and (min-width: 960px) {
	html.night #header { top: 8px; height: 50px; display: flex; align-items: center; justify-content: flex-end }
	html.night #s3slider, html.night #s3slider div { width: 390px; height: 248px; right: 8px; top: 93px }
	html.night #s3slider div { top: 0; right: 0 }
	html.night #s3slider ul { top: 0; left: 0; width: 390px; height: 248px }
	html.night #s3sliderContent { width: 100% }
	html.night .s3sliderImage { width: 100% }
	html.night .s3sliderImage img { width: 100%; height: auto; display: block }
	html.night .s3sliderImage br { display: none }
	html.night .s3sliderImage span { width: 100% }
	html.night .slide-pause { right: 10px; top: 10px }
}
@media screen and (min-width: 640px) and (max-width: 959px) {
	html.night #header { top: 0.8333cqw; height: 5.2083cqw; display: flex; align-items: center; justify-content: flex-end }
	html.night #s3slider, html.night #s3slider div { width: 40.625cqw; height: 25.83cqw; right: calc(1.5cqw + 8px); top: calc(8.8542cqw + 8px) }
	html.night #s3slider div { top: 0; right: 0 }
	html.night #s3slider ul { top: 0; left: 0; width: 100%; height: 100% }
	html.night .slide-pause { right: 10px; top: 10px }
}

/* ---------- úzké displeje ---------- */
@media screen and (max-width: 799px) {
	html.night #nav, html.night #nphoto, html.night #address, html.night .other { background: #1a2625; border: 1px solid #34463f }
	html.night #nav li { background: #2f7f86; border-color: #1f5459 }
	html.night #nav li strong { background: #f8d4a9 }
	html.night .table, html.night .form { background: #1a2625; border: 1px solid #34463f }
	html.night .nav-panel #nav li { background: #2f7f86 }
	html.night #foot .in { background: none; height: auto; padding: 70px 16px 24px }
	html.night #foot { height: auto }
	html.night #content .in, html.night #navigation { padding-bottom: 0 }
}
@media screen and (max-width: 639px) {
	html.night #back { background: none }
	html.night #head { background: linear-gradient(#0b2427 0, #11373b 70%, #0e2a2d 100%); padding-bottom: 50px }
	html.night #head::after {
		height: 44px; -webkit-mask-image: none; mask-image: none;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80' preserveAspectRatio='none'%3E%3Cpath d='M0 36 C27 6 53 6 80 36 S133 66 160 36 V80 H0Z' fill='%23306f74' fill-opacity='.5'/%3E%3Cpath d='M0 48 C27 18 53 18 80 48 S133 78 160 48 V80 H0Z' fill='%23121b1a'/%3E%3C/svg%3E") repeat-x left bottom / 100px 44px
	}
	html.night #header h1, html.night #header h1 span { color: #cfe9ea }
	html.night #header h1 span { color: #ffb89a }
	html.night #head p.slogan, html.night #head p.tagline { text-shadow: none }
	html.night #s3slider { width: calc(100% - 32px); max-width: 520px; aspect-ratio: 325 / 207; margin: 10px auto 16px auto }
	html.night #s3slider ul { top: 0; left: 0; width: 100%; height: 100% }
	html.night .slide-pause { right: 10px; top: 10px }
}
