#odm-portfolio-app,
#odm-portfolio-app *,
#odm-portfolio-app *::before,
#odm-portfolio-app *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #080908;
}

#odm-portfolio-app {
  --odm-bg: #080908;
  --odm-panel: #121412;
  --odm-panel-2: #1b1d1a;
  --odm-panel-3: #22251f;
  --odm-text: #f8f8f0;
  --odm-muted: #b8b9ad;
  --odm-line: rgba(248, 248, 240, 0.14);
  --odm-green: #53d769;
  --odm-gold: #f0bd48;
  --odm-red: #ff6a55;
  --odm-shadow: rgba(0, 0, 0, 0.34);
  --odm-font-ui: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --odm-font-display: "Arial Black", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  background: var(--odm-bg);
  color: var(--odm-text);
  font-family: var(--odm-font-ui);
  letter-spacing: 0;
  min-height: 100vh;
}

#odm-portfolio-app button,
#odm-portfolio-app input,
#odm-portfolio-app select {
  font: inherit;
}

#odm-portfolio-app button {
  cursor: pointer;
}

#odm-portfolio-app svg {
  display: block;
  fill: currentColor;
  height: 19px;
  width: 19px;
}

#odm-portfolio-app h1,
#odm-portfolio-app h2,
#odm-portfolio-app p {
  margin: 0;
}

#odm-portfolio-app h1 {
  font-family: var(--odm-font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.96;
  max-width: 760px;
}

#odm-portfolio-app h2,
#odm-portfolio-app .odm-card-title {
  font-family: var(--odm-font-display);
}

#odm-portfolio-app .odm-topbar {
  align-items: center;
  background: rgba(8, 9, 8, 0.88);
  border-bottom: 1px solid var(--odm-line);
  display: flex;
  gap: 18px;
  height: 64px;
  justify-content: space-between;
  left: 0;
  padding: 0 20px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

#odm-portfolio-app .odm-brand-button,
#odm-portfolio-app .odm-icon-button,
#odm-portfolio-app .odm-action-button,
#odm-portfolio-app .odm-danger-button,
#odm-portfolio-app .odm-text-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

#odm-portfolio-app .odm-brand-button {
  background: transparent;
  color: var(--odm-text);
  padding: 0;
}

#odm-portfolio-app .odm-brand-mark {
  align-items: center;
  background: var(--odm-green);
  border-radius: 10px;
  color: #061008;
  display: inline-flex;
  font-family: var(--odm-font-display);
  font-size: 16px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

#odm-portfolio-app .odm-brand-text {
  font-family: var(--odm-font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

#odm-portfolio-app .odm-nav-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

#odm-portfolio-app .odm-icon-button,
#odm-portfolio-app .odm-text-button {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--odm-line);
  color: var(--odm-text);
  padding: 0 13px;
}

#odm-portfolio-app .odm-icon-button:hover,
#odm-portfolio-app .odm-text-button:hover,
#odm-portfolio-app .odm-portfolio-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(83, 215, 105, 0.55);
}

#odm-portfolio-app .odm-screen {
  min-height: 100vh;
  padding-top: 64px;
}

#odm-portfolio-app .odm-screen.odm-reel {
  padding-top: 0;
}

#odm-portfolio-app .odm-home,
#odm-portfolio-app .odm-admin,
#odm-portfolio-app .odm-contact {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 20px 64px;
}

#odm-portfolio-app .odm-home {
  margin: 0;
  max-width: none;
  padding: 0 0 64px;
}

#odm-portfolio-app .odm-home-hero {
  align-items: center;
  display: grid;
  isolation: isolate;
  min-height: calc(100vh - 64px);
  overflow: hidden;
  position: relative;
}

#odm-portfolio-app .odm-home-media,
#odm-portfolio-app .odm-home-video,
#odm-portfolio-app .odm-home-video-placeholder,
#odm-portfolio-app .odm-home-video-shade {
  inset: 0;
  position: absolute;
}

#odm-portfolio-app .odm-home-media {
  background: #050605;
  z-index: -2;
}

#odm-portfolio-app .odm-home-video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#odm-portfolio-app .odm-home-video-placeholder {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.06) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.045) 50%, transparent 51%),
    linear-gradient(135deg, rgba(83, 215, 105, 0.16), rgba(240, 189, 72, 0.12));
  background-size: 34px 34px, 34px 34px, auto;
}

#odm-portfolio-app .odm-home-video-shade {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52) 62%, rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.42));
  z-index: 1;
}

