:root {
  --ink: #070914;
  --night: #101329;
  --panel: #191b35;
  --panel-deep: #11142a;
  --paper: #f3e9d4;
  --text: #f5f2ff;
  --muted: #b8bad0;
  --magenta: #ff4fa3;
  --cyan: #ff9dcc;
  --amber: #ff73b6;
  --violet: #e765bd;
  --coral: #ff85b8;
  --line: #5f6082;
  --wood-warm: #a96c3f;
  --wood-dark: #291813;
  --glass-highlight: rgba(211, 247, 255, 0.34);
  --steel: #74798a;
  --tile-line: rgba(123, 129, 151, 0.18);
  --surface-edge: rgba(180, 184, 211, 0.38);
  --surface-shine: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.28);
  --radius-panel: 8px;
  --ease-shop: cubic-bezier(0.22, 1, 0.36, 1);
  --room-accent: var(--magenta);
  --room-glow: rgba(255, 79, 163, 0.22);
  --header-height: 76px;
  --content-width: 1180px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 18% 13%, var(--room-glow), transparent 32rem),
    radial-gradient(ellipse at 82% 58%, rgba(255, 79, 163, 0.08), transparent 38rem),
    linear-gradient(180deg, #111426 0%, #080a13 70%, #05060c 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    linear-gradient(var(--tile-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tile-line) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 32%, rgba(0, 0, 0, 0.12));
  background-position: 0 0, 0 0, 0 0;
  background-size: 52px 34px, 52px 34px, 100% 100%;
  mask-image: linear-gradient(to bottom, #000 0 78%, transparent 96%);
}

body::after {
  z-index: 80;
  opacity: 0.2;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(5, 6, 14, 0.2) 3px 4px);
  mix-blend-mode: soft-light;
}

.room-bar,
.room-menu,
.room-arcade,
.room-studio,
.room-profile {
  --room-accent: var(--magenta);
  --room-glow: rgba(255, 79, 163, 0.22);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  line-height: 1.75;
}

:focus-visible {
  outline: 3px solid var(--room-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 0.72rem 1rem;
  color: var(--ink);
  background: var(--room-accent);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.ambient-rain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.16;
}

.ambient-rain::before {
  position: absolute;
  inset: -40px;
  background-image: repeating-linear-gradient(105deg, transparent 0 42px, rgba(255, 162, 207, 0.28) 43px 44px, transparent 45px 84px);
  animation: rain-drift 12s linear infinite;
  content: "";
}

.shop-interior {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shop-interior::before {
  position: absolute;
  inset: var(--header-height) 0 auto;
  height: min(54vh, 560px);
  background:
    linear-gradient(90deg, transparent 6%, var(--room-glow) 31%, transparent 48% 65%, rgba(255, 79, 163, 0.06) 88%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 46%);
  content: "";
  filter: blur(1px);
}

.ceiling-rail {
  position: absolute;
  top: calc(var(--header-height) + 28px);
  right: 5vw;
  left: 5vw;
  height: 10px;
  border: 1px solid #8b90a0;
  border-radius: 999px;
  background: linear-gradient(180deg, #9da2af, #343744 50%, #151722 51%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55), 0 13px 28px var(--room-glow);
}

.ceiling-rail::before,
.ceiling-rail::after {
  position: absolute;
  top: 8px;
  width: clamp(64px, 12vw, 160px);
  height: 2px;
  background: var(--room-accent);
  box-shadow: 0 0 9px var(--room-accent), 0 7px 25px var(--room-glow);
  content: "";
}

.ceiling-rail::before { left: 15%; }
.ceiling-rail::after { right: 15%; }

.counter-glow {
  position: absolute;
  right: 0;
  bottom: 7vh;
  left: 0;
  height: 58px;
  border-top: 8px solid var(--wood-warm);
  background:
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(0, 0, 0, 0.15) 90px 92px),
    linear-gradient(180deg, var(--wood-dark), rgba(8, 5, 5, 0.05));
  box-shadow: 0 -6px 18px rgba(255, 166, 88, 0.15), 0 -2px 24px var(--room-glow);
  opacity: 0.7;
  transform: perspective(400px) rotateX(64deg);
  transform-origin: bottom;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(540px, 1.75fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  min-height: var(--header-height);
  padding: 0.68rem max(1rem, calc((100vw - var(--content-width)) / 2));
  border-top: 3px solid color-mix(in srgb, var(--room-accent) 76%, white 8%);
  border-bottom: 4px solid var(--wood-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 24%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.025) 0 32px, transparent 32px 64px),
    linear-gradient(180deg, rgba(25, 26, 43, 0.98), rgba(7, 8, 16, 0.96));
  box-shadow: 0 5px 0 rgba(169, 108, 63, 0.48), 0 16px 34px rgba(0, 0, 0, 0.48), 0 0 25px var(--room-glow), inset 0 1px 0 var(--surface-shine);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--room-accent) 0 44px, transparent 44px 52px);
  box-shadow: 0 0 10px var(--room-accent);
  content: "";
  opacity: 0.46;
}

.brand-sign {
  display: inline-flex;
  gap: 0.72rem;
  align-items: center;
  width: max-content;
  min-height: 46px;
  padding: 0.45rem 0.75rem 0.45rem 0.5rem;
  border: 2px solid color-mix(in srgb, var(--room-accent) 70%, white 10%);
  border-radius: 4px 12px 4px 12px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(25, 27, 53, 0.96), rgba(10, 12, 28, 0.96));
  box-shadow: 0 0 20px var(--room-glow), inset 0 1px 0 var(--surface-shine), inset 0 0 18px rgba(255, 255, 255, 0.035), 4px 4px 0 rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.brand-sign img {
  width: 31px;
  height: 31px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  color: var(--room-accent);
  font-size: 0.96rem;
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px var(--room-accent);
}

.brand-copy small {
  margin-top: 0.34rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.32rem;
}

.site-nav a {
  position: relative;
  display: grid;
  min-height: 46px;
  place-content: center;
  border-right: 1px solid rgba(116, 121, 138, 0.3);
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 20%;
  bottom: -1px;
  left: 20%;
  height: 2px;
  background: var(--room-accent);
  box-shadow: 0 0 10px var(--room-accent);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--room-accent) 48%, transparent);
  color: var(--text);
  background: color-mix(in srgb, var(--room-accent) 9%, transparent);
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cn,
.nav-en {
  display: block;
}

.nav-cn {
  font-size: 0.9rem;
}

.nav-en {
  margin-top: 0.12rem;
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.scene-shell {
  position: relative;
  z-index: 1;
  width: min(var(--content-width), calc(100% - 3rem));
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: 1.65rem 0 5rem;
}

.scene-shell::before {
  position: absolute;
  top: 1.75rem;
  right: 0;
  left: 0;
  z-index: -1;
  height: 190px;
  border-top: 1px solid rgba(95, 96, 130, 0.32);
  border-bottom: 1px solid rgba(95, 96, 130, 0.18);
  background: linear-gradient(180deg, rgba(17, 20, 42, 0.54), rgba(7, 9, 20, 0));
  content: "";
  transform: skewY(-1.5deg);
}

.scene-shell::after {
  position: absolute;
  top: 0;
  right: -1px;
  z-index: -1;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--room-accent), transparent);
  box-shadow: 0 0 18px var(--room-accent);
  content: "";
  opacity: 0.34;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 5vw, 4.25rem);
  min-height: 410px;
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4rem);
  border: 1px solid var(--surface-edge);
  border-top: 8px solid #303441;
  border-bottom: 9px solid var(--wood-dark);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(90deg, rgba(8, 10, 20, 0.96) 0 57%, rgba(13, 16, 30, 0.82)),
    repeating-linear-gradient(0deg, transparent 0 33px, var(--tile-line) 33px 34px),
    repeating-linear-gradient(90deg, transparent 0 51px, var(--tile-line) 51px 52px),
    #0a0c18;
  box-shadow: 0 9px 0 var(--wood-warm), 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 var(--surface-shine), inset 0 0 42px rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.page-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  border-left: 2px solid rgba(116, 121, 138, 0.62);
  background:
    linear-gradient(112deg, transparent 10%, var(--glass-highlight) 10.4%, transparent 11.2% 44%, rgba(255, 255, 255, 0.035) 45%, transparent 47%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(95, 96, 130, 0.11) 24px);
  content: "";
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 5px;
  background: linear-gradient(90deg, var(--wood-warm), #e0a36b 46%, var(--wood-warm));
  box-shadow: 0 -4px 16px rgba(255, 180, 106, 0.18);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  content: "";
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.page-hero h1 .glow {
  color: var(--room-accent);
  text-shadow: 0 0 24px var(--room-glow);
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  position: relative;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--room-accent);
  border-radius: 3px;
  color: var(--ink);
  background: var(--room-accent);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.26), 0 0 18px var(--room-glow), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 180ms ease, filter 180ms ease;
  overflow: hidden;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.34) 49%, transparent 62%);
  content: "";
  pointer-events: none;
  transform: translateX(-145%) skewX(-18deg);
  transition: transform 420ms var(--ease-shop);
}

.button:hover {
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.26), 0 0 24px var(--room-glow);
  transform: translate(3px, 3px);
}

.button:hover::after {
  transform: translateX(145%) skewX(-18deg);
}

.button-secondary {
  color: var(--text);
  background: rgba(7, 9, 20, 0.82);
}

.section {
  padding: 5rem 0 0;
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 260ms ease-out, transform 260ms ease-out;
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(116, 121, 138, 0.62);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-index {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.38rem 0.62rem 0.32rem;
  border: 1px solid rgba(116, 121, 138, 0.72);
  border-left: 4px solid var(--room-accent);
  color: var(--room-accent);
  background: linear-gradient(180deg, rgba(49, 52, 65, 0.9), rgba(14, 16, 25, 0.92));
  box-shadow: 3px 3px 0 var(--wood-dark), 0 0 10px var(--room-glow);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.panel-grid,
.project-grid,
.arcade-grid,
.monitor-grid,
.file-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.panel,
.project-card,
.arcade-cabinet,
.monitor-card,
.file-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 23% 76%, rgba(255, 79, 163, 0.025)),
    linear-gradient(145deg, rgba(27, 29, 48, 0.97), rgba(9, 11, 22, 0.98));
  box-shadow: var(--shadow-soft), 8px 10px 0 rgba(0, 0, 0, 0.16), inset 0 1px 0 var(--surface-shine);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
  overflow: hidden;
}

.panel {
  grid-column: span 6;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.project-card,
.arcade-cabinet,
.monitor-card,
.file-card {
  grid-column: span 6;
}

.project-card::before,
.monitor-card::before,
.file-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--room-accent);
  box-shadow: 0 0 14px var(--room-accent);
  content: "";
}

.project-card {
  border: 1px solid var(--surface-edge);
  border-bottom: 7px solid var(--wood-dark);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.055), transparent 17% 72%, rgba(255, 255, 255, 0.025)),
    linear-gradient(160deg, rgba(49, 39, 39, 0.96), rgba(13, 14, 23, 0.99));
  box-shadow: var(--shadow-soft), 0 5px 0 rgba(169, 108, 63, 0.55), inset 0 1px 0 var(--surface-shine);
}

.project-card:hover,
.arcade-cabinet:hover,
.monitor-card:hover,
.file-card:hover {
  border-color: color-mix(in srgb, var(--room-accent) 58%, var(--surface-edge));
  box-shadow: var(--shadow-soft), 0 0 24px var(--room-glow), inset 0 1px 0 var(--surface-shine);
  transform: translateY(-3px);
}

.project-card::after {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 25px;
  height: 25px;
  border-top: 1px solid var(--glass-highlight);
  border-right: 1px solid var(--glass-highlight);
  content: "";
  opacity: 0.56;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(95, 96, 130, 0.55);
  background: var(--panel-deep);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 240ms ease;
}

.project-card:hover .card-media img,
.monitor-card:hover .card-media img {
  filter: saturate(1.22) contrast(1.06);
  transform: scale(1.025);
}

.card-body {
  padding: 1.35rem;
}

.card-meta,
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-bottom: 0.85rem;
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-body h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.card-body p {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.text-link {
  color: var(--room-accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.arcade-cabinet {
  padding: 1rem;
  border-width: 2px 1px 8px;
  clip-path: polygon(5% 0, 95% 0, 100% 7%, 100% 100%, 0 100%, 0 7%);
  background:
    linear-gradient(120deg, rgba(255, 157, 204, 0.08), transparent 24% 74%, rgba(255, 79, 163, 0.07)),
    linear-gradient(145deg, #232744, #0a0c18);
  box-shadow: 0 6px 0 var(--wood-dark), 8px 12px 0 rgba(0, 0, 0, 0.2), 0 0 16px var(--room-glow);
}

.arcade-cabinet::after {
  position: absolute;
  right: 16px;
  bottom: 15px;
  width: 34px;
  height: 15px;
  border: 4px solid var(--steel);
  border-radius: 50%;
  background: rgba(5, 6, 12, 0.6);
  content: "";
  opacity: 0.78;
}

.arcade-screen {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  border: 12px solid #090b19;
  background:
    radial-gradient(circle, var(--room-glow), transparent 66%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 2px, rgba(0, 0, 0, 0.08) 2px 4px),
    var(--panel-deep);
  box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.65), 0 0 20px var(--room-glow);
  overflow: hidden;
}

.arcade-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arcade-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0.5rem 0.35rem;
}

.arcade-joystick {
  position: relative;
  width: 46px;
  height: 18px;
  border-radius: 50%;
  background: #0a0c1a;
}

.arcade-joystick::before {
  position: absolute;
  bottom: 7px;
  left: 18px;
  width: 10px;
  height: 34px;
  border-radius: 6px;
  background: var(--room-accent);
  box-shadow: 0 0 12px var(--room-accent);
  content: "";
}

.arcade-button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.25), 0 0 10px var(--magenta);
}

