:root {
  color-scheme: light;
  --background: #ffffcc;
  --text: #000000;
  --muted: #555555;
  --accent: #ff00ff;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  cursor: url("assets/cursors/normal.png") 0 8, default;
}

a {
  cursor: url("assets/cursors/working.png") 0 8, progress;
}

::selection {
  color: var(--text);
  background: #fff2b3;
}

html.is-dragging,
html.is-dragging * {
  cursor: url("assets/cursors/working.png") 0 8, progress;
}

body {
  max-width: 680px;
  margin: 24px auto;
  padding: 0 12px;
  color: var(--text);
  background: var(--background);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.5;
}

.container {
  width: 100%;
  text-align: center;
}

.big-name {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.2;
  color: #0000ff;
}

.profile-subtitle { margin: 0 0 16px; }

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  margin: 0 auto;
  padding: 8px 20px;
  background: #eeeeee;
  border: 3px outset #dddddd;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0000ee;
}

.button:visited { color: #551a8b; }
.button:hover, .button:active { color: var(--accent); }
.button:focus-visible {
  outline: 2px dotted currentColor;
  outline-offset: 4px;
}

.button svg {
  width: 18px;
  height: 18px;
}

.research-text { margin: 24px 0; }

.travel-map {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
  cursor: url("assets/cursors/help-select.png") 0 8, help;
}

.travel-map img {
  display: block;
  width: 100%;
  height: auto;
}

.travel-suggestion {
  max-width: 380px;
  margin: 20px auto 0;
  font-size: 14px;
}

.suggestion-controls {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 6px;
  margin-top: 8px;
}

.suggestion-controls input,
.suggestion-controls textarea {
  min-width: 0;
  flex: 1;
  padding: 5px 7px;
  border: 2px inset #dddddd;
  background: #ffffee;
  color: var(--text);
  font: inherit;
  cursor: url("assets/cursors/text-select.png") 20 18, text;
}

.suggestion-controls textarea { resize: none; }
.suggestion-controls button { align-self: flex-end; }
.travel-suggestion h2 { margin: 0 0 12px; font-size: 18px; font-weight: normal; }
.travel-page { max-width: 1120px; }
.travel-home { display: block; width: fit-content; margin-bottom: 24px; }
.visited-map { margin: 0; }
.visited-map img { display: block; width: 100%; height: auto; }
.visited-map figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.visited-swatch { display: inline-block; width: 12px; height: 12px; margin-right: 6px; background: #afafff; border: 1px solid #777; vertical-align: -1px; }

.suggestion-controls button {
  padding: 5px 10px;
  border: 2px outset #dddddd;
  background: #eeeeee;
  color: #0000ee;
  font: inherit;
  cursor: url("assets/cursors/normal.png") 0 8, default;
}

.suggestion-controls button:active:not(:disabled) { border-style: inset; }
.suggestion-controls button:disabled { color: var(--muted); }
#travel-suggestion[aria-busy="true"],
#travel-suggestion[aria-busy="true"] * {
  cursor: url("assets/cursors/working.png") 0 8, progress;
}
.suggestion-controls :focus-visible { outline: 2px dotted #0000ee; outline-offset: 2px; }
.suggestion-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.local-time {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
}

.local-time time { font-variant-numeric: tabular-nums; }

.site-footer {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 3px ridge #cccccc;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.footer-quote {
  margin: 0;
  font-style: italic;
}

.footer-copyright { margin: 12px 0 0; }

@media (max-width: 600px) {
  body { margin: 20px auto; padding: 0 12px; }
}
