:root {
	color-scheme: dark;
	--tour-ink: #17202b;
	--tour-paper: #fbf9f4;
	--tour-accent: #ebba33;
	--tour-accent-ink: #70520c;
	--tour-font: system-ui, -apple-system, "Segoe UI", sans-serif;
	--tour-display: Georgia, "Times New Roman", serif;
}

body {
	overflow: hidden !important;
	background: var(--tour-ink);
}

.tour-ui, .tour-dialog {
	font: 500 15px/1.45 var(--tour-font);
	color: var(--tour-paper);
}

.tour-ui *, .tour-dialog * { box-sizing: border-box; }
.tour-ui button, .tour-dialog button, .tour-dialog input { font: inherit; }
.tour-ui a, .tour-dialog a { color: inherit; text-decoration: none; }
.tour-ui :focus-visible, .tour-dialog :focus-visible {
	outline: 3px solid #a87612;
	outline-offset: 3px;
}

.tour-ui {
	position: fixed;
	inset: 0;
	z-index: 1000;
	pointer-events: none;
}

.tour-bar, .tour-caption {
	position: absolute;
	left: clamp(16px, 4vw, 64px);
	right: clamp(16px, 4vw, 64px);
}

.tour-bar {
	top: max(16px, env(safe-area-inset-top));
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.tour-brand, .tour-explore, .tour-close {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	border: 0;
	border-radius: 7px;
	padding: 8px 15px;
	cursor: pointer;
	pointer-events: auto;
}

.tour-brand {
	padding: 8px 12px;
	gap: 10px;
	border: 1px solid #ffffff30;
	background: #17202beb;
	box-shadow: 0 4px 18px #0003;
}

.tour-brand-text {
	display: grid;
	gap: 3px;
	font-size: 10px;
	letter-spacing: .1em;
	line-height: 1.15;
	text-transform: uppercase;
}

.tour-brand-text strong {
	font: 600 21px/1 var(--tour-display);
	letter-spacing: .01em;
	text-transform: none;
}

.tour-mark {
	width: 54px;
	height: 30px;
	flex: none;
	object-fit: contain;
}

.tour-explore {
	border: 1px solid #ebba3390;
	background: #17202bf5;
	color: #ffe19a;
	font-weight: 700 !important;
	box-shadow: 0 5px 24px #0003;
}

.tour-explore:hover { background: var(--tour-accent); color: var(--tour-ink); }
.tour-caption {
	right: auto;
	bottom: max(68px, calc(env(safe-area-inset-bottom) + 56px));
	max-width: calc(100% - 32px);
	padding: 10px 15px 12px;
	border-left: 2px solid var(--tour-accent);
	border-radius: 0 6px 6px 0;
	background: #17202beb;
}
.tour-kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.tour-caption .tour-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
	font-size: 9px;
	color: #ffe19a;
}
.tour-caption .tour-kicker::before {
	content: "";
	width: 16px;
	height: 1px;
	background: var(--tour-accent);
}
.tour-caption h1 {
	max-width: 18ch;
	margin: 0;
	font: 500 clamp(21px, 3vw, 36px)/1.08 var(--tour-display);
	letter-spacing: -.025em;
	text-wrap: balance;
}

.ggskin_hotspot[data-tour-label]::after {
	content: attr(data-tour-label);
	position: absolute;
	top: 27px;
	left: 0;
	transform: translateX(-50%);
	padding: 5px 9px;
	border: 1px solid #ffffff30;
	border-radius: 5px;
	background: #17202bf5;
	color: var(--tour-paper);
	font: 650 12px/1.3 var(--tour-font);
	white-space: nowrap;
	pointer-events: none;
}