.room-arcade .arcade-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1.1rem, 2.4vw, 1.65rem);
}

.room-arcade .arcade-cabinet {
  display: flex;
  grid-column: auto;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem;
  border-width: 1px 1px 8px;
  clip-path: polygon(4% 0, 96% 0, 100% 6%, 100% 100%, 0 100%, 0 6%);
  isolation: isolate;
}

.room-arcade .arcade-cabinet::before {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 4;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(255, 79, 163, 0.72);
  color: #ffe6f3;
  background: rgba(7, 9, 20, 0.82);
  box-shadow: 0 0 14px rgba(255, 79, 163, 0.32);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  content: attr(data-cabinet);
}

.room-arcade .arcade-cabinet::after {
  top: 2.25rem;
  right: 2rem;
  bottom: auto;
  z-index: 4;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--room-accent);
  box-shadow: 0 0 6px var(--room-accent), 0 0 18px var(--room-accent);
  opacity: 1;
}

.room-arcade .arcade-cabinet > .arcade-screen {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  flex: none;
  aspect-ratio: 16 / 9;
  border: 11px solid #080a16;
  border-radius: 3px;
  background: #090b18;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 157, 204, 0.22), 0 0 20px rgba(255, 79, 163, 0.18);
  overflow: hidden;
}

.room-arcade .arcade-cabinet > .arcade-screen::before,
.room-arcade .arcade-cabinet > .arcade-screen::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.room-arcade .arcade-cabinet > .arcade-screen::before {
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(9, 10, 22, 0.2) 3px 4px);
  opacity: 0.44;
}

.room-arcade .arcade-cabinet > .arcade-screen::after {
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.12), transparent 22% 72%, rgba(255, 79, 163, 0.08));
  mix-blend-mode: screen;
}

.room-arcade .arcade-screen img {
  filter: saturate(1.06) contrast(1.04);
  transition: filter 180ms ease, transform 260ms var(--ease-shop);
}

.room-arcade .arcade-cabinet:hover .arcade-screen img,
.room-arcade .arcade-cabinet:focus-within .arcade-screen img {
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.025);
}

.room-arcade .arcade-cabinet:focus-within {
  border-color: color-mix(in srgb, var(--room-accent) 72%, white 12%);
  box-shadow: var(--shadow-soft), 0 0 28px var(--room-glow), inset 0 1px 0 var(--surface-shine);
}

.room-arcade .arcade-cabinet > .arcade-controls {
  position: relative;
  inset: auto;
  display: flex;
  width: auto;
  height: 58px;
  flex: none;
  align-items: center;
  padding: 1.2rem 0.7rem 0.55rem;
  transform: none;
  border: 0;
  border-bottom: 1px solid rgba(116, 121, 138, 0.38);
  background: linear-gradient(180deg, #242741, #121426);
}

.room-arcade .arcade-cabinet .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem 1rem 0.9rem;
}

.room-arcade .arcade-cabinet .status-line {
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(95, 96, 130, 0.35);
}

.room-arcade .arcade-cabinet .card-body h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.room-arcade .arcade-cabinet .card-body p {
  max-width: 38rem;
  margin-bottom: 1rem;
}

.room-arcade .arcade-cabinet .hero-actions {
  margin-top: auto;
  padding-top: 0.3rem;
}

.monitor-card {
  padding: 0.8rem;
  border-width: 8px 8px 16px;
  border-color: #111329;
  background:
    linear-gradient(112deg, transparent 13%, rgba(205, 244, 255, 0.07) 14%, transparent 15% 58%, rgba(205, 244, 255, 0.035) 59%, transparent 60%),
    #060811;
  box-shadow: 0 0 0 1px rgba(116, 121, 138, 0.78), 0 7px 0 var(--wood-dark), 10px 14px 0 rgba(0, 0, 0, 0.2), 0 0 18px var(--room-glow);
}

.monitor-card::after {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  content: "";
}

.monitor-card .card-body {
  border: 1px solid rgba(95, 96, 130, 0.45);
  background: linear-gradient(180deg, rgba(21, 24, 50, 0.97), rgba(8, 10, 23, 0.98));
}

.file-card {
  padding: 1.65rem 1.5rem 1.5rem;
  border: 1px solid rgba(237, 217, 187, 0.46);
  border-radius: 3px;
  background:
    radial-gradient(circle at 0 16px, var(--ink) 0 7px, transparent 8px),
    radial-gradient(circle at 100% 16px, var(--ink) 0 7px, transparent 8px),
    linear-gradient(90deg, transparent 0 24px, rgba(255, 133, 184, 0.2) 24px 25px, transparent 25px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(116, 121, 138, 0.2) 31px 32px),
    linear-gradient(150deg, rgba(48, 43, 48, 0.98), rgba(18, 19, 28, 0.98));
  box-shadow: 0 5px 0 rgba(169, 108, 63, 0.42), 8px 11px 0 rgba(0, 0, 0, 0.17);
}

.file-card::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 54px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(231, 214, 185, 0.22);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.file-card h3 {
  padding-left: 1.3rem;
}

.file-card p,
.file-card ul {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li,
.tag {
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(95, 96, 130, 0.72);
  color: var(--muted);
  background: rgba(7, 9, 20, 0.72);
  font-size: 0.72rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  width: min(var(--content-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(95, 96, 130, 0.52);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--room-accent);
}

.room-bar .page-hero {
  min-height: 520px;
}

.room-bar .page-hero .hero-copy {
  width: 55%;
}

.home-bar-counter {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 43%;
  border-left: 1px solid rgba(255, 157, 204, 0.28);
  background:
    linear-gradient(112deg, transparent 14%, rgba(205, 244, 255, 0.06) 15%, transparent 16% 52%, rgba(205, 244, 255, 0.025) 53%, transparent 54%),
    linear-gradient(180deg, rgba(18, 20, 43, 0.35), rgba(16, 20, 40, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 157, 204, 0.045) 44px 45px),
    #0a0c1d;
  box-shadow: inset 24px 0 50px rgba(0, 0, 0, 0.4), inset 0 0 0 5px rgba(116, 121, 138, 0.16);
  overflow: hidden;
}

.home-bar-counter::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 157, 204, 0.12) 4px 5px);
  content: "";
}

.home-bar-open {
  position: absolute;
  top: 42px;
  left: 50%;
  padding: 0.5rem 1rem;
  border: 2px solid var(--magenta);
  color: var(--magenta);
  font: 800 0.78rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px currentColor;
  box-shadow: 0 0 20px rgba(255, 79, 163, 0.24), inset 0 0 15px rgba(255, 79, 163, 0.1);
  transform: translateX(-50%);
}

.home-bar-duty {
  position: absolute;
  top: 30px;
  left: 18px;
  display: grid;
  gap: 0.25rem;
  min-width: 82px;
  padding: 0.65rem;
  border: 4px solid #5d4037;
  color: #fff;
  background: #22242d;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.home-bar-duty::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 42px;
  height: 18px;
  border-right: 2px solid #987458;
  border-left: 2px solid #987458;
  content: "";
  transform: translateX(-50%);
}

.home-bar-duty strong {
  font-size: 0.9rem;
}

.home-bar-duty small {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.4;
}

.home-bar-speech {
  position: absolute;
  top: 118px;
  right: 18px;
  z-index: 5;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 157, 204, 0.6);
  color: var(--cyan);
  background: rgba(7, 9, 20, 0.9);
  font-size: 0.72rem;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.24);
}

.home-bar-speech::after {
  position: absolute;
  bottom: -8px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(255, 157, 204, 0.6);
  border-bottom: 1px solid rgba(255, 157, 204, 0.6);
  background: #090b19;
  content: "";
  transform: rotate(45deg);
}

.home-bar-lights {
  position: absolute;
  top: 20px;
  right: 18px;
  display: flex;
  gap: 0.55rem;
}

.home-bar-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px currentColor;
  animation: bar-light 2s ease-in-out infinite alternate;
}

.home-bar-lights i:nth-child(even) {
  color: var(--magenta);
  background: var(--magenta);
  animation-delay: 500ms;
}

.home-bar-robot {
  position: absolute;
  bottom: 52px;
  left: 43%;
  z-index: 4;
  width: 130px;
  height: 180px;
  animation: bar-robot-float 3s ease-in-out infinite;
  transform: translateX(-50%);
}

.home-bar-robot i {
  position: absolute;
  display: block;
}

.home-bar-robot-antenna {
  top: 0;
  left: 50%;
  width: 4px;
  height: 24px;
  background: #858897;
  transform: translateX(-50%);
}

.home-bar-robot-antenna::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(255, 157, 204, 0.7);
  content: "";
  transform: translateX(-50%);
}

.home-bar-robot-head {
  top: 24px;
  left: 50%;
  width: 88px;
  height: 76px;
  border: 3px solid #858897;
  border-radius: 16px 16px 22px 22px;
  background: linear-gradient(180deg, #ededf0, #aeb0bb);
  box-shadow: inset 0 6px 14px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.home-bar-robot-head::before,
.home-bar-robot-head::after {
  position: absolute;
  top: 22px;
  width: 8px;
  height: 22px;
  border-radius: 3px;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  content: "";
}

.home-bar-robot-head::before { left: -12px; }
.home-bar-robot-head::after { right: -12px; }

.home-bar-robot-face {
  inset: 15px 8px;
  place-content: center;
  border: 2px solid #323546;
  border-radius: 9px;
  color: var(--cyan);
  background: #16182d;
  font: 700 0.88rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-shadow: 0 0 10px currentColor;
  animation: robot-blink 5.7s steps(1, end) -1.1s infinite;
}

.home-bar-robot-body {
  top: 105px;
  left: 50%;
  width: 78px;
  height: 62px;
  border: 3px solid #777a88;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(180deg, #d7d8de, #989ba8);
  transform: translateX(-50%);
}

.home-bar-robot-body::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--amber));
  content: "";
  transform: translateX(-50%);
}

.home-bar-robot-apron {
  top: 115px;
  left: 50%;
  width: 56px;
  height: 43px;
  border: 2px solid #d9d9df;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #f3f1f4;
  transform: translateX(-50%);
}

.home-bar-robot-apron::before {
  position: absolute;
  top: 7px;
  left: 50%;
  color: var(--magenta);
  content: "♥";
  transform: translateX(-50%);
}

.home-bar-cups {
  position: absolute;
  right: 24px;
  bottom: 70px;
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.home-bar-cups i {
  position: relative;
  display: block;
  width: 21px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-top: 0;
  background: linear-gradient(0deg, var(--magenta) 0 46%, transparent 46%);
  transform: skew(-4deg);
}

.home-bar-cups i::before {
  position: absolute;
  bottom: 7px;
  left: 7px;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  content: "";
  animation: liquid-bubble 2.4s ease-in infinite;
}

.home-bar-cups i:nth-child(2)::before { animation-delay: 750ms; }
.home-bar-cups i:nth-child(3)::before { animation-delay: 1.35s; }

.home-bar-cups i:nth-child(2) {
  height: 38px;
  background: linear-gradient(0deg, var(--cyan) 0 58%, transparent 58%);
}

.home-bar-cups i:nth-child(3) {
  background: linear-gradient(0deg, var(--amber) 0 38%, transparent 38%);
}

.home-bar-top {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 72px;
  border-top: 7px solid var(--wood-warm);
  background:
    linear-gradient(180deg, rgba(255, 214, 169, 0.09), transparent 14%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(0, 0, 0, 0.13) 58px 60px),
    linear-gradient(var(--wood-warm), var(--wood-dark));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.34), 0 -3px 14px rgba(255, 170, 91, 0.14);
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-qr-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--surface-edge);
  border-bottom: 6px solid var(--wood-dark);
  border-radius: var(--radius-panel);
  color: var(--text);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.06), transparent 18% 74%, rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(41, 39, 48, 0.97), rgba(11, 12, 20, 0.98));
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-soft), 0 4px 0 rgba(169, 108, 63, 0.5), inset 0 1px 0 var(--surface-shine);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.contact-qr-card:hover {
  border-color: var(--room-accent);
  box-shadow: var(--shadow-soft), 0 0 24px var(--room-glow), inset 0 1px 0 var(--surface-shine);
  transform: translateY(-4px);
}

.contact-qr-card::after {
  position: absolute;
  right: 28%;
  bottom: -14px;
  left: 28%;
  height: 7px;
  border-radius: 0 0 50% 50%;
  background: var(--wood-dark);
  content: "";
}

.contact-qr-card span {
  color: var(--room-accent);
  font: 700 0.72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.1em;
}

