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

:root {
  --bg: #f3efe7;
  --paper: #fffaf1;
  --ink: #171613;
  --ink-2: #4a443c;
  --muted: #5f584f;
  --mint-text: #1a6659;
  --line: rgba(23, 22, 19, .14);
  --line-strong: rgba(23, 22, 19, .28);
  --charcoal: #141512;
  --cream: #f8f1e2;
  --mint: #2c9f8f;
  --cobalt: #3758c7;
  --coral: #d85f52;
  --amber: #c88a1b;
  --focus: #2c9f8f;
  --focus-outer: rgba(55, 88, 199, .28);
}

html { scroll-behavior: smooth; }

body {
  background:
    linear-gradient(90deg, rgba(23,22,19,.045) 1px, transparent 1px),
    linear-gradient(rgba(23,22,19,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto;
  color: var(--ink);
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

.click-spark-layer {
  position: fixed;
  inset: 0;
  z-index: 10001;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.magnet-wrap {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  vertical-align: top;
}

.magnet-inner {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  will-change: transform;
}

.shiny-text {
  display: inline-block;
  color: rgba(23, 22, 19, .58);
  background:
    linear-gradient(
      110deg,
      rgba(23, 22, 19, .62) 0%,
      rgba(23, 22, 19, .62) 38%,
      rgba(44, 159, 143, .96) 48%,
      rgba(248, 241, 226, .92) 52%,
      rgba(23, 22, 19, .62) 62%,
      rgba(23, 22, 19, .62) 100%
    );
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text-scan 5.8s linear infinite;
}

.shiny-text.disabled {
  animation: none;
}

.nav-decrypt {
  display: inline-block;
  min-width: 7ch;
  font-family: 'IBM Plex Mono', monospace;
}

.nav-decrypt.is-encrypted {
  color: var(--mint-text);
}

.star-border {
  --star-color: rgba(44, 159, 143, .9);
  --star-speed: 3.8s;
  --star-thickness: 1px;
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border-radius: 999px;
  isolation: isolate;
  padding: var(--star-thickness);
}

.star-border-trail {
  position: absolute;
  z-index: 0;
  width: 260%;
  height: 120%;
  border-radius: 999px;
  opacity: .68;
  pointer-events: none;
  background: radial-gradient(circle, var(--star-color), transparent 13%);
}

.star-border-trail-bottom {
  right: -210%;
  bottom: -52%;
  animation: star-border-bottom var(--star-speed) linear infinite alternate;
}

.star-border-trail-top {
  left: -210%;
  top: -52%;
  animation: star-border-top var(--star-speed) linear infinite alternate;
}

.star-border-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  border-radius: inherit;
}

.star-border .hero-cta {
  box-shadow: inset 0 0 0 1px rgba(248, 241, 226, .08);
}

.magnet-lines {
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  gap: 10px 8px;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 9 / 5;
  align-items: center;
  justify-items: center;
}

.magnet-lines span {
  display: block;
  width: 2px;
  height: 28px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(44, 159, 143, .15), rgba(23, 22, 19, .72), rgba(216, 95, 82, .22));
  transform: rotate(var(--rotate));
  transform-origin: center;
  transition: transform .22s cubic-bezier(.18, .9, .2, 1);
}

.text-type {
  display: inline-flex;
  align-items: center;
  min-height: 1.4em;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .06em;
}

.text-type-content {
  display: inline-block;
}

.text-type-cursor {
  display: inline-block;
  margin-left: .25em;
  color: var(--mint);
  animation: text-type-cursor .9s steps(1) infinite;
}

.gradient-text {
  display: inline;
  color: var(--ink);
  background:
    linear-gradient(
      100deg,
      var(--ink) 0%,
      var(--ink) 34%,
      var(--mint) 48%,
      var(--cobalt) 58%,
      var(--coral) 72%,
      var(--ink) 100%
    );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-text-drift 7.5s ease-in-out infinite alternate;
}

.reveal-on-view {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity .62s cubic-bezier(.18, .9, .2, 1) var(--reveal-delay, 0ms),
    transform .62s cubic-bezier(.18, .9, .2, 1) var(--reveal-delay, 0ms);
}

.reveal-on-view.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.glare-sheen {
  position: absolute;
  inset: -1px;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 38%,
      rgba(248, 241, 226, .52) 48%,
      rgba(44, 159, 143, .36) 53%,
      transparent 64%,
      transparent 100%
    );
  background-size: 260% 260%;
  background-position: -180% -180%;
  mix-blend-mode: screen;
  transition:
    opacity .28s ease,
    background-position .78s cubic-bezier(.18, .9, .2, 1);
}

.pixel-transition {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  pointer-events: none;
  overflow: hidden;
}

.pixel-transition span {
  display: block;
  opacity: 0;
  transform: scale(.3);
  background:
    linear-gradient(135deg, rgba(248, 241, 226, .86), rgba(44, 159, 143, .52), rgba(216, 95, 82, .34));
  mix-blend-mode: screen;
  transition:
    opacity .18s ease,
    transform .42s cubic-bezier(.18, .9, .2, 1);
  transition-delay: calc(var(--pixel-index) * 9ms);
}

.hero-work:hover .pixel-transition span {
  opacity: .72;
  transform: scale(1);
}

.hero-work:not(:hover) .pixel-transition span {
  transition-delay: calc((28 - var(--pixel-index)) * 5ms);
}

.hero-work:hover .glare-sheen,
.modal-box:hover .glare-sheen {
  opacity: 1;
  background-position: 160% 160%;
}

body.performance-lite .click-spark-layer,
body.performance-lite .shiny-text,
body.performance-lite .star-border-trail,
body.performance-lite .text-type-cursor,
body.performance-lite .gradient-text,
body.performance-lite .glare-sheen,
body.performance-lite .pixel-transition,
body.windows-cursor-lite .click-spark-layer,
body.windows-cursor-lite .shiny-text,
body.windows-cursor-lite .star-border-trail,
body.windows-cursor-lite .text-type-cursor,
body.windows-cursor-lite .gradient-text,
body.windows-cursor-lite .glare-sheen,
body.windows-cursor-lite .pixel-transition {
  display: none;
}

body.performance-lite .shiny-text,
body.performance-lite .gradient-text,
body.windows-cursor-lite .shiny-text,
body.windows-cursor-lite .gradient-text {
  display: inline-block;
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

body.performance-lite .gradient-text,
body.windows-cursor-lite .gradient-text {
  display: inline;
}

@keyframes shiny-text-scan {
  0% { background-position: 140% center; }
  100% { background-position: -120% center; }
}

@keyframes star-border-bottom {
  0% { transform: translate3d(0, 0, 0); opacity: .9; }
  100% { transform: translate3d(-82%, -10%, 0); opacity: .24; }
}

@keyframes star-border-top {
  0% { transform: translate3d(0, 0, 0); opacity: .26; }
  100% { transform: translate3d(82%, 10%, 0); opacity: .84; }
}

@keyframes text-type-cursor {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

@keyframes gradient-text-drift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* --- TECHNICAL ORNAMENTS & MONOSPACE LABELS --- */
.news-date,
.news-tag,
.contact-label,
.bio-year,
.plugin-type,
.role-num,
.hero-stat strong,
.hero-label,
.sec-label,
.bio-label,
.footer-copy,
.ver-tab,
.sidebar-foot,
.window-sys-title,
.loader-percent,
.loader-sys-info,
.loader-log,
.loader-title {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}

.tech-barcode {
  font-family: 'Libre Barcode 128', sans-serif;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.12;
  user-select: none;
  transition: opacity 0.3s, color 0.3s;
}
.sidebar:hover .tech-barcode {
  opacity: 0.28;
}

/* Corner Bracket Ornaments */
.tech-brackets {
  position: relative;
}
.tech-brackets::before,
.tech-brackets::after,
.tech-brackets-inner::before,
.tech-brackets-inner::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--muted);
  border-style: solid;
  pointer-events: none;
  opacity: 0.4;
  z-index: 5;
  transition: border-color 0.3s, opacity 0.3s;
}
.tech-brackets::before { top: 0; left: 0; border-width: 1.2px 0 0 1.2px; }
.tech-brackets::after { top: 0; right: 0; border-width: 1.2px 1.2px 0 0; }
.tech-brackets-inner::before { bottom: 0; left: 0; border-width: 0 0 1.2px 1.2px; }
.tech-brackets-inner::after { bottom: 0; right: 0; border-width: 0 1.2px 1.2px 0; }

/* --- DYNAMIC GRADIENT ORBS BACKGROUND --- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.85;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  transition: transform 1.5s ease-out;
}
.orb-1 {
  top: -10%;
  right: 5%;
  width: 50vw;
  height: 50vw;
  background-color: var(--mint);
  animation: orbDrift1 26s ease-in-out infinite alternate;
}
.orb-2 {
  bottom: -15%;
  left: -5%;
  width: 55vw;
  height: 55vw;
  background-color: var(--coral);
  animation: orbDrift2 32s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  top: 35%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background-color: var(--amber);
  animation: orbDrift3 28s ease-in-out infinite alternate;
}
@keyframes orbDrift1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-10%, 15%) scale(1.1) rotate(120deg); }
  100% { transform: translate(12%, -8%) scale(0.9) rotate(240deg); }
}
@keyframes orbDrift2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(15%, -12%) scale(0.85) rotate(-120deg); }
  100% { transform: translate(-8%, 10%) scale(1.1) rotate(-240deg); }
}
@keyframes orbDrift3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12%, -15%) scale(1.15); }
  100% { transform: translate(10%, 8%) scale(0.9); }
}

/* --- INTERACTIVE CUSTOM CURSOR --- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s;
  display: none;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 34px;
  height: 34px;
  border: 1.2px solid #fff;
  border-radius: 4px;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  display: none;
  align-items: center;
  justify-content: center;
  transition:
    width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (pointer: fine) {
  body, a, button, .wi, .ptab, .color-btn, .site-name {
    cursor: none !important;
  }
  .cursor-dot, .cursor-ring {
    display: flex;
  }
}

body.performance-lite,
body.performance-lite .color-btn {
  cursor: auto !important;
}

body.performance-lite a,
body.performance-lite button,
body.performance-lite .wi,
body.performance-lite .ptab,
body.performance-lite .site-name {
  cursor: pointer !important;
}

body.performance-lite .cursor-dot,
body.performance-lite .cursor-ring,
body.performance-lite .bg-orbs {
  display: none !important;
}

body.performance-lite .loader-content,
body.performance-lite .sidebar,
body.performance-lite .profile-sidebar,
body.performance-lite #modal-bg,
body.performance-lite .profile-link-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.performance-lite .sidebar,
body.performance-lite .profile-sidebar {
  background: rgba(255,250,241,.88);
}

body.performance-lite .loader-content {
  background: rgba(20, 21, 18, .94);
}

body.performance-lite #modal-bg {
  background: rgba(20,21,18,.78);
}

body.performance-lite .hero-cta:hover,
body.performance-lite .works-link:hover,
body.performance-lite .plugin-link:hover {
  transform: none;
}

body.windows-cursor-lite .bg-orbs {
  display: none !important;
}

body.windows-cursor-lite .cursor-dot {
  display: none !important;
}

body.windows-cursor-lite .cursor-ring {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border-color: rgba(23, 22, 19, .72);
  background-color: rgba(248, 241, 226, .46);
  mix-blend-mode: normal;
  transition:
    width .16s ease,
    height .16s ease,
    border-radius .16s ease,
    border-color .16s ease,
    background-color .16s ease;
  will-change: left, top;
}

body.windows-cursor-lite.hovering-link .cursor-ring,
body.windows-cursor-lite.hovering-work .cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border-color: rgba(44, 159, 143, .78);
  background-color: rgba(44, 159, 143, .16);
}

body.windows-cursor-lite .cursor-svg-integral {
  color: var(--mint);
}

body.windows-cursor-lite.hovering-work .cursor-svg-integral {
  opacity: .9;
  transform: scale(.92) skewX(-10deg);
  animation: none;
}

/* Hover States */
body.hovering-link .cursor-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}
body.hovering-link .cursor-dot {
  width: 8px;
  height: 8px;
}

