:root {
  color-scheme:dark;
  --bg:#111315;
  --panel:#1c1f22;
  --raised:#25292d;
  --ink:#f1f3ef;
  --muted:#9da3a7;
  --line:#33373b;
  --accent:#d7f889;
  --accent-ink:#202815;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}

button,input,select,textarea {
  font:inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
  color:inherit;
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:8px;
  min-height:38px;
  padding:8px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:background .16s,border-color .16s,color .16s;
}

button:hover:not(:disabled) {
  background:#32373c;
  border-color:#60696f;
}

button:disabled {
  opacity:.35;
  cursor:default;
}

a {
  color:inherit;
  text-decoration:none;
}

a:hover {
  color:var(--accent);
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

.icon-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.icon {
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  vertical-align:middle;
}

.flip {
  transform:rotate(180deg);
}

.topbar {
  height:68px;
  border-bottom:1px solid var(--line);
  padding:0 28px;
  display:flex;
  align-items:center;
  gap:24px;
  background:#181b1d;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.brand>span {
  font-weight:750;
  font-size:16px;
  letter-spacing:.03em;
}

.brand-sub {
  font-size:12px;
  color:var(--muted);
  font-weight:400;
  margin-left:10px;
}

.breadcrumb {
  font-size:13px;
  display:flex;
  align-items:center;
  gap:20px;
}

.breadcrumb>span:first-child {
  color:#565d62;
}

.version {
  font:10px ui-monospace,monospace;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:4px;
  padding:2px 5px;
}

.header-actions {
  display:flex;
  align-items:center;
  gap:24px;
  margin-left:auto;
}

.privacy {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:12px;
}

.privacy .icon {
  width:15px;
  color:var(--accent);
}

.quiet {
  border:0;
  background:transparent;
  padding:5px 0;
  min-height:32px;
  color:var(--muted);
  font-size:13px;
}

.quiet:hover:not(:disabled) {
  background:transparent;
  color:var(--ink);
}

main {
  max-width:1680px;
  margin:auto;
  padding:0 28px;
}

.workspace-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:26px 0 22px;
}

.workspace-title {
  display:flex;
  align-items:center;
  gap:18px;
}

.workspace-title h1 {
  font-size:24px;
  letter-spacing:-.04em;
  margin:0;
  font-weight:650;
}

.workspace-title>span {
  color:var(--muted);
  font-size:13px;
}

.toolbar-actions {
  display:flex;
  gap:10px;
}

.primary {
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent);
  font-weight:650;
  min-height:42px;
  padding:10px 18px;
}

.primary:hover:not(:disabled) {
  background:#e3ffa7;
  color:#18200d;
  border-color:#e3ffa7;
}

.secondary {
  min-height:42px;
  padding:10px 15px;
  background:#22262a;
}

.button-count {
  font:11px ui-monospace,monospace;
  color:var(--muted);
  margin-left:4px;
  padding-left:12px;
  border-left:1px solid #4b5157;
}

.workspace {
  display:grid;
  grid-template-columns:minmax(0,1fr) 312px;
  gap:20px;
  align-items:start;
}

.main-area {
  min-width:0;
  position:sticky;
  top:20px;
}

.preview-panel {
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#191c1f;
}

.preview-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 20px;
  border-bottom:1px solid #2d3135;
  min-height:62px;
}

.preview-label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}

.preview-sub {
  color:#838b91;
  font-size:12px;
}

.live-dot {
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  margin-right:2px;
}

.segmented {
  display:flex;
  gap:2px;
  border-radius:7px;
  padding:3px;
  background:#101214;
}

.segmented button {
  min-height:29px;
  border:0;
  border-radius:5px;
  padding:5px 10px;
  font-size:12px;
  color:#899198;
  background:transparent;
}

.segmented button[aria-pressed=true] {
  background:#353a3e;
  color:#f1f3ef;
  box-shadow:0 1px 3px #0004;
}

.segmented .icon {
  width:14px;
  height:14px;
}