.contact-qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #eeeef2;
}

@keyframes bar-robot-float {
  50% { transform: translate(-50%, -9px); }
}

@keyframes bar-light {
  to { opacity: 0.35; transform: scale(0.75); }
}

@keyframes neon-breathe {
  50% { opacity: 0.68; }
}

@keyframes robot-blink {
  0%, 42%, 44%, 47%, 100% { opacity: 1; }
  43%, 46% { opacity: 0.28; }
}

@keyframes liquid-bubble {
  0% { opacity: 0; transform: translateY(5px) scale(0.55); }
  32% { opacity: 0.86; }
  100% { opacity: 0; transform: translateY(-13px) scale(1); }
}

.menu-display {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: clamp(220px, 25vw, 290px);
  height: 290px;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.46));
}

.menu-display::before,
.menu-display::after {
  position: absolute;
  bottom: 17px;
  width: 24px;
  height: 34px;
  border: 2px solid var(--glass-highlight);
  border-top: 0;
  background: linear-gradient(0deg, var(--cyan) 0 46%, transparent 47%);
  box-shadow: inset 5px 0 8px rgba(255, 255, 255, 0.09), 0 0 10px rgba(255, 157, 204, 0.25);
  content: "";
  transform: skew(-5deg);
}

.menu-display::before { left: 18px; }
.menu-display::after {
  right: 18px;
  height: 41px;
  background: linear-gradient(0deg, var(--magenta) 0 58%, transparent 59%);
}

.menu-display-board {
  position: absolute;
  inset: 38px 14px 55px;
  border: 7px solid var(--wood-dark);
  outline: 2px solid var(--steel);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 115, 182, 0.15), transparent 36%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 115, 182, 0.12) 31px 32px),
    linear-gradient(145deg, #171a21, #090b12);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.76), 0 0 18px rgba(255, 115, 182, 0.16);
}

.menu-display-board::before {
  position: absolute;
  top: 25px;
  right: 20px;
  bottom: 24px;
  left: 20px;
  background:
    radial-gradient(circle at 92% 12%, var(--magenta) 0 5px, transparent 6px),
    radial-gradient(circle at 92% 48%, var(--cyan) 0 5px, transparent 6px),
    radial-gradient(circle at 92% 83%, var(--amber) 0 5px, transparent 6px);
  content: "";
}

.menu-display-sign {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  padding: 0.52rem 1.15rem;
  border: 2px solid var(--amber);
  border-radius: 4px;
  color: var(--amber);
  background: #0a0b10;
  box-shadow: inset 0 0 16px rgba(255, 115, 182, 0.11), 0 0 19px rgba(255, 115, 182, 0.32);
  font: 900 0.84rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.24em;
  text-shadow: 0 0 10px currentColor;
  animation: neon-breathe 3.2s ease-in-out infinite;
  transform: translateX(-50%);
}

.menu-display-line {
  position: absolute;
  top: 103px;
  left: 53px;
  z-index: 2;
  width: 58%;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), rgba(255, 115, 182, 0.12));
  box-shadow: 0 33px 0 color-mix(in srgb, var(--cyan) 55%, transparent), 0 66px 0 color-mix(in srgb, var(--magenta) 55%, transparent);
}

.menu-display-line-short {
  top: 117px;
  width: 38%;
  opacity: 0.55;
  box-shadow: 0 33px 0 currentColor, 0 66px 0 currentColor;
}

.menu-display-stand {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 86%;
  height: 13px;
  border-top: 4px solid var(--wood-warm);
  background: var(--wood-dark);
  box-shadow: 0 -4px 13px rgba(255, 167, 90, 0.18);
  transform: translateX(-50%);
}

.arcade-display {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: clamp(190px, 22vw, 245px);
  height: 300px;
  border: 3px solid #11131e;
  background: linear-gradient(120deg, #2d3150, #121525 58%, #252942);
  box-shadow: inset 10px 0 0 rgba(255, 255, 255, 0.025), 0 17px 0 #07080f, 0 22px 25px rgba(0, 0, 0, 0.55), 0 0 23px var(--room-glow);
  clip-path: polygon(10% 0, 90% 0, 100% 9%, 96% 100%, 4% 100%, 0 9%);
}

.arcade-display::after {
  position: absolute;
  right: 16px;
  bottom: 59px;
  width: 31px;
  height: 13px;
  border: 4px solid var(--steel);
  border-radius: 50%;
  content: "";
  transform: rotate(-10deg);
}

.arcade-display-marquee {
  position: absolute;
  top: 14px;
  right: 19px;
  left: 19px;
  height: 39px;
  border: 2px solid var(--cyan);
  background:
    linear-gradient(135deg, transparent 14%, rgba(255, 157, 204, 0.18) 15% 22%, transparent 23% 45%, rgba(255, 79, 163, 0.2) 46% 54%, transparent 55%),
    #0a0d18;
  box-shadow: inset 0 0 17px var(--room-glow), 0 0 13px var(--room-glow);
  animation: neon-breathe 2.8s ease-in-out infinite;
}

.arcade-display-screen {
  position: absolute;
  top: 65px;
  right: 25px;
  left: 25px;
  height: 112px;
  border: 9px solid #080a12;
  border-radius: 9px 9px 15px 15px;
  background:
    radial-gradient(circle at 58% 42%, rgba(255, 157, 204, 0.28), transparent 27%),
    linear-gradient(135deg, transparent 44%, var(--cyan) 45% 48%, transparent 49%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 4px),
    #0b1020;
  box-shadow: inset 0 0 27px #000, 0 0 13px rgba(255, 157, 204, 0.24);
}

.arcade-display-stick {
  position: absolute;
  bottom: 73px;
  left: 49px;
  width: 9px;
  height: 38px;
  border-radius: 999px;
  background: var(--steel);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.16);
  transform: rotate(-8deg);
  transform-origin: bottom;
}

.arcade-display-stick::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: inset -4px -5px 0 rgba(0, 0, 0, 0.22), 0 0 12px var(--magenta);
  content: "";
  transform: translateX(-50%);
}

.arcade-display-button {
  position: absolute;
  right: 49px;
  bottom: 82px;
  width: 22px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 25px 6px 0 var(--cyan), 0 0 9px var(--amber);
  transform: rotate(-6deg);
}

.arcade-display-base {
  position: absolute;
  right: 11px;
  bottom: 11px;
  left: 11px;
  height: 42px;
  border-top: 3px solid var(--cyan);
  background: linear-gradient(90deg, #121522, #090b13 48%, #1d2032);
  box-shadow: inset 0 9px 12px rgba(0, 0, 0, 0.45);
}

.studio-display {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: clamp(240px, 29vw, 320px);
  height: 270px;
  padding: 18px;
  border: 2px solid var(--steel);
  border-bottom: 15px solid var(--wood-dark);
  background: linear-gradient(150deg, rgba(42, 44, 70, 0.96), rgba(8, 10, 19, 0.98));
  box-shadow: inset 0 0 28px #05060c, 0 14px 0 rgba(169, 108, 63, 0.5), 0 21px 24px rgba(0, 0, 0, 0.48);
  transform: perspective(600px) rotateY(-3deg);
}

.studio-display::before {
  position: absolute;
  top: -18px;
  right: 32px;
  left: 32px;
  height: 17px;
  border: 1px solid var(--steel);
  background: repeating-linear-gradient(90deg, #303342 0 16px, #171923 16px 20px);
  content: "";
}

.studio-display-monitor {
  position: absolute;
  top: 26px;
  left: 24px;
  display: grid;
  width: 64%;
  height: 126px;
  place-content: center;
  border: 8px solid #090b13;
  color: var(--magenta);
  background:
    radial-gradient(circle, rgba(231, 101, 189, 0.25), transparent 56%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.035) 3px 4px),
    #101329;
  box-shadow: 0 0 0 1px var(--steel), inset 0 0 20px #000, 0 0 13px rgba(231, 101, 189, 0.25);
  font: 900 1.1rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.18em;
  text-shadow: 0 0 11px currentColor;
}

.studio-display-monitor::before {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  content: "";
  animation: neon-breathe 1.6s steps(2, end) infinite;
}

.studio-display-timeline {
  position: absolute;
  right: 24px;
  bottom: 29px;
  left: 24px;
  height: 63px;
  border: 1px solid rgba(231, 101, 189, 0.55);
  background:
    linear-gradient(90deg, var(--violet) 0 17%, transparent 17% 20%, var(--cyan) 20% 47%, transparent 47% 50%, var(--magenta) 50% 73%, transparent 73%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(231, 101, 189, 0.15) 14px 15px),
    #090b15;
  background-position: 0 12px, 0 0, 0 0;
  background-size: 100% 9px, 100% 100%, 100% 100%;
  background-repeat: no-repeat, repeat, no-repeat;
}

.studio-display-signal {
  position: absolute;
  top: 38px;
  right: 30px;
  width: 37px;
  height: 49px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 4px, transparent 4px 8px);
  clip-path: polygon(0 75%, 18% 50%, 38% 66%, 57% 18%, 78% 42%, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 5px var(--cyan));
}

.studio-display-meter {
  position: absolute;
  top: 101px;
  right: 31px;
  width: 34px;
  height: 51px;
  border: 1px solid var(--steel);
  background: linear-gradient(0deg, var(--amber) 0 65%, rgba(255, 115, 182, 0.08) 66%);
  box-shadow: inset 0 0 8px #000, 0 0 8px rgba(255, 115, 182, 0.2);
}

.studio-display-rack {
  position: absolute;
  top: 168px;
  left: 41px;
  width: 52px;
  height: 12px;
  border: 1px solid var(--steel);
  background: repeating-linear-gradient(90deg, var(--violet) 0 5px, #11131d 5px 11px);
  box-shadow: 0 0 8px var(--room-glow);
}

.owner-display {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: clamp(260px, 26vw, 330px);
  height: clamp(310px, 31vw, 366px);
  margin: 0;
  border: 1px solid rgba(255, 79, 163, 0.82);
  border-radius: 4px 18px 4px 18px;
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.2), transparent 38%),
    #060712;
  box-shadow:
    0 9px 0 var(--wood-dark),
    0 22px 38px rgba(0, 0, 0, 0.46),
    0 0 0 7px rgba(5, 7, 18, 0.82),
    0 0 24px rgba(255, 79, 163, 0.36),
    inset 0 0 30px rgba(255, 79, 163, 0.12);
  isolation: isolate;
  overflow: hidden;
  transform: perspective(850px) rotateY(-4deg) rotateZ(0.8deg);
}

.owner-display::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.14;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.13) 47%, transparent 52%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(8, 10, 24, 0.16) 3px 4px);
  content: "";
  mix-blend-mode: multiply;
}

.owner-display::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 76px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 7, 18, 0.9));
  content: "";
}

.owner-portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  animation: owner-portrait-float 5.6s ease-in-out infinite;
  transform: scale(1.018);
  transform-origin: center bottom;
}

.owner-portrait-status {
  position: absolute;
  right: 14px;
  bottom: 13px;
  z-index: 4;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(255, 79, 163, 0.8);
  color: #fff;
  background: rgba(7, 9, 20, 0.88);
  box-shadow: 0 0 14px rgba(255, 79, 163, 0.28);
  font: 800 0.58rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

.owner-portrait-status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
  content: "";
  vertical-align: 0.08em;
}

.owner-portrait-corners {
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(var(--magenta), var(--magenta)) 0 0 / 28px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 0 0 / 2px 28px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 100% 0 / 28px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 100% 0 / 2px 28px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 0 100% / 28px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 0 100% / 2px 28px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 100% 100% / 28px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) 100% 100% / 2px 28px no-repeat;
  opacity: 0.82;
}

@keyframes owner-portrait-float {
  0%,
  100% { transform: translateY(0) scale(1.018); }
  50% { transform: translateY(-4px) scale(1.025); }
}

.project-visual {
  isolation: isolate;
  color: #f8f5ff;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 22% 72%, rgba(72, 240, 226, 0.06)),
    radial-gradient(circle at 78% 48%, rgba(255, 46, 147, 0.2), transparent 38%),
    #070815;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Microsoft YaHei", sans-serif;
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.project-visual::before {
  inset: 12px;
  border: 1px solid rgba(255, 79, 163, 0.58);
  clip-path: polygon(0 0, 28% 0, 30% 4px, 72% 4px, 74% 0, 100% 0, 100% 100%, 82% 100%, 80% calc(100% - 4px), 18% calc(100% - 4px), 16% 100%, 0 100%);
}

.project-visual::after {
  right: 12px;
  bottom: 12px;
  left: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan) 58%, transparent);
  box-shadow: 0 0 10px rgba(72, 240, 226, 0.34);
}

