@charset "UTF-8";
:root {
  color-scheme: light;
  --page-bg: #eef1f4;
  --paper-bg: #fbfcfd;
  --surface-muted: #eef1f4;
  --surface-control: rgb(251 252 253 / 72%);
  --surface-control-solid: rgb(251 252 253 / 97%);
  --surface-control-active: rgb(18 106 184 / 13%);
  --control-highlight: rgb(255 255 255 / 72%);
  --text-primary: #29313b;
  --text-muted: #626d79;
  --theme-color: #126ab8;
  --theme-color-hover: #0b4d86;
  --line-color: #dce2e8;
  --border-color: #d3dbe4;
  --media-bg: #f5f7f9;
  --shadow-color: rgb(29 47 66 / 12%);
}

:root[data-theme=dark] {
  color-scheme: dark;
  --page-bg: #151a20;
  --paper-bg: #20262e;
  --surface-muted: #2a323c;
  --surface-control: rgb(32 38 46 / 72%);
  --surface-control-solid: rgb(32 38 46 / 97%);
  --surface-control-active: rgb(104 169 223 / 18%);
  --control-highlight: rgb(255 255 255 / 18%);
  --text-primary: #e5eaf0;
  --text-muted: #aeb8c3;
  --theme-color: #68a9df;
  --theme-color-hover: #91c4ed;
  --line-color: #3b4652;
  --border-color: #46515e;
  --media-bg: #252d36;
  --shadow-color: rgb(0 0 0 / 28%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

a {
  color: var(--theme-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
a:hover {
  color: var(--theme-color-hover);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--theme-color) 38%, transparent);
  outline-offset: 3px;
}

#app {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transform-origin: top center;
  transition: opacity 0.19s ease, filter 0.19s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
#app.is-switching-out {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(7px) scale(0.995);
}
#app.is-switching-in {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-7px) scale(0.995);
}

body,
.content,
.section-title,
.profile-photo,
.btn,
.site-controls,
.preference-indicator {
  transition: background-color 0.46s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.46s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.46s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.site-controls {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-color) 68%, var(--control-highlight));
  border-radius: 24px;
  background: radial-gradient(circle at 15% -35%, var(--control-highlight), transparent 44%), linear-gradient(135deg, color-mix(in srgb, var(--control-highlight) 72%, transparent), transparent 56%), var(--surface-control);
  box-shadow: inset 0 1px 0 var(--control-highlight), inset 0 -1px 0 color-mix(in srgb, var(--border-color) 45%, transparent), 0 14px 36px var(--shadow-color);
  backdrop-filter: blur(24px) saturate(165%) contrast(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(165%) contrast(1.04);
}
.site-controls::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--control-highlight) 42%, transparent);
  border-radius: inherit;
  pointer-events: none;
}
.site-controls.is-busy {
  cursor: wait;
}
.site-controls.is-busy .site-control {
  cursor: wait;
  opacity: 0.65;
}

.preference-group {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(48px, 1fr));
  padding: 3px;
  border-radius: 18px;
}
.preference-group[data-active=en] .preference-indicator, .preference-group[data-active=dark] .preference-indicator {
  transform: translateX(100%);
}
.preference-group.is-animating .preference-indicator::after {
  animation: liquid-glass-wobble 0.54s cubic-bezier(0.16, 1, 0.3, 1);
}

.preference-group--theme {
  grid-template-columns: repeat(2, minmax(54px, 1fr));
}

.preference-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  height: calc(100% - 6px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--control-highlight) 64%, var(--border-color));
  border-radius: 15px;
  background: radial-gradient(circle at 24% 0%, var(--control-highlight), transparent 48%), var(--surface-control-active);
  box-shadow: inset 0 1px 0 var(--control-highlight), inset 0 -1px 0 color-mix(in srgb, var(--border-color) 52%, transparent), 0 4px 12px var(--shadow-color);
  pointer-events: none;
  transform: translateX(0);
  transform-origin: center;
  transition: transform 0.52s cubic-bezier(0.22, 1.38, 0.36, 1), background-color 0.46s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.46s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.46s cubic-bezier(0.16, 1, 0.3, 1);
}
.preference-indicator::after {
  content: "";
  position: absolute;
  inset: -22% -10%;
  border-radius: 50%;
  background: linear-gradient(105deg, transparent 25%, var(--control-highlight) 50%, transparent 72%);
  opacity: 0.7;
  transform: scaleX(1);
}

