/* Orblies field notes and community documents. */
:root,
:root[data-theme="dark"] {
  --bg: #090d14;
  --panel: #111820;
  --card: #111820;
  --ink: #f3f6f9;
  --muted: #95a1ae;
  --dim: #95a1ae;
  --line: #25303c;
  --accent: #b6f36a;
  --violet: #b6f36a;
  --violet-soft: #203024;
  --gold: #efc77b;
  --gold-soft: #28241d;
  --mint: #88dcd6;
  --mint-soft: #192e30;
  --coral: #ff9c90;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --r: 18px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f6f0;
  --panel: #ffffff;
  --card: #ffffff;
  --ink: #17231c;
  --muted: #5e6c62;
  --dim: #5e6c62;
  --line: #d8e0d7;
  --accent: #387416;
  --violet: #387416;
  --violet-soft: #e6f0dc;
  --gold: #805816;
  --gold-soft: #f6eedc;
  --mint: #256d68;
  --mint-soft: #e3f1ee;
  --coral: #a6433c;
  color-scheme: light;
}
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); font-size: 15px; line-height: 1.7; }
body::before { content: ""; pointer-events: none; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 0%, #b6f36a0a, transparent 48%); }
::selection { background: #b6f36a; color: #090d14; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
a { text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.04em; }
.guide-page { padding-inline: 28px; padding-bottom: 64px; }
.wrap { max-width: 1280px; }
.sitebar { background: #090d14ed; margin-inline: -28px; padding-inline: 28px; border-color: #25303c; backdrop-filter: blur(18px); color: #f3f6f9; }
.sitebar .in { max-width: 1280px; height: 84px; gap: 28px; }
.sitebar .logo { font-family: var(--display); }
.sitebar .logo img.brand { height: 50px; }
.sitebar nav { gap: 30px; }
.sitebar nav a { font-weight: 500; font-size: .82rem; color: #95a1ae; }
.sitebar nav a:hover, .sitebar nav a[aria-current] { color: #b6f36a; }
.sitebar .mode { width: 38px; height: 38px; border: 1px solid #25303c; border-radius: 10px; background: #111820; color: #95a1ae; }
.sitebar .mode:hover { color: #b6f36a; border-color: #b6f36a; }
.sitebar .play { font: 600 .84rem var(--body); border-radius: 8px; color: #10180b; background: #b6f36a; padding: 13px 20px; box-shadow: none; transition: background .2s, transform .2s; }
.sitebar .play:hover { background: #c9ff86; transform: translateY(-2px); }
.guide-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.guide-intro a { text-decoration: none; color: var(--muted); }
.guide-intro a:hover { color: var(--accent); }
.guide-intro span:last-child { display: flex; align-items: center; gap: 8px; }
.guide-intro span:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
header.top { gap: 28px 36px; padding-block: 26px 36px; border-bottom: 1px solid var(--line); }
header.top .brand { flex: 1 1 560px; gap: 22px; }
.brand .faces { width: 100px; flex: none; }
.brand .faces img { width: 52px; height: 52px; margin-right: -25px; }
.brand h1 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); font-weight: 600; letter-spacing: -.06em; margin-left: 0; }
.brand p { color: var(--muted); font-size: .85rem; font-weight: 400; margin: 10px 0 0; }
.search { flex: 1 1 270px; max-width: 350px; }
.search input { font: 400 .84rem var(--body); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px 16px 44px; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #b6f36a12; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search svg { width: 16px; height: 16px; }
.grid { grid-template-columns: 235px minmax(0, 1fr); gap: 38px; padding-top: 34px; }
nav.tabs { counter-reset: guides; gap: 5px; padding-right: 22px; border-right: 1px solid var(--line); }
nav.tabs::before { content: "EXPLORE THE GUIDE"; font: 600 .62rem var(--body); letter-spacing: .14em; color: var(--muted); padding: 0 12px 14px; }
nav.tabs button { position: relative; counter-increment: guides; font: 500 .8rem var(--body); padding: 12px 10px; border: 1px solid transparent; border-radius: 9px; gap: 9px; transition: color .2s, background .2s, border-color .2s; }
nav.tabs button .ic { width: 25px; height: 25px; }
nav.tabs button span { flex: 1; }
nav.tabs button::after { content: counter(guides, decimal-leading-zero); font: 400 .56rem var(--body); color: var(--muted); opacity: .65; }
nav.tabs button[aria-selected="true"] { border-color: #b6f36a36; color: var(--accent); background: var(--violet-soft); }
section.page > h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; gap: 12px; }
.lede { font-size: .94rem; font-weight: 400; line-height: 1.8; margin-top: 12px; margin-bottom: 28px; }
.cards { gap: 16px; }
.card { border: 1px solid var(--line); background: var(--panel); padding: 24px; border-radius: 14px; }
.card h3 { font: 500 1.12rem var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.card p, .card li { font-size: .87rem; line-height: 1.8; color: var(--muted); }
.card b, .card strong { color: var(--ink); font-weight: 600; }
.card .where { font-size: .75rem; padding-top: 12px; margin-top: 16px; border-top: 1px solid var(--line); }
.card.wide:first-child { background: linear-gradient(115deg, var(--panel), var(--violet-soft)); }
.steps li { margin-block: 16px; padding-left: 43px; }
.steps li::before { width: 27px; height: 27px; border-radius: 7px; color: #17230c; background: #b6f36a; font: 600 .75rem/27px var(--body); }
.tip { border: 1px solid #efc77b22; font-size: .81rem; padding: 13px 15px; }
kbd { font: 500 .75rem var(--body); border-width: 1px 1px 3px; border-radius: 5px; padding: 3px 7px; }
.tag { font: 600 .61rem var(--body); letter-spacing: .08em; padding: 5px 8px; border-radius: 5px; }
table { font-size: .81rem; }
th { font: 500 .73rem var(--body); padding-block: 12px; }
td { padding-block: 11px; }
mark { background: #b6f36a; color: #162109; }
.empty { margin-top: 25px; border: 1px dashed var(--line); border-radius: 14px; font-size: .9rem; font-weight: 400; }
.guide-footer { max-width: 1280px; margin: 52px auto 0; border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .72rem; }
.guide-footer a { color: var(--muted); text-decoration: none; }
.guide-footer a:hover { color: var(--accent); }
.legal-page { font: 15px/1.85 var(--body); padding-inline: 24px; }
.legal-page header { max-width: 900px; padding-block: 28px; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.legal-page header img { height: 52px; }
.legal-page header a.back { font-size: .78rem; font-weight: 500; }
.legal-page main { max-width: 900px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 42px clamp(24px, 5vw, 64px) 50px; }
.legal-page main::before { content: "ORBLIES / COMMUNITY"; display: block; color: var(--accent); font-size: .66rem; font-weight: 600; letter-spacing: .15em; margin-bottom: 22px; }
.legal-page h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; margin-bottom: 18px; }
.legal-page h2 { font-family: var(--display); color: var(--ink); font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-page .date { font-weight: 400; font-size: .74rem; color: var(--muted); margin-bottom: 28px; }
.legal-page p, .legal-page li { color: var(--muted); max-width: 76ch; }
.legal-page b { color: var(--ink); font-weight: 500; }
.legal-page a { color: var(--accent); }
.legal-page footer { max-width: 900px; margin-inline: auto; font-size: .7rem; line-height: 1.9; }
@media (max-width: 1020px) {
  .sitebar nav { gap: 18px; }
  header.top .brand { flex-basis: 500px; }
  .search { max-width: none; }
  .grid { gap: 24px; grid-template-columns: 205px minmax(0, 1fr); }
  nav.tabs { padding-right: 12px; }
}
@media (max-width: 820px) {
  .guide-page { padding-inline: 20px; }
  .sitebar { margin-inline: -20px; padding-inline: 20px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 12px; }
  nav.tabs { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 20px; margin-inline: -20px; gap: 6px; background: var(--bg); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  nav.tabs::before { display: none; }
  nav.tabs button { padding: 9px 12px; font-size: .75rem; }
  nav.tabs button::after { display: none; }
  nav.tabs button .ic { width: 22px; height: 22px; }
  .guide-intro { padding-top: 28px; font-size: .59rem; letter-spacing: .1em; }
  header.top { padding-top: 24px; padding-bottom: 26px; }
  header.top .brand { gap: 12px; }
  .brand .faces { width: 88px; }
  .brand .faces img { width: 44px; height: 44px; margin-right: -22px; }
  .brand p { font-size: .77rem; }
  .guide-footer { flex-direction: column; gap: 8px; }
}
@media (max-width: 500px) {
  .sitebar .in { height: 74px; gap: 12px; }
  .sitebar .logo img.brand { height: 40px; }
  .sitebar .play { padding: 12px; font-size: .72rem; }
  .sitebar .mode { width: 34px; height: 34px; }
  .brand .faces { display: none; }
  .brand h1 { font-size: 2.2rem; }
  .guide-intro { gap: 10px; }
  .card { padding: 21px; }
  .legal-page { padding-inline: 16px; }
  .legal-page header { padding-block: 18px; gap: 20px; }
  .legal-page header img { height: 40px; }
  .legal-page header a.back { font-size: .7rem; }
  .legal-page main { padding-top: 30px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
