
/* Ported from .mm-lbl in referans/tasarim.css. Sizes are in `em` so padding
 * and radius scale with the fluid font-size. */

/* Size comes from TableScene's "Etiket Yazı Boyutu". Cormorant is small on the line
 * and thin, so the label is set slightly larger and heavier than the 16px / 400 of
 * the design (which fell back to a sturdier font). It is constant from 1024px up and
 * only shrinks on tablets (768-1023px) and phones, where the slots get narrow. */
.cc_DmYaqkAgRC_8DAnr27mMF .mm-hotspot-label, .cc_DmYaqkAgRC_u2rydYE7CT .mm-hotspot-label {
  display: block;
  max-width: 120%;
  padding: 0.375em 1.125em;
  border-radius: 999px;
  background: var(--mm-cream);
  color: var(--mm-plum);
  text-align: center;
  white-space: normal;
  font-size: var(--mm-label-size, 1.125rem);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.cc_DmYaqkAgRC_8DAnr27mMF .mm-hotspot-label--solo, .cc_DmYaqkAgRC_u2rydYE7CT .mm-hotspot-label--solo {
  background: rgba(250, 247, 242, 0.85);
}

@media (min-width: 768px) {
  .cc_DmYaqkAgRC_8DAnr27mMF [data-mm-hotspot]:hover > .mm-hotspot-label, .cc_DmYaqkAgRC_u2rydYE7CT [data-mm-hotspot]:hover > .mm-hotspot-label, .cc_DmYaqkAgRC_8DAnr27mMF [data-mm-hotspot]:focus-visible > .mm-hotspot-label, .cc_DmYaqkAgRC_u2rydYE7CT [data-mm-hotspot]:focus-visible > .mm-hotspot-label {
    background: radial-gradient(
      ellipse closest-side at 50% 50%,
      rgba(81, 16, 48, 0.16) 0%,
      rgba(81, 16, 48, 0.09) 55%,
      rgba(81, 16, 48, 0) 100%
    );
    color: var(--mm-plum);
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .cc_DmYaqkAgRC_8DAnr27mMF .mm-hotspot-label, .cc_DmYaqkAgRC_u2rydYE7CT .mm-hotspot-label {
    font-size: min(var(--mm-label-size, 1.125rem), max(0.8125rem, 1.7vw));
  }
}

@media (max-width: 767.98px) {
  .cc_DmYaqkAgRC_8DAnr27mMF .mm-hotspot-label, .cc_DmYaqkAgRC_u2rydYE7CT .mm-hotspot-label {
    font-size: 0.8125rem;
    padding: 0.25em 0.75em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_DmYaqkAgRC_8DAnr27mMF .mm-hotspot-label, .cc_DmYaqkAgRC_u2rydYE7CT .mm-hotspot-label {
    transition: none;
  }
}
