/* Homepage UI styles entrypoint. Keep import order aligned with the old monolithic cascade. */
/* Generated bundle. Keep source files as the editable cascade; update this bundle when imports change. */

/* === home-ui-base.css === */
/* Homepage UI fonts, tokens, and shared shell font setup. */
@font-face {
  font-family: "SanJiHuaChaoTi-Cu";
  src:
    local("三极花朝体 粗"),
    url("../fonts/SanJiHuaChaoTi-Cu/SanJiHuaChaoTi-Cu/SanJiHuaChaoTi-Cu-2.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "ShanHaiXingYeGeTeW";
  src:
    local("ShanHaiXingYeGeTe W"),
    url("../fonts/ShanHaiXingYeGeTeW/ShanHaiXingYeGeTeW/ShanHaiXingYeGeTeW-2.woff2") format("woff2");
  font-display: swap;
}

:root {
  --home-ui-white: #fff8ef;
  --home-ui-muted: rgba(255, 248, 239, 0.66);
  --home-ui-red: #ff203d;
  --home-ui-red-deep: #870012;
  --home-ui-violet: #a552ff;
  --home-ui-violet-soft: rgba(174, 98, 255, 0.58);
  --home-ui-panel: rgba(4, 3, 10, 0.72);
  --home-ui-panel-deep: rgba(2, 2, 8, 0.88);
  --home-ui-bottom-fill: #020207;
  --home-ui-edge: rgba(255, 36, 68, 0.58);
  --home-ui-line: rgba(179, 84, 255, 0.52);
  --home-side-entry-size: 74px;
  --home-side-shell-width: 96px;
  --home-side-shell-height: 100px;
  --home-side-popout: -8px;
}

/* === home-ui-side-widgets.css === */
/* Homepage fixed side widgets, Violet chat placement, community modal, and avatar motion. */
.home-topbar,
.home-ui-shell,
.home-bottom-band {
  font-family: "Times New Roman", "Noto Serif SC", "Microsoft YaHei", serif;
}

.home-topbar {
  position: absolute;
  z-index: 30;
  top: 28px;
  left: 42px;
  right: 42px;
  display: grid;
  grid-template-columns: minmax(178px, 280px) minmax(420px, 1fr) minmax(220px, 310px);
  align-items: center;
  gap: 24px;
  pointer-events: none;
}

.home-topbar a,
.home-topbar button {
  pointer-events: auto;
}

.violet-chat.violet-chat--fixed {
  left: auto !important;
  right: 0;
  top: 52%;
  bottom: auto !important;
  transform: translateY(-50%);
  z-index: 54;
  pointer-events: none;
  transition: transform 0.18s ease;
  will-change: transform;
}

.violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) {
  width: var(--home-side-shell-width);
  height: var(--home-side-shell-height);
}

.violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) .violet-chat__bubble {
  width: var(--home-side-shell-width);
  height: var(--home-side-shell-height);
}

.violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed):hover {
  transform: translateY(-50%) translateX(var(--home-side-popout));
}

.violet-chat.violet-chat--fixed .violet-chat__portrait {
  right: 0;
  left: auto;
  border-color: rgba(255, 74, 138, 0.94);
  background:
    linear-gradient(135deg, rgba(22, 3, 10, 0.96), rgba(108, 8, 42, 0.92) 42%, rgba(228, 18, 72, 0.95)),
    #070307;
  box-shadow:
    -12px 10px 26px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 238, 252, 0.12),
    0 0 16px rgba(255, 74, 138, 0.54),
    0 0 34px rgba(255, 24, 82, 0.4),
    0 0 58px rgba(255, 44, 112, 0.24);
  animation: home-violet-avatar-breath 2.45s ease-in-out infinite;
  transform: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.violet-chat.violet-chat--fixed .violet-chat__portrait::before {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 56, 116, 0.46);
  border-radius: 8px;
  box-shadow:
    inset 0 0 12px rgba(255, 86, 152, 0.24),
    inset 0 0 22px rgba(255, 28, 82, 0.2);
  content: "";
  pointer-events: none;
  z-index: 2;
}

.violet-chat.violet-chat--fixed .violet-chat__avatar {
  filter: contrast(1.12) brightness(1.06) saturate(1.08);
}

.violet-chat.violet-chat--fixed .violet-chat__codename {
  right: 8px;
}

.violet-chat.violet-chat--fixed .violet-chat__collapse-toggle {
  top: 1px;
  right: 0;
  width: 22px;
  height: 22px;
  padding: 0;
  border-color: rgba(255, 74, 138, 0.5);
  background: rgba(14, 3, 8, 0.88);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(255, 74, 138, 0.34);
}

.violet-chat.violet-chat--fixed .violet-chat__panel,
.violet-chat.violet-chat--fixed .violet-chat__bubble,
.violet-chat.violet-chat--fixed .violet-chat__collapse-toggle {
  pointer-events: auto;
  touch-action: manipulation;
}

.violet-chat.violet-chat--fixed.is-open {
  pointer-events: auto;
}

.violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed):hover .violet-chat__portrait {
  border-color: rgba(255, 94, 150, 0.98);
  box-shadow:
    -12px 14px 34px rgba(0, 0, 0, 0.58),
    0 0 22px rgba(255, 74, 138, 0.56),
    0 0 60px rgba(255, 36, 96, 0.32);
  filter: brightness(1.08);
}

.violet-chat.violet-chat--fixed.is-collapsed {
  left: auto !important;
  right: 0;
  top: 52%;
  bottom: auto !important;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
}

.violet-chat.violet-chat--fixed.is-collapsed .violet-chat__collapse-toggle {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 38px;
  height: 38px;
  border-color: rgba(255, 74, 138, 0.5);
  background: rgba(14, 3, 8, 0.88);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(255, 74, 138, 0.34);
}

.violet-chat.violet-chat--fixed.is-collapsed .violet-chat__collapse-toggle img {
  width: 16px;
  height: 16px;
}

.home-community-widget {
  position: fixed;
  z-index: 55;
  top: calc(52% - 150px);
  right: 0;
  width: var(--home-side-shell-width);
  height: var(--home-side-shell-height);
  pointer-events: none;
  transition: transform 0.18s ease;
  will-change: transform;
}

.home-community-widget:hover {
  transform: translateX(var(--home-side-popout));
}

.home-community-entry {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: var(--home-side-entry-size);
  height: var(--home-side-entry-size);
  place-items: center;
  padding: 2px;
  border: 1px solid rgba(255, 74, 138, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 3, 10, 0.96), rgba(108, 8, 42, 0.92) 42%, rgba(228, 18, 72, 0.95)),
    #070307;
  box-shadow:
    -12px 10px 26px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 238, 252, 0.12),
    0 0 16px rgba(255, 74, 138, 0.54),
    0 0 34px rgba(255, 24, 82, 0.4),
    0 0 58px rgba(255, 44, 112, 0.24);
  animation: home-violet-avatar-breath 2.45s ease-in-out infinite;
  cursor: pointer;
  overflow: visible;
  pointer-events: auto;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    transform 0.18s ease;
}

.home-community-entry::before {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 56, 116, 0.46);
  border-radius: 8px;
  box-shadow:
    inset 0 0 12px rgba(255, 86, 152, 0.24),
    inset 0 0 22px rgba(255, 28, 82, 0.2);
  content: "";
  pointer-events: none;
  z-index: 2;
}

.home-community-entry:hover,
.home-community-entry:focus-visible {
  border-color: rgba(255, 94, 150, 0.98);
  box-shadow:
    -12px 14px 34px rgba(0, 0, 0, 0.58),
    0 0 22px rgba(255, 74, 138, 0.56),
    0 0 60px rgba(255, 36, 96, 0.32);
  filter: brightness(1.08);
  outline: none;
}

