/* yesporn.vip — upload page (/upload/). Loaded only there. Class prefix ypu-. Tokens (--yn-*) come from yp-new.css.
   Design: backups/design/gifs-2026-11 boards 4 and 5. Markup: template/upload.tpl + static/js/yp-upload.js. */
html:is(.yp-new, .ypg-live) .ypu { max-width: 1228px; padding-top: 22px; padding-bottom: 48px; color: var(--yn-text); font-family: Roboto, system-ui, sans-serif; }
html:is(.yp-new, .ypg-live) .ypu [hidden] { display: none !important; }
html:is(.yp-new, .ypg-live) .ypu svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html:is(.yp-new, .ypg-live) .ypu :is(a, button, input, summary):focus-visible { outline: 2px solid var(--yn-brand-hi); outline-offset: 2px; }
html:is(.yp-new, .ypg-live) .ypu-sprite { position: absolute; }
html:is(.yp-new, .ypg-live) .ypu-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* title line + steps */
html:is(.yp-new, .ypg-live) .ypu-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
html:is(.yp-new, .ypg-live) .ypu-head h1 { margin: 0; font: 900 30px/1.1 Roboto, sans-serif; letter-spacing: -.02em; color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-steps { display: flex; align-items: center; gap: 12px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-steps li { display: flex; align-items: center; gap: 8px; }
html:is(.yp-new, .ypg-live) .ypu-steps li + li::before { content: ""; width: 36px; height: 1px; margin-right: 4px; background: var(--yn-line); }
html:is(.yp-new, .ypg-live) .ypu-steps span { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--yn-dim); border-radius: 50%; font-size: 12px; font-variant-numeric: tabular-nums; }
html:is(.yp-new, .ypg-live) .ypu-steps [aria-current] { color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-steps [aria-current] span { background: var(--yn-text); border-color: var(--yn-text); color: var(--yn-bg); font-weight: 700; }
html:is(.yp-new, .ypg-live) .ypu-steps .done span { border-color: var(--yn-good); color: var(--yn-good); }

/* buttons */
html:is(.yp-new, .ypg-live) .ypu-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--yn-line); border-radius: 12px; background: transparent; color: var(--yn-text) !important; font: 600 14.5px Roboto, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
html:is(.yp-new, .ypg-live) .ypu-b:hover { background: var(--yn-s2); }
html:is(.yp-new, .ypg-live) .ypu-b1 { border-color: var(--yn-brand); background: var(--yn-brand); color: #fff !important; }
html:is(.yp-new, .ypg-live) .ypu-b1:hover { background: var(--yn-brand-hi); border-color: var(--yn-brand-hi); }
html:is(.yp-new, .ypg-live) .ypu-bs { height: 36px; padding: 0 14px; border-radius: 9px; background: var(--yn-s2); font-size: 13.5px; }
html:is(.yp-new, .ypg-live) .ypu-b:disabled { opacity: .45; cursor: not-allowed; }
html:is(.yp-new, .ypg-live) .ypu-t { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border: 0; background: none; color: var(--yn-text); font: 600 13px Roboto, sans-serif; cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-t svg { width: 14px; height: 14px; }

/* messages */
html:is(.yp-new, .ypg-live) .ypu-gate { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--yn-line); border-radius: 14px; background: var(--yn-s1); font-size: 15px; color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-msg { margin: 14px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--yn-bad); }
html:is(.yp-new, .ypg-live) .ypu-err { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--yn-bad); }
html:is(.yp-new, .ypg-live) .ypu-note { margin: 10px 0 0; font-size: 12.5px; color: var(--yn-muted); text-align: right; }

/* step 1: the two kinds */
html:is(.yp-new, .ypg-live) .ypu-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html:is(.yp-new, .ypg-live) .ypu-kind { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 1px solid var(--yn-line); border-radius: 16px; background: var(--yn-s1); color: var(--yn-text) !important; text-decoration: none; }
html:is(.yp-new, .ypg-live) a.ypu-kind:hover { border-color: var(--yn-dim); }
html:is(.yp-new, .ypg-live) .ypu-kind.on { border: 2px solid var(--yn-text); padding: 13px 17px; }
html:is(.yp-new, .ypg-live) .ypu-kind.off { border-style: dashed; background: transparent; color: var(--yn-muted) !important; }
html:is(.yp-new, .ypg-live) .ypu-ki { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--yn-s2); }
html:is(.yp-new, .ypg-live) .ypu-kind.on .ypu-ki { background: var(--yn-brand); color: #fff; }
html:is(.yp-new, .ypg-live) .ypu-kt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
html:is(.yp-new, .ypg-live) .ypu-kt b { font-size: 16.5px; font-weight: 700; }
html:is(.yp-new, .ypg-live) .ypu-kt small { font-size: 13px; line-height: 1.35; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-kr { width: 20px; height: 20px; flex: none; border: 6px solid var(--yn-text); border-radius: 50%; background: var(--yn-bg); }
html:is(.yp-new, .ypg-live) .ypu-kl { color: var(--yn-dim); }

/* step 1: drop area */
html:is(.yp-new, .ypg-live) .ypu-drop { display: flex; flex-direction: column; align-items: center; margin-top: 12px; padding: 44px 20px 28px; border: 1px dashed var(--yn-dim); border-radius: 18px; background: var(--yn-s1); text-align: center; }
html:is(.yp-new, .ypg-live) .ypu-drop.over { border-color: var(--yn-text); border-style: solid; background: var(--yn-s2); }
html:is(.yp-new, .ypg-live) .ypu-drop.off { opacity: .5; }
html:is(.yp-new, .ypg-live) .ypu-di { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--yn-s2); }
html:is(.yp-new, .ypg-live) .ypu-di svg { width: 24px; height: 24px; }
html:is(.yp-new, .ypg-live) .ypu-drop h2 { margin: 18px 0 0; font: 800 24px/1.2 Roboto, sans-serif; letter-spacing: -.01em; color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-drop > p { margin: 8px 0 0; font-size: 14px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-drop > p.ypu-msg { color: var(--yn-bad); }
html:is(.yp-new, .ypg-live) .ypu-db { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
html:is(.yp-new, .ypg-live) .ypu-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
html:is(.yp-new, .ypg-live) .ypu-link { display: flex; align-items: center; gap: 10px; width: min(760px, 100%); margin-top: 28px; padding: 5px 6px 5px 16px; border: 1px solid var(--yn-line); border-radius: 12px; background: var(--yn-bg); }
html:is(.yp-new, .ypg-live) .ypu-link:focus-within { border-color: var(--yn-dim); }
html:is(.yp-new, .ypg-live) .ypu-link svg { color: var(--yn-dim); }
html:is(.yp-new, .ypg-live) .ypu-link input { flex: 1; min-width: 0; height: 36px; padding: 0; border: 0; background: transparent; color: var(--yn-text); font: 400 14.5px Roboto, sans-serif; outline: 0; }
html:is(.yp-new, .ypg-live) .ypu-link input::placeholder { color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-cut { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 12px; padding: 12px; border: 1px solid var(--yn-dim); border-radius: 16px; background: var(--yn-s1); }
html:is(.yp-new, .ypg-live) .ypu-cut img { display: block; width: 168px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--yn-s2); }
html:is(.yp-new, .ypg-live) .ypu-ct { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 13px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-ct b { font-size: 15.5px; color: var(--yn-text); overflow-wrap: anywhere; }
html:is(.yp-new, .ypg-live) .ypu-ct label { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--yn-text); font-weight: 500; }
html:is(.yp-new, .ypg-live) .ypu-ct input { width: 84px; height: 36px; padding: 0 10px; border: 1px solid var(--yn-line); border-radius: 9px; background: var(--yn-bg); color: var(--yn-text); font: 500 14.5px Roboto, sans-serif; font-variant-numeric: tabular-nums; }
html:is(.yp-new, .ypg-live) .ypu-cb { display: flex; flex-direction: column; gap: 8px; }
html:is(.yp-new, .ypg-live) .ypu-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 30px; }
html:is(.yp-new, .ypg-live) .ypu-info h3 { margin: 0 0 6px; font: 700 15px Roboto, sans-serif; color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-info p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--yn-muted); max-width: 46ch; }
html:is(.yp-new, .ypg-live) .ypu-info a { color: var(--yn-text); text-decoration: underline; }

/* step 2: three columns */
html:is(.yp-new, .ypg-live) .ypu-s2:not([hidden]) { display: grid; grid-template-columns: 238px minmax(0, 330px) minmax(0, 1fr); gap: 28px; align-items: start; }
html:is(.yp-new, .ypg-live) .ypu-lh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-list ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
html:is(.yp-new, .ypg-live) .ypu-it { position: relative; display: flex; border: 1px solid transparent; border-radius: 12px; }
html:is(.yp-new, .ypg-live) .ypu-it.on { border-color: var(--yn-line); background: var(--yn-s1); }
html:is(.yp-new, .ypg-live) .ypu-pick { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 10px 4px 10px 12px; border: 0; background: none; color: var(--yn-text); font: inherit; text-align: left; cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-pick b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:is(.yp-new, .ypg-live) .ypu-pick small { font-size: 12.5px; line-height: 1.35; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-pick small.good { color: var(--yn-good); }
html:is(.yp-new, .ypg-live) .ypu-pick small.warn { color: var(--yn-gold); }
html:is(.yp-new, .ypg-live) .ypu-pick small.bad { color: var(--yn-bad); }
html:is(.yp-new, .ypg-live) .ypu-pg { display: none; height: 3px; margin-top: 4px; border-radius: 2px; background: var(--yn-line); overflow: hidden; }
html:is(.yp-new, .ypg-live) .ypu-it.is-up .ypu-pg { display: block; }
html:is(.yp-new, .ypg-live) .ypu-pg i { display: block; height: 100%; width: 0; background: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-rm { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; min-height: 44px; border: 0; background: none; color: var(--yn-muted); cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-rm:hover { color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-rm svg { width: 14px; height: 14px; }
html:is(.yp-new, .ypg-live) .ypu-stage { position: relative; width: 100%; max-height: 520px; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
html:is(.yp-new, .ypg-live) .ypu-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
html:is(.yp-new, .ypg-live) .ypu-pl { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; }
html:is(.yp-new, .ypg-live) .ypu-mid.wait .ypu-trim, html:is(.yp-new, .ypg-live) .ypu-mid.wait .ypu-facts, html:is(.yp-new, .ypg-live) .ypu-form.wait > :not(.ypu-msg):not(.ypu-go) { display: none; }
html:is(.yp-new, .ypg-live) .ypu-form.wait [data-ypu="publish"] { display: none; }
html:is(.yp-new, .ypg-live) .ypu-trim { margin-top: 14px; }
html:is(.yp-new, .ypg-live) .ypu-tl { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-tl b { color: var(--yn-text); font-weight: 700; }
html:is(.yp-new, .ypg-live) .ypu-tl span { flex: 1; font-variant-numeric: tabular-nums; }
html:is(.yp-new, .ypg-live) .ypu-tl span.bad { color: var(--yn-bad); }
html:is(.yp-new, .ypg-live) .ypu-tr { position: relative; height: 44px; margin-top: 8px; border-radius: 10px; background: var(--yn-s2); }
html:is(.yp-new, .ypg-live) .ypu-tf { position: absolute; top: 0; bottom: 0; border: 2px solid var(--yn-text); border-radius: 10px; background: rgba(255, 255, 255, .1); pointer-events: none; }
html:is(.yp-new, .ypg-live) .ypu-tr input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; outline-offset: 4px; }
html:is(.yp-new, .ypg-live) .ypu-tr input::-webkit-slider-runnable-track { height: 44px; background: none; }
html:is(.yp-new, .ypg-live) .ypu-tr input::-moz-range-track { height: 44px; background: none; }
html:is(.yp-new, .ypg-live) .ypu-tr input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 44px; border: 0; border-radius: 6px; background: var(--yn-text); cursor: ew-resize; pointer-events: auto; }
html:is(.yp-new, .ypg-live) .ypu-tr input::-moz-range-thumb { width: 16px; height: 44px; border: 0; border-radius: 6px; background: var(--yn-text); cursor: ew-resize; pointer-events: auto; }
html:is(.yp-new, .ypg-live) .ypu-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 18px 0 0; }
html:is(.yp-new, .ypg-live) .ypu-facts dt { font-size: 12.5px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-facts dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; color: var(--yn-text); font-variant-numeric: tabular-nums; }
html:is(.yp-new, .ypg-live) .ypu-snd { grid-column: 1 / -1; }
html:is(.yp-new, .ypg-live) .ypu-snd dd span[data-ypu] { font-weight: 400; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-sw::before { content: none !important; }
html:is(.yp-new, .ypg-live) .ypu-sw input { display: block !important; position: absolute; width: 44px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-sw span { position: relative; width: 44px; height: 26px; flex: none; border-radius: 13px; background: var(--yn-line); }
html:is(.yp-new, .ypg-live) .ypu-sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
html:is(.yp-new, .ypg-live) .ypu-sw input:checked + span { background: var(--yn-brand); }
html:is(.yp-new, .ypg-live) .ypu-sw input:checked + span::after { transform: translateX(18px); }
html:is(.yp-new, .ypg-live) .ypu-sw input:focus-visible + span { outline: 2px solid var(--yn-brand-hi); outline-offset: 2px; }

/* step 2: the form */
html:is(.yp-new, .ypg-live) .ypu-fld { position: relative; margin-bottom: 20px; }
html:is(.yp-new, .ypg-live) .ypu-fld > label { display: inline-block; margin-bottom: 8px; font: 700 13.5px Roboto, sans-serif; color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-fld > label::before { content: none !important; }
html:is(.yp-new, .ypg-live) .ypu-fld > label small { margin-left: 6px; font-weight: 400; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-cn { position: absolute; top: 0; right: 0; font-size: 12.5px; color: var(--yn-muted); font-variant-numeric: tabular-nums; }
html:is(.yp-new, .ypg-live) .ypu-fld > input, html:is(.yp-new, .ypg-live) .ypu-chips { display: block; width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--yn-line); border-radius: 12px; background: var(--yn-s1); color: var(--yn-text); font: 400 15px Roboto, sans-serif; box-sizing: border-box; }
html:is(.yp-new, .ypg-live) .ypu-fld > input:focus, html:is(.yp-new, .ypg-live) .ypu-chips:focus-within { border-color: var(--yn-dim); }
html:is(.yp-new, .ypg-live) .ypu-fld [aria-invalid="true"], html:is(.yp-new, .ypg-live) .ypu-chips:has([aria-invalid="true"]) { border-color: var(--yn-bad); }
html:is(.yp-new, .ypg-live) .ypu-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 8px; cursor: text; }
html:is(.yp-new, .ypg-live) .ypu-chips input { flex: 1; min-width: 120px; height: 30px; padding: 0 6px; border: 0; background: transparent; color: var(--yn-text); font: 400 15px Roboto, sans-serif; outline: 0; }
html:is(.yp-new, .ypg-live) .ypu-chip { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 2px 0 11px; border-radius: 15px; background: var(--yn-s2); font-size: 13.5px; font-weight: 500; }
html:is(.yp-new, .ypg-live) .ypu-chip button { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--yn-muted); cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-chip button:hover { color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-chip svg { width: 12px; height: 12px; }
html:is(.yp-new, .ypg-live) .ypu-sug { position: absolute; left: 0; right: 0; z-index: 5; margin: 4px 0 0; padding: 6px; list-style: none; border: 1px solid var(--yn-line); border-radius: 12px; background: var(--yn-s2); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
html:is(.yp-new, .ypg-live) .ypu-sug li { padding: 9px 10px; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
html:is(.yp-new, .ypg-live) .ypu-sug li:hover, html:is(.yp-new, .ypg-live) .ypu-sug li[aria-selected="true"] { background: var(--yn-line); }
html:is(.yp-new, .ypg-live) .ypu-from { display: flex; flex-direction: column; gap: 3px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid var(--yn-line); border-radius: 12px; background: var(--yn-s1); font-size: 13px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-from b { font-size: 15px; color: var(--yn-text); overflow-wrap: anywhere; }
html:is(.yp-new, .ypg-live) .ypu-ready { padding-top: 18px; border-top: 1px solid var(--yn-line); }
html:is(.yp-new, .ypg-live) .ypu-ready h3 { margin: 0 0 10px; font: 700 15px Roboto, sans-serif; color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-ready ul, html:is(.yp-new, .ypg-live) .ypu-s3 ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
html:is(.yp-new, .ypg-live) .ypu-ready li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-ready li svg { width: 15px; height: 15px; }
html:is(.yp-new, .ypg-live) .ypu-ready li.ok svg { color: var(--yn-good); }
html:is(.yp-new, .ypg-live) .ypu-ready li.no { color: var(--yn-text); }
html:is(.yp-new, .ypg-live) .ypu-ready li.no svg { color: var(--yn-gold); }
html:is(.yp-new, .ypg-live) .ypu-go { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* step 3 */
html:is(.yp-new, .ypg-live) .ypu-s3 h2 { margin: 6px 0 16px; font: 800 22px Roboto, sans-serif; color: var(--yn-text); outline: 0; }
html:is(.yp-new, .ypg-live) .ypu-s3 li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--yn-line); border-radius: 12px; background: var(--yn-s1); font-size: 14.5px; }
html:is(.yp-new, .ypg-live) .ypu-s3 li svg { color: var(--yn-good); }
html:is(.yp-new, .ypg-live) .ypu-s3 li.rev svg { color: var(--yn-gold); }
html:is(.yp-new, .ypg-live) .ypu-s3 li span { color: var(--yn-muted); }
html:is(.yp-new, .ypg-live) .ypu-s3 li a { margin-left: auto; color: var(--yn-text); text-decoration: underline; }
html:is(.yp-new, .ypg-live) .ypu-s3 .ypu-go { justify-content: flex-start; }

@media (max-width: 1000px) {
  html:is(.yp-new, .ypg-live) .ypu-s2:not([hidden]) { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  html:is(.yp-new, .ypg-live) .ypu-list { grid-column: 1 / -1; }
  html:is(.yp-new, .ypg-live) .ypu-list ul { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  html:is(.yp-new, .ypg-live) .ypu-it { flex: 0 0 200px; }
}
@media (max-width: 700px) {
  html:is(.yp-new, .ypg-live) .ypu { padding-top: 14px; }
  html:is(.yp-new, .ypg-live) .ypu-head h1 { font-size: 24px; }
  html:is(.yp-new, .ypg-live) .ypu-steps { gap: 8px; font-size: 12.5px; }
  html:is(.yp-new, .ypg-live) .ypu-steps li + li::before { width: 12px; margin-right: 0; }
  html:is(.yp-new, .ypg-live) .ypu-steps li:not([aria-current]) { font-size: 0; gap: 0; }
  html:is(.yp-new, .ypg-live) .ypu-steps li:not([aria-current]) span { font-size: 12px; }
  html:is(.yp-new, .ypg-live) .ypu-kinds { grid-template-columns: 1fr; }
  html:is(.yp-new, .ypg-live) .ypu-drop { padding: 28px 14px 18px; }
  html:is(.yp-new, .ypg-live) .ypu-drop h2 { font-size: 20px; }
  html:is(.yp-new, .ypg-live) .ypu-db { width: 100%; }
  html:is(.yp-new, .ypg-live) .ypu-db .ypu-b { flex: 1 1 100%; }
  html:is(.yp-new, .ypg-live) [data-ypu="paste"] { display: none; }
  html:is(.yp-new, .ypg-live) .ypu-link { margin-top: 18px; padding-left: 12px; }
  html:is(.yp-new, .ypg-live) .ypu-cut { grid-template-columns: 1fr; }
  html:is(.yp-new, .ypg-live) .ypu-cut img { width: 100%; }
  html:is(.yp-new, .ypg-live) .ypu-cb { flex-direction: row; }
  html:is(.yp-new, .ypg-live) .ypu-cb .ypu-b { flex: 1; }
  html:is(.yp-new, .ypg-live) .ypu-info { gap: 18px; margin-top: 22px; }
  html:is(.yp-new, .ypg-live) .ypu-s2:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html:is(.yp-new, .ypg-live) .ypu-stage { max-height: 56vh; margin: 0 auto; }
  html:is(.yp-new, .ypg-live) .ypu-stage.tall { width: auto; height: 56vh; }
  html:is(.yp-new, .ypg-live) .ypu-go .ypu-b { flex: 1; }
  html:is(.yp-new, .ypg-live) .ypu-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html:is(.yp-new, .ypg-live) .ypu-sw span::after { transition: none; } }
