:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #252526;
  --text: #62615e;
  --muted: #a5a29e;
  --dot: #d9d7d3;
  --border: #e4e2df;
  --chip: #f4f3f1;
  --header: #ffffffda;
  --accent: #419c78;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #18191b;
  --ink: #eeedea;
  --text: #bcbab5;
  --muted: #82817e;
  --dot: #393a3c;
  --border: #393a3c;
  --chip: #27282b;
  --header: #18191bdb;
  --accent: #80caae;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  transition:
    background 0.25s,
    color 0.25s;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #8ed7bf55;
}
.shell {
  width: min(960px, calc(100% - 64px));
  margin: auto;
}
header {
  position: relative;
  z-index: 3;
  background: var(--header);
  border-top: 2px solid #f4dddd;
  border-bottom: 1px dashed var(--border);
}
.bar {
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -1.3px;
}
.brand svg {
  width: 43px;
  height: 43px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-weight: 600;
  font-style: italic;
  color: var(--muted);
  font-size: 19px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}
.tools {
  display: flex;
  gap: 13px;
  margin-left: 1px;
  align-items: center;
}
.icon-btn {
  width: 31px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.icon-btn:hover {
  color: var(--ink);
}
.icon-btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn[aria-pressed="true"] {
  color: var(--text);
}
.fluid-off {
  display: none;
}
.icon-btn[aria-pressed="false"] .fluid-off {
  display: block;
}
.theme-moon {
  display: none;
}
html[data-theme="dark"] .theme-sun {
  display: none;
}
html[data-theme="dark"] .theme-moon {
  display: block;
}
.background {
  position: fixed;
  inset: 94px 0 0;
  background-image: radial-gradient(var(--dot) 0.8px, transparent 0.8px);
  background-size: 23px 23px;
  z-index: -2;
}
#fluid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.57;
  filter: blur(9px) saturate(1.35);
  transition: opacity 0.3s;
}
html[data-theme="dark"] #fluid {
  opacity: 0.7;
  mix-blend-mode: screen;
}
#fluid.hidden {
  opacity: 0;
}
.content {
  padding-top: 66px;
  min-height: calc(100vh - 207px);
}
.view[hidden] {
  display: none;
}
.greeting {
  font-size: 28px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 39px;
  font-style: italic;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.greeting span {
  font-size: 26px;
  margin-right: 9px;
  font-style: normal;
}
.description {
  font-size: 19px;
  font-weight: 550;
  font-style: italic;
  line-height: 2;
  margin: 0 0 24px;
}
.stackline {
  font-size: 18px;
  font-weight: 550;
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 20px 0;
  line-height: 1.9;
}
.label {
  margin-right: 1px;
}
.techs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 19px;
  align-items: center;
}
.tech {
  font-size: 19px;
  border-bottom: 1px dashed currentColor;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 650;
}
.tech svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.vue {
  color: #3ca67e;
}
.js {
  color: #ae9026;
}
.android {
  color: #71a64b;
}
.docker {
  color: #269cce;
}
.linux {
  color: var(--text);
}
.note {
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
}
.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 51px;
}
.chip {
  border: 0;
  border-radius: 7px;
  background: var(--chip);
  padding: 2px 12px;
  font-size: 16px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 7px;
}
.chip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.chip:hover {
  color: var(--ink);
  background: var(--border);
}
.entries {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 56px 0 49px;
  font-size: 21px;
  font-weight: 550;
  font-style: italic;
}
.text-link {
  border-bottom: 1px dashed var(--muted);
  line-height: 1.65;
}
.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.sketch {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 25px 15px;
  background: var(--header);
  max-width: 760px;
  margin-bottom: 64px;
}
.sketch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 11px;
}
.sketch svg {
  display: block;
  width: 100%;
  height: 68px;
}
.sketch .ground {
  stroke: var(--border);
  stroke-width: 1;
  fill: none;
}
.sketch .drawing {
  stroke: var(--text);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sketch-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.page-title {
  font-size: 27px;
  color: var(--ink);
  font-weight: 600;
  font-style: italic;
  margin: 0 0 13px;
}
.lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 41px;
}
.project {
  border-top: 1px dashed var(--border);
  padding: 23px 0 25px;
  max-width: 760px;
}
.project h2 {
  font-size: 20px;
  font-weight: 550;
  margin: 0 0 7px;
  color: var(--ink);
}
.project p {
  font-size: 15px;
  margin: 0 0 9px;
}
.project small {
  font-size: 12px;
  color: var(--muted);
}
.back {
  display: inline-block;
  font-size: 14px;
  margin: 33px 0;
  color: var(--muted);
}
.life {
  max-width: 760px;
  margin-top: 31px;
}
.life p {
  font-size: 16px;
  line-height: 2;
}
.life-links {
  margin-top: 32px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  font-size: 11px;
  color: var(--muted);
  align-items: center;
}
.footer .sig {
  font-style: italic;
  font-size: 13px;
}
.footer a:hover {
  color: var(--ink);
}
.status {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  padding: 7px 17px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  z-index: 10;
}
.status.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 40px);
  }
  .bar {
    height: 77px;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
    gap: 7px;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  .nav {
    gap: 17px;
    font-size: 16px;
  }
  .tools {
    gap: 5px;
    margin-left: -6px;
  }
  .icon-btn {
    width: 26px;
  }
  .icon-btn svg {
    width: 20px;
  }
  .background {
    inset: 80px 0 0;
  }
  .content {
    padding-top: 44px;
    min-height: calc(100vh - 200px);
  }
  .greeting {
    font-size: 25px;
    margin-bottom: 30px;
  }
  .description {
    font-size: 17px;
    line-height: 1.9;
  }
  .stackline {
    font-size: 16px;
    gap: 9px;
    margin: 17px 0;
  }
  .tech {
    font-size: 17px;
  }
  .techs {
    gap: 9px 15px;
  }
  .tech svg {
    width: 18px;
    height: 18px;
  }
  .note {
    font-size: 13px;
  }
  .links {
    margin-top: 34px;
  }
  .entries {
    margin-top: 41px;
    margin-bottom: 35px;
    gap: 17px;
    font-size: 20px;
  }
  .sketch {
    padding: 17px;
    margin-bottom: 35px;
  }
  .footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 10px;
    padding: 24px 0;
  }
  .sketch-head {
    font-size: 10px;
  }
  .sketch-label {
    font-size: 10px;
  }
  .life p {
    font-size: 15px;
  }
}
@media (max-width: 365px) {
  .nav {
    gap: 11px;
  }
  .shell {
    width: calc(100% - 30px);
  }
  .brand {
    font-size: 20px;
  }
  .brand svg {
    width: 28px;
  }
  .tools {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.calendar {
  --c0: #f1f2f1;
  --c1: #d3d7d4;
  --c2: #a5afa8;
  --c3: #738478;
  --c4: #3d5746;
  max-width: 850px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--header);
  padding: 22px 25px 17px;
  margin-bottom: 55px;
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.calendar-heading h2 {
  font-size: 16px;
  font-weight: 550;
  margin: 0;
  color: var(--text);
}
.calendar-heading a {
  font-size: 12px;
  color: var(--muted);
}
#calendar-total {
  font-size: 14px;
  margin: 8px 0 16px;
  color: var(--text);
}
#calendar-total strong {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 3px;
}
.calendar-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 7px;
}
#calendar-chart svg {
  display: block;
  width: 100%;
  min-width: 650px;
  height: auto;
}
.calendar text {
  font-family: inherit;
  fill: var(--muted);
  font-size: 10px;
}
.calendar [data-level="0"] {
  fill: var(--c0);
  background: var(--c0);
}
.calendar [data-level="1"] {
  fill: var(--c1);
  background: var(--c1);
}
.calendar [data-level="2"] {
  fill: var(--c2);
  background: var(--c2);
}
.calendar [data-level="3"] {
  fill: var(--c3);
  background: var(--c3);
}
.calendar [data-level="4"] {
  fill: var(--c4);
  background: var(--c4);
}
.calendar rect:hover {
  stroke: var(--text);
  stroke-width: 1;
}
.calendar-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.legend {
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.calendar-note {
  font-size: 10px;
  color: var(--muted);
  margin: 9px 0 0;
}
html[data-theme="dark"] .calendar {
  --c0: #2a2c2d;
  --c1: #3e5044;
  --c2: #597361;
  --c3: #82a18b;
  --c4: #b3d5bb;
}
@media (max-width: 650px) {
  .calendar {
    padding: 17px 14px;
    margin-bottom: 33px;
  }
  .calendar-heading h2 {
    font-size: 14px;
  }
  .calendar-heading a {
    font-size: 11px;
  }
  .calendar-bottom {
    align-items: flex-start;
    gap: 10px;
  }
  .calendar-heading {
    gap: 10px;
  }
  .calendar-note {
    font-size: 10px;
  }
}
#calendar-period {
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 3px 7px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.calendar-heading {
  flex-wrap: wrap;
}
.calendar-heading a {
  white-space: nowrap;
}
@media (max-width: 450px) {
  .calendar-heading a {
    width: 100%;
  }
}

.calendar-tooltip {
  position: fixed;
  z-index: 30;
  background: #252a30;
  color: #fff;
  padding: 8px 12px;
  border-radius: 7px;
  box-shadow: 0 3px 12px #0002;
  font-size: 13px;
  line-height: 1.6;
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100vw - 16px);
}
.calendar-tooltip[hidden] {
  display: none;
}
.calendar rect[data-date] {
  cursor: default;
}
.calendar rect[data-date]:focus-visible {
  outline: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.background {
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  pointer-events: none;
}
.tech {
  position: relative;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.2s;
  will-change: transform;
}
.chip {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s,
    color 0.2s;
  transform-origin: center;
  will-change: transform;
}
.tech:focus-visible {
  transform: translateY(-5px) scale(1.05);
}
.chip:focus-visible {
  transform: scale(1.1);
}
.chip:active {
  transform: scale(0.96);
}
@media (hover: hover) and (pointer: fine) {
  .tech:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.08);
  }
  .chip:hover {
    transform: scale(1.1);
  }
}
.links {
  margin-bottom: 48px;
}
@media (max-width: 650px) {
  .links {
    margin-bottom: 35px;
  }
}

