:root {
  background: #fff;
  color: #171717;
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: #171717;
  font-size: 1rem;
}

a {
  color: #075fbd;
  text-underline-offset: .14em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid #075fbd;
  outline-offset: 3px;
}

.skip-link {
  background: #fff;
  border: 1px solid #171717;
  left: 1rem;
  padding: .5rem .75rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-5rem);
  z-index: 1;
}

.skip-link:focus {
  transform: translateY(0);
}

.page,
.site-footer {
  margin-inline: auto;
  width: min(calc(100% - 2rem), 50rem);
}

.page {
  padding-top: 2.5rem;
}

.page--narrow {
  max-width: 30rem;
}

.page--form {
  max-width: 38rem;
}

.page > * {
  margin-block: 0;
}

.page > * + * {
  margin-top: 2rem;
}

h1,
h2,
p {
  margin-block: 0;
}

.page-header h1 {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.125rem;
}

code,
tt {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .9em;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.heading-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.site-name {
  overflow-wrap: anywhere;
}

.base-domain {
  color: #666;
  font-weight: 400;
}

.content-section > * {
  margin-block: 0;
}

.content-section > * + * {
  margin-top: 1rem;
}

.content-section > .visually-hidden + * {
  margin-top: 0;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  padding: .55rem .75rem;
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 600;
}

table.list thead th {
  border-bottom: 2px solid #171717;
}

table.list tbody td {
  border-bottom: 1px solid #b8b8b8;
}

table.list tbody tr:last-child td {
  border-bottom: 0;
}

table.list a:not(.visit) {
  text-decoration: none;
}

table.list a:not(.visit):hover {
  text-decoration: underline;
}

.title {
  width: 50%;
}

.rating {
  text-align: center;
  width: 8rem;
}

.count {
  text-align: center;
  width: 5rem;
}

table.dict {
  width: auto;
}

table.dict th {
  border-right: 1px solid #171717;
  padding: .3rem .75rem .3rem 0;
  text-align: right;
  white-space: nowrap;
}

table.dict td {
  overflow-wrap: anywhere;
  padding: .3rem 0 .3rem .75rem;
}

.visit {
  border: 1px solid #075fbd;
  border-radius: 3px;
  display: inline-block;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.35;
  margin-left: .4rem;
  padding: .05rem .35rem;
  text-decoration: none;
  vertical-align: .08em;
  white-space: nowrap;
}

.heading-row > .visit {
  margin-left: 0;
}

.vote-controls,
.page-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}

.vote-summary {
  font-size: 1.05rem;
}

.page-actions--center {
  flex-direction: column;
  gap: .5rem;
  text-align: center;
}

.page-actions p,
.secondary-action p {
  margin: 0;
}

.empty-state {
  color: #555;
  text-align: center;
}

form {
  margin: 0;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-stack > * {
  margin-block: 0;
}

.form-field > label,
.form-options legend {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
}

input:not([type="checkbox"]):not([type="hidden"]),
select {
  background: #fff;
  border: 1px solid #666;
  border-radius: 2px;
  color: #171717;
  display: block;
  font: inherit;
  min-height: 2.5rem;
  padding: .45rem .6rem;
  width: 100%;
}

input:not([type="checkbox"]):not([type="hidden"]):hover,
select:hover {
  border-color: #171717;
}

::placeholder {
  color: #777;
  opacity: 1;
}

button {
  background: #fff;
  border: 1px solid #171717;
  border-radius: 3px;
  color: #171717;
  cursor: pointer;
  font: inherit;
  padding: .4rem .75rem;
}

button:hover {
  background: #f2f2f2;
}

button[aria-pressed="true"] {
  background: #171717;
  color: #fff;
}

.inline-form {
  display: inline;
}

.domain-input {
  align-items: center;
  display: flex;
}

.domain-input input {
  flex: 1 1 12rem;
  min-width: 8rem;
}

.domain-suffix {
  overflow-wrap: anywhere;
}

.form-options {
  border: 0;
  padding: 0;
}

.form-hint {
  color: #555;
  font-size: .9rem;
  margin: .45rem 0 0;
  max-width: 34rem;
}

.check-field {
  align-items: center;
  display: flex;
  gap: .5rem;
  width: fit-content;
}

.check-field + .check-field {
  margin-top: .6rem;
}

.check-field input {
  height: 1rem;
  margin: 0;
  width: 1rem;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.error {
  border-left: 3px solid #9c0000;
  color: #780000;
  padding: .5rem 0 .5rem .75rem;
}

.danger-zone {
  border-top: 1px solid #b8b8b8;
  padding-top: 1.5rem;
}

.danger-zone > * {
  margin-block: 0;
}

.danger-zone > * + * {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid #b8b8b8;
  margin-top: 4rem;
  max-width: 13rem;
  padding: .75rem 0 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .page,
  .site-footer {
    width: min(calc(100% - 1.5rem), 50rem);
  }

  .page {
    padding-top: 1.5rem;
  }

  .page > * + * {
    margin-top: 1.5rem;
  }

  h1 {
    font-size: 1.35rem;
  }

  th,
  td {
    padding-left: .4rem;
    padding-right: .4rem;
  }

  table.list {
    font-size: .9375rem;
  }

  table.dict th {
    padding-right: .6rem;
  }

  table.dict td {
    padding-left: .6rem;
  }
}