.home-community-entry__logo {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(12, 12, 14, 0.94);
  background: #050507;
  filter: contrast(1.12) brightness(1.06) saturate(1.08);
  pointer-events: none;
}

.home-community-scale-toggle {
  position: absolute;
  z-index: 4;
  top: 1px;
  right: 0;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 74, 138, 0.5);
  border-radius: 50%;
  background: rgba(14, 3, 8, 0.88);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(255, 74, 138, 0.34);
  cursor: pointer;
  pointer-events: auto;
}

.home-community-scale-toggle:hover,
.home-community-scale-toggle:focus-visible,
.violet-chat.violet-chat--fixed .violet-chat__collapse-toggle:hover,
.violet-chat.violet-chat--fixed .violet-chat__collapse-toggle:focus-visible {
  border-color: rgba(255, 94, 150, 0.82);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(255, 74, 138, 0.52),
    0 0 34px rgba(255, 36, 96, 0.28);
  filter: brightness(1.12);
  outline: none;
}

.home-community-scale-toggle img {
  width: 11px;
  height: 11px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.home-community-widget.is-collapsed {
  width: 38px;
  height: 38px;
}

.home-community-widget.is-collapsed .home-community-entry {
  display: none;
}

.home-community-widget.is-collapsed .home-community-scale-toggle {
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
}

.home-community-widget.is-collapsed .home-community-scale-toggle img {
  width: 16px;
  height: 16px;
}

.home-community-modal[hidden] {
  display: none;
}

.home-community-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.home-community-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 34, 96, 0.18), transparent 34%),
    rgba(0, 0, 0, 0.64);
  cursor: pointer;
}

.home-community-card {
  position: relative;
  display: grid;
  width: min(368px, calc(100vw - 42px));
  justify-items: center;
  padding: 30px 28px 28px;
  border: 1px solid rgba(255, 68, 126, 0.64);
  background:
    linear-gradient(180deg, rgba(14, 3, 9, 0.98), rgba(4, 2, 6, 0.98)),
    #050205;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 48px rgba(255, 44, 104, 0.26);
  color: var(--home-ui-white);
}

.home-community-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(12, 4, 8, 0.86);
  color: #fff7f7;
  cursor: pointer;
  font: 1.1rem/1 "Times New Roman", serif;
}

.home-community-card__close:hover,
.home-community-card__close:focus-visible {
  border-color: rgba(255, 76, 134, 0.82);
  box-shadow: 0 0 18px rgba(255, 56, 116, 0.28);
  outline: none;
}

.home-community-card__eyebrow {
  margin: 0 0 4px;
  color: rgba(255, 74, 138, 0.9);
  font: 0.68rem/1 "Times New Roman", serif;
  letter-spacing: 0;
}

.home-community-card h2 {
  margin: 0 0 14px;
  font: 1.45rem/1 "SanJiHuaChaoTi-Cu", "Microsoft YaHei", serif;
  color: #fff5f8;
  text-shadow: 0 0 16px rgba(255, 58, 120, 0.42);
}

.home-community-card__notice {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 80, 140, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 248, 239, 0.78);
  text-align: left;
  font: 0.84rem/1.65 "Microsoft YaHei", sans-serif;
}

.home-community-card__notice p {
  margin: 0;
}

.home-community-card__highlight {
  color: #ff5f98;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(255, 58, 120, 0.42);
}

.home-community-card__qr {
  width: min(252px, calc(100vw - 118px));
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(255, 46, 112, 0.2);
  object-fit: contain;
}

.home-community-card__number {
  margin: 18px 0 0;
  color: rgba(255, 248, 239, 0.72);
  font: 0.92rem/1.4 "Times New Roman", "Microsoft YaHei", serif;
}

.home-community-card__number b {
  margin-left: 8px;
  color: #ff4a8a;
  font-size: 1.05rem;
  text-shadow: 0 0 14px rgba(255, 54, 116, 0.38);
}

@keyframes home-violet-avatar-breath {
  0%,
  100% {
    box-shadow:
      -12px 10px 26px rgba(0, 0, 0, 0.58),
      0 0 0 1px rgba(255, 238, 252, 0.12),
      0 0 12px rgba(255, 74, 138, 0.42),
      0 0 28px rgba(255, 24, 82, 0.28),
      0 0 48px rgba(255, 44, 112, 0.18);
    filter: brightness(1);
  }

  48% {
    box-shadow:
      -14px 12px 30px rgba(0, 0, 0, 0.62),
      0 0 0 1px rgba(255, 238, 252, 0.2),
      0 0 22px rgba(255, 88, 154, 0.76),
      0 0 48px rgba(255, 32, 92, 0.58),
      0 0 82px rgba(255, 44, 118, 0.36);
    filter: brightness(1.12);
  }
}

/* === home-ui-topbar.css === */
/* Homepage top brand, navigation, welcome block, and menu toggle. */
.home-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  color: var(--home-ui-white);
  text-decoration: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.58));
}

.home-brand__emblem {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  flex: 0 0 auto;
}

.home-brand__emblem::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 35, 62, 0.66);
  transform: rotate(45deg);
  background: rgba(12, 4, 16, 0.44);
  box-shadow:
    0 0 18px rgba(255, 25, 63, 0.18),
    inset 0 0 18px rgba(162, 72, 255, 0.18);
}

.home-brand__emblem img {
  position: relative;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter:
    brightness(0)
    invert(19%)
    sepia(96%)
    saturate(3576%)
    hue-rotate(338deg)
    brightness(1.08)
    contrast(1.08)
    drop-shadow(0 0 9px rgba(255, 34, 72, 0.44));
}

.home-brand__copy {
  display: grid;
  gap: 2px;
  margin-left: 12px;
}

.home-brand__copy img {
  width: 64px;
  height: auto;
  filter: drop-shadow(2px 2px 0 rgba(150, 0, 28, 0.48));
}

.home-brand__copy span {
  color: var(--home-ui-white);
  font-size: 0.68rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-site-nav {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(26px, 2.2vw, 38px);
  min-width: 0;
}

.home-site-nav a,
.home-site-nav__more {
  position: relative;
  display: grid;
  min-width: 56px;
  justify-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  color: var(--home-ui-white);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.home-site-nav__more {
  width: 48px;
  height: 42px;
  min-width: 48px;
  place-items: center;
}

.home-site-nav__more:hover,
.home-site-nav__more:focus-visible {
  outline: none;
}

.home-site-nav [data-home-nav-extra] {
  display: none;
  opacity: 0;
  transform: translateX(-6px);
}

body.home-nav-expanded .home-site-nav [data-home-nav-extra] {
  display: grid;
  animation: home-nav-extra-reveal 180ms ease both;
}

.home-site-nav__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18em;
  padding: 0 8px 3px;
  font-size: 1.18rem;
  line-height: 1.1;
  font-weight: 700;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.home-site-nav a:hover .home-site-nav__label,
.home-site-nav a:focus-visible .home-site-nav__label {
  color: #fffdf8;
  text-shadow:
    0 0 8px rgba(255, 248, 239, 0.62),
    0 0 14px rgba(255, 35, 64, 0.62),
    2px 0 0 rgba(255, 35, 64, 0.24),
    -2px 0 0 rgba(166, 82, 255, 0.18);
  transform: translateY(-1px);
}

.home-site-nav a small {
  color: rgba(255, 248, 239, 0.76);
  font-size: 0.58rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-site-nav__more-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 18px;
  height: 30px;
  object-fit: contain;
  filter:
    brightness(0)
    saturate(100%)
    invert(30%)
    sepia(96%)
    saturate(3150%)
    hue-rotate(325deg)
    brightness(108%)
    contrast(104%)
    drop-shadow(0 0 6px rgba(255, 45, 94, 0.48))
    drop-shadow(0 0 10px rgba(255, 20, 70, 0.22));
  transform: rotate(0deg) scale(1);
  animation: home-nav-more-icon-breathe 2.2s ease-in-out infinite;
  transition:
    transform 180ms ease;
}

.home-site-nav__more:hover .home-site-nav__more-icon,
.home-site-nav__more:focus-visible .home-site-nav__more-icon {
  transform: translateX(1px) scale(1.08);
}

body.home-nav-expanded .home-site-nav__more-icon {
  transform: rotate(180deg) scale(1);
}

body.home-nav-expanded .home-site-nav__more:hover .home-site-nav__more-icon,
body.home-nav-expanded .home-site-nav__more:focus-visible .home-site-nav__more-icon {
  transform: rotate(180deg) translateX(-1px) scale(1.08);
}

.home-site-nav a::before,
.home-site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  opacity: 0;
  transition:
    opacity 180ms ease,
    width 180ms ease;
}

.home-site-nav a::before {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--home-ui-red), transparent);
  box-shadow: 0 0 14px rgba(255, 28, 62, 0.72);
}

