:root {
	color-scheme: light;
	--paper: #f5f5ed;
	--ink: #292f25;
	--muted: #757b6d;
	--olive: #39472d;
	--line: #dedfd3;
	--accent: #d9edaf;
	font-family: "Segoe UI", Arial, sans-serif;
	color: var(--ink);
	background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background-image: radial-gradient(#8b957616 .7px, transparent .7px); background-size: 7px 7px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #829557; outline-offset: 5px; }
button, input, select { color: inherit; }
button { border: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px; background: var(--accent); }
.skip-link:focus { top: 10px; }
.site-header { height: 108px; padding: 0 5.2%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-size: 23px; font-weight: 700; letter-spacing: -1px; }
.brand img { margin-right: 11px; }
.brand span { font-weight: 400; color: #717965; }
.site-header nav { display: flex; align-items: center; gap: 29px; }
.text-button { background: transparent; color: var(--muted); padding: 4px 0; font-size: 12px; }
.text-button:hover, .back-link:hover { color: var(--olive); text-decoration: underline; }
.cloak-button { font-size: 13px; }
.cloak-button span { margin-right: 6px; }
.settings-link { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 30px; padding: 11px 18px; font-size: 13px; background: #ffffff40; }
.settings-link:hover { background: #e9eddd; }
.settings-link svg { width: 17px; height: 17px; }
.landing { width: min(900px, calc(100% - 48px)); margin: 55px auto 0; flex: 1; }
.eyebrow { font: 10px "Courier New", monospace; letter-spacing: 2px; color: #687557; display: flex; justify-content: center; align-items: center; gap: 9px; }
.little-spark { font: 22px Georgia, serif; line-height: 10px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 6.4vw, 83px); font-weight: 400; line-height: 1.07; letter-spacing: -4px; margin: 24px 0; text-align: center; }
h1 em { color: #657348; font-weight: 400; }
.hero-description { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.8; margin: 20px 0 34px; }
.search-form { margin: 0 auto; display: flex; align-items: center; gap: 16px; border: 1px solid #cbd0bd; border-radius: 15px; background: #fffff9; padding: 9px 9px 9px 23px; box-shadow: 0 5px 0 #eceee2, 0 10px 28px #34442b05; max-width: 720px; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: #819362; box-shadow: 0 5px 0 #e1e6d5, 0 10px 28px #34442b09; }
.search-icon { width: 21px; height: 21px; flex-shrink: 0; color: #858e77; }
.search-form input { flex: 1; min-width: 0; height: 47px; border: 0; outline: 0; background: transparent; font-size: 15px; }
.search-form input::placeholder { color: #969b8c; }
.search-form input:focus-visible { outline: 0; }
.go-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 22px; background: var(--olive); color: #f7faed; border-radius: 9px; font-size: 13px; white-space: nowrap; }
.go-button:hover, .primary-button:hover { background: #51613c; }
.go-button > span:last-child { font-size: 20px; line-height: 20px; }
.search-underneath { display: flex; justify-content: space-between; align-items: center; max-width: 710px; margin: 15px auto 0; color: #919784; font-size: 11px; gap: 12px; }
.search-underneath button { font-size: 11px; }
.status { min-height: 20px; margin: 13px auto 0; color: #6c7958; font-size: 12px; text-align: center; max-width: 720px; line-height: 1.5; }
.error { color: #a24432 !important; }
.shortcuts { margin-top: 49px; }
.section-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; gap: 10px; }
.section-label h2 { font: 10px "Courier New", monospace; letter-spacing: 1.6px; margin: 0; color: #7f8574; }
.section-label > span { color: #919784; font-size: 11px; }
.shortcut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shortcut { background: #ffffff4d; border: 1px solid var(--line); border-radius: 12px; padding: 19px 14px; display: flex; gap: 11px; text-align: left; align-items: center; position: relative; transition: background .2s, transform .2s; }
.shortcut:hover { background: #e9eddd; transform: translateY(-3px); }
.shortcut > span:nth-child(2) { font-size: 12px; font-weight: 600; }
.shortcut small { display: block; font-size: 10px; font-weight: 400; color: #939886; margin-top: 5px; }
.shortcut-symbol { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 36px; }
.wikipedia { font: 27px Georgia, serif; }
.youtube svg { width: 27px; height: 27px; stroke: none; fill: #9d705b; }
.youtube svg path { fill: var(--paper); }
.github { white-space: nowrap; font: 18px "Courier New", monospace; color: #606b58; }
.reddit { font: bold 23px Georgia, serif; color: #9f7053; }
.corner-arrow { position: absolute; right: 10px; top: 9px; color: #a4ab96; font-size: 12px; }
.landing-note { display: flex; align-items: center; justify-content: center; gap: 17px; font-family: Georgia, serif; font-style: italic; color: #939b83; font-size: 14px; margin: 53px 0 45px; }
.note-line { width: 40px; height: 1px; background: var(--line); }
.saved-section { margin-top: 28px; }
.destination-list { display: flex; gap: 8px; flex-wrap: wrap; }
.destination-chip { background: #ebeee1; color: #606d51; border: 1px solid #dfe3d3; border-radius: 20px; padding: 8px 14px; font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destination-chip:hover { background: #dce5c8; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 27px 5.2%; border-top: 1px solid var(--line); color: #969d89; font-size: 11px; }
.site-footer a:hover { color: var(--olive); }
.connection-status { display: flex; align-items: center; gap: 7px; font: 10px "Courier New", monospace; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #93a877; }
.back-link { color: #6e7860; font-size: 13px; }
.settings-layout { width: min(1060px, calc(100% - 48px)); margin: 55px auto 80px; flex: 1; display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.settings-intro .eyebrow { justify-content: flex-start; }
.settings-intro h1 { font-size: 52px; text-align: left; letter-spacing: -2px; line-height: 1.16; }
.settings-intro > p { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 260px; }
.settings-intro .local-note { margin-top: 35px; padding-left: 15px; border-left: 2px solid #cbd6b8; font-size: 12px; }
.settings-card { background: #ffffff60; border: 1px solid var(--line); border-radius: 15px; padding: 28px; margin-bottom: 20px; }
.card-number { font: 10px "Courier New", monospace; letter-spacing: 1.5px; color: #8e987e; margin-bottom: 17px; }
.settings-card h2 { margin: 0 0 9px; font-size: 20px; font-weight: 500; letter-spacing: -.4px; }
.settings-card p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0 0 20px; }
.transport-options { border: 0; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); padding: 16px 12px; border-radius: 10px; cursor: pointer; }
.radio-card:has(input:checked) { background: #e9efdd; border-color: #b7c59d; }
.radio-card input { accent-color: var(--olive); margin: 2px 0 0; }
.radio-card strong { display: block; font-size: 13px; font-weight: 500; }
.radio-card strong small { color: #7d8b67; font: 8px "Courier New", monospace; margin-left: 4px; }
.radio-card > span > span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.field-label { display: block; margin: 20px 0 10px; font-size: 12px; }
.field-label > span { color: #969e8a; margin-left: 4px; }
.field-input { width: 100%; border: 1px solid #d4d9c8; border-radius: 8px; background: #fffff8; padding: 12px 14px; font-size: 13px; }
.field-input::placeholder { color: #a0a793; }
.settings-card .field-hint { margin: 9px 0 0; color: #929b84; font-size: 11px; }
.inline-action { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.inline-action > span { color: var(--muted); font-size: 11px; line-height: 1.7; }
.secondary-button { background: #e7ebdc; border-radius: 7px; padding: 10px 13px; font-size: 11px; white-space: nowrap; }
.secondary-button:hover { background: #dbe4cb; }
.save-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.save-row > p { font-size: 11px; color: #83916d; line-height: 1.6; max-width: 270px; }
.about-page { width: min(680px, calc(100% - 48px)); margin: 50px auto 70px; flex: 1; }
.about-page .settings-card p { font-size: 14px; }
.about-page .settings-card a { text-decoration: underline; }
.browser-page { height: 100vh; overflow: hidden; }
.browser-toolbar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.browser-toolbar form { display: flex; flex: 1; min-width: 0; background: #fffff8; border: 1px solid var(--line); border-radius: 8px; }
.browser-toolbar input { flex: 1; width: 0; border: 0; border-radius: 8px; background: transparent; padding: 9px 12px; font-size: 12px; }
.toolbar-button { background: transparent; color: var(--olive); font-size: 11px; padding: 6px; white-space: nowrap; }
.browser-status { margin: 0; padding: 10px; font-size: 12px; text-align: center; }
#site-frame { flex: 1; width: 100%; border: 0; background: white; }
@media (min-width: 1500px) { .landing { margin-top: 85px; } }
@media (max-width: 800px) {
	.site-header { padding: 0 24px; height: 88px; }
	.landing { margin-top: 42px; }
	h1 { letter-spacing: -2.8px; }
	.shortcut-grid { grid-template-columns: repeat(2, 1fr); }
	.shortcut { padding: 19px; }
	.settings-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 25px; }
	.settings-intro h1 { font-size: 46px; }
	.settings-intro > p { max-width: none; }
	.settings-intro .local-note { display: none; }
}
@media (max-width: 480px) {
	.site-header { padding: 0 20px; }
	.brand { font-size: 20px; }
	.brand img { width: 28px; height: 28px; margin-right: 7px; }
	.cloak-button { display: none; }
	.settings-link { padding: 10px 13px; }
	.landing { width: calc(100% - 36px); margin-top: 36px; }
	h1 { font-size: 52px; letter-spacing: -2.5px; }
	.hero-description { font-size: 13px; margin-bottom: 28px; }
	.search-form { padding: 7px 7px 7px 14px; gap: 10px; }
	.search-form input { font-size: 13px; }
	.go-label { display: none; }
	.go-button { padding: 14px; }
	.search-underneath { font-size: 10px; }
	.section-label > span { display: none; }
	.shortcut { padding: 18px 11px; gap: 8px; }
	.shortcut small { font-size: 9px; }
	.site-footer { flex-wrap: wrap; padding: 23px 20px; gap: 15px; font-size: 10px; }
	.connection-status { order: 3; width: 100%; justify-content: center; }
	.landing-note { font-size: 12px; gap: 10px; }
	.settings-card { padding: 20px; }
	.transport-options { grid-template-columns: 1fr; }
	.save-row { align-items: flex-start; flex-direction: column-reverse; gap: 5px; }
	.save-row .primary-button { width: 100%; }
	.back-link { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
