@font-face {
  font-family: "sans";
  src: url("../font/TitilliumWeb-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "sans";
  src: url("../font/TitilliumWeb-Italic.ttf");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "sans";
  src: url("../font/TitilliumWeb-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "sans";
  src: url("../font/TitilliumWeb-BoldItalic.ttf");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Bilibili Icon";
  src: url("../font/Bilibili_Icons_by_Jiuru.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Web Icon";
  src: url("../font/JR_icons.ttf");
  font-weight: normal;
  font-style: normal;
}
:root {
  --color-background: rgba(32, 32, 32, 0.75);
  --color-text: white;
  --color-contrast-text: black;
  --color-active: white;
  --color-theme: rgb(157, 204, 255);
  --color-grey: rgb(166, 166, 166);
  --data-border-radius: 13px;
  --data-font-size1: clamp(26px, 21px + 1.25vw, 36px);
  --data-font-size2: clamp(21px, 17.5px + 0.875vw, 28px);
  --data-font-size3: clamp(18px, 15.5px + 0.625vw, 23px);
  --data-font-size4: clamp(15px, 14px + 0.25vw, 17px);
  --layout-gutter: clamp(6px, 2vw, 20px);
  --layout-side-column: clamp(240px, 20%, 320px);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  background-image:
        linear-gradient(var(--color-background), var(--color-background)),
        url("https://bee-reg-ab.imagency.cn/e/010a4ab287c088a18d785e89a13ce0fd.jpeg");
  background-color: #202020;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "sans", "Noto Sans", "Open Sans", "Verdana", sans-serif;
  color: var(--color-text);
  font-size: var(--data-font-size4);
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 0 var(--layout-gutter);
}
footer {
  margin: 40px 0;
  padding: 0 var(--layout-gutter);
}
h1, h2 {
  font-size: var(--data-font-size1);
  font-weight: normal;
  margin: 3px;
  padding: 2px;
  overflow-wrap: break-word;
}
h3, h4 {
  font-size: var(--data-font-size2);
  font-weight: normal;
  margin: 3px;
  padding: 2px;
}
h5 {
  font-size: var(--data-font-size3);
  font-weight: normal;
  margin: 3px;
  padding: 2px;
}
h6, p, span {
  font-size: var(--data-font-size4);
  font-weight: normal;
  margin: 3px;
  padding: 2px;
}
p, span {
  line-height: 150%;
}
h1, h3, h6 {
  font-weight: bold;
}
a {
  color: var(--color-theme);
  text-decoration: none;
  margin: auto 4px;
}
a:hover, a:active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
a.sub, a.sub:hover, a.sub:active {
  text-decoration: none;
  color: var(--color-grey);
}
a.tile {
  margin: 5px;
  padding: 5px 8px;
  display: block;
  background-color: var(--color-background);
  color: var(--color-text);
  border-radius: var(--data-border-radius);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
a.tile:hover, a.tile:active {
  background-color: var(--color-active);
  color: var(--color-contrast-text);
  text-decoration: none;
}
i.w, i.b {
  font-style: normal;
  margin: 5px;
  padding: 0;
  user-select: none;
  pointer-events: none;
}
i.w {
  font-family: "Web Icon";
}
i.b {
  font-family: "Bilibili Icon";
}
img {
  display: block;
}
hr {
  border: none;
  height: 1px;
  background: var(--color-grey);
  margin: 5px;
  padding: 0;
}
hr.wide {
  margin-left: 0;
  margin-right: 0;
}
hr.narrow {
  margin: 2px;
}
.sub {
  color: var(--color-grey);
}
.emphasis {
  color: var(--color-active);
}
.box {
  margin: 10px;
  padding: 10px;
  background-color: var(--color-background);
  border-radius: var(--data-border-radius);
}
.flex {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-start;
}
.flex.vertical {
  flex-direction: column;
}
.flex.compact {
  gap: 3px;
}
.flex.inline {
  display: inline-flex;
}
.flex.align-center {
  align-items: center;
  text-align: center;
}
.flex.wrap {
  flex-wrap: wrap;
}
.full {
  flex: 1;
}
.full > * {
  flex: 1;
}
.grid {
  display: grid;
  gap: 5px;
}
.grid > * {
  min-width: 0;
}
.grid.column-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.column-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--layout-side-column);
  gap: 8px;
  align-items: start;
}
.split > * {
  min-width: 0;
}
.avatar-box {
  flex: 0 0 auto;
  width: clamp(64px, 15%, 180px);
}
.avatar-box > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.profile-body {
  flex: 1 1 auto;
  min-width: 0;
}
.center {
  display: block;
  text-align: center;
}
.inline {
  display: inline-block;
}
@media (hover: hover) and (pointer: fine) {
  html {
    background-attachment: fixed;
  }
}
@media (max-width: 900px) {
  .grid.column-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  .grid.column-2, .grid.column-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 420px) {
  .avatar-box {
    width: 72px;
  }
}
