@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://www.base64.ink/resource/font/fontfile.woff?v=1') format('woff');
}

.fa,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
}

.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  -moz-animation: fa-spin 2s infinite linear;
  -ms-animation: fa-spin 2s infinite linear;
  -o-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.fa-arrow-left:before {
  content: '\f060';
}

.fa-arrow-right:before {
  content: '\f061';
}

.fa-chart-line:before {
  content: '\f201';
}

.fa-check:before {
  content: '\f00c';
}

.fa-check-circle:before {
  content: '\f058';
}

.fa-chevron-left:before {
  content: '\f053';
}

.fa-chevron-right:before {
  content: '\f054';
}

.fa-cog:before {
  content: '\f013';
}

.fa-copy:before {
  content: '\f0c5';
}

.fa-copyright:before {
  content: '\f1f9';
}

.fa-envelope:before {
  content: '\f0e0';
}

.fa-envelope-open:before {
  content: '\f2b6';
}

.fa-exchange-alt:before {
  content: '\f362';
}

.fa-exclamation-triangle:before {
  content: '\f071';
}

.fa-file:before {
  content: '\f15b';
}

.fa-file-alt:before {
  content: '\f15c';
}

.fa-file-archive:before {
  content: '\f1c6';
}

.fa-file-code:before {
  content: '\f1c9';
}

.fa-folder:before {
  content: '\f07b';
}

.fa-folder-open:before {
  content: '\f07c';
}

.fa-hand-paper:before {
  content: '\f256';
}

.fa-hand-rock:before {
  content: '\f255';
}

.fa-info-circle:before {
  content: '\f05a';
}

.fa-language:before {
  content: '\f1ab';
}

.fa-laptop:before {
  content: '\f109';
}

.fa-lock:before {
  content: '\f023';
}

.fa-meh:before {
  content: '\f11a';
}

.fa-pen-nib:before {
  content: '\f5ad';
}

.fa-at:before {
  content: '\f1fa';
}

.fa-question-circle:before {
  content: '\f059';
}

.fa-random:before {
  content: '\f074';
}

.fa-shield-alt:before {
  content: '\f3ed';
}

.fa-smile:before {
  content: '\f118';
}

.fa-spinner:before {
  content: '\f110';
}

.fa-star:before {
  content: '\f005';
}

.fa-tablet-alt:before {
  content: '\f3fa';
}

.fa-toggle-off:before {
  content: '\f204';
}

.fa-toggle-on:before {
  content: '\f205';
}

.fa-tv:before {
  content: '\f26c';
}

.fa-film:before {
  content: '\f008';
}

.fa-users:before {
  content: '\f0c0';
}

