.tan-cl-modal .modal-content {
  overflow: hidden;
}

.tan-cl-host {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tan-cl {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 560px;
  background: rgb(var(--main-bg));
  color: rgb(var(--rgb-darker));
  font-size: 13px;
  overflow: hidden;
}
.tan-cl button {
  font-family: inherit;
}
.tan-cl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgb(var(--rgb-ninth-lighter));
  border-bottom: 1px solid rgba(var(--rgb-dark), 0.12);
  flex-shrink: 0;
}
.tan-cl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tan-cl-brand > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tan-cl-brand strong {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tan-cl-brand small {
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
}
.tan-cl-brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 18px;
  color: rgb(var(--rgb-lightest));
  background: linear-gradient(135deg, rgb(var(--rgb-first)), rgb(var(--rgb-first-dark)));
  box-shadow: 0 8px 18px -8px rgba(var(--rgb-first), 0.8);
}
.tan-cl-embedded .tan-cl-top {
  padding: 8px 12px;
}
.tan-cl-top-acts {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tan-cl-sep {
  width: 1px;
  height: 22px;
  background: rgba(var(--rgb-dark), 0.12);
  margin: 0 4px;
  flex-shrink: 0;
}
.tan-cl-icon-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 15px;
  color: rgb(var(--rgb-darker));
  transition: background-color 0.2s, color 0.2s;
}
.tan-cl-icon-btn:hover:not(:disabled) {
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.tan-cl-main {
  display: flex;
  flex: 1;
  min-height: 0;
}
.tan-cl-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 44px 16px 16px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 10%, rgba(var(--rgb-first), 0.08), transparent 45%), rgb(var(--main-bg));
}
.tan-cl-canvas {
  display: block;
  touch-action: none;
  border-radius: 6px;
  box-shadow: 0 20px 50px -20px rgba(var(--rgb-darkest), 0.45), 0 0 0 1px rgba(var(--rgb-dark), 0.12);
  background-color: rgb(var(--rgb-lightest));
  background-image: linear-gradient(45deg, rgba(var(--rgb-dark), 0.08) 25%, transparent 25%), linear-gradient(-45deg, rgba(var(--rgb-dark), 0.08) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(var(--rgb-dark), 0.08) 75%), linear-gradient(-45deg, transparent 75%, rgba(var(--rgb-dark), 0.08) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.tan-cl-hint {
  position: absolute;
  top: 12px;
  inset-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
  text-align: center;
}
.tan-cl-hint span {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(var(--rgb-ninth-lighter), 0.85);
}
.tan-cl-ctx {
  position: absolute;
  bottom: 14px;
  inset-inline: 12px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}
.tan-cl-ctx.show {
  opacity: 1;
  transform: none;
}
.tan-cl-ctx-bar {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--rgb-first), 0.45) transparent;
  pointer-events: auto;
  display: flex;
  gap: 2px;
  max-width: 100%;
  padding: 6px;
  border-radius: 18px;
  background: rgb(var(--rgb-ninth-lighter));
  border: 1px solid rgba(var(--rgb-dark), 0.12);
  box-shadow: 0 12px 32px -14px rgba(var(--rgb-darkest), 0.35);
  overflow-x: auto;
}
.tan-cl-ctx-bar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.tan-cl-ctx-bar::-webkit-scrollbar-thumb {
  background: rgba(var(--rgb-first), 0.45);
  border-radius: 100px;
}
.tan-cl-ctx-bar::-webkit-scrollbar-track {
  background: transparent;
}
.tan-cl-ctx-bar button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 58px;
  padding: 8px 6px;
  border-radius: 12px;
  font-size: 11px;
  color: rgb(var(--rgb-darker));
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.tan-cl-ctx-bar button i {
  font-size: 16px;
}
.tan-cl-ctx-bar button:hover:not(:disabled), .tan-cl-ctx-bar button.active {
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-ctx-bar button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.tan-cl-ctx-bar button.tan-cl-danger {
  color: rgb(var(--rgb-red-500));
}
.tan-cl-ctx-bar button.tan-cl-danger:hover {
  background: rgba(var(--rgb-red-500), 0.1);
}
.tan-cl-side {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  min-height: 0;
  background: rgb(var(--rgb-ninth-lighter));
  border-inline-start: 1px solid rgba(var(--rgb-dark), 0.12);
}
.tan-cl-tabs {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--rgb-first), 0.45) transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 80px;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border-inline-end: 1px solid rgba(var(--rgb-dark), 0.12);
  flex-shrink: 0;
}
.tan-cl-tabs::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.tan-cl-tabs::-webkit-scrollbar-thumb {
  background: rgba(var(--rgb-first), 0.45);
  border-radius: 100px;
}
.tan-cl-tabs::-webkit-scrollbar-track {
  background: transparent;
}
.tan-cl-tabs button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  padding: 8px 2px;
  border-radius: 12px;
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.tan-cl-tabs button i {
  font-size: 16px;
}
.tan-cl-tabs button:hover {
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-tabs button.active {
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
  box-shadow: 0 6px 14px -6px rgba(var(--rgb-first), 0.8);
}
.tan-cl-panel {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--rgb-first), 0.45) transparent;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px 20px;
}
.tan-cl-panel::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.tan-cl-panel::-webkit-scrollbar-thumb {
  background: rgba(var(--rgb-first), 0.45);
  border-radius: 100px;
}
.tan-cl-panel::-webkit-scrollbar-track {
  background: transparent;
}
.tan-cl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgb(var(--rgb-ninth-lighter));
  border-top: 1px solid rgba(var(--rgb-dark), 0.12);
  flex-shrink: 0;
}
.tan-cl-foot-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tan-cl-foot-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
  font-size: 11px;
}
.tan-cl-foot-acts {
  display: flex;
  gap: 8px;
  margin-inline-start: auto;
}
.tan-cl-save.loading {
  pointer-events: none;
  opacity: 0.8;
}
.tan-cl-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 10px;
}
.tan-cl-sec-head h6 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgb(var(--rgb-darker));
}
.tan-cl-help {
  font-size: 12px;
  line-height: 1.9;
  color: rgb(var(--rgb-light-dark));
  margin: 0 0 12px;
}
.tan-cl-help i {
  color: rgb(var(--rgb-first-darker));
  margin-inline-end: 4px;
}
.tan-cl-help-warn {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(var(--rgb-red-500), 0.1);
  color: rgb(var(--rgb-red-500));
}
.tan-cl-help-warn i {
  color: rgb(var(--rgb-red-500));
}
.tan-cl-badge {
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
  font-size: 11px;
  white-space: nowrap;
}
.tan-cl-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  color: rgb(var(--rgb-first-darker));
  font-size: 12px;
}
.tan-cl-link:hover {
  text-decoration: underline;
}
.tan-cl-btn-sm {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 100px;
  background: rgb(var(--main-bg));
  color: rgb(var(--rgb-darker));
  font-size: 12px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.tan-cl-btn-sm:hover {
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-btn-danger {
  color: rgb(var(--rgb-red-500));
}
.tan-cl-btn-danger:hover {
  background: rgba(var(--rgb-red-500), 0.1);
  color: rgb(var(--rgb-red-500));
}
.tan-cl-btn-success {
  color: rgb(var(--rgb-green-500));
}
.tan-cl-btn-success:hover {
  background: rgba(var(--rgb-red-500), 0.1);
  color: rgb(var(--rgb-green-500));
}
.tan-cl-btn-info {
  color: rgb(var(--rgb-blue-600));
}
.tan-cl-btn-info:hover {
  background: rgba(var(--rgb-blue-500), 0.1);
  color: rgb(var(--rgb-blue-600));
}
.tan-cl-btn-warning {
  color: rgb(var(--rgb-yellow-600));
}
.tan-cl-btn-warning:hover {
  background: rgba(var(--rgb-yellow-500), 0.1);
  color: rgb(var(--rgb-yellow-600));
}
.tan-cl-icon-sm {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgb(var(--rgb-light-dark));
}
.tan-cl-icon-sm:hover {
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 12px;
  text-align: center;
  color: rgb(var(--rgb-light-dark));
}
.tan-cl-empty i {
  font-size: 30px;
  color: rgba(var(--rgb-first), 0.5);
}
.tan-cl-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}
.tan-cl-empty-sm {
  padding: 10px;
}
.tan-cl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}
.tan-cl-gal-item, .tan-cl-gal-add {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
}
.tan-cl-gal-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1.5px dashed rgba(var(--rgb-first), 0.45);
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
  font-size: 12px;
  font-weight: 600;
}
.tan-cl-gal-add i {
  font-size: 20px;
}
.tan-cl-gal-add small {
  font-size: 9px;
  font-weight: 400;
  color: rgb(var(--rgb-light-dark));
}
.tan-cl-gal-add:hover {
  background: rgba(var(--rgb-first), 0.16);
}
.tan-cl-gal-item {
  background: rgb(var(--main-bg));
  box-shadow: inset 0 0 0 1px rgba(var(--rgb-dark), 0.12);
  width: 100%;
  height: 100%;
}
.tan-cl-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.tan-cl-gal-item:hover img {
  transform: scale(1.05);
}
.tan-cl-gal-item.active {
  box-shadow: inset 0 0 0 3px rgb(var(--rgb-first));
}
.tan-cl-gal-item.active img {
  opacity: 0.85;
}
.tan-cl-gal-item.uploading img {
  opacity: 0.5;
}
.tan-cl-gal-num {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
  box-shadow: 0 0 0 2px rgb(var(--rgb-lightest));
}
.tan-cl-gal-empty {
  background: rgba(var(--rgb-darkest), 0.25);
}
.tan-cl-gal-tag {
  position: absolute;
  bottom: 6px;
  inset-inline-end: 6px;
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 9px;
  background: rgba(var(--rgb-darkest), 0.6);
  color: rgb(var(--rgb-lightest));
}
.tan-cl-gal-tag-new {
  background: rgb(var(--rgb-first));
}
.tan-cl-gal-load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.tan-cl-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(var(--rgb-lightest), 0.6);
  border-top-color: rgb(var(--rgb-first-darker));
  animation: tanClSpin 0.8s linear infinite;
}
.tan-cl-layouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.tan-cl-layout {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(var(--rgb-dark), 0.12);
  background: rgb(var(--main-bg));
  transition: border-color 0.2s, background-color 0.2s;
}
.tan-cl-layout svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tan-cl-layout rect,
.tan-cl-layout polygon {
  fill: rgba(var(--rgb-dark), 0.22);
  transition: fill 0.2s;
}
.tan-cl-layout polygon {
  stroke: rgb(var(--main-bg));
  stroke-width: 5px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.tan-cl-layout:hover {
  border-color: rgba(var(--rgb-first), 0.5);
}
.tan-cl-layout:hover rect,
.tan-cl-layout:hover polygon {
  fill: rgba(var(--rgb-first), 0.45);
}
.tan-cl-layout.active {
  border-color: rgb(var(--rgb-first-darker));
  background: rgba(var(--rgb-first), 0.1);
}
.tan-cl-layout.active rect,
.tan-cl-layout.active polygon {
  fill: rgb(var(--rgb-first));
}
.tan-cl-layout.active polygon {
  stroke: rgb(var(--rgb-ninth-lighter));
}
.tan-cl-gbar {
  position: relative;
  height: 34px;
  margin: 4px 11px 10px;
  border-radius: 10px;
  background: var(--tan-cl-grad);
  box-shadow: inset 0 0 0 1px rgba(var(--rgb-dark), 0.15);
  cursor: copy;
  touch-action: none;
}
.tan-cl-gstop {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 42px;
  border-radius: 8px;
  background: var(--tan-cl-sw);
  box-shadow: 0 0 0 2px rgb(var(--rgb-lightest)), 0 4px 10px -2px rgba(var(--rgb-darkest), 0.45);
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: box-shadow 0.15s;
}
.tan-cl-gstop.active {
  box-shadow: 0 0 0 2px rgb(var(--rgb-lightest)), 0 0 0 4px rgb(var(--rgb-first)), 0 4px 10px -2px rgba(var(--rgb-darkest), 0.45);
  z-index: 1;
}
.tan-cl-gstop:active {
  cursor: grabbing;
}
.tan-cl-gacts {
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tan-cl-gacts .tan-cl-btn-sm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.tan-cl-preset-new {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.tan-cl-preset-new .tan-cl-input {
  flex: 1;
  min-width: 0;
}
.tan-cl-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.tan-cl-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tan-cl-preset {
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-height: 76px;
  border-radius: 14px;
  border: 1px solid rgba(var(--rgb-dark), 0.12);
  background: rgb(var(--main-bg));
  overflow: hidden;
}
.tan-cl-preset-thumb {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  min-height: 84px;
  flex-shrink: 0;
  padding: 8px;
  background: rgba(var(--rgb-dark), 0.08);
  color: rgb(var(--rgb-light-dark));
  overflow: hidden;
  transition: background-color 0.2s;
}
.tan-cl-preset-thumb canvas {
  display: block;
  max-width: 100%;
  max-height: 88px;
  border-radius: 6px;
  box-shadow: 0 4px 12px -4px rgba(var(--rgb-black), 0.35);
  transition: transform 0.2s;
}
.tan-cl-preset-thumb:hover {
  background: rgba(var(--rgb-first), 0.1);
}
.tan-cl-preset-thumb:hover canvas {
  transform: scale(1.05);
}
.tan-cl-preset-count {
  position: absolute;
  bottom: 4px;
  inset-inline-start: 4px;
  padding: 1px 7px;
  border-radius: 100px;
  background: rgba(var(--rgb-black), 0.55);
  color: rgb(var(--rgb-white));
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.7;
}
.tan-cl-preset-foot {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
}
.tan-cl-preset-foot .tan-cl-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 8px;
}
.tan-cl-preset-title {
  flex: 1;
  min-width: 0;
  padding-inline-start: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tan-cl-icon-danger:hover {
  background: rgba(var(--rgb-red-500), 0.1);
  color: rgb(var(--rgb-red-500));
}
.tan-cl-icon-success:hover {
  background: rgba(var(--rgb-green-500), 0.1);
  color: rgb(var(--rgb-green-500));
}
.tan-cl-icon-warning:hover {
  background: rgba(var(--rgb-yellow-500), 0.1);
  color: rgb(var(--rgb-yellow-600));
}
.tan-cl-icon-info:hover {
  background: rgba(var(--rgb-blue-500), 0.1);
  color: rgb(var(--rgb-blue-600));
}
.tan-cl-out-badge {
  position: absolute;
  top: 10px;
  inset-inline: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.tan-cl-out-badge.show {
  opacity: 1;
}
.tan-cl-out-badge.show ~ .tan-cl-hint {
  opacity: 0;
}
.tan-cl-out-badge span {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
  font-size: 11px;
  box-shadow: 0 12px 32px -14px rgba(var(--rgb-darkest), 0.35);
}
.tan-cl-out-badge i {
  display: none;
}
.tan-cl-field {
  margin-bottom: 14px;
}
.tan-cl-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.tan-cl-field-head label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--rgb-darker));
}
.tan-cl-field-head label i {
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-val {
  min-width: 36px;
  padding: 1px 8px;
  border-radius: 100px;
  background: rgba(var(--rgb-first), 0.1);
  color: rgb(var(--rgb-first-darker));
  font-size: 11px;
  text-align: center;
}
.tan-cl-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  cursor: pointer;
}
.tan-cl-switch input {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 38px;
  height: 22px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.tan-cl-switch span {
  position: relative;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 100px;
  background: rgba(var(--rgb-dark), 0.2);
  transition: background-color 0.2s;
}
.tan-cl-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(var(--rgb-lightest));
  box-shadow: 0 2px 4px rgba(var(--rgb-darkest), 0.2);
  transition: inset-inline-start 0.2s;
}
.tan-cl-switch input:checked + span {
  background: rgb(var(--rgb-first));
}
.tan-cl-switch input:checked + span::after {
  inset-inline-start: 19px;
}
.tan-cl-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.tan-cl-sw {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tan-cl-sw);
  box-shadow: inset 0 0 0 1px rgba(var(--rgb-dark), 0.2);
  transition: transform 0.15s;
}
.tan-cl-sw:hover {
  transform: scale(1.12);
}
.tan-cl-sw.active {
  box-shadow: 0 0 0 2px rgb(var(--rgb-ninth-lighter)), 0 0 0 4px rgb(var(--rgb-first));
}
.tan-cl-sw-pick {
  display: grid;
  place-items: center;
  margin: 0;
  background: conic-gradient(rgb(var(--rgb-red-500)), rgb(var(--rgb-amber-400)), rgb(var(--rgb-emerald-500)), rgb(var(--rgb-sky-500)), rgb(var(--rgb-violet-500)), rgb(var(--rgb-red-500)));
  color: rgb(var(--rgb-lightest));
  font-size: 11px;
  cursor: pointer;
}
.tan-cl-sw-pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.tan-cl-seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 100px;
  background: rgb(var(--main-bg));
}
.tan-cl-seg button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  flex: 1;
  height: 34px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 12px;
  color: rgb(var(--rgb-light-dark));
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tan-cl-seg button:hover {
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-seg button.active {
  background: rgb(var(--rgb-ninth-lighter));
  color: rgb(var(--rgb-first-darker));
  font-weight: 600;
  box-shadow: 0 4px 12px -6px rgba(var(--rgb-darkest), 0.35);
}
.tan-cl-seg-wrap {
  flex-wrap: wrap;
  border-radius: 18px;
}
.tan-cl-seg-wrap button {
  flex: 1 1 45%;
}
.tan-cl-ratios {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.tan-cl-ratio {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 74px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1.5px solid rgba(var(--rgb-dark), 0.12);
  background: rgb(var(--main-bg));
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
  transition: all 0.2s;
}
.tan-cl-ratio-box {
  display: grid;
  place-items: center;
  border-radius: 4px;
  border: 2px solid currentColor;
  font-size: 11px;
}
.tan-cl-ratio small {
  direction: ltr;
}
.tan-cl-ratio:hover {
  border-color: rgba(var(--rgb-first), 0.5);
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-ratio.active {
  border-color: rgb(var(--rgb-first-darker));
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
}
.tan-cl-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tan-cl-thumbs button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(var(--rgb-dark), 0.12);
}
.tan-cl-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tan-cl-thumbs button.active {
  box-shadow: 0 0 0 3px rgb(var(--rgb-first));
}
.tan-cl-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.tan-cl-filter {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
}
.tan-cl-filter-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background-color: rgba(var(--rgb-dark), 0.15);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(var(--rgb-dark), 0.12);
  transition: box-shadow 0.2s;
}
.tan-cl-filter:hover .tan-cl-filter-img {
  box-shadow: 0 0 0 2px rgba(var(--rgb-first), 0.5);
}
.tan-cl-filter.active {
  color: rgb(var(--rgb-first-darker));
  font-weight: 600;
}
.tan-cl-filter.active .tan-cl-filter-img {
  box-shadow: 0 0 0 3px rgb(var(--rgb-first));
}
.tan-cl-layers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.tan-cl-layer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgb(var(--main-bg));
  border: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.tan-cl-layer.active {
  border-color: rgba(var(--rgb-first), 0.45);
  background: rgba(var(--rgb-first), 0.1);
}
.tan-cl-layer-main {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 8px;
  text-align: start;
}
.tan-cl-layer-tag {
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 100px;
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
  font-size: 10px;
}
.tan-cl-layer-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.tan-cl-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgb(var(--main-bg));
  color: rgb(var(--rgb-darker));
  font-family: inherit;
  font-size: 13px;
  outline: 0;
  transition: border-color 0.2s;
  resize: vertical;
}
.tan-cl-input:focus {
  border-color: rgba(var(--rgb-first), 0.45);
}
.tan-cl-styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.tan-cl-style {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--rgb-dark), 0.55), rgba(var(--rgb-first), 0.7));
  transition: transform 0.2s;
}
.tan-cl-style span {
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.tan-cl-style small {
  font-size: 10px;
  color: rgb(var(--rgb-lightest));
  opacity: 0.85;
}
.tan-cl-style:hover {
  transform: translateY(-2px);
}
.tan-cl-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}
.tan-cl-row-end {
  margin-top: 6px;
  gap: 6px;
}
.tan-cl-tog {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgb(var(--main-bg));
  color: rgb(var(--rgb-darker));
  transition: background-color 0.2s, color 0.2s;
}
.tan-cl-tog:hover {
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-tog.active {
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
}
.tan-cl-acc {
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid rgba(var(--rgb-dark), 0.12);
  overflow: hidden;
}
.tan-cl-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.tan-cl-acc summary::-webkit-details-marker {
  display: none;
}
.tan-cl-acc summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  font-weight: 400;
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
  transition: transform 0.2s;
}
.tan-cl-acc[open] summary::after {
  transform: rotate(180deg);
}
.tan-cl-acc > div {
  padding: 4px 14px 6px;
}
.tan-cl-stickers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}
.tan-cl-stickers button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgb(var(--main-bg));
  font-size: 22px;
  transition: transform 0.15s, background-color 0.2s;
}
.tan-cl-stickers button:hover {
  background: rgba(var(--rgb-first), 0.1);
  transform: scale(1.08);
}
.tan-cl-icons button {
  font-size: 18px;
  color: rgb(var(--rgb-first-darker));
}
.tan-cl-export-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 10px;
}
.tan-cl-export-info div:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.tan-cl-export-info div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgb(var(--main-bg));
}
.tan-cl-export-info span {
  font-size: 11px;
  color: rgb(var(--rgb-light-dark));
}
.tan-cl-export-info strong {
  font-size: 14px;
  text-align: start;
}
.tan-cl-toast {
  position: absolute;
  top: 72px;
  left: 50%;
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 9px 18px;
  border-radius: 100px;
  background: rgb(var(--rgb-darker));
  color: rgb(var(--rgb-ninth-lighter));
  font-size: 12px;
  text-align: center;
  box-shadow: 0 12px 32px -14px rgba(var(--rgb-darkest), 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: all 0.25s;
  pointer-events: none;
}
.tan-cl-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.tan-cl-toast-success {
  background: rgb(var(--rgb-first));
  color: rgb(var(--rgb-lightest));
}
.tan-cl-toast-warn, .tan-cl-toast-danger {
  background: rgb(var(--rgb-red-500));
  color: rgb(var(--rgb-lightest));
}
@media (max-width: 991.98px) {
  .tan-cl-main {
    flex-direction: column;
  }
  .tan-cl-stage {
    min-height: 280px;
  }
  .tan-cl-side {
    width: 100%;
    height: 46%;
    min-height: 250px;
    flex-direction: column;
    border-inline-start: 0;
    border-top: 1px solid rgba(var(--rgb-dark), 0.12);
  }
  .tan-cl-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
    width: auto;
    overflow: hidden;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(var(--rgb-dark), 0.12);
  }
  .tan-cl-tabs button {
    padding: 6px 2px;
    font-size: 10.5px;
  }
  .tan-cl-tabs button i {
    font-size: 15px;
  }
  .tan-cl-stage {
    padding-top: 16px;
  }
  .tan-cl-hint {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .tan-cl {
    min-height: 0;
  }
  .tan-cl-top {
    padding: 8px 10px;
  }
  .tan-cl-brand small, .tan-cl-brand-icon {
    display: none;
  }
  .tan-cl-foot {
    padding: 8px 10px;
  }
  .tan-cl-foot-info {
    display: none;
  }
  .tan-cl-foot-acts {
    width: 100%;
  }
  .tan-cl-foot-acts .btn {
    flex: 1;
  }
  .tan-cl-ratios {
    grid-template-columns: repeat(4, 1fr);
  }
  .tan-cl-layouts, .tan-cl-filters {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tan-collage-modal .modal-dialog {
  max-width: min(1320px, 100vw - 32px);
}
.tan-collage-modal .modal-content {
  overflow: hidden;
}
.tan-collage-modal .modal-body.tan-collage-modal-body {
  display: flex;
  flex-direction: column;
  height: min(78vh, 860px);
  min-height: 520px;
  padding: 0;
}
.tan-collage-modal .modal-body.tan-collage-modal-body > .tan-cl {
  flex: 1;
  height: auto;
  min-height: 0;
}
@media (max-width: 991.98px) {
  .tan-collage-modal .modal-dialog {
    max-width: none;
  }
  .tan-collage-modal .modal-body.tan-collage-modal-body {
    height: auto;
    min-height: 0;
    flex: 1;
  }
}

.tan-collage-state {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 16px;
  color: rgb(var(--rgb-light-dark));
  font-size: 13px;
}
.tan-collage-state .tan-cl-spinner {
  border-color: rgba(var(--rgb-first), 0.2);
  border-top-color: rgb(var(--rgb-first));
}
.tan-collage-state i {
  font-size: 22px;
}
.tan-collage-state-error {
  color: rgb(var(--rgb-red-500));
}

.tan-collage-save.loading {
  pointer-events: none;
  opacity: 0.75;
}

.tan-collage-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tan-collage-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background-color: rgb(var(--main-bg));
  box-shadow: 0 0 0 1px rgba(var(--rgb-dark), 0.12), 0 8px 18px -10px rgba(var(--rgb-darkest), 0.35);
}
.tan-collage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}
.tan-collage-thumb-remove {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  font-size: 11px;
  background: rgb(var(--rgb-red-500));
  color: rgb(var(--rgb-lightest));
  cursor: pointer;
}
.tan-collage-thumb.d-none + .tan-collage-meta .tan-collage-status {
  color: rgb(var(--rgb-light-dark));
}

.tan-collage-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 14px;
  border: 1.5px dashed rgba(var(--rgb-first), 0.55);
  background: rgba(var(--rgb-first), 0.06);
  color: rgb(var(--rgb-first-darker));
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.tan-collage-new i {
  font-size: 20px;
}
.tan-collage-new:hover {
  border-color: rgb(var(--rgb-first));
  background: rgba(var(--rgb-first), 0.12);
  transform: translateY(-2px);
}

.tan-collage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tan-collage-list:empty {
  display: none;
}
.tan-collage-list .tan-collage-thumb {
  cursor: zoom-in;
  transition: transform 0.2s;
}
.tan-collage-list .tan-collage-thumb:hover {
  transform: translateY(-2px);
}

.tan-collage-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 88px;
  cursor: pointer;
}
.tan-collage-item-title {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: rgb(var(--rgb-darker));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tan-collage-item:hover .tan-collage-item-title {
  color: rgb(var(--rgb-first));
}

.tan-collage-title-field {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 8px;
  margin-inline-end: auto;
  min-width: 0;
}
.tan-collage-title-field label {
  flex-shrink: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--rgb-light-dark));
}
.tan-collage-title-field label i {
  margin-inline-end: 4px;
  color: rgb(var(--rgb-first));
}
.tan-collage-title-field .form-control {
  max-width: 320px;
}

