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

html {
  background: #050d0a;
  color: #d7e8d9;
  font-family: Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button:focus-visible, canvas:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 5px;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: default;
}

button, a {
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

p, h1, h2, h3 {
  margin: 0;
}

canvas {
  display: block;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-script {
  position: fixed;
  inset: 30% 15% auto;
  padding: 40px;
  background: #0b1712;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
  }
}
body {
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #050d0a;
}

.desktop-wallpaper {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
  pointer-events: none;
}

.desktop-wallpaper--ready {
  opacity: 1;
}

.desktop-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(10, 24, 46, 0.075) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, rgba(18, 32, 52, 0.035) 1px 2px, transparent 2px 3px);
}

.home {
  position: relative;
  min-height: 100svh;
  padding-bottom: 44px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
}

.home--revealing .home__footer {
  -webkit-animation: entrance-footer 1.05s ease both;
          animation: entrance-footer 1.05s ease both;
}

@-webkit-keyframes entrance-footer {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes entrance-footer {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.scene {
  position: relative;
  width: 100%;
  height: calc(100svh - 44px);
  min-height: 460px;
}

#scene-canvas {
  width: 100%;
  height: 100%;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
}

#scene-canvas.is-interactive {
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .home {
    cursor: url("../images/ui/cursors/nipper.png") 4 2, auto;
  }
  .home button:not(:disabled),
  .home a[href],
  #scene-canvas.is-interactive {
    cursor: url("../images/ui/cursors/nipper.png") 4 2, pointer;
  }
}
.scene--portfolio .scene__access {
  display: none;
}

.scene__veil {
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0;
  background: rgba(2, 9, 6, 0.6);
  backdrop-filter: blur(5px) saturate(0.8);
}

.scene__foreground {
  position: absolute;
  inset: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scene__back {
  position: fixed;
  z-index: 10;
  top: 24px;
  left: 24px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #c3f46b;
  background: #0b1712;
  color: #d7e8d9;
  font: 14px Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
}

.scene__loading {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
  background: rgba(11, 23, 18, 0.86);
  backdrop-filter: blur(12px);
  font: 11px "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  color: #d7e8d9;
}

.scene__loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 1;
  -webkit-transition: opacity 450ms ease;
  transition: opacity 450ms ease;
}

.scene__loading--leaving {
  opacity: 0;
}

.scene__loading-mark {
  display: block;
  width: 64px;
  height: 64px;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-animation: loading-logo-turn 3.6s linear infinite;
          animation: loading-logo-turn 3.6s linear infinite;
}

@-webkit-keyframes loading-logo-turn {
  0% {
    -webkit-transform: perspective(360px) rotateY(0deg);
            transform: perspective(360px) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(360px) rotateY(360deg);
            transform: perspective(360px) rotateY(360deg);
  }
}

@keyframes loading-logo-turn {
  0% {
    -webkit-transform: perspective(360px) rotateY(0deg);
            transform: perspective(360px) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(360px) rotateY(360deg);
            transform: perspective(360px) rotateY(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene__loading-mark {
    -webkit-animation: none;
            animation: none;
  }
}
.scene__access {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.scene__access button {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 1px solid #c3f46b;
  border-radius: 3px;
  background: #0b1712;
  padding: 0;
}

.scene__fallback {
  position: absolute;
  inset: 25% 24px auto;
  padding: 24px;
  background: rgba(11, 23, 18, 0.9);
  border: 1px solid #fff;
  text-align: center;
  font-size: 14px;
  line-height: 2;
}

.scene--fallback .scene__access {
  pointer-events: auto;
  bottom: 20%;
}

.scene--fallback .scene__access button {
  position: relative;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 12px 16px;
}

@media (max-width: 699px) {
  body::before {
    background-position: 45% center;
  }
  .scene {
    height: 190.8vw;
    min-height: 0;
  }
  .scene__access {
    position: fixed;
    z-index: 3;
    bottom: 24px;
  }
  .scene--fallback {
    min-height: 85svh;
  }
  .scene--fallback .scene__access {
    position: absolute;
  }
}
.panel-is-open {
  overflow: hidden;
}

.panel {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 3px;
  width: min(510px, 100vw - 36px);
  height: calc(100dvh - 36px);
  max-height: none;
  max-width: none;
  border: 1px solid #4a6799;
  border-radius: 7px;
  background: linear-gradient(120deg, #f8faff, #d1dbeb);
  color: #d7e8d9;
  -webkit-box-shadow: 8px 12px 0 rgba(16, 38, 83, 0.13), 0 24px 80px rgba(14, 33, 75, 0.35), inset 1px 1px 0 #fff;
          box-shadow: 8px 12px 0 rgba(16, 38, 83, 0.13), 0 24px 80px rgba(14, 33, 75, 0.35), inset 1px 1px 0 #fff;
  overflow: hidden;
}

.panel[open] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-animation: panel-enter 220ms ease-out;
          animation: panel-enter 220ms ease-out;
}

.panel::-ms-backdrop, .music__feedback::-ms-backdrop {
  background: rgba(2, 9, 6, 0.6);
  backdrop-filter: blur(5px) saturate(0.8);
}

.panel::backdrop, .music__feedback::backdrop {
  background: rgba(2, 9, 6, 0.6);
  backdrop-filter: blur(5px) saturate(0.8);
}

.panel__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  min-height: 40px;
  padding: 3px 5px 3px 12px;
  border: 1px solid #294c8f;
  border-radius: 4px 4px 0 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#a8c7ff), color-stop(12%, #4a78c3), color-stop(50%, #1b4a9d), to(#3568bb));
  background: linear-gradient(#a8c7ff, #4a78c3 12%, #1b4a9d 50%, #3568bb);
  -webkit-box-shadow: inset 0 1px 0 #dceaff;
          box-shadow: inset 0 1px 0 #dceaff;
  color: #fff;
}

.panel__close {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: -ms-grid;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffc1b3, #d86e6f 45%, #a5384c);
  -webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(215, 232, 217, 0.4);
          box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(215, 232, 217, 0.4);
  color: #fff;
  font: 700 15px Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
}

.panel__close:hover {
  -webkit-filter: brightness(1.15);
          filter: brightness(1.15);
}

.panel__body {
  margin: 0 1px;
  padding: 24px 28px 40px;
  overflow: auto;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: rgba(11, 23, 18, 0.87);
}

.panel__eyebrow {
  font: 10px "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.13em;
  color: #c3f46b;
  margin: 4px 0 12px;
}

.panel__title {
  margin: 0;
  padding: 4px 0;
  font: 700 14px/1.5 Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 #173f85;
}

.panel__description {
  margin: 24px 0;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.025em;
}

.panel__fields {
  margin: 0;
  font-size: 12px;
}

.panel__fields div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid #2c4937;
}

.panel__fields dt {
  color: #d7e8d9;
}

.panel__fields dd {
  margin: 0;
  color: #8eaa96;
  text-align: right;
}

.panel__fields a {
  color: inherit;
}

@-webkit-keyframes panel-enter {
  from {
    opacity: 0;
    -webkit-transform: translateY(8px) scale(0.99);
            transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    -webkit-transform: translateY(8px) scale(0.99);
            transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
  }
}
@media (max-width: 699px) {
  .panel {
    inset: 0;
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
  }
  .panel__body {
    padding: 24px 16px;
  }
}
.panel--tea {
  inset: 0;
  margin: auto;
  width: min(320px, 100vw - 32px);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-height: calc(100dvh - 32px);
}
.panel--tea .panel__body {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  min-height: 0;
  padding: 30px 24px;
  text-align: center;
}
.panel--tea #panel-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
}
.panel--tea .panel__description {
  margin: 0;
  line-height: 1.8;
}
.panel--tea .panel__eyebrow {
  display: none;
}

.panel__donate {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid #c3f46b;
  background: #c3f46b;
  color: #0b1712;
  font: 700 14px Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
  text-decoration: none;
}

.panel__donate:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.panel__donate:focus-visible {
  outline: 2px solid #d7e8d9;
  outline-offset: 4px;
}

.panel--tea-beside::-ms-backdrop {
  background: transparent;
  backdrop-filter: none;
}

.panel--tea-beside::backdrop {
  background: transparent;
  backdrop-filter: none;
}

.panel--tea-beside {
  inset: 0 max(24px, 50% - 300px) 44px auto;
  max-height: calc(100dvh - 100px);
}

@media (max-width: 699px) {
  .panel--tea-beside {
    inset: auto 0 60px;
    margin: 0 auto;
    max-height: 220px;
  }
  .panel--tea-beside .panel__body {
    padding: 24px 16px;
  }
  .panel--tea-beside #panel-content {
    gap: 20px;
  }
}
.tea-payment {
  width: 100%;
  font-size: 12px;
  line-height: 1.8;
}
.tea-payment p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.tea-payment__qr {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 16px;
}