.home-site-nav a::after {
  width: 6px;
  height: 6px;
  background: var(--home-ui-red);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 12px rgba(255, 34, 71, 0.82);
}

.home-site-nav a:hover::before,
.home-site-nav a:focus-visible::before {
  width: 64px;
  opacity: 1;
}

.home-site-nav a:hover::after,
.home-site-nav a:focus-visible::after {
  opacity: 1;
}

@keyframes home-nav-more-icon-breathe {
  0%,
  100% {
    opacity: 0.72;
    filter:
      brightness(0)
      saturate(100%)
      invert(30%)
      sepia(96%)
      saturate(3150%)
      hue-rotate(325deg)
      brightness(102%)
      contrast(104%)
      drop-shadow(0 0 4px rgba(255, 45, 94, 0.34))
      drop-shadow(0 0 8px rgba(255, 20, 70, 0.16));
  }

  50% {
    opacity: 1;
    filter:
      brightness(0)
      saturate(100%)
      invert(30%)
      sepia(96%)
      saturate(3150%)
      hue-rotate(325deg)
      brightness(122%)
      contrast(106%)
      drop-shadow(0 0 8px rgba(255, 45, 94, 0.62))
      drop-shadow(0 0 13px rgba(255, 20, 70, 0.28));
  }
}

@keyframes home-nav-extra-reveal {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-topbar__right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.home-welcome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 248, 239, 0.84);
  font-size: 0.76rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.home-welcome b,
.home-welcome small {
  display: inline-block;
  font: inherit;
  line-height: 1;
}

.home-welcome b {
  color: rgba(255, 248, 239, 0.90);
  font-weight: 700;
}

.home-welcome small {
  position: relative;
  padding-left: 14px;
  color: #ff334d;
  font-size: 0.68rem;
  font-weight: 700;
  text-shadow:
    0 0 10px rgba(255, 35, 64, 0.56),
    0 2px 12px rgba(0, 0, 0, 0.72);
}

.home-welcome small::before {
  content: "/";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 248, 239, 0.52);
  font-weight: 400;
}

.home-welcome::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border: 1px solid var(--home-ui-red);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 32, 61, 0.72);
}

.home-top-tools {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.home-top-tool {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  opacity: 0.82;
  filter: drop-shadow(0 0 9px rgba(255, 32, 61, 0.36));
}

.home-top-tool::before,
.home-top-tool::after {
  content: "";
  position: absolute;
}

.home-top-tool--signal::before {
  width: 11px;
  height: 11px;
  border: 1px solid var(--home-ui-red);
  transform: rotate(45deg);
  box-shadow:
    0 0 10px rgba(255, 32, 61, 0.62),
    inset 0 0 8px rgba(166, 82, 255, 0.18);
}

.home-top-tool--signal::after {
  width: 3px;
  height: 3px;
  background: var(--home-ui-red);
  box-shadow: 0 0 8px rgba(255, 32, 61, 0.76);
}

.home-menu-toggle {
  display: none;
  width: 42px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 248, 239, 0.10);
  background: rgba(4, 2, 10, 0.42);
  cursor: pointer;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  box-shadow:
    0 0 16px rgba(0, 0, 0, 0.34),
    inset 0 0 14px rgba(255, 35, 64, 0.08);
}

.home-menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px auto;
  background: var(--home-ui-white);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.35),
    0 0 12px rgba(255, 28, 62, 0.36);
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

body.home-menu-open .home-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.home-menu-open .home-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.home-menu-open .home-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === home-ui-hero-copy.css === */
/* Homepage hero title, signature stack, and supporting copy. */
.home-ui-shell {
  position: absolute;
  z-index: 28;
  inset: 0;
  pointer-events: none;
}

.home-ui-shell a {
  pointer-events: auto;
}

.home-hero-copy {
  position: absolute;
  top: 22.2%;
  left: 7.2%;
  width: 650px;
  max-width: 43vw;
  color: var(--home-ui-white);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.68);
  transform: translate3d(calc(var(--mx) * -4px), calc(var(--my) * -2px), 0);
  transition: transform 220ms ease-out;
}

.home-title-stack {
  position: relative;
  display: block;
  width: min(40vw, 640px);
  min-width: 500px;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  transform: translate3d(0, 0, 0);
  transition:
    filter 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.75, 0.22, 1);
  will-change: transform, filter;
}

.home-title-stack::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.36) 42%, rgba(255, 255, 255, 0.22) 64%, transparent 100%),
    radial-gradient(ellipse at 34% 42%, rgba(255, 255, 255, 0.32), transparent 42%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.22), transparent 48%);
  filter:
    drop-shadow(0 0 9px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.22));
  mix-blend-mode: screen;
  -webkit-mask: url("../img/堇团首页素材/UI/堇团.png") 0 0 / 100% auto no-repeat;
  mask: url("../img/堇团首页素材/UI/堇团.png") 0 0 / 100% auto no-repeat;
  transition: opacity 180ms ease;
}

.home-title-stack:hover,
.home-title-stack:focus-visible {
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.28));
  transform: translate3d(0, -10px, 0);
}

.home-title-stack:hover::before,
.home-title-stack:focus-visible::before {
  opacity: 0.62;
}

.home-title-stack:hover .home-title-kanji,
.home-title-stack:focus-visible .home-title-kanji {
  filter:
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.66))
    drop-shadow(2px 0 0 rgba(180, 0, 28, 0.20))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.32))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.18));
}

.home-title-stack:focus-visible {
  outline: 1px solid rgba(255, 42, 82, 0.68);
  outline-offset: 8px;
}

.home-title-kanji {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  filter:
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.62))
    drop-shadow(3px 0 0 rgba(255, 18, 52, 0.16))
    drop-shadow(-2px -2px 0 rgba(137, 79, 255, 0.10));
  transition: filter 180ms ease;
}

.home-title-signature {
  position: absolute;
  z-index: 3;
  left: 54px;
  bottom: -18px;
  width: min(62%, 386px);
  height: auto;
  opacity: 0.94;
  filter:
    drop-shadow(0 0 14px rgba(151, 80, 255, 0.52))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.62));
  transform: rotate(-4deg);
}

.home-title-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(86%, 560px);
  max-width: 100%;
  min-height: 44px;
  margin: 0 auto;
  padding: 9px 46px 10px;
  --home-title-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .8 11.2 6 6 11.2 .8 6Z' fill='none' stroke='%23a652ff' stroke-width='1.35'/%3E%3C/svg%3E");
  color: var(--home-ui-white);
  background: none;
  border: 0;
  box-shadow: none;
  clip-path: none;
}