#odm-portfolio-app .odm-home-masthead {
  color: #faf7ec;
  display: block;
  padding: 22px;
  padding-bottom: 54px;
  position: relative;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.78);
}

#odm-portfolio-app .odm-home-title-lockup {
  display: inline-block;
  max-width: calc(100vw - 36px);
  position: relative;
}

#odm-portfolio-app .odm-home-title-lockup h1 {
  font-family: var(--odm-font-display);
  font-size: clamp(42px, 8.5vw, 116px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  max-width: 100%;
  padding: 0 0 10px;
  text-transform: none;
  width: fit-content;
}

#odm-portfolio-app .odm-home-edition {
  color: rgba(250, 247, 236, 0.88);
  font-family: var(--odm-font-ui);
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
  position: absolute;
  right: 4px;
  text-align: right;
  top: calc(100% + 8px);
  text-transform: uppercase;
  white-space: nowrap;
}

#odm-portfolio-app .odm-home-cue {
  align-items: center;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(250, 247, 236, 0.34);
  border-radius: 8px;
  bottom: 18px;
  color: #faf7ec;
  display: inline-flex;
  gap: 8px;
  height: 42px;
  justify-content: center;
  left: 50%;
  min-width: 220px;
  padding: 0 16px;
  position: absolute;
  transform: translateX(-50%);
  width: auto;
  z-index: 3;
}

#odm-portfolio-app .odm-home-cue span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

#odm-portfolio-app .odm-home-cue svg {
  animation: odm-bob 1200ms ease-in-out infinite;
  height: 17px;
  width: 17px;
}

#odm-portfolio-app .odm-home-browse {
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 20px 0;
}

#odm-portfolio-app .odm-home-head,
#odm-portfolio-app .odm-admin-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}

#odm-portfolio-app .odm-kicker {
  color: var(--odm-gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#odm-portfolio-app .odm-home-copy,
#odm-portfolio-app .odm-muted,
#odm-portfolio-app .odm-help-text {
  color: var(--odm-muted);
  font-weight: 400;
  line-height: 1.55;
}

#odm-portfolio-app .odm-help-text {
  font-size: 13px;
}

#odm-portfolio-app .odm-home-copy {
  max-width: 560px;
  padding-top: 16px;
}

#odm-portfolio-app .odm-home-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
}

#odm-portfolio-app .odm-portfolio-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#odm-portfolio-app .odm-portfolio-card {
  align-items: stretch;
  aspect-ratio: 1.12;
  background: var(--odm-panel);
  border: 1px solid var(--odm-line);
  border-radius: 8px;
  color: var(--odm-text);
  display: grid;
  isolation: isolate;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

#odm-portfolio-app .odm-portfolio-card::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.76)),
    linear-gradient(135deg, rgba(83, 215, 105, 0.16), rgba(240, 189, 72, 0.11));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

#odm-portfolio-app .odm-portfolio-card.has-poster::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.78));
}

#odm-portfolio-app .odm-card-poster {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.76;
  position: absolute;
  width: 100%;
  z-index: -2;
}

#odm-portfolio-app .odm-card-pattern {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.06) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.045) 50%, transparent 51%);
  background-size: 32px 32px;
  inset: 0;
  opacity: 0.72;
  position: absolute;
  z-index: -2;
}

#odm-portfolio-app .odm-card-content {
  align-self: end;
  padding: 18px;
}

#odm-portfolio-app .odm-card-count {
  color: var(--odm-gold);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

#odm-portfolio-app .odm-card-title {
  display: block;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

#odm-portfolio-app .odm-action-button {
  background: var(--odm-green);
  color: #061008;
  font-weight: 850;
  padding: 0 16px;
}

#odm-portfolio-app .odm-action-button:hover {
  transform: translateY(-1px);
}

#odm-portfolio-app .odm-danger-button {
  background: rgba(255, 106, 85, 0.12);
  border-color: rgba(255, 106, 85, 0.36);
  color: #ffd1ca;
  min-height: 36px;
  padding: 0 12px;
}

#odm-portfolio-app .odm-reel {
  background: #020302;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
}

#odm-portfolio-app .odm-reel-post {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 84px 18px 28px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#odm-portfolio-app .odm-video-stage {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 122px);
  width: 100%;
}

#odm-portfolio-app .odm-video-frame {
  aspect-ratio: var(--clip-ratio, 9 / 16);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--odm-shadow);
  max-height: calc(100vh - 138px);
  max-width: calc(100vw - 36px);
  overflow: hidden;
  position: relative;
}