.tea-payment__status:empty {
  display: none;
}

.tea-payment__copy {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #2c4937;
  border-radius: 0;
  background: transparent;
  color: #c3f46b;
  font: 12px/1.5 "SFMono-Regular", Consolas, monospace;
  cursor: pointer;
}
.tea-payment__copy:hover {
  border-color: #c3f46b;
  background: rgba(195, 244, 107, 0.08);
}
.tea-payment__copy:active {
  background: rgba(195, 244, 107, 0.16);
}
.tea-payment__copy:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 3px;
}

.tea-payment .tea-payment__thanks {
  margin: 0 0 18px;
  color: #c3f46b;
  font: 700 20px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
}

.panel--split .about__window.panel__media-window {
  left: 10%;
  top: 2%;
  width: 46%;
  height: 86%;
}

.about-face {
  width: min(100%, 280px);
  margin: 24px auto 40px;
}

.about-face__image {
  position: relative;
  border: 1px solid #2c4937;
  background: #08110c;
}

.about-face video {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
}

.about-face__hint {
  color: #8eaa96;
  text-align: center;
  font: 10px/1.8 "SFMono-Regular", Consolas, monospace;
}

.about__media-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #0b1712;
}

.about__window .about-face {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  margin: 0;
}

.about__window .about-face__image {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 0;
  border: 0;
  overflow: hidden;
}

.about__window video {
  height: 100%;
  aspect-ratio: auto;
}

.about__window .about-face__hint {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin: 0;
  padding: 10px 8px;
  border-top: 1px solid #2c4937;
  color: #c3f46b;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 700px) {
  .panel--split .about__window.panel__media-window {
    left: 3%;
    top: 2%;
    width: 94%;
    height: 73%;
  }
  .panel.panel--about .panel__text-window {
    top: 77%;
    height: auto;
    max-height: none;
  }
  .panel--about .panel__text-window .panel__body {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    overflow: visible;
  }
  .panel--about .panel__fields {
    display: none;
  }
  .about__window .about-face__hint {
    padding: 8px 8px;
    font-size: 14px;
  }
}
.about-face__cues {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #c3f46b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.about-face__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  pointer-events: none;
}

.about-face__poster[hidden] {
  display: none;
}

.portfolio__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.portfolio__project {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  border: 0;
  border-top: 1px solid #2c4937;
  background: none;
}

.portfolio__project > span:last-child {
  margin-left: auto;
}

.portfolio__project strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 400;
}

.portfolio__project small {
  font-size: 10px;
  color: #8eaa96;
}

.portfolio__project:hover {
  color: #c3f46b;
}

.portfolio__number {
  font: 11px "SFMono-Regular", Consolas, monospace;
  color: #8eaa96;
}

.portfolio__back {
  display: block;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
}

.portfolio__detail h3 {
  margin: 12px 0;
  font: 400 24px Tahoma, Verdana, "PingFang TC", sans-serif;
}

