@charset "UTF-8";
.global-footer .back-to-top:focus-visible{outline:3px solid #ffd36d;outline-offset:4px}
/* Visitor tools adapted from the 0-37.com footer. */
.visitor-footer {
  --footer-accent: #ffd36d;
  --footer-font: "Segoe UI", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  position: relative;
  isolation: isolate;
  width: 100%;
  border-top: 1px solid #ffffff18;
  background: #0c0c10;
  color: #f7f5f1;
  font-family: var(--footer-font);
  text-align: left;
}
/* Static contour lines and a fine dot field stay behind the footer controls. */
.visitor-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 88% 0%, #ffd36d10, transparent 60%),
    repeating-radial-gradient(ellipse at 112% -18%, transparent 0 22px, #ffd36d10 23px 24px, transparent 25px 44px),
    radial-gradient(#ffffff0d .7px, transparent 1px);
  background-size: auto, auto, 14px 14px;
}
.visitor-footer-inner, .visitor-footer .footer-tool-status {
  position: relative;
  z-index: 1;
}
.visitor-footer *, .back-to-top { box-sizing: border-box; }
.visitor-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 76rem;
  min-height: 84px;
  margin-inline: auto;
  padding: 15px clamp(16px, 3.5vw, 56px);
}
.visitor-footer-inner > * { min-width: 0; }
.visitor-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #c5c1cb;
  font-size: .875rem;
}
.visitor-stat-label, .visitor-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  max-width: 100%;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  padding: 6px 9px;
  background: #ffffff0d;
  color: inherit;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}
.visitor-stat-label {
  border-color: transparent;
  padding-left: 0;
  background: transparent;
  color: #fff;
}
.visitor-footer svg, .back-to-top svg {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.visitor-stat-label svg { color: var(--footer-accent); }
.visitor-stat-primary {
  min-height: 44px;
  border-color: #ffd36d75;
  background: #ffd36d1a;
}
.visitor-stat-primary:hover { border-color: var(--footer-accent); background: #ffd36d26; }
.visitor-stat strong {
  min-width: 1ch;
  color: #fff;
  font-size: inherit;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.visitor-stats.is-unavailable .visitor-stat { opacity: .65; }
.visitor-footer .visitor-footer-note {
  margin: 0;
  color: #f7f5f1;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.visitor-footer-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 3px;
  color: var(--footer-accent);
  text-underline-offset: 4px;
}
.footer-language {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: #fff;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.4;
}
.footer-language-icon {
  display: grid;
  flex: 0 0 31px;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #ffd36d70;
  border-radius: 8px;
  background: #ffd36d1a;
  color: var(--footer-accent);
}
.footer-language label { margin: 0; color: inherit; font: inherit; white-space: nowrap; }
.footer-language-control { position: relative; display: block; min-width: 0; }
.footer-language select {
  display: block;
  width: 150px;
  max-width: 100%;
  min-height: 44px;
  appearance: none;
  border: 1px solid #ffffff3d;
  border-radius: 10px;
  background: #ffffff0d;
  color: #fff;
  font: 800 .9375rem/1.4 var(--footer-font);
  padding: 9px 34px 9px 12px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.footer-language select:hover { border-color: var(--footer-accent); background: #ffffff16; }
.footer-language-control > svg {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--footer-accent);
  pointer-events: none;
}
.footer-language option { background: #18181e; color: #fff; }
.visitor-footer a:focus-visible, .footer-language select:focus-visible, .back-to-top:focus-visible {
  outline: 3px solid #ffd36d;
  outline-offset: 4px;
}
.footer-language select:focus-visible { border-color: var(--footer-accent); box-shadow: 0 0 0 3px #ffd36d38; }
#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.visitor-footer .footer-tool-status {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 56px) 12px;
  color: #c5c1cb;
  font-size: .8125rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.visitor-footer .footer-tool-status:empty { display: none; }
.back-to-top {
  position: fixed;
  z-index: 80;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid #ffd36d8c;
  border-radius: 12px;
  padding: 10px 12px;
  background: #18181ef2;
  color: #fff;
  font: 800 .9375rem/1.4 "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  box-shadow: 0 12px 30px #0007;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top:hover, .back-to-top:focus-visible { background: #29282f; }
.back-to-top svg { color: #ffd36d; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.back-to-top[hidden] { display: none; }
/* Google supplies the translated text; the footer supplies its accessible control. */
.footer-translation-active .goog-te-banner-frame,
.footer-translation-active .skiptranslate > iframe,
.footer-translation-active > body > .skiptranslate { display: none !important; }
.footer-translation-active > body { top: 0 !important; }
/* The statistics page shows the same five validated values as the common footer. */
.visit-stats-section { min-width: 0; }
.visit-stats-page { min-height: min(72svh, 42rem); padding-block: clamp(2.5rem, 7vw, 5rem); }
.visit-stats-title { margin-top: .5rem; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.2; }
.visit-stats-lead { margin-top: .65rem; color: var(--muted); }
.visit-stats-unavailable { color: var(--accent); }
.visit-stats-home { margin-top: 1.5rem; }
.visit-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 32px 0;
}
.visit-stats-item {
  min-width: 0;
  border: 1px solid #393640;
  border-top: 3px solid #ffd36d;
  padding: clamp(16px, 2vw, 28px);
  border-radius: .7rem;
  background: var(--surface);
  color: var(--text);
}
.visit-stats-item:first-child { border-color: #55483a; border-top-color: #ffd36d; background: #292218; color: #fff; }
.visit-stats-item dt { margin: 0; font-size: .875rem; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.visit-stats-item:first-child dt { color: #ffd36d; }
.visit-stats-item dd {
  min-width: 0;
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 2.6vw, 3rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.visit-stats-note { margin-top: 24px; background: #1f1d24; padding: clamp(1rem, 4vw, 1.5rem); border: 1px solid var(--line); border-radius: .7rem; line-height: 1.75; }
.visit-stats-note h2 { margin-bottom: .4rem; font-size: 1.15rem; }
.visit-stats-note p + p { margin-top: .35rem; }
@media (max-width: 1023px) { .visit-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1199px) {
  .visitor-footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; }
  .visitor-stats { grid-column: 1 / -1; }
  .visitor-footer .visitor-footer-note { text-align: left; }
}
@media (max-width: 620px) {
  .visit-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 24px; }
  .visit-stats-item:first-child { grid-column: 1 / -1; }
  .visitor-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 18px; }
  .visitor-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visitor-stat-label { grid-column: 1 / -1; }
  .visitor-stat { justify-content: space-between; min-height: 44px; padding-inline: 9px; }
  .footer-language { justify-self: start; justify-content: flex-start; max-width: 100%; min-height: 44px; }
  .footer-language-control { flex: 1 1 auto; }
  .footer-language select { width: 160px; }
  .back-to-top { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); min-width: 44px; min-height: 44px; }
  .back-to-top span { display: none; }
}
@media (max-width: 359px) {
  .visit-stats-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .footer-language select, .back-to-top { transition: none; }
}
@media print { .visitor-footer, .back-to-top { display: none !important; } }
