.gallery-language { position: relative; flex: none; color: inherit; font-size: 13px; }
.gallery-language > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 9px;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.gallery-language > summary::-webkit-details-marker { display: none; }
.gallery-language > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.gallery-language[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.gallery-language > div {
  position: absolute;
  z-index: 65;
  inset: calc(100% + 3px) 0 auto auto;
  width: 122px;
  padding: 4px;
  background: #fffdf9;
  border: 1px solid #e5d7ca;
  border-radius: 10px;
  box-shadow: 0 10px 28px #17121224;
}
.gallery-language a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
}
.gallery-language a:hover, .gallery-language a[aria-current] { background: #faeee7; }
.hrr-trend-actions { gap: 8px; }
.hrr-trend-actions .gallery-language > div { background: #26232c; border-color: #56505e; }
.hrr-trend-actions .gallery-language a:is(:hover,[aria-current]) { background: #403847; }
.gallery-language-error { padding: 10px; }
@media (max-width: 640px) {
  .hrr-layout-service .hrr-header-inner > .gallery-language { grid-area: 1 / 3; }
  .gallery-language > summary { padding-inline: 5px; font-size: 12px; }
  html[lang=en] .hrr-showroom-main-header .hrr-header .site-nav a { font-size: 12px; }
  html[lang=en] .views .view { font-size: 12px; }
  html[lang=en] .hrr-trend-actions .hrr-switch > summary { font-size: 11px; }
  html:is([lang=en],[lang=ja]) .compact-intro .reference-stats {
    display: grid;
    grid-template-columns: repeat(3, max-content minmax(0, 1fr));
    gap: 4px;
  }
  html:is([lang=en],[lang=ja]) .compact-intro .reference-stats strong { margin-left: 0; }
}
