/* Scoped application of the existing header geometry to the corrected controls. */
body .may-unified-clay.mtc-button {
  --mtc-height: 48px;
  position: relative !important; display: inline-flex !important; flex: none;
  align-items: center; justify-content: center;
  width: calc(var(--mtc-height) * var(--mtc-ratio)) !important;
  height: var(--mtc-height) !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  border-radius: 12px; background: transparent !important; box-shadow: none !important;
  transform: none !important; filter: none !important; transition: none !important;
  overflow: visible !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  touch-action: pan-y; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
}
body .may-unified-clay.mtc-cta { --mtc-height: 54px; }
body .may-unified-clay.mtc-button.clay-btn:is(:hover,:active,:focus-visible,.clay-is-pressed,.clay-has-imprint) {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  transform: none !important; filter: none !important; transition: none !important;
}
body .may-unified-clay::before, body .may-unified-clay::after,
body .may-unified-clay .clay-imprint { display: none !important; }
body .may-unified-clay .mtc-visual {
  display: block; position: relative; width: 100%; height: 100%;
  aspect-ratio: var(--mtc-ratio); pointer-events: none; transition: transform 150ms ease, filter 150ms ease;
}
body .may-unified-clay :is(.mtc-poster,.mtc-canvas) {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(0,34,43,.23)); pointer-events: none;
}
body .may-unified-clay .mtc-canvas { position: absolute; inset: 0; visibility: hidden; }
body .may-unified-clay[data-mtc-ready="true"] .mtc-canvas { visibility: visible; }
body .may-unified-clay[data-mtc-ready="true"] .mtc-poster { visibility: hidden; }
body .may-unified-clay .mtc-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body .may-unified-clay:focus-visible { outline: 2px solid #c8fff3 !important; outline-offset: 3px; }
.may-clay-action-row { flex-wrap: wrap; }
.may-clay-static-wrapper:hover {
  transform: none !important; filter: none !important;
  box-shadow: var(--may-rest-shadow) !important; border-color: var(--may-rest-border) !important;
  background-color: var(--may-rest-background) !important;
}
.may-clay-static-wrapper::after { display: none !important; }
body .may-unified-clay.mtc-reviews { --mtc-height: 88px; max-width: 100%; }
@media (max-width: 768px) {
  .floating-mobile-actions:has(> .may-unified-clay) { grid-template-columns: 203.765625px minmax(0,1fr); }
  body .may-unified-clay.mtc-reviews { --mtc-height: min(88px, calc((100vw - 32px) / (var(--mtc-ratio)))); }
}
@media (hover: hover) and (pointer: fine) {
  body .may-unified-clay:not(.mtc-held):hover .mtc-visual { transform: translateY(-2px) scale(1.02); filter: drop-shadow(0 2px 3px rgba(0,31,42,.15)); }
  body .may-unified-clay.mtc-cta:not(.mtc-held):hover .mtc-visual { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  body .may-unified-clay .mtc-visual { transition: none; transform: none !important; }
}
/* Error state only: preserve readable, operable labels when photos are unavailable. */
body .may-unified-clay[data-mtc-visual-fallback="true"] {
 background:#e7ddc9 !important;color:#24201c !important;border:1px solid #b9aa91 !important;
}
body .may-unified-clay[data-mtc-visual-fallback="true"] .mtc-visual { visibility:hidden; }
body .may-unified-clay[data-mtc-visual-fallback="true"] .mtc-label {
 position:static;width:auto;height:auto;margin:0;padding:4px 8px;overflow:visible;
 clip-path:none;white-space:normal;text-align:center;font:600 13px/1.15 Arial,sans-serif;
}