.portfolio__detail > p:not(.portfolio__number) {
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.project-desktop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 800px;
  height: 520px;
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  overflow: auto;
  padding: 28px;
  background: #07130f;
  color: #d7e8d9;
  border: 2px solid #2c4937;
  font-family: Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
}

.project-desktop__label {
  margin: 0 0 24px;
  font: 20px "SFMono-Regular", Consolas, monospace;
  color: #8eaa96;
}

.project-desktop__folder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  min-height: 110px;
  padding: 16px;
  border: 1px solid transparent;
  background: none;
  color: #d7e8d9;
  font: 700 32px Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
  text-align: left;
}

.project-desktop__folder img {
  width: 64px;
  height: 64px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
}

.project-desktop__folder:hover, .project-desktop__folder[aria-expanded=true] {
  background: #163725;
  border-color: #2c4937;
}

.project-desktop__folder:focus-visible {
  outline: 3px solid #c3f46b;
  outline-offset: 3px;
}

.project-windows {
  position: fixed;
  inset: 0 0 44px;
  z-index: 11;
  pointer-events: none;
}

.project-window {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 3px;
  border: 1px solid #5b7953;
  background: #0b1712;
  color: #d7e8d9;
  -webkit-box-shadow: 5px 5px 0 #020906;
          box-shadow: 5px 5px 0 #020906;
  pointer-events: auto;
  width: 43vw;
  max-height: calc(100dvh - 100px);
}

.project-window .panel__header {
  min-height: 36px;
  border-radius: 0;
  background: #163725;
  border: 1px solid #2c4937;
  -webkit-box-shadow: none;
          box-shadow: none;
  cursor: move;
  -ms-touch-action: none;
      touch-action: none;
}

.project-window .panel__title {
  font-size: 12px;
  text-shadow: none;
}

.project-window .panel__close {
  border-radius: 0;
  background: #0b1712;
  border: 1px solid #5b7953;
  color: #d7e8d9;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.project-window__body {
  min-height: 0;
  overflow: auto;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  scrollbar-color: #5b7953 #0b1712;
}

.project-window__body > img {
  display: block;
  width: 100%;
  height: auto;
}

.project-window--desktop {
  left: 44vw;
  top: 7vh;
  width: 32vw;
  height: 72vh;
}

.project-window--mobile {
  left: 64vw;
  top: 23vh;
  width: 13vw;
  height: 62vh;
}

.project-window--intro {
  left: 78vw;
  top: 29vh;
  width: 20vw;
  height: 58vh;
  max-height: calc(100dvh - 120px);
}

.project-window--intro .project-window__body {
  padding: 16px;
  font-size: 13px;
  line-height: 1.8;
}

.project-window--intro p {
  margin: 0 0 12px;
}

.project-window--intro dl {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
}

.project-window--intro dt {
  color: #8eaa96;
}

.project-window--intro dd {
  margin: 0 0 12px;
}

.project-window--front {
  z-index: 2;
}

.project-windows--three .project-window--desktop {
  left: 44vw;
  width: 29vw;
}

.project-windows--three .project-window--intro {
  left: 79vw;
  width: 19vw;
  top: 31vh;
  height: 57vh;
}

.project-window :focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: -2px;
}

@media (max-width: 699px) {
  .project-windows {
    top: max(16px, env(safe-area-inset-top));
    bottom: 52px;
    padding: 8px 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 14px;
    overflow: auto;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    pointer-events: auto;
  }
  .project-window, .project-windows--three .project-window--desktop, .project-windows--three .project-window--intro {
    position: relative;
    inset: auto;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100vw - 40px);
            flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
    height: 100%;
    max-height: none;
    scroll-snap-align: center;
  }
  .project-window .panel__header {
    cursor: default;
  }
}
.project-desktop[hidden], .project-windows[hidden], .project-window[hidden] {
  display: none;
}

.project-desktop {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  -ms-flex-line-pack: start;
      align-content: start;
  gap: 12px;
}

.project-desktop__label {
  grid-column: 1/-1;
  margin-bottom: 4px;
}

.project-desktop__folder {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 8px;
  min-height: 128px;
  padding: 12px 8px;
  font-size: 21px;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.project-desktop__folder img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.project-window__body--gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.project-gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  min-height: 0;
}

.project-gallery__navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #2c4937;
  background: #0b1712;
}

.project-gallery__navigation button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #5b7953;
  background: #0b1712;
  color: #d7e8d9;
  font: 12px Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
}

.project-gallery__navigation button[aria-pressed=true] {
  border-color: #c3f46b;
  background: #163725;
  color: #c3f46b;
}

.project-gallery__navigation button:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 1px;
}

.project-gallery__viewport {
  min-height: 0;
  overflow: auto;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  scrollbar-color: #5b7953 #0b1712;
}

.project-gallery__viewport > img {
  display: block;
  width: 100%;
  height: auto;
}

.project-gallery__viewport > img[hidden] {
  display: none;
}

.project-gallery--portrait .project-gallery__viewport > img {
  width: 100%;
  height: auto;
}

.project-gallery__status {
  margin: 0;
  padding: 12px;
  font-size: 13px;
}

.project-gallery__status:empty {
  display: none;
}

.portfolio__detail .project-gallery {
  margin-top: 16px;
}

@media (min-width: 700px) {
  .project-window--portrait {
    left: 49vw;
    top: 5vh;
    width: clamp(240px, 21vw, 360px);
    max-height: calc(100dvh - 100px);
  }
}
.project-windows .project-window--portrait {
  height: auto;
}

