@font-face {
  font-family: "Roboto Flex"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url("./roboto-flex-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Roboto Flex"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url("./roboto-flex-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme:dark; --bg:#101113; --surface:#191a1d; --raised:#26272b; --line:#333438;
  --ink:#f4f4f5; --muted:#a3a4ab; --accent:#fafafa; --ease:cubic-bezier(.2,.75,.2,1);
  font: 15px/1.45 "Roboto Flex","Segoe UI",sans-serif; color:var(--ink); background:var(--bg);
  -webkit-text-size-adjust:100%;
}
*,*::before,*::after {box-sizing:border-box}
[hidden]{display:none!important}
body {margin:0;min-width:280px}
h1,h2,h3,p {margin:0}
button,input,summary,a {-webkit-tap-highlight-color:transparent}
button,input {font:inherit}
button, a {color:inherit}
button {background:none;border:0;cursor:pointer}
button:disabled {cursor:default}
a {text-decoration:none}
:focus-visible {outline:2px solid #e6e6eb;outline-offset:4px}
::selection {background:#dadce1;color:#0e0f10}
.sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;margin:-1px;border:0}
.header {border-bottom:1px solid #28292d}
.header-inner, main {width:min(100% - clamp(40px,8vw,120px),1240px);margin:auto}
.header-inner {min-height:70px;display:flex;align-items:center;gap:48px}
.brand {display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:680;letter-spacing:-.8px;white-space:nowrap}
.brand-mark {display:grid;place-items:center;color:#f8f8f9}
.connect-button,.network-label {margin-left:auto}
.network-label {color:var(--muted);font-size:12px}
.button,.presets button,.job-actions button,.frame-controls button {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;
  border-radius:999px;min-height:38px;padding:0 17px;font-size:13px;font-weight:570;line-height:1.2;
  transition:background .22s,color .22s,border-color .22s,transform .18s var(--ease);
}
.button:active:not(:disabled),.job-actions button:active,.presets button:active,.frame-controls button:active:not(:disabled) {transform:scale(.965)}
.button.quiet,.button.secondary,.folder-source {background:#222326;border-color:#393a3f}
.button.quiet:hover:not(:disabled),.button.secondary:hover:not(:disabled),.folder-source:hover:not(:disabled) {background:#303136;border-color:#56575d}
.button.primary,.button.picker {background:#f3f3f4;color:#171719}
.button.primary:disabled {background:#313236;color:#a5a6ad}
.button.secondary:disabled {color:#98999f;border-color:#38393d;background:transparent}
.motion-button {position:relative;isolation:isolate;overflow:hidden;--flood:#36373a;--over:#fff}
.motion-button.secondary {--flood:#ededef;--over:#171719}
.pill-face,.pill-over {display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
.pill-face i {position:relative;z-index:-1;border-radius:50%;height:6px;width:6px;background:currentColor;transition:transform .42s var(--ease),background .2s}
.pill-face>span,.pill-over {transition:transform .32s var(--ease),opacity .22s}
.pill-over {position:absolute;inset:0;opacity:0;transform:translateX(-12px);color:var(--over);pointer-events:none}
.pill-over b {font-size:17px;font-weight:500}
@media (hover:hover) {
  .motion-button:hover:enabled .pill-face i {transform:scale(100);background:var(--flood)}
  .motion-button:hover:enabled .pill-face>span {opacity:0;transform:translateX(15px)}
  .motion-button:hover:enabled .pill-over {opacity:1;transform:none}
}
.motion-button:focus-visible .pill-face i {transform:scale(100);background:var(--flood)}
.motion-button:focus-visible .pill-face>span {opacity:0}
.motion-button:focus-visible .pill-over {opacity:1;transform:none}
.intro {padding:34px 0 24px}
h1 {font-size:clamp(38px,4.6vw,68px);font-weight:520;letter-spacing:-.043em;line-height:1.07}
#studio-title {width:fit-content;max-width:100%}
.studio-grid {display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:18px;align-items:start}
.panel {background:var(--surface);border:1px solid #2d2e32;border-radius:24px;padding:24px;min-width:0}
.settings-panel {container-type:inline-size}
.upload-panel {display:flex;flex-direction:column}
.studio-grid:has(#manual-settings[hidden]) .upload-panel {align-self:stretch;position:static}
.section-heading,.library-heading,.row,.upload-footer {display:flex;align-items:center;justify-content:space-between;gap:12px}
.section-heading {min-height:36px;margin-bottom:18px}
.section-heading h2 {font-size:21px;font-weight:580;letter-spacing:-.035em}
.section-icon {display:grid;place-items:center;width:30px;height:30px;color:#a9aab0}
.folder-source {min-height:34px;padding:0 13px;font-size:12px}
.drop-zone {
  position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;
  flex:1;min-height:327px;border:1px dashed #47494e;border-radius:18px;padding:22px 18px;
  background:#121315;transition:background .3s,border-color .3s,transform .32s var(--ease);
}
.drop-zone.dragging {transform:scale(1.014);background:#1d1e21;border-color:#c6c7cd;border-style:solid}
.drop-content {display:flex;flex-direction:column;align-items:center;justify-content:center}
.plate-stack {position:relative;width:202px;height:155px;flex:none;pointer-events:none;isolation:isolate;--drift:0px;--rise:0px;transition:height .42s var(--ease)}
.layer {position:absolute;left:50%;top:50%;width:132px;height:99px;
  transform:translate(-50%,-50%) translate(var(--x),var(--y));transition:transform .48s var(--ease)}
.plate {position:absolute;inset:0;border-radius:11px;transform:rotateX(50deg) rotateZ(35deg);background:var(--plate);
  border:1px solid var(--edge);box-shadow:-1px 2px 0 #151619,-2px 4px 0 #36373b,-3px 6px 0 #44454a}
.plate::after {content:"";position:absolute;inset:7px;border:1px solid var(--stroke);border-radius:6px}
.layer-back {--x:-8px;--y:23px;--plate:#242529;--edge:#56585e;--stroke:#3b3d42}
.layer-middle {--x:0px;--y:5px;--plate:#303135;--edge:#666970;--stroke:#45474c}
.layer-top {--x:8px;--y:-15px;--plate:linear-gradient(115deg,#494b51,#36373b 72%);--edge:#81838a;--stroke:#5b5d62}
.plate-play {position:absolute;left:48%;top:41%;border-inline-start:13px solid #c1c3c9;border-block:8px solid transparent}
.stack-shadow {position:absolute;left:28px;right:24px;bottom:5px;height:29px;background:#030304;filter:blur(15px);border-radius:50%;opacity:.55}
@media(hover:hover){.drop-zone:hover .layer-top {--x:calc(8px + var(--drift));--y:calc(-19px + var(--rise))}.drop-zone:hover .layer-middle {--x:calc(-1 * var(--drift))}}
.drop-zone.dragging .layer-top {--x:20px;--y:-37px}
.drop-zone.dragging .layer-middle {--x:0px;--y:2px}
.drop-zone.dragging .layer-back {--x:-20px;--y:37px}
.drop-zone.has-file .plate-stack {height:126px}
.drop-zone.has-file:not(.dragging) .layer-top {--x:5px;--y:-10px}
.drop-zone.has-file:not(.dragging) .layer-back {--x:-4px;--y:18px}
.drop-title {font-size:20px;font-weight:530;letter-spacing:-.035em;margin:9px 0 13px}
.drop-active,.dragging .drop-idle {display:none}
.dragging .drop-active {display:inline}
.picker {min-height:40px;padding:0 19px}
.upload-footer {padding:13px 2px 0;color:#a3a4aa;font-size:12px;font-variant-numeric:tabular-nums}
.file-pocket {display:grid;grid-template-rows:0fr;max-width:460px;width:100%;transition:grid-template-rows .42s var(--ease);pointer-events:none}
.has-file .file-pocket {grid-template-rows:1fr;pointer-events:auto}
.file-clip {min-height:0;overflow:hidden}
.file-card {position:relative;display:flex;align-items:center;gap:10px;padding:12px 11px 14px;margin-top:16px;
  border-radius:14px;background:#26272b;border:1px solid #3d3f44;overflow:hidden;
  transform:translateY(-18px) scale(.94);opacity:0;transition:transform .38s var(--ease),opacity .22s}
.has-file .file-card {transform:none;opacity:1}
.file-icon {display:grid;place-items:center;color:#d0d1d6;flex:none}
.file-details {display:grid;min-width:0;gap:2px;flex:1}
.file-details strong {font-weight:570;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.transfer-chip {position:absolute;z-index:2;pointer-events:none;opacity:0;max-width:72%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  border:1px solid #585a60;border-radius:999px;background:#333438;color:#f0f0f2;padding:4px 10px;font-size:11px;box-shadow:0 3px 9px #05050655}
.has-file:not(.dragging) .drop-title {display:none}
.has-file:not(.dragging) .picker {min-height:32px;color:#d2d3d8;background:#2c2d31;font-size:12px}
.file-details span,.file-action {color:#b8b9bf;font-size:11px;line-height:1.4}
.file-action {padding:7px 5px;border-radius:8px}
.file-action:hover,.remove-file:hover {background:#414247;color:#fff}
.remove-file,.close-button {display:grid;place-items:center;color:#cacbd0;background:#35363a;border-radius:50%;font-size:20px;line-height:1}
.remove-file {flex:none;width:31px;height:31px}
.file-transfer,.progress-track {height:3px;overflow:hidden;background:#393b41;border-radius:999px}
.file-transfer {position:absolute;bottom:0;inset-inline:0;border-radius:0}
.file-transfer>div,.progress-track>div {height:100%;background:#dcdee4;transform-origin:left}
.file-transfer>div {width:100%;transform:scaleX(0)}
.drop-zone[data-phase="error"] .file-transfer {background:#765754}
.settings-panel fieldset {border:0;padding:0;margin:0 0 15px;min-width:0}
legend,.preview-settings summary,.checkbox-field {font-size:13px;font-weight:530}
legend {padding:0;margin:0 0 6px;color:#c4c5cb}
.segmented {position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(var(--count,2),minmax(0,1fr));border-radius:999px;background:#111214;padding:3px}
.segmented::before {content:"";position:absolute;z-index:-1;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / var(--count,2));
  background:#38393e;border-radius:999px;transform:translateX(calc(var(--index,0) * 100%));transition:transform .31s var(--ease);box-shadow:0 1px 3px #0004}
.segmented button {border-radius:999px;min-height:34px;padding:3px 5px;font-size:13px;font-weight:540;color:var(--muted);transition:color .16s}
.segmented button:hover,.segmented button.selected {color:#fff}
@container(min-width:345px) {
  .settings-panel fieldset:has(#resolution),#motion-field {display:flow-root;margin-bottom:10px}
  fieldset:has(>#resolution) legend,#motion-field legend {float:left;margin:0;min-height:40px;display:flex;align-items:center}
  #resolution,#motion {margin-left:103px}
}
.adjustments {margin:16px 0}
.presets {display:flex;gap:5px;flex-wrap:wrap;margin:0 0 12px}
.presets button,.job-actions button {color:var(--muted);background:#26272a;min-height:30px;padding:0 12px;font-size:12px}
.presets button.selected,.presets button:hover,.job-actions button:hover {background:#393a40;color:#fff}
.range-field>label {display:flex;justify-content:space-between}
.range-field>input {width:100%;accent-color:#bbb}
.checkbox-field {display:flex;align-items:center;gap:7px;margin:10px 0;accent-color:#dedee3}
.preview-settings {border-top:1px solid var(--line);margin-top:15px;padding-top:11px}
.preview-settings summary {display:flex;align-items:center;gap:8px;cursor:pointer;color:#c4c5cb;list-style:none;min-height:28px}
.preview-settings summary::-webkit-details-marker {display:none}
.preview-settings summary span {margin-left:auto;color:var(--muted);font-size:12px}
.preview-settings summary::after {content:"";width:6px;height:6px;transform:translateY(-2px) rotate(45deg);border:solid currentColor;border-width:0 1px 1px 0;margin-right:4px;transition:transform .2s}
.preview-settings[open] summary::after {transform:rotate(225deg)}
.preview-settings label {display:flex;align-items:center;gap:12px;color:var(--muted);margin:9px 0;font-size:13px}
.preview-settings input,.code-input {border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);padding:6px 10px}
.preview-settings input {width:82px}
.render-actions,.viewer-actions {display:flex;gap:8px;flex-wrap:wrap}
.render-actions {margin-top:15px}
.render-actions .button {min-height:42px}
.text-button {color:var(--muted);padding:4px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#58595f}
.text-button:hover {color:#fff}
.save-folder-preset {margin-top:9px}
.library {margin:35px 0 32px;scroll-margin-top:20px}
.library-heading {margin-bottom:18px}
.library-heading h2 {display:flex;align-items:baseline;gap:10px;font-size:clamp(25px,2.8vw,37px);letter-spacing:-.045em;font-weight:540}
#job-count {font-size:15px;color:var(--muted);font-weight:480;letter-spacing:0;font-variant-numeric:tabular-nums}
.jobs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
.job-card {min-width:0}
.job-cover {position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:15px;background:#242529;display:grid;place-items:center}
.job-cover img {position:absolute;width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.job-cover:has(button:hover) img {transform:scale(1.025)}
.job-cover button {position:absolute;inset:0;display:grid;place-items:center;width:100%}
.job-cover button:focus-visible {outline-offset:-4px}
.play-disc {display:grid;place-items:center;padding-left:2px;background:#131418b8;border:1px solid #ffffff48;width:37px;height:37px;border-radius:50%;font-size:13px;opacity:0;transition:opacity .2s}
.job-cover button:is(:hover,:focus-visible) .play-disc {opacity:1}
.job-badge {position:absolute;left:10px;bottom:10px;border-radius:999px;padding:4px 9px;background:#111216c7;color:white;font-size:10px;font-weight:530;pointer-events:none}
.job-progress-number {font-size:28px;font-variant-numeric:tabular-nums;color:#c2c3c8}
.job-body {padding:11px 2px 2px}
.job-title {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:16px;line-height:1.28;font-weight:570;letter-spacing:-.02em}
.job-meta,.job-message,.small,.field-help {font-size:12px;line-height:1.5}
.job-meta,.job-message,.subtle,.field-help {color:var(--muted)}
.job-meta,.job-message,.field-help {margin-top:4px}
.job-actions {display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:10px}
.job-more {position:relative;margin-left:auto}
.job-more summary {border-radius:999px;list-style:none;cursor:pointer;font-size:12px;color:var(--muted);padding:6px 12px}
.job-more summary::-webkit-details-marker {display:none}
.job-more summary:hover,.job-more[open] summary {background:#2c2d31;color:white}
.job-menu {position:absolute;z-index:3;bottom:calc(100% + 5px);right:0;display:grid;min-width:136px;padding:4px;border-radius:13px;
  background:#292a2e;border:1px solid #45474d;box-shadow:0 5px 20px #0006}
.job-menu button {justify-content:flex-start;border-radius:9px;background:transparent;white-space:nowrap;min-height:35px}
.job-body .progress-track {margin:8px 0}
.empty-state {padding:40px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px}
footer {margin-top:40px;padding:18px 0 28px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.error {color:#f7b8ac!important}
.dialog {position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 40px);
  overflow:auto;overscroll-behavior:contain;min-width:0;padding:28px;background:#1b1c1f;border:1px solid #44454b;border-radius:22px;color:var(--ink);box-shadow:0 20px 95px #0009}
.dialog[open] {animation:dialog-enter .24s var(--ease)}
.dialog::backdrop {background:#050507bb;backdrop-filter:blur(4px)}
@keyframes dialog-enter {from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
.close-button {position:absolute;right:16px;top:15px;width:34px;height:34px;z-index:2}
.close-button:hover {background:#47484d;color:#fff}
.dialog h2 {font-size:clamp(23px,3vw,33px);line-height:1.15;font-weight:560;letter-spacing:-.04em;overflow-wrap:anywhere;padding-right:32px;margin:0 0 13px}
.dialog p {margin:9px 0}
.connection-dialog {text-align:center}
.connection-dialog h2 {padding:0 20px}
.qr-frame {width:220px;padding:12px;background:#fff;border-radius:15px;margin:22px auto 14px;line-height:0}
.phone-url {text-decoration:underline;text-underline-offset:4px}
.pair-code {font-size:31px;letter-spacing:.15em;margin:10px 0;font-variant-numeric:tabular-nums}
.viewer-dialog {width:min(970px,calc(100% - 32px))}
.eyebrow {display:block;max-width:calc(100% - 40px);font-size:11px;color:var(--muted);margin:0 0 9px}
.playback-quality {display:flex;gap:10px;align-items:center;margin-bottom:12px;font-size:12px;color:var(--muted)}
.playback-note {margin-left:auto}
#result-video {display:block;width:100%;max-height:67dvh;aspect-ratio:16/9;background:#08090a;border-radius:14px}
.viewer-actions {margin-top:16px}
.frame-controls {display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px}
.frame-controls button {min-width:38px;min-height:34px;padding:0 12px;background:#2d2e32}
.frame-controls button:disabled {opacity:.42}
#frame-position {font-variant-numeric:tabular-nums}
#frame-note {text-align:center}
.inbox-dialog {width:min(650px,calc(100% - 32px))}
.inbox-path {font:12px/1.65 ui-monospace,Consolas,monospace;background:var(--bg);padding:10px 13px;border-radius:12px;overflow-wrap:anywhere}
.tv-choice,.inbox-file {width:100%;display:flex;align-items:center;gap:12px;justify-content:space-between;text-align:left;padding:13px 6px;border-bottom:1px solid var(--line)}
.tv-choice:hover,.inbox-file:hover {background:#25262a}
.tv-choice strong,.inbox-file strong {display:block;overflow-wrap:anywhere;font-size:15px;font-weight:530}
.tv-choice small,.inbox-file small,.inbox-file>span:last-child {color:var(--muted);font-size:12px}
.inbox-file>span:last-child {white-space:nowrap}
.batch-controls,#tv-list {margin:18px 0}
.tv-quality,.tv-now,.tv-timeline,.tv-buttons,.tv-links {display:flex;align-items:center;gap:12px}
.tv-quality {justify-content:space-between;margin-top:18px;color:var(--muted);font-size:14px}
.tv-quality select {font:inherit;color:var(--ink);background:#26272a;border:1px solid var(--line);
  border-radius:999px;padding:8px 14px;min-width:84px}
.tv-choice {border:1px solid var(--line);background:#202124;border-radius:14px;padding:12px 14px}
.tv-choice + .tv-choice {margin-top:6px}
.tv-choice:disabled {opacity:.6}
.tv-remote {background:#141517;border:1px solid var(--line);border-radius:17px;padding:16px;margin-bottom:14px}
.tv-now {align-items:flex-start;flex-direction:column;gap:3px}
.tv-now strong {overflow-wrap:anywhere;font-size:15px;font-weight:560}
.tv-timeline {margin:13px 0 9px;font-variant-numeric:tabular-nums;font-size:12px;color:var(--muted)}
.tv-timeline input {width:100%;min-width:0;accent-color:#ecece8;cursor:pointer}
.tv-timeline input:disabled {opacity:.42;cursor:default}
.tv-buttons {display:grid;grid-template-columns:1fr auto 1fr;gap:8px}
.tv-buttons .button {padding-inline:11px;white-space:nowrap}
.tv-buttons .primary {min-width:104px}
.tv-links {flex-wrap:wrap}
.tv-browser {margin-top:17px;border-top:1px solid var(--line);padding-top:14px}
.tv-browser strong {font-size:14px;font-weight:570}
.tv-browser a {display:inline-block;font-size:14px;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px}
.row {justify-content:flex-start;flex-wrap:wrap}
@media(min-width:950px) {.upload-panel{position:sticky;top:18px}}
@media(max-width:930px) {
  .header-inner,main {width:calc(100% - 48px)} .header-inner {gap:25px}
  .studio-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
  .panel {padding:18px;border-radius:20px}.jobs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px) {
  .header-inner,main {width:calc(100% - 32px)} .header-inner {min-height:61px;gap:16px;flex-wrap:wrap}
  .brand {font-size:18px;gap:7px}.brand-mark {width:32px;height:auto}
  #studio-nav {order:3;width:100%;padding-bottom:9px;margin-top:-5px}
  .connect-button {min-height:34px;padding:0 11px;font-size:12px}
  .header-inner:has(nav:not([hidden])) {padding-top:12px}
  .intro {padding:26px 0 20px}h1 {font-size:clamp(34px,7.8vw,48px)}
  .studio-grid {grid-template-columns:minmax(0,1fr);gap:14px}
  .panel {padding:16px}.section-heading {margin-bottom:12px}.section-heading h2 {font-size:20px}
  .drop-zone {min-height:265px;padding:16px 12px}.plate-stack {height:128px}
  .upload-footer {padding-top:10px}.library {margin-top:34px}.jobs {gap:20px 13px}
  .render-actions .button {flex:1}.dialog {padding:22px 16px;max-height:calc(100dvh - 20px)}
  .playback-quality {flex-wrap:wrap}.playback-note {width:100%;margin-left:0;font-size:11px}
}
@media(max-width:470px) {
  .jobs {grid-template-columns:minmax(0,1fr)}.job-cover {border-radius:14px}
  .render-actions .button {padding:0 12px}.file-card {gap:7px}.file-icon svg {width:18px}
  .drop-zone:not(.dragging) .drop-title {display:none}
  .drop-zone:not(.has-file) .picker {margin-top:7px}
}
@media(pointer:coarse) {
  .drop-title .drop-idle {display:none}.drop-title .drop-idle + .drop-active {display:none}
  .drop-title {margin:2px 0 6px}.drop-zone.dragging .drop-active {display:inline}
  .file-action,.remove-file {min-height:40px}.remove-file {min-width:40px}.button {min-height:42px}
}
@media(max-width:365px) {
  .connect-button {width:38px;height:38px;padding:0}
  .connect-button span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .section-heading {gap:7px}.section-heading h2 {font-size:18px}
  .folder-source {padding:0 10px;gap:5px;white-space:nowrap}
  .file-card {padding-inline:8px}.file-icon {display:none}
  .render-actions {display:grid;grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
.comparison-images {
  --split: 50%;
  --handle-size: 52px;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #101113;
  -webkit-user-select: none;
  user-select: none;
}

.comparison-pictures,
.comparison-images img,
.before-clip {
  position: absolute;
  inset: 0;
}

.comparison-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #101113;
  pointer-events: none;
}

.before-clip {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.comparison-line,
.comparison-handle {
  position: absolute;
  left: var(--split);
  background: #fff;
  pointer-events: none;
}

.comparison-line {
  inset-block: 0;
  width: 2px;
  transform: translateX(-50%);
}

.comparison-handle {
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: var(--handle-size);
  height: var(--handle-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: #202420;
  box-shadow: 0 2px 12px #171d2324;
}

.comparison-handle span {
  width: 10px;
  height: 10px;
  border-style: solid;
  border-width: 0 0 2px 2px;
  border-radius: 1px;
  transform: translateX(1px) rotate(45deg);
}

.comparison-handle span + span {
  transform: translateX(-1px) rotate(225deg);
}

#compare-slider {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y pinch-zoom;
}

#compare-slider:focus-visible + .comparison-handle {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.image-label {
  position: absolute;
  top: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  pointer-events: none;
}

.before-label {
  left: 16px;
  color: #fff;
  background: #0008;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.after-label {
  right: 16px;
  color: #202420;
  background: #fff;
}

@media (max-width: 600px) {
  .comparison-images {
    --handle-size: 46px;
    border-radius: 15px;
  }

  .image-label {
    top: 10px;
    padding: 4px 10px;
    font-size: 12px;
  }

  .before-label { left: 10px; }
  .after-label { right: 10px; }
}
