@font-face {
  font-family: "DM Sans";
  src: url("/brand/dm-sans.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/brand/barlow-condensed.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font:
    800 23px/1 "DM Sans",
    "PingFang SC",
    system-ui,
    sans-serif;
  letter-spacing: -1.3px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.brand-icon {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
}
.brandbar .brand-logo {
  font-size: 20px;
  letter-spacing: -1px;
}
.brandbar .brand-icon {
  width: 30px;
  height: 30px;
}
.locked-chapter .chapterIndex:after,
.book-guideTabs .locked-chapter:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 8px;
  height: 10px;
  margin-left: 4px;
  background: currentColor;
  clip-path: polygon(
    15% 43%,
    15% 29%,
    21% 12%,
    37% 1%,
    63% 1%,
    79% 12%,
    85% 29%,
    85% 43%,
    100% 43%,
    100% 100%,
    0 100%,
    0 43%,
    34% 43%,
    68% 43%,
    68% 29%,
    60% 18%,
    40% 18%,
    32% 29%,
    32% 43%
  );
  opacity: 0.74;
}
:focus-visible {
  outline: 3px solid #9877ee;
  outline-offset: 3px;
}

#account-gate {
  box-sizing: border-box;
  width: min(360px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid #55576a;
  border-radius: 20px;
  background: #23232f;
  color: #fff9ea;
  box-shadow: 0 24px 90px #08081280;
  font:
    16px/1.5 "DM Sans",
    system-ui,
    sans-serif;
  text-align: left;
}
#account-gate::backdrop {
  background: #100f1caa;
  backdrop-filter: blur(4px);
}
#account-gate form {
  display: block;
  padding: 0;
  background: transparent;
}
.gate-key {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #dfff75;
  color: #202318;
  font-size: 24px;
}
#account-gate h2 {
  color: #fff9ea;
  margin: 15px 0 5px;
  font:
    800 27px/1.15 system-ui,
    sans-serif;
}
#account-gate p {
  margin: 12px 0 21px;
  color: #d3d2dc;
  font:
    15px/1.6 system-ui,
    sans-serif;
}
#account-gate button {
  min-height: 46px;
  background: #dfff75;
  border: 0;
  border-radius: 10px;
  width: 100%;
  color: #1a2019;
  font:
    750 15px system-ui,
    sans-serif;
  cursor: pointer;
}

#account-gate .gate-account{display:block;color:#dfff75;margin:0 0 16px;font-weight:bold;text-underline-offset:3px}