.cursor-svg-integral {
  width: 22px;
  height: 22px;
  color: #fff;
  opacity: 0;
  transform: scale(0) skewX(-12deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  position: absolute;
}

body.hovering-work .cursor-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.95);
}
body.hovering-work .cursor-svg-integral {
  opacity: 1;
  transform: scale(1.15) skewX(-12deg);
  animation: pulseRotate 2.5s ease-in-out infinite alternate;
}
@keyframes pulseRotate {
  0% { transform: scale(1.05) skewX(-12deg) rotate(-12deg); }
  100% { transform: scale(1.25) skewX(-12deg) rotate(12deg); }
}

/* --- STAGGERED PAGE & ELEMENT TRANSITIONS --- */
.sec.active,
#hero.active,
.profile-pane.active {
  animation: sectionAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sectionAppear {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



@keyframes slideFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:where(a, button):focus {
  outline: none;
}

:where(
  a,
  button,
  .site-name,
  .nav-item a,
  .hero-cta,
  .hero-work,
  .plugin-link,
  .works-link,
  .works-category,
  .credit-link,
  .ptab,
  .profile-link,
  .win-close,
  .ver-tab,
  .modal-video-link
):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--focus-outer);
}

.nav-item a:focus-visible,
.works-category:focus-visible {
  background-color: rgba(44, 159, 143, .14);
}

.hero-cta:focus-visible,
.plugin-link:focus-visible,
.works-link:focus-visible,
.modal-video-link:focus-visible {
  transform: translateY(-1px);
}

.star-border .hero-cta:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(248, 241, 226, .08);
}

.star-border:has(.hero-cta:focus-visible) {
  box-shadow: 0 0 0 6px var(--focus-outer);
}

#loader {
  position: fixed; inset: 0; background: var(--charcoal); color: var(--cream); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s cubic-bezier(0.76, 0, 0.24, 1);
  font-family: 'IBM Plex Mono', monospace;
}
.loader-content {
  width: 90vw;
  max-width: 420px;
  background: rgba(20, 21, 18, 0.85);
  border: 1px solid rgba(248, 241, 226, 0.15);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.loader-logo {
  width: 48px;
  height: 48px;
  opacity: 0;
  transform: scale(0.8);
  animation: logoAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes logoAppear {
  to { opacity: 1; transform: scale(1); }
}
.loader-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--cream);
}
.loader-sys-info {
  font-size: 9px;
  color: var(--muted);
  opacity: 0.6;
}
.loader-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(248, 241, 226, 0.1);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}
.loader-progress-line {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--mint), var(--coral), var(--amber));
  transition: width 0.05s linear;
}
.loader-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.loader-percent {
  color: var(--cream);
  font-weight: 500;
}

/* --- WINDOW GUI COMPONENT --- */
.window-titlebar {
  background: var(--ink);
  color: var(--cream);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(248, 241, 226, 0.15);
  user-select: none;
  width: 100%;
}
.window-sys-title {
  opacity: 0.85;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.window-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.win-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(248, 241, 226, 0.15);
  border: none;
  pointer-events: none;
}
.win-btn.win-close {
  background: var(--coral);
  color: #fff;
  border: none;
  font-size: 10px;
  line-height: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.2s, background-color 0.2s;
}
.win-btn.win-close:hover {
  background: #f77d6d;
}

.layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  position: sticky;
  top: 0;
  left: auto;
  width: 232px;
  height: 100vh;
  padding: 34px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255,255,255,.52);
  background:
    linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,250,241,.18)),
    rgba(255,250,241,.46);
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,.42),
    18px 0 50px rgba(23,22,19,.08);
  backdrop-filter: blur(10px) saturate(1.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.18);
  z-index: 100;
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255,255,255,.48), transparent 38%),
    radial-gradient(circle at 22% 8%, rgba(255,255,255,.55), transparent 24%);
  opacity: .72;
}

.sidebar > * {
  position: relative;
  z-index: 1;
}

.site-name {
  display: block;
  width: 148px;
  margin-bottom: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.site-name::after { content: none; }
.logo-mark {
  display: block;
  width: 100%;
  height: 58px;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.logo-word {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-name:hover { transform: translateX(2px); opacity: .75; }

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item a {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 12px;
  text-align: left;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
  display: block;
  width: 100%;
  white-space: nowrap;
}
.nav-item a:hover,
.nav-item a.active {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(23,22,19,.055);
  transform: translateX(3px);
}

.sidebar-foot {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.main {
  width: 100%;
  min-width: 0;
}
.page { display: none; }
.page.active { display: block; }

#hero {
  min-height: 620px;
  min-height: min(82vh, 760px);
  padding: 78px 72px 72px;
  padding: 78px clamp(28px, 8vw, 120px) 72px;
  border-bottom: 1px solid var(--line);
  display: block;
  max-width: 100vw;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: 64px;
  gap: clamp(40px, 7vw, 96px);
  width: 100%;
}

.hero-copy { width: 100%; max-width: 820px; min-width: 0; margin-left: 0; }

.hero-label,
.sec-label,
.bio-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before,
.sec-label::before,
.bio-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--coral), var(--amber));
  flex-shrink: 0;
}

.hero-title {
  width: 100%;
  writing-mode: horizontal-tb;
  font-size: 92px;
  font-size: clamp(52px, 9vw, 116px);
  font-weight: 500;
  line-height: .94;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(23,22,19,.76);
}

.hero-sub {
  font-size: 20px;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--ink-2);
  line-height: 1.9;
  max-width: 640px;
  width: 100%;
  writing-mode: horizontal-tb;
  word-break: normal;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  line-break: strict;
}

.hero-type-line {
  margin-top: 18px;
  min-height: 22px;
  color: var(--ink-2);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--cream);
  background: var(--ink);
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
  background: var(--mint);
}
.hero-cta.secondary {
  color: var(--ink);
  background: rgba(255,250,241,.58);
}
.hero-cta.secondary:hover {
  color: var(--cream);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--line);
  max-width: 580px;
}
.hero-stat {
  background: rgba(255,250,241,.72);
  padding: 18px;
}
.hero-stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}
.hero-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.hero-work {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255,250,241,.66);
  padding: 10px;
  text-align: left;
  color: var(--ink);
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.hero-work:hover {
  border-color: var(--ink);
  box-shadow: 0 24px 60px rgba(23,22,19,.16);
}
.hero-work:focus-visible {
  border-color: var(--focus);
}
.hero-work.is-changing {
  border-color: rgba(23,22,19,.42);
  box-shadow: 0 18px 44px rgba(23,22,19,.14);
}
.hero-work.is-closing,
.hero-work.is-revealing {
  transform: translateY(0);
}
.hero-work-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--charcoal);
  transform: translateZ(0);
}
.hero-work-thumb::before,
.hero-work-body::before,
.hero-work-body::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}
.hero-work-thumb::before {
  top: -18%;
  bottom: -18%;
  left: 50%;
  z-index: 4;
  width: 2px;
  background:
    linear-gradient(180deg, transparent, rgba(248,241,226,.95) 18%, rgba(44,159,143,.95) 50%, rgba(216,95,82,.72) 78%, transparent),
    linear-gradient(180deg, transparent, rgba(248,241,226,.45), transparent);
  box-shadow:
    -8px 0 0 rgba(248,241,226,.16),
    8px 0 0 rgba(20,21,18,.3);
  transform: translateX(-220px) skewX(-15deg);
}
.hero-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.96) contrast(1.04);
}
.hero-work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,21,18,0), rgba(20,21,18,.28));
}
.hero-work-body {
  position: relative;
  padding: 16px 6px 4px;
}
.hero-work-body::before {
  inset: -24% -16%;
  z-index: 3;
  background:
    linear-gradient(105deg, transparent 0 37%, rgba(20,21,18,.5) 42%, rgba(248,241,226,.9) 46%, rgba(44,159,143,.7) 48%, rgba(216,95,82,.42) 50%, transparent 58%),
    linear-gradient(105deg, transparent 0 46%, rgba(255,250,241,.28) 49%, transparent 53%);
  mix-blend-mode: multiply;
  transform: translateX(-120%) skewX(-10deg);
}
.hero-work-body::after {
  left: 16px;
  right: 16px;
  top: 0;
  z-index: 4;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(23,22,19,.6) 18%, rgba(248,241,226,.96) 48%, rgba(44,159,143,.86) 54%, rgba(216,95,82,.72) 60%, transparent),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(23,22,19,.38) 13px 14px);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-work-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 10px;
}
.hero-work-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.hero-work-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-2);
}
.hero-work.is-changing .hero-work-thumb::before {
  animation: hero-work-cut-line .68s cubic-bezier(.83,.02,.16,.99) both;
}
.hero-work.is-changing .hero-work-body::before {
  animation: hero-work-splice-sweep .68s cubic-bezier(.83,.02,.16,.99) both;
}
.hero-work.is-changing .hero-work-body::after {
  animation: hero-work-timeline-cut .46s cubic-bezier(.18,.9,.2,1) .06s both;
}
.hero-work.is-closing .hero-work-thumb > *:not(style) {
  animation: hero-work-current-out .2s cubic-bezier(.83,.02,.16,.99) both;
}
.hero-work.is-closing .hero-work-label,
.hero-work.is-closing .hero-work-title,
.hero-work.is-closing .hero-work-link {
  animation: hero-work-copy-out .18s cubic-bezier(.83,.02,.16,.99) both;
}
.hero-work.is-revealing .hero-work-thumb > *:not(style) {
  animation: hero-work-next-in .36s cubic-bezier(.18,.9,.2,1) both;
}
.hero-work.is-revealing .hero-work-label,
.hero-work.is-revealing .hero-work-title,
.hero-work.is-revealing .hero-work-link {
  animation: hero-work-copy-in .34s cubic-bezier(.18,.9,.2,1) both;
}

@keyframes hero-work-cut-line {
  0% {
    opacity: 0;
    transform: translateX(-260px) skewX(-15deg);
  }
  18%, 74% { opacity: .92; }
  100% {
    opacity: 0;
    transform: translateX(260px) skewX(-15deg);
  }
}

