:root {
  color-scheme: light;
  --ar17-bg: #fff;
  --ar17-panel: #fff;
  --ar17-soft: #f4f6f8;
  --ar17-ink: #151a21;
  --ar17-muted: #596577;
  --ar17-line: #e3e8ee;
  --ar17-lime: #206558;
  --ar17-blocks: #aa4214;
  --ar17-width: 1080px;
  --ar17-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ar17-wrap {
  width: min(var(--ar17-width), calc(100% - 56px));
  margin-inline: auto;
}

.ar17-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--ar17-ink);
  background: #f2f3f5;
  border-bottom: 1px solid #dce2e9;
  font-family: var(--ar17-ui);
}

.ar17-masthead {
  min-height: 54px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
}

.ar17-wordmark {
  width: max-content;
  color: var(--ar17-ink);
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 3px;
  text-decoration: none;
  align-items: flex-start;
}
.ar17-wordmark > span {
  display: inline-flex;
  align-items: flex-start;
  font-size: 29px;
  font-weight: 850;
  letter-spacing: -.09em;
  line-height: .9;
}
.ar17-wordmark-number { font-weight: 490; }
.ar17-wordmark i {
  background: #22816d;
  width: 5px;
  height: 5px;
  margin: 3px 0 0 5px;
  border-radius: 50%;
}
.ar17-wordmark small {
  color: var(--ar17-muted);
  font-size: 6px;
  font-weight: 720;
  letter-spacing: .19em;
  line-height: 1;
}
.ar17-visitors {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-self: end;
  min-width: 0;
  max-width: 100%;
  font-size: 11px;
  color: var(--ar17-muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  background: #fff;
}
.ar17-visitor-label,
.ar17-visitor-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 10px;
  min-width: 0;
}
.ar17-visitor-label {
  align-items: center;
  white-space: nowrap;
}
.ar17-visitor-stat {
  border-inline-start: 1px solid var(--ar17-line);
}
.ar17-visitor-stat > span { white-space: nowrap; }
.ar17-visitors strong {
  color: var(--ar17-ink);
  font-weight: 720;
  overflow-wrap: anywhere;
}
.ar17-visitor-total strong { color: var(--ar17-lime); }
.ar17-visitor-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: #22816d; }

.ar17-language-switch {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(28px, 1fr));
  gap: 2px;
  padding: 2px;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
}

.ar17-language-switch a {
  display: grid;
  place-items: center;
  min-height: 29px;
  padding-inline: 4px;
  border-radius: 5px;
  color: var(--ar17-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 670;
  line-height: 1;
}

.ar17-language-switch a:hover,
.ar17-language-switch a[aria-current="page"] {
  color: var(--ar17-lime);
  background: #e2f1ec;
}

.ar17-quotes {
  min-height: 33px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.ar17-quote {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ar17-muted);
  text-decoration: none;
  white-space: nowrap;
}
.ar17-quote strong { color: var(--ar17-ink); font-weight: 720; }
.ar17-quote:hover strong { color: var(--ar17-lime); }

.ar17-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  white-space: nowrap;
  padding-block: 8px;
  border-top: 1px solid #dce2e9;
  scrollbar-width: none;
}
.ar17-nav::-webkit-scrollbar { display: none; }
.ar17-nav a {
  flex: none;
  padding: 6px 11px;
  border-radius: 7px;
  color: var(--ar17-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 640;
  line-height: 1.2;
}
.ar17-nav a:first-child { margin-left: 1px; }
.ar17-nav a:hover,
.ar17-nav a[aria-current="page"] { color: var(--ar17-ink); background: #e4e7eb; }
.ar17-nav a[href*="category=blocks"] { color: var(--ar17-blocks); }
.ar17-nav a[href*="category=blocks"][aria-current="page"] { background: #f8e6da; }

.ar17-header a:focus-visible,
.ar17-footer a:focus-visible {
  outline: 2px solid var(--ar17-lime);
  outline-offset: 2px;
}
.ar17-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.ar17-skip:focus {
  position: fixed;
  z-index: 11;
  left: 12px;
  top: 12px;
  padding: 12px 16px;
  background: #e2f1ec;
  color: var(--ar17-ink);
}

.ar17-footer {
  color: var(--ar17-muted);
  border-top: 1px solid var(--ar17-line);
  padding-block: 16px 28px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.ar17-footer .ar17-wordmark > span { font-size: 23px; }
.ar17-footer-top { margin-left: auto; color: var(--ar17-muted); text-decoration: none; }
.ar17-footer small { font-size: 11px; }

@media(max-width: 580px) {
  .ar17-wrap { width: calc(100% - 28px); }
  .ar17-masthead { gap: 8px; }
  .ar17-visitors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 10px;
  }
  .ar17-visitor-label { display: none; }
  .ar17-visitor-stat {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 4px 7px;
    text-align: center;
  }
  .ar17-visitor-stat strong { max-width: 100%; font-size: 12px; }
  .ar17-visitor-stat > span {
    white-space: normal;
    text-wrap: balance;
  }
  .ar17-visitor-label + .ar17-visitor-stat { border-inline-start: 0; }
  .ar17-nav {
    width: auto;
    margin-inline: 0;
    padding-inline: 13px;
  }
  .ar17-nav a:first-child { margin-left: 0; }
  .ar17-nav a { font-size: 12px; padding-inline: 9px; }
}
@media(max-width: 350px) {
  .ar17-quotes { gap: 8px; font-size: 10.5px; }
  .ar17-quote { gap: 4px; }
  .ar17-masthead { gap: 7px; }
  .ar17-visitor-stat { padding-inline: 3px; }
  .ar17-language-switch { grid-template-columns: repeat(2, minmax(23px, 1fr)); }
  .ar17-language-switch a { padding-inline: 2px; }
  .ar17-nav a { font-size: 11.5px; padding-inline: 7px; }
}

.quote-date { color: var(--ar17-muted); font-size: 9px; }
.quote-date:empty { display: none; }
.quote-stale strong { color: var(--ar17-muted); }

@media (min-width: 351px) and (max-width: 580px) {
  .ar17-nav { gap: 2px; }
  .ar17-nav a { padding-inline: 6px; }
}