@media (max-width: 699px) {
  .project-windows .project-window--portrait {
    -ms-flex-item-align: start;
        align-self: flex-start;
    max-height: 100%;
  }
}
.project-window--portrait .project-gallery__navigation {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 4px minmax(0, 1fr) 4px minmax(0, 1fr) 4px minmax(0, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
}

.project-window--portrait .project-gallery__navigation button {
  min-width: 0;
  padding: 6px 3px;
  font-size: 11px;
  white-space: nowrap;
}

.home__footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 8;
  height: 44px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  padding: 4px 6px;
  border-top: 2px solid #5b7953;
  background: #102018;
  -webkit-box-shadow: 0 -1px 0 #243c2b;
          box-shadow: 0 -1px 0 #243c2b;
  color: #d3edb0;
  font: 12px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
  -webkit-font-smoothing: none;
}

.home__footer img, .start-menu img {
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
}

.taskbar__start {
  border: 1px solid;
  border-color: #5b7953 #d3edb0 #d3edb0 #5b7953;
  -webkit-box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #243c2b;
          box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #243c2b;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 34px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 2px 10px 2px 7px;
  border-radius: 0;
  background: #102018;
  font-weight: 700;
}

.taskbar__start[aria-expanded=true], .taskbar__start:active {
  border-color: #d3edb0 #5b7953 #5b7953 #d3edb0;
  -webkit-box-shadow: inset 1px 1px 0 #243c2b, inset -1px -1px 0 #dfdfdf;
          box-shadow: inset 1px 1px 0 #243c2b, inset -1px -1px 0 #dfdfdf;
  background-image: repeating-conic-gradient(#d6d6d6 0 25%, #c0c0c0 0 50%);
  background-size: 2px 2px;
}

.taskbar__start:focus-visible, .home__note:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -5px;
}

.taskbar__divider {
  height: 29px;
  width: 3px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-left: 1px solid #243c2b;
  border-right: 1px solid #5b7953;
}

.desktop-dock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.desktop-dock__app {
  position: relative;
  width: 36px;
  height: 34px;
  display: -ms-grid;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: #d3edb0;
  text-decoration: none;
  cursor: pointer;
}

.desktop-dock__app img {
  display: block;
  width: 32px;
  height: 32px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
}

.desktop-dock__app:hover {
  border-color: #5b7953 #243c2b #243c2b #5b7953;
}

.desktop-dock__app:active {
  border-color: #243c2b #5b7953 #5b7953 #243c2b;
}

.desktop-dock__app:active img {
  -webkit-transform: translate(1px, 1px);
          transform: translate(1px, 1px);
}

.desktop-dock__app:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -3px;
}

.desktop-dock__app span {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 2;
  padding: 4px 6px;
  border: 1px solid #000;
  background: #ffffdf;
  font: 11px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
  white-space: nowrap;
  -webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}

.desktop-dock__app:hover span, .desktop-dock__app:focus-visible span {
  display: block;
}

.home__note {
  border-color: #d3edb0 #5b7953 #5b7953 #d3edb0;
  -webkit-box-shadow: inset 1px 1px 0 #243c2b, inset -1px -1px 0 #dfdfdf;
          box-shadow: inset 1px 1px 0 #243c2b, inset -1px -1px 0 #dfdfdf;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  height: 32px;
  width: clamp(150px, 25vw, 300px);
  padding: 2px 8px;
  border-radius: 0;
  background: #d5d5d5;
  color: #d3edb0;
  text-align: left;
  font: 700 12px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
}

.home__note:active {
  padding-top: 4px;
}

.taskbar__tray {
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 9px;
  height: 31px;
  min-width: 94px;
  padding: 0 9px;
  border: 1px solid;
  border-color: #243c2b #5b7953 #5b7953 #243c2b;
  font: 12px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
  font-variant-numeric: tabular-nums;
}

.desktop-dock__status {
  position: fixed;
  z-index: 10;
  bottom: 51px;
  left: 8px;
  max-width: calc(100vw - 16px);
  padding: 7px 10px;
  border: 1px solid #000;
  background: #ffffdf;
  -webkit-box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  color: #111;
  font: 12px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
}

.desktop-dock__status:empty {
  display: none;
}

.start-menu {
  border: 1px solid;
  border-color: #5b7953 #d3edb0 #d3edb0 #5b7953;
  -webkit-box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #243c2b;
          box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #243c2b;
  position: fixed;
  z-index: 9;
  bottom: 46px;
  left: 4px;
  width: 250px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 3px;
  background: #102018;
  color: #111;
  font-family: "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
  -webkit-box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #243c2b, 2px 2px 0 rgba(0, 0, 0, 0.25);
          box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #243c2b, 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.start-menu__rail {
  width: 29px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 10px 4px;
  background: #808080;
  color: #c0c0c0;
  font: 700 21px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 12px;
}

.start-menu__rail span {
  color: #fff;
  font-weight: 400;
}

