:root {
  --bg-left: #000000;
  --bg-right: #071e42;
  --text: #f5f8ff;
  --muted: rgba(245, 248, 255, 0.68);
  --line: rgba(255, 255, 255, 0.15);
  --panel: rgba(2, 8, 18, 0.72);
  --panel-strong: rgba(5, 16, 36, 0.92);
  --accent: #e4140f;
  --accent-cool: #59b7ff;
  --stage-min-height: 680px;
  --layout-max-width: 1770px;
  --layout-gutter: max(0px, calc((100vw - var(--layout-max-width)) / 2));
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: var(--stage-min-height);
}

body {
  margin: 0;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 52%, rgba(40, 89, 157, 0.32), transparent 35%),
    linear-gradient(90deg, var(--bg-left) 0%, #010610 42%, var(--bg-right) 100%);
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 40px;
  padding: 0 clamp(48px, 6vw, 92px) 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(4, 17, 38, 0.46));
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: auto auto;
  justify-items: end;
  justify-content: end;
  flex: 0 0 auto;
  column-gap: 0.28em;
  row-gap: 3px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(18px, 1.85vw, 28px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: end;
}

.nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.3vw, 18px);
}

.header-audio-player.custom-audio-player {
  position: fixed;
  z-index: 29;
  top: 101px;
  left: clamp(24px, 5vw, 76px);
  right: auto;
  width: min(520px, calc(50vw - clamp(24px, 5vw, 76px) - 24px));
  min-width: 220px;
  max-width: 520px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.header-audio-player.custom-audio-player.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-audio-player.custom-audio-player.is-fading {
  opacity: 0;
  pointer-events: none;
}

.nav-link {
  min-width: 72px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(245, 248, 255, 0.78);
  background: transparent;
  cursor: pointer;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  border-color: rgba(89, 183, 255, 0.34);
  background: rgba(89, 183, 255, 0.08);
}

.nav-link:focus-visible,
.close-panel:focus-visible,
.language-toggle:focus-visible,
.panel-item:focus-visible {
  outline: 2px solid rgba(89, 183, 255, 0.7);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
  min-height: max(100vh, var(--stage-min-height));
  padding-top: 96px;
}

.hero {
  position: fixed;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 80px);
  pointer-events: none;
}

.page-mask {
  position: fixed;
  z-index: 10;
  top: 96px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.page-mask.is-visible {
  opacity: 0.5;
}

.hero-logo {
  display: block;
  width: min(48vw, 620px, 76vh);
  max-width: 76vh;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 50px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 28px rgba(89, 183, 255, 0.12));
}

.content-panel {
  --panel-inline-padding: clamp(48px, 6vw, 92px);
  position: fixed;
  z-index: 18;
  top: 96px;
  right: 0;
  left: 50vw;
  bottom: 0;
  width: 50vw;
  min-width: 0;
  padding: 52px var(--panel-inline-padding);
  border-left: 1px solid rgba(89, 183, 255, 0.25);
  border-radius: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(89, 183, 255, 0.16), transparent 36%),
    linear-gradient(155deg, rgba(8, 25, 55, 0.96), var(--panel) 58%, var(--panel-strong)),
    rgba(0, 0, 0, 0.64);
  box-shadow: -26px 0 90px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.content-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.detail-panel {
  position: fixed;
  z-index: 16;
  top: 148px;
  left: clamp(24px, 5vw, 76px);
  right: calc(50vw - 4px);
  bottom: 28px;
  min-height: 504px;
  padding: 0 clamp(48px, 6vw, 92px) 0 0;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: none;
  transition: opacity 500ms ease;
}

.detail-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.detail-panel.is-closing {
  pointer-events: none;
}

.detail-content {
  --detail-media-width: 720px;
  --detail-audio-width: 520px;
  --detail-portrait-width: 360px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  text-align: right;
  padding-bottom: 24px;
  opacity: 1;
  transition: opacity 500ms ease;
  will-change: opacity;
}

.detail-content.is-fading {
  opacity: 0;
}

.detail-content.is-fading-in {
  animation: detail-content-fade-in 500ms ease both;
}

@keyframes detail-content-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.detail-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.detail-panel::-webkit-scrollbar-track {
  background: transparent;
}

.detail-panel::-webkit-scrollbar-thumb {
  background: transparent;
}

.detail-panel::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.detail-scrollbar {
  position: fixed;
  z-index: 16;
  top: 148px;
  bottom: 28px;
  min-height: 504px;
  left: calc(50vw - 4px);
  width: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.detail-scrollbar.is-visible {
  opacity: 1;
}

.detail-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  min-height: 40px;
  background: var(--accent);
}

