* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  --background-color: #fff;
  --error-code-color: var(--google-gray-700);
  --google-blue-50: rgb(232, 240, 254);
  --google-blue-100: rgb(210, 227, 252);
  --google-blue-300: rgb(138, 180, 248);
  --google-blue-600: rgb(26, 115, 232);
  --google-blue-700: rgb(25, 103, 210);
  --google-gray-100: rgb(241, 243, 244);
  --google-gray-300: rgb(218, 220, 224);
  --google-gray-500: rgb(154, 160, 166);
  --google-gray-50: rgb(248, 249, 250);
  --google-gray-600: rgb(128, 134, 139);
  --google-gray-700: rgb(95, 99, 104);
  --google-gray-800: rgb(60, 64, 67);
  --google-gray-900: rgb(32, 33, 36);
  --heading-color: var(--google-gray-900);
  --link-color: rgb(88, 88, 88);
  --primary-button-fill-color-active: var(--google-blue-700);
  --primary-button-fill-color: var(--google-blue-600);
  --primary-button-text-color: #fff;
  --quiet-background-color: rgb(247, 247, 247);
  --secondary-button-border-color: var(--google-gray-500);
  --secondary-button-fill-color: #fff;
  --secondary-button-hover-border-color: var(--google-gray-600);
  --secondary-button-hover-fill-color: var(--google-gray-50);
  --secondary-button-text-color: var(--google-gray-700);
  --small-link-color: var(--google-gray-700);
  --text-color: var(--google-gray-700);
  --edge-background: var(--edge-grey-background);
  --edge-black: #101010;
  --edge-focus-color: #838383;
  --edge-blue-hover: #0078D4;
  --edge-blue-pressed: #1081D7;
  --edge-blue-rest: #0070C6;
  --edge-blue-selected: #004274;
  --edge-border-hover: #949494;
  --edge-border-pressed: #ADADAD;
  --edge-border-rest: #C5C5C5;
  --edge-grey-background: #F6F6F6;
  --edge-grey-selected: #C6C6C6;
  --edge-light-grey-hover: #F3F3F3;
  --edge-light-grey-pressed: #F7F7F7;
  --edge-light-grey-rest: #EFEFEF;
  --edge-primary-text-color: var(--edge-black);
  --edge-secondary-text-color: var(--edge-text-grey-rest);
  --edge-text-blue-hover: #0070C6;
  --edge-text-blue-rest: #0061AB;
  --edge-text-blue-pressed: #1081D7;
  --edge-text-grey-rest: #6F6F6F;
  --edge-white: #FFFFFF;
  --edge-primary-button-focus-shadow: 0 0 0 2px inset #F2F8FD;
  --edge-focus-outline: 2px solid var(--edge-focus-color);
  background: var(--edge-background);
  color: var(--edge-primary-text-color);
  word-wrap: break-word;
  font-family: 'Segoe UI', Arial, 'Microsoft Yahei', sans-serif;
  font-size: 75%;
}
@media (prefers-color-scheme: dark) {
  body {
    --background-color: var(--google-gray-900);
    --error-code-color: var(--google-gray-500);
    --heading-color: var(--google-gray-500);
    --link-color: var(--google-blue-300);
    --primary-button-fill-color-active: rgb(129, 162, 208);
    --primary-button-fill-color: var(--google-blue-300);
    --primary-button-text-color: var(--google-gray-900);
    --quiet-background-color: var(--background-color);
    --secondary-button-border-color: var(--google-gray-700);
    --secondary-button-fill-color: var(--google-gray-900);
    --secondary-button-hover-fill-color: rgb(48, 51, 57);
    --secondary-button-text-color: var(--google-blue-300);
    --small-link-color: var(--google-blue-300);
    --text-color: var(--google-gray-500);
    --edge-black: #FFFFFF;
    --edge-focus-color: #888;
    --edge-blue-hover: #0070C6;
    --edge-blue-pressed: #0069B9;
    --edge-blue-rest: #0078D4;
    --edge-blue-selected: #63ACE5;
    --edge-border-hover: #909090;
    --edge-border-pressed: #787878;
    --edge-border-rest: #575757;
    --edge-grey-background: #2D2D2D;
    --edge-grey-selected: #676767;
    --edge-light-grey-hover: #424242;
    --edge-light-grey-pressed: #3E3E3E;
    --edge-light-grey-rest: #464646;
    --edge-text-blue-hover: #429BDF;
    --edge-text-blue-rest: #63ACE5;
    --edge-text-blue-pressed: #2189DA;
    --edge-text-grey-rest: #949494;
    --edge-white: #1D1D1D;
  }
  .icon-thinking-img {
    filter: brightness(0.9);
  }
  .edge-logo-img {
    filter: brightness(0.9);
  }
}