.tan-collage-thumb-loading,
.tan-collage-thumb > i {
  display: grid;
  place-items: center;
  color: rgb(var(--rgb-light-dark));
}

.tan-collage-thumb > i {
  width: 100%;
  height: 100%;
  font-size: 22px;
}

.tan-collage-preview-stage {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 14px;
  background-color: rgb(var(--main-bg));
}
.tan-collage-preview-stage img {
  display: block;
  max-width: 100%;
  max-height: 68dvh;
  border-radius: 8px;
  box-shadow: 0 16px 40px -18px rgba(var(--rgb-black), 0.45);
}

.tan-collage-preview-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: rgb(var(--rgb-light-dark));
}
.tan-collage-preview-info i {
  margin-inline-end: 4px;
  color: rgb(var(--rgb-first));
}

.tan-collage-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: rgb(var(--rgb-light-dark));
}

.tan-collage-status {
  color: rgb(var(--rgb-first));
  font-weight: 600;
}

@keyframes tanClSpin {
  to {
    transform: rotate(360deg);
  }
}
.tan-cl input.tan-cl-range {
  --tan-cl-track: linear-gradient(to left, rgb(var(--rgb-first)) var(--tan-cl-fill, 0%), rgba(var(--rgb-first), 0.15) var(--tan-cl-fill, 0%));
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
}
.tan-cl input.tan-cl-range::-webkit-slider-runnable-track {
  height: 6px;
  border: 0;
  border-radius: 100px;
  background: var(--tan-cl-track);
}
.tan-cl input.tan-cl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  transform: none;
  border-radius: 50%;
  background: rgb(var(--rgb-first));
  border: 3px solid rgb(var(--rgb-lightest));
  box-shadow: 0 2px 6px rgba(var(--rgb-darkest), 0.3);
}
.tan-cl input.tan-cl-range::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 100px;
  background: rgba(var(--rgb-first), 0.15);
}
.tan-cl input.tan-cl-range::-moz-range-progress {
  height: 6px;
  border-radius: 100px;
  background: rgb(var(--rgb-first));
}
.tan-cl input.tan-cl-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  transform: none;
  border-radius: 50%;
  background: rgb(var(--rgb-first));
  border: 3px solid rgb(var(--rgb-lightest));
}