#odm-portfolio-app .odm-video-frame.is-portrait {
  height: min(calc(100vh - 138px), var(--target-height, 1920px));
  width: auto;
}

#odm-portfolio-app .odm-video-frame.is-landscape,
#odm-portfolio-app .odm-video-frame.is-squareish {
  width: min(calc(100vw - 36px), var(--target-width, 1920px));
}

#odm-portfolio-app .odm-video-frame video {
  background: #000;
  cursor: pointer;
  display: block;
  height: 100%;
  object-fit: var(--clip-fit, contain);
  user-select: none;
  width: 100%;
}

#odm-portfolio-app .odm-video-frame video::-webkit-media-controls {
  display: none !important;
}

#odm-portfolio-app .odm-scroll-cue {
  align-items: center;
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  bottom: 26px;
  color: var(--odm-text);
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  position: absolute;
  right: 24px;
  z-index: 5;
}

#odm-portfolio-app .odm-scroll-cue svg {
  animation: odm-bob 1200ms ease-in-out infinite;
}

@keyframes odm-bob {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}

#odm-portfolio-app .odm-empty,
#odm-portfolio-app .odm-error {
  align-items: center;
  display: grid;
  gap: 16px;
  justify-items: start;
  margin: 0 auto;
  max-width: 760px;
  min-height: calc(100vh - 64px);
  padding: 42px 20px;
}

#odm-portfolio-app .odm-empty h1,
#odm-portfolio-app .odm-error h1 {
  font-size: clamp(32px, 5vw, 60px);
}

#odm-portfolio-app .odm-contact {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  min-height: calc(100vh - 64px);
}

#odm-portfolio-app .odm-contact-copy {
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

#odm-portfolio-app .odm-contact-copy h1 {
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 900;
}

#odm-portfolio-app .odm-contact-form {
  background: var(--odm-panel);
  border: 1px solid var(--odm-line);
  border-radius: 8px;
  padding: 18px;
}

#odm-portfolio-app .odm-contact-fields {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#odm-portfolio-app .odm-hidden-field {
  display: none;
}

#odm-portfolio-app .odm-empty-actions,
#odm-portfolio-app .odm-admin-actions,
#odm-portfolio-app .odm-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#odm-portfolio-app .odm-admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
}

#odm-portfolio-app .odm-admin-panel,
#odm-portfolio-app .odm-library-panel,
#odm-portfolio-app .odm-setup-panel {
  background: var(--odm-panel);
  border: 1px solid var(--odm-line);
  border-radius: 8px;
  padding: 16px;
}

#odm-portfolio-app .odm-admin-panel h2,
#odm-portfolio-app .odm-library-panel h2,
#odm-portfolio-app .odm-setup-panel h2 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}

#odm-portfolio-app .odm-form {
  display: grid;
  gap: 13px;
}

#odm-portfolio-app .odm-field {
  display: grid;
  gap: 7px;
}

#odm-portfolio-app .odm-field label {
  color: var(--odm-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#odm-portfolio-app .odm-field input,
#odm-portfolio-app .odm-field select,
#odm-portfolio-app .odm-field textarea {
  background: #0b0d0b;
  border: 1px solid var(--odm-line);
  border-radius: 8px;
  color: var(--odm-text);
  min-height: 42px;
  outline: none;
  padding: 0 12px;
  width: 100%;
}

#odm-portfolio-app .odm-field textarea {
  line-height: 1.45;
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

#odm-portfolio-app .odm-field input[type="file"] {
  align-content: center;
  padding: 9px 12px;
}

#odm-portfolio-app .odm-field input:focus,
#odm-portfolio-app .odm-field select:focus,
#odm-portfolio-app .odm-field textarea:focus {
  border-color: var(--odm-green);
  box-shadow: 0 0 0 3px rgba(83, 215, 105, 0.14);
}

#odm-portfolio-app button:disabled {
  cursor: wait;
  opacity: 0.66;
}

#odm-portfolio-app .odm-status {
  color: var(--odm-gold);
  font-size: 13px;
  min-height: 20px;
}

#odm-portfolio-app .odm-status.is-error {
  color: #ffb8ad;
}

#odm-portfolio-app .odm-status.is-success {
  color: var(--odm-green);
}

#odm-portfolio-app .odm-library-list {
  display: grid;
  gap: 10px;
}