.start-menu__brand {
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.start-menu__items {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 4px;
}

.start-menu__item {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 5px 9px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #111;
  text-align: left;
  font: 12px "MS Sans Serif", Tahoma, "PingFang TC", sans-serif;
}

.start-menu__item:hover, .start-menu__item:focus-visible {
  outline: none;
  background: #284b2d;
  color: #fff;
}

.start-menu__number {
  width: 27px;
  height: 27px;
  display: -ms-grid;
  display: grid;
  place-items: center;
  border: 1px solid #808080;
  background: #e4e4d3;
  color: #000080;
  font: 700 11px "SFMono-Regular", Consolas, monospace;
  -webkit-box-shadow: inset 1px 1px #fff, inset -1px -1px #aaa;
          box-shadow: inset 1px 1px #fff, inset -1px -1px #aaa;
}

@media (max-width: 800px) {
  .home__note {
    width: 32px;
    padding: 2px 4px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .home__note span {
    display: none;
  }
}
@media (max-width: 699px) {
  .home__footer {
    gap: 4px;
    padding-inline: 4px;
  }
  .taskbar__start {
    padding-inline: 6px;
    gap: 8px;
    font-size: 11px;
  }
  .taskbar__start img {
    width: 20px;
    height: 20px;
  }
  .desktop-dock {
    gap: 0;
  }
  .desktop-dock__app {
    width: 32px;
  }
  .desktop-dock__app img {
    width: 32px;
    height: 32px;
  }
  .home__note {
    width: 28px;
    padding: 2px;
  }
  .taskbar__tray {
    min-width: 48px;
    padding: 0 5px;
    font-size: 10px;
  }
  .taskbar__tray img {
    display: none;
  }
  .taskbar__divider:nth-of-type(2) {
    display: none;
  }
}
@font-face {
  font-family: "Intel One Mono";
  src: url("https://raw.githubusercontent.com/intel/intel-one-mono/main/fonts/ttf/IntelOneMono-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
body::before {
  background-color: #050d0a;
  background-blend-mode: luminosity;
  -webkit-filter: brightness(0.25) saturate(0.7);
          filter: brightness(0.25) saturate(0.7);
}

.desktop-texture {
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 4px), url("../images/background/grain.svg");
  opacity: 0.42;
}

::-moz-selection {
  background: #c3f46b;
  color: #07110b;
}

::selection {
  background: #c3f46b;
  color: #07110b;
}

.scene__loading {
  background: #07110b;
  color: #c3f46b;
  backdrop-filter: none;
}

.scene__fallback {
  border-color: #2c4937;
}

.home__footer {
  border-top: 1px solid #63884c;
  -webkit-box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5333333333);
          box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5333333333);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.home__footer img, .start-menu img {
  -webkit-filter: grayscale(1) sepia(1) saturate(2) hue-rotate(28deg);
          filter: grayscale(1) sepia(1) saturate(2) hue-rotate(28deg);
}

.taskbar__start, .home__note {
  -webkit-box-shadow: inset 1px 1px #3a5435, inset -1px -1px #061008;
          box-shadow: inset 1px 1px #3a5435, inset -1px -1px #061008;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.taskbar__start {
  color: #c3f46b;
}

.taskbar__start[aria-expanded=true], .taskbar__start:active {
  background: #29402a;
}

.home__note {
  background: #1a2c1e;
  color: #c3f46b;
  border-color: #385334;
}

.taskbar__tray {
  color: #b4d489;
  border-color: #2b462f;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.desktop-dock__app span, .desktop-dock__status {
  background: #101f15;
  border-color: #789b48;
  color: #c3f46b;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.taskbar__start:focus-visible, .home__note:focus-visible, .desktop-dock__app:focus-visible {
  outline: 1px dashed #c3f46b;
}

.start-menu {
  color: #d7e8d9;
  border-color: #63884c;
  -webkit-box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5333333333);
          box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5333333333);
}

.start-menu__rail {
  background: #203622;
  color: #b9dc83;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.start-menu__rail span {
  color: #c3f46b;
}

.start-menu__item {
  color: #d7e8d9;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.start-menu__item:hover, .start-menu__item:focus-visible {
  background: #c3f46b;
  color: #07110b;
}

.start-menu__number {
  color: #c3f46b;
  background: #0c180f;
  border-color: #456039;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.panel {
  padding: 4px;
  border-radius: 0;
  border-color: #6a8d46;
  background: #0c1911;
  -webkit-box-shadow: inset 1px 1px 0 #5b7953, inset -1px -1px 0 #243c2b, 5px 5px 0 #020906;
          box-shadow: inset 1px 1px 0 #5b7953, inset -1px -1px 0 #243c2b, 5px 5px 0 #020906;
}

.panel[open] {
  -webkit-animation: none;
          animation: none;
}

.panel:not(.panel--split):not(.panel--tea):not(.panel--compact) {
  height: min(660px, 100dvh - 84px);
}

.panel__header {
  cursor: move;
  -ms-touch-action: none;
      touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.panel__header:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: -2px;
}

.panel__close {
  cursor: pointer;
}

.panel__header {
  border-radius: 0;
  border-color: #3c5735;
  background: #172c1c;
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #c3f46b;
}

.panel__close {
  border-radius: 0;
  border-color: #5d7b43;
  background: #14251a;
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #c3f46b;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.panel__body {
  background: #0b1712;
}

.panel__eyebrow {
  color: #c3f46b;
}

.panel__title {
  text-shadow: none;
  color: #e0edda;
  letter-spacing: -0.02em;
  font-size: 14px;
}

.portfolio__project {
  color: #d7e8d9;
}

.portfolio__project:hover {
  color: #c3f46b;
}

@media (prefers-reduced-motion: reduce) {
  .panel[open] {
    -webkit-animation: none;
            animation: none;
  }
}
.start-menu, .start-menu__rail, .start-menu__item, .start-menu__number, .taskbar__start, .home__note {
  font-family: "Intel One Mono", Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
  font-style: italic;
  font-weight: 400;
}

.panel__text-window {
  display: contents;
}

.panel__text-window[hidden], .panel__media-window[hidden] {
  display: none;
}

.panel--split {
  width: min(940px, 100vw - 40px);
  height: min(740px, 100dvh - 100px);
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
  overflow: visible;
  pointer-events: none;
}
.panel--split .panel__text-window, .panel--split .panel__media-window {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 4px;
  border: 1px solid #5b7953;
  background: #102018;
  -webkit-box-shadow: inset 1px 1px 0 #5b7953, inset -1px -1px 0 #243c2b, 5px 5px 0 #020906;
          box-shadow: inset 1px 1px 0 #5b7953, inset -1px -1px 0 #243c2b, 5px 5px 0 #020906;
  pointer-events: auto;
  overflow: hidden;
}
.panel--split .panel__text-window {
  right: 0;
  top: 46%;
  width: 46%;
  max-height: 54%;
  z-index: 2;
}
.panel--split .panel__media-window {
  left: 0;
  top: 0;
  width: 58%;
  height: 88%;
}
.panel--split .riding__window--front {
  z-index: 3;
}
.panel--split [hidden] {
  display: none;
}
.panel--split .panel__body {
  padding: 16px 24px;
}
.panel--split .panel__eyebrow {
  margin-bottom: 8px;
}
.panel--split .panel__description {
  margin: 16px 0;
}
.panel--split .panel__fields div {
  padding: 12px 0;
}

