:root {
  color-scheme: light;
  background: #e4e3e7;
  color: #14202a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
[hidden] { display: none !important; }
#nl-badge-frame, #nl-hud-frame { display: none !important; }
.showcase {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  text-align: center;
}
.masthead { padding: 34px 20px 0; }
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; overflow-wrap: anywhere; }
.product-name:empty { display: none; }
.intro-hint { margin-top: 13px; color: #666d75; font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
#stage { position: relative; min-width: 0; min-height: 0; }
canvas { display: block; width: 100%; height: 100%; position: absolute; touch-action: none; cursor: grab; -webkit-tap-highlight-color: transparent; user-select: none; }
canvas:active { cursor: grabbing; }
canvas:focus-visible { outline: 2px solid #557a96; outline-offset: -5px; }
#message, .no-script { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: #e4e3e7; color: #626b72; font-size: 12px; }
.view-footer { padding: 0 16px 26px; }
.view-caption, #parts { display: flex; justify-content: center; align-items: center; gap: 8px; }
.view-caption { color: #626b72; font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.caption-divider { color: #939aa0; }
.gesture-hint { margin-top: 7px; color: #666d75; font-size: 10px; line-height: 1.7; letter-spacing: .05em; }
@media (max-width: 600px) {
  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; }
}
