/* VYRSIGN / SPATIAL CONSOLE */

.v2-drawer {
  --vyr-pink: #df6585;
  --vyr-line: rgba(255,255,255,.12);
}

.v2-drawer-head {
  margin-bottom: 28px !important;
}

.v2-tool-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px !important;
  padding: 8px 3px 38px !important;
  perspective: 1200px;
}

.v2-tool-list[hidden] {
  display: none !important;
}

.v2-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  min-height: 178px;
  padding: 20px 17px !important;
  gap: 14px;
  border-radius: 20px !important;
  overflow: hidden;
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition:
    transform .25s cubic-bezier(.2,.8,.2,1),
    filter .25s ease !important;
}

.v2-tool:nth-child(1) {
  grid-column: 1 / -1;
  min-height: 190px;
  background:
    radial-gradient(circle at 85% 25%,rgba(196,35,77,.26),transparent 45%),
    linear-gradient(135deg,#36303b,#141219 72%) !important;
}

.v2-tool:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%,rgba(154,56,91,.2),transparent 65%),
    linear-gradient(145deg,#2b2932,#111117) !important;
}

.v2-tool:nth-child(3) {
  background:
    radial-gradient(circle at 90% 20%,rgba(116,54,115,.18),transparent 65%),
    linear-gradient(145deg,#292631,#111117) !important;
}

.v2-tool:nth-child(n+4) {
  min-height: 92px;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  border-radius: 16px !important;
}

.v2-tool:nth-child(4) {
  background:
    linear-gradient(130deg,#532437,#20151e) !important;
}

.v2-tool-num {
  width: 37px;
  height: 37px;
  font-size: 11px;
}

.v2-tool-text {
  width: 100%;
  flex: 0 1 auto;
}

.v2-tool-text strong {
  font-size: 17px !important;
  line-height: 1.25;
}

.v2-tool:nth-child(1) .v2-tool-text strong {
  font-size: 24px !important;
}

.v2-tool-text small {
  margin-top: 3px;
  font-size: 10px !important;
  line-height: 1.45;
}

.v2-tool-arrow {
  position: absolute;
  right: 17px;
  top: 17px;
}

.v2-tool:nth-child(n+4) .v2-tool-arrow {
  position: static;
  margin-left: auto;
}

.v2-tool:nth-child(n+4) .v2-tool-text {
  flex: 1;
}

.v2-tool:active {
  transform: translateY(5px) scale(.98) !important;
}

/* Decorative instrument rings */

.v2-tool:nth-child(-n+3)::after {
  content:"";
  position:absolute;
  width:155px;
  height:155px;
  border:1px solid rgba(240,93,129,.17);
  border-radius:50%;
  top:-68px;
  right:-57px;
  box-shadow:
    0 0 0 24px rgba(240,93,129,.025),
    0 0 0 50px rgba(240,93,129,.018);
  pointer-events:none;
}

.v2-tool:nth-child(1)::after {
  width:220px;
  height:220px;
  top:-100px;
  right:-75px;
}

/* Internal screens */

.v2-tool-detail:not([hidden]) {
  animation: vyr-console-open .48s cubic-bezier(.2,.8,.2,1) both;
  transform-origin: center 20%;
}

@keyframes vyr-console-open {
  from {
    opacity:0;
    transform:translateY(25px) scale(.965);
    filter:blur(5px);
  }
  to {
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0);
  }
}

.v2-tool-list:not([hidden]) .v2-tool {
  animation: vyr-console-tile .55s both;
}

.v2-tool-list:not([hidden]) .v2-tool:nth-child(2) {
  animation-delay:.06s;
}
.v2-tool-list:not([hidden]) .v2-tool:nth-child(3) {
  animation-delay:.12s;
}
.v2-tool-list:not([hidden]) .v2-tool:nth-child(4) {
  animation-delay:.18s;
}
.v2-tool-list:not([hidden]) .v2-tool:nth-child(5) {
  animation-delay:.24s;
}
.v2-tool-list:not([hidden]) .v2-tool:nth-child(6) {
  animation-delay:.30s;
}

@keyframes vyr-console-tile {
  from {
    opacity:0;
    transform:translateY(25px) rotateX(-8deg);
  }
  to {
    opacity:1;
    transform:translateY(0) rotateX(0);
  }
}

@media(max-width:360px) {
  .v2-tool-list {
    gap:12px !important;
  }
  .v2-tool {
    padding:15px 12px !important;
  }
  .v2-tool-text strong {
    font-size:15px !important;
  }
}

@media(prefers-reduced-motion:reduce) {
  .v2-tool,
  .v2-tool-detail:not([hidden]) {
    animation:none !important;
    transition:none !important;
  }
}
