:root {
  color: #333333;
  background: #eeeeee;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  margin: 0 auto;
  background: #eeeeee;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f5f5f5;
}

a {
  color: #333333;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

.wrapper {
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 5px;
  background: #f5f5f5;
}

.header {
  padding: 0 11px 17px;
  color: #ffffff;
  background: #67a4f5;
}

.logo-area {
  min-height: 64px;
  padding-top: 25px;
  overflow: hidden;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 1px 1px rgba(23, 82, 161, 0.45);
}

.search {
  position: relative;
  display: flex;
  height: 42px;
  margin-top: 5px;
}

.search-icon {
  position: absolute;
  top: 13px;
  left: 12px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 2px solid #a9b1b8;
  border-radius: 50%;
  pointer-events: none;
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  content: "";
  background: #a9b1b8;
  transform: rotate(45deg);
}

.search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px 0 38px;
  color: #333333;
  background: #ffffff;
  border: 0;
  border-radius: 2px 0 0 2px;
  outline: 0;
}

.search button {
  width: 74px;
  height: 42px;
  color: #5e5e5e;
  cursor: pointer;
  background: linear-gradient(to bottom, #ffffff, #dde5ed);
  border: 0;
  border-left: 1px solid #d8dde3;
  border-radius: 0 2px 2px 0;
}

.search input:focus-visible,
.search button:focus-visible,
.route-grid a:focus-visible,
.directory-row a:focus-visible {
  outline: 3px solid #ffe266;
  outline-offset: -3px;
}

.important-notice {
  padding: 13px 8px 14px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  background: #ff0808;
}

.important-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #fff000;
  font-size: 21px;
  font-weight: 800;
}

.important-notice p {
  margin: 0;
  font-weight: 700;
}

.important-notice b {
  color: #fff000;
  font-weight: 800;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 7px;
  padding: 12px 7px;
  background: #ffffff;
  border-bottom: 1px solid #e3e3e3;
}

.route-grid a {
  display: block;
  height: 44px;
  overflow: hidden;
  color: #0000ff;
  font-size: 24px;
  line-height: 42px;
  text-align: center;
  background: linear-gradient(to top, #ffffff, #eeeeee, #ffffff);
  border: 1px solid #67a4f5;
  border-radius: 22px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.route-grid a:active {
  background: #e8eef5;
}

.site-directory {
  background: #ffffff;
  border-bottom: 1px solid #e3e3e3;
}

.site-directory h1 {
  height: 36px;
  margin: 0;
  padding-left: 15px;
  color: #2c2c2c;
  font-size: 15px;
  font-weight: 400;
  line-height: 36px;
  border-bottom: 1px solid #e3e3e3;
}

.directory-row {
  display: grid;
  grid-template-columns: 16% 24% 24% 24% 12%;
  height: 39px;
  overflow: hidden;
  border-bottom: 1px solid #e3e3e3;
}

.directory-row:last-child {
  border-bottom: 0;
}

.directory-row a {
  position: relative;
  min-width: 0;
  height: 39px;
  overflow: hidden;
  font-size: 15px;
  line-height: 39px;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.directory-row a::after {
  position: absolute;
  top: 10px;
  right: 0;
  width: 1px;
  height: 19px;
  content: "";
  background: #e3e3e3;
}

.directory-row a:first-child {
  color: #3097fd;
}

.directory-row a:last-child {
  color: #6e6d6d;
  font-size: 12px;
}

.directory-row a:last-child::after {
  display: none;
}

.directory-row a:active {
  background: #f2f2f2;
}

footer {
  padding: 14px 8px 20px;
  color: #666666;
  font-size: 14px;
  line-height: 35px;
  text-align: center;
  background: #f5f5f5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 721px) {
  .wrapper {
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 420px) {
  .route-grid a {
    font-size: 20px;
  }

  .directory-row a {
    font-size: 13px;
  }
}