.project-visual-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(102, 108, 146, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 108, 146, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.65;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.project-visual-code,
.project-visual > strong,
.project-visual > small {
  position: absolute;
  left: clamp(1.55rem, 5vw, 2.1rem);
  z-index: 3;
}

.project-visual-code {
  top: clamp(1.45rem, 4vw, 1.85rem);
  padding: 0.34rem 0.52rem;
  border-left: 3px solid var(--magenta);
  color: #ff8bc3;
  background: rgba(5, 6, 17, 0.78);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-visual > strong {
  top: 43%;
  max-width: 54%;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-shadow: 3px 3px 0 rgba(255, 46, 147, 0.28);
}

.project-visual > small {
  bottom: clamp(1.35rem, 4vw, 1.8rem);
  color: #aeb5d2;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.project-visual-device {
  position: absolute;
  right: 7%;
  bottom: 17%;
  z-index: 2;
  width: 34%;
  height: 52%;
}

.project-visual-device i {
  position: absolute;
  display: block;
}

.project-visual-animeflow {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.075), transparent 24% 68%, rgba(72, 240, 226, 0.05)),
    radial-gradient(circle at 78% 48%, rgba(255, 46, 147, 0.3), transparent 38%),
    #080815;
}

.project-visual-animeflow .project-visual-device {
  border: 1px solid rgba(255, 79, 163, 0.78);
  background: rgba(12, 10, 30, 0.82);
  box-shadow: 8px 8px 0 rgba(255, 46, 147, 0.12), inset 0 0 0 5px rgba(255, 255, 255, 0.025);
}

.project-visual-animeflow .project-visual-device::before {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 12%;
  height: 2px;
  background: var(--cyan);
  content: "";
  box-shadow: 0 0 9px rgba(72, 240, 226, 0.45);
}

.project-visual-animeflow .project-visual-device i {
  top: calc(50% - 5px);
  width: 11px;
  height: 11px;
  border: 2px solid #07101a;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 1px var(--cyan);
}

.project-visual-animeflow .project-visual-device i:nth-child(1) { left: 16%; }
.project-visual-animeflow .project-visual-device i:nth-child(2) { left: 48%; }
.project-visual-animeflow .project-visual-device i:nth-child(3) { right: 14%; }

.project-visual-video {
  background:
    linear-gradient(120deg, rgba(255, 46, 147, 0.17), transparent 38%),
    radial-gradient(circle at 82% 45%, rgba(72, 240, 226, 0.17), transparent 34%),
    #070917;
}

.project-visual-video .project-visual-device {
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(72, 240, 226, 0.12), rgba(255, 46, 147, 0.12));
  box-shadow: 0 0 0 5px rgba(5, 6, 17, 0.82), 0 0 0 6px rgba(255, 79, 163, 0.6);
}

.project-visual-video .project-visual-device::before {
  position: absolute;
  inset: 30% 34%;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 7px rgba(255, 46, 147, 0.55);
}

.project-visual-video .project-visual-device i {
  width: 18px;
  height: 2px;
  background: #fff;
}

.project-visual-video .project-visual-device i:nth-child(1) { top: 12%; left: 10%; }
.project-visual-video .project-visual-device i:nth-child(2) { top: 12%; right: 10%; }
.project-visual-video .project-visual-device i:nth-child(3) { right: 10%; bottom: 12%; background: var(--magenta); }

.project-visual-agent {
  background:
    linear-gradient(115deg, rgba(72, 240, 226, 0.1), transparent 35%),
    radial-gradient(circle at 78% 52%, rgba(255, 46, 147, 0.26), transparent 38%),
    #070815;
}

.project-visual-agent .project-visual-device {
  border: 1px solid rgba(72, 240, 226, 0.75);
  background: rgba(4, 9, 18, 0.88);
  box-shadow: 7px 7px 0 rgba(72, 240, 226, 0.1);
}

.project-visual-agent .project-visual-device::before {
  position: absolute;
  top: 14%;
  right: 12%;
  left: 12%;
  height: 5px;
  background: linear-gradient(90deg, var(--magenta) 0 28%, transparent 28% 34%, var(--cyan) 34% 73%, transparent 73%);
  content: "";
}

.project-visual-agent .project-visual-device i {
  left: 12%;
  height: 7px;
  border-left: 3px solid var(--magenta);
  background: rgba(174, 181, 210, 0.42);
}

.project-visual-agent .project-visual-device i:nth-child(1) { top: 38%; width: 68%; }
.project-visual-agent .project-visual-device i:nth-child(2) { top: 57%; width: 48%; }
.project-visual-agent .project-visual-device i:nth-child(3) { top: 76%; width: 58%; border-color: var(--cyan); }

.project-visual-bazi {
  background:
    linear-gradient(120deg, rgba(255, 46, 147, 0.15), transparent 37%),
    radial-gradient(circle at 78% 50%, rgba(72, 240, 226, 0.2), transparent 36%),
    #070815;
}

.project-visual-bazi .project-visual-device {
  right: 9%;
  bottom: 13%;
  width: 30%;
  aspect-ratio: 1;
  height: auto;
  border: 1px solid rgba(72, 240, 226, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.48) 0 8%, transparent 9% 29%, rgba(255, 79, 163, 0.22) 30% 32%, transparent 33%);
  box-shadow: inset 0 0 0 12px rgba(72, 240, 226, 0.04), 0 0 0 6px rgba(255, 46, 147, 0.08);
}

.project-visual-bazi .project-visual-device::before,
.project-visual-bazi .project-visual-device::after {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 79, 163, 0.72);
  content: "";
  transform: rotate(45deg);
}

.project-visual-bazi .project-visual-device::after {
  inset: 29%;
  border-color: rgba(72, 240, 226, 0.74);
}

.project-visual-bazi .project-visual-device i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px currentColor;
}

.project-visual-bazi .project-visual-device i:nth-child(1) { top: 6%; left: 48%; }
.project-visual-bazi .project-visual-device i:nth-child(2) { right: 7%; bottom: 28%; color: var(--cyan); background: var(--cyan); }
.project-visual-bazi .project-visual-device i:nth-child(3) { bottom: 16%; left: 14%; }

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.15rem 0;
}

.project-facts div {
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid rgba(95, 96, 130, 0.42);
  background: rgba(7, 9, 20, 0.5);
}

.project-facts dt {
  margin-bottom: 0.25rem;
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.route-panel {
  display: grid;
  min-height: 150px;
  align-content: end;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.route-panel span {
  margin-bottom: 0.8rem;
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.route-panel strong {
  font-size: 1.15rem;
}

.route-panel:hover {
  border-color: var(--room-accent);
  transform: translateY(-3px);
}

.room-studio .studio-console {
  position: relative;
  padding: clamp(1.3rem, 3.4vw, 2.4rem);
  border: 1px solid rgba(255, 79, 163, 0.48);
  border-top: 5px solid #35384b;
  border-bottom: 9px solid var(--wood-dark);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.09), transparent 28%),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255, 255, 255, 0.025) 59px 60px),
    linear-gradient(180deg, rgba(20, 22, 45, 0.97), rgba(6, 8, 19, 0.98));
  box-shadow: inset 0 1px 0 var(--surface-shine), inset 0 0 40px rgba(0, 0, 0, 0.42), 0 20px 46px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 79, 163, 0.1);
  overflow: hidden;
}

.room-studio .studio-console::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24%;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 157, 204, 0.08), transparent);
  content: "";
  animation: studio-console-scan 6s ease-in-out infinite;
}

.room-studio .studio-console-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 1.5rem;
  align-items: end;
}

.room-studio .studio-console-head h2,
.room-studio .studio-collab-copy h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.room-studio .studio-console-head p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.room-studio .studio-console-status {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  width: max-content;
  margin-top: 1.4rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(95, 96, 130, 0.45);
  color: var(--muted);
  background: rgba(5, 7, 16, 0.72);
  font: 700 0.58rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

.room-studio .studio-console-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.room-studio .studio-pipeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 1.35rem 0 0;
  padding: 0;
  border: 1px solid rgba(255, 157, 204, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%),
    rgba(4, 6, 15, 0.78);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.58);
  list-style: none;
  overflow: hidden;
}

.room-studio .studio-pipeline::before {
  position: absolute;
  top: 49px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--magenta));
  box-shadow: 0 0 11px var(--magenta);
  content: "";
  opacity: 0.72;
}

.room-studio .studio-pipeline li {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 112px;
  place-content: center;
  justify-items: center;
  border-right: 1px solid rgba(95, 96, 130, 0.36);
}

.room-studio .studio-pipeline li:last-child {
  border-right: 0;
}

.room-studio .studio-pipeline span {
  display: grid;
  width: 35px;
  height: 35px;
  place-content: center;
  border: 1px solid var(--magenta);
  border-radius: 50%;
  color: var(--text);
  background: #090b18;
  box-shadow: inset 0 0 12px rgba(255, 79, 163, 0.25), 0 0 12px rgba(255, 79, 163, 0.34);
  font: 800 0.62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.room-studio .studio-pipeline strong {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.room-studio .studio-output-heading {
  margin-bottom: 1.25rem;
}

.room-studio .studio-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.room-studio .studio-output-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 390px;
  border: 1px solid rgba(255, 79, 163, 0.42);
  border-top: 4px solid #323649;
  border-bottom: 10px solid var(--wood-dark);
  border-radius: 6px 6px 10px 10px;
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.08), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.018) 5px 6px),
    linear-gradient(180deg, #15172f, #070916);
  box-shadow: inset 0 1px 0 var(--surface-shine), inset 0 0 32px rgba(0, 0, 0, 0.46), 0 18px 36px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms var(--ease-shop), box-shadow 180ms ease;
}

.room-studio .studio-output-card:hover {
  border-color: rgba(255, 79, 163, 0.82);
  box-shadow: inset 0 1px 0 var(--surface-shine), inset 0 0 32px rgba(0, 0, 0, 0.46), 0 20px 42px rgba(0, 0, 0, 0.36), 0 0 24px rgba(255, 79, 163, 0.14);
  transform: translateY(-3px);
}

.room-studio .studio-device-bar {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(95, 96, 130, 0.48);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(45, 48, 70, 0.92), rgba(17, 19, 33, 0.92));
  font: 800 0.62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

.room-studio .studio-device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 11px var(--cyan);
  animation: studio-status-pulse 2s ease-in-out infinite;
}

.room-studio .studio-channel-card {
  grid-template-columns: minmax(0, 1fr) minmax(145px, 0.58fr);
  grid-template-rows: auto 1fr;
}

.room-studio .studio-channel-copy,
.room-studio .studio-lab-copy {
  align-self: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.room-studio .studio-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--magenta);
  font: 800 0.62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.16em;
}

.room-studio .studio-output-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

.room-studio .studio-output-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.room-studio .studio-qr {
  display: grid;
  align-self: center;
  width: min(100%, 168px);
  margin: 1.2rem 1.25rem 1.2rem 0;
  padding: 0.55rem;
  place-self: center;
  border: 1px solid var(--cyan);
  background: #f4f1f5;
  box-shadow: 0 0 0 6px #090b18, 0 0 20px rgba(255, 157, 204, 0.2);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.room-studio .studio-qr:hover {
  box-shadow: 0 0 0 6px #090b18, 0 0 28px rgba(255, 157, 204, 0.38);
  transform: scale(1.025);
}

.room-studio .studio-qr img {
  width: 100%;
  height: auto;
}

.room-studio .studio-lab-card {
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}

.room-studio .studio-af-display {
  display: grid;
  align-self: stretch;
  min-height: 250px;
  place-content: center;
  border-right: 1px solid rgba(255, 79, 163, 0.36);
  color: var(--magenta);
  background:
    radial-gradient(circle, rgba(255, 79, 163, 0.22), transparent 54%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.026) 4px 5px),
    #080a17;
  text-align: center;
}

.room-studio .studio-af-display strong {
  font: 900 clamp(3rem, 7vw, 5.4rem)/0.9 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: -0.08em;
  text-shadow: 0 0 28px rgba(255, 79, 163, 0.72);
}

.room-studio .studio-af-display span {
  margin-top: 0.7rem;
  color: var(--cyan);
  font: 800 0.56rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.18em;
}

.room-studio .studio-facts {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0;
}

.room-studio .studio-facts div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 0.65rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(95, 96, 130, 0.34);
}

.room-studio .studio-facts dt {
  color: var(--magenta);
  font: 700 0.64rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.room-studio .studio-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.room-studio .studio-collab-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.6fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 79, 163, 0.48);
  border-left: 5px solid var(--magenta);
  border-bottom: 8px solid var(--wood-dark);
  background:
    linear-gradient(90deg, rgba(255, 79, 163, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(23, 25, 48, 0.96), rgba(7, 9, 20, 0.98));
  box-shadow: inset 0 1px 0 var(--surface-shine), 0 18px 36px rgba(0, 0, 0, 0.3);
}

.room-studio .studio-collab-console h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.12;
  white-space: nowrap;
}

.room-studio .studio-collab-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(95, 96, 130, 0.4);
  background: rgba(4, 6, 15, 0.56);
}

.room-studio .studio-collab-tracks > span {
  display: grid;
  min-height: 72px;
  align-content: center;
  padding: 0.8rem 1rem;
  border-right: 1px solid rgba(95, 96, 130, 0.4);
  font-size: 0.85rem;
  font-weight: 800;
}

.room-studio .studio-collab-tracks > span:last-child {
  border-right: 0;
}

.room-studio .studio-collab-tracks small {
  margin-top: 0.3rem;
  color: var(--muted);
  font: 500 0.64rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.04em;
}

.room-studio .studio-collab-console .button {
  white-space: nowrap;
}