.friend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  max-width: 850px;
  margin: 0 0 48px;
}
.friends-empty {
  grid-column: 1/-1;
  font-size: 14px;
  color: var(--muted);
  padding: 28px 0 38px;
  border-bottom: 1px dashed var(--border);
  margin: 0;
}
.friend-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
  transition: transform 0.25s ease;
}
.friend-card:hover {
  transform: translateY(-4px);
}
.friend-card img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.friend-card h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 550;
  color: var(--ink);
}
.friend-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0 0;
}
.friend-exchange {
  max-width: 850px;
}
.friend-exchange h2 {
  font-size: 18px;
  font-weight: 550;
  color: var(--text);
  margin: 0 0 13px;
}
.friend-exchange p {
  font-size: 14px;
  margin: 0 0 10px;
}
.friend-exchange > .text-link {
  font-size: 14px;
}
.site-details {
  font-size: 13px;
  margin: 27px 0 0;
}
.site-details > div {
  display: flex;
  gap: 25px;
  margin: 8px 0;
}
.site-details dt {
  color: var(--muted);
  min-width: 28px;
}
.site-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.site-details a:hover {
  color: var(--accent);
}
@media (max-width: 650px) {
  .bar {
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    padding: 14px 0 12px;
  }
  .brand {
    height: 34px;
  }
  .nav {
    width: 100%;
    height: 29px;
    gap: clamp(14px, 4vw, 27px);
    justify-content: flex-start;
  }
  .tools {
    position: absolute;
    top: 14px;
    right: 0;
    gap: 10px;
    margin: 0;
  }
  .friend-list {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }
  .friends-empty {
    padding: 15px 0 30px;
  }
  .content {
    padding-top: 35px;
  }
  .site-details > div {
    gap: 18px;
  }
  .lead {
    margin-bottom: 30px;
  }
}

