/* ============================================================================
   T2IG UGC AD STUDIO  (/ugc)
   Dark cinematic workspace: a four-step flow on the left, a sticky phone preview + cost + Make button on the
   right (pinned bar on phones). Warm orange -> pink accent for ads, cyan/violet for selection states.
   ========================================================================== */
.ug {
  --o1: #ff7b42; --o2: #ff2d78; --cy: #00e5ff; --vi: #9b5cff; --ok: #4bff9b;
  --grad: linear-gradient(135deg, var(--o1) 0%, var(--o2) 60%, #c23bff 100%);
  --grad-sel: linear-gradient(135deg, var(--cy), var(--vi) 55%, var(--o2));
  --pane: rgba(255,255,255,.04); --pane2: rgba(255,255,255,.07);
  --w8: rgba(255,255,255,.08); --w12: rgba(255,255,255,.12); --w20: rgba(255,255,255,.2);
  --w45: rgba(255,255,255,.45); --w65: rgba(255,255,255,.66);
  position: relative; max-width: 1240px; margin: 0 auto;
  padding: 18px clamp(14px, 3vw, 28px) 40px; color: #fff;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.ug *, .ug *::before, .ug *::after { box-sizing: border-box; }
.ug [hidden], .ug-bottom [hidden] { display: none !important; }
.ug-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(62% 40% at 8% -6%, rgba(255,123,66,.26), transparent 70%),
              radial-gradient(50% 36% at 98% 4%, rgba(255,45,120,.22), transparent 70%),
              radial-gradient(40% 30% at 50% 108%, rgba(155,92,255,.14), transparent 70%); }
.ug > * { position: relative; z-index: 1; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cy, #00e5ff); outline-offset: 3px; }

/* ---------------- hero ---------------- */
.ug-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(14px, 3vw, 34px) 0 clamp(22px, 4vw, 44px); }
.ug-eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 700 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ffb199; padding: 8px 14px 8px 10px; border: 1px solid rgba(255,123,66,.35); border-radius: 999px; background: rgba(255,123,66,.08); }
.ug-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--o2); }
.ug-hero h1 { font: 800 clamp(34px, 5.4vw, 66px)/1.03 'Inter', sans-serif; letter-spacing: -.035em; margin: 16px 0 14px; }
.ug-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ug-hero p { font-size: clamp(15px, 1.7vw, 18px); color: var(--w65); max-width: 52ch; }
.ug-points { list-style: none; margin: 18px 0 22px; display: grid; gap: 9px; }
.ug-points li { position: relative; padding-left: 26px; color: var(--w65); font-size: 14.5px; }
.ug-points li::before { content: ''; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle at 50% 50%, #000 40%, transparent 42%); mask: radial-gradient(circle at 50% 50%, #000 40%, transparent 42%); }
.ug-points b { color: #fff; font-weight: 700; margin-right: 6px; }
.ug-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 700 15px/1 'Inter', sans-serif; background: #fff; color: #0a0b0f; transition: transform .2s, box-shadow .2s; box-shadow: 0 10px 34px rgba(255,255,255,.12); }
.ug-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,255,255,.2); }
.ug-hero-demo { display: flex; justify-content: center; }

/* ---------------- phone frame ---------------- */
.ug-phone { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #000 center/cover;
  border: 1px solid var(--w20); box-shadow: 0 0 0 6px rgba(255,255,255,.035), 0 30px 80px rgba(255,45,120,.18), 0 10px 30px rgba(0,0,0,.6); }
.ug-phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.ug-phone--hero { transform: rotate(2.2deg); }
.ug-phone[data-aspect="16:9"] { aspect-ratio: 16 / 9; width: 100%; max-width: none; border-radius: 22px; }
.ug-badge { position: absolute; left: 12px; top: 12px; font: 700 11px/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); border: 1px solid var(--w20); }
.ug-badge.is-result { background: rgba(75,255,155,.16); border-color: rgba(75,255,155,.5); color: #b6ffd5; }
.ug-stage-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
  background: radial-gradient(80% 60% at 50% 40%, rgba(255,45,120,.25), rgba(8,8,12,.88)); backdrop-filter: blur(10px); }
.ug-stage-ov b { font-size: 17px; letter-spacing: -.01em; }
.ug-stage-ov span { font-size: 13px; color: var(--w65); max-width: 26ch; }
.ug-spin { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--w12); border-top-color: var(--o1); border-right-color: var(--o2); animation: ugspin 0.9s linear infinite; }
@keyframes ugspin { to { transform: rotate(360deg); } }
.ug-bar { width: min(78%, 220px); height: 6px; border-radius: 99px; background: var(--w12); overflow: hidden; margin-top: 6px; }
.ug-bar i { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--grad); transition: width 1.4s linear; }

/* ---------------- layout ---------------- */
.ug-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(18px, 2.6vw, 34px); align-items: start; }
.ug-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.ug-side { position: sticky; top: 84px; align-self: start; }
.ug-side-in { display: grid; gap: 14px; justify-items: stretch; padding: 16px; border-radius: 26px; background: var(--pane); border: 1px solid var(--w12); backdrop-filter: blur(14px); }
.ug-side .ug-phone { justify-self: center; width: min(100%, 250px); }
.ug-side .ug-phone[data-aspect="16:9"] { width: 100%; }

/* ---------------- step cards ---------------- */
.ug-card { padding: clamp(16px, 2.4vw, 26px); border-radius: 24px; background: var(--pane); border: 1px solid var(--w8); transition: border-color .25s, background .25s; scroll-margin-top: 90px; }
.ug-card.is-done { border-color: rgba(75,255,155,.22); }
.ug-card-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ug-card-h h2 { font: 700 20px/1.2 'Inter', sans-serif; letter-spacing: -.02em; }
.ug-card-h p { color: var(--w65); font-size: 14px; margin-top: 3px; }
.ug-card-h > div { flex: 1; min-width: 0; }
.ug-num { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font: 800 15px/1 'Inter', sans-serif; background: var(--grad); box-shadow: 0 6px 20px rgba(255,45,120,.35); }
.ug-num--ghost { background: var(--w8); box-shadow: none; font-size: 12px; }
.ug-state { flex: none; font: 700 11px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--w45); border: 1px solid var(--w12); display: none; }
.ug-state.on { display: inline-block; }
.ug-state.ok { color: #b6ffd5; border-color: rgba(75,255,155,.4); background: rgba(75,255,155,.1); }

/* ---------------- fields ---------------- */
.ug-f { display: grid; gap: 7px; }
.ug-f > span { font: 600 13px/1.2 'Inter', sans-serif; color: #fff; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ug-f > span em { font-style: normal; font-weight: 500; color: var(--w45); font-size: 12px; }
.ug-f input, .ug-f textarea, .ug-f select, .ug-search input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--w12); background: rgba(0,0,0,.35); color: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.ug-f textarea { resize: vertical; min-height: 54px; line-height: 1.45; }
.ug-f input:focus, .ug-f textarea:focus, .ug-f select:focus, .ug-search input:focus { outline: none; border-color: var(--o2); box-shadow: 0 0 0 3px rgba(255,45,120,.2); }
.ug-f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.ug-f select option { background: #14151b; color: #fff; }
.ug-fields { display: grid; gap: 14px; margin-top: 16px; }
.ug-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }

/* ---------------- product shots ---------------- */
.ug-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ug-shot { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; border: 1.5px dashed var(--w20); background: rgba(0,0,0,.28); overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--w65); transition: border-color .2s, background .2s, transform .2s; cursor: pointer; }
.ug-shot:hover, .ug-shot.is-over { border-color: var(--o2); background: rgba(255,45,120,.07); transform: translateY(-2px); }
.ug-shot input { display: none; }
.ug-shot .in { display: grid; gap: 6px; padding: 10px; justify-items: center; font-size: 12.5px; }
.ug-shot .in svg { opacity: .8; }
.ug-shot .in b { color: #fff; font-size: 13.5px; }
.ug-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0d0e13; }
.ug-shot.has { border-style: solid; border-color: var(--w20); cursor: default; }
.ug-shot .x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(6px); }
.ug-shot .x:hover { background: var(--o2); }
.ug-shot .tag { position: absolute; left: 8px; bottom: 8px; font: 700 10.5px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: rgba(0,0,0,.6); }

