:root {
  --bg: #000000;
  --surface: #09090b;
  --surface-2: #0f0f12;
  --surface-3: #16161b;
  --border: #1d1d23;
  --border-strong: #2a2a33;
  --text: #f5f5f7;
  --muted: #8d8d99;
  --faint: #55555f;

  --accent: #ff2d6f;
  --accent-hi: #ff6b98;
  --accent-lo: #b3134a;
  --accent-deep: #3a0a1c;
  --accent-tint: rgba(255, 45, 111, 0.12);
  --accent-line: rgba(255, 45, 111, 0.5);
  --accent-glow: rgba(255, 45, 111, 0.35);

  --danger: #ff4d4d;
  --ok: #3ddc97;

  --radius: 10px;
  --radius-sm: 7px;
  --tile: 88px;
  --label-w: 112px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 45, 111, 0.09), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(255, 45, 111, 0.05), transparent 60%);
  background-attachment: fixed;
}
svg { width: 18px; height: 18px; flex: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Buttons (ledge style from the design system) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600; font-size: 13.5px; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background .15s, border-color .15s, color .15s;
  user-select: none;
}
.btn:active { transform: translateY(2px); }
.btn svg { width: 17px; height: 17px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 12.5px; }
.btn-sm svg { width: 15px; height: 15px; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 3px 0 var(--accent-lo), 0 8px 24px -10px var(--accent-glow);
}
.btn-primary:hover { background: #ff4580; }
.btn-primary:active { box-shadow: 0 1px 0 var(--accent-lo); }

.btn-soft {
  background: var(--accent-tint); color: var(--accent-hi);
  border-color: var(--accent-line);
  box-shadow: 0 3px 0 rgba(255, 45, 111, 0.25);
}
.btn-soft:hover { background: rgba(255, 45, 111, 0.2); color: #fff; }
.btn-soft:active { box-shadow: 0 1px 0 rgba(255, 45, 111, 0.25); }

.btn-ghost {
  background: var(--surface-2); color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 3px 0 #000, inset 0 1px 0 rgba(255,255,255,.03);
}
.btn-ghost:hover { border-color: var(--accent-line); color: #fff; }
.btn-ghost:active { box-shadow: 0 1px 0 #000; }

.btn-danger {
  background: transparent; color: #ff8a8a;
  border-color: rgba(255, 77, 77, .35);
  box-shadow: 0 3px 0 rgba(255, 77, 77, .15);
}
.btn-danger:hover { background: rgba(255, 77, 77, .12); color: #fff; }
.btn-danger.solid { background: var(--danger); color: #fff; border-color: transparent; box-shadow: 0 3px 0 #9e1f1f; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--muted);
  box-shadow: 0 2px 0 #000;
  transition: color .15s, border-color .15s, background .15s, transform .1s;
}
.icon-btn:hover { color: #fff; border-color: var(--accent-line); background: var(--accent-tint); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 2px 0 var(--accent-lo); }
.icon-btn-accent:hover { background: #ff4580; border-color: #ff4580; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 14px 28px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent);
  box-shadow: 0 0 22px -6px var(--accent-glow);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.brand-name b { color: var(--accent); font-weight: 800; }

.title-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.title-input {
  width: min(460px, 100%); min-width: 0;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 7px 12px; text-align: center;
  font-size: 16px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.title-input:hover { border-color: var(--border-strong); }
.title-input:focus { outline: none; border-color: var(--accent-line); background: var(--surface-2); }
.save-state { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12px; white-space: nowrap; transition: color .2s; }
.save-state svg { width: 13px; height: 13px; }
.save-state.saving { color: var(--accent-hi); }
.top-actions { display: flex; gap: 10px; }

/* ---------- Layout ---------- */
.layout { max-width: 1240px; margin: 0 auto; padding: 24px 28px 40px; display: grid; gap: 18px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

/* ---------- Toolbar ---------- */
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding: 14px 18px; }
.tool { display: grid; gap: 6px; min-width: 200px; }
.tool-head { display: flex; justify-content: space-between; align-items: center; }
.tool-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tool-value { font-size: 12px; color: var(--accent-hi); font-weight: 600; font-variant-numeric: tabular-nums; }
.tool-toggle { display: flex; align-items: center; gap: 12px; min-width: auto; }
.tool-sep { width: 1px; height: 34px; background: var(--border); }
.tool-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }

/* Range slider */
.range { position: relative; height: 22px; display: flex; align-items: center; }
.range input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0;
  background: transparent; cursor: pointer;
  --pct: 50%;
}
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(90deg, var(--accent) 0 var(--pct), #1a1a20 var(--pct) 100%);
}
.range input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #1a1a20; border: 1px solid var(--border-strong); }
.range input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--accent); }
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%;
  background: var(--accent); border: 3px solid #2a0d18;
  box-shadow: 0 0 0 2px var(--accent-line), 0 0 14px var(--accent-glow);
}
.range input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid #2a0d18;
  box-shadow: 0 0 0 2px var(--accent-line);
}

/* Toggle switch */
.switch { position: relative; display: inline-block; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
  display: block; width: 46px; height: 26px; border-radius: 99px;
  background: #15151a; border: 1px solid var(--border-strong);
  transition: background .2s, border-color .2s;
  position: relative;
}
.switch-knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #3a3a44; transition: transform .22s var(--ease), background .2s;
}
.switch input:checked + .switch-track { background: var(--accent-deep); border-color: var(--accent); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(20px); background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Board ---------- */
.board {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.tier {
  display: grid;
  grid-template-columns: var(--label-w) 1fr auto;
  min-height: calc(var(--tile) + 2px);
  border-bottom: 1px solid var(--border);
}
.tier:last-child { border-bottom: none; }
.tier-label {
  border: none; padding: 8px;
  background: var(--c);
  color: var(--ink, #000);
  font-weight: 700; font-size: 20px; line-height: 1.15;
  display: grid; place-items: center; text-align: center;
  word-break: break-word; overflow-wrap: anywhere;
  position: relative;
  transition: filter .15s;
}
.tier-label.small { font-size: 14px; }
.tier-label.tiny { font-size: 12px; }
.tier-label:hover { filter: brightness(1.08); }
.tier-label::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset -3px 0 0 rgba(0,0,0,.25);
}
.tier-items {
  display: flex; flex-wrap: wrap; align-content: flex-start;
  min-height: var(--tile);
  background: #050506;
  transition: background .15s, box-shadow .15s;
}
.tier-ctrl {
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
  background: var(--surface-2);
  border-left: 1px solid var(--border);
}
.tier-ctrl .stack { display: grid; gap: 4px; }
.tier-ctrl .stack .icon-btn { width: 28px; height: 22px; border-radius: 5px; }
.tier-ctrl .stack .icon-btn svg { width: 14px; height: 14px; }
.dropzone.is-over { background: rgba(255, 45, 111, .07); box-shadow: inset 0 0 0 1px var(--accent-line); }

/* ---------- Items ---------- */
.item {
  position: relative;
  width: var(--tile); height: var(--tile);
  flex: none;
  background: var(--surface-3);
  overflow: hidden;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
  touch-action: none;
  outline: none;
  transition: box-shadow .15s, opacity .15s, filter .15s;
}
.item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.item:hover { filter: brightness(1.08); }
.item.is-selected { box-shadow: inset 0 0 0 3px var(--accent); z-index: 1; }
.item:focus-visible { box-shadow: inset 0 0 0 3px var(--accent-hi); }
.item.is-placeholder { opacity: .22; filter: grayscale(1); }
.item-text {
  display: grid; place-items: center; height: 100%; padding: 4px;
  text-align: center; font-weight: 600; font-size: clamp(10px, calc(var(--tile) * .14), 14px); line-height: 1.2;
  background: linear-gradient(160deg, #1c1c22, #101014);
  overflow-wrap: anywhere;
}
.item-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 4px 3px; font-size: 10.5px; font-weight: 600; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: none;
}
body.show-names .item-name { display: block; }
.item-del {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.78); border: 1px solid rgba(255,255,255,.12); color: #fff;
  opacity: 0; transform: scale(.85);
  transition: opacity .12s, transform .12s, background .12s;
}
.item-del svg { width: 12px; height: 12px; }
.item:hover .item-del, .item.is-selected .item-del { opacity: 1; transform: scale(1); }
.item-del:hover { background: var(--danger); border-color: var(--danger); }
@media (hover: none) { .item-del { opacity: .9; transform: scale(1); } }
.item.is-uploading::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23ff2d6f' stroke-width='3' stroke-dasharray='40 20' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 26px no-repeat;
}
.ghost {
  position: fixed; z-index: 100; pointer-events: none;
  transform: rotate(-3deg) scale(1.08);
  box-shadow: 0 0 0 2px var(--accent), 0 18px 40px -8px rgba(0,0,0,.9), 0 0 32px var(--accent-glow);
  border-radius: 6px;
  cursor: grabbing;
  transition: none;
}
.ghost .item-del { display: none; }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; }