.home-title-frame::before,
.home-title-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-title-frame::before {
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(175, 79, 255, 0.24) 4%, rgba(175, 79, 255, 0.64) 8%, rgba(255, 38, 68, 0.50) 50%, rgba(175, 79, 255, 0.64) 92%, rgba(175, 79, 255, 0.24) 96%, transparent 100%) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(255, 38, 68, 0.22) 4%, rgba(255, 38, 68, 0.52) 8%, rgba(175, 79, 255, 0.64) 50%, rgba(255, 38, 68, 0.52) 92%, rgba(255, 38, 68, 0.22) 96%, transparent 100%) bottom / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(6, 3, 14, 0.18) 14%, rgba(6, 3, 14, 0.72) 28%, rgba(13, 4, 24, 0.36) 72%, rgba(13, 4, 24, 0.12) 86%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255, 30, 62, 0.08) 14%, rgba(255, 30, 62, 0.20) 30%, transparent 50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 2.5%, rgba(0, 0, 0, 0.72) 5.5%, #000 10%, #000 90%, rgba(0, 0, 0, 0.72) 94.5%, rgba(0, 0, 0, 0.22) 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 2.5%, rgba(0, 0, 0, 0.72) 5.5%, #000 10%, #000 90%, rgba(0, 0, 0, 0.72) 94.5%, rgba(0, 0, 0, 0.22) 97.5%, transparent 100%);
  animation: home-title-frame-glow 4.8s ease-in-out infinite alternate;
}

.home-title-frame::after {
  z-index: 0;
  background:
    var(--home-title-diamond) 20px 50% / 10px 10px no-repeat,
    var(--home-title-diamond) calc(100% - 20px) 50% / 10px 10px no-repeat;
  filter: drop-shadow(0 0 8px rgba(166, 82, 255, 0.76));
}

.home-title-frame span {
  position: relative;
  z-index: 1;
  color: #ff3851;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.home-title-frame b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin-left: 14px;
  color: var(--home-ui-white);
  font-size: 1.08rem;
  font-style: normal;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.home-title-frame b::before {
  content: "/";
  margin-right: 14px;
  color: rgba(255, 248, 239, 0.66);
  font-style: normal;
}

.home-hero-line {
  width: min(86%, 560px);
  max-width: 100%;
  margin: 20px auto 0;
  color: var(--home-ui-white);
  font-size: 1.18rem;
  line-height: 1.7;
  font-weight: 700;
  text-align: center;
}

.home-hero-subline {
  width: min(86%, 560px);
  max-width: 100%;
  margin: 5px auto 0;
  color: rgba(255, 248, 239, 0.62);
  font-family: "ShanHaiXingYeGeTeW", "Times New Roman", serif;
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

/* === home-ui-bottom-band.css === */
/* Homepage bottom band, scroll/music mark, and track title. */
.home-bottom-band {
  position: absolute;
  z-index: 26;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 210px minmax(260px, 1fr);
  align-items: center;
  padding: 18px 62px 18px;
  color: var(--home-ui-white);
  pointer-events: none;
  background: var(--home-ui-bottom-fill);
  box-shadow: 0 -20px 46px rgba(0, 0, 0, 0.20);
}

.home-bottom-band::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-bottom-band::before {
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 248, 239, 0.36) 3%,
      rgba(255, 35, 64, 0.62) calc(50% - 96px),
      transparent calc(50% - 82px),
      transparent calc(50% + 82px),
      rgba(255, 35, 64, 0.62) calc(50% + 96px),
      rgba(255, 248, 239, 0.36) 97%,
      transparent 100%
    );
  box-shadow: 0 0 16px rgba(255, 35, 64, 0.36);
}

.home-bottom-band__line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: -1px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 35, 64, 0.46) 18%,
      rgba(166, 82, 255, 0.70) calc(50% - 102px),
      transparent calc(50% - 84px),
      transparent calc(50% + 84px),
      rgba(166, 82, 255, 0.70) calc(50% + 102px),
      rgba(255, 35, 64, 0.46) 82%,
      transparent 100%
    );
}

.home-bottom-band__left,
.home-bottom-band__right {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-bottom-band__left {
  grid-column: 1;
  justify-self: start;
  padding-left: 6px;
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Adobe Song Std", "SimSun", serif;
  gap: 8px;
}

.home-bottom-band__right {
  grid-column: 3;
  justify-self: end;
  text-align: right;
}

.home-bottom-band__left b,
.home-bottom-band__right b {
  color: #ff334c;
  font-size: 1rem;
  line-height: 1;
}

.home-bottom-band__left b {
  color: var(--home-ui-red);
  font-family: "SanJiHuaChaoTi-Cu", "Noto Serif SC", "Songti SC", serif;
  font-size: 1.12rem;
  font-weight: 400;
}

.home-bottom-band__left b small {
  color: var(--home-ui-red);
  font-family: "ShanHaiXingYeGeTeW", "Segoe Script", "Brush Script Std", cursive;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  margin-left: 8px;
  text-transform: none;
}

.home-bottom-band__right b {
  color: var(--home-ui-white);
  font-size: 1.08rem;
  font-weight: 500;
}

.home-bottom-band__left span,
.home-bottom-band__right span {
  color: rgba(255, 248, 239, 0.62);
  font-size: 0.76rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-bottom-band__left span {
  color: rgba(255, 248, 239, 0.86);
  font-family: "SanJiHuaChaoTi-Cu", "Noto Serif SC", "Songti SC", serif;
  font-size: 0.9rem;
  text-transform: none;
}

.home-scroll-mark {
  position: absolute;
  z-index: 2;
  top: -72px;
  left: 50%;
  width: 240px;
  height: 116px;
  color: #ff314c;
  pointer-events: auto;
  transform: translateX(-50%);
}

.home-scroll-fill,
.home-scroll-line,
.home-scroll-point {
  position: absolute;
  pointer-events: none;
}

.home-scroll-fill {
  left: 50%;
  top: 0;
  width: 170px;
  height: 150px;
  background: var(--home-ui-bottom-fill);
  clip-path: polygon(50% 0, 100% 48%, 100% 100%, 0 100%, 0 48%);
  transform: translateX(-50%);
}

.home-scroll-line {
  left: 50%;
  top: 1px;
  width: 111px;
  height: 1px;
  background: linear-gradient(90deg, rgba(166, 82, 255, 0.88), rgba(255, 36, 68, 0.40), rgba(166, 82, 255, 0.12));
  box-shadow: 0 0 10px rgba(166, 82, 255, 0.28);
  transform-origin: left center;
}

.home-scroll-line--left {
  transform: rotate(140.2deg);
}

.home-scroll-line--right {
  transform: rotate(39.8deg);
}

.home-scroll-point {
  top: 69px;
  width: 6px;
  height: 6px;
  background: var(--home-ui-red);
  box-shadow:
    0 0 10px rgba(255, 36, 68, 0.58),
    0 0 14px rgba(166, 82, 255, 0.22);
  transform: rotate(45deg);
}

.home-scroll-point--left {
  left: 32px;
}

.home-scroll-point--right {
  right: 32px;
}

.home-scroll-mark__diamond {
  position: absolute;
  left: 50%;
  top: 34px;
  display: grid;
  width: 96px;
  height: 76px;
  padding: 0;
  place-items: center;
  transform: translateX(-50%);
  border: 0;
  background: radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0.24), transparent 65%);
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.home-scroll-mark__diamond::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  background: linear-gradient(180deg, #bd62ff 0%, #8d36ff 34%, #ff2c55 68%, #ff1936 100%);
  filter:
    drop-shadow(0 0 11px rgba(174, 79, 255, 0.72))
    drop-shadow(0 7px 12px rgba(0, 0, 0, 0.36))
    drop-shadow(0 2px 0 rgba(255, 35, 64, 0.46));
  mask: url("../img/堇团首页素材/UI/p5_meigui_xza_violet.png") center / contain no-repeat;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: home-scroll-rose-float 4.8s ease-in-out infinite;
  will-change: transform, filter, opacity;
  -webkit-mask: url("../img/堇团首页素材/UI/p5_meigui_xza_violet.png") center / contain no-repeat;
}

.home-scroll-mark__diamond img {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  object-fit: contain;
  opacity: 0;
}

.home-scroll-mark__diamond:hover::before,
.home-scroll-mark__diamond:focus-visible::before {
  filter:
    drop-shadow(0 0 16px rgba(184, 92, 255, 0.90))
    drop-shadow(0 10px 16px rgba(0, 0, 0, 0.42))
    drop-shadow(0 2px 0 rgba(255, 35, 64, 0.56));
  transform: translate(-50%, -56%) scale(1.04);
}

.home-scroll-mark__diamond:focus-visible {
  outline: 1px solid rgba(166, 82, 255, 0.74);
  outline-offset: 6px;
}

.home-scroll-mark__diamond[data-state="playing"]::before {
  animation-duration: 2.8s;
}

.home-scroll-mark__diamond img::selection {
  background: transparent;
}

.home-scroll-track-title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 124px;
  max-width: 156px;
  overflow: hidden;
  padding: 0 22px;
  color: rgba(255, 248, 239, 0.82);
  font-family: "Times New Roman", "Noto Serif SC", serif;
  font-size: 0.68rem;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.88),
    0 0 10px rgba(166, 82, 255, 0.34);
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.home-scroll-track-title::before,
.home-scroll-track-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166, 82, 255, 0.82), rgba(255, 35, 64, 0.58));
  box-shadow: 0 0 8px rgba(166, 82, 255, 0.40);
}