.tan-cl[dir=ltr] input.tan-cl-range {
  --tan-cl-track: linear-gradient(to right, rgb(var(--rgb-first)) var(--tan-cl-fill, 0%), rgba(var(--rgb-first), 0.15) var(--tan-cl-fill, 0%));
}

.tan-cl select.tan-cl-input {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 34px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, rgb(var(--rgb-light-dark)) 50%), linear-gradient(135deg, rgb(var(--rgb-light-dark)) 50%, transparent 50%) !important;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-position: 16px 55%, 21px 55%;
}
.tan-cl select.tan-cl-input option {
  background: rgb(var(--rgb-ninth-lighter));
  color: rgb(var(--rgb-darker));
}

.tan-cl[dir=ltr] select.tan-cl-input {
  background-position: calc(100% - 21px) 55%, calc(100% - 16px) 55%;
}

.tan-cl-gal-wrap {
  position: relative;
  display: block;
}

.tan-cl-gal-del {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--rgb-ninth-lighter), 0.92);
  border: 1px solid rgba(var(--rgb-red-600, 239 68 68), 0.35);
  box-shadow: 0 2px 6px rgba(var(--rgb-darkest), 0.12);
  opacity: 0;
  transform: translateY(-2px) scale(0.92);
  transition: opacity 0.16s ease, transform 0.16s ease, background 0.16s ease, color 0.16s ease;
  pointer-events: auto;
}