.preview-stage {
  min-height:592px;
  padding:26px 30px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(ellipse at 50% 50%,#242a2e 0,#171a1d 75%);
  overflow:hidden;
}

.post {
  width:min(100%,640px);
  padding:22px 24px 14px;
  border:1px solid #34383c;
  border-radius:16px;
  background:#060708;
  box-shadow:0 20px 60px #0003;
  transition:max-width .2s;
  max-width:640px;
  min-width:0;
  display:none;
}

.has-images .post {
  display:block;
}

.post.mobile {
  max-width:375px;
}

.post-header {
  display:flex;
  gap:10px;
  align-items:center;
}

.avatar {
  width:36px;
  height:36px;
  border-radius:50%;
  background:#e6e9de;
  color:#333e29;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:650;
}

.post-header strong {
  display:block;
  font-size:13px;
  line-height:1.5;
}

.post-header>div>span {
  font-size:12px;
  color:#777f85;
}

.x-mark {
  margin-left:auto;
  font-size:23px;
}

.post textarea {
  background:transparent;
  resize:none;
  border:0;
  color:#eff1f3;
  width:100%;
  padding:12px 0 4px;
  font-size:15px;
  line-height:1.65;
  display:block;
  height:70px;
}

.strip-scroll {
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
  scrollbar-color:#535b60 transparent;
  padding:3px 2px 9px;
  margin:0 -2px;
}

.strips {
  display:flex;
  align-items:flex-start;
  gap:6px;
  width:max-content;
  min-width:100%;
}

.strip {
  border:0;
  border-radius:12px;
  overflow:hidden;
  flex-shrink:0;
  padding:0;
  position:relative;
  background:#17191a;
  min-height:0;
  display:block;
}

.strip canvas {
  display:block;
  height:410px;
}

.strip.selected {
  outline:2px solid var(--accent);
  outline-offset:1px;
}

.strip:after {
  content:attr(data-label);
  position:absolute;
  bottom:7px;
  left:50%;
  transform:translateX(-50%);
  border-radius:4px;
  background:#0009;
  color:white;
  font:10px ui-monospace,monospace;
  padding:3px 5px;
  opacity:0;
  transition:opacity .15s;
}

.strip:hover:after,.strip.selected:after {
  opacity:1;
}

.post-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#737d83;
  padding-top:6px;
  font-size:11px;
  min-height:28px;
}

.post-footer .icon {
  width:17px;
  height:17px;
}

.preview-bottom {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:13px 20px;
  color:#929a9f;
  font-size:11px;
  border-top:1px solid #2d3135;
}

.preview-bottom>span:first-child {
  display:flex;
  align-items:center;
  gap:6px;
}

.preview-bottom .icon {
  width:14px;
  height:14px;
}

.preview-empty {
  display:flex;
  align-items:center;
  flex-direction:column;
  text-align:center;
  padding:12px 0;
}

.empty-art {
  display:flex;
  gap:10px;
  align-items:center;
  height:207px;
  margin-bottom:30px;
  transform:rotate(-7deg);
}

.empty-art i {
  width:54px;
  height:175px;
  border-radius:8px;
  background:url('../../assets/landscape.svg') 25% 50%/auto 100%;
  box-shadow:0 12px 24px #0004;
  border:1px solid #fff2;
}

.empty-art i:nth-child(2) {
  background-position:42% 50%;
  height:193px;
  transform:translateY(-8px);
}

.empty-art i:nth-child(3) {
  background-position:58% 50%;
  height:207px;
  transform:translateY(-12px);
}

.empty-art i:nth-child(4) {
  background-position:70% 50%;
  height:193px;
  transform:translateY(-8px);
}

.empty-art i:nth-child(5) {
  background-position:87% 50%;
}

.eyebrow {
  font:10px ui-monospace,"SF Mono",monospace;
  letter-spacing:.15em;
  color:var(--accent);
  margin:0 0 14px;
}

.preview-empty h2 {
  font-size:26px;
  font-weight:600;
  letter-spacing:-.04em;
  margin:0 0 12px;
}

.preview-empty p {
  color:var(--muted);
  font-size:14px;
  margin:0 0 24px;
}

.preview-empty .primary {
  min-height:44px;
  padding:11px 23px;
}

.import-hint {
  color:#879095;
  font-size:11px;
  margin-top:15px;
}

.sequence {
  padding:20px 0 0;
}

.section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

h2 {
  font-size:14px;
  font-weight:600;
  margin:0;
  line-height:1.5;
}

.sequence h2>span {
  font-size:12px;
  color:var(--muted);
  font-weight:400;
  margin-left:12px;
}

.inline-actions {
  display:flex;
  gap:20px;
}

.inline-actions .icon {
  width:15px;
  height:15px;
}

.order {
  display:flex;
  flex-wrap:wrap;
  row-gap:10px;
  align-items:center;
  margin:0 -4px;
}

.tile {
  width:54px;
  height:70px;
  position:relative;
  border:2px solid transparent;
  padding:0;
  background:#2c3135;
  border-radius:6px;
  touch-action:none;
  user-select:none;
  overflow:visible;
  flex-shrink:0;
}

.tile img {
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
  user-select:none;
  border-radius:4px;
}