@keyframes studio-console-scan {
  0%,
  12% { opacity: 0; transform: translateX(0); }
  32%,
  68% { opacity: 1; }
  88%,
  100% { opacity: 0; transform: translateX(690%); }
}

@keyframes studio-status-pulse {
  0%,
  100% { opacity: 0.42; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1); }
}

.case-visual {
  margin: 2rem 0 0;
  border: 1px solid rgba(95, 96, 130, 0.55);
  background: var(--panel-deep);
}

.case-visual img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.case-visual figcaption {
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 164px;
  width: 1px;
  background: linear-gradient(var(--room-accent), var(--line), transparent);
  box-shadow: 0 0 10px var(--room-glow);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 4rem;
  padding: 0 0 2.5rem;
}

.timeline-item::before {
  position: absolute;
  top: 0.35rem;
  left: 159px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  background: var(--room-accent);
  box-shadow: 0 0 12px var(--room-accent);
  content: "";
}

.timeline-item time {
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.6;
}

.timeline-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.resume-terminal {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(95, 96, 130, 0.6);
  background: linear-gradient(145deg, rgba(25, 27, 53, 0.94), rgba(9, 11, 24, 0.98));
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.18);
}

.resume-preview {
  display: grid;
  min-height: 310px;
  align-content: space-between;
  padding: 1.5rem;
  border: 1px solid rgba(255, 133, 184, 0.6);
  color: var(--coral);
  background:
    linear-gradient(90deg, transparent 0 25px, rgba(255, 133, 184, 0.2) 25px 26px, transparent 26px),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(95, 96, 130, 0.15) 30px 31px),
    #11142a;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.resume-preview span,
.resume-preview small {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.resume-preview strong {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.35;
}

.resume-copy {
  padding: clamp(1rem, 3vw, 2rem);
}

.resume-copy h3 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}

.resume-copy p {
  color: var(--muted);
}

.privacy-note {
  margin: 1.5rem 0 0;
  font-size: 0.78rem;
}

.privacy-note a {
  color: var(--room-accent);
}

.case-study {
  max-width: 900px;
  margin: 0 auto;
}

.case-study-header {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.case-study-header h1 {
  margin: 1rem 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1;
}

.case-study-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(95, 96, 130, 0.4);
}

.case-study-section h2 {
  color: var(--room-accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study-section p,
.case-study-section li {
  color: var(--muted);
  line-height: 1.8;
}

[hidden] {
  display: none !important;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0;
  padding: 0.8rem;
  border: 1px solid rgba(95, 96, 130, 0.55);
  background: rgba(7, 9, 20, 0.62);
}

.filter-button {
  min-height: 42px;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(95, 96, 130, 0.72);
  color: var(--muted);
  background: var(--panel-deep);
  font-size: 0.76rem;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--room-accent);
  color: var(--ink);
  background: var(--room-accent);
  box-shadow: 0 0 14px var(--room-glow);
}

.shop-opening {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  min-width: 320px;
  padding: 1.25rem;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 68%, rgba(255, 79, 163, 0.16), transparent 32rem),
    linear-gradient(180deg, #060711, #0e1022);
  overflow: hidden;
  isolation: isolate;
}

.shop-opening::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.28;
  background:
    linear-gradient(rgba(255, 157, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 157, 204, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
}

.opening-doorway {
  position: absolute;
  inset: 6vh max(5vw, calc((100vw - 1060px) / 2));
  z-index: -1;
  border: 12px solid #14162a;
  border-bottom-width: 22px;
  background:
    radial-gradient(circle at 50% 75%, rgba(255, 79, 163, 0.22), transparent 36%),
    #090b19;
  box-shadow: 0 0 0 2px rgba(95, 96, 130, 0.72), inset 0 0 60px #000, 0 0 40px rgba(255, 157, 204, 0.12);
  overflow: hidden;
}

.opening-doorway::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 157, 204, 0.22) 50%, transparent 50.5%),
    repeating-linear-gradient(90deg, transparent 0 94px, rgba(95, 96, 130, 0.18) 94px 96px),
    linear-gradient(#16182c, #080a15);
  content: "";
  transform: perspective(300px) rotateX(58deg);
  transform-origin: bottom;
}

.shop-shutter {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-bottom: 8px solid #0b0d19;
  background:
    repeating-linear-gradient(0deg, #6b6e7e 0 10px, #4d5060 10px 13px, #858896 13px 15px),
    #5f6270;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.68), 0 16px 30px rgba(0, 0, 0, 0.55);
  transition: transform 900ms cubic-bezier(0.65, 0, 0.2, 1);
}

.opening-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: min(420px, calc(100vw - 2.5rem));
  margin: 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--surface-edge);
  border-radius: var(--radius-panel);
  border-color: var(--surface-edge);
  background: rgba(10, 12, 28, 0.68);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 30%);
  box-shadow: inset 0 1px 0 var(--surface-shine), 0 18px 50px rgba(0, 0, 0, 0.38), 0 0 30px rgba(255, 79, 163, 0.18);
  text-align: center;
  backdrop-filter: blur(10px) saturate(1.08);
  transform: translate(-50%, -50%);
}

.opening-panel h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.opening-panel p {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.opening-actions {
  position: absolute;
  bottom: clamp(1rem, 4vh, 2.75rem);
  left: 50%;
  z-index: 11;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%);
}

.shop-opening[data-state="opening"] .shop-shutter {
  transform: translateY(-92%);
}

.shop-opening[data-state="open"] {
  opacity: 0;
}

@keyframes rain-drift {
  from { transform: translate3d(-20px, -40px, 0); }
  to { transform: translate3d(40px, 40px, 0); }
}