@keyframes hero-work-splice-sweep {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-10deg);
  }
  20% { opacity: .82; }
  56% { opacity: .72; }
  100% {
    opacity: 0;
    transform: translateX(120%) skewX(-10deg);
  }
}

@keyframes hero-work-timeline-cut {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  44% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes hero-work-current-out {
  0% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
  }
  100% {
    opacity: .72;
    clip-path: polygon(0 0, 54% 0, 43% 100%, 0 100%);
    transform: scale(1.012) translateX(-2px);
  }
}

@keyframes hero-work-next-in {
  0% {
    opacity: .74;
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 49% 100%);
    transform: scale(1.012) translateX(2px);
  }
  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1) translateX(0);
  }
}

@keyframes hero-work-copy-out {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: .42;
    transform: translateX(-8px);
  }
}

@keyframes hero-work-copy-in {
  0% {
    opacity: .38;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.sec { display: none; }
.sec.active { display: block; }

#sec-news {
  min-height: calc(100vh - 90px);
}

.sec-inner {
  position: relative;
  z-index: 1;
  padding: 86px 72px;
  padding: 86px clamp(28px, 6vw, 92px);
  max-width: 1040px;
}
.sec-title {
  font-size: 54px;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 34px;
}

.news-item,
.role-item,
.plugin-item,
.contact-item,
.bio-item {
  display: grid;
  grid-template-columns: 112px 96px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.news-date,
.news-tag,
.contact-label,
.bio-year,
.plugin-type,
.role-num {
  color: var(--muted);
  font-size: 12px;
}
.news-tag,
.ctb,
.profile-tag,
.field-item {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--ink-2);
  font-size: 12px;
  background: rgba(255,250,241,.44);
}
.news-text,
.role-desc,
.bio-text,
.contact-val,
.plugin-name {
  color: var(--ink-2);
}

.about-lead,
.plugin-intro,
.contact-text {
  font-size: 18px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-2);
  line-height: 2;
  margin-bottom: 58px;
  max-width: 720px;
}
.about-system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 28px;
  align-items: stretch;
  max-width: 960px;
}
.about-system-grid-static {
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
}
.role-list-full { width: 100%; }
.role-list { display: flex; flex-direction: column; gap: 0; }
.role-item { grid-template-columns: 42px 180px minmax(0, 1fr); }
.role-title { color: var(--ink); font-weight: 500; }
.signal-field {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(23,22,19,.055) 1px, transparent 1px),
    linear-gradient(rgba(23,22,19,.04) 1px, transparent 1px),
    rgba(255,250,241,.42);
  background-size: 18px 18px, 18px 18px, auto;
}

.plugin-link {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--cream);
  font-size: 12px;
  padding: 8px 14px;
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.plugin-link:hover {
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-1px);
}
.plugin-link { display: inline-flex; }
.works-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.works-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.works-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s, background .2s, border-color .2s;
}
.works-link:hover {
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-1px);
}
.works-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.works-category-label {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}
.works-category {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,250,241,.56);
  color: var(--ink-2);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
}
.works-category.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.works-category.is-static { cursor: default; }
.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.credit-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
}
.credit-role {
  opacity: .72;
}

.wg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  width: 100%;
}
.wi {
  aspect-ratio: 16/9;
  min-height: 190px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  isolation: isolate;
  transition:
    transform .28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color .28s ease,
    box-shadow .28s ease;
}
.wi:hover,
.wi:has(.wi-open:hover),
.wi:has(.wi-open:focus-visible) {
  border-color: var(--focus);
  background: #1c1d19;
  box-shadow: 0 10px 26px rgba(20, 21, 18, .32);
}
.wi-open-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(248, 241, 226, .4);
  background: rgba(20, 21, 18, .72);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}
