#tool-body {
  --st-bg: #ffffff;
  --st-text: #333333;
  --st-muted: #999999;
  --st-line: #000000;
  position: relative;
  height: auto;
  min-height: 580px;
}
.theme-dark-mode #tool-body {
  --st-bg: #1f1f1f;
  --st-text: #e8e8e8;
  --st-muted: #888888;
  --st-line: #666666;
}
#tool-body ul,
#tool-body li { margin: 0; padding: 0; }
#tool-body a { text-decoration: none; }

#tool-body #container {
  position: relative;
  height: auto;
  min-height: 580px;
  overflow: hidden;
  min-width: 320px;
  background: var(--st-bg);
}
#tool-body #container.is-testing {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483000;
  background: #000;
}
#tool-body #container:fullscreen,
#tool-body #container:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #000;
}

#tool-body #control .panel {
  position: absolute;
  left: 0;
  width: 100%;
  background-color: rgba(64, 64, 64, 0.5);
  z-index: 2;
  overflow: hidden;
  transition: all 1s ease-out;
}
#tool-body .control_hide .top { top: -40px; }
#tool-body .control_show .top { top: 0; }
#tool-body #control .top {
  height: 40px;
  color: #FFF;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 12px 0 20px;
  gap: 10px;
}
#tool-body #control .top .title {
  font-family: Arial, simhei, "Microsoft YaHei", sans-serif;
  font-size: 24px;
  line-height: 40px;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tool-body #control .top .description {
  font-size: 12px;
  line-height: 40px;
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tool-body #control .top .quanping {
  font-size: 12px;
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
#tool-body #control .top .quanping a {
  color: #FFF;
  display: block;
  border: 1px solid #CCC;
  line-height: 24px;
  height: 24px;
  padding: 0 8px;
  cursor: pointer;
  white-space: nowrap;
}
#tool-body #control .top .close-mob {
  display: none;
  background: url("/uploads/static/screen-test/img/control-close.png") no-repeat center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-left: auto;
  cursor: pointer;
}
#tool-body #st-fs-banner {
  display: none;
  position: absolute;
  left: 50%;
  top: 48px;
  transform: translateX(-50%);
  z-index: 6;
  background: rgba(230, 162, 60, 0.95);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: auto;
}
#tool-body #container.is-testing #st-fs-banner.is-show {
  display: block;
}
#tool-body #st-fs-banner a {
  color: #fff;
  margin-left: 10px;
  text-decoration: underline;
  cursor: pointer;
}
#tool-body .control_show .bottom { bottom: 0; }
#tool-body .control_hide .bottom { bottom: -80px; }
#tool-body #control .bottom { height: 80px; }
#tool-body #control .bottom .wrapper {
  width: 10000px;
  position: relative;
  transition: all 1s ease-out;
}
#tool-body #control .bottom .wrapper a {
  border: 1px solid #FFF;
  float: left;
  margin: 10px 0 0 5px;
  display: block;
  width: 150px;
  color: #FFF;
  height: 60px;
  cursor: pointer;
  text-align: center;
  border-radius: 3px;
  background-color: rgba(0,0,0,0.5);
  line-height: 60px;
}
#tool-body #control .bottom .triangle {
  position: absolute;
  border-color: transparent transparent #FFF;
  border-style: solid;
  border-width: 0 50px 10px;
  height: 0;
  width: 0;
  left: 50%;
  margin: 0 0 0 -50px;
}

#tool-body .slide {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  list-style: none;
  z-index: 0;
  display: block;
}
#tool-body .hide { display: none !important; }
#tool-body #main {
  width: 100%;
  height: 100%;
  position: relative;
  list-style: none;
}

#tool-body #preloader {
  background:
    url("/uploads/static/screen-test/img/horizontal-line-1px.gif"),
    url("/uploads/static/screen-test/img/horizontal-line-2px.gif"),
    url("/uploads/static/screen-test/img/vertical-line-1px.gif"),
    url("/uploads/static/screen-test/img/vertical-line-2px.gif"),
    url("/uploads/static/screen-test/img/dots-1px.gif"),
    url("/uploads/static/screen-test/img/dots-2px.gif"),
    url("/uploads/static/screen-test/img/cross-1px.gif"),
    url("/uploads/static/screen-test/img/cross-2px.gif"),
    url("/uploads/static/screen-test/img/boxes-5px.png"),
    url("/uploads/static/screen-test/img/white-grid-45px.png"),
    url("/uploads/static/screen-test/img/convergence-45px.png"),
    url("/uploads/static/screen-test/img/breathing-block.gif");
  width: 0;
  height: 0;
  display: inline-block;
}