.tile span {
  position:absolute;
  bottom:3px;
  left:3px;
  font:10px/16px ui-monospace,monospace;
  padding:0 4px;
  color:#fff;
  background:#000a;
  border-radius:3px;
}

.tile.selected {
  border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent);
}

.tile.dragging {
  opacity:.35;
}

.tile.drop-swap {
  outline:3px solid #8cc9ff;
  outline-offset:2px;
}

.tile.drop-before:before,.tile.drop-after:after {
  content:"";
  position:absolute;
  top:-2px;
  bottom:-2px;
  width:3px;
  background:var(--accent);
  border-radius:2px;
}

.tile.drop-before:before {
  left:-6px;
}

.tile.drop-after:after {
  right:-6px;
}

.gap {
  width:8px;
  height:66px;
  position:relative;
  flex-shrink:0;
}

.gap.drop-insert:after {
  content:"";
  position:absolute;
  inset:0 2px;
  background:var(--accent);
  border-radius:2px;
}

.order-empty {
  border:1px dashed #3b4248;
  border-radius:8px;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#879096;
  font-size:13px;
}

.sort-help {
  font-size:11px;
  color:#899298;
  display:flex;
  gap:20px;
  margin:14px 0 0;
  flex-wrap:wrap;
}

.sort-help>span {
  display:flex;
  gap:6px;
  align-items:center;
}

.sort-help .icon {
  width:14px;
  height:14px;
}

.insert-mark {
  display:block;
  width:3px;
  height:12px;
  background:var(--accent);
  border-radius:2px;
}

.session-bar {
  margin-top:22px;
  border-top:1px solid var(--line);
  padding-top:14px;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  color:#848e94;
  font-size:11px;
}

.session-bar>div {
  display:flex;
  gap:18px;
  flex-shrink:0;
}

.session-bar .quiet {
  font-size:12px;
}

.session-bar .icon {
  width:15px;
  height:15px;
}

#download-again {
  display:inline-block;
  color:var(--accent);
  font-size:12px;
  margin-top:10px;
  text-decoration:underline;
  overflow-wrap:anywhere;
}

.inspector {
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:12px;
  overflow:hidden;
}

.inspector-section {
  padding:20px;
  border-bottom:1px solid var(--line);
}

.inspector-section:last-child {
  border:0;
}

.section-tag {
  font-size:11px;
  color:#939ca2;
}

.field-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin:16px 0 8px;
  font-size:13px;
  color:#c6cccf;
}

.field-title output {
  font:11px ui-monospace,monospace;
  background:#2b3034;
  border:1px solid #3b4248;
  padding:4px 7px;
  border-radius:5px;
  color:#edf1e9;
  min-width:53px;
  text-align:center;
}

input[type=range] {
  display:block;
  width:100%;
  height:22px;
  margin:0;
  accent-color:var(--accent);
  cursor:pointer;
}

.preset-row {
  display:flex;
  gap:6px;
  margin-top:10px;
}

.preset-row button {
  flex:1;
  min-height:31px;
  font-size:12px;
  padding:6px;
}

.preset-row button[aria-pressed=true] {
  background:#d7f8891a;
  border-color:#879d56;
  color:var(--accent);
}

.selected-badge {
  font:11px ui-monospace,monospace;
  background:var(--accent);
  color:var(--accent-ink);
  padding:4px 7px;
  border-radius:4px;
  min-width:28px;
  text-align:center;
}

.crop-empty {
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  color:#899299;
  text-align:center;
}

.crop-empty .icon {
  width:30px;
  height:30px;
  margin-bottom:6px;
  stroke-width:1.2;
  color:#667078;
}

.crop-empty strong {
  font-size:13px;
  color:#bdc5ca;
  font-weight:400;
}

.crop-empty span {
  font-size:11px;
}

.crop-image-wrap {
  position:relative;
  background:#111315;
  border-radius:8px;
  overflow:hidden;
  border:1px solid #343a3f;
}

.crop-image-wrap canvas {
  display:block;
  width:min(100%,230px);
  margin:auto;
  height:auto;
  aspect-ratio:540/640;
  cursor:crosshair;
  touch-action:none;
}

.crop-tip {
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  font-size:10px;
  color:#f1f1f1;
  background:#000b;
  padding:5px 8px;
  border-radius:5px;
  pointer-events:none;
}

.filename {
  font:11px ui-monospace,monospace;
  color:#939da5;
  margin:10px 0 14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.crop-sliders .field-title {
  margin-top:11px;
}

.dimensions {
  font:10px/1.7 ui-monospace,monospace;
  color:#939ca3;
  margin:14px 0;
}

.crop-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}

