@charset "UTF-8";
/* Frame page — 边框/圆角专属：预览舞台 / 尺寸控件 / 背景色+透明 / 预设药丸；其余复用 compress.css */
/* ── 预览舞台 ── */
.fr-stage {
  margin-top: 20px;
  border: 1px solid #eceae4;
  border-radius: 16px;
  background: linear-gradient(45deg, rgba(28, 28, 28, 0.03) 25%, transparent 25%, transparent 75%, rgba(28, 28, 28, 0.03) 75%), linear-gradient(45deg, rgba(28, 28, 28, 0.03) 25%, transparent 25%, transparent 75%, rgba(28, 28, 28, 0.03) 75%), #fcfbf8;
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 260px;
}

.fr-stage__canvas {
  max-width: 100%;
  max-height: 62vh;
  width: auto;
  height: auto;
  border-radius: 6px;
}
.fr-stage__canvas:not([hidden]) {
  display: block;
}
.fr-stage__canvas {
  /* 越界时保留的上一帧有效预览：置灰降低存在感，暗示"非当前参数结果" */
}
.fr-stage__canvas.is-stale {
  opacity: 0.5;
  filter: grayscale(0.35);
}

.fr-stage__placeholder {
  text-align: center;
  color: rgba(28, 28, 28, 0.62);
  font-size: 14px;
  line-height: 1.7;
}
.fr-stage__placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.5;
  margin-bottom: 10px;
}

.fr-srcinfo {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  color: #5f5f5d;
  letter-spacing: 0.01em;
  min-height: 1em;
  text-align: center;
}

/* ── 数字输入行 ── */
.fr-dim-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fr-dim-row + .fr-dim-row {
  margin-top: 10px;
}

.fr-dim-row > label {
  flex: 0 0 auto;
  font-size: 13px;
  color: #5f5f5d;
  min-width: 68px;
}

.fr-input-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.fr-input {
  width: 100%;
  padding: 9px 38px 9px 12px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 14px;
  color: #1c1c1c;
  background: #f7f4ed;
  border: 1px solid #dcd8cc;
  border-radius: 8px;
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -moz-appearance: textfield;
  appearance: textfield;
}
.fr-input::-webkit-outer-spin-button, .fr-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.fr-input:focus {
  outline: none;
  border-color: rgba(28, 28, 28, 0.45);
  box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.06);
}

.fr-unit {
  position: absolute;
  right: 12px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  color: rgba(28, 28, 28, 0.62);
  pointer-events: none;
}

/* ── 背景色 + 透明行 ── */
.fr-color-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.fr-color-wrap {
  display: inline-flex;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fr-color-wrap.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.fr-color {
  width: 44px;
  height: 34px;
  padding: 0;
  border: 1px solid #dcd8cc;
  border-radius: 8px;
  background: #f7f4ed;
  cursor: pointer;
}

.fr-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5f5f5d;
  cursor: pointer;
  user-select: none;
}
.fr-check input {
  width: 15px;
  height: 15px;
  accent-color: #1c1c1c;
  cursor: pointer;
}

/* ── 预设药丸 ── */
.fr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.fr-chip {
  padding: 6px 12px;
  font-size: 12.5px;
  color: #5f5f5d;
  background: #f7f4ed;
  border: 1px solid #dcd8cc;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.fr-chip:hover {
  border-color: rgba(28, 28, 28, 0.4);
}
.fr-chip.is-active {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fcfbf8;
}

/* 禁用态 */
#fr-quality-group.is-disabled {
  opacity: 0.5;
}

/* ── 颜色快捷 chip ── */
.fr-color-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.fr-color-chip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #dcd8cc;
  background: var(--chip);
  cursor: pointer;
  padding: 0;
  transition: box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.fr-color-chip:hover {
  transform: scale(1.08);
}
.fr-color-chip.is-on {
  box-shadow: 0 0 0 2px #fcfbf8, 0 0 0 4px rgba(28, 28, 28, 0.7);
}

/* ── 舞台工具行：1:1 开关 + 元数据徽章 ── */
.fr-stage__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.fr-zoom-btn {
  padding: 4px 12px;
  font-size: 12.5px;
  color: #5f5f5d;
  background: #f7f4ed;
  border: 1px solid #dcd8cc;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.fr-zoom-btn:hover {
  border-color: rgba(28, 28, 28, 0.4);
}
.fr-zoom-btn.is-on {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fcfbf8;
}

/* hidden 属性必须压过自定义 display（历史陷阱：display 压掉 [hidden]） */
.fr-stage__tools[hidden] {
  display: none !important;
}

/* ── 预览 1:1：按导出真实像素展示，舞台变滚动容器（与拼接/水印同法） ── */
.fr-stage.is-zoom {
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
}
.fr-stage.is-zoom .fr-stage__canvas {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/*# sourceMappingURL=frame.css.map */