/* 通用样式 */
a {
  color: var(--link-color);
}

button {
  border: 0;
  border-radius: 2px;
  box-sizing: border-box;
  color: var(--primary-button-text-color);
  cursor: pointer;
  float: right;
  font-size: .875em;
  margin: 0;
  padding: 8px 16px;
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  background: var(--edge-blue-rest);
}

button:active {
  background: var(--primary-button-fill-color-active);
  outline: 0;
}

button:focus {
  border-color: var(--edge-focus-color);
  box-shadow: var(--edge-primary-button-focus-shadow);
}

button:hover {
  background-color: var(--edge-blue-hover);
  border-color: var(--edge-blue-hover);
}

h1 {
  color: var(--edge-primary-text-color);
  font-size: 1.6em;
  font-weight: bold;
  line-height: 1.25em;
  margin-bottom: 16px;
  margin-top: 0;
  word-wrap: break-word;
}

h1 span {
  font-weight: 600;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-style: normal;
  font-size: 32px;
  line-height: 40px;
}

p {
  font-size: 14px;
  line-height: 20px;
  color: var(--edge-primary-text-color);
}

.error-code {
  color: var(--error-code-color);
  font-size: .8em;
  margin-top: 12px;
  text-transform: uppercase;
  display: block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
}

.interstitial-wrapper {
  box-sizing: border-box;
  font-size: 1em;
  line-height: 1.6em;
  margin: 14vh auto 0;
  max-width: 700px;
  width: 100%;
  padding: 0 20px;
}
.icon {
  display: inline-block;
  width: 128px;
  height: 128px;
  margin: 0 0 20px;
}
.icon-thinking-img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

@media (max-width: 420px) {
  .icon {
    margin-bottom: 5.69vh;
  }
}
@media (max-width: 240px) and (max-height: 150px) {
  .icon {
    display: none;
  }
}

.nav-wrapper {
  margin-top: 51px;
}
.nav-wrapper::after {
  clear: both;
  content: '';
  display: table;
  width: 100%;
}
#control-buttons {
  float: left !important;
}
#reload-button {
  background-color: var(--edge-blue-rest);
  color: white;
  border-radius: 4px;
  width: 87px; /* 基础宽度：87px */
  height: 40px; /* 基础高度：40px */
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  outline: none;
  padding: 0;
  float: left;
}
#reload-button:focus {
  outline: var(--edge-focus-outline);
  box-shadow: var(--edge-primary-button-focus-shadow);
}
#reload-button:hover {
  background-color: var(--edge-blue-hover);
}
#reload-button:active {
  background-color: var(--edge-blue-pressed);
}

#suggestions-list {
  margin-top: 15px;
}
#suggestions-list p {
  margin-block-end: 0;
  color: var(--edge-primary-text-color);
  font-weight: 700;
}
#suggestions-list ul {
  margin-top: 0;
  margin-left: 10px;
  color: var(--edge-primary-text-color);
  padding-inline-start: 0;
  list-style: none;
}
#suggestions-list li {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
#suggestions-list li:before {
  content: "•";
  font-size: 14px;
  padding-right: 1em;
}
.single-suggestion li:before {
  display: none;
}
#suggestions-list a {
  color: var(--edge-text-blue-rest);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