.home-scroll-track-title::before {
  left: 0;
  transform: translateY(-50%);
}

.home-scroll-track-title::after {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

.home-scroll-track-title[data-state="playing"] {
  color: rgba(255, 248, 239, 0.94);
}

/* === home-ui-animations.css === */
/* Homepage UI keyframe animations. */
@keyframes home-title-frame-glow {
  from {
    filter:
      drop-shadow(0 -2px 9px rgba(175, 79, 255, 0.13))
      drop-shadow(0 2px 10px rgba(255, 38, 68, 0.11));
  }

  to {
    filter:
      drop-shadow(0 -4px 18px rgba(175, 79, 255, 0.30))
      drop-shadow(0 4px 20px rgba(255, 38, 68, 0.25));
  }
}

@keyframes home-scroll-rose-float {
  0%,
  100% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(0.985);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -56%) scale(1.035);
  }
}

/* === home-ui-responsive.css === */
/* Homepage UI responsive layout and viewport-specific overrides. */
@media (prefers-reduced-motion: reduce) {
  .home-title-stack,
  .home-title-frame,
  .home-title-frame::before,
  .home-scroll-mark__diamond::before {
    animation: none;
  }

  .home-title-stack:hover {
    transform: none;
  }

}

@media (max-width: 1180px) {
  .home-topbar {
    left: 28px;
    right: 28px;
    grid-template-columns: minmax(154px, 230px) 1fr minmax(156px, 230px);
    gap: 18px;
  }

  .home-site-nav {
    gap: 22px;
  }

  .home-welcome {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-hero-copy {
    left: 5.2%;
    max-width: 45vw;
  }

  .home-title-stack {
    width: 465px;
    min-width: 0;
  }

  .home-title-kanji {
    width: 100%;
    max-width: none;
  }

  .home-title-signature {
    left: 40px;
    width: 310px;
  }

}

@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --home-side-entry-size: 68px;
    --home-side-shell-width: 88px;
    --home-side-shell-height: 92px;
    --home-side-popout: -7px;
  }

  .home-topbar {
    top: 24px;
    left: 24px;
    right: 24px;
    grid-template-columns: minmax(148px, 198px) minmax(520px, 1fr) minmax(136px, 188px);
    gap: 14px;
  }

  .home-brand__emblem {
    width: 50px;
    height: 50px;
  }

  .home-brand__emblem img {
    width: 38px;
    height: 38px;
  }

  .home-brand__copy {
    margin-left: 10px;
  }

  .home-brand__copy img {
    width: 58px;
  }

  .home-brand__copy span {
    font-size: 0.56rem;
  }

  .home-site-nav {
    gap: clamp(13px, 1.45vw, 20px);
  }

  .home-site-nav a,
  .home-site-nav__more {
    min-width: 46px;
  }

  .home-site-nav__label {
    padding: 0 5px 3px;
    font-size: 1.02rem;
  }

  .home-site-nav a small {
    font-size: 0.48rem;
  }

  .home-welcome {
    max-width: 136px;
    gap: 7px;
    font-size: 0.64rem;
  }

  .home-welcome small {
    padding-left: 10px;
    font-size: 0.58rem;
  }

  .home-topbar__right {
    gap: 9px;
  }

  .home-top-tool {
    width: 20px;
    height: 20px;
  }

  .home-community-widget {
    top: calc(52% - 128px);
  }

  .home-community-entry,
  .violet-chat.violet-chat--fixed .violet-chat__portrait {
    width: var(--home-side-entry-size);
    height: var(--home-side-entry-size);
  }

  .home-community-entry__logo {
    width: calc(var(--home-side-entry-size) - 6px);
    height: calc(var(--home-side-entry-size) - 6px);
  }

  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed),
  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) .violet-chat__bubble {
    width: var(--home-side-shell-width);
    height: var(--home-side-shell-height);
  }

  .violet-chat.violet-chat--fixed .violet-chat__codename {
    right: 6px;
    width: calc(var(--home-side-entry-size) * 0.72);
  }

  .home-hero-copy {
    top: 22.8%;
    left: 5%;
    width: 500px;
    max-width: 43vw;
  }

  .home-title-stack {
    width: min(450px, 42vw);
    min-width: 0;
    margin-bottom: 20px;
  }

  .home-title-signature {
    left: 34px;
    bottom: -12px;
    width: min(62%, 280px);
  }

  .home-title-frame {
    width: min(92%, 470px);
    min-height: 42px;
    padding: 8px 36px 9px;
  }

  .home-title-frame span {
    font-size: 0.96rem;
  }

  .home-title-frame b {
    font-size: 0.98rem;
  }

  .home-hero-line {
    width: min(92%, 470px);
    margin-top: 18px;
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .home-hero-subline {
    width: min(92%, 470px);
    font-size: 0.74rem;
  }

  .home-bottom-band {
    min-height: 108px;
    grid-template-columns: minmax(210px, 1fr) 178px minmax(210px, 1fr);
    padding: 16px 48px;
  }

  .home-bottom-band__left b {
    font-size: 1rem;
  }

  .home-bottom-band__left b small {
    font-size: 0.94rem;
  }

  .home-bottom-band__left span {
    font-size: 0.78rem;
  }

  .home-bottom-band__right b {
    font-size: 0.96rem;
  }

  .home-bottom-band__right span {
    font-size: 0.68rem;
  }

  .home-scroll-mark {
    top: -64px;
    width: 202px;
    height: 104px;
  }

  .home-scroll-fill {
    width: 152px;
    height: 134px;
  }

  .home-scroll-line {
    width: 100px;
  }

  .home-scroll-point {
    top: 62px;
  }

  .home-scroll-point--left {
    left: 28px;
  }

  .home-scroll-point--right {
    right: 28px;
  }

  .home-scroll-mark__diamond {
    top: 30px;
    width: 88px;
    height: 70px;
  }

  .home-scroll-mark__diamond::before {
    width: 68px;
    height: 68px;
  }

  .home-scroll-mark__diamond img {
    width: 66px;
    height: 66px;
  }

  .home-scroll-track-title {
    top: 112px;
    font-size: 0.62rem;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .home-topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }

  .home-menu-toggle {
    display: block;
    clip-path: none;
  }

  .home-site-nav {
    position: fixed;
    z-index: 58;
    top: 78px;
    right: 24px;
    display: none;
    width: min(320px, calc(100vw - 48px));
    margin-left: 0;
    padding: 18px;
    gap: 8px;
    background:
      radial-gradient(ellipse at 20% 0%, rgba(166, 90, 255, 0.16), transparent 48%),
      rgba(3, 2, 9, 0.92);
    border: 1px solid rgba(255, 36, 68, 0.38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.56);
    clip-path: none;
  }

  body.home-menu-open .home-site-nav {
    display: grid;
  }

  .home-site-nav a,
  .home-site-nav [data-home-nav-extra] {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-items: start;
    min-width: 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-site-nav__more {
    display: none;
  }

  .home-site-nav a::before,
  .home-site-nav a::after,
  .home-site-nav__more::before,
  .home-site-nav__more::after {
    display: none;
  }

  .home-site-nav__label {
    font-size: 1.04rem;
  }

  .home-site-nav a small {
    align-self: center;
    font-size: 0.52rem;
  }

  body.home-menu-open .home-community-widget,
  body.home-menu-open .violet-chat.violet-chat--fixed:not(.is-open) {
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
  }

  .home-hero-copy {
    top: 23.8%;
    left: 5.2%;
    width: 455px;
    max-width: 45vw;
  }

  .home-title-stack {
    width: min(420px, 43vw);
  }

  .home-title-frame,
  .home-hero-line,
  .home-hero-subline {
    width: min(96%, 430px);
  }
}

@media (min-width: 1041px) and (max-width: 1500px) {
  body.home-nav-expanded .home-topbar__right {
    opacity: 0;
    pointer-events: none;
    transform: translateX(14px);
  }
}

@media (min-width: 901px) and (max-width: 1040px) and (min-height: 1000px) {
  :root {
    --home-side-popout: -6px;
    --home-mobile-side-entry-size: 68px;
    --home-mobile-side-shell-width: 82px;
    --home-mobile-side-shell-height: 88px;
    --home-mobile-side-gap: 22px;
    --home-mobile-side-gap-half: 11px;
    --home-mobile-side-center: clamp(420px, 45svh, calc(100svh - 270px));
  }

  .home-topbar {
    top: 24px;
    left: 24px;
    right: 24px;
  }

  .home-brand__emblem {
    width: 52px;
    height: 52px;
  }

  .home-brand__emblem img {
    width: 40px;
    height: 40px;
  }

  .home-brand__copy img {
    width: 64px;
  }

  .home-brand__copy span {
    display: none;
  }

  .home-menu-toggle {
    width: 46px;
    height: 40px;
  }

  .home-site-nav {
    top: 84px;
    right: 24px;
    width: min(332px, calc(100vw - 48px));
    margin-left: 0;
  }

  .home-community-widget {
    top: calc(var(--home-mobile-side-center) - var(--home-mobile-side-shell-height) - var(--home-mobile-side-gap-half));
    right: 0;
    bottom: auto;
    width: var(--home-mobile-side-shell-width);
    height: var(--home-mobile-side-shell-height);
    transform: none;
  }

  .home-community-entry,
  .violet-chat.violet-chat--fixed .violet-chat__portrait {
    width: var(--home-mobile-side-entry-size);
    height: var(--home-mobile-side-entry-size);
  }

  .home-community-entry__logo {
    width: calc(var(--home-mobile-side-entry-size) - 6px);
    height: calc(var(--home-mobile-side-entry-size) - 6px);
  }

  .violet-chat.violet-chat--fixed:not(.is-open),
  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) {
    top: calc(var(--home-mobile-side-center) + var(--home-mobile-side-gap-half)) !important;
    right: 0;
    bottom: auto !important;
    width: var(--home-mobile-side-shell-width);
    height: var(--home-mobile-side-shell-height);
    transform: none;
  }

  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) .violet-chat__bubble {
    width: var(--home-mobile-side-shell-width);
    height: var(--home-mobile-side-shell-height);
  }

  .violet-chat.violet-chat--fixed .violet-chat__codename {
    right: 5px;
    bottom: 1px;
    width: calc(var(--home-mobile-side-entry-size) * 0.72);
  }

  .home-ui-shell {
    z-index: 29;
  }

  .home-hero-copy {
    top: auto;
    left: 42px;
    right: 42px;
    bottom: clamp(244px, 20svh, 286px);
    width: auto;
    max-width: none;
  }

  .home-title-stack {
    width: clamp(430px, 49vw, 500px);
    min-width: 0;
    min-height: 224px;
    margin-bottom: 24px;
  }

  .home-title-stack::before {
    display: none;
  }

  .home-title-signature {
    left: 36px;
    bottom: 20px;
    width: 300px;
  }

  .home-title-frame {
    width: min(76%, 520px);
    min-height: 42px;
    padding: 8px 36px 9px;
    transform: translateY(8px);
  }

  .home-title-frame span,
  .home-title-frame b {
    font-size: 0.96rem;
  }

  .home-hero-line {
    width: min(76%, 520px);
    margin-top: 30px;
    font-size: 1.06rem;
    line-height: 1.45;
    transform: translateY(8px);
  }

  .home-hero-subline {
    display: none;
  }

  .home-bottom-band {
    min-height: 112px;
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    align-items: start;
    column-gap: 16px;
    padding: 14px 34px 18px;
  }

  .home-bottom-band__left,
  .home-bottom-band__right {
    width: 100%;
    max-width: calc((100vw - 196px) / 2);
    transform: translateY(-3px);
  }

  .home-bottom-band__right span,
  .home-bottom-band__right b,
  .home-bottom-band__left span {
    display: none;
  }

  .home-bottom-band__left b,
  .home-bottom-band__right b {
    font-size: 0.88rem;
  }

  .home-bottom-band__left b small {
    display: inline;
    margin: 0 0 0 6px;
    font-size: 0.7rem;
  }

  .home-bottom-band__right {
    justify-self: stretch;
    text-align: right;
  }

  .home-bottom-band__right::before {
    content: "寻找志同道合的怪盗\A一起创造属于我们的传说";
    display: block;
    width: 100%;
    color: rgba(255, 248, 239, 0.86);
    font-family: "SanJiHuaChaoTi-Cu", "Noto Serif SC", "Songti SC", serif;
    font-size: 0.74rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: pre-line;
  }

  .home-scroll-mark {
    top: -54px;
    width: 96px;
    height: 70px;
  }

  .home-scroll-fill,
  .home-scroll-line,
  .home-scroll-point {
    display: none;
  }

  .home-scroll-mark__diamond {
    top: 0;
    width: 66px;
    height: 66px;
  }

  .home-scroll-mark__diamond::before {
    width: 46px;
    height: 46px;
  }

  .home-scroll-mark__diamond img {
    width: 44px;
    height: 44px;
  }

  .home-scroll-track-title {
    top: 68px;
    max-width: 92px;
    padding: 0 12px;
    font-size: 0.58rem;
  }

  body.home-menu-open .home-community-widget,
  body.home-menu-open .violet-chat.violet-chat--fixed:not(.is-open) {
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
  }
}