.tan-cl-gal-wrap:hover .tan-cl-gal-del,
.tan-cl-gal-wrap:focus-within .tan-cl-gal-del {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tan-cl-gal-del:hover {
  background: rgb(var(--rgb-red-600, 239 68 68));
  color: rgb(var(--rgb-lightest)) !important;
  border-color: rgb(var(--rgb-red-600, 239 68 68));
}

.tan-cl-gal-del i {
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
}

.tan-cl-gal-wrap.uploading .tan-cl-gal-del {
  display: none;
}

@media (hover: none) {
  .tan-cl-gal-del {
    opacity: 1;
    transform: none;
  }
}
.tan-collage-field .tan-collage-empty,
.tan-collage-field .tan-collage-filled {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tan-collage-field .tan-collage-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(var(--rgb-darkest), 0.08);
}

.tan-collage-field .tan-collage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tan-collage-field .tan-collage-thumb-remove {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--rgb-darkest), 0.65);
  color: rgba(var(--rgb-lightest));
  border: 0;
  cursor: pointer;
}

.tan-cl-standalone {
  position: relative;
  width: 100%;
  height: 70dvh;
  min-height: 480px;
}
@media (max-width: 567px) {
  .tan-cl-standalone {
    height: 100dvh;
    min-height: 50px;
  }
}

/*# sourceMappingURL=tan-collage.css.map */