#suggestions-list a:hover {
  color: var(--edge-text-blue-hover);
}

.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  display: flex;
}
.left-footer {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  margin-left: 40px;
}
.edge-logo-img {
  width: 24px;
  height: 24px;
  display: inline-block;
}
.edge-branding-text {
  flex: 82%;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  text-align: right;
}

@media (max-width: 700px) {
  .interstitial-wrapper {
    padding: 0 10%;
  }
}
@media (max-width: 420px) {
  button,
  [dir='rtl'] button,
  .small-link {
    float: none;
    font-size: .825em;
    font-weight: 500;
    margin: 0;
  }
  button {
    padding: 16px 24px;
  }
  #details {
    margin: 20px 0 20px 0;
  }
  .secondary-button:not(.hidden) {
    display: block;
    margin-top: 20px;
    text-align: center;
    width: 100%;
  }
  .interstitial-wrapper {
    padding: 0 5%;
  }
  .nav-wrapper {
    margin-top: 30px;
  }
  #reload-button {
    width: 87px;
    height: 40px;
  }
}
@media (min-width: 240px) and (max-width: 420px) and (min-height: 401px),
       (min-width: 421px) and (min-height: 240px) and (max-height: 560px) {
  body .nav-wrapper {
    background: var(--edge-grey-background);
    bottom: 0;
    box-shadow: 0 -22px 40px var(--edge-grey-background);
    left: 0;
    margin: 0 auto;
    max-width: 736px;
    padding-inline-end: 24px;
    padding-inline-start: 24px;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 2;
  }
  .interstitial-wrapper {
    max-width: 736px;
  }
  #details,
  #main-content {
    padding-bottom: 40px;
  }
  #details {
    padding-top: 5.5vh;
  }
}
@media (max-width: 420px) and (orientation: portrait),
       (max-height: 560px) {
  body {
    margin: 0 auto;
  }
  button {
    font-size: .933em;
    margin: 6px 0;
    transform: translatez(0);
  }
  .nav-wrapper {
    box-sizing: border-box;
    padding-bottom: 8px;
    width: 100%;
  }
  h1 {
    font-size: 1.5em;
    margin-bottom: 8px;
  }
  .interstitial-wrapper {
    box-sizing: border-box;
    margin: 7vh auto 12px;
    padding: 0 24px;
    position: relative;
  }
  .interstitial-wrapper p {
    font-size: .95em;
    line-height: 1.61em;
    margin-top: 8px;
  }
  #main-content {
    margin: 0;
    transition: opacity 100ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@media (min-height: 400px) and (orientation: portrait) {
  .interstitial-wrapper {
    margin-bottom: 145px;
  }
}
@media (min-height: 299px) {
  .nav-wrapper {
    padding-bottom: 16px;
  }
}
@media (max-height: 400px) and (orientation: portrait),
       (max-height: 239px) and (orientation: landscape),
       (max-width: 419px) and (max-height: 399px) {
  .interstitial-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  #main-content {
    flex: 1 1 auto;
    order: 0;
  }
  .nav-wrapper {
    flex: 0 1 auto;
    margin-top: 8px;
    order: 1;
    padding-inline-end: 0;
    padding-inline-start: 0;
    position: relative;
    width: 100%;
  }
  button {
    padding: 16px 24px;
  }
  #reload-button {
    width: 87px;
    height: 40px;
  }
}
@media (max-width: 700px) and (orientation: portrait), (max-height: 650px) and (orientation: landscape) {
  .footer {
    display: none;
  }
}
@media (min-width: 600px) {
  .interstitial-wrapper {
    margin-inline-start: 200px;
  }
}
.hidden {
  display: none;
}
#diagnose-frame,
#details {
  display: none;
}