@media (min-width: 901px) and (max-width: 1180px) and (max-height: 680px) {
  .home-topbar {
    top: 18px;
    left: 24px;
    right: 24px;
  }

  .home-hero-copy {
    top: 21.5%;
    left: 5%;
    width: 370px;
    max-width: 40vw;
  }

  .home-title-stack {
    width: min(340px, 38vw);
    margin-bottom: 14px;
  }

  .home-title-signature {
    left: 26px;
    bottom: -10px;
    width: min(62%, 214px);
  }

  .home-title-frame {
    width: min(94%, 360px);
    min-height: 38px;
    padding: 7px 30px 8px;
  }

  .home-title-frame span {
    font-size: 0.86rem;
  }

  .home-title-frame b {
    font-size: 0.88rem;
  }

  .home-hero-line {
    width: min(94%, 360px);
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.4;
  }

  .home-hero-subline {
    width: min(94%, 390px);
    font-size: 0.66rem;
  }

  .home-bottom-band {
    min-height: 92px;
    padding: 12px 46px;
  }

  .home-scroll-mark {
    top: -52px;
  }
}

@media (max-width: 900px) {
  :root {
    --home-side-popout: -6px;
    --home-mobile-side-entry-size: 60px;
    --home-mobile-side-shell-width: 70px;
    --home-mobile-side-shell-height: 78px;
    --home-mobile-side-gap: 18px;
    --home-mobile-side-gap-half: 9px;
    --home-mobile-side-center: clamp(154px, 44svh, calc(100svh - 190px));
  }

  .home-topbar {
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .home-brand__emblem {
    width: 44px;
    height: 44px;
  }

  .home-brand__emblem img {
    width: 34px;
    height: 34px;
  }

  .home-brand__copy img {
    width: 54px;
  }

  .home-brand__copy span,
  .home-welcome {
    display: none;
  }

  .home-top-tools {
    gap: 4px;
  }

  .home-top-tool {
    width: 20px;
    height: 20px;
  }

  .home-menu-toggle {
    display: block;
    clip-path: none;
  }

  .home-community-widget {
    top: calc(var(--home-mobile-side-center) - var(--home-mobile-side-shell-height) - var(--home-mobile-side-gap-half));
    right: 0;
    bottom: auto;
    width: var(--home-mobile-side-shell-width);
    height: var(--home-mobile-side-shell-height);
    transform: none;
    transform-origin: right center;
  }

  .home-community-widget:hover {
    transform: translateX(var(--home-side-popout));
  }

  .home-community-entry,
  .violet-chat.violet-chat--fixed .violet-chat__portrait {
    width: var(--home-mobile-side-entry-size);
    height: var(--home-mobile-side-entry-size);
  }

  .home-community-entry__logo {
    width: calc(var(--home-mobile-side-entry-size) - 6px);
    height: calc(var(--home-mobile-side-entry-size) - 6px);
  }

  .violet-chat.violet-chat--fixed:not(.is-open),
  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) {
    top: calc(var(--home-mobile-side-center) + var(--home-mobile-side-gap-half)) !important;
    right: 0;
    bottom: auto !important;
    width: var(--home-mobile-side-shell-width);
    height: var(--home-mobile-side-shell-height);
    transform: none;
    transform-origin: right center;
  }

  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed) .violet-chat__bubble {
    width: var(--home-mobile-side-shell-width);
    height: var(--home-mobile-side-shell-height);
  }

  .violet-chat.violet-chat--fixed .violet-chat__codename {
    right: 5px;
    bottom: 1px;
    width: calc(var(--home-mobile-side-entry-size) * 0.72);
  }

  .violet-chat.violet-chat--fixed:not(.is-open):not(.is-collapsed):hover {
    transform: translateX(var(--home-side-popout));
  }

  .violet-chat.violet-chat--fixed.is-collapsed {
    top: calc(var(--home-mobile-side-center) + var(--home-mobile-side-gap-half)) !important;
    right: 0;
    bottom: auto !important;
    transform: none;
  }

  .violet-chat.violet-chat--fixed.is-open {
    top: 76px !important;
    right: 14px;
    bottom: auto !important;
    transform: none;
  }

  .home-site-nav {
    position: fixed;
    z-index: 58;
    top: 76px;
    right: 18px;
    display: none;
    width: min(280px, calc(100vw - 36px));
    padding: 18px;
    gap: 8px;
    background:
      radial-gradient(ellipse at 20% 0%, rgba(166, 90, 255, 0.16), transparent 48%),
      rgba(3, 2, 9, 0.92);
    border: 1px solid rgba(255, 36, 68, 0.38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.56);
    clip-path: none;
  }

  body.home-menu-open .home-site-nav {
    display: grid;
  }

  .home-site-nav a,
  .home-site-nav [data-home-nav-extra] {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-items: start;
    min-width: 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-site-nav__more {
    display: none;
  }

  .home-site-nav a::before,
  .home-site-nav a::after,
  .home-site-nav__more::before,
  .home-site-nav__more::after {
    display: none;
  }

  .home-site-nav__label {
    font-size: 1rem;
  }

  .home-site-nav a small {
    align-self: center;
  }

  .home-ui-shell {
    z-index: 28;
  }

  .home-hero-copy {
    top: auto;
    left: 20px;
    right: 20px;
    bottom: clamp(140px, 18svh, 190px);
    width: auto;
    max-width: none;
    text-shadow: none;
  }

  .home-title-stack {
    width: 292px;
    min-width: 0;
    min-height: 138px;
    margin-bottom: 18px;
  }

  .home-title-stack::before {
    display: none;
  }

  .home-title-stack:hover,
  .home-title-stack:focus-visible {
    filter: none;
    transform: translate3d(0, 0, 0);
  }

  .home-title-kanji {
    width: 100%;
    max-width: none;
    min-width: 0;
    filter: none;
  }

  .home-title-stack:hover .home-title-kanji,
  .home-title-stack:focus-visible .home-title-kanji {
    filter: none;
  }

  .home-title-signature {
    left: 24px;
    bottom: 2px;
    width: 218px;
    filter: none;
  }

  .home-title-frame {
    width: min(100%, 360px);
    min-height: 38px;
    padding: 8px 18px 9px 28px;
    transform: translateY(10px);
  }

  .home-title-frame span,
  .home-title-frame b {
    font-size: 0.82rem;
  }

  .home-title-frame b::before {
    margin-right: 9px;
  }

  .home-hero-line {
    width: min(100%, 360px);
    margin-top: 24px;
    font-size: 0.94rem;
    line-height: 1.45;
    text-align: center;
    text-shadow:
      0 2px 7px rgba(0, 0, 0, 0.58),
      0 0 9px rgba(255, 248, 239, 0.12);
    transform: translateY(10px);
  }

  .home-hero-subline {
    display: none;
  }

  .home-bottom-band {
    min-height: 80px;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    padding: 10px 18px 16px;
  }

  .home-bottom-band__left,
  .home-bottom-band__right {
    width: 100%;
    max-width: calc((100vw - 126px) / 2);
    transform: translateY(-4px);
  }

  .home-bottom-band__left b,
  .home-bottom-band__right b {
    font-size: 0.78rem;
  }

  .home-bottom-band__right span {
    display: none;
  }

  .home-bottom-band__left b small {
    display: block;
    margin: 3px 0 0;
    font-size: 0.58rem;
  }

  .home-bottom-band__left span {
    display: none;
    max-width: 100%;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .home-bottom-band__right {
    justify-self: stretch;
    text-align: right;
  }

  .home-bottom-band__right b {
    display: none;
  }

  .home-bottom-band__right::before {
    content: "寻找志同道合的怪盗\A一起创造属于我们的传说";
    display: block;
    width: 100%;
    color: rgba(255, 248, 239, 0.86);
    font-family: "SanJiHuaChaoTi-Cu", "Noto Serif SC", "Songti SC", serif;
    font-size: 0.62rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: pre-line;
  }

  .home-scroll-mark {
    top: -42px;
    width: 72px;
    height: 54px;
    transform: translateX(-50%);
  }

  .home-scroll-fill,
  .home-scroll-line,
  .home-scroll-point {
    display: none;
  }

  .home-scroll-mark__diamond {
    top: 0;
    width: 54px;
    height: 54px;
    transform: translateX(-50%);
    background: transparent;
  }

  .home-scroll-mark__diamond::before {
    animation: none;
    filter: none;
    opacity: 0.96;
    transform: translate(-50%, -50%);
  }

  .home-scroll-mark__diamond:hover::before,
  .home-scroll-mark__diamond:focus-visible::before {
    filter: none;
    transform: translate(-50%, -50%);
  }

  .home-scroll-mark__diamond::before {
    width: 36px;
    height: 36px;
  }

  .home-scroll-mark__diamond img {
    width: 34px;
    height: 34px;
  }

  .home-scroll-track-title {
    top: 56px;
    max-width: 78px;
    padding: 0 12px;
    font-size: 0.54rem;
  }

  .home-scroll-track-title::before,
  .home-scroll-track-title::after {
    width: 10px;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  :root {
    --home-mobile-side-entry-size: 68px;
    --home-mobile-side-shell-width: 82px;
    --home-mobile-side-shell-height: 88px;
    --home-mobile-side-gap: 22px;
    --home-mobile-side-gap-half: 11px;
    --home-mobile-side-center: clamp(420px, 45svh, calc(100svh - 270px));
  }

  .home-topbar {
    top: 24px;
    left: 24px;
    right: 24px;
  }

  .home-brand__emblem {
    width: 52px;
    height: 52px;
  }

  .home-brand__emblem img {
    width: 40px;
    height: 40px;
  }

  .home-brand__copy img {
    width: 64px;
  }

  .home-menu-toggle {
    width: 46px;
    height: 40px;
  }

  .home-site-nav {
    top: 84px;
    right: 24px;
    width: min(332px, calc(100vw - 48px));
  }

  .home-ui-shell {
    z-index: 29;
  }

  .home-hero-copy {
    left: 32px;
    right: 32px;
    bottom: clamp(176px, 17svh, 210px);
  }

  .home-title-stack {
    width: clamp(380px, 52vw, 430px);
    min-height: 194px;
    margin-bottom: 22px;
  }

  .home-title-signature {
    left: 36px;
    bottom: 1px;
    width: 314px;
  }

  .home-title-frame {
    width: min(82%, 500px);
    min-height: 42px;
    padding: 8px 34px 9px;
    transform: translateY(8px);
  }

  .home-title-frame span,
  .home-title-frame b {
    font-size: 0.94rem;
  }

  .home-hero-line {
    width: min(82%, 500px);
    margin-top: 28px;
    font-size: 1.05rem;
    line-height: 1.45;
    transform: translateY(8px);
  }

  .home-bottom-band {
    min-height: 92px;
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    column-gap: 16px;
    padding: 14px 32px 18px;
  }

  .home-bottom-band__left,
  .home-bottom-band__right {
    max-width: calc((100vw - 184px) / 2);
    transform: translateY(-3px);
  }

  .home-bottom-band__left b,
  .home-bottom-band__right b {
    font-size: 0.88rem;
  }

  .home-bottom-band__left b small {
    display: inline;
    margin: 0 0 0 6px;
    font-size: 0.7rem;
  }

  .home-bottom-band__right::before {
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .home-scroll-mark {
    top: -54px;
    width: 94px;
    height: 68px;
  }

  .home-scroll-mark__diamond {
    width: 64px;
    height: 64px;
  }

  .home-scroll-mark__diamond::before {
    width: 44px;
    height: 44px;
  }

  .home-scroll-mark__diamond img {
    width: 42px;
    height: 42px;
  }

  .home-scroll-track-title {
    top: 66px;
    max-width: 92px;
    font-size: 0.58rem;
  }

  body.home-menu-open .home-community-widget,
  body.home-menu-open .violet-chat.violet-chat--fixed:not(.is-open) {
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
  }
}

@media (min-width: 521px) and (max-width: 699px) and (max-height: 820px) {
  :root {
    --home-mobile-side-entry-size: 58px;
    --home-mobile-side-shell-width: 68px;
    --home-mobile-side-shell-height: 72px;
    --home-mobile-side-gap: 16px;
    --home-mobile-side-gap-half: 8px;
    --home-mobile-side-center: clamp(272px, 50svh, calc(100svh - 148px));
  }

  .home-hero-copy {
    left: 18px;
    right: 18px;
    bottom: clamp(112px, 16svh, 136px);
  }

  .home-title-stack {
    width: min(282px, 56vw);
    min-height: 132px;
    margin-bottom: 14px;
  }

  .home-title-signature {
    left: 23px;
    bottom: 2px;
    width: 211px;
  }

  .home-title-frame {
    width: min(86%, 350px);
    min-height: 36px;
    padding: 7px 18px 8px 26px;
    transform: translateY(6px);
  }

  .home-title-frame span,
  .home-title-frame b {
    font-size: 0.76rem;
  }

  .home-hero-line {
    width: min(86%, 350px);
    margin-top: 20px;
    font-size: 0.88rem;
    transform: translateY(6px);
  }

  .home-bottom-band {
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    column-gap: 8px;
    padding: 9px 18px 15px;
  }

  .home-bottom-band__left,
  .home-bottom-band__right {
    max-width: calc((100vw - 108px) / 2);
  }

  .home-bottom-band__left b small {
    display: block;
    margin: 3px 0 0;
  }

  .home-bottom-band__right::before {
    font-size: 0.56rem;
    line-height: 1.32;
  }

  .home-scroll-mark {
    top: -40px;
    width: 64px;
    height: 52px;
  }

  .home-scroll-mark__diamond {
    width: 48px;
    height: 48px;
  }

  .home-scroll-mark__diamond::before {
    width: 34px;
    height: 34px;
  }

  .home-scroll-mark__diamond img {
    width: 32px;
    height: 32px;
  }

  .home-scroll-track-title {
    top: 52px;
    max-width: 72px;
    font-size: 0.52rem;
  }
}

@media (max-width: 520px) {
  :root {
    --home-mobile-side-entry-size: 56px;
    --home-mobile-side-shell-width: 66px;
    --home-mobile-side-shell-height: 74px;
    --home-mobile-side-gap: 18px;
    --home-mobile-side-gap-half: 9px;
    --home-mobile-side-center: clamp(142px, 43svh, calc(100svh - 188px));
  }

  .home-topbar {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .home-hero-copy {
    bottom: clamp(124px, 16svh, 160px);
  }

  .home-title-stack {
    width: 244px;
    min-width: 0;
    min-height: 118px;
  }

  .home-title-kanji {
    width: 100%;
    max-width: none;
  }

  .home-title-signature {
    left: 16px;
    bottom: 2px;
    width: 184px;
  }

  .home-title-frame {
    width: 100%;
    max-width: 330px;
  }

  .home-title-frame span,
  .home-title-frame b {
    font-size: 0.72rem;
  }

  .home-hero-line {
    max-width: 300px;
    font-size: 0.88rem;
    margin-top: 22px;
    transform: translateY(8px);
  }

  .home-bottom-band {
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    column-gap: 6px;
    padding: 9px 14px 15px;
  }

  .home-bottom-band__right {
    display: grid;
  }

  .home-bottom-band__left,
  .home-bottom-band__right {
    width: 100%;
    max-width: none;
  }

  .home-bottom-band__left span,
  .home-bottom-band__right::before {
    font-size: 0.56rem;
    line-height: 1.32;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .home-topbar {
    top: 18px;
  }

  .home-hero-copy {
    top: 23.5%;
  }

  .home-title-stack {
    min-height: 206px;
  }

  .home-title-kanji {
    width: 100%;
    max-width: none;
  }

  .home-bottom-band {
    min-height: 92px;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) and (max-height: 850px) {
  .home-topbar {
    left: 32px;
    right: 32px;
    grid-template-columns: minmax(180px, 230px) minmax(580px, 1fr) minmax(142px, 180px);
    gap: 16px;
  }

  .home-site-nav {
    gap: clamp(16px, 1.45vw, 22px);
  }

  .home-site-nav a,
  .home-site-nav__more {
    min-width: 48px;
  }

  .home-site-nav__label {
    padding: 0 5px 3px;
    font-size: 1.06rem;
  }

  .home-site-nav a small {
    font-size: 0.5rem;
  }

  .home-welcome {
    max-width: 150px;
    gap: 7px;
    font-size: 0.64rem;
  }

  .home-welcome small {
    padding-left: 10px;
    font-size: 0.58rem;
  }
}

@media (min-width: 1600px) and (min-height: 860px) {
  .home-title-stack {
    width: 640px;
    min-width: 0;
  }

  .home-title-kanji {
    width: 100%;
    max-width: none;
  }

}
