/* mywork gate + player -- reuses design tokens from ../styles.css
   (colors, fonts, spacing, radius) so it stays visually consistent
   with the rest of the site. */

.mywork-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  color: var(--paper);
  padding: var(--space-3);
}

.mywork-gate {
  width: 100%;
  max-width: 32rem;
}

.mywork-step h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 450;
  margin: var(--space-1) 0 var(--space-2);
}

.mywork-copy {
  color: rgba(241, 243, 239, 0.7);
  margin-bottom: var(--space-3);
}

.mywork-form {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.mywork-form--stacked {
  flex-direction: column;
  align-items: stretch;
}

.mywork-password-wrap {
  position: relative;
  display: flex;
}

.mywork-password-wrap input {
  padding-right: 2.75rem;
}

.mywork-password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: rgba(241, 243, 239, 0.6);
  cursor: pointer;
}

.mywork-password-toggle:hover,
.mywork-password-toggle:focus-visible {
  color: var(--paper);
}

.mywork-form input {
  flex: 1;
  min-width: 12rem;
  background: transparent;
  border: 1px solid var(--line-on-void);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}

.mywork-form input:focus-visible {
  outline: 2px solid #90BD54;
  outline-offset: 2px;
}

.mywork-button {
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--void);
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}

.mywork-button:hover {
  opacity: 0.85;
}

.mywork-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mywork-status {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  color: #90BD54;
  min-height: 1.2em;
}

.mywork-status--error {
  color: #E07A5F;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-watermark {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  pointer-events: none;
  user-select: none;
}

.mywork-note-small {
  margin-top: var(--space-2);
  font-size: 0.8rem;
  color: rgba(241, 243, 239, 0.5);
}

@media (max-width: 480px) {
  .mywork-form {
    flex-direction: column;
  }
}
