/* mandarinbetgir.com - calm guide/newspaper tone, no animation. */
:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #1f1d1a;
  --muted: #57524a;
  --rule: #d9d3c7;
  --surface: #f2eee6;
  --accent: #9a3412;
  --accent-fg: #ffffff;
  --link: #8a2e0f;
  --focus: #1d4ed8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --fg: #ece8e1;
    --muted: #b5afa4;
    --rule: #3b3833;
    --surface: #211f1c;
    --accent: #fdba74;
    --accent-fg: #1a1208;
    --link: #fdba74;
    --focus: #93c5fd;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.site-header,
main,
.site-footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.site-name {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.site-header ul,
.site-footer ul {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-header li a,
.site-footer li a {
  display: inline-block;
  padding: 0.5rem 0;
}

main {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 1.75em 0 0.5em;
}

h1 {
  font-size: 2rem;
  margin-top: 0.5rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.dest,
.last-check {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
}

.last-check {
  color: var(--muted);
  font-size: 1rem;
}

.cta {
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  text-decoration: underline;
}

.cta-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 1rem;
}