.preference-divider {
  width: 1px;
  height: 28px;
  background: color-mix(in srgb, var(--border-color) 78%, transparent);
}

.site-control {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--text-muted);
  font: 700 14px/1 "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.28s ease, opacity 0.2s ease, transform 0.18s ease;
}
.site-control:hover {
  color: var(--theme-color);
}
.site-control[aria-pressed=true] {
  color: var(--theme-color);
}
.site-control:active {
  transform: scale(0.94);
}

.site-preference-error {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 11;
  max-width: min(340px, 100vw - 36px);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--surface-control-solid);
  box-shadow: 0 10px 28px var(--shadow-color);
  color: var(--text-primary);
  font-size: 13px;
}

@keyframes liquid-glass-wobble {
  0%, 100% {
    transform: scaleX(1) scaleY(1);
    opacity: 0.7;
  }
  42% {
    transform: scaleX(1.22) scaleY(0.86);
    opacity: 0.96;
  }
  72% {
    transform: scaleX(0.96) scaleY(1.06);
    opacity: 0.78;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-controls {
    background: var(--surface-control-solid);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-controls {
    background: var(--surface-control-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .preference-indicator {
    background: var(--surface-control-solid);
  }
}
@media (prefers-reduced-motion: reduce) {
  #app,
  body,
  .content,
  .section-title,
  .profile-photo,
  .btn,
  .site-controls,
  .preference-indicator,
  .site-control {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
.text-strong {
  font-weight: 800;
}

.inline-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.inline-text-img {
  display: inline-block;
  width: auto;
  height: 1em;
  flex: 0 0 auto;
  border-radius: 0;
  vertical-align: middle;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  margin-top: 8px;
  list-style: square inside;
}

p {
  margin: 6px 0 0;
  line-height: 1.6;
  text-indent: 2em;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
  border-radius: 3px;
}

.content {
  position: relative;
  width: min(1024px, 100%);
  margin: 20px auto;
  overflow: hidden;
  border-radius: 5px;
  background-color: var(--paper-bg);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.content-hd {
  position: relative;
  width: 100%;
  padding: 46px 50px 2px;
  overflow: hidden;
}
.content-hd .title {
  width: 100%;
  margin-bottom: 5px;
  padding-bottom: 5px;
  overflow: hidden;
  border-bottom: 2px solid var(--theme-color);
  font-weight: 300;
}
.content-hd .name,
.content-hd .info {
  color: var(--text-primary);
}
.content-hd .name {
  float: left;
}
.content-hd .name h1 {
  margin: 0;
  font-family: "Lucida Grande", "Hiragino Sans GB", "Hiragino Sans GB W3", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 3px;
}
.content-hd .info {
  float: left;
  width: 100%;
  margin-top: 18px;
  line-height: 22px;
}
.content-hd .info ul {
  list-style: none;
}
.content-hd .info li {
  margin-bottom: 8px;
  list-style: none;
}
.content-hd.has-profile-photo {
  padding-right: 425px;
  min-height: 291px;
}
.content-hd.has-profile-photo .title,
.content-hd.has-profile-photo .info {
  width: 100%;
}

.profile-photo {
  position: absolute;
  top: 62px;
  right: 140px;
  width: 190px;
  height: 250px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background: var(--media-bg);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.content-bd {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-height: 200px;
  padding: 8px 30px 20px;
  font-size: 16px;
}
.content-bd section {
  padding: 10px 15px;
  overflow: hidden;
}

.section-hd {
  position: relative;
  height: 32px;
  margin: 10px auto 5px;
  overflow: hidden;
}

.section-title-l,
.section-title-r {
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 35%;
  height: 0;
  border-top: 1px solid var(--line-color);
  vertical-align: middle;
}

.section-title-l {
  left: 0;
}

.section-title-r {
  right: 0;
}

.section-title {
  position: relative;
  z-index: 1;
  width: 24%;
  min-width: 100px;
  margin: 0 auto;
  padding: 4px 10px;
  border-radius: 32px;
  background-color: var(--surface-muted);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.practice .section-title {
  font-size: 17px;
  line-height: 24px;
}
.practice .item-hd {
  line-height: 24px;
}
.practice .item-name {
  font-size: 1.1em;
  line-height: 24px;
}
.practice .entry {
  margin-left: 2em;
}
.practice .section-content li {
  padding-left: 0;
  text-indent: 2em;
}
.practice .entry-description-list li {
  padding-left: 0;
  text-indent: 2em;
}
.practice .description-list p {
  text-indent: 2em;
}

.content-left > .practice:last-child {
  padding-bottom: 0;
}
.content-left > .practice:last-child figure {
  margin-bottom: 0;
}

.section-bd {
  overflow: hidden;
}
.section-bd .item {
  margin-bottom: 25px;
}

.item-hd {
  position: relative;
  min-height: 30px;
  padding: 10px 0 5px;
  overflow: hidden;
  font-weight: 500;
  line-height: 20px;
}

.item-name {
  float: left;
  margin: 0;
  font-size: 1em;
}

.item-more {
  position: absolute;
  top: 10px;
  right: 0;
}

.btn {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid var(--theme-color);
  border-radius: 3px;
  color: var(--theme-color);
  font-family: Menlo, "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

.section-content {
  line-height: 22px;
  text-align: justify;
  word-break: break-word;
}

.entry {
  margin-top: 10px;
}

.entry-title {
  margin: 10px 0 4px;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
}

.entry-title-right {
  float: right;
  margin-left: 1em;
}

.description-list {
  color: var(--text-primary);
}

.entry-description-list {
  margin: 6px 0 0;
  color: var(--text-primary);
  line-height: 1.6;
  text-align: justify;
  word-break: break-word;
}
.entry-description-list li {
  margin-top: 6px;
  list-style: none;
}
.entry-description-list li::before {
  content: "•";
  margin-right: 0.45em;
}

.file-col {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

figure {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 10px 0;
}

.file-col-image {
  width: min(180px, 100%);
  height: auto;
  margin: 5px auto;
}

figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.github-footer {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}
.github-footer .footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 8px 10px;
  color: var(--text-muted);
}

@media screen and (max-width: 1024px) {
  .content {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .github-footer {
    margin-top: 20px;
  }
}
@media screen and (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .content-hd {
    padding: 72px 20px 2px;
  }
  .content-hd .title {
    text-align: center;
  }
  .content-hd .name {
    float: none;
  }
  .content-hd .name h1 {
    margin-top: 10px;
    font-size: 46px;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .content-hd .info {
    float: none;
    margin-top: 28px;
    text-align: center;
  }
  .content-hd.has-profile-photo {
    padding-right: 20px;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(104px, 28vw, 132px);
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: start;
  }
  .content-hd.has-profile-photo .title {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  .content-hd.has-profile-photo .name h1 {
    margin-top: 0;
    font-size: clamp(34px, 10vw, 46px);
  }
  .content-hd.has-profile-photo .info {
    grid-column: 1;
    grid-row: 2;
    margin-top: 14px;
    font-size: clamp(12px, 3.6vw, 16px);
    line-height: 1.45;
    text-align: left;
  }
  .content-hd.has-profile-photo .info li {
    margin-bottom: 5px;
    white-space: nowrap;
  }
  .content-hd.has-profile-photo .profile-photo {
    grid-column: 2;
    grid-row: 1/span 2;
    align-self: center;
  }
  .site-controls {
    top: 10px;
    right: 10px;
    max-width: calc(100vw - 20px);
    gap: 4px;
    padding: 4px;
    border-radius: 22px;
  }
  .site-control {
    min-height: 34px;
    padding: 6px 7px;
    font-size: 12px;
  }
  .preference-group {
    grid-template-columns: repeat(2, minmax(42px, 1fr));
    padding: 2px;
  }
  .preference-group--theme {
    grid-template-columns: repeat(2, minmax(45px, 1fr));
  }
  .preference-indicator {
    top: 2px;
    left: 2px;
    width: calc((100% - 4px) / 2);
    height: calc(100% - 4px);
  }
  .preference-divider {
    height: 24px;
  }
  .site-preference-error {
    top: 66px;
    right: 10px;
  }
  .profile-photo {
    position: static;
    width: clamp(104px, 28vw, 132px);
    height: clamp(137px, 37vw, 174px);
    margin: 0;
  }
  .content-bd {
    padding: 20px 20px 20px;
  }
  .content-bd section {
    padding-inline: 0;
  }
  .item-name {
    float: none;
    padding-right: 72px;
  }
  .file-col {
    flex-direction: column;
    align-items: center;
  }
}
@media print {
  html,
  body {
    background: #fff;
    color: #333;
  }
  :root {
    --paper-bg: #fff;
    --text-primary: #333;
    --text-muted: #666;
    --surface-muted: #eee;
    --line-color: #ededed;
    --theme-color: #126ab8;
  }
  .content {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .site-controls,
  .github-footer {
    display: none;
  }
}