#tool-body #test-solid-red { background-color: #F00; }
#tool-body #test-solid-green { background-color: #0F0; }
#tool-body #test-solid-blue { background-color: #00F; }
#tool-body #test-solid-yellow { background-color: #FF0; }
#tool-body #test-solid-cyan { background-color: #0FF; }
#tool-body #test-solid-magenta { background-color: #F0F; }
#tool-body #test-solid-white { background-color: #FFF; }
#tool-body #test-solid-black { background-color: #000; }
#tool-body #test-horizontal-line-1px { background: #000 url("/uploads/static/screen-test/img/horizontal-line-1px.gif") repeat center center; }
#tool-body #test-horizontal-line-2px { background: #000 url("/uploads/static/screen-test/img/horizontal-line-2px.gif") repeat center center; }
#tool-body #test-vertical-line-1px { background: #000 url("/uploads/static/screen-test/img/vertical-line-1px.gif") repeat center center; }
#tool-body #test-vertical-line-2px { background: #000 url("/uploads/static/screen-test/img/vertical-line-2px.gif") repeat center center; }
#tool-body #test-dots-1px { background: #000 url("/uploads/static/screen-test/img/dots-1px.gif") repeat center center; }
#tool-body #test-dots-2px { background: #000 url("/uploads/static/screen-test/img/dots-2px.gif") repeat center center; }
#tool-body #test-cross-1px { background: #000 url("/uploads/static/screen-test/img/cross-1px.gif") repeat center center; }
#tool-body #test-cross-2px { background: #000 url("/uploads/static/screen-test/img/cross-2px.gif") repeat center center; }
#tool-body #test-pattern {
  background:
    url("/uploads/static/screen-test/img/boxes-5px.png") no-repeat top left,
    url("/uploads/static/screen-test/img/boxes-5px.png") no-repeat top right,
    url("/uploads/static/screen-test/img/boxes-5px.png") no-repeat bottom left,
    url("/uploads/static/screen-test/img/boxes-5px.png") no-repeat bottom right,
    url("/uploads/static/screen-test/img/boxes-5px.png") no-repeat center center #000;
}
#tool-body #test-white-grid { background: #000 url("/uploads/static/screen-test/img/white-grid-45px.png") repeat center center; }
#tool-body #test-convergence { background: #000 url("/uploads/static/screen-test/img/convergence-45px.png") repeat center center; }
#tool-body #test-contrast-white { background-color: #FFF; color: #000; }
#tool-body #test-contrast-black { background-color: #000; color: #FFF; }
#tool-body .test-contrast table {
  border-collapse: collapse;
  position: relative;
  left: 10%;
  top: 10%;
  height: 80%;
  width: 80%;
  text-align: center;
  border-spacing: 0;
}
#tool-body .test-contrast table td { width: 10%; padding: 0; }
#tool-body .test-contrast table .color td { height: 22%; font-size: 13px; line-height: 1.25; }
#tool-body .test-contrast table .ruler td {
  height: 2.2%;
  border: 1px #808080;
  border-style: none solid;
}
#tool-body .test-contrast i { font-size: 10px; font-style: normal; }
#tool-body #test-saturation img,
#tool-body .test-gradient img {
  width: 100%;
  height: 100%;
  display: block;
}
#tool-body #test-stability table {
  border: 2px solid #FFF;
  height: 100%;
  width: 100%;
  border-spacing: 0;
}
#tool-body #test-stability table td {
  border: 6px solid #000;
  background: #000 url("/uploads/static/screen-test/img/breathing-block.gif") repeat center center;
}
#tool-body #test-gradient-red { background-color: #F00; }
#tool-body #test-gradient-green { background-color: #0F0; }
#tool-body #test-gradient-blue { background-color: #00F; }
#tool-body #test-gradient-white { background-color: #FFF; }
#tool-body #test-last {
  background-color: #000;
  text-align: center;
  color: #FFF;
  line-height: 100vh;
  font-size: 28px;
}

