.hamse-music {
  position: fixed;
  left: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d9d2c8;
  border-radius: 24px;
  background: #fffdf8;
  color: #514338;
  box-shadow: 0 3px 16px #342a2014;
  font: 500 12px/1.2 Arial, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
.hamse-music > span:first-child { font-size: 19px; }
.hamse-music[data-playing="true"] { background: #eee7dc; border-color: #b4a28d; }
.hamse-music[data-playing="true"] > span:first-child::after { content: ' ·'; }
.hamse-music:focus-visible { outline: 2px solid #705c49; outline-offset: 4px; }
@media (max-width: 980px) {
  .hamse-music--product { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}

html.hamse-navigating::before { content: ''; position: fixed; inset: 0 0 auto; height: 2px; background: #91847f; z-index: 9999; pointer-events: none; animation: hamse-loading 1.2s ease-in-out infinite; transform-origin: left; }
@keyframes hamse-loading { from { transform: scaleX(.1); } to { transform: scaleX(.95); } }
@media (prefers-reduced-motion: reduce) { html.hamse-navigating::before { animation: none; } }