/* ---------------- segmented + chips ---------------- */
.ug-seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--w8); margin-bottom: 14px; }
.ug-seg button { flex: 1 1 auto; padding: 11px 14px; border-radius: 12px; border: 0; background: transparent; color: var(--w65); font: 600 14px/1.1 'Inter', sans-serif; transition: .2s; white-space: nowrap; }
.ug-seg button small { display: block; font-weight: 500; font-size: 11px; opacity: .75; margin-top: 4px; }
.ug-seg button:hover { color: #fff; }
.ug-seg button[aria-selected="true"], .ug-seg button[aria-checked="true"] { background: var(--grad); color: #fff; box-shadow: 0 6px 22px rgba(255,45,120,.3); }
.ug-seg--sm { margin: 16px 0 0; }
.ug-seg--sm button { text-align: left; }
.ug-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 14px; }
.ug-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ug-chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--w12); background: rgba(255,255,255,.03); color: var(--w65); font: 600 13px/1 'Inter', sans-serif; transition: .18s; }
.ug-chip:hover { color: #fff; border-color: var(--w20); }
.ug-chip[aria-checked="true"] { color: #fff; border-color: transparent; background: linear-gradient(#14151b, #14151b) padding-box, var(--grad-sel) border-box; border: 1.5px solid transparent; }
.ug-search { position: relative; flex: 1 1 180px; min-width: 150px; }
.ug-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--w45); pointer-events: none; }
.ug-search input { padding: 10px 12px 10px 36px; border-radius: 999px; font-size: 14px; }
.ug-note { font-size: 12.5px; color: #ffd27a; background: rgba(255,200,87,.08); border: 1px solid rgba(255,200,87,.25); padding: 10px 12px; border-radius: 12px; margin-bottom: 12px; }

/* ---------------- actor grid ---------------- */
.ug-actors { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; min-height: 120px; }
.ug-actor { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 0; padding: 0; background: #14151b; color: #fff; text-align: left; transition: transform .2s, box-shadow .2s; isolation: isolate; }
.ug-actor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s; z-index: -1; }
.ug-actor::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.82)); }
.ug-actor:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.ug-actor:hover img { transform: scale(1.05); }
.ug-actor .nm { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2; font: 600 12.5px/1.2 'Inter', sans-serif; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.ug-actor .nm small { display: block; font-weight: 500; font-size: 10.5px; color: var(--w65); margin-top: 2px; }
.ug-actor .ck { position: absolute; right: 8px; top: 8px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: none; place-items: center; background: var(--grad-sel); font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.ug-actor[aria-pressed="true"] { box-shadow: 0 0 0 2.5px #0a0b0f, 0 0 0 5px var(--cy), 0 14px 38px rgba(0,229,255,.25); }
.ug-actor[aria-pressed="true"] .ck { display: grid; }
.ug-actor.sk { background: linear-gradient(110deg, #14151b 30%, #1d1f27 50%, #14151b 70%); background-size: 200% 100%; animation: ugsk 1.3s linear infinite; }
@keyframes ugsk { to { background-position: -200% 0; } }
.ug-empty { grid-column: 1 / -1; padding: 26px 10px; text-align: center; color: var(--w65); font-size: 14px; }
.ug-more { display: flex; justify-content: center; margin-top: 14px; }
.ug-ghost { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--w20); background: rgba(255,255,255,.04); color: #fff; font: 600 14px/1 'Inter', sans-serif; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.ug-ghost:hover { background: var(--w12); }
.ug-ghost--accent { border-color: rgba(255,123,66,.5); background: rgba(255,123,66,.1); color: #ffd0bd; }
.ug-ghost--accent:hover { background: rgba(255,123,66,.2); }
.ug-ghost[disabled] { opacity: .55; cursor: progress; }

/* upload + auto */
.ug-drop { display: block; position: relative; min-height: 190px; border-radius: 20px; border: 1.5px dashed var(--w20); background: rgba(0,0,0,.28); cursor: pointer; transition: .2s; overflow: hidden; }
.ug-drop:hover, .ug-drop.is-over { border-color: var(--cy); background: rgba(0,229,255,.05); }
.ug-drop-in { min-height: 190px; display: grid; gap: 8px; place-content: center; justify-items: center; text-align: center; padding: 22px; color: var(--w65); font-size: 13.5px; }
.ug-drop-in b { color: #fff; font-size: 16px; }
.ug-drop-in span { max-width: 44ch; }
.ug-drop.has .ug-drop-in { display: none; }
.ug-drop .pv { display: none; align-items: center; gap: 16px; padding: 14px; }
.ug-drop.has .pv { display: flex; }
.ug-drop .pv img { width: 110px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--w20); }
.ug-drop .pv b { display: block; font-size: 15px; }
.ug-drop .pv span { color: var(--w65); font-size: 13px; }
.ug-auto { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,123,66,.09), rgba(155,92,255,.09)); border: 1px solid var(--w12); }
.ug-auto-ic { flex: none; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; background: var(--grad); }
.ug-auto p { color: var(--w65); font-size: 14px; margin-top: 4px; }

/* ---------------- script ---------------- */
.ug-count { font-weight: 600; }
.ug-count.warn { color: #ffd27a; }
.ug-count.over { color: #ff7a8e; }
.ug-pace { height: 6px; border-radius: 99px; background: var(--w8); overflow: hidden; margin-top: 10px; }
.ug-pace i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ok), #ffd27a 80%, #ff7a8e); transition: width .25s; }
.ug-hint { font-size: 12.5px; color: var(--w45); margin-top: 8px; }
.ug-write { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.ug-write .ug-hint { margin: 0; }
.ug-opts { display: grid; gap: 8px; margin-top: 12px; }
.ug-opt { text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--w12); background: rgba(255,255,255,.035); color: #fff; font-size: 14.5px; line-height: 1.45; transition: .2s; }
.ug-opt:hover { border-color: var(--o2); background: rgba(255,45,120,.07); transform: translateY(-1px); }
.ug-opt small { display: block; font: 700 10.5px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #ffb199; margin-bottom: 6px; }
.ug-examples { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ug-examples > span { font: 600 12px/1 'Inter', sans-serif; color: var(--w45); letter-spacing: .08em; text-transform: uppercase; padding-top: 10px; }
.ug-examples > div { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }

/* ---------------- scene ---------------- */
.ug-scene { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 8px; }
.ug-scene button { padding: 14px 12px; border-radius: 14px; border: 1px solid var(--w12); background: rgba(255,255,255,.03); color: var(--w65); font: 600 13.5px/1.2 'Inter', sans-serif; text-transform: capitalize; transition: .18s; text-align: left; }
.ug-scene button:hover { color: #fff; border-color: var(--w20); }
.ug-scene button[aria-checked="true"] { color: #fff; border: 1.5px solid transparent; background: linear-gradient(#14151b, #14151b) padding-box, var(--grad-sel) border-box; }

/* ---------------- recent ---------------- */
.ug-recent-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.ug-recent-row button { flex: none; width: 108px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--w12); background: #000; padding: 0; position: relative; scroll-snap-align: start; }
.ug-recent-row video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ug-recent-row button:hover { border-color: var(--o2); }

/* ---------------- side: summary, cost, go ---------------- */
.ug-sum { list-style: none; display: grid; gap: 7px; font-size: 13.5px; }
.ug-sum li { display: flex; align-items: center; gap: 10px; color: var(--w65); }
.ug-sum li i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; border: 1.5px solid var(--w20); color: transparent; }
.ug-sum li.ok i { background: var(--ok); border-color: var(--ok); color: #04210f; }
.ug-sum li b { color: #fff; font-weight: 600; margin-left: auto; text-align: right; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ug-sum li img { width: 24px; height: 24px; border-radius: 8px; object-fit: cover; margin-left: auto; }
.ug-sum li img + b { margin-left: 0; max-width: 42%; }
.ug-buy { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--w8); }
.ug-cost { display: grid; line-height: 1.15; }
.ug-cost span { font: 600 11px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--w45); }
.ug-cost b { font: 800 26px/1.1 'Inter', sans-serif; letter-spacing: -.02em; margin-top: 4px; }
.ug-cost small { font-size: 11px; color: var(--w45); margin-top: 3px; max-width: 18ch; }
.ug-go { padding: 16px 26px; border-radius: 16px; border: 0; color: #fff; font: 800 16px/1 'Inter', sans-serif; letter-spacing: -.01em; background: var(--grad); box-shadow: 0 10px 34px rgba(255,45,120,.4); transition: transform .2s, box-shadow .2s, opacity .2s; }
.ug-go:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255,45,120,.55); }
.ug-go[disabled] { background: var(--w12); color: var(--w45); box-shadow: none; cursor: not-allowed; }
.ug-go[data-blocked="1"] { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px var(--w20); }
.ug-go[data-blocked="1"]:hover { background: rgba(255,255,255,.16); transform: none; box-shadow: inset 0 0 0 1px var(--w45); }
.ug-go.is-busy { cursor: progress; }
.ug-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ug-btn { display: grid; place-items: center; padding: 13px 14px; border-radius: 14px; background: #fff; color: #0a0b0f; font: 700 14px/1 'Inter', sans-serif; border: 0; text-align: center; transition: .2s; }
.ug-btn:hover { transform: translateY(-1px); }
.ug-btn--ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--w20); }

/* ---------------- alerts (big, readable) ---------------- */
.ug-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255,45,120,.1); border: 1px solid rgba(255,45,120,.4); animation: ugin .3s ease; }
.ug-alert.info { background: rgba(0,229,255,.07); border-color: rgba(0,229,255,.3); }
.ug-alert .ic { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-weight: 800; }
.ug-alert.info .ic { background: var(--grad-sel); }
.ug-alert h4 { font: 700 16px/1.25 'Inter', sans-serif; }
.ug-alert p { font-size: 13.5px; color: var(--w65); margin-top: 4px; }
.ug-alert .row { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.ug-alert .row a, .ug-alert .row button { padding: 10px 16px; border-radius: 999px; background: #fff; color: #0a0b0f; font: 700 13px/1 'Inter', sans-serif; border: 0; }
@keyframes ugin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------- phone: sticky bottom bar ---------------- */
.ug-bottom { display: none; }


/* ---------------- actor window: exactly three rows, scrolls inside itself ---------------- */
.ug-win { position: relative; overflow-y: auto; overflow-x: hidden; padding: 10px; border-radius: 20px; background: rgba(0,0,0,.28); border: 1px solid var(--w8); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; scroll-behavior: smooth; }
.ug-win::-webkit-scrollbar { width: 8px; }
.ug-win::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 8px; }
.ug-win .ug-actors { min-height: 0; }
.ug-actor .lk { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 4px 8px; border-radius: 999px; font: 700 10.5px/1 'Inter', sans-serif; background: rgba(10,11,15,.68); backdrop-filter: blur(6px); border: 1px solid var(--w20); letter-spacing: .02em; }
.ug-winfoot { display: flex; justify-content: space-between; gap: 10px; margin: 8px 4px 0; font: 600 12px/1.2 'Inter', sans-serif; color: var(--w65); }
.ug-hint { color: var(--w45); font-weight: 500; }

/* ---------------- looks slider (under the window, always in view after a pick) ---------------- */
.ug-looks { margin-top: 14px; padding: 14px 14px 12px; border-radius: 20px; background: linear-gradient(180deg, rgba(0,229,255,.07), rgba(155,92,255,.06)); border: 1px solid rgba(0,229,255,.28); animation: ugin .35s ease both; }
@keyframes ugin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ug-looks-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ug-looks-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ug-looks-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 2px solid transparent; background: linear-gradient(#14151b,#14151b) padding-box, var(--grad-sel) border-box; flex: none; }
.ug-looks-who b { display: block; font: 800 16px/1.1 'Inter', sans-serif; }
.ug-looks-who span { display: block; margin-top: 3px; font: 500 12.5px/1.2 'Inter', sans-serif; color: var(--w65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ug-looks-nav { display: flex; gap: 6px; flex: none; }
.ug-looks-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--w20); background: rgba(255,255,255,.05); color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; }
.ug-looks-nav button:hover { background: rgba(255,255,255,.12); }
.ug-looks-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; -webkit-overflow-scrolling: touch; }
.ug-look { flex: 0 0 104px; width: 104px; min-width: 0; max-width: 104px; border: 0; padding: 0; background: none; color: #fff; text-align: left; scroll-snap-align: start; }
.ug-look img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 24%; border-radius: 14px; background: #14151b; border: 2px solid transparent; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ug-look span { display: block; margin-top: 6px; font: 600 11.5px/1.2 'Inter', sans-serif; color: var(--w65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ug-look:hover img { transform: translateY(-2px); }
.ug-look[aria-checked="true"] img { border-color: var(--cy); box-shadow: 0 0 0 2px rgba(0,229,255,.25), 0 10px 26px rgba(0,229,255,.22); }
.ug-look[aria-checked="true"] span { color: #fff; }
.ug-look.sk { height: 150px; border-radius: 14px; background: linear-gradient(110deg, #14151b 30%, #1d1f27 50%, #14151b 70%); background-size: 200% 100%; animation: ugsk 1.3s linear infinite; }

@media (max-width: 1000px) {
  .ug-hero { grid-template-columns: 1fr; }
  .ug-hero-demo { order: -1; }
  .ug-phone--hero { width: min(62vw, 240px); transform: none; }
  .ug-grid { grid-template-columns: 1fr; }
  .ug-side { position: static; }
  .ug-side .ug-buy { display: none; }
  .ug-side-in { padding: 12px; }
  .ug-bottom { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px clamp(14px, 3vw, 28px) calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(10,11,15,0), rgba(10,11,15,.92) 24%); backdrop-filter: blur(12px); }
  .ug-bottom-in { max-width: 680px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(20,21,27,.94); border: 1px solid var(--w20); box-shadow: 0 12px 40px rgba(0,0,0,.55); }
  .ug-bottom-in span { display: block; font: 600 10.5px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--w45); }
  .ug-bottom-in b { font: 800 20px/1.1 'Inter', sans-serif; color: #fff; }
}
@media (max-width: 640px) {
  .ug-shots { gap: 8px; }
  .ug-row2 { grid-template-columns: 1fr; }
  .ug-actors { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ug-actor .nm { font-size: 11px; left: 7px; right: 7px; bottom: 6px; }
  .ug-actor .nm small { display: none; }
  .ug-actor .lk { left: 6px; top: 6px; font-size: 9.5px; padding: 3px 6px; }
  .ug-look { flex-basis: 82px; width: 82px; max-width: 82px; }
  .ug-looks-nav { display: none; }
  .ug-seg button { padding: 10px 10px; font-size: 13px; }
  #ugMode button { flex: 1 1 0; padding-left: 6px; padding-right: 6px; }
  .ug-scene { grid-template-columns: repeat(2, 1fr); }
  .ug-card-h h2 { font-size: 18px; }
  .ug-state { display: none !important; }
  .ug-drop .pv { flex-direction: column; text-align: center; }
  .ug-go { padding: 15px 22px; }
}
@media (prefers-reduced-motion: reduce) { .ug *, .ug-bottom * { animation: none !important; transition: none !important; } .ug-phone--hero { transform: none; } }

/* a long horizontal slider must never widen its column: every ancestor may shrink below its content */
.ug-flow, .ug-card, .ug-looks, .ug-win, #ugLib { min-width: 0; max-width: 100%; }
.ug-looks-row { max-width: 100%; }


/* ============================================================================
   v22g: product link import, "Other" location, soundtrack step
   ========================================================================== */
.ug-opt-tag { font: 600 11px/1 'Inter', sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--w45); border: 1px solid var(--w12); border-radius: 999px; padding: 4px 8px; margin-left: 8px; vertical-align: middle; }

/* link box */
.ug-link { padding: 16px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,123,66,.1), rgba(255,45,120,.07) 55%, rgba(155,92,255,.08)); border: 1px solid rgba(255,123,66,.32); }
.ug-link-l { display: flex; align-items: center; gap: 8px; font: 700 13.5px/1.2 'Inter', sans-serif; color: #fff; margin-bottom: 10px; }
.ug-link-l svg { color: var(--o1); }
.ug-link-row { display: flex; gap: 8px; align-items: stretch; }
.ug-link-row input { flex: 1 1 auto; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--w20); background: rgba(0,0,0,.42); color: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.ug-link-row input::placeholder { color: var(--w45); }
.ug-link-row input:focus { outline: none; border-color: var(--o2); box-shadow: 0 0 0 3px rgba(255,45,120,.2); }
.ug-grab { flex: none; position: relative; padding: 0 22px; min-height: 48px; border-radius: 14px; border: 0; color: #fff; font: 800 14.5px/1 'Inter', sans-serif; background: var(--grad); box-shadow: 0 8px 26px rgba(255,45,120,.35); transition: transform .2s, box-shadow .2s, opacity .2s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ug-grab:hover:not([disabled]) { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(255,45,120,.5); }
.ug-grab .sp { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: ugspin .8s linear infinite; }
.ug-grab.is-busy { cursor: progress; opacity: .9; }
.ug-grab.is-busy .sp { display: inline-block; }
.ug-linkmsg { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--w12); background: rgba(0,0,0,.3); animation: ugin .3s ease both; }
.ug-linkmsg .ic { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--grad-sel); }
.ug-linkmsg h4 { font: 700 15.5px/1.25 'Inter', sans-serif; }
.ug-linkmsg p { font-size: 13.5px; color: var(--w65); margin-top: 3px; }
.ug-linkmsg .row { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.ug-linkmsg .row button { padding: 10px 16px; border-radius: 999px; background: #fff; color: #0a0b0f; font: 700 13px/1 'Inter', sans-serif; border: 0; }
.ug-linkmsg.err { background: rgba(255,45,120,.1); border-color: rgba(255,45,120,.42); }
.ug-linkmsg.err .ic { background: var(--grad); }
.ug-linkmsg.ok { background: rgba(75,255,155,.08); border-color: rgba(75,255,155,.35); }
.ug-linkmsg.ok .ic { background: var(--ok); color: #04210f; }
.ug-linkmsg.work .ic { background: transparent; border: 3px solid var(--w12); border-top-color: var(--o1); border-right-color: var(--o2); border-radius: 50%; animation: ugspin .9s linear infinite; }
.ug-or { display: flex; align-items: center; gap: 12px; margin: 16px 2px 14px; color: var(--w45); font: 600 12px/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.ug-or::before, .ug-or::after { content: ''; flex: 1; height: 1px; background: var(--w12); }
.ug-shot.is-active { border-style: solid; border-color: var(--cy); box-shadow: 0 0 0 3px rgba(0,229,255,.22), 0 10px 28px rgba(0,229,255,.18); }
.ug-shot .sw { position: absolute; right: 8px; bottom: 8px; padding: 6px 9px; border-radius: 999px; border: 0; background: rgba(0,0,0,.66); color: #fff; font: 700 10.5px/1 'Inter', sans-serif; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(6px); }
.ug-shot.is-active .sw { background: var(--grad-sel); }
.ug-tray { margin-top: 14px; }
.ug-tray-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ug-tray-h b { font: 700 13.5px/1.2 'Inter', sans-serif; }
.ug-tray-h span { font-size: 12.5px; color: var(--w45); }
.ug-tray-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; max-width: 100%; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; }
.ug-tray-row button { position: relative; flex: 0 0 84px; width: 84px; height: 84px; padding: 0; border-radius: 14px; border: 2px solid transparent; overflow: hidden; background: #0d0e13; transition: transform .2s, border-color .2s; }
.ug-tray-row button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ug-tray-row button:hover { transform: translateY(-2px); }
.ug-tray-row button.used { border-color: var(--o2); }
.ug-tray-row button .n { position: absolute; left: 5px; top: 5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: none; place-items: center; font: 800 11px/1 'Inter', sans-serif; background: var(--grad); }
.ug-tray-row button.used .n { display: grid; }
.ug-tray-row button.is-loading { opacity: .55; cursor: progress; }

/* other location */
.ug-other { margin-top: 12px; animation: ugin .3s ease both; }
.ug-scene button.is-other { text-transform: none; }

/* music */
.ug-mm { margin-top: 2px; }
.ug-mm .ug-chips { margin: 14px 0; }
.ug-mm-lead { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(0,229,255,.07), rgba(155,92,255,.09)); border: 1px solid var(--w12); }
.ug-mm-ic { flex: none; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; background: var(--grad-sel); }
.ug-mm-lead b { font-size: 15px; }
.ug-mm-lead p { font-size: 13.5px; color: var(--w65); margin-top: 3px; }
.ug-mm-lead strong { color: #fff; }
.ug-drop--audio, .ug-drop--audio .ug-drop-in { min-height: 150px; }
.ug-drop--audio.has .pv b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }
.ug-drop--audio .pv .nt { flex: none; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; background: var(--grad-sel); }
.ug-track { margin-top: 12px; display: grid; gap: 12px; }
.ug-track audio { width: 100%; height: 40px; }
.ug-start input[type=range] { padding: 0; accent-color: var(--o2); background: none; border: 0; box-shadow: none; height: 28px; }
.ug-bal-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ug-bal-h b { font-size: 13.5px; }
.ug-bal-h span { font-size: 12.5px; color: var(--w45); }
#ugBalance .ug-seg { margin-top: 8px; }
.ug-musicnote { font-size: 12.5px; color: #cfe; background: rgba(0,229,255,.07); border: 1px solid rgba(0,229,255,.25); padding: 9px 12px; border-radius: 12px; }
.ug-vers { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid var(--w8); }
.ug-vers button { padding: 10px; border-radius: 10px; border: 0; background: transparent; color: var(--w65); font: 700 13px/1 'Inter', sans-serif; }
.ug-vers button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.ug-btn--music { grid-column: 1 / -1; background: var(--grad-sel); color: #fff; }
.ug-btn--music[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 640px) {
  .ug-link { padding: 12px; }
  .ug-link-row { flex-direction: column; }
  .ug-grab { min-height: 50px; }
  .ug-mm-lead { align-items: flex-start; }
  .ug-tray-row button { flex-basis: 74px; width: 74px; height: 74px; }
}

/* swap button never clips on narrow tiles */
.ug-shot .tag { left: 6px; bottom: 6px; padding: 5px 7px; font-size: 9.5px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ug-shot .sw { right: 6px; bottom: 6px; padding: 5px 8px; font-size: 9.5px; }


/* v24a: "What makes it good" - filled from the product page, or written by the AI */
.ug-claims > label { display: block; }
.ug-claimsbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.ug-ai { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, rgba(255,90,60,.18), rgba(176,56,255,.22)); color: #fff; font: 700 13.5px/1 'Inter', sans-serif; cursor: pointer; transition: transform .15s, border-color .2s, box-shadow .2s; }
.ug-ai:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.4); box-shadow: 0 8px 24px -10px rgba(255,45,120,.7); }
.ug-ai:disabled { opacity: .65; cursor: progress; transform: none; }
.ug-ai .spark { background: var(--grad-sel, linear-gradient(135deg,#ff7a45,#ff2d78,#b038ff)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 15px; }
.ug-ai.is-busy .spark { animation: ugspin 1s linear infinite; display: inline-block; }
@keyframes ugspin { to { transform: rotate(360deg); } }
.ug-undo { background: none; border: 0; color: var(--w60, rgba(255,255,255,.6)); font: 600 13px/1 'Inter', sans-serif; text-decoration: underline; cursor: pointer; padding: 6px 2px; }
.ug-claimsnote { flex: 1 1 220px; min-width: 0; font: 500 13px/1.4 'Inter', sans-serif; color: var(--w60, rgba(255,255,255,.6)); }
.ug-claimsnote.ok { color: #7ee8b0; }
.ug-claimsnote.err { flex-basis: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,90,90,.45); background: rgba(255,60,60,.1); color: #ffd7d7; font: 600 15px/1.4 'Inter', sans-serif; }


/* v24b: the director's place suggestion */
.ug-suggest { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(135deg, rgba(255,122,69,.10), rgba(176,56,255,.14)); animation: ugin .35s ease both; }
.ug-suggest .sp { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; background: var(--grad-sel, linear-gradient(135deg,#ff7a45,#ff2d78,#b038ff)); }
.ug-suggest h4 { font: 700 15.5px/1.25 'Inter', sans-serif; margin: 0 0 3px; }
.ug-suggest p { margin: 0; font: 500 13.5px/1.45 'Inter', sans-serif; color: rgba(255,255,255,.72); }
.ug-suggest .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ug-suggest .row button { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: 700 12.5px/1 'Inter', sans-serif; cursor: pointer; }
.ug-suggest .row button.go { background: var(--grad-sel, linear-gradient(135deg,#ff7a45,#ff2d78,#b038ff)); border-color: transparent; }
.ug-scene button.is-suggested { box-shadow: 0 0 0 1.5px rgba(255,122,69,.8), 0 0 22px -6px rgba(255,45,120,.7); position: relative; }
.ug-scene button.is-suggested::after { content: '✦ suggested'; position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px; font: 800 9.5px/1.3 'Inter', sans-serif; letter-spacing: .04em; background: #14151b; border: 1px solid rgba(255,122,69,.7); color: #ffb199; }


/* ============================================================================
   v25  NEON STUDIO LOOK  (2026-10-24)
   Same language as the Music Studio: near-black glass, fuchsia / rose / yellow / cyan neon glows, heavy italic caps
   headings, gradient buttons, animated equalizer bars. Everything here overrides the rules above, so to retune the
   whole page edit the tokens in the first block. New "working" indicators (orb + equalizer) live at the bottom.
   MAINTENANCE: the music page is the reference (public/music-app.css, NEON STUDIO THEME block); keep tokens in sync.
   ========================================================================== */
.ug {
  --o1: #facc15; --o2: #f43f5e; --cy: #22d3ee; --vi: #d946ef; --ok: #34d399; --lime: #a3e635; --fu: #e879f9;
  --grad: linear-gradient(100deg, #c026d3, #f43f5e 58%, #fb923c);
  --grad-hot: linear-gradient(100deg, #c026d3, #f43f5e);
  --grad-cta: linear-gradient(100deg, #facc15, #a3e635);
  --grad-cool: linear-gradient(100deg, #22d3ee, #818cf8);
  --grad-warm: linear-gradient(100deg, #facc15, #fb923c);
  --grad-sel: linear-gradient(100deg, #22d3ee, #d946ef 60%, #f43f5e);
  --glass: rgba(16, 16, 33, .9); --ink: #090912;
  --pane: rgba(16, 16, 33, .72); --pane2: rgba(255,255,255,.07);
  --w8: rgba(255,255,255,.09); --w12: rgba(255,255,255,.13);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { background: #07070d !important; }
.ug-glow {
  background:
    radial-gradient(60% 42% at 4% -8%, rgba(217,70,239,.34), transparent 70%),
    radial-gradient(48% 38% at 100% 2%, rgba(34,211,238,.20), transparent 70%),
    radial-gradient(46% 34% at 62% 112%, rgba(244,63,94,.22), transparent 70%),
    radial-gradient(30% 26% at 92% 60%, rgba(250,204,21,.08), transparent 70%);
}
.ug-glow::after { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px; -webkit-mask: radial-gradient(70% 55% at 50% 0%, #000, transparent 75%); mask: radial-gradient(70% 55% at 50% 0%, #000, transparent 75%); }
::selection { background: rgba(217,70,239,.45); }
:focus-visible { outline: 2px solid #22d3ee; outline-offset: 3px; box-shadow: 0 0 18px rgba(34,211,238,.45); }

/* ---------- hero ---------- */
.ug-hero { padding-top: clamp(18px, 3.4vw, 44px); }
.ug-eyebrow { color: #22d3ee; border: 1px solid rgba(34,211,238,.55); background: rgba(34,211,238,.07); box-shadow: 0 0 22px rgba(34,211,238,.28); font-weight: 900; letter-spacing: .18em; gap: 10px; }
.ug-eyebrow i { background: #22d3ee; box-shadow: 0 0 14px #22d3ee; animation: ugpulse 1.6s ease-in-out infinite; }
.ug-hero h1 { font: 900 clamp(38px, 6.2vw, 80px)/.98 'Inter', sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: -.035em; margin: 20px 0 18px; text-wrap: balance; }
.ug-hero h1 .l1 { color: #fff; text-shadow: 0 0 36px rgba(255,255,255,.18); }
.ug-hero h1 em.l2 { font-style: italic; display: inline-block; padding-right: .12em; background: linear-gradient(100deg, #fde047, #f43f5e 52%, #d946ef); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(244,63,94,.55)); }
.ug-hero h1 .l3 { display: inline-block; margin-top: .22em; font-size: .46em; line-height: 1.12; letter-spacing: -.01em; color: #e9e9f5; }
.ug-hero h1 .l3 u { text-decoration: none; color: #22d3ee; text-shadow: 0 0 18px rgba(34,211,238,.85), 0 0 2px rgba(34,211,238,.9); position: relative; }
.ug-hero h1 .l3 u::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.12em; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #22d3ee, #d946ef); box-shadow: 0 0 14px rgba(34,211,238,.9); }
.ug-hero p { color: #b6b9cf; }
.ug-points li::before { background: var(--grad-sel); box-shadow: 0 0 12px rgba(217,70,239,.8); }
.ug-points b { color: #fff; }
.ug-points li:nth-child(1) b { color: #fde047; } .ug-points li:nth-child(2) b { color: #67e8f9; } .ug-points li:nth-child(3) b { color: #fb7185; } .ug-points li:nth-child(4) b { color: #86efac; }
.ug-hero-cta { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.ug-cta { background: var(--grad-cta); color: #05080a; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; font-size: 14px; padding: 18px 28px; border-radius: 18px; box-shadow: 0 0 34px rgba(250,204,21,.5); }
.ug-cta:hover { box-shadow: 0 0 46px rgba(163,230,53,.62); filter: brightness(1.06); }
.ug-free { font-size: 12.5px; color: #8e92ac; max-width: 28ch; line-height: 1.35; }
.ug-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ug-tags span { font: 800 11px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 10px; border: 1px solid currentColor; background: rgba(255,255,255,.03); }
.ug-tags .t-c { color: #67e8f9; box-shadow: 0 0 14px rgba(34,211,238,.3); } .ug-tags .t-r { color: #fb7185; box-shadow: 0 0 14px rgba(244,63,94,.3); }
.ug-tags .t-y { color: #fde047; box-shadow: 0 0 14px rgba(250,204,21,.3); } .ug-tags .t-e { color: #86efac; box-shadow: 0 0 14px rgba(52,211,153,.3); }

/* phone frames: neon ring */
.ug-phone { border: 2px solid rgba(217,70,239,.55); box-shadow: 0 0 0 6px rgba(217,70,239,.07), 0 0 50px -4px rgba(217,70,239,.5), 0 0 90px -20px rgba(34,211,238,.45), 0 30px 70px rgba(0,0,0,.6); }
.ug-phone--hero { animation: ugfloat 6s ease-in-out infinite; }
.ug-badge { color: #fde047; border: 1px solid rgba(250,204,21,.6); background: rgba(7,7,13,.7); font-weight: 900; letter-spacing: .12em; box-shadow: 0 0 14px rgba(250,204,21,.35); }
.ug-badge.is-result { color: #86efac; border-color: rgba(52,211,153,.8); background: rgba(52,211,153,.14); box-shadow: 0 0 16px rgba(52,211,153,.5); }

/* ---------- step cards ---------- */
.ug-card { --sc: #e879f9; background: var(--glass); border: 2px solid rgba(255,255,255,.08); border-radius: 26px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; overflow: hidden; }
.ug-card::before { content: ''; position: absolute; top: -40px; right: -30px; width: 170px; height: 170px; border-radius: 50%; background: var(--sc); opacity: .16; filter: blur(44px); pointer-events: none; }
.ug-card > * { position: relative; }
#ugStep1 { --sc: #e879f9; } #ugStep2 { --sc: #22d3ee; } #ugStep3 { --sc: #facc15; } #ugStep4 { --sc: #fb7185; } #ugStep5 { --sc: #34d399; } .ug-recent { --sc: #818cf8; }
.ug-card:hover { border-color: color-mix(in srgb, var(--sc) 45%, transparent); }
.ug-card.is-done { border-color: color-mix(in srgb, var(--sc) 60%, transparent); box-shadow: 0 0 40px -10px color-mix(in srgb, var(--sc) 70%, transparent); }
.ug-card-h h2 { font: 900 clamp(19px, 2.4vw, 25px)/1.12 'Inter', sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: -.012em; }
.ug-card-h p { color: #a9adc4; }
.ug-num { width: 44px; height: 44px; border-radius: 15px; font: 900 22px/1 'Inter', sans-serif; font-style: italic; color: #07070d; background: var(--sc); box-shadow: 0 0 26px color-mix(in srgb, var(--sc) 80%, transparent); transform: rotate(-4deg); }
.ug-num--ghost { background: rgba(255,255,255,.09); color: #fff; box-shadow: none; transform: none; }
.ug-state { font-weight: 900; letter-spacing: .1em; border-radius: 8px; }
.ug-state.ok { color: #86efac; border-color: rgba(52,211,153,.7); background: rgba(52,211,153,.12); box-shadow: 0 0 14px rgba(52,211,153,.35); }
.ug-opt-tag { color: #fde047; border-color: rgba(250,204,21,.5); font-weight: 900; }

/* ---------- fields ---------- */
.ug-f > span { font-weight: 900; letter-spacing: .09em; text-transform: uppercase; font-size: 11.5px; color: #e9e9f5; }
.ug-f > span em { text-transform: none; letter-spacing: 0; color: #7f84a0; font-weight: 600; }
.ug-f input, .ug-f textarea, .ug-f select, .ug-search input { background: var(--ink); border: 2px solid rgba(255,255,255,.1); border-radius: 16px; font-weight: 600; }
.ug-f input:focus, .ug-f textarea:focus, .ug-f select:focus, .ug-search input:focus { border-color: #22d3ee; box-shadow: 0 0 24px rgba(34,211,238,.35); }
.ug-f select option { background: #101021; }

/* ---------- link box: the hero move of step 1 ---------- */
.ug-link { border: 2px solid transparent; background: linear-gradient(#0d0d1e, #0d0d1e) padding-box, linear-gradient(100deg, #d946ef, #22d3ee 60%, #facc15) border-box; box-shadow: 0 0 40px -10px rgba(217,70,239,.55); border-radius: 22px; }
.ug-link-l { text-transform: uppercase; letter-spacing: .1em; font-weight: 900; font-size: 12px; color: #67e8f9; }
.ug-link-l svg { color: #facc15; }
.ug-link-row input { background: var(--ink); border: 2px solid rgba(255,255,255,.12); border-radius: 16px; }
.ug-link-row input:focus { border-color: #22d3ee; box-shadow: 0 0 24px rgba(34,211,238,.4); }
.ug-grab { background: var(--grad-hot); border-radius: 16px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; box-shadow: 0 0 28px -2px rgba(217,70,239,.65); }
.ug-grab:hover:not([disabled]) { box-shadow: 0 0 38px rgba(244,63,94,.7); filter: brightness(1.1); }
.ug-grab.is-busy { background-size: 200% 100%; background-image: linear-gradient(100deg, #c026d3, #f43f5e, #facc15, #f43f5e, #c026d3); animation: ugslide 1.1s linear infinite; }
.ug-or { color: #7f84a0; font-weight: 800; }
.ug-or::before, .ug-or::after { background: linear-gradient(90deg, transparent, rgba(217,70,239,.5), transparent); }

/* ---------- shots, chips, segments ---------- */
.ug-shot { border: 2px dashed rgba(217,70,239,.45); background: var(--ink); border-radius: 20px; }
.ug-shot:hover, .ug-shot.is-over { border-color: #e879f9; background: rgba(217,70,239,.08); box-shadow: 0 0 26px -4px rgba(217,70,239,.55); }
.ug-shot .in svg { color: #e879f9; opacity: 1; }
.ug-shot.has { border-style: solid; border-color: rgba(34,211,238,.55); box-shadow: 0 0 20px -6px rgba(34,211,238,.5); }
.ug-shot .tag { background: var(--grad-cool); color: #05060b; font-weight: 900; }
.ug-shot.is-active { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34,211,238,.25), 0 0 30px rgba(34,211,238,.4); }
.ug-seg { background: rgba(0,0,0,.6); border-radius: 16px; border: 1px solid rgba(255,255,255,.08); }
.ug-seg button { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; border-radius: 12px; }
.ug-seg button small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.ug-seg button[aria-selected="true"], .ug-seg button[aria-checked="true"] { background: var(--grad-hot); color: #fff; box-shadow: 0 0 20px rgba(217,70,239,.6); }
.ug-chip { background: rgba(255,255,255,.05); font-weight: 800; border-radius: 12px; color: #cdd0e2; }
.ug-chip:hover { border-color: rgba(34,211,238,.6); color: #fff; }
.ug-chip[aria-checked="true"] { background: var(--grad-cool); color: #05060b; border: 1px solid #fff; font-weight: 900; box-shadow: 0 0 16px rgba(34,211,238,.75); transform: scale(1.04); }
.ug-scene button { background: var(--ink); border: 2px solid rgba(255,255,255,.09); border-radius: 16px; font-weight: 800; color: #b6b9cf; }
.ug-scene button:hover { color: #fff; border-color: rgba(34,211,238,.6); }
.ug-scene button[aria-checked="true"] { color: #fff; border: 2px solid transparent; background: linear-gradient(#15152b, #15152b) padding-box, var(--grad-sel) border-box; box-shadow: 0 0 26px -4px rgba(217,70,239,.6); }
.ug-scene button.is-suggested { box-shadow: 0 0 0 1.5px rgba(250,204,21,.85), 0 0 24px -4px rgba(250,204,21,.6); }
.ug-scene button.is-suggested::after { background: #07070d; color: #fde047; border: 1px solid rgba(250,204,21,.7); }

/* ---------- actors ---------- */
.ug-win { background: #090912; border: 2px solid rgba(255,255,255,.07); border-radius: 22px; }
.ug-actor { border-radius: 18px; }
.ug-actor[aria-pressed="true"] { box-shadow: 0 0 0 2.5px #07070d, 0 0 0 5px #22d3ee, 0 0 36px rgba(34,211,238,.55); }
.ug-actor .ck { background: var(--grad-cool); color: #05060b; font-weight: 900; }
.ug-looks { border: 2px solid rgba(34,211,238,.4); background: linear-gradient(180deg, rgba(34,211,238,.08), rgba(217,70,239,.07)); border-radius: 22px; box-shadow: 0 0 34px -10px rgba(34,211,238,.5); }
.ug-look[aria-checked="true"] img { border-color: #22d3ee; box-shadow: 0 0 0 2px rgba(34,211,238,.3), 0 0 26px rgba(34,211,238,.5); }
.ug-drop { border: 2px dashed rgba(217,70,239,.45); background: var(--ink); border-radius: 22px; }
.ug-drop:hover, .ug-drop.is-over { border-color: #22d3ee; background: rgba(34,211,238,.06); box-shadow: 0 0 28px -6px rgba(34,211,238,.5); }
.ug-drop-in svg { color: #e879f9; }
.ug-auto { background: linear-gradient(135deg, rgba(217,70,239,.14), rgba(34,211,238,.08)); border: 2px solid rgba(217,70,239,.4); border-radius: 22px; }
.ug-auto-ic { background: var(--grad-hot); box-shadow: 0 0 24px rgba(217,70,239,.6); }

/* ---------- script ---------- */
.ug-pace { height: 8px; background: rgba(255,255,255,.08); }
.ug-pace i { background: linear-gradient(90deg, #34d399, #facc15 75%, #f43f5e); box-shadow: 0 0 12px rgba(250,204,21,.5); }
.ug-opt { background: var(--ink); border: 2px solid rgba(255,255,255,.09); border-radius: 18px; }
.ug-opt:hover { border-color: #facc15; background: rgba(250,204,21,.07); box-shadow: 0 0 26px -6px rgba(250,204,21,.5); }
.ug-opt small { color: #fde047; font-weight: 900; letter-spacing: .14em; }
.ug-examples > span { color: #67e8f9; font-weight: 900; }
.ug-ghost { border-radius: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.ug-ghost--accent, .ug-ai { border: 1px solid rgba(34,211,238,.6); background: linear-gradient(100deg, rgba(34,211,238,.14), rgba(217,70,239,.16)); color: #fff; box-shadow: 0 0 20px -4px rgba(34,211,238,.45); }
.ug-ghost--accent:hover, .ug-ai:hover { background: linear-gradient(100deg, rgba(34,211,238,.24), rgba(217,70,239,.26)); border-color: #67e8f9; box-shadow: 0 0 28px rgba(34,211,238,.55); }
.ug-ai { border-radius: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.ug-ai .spark { background: linear-gradient(135deg, #fde047, #f43f5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ug-ai.is-busy, .ug-ghost.is-busy { background-size: 200% 100%; background-image: linear-gradient(100deg, rgba(34,211,238,.3), rgba(217,70,239,.4), rgba(250,204,21,.3), rgba(34,211,238,.3)); animation: ugslide 1.2s linear infinite; }
.ug-claimsnote.ok { color: #86efac; }
.ug-suggest { border: 2px solid rgba(250,204,21,.4); background: linear-gradient(135deg, rgba(250,204,21,.09), rgba(217,70,239,.1)); border-radius: 18px; box-shadow: 0 0 30px -10px rgba(250,204,21,.5); }
.ug-suggest .sp { background: var(--grad-warm); color: #1a1000; }
.ug-suggest .row button.go { background: var(--grad-cta); color: #05080a; font-weight: 900; border: 0; }

/* ---------- music card ---------- */
.ug-mm-lead { border: 2px solid rgba(52,211,153,.4); background: linear-gradient(135deg, rgba(52,211,153,.1), rgba(34,211,238,.08)); border-radius: 20px; }
.ug-mm-ic { background: var(--grad-cta); color: #07140a; box-shadow: 0 0 22px rgba(163,230,53,.5); }
.ug-mm-price { margin-top: 9px !important; padding: 9px 12px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px dashed rgba(250,204,21,.55); font-size: 13px !important; color: #e9e9f5 !important; line-height: 1.45; }
.ug-mm-price .pr { display: inline-block; margin-right: 6px; padding: 3px 9px; border-radius: 8px; background: var(--grad-warm); color: #1a1000; font-weight: 900; box-shadow: 0 0 14px rgba(250,204,21,.5); white-space: nowrap; }
.ug-mm-price em { font-style: normal; color: #fde047; font-weight: 800; }
.ug-bal-h b { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #67e8f9; }
.ug-start input[type=range], .range { accent-color: #d946ef; }

/* ---------- side: preview, cost, buttons ---------- */
.ug-side-in { background: var(--glass); border: 2px solid rgba(217,70,239,.4); border-radius: 28px; box-shadow: 0 0 56px -10px rgba(217,70,239,.45), inset 0 0 0 1px rgba(255,255,255,.03); }
.ug-sum li i { border-color: rgba(255,255,255,.22); }
.ug-sum li.ok i { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 10px rgba(52,211,153,.7); }
.ug-sum li b { color: #fff; font-weight: 800; }
.ug-buy { border-top: 1px dashed rgba(255,255,255,.14); }
.ug-cost span { color: #67e8f9; font-weight: 900; letter-spacing: .14em; }
.ug-cost b { font-weight: 900; font-size: 30px; color: #fde047; text-shadow: 0 0 18px rgba(250,204,21,.45); }
.ug-cost small { color: #8e92ac; max-width: 22ch; }
.ug-go { background: var(--grad-cta); color: #05080a; border-radius: 18px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; font-size: 14.5px; box-shadow: 0 0 32px rgba(250,204,21,.5); position: relative; overflow: hidden; }
.ug-go:hover:not([disabled]) { filter: brightness(1.08); box-shadow: 0 0 44px rgba(163,230,53,.62); }
.ug-go[disabled] { background: rgba(255,255,255,.1); color: #7f84a0; }
.ug-go[data-blocked="1"] { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 2px rgba(217,70,239,.55), 0 0 22px -6px rgba(217,70,239,.6); }
.ug-go[data-blocked="1"]:hover { background: rgba(217,70,239,.18); box-shadow: inset 0 0 0 2px #e879f9, 0 0 30px -4px rgba(217,70,239,.7); }
.ug-go.is-busy { background: linear-gradient(100deg, #c026d3, #f43f5e, #facc15, #f43f5e, #c026d3); background-size: 200% 100%; color: #fff; animation: ugslide 1.2s linear infinite; box-shadow: 0 0 34px rgba(244,63,94,.6); }
.ug-btn { border-radius: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; background: var(--grad-cta); color: #05080a; box-shadow: 0 0 22px -4px rgba(250,204,21,.6); }
.ug-btn--ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.ug-btn--music { background: var(--grad-hot); color: #fff; box-shadow: 0 0 26px -2px rgba(217,70,239,.65); }
.ug-musicnote { color: #e9e9f5; background: linear-gradient(135deg, rgba(250,204,21,.09), rgba(52,211,153,.08)); border: 1px solid rgba(250,204,21,.45); border-radius: 14px; padding: 11px 13px; font-size: 12.8px; line-height: 1.5; }
.ug-musicnote b { color: #fde047; } .ug-musicnote strong { color: #fde047; white-space: nowrap; } .ug-musicnote em { font-style: normal; font-weight: 800; color: #86efac; }
.ug-vers { display: flex; gap: 4px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1); }
.ug-vers button { flex: 1 1 0; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }
.ug-vers button[aria-pressed="true"] { background: var(--grad-hot); box-shadow: 0 0 16px rgba(217,70,239,.6); }
.ug-recent-row button { border: 2px solid rgba(255,255,255,.1); }
.ug-recent-row button:hover { border-color: #22d3ee; box-shadow: 0 0 20px rgba(34,211,238,.5); }
.ug-bottom-in { background: rgba(10,10,22,.95); border: 2px solid rgba(217,70,239,.5); box-shadow: 0 0 34px -6px rgba(217,70,239,.55), 0 12px 40px rgba(0,0,0,.6); }
.ug-bottom-in span { color: #67e8f9; font-weight: 900; }
.ug-bottom-in b { color: #fde047; font-weight: 900; }
.ug-alert { border-radius: 20px; border-width: 2px; background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.55); }
.ug-alert.info { background: linear-gradient(135deg, rgba(34,211,238,.1), rgba(217,70,239,.1)); border-color: rgba(34,211,238,.55); box-shadow: 0 0 30px -10px rgba(34,211,238,.5); }
.ug-alert .ic { background: var(--grad-hot); }
.ug-alert.info .ic { background: var(--grad-cool); color: #05060b; }
.ug-alert .row a, .ug-alert .row button, .ug-linkmsg .row button { background: var(--grad-cta); color: #05080a; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.ug-alert .row a:first-child { box-shadow: 0 0 20px rgba(250,204,21,.5); }
.ug-linkmsg { border-radius: 18px; border-width: 2px; background: rgba(0,0,0,.45); }
.ug-linkmsg.ok { border-color: rgba(52,211,153,.6); background: rgba(52,211,153,.09); }
.ug-linkmsg.ok .ic { background: var(--ok); }
.ug-linkmsg.err { border-color: rgba(244,63,94,.6); }
.ug-linkmsg.err .ic { background: var(--grad-hot); }
.ug-linkmsg.work { border-color: rgba(217,70,239,.6); background: linear-gradient(135deg, rgba(217,70,239,.12), rgba(34,211,238,.08)); box-shadow: 0 0 34px -8px rgba(217,70,239,.55); align-items: center; }
.ug-tray-row button.used { border-color: #22d3ee; box-shadow: 0 0 16px rgba(34,211,238,.55); }
.ug-tray-row button .n { background: var(--grad-cool); color: #05060b; }
.ug-tray-row button.is-loading { opacity: 1; }
.ug-tray-row button.is-loading::after { content: ''; position: absolute; inset: 0; background: rgba(7,7,13,.62) linear-gradient(100deg, transparent 30%, rgba(34,211,238,.45) 50%, transparent 70%) 0 0 / 200% 100% no-repeat; animation: ugsweep 1s linear infinite; }

/* ============================================================================
   WORKING INDICATORS: impossible to mistake for "stuck"
   .ug-orb  spinning neon ring + pulsing core + ping ring  (sizes: sm, md, lg)
   .ug-eq   equalizer bars that keep dancing
   .ug-working  = orb + words + bars, for inline notes
   ========================================================================== */
.ug-orb { --s: 30px; --t: 4px; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; vertical-align: middle; }
.ug-orb.sm { --s: 24px; --t: 3.5px; } .ug-orb.md { --s: 44px; --t: 5px; } .ug-orb.lg { --s: 92px; --t: 8px; }
.ug-orb::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34,211,238,0) 0%, #22d3ee 18%, #d946ef 48%, #f43f5e 70%, #facc15 90%, rgba(250,204,21,0) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--t)), #000 calc(100% - var(--t) + .5px)); mask: radial-gradient(farthest-side, transparent calc(100% - var(--t)), #000 calc(100% - var(--t) + .5px));
  filter: drop-shadow(0 0 7px rgba(217,70,239,.9)); animation: ugspin .85s linear infinite; }
.ug-orb i:first-child { position: absolute; inset: 28%; border-radius: 50%; background: radial-gradient(circle, #fff, #e879f9 55%, transparent 72%); animation: ugpulse 1.1s ease-in-out infinite; }
.ug-orb i:last-child { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(34,211,238,.7); animation: ugping 1.5s cubic-bezier(0,0,.2,1) infinite; }
.ug-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; vertical-align: middle; }
.ug-eq i { width: 4px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #facc15, #f43f5e 60%, #d946ef); box-shadow: 0 0 8px rgba(244,63,94,.7); transform-origin: bottom; animation: ugeq .9s ease-in-out infinite; }
.ug-eq i:nth-child(2n) { animation-duration: 1.15s; background: linear-gradient(180deg, #67e8f9, #22d3ee 55%, #d946ef); box-shadow: 0 0 8px rgba(34,211,238,.7); }
.ug-eq i:nth-child(3n) { animation-duration: .7s; } .ug-eq i:nth-child(1) { animation-delay: -.2s; } .ug-eq i:nth-child(2) { animation-delay: -.55s; } .ug-eq i:nth-child(3) { animation-delay: -.1s; }
.ug-eq i:nth-child(4) { animation-delay: -.7s; } .ug-eq i:nth-child(5) { animation-delay: -.35s; } .ug-eq i:nth-child(6) { animation-delay: -.8s; } .ug-eq i:nth-child(7) { animation-delay: -.45s; } .ug-eq i:nth-child(8) { animation-delay: -.25s; } .ug-eq i:nth-child(9) { animation-delay: -.6s; }
.ug-eq--tiny { height: 12px; gap: 2px; } .ug-eq--tiny i { width: 3px; }
.ug-working { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 11px 14px; border-radius: 16px; border: 2px solid rgba(217,70,239,.55); background: linear-gradient(135deg, rgba(217,70,239,.14), rgba(34,211,238,.09)); box-shadow: 0 0 28px -6px rgba(217,70,239,.6); animation: ugin .25s ease both; }
.ug-working .wt { display: grid; min-width: 0; flex: 1 1 140px; }
.ug-working .wt b { font: 800 14px/1.25 'Inter', sans-serif; color: #fff; }
.ug-working .wt small { font: 500 12px/1.3 'Inter', sans-serif; color: #b6b9cf; }
.ug-working .ug-eq { height: 18px; margin-left: auto; }
.ug-claimsnote.is-working, .ug-hint.is-working { flex: 1 1 100%; max-width: 100%; margin: 4px 0 0; }
.ug-claimsnote.busy { color: #fff; }
.ug-linkmsg .ug-eq { display: flex; margin-top: 10px; height: 16px; }
.ug-linkmsg.work > div { flex: 1; min-width: 0; }
.ug-linkmsg.work p::after { content: ''; display: block; margin-top: 9px; height: 5px; border-radius: 5px; background: linear-gradient(100deg, transparent 0 20%, #22d3ee 38%, #d946ef 60%, #facc15 80%, transparent) 0 0 / 220% 100% no-repeat, rgba(255,255,255,.1); animation: ugsweep 1.4s linear infinite; }

/* big stage overlay while the film, the soundtrack or the ending polish is being made */
.ug-stage-ov { gap: 14px; background: radial-gradient(80% 60% at 50% 38%, rgba(217,70,239,.38), rgba(7,7,13,.93)); backdrop-filter: blur(12px); }
.ug-stage-ov[data-kind="music"] { background: radial-gradient(80% 60% at 50% 38%, rgba(34,211,238,.34), rgba(7,7,13,.93)); }
.ug-stage-ov[data-kind="polish"] { background: radial-gradient(80% 60% at 50% 38%, rgba(250,204,21,.28), rgba(7,7,13,.93)); }
.ug-stage-ov b { font: 900 18px/1.15 'Inter', sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: .01em; color: #fff; text-shadow: 0 0 22px rgba(217,70,239,.8); }
.ug-stage-ov span:not(.ug-orb):not(.ug-eq) { color: #cfd2e6; font-size: 13px; }
.ug-stage-ov .ug-eq { height: 34px; gap: 4px; } .ug-stage-ov .ug-eq i { width: 5px; }
.ug-stage-ov[data-kind="polish"] .ug-eq i { animation-duration: .5s; }
.ug-bar { height: 8px; background: rgba(255,255,255,.12); box-shadow: 0 0 16px rgba(217,70,239,.35); }
.ug-bar i { background: linear-gradient(100deg, #22d3ee, #d946ef, #f43f5e, #facc15); background-size: 200% 100%; animation: ugslide 1.4s linear infinite; box-shadow: 0 0 14px rgba(244,63,94,.8); }

@keyframes ugspin { to { transform: rotate(360deg); } }
@keyframes ugeq { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }
@keyframes ugpulse { 0%, 100% { transform: scale(.8); opacity: .65; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes ugping { 0% { transform: scale(1); opacity: .75; } 75%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ugslide { to { background-position: -200% 0; } }
@keyframes ugsweep { from { background-position: 120% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
@keyframes ugfloat { 0%, 100% { transform: rotate(2.2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-8px); } }
/* a spinning ring must stay alive even when the visitor prefers reduced motion: it is the only sign that work is happening */
@media (prefers-reduced-motion: reduce) { .ug .ug-orb::before { animation: ugspin 1.8s linear infinite !important; } .ug-eq i { animation: ugeq 2s ease-in-out infinite !important; } }

@media (max-width: 1000px) {
  .ug-phone--hero { animation: none; }
  .ug-hero h1 { font-size: clamp(36px, 10.5vw, 64px); }
}
@media (max-width: 640px) {
  .ug-card { border-radius: 22px; }
  .ug-num { width: 38px; height: 38px; font-size: 19px; }
  .ug-card-h h2 { font-size: 18.5px; }
  .ug-hero h1 .l3 { font-size: .5em; }
  .ug-cta { width: 100%; justify-content: center; }
  .ug-free { max-width: none; }
  .ug-seg button { font-size: 11.5px; letter-spacing: .03em; }
  .ug-working .ug-eq { display: none; }
}
.ug-claims > label > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; font-size: 11.5px; color: #e9e9f5; margin-bottom: 7px; }
.ug-claims > label > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: #7f84a0; font-weight: 600; }
.ug-claims textarea { background: var(--ink); border: 2px solid rgba(255,255,255,.1); border-radius: 16px; font-weight: 600; }

/* v25b: the "held, not worn" notice (must be accepted before credits are spent) */
.ug-wear { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0 0; padding: 16px 18px; border-radius: 20px; border: 2px solid rgba(250,204,21,.75); background: linear-gradient(135deg, rgba(250,204,21,.13), rgba(244,63,94,.1)); box-shadow: 0 0 36px -8px rgba(250,204,21,.55); animation: ugin .3s ease both; scroll-margin-top: 90px; }
.ug-wear .ic { flex: none; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-warm); color: #1a1000; font: 900 20px/1 'Inter', sans-serif; }
.ug-wear h4 { font: 900 17px/1.25 'Inter', sans-serif; color: #fde047; }
.ug-wear p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: #f1f1fa; }
.ug-wear p b { color: #fff; text-decoration: underline wavy #f43f5e; text-underline-offset: 3px; }
.ug-wear .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ug-wear button { padding: 11px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: 800 12.5px/1 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.ug-wear button.go { background: var(--grad-cta); color: #05080a; border: 0; box-shadow: 0 0 22px rgba(250,204,21,.5); }
.ug-wear .okline { font-size: 13px; color: #cfd2e6; }
.ug-wear .okline button { margin-left: 6px; padding: 7px 10px; }
.ug-wear.ok { border-color: rgba(52,211,153,.6); background: rgba(52,211,153,.08); box-shadow: none; }
.ug-wear.ok h4 { color: #86efac; }
.ug-wear.no { border-color: rgba(244,63,94,.6); }

/* v26: the ad summary never cuts a detail. Values wrap onto a second line instead of ending in an ellipsis. */
.ug-sum { gap: 10px; }
.ug-sum li { align-items: flex-start; }
.ug-sum li i { margin-top: 1px; }
.ug-sum li b { max-width: none; flex: 1 1 0; min-width: 0; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.ug-sum li b small { display: block; margin-top: 2px; font-weight: 500; font-size: 11.5px; color: var(--w65); font-style: italic; line-height: 1.3; }
.ug-sum li img { margin-left: auto; flex: none; }
.ug-sum li img + b { flex: 0 1 62%; margin-left: 0; }

/* v27: the length of the ad (8 s, ~15 s, ~30 s, ~45 s). Each tile shows its film strip (one block per scene) and its own price. */
#ugLen { --sc: #fbbf24; }
.ug-lens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.ug-lens button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 16px 15px; border-radius: 20px; border: 2px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(0,0,0,.35)); color: #fff; text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; min-width: 0; }
.ug-lens button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--sc) 70%, transparent); }
.ug-lens button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ug-lens button[aria-checked="true"] { border-color: #fbbf24; background: linear-gradient(160deg, rgba(251,191,36,.22), rgba(255,45,120,.2) 70%, rgba(0,0,0,.3)); box-shadow: 0 0 34px -6px rgba(251,191,36,.65), inset 0 0 0 1px rgba(255,255,255,.12); }
.ug-lens button[aria-checked="true"]::after { content: '\2713'; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fbbf24; color: #1a1000; font: 900 12px/1 'Inter', sans-serif; }
.ug-lens .strip { display: flex; gap: 4px; width: calc(100% - 30px); height: 10px; margin-bottom: 4px; }
.ug-lens .strip i { flex: 1 1 0; border-radius: 4px; background: linear-gradient(90deg, #fb7185, #fbbf24); opacity: .55; }
.ug-lens .strip.short { width: 42%; }
.ug-lens button[aria-checked="true"] .strip i { opacity: 1; box-shadow: 0 0 10px rgba(251,191,36,.7); }
.ug-lens .s { font: 900 clamp(22px, 2.6vw, 30px)/1 'Inter', sans-serif; font-style: italic; letter-spacing: -.02em; }
.ug-lens .d { font: 600 12.5px/1.3 'Inter', sans-serif; color: #c4c8de; }
.ug-lens .p { margin-top: auto; padding-top: 6px; font: 600 12px/1.2 'Inter', sans-serif; color: #fde68a; white-space: nowrap; }
.ug-lens .p b { font: 900 16px/1 'Inter', sans-serif; color: #fff; }
.ug-lennote { margin-top: 12px; }
@media (max-width: 860px) { .ug-lens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .ug-lens button { padding: 14px 12px; } .ug-lens .p b { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .ug-lens button { transition: none; } .ug-lens button:hover { transform: none; } }