.calendar {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  max-width: 850px;
  margin: 0 0 52px;
  --c0: #ebeeeb;
  --c1: #c8d8ca;
  --c2: #98b39d;
  --c3: #63876e;
  --c4: #365943;
}
.calendar-heading {
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 25px;
  align-items: center;
}
.calendar-heading h2 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: 0.5px;
  color: var(--text);
}
.calendar-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}
#calendar-period {
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  color: var(--muted);
  padding: 3px 1px;
  margin: 0;
  outline-offset: 4px;
}
#calendar-period:hover {
  color: var(--ink);
}
.calendar-separator {
  color: var(--muted);
  font-size: 12px;
}
#calendar-total {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
#calendar-total strong {
  font-size: 14px;
  font-weight: 550;
  color: var(--text);
  margin: 0 2px 0 0;
  font-variant-numeric: tabular-nums;
}
.calendar-heading .calendar-profile {
  width: auto;
  font-size: 17px;
  line-height: 1;
  color: var(--muted);
  padding: 3px 0 3px 3px;
}
.calendar-profile:hover {
  color: var(--ink);
}
.calendar text {
  font-size: 9px;
}
.calendar-scroll {
  padding-bottom: 4px;
}
.calendar-bottom {
  justify-content: flex-end;
  margin-top: 8px;
  font-size: 10px;
}
.legend {
  gap: 4px;
  color: var(--muted);
}
.legend i {
  width: 8px;
  height: 8px;
  border-radius: 1px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 650px) {
  .calendar {
    padding: 0;
    margin-bottom: 35px;
  }
  .calendar-heading {
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .calendar-heading h2 {
    font-size: 15px;
  }
  .calendar-meta {
    gap: 7px;
  }
  #calendar-period,
  #calendar-total {
    font-size: 11px;
  }
  #calendar-total strong {
    font-size: 13px;
  }
  .calendar-heading .calendar-profile {
    width: auto;
    font-size: 16px;
  }
  .calendar-bottom {
    margin-top: 8px;
  }
  .calendar-scroll {
    margin-right: -2px;
  }
}
.friend-avatar {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4e6d9;
  color: #a4663c;
  font-family: Georgia, serif;
  font-size: 23px;
  font-style: italic;
}
.friend-copy {
  min-width: 0;
}
.friend-card p {
  font-size: 12px;
  line-height: 1.8;
}
.friend-arrow {
  margin-left: auto;
  align-self: flex-start;
  color: var(--muted);
  font-size: 15px;
}
.friend-card:hover .friend-arrow {
  color: var(--ink);
}
html[data-theme="dark"] .friend-avatar {
  background: #3e3027;
  color: #ddac81;
}
.brand img {
  width: 43px;
  height: 43px;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 650px) {
  .brand img {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 365px) {
  .brand img {
    width: 28px;
    height: 28px;
  }
}
.arrow-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.12em;
  flex-shrink: 0;
}
.calendar-profile .arrow-icon {
  width: 17px;
  height: 17px;
}
.friend-arrow .arrow-icon {
  width: 16px;
  height: 16px;
}

.filings {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.police-filing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
@media (max-width: 650px) {
  .filings {
    align-items: center;
  }
}
.game-category {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
#play-view .friend-card {
  align-items: flex-start;
}
#play-view .friend-card > img {
  margin-top: 3px;
}

.icon-definitions {
  position: absolute;
}
