/* Keep the full arrangement footprint available in every phase. */
.discover .arrangement,
.discover .arrange-detail,
.share .route-dot,
.share .link-sheet,
.share .friend-sheet { transition: none; }
.discover .arrange-detail { max-height: none; }
.arrange-detail .arrange-time,
.arrange-detail .arrange-region { display: inline-block; margin-inline: 0; }
.discover[data-phase="2"] .arrangement { transform: none; }
.share[data-phase="0"] .link-sheet { visibility: hidden; }
.share[data-phase="0"] .share-note { opacity: .78; }
.work-demo { min-width: 0; width: 100%; }
.work-demo .work-art { margin-inline: auto; }
.demo-controls > div { flex-wrap: wrap; }
.language { min-width: 44px; min-height: 44px; padding: 0 5px; border: 0; background: none; font-size: 13px; white-space: nowrap; }
.motion-story { padding-block: clamp(28px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.motion-story h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 24px; }
.motion-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(20px, 5vw, 64px); }
.motion-clip { margin: 0; min-width: 0; }
.motion-clip img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--scene); }
.motion-clip figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding-top: 8px; color: var(--muted); font-size: 13px; }
.motion-clip button, .motion-clip a { min-height: 44px; display: inline-flex; align-items: center; }
.motion-clip button { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; }
.share-media { min-width: 0; }
.motion-interactive { margin-top: 8px; }
.motion-interactive summary { min-height: 44px; padding-block: 10px; cursor: pointer; }
.work-motion .motion-clip { max-width: 840px; }
html[lang="en"] .mw_sector[data-map-wheel-option] .mw_content { top: var(--map-wheel-y); }
html[lang="en"] .mw_sector:is([data-map-wheel-option="boardgames"], [data-map-wheel-option="billiards"], [data-map-wheel-option="basketball"]) .mw_content { top: calc(var(--map-wheel-y) - 2cqw); }
html[lang="en"] .mw_name { width: auto; font-size: clamp(10px, 3.4cqw, 14px); line-height: 1.15; }
html[lang="en"] [data-map-wheel-option="boardgames"] .mw_name { translate: 0 -1cqw; }
@media (max-width: 700px) {
  .brand-mode { display: none; }
  .motion-story-grid { grid-template-columns: minmax(0, 1fr); }
  html[lang="en"] .share-layout { grid-template-columns: minmax(0, 1fr); }
  html[lang="en"] .share { min-height: 380px; }
  html[lang="en"] .mw_icon { width: clamp(25px, 12cqw, 42px); }
}

.company-identity {
  display: grid;
  gap: .25rem;
  margin: 0 0 1.25rem;
  font-size: .875rem;
}
.company-identity strong { font-size: 1rem; }
.site-footer .footer-identity { display: flex; flex-wrap: wrap; gap: .35rem .75rem; }
.motion-image { display: block; width: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.motion-image:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Online product specimens are scoped to the independent preview. */
.publish-scene {
  display: grid;
  justify-items: center;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 14px;
  min-height: 400px;
  aspect-ratio: auto;
  padding: 54px 12px 52px;
  background: #2b383c url("assets/composer-map.webp") center / cover;
  color: #f3efe6;
}
.publish-scene .scene-top { text-shadow: 0 1px 3px #101813; }
.publish-scene .sample, .preview-heading .sample { background: #262822; color: #f3efe6; }
.publish-dial { display: grid; place-items: center; width: min(88%, 420px); aspect-ratio: 1; }
.publish-dial > * { grid-area: 1 / 1; }
.publish-dial .wheel, #publish-stage-wheel, .publish-stage-face { position: relative; inset: auto; width: 100%; aspect-ratio: 1; }
.publish-dial [hidden], .share-preview [hidden], .friend-preview [hidden] { display: none; }
.publish-stage-face { animation: specimen-enter .28s ease-out both; }
.publish-steps { display: flex; justify-content: center; gap: 4px; max-width: 100%; }
.publish-steps button, .publish-bottom button {
  padding: 5px 10px;
  min-height: 36px;
  border: 1px solid #726e62;
  border-radius: 8px;
  background: #292b25;
  color: #f3efe6;
  font-size: 12px;
  cursor: pointer;
}
.publish-steps button[aria-current="step"] { background: #e4dbc7; border-color: #e4dbc7; color: #242620; }
.publish-bottom { position: absolute; bottom: 8px; inset-inline: 12px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.publish-bottom span { padding: 2px 4px; background: #272a25; font-size: 8px; }
.publish-bottom button { flex: none; }
.publish-result { width: 100%; padding: 22px; border: 1px solid #747369; border-radius: 18px; box-shadow: 0 10px 25px #0005; animation: specimen-enter .32s ease-out both; }
.publish-result strong { display: block; font-size: 1.45rem; }
.publish-result p { font-size: .9rem; margin: .4rem 0; }
.publish-result-status { color: #c8dec7; }
.friend-preview, .share-preview {
  padding: clamp(12px, 3vw, 24px);
  min-width: 0;
  border: 1px solid #5d5c54;
  border-radius: 18px;
  background: #2e302c;
  color: #f3efe6;
  color-scheme: dark;
}
.friend-preview { min-height: 307px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.friends_search > span { font-size: 13px; color: #d7d6cd; }
.friend-preview .friends_quickActions { opacity: 1; }
.preview-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d4d9c5; color: #243d34; }
.share-preview { display: grid; align-content: start; justify-items: center; min-height: 375px; background: #2b383c url("assets/composer-map.webp") center / cover; }
.share-preview .preview-heading { width: 100%; text-shadow: 0 1px 3px #000; }
.share-preview .reference_sheet { color: #f4f0e6; }
.share-received { width: min(100%, 366px); height: auto; background: #2e302c; border: 1px solid #5d5c54; border-radius: 18px; animation: specimen-enter .32s ease-out both; }
.share-received .community_detailLead013 { margin-bottom: 14px; }
.publish-bottom a { color: inherit; }
.publish-stage-face .mp_title { max-width: 82%; text-wrap: balance; font-size: min(2.8cqw, 12px); }
.tools.wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@keyframes specimen-enter { from { opacity: .5; translate: 0 6px; } to { opacity: 1; translate: 0; } }
@media (max-width: 700px) {
  .tools.wrap { grid-template-columns: minmax(0, 1fr); }
  .publish-scene { min-height: 360px; }
  .publish-dial { width: min(93%, 420px); }
}
@media (prefers-reduced-motion: reduce) {
  .publish-stage-face, .publish-result, .share-received { animation: none; }
}