#odm-portfolio-app .odm-clip-row {
  align-items: center;
  background: var(--odm-panel-2);
  border: 1px solid var(--odm-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 10px;
}

#odm-portfolio-app .odm-row-poster {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #070807;
  border: 1px solid var(--odm-line);
  border-radius: 6px;
  display: grid;
  justify-items: center;
  overflow: hidden;
  width: 92px;
}

#odm-portfolio-app .odm-row-poster img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#odm-portfolio-app .odm-row-title {
  font-weight: 780;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#odm-portfolio-app .odm-row-meta {
  color: var(--odm-muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 4px;
}

#odm-portfolio-app .odm-warning-list {
  color: var(--odm-muted);
  display: grid;
  font-size: 14px;
  gap: 7px;
  line-height: 1.45;
  margin: 0;
  padding-left: 18px;
}

@media (min-width: 900px) {
  #odm-portfolio-app .odm-reel-post {
    padding-inline: 28px;
  }

  #odm-portfolio-app .odm-video-frame {
    max-height: calc(100vh - 120px);
    max-width: calc(100vw - 56px);
  }

  #odm-portfolio-app .odm-video-frame.is-portrait {
    height: min(calc(100vh - 120px), var(--target-height, 1920px));
  }

  #odm-portfolio-app .odm-video-frame.is-landscape,
  #odm-portfolio-app .odm-video-frame.is-squareish {
    width: min(calc(100vw - 56px), var(--target-width, 1920px));
  }
}

@media (max-width: 860px) {
  #odm-portfolio-app .odm-home,
  #odm-portfolio-app .odm-admin,
  #odm-portfolio-app .odm-contact {
    padding-top: 28px;
  }

  #odm-portfolio-app .odm-home {
    padding-top: 0;
  }

  #odm-portfolio-app .odm-home-hero {
    min-height: calc(100vh - 58px);
  }

  #odm-portfolio-app .odm-home-head,
  #odm-portfolio-app .odm-admin-head {
    align-items: start;
    display: grid;
  }

  #odm-portfolio-app .odm-portfolio-grid,
  #odm-portfolio-app .odm-admin-grid {
    grid-template-columns: 1fr;
  }

  #odm-portfolio-app .odm-contact {
    grid-template-columns: 1fr;
  }

  #odm-portfolio-app .odm-portfolio-card {
    aspect-ratio: 1.35;
    min-height: 210px;
  }
}

@media (max-width: 580px) {
  #odm-portfolio-app .odm-topbar {
    height: 58px;
    padding: 0 12px;
  }

  #odm-portfolio-app .odm-screen {
    padding-top: 58px;
  }

  #odm-portfolio-app .odm-home-title-lockup h1 {
    font-size: clamp(35px, 12vw, 66px);
    max-width: calc(100vw - 24px);
    padding-bottom: 14px;
    white-space: nowrap;
  }

  #odm-portfolio-app .odm-home-edition {
    font-size: 12px;
    right: 2px;
    top: calc(100% + 7px);
  }

  #odm-portfolio-app .odm-home-browse {
    padding: 28px 12px 0;
  }

  #odm-portfolio-app .odm-brand-text {
    display: none;
  }

  #odm-portfolio-app .odm-icon-button {
    min-height: 38px;
    padding: 0 10px;
  }

  #odm-portfolio-app .odm-icon-button span {
    display: none;
  }

  #odm-portfolio-app .odm-contact-fields {
    grid-template-columns: 1fr;
  }

  #odm-portfolio-app .odm-reel-post {
    padding: 70px 10px 18px;
  }

  #odm-portfolio-app .odm-video-frame {
    border-radius: 6px;
    max-height: calc(100vh - 104px);
    max-width: calc(100vw - 20px);
  }

  #odm-portfolio-app .odm-video-frame.is-portrait {
    height: min(calc(100vh - 104px), var(--target-height, 1920px));
  }

  #odm-portfolio-app .odm-video-frame.is-landscape,
  #odm-portfolio-app .odm-video-frame.is-squareish {
    width: min(calc(100vw - 20px), var(--target-width, 1920px));
  }

  #odm-portfolio-app .odm-scroll-cue {
    bottom: 18px;
    min-height: 34px;
    right: 16px;
  }

  #odm-portfolio-app .odm-clip-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  #odm-portfolio-app .odm-clip-row .odm-danger-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  #odm-portfolio-app .odm-row-poster {
    width: 78px;
  }
}
