.mirror-body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
max-height: 125vh;
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #f5f5f5;padding-top:20px;
}

.mirror-container {
  position: relative;
  border: 2px solid #c8a45d;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(200, 164, 93, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.05);
  background: #000;
  margin-bottom: 24px;
  transition: transform 0.3s ease;margin-bottom:20px;
}
.mirror-container:hover {
  transform: scale(1.02);
}

.mirror-controls {
  display: flex;
  gap: 12px;
}

.mirror-button {
  background: linear-gradient(145deg, #3a3a3a, #2b2b2b);
  color: #f1d9a7;
  border: 1px solid #c8a45d;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5), inset 0 0 5px rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.mirror-button:hover {
  background: linear-gradient(145deg, #4a4a4a, #333);
  color: #ffe9b5;
  transform: translateY(-2px);
}

.mirror-video {
  width: 60vw;
  max-width: 320px;
  aspect-ratio: 3 / 3;
  transform: scaleX(-1);
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 2px solid #c8a45d;
  box-shadow: 0 0 20px rgba(200, 164, 93, 0.4);
}

.mirror-preview {
  margin-top: 24px;
  text-align: center;
}

.mirror-preview img {
  width: 60vw;
  max-width: 320px;
  aspect-ratio: 3 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #c8a45d;
  box-shadow: 0 0 25px rgba(200, 164, 93, 0.4);
  margin-bottom: 20px; /* 👈 下に余白を追加 */
}


.mirror-canvas {
  display: none;
}
