/* /ugc: AI creator videos. Tokens come from /styles.css. */
.u-hero { padding: clamp(36px, 6vw, 72px) 0 var(--s5); max-width: 720px; }
.u-hero h1 { max-width: 14ch; font-size: clamp(40px, 5vw, 68px); }
.u-chip { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-micro); font-weight: 600; color: var(--green); background: var(--wash); padding: 6px 12px; border-radius: 999px; margin-bottom: var(--s3); }
.u-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.u-off { padding: 14px 18px; border-radius: var(--radius); background: #fdf6e3; color: #6b4a00; font-size: var(--t-small); margin-bottom: var(--s5); max-width: 720px; }
.u-off a { color: inherit; font-weight: 700; }

.u-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.u-form { display: grid; gap: var(--s5); min-width: 0; }
.u-step { border: 0; padding: 0 0 var(--s5); margin: 0; border-bottom: 1px solid var(--hair); display: grid; gap: var(--s3); min-width: 0; }
.u-step legend { font-stretch: var(--wide); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; margin-bottom: var(--s3); padding: 0; }
.u-n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; display: inline-grid; place-items: center; font-stretch: 100%; }
.field em { font-style: normal; color: var(--soft); font-weight: 400; }
.u-step textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); resize: vertical; width: 100%; background: #fff; color: var(--ink); }
.u-step textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }

.u-drop { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); cursor: pointer; background: #fbfcfb; transition: border-color .15s, background .15s; }
.u-drop:hover, .u-drop.over { border-color: var(--green); background: var(--wash); }
.u-drop img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--hair); }
.u-drop-copy { display: grid; gap: 2px; font-size: var(--t-small); color: var(--soft); }
.u-drop-copy b { color: var(--ink); font-size: 16px; }

.u-filter { display: flex; gap: 6px; }
.u-filter button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.u-filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.u-creators { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; max-height: 452px; overflow: auto; padding: 4px; align-content: start; }
.u-c { width: 100%; }
.u-c { position: relative; aspect-ratio: 9 / 14; border-radius: 12px; overflow: hidden; background: #eef1ef; border: 0; padding: 0; cursor: pointer; }
.u-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.u-c:hover img { transform: scale(1.04); }
.u-c span { position: absolute; left: 8px; bottom: 7px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.u-c[aria-checked="true"] { outline: 3px solid var(--green); outline-offset: 2px; }
.u-c.sk { cursor: default; background: linear-gradient(90deg, #eef2ef 0%, #f7f9f8 40%, #eef2ef 80%); background-size: 200% 100%; animation: ushimmer 1.4s linear infinite; }
@keyframes ushimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.u-none { grid-column: 1 / -1; color: var(--soft); font-size: var(--t-small); padding: 20px 0; }

.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--wash); }
#u-write { justify-self: start; }
.u-lines { display: grid; gap: 8px; }
.u-lines:empty { display: none; }
.u-line { text-align: left; font: inherit; font-size: 15px; line-height: 1.4; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.u-line:hover, .u-line.on { border-color: var(--green); background: var(--wash); }
.u-hint, .u-fine { font-size: var(--t-micro); color: var(--soft); }
.u-go { margin-top: calc(var(--s2) * -1); }

.u-stage { position: sticky; top: 24px; display: grid; gap: var(--s4); justify-items: center; }
.u-phone { width: 300px; padding: 10px; border-radius: 44px; background: #111; box-shadow: 0 30px 60px -20px rgba(22,37,30,.35); }
.u-screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; overflow: hidden; background: #1c1f1d; }
.u-screen video, .u-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.u-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #8a948e; font-size: 14px; }
.u-cap { position: absolute; left: 14px; right: 14px; bottom: 70px; color: #fff; font-weight: 700; font-size: 17px; line-height: 1.25; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.u-status { position: absolute; left: 12px; right: 12px; top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 600; }
.u-status i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--green); animation: uspin .8s linear infinite; flex: none; }
@keyframes uspin { to { transform: rotate(360deg); } }
.u-after { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.u-foot { padding: var(--s5) 0 var(--s6); border-top: 1px solid var(--hair); font-size: var(--t-micro); color: var(--soft); }
.u-foot a { color: inherit; }

@media (max-width: 900px) {
  .u-grid { grid-template-columns: 1fr; }
  .u-stage { position: static; order: -1; }
  .u-phone { width: 210px; padding: 8px; border-radius: 34px; }
  .u-screen { border-radius: 27px; }
  .u-creators { grid-template-columns: repeat(3, 1fr); max-height: 520px; }
}
@media (max-width: 720px) { .nav nav a:not([aria-current]) { display: none; } }
.u-c { aspect-ratio: auto; height: 0; padding: 0 0 155.5%; }
