/* EP21 Berry Scale Styles */
.ep21-scale-wrap {
  position: absolute; right: 20px; bottom: 20px; z-index: 100;
  display: flex; flex-direction: column; max-width: 440px; width: calc(100% - 40px);
  pointer-events: auto; animation: ep21FadeIn 0.3s ease;
}
@keyframes ep21FadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.ep21-panel {
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(16px);
  border: 1px solid rgba(236, 72, 153, 0.4); border-radius: 18px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 36px rgba(0,0,0,0.5);
}
.ep21-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ep21-badge { background: linear-gradient(135deg, #ec4899, #db2777); color: white; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.ep21-hint { font-size: 12px; color: #fbcfe8; font-weight: 600; }
.ep21-slider-row { display: flex; align-items: center; justify-content: space-between; background: rgba(30,41,59,0.7); padding: 10px 14px; border-radius: 12px; }
.ep21-slider-row span { font-size: 13px; color: #94a3b8; }
.ep21-slider-row b { color: #f472b6; font-size: 16px; }
.ep21-choice-row { display: flex; gap: 8px; }
.ep21-opt-btn {
  flex: 1; padding: 10px 8px; font-size: 13px; font-weight: 700; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(15,23,42,0.8); color: #f8fafc; cursor: pointer;
  min-height: 44px; transition: all 0.2s ease;
}
.ep21-opt-btn.active { border-color: #ec4899; background: rgba(236, 72, 153, 0.25); color: #fbcfe8; }
.ep21-btn {
  width: 100%; padding: 12px; font-size: 14px; font-weight: 800; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #ec4899, #be185d); color: white; cursor: pointer; min-height: 48px;
  transition: all 0.2s ease;
}
.ep21-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ep21-status-msg { font-size: 12px; font-weight: 700; color: #fbcfe8; text-align: center; min-height: 18px; }
.screen-container.ep21-activity-screen .cinema-cut.active { animation: none; transform: none; }
.ep21-shrink-shot {
  position: absolute; inset: 0; z-index: 20;
  display: block; width: 100%; height: 100%; object-fit: contain;
  background: #24152d; pointer-events: none;
}

@media (min-width: 769px) {
  .screen-container.ep21-split-screen .cinema-cut,
  .screen-container.ep21-result-screen .cinema-cut { width: calc(100% - 270px); }
  .screen-container.ep21-split-screen .ep21-shrink-shot { width: calc(100% - 270px); }
  .screen-container.ep21-split-screen .ep21-scale-wrap {
    right: 10px; bottom: 20px; width: 250px; max-width: 250px;
  }
  .screen-container.ep21-split-screen .ep21-panel { padding: 12px; gap: 8px; }
  .screen-container.ep21-split-screen .ep21-title-row { justify-content: center; text-align: center; }
  .screen-container.ep21-split-screen .ep21-slider-row,
  .screen-container.ep21-split-screen .ep21-choice-row { flex-direction: column; text-align: center; }
  .screen-container.ep21-split-screen .ep21-opt-btn { min-height: 40px; }
  .screen-container.ep21-result-screen .cinema-cut.active { animation: none; transform: none; }
  .screen-container.ep21-result-screen .ep21-complete-wrap {
    position: absolute; z-index: 100; right: 10px; bottom: 20px;
    width: 250px; max-width: 250px; margin: 0;
  }
  .screen-container.ep21-result-screen .ep21-complete-card { padding: 14px 12px; }
  .screen-container.ep21-result-screen .ep21-complete-card h3 { font-size: 16px; margin: 6px 0; }
  .screen-container.ep21-result-screen .ep21-complete-card p { font-size: 12px; line-height: 1.5; margin: 6px 0; }
}

.ep21-complete-wrap { width: 100%; max-width: 900px; margin: 14px auto 0; animation: ep21FadeIn 0.4s ease; }
.ep21-complete-card {
  background: rgba(15, 23, 42, 0.92); border: 1px solid rgba(236, 72, 153, 0.4);
  border-radius: 20px; padding: 20px 24px; text-align: center;
}
.ep21-complete-icon { display: inline-block; background: rgba(236, 72, 153, 0.2); color: #f472b6; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
.ep21-comp-btn.primary { background: linear-gradient(135deg, #ec4899, #db2777); color: white; border: none; padding: 10px 18px; border-radius: 12px; font-weight: 700; cursor: pointer; margin-top: 10px; }

.ep21-silent-next-wrap {
  width: 100%; max-width: 900px; margin: 12px auto 0; text-align: center;
}
.ep21-silent-next-btn {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white; border: none; padding: 12px 24px; border-radius: 14px;
  font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.4);
}

@media (max-width: 768px) {
  .ep21-scale-wrap { position: relative; right: auto; bottom: auto; width: 100%; max-width: 100%; margin: 12px auto 0; }
}
