:root {
  --bg: #100d13;
  --bg-2: #171018;
  --panel: rgba(29, 22, 27, 0.82);
  --panel-strong: rgba(43, 31, 35, 0.95);
  --text: #f7efe7;
  --muted: #bcaea5;
  --line: rgba(255, 255, 255, 0.13);
  --red: #d83a32;
  --red-deep: #8d1f21;
  --gold: #d7a64a;
  --ice: #87d7ff;
  --jade: #5fd0ad;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  --font-ui: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  --font-title: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 400;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 58, 50, 0.24), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(215, 166, 74, 0.16), transparent 24%),
    linear-gradient(135deg, #100d13 0%, #201015 48%, #0d1115 100%);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.home-shell {
  width: min(1280px, calc(100% - 32px));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d83a32, #5f1316);
  box-shadow: 0 10px 24px rgba(216, 58, 50, 0.28);
  color: #fff6e8;
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 500;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 166, 74, 0.55);
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: stretch;
  min-height: clamp(520px, 78vh, 740px);
}

.notice {
  align-self: center;
  padding: clamp(28px, 5vw, 56px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}

h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}

.subtitle {
  max-width: 700px;
  margin: 22px 0 0;
  color: #decfc5;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.7;
}

.announcement {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  color: #f3e2d6;
  line-height: 1.75;
}

.announcement p {
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-btn,
.tool-link,
.device-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #d83a32, #8d1f21);
  color: #fff6e8;
  font-weight: 700;
  box-shadow: 0 16px 42px rgba(216, 58, 50, 0.26);
  cursor: pointer;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(215, 166, 74, 0.46);
  border-radius: 8px;
  background: rgba(215, 166, 74, 0.08);
  color: #f8e3b0;
  font-weight: 650;
}

.join-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 430px);
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(215, 166, 74, 0.4);
  border-radius: 8px;
  background: rgba(12, 10, 12, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.join-card img {
  flex: 0 0 auto;
  width: 148px;
  height: 148px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  image-rendering: pixelated;
}

.join-card div {
  display: grid;
  gap: 8px;
}

.join-card strong {
  color: #fff8ed;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
}

.join-card span {
  color: #d7c3b6;
  line-height: 1.55;
  font-size: 14px;
}

.poster-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  min-height: calc(100vh - 112px);
  min-height: calc(100dvh - 112px);
  padding: clamp(12px, 2.5vw, 30px) 0 clamp(28px, 5vw, 58px);
}

.poster-hero::before {
  content: "";
  position: absolute;
  inset: -24px max(-24px, -3vw) 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 13, 19, 0.94) 0%, rgba(16, 13, 19, 0.74) 42%, rgba(16, 13, 19, 0.9) 100%),
    image-set(url("/assets/images/xuehe-poster.jpg") 1x);
  background-size: cover;
  background-position: center;
  filter: blur(12px) saturate(0.88) brightness(0.62);
  transform: scale(1.03);
}

.poster-copy {
  max-width: 690px;
  padding: clamp(18px, 3vw, 34px) 0;
}

.poster-frame {
  position: relative;
  justify-self: start;
  width: min(100%, 470px);
  margin: 0;
  padding: clamp(8px, 1vw, 12px);
  border: 1px solid rgba(215, 166, 74, 0.42);
  border-radius: 8px;
  background: rgba(8, 8, 12, 0.7);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  user-select: none;
}

.lab-visual {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 520px;
  padding: 20px 0;
}