.detail-title {
  margin: 0;
  font: inherit;
}

.detail-content :is(.product-entry, .music-track, .news-article-header, .service-detail-section) h4 {
  line-height: 1;
}

.creator-photo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 28px 0 0 auto;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.creator-name {
  width: min(100%, var(--detail-portrait-width));
  margin: 18px 0 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.creator-name span {
  margin-left: 0.7em;
}

.creator-bio {
  width: min(100%, var(--detail-portrait-width));
  margin-left: auto;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 500;
  line-height: 1.2;
}

.creator-bio p {
  margin: 0 0 18px;
}

.creator-bio p:last-child {
  margin-bottom: 0;
}

.creator-bio strong {
  color: #ffffff;
  font-weight: 900;
}

@media (min-width: 1301px) {
  .creator-bio {
    font-size: 14.3px;
  }
}

.contact-detail {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.contact-detail p {
  margin: 0 0 10px;
}

.contact-detail p:last-child {
  margin-bottom: 0;
}

.contact-detail strong {
  color: #ffffff;
  font-weight: 900;
}

.contact-line span {
  overflow-wrap: anywhere;
}

.product-detail {
  margin-top: 24px;
}

.music-product-detail {
  margin-top: 24px;
}

.music-track {
  display: grid;
  justify-items: end;
}

.music-track h4 {
  width: min(100%, var(--detail-audio-width));
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
  text-align: left;
  overflow-wrap: anywhere;
}

.music-track + .music-track {
  margin-top: 34px;
}

.music-track-info {
  width: min(100%, var(--detail-audio-width));
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.2;
}

.music-track-info > div {
  display: flex;
  justify-content: flex-start;
  gap: 0.25em;
  text-align: left;
}

.music-track-info dt {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 900;
}

.music-track-info dd {
  min-width: 0;
  margin: 0;
}

.custom-audio-player {
  --audio-track-offset: 54px;
  --audio-track-height: 10px;
  --audio-thumb-size: 16px;
  display: grid;
  position: relative;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  width: min(100%, var(--detail-audio-width));
  height: 42px;
  padding: 4px 8px;
  border: 2px solid #000000;
  border-radius: 21px;
  background: linear-gradient(90deg, #12366d 0%, #071e42 42%, #020914 100%);
  box-shadow:
    inset 0 0 0 1px rgba(89, 183, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.custom-audio-player audio {
  display: none;
}

.audio-play-button,
.audio-volume-button {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid #000000;
  border-radius: 15px;
  cursor: pointer;
  overflow: hidden;
}

.audio-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.custom-audio-player.is-playing .audio-play-button {
  background: var(--accent);
}

.audio-play-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--accent);
}

.custom-audio-player.is-playing .audio-play-icon {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border-top: 0;
  border-bottom: 0;
  border-left: 4px solid #000000;
  border-right: 4px solid #000000;
}

.audio-progress {
  --audio-progress: 0%;
  width: 100%;
  height: var(--audio-track-height);
  margin: 0;
  appearance: none;
  border: 2px solid #000000;
  border-radius: 5px;
  background:
    linear-gradient(90deg, var(--accent) 0 var(--audio-progress), rgba(0, 0, 0, 0.78) var(--audio-progress) 100%);
  cursor: pointer;
}

.audio-progress::-webkit-slider-thumb {
  appearance: none;
  width: var(--audio-thumb-size);
  height: var(--audio-thumb-size);
  border: 2px solid #000000;
  border-radius: 50%;
  background: var(--accent);
}

.custom-audio-player.is-volume-open .audio-progress::-webkit-slider-thumb {
  background: #000000;
}

.audio-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #000000;
  border-radius: 50%;
  background: var(--accent);
}

.custom-audio-player.is-volume-open .audio-progress::-moz-range-thumb {
  background: #000000;
}

.audio-progress::-moz-range-track {
  height: 10px;
  border: 0;
  background: transparent;
}

.audio-volume-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.audio-volume-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.custom-audio-player.is-volume-open .audio-volume-button {
  background: var(--accent);
}

.audio-volume-icon {
  display: block;
  width: 18px;
  height: 18px;
  transform: scaleX(-1);
}

.audio-volume-icon path:first-child {
  fill: var(--accent);
  stroke: none;
}

.audio-volume-icon path:not(:first-child) {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.custom-audio-player.is-volume-open .audio-volume-icon path:first-child {
  fill: #000000;
}

.custom-audio-player.is-volume-open .audio-volume-icon path:not(:first-child) {
  stroke: #000000;
}

.custom-audio-player.is-muted .audio-volume-icon path:not(:first-child) {
  display: none;
}

.audio-volume-slider {
  --audio-volume: 100%;
  position: absolute;
  right: calc(var(--audio-track-offset) - 2px);
  top: 50%;
  left: calc(100% - var(--audio-track-offset) + 2px);
  width: auto;
  height: var(--audio-track-height);
  margin: 0;
  appearance: none;
  border: 2px solid #000000;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0 var(--audio-volume), var(--accent) var(--audio-volume) 100%),
    #071e42;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(10px);
  transform-origin: right center;
  transition:
    left 180ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.custom-audio-player.is-volume-open .audio-volume-slider,
.audio-volume-slider:focus-visible {
  left: calc(var(--audio-track-offset) - 2px);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.audio-volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: var(--audio-thumb-size);
  height: var(--audio-thumb-size);
  border: 2px solid #000000;
  border-radius: 50%;
  background: var(--accent);
}

.audio-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #000000;
  border-radius: 50%;
  background: var(--accent);
}

.audio-volume-slider::-moz-range-track {
  height: var(--audio-track-height);
  border: 0;
  background: transparent;
}

.audio-play-button:focus-visible,
.audio-volume-button:focus-visible,
.audio-progress:focus-visible,
.audio-volume-slider:focus-visible {
  outline: 2px solid rgba(89, 183, 255, 0.7);
  outline-offset: 3px;
}

.news-detail {
  margin-top: 24px;
  text-align: left;
}

.news-detail + .news-detail {
  margin-top: 34px;
}

.news-detail-title {
  text-align: right;
}

.news-article-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
}

.news-article-header h4 {
  min-width: 0;
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
  text-align: left;
}

.news-article-header time {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.2;
}

.news-detail > p:not(.product-link) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

.news-detail .product-link {
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

.news-detail .product-link a {
  min-width: 0;
}

.product-entry {
  margin: 0 0 34px;
}

.product-entry:last-child {
  margin-bottom: 0;
}

.product-entry > h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 900;
  text-align: right;
}

.product-detail .service-detail-media h4 {
  font-size: clamp(18px, 1.7vw, 26px);
}

.pinball-product-title .mobile-title {
  display: none;
}

.product-detail p {
  width: min(100%, var(--detail-media-width));
  margin: 0 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

.independent-badge {
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 30px;
  margin: 1px 0 0 auto;
  border: 2px solid #000000;
  border-radius: 6px;
  color: #000000;
  background: var(--accent);
  font-size: clamp(10px, 7.5cqi, 16px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.level-design-badge {
  background: #ffd400;
}

.independent-development-badge {
  font-size: clamp(9px, 6.5cqi, 13px);
}

.independent-development-badge:has(span) {
  flex-direction: column;
  line-height: 0.84;
  white-space: normal;
}

.independent-development-badge span {
  display: block;
}

.product-badge-group {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 1px;
}

.product-badge-group .independent-badge {
  margin: 0;
}

.system-development-badge {
  background: #38c96b;
}

.event-operations-badge {
  background: #2f8cff;
}

.localization-badge {
  background: #a855f7;
}

.product-link {
  display: flex;
  justify-content: flex-start;
  gap: 0.45em;
  width: min(100%, var(--detail-media-width));
  margin-left: auto;
  margin-top: 14px !important;
  text-align: left;
  overflow-wrap: anywhere;
}

.product-link + .product-link {
  margin-top: 1px !important;
}

.product-link strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 900;
}

.product-link a {
  color: var(--accent-cool);
  text-decoration: none;
}

.product-link a:hover {
  text-decoration: underline;
}

.service-detail {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

.service-detail-section {
  margin: 0 0 34px;
}

.service-detail-section h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
}

.service-detail-media {
  position: relative;
  width: min(100%, 720px);
  margin: 0 0 1px auto;
}

.service-detail-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-detail-media h4 {
  position: absolute;
  right: 0;
  bottom: 10px;
  margin: 0;
  padding: 0;
  text-align: right;
  background: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.service-detail-media + p {
  margin-top: 14px;
}

.service-detail-section p {
  width: min(100%, var(--detail-media-width));
  margin: 0 0 0 auto;
}

@media (min-width: 1025px) {
  .nav-link {
    font-size: clamp(15px, calc(15px + (100vw - 1024px) * 7.5 / 746), 22.5px);
  }

  .service-detail-media h4 {
    font-size: clamp(18px, calc(18px + (100vw - 1024px) * 18 / 746), 36px);
  }

  .product-detail .service-detail-media h4 {
    font-size: clamp(18px, calc(18px + (100vw - 1024px) * 18 / 746), 36px);
  }
}

@media (min-width: 1771px) {
  .site-header {
    left: 0;
    right: 0;
    width: auto;
    padding: 0 calc(var(--layout-gutter) + 92px) 0 calc(var(--layout-gutter) + 76px);
  }

  .header-audio-player.custom-audio-player {
    left: calc(var(--layout-gutter) + 76px);
    width: 520px;
  }

  .nav-link {
    font-size: 22.5px;
  }

  .detail-panel {
    left: calc(var(--layout-gutter) + 76px);
    right: calc(100vw - var(--layout-gutter) - 881px);
    padding-right: 92px;
  }

  .detail-scrollbar {
    left: calc(var(--layout-gutter) + 881px);
  }

  .content-panel {
    left: calc(var(--layout-gutter) + 889px);
    right: 0;
    width: auto;
    padding-right: calc(100vw - var(--layout-gutter) - 1678px);
    padding-left: 92px;
  }
}

.close-panel {
  position: absolute;
  right: var(--panel-inline-padding);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  line-height: 1;
}

.close-panel {
  top: 28px;
  font-size: 24px;
}

.content-panel:not(.has-detail) .close-panel {
  color: transparent;
  background-image: url("./assets/logo5.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.content-panel.has-detail .close-panel {
  color: rgba(255, 255, 255, 0.84);
  background-image: none;
}

@media (min-width: 1771px) {
  .close-panel {
    right: calc(100vw - var(--layout-gutter) - 1678px);
  }
}

.language-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.panel-kicker {
  margin: 0 0 12px;
  color: var(--accent-cool);
  font-size: 14px;
  font-weight: 800;
}

.panel-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.12;
}

.panel-copy {
  margin: 26px 0 42px;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.6;
  max-width: 720px;
}

.panel-copy strong {
  color: #ffffff;
  font-weight: 900;
}

.panel-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.panel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 68px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: clamp(16px, 1.15vw, 21px);
  font-weight: 700;
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.panel-item:hover {
  color: #ffffff;
  border-color: rgba(89, 183, 255, 0.38);
  background: rgba(89, 183, 255, 0.1);
  transform: translateX(-4px);
}

.panel-item.is-selected {
  color: #ffffff;
  border-color: rgba(228, 20, 15, 0.58);
  background: rgba(228, 20, 15, 0.11);
}

.panel-item:active {
  transform: translateX(-2px);
}

.panel-item:disabled {
  cursor: default;
}

.panel-item-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-left: auto;
  border: 4px solid #000000;
  border-radius: 0;
  color: transparent;
  background: var(--accent);
  font-weight: 900;
}

.panel-item.is-selected .panel-item-marker {
  width: 68px;
  height: 68px;
  margin-right: -16px;
  border: 0;
  color: transparent;
  background-color: transparent;
  background-image: url("./assets/logo5.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (min-width: 1771px) {
  .panel-item {
    font-size: 20.36px;
  }
}

@media (max-width: 780px) {
  .site-header {
    height: 96px;
    gap: clamp(6px, calc(6px + (100vw - 390px) * 0.02), 14px);
    padding:
      0
      clamp(14px, calc(14px + (100vw - 390px) * 0.026), 24px)
      0
      clamp(10px, calc(10px + (100vw - 390px) * 0.016), 16px);
  }

  .header-audio-player.custom-audio-player {
    --header-audio-mobile-left: clamp(10px, calc(10px + (100vw - 390px) * 0.016), 16px);
    left: var(--header-audio-mobile-left);
    width: calc(50vw - var(--header-audio-mobile-left) - 4px);
    min-width: 0;
  }

  .brand {
    grid-template-columns: 1fr;
    justify-items: start;
    justify-content: start;
    font-size: clamp(14px, calc(14px + (100vw - 390px) * 0.005), 16px);
    line-height: 0.86;
    text-align: left;
  }

  .brand span:nth-child(3) {
    grid-column: auto;
    justify-self: start;
    font-size: calc(0.76em - 1px);
  }

  .nav {
    gap: clamp(2px, calc(2px + (100vw - 390px) * 0.012), 7px);
  }

  .nav-link {
    min-width: 0;
    height: clamp(32px, calc(32px + (100vw - 390px) * 0.01), 36px);
    padding: 0 clamp(5px, calc(5px + (100vw - 390px) * 0.008), 8px);
    flex: 0 0 auto;
    font-size: clamp(12px, calc(12px + (100vw - 390px) * 0.0026), 13px);
  }

  .language-toggle {
    width: clamp(32px, calc(32px + (100vw - 390px) * 0.01), 36px);
    height: clamp(32px, calc(32px + (100vw - 390px) * 0.01), 36px);
    font-size: 12px;
  }

  .close-panel {
    width: clamp(32px, calc(32px + (100vw - 390px) * 0.01), 36px);
    height: clamp(32px, calc(32px + (100vw - 390px) * 0.01), 36px);
    font-size: clamp(19px, calc(19px + (100vw - 390px) * 0.005), 21px);
  }

  .page-shell {
    padding-top: 96px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-logo {
    width: min(52vw, 460px, 76vh);
  }

  .content-panel {
    --panel-inline-padding: 24px;
    top: 96px;
    right: 0;
    left: 50vw;
    width: 50vw;
    min-width: 0;
    bottom: 0;
    padding:
      clamp(42px, calc(42px + (100vh - 640px) * 0.049), 52px)
      var(--panel-inline-padding)
      clamp(18px, calc(18px + (100vh - 640px) * 0.049), 28px);
  }

  .panel-kicker {
    margin-bottom: clamp(6px, calc(6px + (100vh - 640px) * 0.01), 8px);
    font-size: 12px;
  }

  .panel-title {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1;
  }

  .panel-copy {
    margin:
      clamp(12px, calc(12px + (100vh - 640px) * 0.02), 16px)
      0
      clamp(18px, calc(18px + (100vh - 640px) * 0.029), 24px);
    font-size: clamp(13px, calc(13px + (100vh - 640px) * 0.01), 15px);
    line-height: 1.45;
  }

  .content-panel.is-about .panel-copy {
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .panel-list {
    gap: clamp(6px, calc(6px + (100vh - 640px) * 0.02), 10px);
  }

  .panel-item {
    min-height: clamp(42px, calc(42px + (100vh - 640px) * 0.069), 56px);
    padding: 0 clamp(8px, 2.4vw, 14px);
    gap: 10px;
    font-size: clamp(12px, calc(12px + (100vh - 640px) * 0.02), 16px);
  }

  .panel-item-marker {
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .panel-item.is-selected .panel-item-marker {
    width: clamp(42px, 10vw, 56px);
    height: clamp(42px, 10vw, 56px);
    margin-right: -10px;
  }

  .detail-panel {
    top: 148px;
    left: 24px;
    right: calc(50vw - 4px);
    bottom: 24px;
    padding-right: 24px;
  }

  .detail-scrollbar {
    top: 148px;
    bottom: 24px;
    left: calc(50vw - 4px);
  }

  .detail-content {
    font-size: clamp(22px, 5vw, 38px);
  }

  .news-article-header {
    display: block;
  }

  .news-article-header time {
    display: block;
    margin-top: 6px;
  }

  .product-link {
    display: block;
  }

  .product-link strong,
  .product-link a {
    display: block;
  }

  .music-track-info > div {
    display: block;
  }

  .music-track-info dd {
    display: block;
  }

  .product-detail .independent-badge {
    font-size: clamp(8px, calc(8px + (100vw - 380px) * 0.016), 13px);
  }

  .product-detail .independent-development-badge {
    font-size: clamp(7px, calc(7px + (100vw - 380px) * 0.014), 11px);
  }

  .pinball-product-title .desktop-title {
    display: none;
  }

  .pinball-product-title .mobile-title {
    display: inline;
  }

  .contact-email span {
    display: block;
  }

  .creator-name-en {
    white-space: normal;
    overflow-wrap: normal;
  }

  .creator-name-en span {
    display: block;
    margin-left: 0;
  }
}

@media (max-height: 720px) and (min-width: 781px) {
  .content-panel {
    padding-top: 42px;
    padding-bottom: 18px;
  }

  .close-panel {
    top: 22px;
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .panel-kicker {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .panel-title {
    font-size: clamp(30px, 4.2vw, 54px);
    line-height: 1;
  }

  .panel-copy {
    margin: 14px 0 22px;
    line-height: 1.45;
  }

  .panel-list {
    gap: 8px;
  }

  .panel-item {
    min-height: clamp(42px, 8vh, 58px);
    padding: 0 14px;
    font-size: clamp(13px, 1vw, 18px);
  }

  .panel-item.is-selected .panel-item-marker {
    width: 54px;
    height: 54px;
    margin-right: -12px;
  }
}