.crop-actions button {
  font-size:12px;
  min-height:34px;
  padding:6px;
}

.crop-actions .icon {
  width:15px;
  height:15px;
}

.remove {
  font-size:11px;
  margin-top:8px;
  color:#a5a0a0;
}

.remove:hover:not(:disabled) {
  color:#ffa9a1;
}

.export-settings summary {
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.export-settings summary::-webkit-details-marker {
  display:none;
}

.export-settings summary span {
  font:10px ui-monospace,monospace;
  color:#8d969c;
}

.export-settings summary:after {
  content:"+";
  font-weight:400;
  color:#a0a8ad;
  margin-left:10px;
}

.export-settings[open] summary:after {
  content:"−";
}

.export-settings summary span {
  margin-left:auto;
}

select {
  background:#252a2e;
  color:#e4e9ec;
  border:1px solid #3a4249;
  border-radius:7px;
  width:100%;
  height:38px;
  padding:0 10px;
  font-size:12px;
}

.micro {
  font-size:11px;
  color:#8e989f;
  line-height:1.8;
  margin:14px 0 0;
}

progress {
  accent-color:var(--accent);
  width:100%;
  height:3px;
  position:fixed;
  top:0;
  left:0;
  z-index:40;
  border:0;
}

footer {
  max-width:1680px;
  margin:30px auto 0;
  padding:22px 28px 28px;
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:#7c868d;
}

.footer-divider {
  margin:0 12px;
  color:#454c51;
}

.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  max-width:min(520px,90vw);
  background:#edf3e5;
  color:#1c2416;
  border:1px solid #d7f889;
  padding:14px 20px;
  border-radius:10px;
  box-shadow:0 8px 40px #0007;
  font-size:13px;
  line-height:1.7;
  white-space:pre-line;
  z-index:100;
}

.file-over:after {
  content:"松开，导入你的照片";
  position:fixed;
  inset:12px;
  background:#1a2415ed;
  border:2px dashed var(--accent);
  border-radius:16px;
  color:var(--accent);
  font-size:26px;
  display:grid;
  place-items:center;
  z-index:90;
  pointer-events:none;
}

dialog {
  background:#22272a;
  color:var(--ink);
  border:1px solid #48535a;
  border-radius:16px;
  max-width:560px;
  width:calc(100% - 32px);
  padding:36px;
  box-shadow:0 30px 120px #0008;
}

dialog::backdrop {
  background:#070a0bbd;
  backdrop-filter:blur(5px);
}

dialog h2 {
  font-size:25px;
  margin:0 0 24px;
}

dialog ol {
  padding-left:22px;
}

dialog li {
  margin:14px 0;
  font-size:14px;
  line-height:1.8;
}

dialog p:not(.eyebrow) {
  font-size:12px;
  line-height:1.8;
  color:#a5afb5;
}

.dialog-close {
  position:absolute;
  top:12px;
  right:14px;
  font-size:23px;
  border:0;
  background:none;
  width:32px;
  height:32px;
  min-height:32px;
  padding:0;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}

@media(min-width:1550px) {
  .workspace {
    grid-template-columns:minmax(0,1fr) 340px;
  }
  .preview-stage {
    min-height:640px;
  }
  .tile {
    width:62px;
    height:78px;
  }
}