/* ---------- Pool ---------- */
.pool { padding: 16px 18px 14px; }
.pool-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pool-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pool-title h2 { margin: 0; font-size: 17px; font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: 99px;
  background: var(--accent-tint); color: var(--accent-hi);
  border: 1px solid var(--accent-line);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.chip-status { background: var(--surface-2); color: var(--muted); border-color: var(--border-strong); font-weight: 500; }
.chip-status svg { width: 13px; height: 13px; }
.chip-status.cloud { color: var(--ok); border-color: rgba(61,220,151,.35); }
.pool-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.text-add {
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 3px 0 12px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s;
}
.text-add:focus-within { border-color: var(--accent-line); }
.text-add-icon { color: var(--faint); width: 16px; height: 16px; }
.text-add input { background: none; border: none; outline: none; width: 160px; padding: 0 4px; }
.text-add input::placeholder { color: var(--faint); }
.text-add .icon-btn { width: 32px; height: 32px; }

.pool-items {
  display: flex; flex-wrap: wrap; align-content: flex-start;
  min-height: calc(var(--tile) + 20px);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 8px;
  gap: 0;
  background: #030304;
  transition: border-color .15s, background .15s;
}
.pool-items:empty {
  display: grid; place-items: center; cursor: pointer;
  min-height: 150px;
}
.pool-items:empty::before {
  content: "Drop images here, click to upload, or paste with Ctrl+V";
  color: var(--faint); font-size: 13.5px; text-align: center; padding: 20px;
}
.pool-items:empty:hover { border-color: var(--accent-line); background: rgba(255,45,111,.03); }
.pool-items.is-over { border-color: var(--accent); }
.hint { margin: 12px 2px 0; color: var(--faint); font-size: 12px; }
kbd {
  font-family: inherit; font-size: 11px; font-weight: 600;
  padding: 1px 6px; border-radius: 5px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  box-shadow: 0 2px 0 #000; color: var(--muted);
}
.footer { text-align: center; color: var(--faint); font-size: 12px; padding: 0 0 32px; }

/* ---------- Drop overlay ---------- */
.drop-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: rgba(0,0,0,.78); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.drop-overlay.show { opacity: 1; }
.drop-card {
  display: grid; justify-items: center; gap: 6px;
  padding: 44px 64px; border-radius: 18px;
  border: 2px dashed var(--accent); background: rgba(255,45,111,.06);
  color: var(--muted);
}
.drop-card strong { color: #fff; font-size: 18px; font-weight: 600; }
.drop-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: #fff; margin-bottom: 8px; box-shadow: 0 0 40px var(--accent-glow); }
.drop-icon svg { width: 30px; height: 30px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 16px;
  background: rgba(0,0,0,.72); backdrop-filter: blur(5px);
  animation: fade .15s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02);
  animation: pop .2s var(--ease);
}
.modal.wide { width: min(760px, 100%); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  position: sticky; top: 0; z-index: 1;
}
.modal-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.modal-body { padding: 20px; display: grid; gap: 18px; }
.modal-body p { margin: 0; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.input {
  height: 42px; padding: 0 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border-strong);
  transition: border-color .15s;
  width: 100%;
}
.input:focus { outline: none; border-color: var(--accent); }
.swatches { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.swatch {
  aspect-ratio: 1; border-radius: 8px; border: 1px solid rgba(255,255,255,.08);
  background: var(--c); position: relative;
  transition: transform .12s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
.color-row { display: flex; align-items: center; gap: 10px; }
.color-row input[type="color"] { width: 42px; height: 42px; padding: 3px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border-strong); cursor: pointer; }
.preview-label { flex: 1; height: 42px; border-radius: var(--radius-sm); display: grid; place-items: center; font-weight: 700; overflow: hidden; padding: 0 10px; white-space: nowrap; text-overflow: ellipsis; }
.split-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; border-top: 1px solid var(--border); padding-top: 18px; }
.split-actions .grow { flex: 1; }

.lists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.list-card {
  display: grid; gap: 10px; padding: 12px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 12px;
  text-align: left; transition: border-color .15s, transform .12s;
}
.list-card:hover { border-color: var(--accent-line); }
.list-card.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.list-thumb { display: grid; gap: 3px; height: 74px; border-radius: 7px; overflow: hidden; background: #050506; padding: 4px; }
.list-thumb-row { display: flex; gap: 3px; min-height: 0; }
.list-thumb-row i { width: 16px; border-radius: 3px; background: var(--c); flex: none; }
.list-thumb-row b { flex: 1; border-radius: 3px; background: #141418; }
.list-meta strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-meta small { color: var(--faint); font-size: 11.5px; }
.list-card-actions { display: flex; gap: 6px; }
.list-card-actions .btn { flex: 1; }
.list-card-actions .icon-btn { width: 34px; }

.share-row { display: flex; gap: 8px; }
.share-row .input { flex: 1; color: var(--accent-hi); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: calc(100% - 32px); }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 10px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.9);
  font-size: 13px; font-weight: 500; max-width: 520px;
  animation: toastIn .25s var(--ease);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 10px var(--accent-glow); }
.toast.error::before { background: var(--danger); box-shadow: 0 0 10px rgba(255,77,77,.5); }
.toast.ok::before { background: var(--ok); box-shadow: 0 0 10px rgba(61,220,151,.5); }
.toast.out { opacity: 0; transform: translateY(6px); transition: .2s; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr; padding: 12px 16px; gap: 12px; }
  .title-wrap { grid-column: 1 / -1; grid-row: 2; }
  .top-actions { justify-self: end; }
  .top-actions .btn span { display: none; }
  .top-actions .btn { width: 40px; padding: 0; }
  .layout { padding: 16px 16px 32px; }
  .tool-buttons { margin-left: 0; }
  .tool-sep { display: none; }
}
@media (max-width: 600px) {
  :root { --label-w: 72px; }
  .tier-label { font-size: 16px; }
  .tier-ctrl { padding: 0 6px; }
  .tier-ctrl .stack { display: none; }
  .tier-ctrl > .icon-btn { width: 30px; height: 30px; }
  .item-del { width: 18px; height: 18px; top: 3px; right: 3px; }
  .item-del svg { width: 10px; height: 10px; }
  .tool { min-width: 0; flex: 1 1 100%; }
  .tool-toggle { flex: 0 0 auto; }
  .pool-actions, .text-add { width: 100%; }
  .text-add input { flex: 1; width: auto; }
  .pool-actions .btn { width: 100%; }
  .swatches { grid-template-columns: repeat(5, 1fr); }
  .brand-name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
