@charset "UTF-8";

  /* ═══ P1.5 POLISH — premium feel, no new data, no fake AI ═══ */

  /* Pills: spring transform + accent glow on active */
  #ev2ModeChooser .ev2-mc-pill {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(.2,1.2,.3,1), border-color 0.25s ease, box-shadow 0.3s ease, background 0.25s ease;
  }
  #ev2ModeChooser .ev2-mc-pill::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(120% 80% at 0% 0%, rgba(255,190,46,0.08), transparent 60%);
    opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
  }
  #ev2ModeChooser .ev2-mc-pill:hover { transform: translateY(-1px); }
  #ev2ModeChooser .ev2-mc-pill:hover::before { opacity: 1; }
  #ev2ModeChooser .ev2-mc-pill.ev2-pill-active {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 8px 32px rgba(255,190,46,0.18), 0 0 0 1px rgba(255,190,46,0.45);
    animation: ev2p15PillPulse 2.4s ease-in-out infinite;
  }
  #ev2ModeChooser .ev2-mc-pill.ev2-pill-active::before { opacity: 1; }
  @keyframes ev2p15PillPulse {
    0%,100% { box-shadow: 0 8px 32px rgba(255,190,46,0.18), 0 0 0 1px rgba(255,190,46,0.45); }
    50%     { box-shadow: 0 10px 40px rgba(255,190,46,0.28), 0 0 0 1px rgba(255,190,46,0.55); }
  }
  #ev2ModeChooser .ev2-mc-pill.ev2-pill-active .ev2-mc-pill-title {
    background: linear-gradient(90deg, #FFD700, #FFBE2E);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Estimated clips badge on AI pill */
  .ev2p15-est-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 9px; font-weight: 900; padding: 2px 7px;
    border-radius: 4px; letter-spacing: 0.5px; margin-left: 4px;
    background: linear-gradient(135deg, rgba(62,232,165,0.18), rgba(62,232,165,0.08));
    color: #3EE8A5; border: 1px solid rgba(62,232,165,0.25);
    animation: ev2p15BadgeIn 0.4s cubic-bezier(.2,1.3,.3,1);
  }
  @keyframes ev2p15BadgeIn {
    from { opacity: 0; transform: translateY(-4px) scale(0.8); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Launch button — bigger presence on active */
  #ev2GenerateBtn {
    position: relative; overflow: hidden;
  }
  #ev2GenerateBtn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transform: translateX(-100%); transition: transform 0.8s ease;
  }
  #ev2GenerateBtn:hover::after { transform: translateX(100%); }

  /* Metadata teaser — gradient border + staggered reveal */
  #ev2MetaTeaser.ev2-active {
    animation: ev2p15TeaserIn 0.4s cubic-bezier(.2,1,.3,1);
    background: linear-gradient(135deg, rgba(107,163,255,0.06), rgba(255,190,46,0.04));
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
  }
  #ev2MetaTeaser.ev2-active::before {
    content: ''; position: absolute; inset: -1px; z-index: -1;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(107,163,255,0.35), rgba(255,190,46,0.35));
    opacity: 0.5;
  }
  @keyframes ev2p15TeaserIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  #ev2MetaThumb {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  }
  #ev2MetaTeaser:hover #ev2MetaThumb { transform: scale(1.02); }

  /* Smart signals row */
  .ev2p15-signals {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
    font-family: var(--font-main);
  }
  .ev2p15-signal {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; padding: 4px 9px;
    border-radius: 20px; letter-spacing: 0.2px;
    background: rgba(255,190,46,0.08); border: 1px solid rgba(255,190,46,0.18);
    color: var(--accent-gold);
    opacity: 0; transform: translateY(-3px);
    animation: ev2p15SignalIn 0.35s cubic-bezier(.2,1.2,.3,1) forwards;
  }
  .ev2p15-signal.ev2p15-sig-audience {
    background: rgba(62,232,165,0.08); border-color: rgba(62,232,165,0.2);
    color: #3EE8A5;
  }
  .ev2p15-signal.ev2p15-sig-yield {
    background: rgba(107,163,255,0.08); border-color: rgba(107,163,255,0.2);
    color: var(--accent-blue);
  }
  .ev2p15-signal.ev2p15-sig-fit {
    background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.2);
    color: #C084FC;
  }
  .ev2p15-signal:nth-child(1) { animation-delay: 0.12s; }
  .ev2p15-signal:nth-child(2) { animation-delay: 0.22s; }
  .ev2p15-signal:nth-child(3) { animation-delay: 0.32s; }
  .ev2p15-signal:nth-child(4) { animation-delay: 0.42s; }
  @keyframes ev2p15SignalIn {
    to { opacity: 1; transform: translateY(0); }
  }

  /* AI-reading pulse during load */
  .ev2p15-reading {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
    color: rgba(255,190,46,0.9); text-transform: uppercase;
    padding: 3px 9px; border-radius: 20px;
    background: rgba(255,190,46,0.06); border: 1px solid rgba(255,190,46,0.18);
    margin-top: 6px;
  }
  .ev2p15-reading-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-gold);
    animation: ev2p15Dot 1.2s ease-in-out infinite;
  }
  @keyframes ev2p15Dot {
    0%,100% { transform: scale(0.7); opacity: 0.5; }
    50%     { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px var(--accent-gold); }
  }

  /* Label + workflow header — premium uplift */
  #ev2ModeChooser .ev2-mc-label {
    background: linear-gradient(90deg, var(--text-muted), rgba(255,190,46,0.6), var(--text-muted));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: ev2p15LabelShine 6s linear infinite;
  }
  @keyframes ev2p15LabelShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