.riding__image-body {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  min-height: 0;
  padding: 0;
  background: #050d0a;
}

.riding__photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

@media (max-width: 700px) {
  .panel--split {
    width: calc(100vw - 24px);
    height: calc(100dvh - 84px);
  }
  .panel--split .panel__media-window {
    width: 86%;
    height: 64%;
  }
  .panel--split .panel__text-window {
    top: 59%;
    width: 90%;
    max-height: 41%;
  }
  .panel--split .panel__body {
    padding: 8px 16px;
  }
  .panel--split .panel__header {
    padding-left: 8px;
  }
}
.panel--riding {
  width: min(1120px, 76vw, 128dvh - 102px);
  height: min(800px, 80dvh);
}
.panel--riding .riding__window {
  width: 47%;
  height: auto;
}
.panel--riding .panel__text-window {
  left: 43%;
  right: auto;
  top: 20%;
  width: 43%;
  max-height: 80%;
}
.panel--riding .panel__body {
  padding: 16px 24px 24px;
}

@media (max-width: 700px) {
  .panel--riding {
    width: calc(100vw - 24px);
    height: calc(100dvh - 84px);
  }
  .panel--riding .riding__window {
    width: min(94%, 66dvh - 50px);
    height: auto;
  }
  .panel--riding .panel__text-window {
    left: auto;
    right: 0;
    top: 71%;
    width: 90%;
    max-height: none;
  }
  .panel--riding .panel__body {
    padding: 8px 16px;
  }
}
.panel.panel--compact {
  width: min(360px, 100vw - 32px);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  min-height: 0;
  max-height: calc(100dvh - 80px);
}
.panel.panel--compact .panel__body {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  padding: 16px;
}
.panel.panel--compact .panel__eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  color: #8eaa96;
}

.contact__message {
  margin: 0 0 16px;
  color: #d7e8d9;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.contact__email {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #2c4937;
  background: #102018;
  color: #c3f46b;
  font: 12px/1.5 "SFMono-Regular", Consolas, monospace;
  text-decoration: none;
}
.contact__email span:first-child {
  overflow-wrap: anywhere;
}
.contact__email:hover {
  background: #163725;
  border-color: #c3f46b;
}
.contact__email:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 3px;
}

.panel__spotify {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
}

.panel.panel--spotify {
  width: min(420px, 100vw - 32px);
}

.panel.panel--spotify {
  width: min(900px, 100vw - 40px);
  height: min(620px, 100dvh - 100px);
}
.panel.panel--spotify .panel__text-window {
  top: 0;
  left: 0;
  right: auto;
  width: 49%;
  max-height: 100%;
}
.panel.panel--spotify .music__window {
  width: 49%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-height: 100%;
}
.panel.panel--spotify .music__window--recommendation {
  left: 4%;
  top: auto;
  bottom: 0;
  z-index: 3;
}
.panel.panel--spotify .music__window--playlist {
  left: auto;
  right: 0;
  top: 56px;
  z-index: 1;
}
.panel.panel--spotify .riding__window--front {
  z-index: 4;
}
.panel.panel--spotify .panel__body {
  -webkit-box-flex: initial;
      -ms-flex: initial;
          flex: initial;
  min-height: 0;
  padding: 16px;
}

.music__form {
  display: -ms-grid;
  display: grid;
  gap: 10px;
}
.music__form label {
  color: #d7e8d9;
  font-size: 12px;
}
.music__form label span {
  color: #8eaa96;
}
.music__form input, .music__form textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px;
  border: 1px solid #2c4937;
  border-radius: 0;
  background: #050d0a;
  color: #d7e8d9;
  font: 13px/1.5 Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
}
.music__form textarea {
  resize: vertical;
}
.music__form input:focus-visible, .music__form textarea:focus-visible, .music__form button:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 2px;
}

.music__submit {
  -ms-grid-column-align: end;
      justify-self: end;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #5b7953;
  background: #102018;
  color: #c3f46b;
  font: 12px Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
  cursor: pointer;
}

.music__submit:hover {
  border-color: #c3f46b;
}

.music__hint {
  margin: 0;
  color: #8eaa96;
  font-size: 10px;
  line-height: 1.6;
}

.music__player {
  height: 460px;
}

@media (max-width: 700px) {
  .panel.panel--spotify {
    height: calc(100dvh - 84px);
    width: calc(100vw - 24px);
    overflow: auto;
    pointer-events: auto;
  }
  .panel.panel--spotify .panel__text-window, .panel.panel--spotify .music__window {
    position: relative;
    inset: auto;
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    max-height: none;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    margin-bottom: 16px;
  }
}
.music__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.music__hint:empty {
  display: none;
}

.music__feedback {
  pointer-events: auto;
  width: min(280px, 100vw - 40px);
  margin: auto;
  padding: 24px;
  border: 1px solid #5b7953;
  border-radius: 0;
  background: #0b1712;
  color: #d7e8d9;
  -webkit-box-shadow: 5px 5px 0 #020906;
          box-shadow: 5px 5px 0 #020906;
  text-align: center;
}
.music__feedback h2 {
  margin: 0 0 10px;
  color: #c3f46b;
  font-size: 17px;
}
.music__feedback p {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.7;
}
.music__feedback button {
  min-height: 40px;
  padding: 8px 24px;
  border: 1px solid #5b7953;
  background: #102018;
  color: #c3f46b;
  cursor: pointer;
}
.music__feedback button:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 3px;
}

.dream-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  pointer-events: auto;
}

html.dreams-page {
  background: #000;
  color: #e1dfd4;
  color-scheme: dark;
}