.wi:hover .wi-open-hint,
.wi:has(.wi-open:hover) .wi-open-hint,
.wi:has(.wi-open:focus-visible) .wi-open-hint {
  opacity: 1;
  transform: translateY(0);
}
.wi-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.wi-open:focus { outline: none; }
.wi-open:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -4px;
  box-shadow: inset 0 0 0 6px var(--focus-outer);
}
.wi:has(.wi-open:focus-visible) {
  border-color: var(--focus);
  box-shadow: 0 0 0 6px var(--focus-outer);
}
.wth {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(44,159,143,.54), transparent 25%),
    radial-gradient(circle at 78% 72%, rgba(216,95,82,.42), transparent 28%),
    var(--charcoal);
}
.ws { width: 100%; height: 100%; opacity: .9; }
.work-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.96) contrast(1.05);
}
.wth.has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,21,18,.04) 0%, rgba(20,21,18,.22) 42%, rgba(20,21,18,.88) 100%),
    radial-gradient(circle at 20% 18%, rgba(248,241,226,.18), transparent 30%);
  pointer-events: none;
}
.wi-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20,21,18,.74) 34%, rgba(20,21,18,.98) 100%);
  pointer-events: none;
  z-index: 4;
}
.wif {
  position: relative;
  padding: 48px 20px 0;
  opacity: 1;
  transform: none;
}
.wi:not(.has-credits) .wif { padding-bottom: 20px; }
.wc { font-size: 10.8px; color: #ffd27b; margin-bottom: 5px; text-shadow: 0 1px 6px rgba(0,0,0,.76); }
.wn { font-size: 14.4px; font-weight: 500; line-height: 1.45; color: var(--cream); text-shadow: 0 2px 10px rgba(0,0,0,.82); }
.wcr { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.wi-credits {
  margin: 10px 20px 18px;
  pointer-events: auto;
}
.wi .ctb {
  color: var(--cream);
  border-color: rgba(248,241,226,.24);
  background: rgba(248,241,226,.08);
  padding: 2px 7px;
  font-size: 10px;
}
.wi .credit-link {
  gap: 5px;
}
.wi .credit-avatar {
  width: 16px;
  height: 16px;
}
.wi--compact .wif {
  padding: 42px 18px 0;
}
.wi--compact .wc {
  margin-bottom: 4px;
  font-size: 9.5px;
}
.wi--compact .wn {
  font-size: 13px;
  line-height: 1.38;
}
.wi--compact .wi-credits {
  margin: 8px 18px 15px;
  gap: 5px;
}
.wi--compact .ctb {
  padding: 2px 6px;
  font-size: 9px;
}
.wi--compact .credit-link {
  gap: 4px;
}
.wi--compact .credit-avatar {
  width: 14px;
  height: 14px;
}
.wi--compact .wif { padding: 42px 18px 0; }
.wi--compact .wc { margin-bottom: 4px; font-size: 9.5px; }
.wi--compact .wn { font-size: 13px; line-height: 1.38; }
.wi--compact .wi-credits { margin: 8px 18px 15px; gap: 5px; }
.wi--compact .ctb { padding: 2px 6px; font-size: 9px; }
.wi--compact .credit-link { gap: 4px; }
.wi--compact .credit-avatar { width: 14px; height: 14px; }
.wi-del {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(20,21,18,.82);
  border: 1px solid rgba(248,241,226,.24);
  border-radius: 999px;
  color: var(--cream);
  width: 28px; height: 28px;
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
body.windows-cursor-lite .wth::before {
  display: none;
}
body.windows-cursor-lite .hero-work-body::before {
  display: none;
}
body.windows-cursor-lite .hero-work.is-changing .hero-work-thumb::before,
body.windows-cursor-lite .hero-work.is-changing .hero-work-body::after {
  animation-duration: .42s;
}
body.windows-cursor-lite .hero-work.is-closing .hero-work-thumb > *:not(style),
body.windows-cursor-lite .hero-work.is-closing .hero-work-label,
body.windows-cursor-lite .hero-work.is-closing .hero-work-title,
body.windows-cursor-lite .hero-work.is-closing .hero-work-link {
  animation-duration: .14s;
}
body.windows-cursor-lite .hero-work.is-revealing .hero-work-thumb > *:not(style),
body.windows-cursor-lite .hero-work.is-revealing .hero-work-label,
body.windows-cursor-lite .hero-work.is-revealing .hero-work-title,
body.windows-cursor-lite .hero-work.is-revealing .hero-work-link {
  animation-duration: .24s;
}

body.performance-lite .wi::before,
body.performance-lite .wi::after,
body.performance-lite .wth::before,
body.performance-lite .hero-work-thumb::before,
body.performance-lite .hero-work-body::before,
body.performance-lite .hero-work-body::after {
  display: none !important;
  animation: none !important;
}
body.performance-lite .wi,
body.performance-lite .wth,
body.performance-lite .wif,
body.performance-lite .wc,
body.performance-lite .wn,
body.performance-lite .wcr,
body.performance-lite .wi .ctb,
body.performance-lite .work-thumb,
body.performance-lite .hero-work,
body.performance-lite .hero-work-thumb > *,
body.performance-lite .hero-work-label,
body.performance-lite .hero-work-title,
body.performance-lite .hero-work-link {
  transition: none !important;
  animation: none !important;
}
body.performance-lite .wi:is(:hover, :focus-visible),
body.performance-lite .wi:is(:hover, :focus-visible) .wth,
body.performance-lite .wi:is(:hover, :focus-visible) .wif,
body.performance-lite .wi:is(:hover, :focus-visible) .wc,
body.performance-lite .wi:is(:hover, :focus-visible) .wn,
body.performance-lite .wi:is(:hover, :focus-visible) .wcr {
  transform: none !important;
}
body.performance-lite .wi:is(:hover, :focus-visible) .wth {
  clip-path: none !important;
  filter: none !important;
}
body.performance-lite .wi-open-hint {
  transition: none !important;
}
body.performance-lite .wi:hover,
body.performance-lite .wi:has(.wi-open:hover),
body.performance-lite .wi:has(.wi-open:focus-visible) {
  transform: none !important;
}
body.performance-lite .wi:hover .wi-open-hint,
body.performance-lite .wi:has(.wi-open:hover) .wi-open-hint,
body.performance-lite .wi:has(.wi-open:focus-visible) .wi-open-hint {
  transform: none !important;
}
body.performance-lite .hero-work.is-changing,
body.performance-lite .hero-work.is-closing,
body.performance-lite .hero-work.is-revealing,
body.performance-lite .hero-work.is-closing .hero-work-thumb > *,
body.performance-lite .hero-work.is-revealing .hero-work-thumb > *,
body.performance-lite .hero-work.is-closing .hero-work-label,
body.performance-lite .hero-work.is-closing .hero-work-title,
body.performance-lite .hero-work.is-closing .hero-work-link,
body.performance-lite .hero-work.is-revealing .hero-work-label,
body.performance-lite .hero-work.is-revealing .hero-work-title,
body.performance-lite .hero-work.is-revealing .hero-work-link {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wi,
  .wth,
  .wif,
  .wc,
  .wn,
  .wcr,
  .wi .ctb,
  .work-thumb,
  .hero-work,
  .hero-work-thumb > *,
  .hero-work-label,
  .hero-work-title,
  .hero-work-link {
    transition: none !important;
    animation: none !important;
  }
  .wi::before,
  .wi::after,
  .wth::before,
  .hero-work-thumb::before,
  .hero-work-body::before,
  .hero-work-body::after {
    display: none !important;
    animation: none !important;
  }
  .wi:is(:hover, :focus-visible),
  .wi:is(:hover, :focus-visible) .wth,
  .wi:is(:hover, :focus-visible) .wif,
  .wi:is(:hover, :focus-visible) .wc,
  .wi:is(:hover, :focus-visible) .wn,
  .wi:is(:hover, :focus-visible) .wcr {
    transform: none !important;
  }
  .wi:is(:hover, :focus-visible) .wth {
    clip-path: none !important;
    filter: none !important;
  }
  .wi-open-hint { transition: none !important; }
  .wi:hover,
  .wi:has(.wi-open:hover),
  .wi:has(.wi-open:focus-visible) {
    transform: none !important;
  }
  .wi:hover .wi-open-hint,
  .wi:has(.wi-open:hover) .wi-open-hint,
  .wi:has(.wi-open:focus-visible) .wi-open-hint {
    transform: none !important;
  }
  .hero-work.is-changing,
  .hero-work.is-closing,
  .hero-work.is-revealing,
  .hero-work.is-closing .hero-work-thumb > *,
  .hero-work.is-revealing .hero-work-thumb > *,
  .hero-work.is-closing .hero-work-label,
  .hero-work.is-closing .hero-work-title,
  .hero-work.is-closing .hero-work-link,
  .hero-work.is-revealing .hero-work-label,
  .hero-work.is-revealing .hero-work-title,
  .hero-work.is-revealing .hero-work-link {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

.plugin-list,
.contact-list { display: flex; flex-direction: column; gap: 0; }
.plugin-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.plugin-name { color: var(--ink); font-weight: 500; }
.contact-item { grid-template-columns: 128px minmax(0, 1fr); }
.contact-val:hover { color: var(--mint); }

.av-ring{
  width:172px;
  height:172px;
  border-radius:50%;
  background:conic-gradient(from 180deg,var(--mint),var(--cobalt),var(--coral),var(--amber),var(--mint));
  padding:2px;
  margin-bottom:24px;
  overflow:hidden;
}
.av-inner{
  width:100%;
  height:100%;
  border-radius:50%;
  background:var(--paper);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:48px;
  font-weight:300;
  color:rgba(23,22,19,.28);
  overflow:hidden;
}
.av-inner img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.logo-avatar{ background:#000; }
.logo-avatar img{ object-fit:cover; transform:scale(1.85); }
.portrait-avatar img{ object-fit:cover; }
.profile-page { display: none; }
.profile-page.active {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.profile-layout { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.profile-sidebar {
  position: fixed; top: 0; left: 0; width: 232px; height: 100vh;
  padding: 34px 22px 28px; border-right: 1px solid rgba(255,255,255,.52);
  background:
    linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,250,241,.18)),
    rgba(255,250,241,.46);
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,.42),
    18px 0 50px rgba(23,22,19,.08);
  backdrop-filter: blur(10px) saturate(1.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.18);
  z-index: 100; display: flex; flex-direction: column; justify-content: space-between;
}
.profile-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255,255,255,.48), transparent 38%),
    radial-gradient(circle at 22% 8%, rgba(255,255,255,.55), transparent 24%);
  opacity: .72;
}
.profile-sidebar > * {
  position: relative;
  z-index: 1;
}
.profile-main {
  width: 100%;
  max-width: 1120px;
  margin: 0;
  min-width: 0;
  padding: 76px clamp(28px, 6vw, 92px);
}
.profile-tabs {
  display: flex; gap: 8px; margin-bottom: 58px;
  border-bottom: 1px solid var(--line); overflow-x: auto;
  scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }
.ptab {
  background: none; border: none; font-size: 13px; color: var(--muted);
  padding: 13px 18px 13px 0; cursor: pointer;
  transition: color .2s; border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap;
}
.ptab.active { color: var(--ink); border-bottom-color: var(--mint); }
.profile-pane { display: none; }
.profile-pane.active { display: block; }
.profile-pane-grid { display: block; }
.profile-summary,
.profile-detail {
  min-width: 0;
}
.profile-role { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.profile-name-en {
  font-size: 46px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
}
.profile-name-jp { font-size: 14px; color: var(--ink-2); margin: 8px 0 34px; }
.profile-tags,
.profile-links,
.fields-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-tags { margin-bottom: 34px; }
.profile-links { margin-bottom: 52px; }
.profile-link {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.profile-link:hover { color: var(--mint); border-color: var(--mint); }
.bio-section { margin-bottom: 42px; max-width: 860px; }
.bio-item { grid-template-columns: 58px minmax(0, 1fr); }

#work-modal {
  display: flex;
  opacity: 0;
  pointer-events: none;
  position: fixed; inset: 0; z-index: 800;
  align-items: center; justify-content: center;
  transition: opacity .3s;
}
#modal-bg {
  position: absolute; inset: 0;
  background: rgba(20,21,18,.72);
  backdrop-filter: blur(12px);
}
.modal-box {
  position: relative; z-index: 1;
  background: var(--paper);
  border: 1px solid var(--ink);
  width: 90vw; max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) rgba(23, 22, 19, .12);
  box-shadow: 0 36px 100px rgba(23,22,19,.35);
}
.modal-box::-webkit-scrollbar {
  width: 8px;
}
.modal-box::-webkit-scrollbar-track {
  background: rgba(23, 22, 19, .08);
}
.modal-box::-webkit-scrollbar-thumb {
  background: rgba(44, 159, 143, .72);
  border-radius: 999px;
}
.modal-header {
  padding: 30px 36px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
#modal-cat { font-size: 12px; color: var(--amber); margin-bottom: 6px; }
#modal-title { font-size: 26px; font-weight: 500; color: var(--ink); }
.modal-close {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); font-size: 20px; cursor: pointer;
  width: 34px; height: 34px; line-height: 1;
  transition: color .2s, border-color .2s;
  flex-shrink: 0; margin-left: 24px;
}
.modal-close:hover { color: var(--ink); border-color: var(--mint); }
.modal-body { padding: 30px 36px 36px; }
#modal-credits { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.modal-ver-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.ver-tab {
  background: none; border: none; font-size: 12px; color: var(--muted);
  padding: 11px 20px 11px 0; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s;
}
.ver-tab.active { color: var(--ink); border-bottom-color: var(--mint); }
.modal-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #050505; }
.modal-video-wrap iframe { width: 100%; height: 100%; min-height: 1px; border: none; }
.modal-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  font-size: 12px;
}
.modal-video-link:hover { background: var(--mint); border-color: var(--mint); }
.modal-no-video {
  padding: 48px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 72px;
  padding: 30px clamp(28px, 6vw, 92px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.footer-name,
.footer-copy { font-size: 12px; }

@media (max-width: 980px) {
  .layout { display: block; max-width: 100vw; overflow-x: hidden; }
  .sidebar {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    height: auto;
    overflow-x: hidden;
    padding: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .site-name { width: 120px; margin-bottom: 14px; }
  .logo-mark { width: 100%; height: 44px; }
  .sidebar > div:first-child { width: 100%; }
  .nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .nav-item a {
    min-height: 44px;
    padding: 8px 10px;
    text-align: center;
  }
  .nav-item a:hover,
  .nav-item a.active { transform: none; }
  .sidebar-foot { display: none; }
  .main { margin-left: 0; width: 100%; min-width: 0; max-width: 100vw; }
  #hero {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    overflow: hidden;
    padding: 48px 22px 44px;
    display: block;
  }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { width: 100%; margin-left: 0; }
  .hero-actions .magnet-wrap,
  .hero-actions .magnet-inner,
  .hero-actions .star-border,
  .hero-actions .star-border-content,
  .hero-actions .hero-cta {
    width: 100%;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-work { max-width: 420px; margin-top: 8px; }
  .sec-inner { padding: 64px 22px; }
  .wg { grid-template-columns: 1fr; }
  .about-system-grid {
    grid-template-columns: 1fr;
  }
  .signal-field {
    min-height: 150px;
  }
  .news-item,
  .role-item,
  .plugin-item,
  .contact-item,
  .bio-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .profile-sidebar { position: relative; width: 100%; height: auto; }
  .profile-page.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-main { margin-left: 0; padding: 44px 22px; }
  .profile-pane-grid { display: block; }
  .site-footer { padding: 24px 22px; flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (min-width: 1024px) {
  .profile-pane-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: clamp(44px, 6vw, 88px);
    align-items: start;
  }

  .profile-links {
    margin-bottom: 0;
  }
}

@supports not (aspect-ratio: 16/9) {
  .hero-work-thumb,
  .modal-video-wrap {
    height: 0;
    padding-top: 56.25%;
  }
  .hero-work-thumb img,
  .modal-video-wrap iframe {
    position: absolute;
    inset: 0;
  }
  .wi {
    min-height: 220px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  #hero {
    padding-right: 56px;
    padding-left: 56px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 40px;
  }
  .hero-copy {
    width: 100%;
    max-width: 760px;
  }
  .hero-title {
    font-size: 78px;
    font-size: clamp(64px, 8vw, 92px);
  }
  .hero-sub {
    max-width: 680px;
  }
  .hero-work {
    width: 100%;
    max-width: 520px;
  }
  .sec-inner {
    width: 100%;
    max-width: none;
    padding-right: 56px;
    padding-left: 56px;
  }
}

@media (min-width: 981px) and (max-width: 1900px) {
  #sec-works .sec-inner {
    width: 100%;
    max-width: none;
    padding-right: 56px;
    padding-left: 56px;
  }
  .wg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body { font-size: 14px; overflow-x: hidden; }
  .sidebar { padding: 10px 16px; }
  .site-name { width: 104px; min-height: 44px; margin-bottom: 6px; }
  .logo-mark { height: 36px; }
  .nav-list { gap: 4px; }
  .wi .wif,
  .wi:not(.has-credits) .wif { padding: 28px 16px 16px; }
  .wi .wc,
  .wi .wi-credits { display: none; }
  .hero-title { font-size: 52px; }
  .hero-title { width: 100%; writing-mode: horizontal-tb; font-size: clamp(42px, 14vw, 58px); }
  .hero-actions { flex-direction: column; }
  .hero-cta { text-align: center; }
  .hero-work { max-width: none; }
  .modal-header,
  .modal-body { padding: 22px; }
}

/* --- LANYARD CREATIVE PASS --- */
.lanyard-stage {
  --lanyard-rx: 0deg;
  --lanyard-ry: 0deg;
  --lanyard-rz: 0deg;
  position: fixed;
  top: 0;
  right: clamp(18px, 3.4vw, 56px);
  width: 176px;
  height: 330px;
  z-index: 28;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -112%, 0);
  transition: opacity .2s ease;
}

.lanyard-stage.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.lanyard-stage.is-dropping {
  animation: lanyard-drop .95s cubic-bezier(.18, .92, .18, 1) both;
}

.lanyard-passport {
  position: absolute;
  inset: 0;
  transform-origin: 50% 0;
  transform:
    rotateX(var(--lanyard-rx))
    rotateY(var(--lanyard-ry))
    rotateZ(var(--lanyard-rz));
  animation: lanyard-sway 5.8s ease-in-out .95s infinite;
  transform-style: preserve-3d;
}

.lanyard-stage.is-still .lanyard-passport {
  animation: none;
}

.lanyard-cord {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 72px;
  height: 132px;
  border-right: 1.5px solid rgba(23, 22, 19, .44);
  border-left: 1.5px solid rgba(23, 22, 19, .44);
  transform: translateX(-50%) perspective(180px) rotateX(28deg);
}

.lanyard-clip {
  position: absolute;
  left: 50%;
  top: 112px;
  width: 42px;
  height: 14px;
  border: 1px solid rgba(23, 22, 19, .38);
  background: rgba(248, 241, 226, .76);
  transform: translateX(-50%);
}

.lanyard-card {
  position: absolute;
  left: 50%;
  top: 126px;
  width: 116px;
  min-height: 154px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(23, 22, 19, .2);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, .94), rgba(248, 241, 226, .84)),
    radial-gradient(circle at 28% 20%, rgba(44, 159, 143, .12), transparent 42%);
  box-shadow:
    0 18px 42px rgba(23, 22, 19, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .36);
  transform: translateX(-50%) rotateX(8deg) rotateZ(-2deg);
  backdrop-filter: blur(8px);
}

