:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #14202a;
  --muted: #7f858b;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
body { margin: 0; overflow: hidden; overscroll-behavior: none; }
p, h1 { margin: 0; }
[hidden], .hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.showroom {
  display: flex; flex-direction: column;
  width: 100%; height: 100vh; height: 100svh;
  overflow: hidden; background: var(--paper);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.masthead { flex: none; text-align: center; padding: 34px 20px 0; pointer-events: none; }
h1 { font-size: 40px; font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.product-name { margin-top: 16px; color: #3f4a52; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .035em; }
.intro-hint { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
.studio { position: relative; display: flex; flex: 1; min-height: 0; overflow: hidden; background: #fff; isolation: isolate; }
.viewport { position: relative; flex: 1; width: 100%; min-width: 0; min-height: 0; }
#viewer { display: block; width: 100%; height: 100%; touch-action: none; -webkit-tap-highlight-color: transparent; outline-offset: -5px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#viewer:focus-visible { outline: 2px solid #7297b5; }
.view-footer { flex: none; text-align: center; padding: 0 16px 26px; pointer-events: none; }
.view-caption { display: flex; align-items: center; justify-content: center; gap: 8px; color: #626b72; font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.caption-divider { color: #b8bdc1; }
.gesture-hint { margin-top: 7px; color: #959ba0; font-size: 10px; line-height: 1.7; letter-spacing: .05em; }
.loading-screen { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: #fffffff5; padding: 24px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.8; }
.loading-indicator { display: flex; align-items: center; gap: 5px; height: 24px; }
.loading-indicator span { display: block; width: 3px; height: 16px; background: #a5adb4; border-radius: 2px; animation: pulse 1.1s ease-in-out infinite; }
.loading-indicator span:nth-child(2) { height: 24px; animation-delay: .13s; }
.loading-indicator span:nth-child(3) { animation-delay: .26s; }
.loading-screen.error { color: #8b4644; }
.loading-screen.error .loading-indicator, .loading-screen[data-error="true"] .loading-indicator { display: none; }
.no-script { position: absolute; inset: 0; z-index: 5; padding: 30px; display: grid; place-items: center; text-align: center; background: #fff; color: var(--ink); line-height: 1.8; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scaleY(.65); } 50% { opacity: 1; transform: scaleY(1); } }
@media (max-width: 600px) {
  .masthead { padding-top: 34px; }
  h1 { font-size: 34px; }
  .product-name { margin-top: 14px; font-size: 13px; }
  .intro-hint { margin-top: 12px; font-size: 11px; }
  .view-footer { padding-bottom: 25px; }
}
@media (max-width: 360px) {
  .masthead { padding: 25px 16px 0; }
  h1 { font-size: 30px; }
  .product-name { margin-top: 11px; font-size: 12px; }
  .intro-hint { margin-top: 9px; font-size: 10px; }
  .view-footer { padding-bottom: 17px; }
  .view-caption { font-size: 10px; }
  .gesture-hint { margin-top: 5px; font-size: 9px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .masthead { padding: 10px 16px 0; }
  h1 { font-size: 23px; }
  .product-name { margin-top: 5px; font-size: 11px; line-height: 1.4; }
  .intro-hint { display: none; }
  .view-footer { padding-bottom: 8px; }
  .view-caption { font-size: 9px; }
  .gesture-hint { margin-top: 3px; font-size: 9px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
