section.geopinger {
  max-width: 100%;
  width: 50em;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--section-top-gap) auto 0;
  gap: var(--h-gap-content);
  position: relative;
}
section.geopinger h1,
section.geopinger h2 {
  text-align: center;
}
section.geopinger > .input {
  width: 100%;
  display: flex;
}
section.geopinger > .input input {
  flex: 1;
}
section.geopinger > .selectors {
  align-self: start;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 7em);
  gap: calc(2 * var(--h-gap-content-small)) var(--gap-micro);
  justify-content: start;
}
section.geopinger > .selectors > .selector {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  gap: var(--gap-micro);
}
section.geopinger > .selectors::after {
  content: "";
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  border-top: 1px solid var(--table-border);
}
section.geopinger .crawlers {
  position: relative;
}
section.geopinger .crawlers > div {
  grid-column: 1 / 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + var(--gap-micro));
  cursor: pointer;
  pointer-events: none;
  z-index: 10;
}
section.geopinger .crawlers > div::after {
  position: absolute;
  content: "";
  top: 1rem;
  right: min(1rem, 20%);
  transform: translate(50%, -30%);
  border: 0.25rem solid transparent;
  border-top-color: var(--header-bg);
  border-top-width: 0.4rem;
}
section.geopinger .crawlers > div::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: calc(100% - var(--gap-micro));
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  width: min(2rem, 40%);
  pointer-events: all;
  background-color: rgba(0, 0, 0, 0.15);
}
section.geopinger .crawlers > div:has(div:empty)::before {
  content: none;
}
section.geopinger .crawlers > div > div {
  position: absolute;
  left: -3px;
  top: calc(100% - 1px);
  min-width: calc(100% + 6px);
  padding: 3px;
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: 100%;
  gap: var(--gap-micro);
  background-color: var(--header-bg);
  box-shadow: var(--shadow);
  visibility: hidden;
  scale: 1 0;
  transform-origin: top center;
  transition: scale 250ms,
                    visibility 500ms;
}
section.geopinger .crawlers > div > div:empty {
  display: none;
}
section.geopinger .crawlers > div.open,
section.geopinger .crawlers > div:focus-within {
  pointer-events: all;
}
section.geopinger .crawlers > div.open > div,
section.geopinger .crawlers > div:focus-within > div {
  visibility: visible;
  scale: 1;
}
section.geopinger .crawlers > button:first-child:has( + div > div:not(:empty)) {
  padding-right: min(2rem, 40%);
}
section.geopinger .crawlers > button:first-child:has( + div > div:not(:empty)):not(.active) + div::before {
  background-color: color(from var(--input-border) srgb r g b / 0.7);
  border-left: 1px solid var(--input-border);
}
section.geopinger .crawlers > button:first-child:has( + div > div:not(:empty)):not(.active) + div::after {
  border-top-color: var(--font-main);
}
section.geopinger button {
  outline: none;
  line-height: 1.75rem;
  padding: 0 0.25em;
  color: var(--font-main);
  border: 1px solid var(--input-border);
  background-color: var(--header-bg);
  white-space: nowrap;
  outline-offset: 0;
}
section.geopinger button:focus {
  outline: 1px solid var(--input-border-hovered);
}
section.geopinger button.active {
  color: var(--header-bg);
  background-color: var(--button-color);
  border-color: var(--button-color);
  outline-offset: 2px;
}
section.geopinger button[disabled] {
  color: var(--text-disabled);
}
section.geopinger > .result {
  width: 100%;
}
section.geopinger > .result > .setup {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-micro) 1ch;
  margin-bottom: var(--h-gap-content);
}
section.geopinger > .result > .setup:empty {
  display: none;
}
section.geopinger > .result > .setup tag-area {
  flex: 1;
  background-color: var(--header-bg);
  --tag-bg: var(--button-color);
  --line-height: 2;
  border: 1px solid var(--input-border);
  border-radius: 0.25em;
}
section.geopinger > .result > .setup tag-area:focus-within {
  outline: 1px solid var(--input-border-hovered);
  outline-offset: 0;
}
section.geopinger > .result > .setup label {
  width: 100%;
  padding: 0;
  display: flex;
  gap: 0.5ch;
  align-items: center;
}
section.geopinger > .result table {
  width: 100%;
  overflow-x: clip;
  border-collapse: collapse;
  border-spacing: 0;
  display: grid;
  line-height: 1.2rem;
  padding-top: var(--h-gap-content);
}
section.geopinger > .result table[data-table="http"] {
  grid-template-columns: minmax(min-content, max-content) repeat(3, 1fr);
}
section.geopinger > .result table[data-table="http"].narrow {
  grid-template-columns: minmax(min-content, max-content) repeat(2, 1fr);
}
section.geopinger > .result table[data-table="http"].narrow tr :first-child {
  grid-row: span 2;
}
section.geopinger > .result table[data-table="http"].narrow tr :last-child {
  grid-column: span 2;
}
section.geopinger > .result table[data-table="http"].small {
  grid-template-columns: minmax(min-content, max-content) 1fr;
}
section.geopinger > .result table[data-table="http"].small tr :first-child {
  grid-row: span 3;
}
section.geopinger > .result table[data-table="http"].small tr :last-child {
  grid-column: span 1;
}
section.geopinger > .result table[data-table="ping"] {
  grid-template-columns: minmax(min-content, max-content) repeat(3, 1fr);
}
section.geopinger > .result table[data-table="ping"].narrow {
  grid-template-columns: minmax(min-content, max-content) repeat(2, 1fr);
}
section.geopinger > .result table[data-table="ping"].narrow tr :first-child,
section.geopinger > .result table[data-table="ping"].narrow tr :nth-child(2) {
  grid-row: span 2;
}
section.geopinger > .result table[data-table="ping"].small {
  grid-template-columns: minmax(min-content, max-content) 1fr;
}
section.geopinger > .result table[data-table="ping"].small tr :first-child {
  grid-row: span 3;
}
section.geopinger > .result table[data-table="ping"].small tr :nth-child(2) {
  grid-row: span 1;
}
section.geopinger > .result table[data-table="netcat"] {
  grid-template-columns: minmax(min-content, max-content) repeat(var(--params), 1fr) 1fr;
}
section.geopinger > .result table[data-table="netcat"].narrow {
  grid-template-columns: minmax(min-content, max-content) repeat(2, 1fr);
}
section.geopinger > .result table[data-table="netcat"].narrow tr :first-child {
  grid-row: span round(up, var(--params) / 2 + 1, 1);
}
section.geopinger > .result table[data-table="netcat"].narrow tr :nth-last-child(2):nth-child(even) {
  grid-column: span 2;
}
section.geopinger > .result table[data-table="netcat"].narrow tr :last-child {
  grid-column: span 2;
}
section.geopinger > .result table[data-table="netcat"].small {
  grid-template-columns: minmax(min-content, max-content) 1fr;
}
section.geopinger > .result table[data-table="netcat"].small tr :first-child {
  grid-row: span calc(var(--params) + 1);
}
section.geopinger > .result table[data-table="netcat"].small tr :nth-last-child(2):nth-child(even) {
  grid-column: span 1;
}
section.geopinger > .result table[data-table="netcat"].small tr :last-child {
  grid-column: span 1;
}
section.geopinger > .result table[data-table="dns"] {
  grid-template-columns: minmax(min-content, max-content) repeat(var(--params), 1fr);
}
section.geopinger > .result table[data-table="dns"].narrow {
  grid-template-columns: minmax(min-content, max-content) repeat(2, 1fr);
}
section.geopinger > .result table[data-table="dns"].narrow tr :first-child {
  grid-row: span round(up,var(--params) / 2, 1);
}
section.geopinger > .result table[data-table="dns"].narrow tr :last-child:nth-child(even) {
  grid-column: span 2;
}
section.geopinger > .result table[data-table="dns"].small {
  grid-template-columns: minmax(min-content, max-content) 1fr;
}
section.geopinger > .result table[data-table="dns"].small tr :first-child {
  grid-row: span var(--params);
}
section.geopinger > .result table[data-table="dns"].small tr :last-child:nth-child(even) {
  grid-column: span 1;
}
section.geopinger > .result table[data-table="plain"] {
  grid-template-columns: minmax(max-content, 1fr) 2fr;
}
section.geopinger > .result table[data-table="plain"] th {
  justify-content: end;
}
section.geopinger > .result table[data-table="plain"] tbody {
  border-top: 1px solid var(--table-border);
}
section.geopinger > .result table.narrow:not([data-table="http"]):not([data-table="ping"]) .place,
section.geopinger > .result table.small .place {
  align-items: start;
}
section.geopinger > .result table.narrow:not([data-table="http"]):not([data-table="ping"]) .place div,
section.geopinger > .result table.small .place div {
  position: sticky;
  top: calc(var(--header-height) + var(--h-gap-content-small) + var(--thead) + 0.25em);
}
section.geopinger > .result table.tiny .place div {
  padding-left: 0;
}
section.geopinger > .result table.tiny .place img {
  display: none;
}
section.geopinger > .result caption {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9em;
  gap: var(--h-gap-content-small) 0.5ch;
  align-items: end;
}
section.geopinger > .result caption h3 {
  grid-column: 1 / -1;
  text-align: center;
  line-height: 2rem;
}
section.geopinger > .result caption h3 span {
  color: var(--link-color);
  white-space: nowrap;
}
section.geopinger > .result caption > span {
  grid-column: -2 / -1;
  font-size: 1rem;
  line-height: 1rem;
  padding-right: 1px;
  text-align: right;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
section.geopinger > .result caption > span:empty {
  visibility: hidden;
  height: 1rem;
}
section.geopinger > .result caption a {
  position: relative;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-table-header);
  text-align: left;
  padding-left: 1px;
  text-wrap: balance;
  z-index: 2;
}
section.geopinger > .result caption a:hover {
  color: var(--red-accent);
}
section.geopinger > .result caption a:not([href]) {
  visibility: hidden;
}
section.geopinger > .result thead,
section.geopinger > .result tbody,
section.geopinger > .result tr {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
}
section.geopinger > .result thead {
  border-left: 1px solid var(--table-border);
  border-top: 1px solid var(--table-border);
  background-color: var(--content-bg);
  position: sticky;
  top: calc(var(--header-height) + var(--h-gap-content-small));
  z-index: 1;
}
section.geopinger > .result thead::before {
  content: "";
  position: absolute;
  left: -1px;
  bottom: calc(100% + 1px);
  width: calc(100% + 1px);
  height: var(--h-gap-content-small);
  background-color: var(--content-bg);
}
section.geopinger > .result tbody {
  border-left: 1px solid var(--table-border);
}
section.geopinger > .result tr {
  min-height: 2rem;
}
section.geopinger > .result th,
section.geopinger > .result td {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-right: 1px solid var(--table-border);
  border-bottom: 1px solid var(--table-border);
  min-height: 1.5rem;
}
section.geopinger > .result th {
  font-size: 75%;
  color: var(--text-table-header);
  font-weight: normal;
}
section.geopinger > .result th span {
  margin-left: 0.5ch;
}
section.geopinger > .result th[data-sorted] {
  cursor: pointer;
}
section.geopinger > .result th[data-sorted]::after {
  content: "\21c5";
  margin-left: 1ch;
}
section.geopinger > .result th[data-sorted]:hover::after {
  color: var(--red-accent);
}
section.geopinger > .result th[data-sorted="up"]::after {
  content: "\1f851";
}
section.geopinger > .result th[data-sorted="down"]::after {
  content: "\1f853";
}
section.geopinger > .result tbody tr:nth-child(odd) {
  background-color: var(--table-zebra);
}
section.geopinger > .result tbody td.ip {
  min-width: 8em;
}
section.geopinger > .result .place div {
  position: relative;
  padding-left: 1.5em;
}
section.geopinger > .result .place img {
  position: absolute;
  left: 0.5em;
  top: 0.55em;
  width: 1.5em;
  height: 1.25em;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  object-position: 0% 50%;
}
section.geopinger > .result .place img[data-ccode="in"],
section.geopinger > .result .place img[data-ccode="kg"] {
  object-position: 50% 50%;
}
section.geopinger > .result .place img[data-ccode="kz"] {
  object-position: 58% 50%;
}
section.geopinger > .result .data:empty {
  position: relative;
}
section.geopinger > .result .data:empty::before,
section.geopinger > .result .data:empty::after {
  content: "";
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  top: 50%;
  border-radius: 50%;
  transform-origin: center;
  background-color: var(--button-color);
  animation: throbber 1s linear infinite alternate;
}
section.geopinger > .result .data:empty::after {
  opacity: 0.3;
  animation-delay: 25ms;
}
section.geopinger > .result .bad::before,
section.geopinger > .result .good::before,
section.geopinger > .result .medi::before {
  display: inline-block;
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  margin-right: 0.5ch;
}
section.geopinger > .result .bad::before {
  background-color: var(--button-color-alert);
}
section.geopinger > .result .good::before {
  background-color: var(--button-green);
}
section.geopinger > .result .medi::before {
  background-color: var(--button-color);
}
.modal {
  cursor: default;
}
.sitereport {
  width: 100%;
  max-width: 375px;
  max-height: 100dvh;
  background-color: var(--header-bg);
  border-radius: var(--border-radius);
  box-shadow: 1px 2px 6px 0 rgba(0, 0, 0, 0.25);
  padding: 1rem;
  overflow: auto;
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  gap: 0.75em;
  animation: showup 250ms ease-out;
}
.sitereport h2 {
  font-size: 1.5rem;
  text-align: center;
}
.sitereport button {
  cursor: pointer;
}
@keyframes throbber {
  0% {
    left: 0;
    transform: translate(0%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(2, 1);
  }
  100% {
    left: 100%;
    transform: translate(-100%, -50%) scale(1);
  }
}
@media (max-width: 600px) {
  section.geopinger > .selectors {
    align-self: stretch;
    grid-template-columns: repeat(4, 1fr);
  }
}
