/* ep10-player.css: Tooto's Variable Star Pouch UI */

/* Desktop / Default Layout: Bottom-Right placement */
#ep10VariableWrap {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 380px;
  width: calc(100% - 40px);
  z-index: 30;
  pointer-events: auto;
  animation: ep10FadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep10-pouch-card {
  background: rgba(15, 23, 42, 0.88);
  border: 2px solid rgba(45, 212, 191, 0.45);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(45, 212, 191, 0.2);
  backdrop-filter: blur(12px);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ep10-pouch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep10-pouch-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: -0.2px;
}

.ep10-target-pill {
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(45, 212, 191, 0.2);
  color: #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.ep10-counter-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(2, 6, 23, 0.65);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.ep10-counter-icon {
  font-size: 1.6rem;
}

.ep10-counter-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
}

.ep10-counter-num {
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  min-width: 36px;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ep10-counter-num.bump {
  animation: ep10Bump 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ep10-pouch-actions {
  display: flex;
  gap: 10px;
}

.ep10-btn {
  flex: 1;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  padding: 8px 12px;
}

.ep10-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.ep10-btn-add {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
}

.ep10-btn-add:hover:not(:disabled) {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.5);
}

.ep10-btn-reset {
  background: rgba(51, 65, 85, 0.8);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
  max-width: 120px;
}

.ep10-btn-reset:hover:not(:disabled) {
  background: rgba(71, 85, 105, 0.9);
  color: #ffffff;
}

.ep10-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ep10-pouch-hint {
  font-size: 0.78rem;
  text-align: center;
  color: #cbd5e1;
  min-height: 1.2em;
}

/* Complete Card (Placed below the screen container) */
.ep10-complete-wrap {
  width: 100%;
  max-width: 720px;
  margin: 16px auto;
  padding: 0 16px;
  animation: ep10FadeUp 0.4s ease;
}

.ep10-complete-card {
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid rgba(45, 212, 191, 0.4);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.ep10-complete-icon {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.ep10-complete-card h3 {
  color: #2dd4bf;
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.ep10-complete-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.ep10-cert-btn {
  min-height: 48px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #14b8a6, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4);
}

/* Mobile Responsive Mode: Move outside image to prevent ANY occlusion */
@media (max-width: 680px) {
  #ep10VariableWrap {
    position: static;
    max-width: 100%;
    width: 100%;
    margin: 12px auto 0 auto;
    padding: 0 12px;
  }
}

@keyframes ep10FadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ep10Bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