.lanyard-card-hole {
  width: 20px;
  height: 5px;
  border-radius: 999px;
  border: 1px solid rgba(23, 22, 19, .22);
  background: rgba(255, 250, 241, .78);
  margin-bottom: 2px;
}

.lanyard-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: .86;
}

.lanyard-title,
.lanyard-pass {
  display: block;
  max-width: 100%;
  color: rgba(23, 22, 19, .82);
  font-family: 'IBM Plex Mono', monospace;
  text-align: center;
  line-height: 1.12;
}

.lanyard-title {
  font-size: 10px;
  font-weight: 500;
}

.lanyard-pass {
  font-size: 8px;
  color: rgba(23, 22, 19, .48);
}

.lanyard-line {
  width: 86%;
  height: 6px;
  margin-top: 2px;
  background: rgba(44, 159, 143, .68);
}

body.performance-lite .lanyard-passport,
body.windows-cursor-lite .lanyard-passport {
  animation: none;
}

@media (max-width: 1099px) {
  .lanyard-stage {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lanyard-stage.is-visible,
  .lanyard-passport {
    animation: none;
  }

  .lanyard-stage.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lanyard-drop {
  0% { transform: translate3d(0, -112%, 0) rotate(-4deg); }
  58% { transform: translate3d(0, 0, 0) rotate(2.6deg); }
  74% { transform: translate3d(0, -14px, 0) rotate(-1.8deg); }
  88% { transform: translate3d(0, 3px, 0) rotate(.7deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes lanyard-sway {
  0%, 100% { transform: rotateZ(-1.2deg); }
  50% { transform: rotateZ(1.45deg); }
}

@media (max-width: 760px) {
  .lanyard-stage {
    right: 10px;
    width: 128px;
    height: 248px;
  }

  .lanyard-cord {
    height: 94px;
    width: 52px;
  }

  .lanyard-clip {
    top: 82px;
  }

  .lanyard-card {
    top: 94px;
    width: 88px;
    min-height: 124px;
    padding: 14px 10px 10px;
  }

  .lanyard-card img {
    width: 44px;
    height: 44px;
  }
}

/*
 * Atelier material refinement (normal mode only).
 * Win98 has its own presentation contract in styles/win98-theme.css; these rules
 * intentionally never apply while that display mode is active.
 */
html[data-mode="atelier"] .sidebar,
html[data-mode="atelier"] .profile-sidebar {
  border-color: rgba(255, 255, 255, 0.64);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 250, 241, 0.26)),
    rgba(255, 250, 241, 0.54);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.5),
    18px 0 50px rgba(23, 22, 19, 0.1);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

html[data-mode="atelier"] #work-modal {
  transition: opacity 200ms ease-out;
}

html[data-mode="atelier"] .modal-box {
  border-radius: 20px;
  box-shadow: 0 32px 88px rgba(23, 22, 19, 0.3), inset 0 1px rgba(255, 255, 255, 0.6);
  transform: translateY(8px) scale(0.985);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-mode="atelier"] #work-modal[aria-hidden="false"] .modal-box {
  transform: translateY(0) scale(1);
}

@starting-style {
  html[data-mode="atelier"] #work-modal[aria-hidden="false"] .modal-box {
    transform: translateY(8px) scale(0.985);
  }
}

