.tx-stage { display: flex; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.tx-stage canvas { display: block; max-width: 100%; max-height: 58vh; width: auto; height: auto; border-radius: 6px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.tx-tip { font-size: 13.5px; text-align: center; margin: 6px 0; }
.tx-layers { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.tx-chips { display: flex; gap: 6px; overflow-x: auto; flex: 1 1 160px; min-width: 0; padding: 2px; }
.tx-chips button { flex: none; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 8px 13px; cursor: pointer; }
.tx-chips button.on { background: var(--c); color: #fff; border-color: var(--c); }
.tx-layers .btn { min-height: 40px; padding: 8px 14px; }
.tx-colors { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tx-colors input[type=color] { width: 56px; flex: none; }
.tx-sw { display: flex; gap: 6px; flex-wrap: wrap; }
.tx-sw button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.tx-toggles { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.tx-tg { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 8px 12px; min-height: 40px; cursor: pointer; }
.tx-tg[aria-pressed="true"] { background: var(--c); color: #fff; border-color: var(--c); }
.tx-sub { display: flex; gap: 10px; align-items: center; }
.tx-sub input[type=color] { width: 56px; flex: none; }
.tx-more-fonts { font-size: 14px; min-height: 38px; padding: 6px 12px; margin-bottom: 6px; }
.imgt-check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
input[type=color] { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 3px; cursor: pointer; }