.character {
  position: relative;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 48% 32%, rgba(244, 184, 82, 0.2), transparent 25%),
    linear-gradient(145deg, rgba(72, 17, 23, 0.94), rgba(18, 16, 20, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.moon {
  position: absolute;
  right: 32px;
  top: 28px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f6d991;
  box-shadow: 0 0 36px rgba(246, 217, 145, 0.44);
}

.spear {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 10px;
  height: 460px;
  border-radius: 99px;
  background: linear-gradient(#f0c26d, #5a1b19 58%, #190c0e);
  transform: rotate(35deg);
  transform-origin: center;
  box-shadow: 0 0 22px rgba(216, 58, 50, 0.35);
}

.spear::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -58px;
  width: 34px;
  height: 86px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 72%, 62% 100%, 50% 84%, 38% 100%, 0 72%);
  background: linear-gradient(180deg, #fff0bf, #d83a32 72%, #6f1719);
}

.warrior {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 260px;
  height: 360px;
  transform: translateX(-50%);
}

.head {
  position: absolute;
  left: 93px;
  top: 26px;
  width: 74px;
  height: 78px;
  border-radius: 42% 42% 48% 48%;
  background: linear-gradient(180deg, #f0c5a2, #b76d58);
  box-shadow: inset 0 -8px 0 rgba(85, 22, 26, 0.18);
}

.hair {
  position: absolute;
  left: 79px;
  top: 4px;
  width: 102px;
  height: 96px;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, #211014, #080609);
}

.hair::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 34px;
  width: 36px;
  height: 170px;
  border-radius: 22px;
  background: linear-gradient(#130a0d, transparent);
  transform: rotate(-10deg);
}

.body {
  position: absolute;
  left: 56px;
  top: 116px;
  width: 148px;
  height: 190px;
  clip-path: polygon(25% 0, 75% 0, 100% 84%, 50% 100%, 0 84%);
  background:
    linear-gradient(90deg, transparent 46%, rgba(246, 217, 145, 0.36) 47% 53%, transparent 54%),
    linear-gradient(135deg, #66181d, #1d1014 72%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cape {
  position: absolute;
  left: 28px;
  top: 118px;
  width: 214px;
  height: 238px;
  clip-path: polygon(19% 0, 82% 0, 100% 100%, 55% 82%, 0 100%);
  background: linear-gradient(135deg, rgba(198, 40, 42, 0.86), rgba(48, 12, 16, 0.26));
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.44));
}

.arm {
  position: absolute;
  top: 136px;
  width: 32px;
  height: 154px;
  border-radius: 20px;
  background: linear-gradient(#7a2424, #211014);
}

.arm.left {
  left: 35px;
  transform: rotate(18deg);
}

.arm.right {
  right: 39px;
  transform: rotate(-22deg);
}

.leg {
  position: absolute;
  bottom: 0;
  width: 44px;
  height: 98px;
  border-radius: 20px 20px 10px 10px;
  background: linear-gradient(#2d1719, #0b0809);
}

.leg.left {
  left: 79px;
}

.leg.right {
  right: 79px;
}

.seal {
  position: absolute;
  left: 26px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  color: rgba(255, 246, 232, 0.76);
  font-size: 12px;
}

.seal strong {
  color: var(--gold);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.installed-section {
  margin-top: 24px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
}

.device-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 330px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.device-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 166, 74, 0.44);
  background: rgba(255, 255, 255, 0.078);
}

.device-icon {
  font-size: 34px;
  line-height: 1;
}

.device-card h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
}

.device-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.device-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
}

.active-card {
  position: relative;
  overflow: hidden;
}

.active-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: cardSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardSweep {
  0%, 42% { transform: translateX(-120%); }
  62%, 100% { transform: translateX(120%); }
}

.mini-air,
.mini-tv,
.mini-handheld,
.mini-console {
  position: relative;
  height: 150px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mini-air {
  padding: 24px 18px;
}

.mini-air-face {
  position: relative;
  z-index: 2;
  height: 74px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff9ed, #d7d2cc);
  color: #2d1719;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.mini-air-face span,
.mini-air-face strong {
  position: absolute;
  top: 18px;
}

.mini-air-face span {
  left: 16px;
  color: #8d1f21;
  font-size: 12px;
  font-weight: 900;
}

.mini-air-face strong {
  right: 16px;
  color: #258bbf;
  font-size: 20px;
}

.mini-air-vent {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 82px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  z-index: 3;
}

.mini-wind {
  position: absolute;
  left: 46px;
  right: 46px;
  top: 92px;
  display: flex;
  justify-content: space-between;
}

.mini-wind i {
  width: 3px;
  height: 58px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(135, 215, 255, 0.9), transparent);
  animation: miniWind 1.4s ease-in-out infinite;
}

.mini-wind i:nth-child(2) { animation-delay: 0.18s; }
.mini-wind i:nth-child(3) { animation-delay: 0.36s; }
.mini-wind i:nth-child(4) { animation-delay: 0.54s; }

@keyframes miniWind {
  from { opacity: 0; transform: translateY(-12px); }
  45% { opacity: 0.95; }
  to { opacity: 0; transform: translateY(24px); }
}

.mini-tv {
  padding: 18px 58px 22px 16px;
  background: linear-gradient(135deg, #714326, #241412);
}

.mini-tv::before,
.mini-tv::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 4px;
  height: 44px;
  border-radius: 99px;
  background: #b39068;
  transform-origin: bottom;
}

.mini-tv::before {
  left: 43%;
  transform: rotate(-32deg);
}

.mini-tv::after {
  left: 54%;
  transform: rotate(32deg);
}

.mini-tv-screen {
  position: relative;
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  border: 7px solid #0c0c0d;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(135, 215, 255, 0.18), transparent 58%), #101418;
  text-align: center;
  overflow: hidden;
}

.mini-tv-screen span {
  justify-self: center;
  padding: 3px 7px;
  border-radius: 5px;
  background: #d83a32;
  font-size: 11px;
  font-weight: 900;
}

.mini-tv-screen strong {
  font-size: 16px;
}

.mini-tv-screen i {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 28%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: miniScan 2.2s linear infinite;
}

@keyframes miniScan {
  to { top: 112%; }
}

.mini-tv-knobs {
  position: absolute;
  right: 20px;
  bottom: 26px;
  display: grid;
  gap: 12px;
}

.mini-tv-knobs b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5b4238, #1d1412);
}

.mini-handheld {
  padding: 16px 22px 18px;
  background: linear-gradient(145deg, #363a42, #171a20);
  border-radius: 20px;
}

.mini-game-screen {
  position: relative;
  height: 96px;
  border: 8px solid #090b0d;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    #101418;
  overflow: hidden;
}

.mini-player {
  position: absolute;
  left: 44%;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d83a32;
  animation: miniDodge 1.8s ease-in-out infinite;
}

@keyframes miniDodge {
  0%, 100% { transform: translateX(-28px); }
  50% { transform: translateX(42px); }
}

.mini-danger,
.mini-coin {
  position: absolute;
  top: -18px;
  border-radius: 50%;
  animation: miniFall 1.6s linear infinite;
}

.mini-danger {
  width: 24px;
  height: 24px;
  border: 3px solid #d83a32;
  background: rgba(216, 58, 50, 0.18);
}

.mini-danger.one {
  left: 26%;
}

.mini-danger.two {
  left: 68%;
  animation-delay: 0.72s;
}

.mini-coin {
  left: 48%;
  width: 17px;
  height: 17px;
  background: #d7a64a;
  border-radius: 2px;
  transform: rotate(45deg);
  animation-delay: 1.1s;
}

@keyframes miniFall {
  to { top: 112%; }
}

.mini-pad {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.mini-pad b {
  width: 26px;
  height: 18px;
  border-radius: 999px;
  background: #0f1115;
}

.mini-console {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 18px;
  background: linear-gradient(145deg, #d6d0c4, #716e6a);
}

.mini-slot {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 8px;
  background: #1b1617;
  color: #f6dfb0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mini-targets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mini-targets span {
  height: 34px;
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.22);
  animation: targetBlink 1.8s steps(1, end) infinite;
}

.mini-targets span:nth-child(2) { animation-delay: 0.3s; }
.mini-targets span:nth-child(3) { animation-delay: 0.6s; }
.mini-targets span:nth-child(4) { animation-delay: 0.9s; }
.mini-targets span:nth-child(5) { animation-delay: 1.2s; }
.mini-targets span:nth-child(6) { animation-delay: 1.5s; }

@keyframes targetBlink {
  0%, 76%, 100% { background: rgba(16, 20, 24, 0.86); box-shadow: none; }
  77%, 92% { background: radial-gradient(circle, #f6d991 0 18%, #d83a32 19% 58%, rgba(216, 58, 50, 0.2) 59%); box-shadow: 0 0 14px rgba(216, 58, 50, 0.64); }
}

.page-head {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 4px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-head h1 {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  color: #fff6e8;
}

.page-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.device-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.side-panel {
  padding: 18px;
}

.side-panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.stat-list {
  display: grid;
  gap: 10px;
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.stat strong {
  color: var(--text);
}

.lab-footer {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.54);
  text-align: center;
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  max-width: min(420px, calc(100% - 28px));
  padding: 11px 14px;
  border: 1px solid rgba(215, 166, 74, 0.34);
  border-radius: 8px;
  background: rgba(22, 14, 16, 0.94);
  color: #f6dfb0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, 110px);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.home-return {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 16px 11px 12px;
  border: 1px solid rgba(215, 166, 74, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(216, 58, 50, 0.92), rgba(104, 21, 24, 0.94)),
    rgba(22, 14, 16, 0.88);
  color: #fff8ed;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-return::before {
  content: "血";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 246, 232, 0.14);
  color: #f8e3b0;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
}

.home-return:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 227, 176, 0.8);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

@media (max-width: 920px) {
  .poster-hero,
  .hero,
  .device-stage {
    grid-template-columns: 1fr;
  }

  .poster-hero {
    min-height: auto;
  }

  .poster-copy {
    max-width: none;
  }

  .poster-frame {
    justify-self: center;
    width: min(100%, 430px);
  }

  .poster-frame img {
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - 156px);
    margin: 0 auto;
  }

  .hero {
    min-height: auto;
  }

  .lab-visual {
    min-height: auto;
  }

  .character {
    min-height: 420px;
  }

  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .home-shell {
    width: min(100% - 20px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a {
    flex: 1 1 auto;
  }

  .notice {
    padding-top: 18px;
  }

  .poster-hero {
    gap: 18px;
    padding-bottom: 28px;
  }

  .poster-copy {
    padding: 8px 0 0;
  }

  .poster-frame {
    width: min(100%, calc((100dvh - 132px) * 0.656), 360px);
    padding: 7px;
  }

  .poster-frame img {
    max-height: calc(100dvh - 132px);
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .announcement {
    padding-left: 14px;
  }

  .cta-row a,
  .cta-row button {
    flex: 1 1 160px;
  }

  .join-card {
    align-items: center;
    width: 100%;
    margin-top: 18px;
  }

  .join-card img {
    width: 132px;
    height: 132px;
  }

  .character {
    min-height: 360px;
  }

  .warrior {
    bottom: 12px;
    transform: translateX(-50%) scale(0.82);
  }

  .spear {
    height: 385px;
    top: 34px;
  }

  .device-grid {
    grid-template-columns: 1fr;
  }

  .device-card {
    min-height: 148px;
  }

  .home-return {
    left: 50%;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    min-height: 42px;
    padding: 9px 14px 9px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .home-return:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}