.fa,
.fas {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

html,
body,
main,
header,
section,
aside,
article,
footer,
nav,
div,
span,
ins,
label,
a,
i,
u,
b,
strong,
h1,
h2,
input,
button,
select,
textarea,
ul,
li,
table,
tr,
th,
td {
  color: inherit;
  border: none;
  margin: 0;
  padding: 0;
  font-size: 100%;
  max-height: 999999px;
  font-style: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: baseline;
  text-decoration: none;
}

i {
  font-style: italic;
}

i[class] {
  float: left;
  width: 18px;
  margin: 0 8px 0 0;
  display: block;
  text-align: center;
  font-style: normal;
}

u {
  text-decoration: underline;
}

b {
  font-weight: 700;
}

strong {
  font-weight: bolder;
}

body {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

a,
input,
button,
select,
textarea {
  resize: none;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent;
}

.scrollx {
  overflow-x: auto;
}

textarea::-webkit-scrollbar,
.scrollx::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

textarea::-webkit-scrollbar-thumb,
.scrollx::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
}

::-webkit-input-placeholder {
  color: gray;
  opacity: 1;
}

:-moz-placeholder {
  color: gray;
  opacity: 1;
}

::-moz-placeholder {
  color: gray;
  opacity: 1;
}

:-ms-input-placeholder {
  color: gray;
  opacity: 1;
}

::-ms-input-placeholder {
  color: gray;
  opacity: 1;
}

::placeholder {
  color: gray;
  opacity: 1;
}

.clear {
  clear: both;
  display: block;
}

body {
  color: #555;
  font-size: 13px;
  font-style: normal;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 18px;
  background-position: 0 0, 0 0;
  background-repeat: repeat-x, repeat;
  background-color: #f8fafb;
  background-repeat: repeat;
}

.wrapper {
  margin: 0 auto;
  display: block;
  max-width: 1536px;
}

.ad_left {
  top: 12px;
  float: left;
  width: 160px;
  height: 600px !important;
  display: block;
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  text-align: center;
}

main {
  margin: 0 auto;
  /* float: right; */
  width: -webkit-calc(100% - 184px);
  width: -moz-calc(100% - 184px);
  width: calc(100% - 184px);
  padding: 16px;
  display: block;
  max-width: 1352px;
  box-sizing: border-box;
  background-size: 960px 540px;
  background-repeat: no-repeat;
  background-position: left top;
}

header {
  background-color: #ffffff;
  margin: 0 0 16px 0;
  display: block;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

header .logo {
  float: left;
  margin: 16px 16px 16px 16px;
  display: block;
  overflow: hidden;
  min-width: 180px;
  transition: color 0.1s ease;
}

/* 当鼠标悬停在超链接上时的样式 */
header .logo:hover {
  cursor: pointer; /* 更改鼠标样式为手型 */
  font-weight: 700;
  color: #4285f4;
}

/* 当超链接被点击时（激活状态）的样式 */
header .logo:active {
  color: #4285f4;
}

/* 已访问过的链接样式 */
header .logo:visited {
  color: #4285f4;
}

header .logo:focus {
  outline: none;
}

header .logo span {
  display: block;
  font-size: 28px;
  text-align: center;
  font-weight: 900;
  line-height: 40px;
}

header .logo span:last-of-type {
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

header .logo .image {
  width: 200px;
}

header .sister {
  margin: 0 0 12px;
  display: block;
}

header .sister a,
aside nav a {
  padding: 0 12px;
  display: block;
  overflow: hidden;
  font-size: 16px;
  background: rgba(244, 247, 250, 0.25);
  transition: background 0.1s ease;
  font-weight: 700;
  line-height: 26px;
  background-color: #f4f7fa;
  border-radius: 3px;
}

aside nav a i[class] {
  float: right;
  margin: 0 0 0 8px;
}

aside nav a {
  margin: 0 0 8px;
  font-size: 14px;
}

/* 当鼠标悬停在超链接上时的样式 */
aside nav a:hover {
  cursor: pointer; /* 更改鼠标样式为手型 */
  font-weight: 700;
  border: 1px #ccc dotted;
  color: #4285f4;
}

/* 当超链接被点击时（激活状态）的样式 */
aside nav a:active {
  margin: 0 0 8px;
  font-size: 14px;
  color: #4285f4;
}

/* 已访问过的链接样式 */
aside nav a:visited {
  margin: 0 0 8px;
  font-size: 14px;
}

aside nav a:last-of-type {
  margin: 0;
}

header .tool {
  margin-top: 8px;
  float: left;
  display: block;
  font-size: 13px;
}

header .tool a {
  float: left;
  margin: 0 12px 8px 0;
}

header .tool b {
  float: left;
  margin: 0 12px 8px 0;
  color: #4285f4;
}

header .tool a {
  transition: color 0.1s ease;
}

header .tool a:focus {
  color: #f0f0f0;
  outline: none;
}

header .tool a:last-child,
header .tool b:last-child {
  margin: 0 0 8px 16px;
}

header .language {
  margin: 21px 6px 11px 0px;
  float: right;
  display: block;
  font-size: 13px;
}

header .language span,
header .language a {
  float: left;
  margin: 0 12px 8px 0;
}

header .language b {
  float: left;
  margin: 0 12px 8px 0;
  color: #4285f4;
}

header .language a {
  transition: color 0.1s ease;
}

header .language a:focus {
  color: #5fa926;
  outline: none;
}

header .language a:last-child,
header .language b:last-child {
  margin: 0 0 8px;
}

header .intro {
  font-size: 14px;
  text-align: justify;
  line-height: 19px;
}

.ad_top {
  height: 90px !important;
  margin: 0 auto 8px auto;
  display: block;
  overflow: hidden;
  text-align: center;
}

section,
article {
  float: left;
  color: #000;
  width: -webkit-calc(100% - 344px);
  width: -moz-calc(100% - 344px);
  width: calc(100% - 344px);
  margin: 0 0 16px;
  padding: 12px 8px 8px;
  display: block;
  max-width: 984px;
  word-wrap: break-word;
  text-align: justify;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 4px 4px;
  transition: transform 0.3s ease;
}

article {
  float: none;
  clear: left;
  margin: 0 0 16px;
}

section h1,
section h2,
article h2,
aside .title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

section h1 {
  font-size: 18px;
  text-align: left;
  line-height: 20px;
}

section h2 {
  margin: 16px 0 0;
  text-align: left;
}

article h2,
aside .title {
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 1px dashed #ccc;
}

article h2 i[class],
aside .title i[class] {
  margin: 0 6px 0 0;
}

aside .bookmark .title {
  color: #4285f4;
  font-weight: 400;
  border-bottom: none;
}

section label,
section .label,
section .info {
  color: #606060;
  margin: 0 0 12px;
  padding: 4px 0 8px;
  display: block;
  font-size: 13px;
  border-bottom: 1px dashed #ccc;
}

section .info {
  padding: 0;
  border-bottom: none;
}

section .info i[class] {
  margin: 0 4px 0 0;
}

form,
.form {
  display: block;
}

textarea {
  width: 100%;
  border: 1px solid #ccc;
  resize: vertical;
  margin: 0 0 8px;
  padding: 4px;
  display: block;
  overflow: auto;
  word-break: break-all;
  box-sizing: border-box;
  min-height: 160px;
  max-height: 640px;
  background: #eee;
  transition: border 0.1s ease;
  white-space: break-spaces;
  overflow-x: hidden;
  border-radius: 4px;
}

textarea[name='output'] {
  margin: 12px 0 0;
}

textarea:focus {
  border: 1px solid #999;
  outline: none;
}

.error {
  background: #fee;
}

.option {
  margin: 0 0 8px;
  display: block;
  line-height: 22px;
}

.option:last-of-type {
  margin: 0;
}

.option:nth-last-of-type(2) {
  margin: 0 0 12px;
}

.option label {
  color: #000;
  margin: 0;
  padding: 0;
  display: inline-block;
  border-bottom: none;
}

.option select {
  height: 22px;
  border: 1px solid #ccc;
  margin: 0 8px 0 0;
  padding: 0 0 0 4px;
  display: inline-block;
  min-width: 136px;
  font-size: 13px;
  box-sizing: border-box;
  background: #eee;
  transition: border 0.1s ease;
}

.option select:focus {
  border: 1px solid #999;
  outline: none;
}

.option input[type='checkbox'] {
  opacity: 0;
  position: absolute;
}

.option input[type='checkbox'] + span {
  position: relative;
}

.option input[type='checkbox'] + span:before {
  width: 15px;
  height: 15px;
  cursor: pointer;
  border: 1px solid #ccc;
  margin: 0 8px 0 0;
  content: '';
  display: inline-block;
  box-sizing: border-box;
  background: #eee;
  transition: border 0.1s ease;
  vertical-align: text-bottom;
}

.option input[type='checkbox']:checked + span:after {
  top: 6px;
  left: 3px;
  width: 7px;
  height: 4px;
  cursor: pointer;
  content: '';
  display: inline-block;
  position: absolute;
  transform: rotate(-45deg);
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
}

.option input[type='checkbox'][disabled] + span:before {
  cursor: not-allowed;
  border: 1px solid #ddd;
  background: #fee;
}

.option input[type='checkbox'][disabled]:checked + span:after {
  color: #ccc;
  cursor: not-allowed;
}

.option input[type='checkbox']:focus + span:before {
  border: 1px solid #999;
}

.option button {
  color: #fff;
  cursor: pointer;
  margin: 0 8px 0 0;
  display: inline-block;
  min-width: 128px;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
  transition: border 0.1s ease;
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  padding: 0px 12px;
  border: none;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 3px;
}

.option button:focus {
  border: 1px solid #111;
  outline: none;
}

.option button:not(.live, .copy) i[class]:first-of-type {
  margin: 0 4px 0 8px;
}

.option button:not(.live, .copy) i[class]:last-of-type {
  float: right;
  margin: 0 8px 0 4px;
}

.option .live,
.option .copy {
  color: #000;
  height: 26px;
  border: 1px solid #ccc;
  padding: 0 12px 0 0;
  font-size: 13px;
  text-align: left;
  background: #eee;
  font-weight: 400;
  text-shadow: none;
  line-height: 26px;
}

.option .copy {
  margin: 13px 0 0;
}

.option .live:focus,
.option .copy:focus {
  border: 1px solid #999;
  outline: none;
}

.option .live.active {
  color: #fff;
}

.option .live.active:focus {
  border: 1px solid #111;
}

.option .live i[class],
.option .copy i[class] {
  margin: 0 8px;
}

.download {
  width: 92px;
  height: 35px;
  border: 1px solid #ccc;
  font-size: 13px;
  text-align: center;
  background: #4285f4;
  font-weight: 400;
  text-shadow: none;
  line-height: 35px;
  color: #fff;
  margin: 6px;
  cursor: pointer;
  border-radius: 3px;
}

.option select[disabled],
.option button[disabled] {
  color: #fff;
  cursor: not-allowed;
  border: 1px solid #ddd;
  opacity: 1;
  background: #ddd;
}

.file {
  color: #606060;
  width: 100%;
  height: 120px;
  border: 1px solid #ccc;
  margin: 0 0 8px;
  padding: 0 8px;
  display: block;
  position: relative;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
  background: #eee;
  transition: border 0.1s ease;
  font-weight: 700;
  line-height: 118px;
  border-radius: 4px;
}

.file:focus-within {
  border: 1px solid #999;
}

.file.drag {
  background: #ccc;
}

.file .counter {
  right: 2px;
  bottom: 2px;
  color: #eee;
  padding: 2px 6px;
  position: absolute;
  font-size: 13px;
  background: #ccc;
  font-weight: 700;
  line-height: 14px;
  border-radius: 2px;
}

.file .counter.active {
  color: #fff;
}

.file .detail {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file input[type='file'] {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  display: block;
  position: absolute;
}

.state {
  margin: 12px 0 0;
}

.state > div,
.state[data-state] {
  width: 100%;
  border: 1px solid #ccc;
  padding: 8px 12px;
  display: block;
  box-sizing: border-box;
  background: #eee;
  line-height: 21px;
}

.state[data-state] {
  display: none;
}

.state[submit-error] > div,
.state[data-state='error'] {
  background: #fee;
}

.state i[class] {
  margin: 0 6px 0 0;
}

.state[submit-error] > div i[class],
.state[data-state='error'] i[class] {
  color: #b00;
}

.state label,
.state .label {
  margin: 0 0 8px;
  padding: 2px 0 6px;
}

.state textarea {
  border: none;
  padding: 0 4px 0 0;
}

.state a {
  font-weight: 700;
}

.state a:focus {
  outline: none;
  text-decoration: underline;
}

.state p {
  display: inherit;
  margin: 0;
}

.state .base_image_preview {
  max-width: 360px;
  display: none;
}

.state .base_file_priview {
  max-width: 360px;
  display: none;
  margin-top: 8px;
  padding: 8px;
  border: 1px dashed #ccc;
  margin-right: 8px;
}

aside {
  float: right;
  width: 336px;
  margin: 0 0 16px;
  display: block;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding-bottom: 8px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 4px 4px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

aside .bookmark,
aside nav {
  padding: 12px 8px 0;
  display: block;
}

.ad_right,
.ad_right_top,
.ad_right_bottom,
.ad_corner {
  height: 600px !important;
  display: block;
  overflow: hidden;
  text-align: center;
  text-shadow: none;
}

.ad_right_top,
.ad_right_bottom,
.ad_corner {
  height: 280px !important;
}

.ad_right_bottom,
.ad_corner {
  margin: 20px 0 0;
}

section ul,
article ul {
  margin: 8px 16px;
  padding: 8px;
}

article table {
  margin: 0;
  border-collapse: collapse;
}

article table th,
article table td {
  border: 1px solid #ccc;
  padding: 2px 4px;
  text-align: center;
}

article table th {
  background: #eee;
  font-weight: 400;
}

.switch {
  clear: both;
  margin: 0 0 12px;
  display: block;
  overflow: hidden;
  font-size: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.1s ease;
  font-weight: 700;
  line-height: 26px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.switch:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.switch span {
  display: inline-block;
}

footer {
  clear: both;
  padding: 8px;
  display: block;
  text-align: justify;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  line-height: 22px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: transform 0.3s ease;
  clear: both;
}

footer > div {
  display: block;
}

footer i[class] {
  margin: 0 6px 0 0;
}

footer a {
  float: left;
  margin: 6px 12px 6px 0;
  padding: 0 12px;
  display: block;
  overflow: hidden;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.1s ease;
  font-weight: 700;
  line-height: 26px;
  border: 1px solid #555;
  border-radius: 2px;
}

footer a:last-of-type {
  margin: 6px 0;
}

footer a:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

header .sister a,
header .language a,
aside nav a,
.option button,
.option label,
.file .detail,
.state a,
.switch,
footer a,
.qc-cmp2-persistent-link,
#postPromptUI button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.qc-cmp2-persistent-link {
  background-color: #276399;
}

@media all and (max-width: 1096px) {
  section {
    float: none;
    width: auto;
  }

  aside {
    float: none;
    width: auto;
  }

  .ad_right {
    height: 280px !important;
  }

  .ad_right_bottom {
    display: none;
  }

  article {
    clear: none;
    width: auto;
  }
}

@media all and (max-width: 752px) {
  .ad_left {
    display: none;
  }

  main {
    float: none;
    width: auto;
  }

  header .logo {
    max-width: 640px;
  }

  header .language {
    margin: 4px 4px;
  }

  textarea {
    min-height: 160px;
  }
}

.ad_left {
  background: #d5ebe1;
  margin: 243px 0 12px 12px;
}

main {
  background-color: #f4f7fa;
}

section a,
article a {
  color: #4285f4;
}

.option button,
.option .live.active {
  border: 1px solid #4285f4;
  background: #4285f4;
}

.file .counter.active {
  background: #4285f4;
}

.tool-active {
  margin-right: 12px;
  font-size: 14px;
  color: #606060;
  background: linear-gradient(135deg, #fff 0%, silver 100%);
  padding: 8px 12px;
}

.tool-link {
  margin: 0px 32px 0 24px;
  font-size: 14px;
  color: #ffffff;
  background: #79a074;
  padding: 8px 12px;
}

.tab-wrap {
  margin: 0px auto;
  height: 43px !important;
  border-radius: 4px 4px 0px 0px;
  padding-top: 0 !important;
  background: url('https://www.base64.ink/resource/image/tab.png') #fff left bottom repeat-x;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tab-wrap a {
  float: left;
  padding: 0px 20px;
  cursor: pointer;
  border-width: 2px 1px 0px 1px;
  border-color: #fff;
  border-style: solid;
  border-radius: 4px;
  height: 33px !important;
  line-height: 33px !important;
  color: #222 !important;
  font-size: 13px;
  text-align: center;
  position: relative;
  top: 3px;
}

.tab-wrap a:last-of-type {
  border-right: 1px solid #eeeeee !important;
}

.tab-wrap a.tab-active {
  line-height: 33px;
  height: 33px;
  padding: 0px 14px !important;
  line-height: 36px !important;
  height: 41px !important;
  border: 1px solid #eee !important;
  border-bottom: none !important;
  border-top: 2px solid #4192e7 !important;
  color: #4192e7 !important;
  text-decoration: none;
  position: relative;
  top: 0;
  background: #fff;
  border-radius: 4px 4px 0px 0px;
}