#tool-body #welcome {
  margin: 0;
  height: auto;
  min-height: 560px;
  width: 100%;
  position: relative;
  left: auto;
  top: auto;
  background-color: var(--st-bg);
  color: var(--st-text);
}
#tool-body #welcome .wrapper {
  margin: 0 auto;
  width: 750px;
  max-width: 100%;
  position: relative;
  height: auto;
  min-height: 528px;
  padding-bottom: 28px;
  box-sizing: border-box;
}
#tool-body #welcome .wrapper::after {
  content: "";
  display: table;
  clear: both;
}
#tool-body #welcome .top {
  position: absolute;
  top: 48px;
  height: auto;
  min-height: 480px;
}
#tool-body #welcome .left {
  width: 300px;
  left: 0;
  top: 48px;
  bottom: 28px;
  border-right: 2px dashed var(--st-line);
}
#tool-body #welcome .left table {
  margin: 0 auto;
  border-spacing: 0;
  border: 3px solid var(--st-line);
  position: relative;
  top: 12px;
}
#tool-body #welcome .left table td {
  font-family: Arial, SimHei, "Microsoft YaHei", Arial, Helvetica, sans-serif;
  text-align: center;
  width: 240px;
}
#tool-body #welcome .left table thead {
  font-size: 72px;
  background-color: #FFF;
  color: #000;
}
#tool-body #welcome .left table tbody {
  font-size: 48px;
  background-color: #000;
  color: #FFF;
}
#tool-body #welcome .left table .online {
  position: absolute;
  right: -8px;
  top: -5px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background-color: var(--st-line);
  width: auto;
  height: auto;
  line-height: 1.2;
  padding: 3px 7px;
  border-radius: 5px;
  color: #FFF;
  white-space: nowrap;
  box-sizing: border-box;
}
#tool-body #welcome .left .start {
  color: #FFF;
  height: 40px;
  line-height: 40px;
  width: 200px;
  background-color: #3D7;
  margin: 64px auto 0;
  display: block;
  box-shadow: 0 0 20px rgba(79, 209, 143, 0.6);
  transition: all 0.5s;
}
#tool-body #welcome .left .start:hover {
  background-color: #2C6;
  box-shadow: 0 0 20px rgba(79, 209, 143, 0.9);
}
#tool-body #welcome .button {
  text-align: center;
  font-family: Arial, SimHei, "Microsoft YaHei", Arial, Helvetica, sans-serif;
  font-size: 18px;
  cursor: pointer;
}
#tool-body #welcome .right {
  position: relative;
  float: right;
  top: auto;
  right: auto;
  width: 420px;
  margin-top: 48px;
  padding: 8px 18px 12px;
  box-sizing: border-box;
  overflow: visible;
}
#tool-body #welcome .right .headline {
  margin: 0 0 16px;
  padding: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: var(--st-text);
}
#tool-body #welcome .right .desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--st-text);
}
#tool-body #welcome .right .meta {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--st-text);
}
#tool-body #welcome .right .meta .title {
  color: var(--st-muted);
}
#tool-body #welcome .right .meta .value {
  font-weight: 600;
  letter-spacing: 0.04em;
}
#tool-body #welcome .right .tip {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--st-muted);
}
#tool-body #welcome .right .disclaimer {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--st-line);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--st-muted);
}
#tool-body #welcome .right .meta.warn .value,
#tool-body #welcome .right .zoom-warn {
  color: #e6a23c;
}
#tool-body #welcome .cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
#tool-body #welcome .cats a {
  display: inline-block;
  border: 1px solid var(--st-line);
  color: var(--st-text);
  background: transparent;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
}
#tool-body #welcome .cats a:hover {
  border-color: #3D7;
  color: #3D7;
}
#tool-body #welcome .badge-plus {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: middle;
  border-radius: 3px;
  background: #3D7;
  color: #fff;
  line-height: 1.4;
}

#tool-body #resolution_tips {
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 20px;
  color: #FFF;
  font-family: arial, sans-serif;
  font-size: 48px;
  height: 120px;
  left: 50%;
  line-height: 120px;
  margin: -60px 0 0 -150px;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 300px;
  z-index: 3;
}

@media (max-width: 1000px) {
  #tool-body { height: auto; min-height: 720px; }
  #tool-body #container { position: relative; height: auto; min-height: 720px; }
  #tool-body #welcome {
    position: relative;
    height: auto;
  }
  #tool-body #welcome .top {
    position: relative;
    top: 0;
    bottom: auto;
    height: auto;
    min-height: 0;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    border: none !important;
    padding: 20px 16px;
    box-sizing: border-box;
  }
  #tool-body #welcome .left {
    float: none;
    bottom: auto;
  }
  #tool-body #welcome .right {
    float: none;
    margin-top: 0;
    overflow: visible;
  }
  #tool-body #welcome .left .start { margin: 48px auto 8px; }
  #tool-body #welcome .right .headline { font-size: 22px; margin-bottom: 12px; }

  #tool-body #control .top .quanping { display: none; }
  #tool-body #control .top .close-mob { display: block; }
  #tool-body #control .top .title { font-size: 18px; }
  #tool-body #st-fs-banner {
    white-space: normal;
    max-width: 92%;
    text-align: center;
    top: 48px;
  }
  #tool-body .test-contrast table {
    left: 1%;
    top: 6%;
    width: 98%;
    height: 88%;
  }
  #tool-body .test-contrast table .color td {
    font-size: 10px;
    line-height: 1.15;
  }
  #tool-body .test-contrast i { display: none; }
}