/* Holder: painel de camadas (estilo Affinity/Photoshop) e seletor de verso. */
.hl-panel {
  background: #2a2830;
  border: 1px solid #1b1a20;
  border-radius: 10px;
  overflow: hidden;
  color: #e9e6f5;
  font-size: 12.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #222027;
  border-bottom: 1px solid #17161b;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #cfc9e6;
}
.hl-head-eye svg { width: 16px; height: 16px; opacity: 0.6; display: block; }
.hl-row {
  display: grid;
  grid-template-columns: 34px 1fr auto 30px;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 10px;
  border-bottom: 1px solid #1f1e24;
  cursor: pointer;
  outline: none;
  transition: background 0.12s;
}
.hl-row:last-child { border-bottom: 0; }
.hl-row:hover { background: #34313d; }
.hl-row:focus-visible { box-shadow: inset 0 0 0 2px var(--accent, #a092fc); }
.hl-row.is-active {
  background: #4a3f8f;
  box-shadow: inset 3px 0 0 var(--accent, #a092fc);
}
.hl-row.hl-locked { cursor: default; color: #b9b4cc; }
.hl-row.hl-locked:hover { background: transparent; }
.hl-row.is-hidden .hl-thumb, .hl-row.is-hidden .hl-name { opacity: 0.4; }
.hl-thumb {
  width: 30px;
  height: 42px;
  border-radius: 3px;
  background: conic-gradient(#d9d6e4 0 25%, #f4f3f8 0 50%, #d9d6e4 0 75%, #f4f3f8 0) 0 0 / 8px 8px;
  border: 1px solid #111;
}
.hl-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-state { font-size: 10.5px; color: #a7a1c4; font-style: italic; }
.hl-lock svg { width: 14px; height: 14px; opacity: 0.55; display: block; }
.hl-eye {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e9e6f5;
}
.hl-eye:hover { background: rgba(255, 255, 255, 0.08); }
.hl-eye svg { width: 18px; height: 18px; display: block; }
.hl-eye.is-off { color: #8d87a8; }
.hl-card .hint { margin-top: 10px; }

.hl-verso-wrap { margin: 2px 0 12px; }
.hl-label { display: block; font-weight: 700; margin-bottom: 6px; }
.hl-shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hl-shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 7px;
  border: 1.5px solid var(--line, #cfc9e6);
  border-radius: 10px;
  background: #f2f0fa;
  color: var(--muted, #7973b5);
  font-weight: 700;
  font-size: 12px;
  transition: background 0.12s, border-color 0.12s, transform 0.12s;
}
.hl-shape svg { width: 30px; height: 30px; display: block; }
.hl-shape:hover { background: var(--accent-soft, #efecff); transform: translateY(-1px); }
.hl-shape.is-active {
  background: var(--accent-soft, #efecff);
  border-color: var(--accent, #a092fc);
  color: var(--ink, #363341);
  box-shadow: 0 0 0 2px rgba(160, 146, 252, 0.25);
}
.hl-shape.is-active svg { color: var(--accent-deep, #8876ff); }

/* v18b: painel claro, no estilo da Forja */
.hl-card { padding-top: 14px; }
.hl-panel {
  background: #fff;
  border: 1.5px solid var(--line, #cfc9e6);
  color: var(--ink, #363341);
  box-shadow: none;
}
.hl-head { background: var(--accent-soft, #efecff); border-bottom: 1.5px solid var(--line, #cfc9e6); color: var(--ink, #363341); }
.hl-head em { font-style: normal; font-weight: 600; color: var(--muted, #7973b5); font-size: 11.5px; }
.hl-head-eye svg { color: var(--muted, #7973b5); opacity: 0.8; }
.hl-row { border-bottom: 1px solid var(--line-soft, #e3dff1); }
.hl-row:hover { background: #f6f4ff; }
.hl-row.is-active { background: var(--accent-soft, #efecff); box-shadow: inset 4px 0 0 var(--accent, #a092fc); }
.hl-row.hl-locked { color: var(--ink, #363341); cursor: default; }
.hl-row.hl-locked:hover { background: transparent; }
.hl-thumb { border: 1px solid var(--line, #cfc9e6); }
.hl-state { color: var(--muted, #7973b5); }
.hl-eye { color: var(--ink, #363341); }
.hl-eye:hover { background: var(--accent-soft, #efecff); }
.hl-eye.is-off { color: #a9a4c7; }
.hl-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hl-meio-btn {
  padding: 4px 9px;
  border: 1.5px solid var(--accent, #a092fc);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #363341);
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}
.hl-meio-btn:hover { background: var(--accent-soft, #efecff); }
.hl-row { grid-template-columns: 34px 1fr auto 30px; }
.hl-panel + .hint { margin-top: 10px; }