html[data-mode="atelier"] .hero-cta,
html[data-mode="atelier"] .plugin-link,
html[data-mode="atelier"] .works-link,
html[data-mode="atelier"] .wi,
html[data-mode="atelier"] .profile-link {
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-mode="atelier"] .hero-cta:active,
html[data-mode="atelier"] .plugin-link:active,
html[data-mode="atelier"] .works-link:active,
html[data-mode="atelier"] .wi:has(.wi-open:active),
html[data-mode="atelier"] .profile-link:active {
  transform: translateY(1px) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  html[data-mode="atelier"] .shiny-text,
  html[data-mode="atelier"] .gradient-text,
  html[data-mode="atelier"] .text-type-cursor,
  html[data-mode="atelier"] .bg-orbs,
  html[data-mode="atelier"] .tech-barcode,
  html[data-mode="atelier"] .modal-box {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-mode="atelier"] .sidebar,
  html[data-mode="atelier"] .profile-sidebar,
  html[data-mode="atelier"] .modal-box,
  html[data-mode="atelier"] #modal-bg {
    background: #f8f1e2;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  html[data-mode="atelier"] .sidebar,
  html[data-mode="atelier"] .profile-sidebar,
  html[data-mode="atelier"] .modal-box {
    border-color: rgba(23, 22, 19, 0.68);
    background: #fffaf1;
  }
}
/*! 98.css v0.1.21 - https://github.com/jdan/98.css */@font-face{font-family:"Pixelated MS Sans Serif";font-style:normal;font-weight:400;src:url('/assets/ms_sans_serif-C3pax6mQ.woff') format("woff");src:url('/assets/ms_sans_serif-Du8rjN1q.woff2') format("woff2")}@font-face{font-family:"Pixelated MS Sans Serif";font-style:normal;font-weight:700;src:url('/assets/ms_sans_serif_bold-B8yxhAcs.woff') format("woff");src:url('/assets/ms_sans_serif_bold-D5dpRRHG.woff2') format("woff2")}html[data-mode="win98"] body{color:#222;font-family:Arial;font-size:12px}html[data-mode="win98"] .title-bar,html[data-mode="win98"] .window,html[data-mode="win98"] button,html[data-mode="win98"] input,html[data-mode="win98"] label,html[data-mode="win98"] legend,html[data-mode="win98"] li[role=tab],html[data-mode="win98"] option,html[data-mode="win98"] select,html[data-mode="win98"] table,html[data-mode="win98"] textarea,html[data-mode="win98"] ul.tree-view{-webkit-font-smoothing:none;font-family:"Pixelated MS Sans Serif",Arial;font-size:11px}html[data-mode="win98"] h1{font-size:5rem}html[data-mode="win98"] h2{font-size:2.5rem}html[data-mode="win98"] h3{font-size:2rem}html[data-mode="win98"] h4{font-size:1.5rem}html[data-mode="win98"] u{border-bottom:.5px solid #222;text-decoration:none}html[data-mode="win98"] button,html[data-mode="win98"] input[type=reset],html[data-mode="win98"] input[type=submit]{background:silver;border:none;border-radius:0;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;box-sizing:border-box;color:transparent;min-height:23px;min-width:75px;padding:0 12px;text-shadow:0 0 #222}html[data-mode="win98"] button.default,html[data-mode="win98"] input[type=reset].default,html[data-mode="win98"] input[type=submit].default{box-shadow:inset -2px -2px #0a0a0a,inset 1px 1px #0a0a0a,inset 2px 2px #fff,inset -3px -3px grey,inset 3px 3px #dfdfdf}html[data-mode="win98"] .vertical-bar{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;height:20px;width:4px}html[data-mode="win98"] button:not(:disabled):active,html[data-mode="win98"] input[type=reset]:not(:disabled):active,html[data-mode="win98"] input[type=submit]:not(:disabled):active{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey;text-shadow:1px 1px #222}html[data-mode="win98"] button.default:not(:disabled):active,html[data-mode="win98"] input[type=reset].default:not(:disabled):active,html[data-mode="win98"] input[type=submit].default:not(:disabled):active{box-shadow:inset 2px 2px #0a0a0a,inset -1px -1px #0a0a0a,inset -2px -2px #fff,inset 3px 3px grey,inset -3px -3px #dfdfdf}@media (not (hover)){html[data-mode="win98"] button:not(:disabled):hover,html[data-mode="win98"] input[type=reset]:not(:disabled):hover,html[data-mode="win98"] input[type=submit]:not(:disabled):hover{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}}html[data-mode="win98"] button:focus,html[data-mode="win98"] input[type=reset]:focus,html[data-mode="win98"] input[type=submit]:focus{outline:1px dotted #000;outline-offset:-4px}html[data-mode="win98"] button::-moz-focus-inner,html[data-mode="win98"] input[type=reset]::-moz-focus-inner,html[data-mode="win98"] input[type=submit]::-moz-focus-inner{border:0}html[data-mode="win98"] :disabled,html[data-mode="win98"] :disabled+label,html[data-mode="win98"] input[readonly],html[data-mode="win98"] input[readonly]+label{color:grey}html[data-mode="win98"] :disabled+label,html[data-mode="win98"] button:disabled,html[data-mode="win98"] input[type=reset]:disabled,html[data-mode="win98"] input[type=submit]:disabled{text-shadow:1px 1px 0 #fff}html[data-mode="win98"] .window{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;padding:3px}html[data-mode="win98"] .title-bar{align-items:center;background:linear-gradient(90deg,navy,#1084d0);display:flex;justify-content:space-between;padding:3px 2px 3px 3px}html[data-mode="win98"] .title-bar.inactive{background:linear-gradient(90deg,grey,#b5b5b5)}html[data-mode="win98"] .title-bar-text{color:#fff;font-weight:700;letter-spacing:0;margin-right:24px}html[data-mode="win98"] .title-bar-controls{display:flex}html[data-mode="win98"] .title-bar-controls button{display:block;min-height:14px;min-width:16px;padding:0}html[data-mode="win98"] .title-bar-controls button:active{padding:0}html[data-mode="win98"] .title-bar-controls button:focus{outline:none}html[data-mode="win98"] .title-bar-controls button[aria-label=Minimize],html[data-mode="win98"] .title-bar-controls button[aria-label].minimize{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");background-position:bottom 3px left 4px;background-repeat:no-repeat}html[data-mode="win98"] .title-bar-controls button[aria-label=Maximize],html[data-mode="win98"] .title-bar-controls button[aria-label].maximize{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}html[data-mode="win98"] .title-bar-controls button[aria-label=Maximize]:disabled,html[data-mode="win98"] .title-bar-controls button[aria-label].maximize:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 1H1v9h9V1zM9 3H2v6h7V3z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='gray'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}html[data-mode="win98"] .title-bar-controls button[aria-label=Restore],html[data-mode="win98"] .title-bar-controls button[aria-label].restore{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}html[data-mode="win98"] .title-bar-controls button[aria-label=Help],html[data-mode="win98"] .title-bar-controls button[aria-label].help{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 1h2v2H0zM1 0h4v1H1zM4 1h2v2H4zM3 3h2v1H3zM2 4h2v2H2zM2 7h2v2H2z'/%3E%3C/svg%3E");background-position:top 2px left 5px;background-repeat:no-repeat}html[data-mode="win98"] .title-bar-controls button[aria-label=Close],html[data-mode="win98"] .title-bar-controls button[aria-label].close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");background-position:top 3px left 4px;background-repeat:no-repeat;margin-left:2px}html[data-mode="win98"] .status-bar{gap:1px;display:flex;margin:0 1px}html[data-mode="win98"] .status-bar-field{box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;flex-grow:1;margin:0;padding:2px 3px}html[data-mode="win98"] .window-body{margin:8px}html[data-mode="win98"] fieldset{border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h5v5H0V2h2v1h1V2H0' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h4v4H0V1h1v2h2V1H0'/%3E%3C/svg%3E") 2;margin:0;padding:10px;padding-block-start:8px}html[data-mode="win98"] legend{background:silver}html[data-mode="win98"] .field-row{align-items:center;display:flex}html[data-mode="win98"] [class^=field-row]+[class^=field-row]{margin-top:6px}html[data-mode="win98"] .field-row>*+*{margin-left:6px}html[data-mode="win98"] .field-row-stacked{display:flex;flex-direction:column}html[data-mode="win98"] .field-row-stacked *+*{margin-top:6px}html[data-mode="win98"] label{align-items:center;display:inline-flex;user-select:none}html[data-mode="win98"] input[type=checkbox],html[data-mode="win98"] input[type=radio]{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:0;border:none;margin:0;opacity:0;position:fixed}html[data-mode="win98"] input[type=checkbox]+label,html[data-mode="win98"] input[type=radio]+label{line-height:13px}html[data-mode="win98"] input[type=radio]+label{margin-left:18px;position:relative}html[data-mode="win98"] input[type=radio]+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='%23fff'/%3E%3C/svg%3E");content:"";display:inline-block;height:12px;left:-18px;margin-right:6px;position:absolute;top:0;width:12px}html[data-mode="win98"] input[type=radio]:active+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='silver'/%3E%3C/svg%3E")}html[data-mode="win98"] input[type=radio]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1v1H0v2h1v1h2V3h1V1H3V0z' fill='%23000'/%3E%3C/svg%3E");content:"";display:block;height:4px;left:-14px;position:absolute;top:4px;width:4px}html[data-mode="win98"] input[type=checkbox]:focus+label,html[data-mode="win98"] input[type=radio]:focus+label{outline:1px dotted #000}html[data-mode="win98"] input[type=radio][disabled]+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='silver'/%3E%3C/svg%3E")}html[data-mode="win98"] input[type=radio][disabled]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1v1H0v2h1v1h2V3h1V1H3V0z' fill='gray'/%3E%3C/svg%3E")}html[data-mode="win98"] input[type=checkbox]+label{margin-left:19px;position:relative}html[data-mode="win98"] input[type=checkbox]+label:before{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;content:"";display:inline-block;height:13px;left:-19px;margin-right:6px;position:absolute;width:13px}html[data-mode="win98"] input[type=checkbox]:active+label:before{background:silver}html[data-mode="win98"] input[type=checkbox]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6v1H5v1H4v1H3v1H2V3H1V2H0v3h1v1h1v1h1V6h1V5h1V4h1V3h1V0z' fill='%23000'/%3E%3C/svg%3E");content:"";display:block;height:7px;left:-16px;position:absolute;width:7px}html[data-mode="win98"] input[type=checkbox][disabled]+label:before{background:silver}html[data-mode="win98"] input[type=checkbox][disabled]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6v1H5v1H4v1H3v1H2V3H1V2H0v3h1v1h1v1h1V6h1V5h1V4h1V3h1V0z' fill='gray'/%3E%3C/svg%3E")}html[data-mode="win98"] input[type=email],html[data-mode="win98"] input[type=number],html[data-mode="win98"] input[type=password],html[data-mode="win98"] input[type=search],html[data-mode="win98"] input[type=tel],html[data-mode="win98"] input[type=text],html[data-mode="win98"] input[type=url]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0}html[data-mode="win98"] input[type=email],html[data-mode="win98"] input[type=number],html[data-mode="win98"] input[type=password],html[data-mode="win98"] input[type=search],html[data-mode="win98"] input[type=tel],html[data-mode="win98"] input[type=text],html[data-mode="win98"] input[type=url],html[data-mode="win98"] select{background-color:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;box-sizing:border-box;padding:3px 4px}html[data-mode="win98"] select,html[data-mode="win98"] textarea{border:none}html[data-mode="win98"] textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-radius:0;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;box-sizing:border-box;padding:3px 4px}html[data-mode="win98"] input[type=email],html[data-mode="win98"] input[type=password],html[data-mode="win98"] input[type=search],html[data-mode="win98"] input[type=tel],html[data-mode="win98"] input[type=text],html[data-mode="win98"] input[type=url],html[data-mode="win98"] select{height:21px}html[data-mode="win98"] input[type=number]{height:22px}html[data-mode="win98"] input[type=search]::-ms-clear,html[data-mode="win98"] input[type=search]::-ms-reveal{display:none;height:0;width:0}html[data-mode="win98"] input[type=search]::-webkit-search-cancel-button,html[data-mode="win98"] input[type=search]::-webkit-search-decoration,html[data-mode="win98"] input[type=search]::-webkit-search-results-button,html[data-mode="win98"] input[type=search]::-webkit-search-results-decoration{display:none}html[data-mode="win98"] input[type=email],html[data-mode="win98"] input[type=number],html[data-mode="win98"] input[type=password],html[data-mode="win98"] input[type=search],html[data-mode="win98"] input[type=tel],html[data-mode="win98"] input[type=text],html[data-mode="win98"] input[type=url]{line-height:2}html[data-mode="win98"] input[type=email]:disabled,html[data-mode="win98"] input[type=email]:read-only,html[data-mode="win98"] input[type=number]:disabled,html[data-mode="win98"] input[type=number]:read-only,html[data-mode="win98"] input[type=password]:disabled,html[data-mode="win98"] input[type=password]:read-only,html[data-mode="win98"] input[type=search]:disabled,html[data-mode="win98"] input[type=search]:read-only,html[data-mode="win98"] input[type=tel]:disabled,html[data-mode="win98"] input[type=tel]:read-only,html[data-mode="win98"] input[type=text]:disabled,html[data-mode="win98"] input[type=text]:read-only,html[data-mode="win98"] input[type=url]:disabled,html[data-mode="win98"] input[type=url]:read-only,html[data-mode="win98"] textarea:disabled{background-color:silver}html[data-mode="win98"] select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");background-position:top 2px right 2px;background-repeat:no-repeat;border-radius:0;padding-right:32px;position:relative}html[data-mode="win98"] input[type=email]:focus,html[data-mode="win98"] input[type=number]:focus,html[data-mode="win98"] input[type=password]:focus,html[data-mode="win98"] input[type=search]:focus,html[data-mode="win98"] input[type=tel]:focus,html[data-mode="win98"] input[type=text]:focus,html[data-mode="win98"] input[type=url]:focus,html[data-mode="win98"] select:focus,html[data-mode="win98"] textarea:focus{outline:none}html[data-mode="win98"] input[type=range]{-webkit-appearance:none;background:transparent;width:100%}html[data-mode="win98"] input[type=range]:focus{outline:none}html[data-mode="win98"] input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");border:none;box-shadow:none;height:21px;transform:translateY(-8px);width:11px}html[data-mode="win98"] input[type=range].has-box-indicator::-webkit-slider-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v20h1V1h9V0z' fill='%23fff'/%3E%3Cpath fill='%23C0C7C8' d='M1 1h8v18H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v19H1v-1h8z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v21H0v-1h10z' fill='%23000'/%3E%3C/svg%3E");transform:translateY(-10px)}html[data-mode="win98"] input[type=range]::-moz-range-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");border:0;border-radius:0;height:21px;transform:translateY(2px);width:11px}html[data-mode="win98"] input[type=range].has-box-indicator::-moz-range-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v20h1V1h9V0z' fill='%23fff'/%3E%3Cpath fill='%23C0C7C8' d='M1 1h8v18H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v19H1v-1h8z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v21H0v-1h10z' fill='%23000'/%3E%3C/svg%3E");transform:translateY(0)}html[data-mode="win98"] input[type=range]::-webkit-slider-runnable-track{background:#000;border-bottom:1px solid grey;border-right:1px solid grey;box-shadow:1px 0 0 #fff,1px 1px 0 #fff,0 1px 0 #fff,-1px 0 0 #a9a9a9,-1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,-1px 1px 0 #fff,1px -1px #a9a9a9;box-sizing:border-box;height:2px;width:100%}html[data-mode="win98"] input[type=range]::-moz-range-track{background:#000;border-bottom:1px solid grey;border-right:1px solid grey;box-shadow:1px 0 0 #fff,1px 1px 0 #fff,0 1px 0 #fff,-1px 0 0 #a9a9a9,-1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,-1px 1px 0 #fff,1px -1px #a9a9a9;box-sizing:border-box;height:2px;width:100%}html[data-mode="win98"] .is-vertical{display:inline-block;height:150px;transform:translateY(50%);width:4px}html[data-mode="win98"] .is-vertical>input[type=range]{height:4px;margin:0 16px 0 10px;transform:rotate(270deg) translateX(calc(-50% + 8px));transform-origin:left;width:150px}html[data-mode="win98"] .is-vertical>input[type=range]::-webkit-slider-runnable-track{border-bottom:1px solid grey;border-left:1px solid grey;border-right:0;box-shadow:-1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 0 0 #a9a9a9,1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,1px 1px 0 #fff,-1px -1px #a9a9a9}html[data-mode="win98"] .is-vertical>input[type=range]::-moz-range-track{border-bottom:1px solid grey;border-left:1px solid grey;border-right:0;box-shadow:-1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 0 0 #a9a9a9,1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,1px 1px 0 #fff,-1px -1px #a9a9a9}html[data-mode="win98"] .is-vertical>input[type=range]::-webkit-slider-thumb{transform:translateY(-8px) scaleX(-1)}html[data-mode="win98"] .is-vertical>input[type=range].has-box-indicator::-webkit-slider-thumb{transform:translateY(-10px) scaleX(-1)}html[data-mode="win98"] .is-vertical>input[type=range]::-moz-range-thumb{transform:translateY(2px) scaleX(-1)}html[data-mode="win98"] .is-vertical>input[type=range].has-box-indicator::-moz-range-thumb{transform:translateY(0) scaleX(-1)}html[data-mode="win98"] select:focus{background-color:navy;color:#fff}html[data-mode="win98"] select:focus option{background-color:#fff;color:#000}html[data-mode="win98"] select:active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h16v17H0V0zm1 16h14V1H1v15z' fill='gray'/%3E%3Cpath fill='silver' d='M1 1h14v15H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 7H5v1h1v1h1v1h1v1h1v-1h1V9h1V8h1V7z' fill='%23000'/%3E%3C/svg%3E")}html[data-mode="win98"] a{color:#00f}html[data-mode="win98"] a:focus{outline:1px dotted #00f}html[data-mode="win98"] ul.tree-view{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;display:block;margin:0;padding:6px}html[data-mode="win98"] ul.tree-view li{list-style-type:none}html[data-mode="win98"] ul.tree-view a{color:#000;text-decoration:none}html[data-mode="win98"] ul.tree-view a:focus{background-color:navy;color:#fff}html[data-mode="win98"] ul.tree-view li,html[data-mode="win98"] ul.tree-view ul{margin-top:3px}html[data-mode="win98"] ul.tree-view ul{border-left:1px dotted grey;margin-left:16px;padding-left:16px}html[data-mode="win98"] ul.tree-view ul>li{position:relative}html[data-mode="win98"] ul.tree-view ul>li:before{border-bottom:1px dotted grey;content:"";display:block;left:-16px;position:absolute;top:6px;width:12px}html[data-mode="win98"] ul.tree-view ul>li:last-child:after{background:#fff;bottom:0;content:"";display:block;left:-20px;position:absolute;top:7px;width:8px}html[data-mode="win98"] ul.tree-view details{margin-top:0}html[data-mode="win98"] ul.tree-view details[open] summary{margin-bottom:0}html[data-mode="win98"] ul.tree-view ul details>summary:before{margin-left:-22px;position:relative;z-index:1}html[data-mode="win98"] ul.tree-view details>summary:before{background-color:#fff;border:1px solid grey;content:"+";display:block;float:left;height:9px;line-height:8px;margin-right:5px;padding-left:1px;text-align:center;width:8px}html[data-mode="win98"] ul.tree-view details[open]>summary:before{content:"-"}html[data-mode="win98"] ul.tree-view details>summary::-webkit-details-marker,html[data-mode="win98"] ul.tree-view details>summary::marker{content:""}html[data-mode="win98"] pre{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;display:block;margin:0;padding:12px 8px}html[data-mode="win98"] code,html[data-mode="win98"] code *{font-family:monospace}html[data-mode="win98"] summary:focus{outline:1px dotted #000}html[data-mode="win98"] ::-webkit-scrollbar{width:16px}html[data-mode="win98"] ::-webkit-scrollbar:horizontal{height:17px}html[data-mode="win98"] ::-webkit-scrollbar-corner{background:#dfdfdf}html[data-mode="win98"] ::-webkit-scrollbar-track{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='2' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 0H0v1h1v1h1V1H1V0z' fill='silver'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 0H1v1H0v1h1V1h1V0z' fill='%23fff'/%3E%3C/svg%3E")}html[data-mode="win98"] ::-webkit-scrollbar-thumb{background-color:#dfdfdf;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf}html[data-mode="win98"] ::-webkit-scrollbar-button:horizontal:end:increment,html[data-mode="win98"] ::-webkit-scrollbar-button:horizontal:start:decrement,html[data-mode="win98"] ::-webkit-scrollbar-button:vertical:end:increment,html[data-mode="win98"] ::-webkit-scrollbar-button:vertical:start:decrement{display:block}html[data-mode="win98"] ::-webkit-scrollbar-button:vertical:start{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6H7v1H6v1H5v1H4v1h7V9h-1V8H9V7H8V6z' fill='%23000'/%3E%3C/svg%3E");height:17px}html[data-mode="win98"] ::-webkit-scrollbar-button:vertical:end{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");height:17px}html[data-mode="win98"] ::-webkit-scrollbar-button:horizontal:start{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 4H8v1H7v1H6v1H5v1h1v1h1v1h1v1h1V4z' fill='%23000'/%3E%3C/svg%3E");width:16px}html[data-mode="win98"] ::-webkit-scrollbar-button:horizontal:end{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 4H6v7h1v-1h1V9h1V8h1V7H9V6H8V5H7V4z' fill='%23000'/%3E%3C/svg%3E");width:16px}html[data-mode="win98"] .window[role=tabpanel]{position:relative;z-index:2}html[data-mode="win98"] menu[role=tablist]{display:flex;list-style-type:none;margin:0 0 -2px;padding-left:3px;position:relative;text-indent:0}html[data-mode="win98"] menu[role=tablist]>li{border-top-left-radius:3px;border-top-right-radius:3px;box-shadow:inset -1px 0 #0a0a0a,inset 1px 1px #dfdfdf,inset -2px 0 grey,inset 2px 2px #fff;z-index:1}html[data-mode="win98"] menu[role=tablist]>li[aria-selected=true]{background-color:silver;margin-left:-3px;margin-top:-2px;padding-bottom:2px;position:relative;z-index:8}html[data-mode="win98"] menu[role=tablist]>li>a{color:#222;display:block;margin:6px;text-decoration:none}html[data-mode="win98"] menu[role=tablist]>li[aria-selected=true]>a:focus{outline:none}html[data-mode="win98"] menu[role=tablist]>li>a:focus{outline:1px dotted #222}html[data-mode="win98"] menu[role=tablist].multirows>li{flex-grow:1;text-align:center}html[data-mode="win98"] .sunken-panel{border:2px groove transparent;border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='gray' d='M0 0h4v1H0z'/%3E%3Cpath fill='gray' d='M0 0h1v4H0z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h2v1H1z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h1v2H1z'/%3E%3Cpath fill='%23fff' d='M0 4h5v1H0z'/%3E%3Cpath fill='%23fff' d='M4 0h1v5H4z'/%3E%3Cpath fill='%23dfdfdf' d='M3 1h1v3H3z'/%3E%3Cpath fill='%23dfdfdf' d='M1 3h3v1H1z'/%3E%3C/svg%3E") 2;box-sizing:border-box;overflow:auto}html[data-mode="win98"] .sunken-panel,html[data-mode="win98"] table{background-color:#fff}html[data-mode="win98"] table{border-collapse:collapse;position:relative;text-align:left;white-space:nowrap}html[data-mode="win98"] table>thead>tr>*{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;box-sizing:border-box;font-weight:400;height:17px;padding:0 6px;position:sticky;top:0}html[data-mode="win98"] table.interactive>tbody>tr{cursor:pointer}html[data-mode="win98"] table>tbody>tr.highlighted{background-color:navy;color:#fff}html[data-mode="win98"] table>tbody>tr>*{height:14px;padding:0 6px}html[data-mode="win98"] .progress-indicator{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;box-shadow:inset -2px -2px #dfdfdf,inset 2px 2px grey;box-sizing:border-box;height:32px;padding:4px;position:relative}html[data-mode="win98"] .progress-indicator>.progress-indicator-bar{background-color:navy;display:block;height:100%}html[data-mode="win98"] .progress-indicator.segmented>.progress-indicator-bar{background-color:transparent;background-image:linear-gradient(90deg,navy 16px,transparent 0 2px);background-repeat:repeat;background-size:18px 100%;width:100%}html[data-mode="win98"] .field-border{background:#fff}html[data-mode="win98"] .field-border,html[data-mode="win98"] .field-border-disabled{box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;padding:2px}html[data-mode="win98"] .field-border-disabled{background:silver}html[data-mode="win98"] .status-field-border{background:silver;box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;padding:1px}

html[data-mode="win98"] {
  --w98-desktop: #008080;
  --w98-text-on-desktop: #ffffff;
  --w98-surface: #c0c0c0;
  --w98-ink: #000000;
  --w98-title-bg: #000080;
  --w98-title-text: #ffffff;
  --w98-field-bg: #ffffff;
  --w98-link: #000080;
  --w98-select-bg: #000080;
  --w98-focus: #000000;
  --w98-bevel-light: #ffffff;
  --w98-bevel-dark: #808080;

  --bg: var(--w98-desktop);
  --paper: var(--w98-surface);
  --ink: var(--w98-ink);
  --ink-2: var(--w98-ink);
  --muted: var(--w98-ink);
  --line: var(--w98-bevel-dark);
  --line-strong: var(--w98-ink);
  --charcoal: var(--w98-title-bg);
  --cream: var(--w98-title-text);
  --mint: var(--w98-link);
  --cobalt: var(--w98-title-bg);
  --coral: var(--w98-title-bg);
  --amber: var(--w98-link);
  --focus: var(--w98-focus);
  --focus-outer: transparent;
}

html[data-mode="win98"] body {
  background: var(--w98-desktop);
  color: var(--w98-text-on-desktop);
  font-family: "Pixelated MS Sans Serif", "DotGothic16", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: none;
}

html[data-mode="win98"] body,
html[data-mode="win98"] a,
html[data-mode="win98"] button,
html[data-mode="win98"] .wi,
html[data-mode="win98"] .ptab,
html[data-mode="win98"] .color-btn,
html[data-mode="win98"] .site-name {
  cursor: auto !important;
}

html[data-mode="win98"] a,
html[data-mode="win98"] .contact-val,
html[data-mode="win98"] .profile-link,
html[data-mode="win98"] .credit-link {
  color: var(--w98-link);
  text-decoration: underline;
}

html[data-mode="win98"] button,
html[data-mode="win98"] .hero-cta,
html[data-mode="win98"] .plugin-link,
html[data-mode="win98"] .works-link,
html[data-mode="win98"] .works-category,
html[data-mode="win98"] .ver-tab,
html[data-mode="win98"] .modal-video-link {
  color: var(--w98-ink);
  text-shadow: none;
}

html[data-mode="win98"] :where(
  a,
  button,
  input,
  .site-name,
  .nav-item a,
  .hero-cta,
  .hero-work,
  .plugin-link,
  .works-link,
  .works-category,
  .credit-link,
  .ptab,
  .profile-link,
  .win-close,
  .ver-tab,
  .modal-video-link
):focus-visible {
  outline: 2px dotted var(--w98-focus);
  outline-offset: 2px;
  box-shadow: none;
}

html[data-mode="win98"] .sidebar,
html[data-mode="win98"] .profile-sidebar,
html[data-mode="win98"] .profile-main,
html[data-mode="win98"] #hero,
html[data-mode="win98"] .sec-inner,
html[data-mode="win98"] .modal-box,
html[data-mode="win98"] .hero-work,
html[data-mode="win98"] .hero-stat,
html[data-mode="win98"] .signal-field,
html[data-mode="win98"] .wi,
html[data-mode="win98"] .ctb,
html[data-mode="win98"] .profile-tag,
html[data-mode="win98"] .field-item {
  background: var(--w98-surface);
  color: var(--w98-ink);
  border: 2px solid;
  border-color: var(--w98-bevel-light) #0a0a0a #0a0a0a var(--w98-bevel-light);
  border-radius: 0;
  box-shadow:
    inset 1px 1px 0 var(--w98-bevel-light),
    inset -1px -1px 0 var(--w98-bevel-dark);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-mode="win98"] .sidebar::before,
html[data-mode="win98"] .profile-sidebar::before,
html[data-mode="win98"] .tech-brackets::before,
html[data-mode="win98"] .tech-brackets::after,
html[data-mode="win98"] .tech-brackets-inner::before,
html[data-mode="win98"] .tech-brackets-inner::after,
html[data-mode="win98"] .hero-label::before,
html[data-mode="win98"] .sec-label::before,
html[data-mode="win98"] .bio-label::before,
html[data-mode="win98"] .glare-sheen,
html[data-mode="win98"] .star-border-trail,
html[data-mode="win98"] .pixel-transition {
  display: none;
}

html[data-mode="win98"] .sidebar {
  padding: 18px 14px 16px;
  border-right: 2px solid #0a0a0a;
}

html[data-mode="win98"] .site-name {
  width: 160px;
  margin-bottom: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

html[data-mode="win98"] .site-name:hover,
html[data-mode="win98"] .nav-item a:hover,
html[data-mode="win98"] .nav-item a.active,
html[data-mode="win98"] .hero-cta:hover,
html[data-mode="win98"] .plugin-link:hover,
html[data-mode="win98"] .works-link:hover,
html[data-mode="win98"] .wi:hover,
html[data-mode="win98"] .wi:has(.wi-open:hover),
html[data-mode="win98"] .wi:has(.wi-open:focus-visible) {
  transform: none;
}

html[data-mode="win98"] .nav-list {
  gap: 6px;
}

html[data-mode="win98"] .nav-item a,
html[data-mode="win98"] .hero-cta,
html[data-mode="win98"] .plugin-link,
html[data-mode="win98"] .works-link,
html[data-mode="win98"] .works-category,
html[data-mode="win98"] .ver-tab,
html[data-mode="win98"] .modal-video-link {
  min-height: 30px;
  border-radius: 0;
  border: 2px solid;
  border-color: var(--w98-bevel-light) #0a0a0a #0a0a0a var(--w98-bevel-light);
  background: var(--w98-surface);
  box-shadow:
    inset 1px 1px 0 var(--w98-bevel-light),
    inset -1px -1px 0 var(--w98-bevel-dark);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

html[data-mode="win98"] .nav-item a:active,
html[data-mode="win98"] .nav-item a.active,
html[data-mode="win98"] .hero-cta:active,
html[data-mode="win98"] .plugin-link:active,
html[data-mode="win98"] .works-link:active,
html[data-mode="win98"] .works-category.active,
html[data-mode="win98"] .ver-tab.active,
html[data-mode="win98"] .modal-video-link:active {
  border-color: #0a0a0a var(--w98-bevel-light) var(--w98-bevel-light) #0a0a0a;
  box-shadow:
    inset 1px 1px 0 var(--w98-bevel-dark),
    inset -1px -1px 0 var(--w98-bevel-light);
}

html[data-mode="win98"] .nav-decrypt,
html[data-mode="win98"] .nav-decrypt.is-encrypted,
html[data-mode="win98"] .tech-barcode,
html[data-mode="win98"] .sidebar-foot,
html[data-mode="win98"] .footer-copy,
html[data-mode="win98"] .window-sys-title {
  color: var(--w98-ink);
  opacity: 1;
  font-family: "Pixelated MS Sans Serif", "DotGothic16", sans-serif;
  letter-spacing: 0;
}

html[data-mode="win98"] #hero,
html[data-mode="win98"] .sec-inner {
  margin: 18px;
  padding: 0 18px 28px;
  overflow: hidden;
}

html[data-mode="win98"] .profile-main {
  margin: 18px;
  max-width: none;
  padding: 28px 36px;
}

html[data-mode="win98"] .hero-label,
html[data-mode="win98"] .sec-label,
html[data-mode="win98"] .window-titlebar {
  display: flex;
  align-items: center;
  min-height: 26px;
  margin: 0 -18px 22px;
  padding: 4px 8px;
  background: var(--w98-title-bg);
  color: var(--w98-title-text);
  font-family: "Pixelated MS Sans Serif", "DotGothic16", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  border: 0;
  user-select: none;
}

html[data-mode="win98"] .hero-label,
html[data-mode="win98"] .sec-label {
  width: auto;
}

html[data-mode="win98"] .hero-title,
html[data-mode="win98"] .sec-title,
html[data-mode="win98"] .profile-name-en,
html[data-mode="win98"] #modal-title {
  color: var(--w98-ink);
  font-family: "Pixelated MS Sans Serif", "DotGothic16", sans-serif;
  font-weight: 700;
  -webkit-text-stroke: 0;
}

html[data-mode="win98"] .hero-title span {
  color: var(--w98-ink);
  -webkit-text-stroke: 0;
}

html[data-mode="win98"] .hero-sub,
html[data-mode="win98"] .hero-type-line,
html[data-mode="win98"] .about-lead,
html[data-mode="win98"] .plugin-intro,
html[data-mode="win98"] .contact-text,
html[data-mode="win98"] .news-text,
html[data-mode="win98"] .role-desc,
html[data-mode="win98"] .bio-text,
html[data-mode="win98"] .bio-section p,
html[data-mode="win98"] .contact-val,
html[data-mode="win98"] .plugin-name,
html[data-mode="win98"] .profile-role,
html[data-mode="win98"] .profile-name-jp,
html[data-mode="win98"] .news-date,
html[data-mode="win98"] .news-tag,
html[data-mode="win98"] .contact-label,
html[data-mode="win98"] .bio-year,
html[data-mode="win98"] .plugin-type,
html[data-mode="win98"] .role-num,
html[data-mode="win98"] #modal-cat,
html[data-mode="win98"] .modal-no-video,
html[data-mode="win98"] .works-category-label,
html[data-mode="win98"] .wc,
html[data-mode="win98"] .wn,
html[data-mode="win98"] .wi .ctb {
  color: var(--w98-ink);
  text-shadow: none;
}

html[data-mode="win98"] .hero-sub,
html[data-mode="win98"] .about-lead,
html[data-mode="win98"] .plugin-intro,
html[data-mode="win98"] .contact-text,
html[data-mode="win98"] .news-text,
html[data-mode="win98"] .role-desc,
html[data-mode="win98"] .bio-text,
html[data-mode="win98"] .bio-section p {
  font-size: 16px !important;
  line-height: 1.8 !important;
}

html[data-mode="win98"] .gradient-text,
html[data-mode="win98"] .shiny-text {
  color: var(--w98-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

html[data-mode="win98"] .news-item,
html[data-mode="win98"] .role-item,
html[data-mode="win98"] .plugin-item,
html[data-mode="win98"] .contact-item,
html[data-mode="win98"] .bio-item,
html[data-mode="win98"] .profile-tabs,
html[data-mode="win98"] .modal-header,
html[data-mode="win98"] .modal-ver-tabs,
html[data-mode="win98"] .site-footer {
  border-color: var(--w98-bevel-dark);
}

html[data-mode="win98"] .site-footer {
  color: var(--w98-text-on-desktop);
}

html[data-mode="win98"] .site-footer .footer-name,
html[data-mode="win98"] .site-footer .footer-copy {
  color: var(--w98-text-on-desktop);
}

html[data-mode="win98"] .wth,
html[data-mode="win98"] .wi-meta,
html[data-mode="win98"] .wi-open-hint,
html[data-mode="win98"] .modal-video-wrap {
  background: var(--w98-field-bg);
  color: var(--w98-ink);
}

html[data-mode="win98"] .wth.has-thumb::after,
html[data-mode="win98"] .wi::before,
html[data-mode="win98"] .wi::after,
html[data-mode="win98"] .wth::before,
html[data-mode="win98"] .hero-work-thumb::before,
html[data-mode="win98"] .hero-work-body::before,
html[data-mode="win98"] .hero-work-body::after {
  display: none !important;
}

html[data-mode="win98"] .work-thumb,
html[data-mode="win98"] .ws {
  opacity: 1;
  filter: none;
}

html[data-mode="win98"] .window-titlebar {
  margin: 0;
  justify-content: space-between;
}

html[data-mode="win98"] .window-controls {
  gap: 2px;
}

html[data-mode="win98"] .win-btn {
  width: 16px;
  height: 14px;
  border-radius: 0;
  border: 2px solid;
  border-color: var(--w98-bevel-light) #0a0a0a #0a0a0a var(--w98-bevel-light);
  background: var(--w98-surface);
  color: var(--w98-ink);
  box-shadow:
    inset 1px 1px 0 var(--w98-bevel-light),
    inset -1px -1px 0 var(--w98-bevel-dark);
}

html[data-mode="win98"] .win-btn.win-close {
  width: 18px;
  height: 16px;
  margin-left: 2px;
  font-size: 14px;
  line-height: 1;
}

html[data-mode="win98"] .win-btn.win-close:focus-visible {
  outline-color: var(--w98-title-text);
}

html[data-mode="win98"] #modal-bg {
  background: rgba(0, 0, 0, .42);
  backdrop-filter: none;
}

html[data-mode="win98"] .modal-box {
  scrollbar-color: var(--w98-bevel-dark) var(--w98-surface);
}

html[data-mode="win98"] .modal-box::-webkit-scrollbar-track,
html[data-mode="win98"] .modal-box::-webkit-scrollbar-thumb {
  background: var(--w98-surface);
  border-radius: 0;
}

html[data-mode="win98"] .modal-body {
  background: var(--w98-surface);
  color: var(--w98-ink);
}

html[data-mode="win98"] .av-ring,
html[data-mode="win98"] .av-inner {
  border-radius: 0;
  background: var(--w98-surface);
  color: var(--w98-ink);
}

html[data-mode="win98"] .av-ring {
  border: 2px solid;
  border-color: var(--w98-bevel-light) #0a0a0a #0a0a0a var(--w98-bevel-light);
  padding: 4px;
}

html[data-mode="win98"] .av-inner {
  border: 1px solid var(--w98-bevel-dark);
}

html[data-mode="win98"] #root > *:not(.loader-shell),
html[data-mode="win98"] #root > *:not(.loader-shell) *,
html[data-mode="win98"] #root > *:not(.loader-shell)::before,
html[data-mode="win98"] #root > *:not(.loader-shell)::after,
html[data-mode="win98"] #root > *:not(.loader-shell) *::before,
html[data-mode="win98"] #root > *:not(.loader-shell) *::after {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}

html[data-mode="win98"] .magnet-inner {
  transform: none !important;
}

@media (max-width: 980px) {
  html[data-mode="win98"] .sidebar {
    padding: 12px;
  }

  html[data-mode="win98"] .sidebar-foot {
    display: block;
    margin-top: 12px;
  }

  html[data-mode="win98"] #hero,
  html[data-mode="win98"] .sec-inner {
    margin: 12px;
    padding: 0 12px 22px;
  }

  html[data-mode="win98"] .profile-main {
    margin: 12px;
    padding: 22px 14px;
  }

  html[data-mode="win98"] .hero-label,
  html[data-mode="win98"] .sec-label {
    margin: 0 -12px 18px;
  }
}