.dreams-page body {
  min-height: 100svh;
  background: #000;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

.dreams-page body::before {
  content: none;
}

.dreams-page a {
  color: inherit;
  text-decoration: none;
}

.dreams-page button {
  border-radius: 0;
}

@media (hover: hover) and (pointer: fine) {
  html.dreams-page {
    cursor: url("../images/ui/cursors/match-50.png") 13 9, auto;
  }
  .dreams-page a[href],
  .dreams-page button:not(:disabled) {
    cursor: url("../images/ui/cursors/match-50.png") 13 9, pointer;
  }
}
.dreams-page :is(a, button, [tabindex]):focus-visible {
  outline: 1px solid rgba(225, 223, 212, 0.38);
  outline-offset: 8px;
}

.dream-tools {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: #000;
  font: 11px/1.5 monospace;
  letter-spacing: 0.08em;
  color: rgba(225, 223, 212, 0.38);
}

.dream-tools button {
  background: none;
  border: 0;
  border-bottom: 1px solid #292929;
  padding: 6px 0;
  color: rgba(225, 223, 212, 0.38);
}

.dream-world {
  max-width: 1600px;
  margin: auto;
  overflow: hidden;
  padding-top: 18svh;
}

.dream-region {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100svh;
  padding: 110px 10%;
}

.dream-region--0 {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.dream-region--1 {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-right: 15%;
}

.dream-region--2 {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 20%;
}

.dream-region--3 {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding-left: 16%;
  min-height: 110svh;
}

.dream-fragment {
  position: relative;
  max-width: 460px;
  width: 100%;
  padding: 16px;
  color: rgba(225, 223, 212, 0.46);
  -webkit-animation: dream-drift 13s ease-in-out infinite alternate;
          animation: dream-drift 13s ease-in-out infinite alternate;
}

.dream-region--1 .dream-fragment {
  -webkit-animation-delay: -7s;
          animation-delay: -7s;
  -webkit-animation-duration: 17s;
          animation-duration: 17s;
}

.dream-region--2 .dream-fragment {
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
  -webkit-animation-duration: 15s;
          animation-duration: 15s;
}

.dream-region--3 .dream-fragment {
  -webkit-animation-delay: -11s;
          animation-delay: -11s;
}

.dream-fragment:focus-visible {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

.dream-line {
  max-width: 32em;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.08em;
}

.dream-line--1 {
  margin-left: 12%;
  font-size: 13px;
  color: rgba(225, 223, 212, 0.36);
}

.dream-line--2 {
  margin: 52px 0 48px 4%;
  font-size: 17px;
  color: rgba(225, 223, 212, 0.52);
}

.dream-line--3 {
  margin-left: 22%;
  font-size: 14px;
}

.dream-line--4 {
  margin-top: 42px;
  margin-left: 8%;
  font-size: 12.7px;
  color: rgba(225, 223, 212, 0.33);
}

.dream-fall {
  position: fixed;
  inset: 0;
  z-index: 21;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dream-line--fallen {
  color: transparent;
}

.dream-darkness {
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dream-ending {
  position: relative;
  z-index: 22;
  padding: 25svh 12% max(200px, 30svh);
  text-align: center;
}

.dream-ending a {
  display: inline-block;
  padding: 16px 24px;
  font: 16px/2 monospace;
  color: rgba(225, 223, 212, 0.65);
  opacity: 1;
  -webkit-transition: opacity 4s ease 3s;
  transition: opacity 4s ease 3s;
}

.dream-ending a.dream-ending__link--pending {
  opacity: 0;
  -webkit-transition: none;
  transition: none;
}

.dream-ending a:focus {
  opacity: 1;
  -webkit-transition: none;
  transition: none;
}

.dream-noscript {
  padding: 40px;
}

@-webkit-keyframes dream-drift {
  from {
    -webkit-transform: translate3d(-6px, -9px, 0) rotate(-0.7deg);
            transform: translate3d(-6px, -9px, 0) rotate(-0.7deg);
  }
  to {
    -webkit-transform: translate3d(8px, 10px, 0) rotate(0.7deg);
            transform: translate3d(8px, 10px, 0) rotate(0.7deg);
  }
}

@keyframes dream-drift {
  from {
    -webkit-transform: translate3d(-6px, -9px, 0) rotate(-0.7deg);
            transform: translate3d(-6px, -9px, 0) rotate(-0.7deg);
  }
  to {
    -webkit-transform: translate3d(8px, 10px, 0) rotate(0.7deg);
            transform: translate3d(8px, 10px, 0) rotate(0.7deg);
  }
}
@media (max-width: 600px) {
  .dream-tools {
    padding: 16px 20px;
    gap: 18px;
    font-size: 10px;
  }
  .dream-region {
    padding: 80px 7%;
    min-height: 95svh;
  }
  .dream-region--1 {
    padding-left: 15%;
  }
  .dream-region--2 {
    padding-right: 14%;
  }
  .dream-fragment {
    max-width: 390px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dream-fragment {
    -webkit-animation: none;
            animation: none;
  }
  .dream-ending a {
    -webkit-transition: none;
    transition: none;
  }
}
@-webkit-keyframes window-fade-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes window-fade-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.panel[open]:not(.panel--split),
.panel--split[open] > .panel__text-window,
.panel--split[open] > .panel__media-window,
.project-window,
.music__feedback[open] {
  -webkit-animation: window-fade-in 180ms ease-out both;
          animation: window-fade-in 180ms ease-out both;
}

.panel--split[open] > .panel__text-window {
  -webkit-animation-delay: 90ms;
          animation-delay: 90ms;
}

.panel--spotify[open] > .panel__text-window {
  -webkit-animation-delay: 0ms;
          animation-delay: 0ms;
}

.panel--spotify[open] > .music__window--playlist {
  -webkit-animation-delay: 90ms;
          animation-delay: 90ms;
}

.panel--spotify[open] > .music__window--recommendation {
  -webkit-animation-delay: 180ms;
          animation-delay: 180ms;
}

.project-window:nth-child(2) {
  -webkit-animation-delay: 90ms;
          animation-delay: 90ms;
}

.project-window:nth-child(3) {
  -webkit-animation-delay: 180ms;
          animation-delay: 180ms;
}

@-webkit-keyframes window-fade-out {
  to {
    opacity: 0;
    translate: 0 3px;
  }
}

@keyframes window-fade-out {
  to {
    opacity: 0;
    translate: 0 3px;
  }
}
.panel.windows--closing[open]:not(.panel--split),
.panel--split.windows--closing[open] > .panel__text-window,
.panel--split.windows--closing[open] > .panel__media-window,
.project-windows.windows--closing > .project-window,
.music__feedback.windows--closing[open] {
  -webkit-animation: window-fade-out 140ms ease-in both;
          animation: window-fade-out 140ms ease-in both;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .panel[open],
  .panel--split[open] > .panel__text-window,
  .panel--split[open] > .panel__media-window,
  .project-window,
  .music__feedback[open],
  .panel.windows--closing[open]:not(.panel--split),
  .music__feedback.windows--closing[open],
  .panel--split.windows--closing[open] > .panel__text-window,
  .panel--split.windows--closing[open] > .panel__media-window,
  .project-windows.windows--closing > .project-window {
    -webkit-animation: none;
            animation: none;
  }
}
.panel.panel--crochet {
  width: min(1020px, 100vw - 40px);
  height: min(690px, 100dvh - 100px);
}
.panel.panel--crochet .crochet__window {
  width: min(23%, 220px, 30dvh - 35px);
  height: auto;
}
.panel.panel--crochet .crochet__window--1 {
  left: 3%;
  top: 0;
}
.panel.panel--crochet .crochet__window--2 {
  left: 40%;
  top: 9%;
}
.panel.panel--crochet .crochet__window--3 {
  left: 19%;
  top: 51%;
}
.panel.panel--crochet .crochet__window--4 {
  left: 63%;
  top: 51%;
  width: min(18%, 170px, 23dvh - 30px);
}
.panel.panel--crochet .panel__text-window {
  right: 0;
  top: 0;
  width: 32%;
  max-height: 48%;
}
.panel.panel--crochet .panel__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.panel.panel--crochet .riding__window--front {
  z-index: 4;
}

.crochet__media {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  min-height: 0;
  padding: 0;
  overflow: auto;
  background: #050d0a;
}
.crochet__media img, .crochet__media video {
  display: block;
  width: 100%;
  height: auto;
}

.crochet__fallback {
  display: block;
  padding: 8px;
  color: #c3f46b;
  font-size: 12px;
}

@media (max-width: 700px) {
  .panel.panel--crochet {
    width: calc(100vw - 24px);
    height: calc(100dvh - 100px);
    overflow: visible;
    padding: 0;
  }
  .panel.panel--crochet .crochet__window {
    position: absolute;
    inset: auto;
    width: 43%;
    height: 38%;
    max-height: 38%;
    margin: 0;
  }
  .panel.panel--crochet .panel__text-window {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    width: 82%;
    max-height: 28%;
    margin: 0;
  }
  .panel.panel--crochet .crochet__window--1 {
    left: 0;
    top: 24%;
  }
  .panel.panel--crochet .crochet__window--2 {
    left: auto;
    right: 0;
    top: 32%;
  }
  .panel.panel--crochet .crochet__window--3 {
    left: 5%;
    top: 58%;
  }
  .panel.panel--crochet .crochet__window--4 {
    display: none;
  }
  .panel.panel--crochet .crochet__media {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .panel.panel--crochet .crochet__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
}
.crochet__record {
  position: absolute;
  right: -5%;
  top: 33%;
  z-index: 2;
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: clamp(160px, 20vw, 200px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c3f46b;
  text-align: center;
  text-decoration: none;
  pointer-events: auto;
  text-shadow: 0 1px 3px #050d0a;
}
.crochet__record:hover {
  color: #fff;
}
.crochet__record:focus-visible {
  outline: 2px solid #c3f46b;
  outline-offset: 5px;
}
.crochet__record:active .crochet__record-name {
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
}
.crochet__record[hidden] {
  display: none;
}

.crochet__record-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-animation: crochet-record-spin 24s linear infinite;
          animation: crochet-record-spin 24s linear infinite;
  fill: currentColor;
  font: 14px "SFMono-Regular", Consolas, monospace;
  text-shadow: none;
}

.crochet__record-name {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  font: 700 16px/1.5 Tahoma, Verdana, "PingFang TC", "Noto Sans TC", sans-serif;
}
.crochet__record-name .ui-arrow {
  width: 36px;
  height: 27px;
}

@-webkit-keyframes crochet-record-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes crochet-record-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .crochet__record-ring {
    -webkit-animation: none;
            animation: none;
  }
}
@media (max-width: 700px) {
  .crochet__record {
    position: absolute;
    inset: auto 3% 0 auto;
    width: clamp(96px, 28vw, 130px);
    margin: 0;
  }
  .crochet__record-name {
    gap: 4px;
    font-size: 12px;
  }
  .crochet__record-name .ui-arrow {
    width: 26px;
    height: 20px;
  }
}
.ui-arrow {
  display: inline-block;
  width: 2.3em;
  height: 1em;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask: url("../images/ui/arrow-curved.svg") center/contain no-repeat;
  mask: url("../images/ui/arrow-curved.svg") center/contain no-repeat;
}

.ui-arrow--left {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.ui-arrow--up-right {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.part-scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  color: #99ff38;
}

.part-scan.is-visible {
  opacity: 1;
}

.part-scan__frame {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.part-scan__label {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.part-scan__text {
  fill: #050d0a;
  font: 12px "SFMono-Regular", Consolas, monospace;
}

@media (max-width: 700px), (hover: none), (pointer: coarse) {
  .part-scan {
    display: none;
  }
}