.ggskin_hotspot[data-tour-label] > .tour-original-hotspot-title { display: none; }
.ggskin_hotspot [data-tour-marker] > img { opacity: 0; }
.ggskin_hotspot [data-tour-marker]::before,
.ggskin_hotspot [data-tour-marker]::after {
	content: "";
	position: absolute;
	pointer-events: none;
}
.ggskin_hotspot [data-tour-marker]::before {
	inset: 4px;
	border: 2px solid #ffe19a;
	border-radius: 50%;
	background: #17202bf5;
	box-shadow: 0 3px 12px #0007;
}
.ggskin_hotspot [data-tour-marker]::after {
	width: 12px;
	height: 12px;
	top: 20px;
	left: 17px;
	border-top: 2px solid #ffe19a;
	border-left: 2px solid #ffe19a;
	transform: rotate(45deg);
}
.ggskin_hotspot:hover [data-tour-marker]::before { background: #344256; }
.tour-dialog {
	position: fixed;
	inset: 16px 16px 16px auto;
	width: min(510px, calc(100% - 32px));
	height: auto;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: var(--tour-paper);
	color: var(--tour-ink);
	box-shadow: 0 20px 80px #0006;
	color-scheme: light;
}

.tour-dialog[open] { display: flex; flex-direction: column; }
.tour-dialog::backdrop { background: #10182496; }
.tour-dialog-head { padding: 24px 24px 16px; border-bottom: 1px solid #deddd1; }
.tour-dialog-head .tour-kicker { color: var(--tour-accent-ink); }
.tour-dialog-head h2 { margin: 0; font: 500 clamp(27px, 6vw, 40px)/1.08 var(--tour-display); }
.tour-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-close { background: #e9e7dc; color: var(--tour-ink); font-weight: 700 !important; }
.tour-search {
	width: 100%;
	margin-top: 14px;
	padding: 11px 14px;
	border: 1px solid #c5c6b9;
	border-radius: 10px;
	background: #fff;
	color: var(--tour-ink);
}

.tour-list { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 24px 20px; }
.tour-group h3 { margin: 18px 0 8px; font-size: 14px; }
.tour-card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	margin-bottom: 6px;
	padding: 6px 10px 6px 6px;
	border: 1px solid #e1ded2;
	border-radius: 11px;
	background: #fffdfa;
	font-weight: 680;
}

button.tour-card {
	color: var(--tour-ink);
	text-align: left;
	cursor: pointer;
}

.tour-stop-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(128px, 34%);
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding: 4px 4px 10px;
}

.tour-stop-rail .tour-card {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 5px 5px 8px;
	margin: 0;
	scroll-snap-align: start;
	font-size: 13px;
}

.tour-stop-rail .tour-card img {
	width: 100%;
	height: 68px;
}

.tour-stop-rail .tour-card span { padding-inline: 4px; }
.tour-card[hidden], .tour-group[hidden] { display: none; }
.tour-card:hover, .tour-card[aria-current] { border-color: #be9134; background: #faf0d9; }
.tour-card img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; background: #dcded2; }
.tour-site { display: block; padding: 13px 24px; border-top: 1px solid #deddd1; font-weight: 750; }
.tour-site:hover { text-decoration: underline; }

@media (max-width: 600px) {
	.tour-bar { left: 10px; right: 10px; gap: 6px; }
	.tour-brand { min-width: 0; gap: 6px; padding-inline: 7px; }
	.tour-mark { width: 28px; height: 16px; }
	.tour-brand-text { font-size: 8px; letter-spacing: .06em; }
	.tour-brand-text strong { font-size: 17px; }
	.tour-explore { flex: none; gap: 5px; padding-inline: 8px; font-size: 12px !important; white-space: nowrap; }
	.tour-caption { padding: 8px 11px 10px; }
	.tour-dialog { inset: auto 0 0; width: 100%; max-width: none; height: 82dvh; border-radius: 22px 22px 0 0; }
	.tour-dialog-head { padding: 16px 16px 12px; }
	.tour-list { padding-inline: 16px; }
	.tour-site { padding-bottom: max(13px, env(safe-area-inset-bottom)); }
}

@media (max-height: 450px) {
	.tour-caption h1 { font-size: 21px; }
}