@media (max-width: 1023px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    padding-inline: 1rem;
  }

  .brand-copy small,
  .nav-en {
    display: none;
  }

  .scene-shell {
    width: min(100% - 2rem, 900px);
    padding-inline: 0;
  }

  .scene-shell::after {
    display: none;
  }

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

  .opening-doorway {
    inset: 4vh 0.8rem 6vh;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.75fr);
    gap: 1.25rem;
    min-height: 390px;
    padding: 2.5rem;
  }

  .menu-display,
  .arcade-display,
  .studio-display,
  .owner-display {
    max-width: 100%;
  }

  .site-footer {
    width: min(100% - 2rem, 900px);
    padding-right: 0;
  }

  .timeline::before {
    left: 124px;
  }

  .timeline-item {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 3rem;
  }

  .timeline-item::before {
    left: 119px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 58px;
  }

  body {
    padding-bottom: 72px;
  }

  .site-header {
    position: sticky;
    display: block;
    min-height: var(--header-height);
    padding: 0.45rem 0.75rem;
    backdrop-filter: none;
  }

  .shop-interior {
    opacity: 0.7;
  }

  .ceiling-rail {
    top: calc(var(--header-height) + 18px);
    right: 12px;
    left: 12px;
  }

  .counter-glow {
    right: 0;
    bottom: 74px;
    left: 0;
    opacity: 0.46;
  }

  .brand-sign {
    min-height: 44px;
  }

  .site-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    gap: 0;
    padding: 0.28rem max(0.25rem, env(safe-area-inset-right)) calc(0.28rem + env(safe-area-inset-bottom)) max(0.25rem, env(safe-area-inset-left));
    border-top: 1px solid rgba(95, 96, 130, 0.72);
    background: rgba(7, 9, 20, 0.96);
    backdrop-filter: blur(18px);
  }

  .site-nav a {
    min-height: 58px;
    padding-inline: 0.2rem;
  }

  .nav-cn {
    font-size: 0.72rem;
  }

  .nav-en {
    display: block;
    font-size: 0.47rem;
    letter-spacing: 0.06em;
  }

  .project-visual-code,
  .project-visual > strong,
  .project-visual > small {
    left: 1.35rem;
  }

  .project-visual-code {
    top: 1.25rem;
    font-size: 0.54rem;
  }

  .project-visual > strong {
    max-width: 58%;
    font-size: 1.05rem;
  }

  .project-visual > small {
    bottom: 1.25rem;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .scene-shell {
    width: min(100% - 1.25rem, 680px);
    min-height: auto;
    padding: 1rem 0 3.5rem;
  }

  .scene-shell::before {
    display: none;
  }

  .opening-panel {
    width: min(340px, calc(100vw - 2rem));
    padding: 0.8rem 0.9rem;
  }

  .opening-panel .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.62rem;
  }

  .opening-panel h2 {
    font-size: 1.35rem;
  }

  .opening-actions .button {
    min-height: 40px;
    padding: 0.58rem 0.72rem;
    font-size: 0.72rem;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    min-height: 610px;
    align-content: center;
    justify-items: center;
    padding: 2.4rem 1.15rem 2rem;
  }

  .room-bar .page-hero {
    min-height: 700px;
    padding-bottom: 22rem;
  }

  .room-bar .page-hero .hero-copy {
    width: 100%;
  }

  .room-bar .page-hero::before {
    display: none;
  }

  .home-bar-counter {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
    border-top: 1px solid rgba(255, 157, 204, 0.28);
    border-left: 0;
  }

  .home-bar-open {
    top: 30px;
  }

  .home-bar-duty {
    top: 22px;
    left: 12px;
  }

  .home-bar-speech {
    top: 96px;
    right: 12px;
  }

  .home-bar-robot {
    bottom: 48px;
    left: 44%;
    transform: translateX(-50%) scale(0.86);
    transform-origin: bottom;
  }

  .home-bar-cups {
    right: 16px;
    bottom: 64px;
  }

  .page-hero::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 46%;
    border-top: 1px solid rgba(95, 96, 130, 0.5);
    border-left: 0;
    clip-path: none;
  }

  .hero-copy {
    width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .menu-display,
  .arcade-display,
  .studio-display,
  .owner-display {
    max-width: 100%;
    transform-origin: center;
  }

  .menu-display {
    width: min(78vw, 260px);
    height: 270px;
    transform: scale(0.92);
  }

  .arcade-display {
    width: min(68vw, 220px);
    height: 280px;
    transform: scale(0.92);
  }

  .studio-display {
    width: min(84vw, 292px);
    height: 250px;
    transform: perspective(600px) rotateY(-2deg) scale(0.9);
  }

  .owner-display {
    width: min(76vw, 280px);
    height: min(86vw, 330px);
    margin-top: 10px;
    transform: perspective(700px) rotateY(-2deg) rotateZ(0.5deg);
  }

  .section {
    padding-top: 3.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .room-arcade .arcade-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .room-arcade .arcade-cabinet {
    padding: 0.8rem;
    clip-path: polygon(3% 0, 97% 0, 100% 4%, 100% 100%, 0 100%, 0 4%);
  }

  .room-arcade .arcade-cabinet::before {
    top: 1.5rem;
    left: 1.5rem;
  }

  .room-arcade .arcade-cabinet::after {
    top: 1.75rem;
    right: 1.5rem;
  }

  .room-arcade .arcade-cabinet > .arcade-screen {
    border-width: 8px;
  }

  .room-arcade .arcade-cabinet > .arcade-controls {
    height: 52px;
    padding: 1rem 0.6rem 0.45rem;
  }

  .room-arcade .arcade-cabinet .card-body {
    padding: 1rem 0.5rem 0.65rem;
  }

  .room-arcade .arcade-cabinet .hero-actions {
    flex-wrap: wrap;
  }

  .panel,
  .project-card,
  .arcade-cabinet,
  .monitor-card,
  .file-card {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(100% - 1.25rem, 680px);
    padding-bottom: 1.5rem;
  }

  .case-study-section {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .project-facts,
  .resume-terminal {
    grid-template-columns: 1fr;
  }

  .room-studio .studio-console-head {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .room-studio .studio-console-head p {
    text-align: left;
  }

  .room-studio .studio-console-status {
    width: 100%;
    justify-content: center;
  }

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

  .room-studio .studio-pipeline::before {
    display: none;
  }

  .room-studio .studio-pipeline li {
    min-height: 96px;
    border-bottom: 1px solid rgba(95, 96, 130, 0.36);
  }

  .room-studio .studio-pipeline li:nth-child(even) {
    border-right: 0;
  }

  .room-studio .studio-pipeline li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .room-studio .studio-output-grid {
    grid-template-columns: 1fr;
  }

  .room-studio .studio-channel-card,
  .room-studio .studio-lab-card {
    grid-template-columns: 1fr;
  }

  .room-studio .studio-qr {
    width: min(58vw, 180px);
    margin: 0 auto 1.5rem;
  }

  .room-studio .studio-af-display {
    min-height: 168px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 79, 163, 0.36);
  }

  .room-studio .studio-collab-console {
    grid-template-columns: 1fr;
  }

  .room-studio .studio-collab-console h2 {
    white-space: normal;
  }

  .room-studio .studio-collab-console .button {
    justify-self: start;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient-rain::before,
  .home-bar-lights i,
  .home-bar-robot,
  .home-bar-robot-face,
  .home-bar-cups i::before,
  .menu-display-sign,
  .arcade-display-marquee,
  .studio-display-monitor::before,
  .room-studio .studio-console::before,
  .room-studio .studio-device-bar i,
  .owner-portrait-image {
    animation: none !important;
  }

  .button::after {
    display: none;
  }

  .room-arcade .arcade-cabinet,
  .room-arcade .arcade-screen img {
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* True 3D drink-shop prototype */
.shop-3d-shell {
  position: absolute;
  z-index: 20;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(72, 240, 226, 0.14), transparent 30%),
    radial-gradient(circle at 22% 68%, rgba(255, 46, 147, 0.2), transparent 38%),
    linear-gradient(155deg, #03040d 0%, #160720 58%, #35102d 100%);
  opacity: 1;
  transition: opacity 260ms ease;
}

.shop-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  outline: none;
}

.shop-3d-canvas:active {
  cursor: grabbing;
}

.shop-3d-canvas[data-hovered="true"] {
  cursor: pointer;
}

.shop-3d-canvas:focus-visible {
  outline: 2px solid #ff2e93;
  outline-offset: -4px;
}

.shop-3d-loading {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  color: #f4f4ff;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.shop-3d-loading span {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(72, 240, 226, 0.18);
  border-top-color: #ff2e93;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 66, 161, 0.48);
  animation: shop-3d-spin 720ms linear infinite;
}

.shop-3d-shell[data-status="ready"] .shop-3d-loading {
  visibility: hidden;
  opacity: 0;
}

.shop-3d-hint,
.shop-camera-reset {
  position: absolute;
  z-index: 4;
  top: 1rem;
  margin: 0;
  border: 1px solid rgba(255, 46, 147, 0.58);
  background: rgba(10, 8, 24, 0.82);
  color: #f4f4ff;
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.shop-3d-hint {
  left: 1rem;
  padding: 0.7rem 0.85rem;
  pointer-events: none;
}

.shop-camera-reset {
  right: 1rem;
  padding: 0.72rem 0.9rem;
  cursor: pointer;
}

.shop-camera-reset:hover,
.shop-camera-reset:focus-visible {
  border-color: #48f0e2;
  background: rgba(39, 10, 42, 0.96);
  color: #fff;
  box-shadow: 0 0 24px rgba(72, 240, 226, 0.18);
}

.shop-3d-dock {
  position: absolute;
  z-index: 28;
  right: 50%;
  bottom: 0.85rem;
  display: flex;
  gap: 0.34rem;
  max-width: calc(100% - 2rem);
  padding: 0.32rem;
  border: 1px solid rgba(255, 46, 147, 0.46);
  background: rgba(8, 7, 20, 0.86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(72, 240, 226, 0.1) inset;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 10px);
  backdrop-filter: blur(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.shop-3d-dock a,
.shop-3d-dock button {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 42px;
  padding: 0.55rem 0.72rem;
  border: 0;
  border-right: 1px solid rgba(72, 240, 226, 0.14);
  background: transparent;
  color: rgba(236, 237, 255, 0.88);
  font: 700 0.58rem/1 var(--mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
}

.shop-3d-dock :is(a, button):last-child {
  border-right: 0;
}

.shop-3d-dock :is(a, button) span {
  color: #ff2e93;
}

.shop-3d-dock :is(a, button):hover,
.shop-3d-dock :is(a, button):focus-visible {
  background: rgba(255, 46, 147, 0.18);
  color: #fff;
}

.cyber-shop[data-webgl="ready"] .cyber-shop-stage {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cyber-shop[data-webgl="ready"] .shop-3d-dock {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.cyber-shop[data-webgl="ready"] .shop-room-status {
  display: none;
}

.cyber-shop[data-webgl="failed"] .shop-3d-shell,
.cyber-shop[data-webgl="failed"] .shop-3d-dock {
  display: none;
}

@keyframes shop-3d-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .cyber-shop-viewport {
    min-height: 660px;
  }

  .shop-3d-hint {
    top: 0.65rem;
    left: 0.65rem;
    max-width: calc(100% - 7.5rem);
    overflow: hidden;
    font-size: 0.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shop-camera-reset {
    top: 0.65rem;
    right: 0.65rem;
    min-height: 40px;
  }

  .shop-3d-dock {
    right: 0.55rem;
    bottom: 4.75rem;
    left: 0.55rem;
    max-width: none;
    overflow-x: auto;
    transform: translateY(10px);
    scrollbar-width: none;
  }

  .cyber-shop[data-webgl="ready"] .shop-3d-dock {
    transform: translateY(0);
  }

  .shop-3d-dock::-webkit-scrollbar {
    display: none;
  }

  .shop-3d-dock a,
  .shop-3d-dock button {
    flex: 0 0 auto;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-3d-shell,
  .shop-3d-loading,
  .shop-3d-dock {
    transition: none;
  }

  .shop-3d-loading span {
    animation: none;
  }
}

/* Interactive cyber drink shop ------------------------------------------------ */
.scene-shell-room {
  width: min(calc(100% - 2rem), 1540px);
  padding-top: clamp(1.25rem, 3vw, 2.75rem);
}

.cyber-shop {
  --room-pink: #ff42a1;
  --room-pink-soft: #ff8ac6;
  --room-cyan: #ff9dcc;
  --room-ink: #080916;
  --room-panel: #141426;
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(255, 112, 185, 0.42);
  background:
    radial-gradient(circle at 52% 40%, rgba(255, 55, 154, 0.11), transparent 35%),
    linear-gradient(180deg, #0e0f20 0%, #080916 72%);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    inset 0 0 0 6px rgba(10, 10, 24, 0.9),
    inset 0 0 70px rgba(255, 48, 151, 0.06);
  perspective: 1200px;
  isolation: isolate;
}

.cyber-shop::before,
.cyber-shop::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(16px, 3.2vw, 48px);
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 66, 161, 0.24), transparent 30%),
    repeating-linear-gradient(180deg, #171729 0 18px, #0a0b16 19px 23px);
  box-shadow: inset -1px 0 rgba(255, 122, 190, 0.32);
}

.cyber-shop::before { left: 0; }
.cyber-shop::after { right: 0; transform: scaleX(-1); }

.cyber-shop-viewport {
  position: relative;
  min-height: clamp(720px, 69vw, 880px);
  overflow: hidden;
}

.cyber-shop-stage {
  position: absolute;
  inset: 1.5% 2.5% 0;
  min-width: 980px;
  overflow: hidden;
  transform: translate3d(0, 10px, 0) rotateX(1.6deg) scale(0.985);
  transform-origin: 50% 62%;
  transform-style: preserve-3d;
  transition: transform 380ms cubic-bezier(0.22, 0.74, 0.2, 1), filter 280ms ease;
  will-change: transform;
}

.cyber-shop[data-view="menu"] .cyber-shop-stage {
  transform: translate3d(2%, 5%, 0) rotateX(1deg) scale(1.14);
}

.cyber-shop[data-view="arcade"] .cyber-shop-stage {
  transform: translate3d(8%, -2%, 0) rotateX(1deg) scale(1.12);
}

.cyber-shop[data-view="studio"] .cyber-shop-stage {
  transform: translate3d(-27%, 6%, 0) rotateX(1deg) scale(1.14);
}

.cyber-shop[data-view="profile"] .cyber-shop-stage {
  transform: translate3d(-51%, 1%, 0) rotateX(1deg) scale(1.12);
}

.cyber-shop[data-view="contact"] .cyber-shop-stage {
  transform: translate3d(-54%, -3%, 0) rotateX(1deg) scale(1.13);
}

.cyber-shop[data-view="dice-robot"] .cyber-shop-stage { transform: translate3d(-24%, -10%, 0) rotateX(1deg) scale(1.13); }
.cyber-shop[data-view="animeflow"] .cyber-shop-stage { transform: translate3d(-35%, -10%, 0) rotateX(1deg) scale(1.13); }
.cyber-shop[data-view="ai-video-studio"] .cyber-shop-stage { transform: translate3d(-46%, -10%, 0) rotateX(1deg) scale(1.13); }

.cyber-shop:not([data-view="overview"]) .shop-hotspot {
  opacity: 0.24;
  filter: saturate(0.55) brightness(0.65);
}

.cyber-shop[data-view="menu"] [data-shop-view="menu"],
.cyber-shop[data-view="arcade"] [data-shop-view="arcade"],
.cyber-shop[data-view="studio"] [data-shop-view="studio"],
.cyber-shop[data-view="profile"] [data-shop-view="profile"],
.cyber-shop[data-view="contact"] [data-shop-view="contact"],
.cyber-shop[data-view="dice-robot"] [data-shop-view="dice-robot"],
.cyber-shop[data-view="animeflow"] [data-shop-view="animeflow"],
.cyber-shop[data-view="ai-video-studio"] [data-shop-view="ai-video-studio"] {
  opacity: 1;
  filter: brightness(1.2) saturate(1.08) drop-shadow(0 0 12px rgba(255, 66, 161, 0.5));
}

.cyber-shop[data-transition="focusing"] {
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    inset 0 0 0 6px rgba(10, 10, 24, 0.9),
    inset 0 0 90px rgba(255, 48, 151, 0.12);
}

.cyber-shop-wall {
  position: absolute;
  inset: 0 1.8% 26%;
  overflow: hidden;
  border: 1px solid rgba(255, 105, 180, 0.2);
  background:
    linear-gradient(rgba(250, 118, 184, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 118, 184, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #121326 0%, #0b0c18 72%, #161124 100%);
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: inset 0 -48px 80px rgba(255, 43, 148, 0.08);
}

.cyber-shop-wall::before {
  position: absolute;
  inset: 3% 2% auto;
  height: 9px;
  content: "";
  border: 2px solid #292b43;
  background: #070813;
  box-shadow: 0 0 13px rgba(255, 66, 161, 0.38), 0 28px 0 -3px #22233a;
}

.shop-neon-sign {
  position: absolute;
  z-index: 2;
  top: 9%;
  left: 50%;
  display: grid;
  min-width: 228px;
  padding: 0.6rem 1.2rem 0.48rem;
  transform: translateX(-50%) skewX(-4deg);
  border: 1px solid rgba(255, 103, 182, 0.66);
  background: rgba(9, 9, 22, 0.82);
  text-align: center;
  box-shadow: 0 0 9px rgba(255, 66, 161, 0.58), inset 0 0 16px rgba(255, 66, 161, 0.13);
}

.shop-neon-sign strong {
  color: #fff3fa;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.24em;
  text-shadow: 0 0 6px #ff42a1, 0 0 18px #ff42a1;
}

.shop-neon-sign small {
  color: #ff65b3;
  font-size: 0.47rem;
  letter-spacing: 0.18em;
}

.shop-wall-pipe {
  position: absolute;
  border: 3px solid #33354d;
  opacity: 0.62;
}

.pipe-a {
  top: 18%;
  right: -8px;
  width: 25%;
  height: 32%;
  border-left: 0;
  border-radius: 0 0 0 24px;
}

.pipe-b {
  bottom: 6%;
  left: -10px;
  width: 18%;
  height: 27%;
  border-right: 0;
  border-radius: 0 20px 0 0;
}

.shop-vent {
  position: absolute;
  top: 17%;
  left: 8%;
  width: 116px;
  height: 58px;
  border: 4px solid #292a3d;
  background: repeating-linear-gradient(180deg, #070813 0 5px, #292a3d 6px 9px);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.28);
}

.cyber-shop-floor {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -14%;
  left: -8%;
  height: 51%;
  transform: perspective(560px) rotateX(57deg);
  transform-origin: 50% 100%;
  border-top: 3px solid rgba(255, 66, 161, 0.76);
  background:
    linear-gradient(rgba(255, 95, 176, 0.19) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 95, 176, 0.17) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(255, 66, 161, 0.23), transparent 58%),
    #090a16;
  background-size: 54px 40px, 54px 40px, auto, auto;
  box-shadow: 0 -12px 38px rgba(255, 66, 161, 0.16);
}

.shop-object,
.shop-drink {
  appearance: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.shop-hotspot {
  position: absolute;
  z-index: 4;
  cursor: pointer;
  transition: transform 190ms ease, filter 190ms ease, box-shadow 190ms ease;
}

.shop-hotspot:hover,
.shop-hotspot:focus-visible {
  z-index: 8;
  outline: none;
  filter: brightness(1.15) saturate(1.12);
}

.shop-hotspot:focus-visible {
  box-shadow: 0 0 0 3px #080916, 0 0 0 5px #ff65b3, 0 0 28px rgba(255, 66, 161, 0.58);
}

.shop-object-label {
  position: absolute;
  display: grid;
  gap: 0.05rem;
  padding: 0.38rem 0.52rem;
  border-left: 3px solid var(--room-pink);
  background: rgba(7, 8, 19, 0.91);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.3);
  text-align: left;
  white-space: nowrap;
}

.shop-object-label strong {
  color: #fff7fb;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.shop-object-label small,
.shop-object-label em {
  color: #ff71ba;
  font-family: var(--font-display);
  font-size: 0.43rem;
  font-style: normal;
  letter-spacing: 0.14em;
}

.shop-menu-board {
  top: 24%;
  left: 10%;
  width: 206px;
  height: 172px;
  transform: perspective(520px) rotateY(7deg) rotateZ(-1deg);
  border: 7px solid #24253a;
  background: linear-gradient(145deg, #17182b, #0b0c17);
  box-shadow: 12px 16px 0 rgba(0, 0, 0, 0.27), inset 0 0 0 2px rgba(255, 66, 161, 0.27);
}

.shop-menu-board:hover,
.shop-menu-board:focus-visible { transform: perspective(520px) rotateY(2deg) translateY(-7px); }

.shop-menu-board::before {
  position: absolute;
  inset: 11px;
  content: "本店\A菜单";
  color: #ffe8f5;
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.16em;
  white-space: pre;
  text-shadow: 0 0 10px rgba(255, 66, 161, 0.74);
}

.menu-lines {
  position: absolute;
  right: 12px;
  bottom: 15px;
  left: 12px;
  display: grid;
  gap: 9px;
}

.menu-lines i {
  height: 3px;
  background: linear-gradient(90deg, #ff42a1 0 22%, #3e4058 22% 82%, #ff74bc 82%);
}

.shop-menu-board .shop-object-label { bottom: -34px; left: 13px; }

.shop-arcade-cabinet {
  bottom: 25%;
  left: 5.5%;
  width: 144px;
  height: 267px;
  padding: 0;
  transform: perspective(560px) rotateY(5deg);
  border: 4px solid #080914;
  border-radius: 13px 13px 4px 4px;
  background: linear-gradient(105deg, #24263d 0 18%, #121326 19% 82%, #32334c 83%);
  box-shadow: 13px 19px 0 rgba(0, 0, 0, 0.3), 0 0 26px rgba(255, 66, 161, 0.13);
}

.shop-arcade-cabinet:hover,
.shop-arcade-cabinet:focus-visible { transform: perspective(560px) rotateY(0) translateY(-7px); }

.arcade-marquee {
  display: grid;
  place-items: center;
  height: 48px;
  border-bottom: 3px solid #080914;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(135deg, #ff42a1, #6d1c62);
  color: white;
  font-family: var(--font-display);
  font-size: 0.57rem;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-align: center;
  text-shadow: 0 0 8px white;
}

.shop-arcade-cabinet .arcade-screen {
  position: absolute;
  top: 60px;
  right: 17px;
  left: 17px;
  display: grid;
  place-items: center;
  height: 83px;
  overflow: hidden;
  border: 5px solid #060711;
  background: radial-gradient(circle, rgba(255, 157, 204, 0.3), transparent 5%), #0b1020;
  box-shadow: inset 0 0 20px rgba(255, 157, 204, 0.16);
}

.shop-arcade-cabinet .arcade-screen::before,
.shop-arcade-cabinet .arcade-screen::after,
.shop-arcade-cabinet .arcade-screen i {
  position: absolute;
  content: "";
  background: #ff9dcc;
  box-shadow: 0 0 9px #ff9dcc;
}

.shop-arcade-cabinet .arcade-screen::before { width: 9px; height: 9px; top: 25px; left: 31px; }
.shop-arcade-cabinet .arcade-screen::after { width: 18px; height: 6px; top: 40px; right: 23px; }
.shop-arcade-cabinet .arcade-screen i { width: 5px; height: 16px; top: 19px; right: 34px; }

.shop-arcade-cabinet .arcade-screen b {
  align-self: end;
  margin-bottom: 7px;
  color: #ff65b3;
  font-family: var(--font-display);
  font-size: 0.42rem;
  letter-spacing: 0.2em;
}

.shop-arcade-cabinet .arcade-controls {
  position: absolute;
  top: 157px;
  right: 13px;
  left: 13px;
  height: 39px;
  transform: skewX(-6deg);
  border: 3px solid #080914;
  background: #2f3048;
}

.shop-arcade-cabinet .arcade-controls i { position: absolute; border-radius: 50%; background: #ff42a1; box-shadow: 0 0 7px #ff42a1; }
.shop-arcade-cabinet .arcade-controls i:first-child { top: 8px; left: 20px; width: 12px; height: 12px; }
.shop-arcade-cabinet .arcade-controls i:nth-child(2) { top: 10px; right: 30px; width: 9px; height: 9px; }
.shop-arcade-cabinet .arcade-controls i:last-child { top: 13px; right: 15px; width: 7px; height: 7px; }
.shop-arcade-cabinet .shop-object-label { right: -32px; bottom: 13px; }

.shop-production-console {
  top: 28%;
  left: 40%;
  width: 318px;
  height: 190px;
  transform: perspective(640px) rotateX(1deg);
  border: 5px solid #202138;
  background: linear-gradient(180deg, #1d1e33, #0b0c18);
  box-shadow: 0 17px 0 #070812, 0 21px 35px rgba(0, 0, 0, 0.38);
}

.shop-production-console:hover,
.shop-production-console:focus-visible { transform: perspective(640px) translateY(-7px) scale(1.02); }

.production-header {
  display: flex;
  justify-content: space-between;
  padding: 9px 11px;
  border-bottom: 2px solid #34354e;
  color: #ff70b9;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.production-header b::before { content: "● "; color: #ff42a1; text-shadow: 0 0 7px #ff42a1; }

.production-screens {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 7px;
  padding: 8px 9px 5px;
}

.production-screens i {
  position: relative;
  height: 82px;
  overflow: hidden;
  border: 4px solid #070812;
  background:
    linear-gradient(160deg, transparent 0 48%, rgba(255, 66, 161, 0.8) 49% 51%, transparent 52%),
    repeating-linear-gradient(180deg, rgba(255, 157, 204, 0.16) 0 1px, transparent 1px 7px),
    #0a1020;
  box-shadow: inset 0 0 13px rgba(255, 66, 161, 0.12);
}

.production-screens i:nth-child(2) { background-color: #15102a; filter: hue-rotate(25deg); }
.production-screens i:nth-child(3) { background-color: #0b1722; filter: hue-rotate(-30deg); }

.production-deck {
  display: flex;
  gap: 8px;
  margin: 5px 9px;
  padding: 8px;
  border-top: 2px solid #34354e;
  background: #111222;
}

.production-deck i { flex: 1; height: 5px; background: #ff42a1; box-shadow: 0 0 5px rgba(255, 66, 161, 0.5); }
.production-deck i:nth-child(even) { background: #ff9dcc; }
.shop-production-console .shop-object-label { right: 13px; bottom: -36px; }

.shop-staff-locker {
  top: 22%;
  right: 7%;
  width: 126px;
  height: 280px;
  transform: perspective(520px) rotateY(-7deg);
  border: 5px solid #22243a;
  background:
    linear-gradient(90deg, transparent 92%, rgba(0, 0, 0, 0.28) 92%),
    linear-gradient(145deg, #373951, #1c1d31);
  box-shadow: -13px 16px 0 rgba(0, 0, 0, 0.26), inset 0 0 0 2px rgba(255, 255, 255, 0.035);
}

.shop-staff-locker:hover,
.shop-staff-locker:focus-visible { transform: perspective(520px) rotateY(0) translateY(-7px); }

.shop-staff-locker::before,
.shop-staff-locker::after {
  position: absolute;
  right: 13px;
  left: 13px;
  height: 2px;
  content: "";
  background: #111220;
  box-shadow: 0 5px #111220, 0 10px #111220;
}

.shop-staff-locker::before { top: 23px; }
.shop-staff-locker::after { bottom: 24px; }
.locker-number { position: absolute; top: 51px; left: 15px; color: #ff6ab6; font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.16em; }
.locker-slit { position: absolute; top: 91px; right: 13px; width: 8px; height: 62px; border-radius: 5px; background: #090a16; box-shadow: inset 0 0 0 2px #43455d; }
.locker-sticker { position: absolute; right: 14px; bottom: 65px; padding: 3px 5px; transform: rotate(-5deg); background: #ff42a1; color: #10111f; font-family: var(--font-display); font-size: 0.45rem; letter-spacing: 0.1em; }
.shop-staff-locker .shop-object-label { right: -20px; bottom: 9px; }

.shop-contact-terminal {
  right: 3.5%;
  bottom: 24.5%;
  width: 154px;
  height: 194px;
  padding: 0;
  transform: perspective(560px) rotateY(-6deg);
  border: 5px solid #090a16;
  background: linear-gradient(135deg, #2c2e47, #151626);
  box-shadow: -12px 15px 0 rgba(0, 0, 0, 0.3);
}

.shop-contact-terminal:hover,
.shop-contact-terminal:focus-visible { transform: perspective(560px) rotateY(0) translateY(-7px); }
.terminal-aerial { position: absolute; top: -33px; right: 27px; width: 4px; height: 30px; transform: rotate(12deg); transform-origin: bottom; background: #555771; }
.terminal-aerial::before { position: absolute; top: -5px; left: -3px; width: 10px; height: 10px; content: ""; border-radius: 50%; background: #ff42a1; box-shadow: 0 0 9px #ff42a1; }
.terminal-screen { position: absolute; top: 14px; right: 13px; left: 13px; display: grid; place-items: center; height: 102px; border: 5px solid #090a16; background: radial-gradient(circle at 50% 42%, rgba(255, 66, 161, 0.35), transparent 5%), repeating-linear-gradient(180deg, transparent 0 5px, rgba(255, 92, 175, 0.08) 6px), #121126; }
.terminal-screen b { color: #ff8ac6; font-family: var(--font-display); font-size: 0.58rem; letter-spacing: 0.18em; text-shadow: 0 0 7px #ff42a1; }
.terminal-screen i { width: 38px; height: 18px; border: 1px solid #ff42a1; border-radius: 50%; box-shadow: 0 0 12px rgba(255, 66, 161, 0.38); }
.terminal-screen small { color: #8e8fa8; font-size: 0.4rem; letter-spacing: 0.1em; }
.terminal-keys { position: absolute; right: 19px; bottom: 19px; left: 19px; display: flex; justify-content: center; gap: 10px; }
.terminal-keys i { width: 12px; height: 12px; border-radius: 50%; background: #ff42a1; box-shadow: 0 0 6px #ff42a1; }
.terminal-keys i:nth-child(2) { background: #ff9dcc; box-shadow: 0 0 6px #ff9dcc; }
.shop-contact-terminal .shop-object-label { right: 4px; bottom: -39px; }

.cyber-shop-counter {
  position: absolute;
  z-index: 6;
  right: 13%;
  bottom: 2.5%;
  left: 13%;
  height: 230px;
  transform: perspective(780px) rotateX(-1deg);
  border: 5px solid #080914;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #25263d 0 37%, #151627 38% 100%);
  background-size: 48px 100%, auto;
  box-shadow: 0 25px 38px rgba(0, 0, 0, 0.43), inset 0 0 40px rgba(255, 66, 161, 0.055);
}

.cyber-shop-counter::before {
  position: absolute;
  z-index: 3;
  top: -19px;
  right: -4.5%;
  left: -4.5%;
  height: 23px;
  content: "";
  border: 3px solid #080914;
  background: linear-gradient(180deg, #5f354e, #32192c 55%, #15101b);
  box-shadow: 0 0 19px rgba(255, 66, 161, 0.35), inset 0 2px rgba(255, 172, 214, 0.18);
}

.counter-edge {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff42a1, transparent);
  opacity: 0.54;
}

.cyber-shop-counter .home-bar-open { top: 17px; left: 20px; }
.cyber-shop-counter .home-bar-duty { top: 61px; left: 18px; }
.cyber-shop-counter .home-bar-speech { top: 18px; right: 17px; }
.cyber-shop-counter .home-bar-lights { top: 13px; right: 40%; left: 40%; }
.cyber-shop-counter .home-bar-robot { bottom: 25px; left: 25%; transform: scale(0.74); transform-origin: bottom; }

.shop-drink {
  bottom: 24px;
  display: grid;
  justify-items: center;
  width: 102px;
  padding: 0;
  border: 0;
  background: transparent;
}

.shop-drink:hover,
.shop-drink:focus-visible { transform: translateY(-9px); box-shadow: none; }
.shop-drink:focus-visible .drink-bottle { outline: 3px solid #fff; outline-offset: 4px; }
.shop-drink:nth-of-type(1) { left: 46%; }
.shop-drink:nth-of-type(2) { left: 62%; }
.shop-drink:nth-of-type(3) { left: 78%; }

.drink-bottle {
  position: relative;
  display: grid;
  place-items: center;
  width: 49px;
  height: 112px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 13px 13px 9px 9px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 20% 76%, rgba(0, 0, 0, 0.2)), #ff9dcc;
  box-shadow: 0 0 18px rgba(255, 157, 204, 0.52), inset 0 -15px 18px rgba(47, 14, 32, 0.28);
}

.drink-bottle::before {
  position: absolute;
  top: -17px;
  width: 23px;
  height: 18px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: inherit;
}

.drink-bottle::after {
  position: absolute;
  right: 7px;
  bottom: 9px;
  left: 7px;
  height: 35px;
  content: "";
  border: 1px solid rgba(7, 8, 19, 0.4);
  background: rgba(238, 244, 255, 0.6);
}

.drink-bottle b {
  position: relative;
  z-index: 2;
  margin-top: 41px;
  color: #111222;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.drink-bottle i { position: absolute; top: 15px; left: 10px; width: 5px; height: 45px; border-radius: 9px; background: rgba(255, 255, 255, 0.32); }
.drink-pink .drink-bottle { background-color: #ff42a1; box-shadow: 0 0 18px rgba(255, 66, 161, 0.58), inset 0 -15px 18px rgba(52, 8, 34, 0.3); }
.drink-violet .drink-bottle { background-color: #e765bd; box-shadow: 0 0 18px rgba(231, 101, 189, 0.54), inset 0 -15px 18px rgba(48, 13, 39, 0.3); }
.drink-name { margin-top: 14px; padding: 3px 6px; background: #0a0b17; color: #ffd4e9; font-family: var(--font-display); font-size: 0.47rem; letter-spacing: 0.06em; white-space: nowrap; }

.shop-depth-post {
  position: absolute;
  z-index: 5;
  top: 4%;
  bottom: 0;
  width: 9px;
  border: 2px solid #2f3047;
  background: #0a0b16;
  box-shadow: 0 0 10px rgba(255, 66, 161, 0.18);
}

.post-left { left: 1.7%; }
.post-right { right: 1.7%; }

.shop-room-status {
  position: absolute;
  z-index: 9;
  right: 4%;
  bottom: 1.1rem;
  left: 4%;
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 3vw, 3.4rem);
  color: rgba(255, 172, 214, 0.56);
  font-family: var(--font-display);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.cyber-shop[data-view="menu"] .shop-room-status span:nth-child(1),
.cyber-shop[data-view="arcade"] .shop-room-status span:nth-child(2),
.cyber-shop[data-view="studio"] .shop-room-status span:nth-child(3),
.cyber-shop[data-view="profile"] .shop-room-status span:nth-child(4),
.cyber-shop[data-view="contact"] .shop-room-status span:nth-child(5) {
  color: #ffd4e9;
  text-shadow: 0 0 8px #ff42a1;
}

.shop-inspector {
  position: fixed;
  z-index: 170;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: clamp(1rem, 4vw, 3.5rem);
  visibility: visible;
}

.shop-inspector[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.shop-inspector-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 4, 12, 0.28);
  opacity: 1;
  backdrop-filter: blur(2px) saturate(0.88);
  transition: opacity 220ms ease;
}

.shop-inspector-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 0.78fr) minmax(240px, 1.22fr);
  width: min(610px, 48vw);
  max-height: min(76vh, 650px);
  overflow: auto;
  border: 1px solid rgba(255, 123, 190, 0.58);
  border-left: 6px solid #ff42a1;
  background: linear-gradient(145deg, rgba(27, 27, 49, 0.98), rgba(9, 10, 22, 0.99));
  box-shadow: 18px 24px 0 rgba(3, 4, 12, 0.48), 0 0 60px rgba(255, 66, 161, 0.18);
  transform: translateX(0);
  opacity: 1;
  transition: transform 260ms cubic-bezier(0.2, 0.78, 0.25, 1), opacity 180ms ease;
}

.shop-inspector[aria-hidden="true"] .shop-inspector-backdrop { opacity: 0; }
.shop-inspector[aria-hidden="true"] .shop-inspector-panel { transform: translateX(48px); opacity: 0; }
.shop-inspector[data-state="closing"] { visibility: visible; pointer-events: none; }
.shop-inspector[data-state="closing"] .shop-inspector-backdrop { opacity: 0; }
.shop-inspector[data-state="closing"] .shop-inspector-panel { transform: translateX(48px); opacity: 0; }
.shop-inspector[data-mode="contact"] .shop-inspector-panel { grid-template-columns: 1fr; width: min(520px, 44vw); }
.shop-inspector[data-mode="contact"] .shop-inspector-copy { padding-top: 3.5rem; }

.shop-inspector-close {
  position: absolute;
  z-index: 4;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 109, 183, 0.48);
  background: #111222;
  color: white;
  font-size: 1.55rem;
  cursor: pointer;
}

.shop-inspector-close:hover,
.shop-inspector-close:focus-visible { outline: 2px solid #ff42a1; color: #ff6db7; }

.shop-inspector-media {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 123, 190, 0.26);
  background: #090a16;
}

.shop-inspector-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(255, 66, 161, 0.15)), repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 255, 255, 0.025) 5px);
  pointer-events: none;
}

.shop-inspector-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.08); }
.shop-inspector-copy { align-self: center; padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3.2rem); }
.shop-inspector-copy .eyebrow { margin-bottom: 1rem; }
.shop-inspector-copy h2 { margin: 0 0 0.8rem; color: #fff6fb; font-size: clamp(1.8rem, 4vw, 3.35rem); line-height: 1; }
.shop-inspector-copy > p { margin: 0 0 1.5rem; color: #bdb9cd; line-height: 1.75; }

.shop-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.shop-contact-grid[hidden] { display: none; }

.shop-contact-grid a {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 104, 181, 0.27);
  background: rgba(255, 255, 255, 0.025);
  color: #ffe9f4;
  font-size: 0.72rem;
  text-align: center;
  text-decoration: none;
}

.shop-contact-grid a:hover,
.shop-contact-grid a:focus-visible { outline: 2px solid #ff42a1; background: rgba(255, 66, 161, 0.09); }
.shop-contact-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: white; }
body.shop-inspector-open { overflow: hidden; }

@media (max-width: 1120px) {
  .scene-shell-room { width: min(calc(100% - 1.25rem), 980px); }
  .cyber-shop { min-height: 680px; }
  .cyber-shop-viewport { min-height: 720px; }
  .cyber-shop-stage { left: 50%; right: auto; width: 980px; transform: translate3d(-50%, 10px, 0) rotateX(1.4deg) scale(0.92); transform-origin: 50% 60%; }
  .cyber-shop[data-view="menu"] .cyber-shop-stage { transform: translate3d(-46%, 5%, 0) scale(1.08); }
  .cyber-shop[data-view="arcade"] .cyber-shop-stage { transform: translate3d(-43%, -1%, 0) scale(1.07); }
  .cyber-shop[data-view="studio"] .cyber-shop-stage { transform: translate3d(-75%, 5%, 0) scale(1.08); }
  .cyber-shop[data-view="profile"] .cyber-shop-stage { transform: translate3d(-100%, 0, 0) scale(1.07); }
  .cyber-shop[data-view="contact"] .cyber-shop-stage { transform: translate3d(-105%, -2%, 0) scale(1.07); }
  .cyber-shop[data-view="dice-robot"] .cyber-shop-stage { transform: translate3d(-81%, -8%, 0) scale(1.07); }
  .cyber-shop[data-view="animeflow"] .cyber-shop-stage { transform: translate3d(-91%, -8%, 0) scale(1.07); }
  .cyber-shop[data-view="ai-video-studio"] .cyber-shop-stage { transform: translate3d(-101%, -8%, 0) scale(1.07); }
}

@media (max-width: 767px) {
  .scene-shell-room { width: min(100% - 0.8rem, 680px); padding-top: 0.7rem; }
  .cyber-shop { min-height: 730px; border-radius: 0; perspective: none; }
  .cyber-shop-viewport { min-height: 690px; overflow: hidden; }
  .cyber-shop-stage {
    inset: 0;
    left: 50%;
    width: 820px;
    min-width: 820px;
    height: 690px;
    transform: none;
    translate: -50% 0;
    transition: filter 180ms ease;
  }
  .cyber-shop[data-view] .cyber-shop-stage { transform: none; }
  .cyber-shop-wall { inset: 0 15% 28%; }
  .cyber-shop-floor { right: 7%; left: 7%; }
  .shop-neon-sign { top: 11%; min-width: 190px; }
  .shop-vent { display: none; }
  .shop-menu-board { top: 25%; left: 20%; transform: scale(0.75); }
  .shop-menu-board:hover,
  .shop-menu-board:focus-visible { transform: scale(0.78) translateY(-5px); }
  .shop-arcade-cabinet { bottom: 24%; left: 17.5%; transform: scale(0.67); transform-origin: bottom; }
  .shop-arcade-cabinet:hover,
  .shop-arcade-cabinet:focus-visible { transform: scale(0.7) translateY(-5px); }
  .shop-production-console { top: 44%; left: 39%; transform: scale(0.7); transform-origin: top left; }
  .shop-production-console:hover,
  .shop-production-console:focus-visible { transform: scale(0.73) translateY(-5px); }
  .shop-staff-locker { top: 23%; right: 18%; transform: scale(0.68); transform-origin: top right; }
  .shop-staff-locker:hover,
  .shop-staff-locker:focus-visible { transform: scale(0.71) translateY(-5px); }
  .shop-contact-terminal { right: 16.5%; bottom: 34%; transform: scale(0.68); transform-origin: bottom right; }
  .shop-contact-terminal:hover,
  .shop-contact-terminal:focus-visible { transform: scale(0.71) translateY(-5px); }
  .cyber-shop-counter { right: 17%; bottom: 1.5%; left: 17%; height: 207px; }
  .cyber-shop-counter .home-bar-robot { left: 24%; transform: scale(0.65); }
  .cyber-shop-counter .home-bar-speech { display: none; }
  .shop-drink { bottom: 19px; transform: scale(0.82); transform-origin: bottom; }
  .shop-drink:hover,
  .shop-drink:focus-visible { transform: scale(0.84) translateY(-6px); }
  .shop-drink:nth-of-type(1) { left: 43%; }
  .shop-drink:nth-of-type(2) { left: 58%; }
  .shop-drink:nth-of-type(3) { left: 73%; }
  .shop-room-status { bottom: 0.5rem; gap: 0.55rem; font-size: 0.36rem; letter-spacing: 0.04em; }
  .shop-inspector { align-items: end; padding: 0; }
  .shop-inspector-panel { grid-template-columns: 1fr; width: 100%; max-height: min(82vh, 720px); border-right: 0; border-bottom: 0; border-left-width: 4px; }
  .shop-inspector[data-mode="contact"] .shop-inspector-panel { width: 100%; }
  .shop-inspector[aria-hidden="true"] .shop-inspector-panel,
  .shop-inspector[data-state="closing"] .shop-inspector-panel { transform: translateY(32px); }
  .shop-inspector-media { height: min(170px, 20vh); min-height: 0; max-height: none; border-right: 0; border-bottom: 1px solid rgba(255, 123, 190, 0.26); }
  .shop-inspector-copy { padding: 1.55rem 1.2rem calc(1.35rem + env(safe-area-inset-bottom)); }
  .shop-inspector-copy h2 { font-size: 1.8rem; }
  .shop-inspector-close { top: 0.55rem; right: 0.55rem; }
  .shop-contact-grid { gap: 0.55rem; }
}

@media (max-width: 430px) {
  .cyber-shop { min-height: 670px; }
  .cyber-shop-viewport { min-height: 635px; }
  .cyber-shop-stage { width: 660px; min-width: 660px; height: 635px; }
  .cyber-shop-wall { inset: 0 14% 27%; }
  .shop-menu-board { top: 23%; left: 23%; transform: scale(0.66); }
  .shop-production-console { top: 45%; left: 38%; transform: scale(0.61); }
  .shop-staff-locker { top: 21%; right: 22%; transform: scale(0.61); }
  .shop-arcade-cabinet { bottom: 23%; left: 22%; transform: scale(0.59); }
  .shop-contact-terminal { right: 21%; bottom: 34%; transform: scale(0.59); }
  .cyber-shop-counter { right: 22%; left: 22%; height: 188px; }
  .cyber-shop-counter .home-bar-open,
  .cyber-shop-counter .home-bar-duty { display: none; }
  .cyber-shop-counter .home-bar-robot { left: 21%; bottom: 18px; transform: scale(0.56); }
  .shop-drink { bottom: 11px; transform: scale(0.7); }
  .shop-drink:nth-of-type(1) { left: 39%; }
  .shop-drink:nth-of-type(2) { left: 56%; }
  .shop-drink:nth-of-type(3) { left: 73%; }
  .shop-room-status { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-shop-stage,
  .shop-hotspot,
  .shop-inspector-backdrop,
  .shop-inspector-panel,
  .drink-bottle {
    animation: none !important;
    transition: none !important;
  }
}

.cyber-shop[data-webgl="ready"] {
  min-height: clamp(560px, calc(100svh - 240px), 760px);
  perspective: none;
}

.cyber-shop[data-webgl="ready"] .cyber-shop-viewport {
  min-height: clamp(560px, calc(100svh - 240px), 760px);
}

@media (max-width: 767px) {
  .cyber-shop[data-webgl="ready"],
  .cyber-shop[data-webgl="ready"] .cyber-shop-viewport {
    min-height: clamp(540px, calc(100svh - 180px), 660px);
  }
}

/* Homepage: the shop is the page, not a panel above a second floor. */
.shop-3d-ready body.room-bar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100svh;
  min-height: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.shop-3d-ready .room-bar .site-header {
  grid-row: 1;
}

.shop-3d-ready .room-bar .scene-shell-room {
  grid-row: 2;
  height: 100%;
  min-height: 0;
  padding: 0;
}

.shop-3d-ready .room-bar .scene-shell-room > main {
  height: 100%;
}

.shop-3d-ready .room-bar .cyber-shop[data-webgl="ready"],
.shop-3d-ready .room-bar .cyber-shop[data-webgl="ready"] .cyber-shop-viewport {
  height: 100%;
  min-height: 0;
}

.shop-3d-ready body.room-bar::after {
  opacity: 0.04;
}