@media(max-width:1150px) {
  .workspace-title>span,.brand-sub,.preview-sub {
    display:none;
  }
  .workspace {
    gap:16px;
    grid-template-columns:minmax(0,1fr) 286px;
  }
  main {
    padding:0 20px;
  }
  .topbar {
    padding:0 20px;
  }
  .preview-stage {
    padding:24px 20px;
  }
  .inspector-section {
    padding:18px;
  }
  .header-actions {
    gap:18px;
  }
  .session-bar {
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
  .preview-bottom {
    font-size:10px;
    padding:12px 16px;
  }
}

@media(max-width:800px) {
  .workspace {
    grid-template-columns:minmax(0,1fr);
  }
  .main-area {
    position:static;
  }
  .inspector {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:start;
  }
  .crop-panel {
    grid-column:2;
    grid-row:1/3;
    border-bottom:0;
    border-left:1px solid var(--line);
  }
  .export-settings {
    grid-column:1;
  }
  .settings.inspector-section {
    border-bottom:0;
  }
  .crop-image-wrap canvas {
    width:100%;
  }
  .header-actions .privacy {
    display:none;
  }
  .preview-stage {
    min-height:580px;
  }
  .session-bar {
    flex-direction:row;
    align-items:center;
    margin-bottom:2px;
  }
  .workspace-toolbar {
    position:sticky;
    top:0;
    z-index:30;
    background:#111315f5;
    backdrop-filter:blur(12px);
  }
  .empty-art {
    height:195px;
  }
  .preview-bottom .preview-sub {
    display:none;
  }
}

@media(max-width:520px) {
  .topbar {
    height:58px;
    padding:0 16px;
    gap:16px;
  }
  .brand img {
    width:26px;
    height:26px;
  }
  .brand>span {
    font-size:14px;
  }
  .breadcrumb {
    gap:12px;
    font-size:12px;
  }
  .version,.source-link {
    display:none;
  }
  .header-actions {
    gap:10px;
  }
  .header-actions .quiet {
    font-size:12px;
  }
  main {
    padding:0 12px;
  }
  .workspace-toolbar {
    padding:14px 0;
    gap:10px;
  }
  .workspace-title {
    display:none;
  }
  .toolbar-actions {
    width:100%;
    gap:8px;
  }
  .toolbar-actions>button {
    flex:1;
    min-height:42px;
    padding:9px 10px;
    font-size:13px;
  }
  .button-count {
    font-size:10px;
    margin:0;
    padding-left:8px;
  }
  .preview-top {
    padding:10px 13px;
    min-height:54px;
  }
  .preview-label {
    font-size:12px;
  }
  .segmented button {
    padding:5px 8px;
  }
  .segmented button span {
    display:none;
  }
  .preview-stage {
    padding:14px 10px;
    min-height:545px;
  }
  .post {
    padding:16px 14px 10px;
    border-radius:12px;
    width:100%;
  }
  .post-header strong {
    font-size:12px;
  }
  .post-header>div>span {
    font-size:11px;
  }
  .post textarea {
    font-size:14px;
    height:68px;
  }
  .preview-bottom {
    padding:10px 12px;
    font-size:10px;
    gap:8px;
  }
  .preview-bottom>span:last-child {
    font-size:9px;
  }
  .empty-art {
    transform:rotate(-6deg);
    gap:8px;
    margin-bottom:28px;
  }
  .empty-art i {
    width:43px;
    height:158px;
  }
  .empty-art i:nth-child(2),.empty-art i:nth-child(4) {
    height:177px;
  }
  .empty-art i:nth-child(3) {
    height:193px;
  }
  .preview-empty {
    padding:22px 0;
  }
  .preview-empty h2 {
    font-size:23px;
  }
  .preview-empty p {
    font-size:12px;
  }
  .eyebrow {
    font-size:8px;
  }
  .import-hint {
    font-size:10px;
  }
  .sequence {
    padding-top:15px;
  }
  .section-head {
    margin-bottom:10px;
  }
  .tile {
    width:49px;
    height:64px;
  }
  .gap {
    width:7px;
    height:60px;
  }
  .sort-help {
    gap:10px;
    font-size:10px;
    line-height:1.7;
  }
  .order-empty {
    font-size:11px;
    padding:12px;
    line-height:1.8;
    text-align:center;
  }
  .order-empty .icon {
    display:none;
  }
  .session-bar {
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    margin-top:16px;
  }
  .session-bar>div {
    gap:22px;
  }
  .inspector {
    grid-template-columns:1fr;
  }
  .crop-panel {
    grid-column:auto;
    grid-row:auto;
    border-left:0;
    border-bottom:1px solid var(--line);
  }
  .settings.inspector-section {
    border-bottom:1px solid var(--line);
  }
  .inspector-section {
    padding:20px;
  }
  .crop-image-wrap {
    max-width:300px;
    margin:auto;
  }
  .crop-image-wrap canvas {
    width:100%;
  }
  .crop-sliders {
    display:grid;
    grid-template-columns:90px 1fr;
    align-items:center;
    column-gap:14px;
    row-gap:14px;
    margin-top:18px;
  }
  .crop-sliders .field-title {
    margin:0;
    font-size:11px;
    flex-wrap:wrap;
    gap:5px;
  }
  .crop-sliders .field-title output {
    font-size:10px;
    padding:3px 4px;
    min-width:43px;
  }
  .crop-actions button {
    min-height:40px;
    font-size:13px;
  }
  .crop-empty {
    min-height:145px;
  }
  .export-settings {
    grid-column:auto;
  }
  footer {
    padding:22px 16px 28px;
    margin-top:10px;
    font-size:10px;
    gap:15px;
    line-height:1.8;
  }
  .footer-divider {
    margin:0 6px;
  }
  dialog {
    padding:28px 22px;
  }
  .toast {
    bottom:16px;
    width:calc(100% - 32px);
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
